test_cases:
  -
    input:
      bytes: [ 0x00, 0x8c, 0x2b, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
    expected:
      insns:
        -
          asm_text: "uqdecp x0, p0.b"

  -
    input:
      bytes: [ 0x00, 0x8c, 0x6b, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
    expected:
      insns:
        -
          asm_text: "uqdecp x0, p0.h"

  -
    input:
      bytes: [ 0x00, 0x8c, 0xab, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
    expected:
      insns:
        -
          asm_text: "uqdecp x0, p0.s"

  -
    input:
      bytes: [ 0x00, 0x8c, 0xeb, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
    expected:
      insns:
        -
          asm_text: "uqdecp x0, p0.d"

  -
    input:
      bytes: [ 0xff, 0x89, 0x2b, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
    expected:
      insns:
        -
          asm_text: "uqdecp wzr, p15.b"

  -
    input:
      bytes: [ 0xff, 0x89, 0x6b, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
    expected:
      insns:
        -
          asm_text: "uqdecp wzr, p15.h"

  -
    input:
      bytes: [ 0xff, 0x89, 0xab, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
    expected:
      insns:
        -
          asm_text: "uqdecp wzr, p15.s"

  -
    input:
      bytes: [ 0xff, 0x89, 0xeb, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
    expected:
      insns:
        -
          asm_text: "uqdecp wzr, p15.d"

  -
    input:
      bytes: [ 0x00, 0x80, 0x6b, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
    expected:
      insns:
        -
          asm_text: "uqdecp z0.h, p0.h"

  -
    input:
      bytes: [ 0x00, 0x80, 0x6b, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
    expected:
      insns:
        -
          asm_text: "uqdecp z0.h, p0.h"

  -
    input:
      bytes: [ 0x00, 0x80, 0xab, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
    expected:
      insns:
        -
          asm_text: "uqdecp z0.s, p0.s"

  -
    input:
      bytes: [ 0x00, 0x80, 0xab, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
    expected:
      insns:
        -
          asm_text: "uqdecp z0.s, p0.s"

  -
    input:
      bytes: [ 0x00, 0x80, 0xeb, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
    expected:
      insns:
        -
          asm_text: "uqdecp z0.d, p0.d"

  -
    input:
      bytes: [ 0x00, 0x80, 0xeb, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
    expected:
      insns:
        -
          asm_text: "uqdecp z0.d, p0.d"

  -
    input:
      bytes: [ 0xe0, 0xbc, 0x20, 0x04 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
    expected:
      insns:
        -
          asm_text: "movprfx z0, z7"

  -
    input:
      bytes: [ 0x00, 0x80, 0xeb, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
    expected:
      insns:
        -
          asm_text: "uqdecp z0.d, p0.d"

  -
    input:
      bytes: [ 0x00, 0x8c, 0x2b, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
    expected:
      insns:
        -
          asm_text: "uqdecp x0, p0.b"

  -
    input:
      bytes: [ 0x00, 0x8c, 0x6b, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
    expected:
      insns:
        -
          asm_text: "uqdecp x0, p0.h"

  -
    input:
      bytes: [ 0x00, 0x8c, 0xab, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
    expected:
      insns:
        -
          asm_text: "uqdecp x0, p0.s"

  -
    input:
      bytes: [ 0x00, 0x8c, 0xeb, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
    expected:
      insns:
        -
          asm_text: "uqdecp x0, p0.d"

  -
    input:
      bytes: [ 0xff, 0x89, 0x2b, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
    expected:
      insns:
        -
          asm_text: "uqdecp wzr, p15.b"

  -
    input:
      bytes: [ 0xff, 0x89, 0x6b, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
    expected:
      insns:
        -
          asm_text: "uqdecp wzr, p15.h"

  -
    input:
      bytes: [ 0xff, 0x89, 0xab, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
    expected:
      insns:
        -
          asm_text: "uqdecp wzr, p15.s"

  -
    input:
      bytes: [ 0xff, 0x89, 0xeb, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
    expected:
      insns:
        -
          asm_text: "uqdecp wzr, p15.d"

  -
    input:
      bytes: [ 0x00, 0x80, 0x6b, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
    expected:
      insns:
        -
          asm_text: "uqdecp z0.h, p0.h"

  -
    input:
      bytes: [ 0x00, 0x80, 0x6b, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
    expected:
      insns:
        -
          asm_text: "uqdecp z0.h, p0.h"

  -
    input:
      bytes: [ 0x00, 0x80, 0xab, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
    expected:
      insns:
        -
          asm_text: "uqdecp z0.s, p0.s"

  -
    input:
      bytes: [ 0x00, 0x80, 0xab, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
    expected:
      insns:
        -
          asm_text: "uqdecp z0.s, p0.s"

  -
    input:
      bytes: [ 0x00, 0x80, 0xeb, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
    expected:
      insns:
        -
          asm_text: "uqdecp z0.d, p0.d"

  -
    input:
      bytes: [ 0x00, 0x80, 0xeb, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
    expected:
      insns:
        -
          asm_text: "uqdecp z0.d, p0.d"

  -
    input:
      bytes: [ 0xe0, 0xbc, 0x20, 0x04 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
    expected:
      insns:
        -
          asm_text: "movprfx z0, z7"

  -
    input:
      bytes: [ 0x00, 0x80, 0xeb, 0x25 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
    expected:
      insns:
        -
          asm_text: "uqdecp z0.d, p0.d"
