# RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.1a --disassemble < %s | FileCheck %s

0x9f,0x40,0x00,0xd5
0x9f,0x41,0x00,0xd5
0x9f,0x42,0x00,0xd5
0x65,0x42,0x18,0xd5
0x6d,0x42,0x38,0xd5
# CHECK:  msr PAN, #0
# CHECK:  msr PAN, #1
# CHECK-NOT: msr PAN, #2
# CHECK:  msr PAN, x5
# CHECK:  mrs x13, PAN
