test_cases:
  -
    input:
      bytes: [ 0x1f, 0x22, 0x03, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "ras" ]
    expected:
      insns:
        -
          asm_text: "esb"

  -
    input:
      bytes: [ 0x20, 0x53, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "ras" ]
    expected:
      insns:
        -
          asm_text: "msr ERRSELR_EL1, x0"

  -
    input:
      bytes: [ 0x2f, 0x53, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "ras" ]
    expected:
      insns:
        -
          asm_text: "msr ERRSELR_EL1, x15"

  -
    input:
      bytes: [ 0x39, 0x53, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "ras" ]
    expected:
      insns:
        -
          asm_text: "msr ERRSELR_EL1, x25"

  -
    input:
      bytes: [ 0x21, 0x54, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "ras" ]
    expected:
      insns:
        -
          asm_text: "msr ERXCTLR_EL1, x1"

  -
    input:
      bytes: [ 0x42, 0x54, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "ras" ]
    expected:
      insns:
        -
          asm_text: "msr ERXSTATUS_EL1, x2"

  -
    input:
      bytes: [ 0x63, 0x54, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "ras" ]
    expected:
      insns:
        -
          asm_text: "msr ERXADDR_EL1, x3"

  -
    input:
      bytes: [ 0x04, 0x55, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "ras" ]
    expected:
      insns:
        -
          asm_text: "msr ERXMISC0_EL1, x4"

  -
    input:
      bytes: [ 0x25, 0x55, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "ras" ]
    expected:
      insns:
        -
          asm_text: "msr ERXMISC1_EL1, x5"

  -
    input:
      bytes: [ 0x26, 0xc1, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "ras" ]
    expected:
      insns:
        -
          asm_text: "msr DISR_EL1, x6"

  -
    input:
      bytes: [ 0x27, 0xc1, 0x1c, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "ras" ]
    expected:
      insns:
        -
          asm_text: "msr VDISR_EL2, x7"

  -
    input:
      bytes: [ 0x68, 0x52, 0x1c, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "ras" ]
    expected:
      insns:
        -
          asm_text: "msr VSESR_EL2, x8"

  -
    input:
      bytes: [ 0x20, 0x53, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "ras" ]
    expected:
      insns:
        -
          asm_text: "mrs x0, ERRSELR_EL1"

  -
    input:
      bytes: [ 0x2f, 0x53, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "ras" ]
    expected:
      insns:
        -
          asm_text: "mrs x15, ERRSELR_EL1"

  -
    input:
      bytes: [ 0x39, 0x53, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "ras" ]
    expected:
      insns:
        -
          asm_text: "mrs x25, ERRSELR_EL1"

  -
    input:
      bytes: [ 0x21, 0x54, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "ras" ]
    expected:
      insns:
        -
          asm_text: "mrs x1, ERXCTLR_EL1"

  -
    input:
      bytes: [ 0x42, 0x54, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "ras" ]
    expected:
      insns:
        -
          asm_text: "mrs x2, ERXSTATUS_EL1"

  -
    input:
      bytes: [ 0x63, 0x54, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "ras" ]
    expected:
      insns:
        -
          asm_text: "mrs x3, ERXADDR_EL1"

  -
    input:
      bytes: [ 0x04, 0x55, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "ras" ]
    expected:
      insns:
        -
          asm_text: "mrs x4, ERXMISC0_EL1"

  -
    input:
      bytes: [ 0x25, 0x55, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "ras" ]
    expected:
      insns:
        -
          asm_text: "mrs x5, ERXMISC1_EL1"

  -
    input:
      bytes: [ 0x26, 0xc1, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "ras" ]
    expected:
      insns:
        -
          asm_text: "mrs x6, DISR_EL1"

  -
    input:
      bytes: [ 0x27, 0xc1, 0x3c, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "ras" ]
    expected:
      insns:
        -
          asm_text: "mrs x7, VDISR_EL2"

  -
    input:
      bytes: [ 0x68, 0x52, 0x3c, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "ras" ]
    expected:
      insns:
        -
          asm_text: "mrs x8, VSESR_EL2"

  -
    input:
      bytes: [ 0x00, 0x53, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "ras" ]
    expected:
      insns:
        -
          asm_text: "mrs x0, ERRIDR_EL1"

  -
    input:
      bytes: [ 0x01, 0x54, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "ras" ]
    expected:
      insns:
        -
          asm_text: "mrs x1, ERXFR_EL1"

  -
    input:
      bytes: [ 0x1f, 0x22, 0x03, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a55" ]
    expected:
      insns:
        -
          asm_text: "esb"

  -
    input:
      bytes: [ 0x20, 0x53, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a55" ]
    expected:
      insns:
        -
          asm_text: "msr ERRSELR_EL1, x0"

  -
    input:
      bytes: [ 0x2f, 0x53, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a55" ]
    expected:
      insns:
        -
          asm_text: "msr ERRSELR_EL1, x15"

  -
    input:
      bytes: [ 0x39, 0x53, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a55" ]
    expected:
      insns:
        -
          asm_text: "msr ERRSELR_EL1, x25"

  -
    input:
      bytes: [ 0x21, 0x54, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a55" ]
    expected:
      insns:
        -
          asm_text: "msr ERXCTLR_EL1, x1"

  -
    input:
      bytes: [ 0x42, 0x54, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a55" ]
    expected:
      insns:
        -
          asm_text: "msr ERXSTATUS_EL1, x2"

  -
    input:
      bytes: [ 0x63, 0x54, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a55" ]
    expected:
      insns:
        -
          asm_text: "msr ERXADDR_EL1, x3"

  -
    input:
      bytes: [ 0x04, 0x55, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a55" ]
    expected:
      insns:
        -
          asm_text: "msr ERXMISC0_EL1, x4"

  -
    input:
      bytes: [ 0x25, 0x55, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a55" ]
    expected:
      insns:
        -
          asm_text: "msr ERXMISC1_EL1, x5"

  -
    input:
      bytes: [ 0x26, 0xc1, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a55" ]
    expected:
      insns:
        -
          asm_text: "msr DISR_EL1, x6"

  -
    input:
      bytes: [ 0x27, 0xc1, 0x1c, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a55" ]
    expected:
      insns:
        -
          asm_text: "msr VDISR_EL2, x7"

  -
    input:
      bytes: [ 0x68, 0x52, 0x1c, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a55" ]
    expected:
      insns:
        -
          asm_text: "msr VSESR_EL2, x8"

  -
    input:
      bytes: [ 0x20, 0x53, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a55" ]
    expected:
      insns:
        -
          asm_text: "mrs x0, ERRSELR_EL1"

  -
    input:
      bytes: [ 0x2f, 0x53, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a55" ]
    expected:
      insns:
        -
          asm_text: "mrs x15, ERRSELR_EL1"

  -
    input:
      bytes: [ 0x39, 0x53, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a55" ]
    expected:
      insns:
        -
          asm_text: "mrs x25, ERRSELR_EL1"

  -
    input:
      bytes: [ 0x21, 0x54, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a55" ]
    expected:
      insns:
        -
          asm_text: "mrs x1, ERXCTLR_EL1"

  -
    input:
      bytes: [ 0x42, 0x54, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a55" ]
    expected:
      insns:
        -
          asm_text: "mrs x2, ERXSTATUS_EL1"

  -
    input:
      bytes: [ 0x63, 0x54, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a55" ]
    expected:
      insns:
        -
          asm_text: "mrs x3, ERXADDR_EL1"

  -
    input:
      bytes: [ 0x04, 0x55, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a55" ]
    expected:
      insns:
        -
          asm_text: "mrs x4, ERXMISC0_EL1"

  -
    input:
      bytes: [ 0x25, 0x55, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a55" ]
    expected:
      insns:
        -
          asm_text: "mrs x5, ERXMISC1_EL1"

  -
    input:
      bytes: [ 0x26, 0xc1, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a55" ]
    expected:
      insns:
        -
          asm_text: "mrs x6, DISR_EL1"

  -
    input:
      bytes: [ 0x27, 0xc1, 0x3c, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a55" ]
    expected:
      insns:
        -
          asm_text: "mrs x7, VDISR_EL2"

  -
    input:
      bytes: [ 0x68, 0x52, 0x3c, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a55" ]
    expected:
      insns:
        -
          asm_text: "mrs x8, VSESR_EL2"

  -
    input:
      bytes: [ 0x00, 0x53, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a55" ]
    expected:
      insns:
        -
          asm_text: "mrs x0, ERRIDR_EL1"

  -
    input:
      bytes: [ 0x01, 0x54, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a55" ]
    expected:
      insns:
        -
          asm_text: "mrs x1, ERXFR_EL1"

  -
    input:
      bytes: [ 0x1f, 0x22, 0x03, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a75" ]
    expected:
      insns:
        -
          asm_text: "esb"

  -
    input:
      bytes: [ 0x20, 0x53, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a75" ]
    expected:
      insns:
        -
          asm_text: "msr ERRSELR_EL1, x0"

  -
    input:
      bytes: [ 0x2f, 0x53, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a75" ]
    expected:
      insns:
        -
          asm_text: "msr ERRSELR_EL1, x15"

  -
    input:
      bytes: [ 0x39, 0x53, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a75" ]
    expected:
      insns:
        -
          asm_text: "msr ERRSELR_EL1, x25"

  -
    input:
      bytes: [ 0x21, 0x54, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a75" ]
    expected:
      insns:
        -
          asm_text: "msr ERXCTLR_EL1, x1"

  -
    input:
      bytes: [ 0x42, 0x54, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a75" ]
    expected:
      insns:
        -
          asm_text: "msr ERXSTATUS_EL1, x2"

  -
    input:
      bytes: [ 0x63, 0x54, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a75" ]
    expected:
      insns:
        -
          asm_text: "msr ERXADDR_EL1, x3"

  -
    input:
      bytes: [ 0x04, 0x55, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a75" ]
    expected:
      insns:
        -
          asm_text: "msr ERXMISC0_EL1, x4"

  -
    input:
      bytes: [ 0x25, 0x55, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a75" ]
    expected:
      insns:
        -
          asm_text: "msr ERXMISC1_EL1, x5"

  -
    input:
      bytes: [ 0x26, 0xc1, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a75" ]
    expected:
      insns:
        -
          asm_text: "msr DISR_EL1, x6"

  -
    input:
      bytes: [ 0x27, 0xc1, 0x1c, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a75" ]
    expected:
      insns:
        -
          asm_text: "msr VDISR_EL2, x7"

  -
    input:
      bytes: [ 0x68, 0x52, 0x1c, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a75" ]
    expected:
      insns:
        -
          asm_text: "msr VSESR_EL2, x8"

  -
    input:
      bytes: [ 0x20, 0x53, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a75" ]
    expected:
      insns:
        -
          asm_text: "mrs x0, ERRSELR_EL1"

  -
    input:
      bytes: [ 0x2f, 0x53, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a75" ]
    expected:
      insns:
        -
          asm_text: "mrs x15, ERRSELR_EL1"

  -
    input:
      bytes: [ 0x39, 0x53, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a75" ]
    expected:
      insns:
        -
          asm_text: "mrs x25, ERRSELR_EL1"

  -
    input:
      bytes: [ 0x21, 0x54, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a75" ]
    expected:
      insns:
        -
          asm_text: "mrs x1, ERXCTLR_EL1"

  -
    input:
      bytes: [ 0x42, 0x54, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a75" ]
    expected:
      insns:
        -
          asm_text: "mrs x2, ERXSTATUS_EL1"

  -
    input:
      bytes: [ 0x63, 0x54, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a75" ]
    expected:
      insns:
        -
          asm_text: "mrs x3, ERXADDR_EL1"

  -
    input:
      bytes: [ 0x04, 0x55, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a75" ]
    expected:
      insns:
        -
          asm_text: "mrs x4, ERXMISC0_EL1"

  -
    input:
      bytes: [ 0x25, 0x55, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a75" ]
    expected:
      insns:
        -
          asm_text: "mrs x5, ERXMISC1_EL1"

  -
    input:
      bytes: [ 0x26, 0xc1, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a75" ]
    expected:
      insns:
        -
          asm_text: "mrs x6, DISR_EL1"

  -
    input:
      bytes: [ 0x27, 0xc1, 0x3c, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a75" ]
    expected:
      insns:
        -
          asm_text: "mrs x7, VDISR_EL2"

  -
    input:
      bytes: [ 0x68, 0x52, 0x3c, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a75" ]
    expected:
      insns:
        -
          asm_text: "mrs x8, VSESR_EL2"

  -
    input:
      bytes: [ 0x00, 0x53, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a75" ]
    expected:
      insns:
        -
          asm_text: "mrs x0, ERRIDR_EL1"

  -
    input:
      bytes: [ 0x01, 0x54, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-a75" ]
    expected:
      insns:
        -
          asm_text: "mrs x1, ERXFR_EL1"

  -
    input:
      bytes: [ 0x1f, 0x22, 0x03, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "tsv110" ]
    expected:
      insns:
        -
          asm_text: "esb"

  -
    input:
      bytes: [ 0x20, 0x53, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "tsv110" ]
    expected:
      insns:
        -
          asm_text: "msr ERRSELR_EL1, x0"

  -
    input:
      bytes: [ 0x2f, 0x53, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "tsv110" ]
    expected:
      insns:
        -
          asm_text: "msr ERRSELR_EL1, x15"

  -
    input:
      bytes: [ 0x39, 0x53, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "tsv110" ]
    expected:
      insns:
        -
          asm_text: "msr ERRSELR_EL1, x25"

  -
    input:
      bytes: [ 0x21, 0x54, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "tsv110" ]
    expected:
      insns:
        -
          asm_text: "msr ERXCTLR_EL1, x1"

  -
    input:
      bytes: [ 0x42, 0x54, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "tsv110" ]
    expected:
      insns:
        -
          asm_text: "msr ERXSTATUS_EL1, x2"

  -
    input:
      bytes: [ 0x63, 0x54, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "tsv110" ]
    expected:
      insns:
        -
          asm_text: "msr ERXADDR_EL1, x3"

  -
    input:
      bytes: [ 0x04, 0x55, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "tsv110" ]
    expected:
      insns:
        -
          asm_text: "msr ERXMISC0_EL1, x4"

  -
    input:
      bytes: [ 0x25, 0x55, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "tsv110" ]
    expected:
      insns:
        -
          asm_text: "msr ERXMISC1_EL1, x5"

  -
    input:
      bytes: [ 0x26, 0xc1, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "tsv110" ]
    expected:
      insns:
        -
          asm_text: "msr DISR_EL1, x6"

  -
    input:
      bytes: [ 0x27, 0xc1, 0x1c, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "tsv110" ]
    expected:
      insns:
        -
          asm_text: "msr VDISR_EL2, x7"

  -
    input:
      bytes: [ 0x68, 0x52, 0x1c, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "tsv110" ]
    expected:
      insns:
        -
          asm_text: "msr VSESR_EL2, x8"

  -
    input:
      bytes: [ 0x20, 0x53, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "tsv110" ]
    expected:
      insns:
        -
          asm_text: "mrs x0, ERRSELR_EL1"

  -
    input:
      bytes: [ 0x2f, 0x53, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "tsv110" ]
    expected:
      insns:
        -
          asm_text: "mrs x15, ERRSELR_EL1"

  -
    input:
      bytes: [ 0x39, 0x53, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "tsv110" ]
    expected:
      insns:
        -
          asm_text: "mrs x25, ERRSELR_EL1"

  -
    input:
      bytes: [ 0x21, 0x54, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "tsv110" ]
    expected:
      insns:
        -
          asm_text: "mrs x1, ERXCTLR_EL1"

  -
    input:
      bytes: [ 0x42, 0x54, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "tsv110" ]
    expected:
      insns:
        -
          asm_text: "mrs x2, ERXSTATUS_EL1"

  -
    input:
      bytes: [ 0x63, 0x54, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "tsv110" ]
    expected:
      insns:
        -
          asm_text: "mrs x3, ERXADDR_EL1"

  -
    input:
      bytes: [ 0x04, 0x55, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "tsv110" ]
    expected:
      insns:
        -
          asm_text: "mrs x4, ERXMISC0_EL1"

  -
    input:
      bytes: [ 0x25, 0x55, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "tsv110" ]
    expected:
      insns:
        -
          asm_text: "mrs x5, ERXMISC1_EL1"

  -
    input:
      bytes: [ 0x26, 0xc1, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "tsv110" ]
    expected:
      insns:
        -
          asm_text: "mrs x6, DISR_EL1"

  -
    input:
      bytes: [ 0x27, 0xc1, 0x3c, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "tsv110" ]
    expected:
      insns:
        -
          asm_text: "mrs x7, VDISR_EL2"

  -
    input:
      bytes: [ 0x68, 0x52, 0x3c, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "tsv110" ]
    expected:
      insns:
        -
          asm_text: "mrs x8, VSESR_EL2"

  -
    input:
      bytes: [ 0x00, 0x53, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "tsv110" ]
    expected:
      insns:
        -
          asm_text: "mrs x0, ERRIDR_EL1"

  -
    input:
      bytes: [ 0x01, 0x54, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "tsv110" ]
    expected:
      insns:
        -
          asm_text: "mrs x1, ERXFR_EL1"

  -
    input:
      bytes: [ 0x1f, 0x22, 0x03, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-r82" ]
    expected:
      insns:
        -
          asm_text: "esb"

  -
    input:
      bytes: [ 0x20, 0x53, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-r82" ]
    expected:
      insns:
        -
          asm_text: "msr ERRSELR_EL1, x0"

  -
    input:
      bytes: [ 0x2f, 0x53, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-r82" ]
    expected:
      insns:
        -
          asm_text: "msr ERRSELR_EL1, x15"

  -
    input:
      bytes: [ 0x39, 0x53, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-r82" ]
    expected:
      insns:
        -
          asm_text: "msr ERRSELR_EL1, x25"

  -
    input:
      bytes: [ 0x21, 0x54, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-r82" ]
    expected:
      insns:
        -
          asm_text: "msr ERXCTLR_EL1, x1"

  -
    input:
      bytes: [ 0x42, 0x54, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-r82" ]
    expected:
      insns:
        -
          asm_text: "msr ERXSTATUS_EL1, x2"

  -
    input:
      bytes: [ 0x63, 0x54, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-r82" ]
    expected:
      insns:
        -
          asm_text: "msr ERXADDR_EL1, x3"

  -
    input:
      bytes: [ 0x04, 0x55, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-r82" ]
    expected:
      insns:
        -
          asm_text: "msr ERXMISC0_EL1, x4"

  -
    input:
      bytes: [ 0x25, 0x55, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-r82" ]
    expected:
      insns:
        -
          asm_text: "msr ERXMISC1_EL1, x5"

  -
    input:
      bytes: [ 0x26, 0xc1, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-r82" ]
    expected:
      insns:
        -
          asm_text: "msr DISR_EL1, x6"

  -
    input:
      bytes: [ 0x27, 0xc1, 0x1c, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-r82" ]
    expected:
      insns:
        -
          asm_text: "msr VDISR_EL2, x7"

  -
    input:
      bytes: [ 0x68, 0x52, 0x1c, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-r82" ]
    expected:
      insns:
        -
          asm_text: "msr VSESR_EL2, x8"

  -
    input:
      bytes: [ 0x20, 0x53, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-r82" ]
    expected:
      insns:
        -
          asm_text: "mrs x0, ERRSELR_EL1"

  -
    input:
      bytes: [ 0x2f, 0x53, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-r82" ]
    expected:
      insns:
        -
          asm_text: "mrs x15, ERRSELR_EL1"

  -
    input:
      bytes: [ 0x39, 0x53, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-r82" ]
    expected:
      insns:
        -
          asm_text: "mrs x25, ERRSELR_EL1"

  -
    input:
      bytes: [ 0x21, 0x54, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-r82" ]
    expected:
      insns:
        -
          asm_text: "mrs x1, ERXCTLR_EL1"

  -
    input:
      bytes: [ 0x42, 0x54, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-r82" ]
    expected:
      insns:
        -
          asm_text: "mrs x2, ERXSTATUS_EL1"

  -
    input:
      bytes: [ 0x63, 0x54, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-r82" ]
    expected:
      insns:
        -
          asm_text: "mrs x3, ERXADDR_EL1"

  -
    input:
      bytes: [ 0x04, 0x55, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-r82" ]
    expected:
      insns:
        -
          asm_text: "mrs x4, ERXMISC0_EL1"

  -
    input:
      bytes: [ 0x25, 0x55, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-r82" ]
    expected:
      insns:
        -
          asm_text: "mrs x5, ERXMISC1_EL1"

  -
    input:
      bytes: [ 0x26, 0xc1, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-r82" ]
    expected:
      insns:
        -
          asm_text: "mrs x6, DISR_EL1"

  -
    input:
      bytes: [ 0x27, 0xc1, 0x3c, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-r82" ]
    expected:
      insns:
        -
          asm_text: "mrs x7, VDISR_EL2"

  -
    input:
      bytes: [ 0x68, 0x52, 0x3c, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-r82" ]
    expected:
      insns:
        -
          asm_text: "mrs x8, VSESR_EL2"

  -
    input:
      bytes: [ 0x00, 0x53, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-r82" ]
    expected:
      insns:
        -
          asm_text: "mrs x0, ERRIDR_EL1"

  -
    input:
      bytes: [ 0x01, 0x54, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "cortex-r82" ]
    expected:
      insns:
        -
          asm_text: "mrs x1, ERXFR_EL1"

  -
    input:
      bytes: [ 0x1f, 0x22, 0x03, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8r" ]
    expected:
      insns:
        -
          asm_text: "esb"

  -
    input:
      bytes: [ 0x20, 0x53, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8r" ]
    expected:
      insns:
        -
          asm_text: "msr ERRSELR_EL1, x0"

  -
    input:
      bytes: [ 0x2f, 0x53, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8r" ]
    expected:
      insns:
        -
          asm_text: "msr ERRSELR_EL1, x15"

  -
    input:
      bytes: [ 0x39, 0x53, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8r" ]
    expected:
      insns:
        -
          asm_text: "msr ERRSELR_EL1, x25"

  -
    input:
      bytes: [ 0x21, 0x54, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8r" ]
    expected:
      insns:
        -
          asm_text: "msr ERXCTLR_EL1, x1"

  -
    input:
      bytes: [ 0x42, 0x54, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8r" ]
    expected:
      insns:
        -
          asm_text: "msr ERXSTATUS_EL1, x2"

  -
    input:
      bytes: [ 0x63, 0x54, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8r" ]
    expected:
      insns:
        -
          asm_text: "msr ERXADDR_EL1, x3"

  -
    input:
      bytes: [ 0x04, 0x55, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8r" ]
    expected:
      insns:
        -
          asm_text: "msr ERXMISC0_EL1, x4"

  -
    input:
      bytes: [ 0x25, 0x55, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8r" ]
    expected:
      insns:
        -
          asm_text: "msr ERXMISC1_EL1, x5"

  -
    input:
      bytes: [ 0x26, 0xc1, 0x18, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8r" ]
    expected:
      insns:
        -
          asm_text: "msr DISR_EL1, x6"

  -
    input:
      bytes: [ 0x27, 0xc1, 0x1c, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8r" ]
    expected:
      insns:
        -
          asm_text: "msr VDISR_EL2, x7"

  -
    input:
      bytes: [ 0x68, 0x52, 0x1c, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8r" ]
    expected:
      insns:
        -
          asm_text: "msr VSESR_EL2, x8"

  -
    input:
      bytes: [ 0x20, 0x53, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8r" ]
    expected:
      insns:
        -
          asm_text: "mrs x0, ERRSELR_EL1"

  -
    input:
      bytes: [ 0x2f, 0x53, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8r" ]
    expected:
      insns:
        -
          asm_text: "mrs x15, ERRSELR_EL1"

  -
    input:
      bytes: [ 0x39, 0x53, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8r" ]
    expected:
      insns:
        -
          asm_text: "mrs x25, ERRSELR_EL1"

  -
    input:
      bytes: [ 0x21, 0x54, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8r" ]
    expected:
      insns:
        -
          asm_text: "mrs x1, ERXCTLR_EL1"

  -
    input:
      bytes: [ 0x42, 0x54, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8r" ]
    expected:
      insns:
        -
          asm_text: "mrs x2, ERXSTATUS_EL1"

  -
    input:
      bytes: [ 0x63, 0x54, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8r" ]
    expected:
      insns:
        -
          asm_text: "mrs x3, ERXADDR_EL1"

  -
    input:
      bytes: [ 0x04, 0x55, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8r" ]
    expected:
      insns:
        -
          asm_text: "mrs x4, ERXMISC0_EL1"

  -
    input:
      bytes: [ 0x25, 0x55, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8r" ]
    expected:
      insns:
        -
          asm_text: "mrs x5, ERXMISC1_EL1"

  -
    input:
      bytes: [ 0x26, 0xc1, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8r" ]
    expected:
      insns:
        -
          asm_text: "mrs x6, DISR_EL1"

  -
    input:
      bytes: [ 0x27, 0xc1, 0x3c, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8r" ]
    expected:
      insns:
        -
          asm_text: "mrs x7, VDISR_EL2"

  -
    input:
      bytes: [ 0x68, 0x52, 0x3c, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8r" ]
    expected:
      insns:
        -
          asm_text: "mrs x8, VSESR_EL2"

  -
    input:
      bytes: [ 0x00, 0x53, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8r" ]
    expected:
      insns:
        -
          asm_text: "mrs x0, ERRIDR_EL1"

  -
    input:
      bytes: [ 0x01, 0x54, 0x38, 0xd5 ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8r" ]
    expected:
      insns:
        -
          asm_text: "mrs x1, ERXFR_EL1"
