	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpphy_tx_pctl_init_hw
_lpphy_tx_pctl_init_hw:                 ## @lpphy_tx_pctl_init_hw
	.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	%rdi, %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	cmpl	$2, (%r14)
	setl	%al
	leal	1(%rbx), %r15d
	leal	(%rax,%rax,2), %edi
	addl	$7, %edi
	movl	%r15d, %esi
	callq	_B43_LPTAB32
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_b43_lptab_write
	movl	%r15d, %ebx
	cmpl	$64, %r15d
	jne	LBB0_1
## %bb.2:
	movq	_B43_LPPHY_TX_PWR_CTL_NNUM@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	$65280, %edx                    ## imm = 0xFF00
	movl	$255, %ecx
	callq	_b43_phy_maskset
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	$36863, %edx                    ## imm = 0x8FFF
	movl	$20480, %ecx                    ## imm = 0x5000
	callq	_b43_phy_maskset
	movq	_B43_LPPHY_TX_PWR_CTL_IDLETSSI@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	$65472, %edx                    ## imm = 0xFFC0
	movl	$31, %ecx
	callq	_b43_phy_maskset
	cmpl	$1, (%r14)
	jg	LBB0_4
## %bb.3:
	movq	_B43_LPPHY_LP_PHY_CTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$61439, %edx                    ## imm = 0xEFFF
	callq	_b43_phy_mask
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$57343, %edx                    ## imm = 0xDFFF
	movl	$8192, %ecx                     ## imm = 0x2000
	callq	_b43_phy_maskset
	jmp	LBB0_5
LBB0_4:
	movl	$259, %edi                      ## imm = 0x103
	callq	_B43_PHY_OFDM
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$65534, %edx                    ## imm = 0xFFFE
	callq	_b43_phy_mask
	movl	$259, %edi                      ## imm = 0x103
	callq	_B43_PHY_OFDM
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$65531, %edx                    ## imm = 0xFFFB
	movl	$4, %ecx
	callq	_b43_phy_maskset
	movl	$259, %edi                      ## imm = 0x103
	callq	_B43_PHY_OFDM
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$65519, %edx                    ## imm = 0xFFEF
	movl	$16, %ecx
	callq	_b43_phy_maskset
	movq	_B2063_IQ_CALIB_CTL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$243, %edx
	movl	$1, %ecx
	callq	_b43_radio_maskset
	movq	_TSSI_MUX_POSTPA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_lpphy_set_tssi_mux
LBB0_5:
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	$32767, %edx                    ## imm = 0x7FFF
	movl	$32768, %ecx                    ## imm = 0x8000
	callq	_b43_phy_maskset
	movq	_B43_LPPHY_TX_PWR_CTL_DELTAPWR_LIMIT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$255, %edx
	callq	_b43_phy_mask
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$10, %edx
	callq	_b43_phy_write
	movq	_B43_LPPHY_TX_PWR_CTL_CMD@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_B43_LPPHY_TX_PWR_CTL_CMD_MODE@GOTPCREL(%rip), %rbx
	movzwl	(%rbx), %edx
	xorl	$65535, %edx                    ## imm = 0xFFFF
	movq	_B43_LPPHY_TX_PWR_CTL_CMD_MODE_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_b43_phy_maskset
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	$63743, %edx                    ## imm = 0xF8FF
	callq	_b43_phy_mask
	movl	(%r13), %esi
	movzwl	(%rbx), %edx
	xorl	$65535, %edx                    ## imm = 0xFFFF
	movq	_B43_LPPHY_TX_PWR_CTL_CMD_MODE_SW@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_b43_phy_maskset
	cmpl	$1, (%r14)
	jg	LBB0_7
## %bb.6:
	movq	_B43_LPPHY_RF_OVERRIDE_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$61439, %edx                    ## imm = 0xEFFF
	movl	$4096, %ecx                     ## imm = 0x1000
	callq	_b43_phy_maskset
	movq	_B43_LPPHY_RF_OVERRIDE_VAL_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$61439, %edx                    ## imm = 0xEFFF
	callq	_b43_phy_mask
	jmp	LBB0_8
LBB0_7:
	movq	%r14, %rdi
	movl	$127, %esi
	callq	_lpphy_set_tx_power_by_index
LBB0_8:
	movq	%r14, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_b43_dummy_transmission
	movq	_B43_LPPHY_TX_PWR_CTL_STAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_b43_phy_read
	testl	$32768, %eax                    ## imm = 0x8000
	je	LBB0_10
## %bb.9:
	movl	(%r15), %esi
	movzbl	%al, %ecx
	addl	$-32, %ecx
	movq	%r14, %rdi
	movl	$65472, %edx                    ## imm = 0xFFC0
	callq	_b43_phy_maskset
LBB0_10:
	movq	_B43_LPPHY_RF_OVERRIDE_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$61439, %edx                    ## imm = 0xEFFF
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43_phy_mask                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_LPPHY_TX_PWR_CTL_NNUM,4,2  ## @B43_LPPHY_TX_PWR_CTL_NNUM
	.comm	_B43_LPPHY_TX_PWR_CTL_IDLETSSI,4,2 ## @B43_LPPHY_TX_PWR_CTL_IDLETSSI
	.comm	_B43_LPPHY_LP_PHY_CTL,4,2       ## @B43_LPPHY_LP_PHY_CTL
	.comm	_B2063_IQ_CALIB_CTL2,4,2        ## @B2063_IQ_CALIB_CTL2
	.comm	_TSSI_MUX_POSTPA,4,2            ## @TSSI_MUX_POSTPA
	.comm	_B43_LPPHY_TX_PWR_CTL_DELTAPWR_LIMIT,4,2 ## @B43_LPPHY_TX_PWR_CTL_DELTAPWR_LIMIT
	.comm	_B43_LPPHY_TX_PWR_CTL_CMD,4,2   ## @B43_LPPHY_TX_PWR_CTL_CMD
	.comm	_B43_LPPHY_TX_PWR_CTL_CMD_MODE,4,2 ## @B43_LPPHY_TX_PWR_CTL_CMD_MODE
	.comm	_B43_LPPHY_TX_PWR_CTL_CMD_MODE_OFF,4,2 ## @B43_LPPHY_TX_PWR_CTL_CMD_MODE_OFF
	.comm	_B43_LPPHY_TX_PWR_CTL_CMD_MODE_SW,4,2 ## @B43_LPPHY_TX_PWR_CTL_CMD_MODE_SW
	.comm	_B43_LPPHY_RF_OVERRIDE_0,4,2    ## @B43_LPPHY_RF_OVERRIDE_0
	.comm	_B43_LPPHY_RF_OVERRIDE_VAL_0,4,2 ## @B43_LPPHY_RF_OVERRIDE_VAL_0
	.comm	_B43_LPPHY_TX_PWR_CTL_STAT,4,2  ## @B43_LPPHY_TX_PWR_CTL_STAT
	.no_dead_strip	_lpphy_tx_pctl_init_hw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lpphy_tx_pctl_init_hw
_lpphy_tx_pctl_init_hw:                 ; @lpphy_tx_pctl_init_hw
	.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
	mov	w20, #0
	mov	w22, #10
	mov	w23, #7
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	add	w21, w20, #1
	cmp	w8, #1
	csel	w0, w23, w22, gt
	mov	x1, x21
	bl	_B43_LPTAB32
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	bl	_b43_lptab_write
	mov	x20, x21
	cmp	w21, #64
	b.ne	LBB0_1
; %bb.2:
Lloh0:
	adrp	x21, _B43_LPPHY_TX_PWR_CTL_NNUM@GOTPAGE
Lloh1:
	ldr	x21, [x21, _B43_LPPHY_TX_PWR_CTL_NNUM@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #65280
	mov	w3, #255
	bl	_b43_phy_maskset
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #36863
	mov	w3, #20480
	bl	_b43_phy_maskset
Lloh2:
	adrp	x20, _B43_LPPHY_TX_PWR_CTL_IDLETSSI@GOTPAGE
Lloh3:
	ldr	x20, [x20, _B43_LPPHY_TX_PWR_CTL_IDLETSSI@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #65472
	mov	w3, #31
	bl	_b43_phy_maskset
	ldr	w8, [x19]
	cmp	w8, #1
	b.gt	LBB0_4
; %bb.3:
Lloh4:
	adrp	x22, _B43_LPPHY_LP_PHY_CTL@GOTPAGE
Lloh5:
	ldr	x22, [x22, _B43_LPPHY_LP_PHY_CTL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #61439
	bl	_b43_phy_mask
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #57343
	mov	w3, #8192
	bl	_b43_phy_maskset
	b	LBB0_5
LBB0_4:
	mov	w0, #259
	bl	_B43_PHY_OFDM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #65534
	bl	_b43_phy_mask
	mov	w0, #259
	bl	_B43_PHY_OFDM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #65531
	mov	w3, #4
	bl	_b43_phy_maskset
	mov	w0, #259
	bl	_B43_PHY_OFDM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #65519
	mov	w3, #16
	bl	_b43_phy_maskset
Lloh6:
	adrp	x8, _B2063_IQ_CALIB_CTL2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _B2063_IQ_CALIB_CTL2@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #243
	mov	w3, #1
	bl	_b43_radio_maskset
Lloh9:
	adrp	x8, _TSSI_MUX_POSTPA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TSSI_MUX_POSTPA@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_lpphy_set_tssi_mux
LBB0_5:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #32767
	mov	w3, #32768
	bl	_b43_phy_maskset
Lloh12:
	adrp	x22, _B43_LPPHY_TX_PWR_CTL_DELTAPWR_LIMIT@GOTPAGE
Lloh13:
	ldr	x22, [x22, _B43_LPPHY_TX_PWR_CTL_DELTAPWR_LIMIT@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #255
	bl	_b43_phy_mask
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #10
	bl	_b43_phy_write
Lloh14:
	adrp	x22, _B43_LPPHY_TX_PWR_CTL_CMD@GOTPAGE
Lloh15:
	ldr	x22, [x22, _B43_LPPHY_TX_PWR_CTL_CMD@GOTPAGEOFF]
Lloh16:
	adrp	x23, _B43_LPPHY_TX_PWR_CTL_CMD_MODE@GOTPAGE
Lloh17:
	ldr	x23, [x23, _B43_LPPHY_TX_PWR_CTL_CMD_MODE@GOTPAGEOFF]
	ldr	w1, [x22]
	ldrh	w8, [x23]
	eor	w2, w8, #0xffff
Lloh18:
	adrp	x8, _B43_LPPHY_TX_PWR_CTL_CMD_MODE_OFF@GOTPAGE
Lloh19:
	ldr	x8, [x8, _B43_LPPHY_TX_PWR_CTL_CMD_MODE_OFF@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_b43_phy_maskset
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #63743
	bl	_b43_phy_mask
	ldr	w1, [x22]
	ldrh	w8, [x23]
	eor	w2, w8, #0xffff
Lloh21:
	adrp	x8, _B43_LPPHY_TX_PWR_CTL_CMD_MODE_SW@GOTPAGE
Lloh22:
	ldr	x8, [x8, _B43_LPPHY_TX_PWR_CTL_CMD_MODE_SW@GOTPAGEOFF]
Lloh23:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_b43_phy_maskset
	ldr	w8, [x19]
Lloh24:
	adrp	x21, _B43_LPPHY_RF_OVERRIDE_0@GOTPAGE
Lloh25:
	ldr	x21, [x21, _B43_LPPHY_RF_OVERRIDE_0@GOTPAGEOFF]
	cmp	w8, #1
	b.gt	LBB0_7
; %bb.6:
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #61439
	mov	w3, #4096
	bl	_b43_phy_maskset
Lloh26:
	adrp	x8, _B43_LPPHY_RF_OVERRIDE_VAL_0@GOTPAGE
Lloh27:
	ldr	x8, [x8, _B43_LPPHY_RF_OVERRIDE_VAL_0@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #61439
	bl	_b43_phy_mask
	b	LBB0_8
LBB0_7:
	mov	x0, x19
	mov	w1, #127
	bl	_lpphy_set_tx_power_by_index
LBB0_8:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #1
	bl	_b43_dummy_transmission
Lloh29:
	adrp	x8, _B43_LPPHY_TX_PWR_CTL_STAT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _B43_LPPHY_TX_PWR_CTL_STAT@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_b43_phy_read
	tbz	w0, #15, LBB0_10
; %bb.9:
	ldr	w1, [x20]
	and	w8, w0, #0xff
	sub	w3, w8, #32
	mov	x0, x19
	mov	w2, #65472
	bl	_b43_phy_maskset
LBB0_10:
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #61439
	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	_b43_phy_mask
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_LPPHY_TX_PWR_CTL_NNUM,4,2  ; @B43_LPPHY_TX_PWR_CTL_NNUM
	.comm	_B43_LPPHY_TX_PWR_CTL_IDLETSSI,4,2 ; @B43_LPPHY_TX_PWR_CTL_IDLETSSI
	.comm	_B43_LPPHY_LP_PHY_CTL,4,2       ; @B43_LPPHY_LP_PHY_CTL
	.comm	_B2063_IQ_CALIB_CTL2,4,2        ; @B2063_IQ_CALIB_CTL2
	.comm	_TSSI_MUX_POSTPA,4,2            ; @TSSI_MUX_POSTPA
	.comm	_B43_LPPHY_TX_PWR_CTL_DELTAPWR_LIMIT,4,2 ; @B43_LPPHY_TX_PWR_CTL_DELTAPWR_LIMIT
	.comm	_B43_LPPHY_TX_PWR_CTL_CMD,4,2   ; @B43_LPPHY_TX_PWR_CTL_CMD
	.comm	_B43_LPPHY_TX_PWR_CTL_CMD_MODE,4,2 ; @B43_LPPHY_TX_PWR_CTL_CMD_MODE
	.comm	_B43_LPPHY_TX_PWR_CTL_CMD_MODE_OFF,4,2 ; @B43_LPPHY_TX_PWR_CTL_CMD_MODE_OFF
	.comm	_B43_LPPHY_TX_PWR_CTL_CMD_MODE_SW,4,2 ; @B43_LPPHY_TX_PWR_CTL_CMD_MODE_SW
	.comm	_B43_LPPHY_RF_OVERRIDE_0,4,2    ; @B43_LPPHY_RF_OVERRIDE_0
	.comm	_B43_LPPHY_RF_OVERRIDE_VAL_0,4,2 ; @B43_LPPHY_RF_OVERRIDE_VAL_0
	.comm	_B43_LPPHY_TX_PWR_CTL_STAT,4,2  ; @B43_LPPHY_TX_PWR_CTL_STAT
	.no_dead_strip	_lpphy_tx_pctl_init_hw
.subsections_via_symbols
