	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lo_measure_feedthrough
_lo_measure_feedthrough:                ## @lo_measure_feedthrough
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rdi, %r14
	cmpq	$0, 16(%rdi)
	je	LBB0_5
## %bb.1:
	movl	%ecx, %r15d
	movl	%esi, %r12d
	movq	_B43_PHY_RFOVERVAL_LNA_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r12d
	movq	_B43_PHY_RFOVERVAL_PGA_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	movq	_B43_PHY_RFOVERVAL_LNA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%edi
	andl	%r12d, %edi
	callq	_B43_WARN_ON
	movq	_B43_PHY_RFOVERVAL_PGA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%edi
	andl	%ebx, %edi
	callq	_B43_WARN_ON
	movq	_B43_PHY_RFOVERVAL_TRSWRX@GOTPCREL(%rip), %rax
	movq	_B43_PHY_RFOVERVAL_BW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_B43_PHY_RFOVERVAL_UNK@GOTPCREL(%rip), %rax
	orl	%r12d, %ebx
	orl	(%rax), %ebx
	andl	%r15d, %ecx
	orl	%ecx, %ebx
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	_B43_BFL_EXTLNA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_4
## %bb.2:
	cmpl	$7, 8(%r14)
	jl	LBB0_4
## %bb.3:
	movq	_B43_PHY_RFOVERVAL_EXTLNA@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
LBB0_4:
	movq	_B43_PHY_PGACTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$58112, %edx                    ## imm = 0xE300
	callq	_b43_phy_write
	movq	_B43_PHY_RFOVERVAL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_b43_phy_write
	movl	$10, %edi
	callq	_udelay
	movq	_B43_PHY_RFOVERVAL_BW_LBW@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_b43_phy_write
	movl	$10, %edi
	callq	_udelay
	movq	_B43_PHY_RFOVERVAL_BW_LPF@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_b43_phy_write
	movl	$10, %edi
	callq	_udelay
	movl	$62208, %ebx                    ## imm = 0xF300
	jmp	LBB0_6
LBB0_5:
	movq	_B43_PHY_PGACTL_UNKNOWN@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_B43_PHY_PGACTL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_b43_phy_write
	movl	$10, %edi
	callq	_udelay
	movq	_B43_PHY_PGACTL_LOWBANDW@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_b43_phy_write
	movl	$10, %edi
	callq	_udelay
	movq	_B43_PHY_PGACTL_LPF@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
LBB0_6:
	movq	_B43_PHY_PGACTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_b43_phy_write
	movl	$21, %edi
	callq	_udelay
	movq	_B43_PHY_LO_LEAKAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_b43_phy_read
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_cond_resched
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_PHY_RFOVERVAL_LNA_SHIFT,4,2 ## @B43_PHY_RFOVERVAL_LNA_SHIFT
	.comm	_B43_PHY_RFOVERVAL_PGA_SHIFT,4,2 ## @B43_PHY_RFOVERVAL_PGA_SHIFT
	.comm	_B43_PHY_RFOVERVAL_LNA,4,2      ## @B43_PHY_RFOVERVAL_LNA
	.comm	_B43_PHY_RFOVERVAL_PGA,4,2      ## @B43_PHY_RFOVERVAL_PGA
	.comm	_B43_PHY_RFOVERVAL_TRSWRX,4,2   ## @B43_PHY_RFOVERVAL_TRSWRX
	.comm	_B43_PHY_RFOVERVAL_BW,4,2       ## @B43_PHY_RFOVERVAL_BW
	.comm	_B43_PHY_RFOVERVAL_UNK,4,2      ## @B43_PHY_RFOVERVAL_UNK
	.comm	_B43_BFL_EXTLNA,4,2             ## @B43_BFL_EXTLNA
	.comm	_B43_PHY_RFOVERVAL_EXTLNA,4,2   ## @B43_PHY_RFOVERVAL_EXTLNA
	.comm	_B43_PHY_PGACTL,4,2             ## @B43_PHY_PGACTL
	.comm	_B43_PHY_RFOVERVAL,4,2          ## @B43_PHY_RFOVERVAL
	.comm	_B43_PHY_RFOVERVAL_BW_LBW,4,2   ## @B43_PHY_RFOVERVAL_BW_LBW
	.comm	_B43_PHY_RFOVERVAL_BW_LPF,4,2   ## @B43_PHY_RFOVERVAL_BW_LPF
	.comm	_B43_PHY_PGACTL_UNKNOWN,4,2     ## @B43_PHY_PGACTL_UNKNOWN
	.comm	_B43_PHY_PGACTL_LOWBANDW,4,2    ## @B43_PHY_PGACTL_LOWBANDW
	.comm	_B43_PHY_PGACTL_LPF,4,2         ## @B43_PHY_PGACTL_LPF
	.comm	_B43_PHY_LO_LEAKAGE,4,2         ## @B43_PHY_LO_LEAKAGE
	.no_dead_strip	_lo_measure_feedthrough
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lo_measure_feedthrough
_lo_measure_feedthrough:                ; @lo_measure_feedthrough
	.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	x19, x0
	ldr	x8, [x0, #16]
Lloh0:
	adrp	x21, _B43_PHY_PGACTL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _B43_PHY_PGACTL@GOTPAGEOFF]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x20, x3
Lloh2:
	adrp	x8, _B43_PHY_RFOVERVAL_LNA_SHIFT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _B43_PHY_RFOVERVAL_LNA_SHIFT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	lsl	w22, w1, w8
Lloh5:
	adrp	x8, _B43_PHY_RFOVERVAL_PGA_SHIFT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _B43_PHY_RFOVERVAL_PGA_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	lsl	w23, w2, w8
Lloh8:
	adrp	x8, _B43_PHY_RFOVERVAL_LNA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _B43_PHY_RFOVERVAL_LNA@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	bic	w0, w22, w8
	bl	_B43_WARN_ON
Lloh11:
	adrp	x8, _B43_PHY_RFOVERVAL_PGA@GOTPAGE
Lloh12:
	ldr	x8, [x8, _B43_PHY_RFOVERVAL_PGA@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	bic	w0, w23, w8
	bl	_B43_WARN_ON
Lloh14:
	adrp	x8, _B43_PHY_RFOVERVAL_TRSWRX@GOTPAGE
Lloh15:
	ldr	x8, [x8, _B43_PHY_RFOVERVAL_TRSWRX@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _B43_PHY_RFOVERVAL_BW@GOTPAGE
Lloh18:
	ldr	x9, [x9, _B43_PHY_RFOVERVAL_BW@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh20:
	adrp	x9, _B43_PHY_RFOVERVAL_UNK@GOTPAGE
Lloh21:
	ldr	x9, [x9, _B43_PHY_RFOVERVAL_UNK@GOTPAGEOFF]
	and	w8, w8, w20
Lloh22:
	ldr	w9, [x9]
	orr	w10, w23, w22
	orr	w9, w10, w9
	orr	w20, w9, w8
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _B43_BFL_EXTLNA@GOTPAGE
Lloh24:
	ldr	x9, [x9, _B43_BFL_EXTLNA@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
	ldr	w8, [x19, #8]
	cmp	w8, #7
	b.lt	LBB0_4
; %bb.3:
Lloh26:
	adrp	x8, _B43_PHY_RFOVERVAL_EXTLNA@GOTPAGE
Lloh27:
	ldr	x8, [x8, _B43_PHY_RFOVERVAL_EXTLNA@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	orr	w20, w8, w20
LBB0_4:
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #58112
	bl	_b43_phy_write
Lloh29:
	adrp	x22, _B43_PHY_RFOVERVAL@GOTPAGE
Lloh30:
	ldr	x22, [x22, _B43_PHY_RFOVERVAL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	bl	_b43_phy_write
	mov	w0, #10
	bl	_udelay
Lloh31:
	adrp	x8, _B43_PHY_RFOVERVAL_BW_LBW@GOTPAGE
Lloh32:
	ldr	x8, [x8, _B43_PHY_RFOVERVAL_BW_LBW@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	orr	w20, w8, w20
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	bl	_b43_phy_write
	mov	w0, #10
	bl	_udelay
Lloh34:
	adrp	x8, _B43_PHY_RFOVERVAL_BW_LPF@GOTPAGE
Lloh35:
	ldr	x8, [x8, _B43_PHY_RFOVERVAL_BW_LPF@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	orr	w2, w8, w20
	ldr	w1, [x22]
	mov	x0, x19
	bl	_b43_phy_write
	mov	w0, #10
	bl	_udelay
	mov	w2, #62208
	b	LBB0_6
LBB0_5:
Lloh37:
	adrp	x8, _B43_PHY_PGACTL_UNKNOWN@GOTPAGE
Lloh38:
	ldr	x8, [x8, _B43_PHY_PGACTL_UNKNOWN@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	orr	w20, w8, w2
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_b43_phy_write
	mov	w0, #10
	bl	_udelay
Lloh40:
	adrp	x8, _B43_PHY_PGACTL_LOWBANDW@GOTPAGE
Lloh41:
	ldr	x8, [x8, _B43_PHY_PGACTL_LOWBANDW@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	orr	w20, w8, w20
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_b43_phy_write
	mov	w0, #10
	bl	_udelay
Lloh43:
	adrp	x8, _B43_PHY_PGACTL_LPF@GOTPAGE
Lloh44:
	ldr	x8, [x8, _B43_PHY_PGACTL_LPF@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	orr	w2, w8, w20
LBB0_6:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_b43_phy_write
	mov	w0, #21
	bl	_udelay
Lloh46:
	adrp	x8, _B43_PHY_LO_LEAKAGE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _B43_PHY_LO_LEAKAGE@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43_phy_read
	mov	x19, x0
	bl	_cond_resched
	mov	x0, x19
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_PHY_RFOVERVAL_LNA_SHIFT,4,2 ; @B43_PHY_RFOVERVAL_LNA_SHIFT
	.comm	_B43_PHY_RFOVERVAL_PGA_SHIFT,4,2 ; @B43_PHY_RFOVERVAL_PGA_SHIFT
	.comm	_B43_PHY_RFOVERVAL_LNA,4,2      ; @B43_PHY_RFOVERVAL_LNA
	.comm	_B43_PHY_RFOVERVAL_PGA,4,2      ; @B43_PHY_RFOVERVAL_PGA
	.comm	_B43_PHY_RFOVERVAL_TRSWRX,4,2   ; @B43_PHY_RFOVERVAL_TRSWRX
	.comm	_B43_PHY_RFOVERVAL_BW,4,2       ; @B43_PHY_RFOVERVAL_BW
	.comm	_B43_PHY_RFOVERVAL_UNK,4,2      ; @B43_PHY_RFOVERVAL_UNK
	.comm	_B43_BFL_EXTLNA,4,2             ; @B43_BFL_EXTLNA
	.comm	_B43_PHY_RFOVERVAL_EXTLNA,4,2   ; @B43_PHY_RFOVERVAL_EXTLNA
	.comm	_B43_PHY_PGACTL,4,2             ; @B43_PHY_PGACTL
	.comm	_B43_PHY_RFOVERVAL,4,2          ; @B43_PHY_RFOVERVAL
	.comm	_B43_PHY_RFOVERVAL_BW_LBW,4,2   ; @B43_PHY_RFOVERVAL_BW_LBW
	.comm	_B43_PHY_RFOVERVAL_BW_LPF,4,2   ; @B43_PHY_RFOVERVAL_BW_LPF
	.comm	_B43_PHY_PGACTL_UNKNOWN,4,2     ; @B43_PHY_PGACTL_UNKNOWN
	.comm	_B43_PHY_PGACTL_LOWBANDW,4,2    ; @B43_PHY_PGACTL_LOWBANDW
	.comm	_B43_PHY_PGACTL_LPF,4,2         ; @B43_PHY_PGACTL_LPF
	.comm	_B43_PHY_LO_LEAKAGE,4,2         ; @B43_PHY_LO_LEAKAGE
	.no_dead_strip	_lo_measure_feedthrough
.subsections_via_symbols
