	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlc_phy_rssi_cal_nphy_rev3
_wlc_phy_rssi_cal_nphy_rev3:            ## @wlc_phy_rssi_cal_nphy_rev3
	.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	$424, %rsp                      ## imm = 0x1A8
	.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)
	movabsq	$281470681808895, %rax          ## imm = 0xFFFF0000FFFF
	movq	%rax, -456(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -144(%rbp)
	movaps	%xmm0, -160(%rbp)
	movaps	%xmm0, -176(%rbp)
	movaps	%xmm0, -192(%rbp)
	movaps	%xmm0, -208(%rbp)
	movaps	%xmm0, -240(%rbp)
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_wlc_phy_classifier_nphy
	movl	%eax, -256(%rbp)                ## 4-byte Spill
	movq	%r13, %rdi
	movl	$7, %esi
	movl	$4, %edx
	callq	_wlc_phy_classifier_nphy
	leaq	-56(%rbp), %rdx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_wlc_phy_clip_det_nphy
	leaq	-456(%rbp), %rdx
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_wlc_phy_clip_det_nphy
	movq	%r13, %rdi
	movl	$145, %esi
	callq	_read_phy_reg
	movq	%rax, -336(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movl	$146, %esi
	callq	_read_phy_reg
	movq	%rax, -328(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movl	$143, %esi
	callq	_read_phy_reg
	movq	%rax, -440(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movl	$165, %esi
	callq	_read_phy_reg
	movq	%rax, -432(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movl	$166, %esi
	callq	_read_phy_reg
	movq	%rax, -424(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movl	$167, %esi
	callq	_read_phy_reg
	movq	%rax, -416(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movl	$231, %esi
	callq	_read_phy_reg
	movq	%rax, -408(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movl	$236, %esi
	callq	_read_phy_reg
	movq	%rax, -400(%rbp)                ## 8-byte Spill
	movl	44(%r13), %edi
	movl	$7, %esi
	callq	_NREV_GE
	movl	$0, %ecx
	movq	%rcx, -304(%rbp)                ## 8-byte Spill
	movl	$0, %ecx
	movq	%rcx, -296(%rbp)                ## 8-byte Spill
	movl	$0, %ecx
	movq	%rcx, -288(%rbp)                ## 8-byte Spill
	movl	$0, %ecx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	movl	$834, %esi                      ## imm = 0x342
	callq	_read_phy_reg
	movq	%rax, -304(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movl	$835, %esi                      ## imm = 0x343
	callq	_read_phy_reg
	movq	%rax, -296(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movl	$838, %esi                      ## imm = 0x346
	callq	_read_phy_reg
	movq	%rax, -288(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movl	$839, %esi                      ## imm = 0x347
	callq	_read_phy_reg
	movq	%rax, %rcx
LBB0_2:
	movq	%rcx, -320(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movl	$229, %esi
	callq	_read_phy_reg
	movq	%rax, -392(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movl	$230, %esi
	callq	_read_phy_reg
	movq	%rax, -384(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movl	$120, %esi
	callq	_read_phy_reg
	movq	%rax, -376(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movl	$249, %esi
	callq	_read_phy_reg
	movq	%rax, -368(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movl	$251, %esi
	callq	_read_phy_reg
	movq	%rax, -360(%rbp)                ## 8-byte Spill
	movl	44(%r13), %edi
	movl	$7, %esi
	callq	_NREV_GE
	movl	$0, %ecx
	movq	%rcx, -280(%rbp)                ## 8-byte Spill
	movl	$0, %ecx
	movq	%rcx, -272(%rbp)                ## 8-byte Spill
	movl	$0, %ecx
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r13, %rdi
	movl	$832, %esi                      ## imm = 0x340
	callq	_read_phy_reg
	movq	%rax, %rbx
	movq	%r13, %rdi
	movl	$833, %esi                      ## imm = 0x341
	callq	_read_phy_reg
	movq	%rax, -280(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movl	$836, %esi                      ## imm = 0x344
	callq	_read_phy_reg
	movq	%rax, -272(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movl	$837, %esi                      ## imm = 0x345
	callq	_read_phy_reg
	movq	%rax, %rcx
LBB0_4:
	movq	%rcx, -312(%rbp)                ## 8-byte Spill
	movq	%rbx, -448(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movl	$122, %esi
	callq	_read_phy_reg
	movq	%rax, -352(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movl	$125, %esi
	callq	_read_phy_reg
	movq	%rax, -344(%rbp)                ## 8-byte Spill
	movq	_NPHY_RfctrlIntc_override_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RADIO_MIMO_CORESEL_ALLRXTX@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_wlc_phy_rfctrlintc_override_nphy
	movq	_NPHY_RfctrlIntc_override_TRSW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %ecx
	movq	%r13, %rdi
	movl	$1, %edx
	callq	_wlc_phy_rfctrlintc_override_nphy
	movl	44(%r13), %edi
	movl	$7, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_NPHY_REV7_RfctrlOverride_cmd_rxrf_pu@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_wlc_phy_rfctrl_override_1tomany_nphy
	jmp	LBB0_7
LBB0_6:
	movq	%r13, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_wlc_phy_rfctrl_override_nphy
LBB0_7:
	movl	44(%r13), %edi
	movl	$7, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_NPHY_REV7_RfctrlOverride_cmd_rx_pu@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_wlc_phy_rfctrl_override_1tomany_nphy
	jmp	LBB0_10
LBB0_9:
	movq	%r13, %rdi
	movl	$2, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_wlc_phy_rfctrl_override_nphy
LBB0_10:
	movl	44(%r13), %edi
	movl	$7, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	_NPHY_REV7_RFCTRLOVERRIDE_ID0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r9d
	movq	%r13, %rdi
	movl	$128, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	movl	(%rbx), %r9d
	movq	%r13, %rdi
	movl	$64, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	jmp	LBB0_13
LBB0_12:
	movq	%r13, %rdi
	movl	$128, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_wlc_phy_rfctrl_override_nphy
	movq	%r13, %rdi
	movl	$64, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_wlc_phy_rfctrl_override_nphy
LBB0_13:
	movl	(%r13), %edi
	callq	_CHSPEC_IS5G
	movq	%rax, %rbx
	movl	44(%r13), %edi
	movl	$7, %esi
	callq	_NREV_GE
	testq	%rbx, %rbx
	je	LBB0_18
## %bb.14:
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	movq	_NPHY_REV7_RFCTRLOVERRIDE_ID0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r9d
	movq	%r13, %rdi
	movl	$32, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	movl	(%rbx), %r9d
	movq	%r13, %rdi
	movl	$16, %esi
	jmp	LBB0_16
LBB0_18:
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	_NPHY_REV7_RFCTRLOVERRIDE_ID0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r9d
	movq	%r13, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	movl	(%rbx), %r9d
	movq	%r13, %rdi
	movl	$32, %esi
LBB0_16:
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	jmp	LBB0_22
LBB0_17:
	movq	%r13, %rdi
	movl	$32, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_wlc_phy_rfctrl_override_nphy
	movq	%r13, %rdi
	movl	$16, %esi
	jmp	LBB0_21
LBB0_20:
	movq	%r13, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_wlc_phy_rfctrl_override_nphy
	movq	%r13, %rdi
	movl	$32, %esi
LBB0_21:
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_wlc_phy_rfctrl_override_nphy
LBB0_22:
	movq	%r13, %rdi
	callq	_wlc_phy_rxcore_getstate_nphy
	movl	40(%r13), %edx
	testl	%edx, %edx
	jle	LBB0_89
## %bb.23:
	xorl	%ecx, %ecx
	movq	_NPHY_RAIL_Q@GOTPCREL(%rip), %r15
	xorl	%r12d, %r12d
	movl	%eax, -252(%rbp)                ## 4-byte Spill
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_77:                                ##   in Loop: Header=BB0_24 Depth=1
	movl	40(%r13), %edx
	movl	-252(%rbp), %eax                ## 4-byte Reload
	movq	-248(%rbp), %rcx                ## 8-byte Reload
LBB0_78:                                ##   in Loop: Header=BB0_24 Depth=1
	incl	%r12d
	cmpl	%edx, %r12d
	jge	LBB0_30
LBB0_24:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_26 Depth 2
                                        ##     Child Loop BB0_43 Depth 2
                                        ##     Child Loop BB0_65 Depth 2
	btl	%r12d, %eax
	jae	LBB0_78
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	%rcx, -248(%rbp)                ## 8-byte Spill
	movq	_PHY_CORE_0@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	movq	_RADIO_MIMO_CORESEL_CORE2@GOTPCREL(%rip), %r14
	movq	%r14, %rax
	movq	_RADIO_MIMO_CORESEL_CORE1@GOTPCREL(%rip), %rbx
	cmoveq	%rbx, %rax
	movl	(%rax), %ecx
	movq	_NPHY_RAIL_I@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_NPHY_RSSI_SEL_NB@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_wlc_phy_scale_offset_rssi_nphy
	movq	_PHY_CORE_0@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	movq	%r14, %rax
	movl	%r12d, %r14d
	cmoveq	%rbx, %rax
	movl	(%rax), %ecx
	movl	(%r15), %r8d
	movq	_NPHY_RSSI_SEL_NB@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_wlc_phy_scale_offset_rssi_nphy
	leaq	-192(%rbp), %r15
	xorl	%ebx, %ebx
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_26 Depth=2
	movl	(%rax), %esi
	movq	_RADIO_2057_VCM_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	%ebx, %ecx
LBB0_41:                                ##   in Loop: Header=BB0_26 Depth=2
	callq	_mod_radio_reg
	movq	_NPHY_RSSI_SEL_NB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NPHY_RSSICAL_NPOLL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	_wlc_phy_poll_rssi_nphy
	incq	%rbx
	addq	$16, %r15
	cmpq	$8, %rbx
	je	LBB0_42
LBB0_26:                                ##   Parent Loop BB0_24 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	44(%r13), %edi
	movl	$7, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	je	LBB0_38
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=2
	movq	_RADIO_2057_NB_MASTER_CORE1@GOTPCREL(%rip), %rax
	movq	_PHY_CORE_0@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r14d
	jne	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_26 Depth=2
	movq	_RADIO_2057_NB_MASTER_CORE0@GOTPCREL(%rip), %rax
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_26 Depth=2
	movq	_RADIO_2056_RX1@GOTPCREL(%rip), %rax
	movq	_PHY_CORE_0@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r14d
	jne	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_26 Depth=2
	movq	_RADIO_2056_RX0@GOTPCREL(%rip), %rax
LBB0_40:                                ##   in Loop: Header=BB0_26 Depth=2
	movl	(%rax), %esi
	movq	_RADIO_2056_RX_RSSI_MISC@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_RADIO_2056_VCM_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_RADIO_2056_RSSI_VCM_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	movl	%ebx, %eax
	shll	%cl, %eax
	movq	%r13, %rdi
	movl	%eax, %ecx
	jmp	LBB0_41
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	_NPHY_RSSICAL_MAXD@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_NPHY_RSSICAL_NPOLL@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_NPHY_RSSICAL_MAXREAD@GOTPCREL(%rip), %rax
	imull	(%rax), %r9d
	incl	%r9d
	xorl	%r10d, %r10d
	movq	_NPHY_RAIL_Q@GOTPCREL(%rip), %r15
	jmp	LBB0_43
	.p2align	4, 0x90
LBB0_55:                                ##   in Loop: Header=BB0_43 Depth=2
	movl	%edx, -240(%rbp,%rsi,4)
	movl	%r12d, %r14d
LBB0_56:                                ##   in Loop: Header=BB0_43 Depth=2
	cmpq	$4, %r10
	je	LBB0_57
LBB0_43:                                ##   Parent Loop BB0_24 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r10, %rsi
	movl	%esi, %eax
	shrl	%eax
	incq	%r10
	cmpl	%eax, %r14d
	jne	LBB0_56
## %bb.44:                              ##   in Loop: Header=BB0_43 Depth=2
	movl	%esi, %eax
	andl	$1, %eax
	jne	LBB0_56
## %bb.45:                              ##   in Loop: Header=BB0_43 Depth=2
	movl	-192(%rbp,%rsi,4), %ebx
	movl	-188(%rbp,%rsi,4), %eax
	movl	%ebx, %ecx
	imull	%ebx, %ecx
	imull	%eax, %eax
	addl	%ecx, %eax
	cmpl	%r8d, %eax
	cmovgel	%r8d, %eax
	cmpl	%r9d, %ebx
	cmovgel	%r9d, %ebx
	movl	-176(%rbp,%rsi,4), %r11d
	movl	%r11d, %edx
	imull	%r11d, %edx
	movl	-172(%rbp,%rsi,4), %ecx
	imull	%ecx, %ecx
	addl	%edx, %ecx
	xorl	%r14d, %r14d
	cmpl	%eax, %ecx
	cmovgel	%eax, %ecx
	setl	%r14b
	cmpl	%ebx, %r11d
	cmovll	%r11d, %ebx
	movl	-160(%rbp,%rsi,4), %eax
	movl	%eax, %edx
	imull	%eax, %edx
	movl	-156(%rbp,%rsi,4), %edi
	imull	%edi, %edi
	addl	%edx, %edi
	cmpl	%ecx, %edi
	cmovgel	%ecx, %edi
	movl	$2, %ecx
	cmovll	%ecx, %r14d
	cmpl	%ebx, %eax
	cmovll	%eax, %ebx
	movl	-144(%rbp,%rsi,4), %eax
	movl	%eax, %ecx
	imull	%eax, %ecx
	movl	-140(%rbp,%rsi,4), %edx
	imull	%edx, %edx
	addl	%ecx, %edx
	cmpl	%edi, %edx
	cmovgel	%edi, %edx
	movl	$3, %ecx
	cmovll	%ecx, %r14d
	cmpl	%ebx, %eax
	cmovll	%eax, %ebx
	movl	-128(%rbp,%rsi,4), %eax
	movl	%eax, %edi
	imull	%eax, %edi
	movl	-124(%rbp,%rsi,4), %ecx
	imull	%ecx, %ecx
	addl	%edi, %ecx
	cmpl	%edx, %ecx
	cmovgel	%edx, %ecx
	movl	$4, %edx
	cmovll	%edx, %r14d
	cmpl	%ebx, %eax
	jl	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_43 Depth=2
	movl	%ebx, %eax
LBB0_47:                                ##   in Loop: Header=BB0_43 Depth=2
	movl	-112(%rbp,%rsi,4), %ebx
	movl	%ebx, %edi
	imull	%ebx, %edi
	movl	-108(%rbp,%rsi,4), %edx
	imull	%edx, %edx
	addl	%edi, %edx
	cmpl	%ecx, %edx
	cmovgel	%ecx, %edx
	movl	$5, %ecx
	cmovll	%ecx, %r14d
	cmpl	%eax, %ebx
	jl	LBB0_49
## %bb.48:                              ##   in Loop: Header=BB0_43 Depth=2
	movl	%eax, %ebx
LBB0_49:                                ##   in Loop: Header=BB0_43 Depth=2
	movl	-96(%rbp,%rsi,4), %eax
	movl	%eax, %edi
	imull	%eax, %edi
	movl	-92(%rbp,%rsi,4), %ecx
	imull	%ecx, %ecx
	addl	%edi, %ecx
	cmpl	%edx, %ecx
	cmovgel	%edx, %ecx
	movl	$6, %edx
	cmovll	%edx, %r14d
	cmpl	%ebx, %eax
	jl	LBB0_51
## %bb.50:                              ##   in Loop: Header=BB0_43 Depth=2
	movl	%ebx, %eax
LBB0_51:                                ##   in Loop: Header=BB0_43 Depth=2
	movl	-80(%rbp,%rsi,4), %edx
	movl	%edx, %edi
	imull	%edx, %edi
	movl	-76(%rbp,%rsi,4), %ebx
	imull	%ebx, %ebx
	addl	%edi, %ebx
	movl	$7, %edi
	movq	%rdi, -248(%rbp)                ## 8-byte Spill
	cmpl	%ecx, %ebx
	jl	LBB0_53
## %bb.52:                              ##   in Loop: Header=BB0_43 Depth=2
	movl	%r14d, %ecx
	movq	%rcx, -248(%rbp)                ## 8-byte Spill
LBB0_53:                                ##   in Loop: Header=BB0_43 Depth=2
	cmpl	%eax, %edx
	jl	LBB0_55
## %bb.54:                              ##   in Loop: Header=BB0_43 Depth=2
	movl	%eax, %edx
	jmp	LBB0_55
	.p2align	4, 0x90
LBB0_57:                                ##   in Loop: Header=BB0_24 Depth=1
	movl	44(%r13), %edi
	movl	$7, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	je	LBB0_61
## %bb.58:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	_RADIO_2057_NB_MASTER_CORE1@GOTPCREL(%rip), %rax
	movq	_PHY_CORE_0@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r14d
	jne	LBB0_60
## %bb.59:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	_RADIO_2057_NB_MASTER_CORE0@GOTPCREL(%rip), %rax
LBB0_60:                                ##   in Loop: Header=BB0_24 Depth=1
	movl	(%rax), %esi
	movq	_RADIO_2057_VCM_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	-248(%rbp), %rbx                ## 8-byte Reload
	movl	%ebx, %ecx
	jmp	LBB0_64
	.p2align	4, 0x90
LBB0_61:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	_RADIO_2056_RX1@GOTPCREL(%rip), %rax
	movq	_PHY_CORE_0@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r14d
	jne	LBB0_63
## %bb.62:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	_RADIO_2056_RX0@GOTPCREL(%rip), %rax
LBB0_63:                                ##   in Loop: Header=BB0_24 Depth=1
	movl	(%rax), %esi
	movq	_RADIO_2056_RX_RSSI_MISC@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_RADIO_2056_VCM_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_RADIO_2056_RSSI_VCM_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movq	-248(%rbp), %rbx                ## 8-byte Reload
	movl	%ebx, %eax
	shll	%cl, %eax
	movq	%r13, %rdi
	movl	%eax, %ecx
LBB0_64:                                ##   in Loop: Header=BB0_24 Depth=1
	callq	_mod_radio_reg
	movl	%ebx, %eax
	shlq	$4, %rax
	leaq	(%rax,%rbp), %r14
	addq	$-192, %r14
	xorl	%ebx, %ebx
	jmp	LBB0_65
	.p2align	4, 0x90
LBB0_75:                                ##   in Loop: Header=BB0_65 Depth=2
	movl	(%rdx), %r8d
	movq	_NPHY_RSSI_SEL_NB@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_wlc_phy_scale_offset_rssi_nphy
LBB0_76:                                ##   in Loop: Header=BB0_65 Depth=2
	incq	%rbx
	cmpq	$4, %rbx
	je	LBB0_77
LBB0_65:                                ##   Parent Loop BB0_24 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ebx, %eax
	shrl	%eax
	cmpl	%eax, %r12d
	jne	LBB0_76
## %bb.66:                              ##   in Loop: Header=BB0_65 Depth=2
	movq	_NPHY_RSSICAL_NB_TARGET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NPHY_RSSICAL_NPOLL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, %eax
	imull	%esi, %eax
	movl	%edi, %ecx
	shrl	$31, %ecx
	addl	%edi, %ecx
	sarl	%ecx
	subl	(%r14,%rbx,4), %eax
	js	LBB0_67
## %bb.68:                              ##   in Loop: Header=BB0_65 Depth=2
	addl	%ecx, %eax
	cltd
	idivl	%edi
	jmp	LBB0_69
LBB0_67:                                ##   in Loop: Header=BB0_65 Depth=2
	subl	%eax, %ecx
	movl	%ecx, %eax
	cltd
	idivl	%edi
	negl	%eax
LBB0_69:                                ##   in Loop: Header=BB0_65 Depth=2
	movl	%eax, -224(%rbp,%rbx,4)
	movq	_NPHY_RSSICAL_MAXREAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	imull	%ecx, %edi
	cmpl	%edi, -240(%rbp,%rbx,4)
	jne	LBB0_71
## %bb.70:                              ##   in Loop: Header=BB0_65 Depth=2
	notl	%ecx
	addl	%ecx, %esi
	movl	%esi, -224(%rbp,%rbx,4)
	movl	%esi, %eax
LBB0_71:                                ##   in Loop: Header=BB0_65 Depth=2
	movq	_RADIO_MIMO_CORESEL_CORE2@GOTPCREL(%rip), %rcx
	cmpq	$2, %rbx
	jae	LBB0_73
## %bb.72:                              ##   in Loop: Header=BB0_65 Depth=2
	movq	_RADIO_MIMO_CORESEL_CORE1@GOTPCREL(%rip), %rcx
LBB0_73:                                ##   in Loop: Header=BB0_65 Depth=2
	movl	(%rcx), %ecx
	movq	%r15, %rdx
	testb	$1, %bl
	jne	LBB0_75
## %bb.74:                              ##   in Loop: Header=BB0_65 Depth=2
	movq	_NPHY_RAIL_I@GOTPCREL(%rip), %rdx
	jmp	LBB0_75
LBB0_30:
	testl	%edx, %edx
	jle	LBB0_89
## %bb.31:
	xorl	%ebx, %ebx
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_87:                                ##   in Loop: Header=BB0_32 Depth=1
	movl	40(%r13), %edx
	movl	-252(%rbp), %eax                ## 4-byte Reload
LBB0_88:                                ##   in Loop: Header=BB0_32 Depth=1
	incq	%rbx
	movslq	%edx, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_89
LBB0_32:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_34 Depth 2
                                        ##       Child Loop BB0_35 Depth 3
	btl	%ebx, %eax
	jae	LBB0_88
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=1
	leaq	(%rbx,%rbx), %rax
	movq	%rax, -248(%rbp)                ## 8-byte Spill
	movb	$1, %al
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_86:                                ##   in Loop: Header=BB0_34 Depth=2
	testb	$1, -260(%rbp)                  ## 1-byte Folded Reload
	movl	$0, %eax
	movq	%r14, %r13
	je	LBB0_87
LBB0_34:                                ##   Parent Loop BB0_32 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_35 Depth 3
	movl	%eax, -260(%rbp)                ## 4-byte Spill
	testb	$1, %al
	movq	_NPHY_RSSICAL_W2_TARGET_REV3@GOTPCREL(%rip), %rax
	cmovneq	_NPHY_RSSICAL_W1_TARGET_REV3@GOTPCREL(%rip), %rax
	movq	_NPHY_RSSI_SEL_W2@GOTPCREL(%rip), %rcx
	cmovneq	_NPHY_RSSI_SEL_W1@GOTPCREL(%rip), %rcx
	movl	(%rax), %r12d
	movl	(%rcx), %r15d
	movq	_PHY_CORE_0@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	cmpq	%rax, %rbx
	movq	_RADIO_MIMO_CORESEL_CORE2@GOTPCREL(%rip), %rax
	movq	_RADIO_MIMO_CORESEL_CORE1@GOTPCREL(%rip), %rcx
	cmoveq	%rcx, %rax
	movl	(%rax), %ecx
	movq	_NPHY_RAIL_I@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	%r15d, %r9d
	callq	_wlc_phy_scale_offset_rssi_nphy
	movl	(%r14), %eax
	cmpq	%rax, %rbx
	movq	_RADIO_MIMO_CORESEL_CORE2@GOTPCREL(%rip), %rax
	cmoveq	_RADIO_MIMO_CORESEL_CORE1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_NPHY_RAIL_Q@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	%r15d, %r9d
	callq	_wlc_phy_scale_offset_rssi_nphy
	movq	_NPHY_RSSICAL_NPOLL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %r14
	movq	%r13, %rdi
	movl	%r15d, %esi
	leaq	-208(%rbp), %rdx
	callq	_wlc_phy_poll_rssi_nphy
	xorl	%r13d, %r13d
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_84:                                ##   in Loop: Header=BB0_35 Depth=3
	movl	(%rax), %r8d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%r15d, %r9d
	callq	_wlc_phy_scale_offset_rssi_nphy
LBB0_85:                                ##   in Loop: Header=BB0_35 Depth=3
	incq	%r13
	cmpq	$4, %r13
	je	LBB0_86
LBB0_35:                                ##   Parent Loop BB0_32 Depth=1
                                        ##     Parent Loop BB0_34 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	%r13d, %eax
	shrl	%eax
	cmpq	%rax, %rbx
	jne	LBB0_85
## %bb.36:                              ##   in Loop: Header=BB0_35 Depth=3
	movq	_NPHY_RSSICAL_NPOLL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, %eax
	imull	%r12d, %eax
	movl	%esi, %ecx
	shrl	$31, %ecx
	addl	%esi, %ecx
	sarl	%ecx
	subl	-208(%rbp,%r13,4), %eax
	js	LBB0_37
## %bb.79:                              ##   in Loop: Header=BB0_35 Depth=3
	addl	%ecx, %eax
	cltd
	idivl	%esi
	jmp	LBB0_80
LBB0_37:                                ##   in Loop: Header=BB0_35 Depth=3
	subl	%eax, %ecx
	movl	%ecx, %eax
	cltd
	idivl	%esi
	negl	%eax
LBB0_80:                                ##   in Loop: Header=BB0_35 Depth=3
	movl	%eax, -224(%rbp,%r13,4)
	movq	-248(%rbp), %rax                ## 8-byte Reload
	movl	-224(%rbp,%rax,4), %edx
	movq	_PHY_CORE_0@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_RADIO_MIMO_CORESEL_CORE2@GOTPCREL(%rip), %rax
	cmpq	%rcx, %rbx
	jne	LBB0_82
## %bb.81:                              ##   in Loop: Header=BB0_35 Depth=3
	movq	_RADIO_MIMO_CORESEL_CORE1@GOTPCREL(%rip), %rax
LBB0_82:                                ##   in Loop: Header=BB0_35 Depth=3
	movl	(%rax), %ecx
	movq	_NPHY_RAIL_Q@GOTPCREL(%rip), %rax
	testb	$1, %r13b
	jne	LBB0_84
## %bb.83:                              ##   in Loop: Header=BB0_35 Depth=3
	movq	_NPHY_RAIL_I@GOTPCREL(%rip), %rax
	jmp	LBB0_84
LBB0_89:
	movq	%r13, %rdi
	movl	$145, %esi
	movq	-336(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_write_phy_reg
	movq	%r13, %rdi
	movl	$146, %esi
	movq	-328(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_write_phy_reg
	movq	_NPHY_RFSEQ_RESET2RX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_wlc_phy_force_rfseq_nphy
	movq	%r13, %rdi
	movl	$231, %esi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_mod_phy_reg
	movq	%r13, %rdi
	movl	$120, %esi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_mod_phy_reg
	movq	%r13, %rdi
	movl	$231, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	%r13, %rdi
	movl	$236, %esi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_mod_phy_reg
	movq	%r13, %rdi
	movl	$120, %esi
	movl	$2, %edx
	movl	$2, %ecx
	callq	_mod_phy_reg
	movq	%r13, %rdi
	movl	$236, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	%r13, %rdi
	movl	$143, %esi
	movq	-440(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_write_phy_reg
	movq	%r13, %rdi
	movl	$165, %esi
	movq	-432(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_write_phy_reg
	movq	%r13, %rdi
	movl	$166, %esi
	movq	-424(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_write_phy_reg
	movq	%r13, %rdi
	movl	$167, %esi
	movq	-416(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_write_phy_reg
	movq	%r13, %rdi
	movl	$231, %esi
	movq	-408(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_write_phy_reg
	movq	%r13, %rdi
	movl	$236, %esi
	movq	-400(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_write_phy_reg
	movl	44(%r13), %edi
	movl	$7, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	je	LBB0_91
## %bb.90:
	movq	%r13, %rdi
	movl	$834, %esi                      ## imm = 0x342
	movq	-304(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_write_phy_reg
	movq	%r13, %rdi
	movl	$835, %esi                      ## imm = 0x343
	movq	-296(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_write_phy_reg
	movq	%r13, %rdi
	movl	$838, %esi                      ## imm = 0x346
	movq	-288(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_write_phy_reg
	movq	%r13, %rdi
	movl	$839, %esi                      ## imm = 0x347
	movq	-320(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_write_phy_reg
LBB0_91:
	movq	%r13, %rdi
	movl	$229, %esi
	movq	-392(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_write_phy_reg
	movq	%r13, %rdi
	movl	$230, %esi
	movq	-384(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_write_phy_reg
	movq	%r13, %rdi
	movl	$120, %esi
	movq	-376(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_write_phy_reg
	movq	%r13, %rdi
	movl	$249, %esi
	movq	-368(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_write_phy_reg
	movq	%r13, %rdi
	movl	$251, %esi
	movq	-360(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_write_phy_reg
	movl	44(%r13), %edi
	movl	$7, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	movq	-448(%rbp), %rdx                ## 8-byte Reload
	je	LBB0_93
## %bb.92:
	movq	%r13, %rdi
	movl	$832, %esi                      ## imm = 0x340
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_write_phy_reg
	movq	%r13, %rdi
	movl	$833, %esi                      ## imm = 0x341
	movq	-280(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_write_phy_reg
	movq	%r13, %rdi
	movl	$836, %esi                      ## imm = 0x344
	movq	-272(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_write_phy_reg
	movq	%r13, %rdi
	movl	$837, %esi                      ## imm = 0x345
	movq	-312(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_write_phy_reg
LBB0_93:
	movq	%r13, %rdi
	movl	$122, %esi
	movq	-352(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_write_phy_reg
	movq	%r13, %rdi
	movl	$125, %esi
	movq	-344(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_write_phy_reg
	movl	(%r13), %edi
	callq	_CHSPEC_IS2G
	movq	%rax, %rbx
	movl	44(%r13), %edi
	movl	$7, %esi
	callq	_NREV_GE
	testq	%rbx, %rbx
	je	LBB0_98
## %bb.94:
	testq	%rax, %rax
	je	LBB0_96
## %bb.95:
	movq	_RADIO_2057_NB_MASTER_CORE0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_read_radio_reg
	movq	32(%r13), %rcx
	movq	%rax, (%rcx)
	movq	_RADIO_2057_NB_MASTER_CORE1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_97
LBB0_98:
	testq	%rax, %rax
	je	LBB0_100
## %bb.99:
	movq	_RADIO_2057_NB_MASTER_CORE0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_read_radio_reg
	movq	16(%r13), %rcx
	movq	%rax, (%rcx)
	movq	_RADIO_2057_NB_MASTER_CORE1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_101
LBB0_96:
	movq	_RADIO_2056_RX_RSSI_MISC@GOTPCREL(%rip), %rbx
	movq	_RADIO_2056_RX0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_read_radio_reg
	movq	32(%r13), %rcx
	movq	%rax, (%rcx)
	movq	_RADIO_2056_RX1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%rbx), %esi
LBB0_97:
	movq	%r13, %rdi
	callq	_read_radio_reg
	movq	32(%r13), %rcx
	movq	%rax, 8(%rcx)
	movq	%r13, %rdi
	movl	$422, %esi                      ## imm = 0x1A6
	callq	_read_phy_reg
	movq	24(%r13), %rcx
	movq	%rax, (%rcx)
	movq	%r13, %rdi
	movl	$428, %esi                      ## imm = 0x1AC
	callq	_read_phy_reg
	movq	24(%r13), %rcx
	movq	%rax, 8(%rcx)
	movq	%r13, %rdi
	movl	$434, %esi                      ## imm = 0x1B2
	callq	_read_phy_reg
	movq	24(%r13), %rcx
	movq	%rax, 16(%rcx)
	movq	%r13, %rdi
	movl	$440, %esi                      ## imm = 0x1B8
	callq	_read_phy_reg
	movq	24(%r13), %rcx
	movq	%rax, 24(%rcx)
	movq	%r13, %rdi
	movl	$420, %esi                      ## imm = 0x1A4
	callq	_read_phy_reg
	movq	24(%r13), %rcx
	movq	%rax, 32(%rcx)
	movq	%r13, %rdi
	movl	$426, %esi                      ## imm = 0x1AA
	callq	_read_phy_reg
	movq	24(%r13), %rcx
	movq	%rax, 40(%rcx)
	movq	%r13, %rdi
	movl	$432, %esi                      ## imm = 0x1B0
	callq	_read_phy_reg
	movq	24(%r13), %rcx
	movq	%rax, 48(%rcx)
	movq	%r13, %rdi
	movl	$438, %esi                      ## imm = 0x1B6
	callq	_read_phy_reg
	movq	24(%r13), %rcx
	movq	%rax, 56(%rcx)
	movq	%r13, %rdi
	movl	$421, %esi                      ## imm = 0x1A5
	callq	_read_phy_reg
	movq	24(%r13), %rcx
	movq	%rax, 64(%rcx)
	movq	%r13, %rdi
	movl	$427, %esi                      ## imm = 0x1AB
	callq	_read_phy_reg
	movq	24(%r13), %rcx
	movq	%rax, 72(%rcx)
	movq	%r13, %rdi
	movl	$433, %esi                      ## imm = 0x1B1
	callq	_read_phy_reg
	movq	24(%r13), %rcx
	movq	%rax, 80(%rcx)
	movq	%r13, %rdi
	movl	$439, %esi                      ## imm = 0x1B7
	callq	_read_phy_reg
	movq	24(%r13), %rcx
	movq	%rax, 88(%rcx)
	movl	(%r13), %eax
	movl	%eax, 48(%r13)
	jmp	LBB0_102
LBB0_100:
	movq	_RADIO_2056_RX_RSSI_MISC@GOTPCREL(%rip), %rbx
	movq	_RADIO_2056_RX0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_read_radio_reg
	movq	16(%r13), %rcx
	movq	%rax, (%rcx)
	movq	_RADIO_2056_RX1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%rbx), %esi
LBB0_101:
	movq	%r13, %rdi
	callq	_read_radio_reg
	movq	16(%r13), %rcx
	movq	%rax, 8(%rcx)
	movq	%r13, %rdi
	movl	$422, %esi                      ## imm = 0x1A6
	callq	_read_phy_reg
	movq	8(%r13), %rcx
	movq	%rax, (%rcx)
	movq	%r13, %rdi
	movl	$428, %esi                      ## imm = 0x1AC
	callq	_read_phy_reg
	movq	8(%r13), %rcx
	movq	%rax, 8(%rcx)
	movq	%r13, %rdi
	movl	$434, %esi                      ## imm = 0x1B2
	callq	_read_phy_reg
	movq	8(%r13), %rcx
	movq	%rax, 16(%rcx)
	movq	%r13, %rdi
	movl	$440, %esi                      ## imm = 0x1B8
	callq	_read_phy_reg
	movq	8(%r13), %rcx
	movq	%rax, 24(%rcx)
	movq	%r13, %rdi
	movl	$420, %esi                      ## imm = 0x1A4
	callq	_read_phy_reg
	movq	8(%r13), %rcx
	movq	%rax, 32(%rcx)
	movq	%r13, %rdi
	movl	$426, %esi                      ## imm = 0x1AA
	callq	_read_phy_reg
	movq	8(%r13), %rcx
	movq	%rax, 40(%rcx)
	movq	%r13, %rdi
	movl	$432, %esi                      ## imm = 0x1B0
	callq	_read_phy_reg
	movq	8(%r13), %rcx
	movq	%rax, 48(%rcx)
	movq	%r13, %rdi
	movl	$438, %esi                      ## imm = 0x1B6
	callq	_read_phy_reg
	movq	8(%r13), %rcx
	movq	%rax, 56(%rcx)
	movq	%r13, %rdi
	movl	$421, %esi                      ## imm = 0x1A5
	callq	_read_phy_reg
	movq	8(%r13), %rcx
	movq	%rax, 64(%rcx)
	movq	%r13, %rdi
	movl	$427, %esi                      ## imm = 0x1AB
	callq	_read_phy_reg
	movq	8(%r13), %rcx
	movq	%rax, 72(%rcx)
	movq	%r13, %rdi
	movl	$433, %esi                      ## imm = 0x1B1
	callq	_read_phy_reg
	movq	8(%r13), %rcx
	movq	%rax, 80(%rcx)
	movq	%r13, %rdi
	movl	$439, %esi                      ## imm = 0x1B7
	callq	_read_phy_reg
	movq	8(%r13), %rcx
	movq	%rax, 88(%rcx)
	movl	(%r13), %eax
	movl	%eax, 4(%r13)
LBB0_102:
	movq	%r13, %rdi
	movl	$7, %esi
	movl	-256(%rbp), %edx                ## 4-byte Reload
	callq	_wlc_phy_classifier_nphy
	leaq	-56(%rbp), %rdx
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_wlc_phy_clip_det_nphy
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_104
## %bb.103:
	addq	$424, %rsp                      ## imm = 0x1A8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_104:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NPHY_RSSICAL_MAXD,4,2          ## @NPHY_RSSICAL_MAXD
	.comm	_NPHY_RfctrlIntc_override_OFF,4,2 ## @NPHY_RfctrlIntc_override_OFF
	.comm	_RADIO_MIMO_CORESEL_ALLRXTX,4,2 ## @RADIO_MIMO_CORESEL_ALLRXTX
	.comm	_NPHY_RfctrlIntc_override_TRSW,4,2 ## @NPHY_RfctrlIntc_override_TRSW
	.comm	_NPHY_REV7_RfctrlOverride_cmd_rxrf_pu,4,2 ## @NPHY_REV7_RfctrlOverride_cmd_rxrf_pu
	.comm	_NPHY_REV7_RfctrlOverride_cmd_rx_pu,4,2 ## @NPHY_REV7_RfctrlOverride_cmd_rx_pu
	.comm	_NPHY_REV7_RFCTRLOVERRIDE_ID0,4,2 ## @NPHY_REV7_RFCTRLOVERRIDE_ID0
	.comm	_PHY_CORE_0,4,2                 ## @PHY_CORE_0
	.comm	_RADIO_MIMO_CORESEL_CORE1,4,2   ## @RADIO_MIMO_CORESEL_CORE1
	.comm	_RADIO_MIMO_CORESEL_CORE2,4,2   ## @RADIO_MIMO_CORESEL_CORE2
	.comm	_NPHY_RAIL_I,4,2                ## @NPHY_RAIL_I
	.comm	_NPHY_RSSI_SEL_NB,4,2           ## @NPHY_RSSI_SEL_NB
	.comm	_NPHY_RAIL_Q,4,2                ## @NPHY_RAIL_Q
	.comm	_RADIO_2057_NB_MASTER_CORE0,4,2 ## @RADIO_2057_NB_MASTER_CORE0
	.comm	_RADIO_2057_NB_MASTER_CORE1,4,2 ## @RADIO_2057_NB_MASTER_CORE1
	.comm	_RADIO_2057_VCM_MASK,4,2        ## @RADIO_2057_VCM_MASK
	.comm	_RADIO_2056_RX_RSSI_MISC,4,2    ## @RADIO_2056_RX_RSSI_MISC
	.comm	_RADIO_2056_RX0,4,2             ## @RADIO_2056_RX0
	.comm	_RADIO_2056_RX1,4,2             ## @RADIO_2056_RX1
	.comm	_RADIO_2056_VCM_MASK,4,2        ## @RADIO_2056_VCM_MASK
	.comm	_RADIO_2056_RSSI_VCM_SHIFT,4,2  ## @RADIO_2056_RSSI_VCM_SHIFT
	.comm	_NPHY_RSSICAL_NPOLL,4,2         ## @NPHY_RSSICAL_NPOLL
	.comm	_NPHY_RSSICAL_MAXREAD,4,2       ## @NPHY_RSSICAL_MAXREAD
	.comm	_NPHY_RSSICAL_NB_TARGET,4,2     ## @NPHY_RSSICAL_NB_TARGET
	.comm	_NPHY_RSSI_SEL_W1,4,2           ## @NPHY_RSSI_SEL_W1
	.comm	_NPHY_RSSICAL_W1_TARGET_REV3,4,2 ## @NPHY_RSSICAL_W1_TARGET_REV3
	.comm	_NPHY_RSSI_SEL_W2,4,2           ## @NPHY_RSSI_SEL_W2
	.comm	_NPHY_RSSICAL_W2_TARGET_REV3,4,2 ## @NPHY_RSSICAL_W2_TARGET_REV3
	.comm	_NPHY_RFSEQ_RESET2RX,4,2        ## @NPHY_RFSEQ_RESET2RX
	.no_dead_strip	_wlc_phy_rssi_cal_nphy_rev3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlc_phy_rssi_cal_nphy_rev3
_wlc_phy_rssi_cal_nphy_rev3:            ; @wlc_phy_rssi_cal_nphy_rev3
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #432
	mov	x26, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-104]
	mov	x8, #281470681808895
	stp	x8, xzr, [sp, #216]
	sub	x8, x29, #240
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x8, #96]
	str	q0, [x8, #80]
	stp	q0, q0, [x29, #-192]
	stp	q0, q0, [x29, #-224]
	stur	q0, [x29, #-240]
	stp	xzr, xzr, [sp, #256]
	str	xzr, [sp, #232]
	mov	w1, #0
	mov	w2, #0
	bl	_wlc_phy_classifier_nphy
	str	w0, [sp, #196]                  ; 4-byte Folded Spill
	mov	x0, x26
	mov	w1, #7
	mov	w2, #4
	bl	_wlc_phy_classifier_nphy
	sub	x2, x29, #112
	mov	x0, x26
	mov	w1, #0
	bl	_wlc_phy_clip_det_nphy
	add	x2, sp, #216
	mov	x0, x26
	mov	w1, #1
	bl	_wlc_phy_clip_det_nphy
	mov	x0, x26
	mov	w1, #145
	bl	_read_phy_reg
	str	x0, [sp, #80]                   ; 8-byte Folded Spill
	mov	x0, x26
	mov	w1, #146
	bl	_read_phy_reg
	str	x0, [sp, #72]                   ; 8-byte Folded Spill
	mov	x0, x26
	mov	w1, #143
	bl	_read_phy_reg
	str	x0, [sp, #184]                  ; 8-byte Folded Spill
	mov	x0, x26
	mov	w1, #165
	bl	_read_phy_reg
	str	x0, [sp, #176]                  ; 8-byte Folded Spill
	mov	x0, x26
	mov	w1, #166
	bl	_read_phy_reg
	str	x0, [sp, #168]                  ; 8-byte Folded Spill
	mov	x0, x26
	mov	w1, #167
	bl	_read_phy_reg
	str	x0, [sp, #160]                  ; 8-byte Folded Spill
	mov	x0, x26
	mov	w1, #231
	bl	_read_phy_reg
	str	x0, [sp, #152]                  ; 8-byte Folded Spill
	mov	x0, x26
	mov	w1, #236
	bl	_read_phy_reg
	str	x0, [sp, #144]                  ; 8-byte Folded Spill
	ldr	w0, [x26, #44]
	mov	w1, #7
	bl	_NREV_GE
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x26
	mov	w1, #834
	bl	_read_phy_reg
	str	x0, [sp, #64]                   ; 8-byte Folded Spill
	mov	x0, x26
	mov	w1, #835
	bl	_read_phy_reg
	str	x0, [sp, #56]                   ; 8-byte Folded Spill
	mov	x0, x26
	mov	w1, #838
	bl	_read_phy_reg
	str	x0, [sp, #48]                   ; 8-byte Folded Spill
	mov	x0, x26
	mov	w1, #839
	bl	_read_phy_reg
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	b	LBB0_3
LBB0_2:
	stp	xzr, xzr, [sp, #56]             ; 16-byte Folded Spill
	stp	xzr, xzr, [sp, #40]             ; 16-byte Folded Spill
LBB0_3:
	mov	x0, x26
	mov	w1, #229
	bl	_read_phy_reg
	str	x0, [sp, #136]                  ; 8-byte Folded Spill
	mov	x0, x26
	mov	w1, #230
	bl	_read_phy_reg
	str	x0, [sp, #128]                  ; 8-byte Folded Spill
	mov	x0, x26
	mov	w1, #120
	bl	_read_phy_reg
	str	x0, [sp, #120]                  ; 8-byte Folded Spill
	mov	x0, x26
	mov	w1, #249
	bl	_read_phy_reg
	str	x0, [sp, #112]                  ; 8-byte Folded Spill
	mov	x0, x26
	mov	w1, #251
	bl	_read_phy_reg
	str	x0, [sp, #104]                  ; 8-byte Folded Spill
	ldr	w0, [x26, #44]
	mov	w1, #7
	bl	_NREV_GE
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x26
	mov	w1, #832
	bl	_read_phy_reg
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	mov	x0, x26
	mov	w1, #833
	bl	_read_phy_reg
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	mov	x0, x26
	mov	w1, #836
	bl	_read_phy_reg
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	mov	x0, x26
	mov	w1, #837
	bl	_read_phy_reg
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	b	LBB0_6
LBB0_5:
	stp	xzr, xzr, [sp, #24]             ; 16-byte Folded Spill
	stp	xzr, xzr, [sp, #8]              ; 16-byte Folded Spill
LBB0_6:
	mov	x0, x26
	mov	w1, #122
	bl	_read_phy_reg
	str	x0, [sp, #96]                   ; 8-byte Folded Spill
	mov	x0, x26
	mov	w1, #125
	bl	_read_phy_reg
	str	x0, [sp, #88]                   ; 8-byte Folded Spill
Lloh3:
	adrp	x8, _NPHY_RfctrlIntc_override_OFF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NPHY_RfctrlIntc_override_OFF@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x19, _RADIO_MIMO_CORESEL_ALLRXTX@GOTPAGE
Lloh7:
	ldr	x19, [x19, _RADIO_MIMO_CORESEL_ALLRXTX@GOTPAGEOFF]
	ldr	w3, [x19]
	mov	x0, x26
	mov	w2, #0
	bl	_wlc_phy_rfctrlintc_override_nphy
Lloh8:
	adrp	x8, _NPHY_RfctrlIntc_override_TRSW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NPHY_RfctrlIntc_override_TRSW@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w3, [x19]
	mov	x0, x26
	mov	w2, #1
	bl	_wlc_phy_rfctrlintc_override_nphy
	ldr	w0, [x26, #44]
	mov	w1, #7
	bl	_NREV_GE
	cbz	x0, LBB0_8
; %bb.7:
Lloh11:
	adrp	x8, _NPHY_REV7_RfctrlOverride_cmd_rxrf_pu@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NPHY_REV7_RfctrlOverride_cmd_rxrf_pu@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x26
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_wlc_phy_rfctrl_override_1tomany_nphy
	b	LBB0_9
LBB0_8:
	mov	x0, x26
	mov	w1, #1
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_wlc_phy_rfctrl_override_nphy
LBB0_9:
	ldr	w0, [x26, #44]
	mov	w1, #7
	bl	_NREV_GE
	cbz	x0, LBB0_11
; %bb.10:
Lloh14:
	adrp	x8, _NPHY_REV7_RfctrlOverride_cmd_rx_pu@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NPHY_REV7_RfctrlOverride_cmd_rx_pu@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x26
	mov	w2, #1
	mov	w3, #0
	mov	w4, #0
	bl	_wlc_phy_rfctrl_override_1tomany_nphy
	b	LBB0_12
LBB0_11:
	mov	x0, x26
	mov	w1, #2
	mov	w2, #1
	mov	w3, #0
	mov	w4, #0
	bl	_wlc_phy_rfctrl_override_nphy
LBB0_12:
	ldr	w0, [x26, #44]
	mov	w1, #7
	bl	_NREV_GE
Lloh17:
	adrp	x19, _NPHY_REV7_RFCTRLOVERRIDE_ID0@GOTPAGE
Lloh18:
	ldr	x19, [x19, _NPHY_REV7_RFCTRLOVERRIDE_ID0@GOTPAGEOFF]
	cbz	x0, LBB0_14
; %bb.13:
	ldr	w5, [x19]
	mov	x0, x26
	mov	w1, #128
	mov	w2, #1
	mov	w3, #0
	mov	w4, #0
	bl	_wlc_phy_rfctrl_override_nphy_rev7
	ldr	w5, [x19]
	mov	x0, x26
	mov	w1, #64
	mov	w2, #1
	mov	w3, #0
	mov	w4, #0
	bl	_wlc_phy_rfctrl_override_nphy_rev7
	b	LBB0_15
LBB0_14:
	mov	x0, x26
	mov	w1, #128
	mov	w2, #1
	mov	w3, #0
	mov	w4, #0
	bl	_wlc_phy_rfctrl_override_nphy
	mov	x0, x26
	mov	w1, #64
	mov	w2, #1
	mov	w3, #0
	mov	w4, #0
	bl	_wlc_phy_rfctrl_override_nphy
LBB0_15:
	ldr	w0, [x26]
	bl	_CHSPEC_IS5G
	mov	x20, x0
	ldr	w0, [x26, #44]
	mov	w1, #7
	bl	_NREV_GE
	cbz	x20, LBB0_18
; %bb.16:
	cbz	x0, LBB0_21
; %bb.17:
	ldr	w5, [x19]
	mov	x0, x26
	mov	w1, #32
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_wlc_phy_rfctrl_override_nphy_rev7
	ldr	w5, [x19]
	mov	x0, x26
	mov	w1, #16
	b	LBB0_20
LBB0_18:
	cbz	x0, LBB0_22
; %bb.19:
	ldr	w5, [x19]
	mov	x0, x26
	mov	w1, #16
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_wlc_phy_rfctrl_override_nphy_rev7
	ldr	w5, [x19]
	mov	x0, x26
	mov	w1, #32
LBB0_20:
	mov	w2, #1
	mov	w3, #0
	mov	w4, #0
	bl	_wlc_phy_rfctrl_override_nphy_rev7
	b	LBB0_24
LBB0_21:
	mov	x0, x26
	mov	w1, #32
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_wlc_phy_rfctrl_override_nphy
	mov	x0, x26
	mov	w1, #16
	b	LBB0_23
LBB0_22:
	mov	x0, x26
	mov	w1, #16
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_wlc_phy_rfctrl_override_nphy
	mov	x0, x26
	mov	w1, #32
LBB0_23:
	mov	w2, #1
	mov	w3, #0
	mov	w4, #0
	bl	_wlc_phy_rfctrl_override_nphy
LBB0_24:
	mov	x0, x26
	bl	_wlc_phy_rxcore_getstate_nphy
	ldr	w8, [x26, #40]
Lloh19:
	adrp	x25, _RADIO_2057_NB_MASTER_CORE0@GOTPAGE
Lloh20:
	ldr	x25, [x25, _RADIO_2057_NB_MASTER_CORE0@GOTPAGEOFF]
Lloh21:
	adrp	x24, _RADIO_2057_NB_MASTER_CORE1@GOTPAGE
Lloh22:
	ldr	x24, [x24, _RADIO_2057_NB_MASTER_CORE1@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_59
; %bb.25:
	mov	w10, #0
	mov	w21, #0
	sub	x9, x29, #240
Lloh23:
	adrp	x23, _RADIO_MIMO_CORESEL_CORE2@GOTPAGE
Lloh24:
	ldr	x23, [x23, _RADIO_MIMO_CORESEL_CORE2@GOTPAGEOFF]
Lloh25:
	adrp	x28, _NPHY_RSSI_SEL_NB@GOTPAGE
Lloh26:
	ldr	x28, [x28, _NPHY_RSSI_SEL_NB@GOTPAGEOFF]
	add	x9, x9, #64
	str	x9, [sp, #200]                  ; 8-byte Folded Spill
	str	w0, [sp, #208]                  ; 4-byte Folded Spill
	b	LBB0_28
LBB0_26:                                ;   in Loop: Header=BB0_28 Depth=1
	ldr	w8, [x26, #40]
	ldp	w0, w10, [sp, #208]             ; 8-byte Folded Reload
LBB0_27:                                ;   in Loop: Header=BB0_28 Depth=1
	add	w21, w21, #1
	cmp	w21, w8
	b.ge	LBB0_48
LBB0_28:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_32 Depth 2
                                        ;     Child Loop BB0_36 Depth 2
                                        ;     Child Loop BB0_45 Depth 2
	lsr	w9, w0, w21
	tbz	w9, #0, LBB0_27
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	str	w10, [sp, #212]                 ; 4-byte Folded Spill
Lloh27:
	adrp	x19, _PHY_CORE_0@GOTPAGE
Lloh28:
	ldr	x19, [x19, _PHY_CORE_0@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w21, w8
Lloh29:
	adrp	x20, _RADIO_MIMO_CORESEL_CORE1@GOTPAGE
Lloh30:
	ldr	x20, [x20, _RADIO_MIMO_CORESEL_CORE1@GOTPAGEOFF]
	csel	x8, x20, x23, eq
	ldr	w3, [x8]
Lloh31:
	adrp	x8, _NPHY_RAIL_I@GOTPAGE
Lloh32:
	ldr	x8, [x8, _NPHY_RAIL_I@GOTPAGEOFF]
Lloh33:
	ldr	w4, [x8]
	ldr	w5, [x28]
	mov	x0, x26
	mov	w1, #0
	mov	w2, #0
	bl	_wlc_phy_scale_offset_rssi_nphy
	ldr	w8, [x19]
	mov	x19, x28
	cmp	w21, w8
	csel	x8, x20, x23, eq
Lloh34:
	adrp	x20, _RADIO_2056_RX_RSSI_MISC@GOTPAGE
Lloh35:
	ldr	x20, [x20, _RADIO_2056_RX_RSSI_MISC@GOTPAGEOFF]
	ldr	w3, [x8]
Lloh36:
	adrp	x8, _NPHY_RAIL_Q@GOTPAGE
Lloh37:
	ldr	x8, [x8, _NPHY_RAIL_Q@GOTPAGEOFF]
Lloh38:
	ldr	w4, [x8]
	ldr	w5, [x28]
	mov	x0, x26
	mov	w1, #0
	mov	w2, #0
	bl	_wlc_phy_scale_offset_rssi_nphy
	mov	x22, #0
	sub	x27, x29, #240
	b	LBB0_32
LBB0_30:                                ;   in Loop: Header=BB0_32 Depth=2
	ldr	w8, [x20]
Lloh39:
	adrp	x9, _PHY_CORE_0@GOTPAGE
Lloh40:
	ldr	x9, [x9, _PHY_CORE_0@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	cmp	w21, w9
Lloh42:
	adrp	x9, _RADIO_2056_RX0@GOTPAGE
Lloh43:
	ldr	x9, [x9, _RADIO_2056_RX0@GOTPAGEOFF]
Lloh44:
	adrp	x10, _RADIO_2056_RX1@GOTPAGE
Lloh45:
	ldr	x10, [x10, _RADIO_2056_RX1@GOTPAGEOFF]
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh46:
	adrp	x8, _RADIO_2056_VCM_MASK@GOTPAGE
Lloh47:
	ldr	x8, [x8, _RADIO_2056_VCM_MASK@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
Lloh49:
	adrp	x8, _RADIO_2056_RSSI_VCM_SHIFT@GOTPAGE
Lloh50:
	ldr	x8, [x8, _RADIO_2056_RSSI_VCM_SHIFT@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	lsl	w3, w22, w8
	mov	x0, x26
LBB0_31:                                ;   in Loop: Header=BB0_32 Depth=2
	bl	_mod_radio_reg
	ldr	w1, [x19]
Lloh52:
	adrp	x8, _NPHY_RSSICAL_NPOLL@GOTPAGE
Lloh53:
	ldr	x8, [x8, _NPHY_RSSICAL_NPOLL@GOTPAGEOFF]
Lloh54:
	ldr	w3, [x8]
	mov	x0, x26
	mov	x2, x27
	bl	_wlc_phy_poll_rssi_nphy
	add	x22, x22, #1
	add	x27, x27, #16
	cmp	x22, #8
	b.eq	LBB0_34
LBB0_32:                                ;   Parent Loop BB0_28 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x26, #44]
	mov	w1, #7
	bl	_NREV_GE
	cbz	x0, LBB0_30
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=2
Lloh55:
	adrp	x8, _PHY_CORE_0@GOTPAGE
Lloh56:
	ldr	x8, [x8, _PHY_CORE_0@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	cmp	w21, w8
	csel	x8, x25, x24, eq
	ldr	w1, [x8]
Lloh58:
	adrp	x8, _RADIO_2057_VCM_MASK@GOTPAGE
Lloh59:
	ldr	x8, [x8, _RADIO_2057_VCM_MASK@GOTPAGEOFF]
Lloh60:
	ldr	w2, [x8]
	mov	x0, x26
	mov	x3, x22
	b	LBB0_31
LBB0_34:                                ;   in Loop: Header=BB0_28 Depth=1
	mov	x8, #0
Lloh61:
	adrp	x9, _NPHY_RSSICAL_MAXD@GOTPAGE
Lloh62:
	ldr	x9, [x9, _NPHY_RSSICAL_MAXD@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
Lloh64:
	adrp	x22, _NPHY_RSSICAL_MAXREAD@GOTPAGE
Lloh65:
	ldr	x22, [x22, _NPHY_RSSICAL_MAXREAD@GOTPAGEOFF]
	ldr	w10, [x22]
Lloh66:
	adrp	x11, _NPHY_RSSICAL_NPOLL@GOTPAGE
Lloh67:
	ldr	x11, [x11, _NPHY_RSSICAL_NPOLL@GOTPAGEOFF]
Lloh68:
	ldr	w11, [x11]
	orr	w12, wzr, #0x1
	madd	w10, w11, w10, w12
	ldr	x11, [sp, #200]                 ; 8-byte Folded Reload
	mov	w0, #7
	mov	w1, #2
	mov	w2, #3
	mov	w3, #4
	mov	w4, #5
	mov	w5, #6
	add	x27, sp, #224
	ldr	w19, [sp, #212]                 ; 4-byte Folded Reload
	b	LBB0_36
LBB0_35:                                ;   in Loop: Header=BB0_36 Depth=2
	add	x8, x8, #1
	add	x11, x11, #4
	cmp	x8, #4
	b.eq	LBB0_39
LBB0_36:                                ;   Parent Loop BB0_28 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w21, w8, lsr #1
	b.ne	LBB0_35
; %bb.37:                               ;   in Loop: Header=BB0_36 Depth=2
	tbnz	w8, #0, LBB0_35
; %bb.38:                               ;   in Loop: Header=BB0_36 Depth=2
	ldp	w12, w13, [x11, #-64]
	mul	w14, w12, w12
	madd	w13, w13, w13, w14
	cmp	w13, w9
	csel	w13, w13, w9, lt
	cmp	w12, w10
	csel	w12, w12, w10, lt
	ldp	w14, w15, [x11, #-48]
	mul	w16, w14, w14
	madd	w15, w15, w15, w16
	cmp	w15, w13
	csel	w13, w15, w13, lt
	cset	w15, lt
	cmp	w14, w12
	csel	w12, w14, w12, lt
	ldp	w14, w16, [x11, #-32]
	mul	w17, w14, w14
	madd	w16, w16, w16, w17
	cmp	w16, w13
	csel	w13, w16, w13, lt
	csel	w15, w1, w15, lt
	cmp	w14, w12
	csel	w12, w14, w12, lt
	ldp	w14, w16, [x11, #-16]
	mul	w17, w14, w14
	madd	w16, w16, w16, w17
	cmp	w16, w13
	csel	w13, w16, w13, lt
	csel	w15, w2, w15, lt
	cmp	w14, w12
	csel	w12, w14, w12, lt
	ldp	w14, w16, [x11]
	mul	w17, w14, w14
	madd	w16, w16, w16, w17
	cmp	w16, w13
	csel	w13, w16, w13, lt
	csel	w15, w3, w15, lt
	cmp	w14, w12
	csel	w12, w14, w12, lt
	ldp	w14, w16, [x11, #16]
	mul	w17, w14, w14
	madd	w16, w16, w16, w17
	cmp	w16, w13
	csel	w13, w16, w13, lt
	csel	w15, w4, w15, lt
	cmp	w14, w12
	csel	w12, w14, w12, lt
	ldp	w14, w16, [x11, #32]
	mul	w17, w14, w14
	madd	w16, w16, w16, w17
	cmp	w16, w13
	csel	w13, w16, w13, lt
	csel	w15, w5, w15, lt
	cmp	w14, w12
	csel	w12, w14, w12, lt
	ldp	w14, w16, [x11, #48]
	mul	w17, w14, w14
	madd	w16, w16, w16, w17
	cmp	w16, w13
	csel	w19, w0, w15, lt
	cmp	w14, w12
	csel	w12, w14, w12, lt
	str	w12, [x27, x8, lsl #2]
	b	LBB0_35
LBB0_39:                                ;   in Loop: Header=BB0_28 Depth=1
	ldr	w0, [x26, #44]
	mov	w1, #7
	bl	_NREV_GE
	cbz	x0, LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_28 Depth=1
Lloh69:
	adrp	x8, _PHY_CORE_0@GOTPAGE
Lloh70:
	ldr	x8, [x8, _PHY_CORE_0@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
	cmp	w21, w8
	csel	x8, x25, x24, eq
	ldr	w1, [x8]
Lloh72:
	adrp	x8, _RADIO_2057_VCM_MASK@GOTPAGE
Lloh73:
	ldr	x8, [x8, _RADIO_2057_VCM_MASK@GOTPAGEOFF]
Lloh74:
	ldr	w2, [x8]
	mov	x0, x26
	mov	x3, x19
	b	LBB0_42
LBB0_41:                                ;   in Loop: Header=BB0_28 Depth=1
	ldr	w8, [x20]
Lloh75:
	adrp	x9, _PHY_CORE_0@GOTPAGE
Lloh76:
	ldr	x9, [x9, _PHY_CORE_0@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
	cmp	w21, w9
Lloh78:
	adrp	x9, _RADIO_2056_RX0@GOTPAGE
Lloh79:
	ldr	x9, [x9, _RADIO_2056_RX0@GOTPAGEOFF]
Lloh80:
	adrp	x10, _RADIO_2056_RX1@GOTPAGE
Lloh81:
	ldr	x10, [x10, _RADIO_2056_RX1@GOTPAGEOFF]
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh82:
	adrp	x8, _RADIO_2056_VCM_MASK@GOTPAGE
Lloh83:
	ldr	x8, [x8, _RADIO_2056_VCM_MASK@GOTPAGEOFF]
Lloh84:
	ldr	w2, [x8]
Lloh85:
	adrp	x8, _RADIO_2056_RSSI_VCM_SHIFT@GOTPAGE
Lloh86:
	ldr	x8, [x8, _RADIO_2056_RSSI_VCM_SHIFT@GOTPAGEOFF]
Lloh87:
	ldr	w8, [x8]
	lsl	w3, w19, w8
	mov	x0, x26
LBB0_42:                                ;   in Loop: Header=BB0_28 Depth=1
	bl	_mod_radio_reg
	mov	x9, x19
	mov	x19, #0
	sub	x8, x29, #240
	str	w9, [sp, #212]                  ; 4-byte Folded Spill
	add	x20, x8, w9, uxtw #4
	b	LBB0_45
LBB0_43:                                ;   in Loop: Header=BB0_45 Depth=2
	cmp	x19, #2
Lloh88:
	adrp	x8, _RADIO_MIMO_CORESEL_CORE1@GOTPAGE
Lloh89:
	ldr	x8, [x8, _RADIO_MIMO_CORESEL_CORE1@GOTPAGEOFF]
	csel	x8, x8, x23, lo
	ldr	w3, [x8]
	tst	w19, #0x1
Lloh90:
	adrp	x8, _NPHY_RAIL_I@GOTPAGE
Lloh91:
	ldr	x8, [x8, _NPHY_RAIL_I@GOTPAGEOFF]
Lloh92:
	adrp	x9, _NPHY_RAIL_Q@GOTPAGE
Lloh93:
	ldr	x9, [x9, _NPHY_RAIL_Q@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w4, [x8]
	ldr	w5, [x28]
	mov	x0, x26
	mov	w1, #0
	bl	_wlc_phy_scale_offset_rssi_nphy
LBB0_44:                                ;   in Loop: Header=BB0_45 Depth=2
	add	x19, x19, #1
	cmp	x19, #4
	b.eq	LBB0_26
LBB0_45:                                ;   Parent Loop BB0_28 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w21, w19, lsr #1
	b.ne	LBB0_44
; %bb.46:                               ;   in Loop: Header=BB0_45 Depth=2
Lloh94:
	adrp	x8, _NPHY_RSSICAL_NB_TARGET@GOTPAGE
Lloh95:
	ldr	x8, [x8, _NPHY_RSSICAL_NB_TARGET@GOTPAGEOFF]
Lloh96:
	ldr	w8, [x8]
Lloh97:
	adrp	x9, _NPHY_RSSICAL_NPOLL@GOTPAGE
Lloh98:
	ldr	x9, [x9, _NPHY_RSSICAL_NPOLL@GOTPAGEOFF]
Lloh99:
	ldr	w10, [x9]
	ldr	w9, [x20, x19, lsl #2]
	neg	w9, w9
	madd	w9, w10, w8, w9
	cmp	w10, #0
	cinc	w11, w10, lt
	asr	w11, w11, #1
	add	w12, w9, w11
	sdiv	w12, w12, w10
	sub	w11, w11, w9
	sdiv	w11, w11, w10
	tst	w9, #0x80000000
	csneg	w2, w12, w11, eq
	lsl	x9, x19, #2
	add	x11, sp, #240
	str	w2, [x11, x9]
	ldr	w11, [x27, x9]
	ldr	w9, [x22]
	mul	w10, w9, w10
	cmp	w11, w10
	b.ne	LBB0_43
; %bb.47:                               ;   in Loop: Header=BB0_45 Depth=2
	mvn	w9, w9
	add	w2, w8, w9
	add	x8, sp, #240
	str	w2, [x8, x19, lsl #2]
	b	LBB0_43
LBB0_48:
	cmp	w8, #1
	b.lt	LBB0_59
; %bb.49:
	mov	x22, #0
	add	x27, sp, #256
	add	x19, sp, #240
	b	LBB0_52
LBB0_50:                                ;   in Loop: Header=BB0_52 Depth=1
	ldr	w8, [x26, #40]
Lloh100:
	adrp	x24, _RADIO_2057_NB_MASTER_CORE1@GOTPAGE
Lloh101:
	ldr	x24, [x24, _RADIO_2057_NB_MASTER_CORE1@GOTPAGEOFF]
Lloh102:
	adrp	x25, _RADIO_2057_NB_MASTER_CORE0@GOTPAGE
Lloh103:
	ldr	x25, [x25, _RADIO_2057_NB_MASTER_CORE0@GOTPAGEOFF]
	ldr	w0, [sp, #208]                  ; 4-byte Folded Reload
LBB0_51:                                ;   in Loop: Header=BB0_52 Depth=1
	add	x22, x22, #1
	cmp	x22, w8, sxtw
	b.ge	LBB0_59
LBB0_52:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_55 Depth 2
                                        ;       Child Loop BB0_57 Depth 3
	lsr	w9, w0, w22
	tbz	w9, #0, LBB0_51
; %bb.53:                               ;   in Loop: Header=BB0_52 Depth=1
	lsl	x20, x22, #1
	mov	w8, #1
	b	LBB0_55
LBB0_54:                                ;   in Loop: Header=BB0_55 Depth=2
	mov	w8, #0
	mov	x26, x24
	ldr	w9, [sp, #212]                  ; 4-byte Folded Reload
	tbz	w9, #0, LBB0_50
LBB0_55:                                ;   Parent Loop BB0_52 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_57 Depth 3
	str	w8, [sp, #212]                  ; 4-byte Folded Spill
	tst	w8, #0x1
Lloh104:
	adrp	x8, _NPHY_RSSICAL_W1_TARGET_REV3@GOTPAGE
Lloh105:
	ldr	x8, [x8, _NPHY_RSSICAL_W1_TARGET_REV3@GOTPAGEOFF]
Lloh106:
	adrp	x9, _NPHY_RSSICAL_W2_TARGET_REV3@GOTPAGE
Lloh107:
	ldr	x9, [x9, _NPHY_RSSICAL_W2_TARGET_REV3@GOTPAGEOFF]
	csel	x8, x8, x9, ne
	ldr	w25, [x8]
Lloh108:
	adrp	x8, _NPHY_RSSI_SEL_W1@GOTPAGE
Lloh109:
	ldr	x8, [x8, _NPHY_RSSI_SEL_W1@GOTPAGEOFF]
Lloh110:
	adrp	x9, _NPHY_RSSI_SEL_W2@GOTPAGE
Lloh111:
	ldr	x9, [x9, _NPHY_RSSI_SEL_W2@GOTPAGEOFF]
	csel	x8, x8, x9, ne
	ldr	w21, [x8]
Lloh112:
	adrp	x24, _PHY_CORE_0@GOTPAGE
Lloh113:
	ldr	x24, [x24, _PHY_CORE_0@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	x22, x8
Lloh114:
	adrp	x28, _RADIO_MIMO_CORESEL_CORE1@GOTPAGE
Lloh115:
	ldr	x28, [x28, _RADIO_MIMO_CORESEL_CORE1@GOTPAGEOFF]
	csel	x8, x28, x23, eq
	ldr	w3, [x8]
Lloh116:
	adrp	x8, _NPHY_RAIL_I@GOTPAGE
Lloh117:
	ldr	x8, [x8, _NPHY_RAIL_I@GOTPAGEOFF]
Lloh118:
	ldr	w4, [x8]
	mov	x0, x26
	mov	w1, #0
	mov	w2, #0
	mov	x5, x21
	bl	_wlc_phy_scale_offset_rssi_nphy
	ldr	w8, [x24]
	cmp	x22, x8
	csel	x8, x28, x23, eq
	ldr	w3, [x8]
Lloh119:
	adrp	x28, _NPHY_RAIL_Q@GOTPAGE
Lloh120:
	ldr	x28, [x28, _NPHY_RAIL_Q@GOTPAGEOFF]
	ldr	w4, [x28]
	mov	x0, x26
	mov	w1, #0
	mov	w2, #0
	mov	x5, x21
	bl	_wlc_phy_scale_offset_rssi_nphy
Lloh121:
	adrp	x8, _NPHY_RSSICAL_NPOLL@GOTPAGE
Lloh122:
	ldr	x8, [x8, _NPHY_RSSICAL_NPOLL@GOTPAGEOFF]
Lloh123:
	ldr	w3, [x8]
	add	x2, sp, #256
	mov	x24, x26
	mov	x0, x26
	mov	x1, x21
	bl	_wlc_phy_poll_rssi_nphy
	mov	x26, #0
	b	LBB0_57
LBB0_56:                                ;   in Loop: Header=BB0_57 Depth=3
	add	x26, x26, #1
	cmp	x26, #4
	b.eq	LBB0_54
LBB0_57:                                ;   Parent Loop BB0_52 Depth=1
                                        ;     Parent Loop BB0_55 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ubfx	x8, x26, #1, #31
	cmp	x22, x8
	b.ne	LBB0_56
; %bb.58:                               ;   in Loop: Header=BB0_57 Depth=3
Lloh124:
	adrp	x8, _NPHY_RSSICAL_NPOLL@GOTPAGE
Lloh125:
	ldr	x8, [x8, _NPHY_RSSICAL_NPOLL@GOTPAGEOFF]
Lloh126:
	ldr	w8, [x8]
	ldr	w9, [x27, x26, lsl #2]
	neg	w9, w9
	madd	w9, w8, w25, w9
	cmp	w8, #0
	cinc	w10, w8, lt
	asr	w10, w10, #1
	add	w11, w9, w10
	sdiv	w11, w11, w8
	sub	w10, w10, w9
	sdiv	w8, w10, w8
	tst	w9, #0x80000000
	csneg	w8, w11, w8, eq
	str	w8, [x19, x26, lsl #2]
	ldr	w2, [x19, x20, lsl #2]
Lloh127:
	adrp	x8, _PHY_CORE_0@GOTPAGE
Lloh128:
	ldr	x8, [x8, _PHY_CORE_0@GOTPAGEOFF]
Lloh129:
	ldr	w8, [x8]
	cmp	x22, x8
Lloh130:
	adrp	x8, _RADIO_MIMO_CORESEL_CORE1@GOTPAGE
Lloh131:
	ldr	x8, [x8, _RADIO_MIMO_CORESEL_CORE1@GOTPAGEOFF]
	csel	x8, x8, x23, eq
	ldr	w3, [x8]
	tst	x26, #0x1
Lloh132:
	adrp	x8, _NPHY_RAIL_I@GOTPAGE
Lloh133:
	ldr	x8, [x8, _NPHY_RAIL_I@GOTPAGEOFF]
	csel	x8, x8, x28, eq
	ldr	w4, [x8]
	mov	x0, x24
	mov	w1, #0
	mov	x5, x21
	bl	_wlc_phy_scale_offset_rssi_nphy
	b	LBB0_56
LBB0_59:
	mov	x0, x26
	mov	w1, #145
	ldr	x2, [sp, #80]                   ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_write_phy_reg
	mov	x0, x26
	mov	w1, #146
	ldr	x2, [sp, #72]                   ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_write_phy_reg
Lloh134:
	adrp	x8, _NPHY_RFSEQ_RESET2RX@GOTPAGE
Lloh135:
	ldr	x8, [x8, _NPHY_RFSEQ_RESET2RX@GOTPAGEOFF]
Lloh136:
	ldr	w1, [x8]
	mov	x0, x26
	bl	_wlc_phy_force_rfseq_nphy
	mov	x0, x26
	mov	w1, #231
	mov	w2, #1
	mov	w3, #1
	bl	_mod_phy_reg
	mov	x0, x26
	mov	w1, #120
	mov	w2, #1
	mov	w3, #1
	bl	_mod_phy_reg
	mov	x0, x26
	mov	w1, #231
	mov	w2, #1
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x26
	mov	w1, #236
	mov	w2, #1
	mov	w3, #1
	bl	_mod_phy_reg
	mov	x0, x26
	mov	w1, #120
	mov	w2, #2
	mov	w3, #2
	bl	_mod_phy_reg
	mov	x0, x26
	mov	w1, #236
	mov	w2, #1
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x26
	mov	w1, #143
	ldr	x2, [sp, #184]                  ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_write_phy_reg
	mov	x0, x26
	mov	w1, #165
	ldr	x2, [sp, #176]                  ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_write_phy_reg
	mov	x0, x26
	mov	w1, #166
	ldr	x2, [sp, #168]                  ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_write_phy_reg
	mov	x0, x26
	mov	w1, #167
	ldr	x2, [sp, #160]                  ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_write_phy_reg
	mov	x0, x26
	mov	w1, #231
	ldr	x2, [sp, #152]                  ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_write_phy_reg
	mov	x0, x26
	mov	w1, #236
	ldr	x2, [sp, #144]                  ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_write_phy_reg
	ldr	w0, [x26, #44]
	mov	w1, #7
	bl	_NREV_GE
	cbz	x0, LBB0_61
; %bb.60:
	mov	x0, x26
	mov	w1, #834
	ldr	x2, [sp, #64]                   ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_write_phy_reg
	mov	x0, x26
	mov	w1, #835
	ldr	x2, [sp, #56]                   ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_write_phy_reg
	mov	x0, x26
	mov	w1, #838
	ldr	x2, [sp, #48]                   ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_write_phy_reg
	mov	x0, x26
	mov	w1, #839
	ldr	x2, [sp, #40]                   ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_write_phy_reg
LBB0_61:
	mov	x0, x26
	mov	w1, #229
	ldr	x2, [sp, #136]                  ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_write_phy_reg
	mov	x0, x26
	mov	w1, #230
	ldr	x2, [sp, #128]                  ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_write_phy_reg
	mov	x0, x26
	mov	w1, #120
	ldr	x2, [sp, #120]                  ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_write_phy_reg
	mov	x0, x26
	mov	w1, #249
	ldr	x2, [sp, #112]                  ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_write_phy_reg
	mov	x0, x26
	mov	w1, #251
	ldr	x2, [sp, #104]                  ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_write_phy_reg
	ldr	w0, [x26, #44]
	mov	w1, #7
	bl	_NREV_GE
	cbz	x0, LBB0_63
; %bb.62:
	mov	x0, x26
	mov	w1, #832
	ldr	x2, [sp, #32]                   ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_write_phy_reg
	mov	x0, x26
	mov	w1, #833
	ldr	x2, [sp, #24]                   ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_write_phy_reg
	mov	x0, x26
	mov	w1, #836
	ldr	x2, [sp, #16]                   ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_write_phy_reg
	mov	x0, x26
	mov	w1, #837
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_write_phy_reg
LBB0_63:
	mov	x0, x26
	mov	w1, #122
	ldr	x2, [sp, #96]                   ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_write_phy_reg
	mov	x0, x26
	mov	w1, #125
	ldr	x2, [sp, #88]                   ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_write_phy_reg
	ldr	w0, [x26]
	bl	_CHSPEC_IS2G
	mov	x20, x0
	ldr	w0, [x26, #44]
	mov	w1, #7
	bl	_NREV_GE
	cbz	x20, LBB0_66
; %bb.64:
	cbz	x0, LBB0_68
; %bb.65:
	ldr	w1, [x25]
	mov	x0, x26
	bl	_read_radio_reg
	ldr	x8, [x26, #32]
	str	x0, [x8]
	ldr	w1, [x24]
	b	LBB0_69
LBB0_66:
	cbz	x0, LBB0_70
; %bb.67:
	ldr	w1, [x25]
	mov	x0, x26
	bl	_read_radio_reg
	ldr	x8, [x26, #16]
	str	x0, [x8]
	ldr	w1, [x24]
	b	LBB0_71
LBB0_68:
Lloh137:
	adrp	x19, _RADIO_2056_RX_RSSI_MISC@GOTPAGE
Lloh138:
	ldr	x19, [x19, _RADIO_2056_RX_RSSI_MISC@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh139:
	adrp	x9, _RADIO_2056_RX0@GOTPAGE
Lloh140:
	ldr	x9, [x9, _RADIO_2056_RX0@GOTPAGEOFF]
Lloh141:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x26
	bl	_read_radio_reg
	ldr	x8, [x26, #32]
	str	x0, [x8]
	ldr	w8, [x19]
Lloh142:
	adrp	x9, _RADIO_2056_RX1@GOTPAGE
Lloh143:
	ldr	x9, [x9, _RADIO_2056_RX1@GOTPAGEOFF]
Lloh144:
	ldr	w9, [x9]
	orr	w1, w9, w8
LBB0_69:
	mov	x0, x26
	bl	_read_radio_reg
	ldr	x8, [x26, #32]
	str	x0, [x8, #8]
	mov	x0, x26
	mov	w1, #422
	bl	_read_phy_reg
	ldr	x8, [x26, #24]
	str	x0, [x8]
	mov	x0, x26
	mov	w1, #428
	bl	_read_phy_reg
	ldr	x8, [x26, #24]
	str	x0, [x8, #8]
	mov	x0, x26
	mov	w1, #434
	bl	_read_phy_reg
	ldr	x8, [x26, #24]
	str	x0, [x8, #16]
	mov	x0, x26
	mov	w1, #440
	bl	_read_phy_reg
	ldr	x8, [x26, #24]
	str	x0, [x8, #24]
	mov	x0, x26
	mov	w1, #420
	bl	_read_phy_reg
	ldr	x8, [x26, #24]
	str	x0, [x8, #32]
	mov	x0, x26
	mov	w1, #426
	bl	_read_phy_reg
	ldr	x8, [x26, #24]
	str	x0, [x8, #40]
	mov	x0, x26
	mov	w1, #432
	bl	_read_phy_reg
	ldr	x8, [x26, #24]
	str	x0, [x8, #48]
	mov	x0, x26
	mov	w1, #438
	bl	_read_phy_reg
	ldr	x8, [x26, #24]
	str	x0, [x8, #56]
	mov	x0, x26
	mov	w1, #421
	bl	_read_phy_reg
	ldr	x8, [x26, #24]
	str	x0, [x8, #64]
	mov	x0, x26
	mov	w1, #427
	bl	_read_phy_reg
	ldr	x8, [x26, #24]
	str	x0, [x8, #72]
	mov	x0, x26
	mov	w1, #433
	bl	_read_phy_reg
	ldr	x8, [x26, #24]
	str	x0, [x8, #80]
	mov	x0, x26
	mov	w1, #439
	bl	_read_phy_reg
	ldr	x8, [x26, #24]
	str	x0, [x8, #88]
	ldr	w8, [x26]
	str	w8, [x26, #48]
	b	LBB0_72
LBB0_70:
Lloh145:
	adrp	x19, _RADIO_2056_RX_RSSI_MISC@GOTPAGE
Lloh146:
	ldr	x19, [x19, _RADIO_2056_RX_RSSI_MISC@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh147:
	adrp	x9, _RADIO_2056_RX0@GOTPAGE
Lloh148:
	ldr	x9, [x9, _RADIO_2056_RX0@GOTPAGEOFF]
Lloh149:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x26
	bl	_read_radio_reg
	ldr	x8, [x26, #16]
	str	x0, [x8]
	ldr	w8, [x19]
Lloh150:
	adrp	x9, _RADIO_2056_RX1@GOTPAGE
Lloh151:
	ldr	x9, [x9, _RADIO_2056_RX1@GOTPAGEOFF]
Lloh152:
	ldr	w9, [x9]
	orr	w1, w9, w8
LBB0_71:
	mov	x0, x26
	bl	_read_radio_reg
	ldr	x8, [x26, #16]
	str	x0, [x8, #8]
	mov	x0, x26
	mov	w1, #422
	bl	_read_phy_reg
	ldr	x8, [x26, #8]
	str	x0, [x8]
	mov	x0, x26
	mov	w1, #428
	bl	_read_phy_reg
	ldr	x8, [x26, #8]
	str	x0, [x8, #8]
	mov	x0, x26
	mov	w1, #434
	bl	_read_phy_reg
	ldr	x8, [x26, #8]
	str	x0, [x8, #16]
	mov	x0, x26
	mov	w1, #440
	bl	_read_phy_reg
	ldr	x8, [x26, #8]
	str	x0, [x8, #24]
	mov	x0, x26
	mov	w1, #420
	bl	_read_phy_reg
	ldr	x8, [x26, #8]
	str	x0, [x8, #32]
	mov	x0, x26
	mov	w1, #426
	bl	_read_phy_reg
	ldr	x8, [x26, #8]
	str	x0, [x8, #40]
	mov	x0, x26
	mov	w1, #432
	bl	_read_phy_reg
	ldr	x8, [x26, #8]
	str	x0, [x8, #48]
	mov	x0, x26
	mov	w1, #438
	bl	_read_phy_reg
	ldr	x8, [x26, #8]
	str	x0, [x8, #56]
	mov	x0, x26
	mov	w1, #421
	bl	_read_phy_reg
	ldr	x8, [x26, #8]
	str	x0, [x8, #64]
	mov	x0, x26
	mov	w1, #427
	bl	_read_phy_reg
	ldr	x8, [x26, #8]
	str	x0, [x8, #72]
	mov	x0, x26
	mov	w1, #433
	bl	_read_phy_reg
	ldr	x8, [x26, #8]
	str	x0, [x8, #80]
	mov	x0, x26
	mov	w1, #439
	bl	_read_phy_reg
	ldr	x8, [x26, #8]
	str	x0, [x8, #88]
	ldr	w8, [x26]
	str	w8, [x26, #4]
LBB0_72:
	mov	x0, x26
	mov	w1, #7
	ldr	w2, [sp, #196]                  ; 4-byte Folded Reload
	bl	_wlc_phy_classifier_nphy
	sub	x2, x29, #112
	mov	x0, x26
	mov	w1, #1
	bl	_wlc_phy_clip_det_nphy
	ldur	x8, [x29, #-104]
Lloh153:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh154:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh155:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_74
; %bb.73:
	add	sp, sp, #432
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_74:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh92, Lloh93
	.loh AdrpLdrGot	Lloh90, Lloh91
	.loh AdrpLdrGot	Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGot	Lloh102, Lloh103
	.loh AdrpLdrGot	Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.loh AdrpLdrGot	Lloh119, Lloh120
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGot	Lloh114, Lloh115
	.loh AdrpLdrGot	Lloh112, Lloh113
	.loh AdrpLdrGot	Lloh110, Lloh111
	.loh AdrpLdrGot	Lloh108, Lloh109
	.loh AdrpLdrGot	Lloh106, Lloh107
	.loh AdrpLdrGot	Lloh104, Lloh105
	.loh AdrpLdrGot	Lloh132, Lloh133
	.loh AdrpLdrGot	Lloh130, Lloh131
	.loh AdrpLdrGotLdr	Lloh127, Lloh128, Lloh129
	.loh AdrpLdrGotLdr	Lloh124, Lloh125, Lloh126
	.loh AdrpLdrGotLdr	Lloh134, Lloh135, Lloh136
	.loh AdrpLdrGotLdr	Lloh142, Lloh143, Lloh144
	.loh AdrpLdrGotLdr	Lloh139, Lloh140, Lloh141
	.loh AdrpLdrGot	Lloh137, Lloh138
	.loh AdrpLdrGotLdr	Lloh150, Lloh151, Lloh152
	.loh AdrpLdrGotLdr	Lloh147, Lloh148, Lloh149
	.loh AdrpLdrGot	Lloh145, Lloh146
	.loh AdrpLdrGotLdr	Lloh153, Lloh154, Lloh155
	.cfi_endproc
                                        ; -- End function
	.comm	_NPHY_RSSICAL_MAXD,4,2          ; @NPHY_RSSICAL_MAXD
	.comm	_NPHY_RfctrlIntc_override_OFF,4,2 ; @NPHY_RfctrlIntc_override_OFF
	.comm	_RADIO_MIMO_CORESEL_ALLRXTX,4,2 ; @RADIO_MIMO_CORESEL_ALLRXTX
	.comm	_NPHY_RfctrlIntc_override_TRSW,4,2 ; @NPHY_RfctrlIntc_override_TRSW
	.comm	_NPHY_REV7_RfctrlOverride_cmd_rxrf_pu,4,2 ; @NPHY_REV7_RfctrlOverride_cmd_rxrf_pu
	.comm	_NPHY_REV7_RfctrlOverride_cmd_rx_pu,4,2 ; @NPHY_REV7_RfctrlOverride_cmd_rx_pu
	.comm	_NPHY_REV7_RFCTRLOVERRIDE_ID0,4,2 ; @NPHY_REV7_RFCTRLOVERRIDE_ID0
	.comm	_PHY_CORE_0,4,2                 ; @PHY_CORE_0
	.comm	_RADIO_MIMO_CORESEL_CORE1,4,2   ; @RADIO_MIMO_CORESEL_CORE1
	.comm	_RADIO_MIMO_CORESEL_CORE2,4,2   ; @RADIO_MIMO_CORESEL_CORE2
	.comm	_NPHY_RAIL_I,4,2                ; @NPHY_RAIL_I
	.comm	_NPHY_RSSI_SEL_NB,4,2           ; @NPHY_RSSI_SEL_NB
	.comm	_NPHY_RAIL_Q,4,2                ; @NPHY_RAIL_Q
	.comm	_RADIO_2057_NB_MASTER_CORE0,4,2 ; @RADIO_2057_NB_MASTER_CORE0
	.comm	_RADIO_2057_NB_MASTER_CORE1,4,2 ; @RADIO_2057_NB_MASTER_CORE1
	.comm	_RADIO_2057_VCM_MASK,4,2        ; @RADIO_2057_VCM_MASK
	.comm	_RADIO_2056_RX_RSSI_MISC,4,2    ; @RADIO_2056_RX_RSSI_MISC
	.comm	_RADIO_2056_RX0,4,2             ; @RADIO_2056_RX0
	.comm	_RADIO_2056_RX1,4,2             ; @RADIO_2056_RX1
	.comm	_RADIO_2056_VCM_MASK,4,2        ; @RADIO_2056_VCM_MASK
	.comm	_RADIO_2056_RSSI_VCM_SHIFT,4,2  ; @RADIO_2056_RSSI_VCM_SHIFT
	.comm	_NPHY_RSSICAL_NPOLL,4,2         ; @NPHY_RSSICAL_NPOLL
	.comm	_NPHY_RSSICAL_MAXREAD,4,2       ; @NPHY_RSSICAL_MAXREAD
	.comm	_NPHY_RSSICAL_NB_TARGET,4,2     ; @NPHY_RSSICAL_NB_TARGET
	.comm	_NPHY_RSSI_SEL_W1,4,2           ; @NPHY_RSSI_SEL_W1
	.comm	_NPHY_RSSICAL_W1_TARGET_REV3,4,2 ; @NPHY_RSSICAL_W1_TARGET_REV3
	.comm	_NPHY_RSSI_SEL_W2,4,2           ; @NPHY_RSSI_SEL_W2
	.comm	_NPHY_RSSICAL_W2_TARGET_REV3,4,2 ; @NPHY_RSSICAL_W2_TARGET_REV3
	.comm	_NPHY_RFSEQ_RESET2RX,4,2        ; @NPHY_RFSEQ_RESET2RX
	.no_dead_strip	_wlc_phy_rssi_cal_nphy_rev3
.subsections_via_symbols
