	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlc_phy_txpower_est_power_nphy
_wlc_phy_txpower_est_power_nphy:        ## @wlc_phy_txpower_est_power_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$280, %esi                      ## imm = 0x118
	callq	_read_phy_reg
	movl	%eax, %ebx
	movq	%r14, %rdi
	movl	$281, %esi                      ## imm = 0x119
	callq	_read_phy_reg
	movl	%ebx, %ecx
	shll	$24, %ecx
	testl	$256, %ebx                      ## imm = 0x100
	movl	$-2147483648, %r15d             ## imm = 0x80000000
	cmovnel	%ecx, %r15d
	movzbl	%al, %ecx
	shll	$16, %ecx
	testl	$256, %eax                      ## imm = 0x100
	movl	$8388608, %ebx                  ## imm = 0x800000
	cmovnel	%ecx, %ebx
	movq	%r14, %rdi
	movl	$493, %esi                      ## imm = 0x1ED
	callq	_read_phy_reg
	movl	%eax, %r12d
	movq	%r14, %rdi
	movl	$494, %esi                      ## imm = 0x1EE
	callq	_read_phy_reg
	movl	%r12d, %ecx
	shll	$8, %ecx
	testl	$32768, %r12d                   ## imm = 0x8000
	movzwl	%cx, %ecx
	movl	$32768, %edx                    ## imm = 0x8000
	cmovnel	%ecx, %edx
	testl	$32768, %eax                    ## imm = 0x8000
	movzbl	%al, %eax
	movl	$128, %ecx
	cmovnel	%eax, %ecx
	orl	%r15d, %ebx
	orl	%edx, %ebx
	orl	%ecx, %ebx
	movslq	%ebx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_wlc_phy_txpower_est_power_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_txpower_est_power_nphy
_wlc_phy_txpower_est_power_nphy:        ; @wlc_phy_txpower_est_power_nphy
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	mov	w1, #280
	bl	_read_phy_reg
	mov	x20, x0
	mov	x0, x19
	mov	w1, #281
	bl	_read_phy_reg
	lsl	w8, w20, #24
	tst	w20, #0x100
	mov	w9, #-2147483648
	csel	w21, w9, w8, eq
	ubfiz	w8, w0, #16, #8
	tst	w0, #0x100
	mov	w9, #8388608
	csel	w22, w9, w8, eq
	mov	x0, x19
	mov	w1, #493
	bl	_read_phy_reg
	mov	x20, x0
	mov	x0, x19
	mov	w1, #494
	bl	_read_phy_reg
	ubfiz	w8, w20, #8, #8
	tst	w20, #0x8000
	mov	w9, #32768
	csel	w8, w9, w8, eq
	and	w9, w0, #0xff
	tst	w0, #0x8000
	mov	w10, #128
	csel	w9, w10, w9, eq
	orr	w10, w22, w21
	orr	w8, w10, w8
	orr	w8, w8, w9
	sxtw	x0, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_wlc_phy_txpower_est_power_nphy
.subsections_via_symbols
