	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar9002_olc_init
_ar9002_olc_init:                       ## @ar9002_olc_init
	.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
	movq	_OLC_FOR_AR9280_20_LATER@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_6
## %bb.1:
	movq	%rdi, %r15
	movq	_OLC_FOR_AR9287_10_LATER@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.7:
	movq	_AR_PHY_TX_PWRCTRL9@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR_PHY_TX_PWRCTRL9_RES_DC_REMOVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_REG_SET_BIT
	movq	_AR9287_AN_TXPC0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR9287_AN_TXPC0_TXPCMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_AR9287_AN_TXPC0_TXPCMODE_S@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_AR9287_AN_TXPC0_TXPCMODE_TEMPSENSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rdi
	callq	_ath9k_hw_analog_shift_rmw
	movl	$100, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_udelay                         ## TAILCALL
LBB0_2:
	movq	_AR9280_TX_GAIN_TABLE_SIZE@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	movq	_AR_PHY_TX_GAIN_TBL1@GOTPCREL(%rip), %r12
	movq	_AR_PHY_TX_GAIN@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(,%rbx,4), %rsi
	addq	(%r12), %rsi
	movq	%r15, %rdi
	callq	_REG_READ
	movl	(%r13), %esi
	movl	%eax, %edi
	callq	_MS
	movq	8(%r15), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	cmpq	(%r14), %rbx
	jb	LBB0_4
LBB0_5:
	movq	$0, (%r15)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OLC_FOR_AR9280_20_LATER,4,2    ## @OLC_FOR_AR9280_20_LATER
	.comm	_OLC_FOR_AR9287_10_LATER,8,3    ## @OLC_FOR_AR9287_10_LATER
	.comm	_AR_PHY_TX_PWRCTRL9,4,2         ## @AR_PHY_TX_PWRCTRL9
	.comm	_AR_PHY_TX_PWRCTRL9_RES_DC_REMOVAL,4,2 ## @AR_PHY_TX_PWRCTRL9_RES_DC_REMOVAL
	.comm	_AR9287_AN_TXPC0,4,2            ## @AR9287_AN_TXPC0
	.comm	_AR9287_AN_TXPC0_TXPCMODE,4,2   ## @AR9287_AN_TXPC0_TXPCMODE
	.comm	_AR9287_AN_TXPC0_TXPCMODE_S,4,2 ## @AR9287_AN_TXPC0_TXPCMODE_S
	.comm	_AR9287_AN_TXPC0_TXPCMODE_TEMPSENSE,4,2 ## @AR9287_AN_TXPC0_TXPCMODE_TEMPSENSE
	.comm	_AR9280_TX_GAIN_TABLE_SIZE,8,3  ## @AR9280_TX_GAIN_TABLE_SIZE
	.comm	_AR_PHY_TX_GAIN_TBL1,8,3        ## @AR_PHY_TX_GAIN_TBL1
	.comm	_AR_PHY_TX_GAIN,4,2             ## @AR_PHY_TX_GAIN
	.no_dead_strip	_ar9002_olc_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar9002_olc_init
_ar9002_olc_init:                       ; @ar9002_olc_init
	.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
Lloh0:
	adrp	x8, _OLC_FOR_AR9280_20_LATER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OLC_FOR_AR9280_20_LATER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_7
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _OLC_FOR_AR9287_10_LATER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OLC_FOR_AR9287_10_LATER@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _AR_PHY_TX_PWRCTRL9@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AR_PHY_TX_PWRCTRL9@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _AR_PHY_TX_PWRCTRL9_RES_DC_REMOVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AR_PHY_TX_PWRCTRL9_RES_DC_REMOVAL@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_REG_SET_BIT
Lloh12:
	adrp	x8, _AR9287_AN_TXPC0@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AR9287_AN_TXPC0@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _AR9287_AN_TXPC0_TXPCMODE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AR9287_AN_TXPC0_TXPCMODE@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
Lloh18:
	adrp	x8, _AR9287_AN_TXPC0_TXPCMODE_S@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AR9287_AN_TXPC0_TXPCMODE_S@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
Lloh21:
	adrp	x8, _AR9287_AN_TXPC0_TXPCMODE_TEMPSENSE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AR9287_AN_TXPC0_TXPCMODE_TEMPSENSE@GOTPAGEOFF]
Lloh23:
	ldr	w4, [x8]
	mov	x0, x19
	bl	_ath9k_hw_analog_shift_rmw
	mov	w0, #100
	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	_udelay
LBB0_3:
Lloh24:
	adrp	x20, _AR9280_TX_GAIN_TABLE_SIZE@GOTPAGE
Lloh25:
	ldr	x20, [x20, _AR9280_TX_GAIN_TABLE_SIZE@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_6
; %bb.4:
	mov	x21, #0
Lloh26:
	adrp	x22, _AR_PHY_TX_GAIN_TBL1@GOTPAGE
Lloh27:
	ldr	x22, [x22, _AR_PHY_TX_GAIN_TBL1@GOTPAGEOFF]
Lloh28:
	adrp	x23, _AR_PHY_TX_GAIN@GOTPAGE
Lloh29:
	ldr	x23, [x23, _AR_PHY_TX_GAIN@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	lsl	x24, x21, #2
	add	x1, x8, x24
	mov	x0, x19
	bl	_REG_READ
	ldr	w1, [x23]
	bl	_MS
	ldr	x8, [x19, #8]
	str	w0, [x8, x24]
	add	x21, x21, #1
	ldr	x8, [x20]
	cmp	x21, x8
	b.lo	LBB0_5
LBB0_6:
	str	xzr, [x19]
LBB0_7:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_OLC_FOR_AR9280_20_LATER,4,2    ; @OLC_FOR_AR9280_20_LATER
	.comm	_OLC_FOR_AR9287_10_LATER,8,3    ; @OLC_FOR_AR9287_10_LATER
	.comm	_AR_PHY_TX_PWRCTRL9,4,2         ; @AR_PHY_TX_PWRCTRL9
	.comm	_AR_PHY_TX_PWRCTRL9_RES_DC_REMOVAL,4,2 ; @AR_PHY_TX_PWRCTRL9_RES_DC_REMOVAL
	.comm	_AR9287_AN_TXPC0,4,2            ; @AR9287_AN_TXPC0
	.comm	_AR9287_AN_TXPC0_TXPCMODE,4,2   ; @AR9287_AN_TXPC0_TXPCMODE
	.comm	_AR9287_AN_TXPC0_TXPCMODE_S,4,2 ; @AR9287_AN_TXPC0_TXPCMODE_S
	.comm	_AR9287_AN_TXPC0_TXPCMODE_TEMPSENSE,4,2 ; @AR9287_AN_TXPC0_TXPCMODE_TEMPSENSE
	.comm	_AR9280_TX_GAIN_TABLE_SIZE,8,3  ; @AR9280_TX_GAIN_TABLE_SIZE
	.comm	_AR_PHY_TX_GAIN_TBL1,8,3        ; @AR_PHY_TX_GAIN_TBL1
	.comm	_AR_PHY_TX_GAIN,4,2             ; @AR_PHY_TX_GAIN
	.no_dead_strip	_ar9002_olc_init
.subsections_via_symbols
