	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_nphy_rx_iq_est
_b43_nphy_rx_iq_est:                    ## @b43_nphy_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
	movl	%r8d, %r15d
	movl	%ecx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	_B43_NPHY_IQEST_SAMCNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_b43_phy_write
	movq	_B43_NPHY_IQEST_WT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_B43_NPHY_IQEST_WT_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	movq	%r13, %rdi
	movl	%r12d, %ecx
	callq	_b43_phy_maskset
	movq	_B43_NPHY_IQEST_CMD@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_B43_NPHY_IQEST_CMD_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	callq	_b43_phy_set
	jmp	LBB0_3
LBB0_2:
	notl	%edx
	movq	%r13, %rdi
	callq	_b43_phy_mask
LBB0_3:
	movl	(%r12), %esi
	movq	_B43_NPHY_IQEST_CMD_START@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%r13, %rdi
	callq	_b43_phy_set
	movl	$-1000, %ebx                    ## imm = 0xFC18
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	testl	%eax, (%r15)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$10, %edi
	callq	_udelay
	incl	%ebx
	jne	LBB0_4
## %bb.6:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memset                         ## TAILCALL
LBB0_7:
	movq	_B43_NPHY_IQEST_IPACC_HI0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movl	%eax, %r15d
	shll	$16, %r15d
	movq	_B43_NPHY_IQEST_IPACC_LO0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	orl	%r15d, %eax
	movl	%eax, (%r14)
	movq	_B43_NPHY_IQEST_QPACC_HI0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movl	%eax, %r15d
	shll	$16, %r15d
	movq	_B43_NPHY_IQEST_QPACC_LO0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	orl	%r15d, %eax
	movl	%eax, 4(%r14)
	movq	_B43_NPHY_IQEST_IQACC_HI0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movl	%eax, %r15d
	shll	$16, %r15d
	movq	_B43_NPHY_IQEST_IQACC_LO0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	orl	%r15d, %eax
	movl	%eax, 8(%r14)
	movq	_B43_NPHY_IQEST_IPACC_HI1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movl	%eax, %r15d
	shll	$16, %r15d
	movq	_B43_NPHY_IQEST_IPACC_LO1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	orl	%r15d, %eax
	movl	%eax, 12(%r14)
	movq	_B43_NPHY_IQEST_QPACC_HI1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movl	%eax, %r15d
	shll	$16, %r15d
	movq	_B43_NPHY_IQEST_QPACC_LO1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	orl	%r15d, %eax
	movl	%eax, 16(%r14)
	movq	_B43_NPHY_IQEST_IQACC_HI1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movl	%eax, %r15d
	shll	$16, %r15d
	movq	_B43_NPHY_IQEST_IQACC_LO1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	orl	%r15d, %eax
	movl	%eax, 20(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_NPHY_IQEST_SAMCNT,4,2      ## @B43_NPHY_IQEST_SAMCNT
	.comm	_B43_NPHY_IQEST_WT,4,2          ## @B43_NPHY_IQEST_WT
	.comm	_B43_NPHY_IQEST_WT_VAL,4,2      ## @B43_NPHY_IQEST_WT_VAL
	.comm	_B43_NPHY_IQEST_CMD,4,2         ## @B43_NPHY_IQEST_CMD
	.comm	_B43_NPHY_IQEST_CMD_MODE,4,2    ## @B43_NPHY_IQEST_CMD_MODE
	.comm	_B43_NPHY_IQEST_CMD_START,4,2   ## @B43_NPHY_IQEST_CMD_START
	.comm	_B43_NPHY_IQEST_IPACC_HI0,4,2   ## @B43_NPHY_IQEST_IPACC_HI0
	.comm	_B43_NPHY_IQEST_IPACC_LO0,4,2   ## @B43_NPHY_IQEST_IPACC_LO0
	.comm	_B43_NPHY_IQEST_QPACC_HI0,4,2   ## @B43_NPHY_IQEST_QPACC_HI0
	.comm	_B43_NPHY_IQEST_QPACC_LO0,4,2   ## @B43_NPHY_IQEST_QPACC_LO0
	.comm	_B43_NPHY_IQEST_IQACC_HI0,4,2   ## @B43_NPHY_IQEST_IQACC_HI0
	.comm	_B43_NPHY_IQEST_IQACC_LO0,4,2   ## @B43_NPHY_IQEST_IQACC_LO0
	.comm	_B43_NPHY_IQEST_IPACC_HI1,4,2   ## @B43_NPHY_IQEST_IPACC_HI1
	.comm	_B43_NPHY_IQEST_IPACC_LO1,4,2   ## @B43_NPHY_IQEST_IPACC_LO1
	.comm	_B43_NPHY_IQEST_QPACC_HI1,4,2   ## @B43_NPHY_IQEST_QPACC_HI1
	.comm	_B43_NPHY_IQEST_QPACC_LO1,4,2   ## @B43_NPHY_IQEST_QPACC_LO1
	.comm	_B43_NPHY_IQEST_IQACC_HI1,4,2   ## @B43_NPHY_IQEST_IQACC_HI1
	.comm	_B43_NPHY_IQEST_IQACC_LO1,4,2   ## @B43_NPHY_IQEST_IQACC_LO1
	.no_dead_strip	_b43_nphy_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 b43_nphy_rx_iq_est
_b43_nphy_rx_iq_est:                    ; @b43_nphy_rx_iq_est
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x4
	mov	x22, x3
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _B43_NPHY_IQEST_SAMCNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43_NPHY_IQEST_SAMCNT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_b43_phy_write
Lloh3:
	adrp	x8, _B43_NPHY_IQEST_WT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B43_NPHY_IQEST_WT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _B43_NPHY_IQEST_WT_VAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _B43_NPHY_IQEST_WT_VAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	mvn	w2, w8
	mov	x0, x20
	mov	x3, x22
	bl	_b43_phy_maskset
Lloh9:
	adrp	x22, _B43_NPHY_IQEST_CMD@GOTPAGE
Lloh10:
	ldr	x22, [x22, _B43_NPHY_IQEST_CMD@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh11:
	adrp	x8, _B43_NPHY_IQEST_CMD_MODE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _B43_NPHY_IQEST_CMD_MODE@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	cbz	w21, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_b43_phy_set
	b	LBB0_3
LBB0_2:
	mvn	w2, w2
	mov	x0, x20
	bl	_b43_phy_mask
LBB0_3:
	ldr	w1, [x22]
Lloh14:
	adrp	x21, _B43_NPHY_IQEST_CMD_START@GOTPAGE
Lloh15:
	ldr	x21, [x21, _B43_NPHY_IQEST_CMD_START@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x20
	bl	_b43_phy_set
	mov	w23, #-1000
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x20
	bl	_b43_phy_read
	ldr	w8, [x21]
	tst	w8, w0
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #10
	bl	_udelay
	adds	w23, w23, #1
	b.lo	LBB0_4
; %bb.6:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #24
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_memset
LBB0_7:
Lloh16:
	adrp	x8, _B43_NPHY_IQEST_IPACC_HI0@GOTPAGE
Lloh17:
	ldr	x8, [x8, _B43_NPHY_IQEST_IPACC_HI0@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_b43_phy_read
	mov	x21, x0
Lloh19:
	adrp	x8, _B43_NPHY_IQEST_IPACC_LO0@GOTPAGE
Lloh20:
	ldr	x8, [x8, _B43_NPHY_IQEST_IPACC_LO0@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_b43_phy_read
	orr	w8, w0, w21, lsl #16
	str	w8, [x19]
Lloh22:
	adrp	x8, _B43_NPHY_IQEST_QPACC_HI0@GOTPAGE
Lloh23:
	ldr	x8, [x8, _B43_NPHY_IQEST_QPACC_HI0@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_b43_phy_read
	mov	x21, x0
Lloh25:
	adrp	x8, _B43_NPHY_IQEST_QPACC_LO0@GOTPAGE
Lloh26:
	ldr	x8, [x8, _B43_NPHY_IQEST_QPACC_LO0@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_b43_phy_read
	orr	w8, w0, w21, lsl #16
	str	w8, [x19, #4]
Lloh28:
	adrp	x8, _B43_NPHY_IQEST_IQACC_HI0@GOTPAGE
Lloh29:
	ldr	x8, [x8, _B43_NPHY_IQEST_IQACC_HI0@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_b43_phy_read
	mov	x21, x0
Lloh31:
	adrp	x8, _B43_NPHY_IQEST_IQACC_LO0@GOTPAGE
Lloh32:
	ldr	x8, [x8, _B43_NPHY_IQEST_IQACC_LO0@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_b43_phy_read
	orr	w8, w0, w21, lsl #16
	str	w8, [x19, #8]
Lloh34:
	adrp	x8, _B43_NPHY_IQEST_IPACC_HI1@GOTPAGE
Lloh35:
	ldr	x8, [x8, _B43_NPHY_IQEST_IPACC_HI1@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_b43_phy_read
	mov	x21, x0
Lloh37:
	adrp	x8, _B43_NPHY_IQEST_IPACC_LO1@GOTPAGE
Lloh38:
	ldr	x8, [x8, _B43_NPHY_IQEST_IPACC_LO1@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_b43_phy_read
	orr	w8, w0, w21, lsl #16
	str	w8, [x19, #12]
Lloh40:
	adrp	x8, _B43_NPHY_IQEST_QPACC_HI1@GOTPAGE
Lloh41:
	ldr	x8, [x8, _B43_NPHY_IQEST_QPACC_HI1@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_b43_phy_read
	mov	x21, x0
Lloh43:
	adrp	x8, _B43_NPHY_IQEST_QPACC_LO1@GOTPAGE
Lloh44:
	ldr	x8, [x8, _B43_NPHY_IQEST_QPACC_LO1@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_b43_phy_read
	orr	w8, w0, w21, lsl #16
	str	w8, [x19, #16]
Lloh46:
	adrp	x8, _B43_NPHY_IQEST_IQACC_HI1@GOTPAGE
Lloh47:
	ldr	x8, [x8, _B43_NPHY_IQEST_IQACC_HI1@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_b43_phy_read
	mov	x21, x0
Lloh49:
	adrp	x8, _B43_NPHY_IQEST_IQACC_LO1@GOTPAGE
Lloh50:
	ldr	x8, [x8, _B43_NPHY_IQEST_IQACC_LO1@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_b43_phy_read
	orr	w8, w0, w21, lsl #16
	str	w8, [x19, #20]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_NPHY_IQEST_SAMCNT,4,2      ; @B43_NPHY_IQEST_SAMCNT
	.comm	_B43_NPHY_IQEST_WT,4,2          ; @B43_NPHY_IQEST_WT
	.comm	_B43_NPHY_IQEST_WT_VAL,4,2      ; @B43_NPHY_IQEST_WT_VAL
	.comm	_B43_NPHY_IQEST_CMD,4,2         ; @B43_NPHY_IQEST_CMD
	.comm	_B43_NPHY_IQEST_CMD_MODE,4,2    ; @B43_NPHY_IQEST_CMD_MODE
	.comm	_B43_NPHY_IQEST_CMD_START,4,2   ; @B43_NPHY_IQEST_CMD_START
	.comm	_B43_NPHY_IQEST_IPACC_HI0,4,2   ; @B43_NPHY_IQEST_IPACC_HI0
	.comm	_B43_NPHY_IQEST_IPACC_LO0,4,2   ; @B43_NPHY_IQEST_IPACC_LO0
	.comm	_B43_NPHY_IQEST_QPACC_HI0,4,2   ; @B43_NPHY_IQEST_QPACC_HI0
	.comm	_B43_NPHY_IQEST_QPACC_LO0,4,2   ; @B43_NPHY_IQEST_QPACC_LO0
	.comm	_B43_NPHY_IQEST_IQACC_HI0,4,2   ; @B43_NPHY_IQEST_IQACC_HI0
	.comm	_B43_NPHY_IQEST_IQACC_LO0,4,2   ; @B43_NPHY_IQEST_IQACC_LO0
	.comm	_B43_NPHY_IQEST_IPACC_HI1,4,2   ; @B43_NPHY_IQEST_IPACC_HI1
	.comm	_B43_NPHY_IQEST_IPACC_LO1,4,2   ; @B43_NPHY_IQEST_IPACC_LO1
	.comm	_B43_NPHY_IQEST_QPACC_HI1,4,2   ; @B43_NPHY_IQEST_QPACC_HI1
	.comm	_B43_NPHY_IQEST_QPACC_LO1,4,2   ; @B43_NPHY_IQEST_QPACC_LO1
	.comm	_B43_NPHY_IQEST_IQACC_HI1,4,2   ; @B43_NPHY_IQEST_IQACC_HI1
	.comm	_B43_NPHY_IQEST_IQACC_LO1,4,2   ; @B43_NPHY_IQEST_IQACC_LO1
	.no_dead_strip	_b43_nphy_rx_iq_est
.subsections_via_symbols
