test_cases:
  -
    input:
      bytes: [ 0x20, 0x5c, 0x22, 0x5e ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "neon" ]
    expected:
      insns:
        -
          asm_text: "sqrshl b0, b1, b2"

  -
    input:
      bytes: [ 0x6a, 0x5d, 0x6c, 0x5e ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "neon" ]
    expected:
      insns:
        -
          asm_text: "sqrshl h10, h11, h12"

  -
    input:
      bytes: [ 0xb4, 0x5e, 0xa2, 0x5e ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "neon" ]
    expected:
      insns:
        -
          asm_text: "sqrshl s20, s21, s2"

  -
    input:
      bytes: [ 0xf1, 0x5f, 0xe8, 0x5e ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "neon" ]
    expected:
      insns:
        -
          asm_text: "sqrshl d17, d31, d8"

  -
    input:
      bytes: [ 0x20, 0x5c, 0x22, 0x7e ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "neon" ]
    expected:
      insns:
        -
          asm_text: "uqrshl b0, b1, b2"

  -
    input:
      bytes: [ 0x6a, 0x5d, 0x6c, 0x7e ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "neon" ]
    expected:
      insns:
        -
          asm_text: "uqrshl h10, h11, h12"

  -
    input:
      bytes: [ 0xb4, 0x5e, 0xa2, 0x7e ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "neon" ]
    expected:
      insns:
        -
          asm_text: "uqrshl s20, s21, s2"

  -
    input:
      bytes: [ 0xf1, 0x5f, 0xe8, 0x7e ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "neon" ]
    expected:
      insns:
        -
          asm_text: "uqrshl d17, d31, d8"
