test_cases:
  -
    input:
      bytes: [ 0x00, 0x60, 0xc0, 0x9a ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "v9.4a" ]
    expected:
      insns:
        -
          asm_text: "smax x0, x0, x0"

  -
    input:
      bytes: [ 0x55, 0x61, 0xd5, 0x9a ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "v9.4a" ]
    expected:
      insns:
        -
          asm_text: "smax x21, x10, x21"

  -
    input:
      bytes: [ 0xb7, 0x61, 0xc8, 0x9a ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "v9.4a" ]
    expected:
      insns:
        -
          asm_text: "smax x23, x13, x8"

  -
    input:
      bytes: [ 0xff, 0x63, 0xdf, 0x9a ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "v9.4a" ]
    expected:
      insns:
        -
          asm_text: "smax xzr, xzr, xzr"
