test_cases:
  -
    input:
      bytes: [ 0x00, 0x80, 0x20, 0x45 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
    expected:
      insns:
        -
          asm_text: "match p0.b, p0/z, z0.b, z0.b"

  -
    input:
      bytes: [ 0x00, 0x80, 0x60, 0x45 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
    expected:
      insns:
        -
          asm_text: "match p0.h, p0/z, z0.h, z0.h"

  -
    input:
      bytes: [ 0xcf, 0x9f, 0x3f, 0x45 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
    expected:
      insns:
        -
          asm_text: "match p15.b, p7/z, z30.b, z31.b"

  -
    input:
      bytes: [ 0xcf, 0x9f, 0x7f, 0x45 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve2" ]
    expected:
      insns:
        -
          asm_text: "match p15.h, p7/z, z30.h, z31.h"
