test_cases:
  -
    input:
      bytes: [ 0x41, 0x10, 0x80, 0x4e ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "lut" ]
    expected:
      insns:
        -
          asm_text: "luti2 v1.16b, { v2.16b }, v0[0]"

  -
    input:
      bytes: [ 0x9e, 0x72, 0x9f, 0x4e ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "lut" ]
    expected:
      insns:
        -
          asm_text: "luti2 v30.16b, { v20.16b }, v31[3]"

  -
    input:
      bytes: [ 0x41, 0x00, 0xc0, 0x4e ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "lut" ]
    expected:
      insns:
        -
          asm_text: "luti2 v1.8h, { v2.8h }, v0[0]"

  -
    input:
      bytes: [ 0x9e, 0x72, 0xdf, 0x4e ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "lut" ]
    expected:
      insns:
        -
          asm_text: "luti2 v30.8h, { v20.8h }, v31[7]"
