	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpphy_rev2plus_rc_calib
_lpphy_rev2plus_rc_calib:               ## @lpphy_rev2plus_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_B2063_RX_BB_SP8@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_b43_radio_read
	movzbl	%al, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r15), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_b43_radio_write
	movq	_B2063_RC_CALIB_CTL1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$126, %edx
	callq	_b43_radio_write
	movq	_B2063_PLL_SP1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$247, %edx
	callq	_b43_radio_mask
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$124, %edx
	callq	_b43_radio_write
	movq	_B2063_RC_CALIB_CTL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$21, %edx
	callq	_b43_radio_write
	movq	_B2063_RC_CALIB_CTL3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$112, %edx
	callq	_b43_radio_write
	movq	_B2063_RC_CALIB_CTL4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$82, %edx
	callq	_b43_radio_write
	movq	_B2063_RC_CALIB_CTL5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_b43_radio_write
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$125, %edx
	callq	_b43_radio_write
	movl	$10000, %r14d                   ## imm = 0x2710
	movq	_B2063_RC_CALIB_CTL6@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_b43_radio_read
	testb	$2, %al
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %edi
	callq	_msleep
	decl	%r14d
	jne	LBB0_1
LBB0_3:
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_b43_radio_read
	testb	$2, %al
	jne	LBB0_5
## %bb.4:
	movl	(%r15), %esi
	movq	%r12, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_radio_write
LBB0_5:
	movq	_B2063_TX_BB_SP3@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_b43_radio_read
	movzbl	%al, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r14), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_b43_radio_write
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$126, %edx
	callq	_b43_radio_write
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$124, %edx
	callq	_b43_radio_write
	movq	_B2063_RC_CALIB_CTL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$85, %edx
	callq	_b43_radio_write
	movq	_B2063_RC_CALIB_CTL3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$118, %edx
	callq	_b43_radio_write
	xorl	%r15d, %r15d
	cmpl	$24000, -48(%rbp)               ## 4-byte Folded Reload
                                        ## imm = 0x5DC0
	setne	%r15b
	movq	_B2063_RC_CALIB_CTL4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$252, %eax
	movl	$19, %edx
	cmovel	%eax, %edx
	movq	%r12, %rdi
	callq	_b43_radio_write
	movq	_B2063_RC_CALIB_CTL5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_b43_radio_write
	movq	_B2063_PA_SP7@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$125, %edx
	callq	_b43_radio_write
	movl	$10000, %ebx                    ## imm = 0x2710
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_b43_radio_read
	testb	$2, %al
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %edi
	callq	_msleep
	decl	%ebx
	jne	LBB0_6
LBB0_8:
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_b43_radio_read
	testb	$2, %al
	jne	LBB0_10
## %bb.9:
	movl	(%r14), %esi
	movq	%r12, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_radio_write
LBB0_10:
	movq	_B2063_RC_CALIB_CTL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$126, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43_radio_write                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B2063_RX_BB_SP8,4,2            ## @B2063_RX_BB_SP8
	.comm	_B2063_RC_CALIB_CTL1,4,2        ## @B2063_RC_CALIB_CTL1
	.comm	_B2063_PLL_SP1,4,2              ## @B2063_PLL_SP1
	.comm	_B2063_RC_CALIB_CTL2,4,2        ## @B2063_RC_CALIB_CTL2
	.comm	_B2063_RC_CALIB_CTL3,4,2        ## @B2063_RC_CALIB_CTL3
	.comm	_B2063_RC_CALIB_CTL4,4,2        ## @B2063_RC_CALIB_CTL4
	.comm	_B2063_RC_CALIB_CTL5,4,2        ## @B2063_RC_CALIB_CTL5
	.comm	_B2063_RC_CALIB_CTL6,4,2        ## @B2063_RC_CALIB_CTL6
	.comm	_B2063_TX_BB_SP3,4,2            ## @B2063_TX_BB_SP3
	.comm	_B2063_PA_SP7,4,2               ## @B2063_PA_SP7
	.no_dead_strip	_lpphy_rev2plus_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_rev2plus_rc_calib
_lpphy_rev2plus_rc_calib:               ; @lpphy_rev2plus_rc_calib
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
Lloh0:
	adrp	x25, _B2063_RX_BB_SP8@GOTPAGE
Lloh1:
	ldr	x25, [x25, _B2063_RX_BB_SP8@GOTPAGEOFF]
	ldr	w1, [x25]
	bl	_b43_radio_read
	and	w20, w0, #0xff
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #0
	bl	_b43_radio_write
Lloh2:
	adrp	x22, _B2063_RC_CALIB_CTL1@GOTPAGE
Lloh3:
	ldr	x22, [x22, _B2063_RC_CALIB_CTL1@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #126
	bl	_b43_radio_write
Lloh4:
	adrp	x8, _B2063_PLL_SP1@GOTPAGE
Lloh5:
	ldr	x8, [x8, _B2063_PLL_SP1@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #247
	bl	_b43_radio_mask
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #124
	bl	_b43_radio_write
Lloh7:
	adrp	x27, _B2063_RC_CALIB_CTL2@GOTPAGE
Lloh8:
	ldr	x27, [x27, _B2063_RC_CALIB_CTL2@GOTPAGEOFF]
	ldr	w1, [x27]
	mov	x0, x19
	mov	w2, #21
	bl	_b43_radio_write
Lloh9:
	adrp	x28, _B2063_RC_CALIB_CTL3@GOTPAGE
Lloh10:
	ldr	x28, [x28, _B2063_RC_CALIB_CTL3@GOTPAGEOFF]
	ldr	w1, [x28]
	mov	x0, x19
	mov	w2, #112
	bl	_b43_radio_write
Lloh11:
	adrp	x24, _B2063_RC_CALIB_CTL4@GOTPAGE
Lloh12:
	ldr	x24, [x24, _B2063_RC_CALIB_CTL4@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #82
	bl	_b43_radio_write
Lloh13:
	adrp	x26, _B2063_RC_CALIB_CTL5@GOTPAGE
Lloh14:
	ldr	x26, [x26, _B2063_RC_CALIB_CTL5@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #1
	bl	_b43_radio_write
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #125
	bl	_b43_radio_write
	mov	w21, #10000
Lloh15:
	adrp	x23, _B2063_RC_CALIB_CTL6@GOTPAGE
Lloh16:
	ldr	x23, [x23, _B2063_RC_CALIB_CTL6@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	mov	x0, x19
	bl	_b43_radio_read
	tbnz	w0, #1, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #1
	bl	_msleep
	subs	w21, w21, #1
	b.ne	LBB0_1
LBB0_3:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_b43_radio_read
	tbnz	w0, #1, LBB0_5
; %bb.4:
	ldr	w1, [x25]
	mov	x0, x19
	mov	x2, x20
	bl	_b43_radio_write
LBB0_5:
Lloh17:
	adrp	x25, _B2063_TX_BB_SP3@GOTPAGE
Lloh18:
	ldr	x25, [x25, _B2063_TX_BB_SP3@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x19
	bl	_b43_radio_read
	and	w20, w0, #0xff
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #0
	bl	_b43_radio_write
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #126
	bl	_b43_radio_write
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #124
	bl	_b43_radio_write
	ldr	w1, [x27]
	mov	x0, x19
	mov	w2, #85
	bl	_b43_radio_write
	ldr	w1, [x28]
	mov	x0, x19
	mov	w2, #118
	bl	_b43_radio_write
	mov	w8, #24000
	mov	w9, #19
	mov	w10, #252
	ldr	w11, [sp, #12]                  ; 4-byte Folded Reload
	cmp	w11, w8
	csel	w2, w10, w9, eq
	cset	w21, ne
	ldr	w1, [x24]
	mov	x0, x19
	bl	_b43_radio_write
	ldr	w1, [x26]
	mov	x0, x19
	mov	x2, x21
	bl	_b43_radio_write
Lloh19:
	adrp	x8, _B2063_PA_SP7@GOTPAGE
Lloh20:
	ldr	x8, [x8, _B2063_PA_SP7@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #125
	bl	_b43_radio_write
	mov	w21, #10000
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	mov	x0, x19
	bl	_b43_radio_read
	tbnz	w0, #1, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
	bl	_msleep
	subs	w21, w21, #1
	b.ne	LBB0_6
LBB0_8:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_b43_radio_read
	tbnz	w0, #1, LBB0_10
; %bb.9:
	ldr	w1, [x25]
	mov	x0, x19
	mov	x2, x20
	bl	_b43_radio_write
LBB0_10:
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #126
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_b43_radio_write
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_B2063_RX_BB_SP8,4,2            ; @B2063_RX_BB_SP8
	.comm	_B2063_RC_CALIB_CTL1,4,2        ; @B2063_RC_CALIB_CTL1
	.comm	_B2063_PLL_SP1,4,2              ; @B2063_PLL_SP1
	.comm	_B2063_RC_CALIB_CTL2,4,2        ; @B2063_RC_CALIB_CTL2
	.comm	_B2063_RC_CALIB_CTL3,4,2        ; @B2063_RC_CALIB_CTL3
	.comm	_B2063_RC_CALIB_CTL4,4,2        ; @B2063_RC_CALIB_CTL4
	.comm	_B2063_RC_CALIB_CTL5,4,2        ; @B2063_RC_CALIB_CTL5
	.comm	_B2063_RC_CALIB_CTL6,4,2        ; @B2063_RC_CALIB_CTL6
	.comm	_B2063_TX_BB_SP3,4,2            ; @B2063_TX_BB_SP3
	.comm	_B2063_PA_SP7,4,2               ; @B2063_PA_SP7
	.no_dead_strip	_lpphy_rev2plus_rc_calib
.subsections_via_symbols
