test_cases:
  -
    input:
      bytes: [ 0x30, 0xc0, 0x40, 0x65 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
    expected:
      insns:
        -
          asm_text: "facge p0.h, p0/z, z1.h, z0.h"

  -
    input:
      bytes: [ 0x30, 0xc0, 0x80, 0x65 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
    expected:
      insns:
        -
          asm_text: "facge p0.s, p0/z, z1.s, z0.s"

  -
    input:
      bytes: [ 0x30, 0xc0, 0xc0, 0x65 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
    expected:
      insns:
        -
          asm_text: "facge p0.d, p0/z, z1.d, z0.d"

  -
    input:
      bytes: [ 0x30, 0xc0, 0x40, 0x65 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
    expected:
      insns:
        -
          asm_text: "facge p0.h, p0/z, z1.h, z0.h"

  -
    input:
      bytes: [ 0x30, 0xc0, 0x80, 0x65 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
    expected:
      insns:
        -
          asm_text: "facge p0.s, p0/z, z1.s, z0.s"

  -
    input:
      bytes: [ 0x30, 0xc0, 0xc0, 0x65 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
    expected:
      insns:
        -
          asm_text: "facge p0.d, p0/z, z1.d, z0.d"
