	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar9003_hw_get_isr
_ar9003_hw_get_isr:                     ## @ar9003_hw_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	callq	_ath9k_hw_common
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_AR_INTR_MAC_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r14, %rdi
	callq	_ath9k_hw_mci_is_enabled
	xorl	%r13d, %r13d
	movq	_AR_INTR_ASYNC_MASK_MCI@GOTPCREL(%rip), %rcx
	movl	$0, %ebx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%rcx), %ebx
LBB0_2:
	orl	%r15d, %ebx
	movq	_AR_INTR_ASYNC_CAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_REG_READ
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	testl	%ebx, %eax
	je	LBB0_5
## %bb.3:
	movq	_AR_RTC_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_REG_READ
	movq	_AR_RTC_STATUS_M@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_AR_RTC_STATUS_ON@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.4:
	movq	_AR_ISR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_REG_READ
	movl	%eax, %r13d
LBB0_5:
	movq	_AR_INTR_SYNC_CAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_REG_READ
	movl	%eax, %r12d
	movq	_AR_INTR_SYNC_DEFAULT@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	testl	%r13d, %r13d
	jne	LBB0_8
## %bb.6:
	testl	%r12d, %r12d
	jne	LBB0_8
## %bb.7:
	xorl	%r15d, %r15d
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_58
LBB0_8:
	testl	%r13d, %r13d
	je	LBB0_42
## %bb.9:
	movq	_AR_ISR_BCNMISC@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_10
## %bb.11:
	movq	_AR_ISR_S2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_REG_READ
	movq	_AR_ISR_S2_TIM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	andl	%eax, %esi
	movq	_MAP_ISR_S2_TIM@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %esi
	movq	_AR_ISR_S2_DTIM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	andl	%eax, %edi
	movq	_MAP_ISR_S2_DTIM@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %edi
	movq	_AR_ISR_S2_DTIMSYNC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	andl	%eax, %ebx
	movq	_MAP_ISR_S2_DTIMSYNC@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %ebx
	movq	_MAP_ISR_S2_CABEND@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	_AR_ISR_S2_CABEND@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%eax, %edx
	sarl	%cl, %edx
	orl	%esi, %edi
	orl	%ebx, %edx
	orl	%edi, %edx
	movq	_AR_ISR_S2_GTT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	andl	%eax, %esi
	movq	_MAP_ISR_S2_GTT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	movq	_AR_ISR_S2_CST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	andl	%eax, %edi
	movq	_MAP_ISR_S2_CST@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	movq	_MAP_ISR_S2_TSFOOR@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	_AR_ISR_S2_TSFOOR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	andl	%eax, %ebx
	sarl	%cl, %ebx
	orl	%esi, %edi
	orl	%edi, %ebx
	orl	%edx, %ebx
	movq	_AR_ISR_S2_BB_WATCHDOG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	andl	%eax, %r15d
	movq	_MAP_ISR_S2_BB_WATCHDOG@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %r15d
	orl	%ebx, %r15d
	movq	_ATH9K_HW_CAP_RAC_SUPPORTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 32(%r14)
	jne	LBB0_13
## %bb.12:
	movq	_AR_ISR_S2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_REG_WRITE
	movq	_AR_ISR_BCNMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r13d
	jmp	LBB0_13
LBB0_10:
	xorl	%r15d, %r15d
LBB0_13:
	movq	_ATH9K_HW_CAP_RAC_SUPPORTED@GOTPCREL(%rip), %rsi
	movl	(%rsi), %eax
	testl	%eax, 32(%r14)
	je	LBB0_15
## %bb.14:
	movq	_AR_ISR_RAC@GOTPCREL(%rip), %rax
	movq	%rsi, %rbx
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_REG_READ
	movq	%rbx, %rsi
	movl	%eax, %r13d
LBB0_15:
	cmpl	$-1, %r13d
	je	LBB0_16
## %bb.17:
	movq	_ATH9K_INT_COMMON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r13d, %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	cmpq	$0, 24(%r14)
	je	LBB0_20
## %bb.18:
	movq	_AR_ISR_RXMINTR@GOTPCREL(%rip), %rcx
	movq	_AR_ISR_RXINTM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%r13d, %edx
	je	LBB0_20
## %bb.19:
	movq	_ATH9K_INT_RXLP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
LBB0_20:
	cmpq	$0, 16(%r14)
	je	LBB0_23
## %bb.21:
	movq	_AR_ISR_TXMINTR@GOTPCREL(%rip), %rcx
	movq	_AR_ISR_TXINTM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%r13d, %edx
	je	LBB0_23
## %bb.22:
	movq	_ATH9K_INT_TX@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
LBB0_23:
	movq	_AR_ISR_LP_RXOK@GOTPCREL(%rip), %rcx
	movq	_AR_ISR_RXERR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%r13d, %edx
	je	LBB0_25
## %bb.24:
	movq	_ATH9K_INT_RXLP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
LBB0_25:
	movq	_AR_ISR_HP_RXOK@GOTPCREL(%rip), %rcx
	testl	%r13d, (%rcx)
	je	LBB0_27
## %bb.26:
	movq	_ATH9K_INT_RXHP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
LBB0_27:
	movq	_AR_ISR_TXOK@GOTPCREL(%rip), %rdx
	movq	_AR_ISR_TXERR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	orl	(%rdx), %ecx
	movq	_AR_ISR_TXEOL@GOTPCREL(%rip), %rdi
	orl	(%rdi), %ecx
	testl	%r13d, %ecx
	je	LBB0_30
## %bb.28:
	movq	_ATH9K_INT_TX@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	(%rsi), %eax
	testl	%eax, 32(%r14)
	jne	LBB0_30
## %bb.29:
	movq	_AR_ISR_S0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_REG_READ
	movq	_AR_ISR_S0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_REG_WRITE
	movq	_AR_ISR_S1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_REG_READ
	movq	_AR_ISR_S1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_REG_WRITE
	movq	_ATH9K_HW_CAP_RAC_SUPPORTED@GOTPCREL(%rip), %rsi
	movl	(%rbx), %eax
	movq	_AR_ISR_TXOK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_AR_ISR_TXEOL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	andl	%eax, %r13d
LBB0_30:
	movq	_AR_ISR_GENTMR@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_38
## %bb.31:
	movl	(%rsi), %eax
	andl	32(%r14), %eax
	jne	LBB0_32
## %bb.33:
	movq	_AR_ISR_S5@GOTPCREL(%rip), %rax
	jmp	LBB0_34
LBB0_16:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	xorl	%r15d, %r15d
	jmp	LBB0_58
LBB0_32:
	movq	_AR_ISR_S5_S@GOTPCREL(%rip), %rax
LBB0_34:
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_REG_READ
	movl	%eax, %ebx
	movq	_AR_ISR_S5_GENTIMER_TRIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_MS
	movq	%rax, (%r14)
	movq	_AR_ISR_S5_GENTIMER_THRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_MS
	movq	%rax, 8(%r14)
	cmpq	$0, (%r14)
	je	LBB0_36
## %bb.35:
	movq	_ATH9K_INT_GENTIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
LBB0_36:
	movq	_ATH9K_HW_CAP_RAC_SUPPORTED@GOTPCREL(%rip), %rsi
	movl	(%rsi), %eax
	testl	%eax, 32(%r14)
	jne	LBB0_38
## %bb.37:
	movq	_AR_ISR_S5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_REG_WRITE
	movq	_ATH9K_HW_CAP_RAC_SUPPORTED@GOTPCREL(%rip), %rsi
	movq	_AR_ISR_GENTMR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r13d
LBB0_38:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	orl	(%rax), %r15d
	movl	%r15d, (%rax)
	movl	(%rsi), %eax
	testl	%eax, 32(%r14)
	jne	LBB0_40
## %bb.39:
	movq	_AR_ISR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	%r13d, %edx
	callq	_REG_WRITE
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_REG_READ
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r15d
LBB0_40:
	movq	_ATH9K_INT_BB_WATCHDOG@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_42
## %bb.41:
	movq	%r14, %rdi
	callq	_ar9003_hw_bb_watchdog_read
LBB0_42:
	movq	_AR_INTR_ASYNC_MASK_MCI@GOTPCREL(%rip), %rax
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_44
## %bb.43:
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_ar9003_mci_get_isr
LBB0_44:
	movl	$1, %r15d
	testl	%r12d, %r12d
	je	LBB0_58
## %bb.45:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_47
## %bb.46:
	movl	%r12d, (%rax)
LBB0_47:
	movq	_AR_INTR_SYNC_HOST1_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_AR_INTR_SYNC_HOST1_PERR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movl	%eax, %edx
	orl	%ecx, %edx
	testl	%r12d, %edx
	je	LBB0_53
## %bb.48:
	testl	%r12d, %ecx
	je	LBB0_50
## %bb.49:
	movq	_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_ath_dbg
	movl	(%rbx), %eax
LBB0_50:
	testl	%r12d, %eax
	je	LBB0_52
## %bb.51:
	movq	_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_ath_dbg
LBB0_52:
	movq	_ATH9K_INT_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
LBB0_53:
	movq	_AR_INTR_SYNC_RADM_CPL_TIMEOUT@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_55
## %bb.54:
	movq	_AR_RC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_AR_RC_HOSTIF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_REG_WRITE
	movl	(%rbx), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_REG_WRITE
	movq	_ATH9K_INT_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
LBB0_55:
	movq	_AR_INTR_SYNC_LOCAL_TIMEOUT@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_57
## %bb.56:
	movq	_INTERRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_ath_dbg
LBB0_57:
	movq	_AR_INTR_SYNC_CAUSE_CLR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_REG_WRITE
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_REG_READ
LBB0_58:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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_ASYNC_CAUSE,4,2        ## @AR_INTR_ASYNC_CAUSE
	.comm	_AR_RTC_STATUS,4,2              ## @AR_RTC_STATUS
	.comm	_AR_RTC_STATUS_M,4,2            ## @AR_RTC_STATUS_M
	.comm	_AR_RTC_STATUS_ON,4,2           ## @AR_RTC_STATUS_ON
	.comm	_AR_ISR,4,2                     ## @AR_ISR
	.comm	_AR_INTR_SYNC_CAUSE,4,2         ## @AR_INTR_SYNC_CAUSE
	.comm	_AR_INTR_SYNC_DEFAULT,4,2       ## @AR_INTR_SYNC_DEFAULT
	.comm	_AR_ISR_BCNMISC,4,2             ## @AR_ISR_BCNMISC
	.comm	_AR_ISR_S2,4,2                  ## @AR_ISR_S2
	.comm	_AR_ISR_S2_TIM,4,2              ## @AR_ISR_S2_TIM
	.comm	_MAP_ISR_S2_TIM,4,2             ## @MAP_ISR_S2_TIM
	.comm	_AR_ISR_S2_DTIM,4,2             ## @AR_ISR_S2_DTIM
	.comm	_MAP_ISR_S2_DTIM,4,2            ## @MAP_ISR_S2_DTIM
	.comm	_AR_ISR_S2_DTIMSYNC,4,2         ## @AR_ISR_S2_DTIMSYNC
	.comm	_MAP_ISR_S2_DTIMSYNC,4,2        ## @MAP_ISR_S2_DTIMSYNC
	.comm	_AR_ISR_S2_CABEND,4,2           ## @AR_ISR_S2_CABEND
	.comm	_MAP_ISR_S2_CABEND,4,2          ## @MAP_ISR_S2_CABEND
	.comm	_AR_ISR_S2_GTT,4,2              ## @AR_ISR_S2_GTT
	.comm	_MAP_ISR_S2_GTT,4,2             ## @MAP_ISR_S2_GTT
	.comm	_AR_ISR_S2_CST,4,2              ## @AR_ISR_S2_CST
	.comm	_MAP_ISR_S2_CST,4,2             ## @MAP_ISR_S2_CST
	.comm	_AR_ISR_S2_TSFOOR,4,2           ## @AR_ISR_S2_TSFOOR
	.comm	_MAP_ISR_S2_TSFOOR,4,2          ## @MAP_ISR_S2_TSFOOR
	.comm	_AR_ISR_S2_BB_WATCHDOG,4,2      ## @AR_ISR_S2_BB_WATCHDOG
	.comm	_MAP_ISR_S2_BB_WATCHDOG,4,2     ## @MAP_ISR_S2_BB_WATCHDOG
	.comm	_ATH9K_HW_CAP_RAC_SUPPORTED,4,2 ## @ATH9K_HW_CAP_RAC_SUPPORTED
	.comm	_AR_ISR_RAC,4,2                 ## @AR_ISR_RAC
	.comm	_ATH9K_INT_COMMON,4,2           ## @ATH9K_INT_COMMON
	.comm	_AR_ISR_RXMINTR,4,2             ## @AR_ISR_RXMINTR
	.comm	_AR_ISR_RXINTM,4,2              ## @AR_ISR_RXINTM
	.comm	_ATH9K_INT_RXLP,4,2             ## @ATH9K_INT_RXLP
	.comm	_AR_ISR_TXMINTR,4,2             ## @AR_ISR_TXMINTR
	.comm	_AR_ISR_TXINTM,4,2              ## @AR_ISR_TXINTM
	.comm	_ATH9K_INT_TX,4,2               ## @ATH9K_INT_TX
	.comm	_AR_ISR_LP_RXOK,4,2             ## @AR_ISR_LP_RXOK
	.comm	_AR_ISR_RXERR,4,2               ## @AR_ISR_RXERR
	.comm	_AR_ISR_HP_RXOK,4,2             ## @AR_ISR_HP_RXOK
	.comm	_ATH9K_INT_RXHP,4,2             ## @ATH9K_INT_RXHP
	.comm	_AR_ISR_TXOK,4,2                ## @AR_ISR_TXOK
	.comm	_AR_ISR_TXERR,4,2               ## @AR_ISR_TXERR
	.comm	_AR_ISR_TXEOL,4,2               ## @AR_ISR_TXEOL
	.comm	_AR_ISR_S0,4,2                  ## @AR_ISR_S0
	.comm	_AR_ISR_S1,4,2                  ## @AR_ISR_S1
	.comm	_AR_ISR_GENTMR,4,2              ## @AR_ISR_GENTMR
	.comm	_AR_ISR_S5_S,4,2                ## @AR_ISR_S5_S
	.comm	_AR_ISR_S5,4,2                  ## @AR_ISR_S5
	.comm	_AR_ISR_S5_GENTIMER_TRIG,4,2    ## @AR_ISR_S5_GENTIMER_TRIG
	.comm	_AR_ISR_S5_GENTIMER_THRESH,4,2  ## @AR_ISR_S5_GENTIMER_THRESH
	.comm	_ATH9K_INT_GENTIMER,4,2         ## @ATH9K_INT_GENTIMER
	.comm	_ATH9K_INT_BB_WATCHDOG,4,2      ## @ATH9K_INT_BB_WATCHDOG
	.comm	_AR_INTR_SYNC_HOST1_FATAL,4,2   ## @AR_INTR_SYNC_HOST1_FATAL
	.comm	_AR_INTR_SYNC_HOST1_PERR,4,2    ## @AR_INTR_SYNC_HOST1_PERR
	.comm	_ANY,4,2                        ## @ANY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"received PCI FATAL interrupt\n"

L_.str.1:                               ## @.str.1
	.asciz	"received PCI PERR interrupt\n"

	.comm	_ATH9K_INT_FATAL,4,2            ## @ATH9K_INT_FATAL
	.comm	_AR_INTR_SYNC_RADM_CPL_TIMEOUT,4,2 ## @AR_INTR_SYNC_RADM_CPL_TIMEOUT
	.comm	_AR_RC,4,2                      ## @AR_RC
	.comm	_AR_RC_HOSTIF,4,2               ## @AR_RC_HOSTIF
	.comm	_AR_INTR_SYNC_LOCAL_TIMEOUT,4,2 ## @AR_INTR_SYNC_LOCAL_TIMEOUT
	.comm	_INTERRUPT,4,2                  ## @INTERRUPT
L_.str.2:                               ## @.str.2
	.asciz	"AR_INTR_SYNC_LOCAL_TIMEOUT\n"

	.comm	_AR_INTR_SYNC_CAUSE_CLR,4,2     ## @AR_INTR_SYNC_CAUSE_CLR
	.no_dead_strip	_ar9003_hw_get_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar9003_hw_get_isr
_ar9003_hw_get_isr:                     ; @ar9003_hw_get_isr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x2
	mov	x21, x1
	mov	x19, x0
	bl	_ath9k_hw_common
	mov	x26, x0
Lloh0:
	adrp	x8, _AR_INTR_MAC_IRQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR_INTR_MAC_IRQ@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_ath9k_hw_mci_is_enabled
Lloh3:
	adrp	x27, _AR_INTR_ASYNC_MASK_MCI@GOTPAGE
Lloh4:
	ldr	x27, [x27, _AR_INTR_ASYNC_MASK_MCI@GOTPAGEOFF]
	ldr	w8, [x27]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w20, w8, w20
Lloh5:
	adrp	x8, _AR_INTR_ASYNC_CAUSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AR_INTR_ASYNC_CAUSE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_REG_READ
	mov	x24, x0
	tst	w0, w20
	b.eq	LBB0_3
; %bb.1:
Lloh8:
	adrp	x8, _AR_RTC_STATUS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AR_RTC_STATUS@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_REG_READ
Lloh11:
	adrp	x8, _AR_RTC_STATUS_M@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AR_RTC_STATUS_M@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh14:
	adrp	x9, _AR_RTC_STATUS_ON@GOTPAGE
Lloh15:
	ldr	x9, [x9, _AR_RTC_STATUS_ON@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.2:
Lloh17:
	adrp	x8, _AR_ISR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AR_ISR@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_REG_READ
	mov	x25, x0
	b	LBB0_4
LBB0_3:
	mov	w25, #0
LBB0_4:
Lloh20:
	adrp	x8, _AR_INTR_SYNC_CAUSE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AR_INTR_SYNC_CAUSE@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_REG_READ
Lloh23:
	adrp	x8, _AR_INTR_SYNC_DEFAULT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AR_INTR_SYNC_DEFAULT@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	and	w22, w8, w0
	str	wzr, [x21]
	cbnz	w25, LBB0_6
; %bb.5:
	mov	w0, #0
	cmp	w22, #0
	ccmp	w24, #0, #0, eq
	b.eq	LBB0_55
LBB0_6:
	cbz	w25, LBB0_37
; %bb.7:
	str	x26, [sp, #8]                   ; 8-byte Folded Spill
Lloh26:
	adrp	x26, _AR_ISR_BCNMISC@GOTPAGE
Lloh27:
	ldr	x26, [x26, _AR_ISR_BCNMISC@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh28:
	adrp	x20, _ATH9K_HW_CAP_RAC_SUPPORTED@GOTPAGE
Lloh29:
	ldr	x20, [x20, _ATH9K_HW_CAP_RAC_SUPPORTED@GOTPAGEOFF]
	tst	w8, w25
	b.eq	LBB0_10
; %bb.8:
Lloh30:
	adrp	x28, _AR_ISR_S2@GOTPAGE
Lloh31:
	ldr	x28, [x28, _AR_ISR_S2@GOTPAGEOFF]
	ldr	w1, [x28]
	mov	x0, x19
	bl	_REG_READ
Lloh32:
	adrp	x8, _AR_ISR_S2_TIM@GOTPAGE
Lloh33:
	ldr	x8, [x8, _AR_ISR_S2_TIM@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh35:
	adrp	x9, _MAP_ISR_S2_TIM@GOTPAGE
Lloh36:
	ldr	x9, [x9, _MAP_ISR_S2_TIM@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	asr	w8, w8, w9
Lloh38:
	adrp	x9, _AR_ISR_S2_DTIM@GOTPAGE
Lloh39:
	ldr	x9, [x9, _AR_ISR_S2_DTIM@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	and	w9, w9, w0
Lloh41:
	adrp	x10, _MAP_ISR_S2_DTIM@GOTPAGE
Lloh42:
	ldr	x10, [x10, _MAP_ISR_S2_DTIM@GOTPAGEOFF]
Lloh43:
	ldr	w10, [x10]
	asr	w9, w9, w10
	orr	w8, w9, w8
Lloh44:
	adrp	x9, _AR_ISR_S2_DTIMSYNC@GOTPAGE
Lloh45:
	ldr	x9, [x9, _AR_ISR_S2_DTIMSYNC@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	and	w9, w9, w0
Lloh47:
	adrp	x10, _MAP_ISR_S2_DTIMSYNC@GOTPAGE
Lloh48:
	ldr	x10, [x10, _MAP_ISR_S2_DTIMSYNC@GOTPAGEOFF]
Lloh49:
	ldr	w10, [x10]
	asr	w9, w9, w10
	orr	w8, w8, w9
Lloh50:
	adrp	x9, _AR_ISR_S2_CABEND@GOTPAGE
Lloh51:
	ldr	x9, [x9, _AR_ISR_S2_CABEND@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	and	w9, w9, w0
Lloh53:
	adrp	x10, _MAP_ISR_S2_CABEND@GOTPAGE
Lloh54:
	ldr	x10, [x10, _MAP_ISR_S2_CABEND@GOTPAGEOFF]
Lloh55:
	ldr	w10, [x10]
	asr	w9, w9, w10
	orr	w8, w8, w9
Lloh56:
	adrp	x9, _AR_ISR_S2_GTT@GOTPAGE
Lloh57:
	ldr	x9, [x9, _AR_ISR_S2_GTT@GOTPAGEOFF]
Lloh58:
	ldr	w9, [x9]
	and	w9, w9, w0
Lloh59:
	adrp	x10, _MAP_ISR_S2_GTT@GOTPAGE
Lloh60:
	ldr	x10, [x10, _MAP_ISR_S2_GTT@GOTPAGEOFF]
Lloh61:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
Lloh62:
	adrp	x9, _AR_ISR_S2_CST@GOTPAGE
Lloh63:
	ldr	x9, [x9, _AR_ISR_S2_CST@GOTPAGEOFF]
Lloh64:
	ldr	w9, [x9]
	and	w9, w9, w0
Lloh65:
	adrp	x10, _MAP_ISR_S2_CST@GOTPAGE
Lloh66:
	ldr	x10, [x10, _MAP_ISR_S2_CST@GOTPAGEOFF]
Lloh67:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
Lloh68:
	adrp	x9, _AR_ISR_S2_TSFOOR@GOTPAGE
Lloh69:
	ldr	x9, [x9, _AR_ISR_S2_TSFOOR@GOTPAGEOFF]
Lloh70:
	ldr	w9, [x9]
	and	w9, w9, w0
Lloh71:
	adrp	x10, _MAP_ISR_S2_TSFOOR@GOTPAGE
Lloh72:
	ldr	x10, [x10, _MAP_ISR_S2_TSFOOR@GOTPAGEOFF]
Lloh73:
	ldr	w10, [x10]
	asr	w9, w9, w10
	orr	w8, w8, w9
Lloh74:
	adrp	x9, _AR_ISR_S2_BB_WATCHDOG@GOTPAGE
Lloh75:
	ldr	x9, [x9, _AR_ISR_S2_BB_WATCHDOG@GOTPAGEOFF]
Lloh76:
	ldr	w9, [x9]
	and	w9, w9, w0
Lloh77:
	adrp	x10, _MAP_ISR_S2_BB_WATCHDOG@GOTPAGE
Lloh78:
	ldr	x10, [x10, _MAP_ISR_S2_BB_WATCHDOG@GOTPAGEOFF]
Lloh79:
	ldr	w10, [x10]
	asr	w9, w9, w10
	orr	w8, w8, w9
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	ldr	w8, [x19, #32]
	ldr	w9, [x20]
	tst	w9, w8
	b.ne	LBB0_11
; %bb.9:
	mov	x2, x0
	ldr	w1, [x28]
	mov	x0, x19
	bl	_REG_WRITE
	ldr	w8, [x26]
	bic	w25, w25, w8
	b	LBB0_11
LBB0_10:
	str	wzr, [sp, #4]                   ; 4-byte Folded Spill
LBB0_11:
	ldr	w8, [x19, #32]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.12:
Lloh80:
	adrp	x8, _AR_ISR_RAC@GOTPAGE
Lloh81:
	ldr	x8, [x8, _AR_ISR_RAC@GOTPAGEOFF]
Lloh82:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_REG_READ
	mov	x25, x0
LBB0_13:
	cmn	w25, #1
	b.eq	LBB0_54
; %bb.14:
Lloh83:
	adrp	x8, _ATH9K_INT_COMMON@GOTPAGE
Lloh84:
	ldr	x8, [x8, _ATH9K_INT_COMMON@GOTPAGEOFF]
Lloh85:
	ldr	w8, [x8]
	and	w8, w8, w25
	str	w8, [x21]
	ldr	x9, [x19, #24]
Lloh86:
	adrp	x10, _ATH9K_INT_RXLP@GOTPAGE
Lloh87:
	ldr	x10, [x10, _ATH9K_INT_RXLP@GOTPAGEOFF]
	cbz	x9, LBB0_17
; %bb.15:
Lloh88:
	adrp	x9, _AR_ISR_RXMINTR@GOTPAGE
Lloh89:
	ldr	x9, [x9, _AR_ISR_RXMINTR@GOTPAGEOFF]
Lloh90:
	ldr	w9, [x9]
Lloh91:
	adrp	x11, _AR_ISR_RXINTM@GOTPAGE
Lloh92:
	ldr	x11, [x11, _AR_ISR_RXINTM@GOTPAGEOFF]
Lloh93:
	ldr	w11, [x11]
	orr	w9, w11, w9
	tst	w9, w25
	b.eq	LBB0_17
; %bb.16:
	ldr	w9, [x10]
	orr	w8, w9, w8
	str	w8, [x21]
LBB0_17:
	ldr	x11, [x19, #16]
Lloh94:
	adrp	x9, _ATH9K_INT_TX@GOTPAGE
Lloh95:
	ldr	x9, [x9, _ATH9K_INT_TX@GOTPAGEOFF]
	cbz	x11, LBB0_20
; %bb.18:
Lloh96:
	adrp	x11, _AR_ISR_TXMINTR@GOTPAGE
Lloh97:
	ldr	x11, [x11, _AR_ISR_TXMINTR@GOTPAGEOFF]
Lloh98:
	ldr	w11, [x11]
Lloh99:
	adrp	x12, _AR_ISR_TXINTM@GOTPAGE
Lloh100:
	ldr	x12, [x12, _AR_ISR_TXINTM@GOTPAGEOFF]
Lloh101:
	ldr	w12, [x12]
	orr	w11, w12, w11
	tst	w11, w25
	b.eq	LBB0_20
; %bb.19:
	ldr	w11, [x9]
	orr	w8, w8, w11
	str	w8, [x21]
LBB0_20:
Lloh102:
	adrp	x11, _AR_ISR_LP_RXOK@GOTPAGE
Lloh103:
	ldr	x11, [x11, _AR_ISR_LP_RXOK@GOTPAGEOFF]
Lloh104:
	ldr	w11, [x11]
Lloh105:
	adrp	x12, _AR_ISR_RXERR@GOTPAGE
Lloh106:
	ldr	x12, [x12, _AR_ISR_RXERR@GOTPAGEOFF]
Lloh107:
	ldr	w12, [x12]
	orr	w11, w12, w11
	tst	w11, w25
	b.eq	LBB0_22
; %bb.21:
	ldr	w10, [x10]
	orr	w8, w8, w10
	str	w8, [x21]
LBB0_22:
Lloh108:
	adrp	x10, _AR_ISR_HP_RXOK@GOTPAGE
Lloh109:
	ldr	x10, [x10, _AR_ISR_HP_RXOK@GOTPAGEOFF]
Lloh110:
	ldr	w10, [x10]
	tst	w10, w25
	b.eq	LBB0_24
; %bb.23:
Lloh111:
	adrp	x10, _ATH9K_INT_RXHP@GOTPAGE
Lloh112:
	ldr	x10, [x10, _ATH9K_INT_RXHP@GOTPAGEOFF]
Lloh113:
	ldr	w10, [x10]
	orr	w8, w8, w10
	str	w8, [x21]
LBB0_24:
Lloh114:
	adrp	x10, _AR_ISR_TXOK@GOTPAGE
Lloh115:
	ldr	x10, [x10, _AR_ISR_TXOK@GOTPAGEOFF]
Lloh116:
	ldr	w10, [x10]
Lloh117:
	adrp	x28, _AR_ISR_TXERR@GOTPAGE
Lloh118:
	ldr	x28, [x28, _AR_ISR_TXERR@GOTPAGEOFF]
	ldr	w11, [x28]
	orr	w10, w11, w10
Lloh119:
	adrp	x26, _AR_ISR_TXEOL@GOTPAGE
Lloh120:
	ldr	x26, [x26, _AR_ISR_TXEOL@GOTPAGEOFF]
	ldr	w11, [x26]
	orr	w10, w10, w11
	tst	w10, w25
	b.eq	LBB0_27
; %bb.25:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x21]
	ldr	w8, [x19, #32]
	ldr	w9, [x20]
	tst	w9, w8
	b.ne	LBB0_27
; %bb.26:
Lloh121:
	adrp	x8, _AR_ISR_S0@GOTPAGE
Lloh122:
	ldr	x8, [x8, _AR_ISR_S0@GOTPAGEOFF]
Lloh123:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_REG_READ
	mov	x2, x0
Lloh124:
	adrp	x8, _AR_ISR_S0@GOTPAGE
Lloh125:
	ldr	x8, [x8, _AR_ISR_S0@GOTPAGEOFF]
Lloh126:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_REG_WRITE
Lloh127:
	adrp	x8, _AR_ISR_S1@GOTPAGE
Lloh128:
	ldr	x8, [x8, _AR_ISR_S1@GOTPAGEOFF]
Lloh129:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_REG_READ
	mov	x2, x0
Lloh130:
	adrp	x8, _AR_ISR_S1@GOTPAGE
Lloh131:
	ldr	x8, [x8, _AR_ISR_S1@GOTPAGEOFF]
Lloh132:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_REG_WRITE
Lloh133:
	adrp	x8, _AR_ISR_TXOK@GOTPAGE
Lloh134:
	ldr	x8, [x8, _AR_ISR_TXOK@GOTPAGEOFF]
Lloh135:
	ldr	w8, [x8]
	ldr	w9, [x28]
	orr	w8, w9, w8
	ldr	w9, [x26]
	orr	w8, w8, w9
	bic	w25, w25, w8
LBB0_27:
	ldr	x26, [sp, #8]                   ; 8-byte Folded Reload
Lloh136:
	adrp	x28, _AR_ISR_GENTMR@GOTPAGE
Lloh137:
	ldr	x28, [x28, _AR_ISR_GENTMR@GOTPAGEOFF]
	ldr	w8, [x28]
	tst	w8, w25
	b.eq	LBB0_33
; %bb.28:
	ldr	w8, [x19, #32]
Lloh138:
	adrp	x11, _AR_ISR_S5@GOTPAGE
Lloh139:
	ldr	x11, [x11, _AR_ISR_S5@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh140:
	adrp	x10, _AR_ISR_S5_S@GOTPAGE
Lloh141:
	ldr	x10, [x10, _AR_ISR_S5_S@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x11, x10, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_REG_READ
	mov	x26, x0
Lloh142:
	adrp	x8, _AR_ISR_S5_GENTIMER_TRIG@GOTPAGE
Lloh143:
	ldr	x8, [x8, _AR_ISR_S5_GENTIMER_TRIG@GOTPAGEOFF]
Lloh144:
	ldr	w1, [x8]
	bl	_MS
	str	x0, [x19]
Lloh145:
	adrp	x8, _AR_ISR_S5_GENTIMER_THRESH@GOTPAGE
Lloh146:
	ldr	x8, [x8, _AR_ISR_S5_GENTIMER_THRESH@GOTPAGEOFF]
Lloh147:
	ldr	w1, [x8]
	mov	x0, x26
	bl	_MS
	str	x0, [x19, #8]
	ldr	x8, [x19]
	cbz	x8, LBB0_30
; %bb.29:
Lloh148:
	adrp	x8, _ATH9K_INT_GENTIMER@GOTPAGE
Lloh149:
	ldr	x8, [x8, _ATH9K_INT_GENTIMER@GOTPAGEOFF]
Lloh150:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w8, w9, w8
	str	w8, [x21]
LBB0_30:
	ldr	w8, [x19, #32]
	ldr	w9, [x20]
	tst	w9, w8
	b.ne	LBB0_32
; %bb.31:
Lloh151:
	adrp	x8, _AR_ISR_S5@GOTPAGE
Lloh152:
	ldr	x8, [x8, _AR_ISR_S5@GOTPAGEOFF]
Lloh153:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x26
	bl	_REG_WRITE
	ldr	w8, [x28]
	bic	w25, w25, w8
LBB0_32:
	ldr	x26, [sp, #8]                   ; 8-byte Folded Reload
LBB0_33:
	ldr	w8, [x21]
	ldr	w9, [sp, #4]                    ; 4-byte Folded Reload
	orr	w8, w8, w9
	str	w8, [x21]
	ldr	w9, [x19, #32]
	ldr	w10, [x20]
	tst	w10, w9
	b.ne	LBB0_35
; %bb.34:
Lloh154:
	adrp	x20, _AR_ISR@GOTPAGE
Lloh155:
	ldr	x20, [x20, _AR_ISR@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	x2, x25
	bl	_REG_WRITE
	ldr	w1, [x20]
	mov	x0, x19
	bl	_REG_READ
	ldr	w8, [x21]
LBB0_35:
Lloh156:
	adrp	x9, _ATH9K_INT_BB_WATCHDOG@GOTPAGE
Lloh157:
	ldr	x9, [x9, _ATH9K_INT_BB_WATCHDOG@GOTPAGEOFF]
Lloh158:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_37
; %bb.36:
	mov	x0, x19
	bl	_ar9003_hw_bb_watchdog_read
LBB0_37:
	ldr	w8, [x27]
	tst	w8, w24
	b.eq	LBB0_39
; %bb.38:
	mov	x0, x19
	mov	x1, x21
	bl	_ar9003_mci_get_isr
LBB0_39:
	cbz	w22, LBB0_53
; %bb.40:
	cbz	x23, LBB0_42
; %bb.41:
	str	w22, [x23]
LBB0_42:
Lloh159:
	adrp	x8, _AR_INTR_SYNC_HOST1_FATAL@GOTPAGE
Lloh160:
	ldr	x8, [x8, _AR_INTR_SYNC_HOST1_FATAL@GOTPAGEOFF]
Lloh161:
	adrp	x24, _AR_INTR_SYNC_HOST1_PERR@GOTPAGE
Lloh162:
	ldr	x24, [x24, _AR_INTR_SYNC_HOST1_PERR@GOTPAGEOFF]
Lloh163:
	ldr	w9, [x8]
	ldr	w8, [x24]
	orr	w10, w8, w9
Lloh164:
	adrp	x23, _ATH9K_INT_FATAL@GOTPAGE
Lloh165:
	ldr	x23, [x23, _ATH9K_INT_FATAL@GOTPAGEOFF]
	tst	w10, w22
	b.eq	LBB0_48
; %bb.43:
Lloh166:
	adrp	x20, _ANY@GOTPAGE
Lloh167:
	ldr	x20, [x20, _ANY@GOTPAGEOFF]
	tst	w9, w22
	b.eq	LBB0_45
; %bb.44:
	ldr	w1, [x20]
Lloh168:
	adrp	x2, l_.str@PAGE
Lloh169:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x26
	bl	_ath_dbg
	ldr	w8, [x24]
LBB0_45:
	tst	w8, w22
	b.eq	LBB0_47
; %bb.46:
	ldr	w1, [x20]
Lloh170:
	adrp	x2, l_.str.1@PAGE
Lloh171:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x26
	bl	_ath_dbg
LBB0_47:
	ldr	w8, [x23]
	ldr	w9, [x21]
	orr	w8, w9, w8
	str	w8, [x21]
LBB0_48:
Lloh172:
	adrp	x8, _AR_INTR_SYNC_RADM_CPL_TIMEOUT@GOTPAGE
Lloh173:
	ldr	x8, [x8, _AR_INTR_SYNC_RADM_CPL_TIMEOUT@GOTPAGEOFF]
Lloh174:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_50
; %bb.49:
Lloh175:
	adrp	x20, _AR_RC@GOTPAGE
Lloh176:
	ldr	x20, [x20, _AR_RC@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh177:
	adrp	x8, _AR_RC_HOSTIF@GOTPAGE
Lloh178:
	ldr	x8, [x8, _AR_RC_HOSTIF@GOTPAGEOFF]
Lloh179:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_REG_WRITE
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	bl	_REG_WRITE
	ldr	w8, [x23]
	ldr	w9, [x21]
	orr	w8, w9, w8
	str	w8, [x21]
LBB0_50:
Lloh180:
	adrp	x8, _AR_INTR_SYNC_LOCAL_TIMEOUT@GOTPAGE
Lloh181:
	ldr	x8, [x8, _AR_INTR_SYNC_LOCAL_TIMEOUT@GOTPAGEOFF]
Lloh182:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_52
; %bb.51:
Lloh183:
	adrp	x8, _INTERRUPT@GOTPAGE
Lloh184:
	ldr	x8, [x8, _INTERRUPT@GOTPAGEOFF]
Lloh185:
	ldr	w1, [x8]
Lloh186:
	adrp	x2, l_.str.2@PAGE
Lloh187:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x26
	bl	_ath_dbg
LBB0_52:
Lloh188:
	adrp	x20, _AR_INTR_SYNC_CAUSE_CLR@GOTPAGE
Lloh189:
	ldr	x20, [x20, _AR_INTR_SYNC_CAUSE_CLR@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	x2, x22
	bl	_REG_WRITE
	ldr	w1, [x20]
	mov	x0, x19
	bl	_REG_READ
LBB0_53:
	mov	w0, #1
	b	LBB0_55
LBB0_54:
	mov	w0, #0
	str	wzr, [x21]
LBB0_55:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGot	Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGot	Lloh119, Lloh120
	.loh AdrpLdrGot	Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh133, Lloh134, Lloh135
	.loh AdrpLdrGotLdr	Lloh130, Lloh131, Lloh132
	.loh AdrpLdrGotLdr	Lloh127, Lloh128, Lloh129
	.loh AdrpLdrGotLdr	Lloh124, Lloh125, Lloh126
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.loh AdrpLdrGot	Lloh136, Lloh137
	.loh AdrpLdrGotLdr	Lloh145, Lloh146, Lloh147
	.loh AdrpLdrGotLdr	Lloh142, Lloh143, Lloh144
	.loh AdrpLdrGot	Lloh140, Lloh141
	.loh AdrpLdrGot	Lloh138, Lloh139
	.loh AdrpLdrGotLdr	Lloh148, Lloh149, Lloh150
	.loh AdrpLdrGotLdr	Lloh151, Lloh152, Lloh153
	.loh AdrpLdrGot	Lloh154, Lloh155
	.loh AdrpLdrGotLdr	Lloh156, Lloh157, Lloh158
	.loh AdrpLdrGot	Lloh164, Lloh165
	.loh AdrpLdrGot	Lloh161, Lloh162
	.loh AdrpLdrGotLdr	Lloh159, Lloh160, Lloh163
	.loh AdrpLdrGot	Lloh166, Lloh167
	.loh AdrpAdd	Lloh168, Lloh169
	.loh AdrpAdd	Lloh170, Lloh171
	.loh AdrpLdrGotLdr	Lloh172, Lloh173, Lloh174
	.loh AdrpLdrGotLdr	Lloh177, Lloh178, Lloh179
	.loh AdrpLdrGot	Lloh175, Lloh176
	.loh AdrpLdrGotLdr	Lloh180, Lloh181, Lloh182
	.loh AdrpAdd	Lloh186, Lloh187
	.loh AdrpLdrGotLdr	Lloh183, Lloh184, Lloh185
	.loh AdrpLdrGot	Lloh188, Lloh189
	.cfi_endproc
                                        ; -- End function
	.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_ASYNC_CAUSE,4,2        ; @AR_INTR_ASYNC_CAUSE
	.comm	_AR_RTC_STATUS,4,2              ; @AR_RTC_STATUS
	.comm	_AR_RTC_STATUS_M,4,2            ; @AR_RTC_STATUS_M
	.comm	_AR_RTC_STATUS_ON,4,2           ; @AR_RTC_STATUS_ON
	.comm	_AR_ISR,4,2                     ; @AR_ISR
	.comm	_AR_INTR_SYNC_CAUSE,4,2         ; @AR_INTR_SYNC_CAUSE
	.comm	_AR_INTR_SYNC_DEFAULT,4,2       ; @AR_INTR_SYNC_DEFAULT
	.comm	_AR_ISR_BCNMISC,4,2             ; @AR_ISR_BCNMISC
	.comm	_AR_ISR_S2,4,2                  ; @AR_ISR_S2
	.comm	_AR_ISR_S2_TIM,4,2              ; @AR_ISR_S2_TIM
	.comm	_MAP_ISR_S2_TIM,4,2             ; @MAP_ISR_S2_TIM
	.comm	_AR_ISR_S2_DTIM,4,2             ; @AR_ISR_S2_DTIM
	.comm	_MAP_ISR_S2_DTIM,4,2            ; @MAP_ISR_S2_DTIM
	.comm	_AR_ISR_S2_DTIMSYNC,4,2         ; @AR_ISR_S2_DTIMSYNC
	.comm	_MAP_ISR_S2_DTIMSYNC,4,2        ; @MAP_ISR_S2_DTIMSYNC
	.comm	_AR_ISR_S2_CABEND,4,2           ; @AR_ISR_S2_CABEND
	.comm	_MAP_ISR_S2_CABEND,4,2          ; @MAP_ISR_S2_CABEND
	.comm	_AR_ISR_S2_GTT,4,2              ; @AR_ISR_S2_GTT
	.comm	_MAP_ISR_S2_GTT,4,2             ; @MAP_ISR_S2_GTT
	.comm	_AR_ISR_S2_CST,4,2              ; @AR_ISR_S2_CST
	.comm	_MAP_ISR_S2_CST,4,2             ; @MAP_ISR_S2_CST
	.comm	_AR_ISR_S2_TSFOOR,4,2           ; @AR_ISR_S2_TSFOOR
	.comm	_MAP_ISR_S2_TSFOOR,4,2          ; @MAP_ISR_S2_TSFOOR
	.comm	_AR_ISR_S2_BB_WATCHDOG,4,2      ; @AR_ISR_S2_BB_WATCHDOG
	.comm	_MAP_ISR_S2_BB_WATCHDOG,4,2     ; @MAP_ISR_S2_BB_WATCHDOG
	.comm	_ATH9K_HW_CAP_RAC_SUPPORTED,4,2 ; @ATH9K_HW_CAP_RAC_SUPPORTED
	.comm	_AR_ISR_RAC,4,2                 ; @AR_ISR_RAC
	.comm	_ATH9K_INT_COMMON,4,2           ; @ATH9K_INT_COMMON
	.comm	_AR_ISR_RXMINTR,4,2             ; @AR_ISR_RXMINTR
	.comm	_AR_ISR_RXINTM,4,2              ; @AR_ISR_RXINTM
	.comm	_ATH9K_INT_RXLP,4,2             ; @ATH9K_INT_RXLP
	.comm	_AR_ISR_TXMINTR,4,2             ; @AR_ISR_TXMINTR
	.comm	_AR_ISR_TXINTM,4,2              ; @AR_ISR_TXINTM
	.comm	_ATH9K_INT_TX,4,2               ; @ATH9K_INT_TX
	.comm	_AR_ISR_LP_RXOK,4,2             ; @AR_ISR_LP_RXOK
	.comm	_AR_ISR_RXERR,4,2               ; @AR_ISR_RXERR
	.comm	_AR_ISR_HP_RXOK,4,2             ; @AR_ISR_HP_RXOK
	.comm	_ATH9K_INT_RXHP,4,2             ; @ATH9K_INT_RXHP
	.comm	_AR_ISR_TXOK,4,2                ; @AR_ISR_TXOK
	.comm	_AR_ISR_TXERR,4,2               ; @AR_ISR_TXERR
	.comm	_AR_ISR_TXEOL,4,2               ; @AR_ISR_TXEOL
	.comm	_AR_ISR_S0,4,2                  ; @AR_ISR_S0
	.comm	_AR_ISR_S1,4,2                  ; @AR_ISR_S1
	.comm	_AR_ISR_GENTMR,4,2              ; @AR_ISR_GENTMR
	.comm	_AR_ISR_S5_S,4,2                ; @AR_ISR_S5_S
	.comm	_AR_ISR_S5,4,2                  ; @AR_ISR_S5
	.comm	_AR_ISR_S5_GENTIMER_TRIG,4,2    ; @AR_ISR_S5_GENTIMER_TRIG
	.comm	_AR_ISR_S5_GENTIMER_THRESH,4,2  ; @AR_ISR_S5_GENTIMER_THRESH
	.comm	_ATH9K_INT_GENTIMER,4,2         ; @ATH9K_INT_GENTIMER
	.comm	_ATH9K_INT_BB_WATCHDOG,4,2      ; @ATH9K_INT_BB_WATCHDOG
	.comm	_AR_INTR_SYNC_HOST1_FATAL,4,2   ; @AR_INTR_SYNC_HOST1_FATAL
	.comm	_AR_INTR_SYNC_HOST1_PERR,4,2    ; @AR_INTR_SYNC_HOST1_PERR
	.comm	_ANY,4,2                        ; @ANY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"received PCI FATAL interrupt\n"

l_.str.1:                               ; @.str.1
	.asciz	"received PCI PERR interrupt\n"

	.comm	_ATH9K_INT_FATAL,4,2            ; @ATH9K_INT_FATAL
	.comm	_AR_INTR_SYNC_RADM_CPL_TIMEOUT,4,2 ; @AR_INTR_SYNC_RADM_CPL_TIMEOUT
	.comm	_AR_RC,4,2                      ; @AR_RC
	.comm	_AR_RC_HOSTIF,4,2               ; @AR_RC_HOSTIF
	.comm	_AR_INTR_SYNC_LOCAL_TIMEOUT,4,2 ; @AR_INTR_SYNC_LOCAL_TIMEOUT
	.comm	_INTERRUPT,4,2                  ; @INTERRUPT
l_.str.2:                               ; @.str.2
	.asciz	"AR_INTR_SYNC_LOCAL_TIMEOUT\n"

	.comm	_AR_INTR_SYNC_CAUSE_CLR,4,2     ; @AR_INTR_SYNC_CAUSE_CLR
	.no_dead_strip	_ar9003_hw_get_isr
.subsections_via_symbols
