	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_phy_txpwr_papd_cal_nphy    ## -- Begin function wlc_phy_txpwr_papd_cal_nphy
	.p2align	4, 0x90
_wlc_phy_txpwr_papd_cal_nphy:           ## @wlc_phy_txpwr_papd_cal_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
	callq	_PHY_IPA
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	cmpq	$0, 8(%rbx)
	je	LBB0_2
LBB0_6:
	movq	%rbx, %rdi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_wlc_phy_a4                     ## TAILCALL
LBB0_2:
	movq	%rbx, %rdi
	callq	_wlc_phy_txpwr_ison_nphy
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_wlc_phy_txpwr_idx_cur_get_nphy
	movq	(%rbx), %rcx
	subq	(%rcx), %rax
	movq	%rax, %rcx
	negq	%rcx
	cmovsq	%rax, %rcx
	cmpl	$3, %ecx
	jg	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_wlc_phy_txpwr_idx_cur_get_nphy
	movq	(%rbx), %rcx
	subq	8(%rcx), %rax
	movq	%rax, %rcx
	negq	%rcx
	cmovsq	%rax, %rcx
	cmpl	$4, %ecx
	jge	LBB0_6
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_phy_txpwr_papd_cal_nphy    ; -- Begin function wlc_phy_txpwr_papd_cal_nphy
	.p2align	2
_wlc_phy_txpwr_papd_cal_nphy:           ; @wlc_phy_txpwr_papd_cal_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
	bl	_PHY_IPA
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
LBB0_2:
	mov	x0, x19
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wlc_phy_a4
LBB0_3:
	mov	x0, x19
	bl	_wlc_phy_txpwr_ison_nphy
	cbz	x0, LBB0_6
; %bb.4:
	mov	x0, x19
	mov	w1, #0
	bl	_wlc_phy_txpwr_idx_cur_get_nphy
	ldr	x8, [x19]
	ldr	x8, [x8]
	subs	x8, x0, x8
	cneg	x8, x8, mi
	cmp	w8, #3
	b.gt	LBB0_2
; %bb.5:
	mov	x0, x19
	mov	w1, #1
	bl	_wlc_phy_txpwr_idx_cur_get_nphy
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	subs	x8, x0, x8
	cneg	x8, x8, mi
	cmp	w8, #4
	b.ge	LBB0_2
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
