	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpphy_rev0_1_rc_calib
_lpphy_rev0_1_rc_calib:                 ## @lpphy_rev0_1_rc_calib
	.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	%rdi, %r12
	movq	8(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	%r12, %rdi
	movl	$7, %esi
	callq	_b43_lpphy_op_switch_channel
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_b43dbg
LBB0_2:
	movq	_B43_LPPHY_AFE_CTL_OVR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_b43_phy_read
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_lpphy_get_bb_mult
	movl	%eax, -104(%rbp)                ## 4-byte Spill
                                        ## implicit-def: $eax
                                        ## kill: killed $eax
	movl	%ebx, -108(%rbp)                ## 4-byte Spill
	testb	$64, %bl
	je	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	callq	_lpphy_get_tx_gains
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
LBB0_4:
	movq	_B43_LPPHY_RF_OVERRIDE_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_b43_phy_read
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	movq	_B43_LPPHY_RF_OVERRIDE_VAL_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_b43_phy_read
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_b43_phy_read
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	movq	_B43_LPPHY_AFE_CTL_OVRVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_b43_phy_read
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	_B43_LPPHY_RF_OVERRIDE_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_b43_phy_read
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	_B43_LPPHY_RF_OVERRIDE_2_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_b43_phy_read
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	_B43_LPPHY_LP_PHY_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_b43_phy_read
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_lpphy_read_tx_pctl_mode_from_hardware
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movq	_B43_LPPHY_TXPCTL_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_lpphy_set_tx_power_control
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_lpphy_disable_crs
	movq	%r12, %rdi
	callq	_lpphy_loopback
	cmpl	$-1, %eax
	je	LBB0_14
## %bb.5:
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_lpphy_set_rx_gain_by_index
	movq	_B43_LPPHY_LP_PHY_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$65471, %edx                    ## imm = 0xFFBF
	movl	$64, %ecx
	callq	_b43_phy_maskset
	movq	_B43_LPPHY_RF_OVERRIDE_2_VAL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$65528, %edx                    ## imm = 0xFFF8
	movl	$1, %ecx
	callq	_b43_phy_maskset
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$65479, %edx                    ## imm = 0xFFC7
	movl	$8, %ecx
	callq	_b43_phy_maskset
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$65343, %edx                    ## imm = 0xFF3F
	movl	$192, %ecx
	callq	_b43_phy_maskset
	xorl	%eax, %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	$128, %edx
	movq	_B2062_N_RXBB_CALIB2@GOTPCREL(%rip), %rax
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	callq	_b43_radio_write
	movl	$5, %r14d
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%ecx, 4(%rax)
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=2
	addq	$4, %rbx
	incl	%r14d
	cmpq	$84, %rbx
	je	LBB0_12
LBB0_7:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	movl	$1, %esi
	movl	$1, %edx
	movl	%r14d, %ecx
	movl	%r14d, %r8d
	xorl	%r9d, %r9d
	callq	_lpphy_run_ddfs
	movq	%r12, %rdi
	movl	$1000, %esi                     ## imm = 0x3E8
	movl	$32, %edx
	leaq	-64(%rbp), %rcx
	callq	_lpphy_rx_iq_est
	testl	%eax, %eax
	je	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movl	-60(%rbp), %edi
	addl	-64(%rbp), %edi
	testq	%rbx, %rbx
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	cmovel	%edi, %esi
	leaq	_lpphy_rev0_1_rc_calib.ideal_pwr_table(%rip), %rax
	movl	(%rbx,%rax), %r13d
	sarl	$3, %r13d
	incl	%r13d
	sarl	%r13d
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$12, %edx
	callq	_lpphy_qdiv_roundup
	subl	%eax, %r13d
	imull	%r13d, %r13d
	addl	%r13d, %r15d
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	$128, %ecx
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	cmpl	-48(%rbp), %r15d                ## 4-byte Folded Reload
	jge	LBB0_11
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	incl	%edx
	cmpl	$160, %edx
	movq	_B2062_N_RXBB_CALIB2@GOTPCREL(%rip), %rax
	jne	LBB0_6
## %bb.13:
	movq	%r12, %rdi
	callq	_lpphy_stop_ddfs
LBB0_14:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_lpphy_restore_crs
	movq	_B43_LPPHY_RF_OVERRIDE_VAL_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	-84(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	_B43_LPPHY_RF_OVERRIDE_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	-100(%rbp), %edx                ## 4-byte Reload
	callq	_b43_phy_write
	movq	_B43_LPPHY_AFE_CTL_OVRVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	_B43_LPPHY_AFE_CTL_OVR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	-96(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	_B43_LPPHY_RF_OVERRIDE_2_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	-72(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	_B43_LPPHY_RF_OVERRIDE_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	-88(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	_B43_LPPHY_LP_PHY_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	-80(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	%r12, %rdi
	movl	-104(%rbp), %esi                ## 4-byte Reload
	callq	_lpphy_set_bb_mult
	testb	$64, -108(%rbp)                 ## 1-byte Folded Reload
	je	LBB0_16
## %bb.15:
	movq	%r12, %rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	callq	_lpphy_set_tx_gains
LBB0_16:
	movq	%r12, %rdi
	movl	-92(%rbp), %esi                 ## 4-byte Reload
	callq	_lpphy_set_tx_power_control
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, 4(%rax)
	je	LBB0_18
## %bb.17:
	movq	%r12, %rdi
	callq	_lpphy_set_rc_cap
LBB0_18:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @lpphy_rev0_1_rc_calib.ideal_pwr_table
_lpphy_rev0_1_rc_calib.ideal_pwr_table:
	.long	65536                           ## 0x10000
	.long	66903                           ## 0x10557
	.long	69165                           ## 0x10e2d
	.long	70624                           ## 0x113e0
	.long	69410                           ## 0x10f22
	.long	65380                           ## 0xff64
	.long	60834                           ## 0xeda2
	.long	58836                           ## 0xe5d4
	.long	61393                           ## 0xefd1
	.long	64488                           ## 0xfbe8
	.long	47032                           ## 0xb7b8
	.long	19253                           ## 0x4b35
	.long	6750                            ## 0x1a5e
	.long	2571                            ## 0xa0b
	.long	1092                            ## 0x444
	.long	509                             ## 0x1fd
	.long	255                             ## 0xff
	.long	136                             ## 0x88
	.long	76                              ## 0x4c
	.long	44                              ## 0x2c
	.long	26                              ## 0x1a

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RC calib: Failed to switch to channel 7, error = %d\n"

	.comm	_B43_LPPHY_AFE_CTL_OVR,4,2      ## @B43_LPPHY_AFE_CTL_OVR
	.comm	_B43_LPPHY_RF_OVERRIDE_0,4,2    ## @B43_LPPHY_RF_OVERRIDE_0
	.comm	_B43_LPPHY_RF_OVERRIDE_VAL_0,4,2 ## @B43_LPPHY_RF_OVERRIDE_VAL_0
	.comm	_B43_LPPHY_AFE_CTL_OVRVAL,4,2   ## @B43_LPPHY_AFE_CTL_OVRVAL
	.comm	_B43_LPPHY_RF_OVERRIDE_2,4,2    ## @B43_LPPHY_RF_OVERRIDE_2
	.comm	_B43_LPPHY_RF_OVERRIDE_2_VAL,4,2 ## @B43_LPPHY_RF_OVERRIDE_2_VAL
	.comm	_B43_LPPHY_LP_PHY_CTL,4,2       ## @B43_LPPHY_LP_PHY_CTL
	.comm	_B43_LPPHY_TXPCTL_OFF,4,2       ## @B43_LPPHY_TXPCTL_OFF
	.comm	_B2062_N_RXBB_CALIB2,4,2        ## @B2062_N_RXBB_CALIB2
	.no_dead_strip	_lpphy_rev0_1_rc_calib
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lpphy_rev0_1_rc_calib
_lpphy_rev0_1_rc_calib:                 ; @lpphy_rev0_1_rc_calib
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x19, x0
	ldr	x25, [x0, #8]
	add	x0, sp, #56
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	mov	x0, x19
	mov	w1, #7
	bl	_b43_lpphy_op_switch_channel
	cbz	w0, LBB0_2
; %bb.1:
	mov	x2, x0
	ldr	w0, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_b43dbg
LBB0_2:
Lloh2:
	adrp	x21, _B43_LPPHY_AFE_CTL_OVR@GOTPAGE
Lloh3:
	ldr	x21, [x21, _B43_LPPHY_AFE_CTL_OVR@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_b43_phy_read
	mov	x20, x0
	mov	x0, x19
	bl	_lpphy_get_bb_mult
	stp	w0, w20, [sp, #48]              ; 8-byte Folded Spill
	tbnz	w20, #6, LBB0_4
; %bb.3:
	str	xzr, [sp, #8]                   ; 8-byte Folded Spill
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_lpphy_get_tx_gains
	mov	w8, w0
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
LBB0_5:
Lloh4:
	adrp	x8, _B43_LPPHY_RF_OVERRIDE_0@GOTPAGE
Lloh5:
	ldr	x8, [x8, _B43_LPPHY_RF_OVERRIDE_0@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #44]                   ; 4-byte Folded Spill
Lloh7:
	adrp	x8, _B43_LPPHY_RF_OVERRIDE_VAL_0@GOTPAGE
Lloh8:
	ldr	x8, [x8, _B43_LPPHY_RF_OVERRIDE_VAL_0@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #28]                   ; 4-byte Folded Spill
	ldr	w1, [x21]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #40]                   ; 4-byte Folded Spill
Lloh10:
	adrp	x8, _B43_LPPHY_AFE_CTL_OVRVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _B43_LPPHY_AFE_CTL_OVRVAL@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
Lloh13:
	adrp	x8, _B43_LPPHY_RF_OVERRIDE_2@GOTPAGE
Lloh14:
	ldr	x8, [x8, _B43_LPPHY_RF_OVERRIDE_2@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #32]                   ; 4-byte Folded Spill
Lloh16:
	adrp	x8, _B43_LPPHY_RF_OVERRIDE_2_VAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _B43_LPPHY_RF_OVERRIDE_2_VAL@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #16]                   ; 4-byte Folded Spill
Lloh19:
	adrp	x8, _B43_LPPHY_LP_PHY_CTL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _B43_LPPHY_LP_PHY_CTL@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #24]                   ; 4-byte Folded Spill
	mov	x0, x19
	bl	_lpphy_read_tx_pctl_mode_from_hardware
	ldr	w8, [x25]
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
Lloh22:
	adrp	x8, _B43_LPPHY_TXPCTL_OFF@GOTPAGE
Lloh23:
	ldr	x8, [x8, _B43_LPPHY_TXPCTL_OFF@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_lpphy_set_tx_power_control
	mov	x0, x19
	mov	w1, #1
	bl	_lpphy_disable_crs
	mov	x0, x19
	bl	_lpphy_loopback
	cmn	w0, #1
	b.eq	LBB0_15
; %bb.6:
	mov	x1, x0
	mov	x0, x19
	bl	_lpphy_set_rx_gain_by_index
Lloh25:
	adrp	x8, _B43_LPPHY_LP_PHY_CTL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _B43_LPPHY_LP_PHY_CTL@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #65471
	mov	w3, #64
	bl	_b43_phy_maskset
Lloh28:
	adrp	x20, _B43_LPPHY_RF_OVERRIDE_2_VAL@GOTPAGE
Lloh29:
	ldr	x20, [x20, _B43_LPPHY_RF_OVERRIDE_2_VAL@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #65528
	mov	w3, #1
	bl	_b43_phy_maskset
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #65479
	mov	w3, #8
	bl	_b43_phy_maskset
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #65343
	mov	w3, #192
	bl	_b43_phy_maskset
	mov	w23, #0
	mov	w21, #0
	mov	w24, #128
Lloh30:
	adrp	x8, _B2062_N_RXBB_CALIB2@GOTPAGE
Lloh31:
	ldr	x8, [x8, _B2062_N_RXBB_CALIB2@GOTPAGEOFF]
Lloh32:
	adrp	x28, _lpphy_rev0_1_rc_calib.ideal_pwr_table@PAGE
Lloh33:
	add	x28, x28, _lpphy_rev0_1_rc_calib.ideal_pwr_table@PAGEOFF
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	mov	x26, x8
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x24
	bl	_b43_radio_write
	mov	x22, #0
	mov	w27, #0
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=2
	str	w24, [x25, #4]
	mov	x21, x27
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	x22, x22, #1
	cmp	x22, #21
	b.eq	LBB0_13
LBB0_10:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w3, w22, #5
	mov	x0, x19
	mov	w1, #1
	mov	w2, #1
	mov	x4, x3
	mov	w5, #0
	bl	_lpphy_run_ddfs
	add	x3, sp, #56
	mov	x0, x19
	mov	w1, #1000
	mov	w2, #32
	bl	_lpphy_rx_iq_est
	cbz	w0, LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	ldp	w8, w9, [sp, #56]
	add	w0, w9, w8
	cmp	x22, #0
	csel	w23, w0, w23, eq
	ldr	w8, [x28, x22, lsl #2]
	asr	w8, w8, #3
	add	w8, w8, #1
	asr	w20, w8, #1
	mov	x1, x23
	mov	w2, #12
	bl	_lpphy_qdiv_roundup
	sub	w8, w20, w0
	madd	w27, w8, w8, w27
	cmp	w24, #128
	b.eq	LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=2
	cmp	w27, w21
	b.ge	LBB0_9
	b	LBB0_8
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	add	w24, w24, #1
	cmp	w24, #160
	mov	x8, x26
	b.ne	LBB0_7
; %bb.14:
	mov	x0, x19
	bl	_lpphy_stop_ddfs
LBB0_15:
	mov	x0, x19
	mov	w1, #1
	bl	_lpphy_restore_crs
Lloh34:
	adrp	x8, _B43_LPPHY_RF_OVERRIDE_VAL_0@GOTPAGE
Lloh35:
	ldr	x8, [x8, _B43_LPPHY_RF_OVERRIDE_VAL_0@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x19
	ldr	w2, [sp, #28]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
Lloh37:
	adrp	x8, _B43_LPPHY_RF_OVERRIDE_0@GOTPAGE
Lloh38:
	ldr	x8, [x8, _B43_LPPHY_RF_OVERRIDE_0@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x0, x19
	ldr	w2, [sp, #44]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
Lloh40:
	adrp	x8, _B43_LPPHY_AFE_CTL_OVRVAL@GOTPAGE
Lloh41:
	ldr	x8, [x8, _B43_LPPHY_AFE_CTL_OVRVAL@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x19
	ldr	w2, [sp, #20]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
Lloh43:
	adrp	x8, _B43_LPPHY_AFE_CTL_OVR@GOTPAGE
Lloh44:
	ldr	x8, [x8, _B43_LPPHY_AFE_CTL_OVR@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	mov	x0, x19
	ldr	w2, [sp, #40]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
Lloh46:
	adrp	x8, _B43_LPPHY_RF_OVERRIDE_2_VAL@GOTPAGE
Lloh47:
	ldr	x8, [x8, _B43_LPPHY_RF_OVERRIDE_2_VAL@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	mov	x0, x19
	ldr	w2, [sp, #16]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
Lloh49:
	adrp	x8, _B43_LPPHY_RF_OVERRIDE_2@GOTPAGE
Lloh50:
	ldr	x8, [x8, _B43_LPPHY_RF_OVERRIDE_2@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	mov	x0, x19
	ldr	w2, [sp, #32]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
Lloh52:
	adrp	x8, _B43_LPPHY_LP_PHY_CTL@GOTPAGE
Lloh53:
	ldr	x8, [x8, _B43_LPPHY_LP_PHY_CTL@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	mov	x0, x19
	ldr	w2, [sp, #24]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	x0, x19
	ldr	w1, [sp, #48]                   ; 4-byte Folded Reload
	bl	_lpphy_set_bb_mult
	ldr	w8, [sp, #52]                   ; 4-byte Folded Reload
	tbz	w8, #6, LBB0_17
; %bb.16:
	mov	x0, x19
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	bl	_lpphy_set_tx_gains
LBB0_17:
	mov	x0, x19
	ldr	w1, [sp, #36]                   ; 4-byte Folded Reload
	bl	_lpphy_set_tx_power_control
	ldr	w8, [x25, #4]
	cbz	w8, LBB0_19
; %bb.18:
	mov	x0, x19
	bl	_lpphy_set_rc_cap
LBB0_19:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @lpphy_rev0_1_rc_calib.ideal_pwr_table
_lpphy_rev0_1_rc_calib.ideal_pwr_table:
	.long	65536                           ; 0x10000
	.long	66903                           ; 0x10557
	.long	69165                           ; 0x10e2d
	.long	70624                           ; 0x113e0
	.long	69410                           ; 0x10f22
	.long	65380                           ; 0xff64
	.long	60834                           ; 0xeda2
	.long	58836                           ; 0xe5d4
	.long	61393                           ; 0xefd1
	.long	64488                           ; 0xfbe8
	.long	47032                           ; 0xb7b8
	.long	19253                           ; 0x4b35
	.long	6750                            ; 0x1a5e
	.long	2571                            ; 0xa0b
	.long	1092                            ; 0x444
	.long	509                             ; 0x1fd
	.long	255                             ; 0xff
	.long	136                             ; 0x88
	.long	76                              ; 0x4c
	.long	44                              ; 0x2c
	.long	26                              ; 0x1a

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RC calib: Failed to switch to channel 7, error = %d\n"

	.comm	_B43_LPPHY_AFE_CTL_OVR,4,2      ; @B43_LPPHY_AFE_CTL_OVR
	.comm	_B43_LPPHY_RF_OVERRIDE_0,4,2    ; @B43_LPPHY_RF_OVERRIDE_0
	.comm	_B43_LPPHY_RF_OVERRIDE_VAL_0,4,2 ; @B43_LPPHY_RF_OVERRIDE_VAL_0
	.comm	_B43_LPPHY_AFE_CTL_OVRVAL,4,2   ; @B43_LPPHY_AFE_CTL_OVRVAL
	.comm	_B43_LPPHY_RF_OVERRIDE_2,4,2    ; @B43_LPPHY_RF_OVERRIDE_2
	.comm	_B43_LPPHY_RF_OVERRIDE_2_VAL,4,2 ; @B43_LPPHY_RF_OVERRIDE_2_VAL
	.comm	_B43_LPPHY_LP_PHY_CTL,4,2       ; @B43_LPPHY_LP_PHY_CTL
	.comm	_B43_LPPHY_TXPCTL_OFF,4,2       ; @B43_LPPHY_TXPCTL_OFF
	.comm	_B2062_N_RXBB_CALIB2,4,2        ; @B2062_N_RXBB_CALIB2
	.no_dead_strip	_lpphy_rev0_1_rc_calib
.subsections_via_symbols
