test_cases:
  -
    input:
      bytes: [ 0x20, 0xa0, 0x89, 0x64 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
    expected:
      insns:
        -
          asm_text: "fcvtlt z0.s, p0/m, z1.h"

  -
    input:
      bytes: [ 0xfe, 0xbf, 0xcb, 0x64 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
    expected:
      insns:
        -
          asm_text: "fcvtlt z30.d, p7/m, z31.s"

  -
    input:
      bytes: [ 0x20, 0xa0, 0x89, 0x64 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
    expected:
      insns:
        -
          asm_text: "fcvtlt z0.s, p0/m, z1.h"

  -
    input:
      bytes: [ 0xfe, 0xbf, 0xcb, 0x64 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
    expected:
      insns:
        -
          asm_text: "fcvtlt z30.d, p7/m, z31.s"
