	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlc_lcnphy_rc_cal
_wlc_lcnphy_rc_cal:                     ## @wlc_lcnphy_rc_cal
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	(%rdi), %edi
	movl	$1, %esi
	callq	_LCNREV_IS
	testq	%rax, %rax
	movl	$7399, %eax                     ## imm = 0x1CE7
	movl	$11627, %ebx                    ## imm = 0x2D6B
	cmovel	%eax, %ebx
	movq	%r14, %rdi
	movl	$2355, %esi                     ## imm = 0x933
	movl	%ebx, %edx
	callq	_write_phy_reg
	movq	%r14, %rdi
	movl	$2356, %esi                     ## imm = 0x934
	movl	%ebx, %edx
	callq	_write_phy_reg
	movq	%r14, %rdi
	movl	$2357, %esi                     ## imm = 0x935
	movl	%ebx, %edx
	callq	_write_phy_reg
	movq	%r14, %rdi
	movl	$2358, %esi                     ## imm = 0x936
	movl	%ebx, %edx
	callq	_write_phy_reg
	andl	$495, %ebx                      ## imm = 0x1EF
	movq	%r14, %rdi
	movl	$2359, %esi                     ## imm = 0x937
	movl	%ebx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_write_phy_reg                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_wlc_lcnphy_rc_cal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlc_lcnphy_rc_cal
_wlc_lcnphy_rc_cal:                     ; @wlc_lcnphy_rc_cal
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0]
	mov	w1, #1
	bl	_LCNREV_IS
	cmp	x0, #0
	mov	w8, #11627
	mov	w9, #7399
	csel	w20, w9, w8, eq
	mov	x0, x19
	mov	w1, #2355
	mov	x2, x20
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #2356
	mov	x2, x20
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #2357
	mov	x2, x20
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #2358
	mov	x2, x20
	bl	_write_phy_reg
	and	w2, w20, #0x3ff
	mov	x0, x19
	mov	w1, #2359
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_write_phy_reg
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_wlc_lcnphy_rc_cal
.subsections_via_symbols
