test_cases:
  -
    input:
      bytes: [ 0xc0, 0x73, 0x0b, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "specres2" ]
    expected:
      insns:
        -
          asm_text: "cosp rctx, x0"

  -
    input:
      bytes: [ 0xc0, 0x73, 0x0b, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "specres2" ]
    expected:
      insns:
        -
          asm_text: "cosp rctx, x0"

  -
    input:
      bytes: [ 0xc0, 0x73, 0x0b, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8.9a" ]
    expected:
      insns:
        -
          asm_text: "cosp rctx, x0"

  -
    input:
      bytes: [ 0xc0, 0x73, 0x0b, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8.9a" ]
    expected:
      insns:
        -
          asm_text: "cosp rctx, x0"

  -
    input:
      bytes: [ 0xc0, 0x73, 0x0b, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v9.4a" ]
    expected:
      insns:
        -
          asm_text: "cosp rctx, x0"

  -
    input:
      bytes: [ 0xc0, 0x73, 0x0b, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v9.4a" ]
    expected:
      insns:
        -
          asm_text: "cosp rctx, x0"
