	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlc_phy_txpwrctrl_config_nphy
_wlc_phy_txpwrctrl_config_nphy:         ## @wlc_phy_txpwrctrl_config_nphy
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	24(%rdi), %edi
	movl	$3, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_PHY_TPC_HW_ON@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
LBB0_8:
	movl	$1, (%rbx)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movq	_PHY_TPC_HW_OFF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movl	$0, (%rbx)
	movq	8(%rbx), %rcx
	movq	_BFL2_TXPWRCTRL_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.3:
	movl	24(%rbx), %edi
	movl	$2, %esi
	callq	_NREV_GE
	movq	8(%rbx), %rcx
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	cmpl	$4, 4(%rcx)
	jl	LBB0_6
## %bb.5:
	movq	_PHY_TPC_HW_ON@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	jmp	LBB0_9
LBB0_6:
	cmpl	$4, 4(%rcx)
	jl	LBB0_9
## %bb.7:
	movq	_BFL2_5G_PWRGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rcx)
	jne	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_TPC_HW_ON,8,3              ## @PHY_TPC_HW_ON
	.comm	_PHY_TPC_HW_OFF,8,3             ## @PHY_TPC_HW_OFF
	.comm	_BFL2_TXPWRCTRL_EN,4,2          ## @BFL2_TXPWRCTRL_EN
	.comm	_BFL2_5G_PWRGAIN,4,2            ## @BFL2_5G_PWRGAIN
	.no_dead_strip	_wlc_phy_txpwrctrl_config_nphy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlc_phy_txpwrctrl_config_nphy
_wlc_phy_txpwrctrl_config_nphy:         ; @wlc_phy_txpwrctrl_config_nphy
	.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	w0, [x0, #24]
	mov	w1, #3
	bl	_NREV_GE
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _PHY_TPC_HW_ON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHY_TPC_HW_ON@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x19, #16]
LBB0_2:
	mov	w8, #1
	str	w8, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh3:
	adrp	x8, _PHY_TPC_HW_OFF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PHY_TPC_HW_OFF@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	str	wzr, [x19]
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
Lloh6:
	adrp	x10, _BFL2_TXPWRCTRL_EN@GOTPAGE
Lloh7:
	ldr	x10, [x10, _BFL2_TXPWRCTRL_EN@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_8
; %bb.5:
	ldr	w0, [x19, #24]
	mov	w1, #2
	bl	_NREV_GE
	ldr	x8, [x19, #8]
	cbz	x0, LBB0_8
; %bb.6:
	ldr	w9, [x8, #4]
	cmp	w9, #4
	b.lt	LBB0_8
; %bb.7:
Lloh9:
	adrp	x8, _PHY_TPC_HW_ON@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PHY_TPC_HW_ON@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	b	LBB0_3
LBB0_8:
	ldr	w9, [x8, #4]
	cmp	w9, #4
	b.lt	LBB0_3
; %bb.9:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _BFL2_5G_PWRGAIN@GOTPAGE
Lloh13:
	ldr	x9, [x9, _BFL2_5G_PWRGAIN@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_TPC_HW_ON,8,3              ; @PHY_TPC_HW_ON
	.comm	_PHY_TPC_HW_OFF,8,3             ; @PHY_TPC_HW_OFF
	.comm	_BFL2_TXPWRCTRL_EN,4,2          ; @BFL2_TXPWRCTRL_EN
	.comm	_BFL2_5G_PWRGAIN,4,2            ; @BFL2_5G_PWRGAIN
	.no_dead_strip	_wlc_phy_txpwrctrl_config_nphy
.subsections_via_symbols
