	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ar9003_mci_get_isr             ## -- Begin function ar9003_mci_get_isr
	.p2align	4, 0x90
_ar9003_mci_get_isr:                    ## @ar9003_mci_get_isr
	.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
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_ath9k_hw_common
	movq	%rax, %r13
	movq	_AR_MCI_INTERRUPT_RX_MSG_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_REG_READ
	movq	%rax, %r14
	movq	_AR_MCI_INTERRUPT_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_REG_READ
	movq	%rax, %r15
	cmpl	$-559038737, %r15d              ## imm = 0xDEADBEEF
	je	LBB0_5
## %bb.1:
	cmpl	$-559038737, %r14d              ## imm = 0xDEADBEEF
	je	LBB0_5
## %bb.2:
	orl	%r14d, (%rbx)
	orl	%r15d, 4(%rbx)
	movq	_ATH9K_INT_MCI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
	movq	_AR_MCI_INTERRUPT_RX_MSG_CONT_INFO@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_AR_MCI_CONT_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_REG_READ
	movq	%rax, 8(%rbx)
LBB0_4:
	movq	_AR_MCI_INTERRUPT_RX_MSG_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_REG_WRITE
	movq	_AR_MCI_INTERRUPT_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REG_WRITE                      ## TAILCALL
LBB0_5:
	movq	_MCI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath_dbg                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AR_MCI_INTERRUPT_RX_MSG_RAW,4,2 ## @AR_MCI_INTERRUPT_RX_MSG_RAW
	.comm	_AR_MCI_INTERRUPT_RAW,4,2       ## @AR_MCI_INTERRUPT_RAW
	.comm	_MCI,4,2                        ## @MCI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MCI gets 0xdeadbeef during int processing\n"

	.comm	_ATH9K_INT_MCI,4,2              ## @ATH9K_INT_MCI
	.comm	_AR_MCI_INTERRUPT_RX_MSG_CONT_INFO,4,2 ## @AR_MCI_INTERRUPT_RX_MSG_CONT_INFO
	.comm	_AR_MCI_CONT_STATUS,4,2         ## @AR_MCI_CONT_STATUS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ar9003_mci_get_isr             ; -- Begin function ar9003_mci_get_isr
	.p2align	2
_ar9003_mci_get_isr:                    ; @ar9003_mci_get_isr
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x1
	mov	x19, x0
	bl	_ath9k_hw_common
	mov	x23, x0
Lloh0:
	adrp	x24, _AR_MCI_INTERRUPT_RX_MSG_RAW@GOTPAGE
Lloh1:
	ldr	x24, [x24, _AR_MCI_INTERRUPT_RX_MSG_RAW@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_REG_READ
	mov	x20, x0
Lloh2:
	adrp	x25, _AR_MCI_INTERRUPT_RAW@GOTPAGE
Lloh3:
	ldr	x25, [x25, _AR_MCI_INTERRUPT_RAW@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x19
	bl	_REG_READ
	mov	x21, x0
	mov	w8, #48879
	movk	w8, #57005, lsl #16
	cmp	w21, w8
	ccmp	w20, w8, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _MCI@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MCI@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ath_dbg
LBB0_2:
	ldp	w8, w9, [x19]
	orr	w8, w8, w20
	orr	w9, w9, w21
	stp	w8, w9, [x19]
Lloh9:
	adrp	x8, _ATH9K_INT_MCI@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ATH9K_INT_MCI@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
Lloh12:
	adrp	x8, _AR_MCI_INTERRUPT_RX_MSG_CONT_INFO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AR_MCI_INTERRUPT_RX_MSG_CONT_INFO@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
Lloh15:
	adrp	x8, _AR_MCI_CONT_STATUS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AR_MCI_CONT_STATUS@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_REG_READ
	str	x0, [x19, #8]
LBB0_4:
	ldr	w1, [x24]
	mov	x0, x19
	mov	x2, x20
	bl	_REG_WRITE
	ldr	w1, [x25]
	mov	x0, x19
	mov	x2, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_REG_WRITE
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_AR_MCI_INTERRUPT_RX_MSG_RAW,4,2 ; @AR_MCI_INTERRUPT_RX_MSG_RAW
	.comm	_AR_MCI_INTERRUPT_RAW,4,2       ; @AR_MCI_INTERRUPT_RAW
	.comm	_MCI,4,2                        ; @MCI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MCI gets 0xdeadbeef during int processing\n"

	.comm	_ATH9K_INT_MCI,4,2              ; @ATH9K_INT_MCI
	.comm	_AR_MCI_INTERRUPT_RX_MSG_CONT_INFO,4,2 ; @AR_MCI_INTERRUPT_RX_MSG_CONT_INFO
	.comm	_AR_MCI_CONT_STATUS,4,2         ; @AR_MCI_CONT_STATUS
.subsections_via_symbols
