	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath5k_hw_set_sleep_clock
_ath5k_hw_set_sleep_clock:              ## @ath5k_hw_set_sleep_clock
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	24(%rdi), %edi
	callq	_AR5K_EEPROM_HAS32KHZCRYSTAL
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	testl	%ebx, %ebx
	jne	LBB0_6
	jmp	LBB0_3
LBB0_1:
	movl	24(%r14), %edi
	callq	_AR5K_EEPROM_HAS32KHZCRYSTAL_OLD
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.2:
	testq	%rax, %rax
	je	LBB0_3
LBB0_6:
	movq	_AR5K_USEC_5211@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR5K_USEC_32@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$1, %ecx
	callq	_AR5K_REG_WRITE_BITS
	movq	_AR5K_TSF_PARM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR5K_TSF_PARM_INC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$61, %ecx
	callq	_AR5K_REG_WRITE_BITS
	movq	_AR5K_PHY_SCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$31, %esi
	callq	_ath5k_hw_reg_write
	movq	(%r14), %rax
	movq	_AR5K_RF5112@GOTPCREL(%rip), %r12
	movq	_AR5K_RF5413@GOTPCREL(%rip), %rbx
	movl	$20, %esi
	cmpq	(%r12), %rax
	je	LBB0_10
## %bb.7:
	cmpq	(%rbx), %rax
	je	LBB0_10
## %bb.8:
	movq	_AR5K_RF2316@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.9:
	movq	_AR5K_SREV_AR2417@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	sarl	$4, %eax
	xorl	%ecx, %ecx
	cmpl	%eax, 8(%r14)
	setne	%cl
	leal	20(,%rcx,4), %esi
LBB0_10:
	movq	_AR5K_PHY_SPENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_ath5k_hw_reg_write
	movq	(%r14), %rax
	movl	$2, %r15d
	movl	$13, %r13d
	movl	$38, %esi
	cmpq	(%r12), %rax
	je	LBB0_11
## %bb.12:
	cmpq	(%rbx), %rax
	je	LBB0_11
## %bb.13:
	movq	_AR5K_SREV_AR2417@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	sarl	$4, %eax
	cmpl	%eax, 8(%r14)
	movl	$63, %r12d
	movl	$7, %ebx
	je	LBB0_15
## %bb.14:
	movl	$32, %r12d
	movl	$3, %ebx
	movl	$12, %r13d
	movl	$10, %esi
	movl	$3, %r15d
	jmp	LBB0_15
LBB0_3:
	movq	_AR5K_PCICFG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_AR5K_PCICFG_SLEEP_CLOCK_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_AR5K_REG_DISABLE_BITS
	movl	(%rbx), %esi
	movq	_AR5K_PCICFG_SLEEP_CLOCK_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_AR5K_REG_WRITE_BITS
	movq	_AR5K_PHY_SCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$31, %esi
	callq	_ath5k_hw_reg_write
	movq	_AR5K_PHY_SLMT_32MHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR5K_PHY_SLMT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_ath5k_hw_reg_write
	movq	_AR5K_SREV_AR2417@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	sarl	$4, %eax
	cmpl	%eax, 8(%r14)
	jne	LBB0_16
## %bb.4:
	movq	_AR5K_PHY_SCAL_32MHZ_2417@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_11:
	movl	$63, %r12d
	movl	$7, %ebx
LBB0_15:
	movq	_AR5K_PHY_SLMT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_ath5k_hw_reg_write
	movq	_AR5K_PHY_SCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_ath5k_hw_reg_write
	movq	_AR5K_PHY_SCLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_ath5k_hw_reg_write
	movq	_AR5K_PHY_SDELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_ath5k_hw_reg_write
	movq	_AR5K_PCICFG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_AR5K_PCICFG_SLEEP_CLOCK_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%r15d, %ecx
	callq	_AR5K_REG_WRITE_BITS
	movl	(%rbx), %esi
	movq	_AR5K_PCICFG_SLEEP_CLOCK_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AR5K_REG_ENABLE_BITS           ## TAILCALL
LBB0_16:
	cmpq	$0, 16(%r14)
	jne	LBB0_17
## %bb.18:
	movq	_AR5K_PHY_SCAL_32MHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_17:
	movq	_AR5K_PHY_SCAL_32MHZ_HB63@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %esi
	movq	_AR5K_PHY_SCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_ath5k_hw_reg_write
	movq	_AR5K_PHY_SCLOCK_32MHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR5K_PHY_SCLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_ath5k_hw_reg_write
	movq	_AR5K_PHY_SDELAY_32MHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR5K_PHY_SDELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_ath5k_hw_reg_write
	movq	(%r14), %rax
	movq	_AR5K_RF5112@GOTPCREL(%rip), %rbx
	movq	_AR5K_RF5413@GOTPCREL(%rip), %r13
	movq	_AR5K_RF2316@GOTPCREL(%rip), %r12
	movl	$20, %esi
	cmpq	(%rbx), %rax
	je	LBB0_23
## %bb.20:
	cmpq	(%r13), %rax
	je	LBB0_23
## %bb.21:
	cmpq	(%r12), %rax
	je	LBB0_23
## %bb.22:
	movl	(%r15), %eax
	sarl	$4, %eax
	xorl	%ecx, %ecx
	cmpl	%eax, 8(%r14)
	setne	%cl
	leal	20(,%rcx,4), %esi
LBB0_23:
	movq	_AR5K_PHY_SPENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_ath5k_hw_reg_write
	movq	_AR5K_TSF_PARM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR5K_TSF_PARM_INC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$1, %ecx
	callq	_AR5K_REG_WRITE_BITS
	movq	(%r14), %rax
	cmpq	(%rbx), %rax
	sete	%cl
	cmpq	(%r13), %rax
	sete	%dl
	orb	%cl, %dl
	cmpq	(%r12), %rax
	sete	%cl
	movq	_AR5K_RF2317@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	sete	%al
	orb	%cl, %al
	orb	%dl, %al
	movzbl	%al, %eax
	leal	31(,%rax,8), %ecx
	movq	_AR5K_USEC_5211@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR5K_USEC_32@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AR5K_REG_WRITE_BITS            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AR5K_USEC_5211,4,2             ## @AR5K_USEC_5211
	.comm	_AR5K_USEC_32,4,2               ## @AR5K_USEC_32
	.comm	_AR5K_TSF_PARM,4,2              ## @AR5K_TSF_PARM
	.comm	_AR5K_TSF_PARM_INC,4,2          ## @AR5K_TSF_PARM_INC
	.comm	_AR5K_PHY_SCR,4,2               ## @AR5K_PHY_SCR
	.comm	_AR5K_RF5112,8,3                ## @AR5K_RF5112
	.comm	_AR5K_RF5413,8,3                ## @AR5K_RF5413
	.comm	_AR5K_RF2316,8,3                ## @AR5K_RF2316
	.comm	_AR5K_SREV_AR2417,4,2           ## @AR5K_SREV_AR2417
	.comm	_AR5K_PHY_SPENDING,4,2          ## @AR5K_PHY_SPENDING
	.comm	_AR5K_PHY_SLMT,4,2              ## @AR5K_PHY_SLMT
	.comm	_AR5K_PHY_SCAL,4,2              ## @AR5K_PHY_SCAL
	.comm	_AR5K_PHY_SCLOCK,4,2            ## @AR5K_PHY_SCLOCK
	.comm	_AR5K_PHY_SDELAY,4,2            ## @AR5K_PHY_SDELAY
	.comm	_AR5K_PCICFG,4,2                ## @AR5K_PCICFG
	.comm	_AR5K_PCICFG_SLEEP_CLOCK_RATE,4,2 ## @AR5K_PCICFG_SLEEP_CLOCK_RATE
	.comm	_AR5K_PCICFG_SLEEP_CLOCK_EN,4,2 ## @AR5K_PCICFG_SLEEP_CLOCK_EN
	.comm	_AR5K_PHY_SLMT_32MHZ,4,2        ## @AR5K_PHY_SLMT_32MHZ
	.comm	_AR5K_PHY_SCAL_32MHZ_2417,4,2   ## @AR5K_PHY_SCAL_32MHZ_2417
	.comm	_AR5K_PHY_SCAL_32MHZ_HB63,4,2   ## @AR5K_PHY_SCAL_32MHZ_HB63
	.comm	_AR5K_PHY_SCAL_32MHZ,4,2        ## @AR5K_PHY_SCAL_32MHZ
	.comm	_AR5K_PHY_SCLOCK_32MHZ,4,2      ## @AR5K_PHY_SCLOCK_32MHZ
	.comm	_AR5K_PHY_SDELAY_32MHZ,4,2      ## @AR5K_PHY_SDELAY_32MHZ
	.comm	_AR5K_RF2317,8,3                ## @AR5K_RF2317
	.no_dead_strip	_ath5k_hw_set_sleep_clock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath5k_hw_set_sleep_clock
_ath5k_hw_set_sleep_clock:              ; @ath5k_hw_set_sleep_clock
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #24]
	bl	_AR5K_EEPROM_HAS32KHZCRYSTAL
	cbz	x0, LBB0_2
; %bb.1:
	cbnz	w20, LBB0_4
	b	LBB0_10
LBB0_2:
	ldr	w0, [x19, #24]
	bl	_AR5K_EEPROM_HAS32KHZCRYSTAL_OLD
	cbz	w20, LBB0_10
; %bb.3:
	cbz	x0, LBB0_10
LBB0_4:
Lloh0:
	adrp	x8, _AR5K_USEC_5211@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR5K_USEC_5211@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _AR5K_USEC_32@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AR5K_USEC_32@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	bl	_AR5K_REG_WRITE_BITS
Lloh6:
	adrp	x8, _AR5K_TSF_PARM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AR5K_TSF_PARM@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _AR5K_TSF_PARM_INC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AR5K_TSF_PARM_INC@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #61
	bl	_AR5K_REG_WRITE_BITS
Lloh12:
	adrp	x8, _AR5K_PHY_SCR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AR5K_PHY_SCR@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #31
	bl	_ath5k_hw_reg_write
Lloh15:
	adrp	x22, _AR5K_RF5112@GOTPAGE
Lloh16:
	ldr	x22, [x22, _AR5K_RF5112@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x9, [x22]
Lloh17:
	adrp	x24, _AR5K_RF5413@GOTPAGE
Lloh18:
	ldr	x24, [x24, _AR5K_RF5413@GOTPAGEOFF]
Lloh19:
	adrp	x10, _AR5K_RF2316@GOTPAGE
Lloh20:
	ldr	x10, [x10, _AR5K_RF2316@GOTPAGEOFF]
	ldr	x11, [x24]
Lloh21:
	ldr	x10, [x10]
	mov	w1, #20
	cmp	x8, x9
	ccmp	x8, x11, #4, ne
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_6
; %bb.5:
	ldr	w8, [x19, #8]
Lloh22:
	adrp	x9, _AR5K_SREV_AR2417@GOTPAGE
Lloh23:
	ldr	x9, [x9, _AR5K_SREV_AR2417@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	cmp	w8, w9, asr #4
	mov	w8, #24
	csel	w1, w1, w8, eq
LBB0_6:
Lloh25:
	adrp	x8, _AR5K_PHY_SPENDING@GOTPAGE
Lloh26:
	ldr	x8, [x8, _AR5K_PHY_SPENDING@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ath5k_hw_reg_write
	ldr	x8, [x19]
	mov	w20, #2
	mov	w21, #63
	ldr	x9, [x22]
	mov	w22, #7
	mov	w23, #13
	mov	w1, #38
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.7:
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.8:
	ldr	w8, [x19, #8]
Lloh28:
	adrp	x9, _AR5K_SREV_AR2417@GOTPAGE
Lloh29:
	ldr	x9, [x9, _AR5K_SREV_AR2417@GOTPAGEOFF]
	mov	w10, #2
	mov	w11, #63
	mov	w12, #7
	mov	w13, #13
	mov	w14, #38
Lloh30:
	ldr	w9, [x9]
	cmp	w8, w9, asr #4
	mov	w8, #32
	mov	w9, #3
	mov	w15, #12
	mov	w16, #10
	csel	w1, w14, w16, eq
	csel	w23, w13, w15, eq
	csel	w22, w12, w9, eq
	csel	w21, w11, w8, eq
	csel	w20, w10, w9, eq
LBB0_9:
Lloh31:
	adrp	x8, _AR5K_PHY_SLMT@GOTPAGE
Lloh32:
	ldr	x8, [x8, _AR5K_PHY_SLMT@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ath5k_hw_reg_write
Lloh34:
	adrp	x8, _AR5K_PHY_SCAL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _AR5K_PHY_SCAL@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x23
	bl	_ath5k_hw_reg_write
Lloh37:
	adrp	x8, _AR5K_PHY_SCLOCK@GOTPAGE
Lloh38:
	ldr	x8, [x8, _AR5K_PHY_SCLOCK@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x22
	bl	_ath5k_hw_reg_write
Lloh40:
	adrp	x8, _AR5K_PHY_SDELAY@GOTPAGE
Lloh41:
	ldr	x8, [x8, _AR5K_PHY_SDELAY@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_ath5k_hw_reg_write
Lloh43:
	adrp	x21, _AR5K_PCICFG@GOTPAGE
Lloh44:
	ldr	x21, [x21, _AR5K_PCICFG@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh45:
	adrp	x8, _AR5K_PCICFG_SLEEP_CLOCK_RATE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _AR5K_PCICFG_SLEEP_CLOCK_RATE@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x20
	bl	_AR5K_REG_WRITE_BITS
	ldr	w1, [x21]
Lloh48:
	adrp	x8, _AR5K_PCICFG_SLEEP_CLOCK_EN@GOTPAGE
Lloh49:
	ldr	x8, [x8, _AR5K_PCICFG_SLEEP_CLOCK_EN@GOTPAGEOFF]
Lloh50:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_AR5K_REG_ENABLE_BITS
LBB0_10:
Lloh51:
	adrp	x20, _AR5K_PCICFG@GOTPAGE
Lloh52:
	ldr	x20, [x20, _AR5K_PCICFG@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh53:
	adrp	x8, _AR5K_PCICFG_SLEEP_CLOCK_EN@GOTPAGE
Lloh54:
	ldr	x8, [x8, _AR5K_PCICFG_SLEEP_CLOCK_EN@GOTPAGEOFF]
Lloh55:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_AR5K_REG_DISABLE_BITS
	ldr	w1, [x20]
Lloh56:
	adrp	x8, _AR5K_PCICFG_SLEEP_CLOCK_RATE@GOTPAGE
Lloh57:
	ldr	x8, [x8, _AR5K_PCICFG_SLEEP_CLOCK_RATE@GOTPAGEOFF]
Lloh58:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_AR5K_REG_WRITE_BITS
Lloh59:
	adrp	x8, _AR5K_PHY_SCR@GOTPAGE
Lloh60:
	ldr	x8, [x8, _AR5K_PHY_SCR@GOTPAGEOFF]
Lloh61:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #31
	bl	_ath5k_hw_reg_write
Lloh62:
	adrp	x8, _AR5K_PHY_SLMT_32MHZ@GOTPAGE
Lloh63:
	ldr	x8, [x8, _AR5K_PHY_SLMT_32MHZ@GOTPAGEOFF]
Lloh64:
	ldr	w1, [x8]
Lloh65:
	adrp	x8, _AR5K_PHY_SLMT@GOTPAGE
Lloh66:
	ldr	x8, [x8, _AR5K_PHY_SLMT@GOTPAGEOFF]
Lloh67:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ath5k_hw_reg_write
	ldr	w8, [x19, #8]
Lloh68:
	adrp	x20, _AR5K_SREV_AR2417@GOTPAGE
Lloh69:
	ldr	x20, [x20, _AR5K_SREV_AR2417@GOTPAGEOFF]
	ldr	w9, [x20]
	cmp	w8, w9, asr #4
	b.ne	LBB0_12
; %bb.11:
Lloh70:
	adrp	x8, _AR5K_PHY_SCAL_32MHZ_2417@GOTPAGE
Lloh71:
	ldr	x8, [x8, _AR5K_PHY_SCAL_32MHZ_2417@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
	ldr	x8, [x19, #16]
Lloh72:
	adrp	x9, _AR5K_PHY_SCAL_32MHZ_HB63@GOTPAGE
Lloh73:
	ldr	x9, [x9, _AR5K_PHY_SCAL_32MHZ_HB63@GOTPAGEOFF]
Lloh74:
	adrp	x10, _AR5K_PHY_SCAL_32MHZ@GOTPAGE
Lloh75:
	ldr	x10, [x10, _AR5K_PHY_SCAL_32MHZ@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
LBB0_13:
	ldr	w1, [x8]
Lloh76:
	adrp	x8, _AR5K_PHY_SCAL@GOTPAGE
Lloh77:
	ldr	x8, [x8, _AR5K_PHY_SCAL@GOTPAGEOFF]
Lloh78:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ath5k_hw_reg_write
Lloh79:
	adrp	x8, _AR5K_PHY_SCLOCK_32MHZ@GOTPAGE
Lloh80:
	ldr	x8, [x8, _AR5K_PHY_SCLOCK_32MHZ@GOTPAGEOFF]
Lloh81:
	ldr	w1, [x8]
Lloh82:
	adrp	x8, _AR5K_PHY_SCLOCK@GOTPAGE
Lloh83:
	ldr	x8, [x8, _AR5K_PHY_SCLOCK@GOTPAGEOFF]
Lloh84:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ath5k_hw_reg_write
Lloh85:
	adrp	x8, _AR5K_PHY_SDELAY_32MHZ@GOTPAGE
Lloh86:
	ldr	x8, [x8, _AR5K_PHY_SDELAY_32MHZ@GOTPAGEOFF]
Lloh87:
	ldr	w1, [x8]
Lloh88:
	adrp	x8, _AR5K_PHY_SDELAY@GOTPAGE
Lloh89:
	ldr	x8, [x8, _AR5K_PHY_SDELAY@GOTPAGEOFF]
Lloh90:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ath5k_hw_reg_write
	ldr	x8, [x19]
Lloh91:
	adrp	x21, _AR5K_RF5112@GOTPAGE
Lloh92:
	ldr	x21, [x21, _AR5K_RF5112@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh93:
	adrp	x22, _AR5K_RF5413@GOTPAGE
Lloh94:
	ldr	x22, [x22, _AR5K_RF5413@GOTPAGEOFF]
Lloh95:
	adrp	x23, _AR5K_RF2316@GOTPAGE
Lloh96:
	ldr	x23, [x23, _AR5K_RF2316@GOTPAGEOFF]
	mov	w1, #20
	cmp	x8, x9
	b.eq	LBB0_17
; %bb.14:
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_17
; %bb.15:
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_17
; %bb.16:
	ldr	w8, [x19, #8]
	ldr	w9, [x20]
	cmp	w8, w9, asr #4
	mov	w8, #24
	mov	w9, #20
	csel	w1, w9, w8, eq
LBB0_17:
Lloh97:
	adrp	x8, _AR5K_PHY_SPENDING@GOTPAGE
Lloh98:
	ldr	x8, [x8, _AR5K_PHY_SPENDING@GOTPAGEOFF]
Lloh99:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ath5k_hw_reg_write
Lloh100:
	adrp	x8, _AR5K_TSF_PARM@GOTPAGE
Lloh101:
	ldr	x8, [x8, _AR5K_TSF_PARM@GOTPAGEOFF]
Lloh102:
	ldr	w1, [x8]
Lloh103:
	adrp	x8, _AR5K_TSF_PARM_INC@GOTPAGE
Lloh104:
	ldr	x8, [x8, _AR5K_TSF_PARM_INC@GOTPAGEOFF]
Lloh105:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	bl	_AR5K_REG_WRITE_BITS
	ldr	x8, [x19]
	ldr	x9, [x21]
	ldr	x10, [x22]
	ldr	x11, [x23]
Lloh106:
	adrp	x12, _AR5K_RF2317@GOTPAGE
Lloh107:
	ldr	x12, [x12, _AR5K_RF2317@GOTPAGEOFF]
Lloh108:
	ldr	x12, [x12]
	cmp	x8, x12
	ccmp	x8, x11, #4, ne
	ccmp	x8, x10, #4, ne
	ccmp	x8, x9, #4, ne
	mov	w8, #31
	mov	w9, #39
	csel	w3, w9, w8, eq
Lloh109:
	adrp	x8, _AR5K_USEC_5211@GOTPAGE
Lloh110:
	ldr	x8, [x8, _AR5K_USEC_5211@GOTPAGEOFF]
Lloh111:
	adrp	x9, _AR5K_USEC_32@GOTPAGE
Lloh112:
	ldr	x9, [x9, _AR5K_USEC_32@GOTPAGEOFF]
Lloh113:
	ldr	w1, [x8]
Lloh114:
	ldr	w2, [x9]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_AR5K_REG_WRITE_BITS
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh68, Lloh69
	.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 AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh95, Lloh96
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGot	Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh114
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh113
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.cfi_endproc
                                        ; -- End function
	.comm	_AR5K_USEC_5211,4,2             ; @AR5K_USEC_5211
	.comm	_AR5K_USEC_32,4,2               ; @AR5K_USEC_32
	.comm	_AR5K_TSF_PARM,4,2              ; @AR5K_TSF_PARM
	.comm	_AR5K_TSF_PARM_INC,4,2          ; @AR5K_TSF_PARM_INC
	.comm	_AR5K_PHY_SCR,4,2               ; @AR5K_PHY_SCR
	.comm	_AR5K_RF5112,8,3                ; @AR5K_RF5112
	.comm	_AR5K_RF5413,8,3                ; @AR5K_RF5413
	.comm	_AR5K_RF2316,8,3                ; @AR5K_RF2316
	.comm	_AR5K_SREV_AR2417,4,2           ; @AR5K_SREV_AR2417
	.comm	_AR5K_PHY_SPENDING,4,2          ; @AR5K_PHY_SPENDING
	.comm	_AR5K_PHY_SLMT,4,2              ; @AR5K_PHY_SLMT
	.comm	_AR5K_PHY_SCAL,4,2              ; @AR5K_PHY_SCAL
	.comm	_AR5K_PHY_SCLOCK,4,2            ; @AR5K_PHY_SCLOCK
	.comm	_AR5K_PHY_SDELAY,4,2            ; @AR5K_PHY_SDELAY
	.comm	_AR5K_PCICFG,4,2                ; @AR5K_PCICFG
	.comm	_AR5K_PCICFG_SLEEP_CLOCK_RATE,4,2 ; @AR5K_PCICFG_SLEEP_CLOCK_RATE
	.comm	_AR5K_PCICFG_SLEEP_CLOCK_EN,4,2 ; @AR5K_PCICFG_SLEEP_CLOCK_EN
	.comm	_AR5K_PHY_SLMT_32MHZ,4,2        ; @AR5K_PHY_SLMT_32MHZ
	.comm	_AR5K_PHY_SCAL_32MHZ_2417,4,2   ; @AR5K_PHY_SCAL_32MHZ_2417
	.comm	_AR5K_PHY_SCAL_32MHZ_HB63,4,2   ; @AR5K_PHY_SCAL_32MHZ_HB63
	.comm	_AR5K_PHY_SCAL_32MHZ,4,2        ; @AR5K_PHY_SCAL_32MHZ
	.comm	_AR5K_PHY_SCLOCK_32MHZ,4,2      ; @AR5K_PHY_SCLOCK_32MHZ
	.comm	_AR5K_PHY_SDELAY_32MHZ,4,2      ; @AR5K_PHY_SDELAY_32MHZ
	.comm	_AR5K_RF2317,8,3                ; @AR5K_RF2317
	.no_dead_strip	_ath5k_hw_set_sleep_clock
.subsections_via_symbols
