	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar9003_hw_eeprom_get_cck_tgt_pwr
_ar9003_hw_eeprom_get_cck_tgt_pwr:      ## @ar9003_hw_eeprom_get_cck_tgt_pwr
	.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, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_AR9300_NUM_2G_CCK_TARGET_POWERS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	(,%r14,4), %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movslq	%r14d, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%r14, %r14
	je	LBB0_3
## %bb.1:
	movq	(%r15), %r14
	movq	8(%r15), %r13
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$2, %rax
	movl	$1, %r15d
	cmovaeq	%rax, %r15
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%r12,4), %edi
	movl	$1, %esi
	callq	_ath9k_hw_fbin2freq
	movl	%eax, (%rbx,%r12,4)
	movq	(%r13,%r12,8), %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rax,%rcx,4), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%r12,4)
	incq	%r12
	cmpq	%r12, %r15
	jne	LBB0_2
LBB0_3:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	movq	%rbx, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_ar9003_hw_power_interpolate
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AR9300_NUM_2G_CCK_TARGET_POWERS,4,2 ## @AR9300_NUM_2G_CCK_TARGET_POWERS
	.no_dead_strip	_ar9003_hw_eeprom_get_cck_tgt_pwr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar9003_hw_eeprom_get_cck_tgt_pwr
_ar9003_hw_eeprom_get_cck_tgt_pwr:      ; @ar9003_hw_eeprom_get_cck_tgt_pwr
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #16
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _AR9300_NUM_2G_CCK_TARGET_POWERS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AR9300_NUM_2G_CCK_TARGET_POWERS@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x8]
	sxtw	x21, w12
	lsl	x8, x12, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x13, x10, #0x7fffffff0
	sub	x22, x9, x13
	mov	sp, x22
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x23, x8, x13
	mov	sp, x23
	cbz	w12, LBB0_3
; %bb.1:
	ldp	x25, x24, [x0]
	cmp	x21, #1
	csinc	x26, x21, xzr, hi
	mov	x27, x23
	mov	x28, x22
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x25], #4
	mov	w1, #1
	bl	_ath9k_hw_fbin2freq
	str	w0, [x27], #4
	ldr	x8, [x24], #8
	ldr	w8, [x8, x20, lsl #2]
	str	w8, [x28], #4
	subs	x26, x26, #1
	b.ne	LBB0_2
LBB0_3:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	bl	_ar9003_hw_power_interpolate
	ldur	x8, [x29, #-88]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_AR9300_NUM_2G_CCK_TARGET_POWERS,4,2 ; @AR9300_NUM_2G_CCK_TARGET_POWERS
	.no_dead_strip	_ar9003_hw_eeprom_get_cck_tgt_pwr
.subsections_via_symbols
