	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath_ani_calibrate              ## -- Begin function ath_ani_calibrate
	.p2align	4, 0x90
_ath_ani_calibrate:                     ## @ath_ani_calibrate
	.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	_ani@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %r14
	movq	32(%rax), %r13
	movq	16(%r13), %r15
	movq	_jiffies@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_jiffies_to_msecs
	movl	%eax, %ebx
	movq	32(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movq	_NFCAL_INTF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_ATH_LONG_CALINTERVAL_INT@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_ATH_LONG_CALINTERVAL@GOTPCREL(%rip), %rax
LBB0_4:
	movq	(%r15), %rcx
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.5:
	movq	_ATH_AP_SHORT_CALINTERVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_6:
	movq	_ATH_STA_SHORT_CALINTERVAL@GOTPCREL(%rip), %rcx
LBB0_7:
	movl	(%rcx), %ecx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movq	16(%r13), %rcx
	movq	8(%rcx), %rcx
	movq	_ATH9K_PM_AWAKE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_13
## %bb.8:
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	$0, 16(%r15)
	movl	%ebx, %r12d
	leaq	8(%r13), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	_PS_WAIT_FOR_ANI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 12(%r13)
	movq	%rbx, %rdi
	movl	%r12d, %ebx
	callq	_spin_unlock_irqrestore
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_ath9k_ps_wakeup
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%r12d, %r13d
	subl	(%r14), %r13d
	xorl	%ecx, %ecx
	cmpl	%eax, %r13d
	jb	LBB0_10
## %bb.9:
	movl	%ebx, (%r14)
	movl	$1, %ecx
LBB0_10:
	cmpl	%eax, %r13d
	setae	%dl
	cmpl	$0, 4(%r14)
	sete	%sil
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movl	%ebx, %eax
	je	LBB0_15
## %bb.11:
	subl	12(%r14), %eax
	movq	_ATH_RESTART_CALINTERVAL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jb	LBB0_16
## %bb.17:
	movb	%dl, -41(%rbp)                  ## 1-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_ath9k_hw_reset_calvalid
	movl	%eax, 4(%r14)
	testl	%eax, %eax
	je	LBB0_21
## %bb.18:
	leaq	12(%r14), %rax
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movb	-41(%rbp), %dl                  ## 1-byte Reload
	jmp	LBB0_20
LBB0_13:
	movq	16(%r15), %rax
	incq	%rax
	movq	%rax, 16(%r15)
	movq	_ATH_ANI_MAX_SKIP_COUNT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_29
## %bb.14:
	movq	%r12, %rbx
	leaq	8(%r13), %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movq	_PS_WAIT_FOR_ANI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 12(%r13)
	movq	%r12, %rdi
	movq	%rbx, %r12
	callq	_spin_unlock_irqrestore
	jmp	LBB0_29
LBB0_15:
	subl	8(%r14), %eax
	cmpl	-56(%rbp), %eax                 ## 4-byte Folded Reload
	jae	LBB0_19
LBB0_16:
	xorl	%esi, %esi
	jmp	LBB0_22
LBB0_19:
	movl	%ebx, 8(%r14)
	leaq	12(%r14), %rax
LBB0_20:
	movl	%ebx, (%rax)
	jmp	LBB0_22
LBB0_21:
	xorl	%esi, %esi
	movb	-41(%rbp), %dl                  ## 1-byte Reload
LBB0_22:
	movl	%ebx, %r12d
	subl	16(%r14), %r12d
	movl	40(%r15), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	cmpl	%eax, %r12d
	jb	LBB0_24
## %bb.23:
	movl	%ebx, 16(%r14)
	leaq	24(%r14), %rbx
	movq	%rbx, %rdi
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movb	%dl, -41(%rbp)                  ## 1-byte Spill
	callq	_spin_lock_irqsave
	movl	48(%r15), %esi
	movq	%r15, %rdi
	callq	_ath9k_hw_ani_monitor
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_ath_update_survey_stats
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movb	-41(%rbp), %dl                  ## 1-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
LBB0_24:
	orb	%sil, %dl
	je	LBB0_27
## %bb.25:
	movl	%esi, %ebx
	movl	44(%r15), %edx
	movl	48(%r15), %esi
	movq	%r15, %rdi
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	callq	_ath9k_hw_calibrate
	testl	%eax, %eax
	js	LBB0_37
## %bb.26:
	movl	%eax, 4(%r14)
	movl	%ebx, %esi
	jmp	LBB0_28
LBB0_27:
	movl	4(%r14), %eax
LBB0_28:
	cmpl	-52(%rbp), %r13d                ## 4-byte Folded Reload
	leaq	L_.str.2(%rip), %rdx
	leaq	L_.str.1(%rip), %r8
	cmovbq	%rdx, %r8
	leaq	L_.str.3(%rip), %r9
	testb	%sil, %sil
	cmoveq	%rdx, %r9
	cmpl	-72(%rbp), %r12d                ## 4-byte Folded Reload
	movq	_ANI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_jiffies@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	leaq	L_.str.4(%rip), %rbx
	cmovbq	%rdx, %rbx
	testl	%eax, %eax
	leaq	L_.str.6(%rip), %rdx
	leaq	L_.str.5(%rip), %rax
	cmoveq	%rdx, %rax
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	pushq	%rax
	pushq	%rbx
	callq	_ath_dbg
	addq	$16, %rsp
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_ath9k_ps_restore
LBB0_29:
	movq	_ATH_LONG_CALINTERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	40(%r15), %esi
	callq	_min
	cmpl	$0, 4(%r14)
	jne	LBB0_31
## %bb.30:
	movl	%eax, %edi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_min
LBB0_31:
	addq	$20, %r14
	movq	(%r12), %rbx
	movl	%eax, %edi
	callq	_msecs_to_jiffies
	addq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mod_timer
	movq	%r15, %rdi
	callq	_ar9003_is_paprd_enabled
	testq	%rax, %rax
	je	LBB0_35
## %bb.32:
	movq	32(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_35
## %bb.33:
	movq	_PAPRD_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_36
## %bb.34:
	cmpl	$0, 24(%r15)
	je	LBB0_38
LBB0_35:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_36:
	movl	4(%r13), %edi
	movq	%r13, %rsi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_queue_work           ## TAILCALL
LBB0_37:
	movl	$0, 4(%r14)
	movq	_RESET_TYPE_CALIBRATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath9k_queue_reset              ## TAILCALL
LBB0_38:
	movq	%r13, %rdi
	callq	_ath9k_ps_wakeup
	movq	%r13, %rdi
	callq	_ath_paprd_activate
	movq	%r13, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath9k_ps_restore               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ani,4,2                        ## @ani
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_NFCAL_INTF,4,2                 ## @NFCAL_INTF
	.comm	_ATH_LONG_CALINTERVAL_INT,4,2   ## @ATH_LONG_CALINTERVAL_INT
	.comm	_ATH_LONG_CALINTERVAL,4,2       ## @ATH_LONG_CALINTERVAL
	.comm	_NL80211_IFTYPE_AP,8,3          ## @NL80211_IFTYPE_AP
	.comm	_ATH_AP_SHORT_CALINTERVAL,4,2   ## @ATH_AP_SHORT_CALINTERVAL
	.comm	_ATH_STA_SHORT_CALINTERVAL,4,2  ## @ATH_STA_SHORT_CALINTERVAL
	.comm	_ATH9K_PM_AWAKE,8,3             ## @ATH9K_PM_AWAKE
	.comm	_ATH_ANI_MAX_SKIP_COUNT,8,3     ## @ATH_ANI_MAX_SKIP_COUNT
	.comm	_PS_WAIT_FOR_ANI,4,2            ## @PS_WAIT_FOR_ANI
	.comm	_ATH_RESTART_CALINTERVAL,4,2    ## @ATH_RESTART_CALINTERVAL
	.comm	_RESET_TYPE_CALIBRATION,4,2     ## @RESET_TYPE_CALIBRATION
	.comm	_ANI,4,2                        ## @ANI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Calibration @%lu finished: %s %s %s, caldone: %s\n"

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

L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	"short"

L_.str.4:                               ## @.str.4
	.asciz	"ani"

L_.str.5:                               ## @.str.5
	.asciz	"true"

L_.str.6:                               ## @.str.6
	.asciz	"false"

	.comm	_PAPRD_DONE,4,2                 ## @PAPRD_DONE
	.comm	_common,8,3                     ## @common
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath_ani_calibrate              ; -- Begin function ath_ani_calibrate
	.p2align	2
_ath_ani_calibrate:                     ; @ath_ani_calibrate
	.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
Lloh0:
	adrp	x8, _ani@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ani@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x21, x0
	ldr	x19, [x0, #32]
	ldr	x20, [x19, #16]
Lloh3:
	adrp	x25, _jiffies@GOTPAGE
Lloh4:
	ldr	x25, [x25, _jiffies@GOTPAGEOFF]
	ldr	x0, [x25]
	bl	_jiffies_to_msecs
	mov	x23, x0
	ldr	x1, [x20, #32]
	cbz	x1, LBB0_3
; %bb.1:
Lloh5:
	adrp	x8, _NFCAL_INTF@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NFCAL_INTF@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_test_bit
	cbz	x0, LBB0_3
; %bb.2:
Lloh8:
	adrp	x8, _ATH_LONG_CALINTERVAL_INT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ATH_LONG_CALINTERVAL_INT@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh10:
	adrp	x8, _ATH_LONG_CALINTERVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ATH_LONG_CALINTERVAL@GOTPAGEOFF]
LBB0_4:
	ldr	x9, [x20]
Lloh12:
	adrp	x10, _NL80211_IFTYPE_AP@GOTPAGE
Lloh13:
	ldr	x10, [x10, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh14:
	adrp	x11, _ATH_AP_SHORT_CALINTERVAL@GOTPAGE
Lloh15:
	ldr	x11, [x11, _ATH_AP_SHORT_CALINTERVAL@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
Lloh17:
	adrp	x12, _ATH_STA_SHORT_CALINTERVAL@GOTPAGE
Lloh18:
	ldr	x12, [x12, _ATH_STA_SHORT_CALINTERVAL@GOTPAGEOFF]
	cmp	x9, x10
	csel	x9, x11, x12, eq
	ldr	w22, [x9]
	ldr	x9, [x19, #16]
	ldr	x9, [x9, #8]
Lloh19:
	adrp	x10, _ATH9K_PM_AWAKE@GOTPAGE
Lloh20:
	ldr	x10, [x10, _ATH9K_PM_AWAKE@GOTPAGEOFF]
Lloh21:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_7
; %bb.5:
	ldr	w26, [x8]
	str	xzr, [x20, #16]
	add	x24, x19, #8
	mov	x0, x24
	bl	_spin_lock_irqsave
Lloh22:
	adrp	x8, _PS_WAIT_FOR_ANI@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PS_WAIT_FOR_ANI@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	ldr	w9, [x19, #12]
	bic	w8, w9, w8
	str	w8, [x19, #12]
	mov	x0, x24
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	bl	_ath9k_ps_wakeup
	ldr	w8, [x21]
	sub	w27, w23, w8
	cmp	w27, w26
	b.hs	LBB0_9
; %bb.6:
	mov	w10, #0
	b	LBB0_10
LBB0_7:
	ldr	x8, [x20, #16]
	add	x8, x8, #1
	str	x8, [x20, #16]
Lloh25:
	adrp	x9, _ATH_ANI_MAX_SKIP_COUNT@GOTPAGE
Lloh26:
	ldr	x9, [x9, _ATH_ANI_MAX_SKIP_COUNT@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_24
; %bb.8:
	add	x23, x19, #8
	mov	x0, x23
	bl	_spin_lock_irqsave
Lloh28:
	adrp	x8, _PS_WAIT_FOR_ANI@GOTPAGE
Lloh29:
	ldr	x8, [x8, _PS_WAIT_FOR_ANI@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	ldr	w9, [x19, #12]
	orr	w8, w9, w8
	str	w8, [x19, #12]
	mov	x0, x23
	bl	_spin_unlock_irqrestore
	b	LBB0_24
LBB0_9:
	str	w23, [x21]
	mov	w10, #1
LBB0_10:
	cmp	w27, w26
	cset	w25, hs
	ldr	w8, [x21, #4]
	cmp	w8, #0
	cset	w28, eq
	stp	w10, w22, [sp, #8]              ; 8-byte Folded Spill
	cbz	w8, LBB0_13
; %bb.11:
	mov	x22, x21
	ldr	w8, [x22, #12]!
Lloh31:
	adrp	x9, _ATH_RESTART_CALINTERVAL@GOTPAGE
Lloh32:
	ldr	x9, [x9, _ATH_RESTART_CALINTERVAL@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	sub	w8, w23, w8
	cmp	w8, w9
	b.lo	LBB0_14
; %bb.12:
	mov	x0, x20
	bl	_ath9k_hw_reset_calvalid
	str	w0, [x21, #4]
	cbnz	w0, LBB0_16
	b	LBB0_14
LBB0_13:
	ldr	w8, [x21, #8]
	sub	w8, w23, w8
	cmp	w8, w22
	b.hs	LBB0_15
LBB0_14:
	mov	w28, #0
	b	LBB0_17
LBB0_15:
	str	w23, [x21, #8]
	add	x22, x21, #12
LBB0_16:
	str	w23, [x22]
LBB0_17:
	ldr	w8, [x21, #16]
	ldr	w22, [x20, #40]
	sub	w24, w23, w8
	cmp	w24, w22
	b.lo	LBB0_19
; %bb.18:
	str	w23, [x21, #16]
	add	x23, x21, #24
	mov	x0, x23
	bl	_spin_lock_irqsave
	ldr	w1, [x20, #48]
	mov	x0, x20
	bl	_ath9k_hw_ani_monitor
	mov	x0, x19
	bl	_ath_update_survey_stats
	mov	x0, x23
	bl	_spin_unlock_irqrestore
LBB0_19:
	orr	w8, w28, w25
	tbz	w8, #0, LBB0_22
; %bb.20:
	ldp	w2, w1, [x20, #44]
	mov	x0, x20
	ldr	w3, [sp, #8]                    ; 4-byte Folded Reload
	bl	_ath9k_hw_calibrate
Lloh34:
	adrp	x25, _jiffies@GOTPAGE
Lloh35:
	ldr	x25, [x25, _jiffies@GOTPAGEOFF]
	tbnz	w0, #31, LBB0_32
; %bb.21:
	str	w0, [x21, #4]
	b	LBB0_23
LBB0_22:
	ldr	w0, [x21, #4]
Lloh36:
	adrp	x25, _jiffies@GOTPAGE
Lloh37:
	ldr	x25, [x25, _jiffies@GOTPAGEOFF]
LBB0_23:
Lloh38:
	adrp	x8, _ANI@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ANI@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	ldr	x3, [x25]
Lloh41:
	adrp	x8, l_.str.1@PAGE
Lloh42:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh43:
	adrp	x9, l_.str.2@PAGE
Lloh44:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w27, w26
	csel	x4, x9, x8, lo
Lloh45:
	adrp	x8, l_.str.3@PAGE
Lloh46:
	add	x8, x8, l_.str.3@PAGEOFF
	cmp	w28, #0
	csel	x5, x8, x9, ne
Lloh47:
	adrp	x8, l_.str.4@PAGE
Lloh48:
	add	x8, x8, l_.str.4@PAGEOFF
	cmp	w24, w22
	csel	x6, x9, x8, lo
Lloh49:
	adrp	x8, l_.str.5@PAGE
Lloh50:
	add	x8, x8, l_.str.5@PAGEOFF
Lloh51:
	adrp	x9, l_.str.6@PAGE
Lloh52:
	add	x9, x9, l_.str.6@PAGEOFF
	cmp	w0, #0
	csel	x7, x9, x8, eq
Lloh53:
	adrp	x2, l_.str@PAGE
Lloh54:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	bl	_ath_dbg
	mov	x0, x19
	bl	_ath9k_ps_restore
	ldr	w22, [sp, #12]                  ; 4-byte Folded Reload
LBB0_24:
Lloh55:
	adrp	x8, _ATH_LONG_CALINTERVAL@GOTPAGE
Lloh56:
	ldr	x8, [x8, _ATH_LONG_CALINTERVAL@GOTPAGEOFF]
Lloh57:
	ldr	w0, [x8]
	ldr	w1, [x20, #40]
	bl	_min
	ldr	w8, [x21, #4]
	cbnz	w8, LBB0_26
; %bb.25:
	mov	x1, x22
	bl	_min
LBB0_26:
	add	x21, x21, #20
	ldr	x22, [x25]
	bl	_msecs_to_jiffies
	add	x1, x0, x22
	mov	x0, x21
	bl	_mod_timer
	mov	x0, x20
	bl	_ar9003_is_paprd_enabled
	cbz	x0, LBB0_30
; %bb.27:
	ldr	x1, [x20, #32]
	cbz	x1, LBB0_30
; %bb.28:
Lloh58:
	adrp	x8, _PAPRD_DONE@GOTPAGE
Lloh59:
	ldr	x8, [x8, _PAPRD_DONE@GOTPAGEOFF]
Lloh60:
	ldr	w0, [x8]
	bl	_test_bit
	cbz	x0, LBB0_31
; %bb.29:
	ldr	w8, [x20, #24]
	cbz	w8, LBB0_33
LBB0_30:
	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
LBB0_31:
	ldr	w0, [x19, #4]
	mov	x1, x19
	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
	b	_ieee80211_queue_work
LBB0_32:
	str	wzr, [x21, #4]
Lloh61:
	adrp	x8, _RESET_TYPE_CALIBRATION@GOTPAGE
Lloh62:
	ldr	x8, [x8, _RESET_TYPE_CALIBRATION@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
	mov	x0, x19
	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
	b	_ath9k_queue_reset
LBB0_33:
	mov	x0, x19
	bl	_ath9k_ps_wakeup
	mov	x0, x19
	bl	_ath_paprd_activate
	mov	x0, x19
	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
	b	_ath9k_ps_restore
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.cfi_endproc
                                        ; -- End function
	.comm	_ani,4,2                        ; @ani
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_NFCAL_INTF,4,2                 ; @NFCAL_INTF
	.comm	_ATH_LONG_CALINTERVAL_INT,4,2   ; @ATH_LONG_CALINTERVAL_INT
	.comm	_ATH_LONG_CALINTERVAL,4,2       ; @ATH_LONG_CALINTERVAL
	.comm	_NL80211_IFTYPE_AP,8,3          ; @NL80211_IFTYPE_AP
	.comm	_ATH_AP_SHORT_CALINTERVAL,4,2   ; @ATH_AP_SHORT_CALINTERVAL
	.comm	_ATH_STA_SHORT_CALINTERVAL,4,2  ; @ATH_STA_SHORT_CALINTERVAL
	.comm	_ATH9K_PM_AWAKE,8,3             ; @ATH9K_PM_AWAKE
	.comm	_ATH_ANI_MAX_SKIP_COUNT,8,3     ; @ATH_ANI_MAX_SKIP_COUNT
	.comm	_PS_WAIT_FOR_ANI,4,2            ; @PS_WAIT_FOR_ANI
	.comm	_ATH_RESTART_CALINTERVAL,4,2    ; @ATH_RESTART_CALINTERVAL
	.comm	_RESET_TYPE_CALIBRATION,4,2     ; @RESET_TYPE_CALIBRATION
	.comm	_ANI,4,2                        ; @ANI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Calibration @%lu finished: %s %s %s, caldone: %s\n"

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

l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	"short"

l_.str.4:                               ; @.str.4
	.asciz	"ani"

l_.str.5:                               ; @.str.5
	.asciz	"true"

l_.str.6:                               ; @.str.6
	.asciz	"false"

	.comm	_PAPRD_DONE,4,2                 ; @PAPRD_DONE
	.comm	_common,8,3                     ; @common
.subsections_via_symbols
