	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlc_lcnphy_rcal
_wlc_lcnphy_rcal:                       ## @wlc_lcnphy_rcal
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_RADIO_2064_REG05B@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	$253, %edx
	callq	_and_radio_reg
	movq	_RADIO_2064_REG004@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$64, %edx
	callq	_or_radio_reg
	movq	_RADIO_2064_REG120@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$16, %edx
	callq	_or_radio_reg
	movq	_RADIO_2064_REG078@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$128, %edx
	callq	_or_radio_reg
	movq	_RADIO_2064_REG129@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_or_radio_reg
	movq	_RADIO_2064_REG057@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_or_radio_reg
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_or_radio_reg
	movl	$5, %edi
	callq	_mdelay
	movq	%rbx, %rdi
	callq	_wlc_radio_2064_rcal_done
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	movl	$10000000, %esi                 ## imm = 0x989680
	callq	_SPINWAIT
	movq	%rbx, %rdi
	callq	_wlc_radio_2064_rcal_done
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_RADIO_2064_REG05C@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_read_radio_reg
LBB0_2:
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$253, %edx
	callq	_and_radio_reg
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$254, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_and_radio_reg                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RADIO_2064_REG05B,4,2          ## @RADIO_2064_REG05B
	.comm	_RADIO_2064_REG004,4,2          ## @RADIO_2064_REG004
	.comm	_RADIO_2064_REG120,4,2          ## @RADIO_2064_REG120
	.comm	_RADIO_2064_REG078,4,2          ## @RADIO_2064_REG078
	.comm	_RADIO_2064_REG129,4,2          ## @RADIO_2064_REG129
	.comm	_RADIO_2064_REG057,4,2          ## @RADIO_2064_REG057
	.comm	_RADIO_2064_REG05C,4,2          ## @RADIO_2064_REG05C
	.no_dead_strip	_wlc_lcnphy_rcal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlc_lcnphy_rcal
_wlc_lcnphy_rcal:                       ; @wlc_lcnphy_rcal
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _RADIO_2064_REG05B@GOTPAGE
Lloh1:
	ldr	x20, [x20, _RADIO_2064_REG05B@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	w2, #253
	bl	_and_radio_reg
Lloh2:
	adrp	x8, _RADIO_2064_REG004@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RADIO_2064_REG004@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #64
	bl	_or_radio_reg
Lloh5:
	adrp	x8, _RADIO_2064_REG120@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RADIO_2064_REG120@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #16
	bl	_or_radio_reg
Lloh8:
	adrp	x8, _RADIO_2064_REG078@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RADIO_2064_REG078@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #128
	bl	_or_radio_reg
Lloh11:
	adrp	x8, _RADIO_2064_REG129@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RADIO_2064_REG129@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2
	bl	_or_radio_reg
Lloh14:
	adrp	x21, _RADIO_2064_REG057@GOTPAGE
Lloh15:
	ldr	x21, [x21, _RADIO_2064_REG057@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #1
	bl	_or_radio_reg
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #2
	bl	_or_radio_reg
	mov	w0, #5
	bl	_mdelay
	mov	x0, x19
	bl	_wlc_radio_2064_rcal_done
	cmp	x0, #0
	cset	w0, eq
	mov	w1, #38528
	movk	w1, #152, lsl #16
	bl	_SPINWAIT
	mov	x0, x19
	bl	_wlc_radio_2064_rcal_done
	cbz	x0, LBB0_2
; %bb.1:
Lloh16:
	adrp	x8, _RADIO_2064_REG05C@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RADIO_2064_REG05C@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_read_radio_reg
LBB0_2:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #253
	bl	_and_radio_reg
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #254
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_and_radio_reg
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_RADIO_2064_REG05B,4,2          ; @RADIO_2064_REG05B
	.comm	_RADIO_2064_REG004,4,2          ; @RADIO_2064_REG004
	.comm	_RADIO_2064_REG120,4,2          ; @RADIO_2064_REG120
	.comm	_RADIO_2064_REG078,4,2          ; @RADIO_2064_REG078
	.comm	_RADIO_2064_REG129,4,2          ; @RADIO_2064_REG129
	.comm	_RADIO_2064_REG057,4,2          ; @RADIO_2064_REG057
	.comm	_RADIO_2064_REG05C,4,2          ; @RADIO_2064_REG05C
	.no_dead_strip	_wlc_lcnphy_rcal
.subsections_via_symbols
