	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar5212GetTargetPowers
_ar5212GetTargetPowers:                 ## @ar5212GetTargetPowers
	.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	%r8, -72(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_NUM_TEST_FREQUENCIES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	testl	%r13d, %r13d
	jle	LBB0_1
## %bb.2:
	movl	%r13d, %r14d
	cmpl	$8, %r13d
	jae	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_1:
	movl	(%rbx), %edi
	leaq	-56(%rbp), %rcx
	leaq	-52(%rbp), %r8
	movq	%r15, %rsi
	movl	%r13d, %edx
	callq	_ar5212GetLowerUpperValues
	movl	-56(%rbp), %esi
	xorl	%ecx, %ecx
	movl	-52(%rbp), %edx
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_4:
	movl	%r14d, %eax
	andl	$-8, %eax
	leaq	(,%r14,4), %rcx
	andq	$-32, %rcx
	xorl	%edx, %edx
	movq	%r12, %rsi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movd	(%rsi), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, 40(%rsi), %xmm0
	pinsrd	$2, 80(%rsi), %xmm0
	pinsrd	$3, 120(%rsi), %xmm0
	movd	160(%rsi), %xmm1                ## xmm1 = mem[0],zero,zero,zero
	pinsrd	$1, 200(%rsi), %xmm1
	pinsrd	$2, 240(%rsi), %xmm1
	pinsrd	$3, 280(%rsi), %xmm1
	movdqa	%xmm0, (%r15,%rdx)
	movdqa	%xmm1, 16(%r15,%rdx)
	addq	$320, %rsi                      ## imm = 0x140
	addq	$32, %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_5
## %bb.6:
	cmpq	%r14, %rax
	je	LBB0_9
LBB0_7:
	leaq	(%rax,%rax,4), %rcx
	leaq	(%r12,%rcx,8), %rcx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx), %edx
	movl	%edx, (%r15,%rax,4)
	incq	%rax
	addq	$40, %rcx
	cmpq	%rax, %r14
	jne	LBB0_8
LBB0_9:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	leaq	-56(%rbp), %rcx
	leaq	-52(%rbp), %r8
	movq	%r15, %rsi
	movl	%r13d, %edx
	callq	_ar5212GetLowerUpperValues
	movl	-56(%rbp), %esi
	movl	-52(%rbp), %edx
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %edi
	movl	(%r15,%rax,4), %ebx
	cmpl	%ebx, %esi
	movl	%eax, %ecx
	cmovnel	%edi, %ecx
	cmpl	%ebx, %edx
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	incq	%rax
	cmpq	%rax, %r14
	jne	LBB0_10
## %bb.12:
	xorl	%eax, %eax
LBB0_13:
	movslq	%ecx, %rcx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_14:
	movl	(%rbx), %edi
	leaq	(%rcx,%rcx,4), %r14
	movq	32(%r12,%r14,8), %rcx
	movl	%eax, %eax
	leaq	(%rax,%rax,4), %r15
	movq	32(%r12,%r15,8), %r8
	callq	_interpolate
	movq	%rbx, %r13
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, 32(%rbx)
	movl	(%r13), %edi
	movl	-56(%rbp), %esi
	movl	-52(%rbp), %edx
	movq	24(%r12,%r14,8), %rcx
	movq	24(%r12,%r15,8), %r8
	callq	_interpolate
	movq	%rax, 24(%rbx)
	movl	(%r13), %edi
	movl	-56(%rbp), %esi
	movl	-52(%rbp), %edx
	movq	16(%r12,%r14,8), %rcx
	movq	16(%r12,%r15,8), %r8
	callq	_interpolate
	movq	%rax, 16(%rbx)
	movl	(%r13), %edi
	movl	-56(%rbp), %esi
	movl	-52(%rbp), %edx
	movq	8(%r12,%r14,8), %rcx
	movq	8(%r12,%r15,8), %r8
	callq	_interpolate
	movq	%rax, 8(%rbx)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_TEST_FREQUENCIES,4,2       ## @NUM_TEST_FREQUENCIES
	.no_dead_strip	_ar5212GetTargetPowers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar5212GetTargetPowers
_ar5212GetTargetPowers:                 ; @ar5212GetTargetPowers
	.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
	sub	sp, sp, #16
	mov	x19, x4
	mov	x8, x3
	mov	x21, x2
	mov	x20, x1
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-56]
Lloh3:
	adrp	x9, _NUM_TEST_FREQUENCIES@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NUM_TEST_FREQUENCIES@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	x12, x9, #2
	mov	x9, x12
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x12, #15
	and	x10, x10, #0x7fffffff0
	sub	x22, x9, x10
	mov	sp, x22
	cmp	w3, #0
	b.le	LBB0_3
; %bb.1:
	mov	w23, w8
	cmp	w8, #4
	b.hs	LBB0_4
; %bb.2:
	mov	x9, #0
	b	LBB0_7
LBB0_3:
	ldr	w0, [x20]
	sub	x3, x29, #60
	sub	x4, x29, #64
	mov	x1, x22
	mov	x2, x8
	bl	_ar5212GetLowerUpperValues
	mov	x9, #0
	mov	x8, #0
	ldp	w2, w1, [x29, #-64]
	b	LBB0_14
LBB0_4:
	and	x9, x23, #0xfffffffc
	add	x10, x22, #8
	add	x11, x21, #80
	mov	x12, x9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w13, [x11, #-80]
	ldur	w14, [x11, #-40]
	ldr	w15, [x11]
	ldr	w16, [x11, #40]
	stp	w13, w14, [x10, #-8]
	stp	w15, w16, [x10], #16
	add	x11, x11, #160
	subs	x12, x12, #4
	b.ne	LBB0_5
; %bb.6:
	cmp	x9, x23
	b.eq	LBB0_9
LBB0_7:
	add	x10, x22, x9, lsl #2
	mov	w11, #40
	madd	x11, x9, x11, x21
	sub	x9, x23, x9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11], #40
	str	w12, [x10], #4
	subs	x9, x9, #1
	b.ne	LBB0_8
LBB0_9:
	ldr	w0, [x20]
	sub	x3, x29, #60
	sub	x4, x29, #64
	mov	x1, x22
	mov	x2, x8
	bl	_ar5212GetLowerUpperValues
	mov	x8, #0
	mov	w9, #0
	ldp	w2, w1, [x29, #-64]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x22, x8, lsl #2]
	cmp	w1, w10
	csel	w9, w8, w9, eq
	cmp	w2, w10
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x8, x8, #1
	cmp	x23, x8
	b.ne	LBB0_10
; %bb.12:
	mov	x8, #0
LBB0_13:
	sxtw	x9, w9
LBB0_14:
	ldr	w0, [x20]
	mov	w10, #40
	madd	x22, x9, x10, x21
	ldr	x3, [x22, #32]
	and	x8, x8, #0xffffffff
	madd	x21, x8, x10, x21
	ldr	x4, [x21, #32]
	bl	_interpolate
	str	x0, [x19, #32]
	ldr	w0, [x20]
	ldp	w2, w1, [x29, #-64]
	ldr	x3, [x22, #24]
	ldr	x4, [x21, #24]
	bl	_interpolate
	str	x0, [x19, #24]
	ldr	w0, [x20]
	ldp	w2, w1, [x29, #-64]
	ldr	x3, [x22, #16]
	ldr	x4, [x21, #16]
	bl	_interpolate
	str	x0, [x19, #16]
	ldr	w0, [x20]
	ldp	w2, w1, [x29, #-64]
	ldr	x3, [x22, #8]
	ldr	x4, [x21, #8]
	bl	_interpolate
	str	x0, [x19, #8]
	ldur	x8, [x29, #-56]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	sub	sp, x29, #48
	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
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_TEST_FREQUENCIES,4,2       ; @NUM_TEST_FREQUENCIES
	.no_dead_strip	_ar5212GetTargetPowers
.subsections_via_symbols
