	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_nphy_tx_cal_phy_cleanup
_b43_nphy_tx_cal_phy_cleanup:           ## @b43_nphy_tx_cal_phy_cleanup
	.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, %rbx
	movq	8(%rdi), %rax
	cmpl	$3, (%rdi)
	movq	(%rax), %r14
	movq	_B43_NPHY_AFECTL_C1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %ecx
	jl	LBB0_2
## %bb.1:
	movl	%ecx, %edx
	callq	_b43_phy_write
	movq	_B43_NPHY_AFECTL_C2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %edx
	movq	%rbx, %rdi
	callq	_b43_phy_write
	movq	_B43_NPHY_AFECTL_OVER1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r14), %edx
	movq	%rbx, %rdi
	callq	_b43_phy_write
	movq	_B43_NPHY_AFECTL_OVER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r14), %edx
	movq	%rbx, %rdi
	callq	_b43_phy_write
	movq	_B43_NPHY_BBCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r14), %edx
	movq	%rbx, %rdi
	callq	_b43_phy_write
	movl	$8, %edi
	movl	$3, %esi
	callq	_B43_NTAB16
	movl	20(%r14), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_b43_ntab_write
	movl	$8, %edi
	movl	$19, %esi
	callq	_B43_NTAB16
	movl	24(%r14), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_b43_ntab_write
	movq	_B43_NPHY_RFCTL_INTC1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	28(%r14), %edx
	movq	%rbx, %rdi
	callq	_b43_phy_write
	movq	_B43_NPHY_RFCTL_INTC2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	32(%r14), %edx
	movq	%rbx, %rdi
	callq	_b43_phy_write
	movq	_B43_NPHY_PAPD_EN0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	36(%r14), %edx
	movq	%rbx, %rdi
	callq	_b43_phy_write
	movq	_B43_NPHY_PAPD_EN1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	40(%r14), %edx
	movq	%rbx, %rdi
	callq	_b43_phy_write
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_b43_nphy_reset_cca             ## TAILCALL
LBB0_2:
	movl	$4095, %edx                     ## imm = 0xFFF
	callq	_b43_phy_maskset
	movq	_B43_NPHY_AFECTL_C2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %ecx
	movq	%rbx, %rdi
	movl	$4095, %edx                     ## imm = 0xFFF
	callq	_b43_phy_maskset
	movq	_B43_NPHY_AFECTL_OVER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r14), %edx
	movq	%rbx, %rdi
	callq	_b43_phy_write
	movl	$8, %edi
	movl	$2, %esi
	callq	_B43_NTAB16
	movl	12(%r14), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_b43_ntab_write
	movl	$8, %edi
	movl	$18, %esi
	callq	_B43_NTAB16
	movl	16(%r14), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_b43_ntab_write
	movq	_B43_NPHY_RFCTL_INTC1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	20(%r14), %edx
	movq	%rbx, %rdi
	callq	_b43_phy_write
	movq	_B43_NPHY_RFCTL_INTC2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%r14), %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_b43_phy_write                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_NPHY_AFECTL_C1,4,2         ## @B43_NPHY_AFECTL_C1
	.comm	_B43_NPHY_AFECTL_C2,4,2         ## @B43_NPHY_AFECTL_C2
	.comm	_B43_NPHY_AFECTL_OVER1,4,2      ## @B43_NPHY_AFECTL_OVER1
	.comm	_B43_NPHY_AFECTL_OVER,4,2       ## @B43_NPHY_AFECTL_OVER
	.comm	_B43_NPHY_BBCFG,4,2             ## @B43_NPHY_BBCFG
	.comm	_B43_NPHY_RFCTL_INTC1,4,2       ## @B43_NPHY_RFCTL_INTC1
	.comm	_B43_NPHY_RFCTL_INTC2,4,2       ## @B43_NPHY_RFCTL_INTC2
	.comm	_B43_NPHY_PAPD_EN0,4,2          ## @B43_NPHY_PAPD_EN0
	.comm	_B43_NPHY_PAPD_EN1,4,2          ## @B43_NPHY_PAPD_EN1
	.no_dead_strip	_b43_nphy_tx_cal_phy_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_nphy_tx_cal_phy_cleanup
_b43_nphy_tx_cal_phy_cleanup:           ; @b43_nphy_tx_cal_phy_cleanup
	.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	x8, [x0, #8]
	ldr	x20, [x8]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _B43_NPHY_AFECTL_C1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _B43_NPHY_AFECTL_C1@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	ldr	w3, [x20]
	cmp	w8, #3
	b.lt	LBB0_2
; %bb.1:
	mov	x2, x3
	bl	_b43_phy_write
Lloh3:
	adrp	x8, _B43_NPHY_AFECTL_C2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B43_NPHY_AFECTL_C2@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x20, #4]
	mov	x0, x19
	bl	_b43_phy_write
Lloh6:
	adrp	x8, _B43_NPHY_AFECTL_OVER1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _B43_NPHY_AFECTL_OVER1@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w2, [x20, #8]
	mov	x0, x19
	bl	_b43_phy_write
Lloh9:
	adrp	x8, _B43_NPHY_AFECTL_OVER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _B43_NPHY_AFECTL_OVER@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w2, [x20, #12]
	mov	x0, x19
	bl	_b43_phy_write
Lloh12:
	adrp	x8, _B43_NPHY_BBCFG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _B43_NPHY_BBCFG@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w2, [x20, #16]
	mov	x0, x19
	bl	_b43_phy_write
	mov	w0, #8
	mov	w1, #3
	bl	_B43_NTAB16
	mov	x1, x0
	ldr	w2, [x20, #20]
	mov	x0, x19
	bl	_b43_ntab_write
	mov	w0, #8
	mov	w1, #19
	bl	_B43_NTAB16
	mov	x1, x0
	ldr	w2, [x20, #24]
	mov	x0, x19
	bl	_b43_ntab_write
Lloh15:
	adrp	x8, _B43_NPHY_RFCTL_INTC1@GOTPAGE
Lloh16:
	ldr	x8, [x8, _B43_NPHY_RFCTL_INTC1@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w2, [x20, #28]
	mov	x0, x19
	bl	_b43_phy_write
Lloh18:
	adrp	x8, _B43_NPHY_RFCTL_INTC2@GOTPAGE
Lloh19:
	ldr	x8, [x8, _B43_NPHY_RFCTL_INTC2@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	w2, [x20, #32]
	mov	x0, x19
	bl	_b43_phy_write
Lloh21:
	adrp	x8, _B43_NPHY_PAPD_EN0@GOTPAGE
Lloh22:
	ldr	x8, [x8, _B43_NPHY_PAPD_EN0@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldr	w2, [x20, #36]
	mov	x0, x19
	bl	_b43_phy_write
Lloh24:
	adrp	x8, _B43_NPHY_PAPD_EN1@GOTPAGE
Lloh25:
	ldr	x8, [x8, _B43_NPHY_PAPD_EN1@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	ldr	w2, [x20, #40]
	mov	x0, x19
	bl	_b43_phy_write
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_b43_nphy_reset_cca
LBB0_2:
	mov	w2, #4095
	bl	_b43_phy_maskset
Lloh27:
	adrp	x8, _B43_NPHY_AFECTL_C2@GOTPAGE
Lloh28:
	ldr	x8, [x8, _B43_NPHY_AFECTL_C2@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	ldr	w3, [x20, #4]
	mov	x0, x19
	mov	w2, #4095
	bl	_b43_phy_maskset
Lloh30:
	adrp	x8, _B43_NPHY_AFECTL_OVER@GOTPAGE
Lloh31:
	ldr	x8, [x8, _B43_NPHY_AFECTL_OVER@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	ldr	w2, [x20, #8]
	mov	x0, x19
	bl	_b43_phy_write
	mov	w0, #8
	mov	w1, #2
	bl	_B43_NTAB16
	mov	x1, x0
	ldr	w2, [x20, #12]
	mov	x0, x19
	bl	_b43_ntab_write
	mov	w0, #8
	mov	w1, #18
	bl	_B43_NTAB16
	mov	x1, x0
	ldr	w2, [x20, #16]
	mov	x0, x19
	bl	_b43_ntab_write
Lloh33:
	adrp	x8, _B43_NPHY_RFCTL_INTC1@GOTPAGE
Lloh34:
	ldr	x8, [x8, _B43_NPHY_RFCTL_INTC1@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	ldr	w2, [x20, #20]
	mov	x0, x19
	bl	_b43_phy_write
Lloh36:
	adrp	x8, _B43_NPHY_RFCTL_INTC2@GOTPAGE
Lloh37:
	ldr	x8, [x8, _B43_NPHY_RFCTL_INTC2@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	ldr	w2, [x20, #24]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_b43_phy_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_NPHY_AFECTL_C1,4,2         ; @B43_NPHY_AFECTL_C1
	.comm	_B43_NPHY_AFECTL_C2,4,2         ; @B43_NPHY_AFECTL_C2
	.comm	_B43_NPHY_AFECTL_OVER1,4,2      ; @B43_NPHY_AFECTL_OVER1
	.comm	_B43_NPHY_AFECTL_OVER,4,2       ; @B43_NPHY_AFECTL_OVER
	.comm	_B43_NPHY_BBCFG,4,2             ; @B43_NPHY_BBCFG
	.comm	_B43_NPHY_RFCTL_INTC1,4,2       ; @B43_NPHY_RFCTL_INTC1
	.comm	_B43_NPHY_RFCTL_INTC2,4,2       ; @B43_NPHY_RFCTL_INTC2
	.comm	_B43_NPHY_PAPD_EN0,4,2          ; @B43_NPHY_PAPD_EN0
	.comm	_B43_NPHY_PAPD_EN1,4,2          ; @B43_NPHY_PAPD_EN1
	.no_dead_strip	_b43_nphy_tx_cal_phy_cleanup
.subsections_via_symbols
