test_cases:
  -
    input:
      bytes: [ 0x3f, 0x40, 0x00, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8.5a" ]
    expected:
      insns:
        -
          asm_text: "xaflag"

  -
    input:
      bytes: [ 0x5f, 0x40, 0x00, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8.5a" ]
    expected:
      insns:
        -
          asm_text: "axflag"

  -
    input:
      bytes: [ 0x3f, 0x40, 0x00, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8.4a", "+altnzcv" ]
    expected:
      insns:
        -
          asm_text: "xaflag"

  -
    input:
      bytes: [ 0x5f, 0x40, 0x00, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8.4a", "+altnzcv" ]
    expected:
      insns:
        -
          asm_text: "axflag"
