	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpphy_tx_pctl_init_sw
_lpphy_tx_pctl_init_sw:                 ## @lpphy_tx_pctl_init_sw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_b43_current_band
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	setne	%dl
	leal	(%rdx,%rdx,2), %eax
	movl	%eax, %ecx
	orl	$4, %ecx
	addl	%edx, %edx
	addl	$12, %edx
	orl	$12, %eax
	movl	%ecx, -32(%rbp)
	movl	%edx, -28(%rbp)
	movl	%eax, -24(%rbp)
	movq	$0, -16(%rbp)
	movq	-16(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-32(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movq	%rbx, %rdi
	callq	_lpphy_set_tx_gains
	movq	%rbx, %rdi
	movl	$150, %esi
	addq	$56, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_lpphy_set_bb_mult              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
	.no_dead_strip	_lpphy_tx_pctl_init_sw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function lpphy_tx_pctl_init_sw
lCPI0_0:
	.long	7                               ; 0x7
	.long	14                              ; 0xe
lCPI0_1:
	.long	4                               ; 0x4
	.long	12                              ; 0xc
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_lpphy_tx_pctl_init_sw:                 ; @lpphy_tx_pctl_init_sw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	ldr	w0, [x0]
	bl	_b43_current_band
Lloh0:
	adrp	x8, _NL80211_BAND_2GHZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w8, eq
	mov	w9, #15
	dup.2s	v0, w8
	mov	w8, #12
	shl.2s	v0, v0, #31
	cmlt.2s	v0, v0, #0
Lloh3:
	adrp	x10, lCPI0_0@PAGE
Lloh4:
	ldr	d1, [x10, lCPI0_0@PAGEOFF]
Lloh5:
	adrp	x10, lCPI0_1@PAGE
Lloh6:
	ldr	d2, [x10, lCPI0_1@PAGEOFF]
	bsl.8b	v0, v2, v1
	str	d0, [sp, #8]
	csel	w8, w8, w9, eq
	str	w8, [sp, #16]
	str	xzr, [sp, #24]
	add	x1, sp, #8
	mov	x0, x19
	bl	_lpphy_set_tx_gains
	mov	x0, x19
	mov	w1, #150
	bl	_lpphy_set_bb_mult
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpAdrp	Lloh3, Lloh5
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
	.no_dead_strip	_lpphy_tx_pctl_init_sw
.subsections_via_symbols
