	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__rtl92cu_phy_lc_calibrate      ## -- Begin function _rtl92cu_phy_lc_calibrate
	.p2align	4, 0x90
__rtl92cu_phy_lc_calibrate:             ## @_rtl92cu_phy_lc_calibrate
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	callq	_rtl_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$3331, %esi                     ## imm = 0xD03
	callq	_rtl_read_byte
	movl	%eax, %r12d
	testb	$112, %r12b
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movl	%r12d, %edx
	andl	$143, %edx
	movq	%rbx, %rdi
	movl	$3331, %esi                     ## imm = 0xD03
	callq	_rtl_write_byte
	movq	_RF90_PATH_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %ebx
	movq	_MASK12BITS@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_rtl_get_rfreg
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.3:
	movq	_RF90_PATH_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %ecx
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_rtl_get_rfreg
	movl	%eax, %r13d
LBB0_4:
	movq	_RF90_PATH_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	andl	$589823, %r8d                   ## imm = 0x8FFFF
	orl	$65536, %r8d                    ## imm = 0x10000
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_rtl_set_rfreg
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_5
## %bb.6:
	movq	_RF90_PATH_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %ecx
	movl	%r13d, %ebx
	movl	%r13d, %r8d
	andl	$589823, %r8d                   ## imm = 0x8FFFF
	orl	$65536, %r8d                    ## imm = 0x10000
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_rtl_set_rfreg
	jmp	LBB0_7
LBB0_1:
	movq	_REG_TXPAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$255, %edx
	callq	_rtl_write_byte
	xorl	%ebx, %ebx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_7
LBB0_5:
	movl	%r13d, %ebx
LBB0_7:
	movq	_RF90_PATH_A@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_MASK12BITS@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	movq	%r15, %rdi
	movl	$24, %edx
	callq	_rtl_get_rfreg
	movl	(%r13), %esi
	movl	(%r14), %ecx
	orl	$32768, %eax                    ## imm = 0x8000
	movq	%r15, %rdi
	movl	$24, %edx
	movl	%eax, %r8d
	callq	_rtl_set_rfreg
	movl	$100, %edi
	callq	_mdelay
	testb	$112, %r12b
	je	LBB0_10
## %bb.8:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$3331, %esi                     ## imm = 0xD03
	movl	%r12d, %edx
	callq	_rtl_write_byte
	movl	(%r13), %esi
	movl	(%r14), %ecx
	movq	%r15, %rdi
	xorl	%edx, %edx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_rtl_set_rfreg
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.9:
	movq	_RF90_PATH_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %ecx
	movq	%r15, %rdi
	xorl	%edx, %edx
	movl	%ebx, %r8d
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_set_rfreg                  ## TAILCALL
LBB0_10:
	movq	_REG_TXPAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%edx, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_write_byte                 ## TAILCALL
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_TXPAUSE,4,2                ## @REG_TXPAUSE
	.comm	_RF90_PATH_A,4,2                ## @RF90_PATH_A
	.comm	_MASK12BITS,4,2                 ## @MASK12BITS
	.comm	_RF90_PATH_B,4,2                ## @RF90_PATH_B
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__rtl92cu_phy_lc_calibrate      ; -- Begin function _rtl92cu_phy_lc_calibrate
	.p2align	2
__rtl92cu_phy_lc_calibrate:             ; @_rtl92cu_phy_lc_calibrate
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x1
	mov	x19, x0
	bl	_rtl_priv
	mov	x21, x0
	mov	w1, #3331
	bl	_rtl_read_byte
	mov	x22, x0
Lloh0:
	adrp	x27, _RF90_PATH_A@GOTPAGE
Lloh1:
	ldr	x27, [x27, _RF90_PATH_A@GOTPAGEOFF]
Lloh2:
	adrp	x25, _MASK12BITS@GOTPAGE
Lloh3:
	ldr	x25, [x25, _MASK12BITS@GOTPAGEOFF]
Lloh4:
	adrp	x24, _RF90_PATH_B@GOTPAGE
Lloh5:
	ldr	x24, [x24, _RF90_PATH_B@GOTPAGEOFF]
	ands	w28, w0, #0x70
	b.eq	LBB0_3
; %bb.1:
	mov	w8, #143
	and	w2, w22, w8
	mov	x0, x21
	mov	w1, #3331
	bl	_rtl_write_byte
	ldr	w1, [x27]
	ldr	w3, [x25]
	mov	x0, x19
	mov	w2, #0
	bl	_rtl_get_rfreg
	mov	x23, x0
	cbz	w20, LBB0_4
; %bb.2:
	ldr	w1, [x24]
	ldr	w3, [x25]
	mov	x0, x19
	mov	w2, #0
	bl	_rtl_get_rfreg
	mov	x24, x0
	b	LBB0_5
LBB0_3:
Lloh6:
	adrp	x8, _REG_TXPAUSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REG_TXPAUSE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #255
	bl	_rtl_write_byte
	mov	w24, #0
	mov	w23, #0
	b	LBB0_7
LBB0_4:
	mov	w24, #0
LBB0_5:
	mov	w26, #589823
	ldr	w1, [x27]
	ldr	w3, [x25]
	and	w8, w23, w26
	orr	w4, w8, #0x10000
	mov	x0, x19
	mov	w2, #0
	bl	_rtl_set_rfreg
	cbz	w20, LBB0_7
; %bb.6:
Lloh9:
	adrp	x8, _RF90_PATH_B@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RF90_PATH_B@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w3, [x25]
	and	w8, w24, w26
	orr	w4, w8, #0x10000
	mov	x0, x19
	mov	w2, #0
	bl	_rtl_set_rfreg
LBB0_7:
	ldr	w1, [x27]
	ldr	w3, [x25]
	mov	x0, x19
	mov	w2, #24
	bl	_rtl_get_rfreg
	ldr	w1, [x27]
	ldr	w3, [x25]
	orr	w4, w0, #0x8000
	mov	x0, x19
	mov	w2, #24
	bl	_rtl_set_rfreg
	mov	w0, #100
	bl	_mdelay
	cbz	w28, LBB0_10
; %bb.8:
	mov	x0, x21
	mov	w1, #3331
	mov	x2, x22
	bl	_rtl_write_byte
	ldr	w1, [x27]
	ldr	w3, [x25]
	mov	x0, x19
	mov	w2, #0
	mov	x4, x23
	bl	_rtl_set_rfreg
	cbz	w20, LBB0_11
; %bb.9:
Lloh12:
	adrp	x8, _RF90_PATH_B@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RF90_PATH_B@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w3, [x25]
	mov	x0, x19
	mov	w2, #0
	mov	x4, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_rtl_set_rfreg
LBB0_10:
Lloh15:
	adrp	x8, _REG_TXPAUSE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REG_TXPAUSE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_rtl_write_byte
LBB0_11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_TXPAUSE,4,2                ; @REG_TXPAUSE
	.comm	_RF90_PATH_A,4,2                ; @RF90_PATH_A
	.comm	_MASK12BITS,4,2                 ; @MASK12BITS
	.comm	_RF90_PATH_B,4,2                ; @RF90_PATH_B
.subsections_via_symbols
