test_cases:
  -
    input:
      bytes: [ 0x08, 0x00, 0xa0, 0x80 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme-f8f16", "+sme-f8f32" ]
    expected:
      insns:
        -
          asm_text: "fmopa za0.h, p0/m, p0/m, z0.b, z0.b"

  -
    input:
      bytes: [ 0xe9, 0xff, 0xbf, 0x80 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme-f8f16", "+sme-f8f32" ]
    expected:
      insns:
        -
          asm_text: "fmopa za1.h, p7/m, p7/m, z31.b, z31.b"

  -
    input:
      bytes: [ 0x00, 0x00, 0xa0, 0x80 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme-f8f16", "+sme-f8f32" ]
    expected:
      insns:
        -
          asm_text: "fmopa za0.s, p0/m, p0/m, z0.b, z0.b"

  -
    input:
      bytes: [ 0xe3, 0xff, 0xbf, 0x80 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme-f8f16", "+sme-f8f32" ]
    expected:
      insns:
        -
          asm_text: "fmopa za3.s, p7/m, p7/m, z31.b, z31.b"
