	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath_mci_intr                   ## -- Begin function ath_mci_intr
	.p2align	4, 0x90
_ath_mci_intr:                          ## @ath_mci_intr
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r13
	movq	%r13, %rdi
	callq	_ath9k_hw_common
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	_MCI_GPM_MORE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, -76(%rbp)
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rdi
	leaq	-72(%rbp), %rsi
	leaq	-68(%rbp), %rdx
	callq	_ar9003_mci_get_interrupt
	movq	_MCI_STATE_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ar9003_mci_state
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	-68(%rbp), %eax
	movq	_AR_MCI_INTERRUPT_RX_MSG_REQ_WAKE@GOTPCREL(%rip), %rbx
	testl	%eax, (%rbx)
	je	LBB0_4
## %bb.3:
	movaps	L___const.ath_mci_intr.payload(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	_MCI_REMOTE_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$0, (%rsp)
	leaq	-64(%rbp), %rcx
	movq	%r13, %rdi
	xorl	%edx, %edx
	movl	$16, %r8d
	movl	$1, %r9d
	callq	_ar9003_mci_send_message
	movq	_MCI_SYS_WAKING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$0, (%rsp)
	movq	%r13, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_ar9003_mci_send_message
	movl	(%rbx), %eax
	notl	%eax
	andl	%eax, -68(%rbp)
	movq	_MCI_STATE_RESET_REQ_WAKE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ar9003_mci_state
	movq	_MCI_STATE_SET_BT_AWAKE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ar9003_mci_state
	movl	-68(%rbp), %eax
LBB0_4:
	movq	_AR_MCI_INTERRUPT_RX_MSG_SYS_WAKING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_8
## %bb.5:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, -68(%rbp)
	movq	(%r13), %rax
	movq	_MCI_BT_SLEEP@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_8
## %bb.6:
	movq	_MCI_STATE_REMOTE_SLEEP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ar9003_mci_state
	cmpq	(%rbx), %rax
	je	LBB0_8
## %bb.7:
	movq	_MCI_STATE_SET_BT_AWAKE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ar9003_mci_state
LBB0_8:
	movl	-68(%rbp), %eax
	movq	_AR_MCI_INTERRUPT_RX_MSG_SYS_SLEEPING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_12
## %bb.9:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, -68(%rbp)
	movq	(%r13), %rax
	movq	_MCI_BT_AWAKE@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_12
## %bb.10:
	movq	_MCI_STATE_REMOTE_SLEEP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ar9003_mci_state
	cmpq	(%rbx), %rax
	je	LBB0_12
## %bb.11:
	movq	_MCI_BT_SLEEP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r13)
LBB0_12:
	movl	-72(%rbp), %eax
	movq	_AR_MCI_INTERRUPT_RX_INVALID_HDR@GOTPCREL(%rip), %rbx
	testl	%eax, (%rbx)
	jne	LBB0_15
## %bb.13:
	movq	_AR_MCI_INTERRUPT_CONT_INFO_TIMEOUT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
LBB0_15:
	movq	_MCI_STATE_RECOVER_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ar9003_mci_state
	xorl	%r15d, %r15d
LBB0_16:
	movl	-68(%rbp), %eax
	movq	_AR_MCI_INTERRUPT_RX_MSG_SCHD_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_18
## %bb.17:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, -68(%rbp)
	movq	_MCI_STATE_LAST_SCHD_MSG_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ar9003_mci_state
	movl	-68(%rbp), %eax
LBB0_18:
	movq	_AR_MCI_INTERRUPT_RX_MSG_GPM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_29
## %bb.19:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, -68(%rbp)
	movq	_MCI_GPM_MORE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r14d
	je	LBB0_20
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movq	%rbx, %rdx
	callq	_ath_mci_cal_msg
LBB0_27:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	%rbx, %rdi
	callq	_MCI_GPM_RECYCLE
	movl	-76(%rbp), %eax
	movq	_MCI_GPM_MORE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_28
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	_ATH_OP_HW_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_42
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rbx
	movq	%r13, %rdi
	leaq	-76(%rbp), %rsi
	callq	_ar9003_mci_get_next_gpm_offset
	movq	_MCI_GPM_INVALID@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_28
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=1
	sarl	$2, %eax
	cltq
	leaq	(%rbx,%rax,4), %rbx
	movq	%rbx, %rdi
	callq	_MCI_GPM_TYPE
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_MCI_GPM_OPCODE
	testb	%r15b, %r15b
	je	LBB0_27
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=1
	movl	%eax, %r12d
	movl	%r14d, %edi
	callq	_MCI_GPM_IS_CAL_TYPE
	testq	%rax, %rax
	jne	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_20 Depth=1
	cmpl	$128, %r14d
	jne	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	movq	%rbx, %rdx
	callq	_ath_mci_msg
	jmp	LBB0_27
LBB0_1:
	movq	_MCI_STATE_INIT_GPM_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ar9003_mci_state
	jmp	LBB0_42
LBB0_28:
	movl	-68(%rbp), %eax
	movq	_AR_MCI_INTERRUPT_RX_INVALID_HDR@GOTPCREL(%rip), %rbx
LBB0_29:
	movq	_AR_MCI_INTERRUPT_RX_HW_MSG_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_40
## %bb.30:
	movq	_AR_MCI_INTERRUPT_RX_MSG_LNA_CONTROL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_32
## %bb.31:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, -68(%rbp)
LBB0_32:
	movq	_AR_MCI_INTERRUPT_RX_MSG_LNA_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rbx, %r15
	testl	%eax, %ecx
	je	LBB0_34
## %bb.33:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, -68(%rbp)
LBB0_34:
	movq	_AR_MCI_INTERRUPT_RX_MSG_CONT_INFO@GOTPCREL(%rip), %rbx
	testl	%eax, (%rbx)
	je	LBB0_36
## %bb.35:
	movl	8(%r13), %edi
	movq	_AR_MCI_CONT_RSSI_POWER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	movl	%eax, %r14d
	movl	(%rbx), %eax
	notl	%eax
	andl	%eax, -68(%rbp)
	movq	_MCI@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	8(%r13), %edi
	movq	_AR_MCI_CONT_TXRX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	testl	%eax, %eax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rbx
	cmoveq	%rax, %rbx
	movl	8(%r13), %edi
	movq	_AR_MCI_CONT_PRIORITY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	leaq	L_.str(%rip), %rdx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	movq	%rbx, %rcx
	movl	%eax, %r8d
	movl	%r14d, %r9d
	callq	_ath_dbg
	movl	-68(%rbp), %eax
LBB0_36:
	movq	_AR_MCI_INTERRUPT_RX_MSG_CONT_NACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_38
## %bb.37:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, -68(%rbp)
LBB0_38:
	movq	%r15, %rbx
	movq	_AR_MCI_INTERRUPT_RX_MSG_CONT_RST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_40
## %bb.39:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, -68(%rbp)
LBB0_40:
	movl	-72(%rbp), %eax
	movq	_AR_MCI_INTERRUPT_CONT_INFO_TIMEOUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rbx), %ecx
	testl	%eax, %ecx
	je	LBB0_42
## %bb.41:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, -72(%rbp)
	movq	_MCI_GPM_COEX_NOOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_ath_mci_msg
LBB0_42:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_44
## %bb.43:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movb	$1, %r15b
	jmp	LBB0_16
LBB0_44:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MCI_GPM_MORE,4,2               ## @MCI_GPM_MORE
	.comm	_MCI_STATE_ENABLE,4,2           ## @MCI_STATE_ENABLE
	.comm	_MCI_STATE_INIT_GPM_OFFSET,4,2  ## @MCI_STATE_INIT_GPM_OFFSET
	.comm	_AR_MCI_INTERRUPT_RX_MSG_REQ_WAKE,4,2 ## @AR_MCI_INTERRUPT_RX_MSG_REQ_WAKE
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @__const.ath_mci_intr.payload
L___const.ath_mci_intr.payload:
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
	.long	4294967040                      ## 0xffffff00

	.comm	_MCI_REMOTE_RESET,4,2           ## @MCI_REMOTE_RESET
	.comm	_MCI_SYS_WAKING,4,2             ## @MCI_SYS_WAKING
	.comm	_MCI_STATE_RESET_REQ_WAKE,4,2   ## @MCI_STATE_RESET_REQ_WAKE
	.comm	_MCI_STATE_SET_BT_AWAKE,4,2     ## @MCI_STATE_SET_BT_AWAKE
	.comm	_AR_MCI_INTERRUPT_RX_MSG_SYS_WAKING,4,2 ## @AR_MCI_INTERRUPT_RX_MSG_SYS_WAKING
	.comm	_MCI_BT_SLEEP,8,3               ## @MCI_BT_SLEEP
	.comm	_MCI_STATE_REMOTE_SLEEP,4,2     ## @MCI_STATE_REMOTE_SLEEP
	.comm	_AR_MCI_INTERRUPT_RX_MSG_SYS_SLEEPING,4,2 ## @AR_MCI_INTERRUPT_RX_MSG_SYS_SLEEPING
	.comm	_MCI_BT_AWAKE,8,3               ## @MCI_BT_AWAKE
	.comm	_AR_MCI_INTERRUPT_RX_INVALID_HDR,4,2 ## @AR_MCI_INTERRUPT_RX_INVALID_HDR
	.comm	_AR_MCI_INTERRUPT_CONT_INFO_TIMEOUT,4,2 ## @AR_MCI_INTERRUPT_CONT_INFO_TIMEOUT
	.comm	_MCI_STATE_RECOVER_RX,4,2       ## @MCI_STATE_RECOVER_RX
	.comm	_AR_MCI_INTERRUPT_RX_MSG_SCHD_INFO,4,2 ## @AR_MCI_INTERRUPT_RX_MSG_SCHD_INFO
	.comm	_MCI_STATE_LAST_SCHD_MSG_OFFSET,4,2 ## @MCI_STATE_LAST_SCHD_MSG_OFFSET
	.comm	_AR_MCI_INTERRUPT_RX_MSG_GPM,4,2 ## @AR_MCI_INTERRUPT_RX_MSG_GPM
	.comm	_ATH_OP_HW_RESET,4,2            ## @ATH_OP_HW_RESET
	.comm	_MCI_GPM_INVALID,4,2            ## @MCI_GPM_INVALID
	.comm	_AR_MCI_INTERRUPT_RX_HW_MSG_MASK,4,2 ## @AR_MCI_INTERRUPT_RX_HW_MSG_MASK
	.comm	_AR_MCI_INTERRUPT_RX_MSG_LNA_CONTROL,4,2 ## @AR_MCI_INTERRUPT_RX_MSG_LNA_CONTROL
	.comm	_AR_MCI_INTERRUPT_RX_MSG_LNA_INFO,4,2 ## @AR_MCI_INTERRUPT_RX_MSG_LNA_INFO
	.comm	_AR_MCI_INTERRUPT_RX_MSG_CONT_INFO,4,2 ## @AR_MCI_INTERRUPT_RX_MSG_CONT_INFO
	.comm	_AR_MCI_CONT_RSSI_POWER,4,2     ## @AR_MCI_CONT_RSSI_POWER
	.comm	_MCI,4,2                        ## @MCI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MCI CONT_INFO: (%s) pri = %d pwr = %d dBm\n"

	.comm	_AR_MCI_CONT_TXRX,4,2           ## @AR_MCI_CONT_TXRX
L_.str.1:                               ## @.str.1
	.asciz	"tx"

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

	.comm	_AR_MCI_CONT_PRIORITY,4,2       ## @AR_MCI_CONT_PRIORITY
	.comm	_AR_MCI_INTERRUPT_RX_MSG_CONT_NACK,4,2 ## @AR_MCI_INTERRUPT_RX_MSG_CONT_NACK
	.comm	_AR_MCI_INTERRUPT_RX_MSG_CONT_RST,4,2 ## @AR_MCI_INTERRUPT_RX_MSG_CONT_RST
	.comm	_MCI_GPM_COEX_NOOP,4,2          ## @MCI_GPM_COEX_NOOP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath_mci_intr                   ; -- Begin function ath_mci_intr
	.p2align	2
_ath_mci_intr:                          ; @ath_mci_intr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	x21, [x0]
	mov	x0, x21
	bl	_ath9k_hw_common
	mov	x20, x0
Lloh3:
	adrp	x25, _MCI_GPM_MORE@GOTPAGE
Lloh4:
	ldr	x25, [x25, _MCI_GPM_MORE@GOTPAGEOFF]
	ldr	w22, [x25]
	str	w22, [sp, #4]
	ldr	x0, [x19]
	add	x1, sp, #12
	add	x2, sp, #8
	bl	_ar9003_mci_get_interrupt
Lloh5:
	adrp	x8, _MCI_STATE_ENABLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MCI_STATE_ENABLE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_ar9003_mci_state
	cbz	x0, LBB0_27
; %bb.1:
	ldr	w8, [sp, #8]
Lloh8:
	adrp	x23, _AR_MCI_INTERRUPT_RX_MSG_REQ_WAKE@GOTPAGE
Lloh9:
	ldr	x23, [x23, _AR_MCI_INTERRUPT_RX_MSG_REQ_WAKE@GOTPAGEOFF]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh10:
	adrp	x8, l___const.ath_mci_intr.payload@PAGE
Lloh11:
	add	x8, x8, l___const.ath_mci_intr.payload@PAGEOFF
Lloh12:
	ldr	q0, [x8]
	str	q0, [sp, #16]
Lloh13:
	adrp	x8, _MCI_REMOTE_RESET@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MCI_REMOTE_RESET@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	add	x3, sp, #16
	mov	x0, x21
	mov	w2, #0
	mov	w4, #16
	mov	w5, #1
	mov	w6, #0
	bl	_ar9003_mci_send_message
Lloh16:
	adrp	x8, _MCI_SYS_WAKING@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MCI_SYS_WAKING@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	mov	x3, #0
	mov	w4, #0
	mov	w5, #1
	mov	w6, #0
	bl	_ar9003_mci_send_message
	ldr	w8, [x23]
	ldr	w9, [sp, #8]
	bic	w8, w9, w8
	str	w8, [sp, #8]
Lloh19:
	adrp	x8, _MCI_STATE_RESET_REQ_WAKE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MCI_STATE_RESET_REQ_WAKE@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_ar9003_mci_state
Lloh22:
	adrp	x8, _MCI_STATE_SET_BT_AWAKE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MCI_STATE_SET_BT_AWAKE@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_ar9003_mci_state
	ldr	w8, [sp, #8]
LBB0_3:
Lloh25:
	adrp	x9, _AR_MCI_INTERRUPT_RX_MSG_SYS_WAKING@GOTPAGE
Lloh26:
	ldr	x9, [x9, _AR_MCI_INTERRUPT_RX_MSG_SYS_WAKING@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.4:
	bic	w8, w8, w9
	str	w8, [sp, #8]
	ldr	x8, [x21]
Lloh28:
	adrp	x23, _MCI_BT_SLEEP@GOTPAGE
Lloh29:
	ldr	x23, [x23, _MCI_BT_SLEEP@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
Lloh30:
	adrp	x8, _MCI_STATE_REMOTE_SLEEP@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MCI_STATE_REMOTE_SLEEP@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_ar9003_mci_state
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.6:
Lloh33:
	adrp	x8, _MCI_STATE_SET_BT_AWAKE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MCI_STATE_SET_BT_AWAKE@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_ar9003_mci_state
LBB0_7:
	ldr	w8, [sp, #8]
Lloh36:
	adrp	x9, _AR_MCI_INTERRUPT_RX_MSG_SYS_SLEEPING@GOTPAGE
Lloh37:
	ldr	x9, [x9, _AR_MCI_INTERRUPT_RX_MSG_SYS_SLEEPING@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.8:
	bic	w8, w8, w9
	str	w8, [sp, #8]
	ldr	x8, [x21]
Lloh39:
	adrp	x23, _MCI_BT_AWAKE@GOTPAGE
Lloh40:
	ldr	x23, [x23, _MCI_BT_AWAKE@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.9:
Lloh41:
	adrp	x8, _MCI_STATE_REMOTE_SLEEP@GOTPAGE
Lloh42:
	ldr	x8, [x8, _MCI_STATE_REMOTE_SLEEP@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_ar9003_mci_state
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_11
; %bb.10:
Lloh44:
	adrp	x8, _MCI_BT_SLEEP@GOTPAGE
Lloh45:
	ldr	x8, [x8, _MCI_BT_SLEEP@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
	str	x8, [x21]
LBB0_11:
	ldr	w8, [sp, #12]
Lloh47:
	adrp	x26, _AR_MCI_INTERRUPT_RX_INVALID_HDR@GOTPAGE
Lloh48:
	ldr	x26, [x26, _AR_MCI_INTERRUPT_RX_INVALID_HDR@GOTPAGEOFF]
	ldr	w9, [x26]
Lloh49:
	adrp	x27, _AR_MCI_INTERRUPT_CONT_INFO_TIMEOUT@GOTPAGE
Lloh50:
	ldr	x27, [x27, _AR_MCI_INTERRUPT_CONT_INFO_TIMEOUT@GOTPAGEOFF]
	tst	w9, w8
	b.ne	LBB0_13
; %bb.12:
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_44
LBB0_13:
Lloh51:
	adrp	x8, _MCI_STATE_RECOVER_RX@GOTPAGE
Lloh52:
	ldr	x8, [x8, _MCI_STATE_RECOVER_RX@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_ar9003_mci_state
	mov	w28, #0
LBB0_14:
	ldr	w8, [sp, #8]
Lloh54:
	adrp	x9, _AR_MCI_INTERRUPT_RX_MSG_SCHD_INFO@GOTPAGE
Lloh55:
	ldr	x9, [x9, _AR_MCI_INTERRUPT_RX_MSG_SCHD_INFO@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.15:
	bic	w8, w8, w9
	str	w8, [sp, #8]
Lloh57:
	adrp	x8, _MCI_STATE_LAST_SCHD_MSG_OFFSET@GOTPAGE
Lloh58:
	ldr	x8, [x8, _MCI_STATE_LAST_SCHD_MSG_OFFSET@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_ar9003_mci_state
	ldr	w8, [sp, #8]
LBB0_16:
Lloh60:
	adrp	x9, _AR_MCI_INTERRUPT_RX_MSG_GPM@GOTPAGE
Lloh61:
	ldr	x9, [x9, _AR_MCI_INTERRUPT_RX_MSG_GPM@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_29
; %bb.17:
	bic	w8, w8, w9
	str	w8, [sp, #8]
	ldr	w9, [x25]
	cmp	w22, w9
	b.ne	LBB0_29
; %bb.18:
Lloh63:
	adrp	x27, _ATH_OP_HW_RESET@GOTPAGE
Lloh64:
	ldr	x27, [x27, _ATH_OP_HW_RESET@GOTPAGEOFF]
Lloh65:
	adrp	x26, _MCI_GPM_INVALID@GOTPAGE
Lloh66:
	ldr	x26, [x26, _MCI_GPM_INVALID@GOTPAGEOFF]
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	bl	_ath_mci_cal_msg
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x22
	bl	_MCI_GPM_RECYCLE
	ldr	w8, [sp, #4]
	ldr	w9, [x25]
	cmp	w8, w9
	b.ne	LBB0_28
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x27]
	mov	x1, x20
	bl	_test_bit
	cbnz	x0, LBB0_42
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x22, [x19, #8]
	add	x1, sp, #4
	mov	x0, x21
	bl	_ar9003_mci_get_next_gpm_offset
	ldr	w8, [x26]
	cmp	w0, w8
	b.eq	LBB0_28
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	asr	w8, w0, #2
	add	x22, x22, w8, sxtw #2
	mov	x0, x22
	bl	_MCI_GPM_TYPE
	mov	x23, x0
	mov	x0, x22
	bl	_MCI_GPM_OPCODE
	cbz	w28, LBB0_20
; %bb.24:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x24, x0
	mov	x0, x23
	bl	_MCI_GPM_IS_CAL_TYPE
	cbnz	x0, LBB0_19
; %bb.25:                               ;   in Loop: Header=BB0_21 Depth=1
	cmp	w23, #128
	b.ne	LBB0_20
; %bb.26:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x19
	mov	x1, x24
	mov	x2, x22
	bl	_ath_mci_msg
	b	LBB0_20
LBB0_27:
Lloh67:
	adrp	x8, _MCI_STATE_INIT_GPM_OFFSET@GOTPAGE
Lloh68:
	ldr	x8, [x8, _MCI_STATE_INIT_GPM_OFFSET@GOTPAGEOFF]
Lloh69:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_ar9003_mci_state
	b	LBB0_42
LBB0_28:
	ldr	w8, [sp, #8]
Lloh70:
	adrp	x26, _AR_MCI_INTERRUPT_RX_INVALID_HDR@GOTPAGE
Lloh71:
	ldr	x26, [x26, _AR_MCI_INTERRUPT_RX_INVALID_HDR@GOTPAGEOFF]
Lloh72:
	adrp	x27, _AR_MCI_INTERRUPT_CONT_INFO_TIMEOUT@GOTPAGE
Lloh73:
	ldr	x27, [x27, _AR_MCI_INTERRUPT_CONT_INFO_TIMEOUT@GOTPAGEOFF]
LBB0_29:
Lloh74:
	adrp	x9, _AR_MCI_INTERRUPT_RX_HW_MSG_MASK@GOTPAGE
Lloh75:
	ldr	x9, [x9, _AR_MCI_INTERRUPT_RX_HW_MSG_MASK@GOTPAGEOFF]
Lloh76:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_40
; %bb.30:
Lloh77:
	adrp	x9, _AR_MCI_INTERRUPT_RX_MSG_LNA_CONTROL@GOTPAGE
Lloh78:
	ldr	x9, [x9, _AR_MCI_INTERRUPT_RX_MSG_LNA_CONTROL@GOTPAGEOFF]
Lloh79:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_32
; %bb.31:
	bic	w8, w8, w9
	str	w8, [sp, #8]
LBB0_32:
Lloh80:
	adrp	x9, _AR_MCI_INTERRUPT_RX_MSG_LNA_INFO@GOTPAGE
Lloh81:
	ldr	x9, [x9, _AR_MCI_INTERRUPT_RX_MSG_LNA_INFO@GOTPAGEOFF]
Lloh82:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_34
; %bb.33:
	bic	w8, w8, w9
	str	w8, [sp, #8]
LBB0_34:
Lloh83:
	adrp	x23, _AR_MCI_INTERRUPT_RX_MSG_CONT_INFO@GOTPAGE
Lloh84:
	ldr	x23, [x23, _AR_MCI_INTERRUPT_RX_MSG_CONT_INFO@GOTPAGEOFF]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_36
; %bb.35:
	ldr	w0, [x21, #8]
Lloh85:
	adrp	x8, _AR_MCI_CONT_RSSI_POWER@GOTPAGE
Lloh86:
	ldr	x8, [x8, _AR_MCI_CONT_RSSI_POWER@GOTPAGEOFF]
Lloh87:
	ldr	w1, [x8]
	bl	_MS
	mov	x22, x0
	ldr	w8, [x23]
	ldr	w9, [sp, #8]
	bic	w8, w9, w8
Lloh88:
	adrp	x9, _MCI@GOTPAGE
Lloh89:
	ldr	x9, [x9, _MCI@GOTPAGEOFF]
	str	w8, [sp, #8]
Lloh90:
	ldr	w23, [x9]
	ldr	w0, [x21, #8]
Lloh91:
	adrp	x8, _AR_MCI_CONT_TXRX@GOTPAGE
Lloh92:
	ldr	x8, [x8, _AR_MCI_CONT_TXRX@GOTPAGEOFF]
Lloh93:
	ldr	w1, [x8]
	bl	_MS
Lloh94:
	adrp	x8, l_.str.1@PAGE
Lloh95:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh96:
	adrp	x9, l_.str.2@PAGE
Lloh97:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w0, #0
	csel	x24, x9, x8, eq
	ldr	w0, [x21, #8]
Lloh98:
	adrp	x8, _AR_MCI_CONT_PRIORITY@GOTPAGE
Lloh99:
	ldr	x8, [x8, _AR_MCI_CONT_PRIORITY@GOTPAGEOFF]
Lloh100:
	ldr	w1, [x8]
	bl	_MS
	mov	x4, x0
Lloh101:
	adrp	x2, l_.str@PAGE
Lloh102:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x23
	mov	x3, x24
	mov	x5, x22
	bl	_ath_dbg
	ldr	w8, [sp, #8]
LBB0_36:
Lloh103:
	adrp	x9, _AR_MCI_INTERRUPT_RX_MSG_CONT_NACK@GOTPAGE
Lloh104:
	ldr	x9, [x9, _AR_MCI_INTERRUPT_RX_MSG_CONT_NACK@GOTPAGEOFF]
Lloh105:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_38
; %bb.37:
	bic	w8, w8, w9
	str	w8, [sp, #8]
LBB0_38:
Lloh106:
	adrp	x9, _AR_MCI_INTERRUPT_RX_MSG_CONT_RST@GOTPAGE
Lloh107:
	ldr	x9, [x9, _AR_MCI_INTERRUPT_RX_MSG_CONT_RST@GOTPAGEOFF]
Lloh108:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_40
; %bb.39:
	bic	w8, w8, w9
	str	w8, [sp, #8]
LBB0_40:
	ldr	w8, [sp, #12]
	ldr	w9, [x26]
	ldr	w10, [x27]
	orr	w11, w9, w10
	tst	w11, w8
	b.eq	LBB0_42
; %bb.41:
	orr	w9, w10, w9
	bic	w8, w8, w9
	str	w8, [sp, #12]
Lloh109:
	adrp	x8, _MCI_GPM_COEX_NOOP@GOTPAGE
Lloh110:
	ldr	x8, [x8, _MCI_GPM_COEX_NOOP@GOTPAGEOFF]
Lloh111:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_ath_mci_msg
LBB0_42:
	ldr	x8, [sp, #40]
Lloh112:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh113:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh114:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_45
; %bb.43:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_44:
	mov	w28, #1
	b	LBB0_14
LBB0_45:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAddLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpAdd	Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.cfi_endproc
                                        ; -- End function
	.comm	_MCI_GPM_MORE,4,2               ; @MCI_GPM_MORE
	.comm	_MCI_STATE_ENABLE,4,2           ; @MCI_STATE_ENABLE
	.comm	_MCI_STATE_INIT_GPM_OFFSET,4,2  ; @MCI_STATE_INIT_GPM_OFFSET
	.comm	_AR_MCI_INTERRUPT_RX_MSG_REQ_WAKE,4,2 ; @AR_MCI_INTERRUPT_RX_MSG_REQ_WAKE
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @__const.ath_mci_intr.payload
l___const.ath_mci_intr.payload:
	.long	4294967295                      ; 0xffffffff
	.long	4294967295                      ; 0xffffffff
	.long	4294967295                      ; 0xffffffff
	.long	4294967040                      ; 0xffffff00

	.comm	_MCI_REMOTE_RESET,4,2           ; @MCI_REMOTE_RESET
	.comm	_MCI_SYS_WAKING,4,2             ; @MCI_SYS_WAKING
	.comm	_MCI_STATE_RESET_REQ_WAKE,4,2   ; @MCI_STATE_RESET_REQ_WAKE
	.comm	_MCI_STATE_SET_BT_AWAKE,4,2     ; @MCI_STATE_SET_BT_AWAKE
	.comm	_AR_MCI_INTERRUPT_RX_MSG_SYS_WAKING,4,2 ; @AR_MCI_INTERRUPT_RX_MSG_SYS_WAKING
	.comm	_MCI_BT_SLEEP,8,3               ; @MCI_BT_SLEEP
	.comm	_MCI_STATE_REMOTE_SLEEP,4,2     ; @MCI_STATE_REMOTE_SLEEP
	.comm	_AR_MCI_INTERRUPT_RX_MSG_SYS_SLEEPING,4,2 ; @AR_MCI_INTERRUPT_RX_MSG_SYS_SLEEPING
	.comm	_MCI_BT_AWAKE,8,3               ; @MCI_BT_AWAKE
	.comm	_AR_MCI_INTERRUPT_RX_INVALID_HDR,4,2 ; @AR_MCI_INTERRUPT_RX_INVALID_HDR
	.comm	_AR_MCI_INTERRUPT_CONT_INFO_TIMEOUT,4,2 ; @AR_MCI_INTERRUPT_CONT_INFO_TIMEOUT
	.comm	_MCI_STATE_RECOVER_RX,4,2       ; @MCI_STATE_RECOVER_RX
	.comm	_AR_MCI_INTERRUPT_RX_MSG_SCHD_INFO,4,2 ; @AR_MCI_INTERRUPT_RX_MSG_SCHD_INFO
	.comm	_MCI_STATE_LAST_SCHD_MSG_OFFSET,4,2 ; @MCI_STATE_LAST_SCHD_MSG_OFFSET
	.comm	_AR_MCI_INTERRUPT_RX_MSG_GPM,4,2 ; @AR_MCI_INTERRUPT_RX_MSG_GPM
	.comm	_ATH_OP_HW_RESET,4,2            ; @ATH_OP_HW_RESET
	.comm	_MCI_GPM_INVALID,4,2            ; @MCI_GPM_INVALID
	.comm	_AR_MCI_INTERRUPT_RX_HW_MSG_MASK,4,2 ; @AR_MCI_INTERRUPT_RX_HW_MSG_MASK
	.comm	_AR_MCI_INTERRUPT_RX_MSG_LNA_CONTROL,4,2 ; @AR_MCI_INTERRUPT_RX_MSG_LNA_CONTROL
	.comm	_AR_MCI_INTERRUPT_RX_MSG_LNA_INFO,4,2 ; @AR_MCI_INTERRUPT_RX_MSG_LNA_INFO
	.comm	_AR_MCI_INTERRUPT_RX_MSG_CONT_INFO,4,2 ; @AR_MCI_INTERRUPT_RX_MSG_CONT_INFO
	.comm	_AR_MCI_CONT_RSSI_POWER,4,2     ; @AR_MCI_CONT_RSSI_POWER
	.comm	_MCI,4,2                        ; @MCI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MCI CONT_INFO: (%s) pri = %d pwr = %d dBm\n"

	.comm	_AR_MCI_CONT_TXRX,4,2           ; @AR_MCI_CONT_TXRX
l_.str.1:                               ; @.str.1
	.asciz	"tx"

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

	.comm	_AR_MCI_CONT_PRIORITY,4,2       ; @AR_MCI_CONT_PRIORITY
	.comm	_AR_MCI_INTERRUPT_RX_MSG_CONT_NACK,4,2 ; @AR_MCI_INTERRUPT_RX_MSG_CONT_NACK
	.comm	_AR_MCI_INTERRUPT_RX_MSG_CONT_RST,4,2 ; @AR_MCI_INTERRUPT_RX_MSG_CONT_RST
	.comm	_MCI_GPM_COEX_NOOP,4,2          ; @MCI_GPM_COEX_NOOP
.subsections_via_symbols
