	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlc_lcnphy_rx_iq_est
_wlc_lcnphy_rx_iq_est:                  ## @wlc_lcnphy_rx_iq_est
	.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	%rcx, %r14
	movq	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %r13
	movl	$1754, %esi                     ## imm = 0x6DA
	movl	$32, %edx
	movl	$32, %ecx
	callq	_mod_phy_reg
	movq	%r13, %rdi
	movl	$1040, %esi                     ## imm = 0x410
	movl	$8, %edx
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	%r13, %rdi
	movl	$1154, %esi                     ## imm = 0x482
	movl	$65535, %edx                    ## imm = 0xFFFF
	movl	%r12d, %ecx
	callq	_mod_phy_reg
	movq	%r13, %rdi
	movl	$1153, %esi                     ## imm = 0x481
	movl	$255, %edx
	movl	%r15d, %ecx
	callq	_mod_phy_reg
	movq	%r13, %rdi
	movl	$1153, %esi                     ## imm = 0x481
	movl	$256, %edx                      ## imm = 0x100
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	%r13, %rdi
	movl	$1153, %esi                     ## imm = 0x481
	movl	$512, %edx                      ## imm = 0x200
	movl	$512, %ecx                      ## imm = 0x200
	callq	_mod_phy_reg
	movq	%r13, %rdi
	movl	$1153, %esi                     ## imm = 0x481
	callq	_read_phy_reg
	testl	$512, %eax                      ## imm = 0x200
	je	LBB0_5
## %bb.1:
	movl	$5002, %ebx                     ## imm = 0x138A
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	decl	%ebx
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$100, %edi
	callq	_udelay
	movq	%r13, %rdi
	movl	$1153, %esi                     ## imm = 0x481
	callq	_read_phy_reg
	testl	$512, %eax                      ## imm = 0x200
	jne	LBB0_2
LBB0_5:
	movq	%r13, %rdi
	movl	$1155, %esi                     ## imm = 0x483
	callq	_read_phy_reg
	movl	%eax, %r15d
	shll	$16, %r15d
	movq	%r13, %rdi
	movl	$1156, %esi                     ## imm = 0x484
	callq	_read_phy_reg
	orl	%r15d, %eax
	movl	%eax, (%r14)
	movq	%r13, %rdi
	movl	$1157, %esi                     ## imm = 0x485
	callq	_read_phy_reg
	movl	%eax, %r15d
	shll	$16, %r15d
	movq	%r13, %rdi
	movl	$1158, %esi                     ## imm = 0x486
	callq	_read_phy_reg
	orl	%r15d, %eax
	movl	%eax, 4(%r14)
	movq	%r13, %rdi
	movl	$1159, %esi                     ## imm = 0x487
	callq	_read_phy_reg
	movl	%eax, %r15d
	shll	$16, %r15d
	movq	%r13, %rdi
	movl	$1160, %esi                     ## imm = 0x488
	callq	_read_phy_reg
	orl	%r15d, %eax
	movl	%eax, 8(%r14)
	movl	$1, %r14d
	jmp	LBB0_6
LBB0_3:
	xorl	%r14d, %r14d
LBB0_6:
	movq	%r13, %rdi
	movl	$1040, %esi                     ## imm = 0x410
	movl	$8, %edx
	movl	$8, %ecx
	callq	_mod_phy_reg
	movq	%r13, %rdi
	movl	$1754, %esi                     ## imm = 0x6DA
	movl	$32, %edx
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_wlc_lcnphy_rx_iq_est
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlc_lcnphy_rx_iq_est
_wlc_lcnphy_rx_iq_est:                  ; @wlc_lcnphy_rx_iq_est
	.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	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	mov	w1, #1754
	mov	w2, #32
	mov	w3, #32
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1040
	mov	w2, #8
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1154
	mov	w2, #65535
	mov	x3, x22
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1153
	mov	w2, #255
	mov	x3, x21
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1153
	mov	w2, #256
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1153
	mov	w2, #512
	mov	w3, #512
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1153
	bl	_read_phy_reg
	tbz	w0, #9, LBB0_4
; %bb.1:
	mov	w21, #5002
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	subs	w21, w21, #1
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #100
	bl	_udelay
	mov	x0, x19
	mov	w1, #1153
	bl	_read_phy_reg
	tbnz	w0, #9, LBB0_2
LBB0_4:
	mov	x0, x19
	mov	w1, #1155
	bl	_read_phy_reg
	mov	x21, x0
	mov	x0, x19
	mov	w1, #1156
	bl	_read_phy_reg
	orr	w8, w0, w21, lsl #16
	str	w8, [x20]
	mov	x0, x19
	mov	w1, #1157
	bl	_read_phy_reg
	mov	x21, x0
	mov	x0, x19
	mov	w1, #1158
	bl	_read_phy_reg
	orr	w8, w0, w21, lsl #16
	str	w8, [x20, #4]
	mov	x0, x19
	mov	w1, #1159
	bl	_read_phy_reg
	mov	x21, x0
	mov	x0, x19
	mov	w1, #1160
	bl	_read_phy_reg
	orr	w8, w0, w21, lsl #16
	str	w8, [x20, #8]
	mov	w20, #1
	b	LBB0_6
LBB0_5:
	mov	w20, #0
LBB0_6:
	mov	x0, x19
	mov	w1, #1040
	mov	w2, #8
	mov	w3, #8
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #1754
	mov	w2, #32
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x20
	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
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_wlc_lcnphy_rx_iq_est
.subsections_via_symbols
