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

  -
    input:
      bytes: [ 0x55, 0x1d, 0xc0, 0xda ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "v9.4a" ]
    expected:
      insns:
        -
          asm_text: "cnt x21, x10"

  -
    input:
      bytes: [ 0xb7, 0x1d, 0xc0, 0xda ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "v9.4a" ]
    expected:
      insns:
        -
          asm_text: "cnt x23, x13"

  -
    input:
      bytes: [ 0xff, 0x1f, 0xc0, 0xda ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "v9.4a" ]
    expected:
      insns:
        -
          asm_text: "cnt xzr, xzr"
