	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il4965_interpolate_chan
_il4965_interpolate_chan:               ## @il4965_interpolate_chan
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_il4965_get_sub_band
	movq	_EEPROM_TX_POWER_BANDS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_1
## %bb.2:
	movq	%rax, %rdx
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rcx
	movq	(%rcx), %rcx
	shlq	$5, %rax
	movq	(%rcx,%rax), %r14
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	16(%rcx,%rax), %r12
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	%r15, 8(%r13)
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	xorl	%r15d, %r15d
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movq	%r12, %rcx
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_D_TXPOWER
	movq	_EEPROM_TX_POWER_TX_CHAINS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	movq	_EEPROM_TX_POWER_MEASUREMENTS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%r15d, %r15d
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ecx, %ecx
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r15
	cmpq	%rax, %r15
	jae	LBB0_10
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$24, %r13d
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	8(%rax,%rdx), %rcx
	movq	24(%rax,%rdx), %rax
	movq	(%rax,%r15,8), %rbx
	movq	(%rcx,%r15,8), %r14
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %r15
	movq	(%rbx,%r13), %rdx
	movq	(%r14,%r13), %r8
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_il4965_interpolate_value
	movq	%rax, (%r15,%r13)
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	-8(%rbx,%r13), %rdx
	movq	-8(%r14,%r13), %r8
	movq	%r12, %rdi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_il4965_interpolate_value
	movq	%rax, -8(%r15,%r13)
	movq	-24(%rbx,%r13), %rdx
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	-24(%rbx,%r13), %r8
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rcx
	callq	_il4965_interpolate_value
	movq	%rax, -24(%r15,%r13)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	-16(%rax,%r13), %rdx
	movq	-16(%rbx,%r13), %r8
	movq	%r12, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rcx
	callq	_il4965_interpolate_value
	movq	%rax, -16(%r15,%r13)
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14,%r13), %rcx
	movq	%rbx, %r12
	movq	(%rbx,%r13), %r8
	movq	(%r15,%r13), %r9
	leaq	L_.str.2(%rip), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_D_TXPOWER
	movq	-8(%r14,%r13), %rcx
	movq	-8(%r12,%r13), %r8
	movq	-8(%r15,%r13), %r9
	leaq	L_.str.3(%rip), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_D_TXPOWER
	movq	-16(%r14,%r13), %rcx
	movq	-16(%r12,%r13), %r8
	movq	-16(%r15,%r13), %r9
	leaq	L_.str.4(%rip), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_D_TXPOWER
	movq	-24(%r14,%r13), %rcx
	movq	-24(%r12,%r13), %r8
	movq	-24(%r15,%r13), %r9
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	leaq	L_.str.5(%rip), %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_D_TXPOWER
	movq	_EEPROM_TX_POWER_MEASUREMENTS@GOTPCREL(%rip), %rax
	incq	%rbx
	movq	(%rax), %rcx
	addq	$32, %r13
	movq	%rbx, %rax
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	cmpq	%rcx, %rbx
	jb	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_EEPROM_TX_POWER_TX_CHAINS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_9
LBB0_1:
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	callq	_IL_ERR
	movl	$-1, %r15d
	jmp	LBB0_11
LBB0_10:
	xorl	%r15d, %r15d
LBB0_11:
	movl	%r15d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EEPROM_TX_POWER_BANDS,8,3      ## @EEPROM_TX_POWER_BANDS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Tx Power can not find channel %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"channel %d subband %d factory cal ch %d & %d\n"

	.comm	_EEPROM_TX_POWER_TX_CHAINS,8,3  ## @EEPROM_TX_POWER_TX_CHAINS
	.comm	_EEPROM_TX_POWER_MEASUREMENTS,8,3 ## @EEPROM_TX_POWER_MEASUREMENTS
L_.str.2:                               ## @.str.2
	.asciz	"chain %d meas %d AP1=%d AP2=%d AP=%d\n"

L_.str.3:                               ## @.str.3
	.asciz	"chain %d meas %d NI1=%d NI2=%d NI=%d\n"

L_.str.4:                               ## @.str.4
	.asciz	"chain %d meas %d PA1=%d PA2=%d PA=%d\n"

L_.str.5:                               ## @.str.5
	.asciz	"chain %d meas %d  T1=%d  T2=%d  T=%d\n"

	.no_dead_strip	_il4965_interpolate_chan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function il4965_interpolate_chan
_il4965_interpolate_chan:               ; @il4965_interpolate_chan
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	bl	_il4965_get_sub_band
Lloh0:
	adrp	x8, _EEPROM_TX_POWER_BANDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EEPROM_TX_POWER_BANDS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.hs	LBB0_8
; %bb.1:
	mov	x22, x0
	ldr	x8, [x21]
	ldr	x8, [x8]
	add	x8, x8, x0, lsl #5
	ldr	x23, [x8, #16]
	ldr	x24, [x8]
	str	x19, [x20, #8]
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	mov	x2, x22
	mov	x3, x23
	mov	x4, x24
	bl	_D_TXPOWER
Lloh5:
	adrp	x8, _EEPROM_TX_POWER_TX_CHAINS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EEPROM_TX_POWER_TX_CHAINS@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.2:
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	mov	x25, #0
Lloh8:
	adrp	x9, _EEPROM_TX_POWER_MEASUREMENTS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _EEPROM_TX_POWER_MEASUREMENTS@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	cmp	x25, x8
	b.hs	LBB0_9
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	cbz	x9, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x28, #0
	mov	x27, #0
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x21]
	ldr	x8, [x8]
	add	x8, x8, x22, lsl #5
	ldr	x9, [x8, #24]
	lsl	x10, x25, #3
	ldr	x9, [x9, x10]
	ldr	x8, [x8, #8]
	ldr	x8, [x8, x10]
	ldr	x11, [x20]
	ldr	x21, [x11, x10]
	add	x26, x9, x28
	ldr	x2, [x26, #24]
	mov	x22, x20
	add	x20, x8, x28
	ldr	x4, [x20, #24]
	mov	x0, x19
	mov	x1, x23
	mov	x3, x24
	bl	_il4965_interpolate_value
	add	x21, x21, x28
	str	x0, [x21, #24]
	ldr	x2, [x26, #16]
	ldr	x4, [x20, #16]
	mov	x0, x19
	mov	x1, x23
	mov	x3, x24
	bl	_il4965_interpolate_value
	str	x0, [x21, #16]
	ldr	x2, [x26]
	ldr	x4, [x20]
	mov	x0, x19
	mov	x1, x23
	mov	x3, x24
	bl	_il4965_interpolate_value
	str	x0, [x21]
	ldr	x2, [x26, #8]
	ldr	x4, [x20, #8]
	mov	x0, x19
	mov	x1, x23
	mov	x3, x24
	bl	_il4965_interpolate_value
	str	x0, [x21, #8]
	ldr	x3, [x26, #24]
	ldr	x4, [x20, #24]
	ldr	x8, [x21, #24]
	str	x8, [sp]
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x25
	mov	x2, x27
	bl	_D_TXPOWER
	ldr	x3, [x26, #16]
	ldr	x4, [x20, #16]
	ldr	x8, [x21, #16]
	str	x8, [sp]
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x25
	mov	x2, x27
	bl	_D_TXPOWER
	ldr	x3, [x26, #8]
	ldr	x4, [x20, #8]
	ldr	x8, [x21, #8]
	str	x8, [sp]
Lloh15:
	adrp	x0, l_.str.4@PAGE
Lloh16:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x25
	mov	x2, x27
	bl	_D_TXPOWER
	ldr	x3, [x26]
Lloh17:
	adrp	x0, l_.str.5@PAGE
Lloh18:
	add	x0, x0, l_.str.5@PAGEOFF
	ldr	x4, [x20]
	mov	x20, x22
	ldr	x8, [x21]
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	str	x8, [sp]
	mov	x1, x25
	mov	x2, x27
	bl	_D_TXPOWER
Lloh19:
	adrp	x8, _EEPROM_TX_POWER_MEASUREMENTS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EEPROM_TX_POWER_MEASUREMENTS@GOTPAGEOFF]
	add	x27, x27, #1
Lloh21:
	ldr	x9, [x8]
	add	x28, x28, #32
	cmp	x27, x9
	b.lo	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh22:
	adrp	x8, _EEPROM_TX_POWER_TX_CHAINS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EEPROM_TX_POWER_TX_CHAINS@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	b	LBB0_3
LBB0_8:
Lloh25:
	adrp	x0, l_.str@PAGE
Lloh26:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_IL_ERR
	mov	w0, #-1
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_EEPROM_TX_POWER_BANDS,8,3      ; @EEPROM_TX_POWER_BANDS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Tx Power can not find channel %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"channel %d subband %d factory cal ch %d & %d\n"

	.comm	_EEPROM_TX_POWER_TX_CHAINS,8,3  ; @EEPROM_TX_POWER_TX_CHAINS
	.comm	_EEPROM_TX_POWER_MEASUREMENTS,8,3 ; @EEPROM_TX_POWER_MEASUREMENTS
l_.str.2:                               ; @.str.2
	.asciz	"chain %d meas %d AP1=%d AP2=%d AP=%d\n"

l_.str.3:                               ; @.str.3
	.asciz	"chain %d meas %d NI1=%d NI2=%d NI=%d\n"

l_.str.4:                               ; @.str.4
	.asciz	"chain %d meas %d PA1=%d PA2=%d PA=%d\n"

l_.str.5:                               ; @.str.5
	.asciz	"chain %d meas %d  T1=%d  T2=%d  T=%d\n"

	.no_dead_strip	_il4965_interpolate_chan
.subsections_via_symbols
