	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_phy_txpwr_fixpower_nphy    ## -- Begin function wlc_phy_txpwr_fixpower_nphy
	.p2align	4, 0x90
_wlc_phy_txpwr_fixpower_nphy:           ## @wlc_phy_txpwr_fixpower_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_wlc_phy_stay_in_carriersearch_nphy
LBB0_2:
	movq	48(%r13), %rax
	cmpl	$3, (%rax)
	jg	LBB0_4
## %bb.3:
	movabsq	$309237645384, %rax             ## imm = 0x4800000048
	movq	%rax, -56(%rbp)
	movl	$72, %r14d
	jmp	LBB0_7
LBB0_4:
	xorl	%r14d, %r14d
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_wlc_phy_get_chan_freq_range_nphy
	andl	$-4, %eax
	cmpl	$128, %eax
	jne	LBB0_6
## %bb.5:
	movq	$0, -56(%rbp)
	jmp	LBB0_7
LBB0_6:
	movabsq	$390842024027, %rax             ## imm = 0x5B0000005B
	movq	%rax, -56(%rbp)
	movl	$91, %r14d
LBB0_7:
	movq	24(%r13), %rdi
	movl	$7, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movabsq	$128849018910, %rax             ## imm = 0x1E0000001E
	movq	%rax, -56(%rbp)
	movl	$30, %r14d
	jmp	LBB0_11
LBB0_9:
	movq	24(%r13), %rdi
	movl	$3, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movabsq	$171798691880, %rax             ## imm = 0x2800000028
	movq	%rax, -56(%rbp)
	movl	$40, %r14d
LBB0_11:
	movq	24(%r13), %rdi
	movl	$7, %esi
	callq	_NREV_LT
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	cmpl	$39, %r14d
	ja	LBB0_14
## %bb.13:
	movabsq	$390842024027, %rax             ## imm = 0x5B0000005B
	movq	%rax, -56(%rbp)
	movl	$91, %r14d
LBB0_14:
	movq	40(%r13), %rax
	movq	_PHY_CORE_0@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%r14d, (%rax,%rcx,8)
	movq	_PHY_CORE_1@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%r14d, (%rax,%rdx,8)
	movl	%r14d, 4(%rax,%rcx,8)
	movl	%r14d, 4(%rax,%rdx,8)
	cmpq	$0, 32(%r13)
	je	LBB0_41
## %bb.15:
	xorl	%r15d, %r15d
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_39:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	(%rax), %esi
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	addl	$576, %ecx                      ## imm = 0x240
	movq	%r13, %rdi
	movl	$1, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	$32, %r8d
	leaq	-68(%rbp), %r9
	callq	_wlc_phy_table_read_nphy
	xorl	%eax, %eax
	cmpq	(%rbx), %r15
	setne	%al
	leal	663(,%rax,4), %esi
	movl	-68(%rbp), %ecx
	shll	$4, %ecx
	movq	%r13, %rdi
	movl	$8176, %edx                     ## imm = 0x1FF0
	callq	_mod_phy_reg
	xorl	%eax, %eax
	cmpq	(%rbx), %r15
	setne	%al
	leal	663(,%rax,4), %esi
	movq	%r13, %rdi
	movl	$4, %edx
	movl	$4, %ecx
	callq	_mod_phy_reg
LBB0_40:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%r15
	cmpq	32(%r13), %r15
	jae	LBB0_41
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r13), %r12
	movq	%r12, %rdi
	movl	$3, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	je	LBB0_31
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%r13, %rdi
	callq	_PHY_IPA
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%r13, %rdi
	callq	_wlc_phy_get_ipa_gaintbl_nphy
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	_nphy_tpc_txgain@GOTPCREL(%rip), %rax
LBB0_32:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	(%rax), %rax
LBB0_33:                                ##   in Loop: Header=BB0_16 Depth=1
	movslq	-56(%rbp,%r15,4), %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	(%rax,%rcx,4), %ebx
	movq	%r12, %rdi
	movl	$3, %esi
	callq	_NREV_GE
	movl	%ebx, %ecx
	shrl	$16, %ecx
	andl	$8191, %ecx                     ## imm = 0x1FFF
	movl	%ebx, %edx
	sarl	$16, %edx
	andl	$131071, %edx                   ## imm = 0x1FFFF
	testq	%rax, %rax
	cmovel	%ecx, %edx
	movl	%edx, -72(%rbp)
	movq	%r12, %rdi
	movl	$7, %esi
	callq	_NREV_GE
	movl	%ebx, %ecx
	shrl	$8, %ecx
	testq	%rax, %rax
	movl	$7, %r14d
	movl	$63, %eax
	cmovel	%eax, %r14d
	andl	%ecx, %r14d
	movzbl	%bl, %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	movl	$3, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	je	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_PHY_CORE_0@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %r15
	movl	$165, %esi
	movl	$143, %eax
	cmovel	%eax, %esi
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	$256, %edx                      ## imm = 0x100
	movl	$256, %ecx                      ## imm = 0x100
	callq	_mod_phy_reg
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	$165, %esi
	movl	$16384, %edx                    ## imm = 0x4000
	movl	$16384, %ecx                    ## imm = 0x4000
	callq	_mod_phy_reg
	movq	_PHY_CORE_0@GOTPCREL(%rip), %rbx
LBB0_36:                                ##   in Loop: Header=BB0_16 Depth=1
	xorl	%esi, %esi
	cmpq	(%rbx), %r15
	sete	%sil
	xorl	$171, %esi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_write_phy_reg
	leal	272(%r15), %ecx
	movq	%r13, %rdi
	movl	$7, %esi
	movl	$1, %edx
	movl	$16, %r8d
	leaq	-72(%rbp), %r9
	callq	_wlc_phy_table_write_nphy
	movq	%r13, %rdi
	movl	$15, %esi
	movl	$1, %edx
	movl	$87, %ecx
	movl	$16, %r8d
	leaq	-60(%rbp), %r14
	movq	%r14, %r9
	callq	_wlc_phy_table_read_nphy
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movl	%esi, %eax
	shll	$8, %eax
	cmpq	(%rbx), %r15
	movl	$65280, %ecx                    ## imm = 0xFF00
	movl	$255, %edx
	cmovel	%edx, %ecx
	cmovnel	%esi, %eax
	andl	-60(%rbp), %ecx
	orl	%eax, %ecx
	movl	%ecx, -60(%rbp)
	movq	%r13, %rdi
	movl	$15, %esi
	movl	$1, %edx
	movl	$87, %ecx
	movl	$16, %r8d
	movq	%r14, %r9
	callq	_wlc_phy_table_write_nphy
	movq	%r13, %rdi
	callq	_PHY_IPA
	testq	%rax, %rax
	je	LBB0_40
## %bb.37:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_NPHY_TBL_ID_CORE2TXPWRCTL@GOTPCREL(%rip), %rax
	cmpq	(%rbx), %r15
	jne	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_NPHY_TBL_ID_CORE1TXPWRCTL@GOTPCREL(%rip), %rax
	jmp	LBB0_39
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	16(%r13), %edi
	callq	_CHSPEC_IS5G
	movq	%r12, %rdi
	testq	%rax, %rax
	je	LBB0_27
## %bb.20:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	$3, %esi
	callq	_NREV_IS
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_nphy_tpc_5GHz_txgain_rev3@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_27:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	$5, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	je	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_16 Depth=1
	cmpl	$3, 8(%r13)
	jne	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_nphy_tpc_txgain_HiPwrEPA@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_30:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	_nphy_tpc_txgain_rev3@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_22:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	%r12, %rdi
	movl	$4, %esi
	callq	_NREV_IS
	testq	%rax, %rax
	je	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_16 Depth=1
	cmpl	$3, 12(%r13)
	jne	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_nphy_tpc_5GHz_txgain_HiPwrEPA@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_26:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	_nphy_tpc_5GHz_txgain_rev5@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_25:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	_nphy_tpc_5GHz_txgain_rev4@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_41:
	movq	%r13, %rdi
	movl	$191, %esi
	movl	$-32, %edx
	callq	_and_phy_reg
	cmpq	$0, (%r13)
	je	LBB0_43
## %bb.42:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_wlc_phy_stay_in_carriersearch_nphy
LBB0_43:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_45
## %bb.44:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_45:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_CORE_0,8,3                 ## @PHY_CORE_0
	.comm	_PHY_CORE_1,8,3                 ## @PHY_CORE_1
	.comm	_nphy_tpc_5GHz_txgain_rev3,8,3  ## @nphy_tpc_5GHz_txgain_rev3
	.comm	_nphy_tpc_5GHz_txgain_HiPwrEPA,8,3 ## @nphy_tpc_5GHz_txgain_HiPwrEPA
	.comm	_nphy_tpc_5GHz_txgain_rev4,8,3  ## @nphy_tpc_5GHz_txgain_rev4
	.comm	_nphy_tpc_5GHz_txgain_rev5,8,3  ## @nphy_tpc_5GHz_txgain_rev5
	.comm	_nphy_tpc_txgain_HiPwrEPA,8,3   ## @nphy_tpc_txgain_HiPwrEPA
	.comm	_nphy_tpc_txgain_rev3,8,3       ## @nphy_tpc_txgain_rev3
	.comm	_nphy_tpc_txgain,8,3            ## @nphy_tpc_txgain
	.comm	_NPHY_TBL_ID_CORE1TXPWRCTL,4,2  ## @NPHY_TBL_ID_CORE1TXPWRCTL
	.comm	_NPHY_TBL_ID_CORE2TXPWRCTL,4,2  ## @NPHY_TBL_ID_CORE2TXPWRCTL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_phy_txpwr_fixpower_nphy    ; -- Begin function wlc_phy_txpwr_fixpower_nphy
	.p2align	2
_wlc_phy_txpwr_fixpower_nphy:           ; @wlc_phy_txpwr_fixpower_nphy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	bl	_wlc_phy_stay_in_carriersearch_nphy
LBB0_2:
	ldr	x8, [x19, #48]
	ldr	w8, [x8]
	cmp	w8, #3
	b.gt	LBB0_4
; %bb.3:
	movi.2s	v0, #72
	str	d0, [sp, #16]
	mov	w20, #72
	b	LBB0_7
LBB0_4:
	mov	x0, x19
	mov	w1, #0
	bl	_wlc_phy_get_chan_freq_range_nphy
	and	w8, w0, #0xfffffffc
	cmp	w8, #128
	b.ne	LBB0_6
; %bb.5:
	mov	w20, #0
	str	xzr, [sp, #16]
	b	LBB0_7
LBB0_6:
	movi.2s	v0, #91
	str	d0, [sp, #16]
	mov	w20, #91
LBB0_7:
	ldr	x0, [x19, #24]
	mov	w1, #7
	bl	_NREV_GE
	cbz	x0, LBB0_9
; %bb.8:
	movi.2s	v0, #30
	str	d0, [sp, #16]
	mov	w20, #30
	b	LBB0_11
LBB0_9:
	ldr	x0, [x19, #24]
	mov	w1, #3
	bl	_NREV_GE
	cbz	x0, LBB0_11
; %bb.10:
	movi.2s	v0, #40
	str	d0, [sp, #16]
	mov	w20, #40
LBB0_11:
	ldr	x0, [x19, #24]
	mov	w1, #7
	bl	_NREV_LT
	cbz	x0, LBB0_14
; %bb.12:
	cmp	w20, #39
	b.hi	LBB0_14
; %bb.13:
	movi.2s	v0, #91
	str	d0, [sp, #16]
	mov	w20, #91
LBB0_14:
Lloh0:
	adrp	x21, _PHY_CORE_0@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PHY_CORE_0@GOTPAGEOFF]
	ldr	x8, [x19, #40]
	ldr	x9, [x21]
	add	x9, x8, x9, lsl #3
	str	w20, [x9]
Lloh2:
	adrp	x10, _PHY_CORE_1@GOTPAGE
Lloh3:
	ldr	x10, [x10, _PHY_CORE_1@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	add	x8, x8, x10, lsl #3
	str	w20, [x9, #4]
	stp	w20, w20, [x8]
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_39
; %bb.15:
	mov	x22, #0
	mov	w27, #255
	mov	w24, #667
	mov	w25, #663
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x22, x22, #1
	ldr	x8, [x19, #32]
	cmp	x22, x8
	b.hs	LBB0_39
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x20, [x19, #24]
	mov	x0, x20
	mov	w1, #3
	bl	_NREV_GE
	cbz	x0, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x19
	bl	_PHY_IPA
	cbz	x0, LBB0_27
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x19
	bl	_wlc_phy_get_ipa_gaintbl_nphy
	b	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_17 Depth=1
Lloh5:
	adrp	x8, _nphy_tpc_txgain@GOTPAGE
Lloh6:
	ldr	x8, [x8, _nphy_tpc_txgain@GOTPAGEOFF]
LBB0_21:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	x0, [x8]
LBB0_22:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x8, sp, #16
	ldrsw	x26, [x8, x22, lsl #2]
	ldr	w28, [x0, x26, lsl #2]
	mov	x0, x20
	mov	w1, #3
	bl	_NREV_GE
	ubfx	w8, w28, #16, #13
	asr	w9, w28, #16
	and	w9, w9, #0x1ffff
	cmp	x0, #0
	csel	w8, w8, w9, eq
	str	w8, [sp, #28]
	mov	x0, x20
	mov	w1, #7
	bl	_NREV_GE
	cmp	x0, #0
	mov	w8, #7
	mov	w9, #63
	csel	w23, w9, w8, eq
	mov	x0, x20
	mov	w1, #3
	bl	_NREV_GE
	cbz	x0, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x21]
	cmp	x22, x8
	mov	w8, #165
	mov	w9, #143
	csel	w1, w9, w8, eq
	mov	x0, x19
	mov	w2, #256
	mov	w3, #256
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x19
	mov	w1, #165
	mov	w2, #16384
	mov	w3, #16384
LBB0_25:                                ;   in Loop: Header=BB0_17 Depth=1
	bl	_mod_phy_reg
	and	w2, w23, w28, lsr #8
	and	w20, w28, #0xff
	ldr	x8, [x21]
	cmp	x22, x8
	mov	w8, #170
	cinc	w1, w8, ne
	mov	x0, x19
	bl	_write_phy_reg
	add	w3, w22, #272
	add	x5, sp, #28
	mov	x0, x19
	mov	w1, #7
	mov	w2, #1
	mov	w4, #16
	bl	_wlc_phy_table_write_nphy
	add	x5, sp, #24
	mov	x0, x19
	mov	w1, #15
	mov	w2, #1
	mov	w3, #87
	mov	w4, #16
	bl	_wlc_phy_table_read_nphy
	ldr	x8, [x21]
	cmp	x22, x8
	mov	w8, #65280
	csel	w8, w27, w8, eq
	ldr	w9, [sp, #24]
	and	w8, w8, w9
	lsl	w9, w20, #8
	csel	w9, w9, w20, eq
	orr	w8, w8, w9
	str	w8, [sp, #24]
	add	x5, sp, #24
	mov	x0, x19
	mov	w1, #15
	mov	w2, #1
	mov	w3, #87
	mov	w4, #16
	bl	_wlc_phy_table_write_nphy
	mov	x0, x19
	bl	_PHY_IPA
	cbz	x0, LBB0_16
; %bb.26:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x21]
	cmp	x22, x8
Lloh7:
	adrp	x8, _NPHY_TBL_ID_CORE1TXPWRCTL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NPHY_TBL_ID_CORE1TXPWRCTL@GOTPAGEOFF]
Lloh9:
	adrp	x9, _NPHY_TBL_ID_CORE2TXPWRCTL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NPHY_TBL_ID_CORE2TXPWRCTL@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
	add	w3, w26, #576
	add	x5, sp, #12
	mov	x0, x19
	mov	w2, #1
	mov	w4, #32
	bl	_wlc_phy_table_read_nphy
	ldr	x8, [x21]
	cmp	x22, x8
	csel	w1, w25, w24, eq
	ldr	w8, [sp, #12]
	lsl	w3, w8, #4
	mov	x0, x19
	mov	w2, #8176
	bl	_mod_phy_reg
	ldr	x8, [x21]
	cmp	x22, x8
	csel	w1, w25, w24, eq
	mov	x0, x19
	mov	w2, #4
	mov	w3, #4
	bl	_mod_phy_reg
	b	LBB0_16
LBB0_27:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	w0, [x19, #16]
	bl	_CHSPEC_IS5G
	cbz	x0, LBB0_30
; %bb.28:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x20
	mov	w1, #3
	bl	_NREV_IS
	cbz	x0, LBB0_34
; %bb.29:                               ;   in Loop: Header=BB0_17 Depth=1
Lloh11:
	adrp	x8, _nphy_tpc_5GHz_txgain_rev3@GOTPAGE
Lloh12:
	ldr	x8, [x8, _nphy_tpc_5GHz_txgain_rev3@GOTPAGEOFF]
	b	LBB0_21
LBB0_30:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x20
	mov	w1, #5
	bl	_NREV_GE
	cbz	x0, LBB0_33
; %bb.31:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w8, [x19, #8]
	cmp	w8, #3
	b.ne	LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_17 Depth=1
Lloh13:
	adrp	x8, _nphy_tpc_txgain_HiPwrEPA@GOTPAGE
Lloh14:
	ldr	x8, [x8, _nphy_tpc_txgain_HiPwrEPA@GOTPAGEOFF]
	b	LBB0_21
LBB0_33:                                ;   in Loop: Header=BB0_17 Depth=1
Lloh15:
	adrp	x8, _nphy_tpc_txgain_rev3@GOTPAGE
Lloh16:
	ldr	x8, [x8, _nphy_tpc_txgain_rev3@GOTPAGEOFF]
	b	LBB0_21
LBB0_34:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x20
	mov	w1, #4
	bl	_NREV_IS
	cbz	x0, LBB0_37
; %bb.35:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w8, [x19, #12]
	cmp	w8, #3
	b.ne	LBB0_38
; %bb.36:                               ;   in Loop: Header=BB0_17 Depth=1
Lloh17:
	adrp	x8, _nphy_tpc_5GHz_txgain_HiPwrEPA@GOTPAGE
Lloh18:
	ldr	x8, [x8, _nphy_tpc_5GHz_txgain_HiPwrEPA@GOTPAGEOFF]
	b	LBB0_21
LBB0_37:                                ;   in Loop: Header=BB0_17 Depth=1
Lloh19:
	adrp	x8, _nphy_tpc_5GHz_txgain_rev5@GOTPAGE
Lloh20:
	ldr	x8, [x8, _nphy_tpc_5GHz_txgain_rev5@GOTPAGEOFF]
	b	LBB0_21
LBB0_38:                                ;   in Loop: Header=BB0_17 Depth=1
Lloh21:
	adrp	x8, _nphy_tpc_5GHz_txgain_rev4@GOTPAGE
Lloh22:
	ldr	x8, [x8, _nphy_tpc_5GHz_txgain_rev4@GOTPAGEOFF]
	b	LBB0_21
LBB0_39:
	mov	x0, x19
	mov	w1, #191
	mov	w2, #-32
	bl	_and_phy_reg
	ldr	x8, [x19]
	cbz	x8, LBB0_41
; %bb.40:
	mov	x0, x19
	mov	w1, #0
	bl	_wlc_phy_stay_in_carriersearch_nphy
LBB0_41:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_CORE_0,8,3                 ; @PHY_CORE_0
	.comm	_PHY_CORE_1,8,3                 ; @PHY_CORE_1
	.comm	_nphy_tpc_5GHz_txgain_rev3,8,3  ; @nphy_tpc_5GHz_txgain_rev3
	.comm	_nphy_tpc_5GHz_txgain_HiPwrEPA,8,3 ; @nphy_tpc_5GHz_txgain_HiPwrEPA
	.comm	_nphy_tpc_5GHz_txgain_rev4,8,3  ; @nphy_tpc_5GHz_txgain_rev4
	.comm	_nphy_tpc_5GHz_txgain_rev5,8,3  ; @nphy_tpc_5GHz_txgain_rev5
	.comm	_nphy_tpc_txgain_HiPwrEPA,8,3   ; @nphy_tpc_txgain_HiPwrEPA
	.comm	_nphy_tpc_txgain_rev3,8,3       ; @nphy_tpc_txgain_rev3
	.comm	_nphy_tpc_txgain,8,3            ; @nphy_tpc_txgain
	.comm	_NPHY_TBL_ID_CORE1TXPWRCTL,4,2  ; @NPHY_TBL_ID_CORE1TXPWRCTL
	.comm	_NPHY_TBL_ID_CORE2TXPWRCTL,4,2  ; @NPHY_TBL_ID_CORE2TXPWRCTL
.subsections_via_symbols
