	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_nphy_tx_cal_radio_setup_rev7
_b43_nphy_tx_cal_radio_setup_rev7:      ## @b43_nphy_tx_cal_radio_setup_rev7
	.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
	movq	%rdi, %r14
	movq	16(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r12
	movb	$1, %al
	xorl	%r15d, %r15d
	movq	_R2057_TX0_TX_SSI_MASTER@GOTPCREL(%rip), %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$6, %edx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 8(%rax)
	movq	_R2057_TX0_TSSIG@GOTPCREL(%rip), %r15
	je	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_R2057_TX0_TX_SSI_MUX@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	callq	_b43_radio_write
	movq	(%r15), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	movl	$49, %edx
	callq	_b43_radio_write
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_R2057_TX0_TSSI_MISC1@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_b43_radio_write
	movl	$11, %r15d
	testb	$1, -44(%rbp)                   ## 1-byte Folded Reload
	movl	$0, %eax
	je	LBB0_10
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
                                        ## kill: def $al killed $al killed $eax
	notb	%al
	movzbl	%al, %ebx
	andl	$1, %ebx
	shlq	$5, %rbx
	movq	(%r13), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	callq	_b43_radio_read
	leaq	(,%r15,4), %r13
	movl	%eax, (%r12,%r15,4)
	movq	_R2057_TX0_IQCAL_VCM_HG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	callq	_b43_radio_read
	movl	%eax, 4(%r12,%r15,4)
	movq	_R2057_TX0_IQCAL_IDAC@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	callq	_b43_radio_read
	movl	%eax, 8(%r12,%r15,4)
	movq	_R2057_TX0_TSSI_VCM@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	callq	_b43_radio_read
	movl	%eax, 12(%r12,%r15,4)
	orq	$16, %r13
	movl	$0, (%r12,%r13)
	movq	_R2057_TX0_TX_SSI_MUX@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	callq	_b43_radio_read
	movl	%eax, 20(%r12,%r15,4)
	cmpl	$5, 8(%r14)
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_R2057_TX0_TSSIA@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	callq	_b43_radio_read
	movl	%eax, 24(%r12,%r15,4)
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_R2057_TX0_TSSIG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	callq	_b43_radio_read
	movl	%eax, 28(%r12,%r15,4)
	movq	_R2057_TX0_TSSI_MISC1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	callq	_b43_radio_read
	movl	%eax, 32(%r12,%r15,4)
	movl	(%r14), %edi
	callq	_b43_current_band
	movq	_R2057_TX0_TX_SSI_MASTER@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	addq	%rbx, %rsi
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%rdx, %r13
	movq	%r14, %rdi
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$10, %edx
	callq	_b43_radio_write
	movq	_R2057_TX0_IQCAL_VCM_HG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	movl	$67, %edx
	callq	_b43_radio_write
	movq	_R2057_TX0_IQCAL_IDAC@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	movl	$85, %edx
	callq	_b43_radio_write
	movq	_R2057_TX0_TSSI_VCM@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_b43_radio_write
	movq	_R2057_TX0_TSSIG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_b43_radio_write
	movl	$4, %edx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 8(%rax)
	movq	_R2057_TX0_TSSIA@GOTPCREL(%rip), %r15
	jne	LBB0_8
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$6, %edx
	callq	_b43_radio_write
	movq	_R2057_TX0_IQCAL_VCM_HG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	movl	$67, %edx
	callq	_b43_radio_write
	movq	_R2057_TX0_IQCAL_IDAC@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	movl	$85, %edx
	callq	_b43_radio_write
	movq	_R2057_TX0_TSSI_VCM@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_b43_radio_write
	cmpl	$5, 8(%r14)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_R2057_TX0_TSSIA@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_b43_radio_write
	jmp	LBB0_7
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_R2057_TX0_TX_SSI_MASTER,8,3    ## @R2057_TX0_TX_SSI_MASTER
	.comm	_R2057_TX0_IQCAL_VCM_HG,8,3     ## @R2057_TX0_IQCAL_VCM_HG
	.comm	_R2057_TX0_IQCAL_IDAC,8,3       ## @R2057_TX0_IQCAL_IDAC
	.comm	_R2057_TX0_TSSI_VCM,8,3         ## @R2057_TX0_TSSI_VCM
	.comm	_R2057_TX0_TX_SSI_MUX,8,3       ## @R2057_TX0_TX_SSI_MUX
	.comm	_R2057_TX0_TSSIA,8,3            ## @R2057_TX0_TSSIA
	.comm	_R2057_TX0_TSSIG,8,3            ## @R2057_TX0_TSSIG
	.comm	_R2057_TX0_TSSI_MISC1,8,3       ## @R2057_TX0_TSSI_MISC1
	.comm	_NL80211_BAND_5GHZ,8,3          ## @NL80211_BAND_5GHZ
	.no_dead_strip	_b43_nphy_tx_cal_radio_setup_rev7
.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_radio_setup_rev7
_b43_nphy_tx_cal_radio_setup_rev7:      ; @b43_nphy_tx_cal_radio_setup_rev7
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x0
	mov	x23, #0
	ldr	x8, [x0, #16]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x21, [x8]
	mov	w8, #1
Lloh0:
	adrp	x20, _R2057_TX0_TX_SSI_MASTER@GOTPAGE
Lloh1:
	ldr	x20, [x20, _R2057_TX0_TX_SSI_MASTER@GOTPAGEOFF]
Lloh2:
	adrp	x26, _R2057_TX0_TSSIG@GOTPAGE
Lloh3:
	ldr	x26, [x26, _R2057_TX0_TSSIG@GOTPAGEOFF]
Lloh4:
	adrp	x22, _R2057_TX0_TSSI_MISC1@GOTPAGE
Lloh5:
	ldr	x22, [x22, _R2057_TX0_TSSI_MISC1@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh6:
	adrp	x8, _R2057_TX0_TX_SSI_MUX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _R2057_TX0_TX_SSI_MUX@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x1, x8, x28
	mov	x0, x19
	bl	_b43_radio_write
	ldr	x8, [x23]
	add	x1, x8, x28
	mov	x0, x19
	mov	w2, #49
	bl	_b43_radio_write
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	add	x1, x8, x28
	mov	x0, x19
	mov	w2, #0
	bl	_b43_radio_write
	mov	w8, #0
	mov	w23, #11
	tbz	w27, #0, LBB0_12
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x27, x8
	tst	w8, #0x1
	mov	w8, #32
	csel	x28, xzr, x8, ne
	ldr	x8, [x20]
	add	x1, x8, x28
	mov	x0, x19
	bl	_b43_radio_read
	lsl	x24, x23, #2
	add	x25, x21, x24
	str	w0, [x25]
Lloh9:
	adrp	x8, _R2057_TX0_IQCAL_VCM_HG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _R2057_TX0_IQCAL_VCM_HG@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	add	x1, x8, x28
	mov	x0, x19
	bl	_b43_radio_read
	str	w0, [x25, #4]
Lloh12:
	adrp	x8, _R2057_TX0_IQCAL_IDAC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _R2057_TX0_IQCAL_IDAC@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	add	x1, x8, x28
	mov	x0, x19
	bl	_b43_radio_read
	str	w0, [x25, #8]
Lloh15:
	adrp	x8, _R2057_TX0_TSSI_VCM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _R2057_TX0_TSSI_VCM@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	add	x1, x8, x28
	mov	x0, x19
	bl	_b43_radio_read
	str	w0, [x25, #12]
	orr	x8, x24, #0x10
	str	wzr, [x21, x8]
Lloh18:
	adrp	x8, _R2057_TX0_TX_SSI_MUX@GOTPAGE
Lloh19:
	ldr	x8, [x8, _R2057_TX0_TX_SSI_MUX@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	add	x1, x8, x28
	mov	x0, x19
	bl	_b43_radio_read
	str	w0, [x25, #20]
	ldr	w8, [x19, #8]
	cmp	w8, #5
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh21:
	adrp	x8, _R2057_TX0_TSSIA@GOTPAGE
Lloh22:
	ldr	x8, [x8, _R2057_TX0_TSSIA@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	add	x1, x8, x28
	mov	x0, x19
	bl	_b43_radio_read
	add	x8, x21, x23, lsl #2
	str	w0, [x8, #24]
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x26]
	add	x1, x8, x28
	mov	x0, x19
	bl	_b43_radio_read
	add	x23, x21, x23, lsl #2
	str	w0, [x23, #28]
	ldr	x8, [x22]
	add	x1, x8, x28
	mov	x0, x19
	bl	_b43_radio_read
	str	w0, [x23, #32]
	ldr	w0, [x19]
	bl	_b43_current_band
Lloh24:
	adrp	x8, _NL80211_BAND_5GHZ@GOTPAGE
Lloh25:
	ldr	x8, [x8, _NL80211_BAND_5GHZ@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	ldr	x9, [x20]
	add	x1, x9, x28
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	w2, #10
	bl	_b43_radio_write
Lloh27:
	adrp	x8, _R2057_TX0_IQCAL_VCM_HG@GOTPAGE
Lloh28:
	ldr	x8, [x8, _R2057_TX0_IQCAL_VCM_HG@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	add	x1, x8, x28
	mov	x0, x19
	mov	w2, #67
	bl	_b43_radio_write
Lloh30:
	adrp	x8, _R2057_TX0_IQCAL_IDAC@GOTPAGE
Lloh31:
	ldr	x8, [x8, _R2057_TX0_IQCAL_IDAC@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	add	x1, x8, x28
	mov	x0, x19
	mov	w2, #85
	bl	_b43_radio_write
Lloh33:
	adrp	x8, _R2057_TX0_TSSI_VCM@GOTPAGE
Lloh34:
	ldr	x8, [x8, _R2057_TX0_TSSI_VCM@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	add	x1, x8, x28
	mov	x0, x19
	mov	w2, #0
	bl	_b43_radio_write
	ldr	x8, [x26]
	add	x1, x8, x28
	mov	x0, x19
	mov	w2, #0
	bl	_b43_radio_write
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w2, #4
Lloh36:
	adrp	x23, _R2057_TX0_TSSIA@GOTPAGE
Lloh37:
	ldr	x23, [x23, _R2057_TX0_TSSIA@GOTPAGEOFF]
	b	LBB0_1
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	w2, #6
	bl	_b43_radio_write
Lloh38:
	adrp	x8, _R2057_TX0_IQCAL_VCM_HG@GOTPAGE
Lloh39:
	ldr	x8, [x8, _R2057_TX0_IQCAL_VCM_HG@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	add	x1, x8, x28
	mov	x0, x19
	mov	w2, #67
	bl	_b43_radio_write
Lloh41:
	adrp	x8, _R2057_TX0_IQCAL_IDAC@GOTPAGE
Lloh42:
	ldr	x8, [x8, _R2057_TX0_IQCAL_IDAC@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
	add	x1, x8, x28
	mov	x0, x19
	mov	w2, #85
	bl	_b43_radio_write
Lloh44:
	adrp	x8, _R2057_TX0_TSSI_VCM@GOTPAGE
Lloh45:
	ldr	x8, [x8, _R2057_TX0_TSSI_VCM@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
	add	x1, x8, x28
	mov	x0, x19
	mov	w2, #0
	bl	_b43_radio_write
	ldr	w8, [x19, #8]
	cmp	w8, #5
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh47:
	adrp	x8, _R2057_TX0_TSSIA@GOTPAGE
Lloh48:
	ldr	x8, [x8, _R2057_TX0_TSSIA@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
	add	x1, x8, x28
	mov	x0, x19
	mov	w2, #0
	bl	_b43_radio_write
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w2, #6
	mov	x23, x26
	b	LBB0_1
LBB0_12:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_R2057_TX0_TX_SSI_MASTER,8,3    ; @R2057_TX0_TX_SSI_MASTER
	.comm	_R2057_TX0_IQCAL_VCM_HG,8,3     ; @R2057_TX0_IQCAL_VCM_HG
	.comm	_R2057_TX0_IQCAL_IDAC,8,3       ; @R2057_TX0_IQCAL_IDAC
	.comm	_R2057_TX0_TSSI_VCM,8,3         ; @R2057_TX0_TSSI_VCM
	.comm	_R2057_TX0_TX_SSI_MUX,8,3       ; @R2057_TX0_TX_SSI_MUX
	.comm	_R2057_TX0_TSSIA,8,3            ; @R2057_TX0_TSSIA
	.comm	_R2057_TX0_TSSIG,8,3            ; @R2057_TX0_TSSIG
	.comm	_R2057_TX0_TSSI_MISC1,8,3       ; @R2057_TX0_TSSI_MISC1
	.comm	_NL80211_BAND_5GHZ,8,3          ; @NL80211_BAND_5GHZ
	.no_dead_strip	_b43_nphy_tx_cal_radio_setup_rev7
.subsections_via_symbols
