	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_intrpend              ## -- Begin function ath9k_hw_intrpend
	.p2align	4, 0x90
_ath9k_hw_intrpend:                     ## @ath9k_hw_intrpend
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_AR_SREV_9100
	movl	$1, %r14d
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	movq	_AR_INTR_ASYNC_CAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_REG_READ
	movq	_AR_INTR_MAC_IRQ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_3
## %bb.2:
	movq	_AR_INTR_ASYNC_MASK_MCI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
LBB0_3:
	movq	_AR_INTR_SPURIOUS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
LBB0_4:
	movq	_AR_INTR_SYNC_CAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_REG_READ
	movq	_AR_INTR_SYNC_DEFAULT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	setne	%cl
	movq	_AR_INTR_SPURIOUS@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	setne	%al
	andb	%cl, %al
	movzbl	%al, %r14d
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AR_INTR_ASYNC_CAUSE,4,2        ## @AR_INTR_ASYNC_CAUSE
	.comm	_AR_INTR_MAC_IRQ,4,2            ## @AR_INTR_MAC_IRQ
	.comm	_AR_INTR_ASYNC_MASK_MCI,4,2     ## @AR_INTR_ASYNC_MASK_MCI
	.comm	_AR_INTR_SPURIOUS,4,2           ## @AR_INTR_SPURIOUS
	.comm	_AR_INTR_SYNC_CAUSE,4,2         ## @AR_INTR_SYNC_CAUSE
	.comm	_AR_INTR_SYNC_DEFAULT,4,2       ## @AR_INTR_SYNC_DEFAULT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_intrpend              ; -- Begin function ath9k_hw_intrpend
	.p2align	2
_ath9k_hw_intrpend:                     ; @ath9k_hw_intrpend
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_AR_SREV_9100
	cbz	x0, LBB0_3
LBB0_1:
	mov	w0, #1
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh0:
	adrp	x8, _AR_INTR_ASYNC_CAUSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR_INTR_ASYNC_CAUSE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_REG_READ
Lloh3:
	adrp	x8, _AR_INTR_MAC_IRQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AR_INTR_MAC_IRQ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x20, _AR_INTR_SPURIOUS@GOTPAGE
Lloh7:
	ldr	x20, [x20, _AR_INTR_SPURIOUS@GOTPAGEOFF]
	tst	w8, w0
	b.eq	LBB0_5
; %bb.4:
	ldr	w8, [x20]
	cmp	w0, w8
	b.eq	LBB0_6
	b	LBB0_1
LBB0_5:
Lloh8:
	adrp	x8, _AR_INTR_ASYNC_MASK_MCI@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AR_INTR_ASYNC_MASK_MCI@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	and	w8, w8, w0
	ldr	w9, [x20]
	cmp	w8, #0
	ccmp	w0, w9, #4, ne
	b.ne	LBB0_1
LBB0_6:
Lloh11:
	adrp	x8, _AR_INTR_SYNC_CAUSE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AR_INTR_SYNC_CAUSE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_REG_READ
Lloh14:
	adrp	x8, _AR_INTR_SYNC_DEFAULT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AR_INTR_SYNC_DEFAULT@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w0
	ldr	w8, [x20]
	ccmp	w0, w8, #4, ne
	cset	w0, ne
	b	LBB0_2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_AR_INTR_ASYNC_CAUSE,4,2        ; @AR_INTR_ASYNC_CAUSE
	.comm	_AR_INTR_MAC_IRQ,4,2            ; @AR_INTR_MAC_IRQ
	.comm	_AR_INTR_ASYNC_MASK_MCI,4,2     ; @AR_INTR_ASYNC_MASK_MCI
	.comm	_AR_INTR_SPURIOUS,4,2           ; @AR_INTR_SPURIOUS
	.comm	_AR_INTR_SYNC_CAUSE,4,2         ; @AR_INTR_SYNC_CAUSE
	.comm	_AR_INTR_SYNC_DEFAULT,4,2       ; @AR_INTR_SYNC_DEFAULT
.subsections_via_symbols
