	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arm_disasm_msrtrans
_arm_disasm_msrtrans:                   ## @arm_disasm_msrtrans
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r12
	movl	%esi, %ebx
	andl	$33619968, %ebx                 ## imm = 0x2010000
	movq	(%rdi), %r14
	movl	%esi, %edi
	callq	_get_cond
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	$4194304, %r15d                 ## imm = 0x400000
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %r13
	cmoveq	%rax, %r13
	cmpl	$33554432, %ebx                 ## imm = 0x2000000
	jne	LBB0_1
## %bb.2:
	movq	%r14, %rbx
	movzbl	%r15b, %r14d
	movl	%r15d, %edi
	movl	$2, %esi
	callq	_get_nibble
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax), %esi
	movl	%r14d, %edi
	callq	_ROR32
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r13, %rcx
	movl	%eax, %r8d
	jmp	LBB0_3
LBB0_1:
	movq	_tbl_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	%r15d, %edi
	xorl	%esi, %esi
	callq	_get_nibble
	cltq
	movl	(%rbx,%rax,4), %r8d
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r13, %rcx
LBB0_3:
	callq	_r_str_appendf
	movq	%rax, (%r12)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"msr%s %s, %s"

L_.str.1:                               ## @.str.1
	.asciz	"spsr"

L_.str.2:                               ## @.str.2
	.asciz	"cpsr"

	.comm	_tbl_regs,8,3                   ## @tbl_regs
L_.str.3:                               ## @.str.3
	.asciz	"msr%s %s, #%u"

	.no_dead_strip	_arm_disasm_msrtrans
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arm_disasm_msrtrans
_arm_disasm_msrtrans:                   ; @arm_disasm_msrtrans
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x1
	mov	x19, x0
	mov	w8, #33619968
	and	w24, w1, w8
	ldr	x20, [x0]
	mov	x0, x1
	bl	_get_cond
	mov	x21, x0
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh2:
	adrp	x9, l_.str.2@PAGE
Lloh3:
	add	x9, x9, l_.str.2@PAGEOFF
	tst	w23, #0x400000
	csel	x22, x9, x8, eq
	mov	w8, #33554432
	cmp	w24, w8
	b.ne	LBB0_2
; %bb.1:
	and	w24, w23, #0xff
	mov	x0, x23
	mov	w1, #2
	bl	_get_nibble
	lsl	w1, w0, #1
	mov	x0, x24
	bl	_ROR32
	mov	x4, x0
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _tbl_regs@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tbl_regs@GOTPAGEOFF]
Lloh8:
	ldr	x24, [x8]
	mov	x0, x23
	mov	w1, #0
	bl	_get_nibble
	ldr	w4, [x24, w0, sxtw #2]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
LBB0_3:
	mov	x0, x20
	mov	x2, x21
	mov	x3, x22
	bl	_r_str_appendf
	str	x0, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"msr%s %s, %s"

l_.str.1:                               ; @.str.1
	.asciz	"spsr"

l_.str.2:                               ; @.str.2
	.asciz	"cpsr"

	.comm	_tbl_regs,8,3                   ; @tbl_regs
l_.str.3:                               ; @.str.3
	.asciz	"msr%s %s, #%u"

	.no_dead_strip	_arm_disasm_msrtrans
.subsections_via_symbols
