	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_phy_tempsense_nphy         ## -- Begin function wlc_phy_tempsense_nphy
	.p2align	4, 0x90
_wlc_phy_tempsense_nphy:                ## @wlc_phy_tempsense_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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	8(%rdi), %edi
	movl	$7, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_RADIO_2057_TEMPSENSE_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_read_radio_reg
	movl	%eax, %r15d
	movq	%r14, %rdi
	movl	$166, %esi
	callq	_read_phy_reg
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	movl	$167, %esi
	callq	_read_phy_reg
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	$143, %esi
	callq	_read_phy_reg
	movl	%eax, -124(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	movl	$165, %esi
	callq	_read_phy_reg
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	movl	$430, %esi                      ## imm = 0x1AE
	callq	_read_phy_reg
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	movl	$838, %esi                      ## imm = 0x346
	callq	_read_phy_reg
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	movl	$839, %esi                      ## imm = 0x347
	callq	_read_phy_reg
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	movl	$836, %esi                      ## imm = 0x344
	callq	_read_phy_reg
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	$837, %esi                      ## imm = 0x345
	callq	_read_phy_reg
	movq	_NPHY_TBL_ID_AFECTRL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	-156(%rbp), %r9
	movq	%r14, %rdi
	movl	$1, %edx
	movl	$10, %ecx
	movl	$16, %r8d
	callq	_wlc_phy_table_read_nphy
	movl	(%r13), %esi
	leaq	-152(%rbp), %r9
	movq	%r14, %rdi
	movl	$1, %edx
	movl	$14, %ecx
	movl	$16, %r8d
	callq	_wlc_phy_table_read_nphy
	movl	(%r13), %esi
	leaq	-148(%rbp), %r9
	movq	%r14, %rdi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$16, %r8d
	callq	_wlc_phy_table_read_nphy
	movl	(%r13), %esi
	leaq	-144(%rbp), %r9
	movq	%r14, %rdi
	movl	$1, %edx
	movl	$3, %ecx
	movl	$16, %r8d
	callq	_wlc_phy_table_read_nphy
	movq	%r14, %rdi
	movl	$430, %esi                      ## imm = 0x1AE
	xorl	%edx, %edx
	callq	_write_phy_reg
	movl	$0, -140(%rbp)
	movl	$32, -136(%rbp)
	movl	(%r13), %esi
	leaq	-140(%rbp), %r9
	movq	%r14, %rdi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$16, %r8d
	callq	_wlc_phy_table_write_nphy
	movl	(%r13), %esi
	leaq	-136(%rbp), %r9
	movq	%r14, %rdi
	movl	$1, %edx
	movl	$3, %ecx
	movl	$16, %r8d
	callq	_wlc_phy_table_write_nphy
	movl	%r15d, -104(%rbp)               ## 4-byte Spill
                                        ## kill: def $r15d killed $r15d def $r15
	andl	$28, %r15d
	movl	(%rbx), %esi
	leal	1(%r15), %ebx
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_write_radio_reg
	movq	_NPHY_REV7_RFCTRLOVERRIDE_ID2@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r14, %rdi
	movl	$2, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_wlc_phy_rfctrl_override_nphy_rev7
	movq	%r14, %rdi
	movl	$166, %esi
	movl	$128, %edx
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	%r14, %rdi
	movl	$167, %esi
	movl	$128, %edx
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	%r14, %rdi
	movl	$143, %esi
	movl	$128, %edx
	movl	$128, %ecx
	callq	_mod_phy_reg
	movq	%r14, %rdi
	movl	$165, %esi
	movl	$128, %edx
	movl	$128, %ecx
	callq	_mod_phy_reg
	movq	%r14, %rdi
	movl	$166, %esi
	movl	$4, %edx
	movl	$4, %ecx
	callq	_mod_phy_reg
	movq	%r14, %rdi
	movl	$167, %esi
	movl	$4, %edx
	movl	$4, %ecx
	callq	_mod_phy_reg
	movq	%r14, %rdi
	movl	$143, %esi
	movl	$4, %edx
	movl	$4, %ecx
	callq	_mod_phy_reg
	movq	%r14, %rdi
	movl	$165, %esi
	movl	$4, %edx
	movl	$4, %ecx
	callq	_mod_phy_reg
	movl	$5, %edi
	callq	_udelay
	movq	%r14, %rdi
	movl	$166, %esi
	movl	$4, %edx
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	%r14, %rdi
	movl	$167, %esi
	movl	$4, %edx
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	%r14, %rdi
	movl	$166, %esi
	movl	$8, %edx
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	%r14, %rdi
	movl	$167, %esi
	movl	$8, %edx
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	%r14, %rdi
	movl	$143, %esi
	movl	$8, %edx
	movl	$8, %ecx
	callq	_mod_phy_reg
	movq	%r14, %rdi
	movl	$165, %esi
	movl	$8, %edx
	movl	$8, %ecx
	callq	_mod_phy_reg
	movq	%r14, %rdi
	movl	$166, %esi
	movl	$64, %edx
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	%r14, %rdi
	movl	$167, %esi
	movl	$64, %edx
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	%r14, %rdi
	movl	$143, %esi
	movl	$64, %edx
	movl	$64, %ecx
	callq	_mod_phy_reg
	movq	%r14, %rdi
	movl	$165, %esi
	movl	$64, %edx
	movl	$64, %ecx
	callq	_mod_phy_reg
	movl	$163, -88(%rbp)
	movl	$0, -128(%rbp)
	movl	(%r13), %esi
	leaq	-88(%rbp), %r9
	movq	%r14, %rdi
	movl	$1, %edx
	movl	$10, %ecx
	movl	$16, %r8d
	callq	_wlc_phy_table_write_nphy
	movl	(%r13), %esi
	leaq	-128(%rbp), %r9
	movq	%r14, %rdi
	movl	$1, %edx
	movl	$14, %ecx
	movl	$16, %r8d
	callq	_wlc_phy_table_write_nphy
	movl	$3, %edi
	callq	_udelay
	movq	_NPHY_RSSI_SEL_IQ@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	-64(%rbp), %rdx
	movq	%r14, %rdi
	movl	$1, %ecx
	callq	_wlc_phy_poll_rssi_nphy
	movq	_RADIO_2057_TEMPSENSE_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	$3, %r15d
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_write_radio_reg
	movl	$5, %edi
	callq	_udelay
	movl	(%r12), %esi
	leaq	-80(%rbp), %rdx
	movq	%r14, %rdi
	movl	$1, %ecx
	callq	_wlc_phy_poll_rssi_nphy
	movl	$7, -128(%rbp)
	movl	-76(%rbp), %eax
	addl	-60(%rbp), %eax
	cmpl	$-31, %eax
	jg	LBB0_9
## %bb.2:
	movl	$69, -88(%rbp)
	movl	$263, -84(%rbp)                 ## 4-byte Folded Spill
                                        ## imm = 0x107
	jmp	LBB0_15
LBB0_3:
	movl	8(%r14), %edi
	movl	$3, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	je	LBB0_13
## %bb.4:
	movq	_RADIO_2056_SYN_TEMPPROCSENSE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_read_radio_reg
	movl	%eax, %ebx
	movq	%r14, %rdi
	movl	$166, %esi
	callq	_read_phy_reg
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	movl	$167, %esi
	callq	_read_phy_reg
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	movl	$143, %esi
	callq	_read_phy_reg
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	$165, %esi
	callq	_read_phy_reg
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	$202, %esi
	callq	_read_phy_reg
	movl	%eax, %r15d
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_write_radio_reg
	movq	_NPHY_RSSI_SEL_IQ@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	-64(%rbp), %rdx
	movq	%r14, %rdi
	movl	$1, %ecx
	callq	_wlc_phy_poll_rssi_nphy
	movl	8(%r14), %edi
	movl	$7, %esi
	callq	_NREV_LT
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	$5, %edx
	callq	_write_radio_reg
LBB0_6:
	movl	(%r13), %esi
	leaq	-80(%rbp), %rdx
	movq	%r14, %rdi
	movl	$1, %ecx
	callq	_wlc_phy_poll_rssi_nphy
	movl	8(%r14), %edi
	movl	$7, %esi
	callq	_NREV_GE
	movq	%r12, %rcx
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_RADIO_2057_TEMPSENSE_CONFIG@GOTPCREL(%rip), %rcx
LBB0_8:
	movl	(%rcx), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_write_radio_reg
	movl	-76(%rbp), %eax
	addl	-60(%rbp), %eax
	movl	%eax, %ecx
	shll	$7, %ecx
	subl	%eax, %ecx
	subl	%eax, %ecx
	leal	3987(%rcx), %eax
	addl	$4050, %ecx                     ## imm = 0xFD2
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$6, %ecx
	movl	%ecx, -64(%rbp)
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_write_radio_reg
	movq	%r14, %rdi
	movl	$202, %esi
	movl	%r15d, %edx
	callq	_write_phy_reg
	movq	%r14, %rdi
	movl	$166, %esi
	movl	-104(%rbp), %edx                ## 4-byte Reload
	callq	_write_phy_reg
	movq	%r14, %rdi
	movl	$167, %esi
	movl	-100(%rbp), %edx                ## 4-byte Reload
	callq	_write_phy_reg
	movq	%r14, %rdi
	movl	$143, %esi
	movl	-96(%rbp), %edx                 ## 4-byte Reload
	callq	_write_phy_reg
	movq	%r14, %rdi
	movl	$165, %esi
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	callq	_write_phy_reg
	jmp	LBB0_16
LBB0_9:
	cmpl	$-10, %eax
	jg	LBB0_11
## %bb.10:
	movl	$512, -88(%rbp)                 ## imm = 0x200
	movl	$467, -84(%rbp)                 ## 4-byte Folded Spill
                                        ## imm = 0x1D3
	jmp	LBB0_15
LBB0_11:
	cmpl	$10, %eax
	jg	LBB0_14
## %bb.12:
	movl	$614, -88(%rbp)                 ## imm = 0x266
	movl	$634, -84(%rbp)                 ## 4-byte Folded Spill
                                        ## imm = 0x27A
	jmp	LBB0_15
LBB0_13:
	movq	_RADIO_2055_PWRDET_RXTX_CORE1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_read_radio_reg
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	movq	_RADIO_2055_PWRDET_RXTX_CORE2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_read_radio_reg
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	movq	_RADIO_2055_CORE1_TXRF_IQCAL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_read_radio_reg
	movl	%eax, -124(%rbp)                ## 4-byte Spill
	movq	_RADIO_2055_CORE1_TXRF_IQCAL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_read_radio_reg
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movq	_RADIO_2055_CORE2_TXRF_IQCAL1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_read_radio_reg
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	_RADIO_2055_CORE2_TXRF_IQCAL2@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_read_radio_reg
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	movq	_RADIO_2055_PD_PLL_TS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_read_radio_reg
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	movl	$166, %esi
	callq	_read_phy_reg
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	$167, %esi
	callq	_read_phy_reg
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	movl	$165, %esi
	callq	_read_phy_reg
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	movl	$202, %esi
	callq	_read_phy_reg
	movl	%eax, -132(%rbp)                ## 4-byte Spill
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_write_radio_reg
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_write_radio_reg
	movl	(%r13), %esi
	movq	%r14, %rdi
	movl	$8, %edx
	callq	_write_radio_reg
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	$8, %edx
	callq	_write_radio_reg
	movq	_RADIO_2055_PWRDET_RXTX_CORE1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_write_radio_reg
	movq	_RADIO_2055_PWRDET_RXTX_CORE2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_write_radio_reg
	movq	_RADIO_2055_PD_PLL_TS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r13d, %r13d
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_write_radio_reg
	movq	_NPHY_RSSI_SEL_IQ@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-64(%rbp), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movl	$1, %ecx
	callq	_wlc_phy_poll_rssi_nphy
	movq	_RADIO_2055_CAL_TS@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	$128, %edx
	callq	_xor_radio_reg
	movl	(%r15), %esi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movl	$1, %ecx
	callq	_wlc_phy_poll_rssi_nphy
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	$128, %edx
	callq	_xor_radio_reg
	movl	(%r15), %esi
	leaq	-80(%rbp), %rdx
	movq	%r14, %rdi
	movl	$1, %ecx
	callq	_wlc_phy_poll_rssi_nphy
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	$128, %edx
	callq	_xor_radio_reg
	movl	-80(%rbp), %eax
	movl	-76(%rbp), %ecx
	addl	-64(%rbp), %eax
	addl	-60(%rbp), %ecx
	movl	%ecx, -60(%rbp)
	movl	-72(%rbp), %edx
	addl	-56(%rbp), %edx
	movl	%edx, -56(%rbp)
	movl	-68(%rbp), %esi
	addl	-52(%rbp), %esi
	movl	%esi, -52(%rbp)
	addl	%eax, %ecx
	addl	%edx, %ecx
	addl	%esi, %ecx
	imull	$600, %ecx, %eax                ## imm = 0x258
	movl	%eax, %ecx
	addl	$153600, %ecx                   ## imm = 0x25800
	movslq	%ecx, %rcx
	imulq	$-2113396605, %rcx, %rcx        ## imm = 0x82082083
	shrq	$32, %rcx
	addl	%ecx, %eax
	addl	$153600, %eax                   ## imm = 0x25800
	movl	%eax, %ecx
	sarl	$5, %ecx
	shrl	$31, %eax
	addl	%ecx, %eax
	addl	$-560, %eax                     ## imm = 0xFDD0
	cltq
	imulq	$1808407283, %rax, %rax         ## imm = 0x6BCA1AF3
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$36, %rax
	addl	%ecx, %eax
	movl	%eax, -64(%rbp)
	movq	_RADIO_2055_PWRDET_RXTX_CORE1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	-100(%rbp), %edx                ## 4-byte Reload
	callq	_write_radio_reg
	movq	_RADIO_2055_PWRDET_RXTX_CORE2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	-96(%rbp), %edx                 ## 4-byte Reload
	callq	_write_radio_reg
	movq	_RADIO_2055_CORE1_TXRF_IQCAL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	-124(%rbp), %edx                ## 4-byte Reload
	callq	_write_radio_reg
	movq	_RADIO_2055_CORE2_TXRF_IQCAL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	-84(%rbp), %edx                 ## 4-byte Reload
	callq	_write_radio_reg
	movq	_RADIO_2055_CORE1_TXRF_IQCAL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	-104(%rbp), %edx                ## 4-byte Reload
	callq	_write_radio_reg
	movq	_RADIO_2055_CORE2_TXRF_IQCAL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	-112(%rbp), %edx                ## 4-byte Reload
	callq	_write_radio_reg
	movq	_RADIO_2055_PD_PLL_TS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	-108(%rbp), %edx                ## 4-byte Reload
	callq	_write_radio_reg
	movq	%r14, %rdi
	movl	$202, %esi
	movl	-132(%rbp), %edx                ## 4-byte Reload
	callq	_write_phy_reg
	movq	%r14, %rdi
	movl	$166, %esi
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	callq	_write_phy_reg
	movq	%r14, %rdi
	movl	$167, %esi
	movl	-120(%rbp), %edx                ## 4-byte Reload
	callq	_write_phy_reg
	movq	%r14, %rdi
	movl	$165, %esi
	movl	-116(%rbp), %edx                ## 4-byte Reload
	callq	_write_phy_reg
	jmp	LBB0_17
LBB0_14:
	movl	$725, -88(%rbp)                 ## imm = 0x2D5
	movl	$816, -84(%rbp)                 ## 4-byte Folded Spill
                                        ## imm = 0x330
LBB0_15:
	movl	(%r13), %esi
	leaq	-88(%rbp), %r9
	movq	%r14, %rdi
	movl	$1, %edx
	movl	$10, %ecx
	movl	$16, %r8d
	callq	_wlc_phy_table_write_nphy
	movl	(%r13), %esi
	leaq	-128(%rbp), %r9
	movq	%r14, %rdi
	movl	$1, %edx
	movl	$14, %ecx
	movl	$16, %r8d
	callq	_wlc_phy_table_write_nphy
	movl	$3, %edi
	callq	_udelay
	movl	(%r12), %esi
	leaq	-80(%rbp), %rdx
	movq	%r14, %rdi
	movl	$1, %ecx
	callq	_wlc_phy_poll_rssi_nphy
	movq	_RADIO_2057_TEMPSENSE_CONFIG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_write_radio_reg
	movl	$5, %edi
	callq	_udelay
	movl	(%r12), %esi
	leaq	-64(%rbp), %rdx
	movq	%r14, %rdi
	movl	$1, %ecx
	callq	_wlc_phy_poll_rssi_nphy
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	-104(%rbp), %edx                ## 4-byte Reload
	callq	_write_radio_reg
	movq	%r14, %rdi
	movl	$166, %esi
	movl	-100(%rbp), %edx                ## 4-byte Reload
	callq	_write_phy_reg
	movq	%r14, %rdi
	movl	$167, %esi
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	callq	_write_phy_reg
	movq	%r14, %rdi
	movl	$143, %esi
	movl	-124(%rbp), %edx                ## 4-byte Reload
	callq	_write_phy_reg
	movq	%r14, %rdi
	movl	$165, %esi
	movl	-120(%rbp), %edx                ## 4-byte Reload
	callq	_write_phy_reg
	movq	%r14, %rdi
	movl	$430, %esi                      ## imm = 0x1AE
	movl	-116(%rbp), %edx                ## 4-byte Reload
	callq	_write_phy_reg
	movq	%r14, %rdi
	movl	$838, %esi                      ## imm = 0x346
	movl	-112(%rbp), %edx                ## 4-byte Reload
	callq	_write_phy_reg
	movq	%r14, %rdi
	movl	$839, %esi                      ## imm = 0x347
	movl	-108(%rbp), %edx                ## 4-byte Reload
	callq	_write_phy_reg
	movq	%r14, %rdi
	movl	$836, %esi                      ## imm = 0x344
	movl	-96(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_write_phy_reg
	movq	%r14, %rdi
	movl	$837, %esi                      ## imm = 0x345
	movl	%ebx, %edx
	callq	_write_phy_reg
	movl	(%r13), %esi
	leaq	-156(%rbp), %r9
	movq	%r14, %rdi
	movl	$1, %edx
	movl	$10, %ecx
	movl	$16, %r8d
	callq	_wlc_phy_table_write_nphy
	movl	(%r13), %esi
	leaq	-152(%rbp), %r9
	movq	%r14, %rdi
	movl	$1, %edx
	movl	$14, %ecx
	movl	$16, %r8d
	callq	_wlc_phy_table_write_nphy
	movl	(%r13), %esi
	leaq	-148(%rbp), %r9
	movq	%r14, %rdi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$16, %r8d
	callq	_wlc_phy_table_write_nphy
	movl	(%r13), %esi
	leaq	-144(%rbp), %r9
	movq	%r14, %rdi
	movl	$1, %edx
	movl	$3, %ecx
	movl	$16, %r8d
	callq	_wlc_phy_table_write_nphy
	movq	16(%r14), %rax
	movq	(%rax), %rax
	movq	_BCMA_CHIP_ID_BCM5357@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	movl	$88, %edx
	movl	$82, %esi
	cmovel	%edx, %esi
	imull	-84(%rbp), %esi                 ## 4-byte Folded Reload
	leal	-28733(%rsi), %edx
	addl	$-26983, %esi                   ## imm = 0x9699
	cmpq	%rcx, %rax
	movl	$193, %eax
	movl	$179, %ecx
	cmovel	%eax, %ecx
	cmovnel	%edx, %esi
	movl	-76(%rbp), %eax
	addl	-60(%rbp), %eax
	imull	%ecx, %eax
	leal	(%rsi,%rax), %ecx
	addl	$255, %ecx
	movl	%esi, %edx
	addl	%eax, %edx
	cmovnsl	%edx, %ecx
	sarl	$8, %ecx
	movl	%ecx, -64(%rbp)
LBB0_16:
	movq	(%r14), %r13
LBB0_17:
	movslq	-64(%rbp), %rax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_19
## %bb.18:
	addq	%rax, %r13
	movq	%r13, %rax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_RADIO_2057_TEMPSENSE_CONFIG,4,2 ## @RADIO_2057_TEMPSENSE_CONFIG
	.comm	_NPHY_TBL_ID_AFECTRL,4,2        ## @NPHY_TBL_ID_AFECTRL
	.comm	_NPHY_REV7_RFCTRLOVERRIDE_ID2,4,2 ## @NPHY_REV7_RFCTRLOVERRIDE_ID2
	.comm	_NPHY_RSSI_SEL_IQ,4,2           ## @NPHY_RSSI_SEL_IQ
	.comm	_BCMA_CHIP_ID_BCM5357,8,3       ## @BCMA_CHIP_ID_BCM5357
	.comm	_RADIO_2056_SYN_TEMPPROCSENSE,4,2 ## @RADIO_2056_SYN_TEMPPROCSENSE
	.comm	_RADIO_2055_PWRDET_RXTX_CORE1,4,2 ## @RADIO_2055_PWRDET_RXTX_CORE1
	.comm	_RADIO_2055_PWRDET_RXTX_CORE2,4,2 ## @RADIO_2055_PWRDET_RXTX_CORE2
	.comm	_RADIO_2055_CORE1_TXRF_IQCAL1,4,2 ## @RADIO_2055_CORE1_TXRF_IQCAL1
	.comm	_RADIO_2055_CORE1_TXRF_IQCAL2,4,2 ## @RADIO_2055_CORE1_TXRF_IQCAL2
	.comm	_RADIO_2055_CORE2_TXRF_IQCAL1,4,2 ## @RADIO_2055_CORE2_TXRF_IQCAL1
	.comm	_RADIO_2055_CORE2_TXRF_IQCAL2,4,2 ## @RADIO_2055_CORE2_TXRF_IQCAL2
	.comm	_RADIO_2055_PD_PLL_TS,4,2       ## @RADIO_2055_PD_PLL_TS
	.comm	_RADIO_2055_CAL_TS,4,2          ## @RADIO_2055_CAL_TS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_phy_tempsense_nphy         ; -- Begin function wlc_phy_tempsense_nphy
	.p2align	2
_wlc_phy_tempsense_nphy:                ; @wlc_phy_tempsense_nphy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	w0, [x0, #8]
	mov	w1, #7
	bl	_NREV_GE
	cbz	x0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x24, _RADIO_2057_TEMPSENSE_CONFIG@GOTPAGE
Lloh4:
	ldr	x24, [x24, _RADIO_2057_TEMPSENSE_CONFIG@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_read_radio_reg
	mov	x20, x0
	mov	x0, x19
	mov	w1, #166
	bl	_read_phy_reg
	str	w0, [sp, #36]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #167
	bl	_read_phy_reg
	str	w0, [sp, #32]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #143
	bl	_read_phy_reg
	str	w0, [sp, #28]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #165
	bl	_read_phy_reg
	str	w0, [sp, #24]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #430
	bl	_read_phy_reg
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #838
	bl	_read_phy_reg
	mov	x27, x0
	mov	x0, x19
	mov	w1, #839
	bl	_read_phy_reg
	mov	x28, x0
	mov	x0, x19
	mov	w1, #836
	bl	_read_phy_reg
	mov	x22, x0
	mov	x0, x19
	mov	w1, #837
	bl	_read_phy_reg
Lloh5:
	adrp	x23, _NPHY_TBL_ID_AFECTRL@GOTPAGE
Lloh6:
	ldr	x23, [x23, _NPHY_TBL_ID_AFECTRL@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x5, sp, #60
	mov	x0, x19
	mov	w2, #1
	mov	w3, #10
	mov	w4, #16
	bl	_wlc_phy_table_read_nphy
	ldr	w1, [x23]
	add	x5, sp, #56
	mov	x0, x19
	mov	w2, #1
	mov	w3, #14
	mov	w4, #16
	bl	_wlc_phy_table_read_nphy
	ldr	w1, [x23]
	add	x5, sp, #52
	mov	x0, x19
	mov	w2, #1
	mov	w3, #2
	mov	w4, #16
	bl	_wlc_phy_table_read_nphy
	ldr	w1, [x23]
	add	x5, sp, #48
	mov	x0, x19
	mov	w2, #1
	mov	w3, #3
	mov	w4, #16
	bl	_wlc_phy_table_read_nphy
	mov	x0, x19
	mov	w1, #430
	mov	w2, #0
	bl	_write_phy_reg
	mov	w8, #32
	stp	w8, wzr, [sp, #40]
	ldr	w1, [x23]
	add	x5, sp, #44
	mov	x0, x19
	mov	w2, #1
	mov	w3, #2
	mov	w4, #16
	bl	_wlc_phy_table_write_nphy
	ldr	w1, [x23]
	add	x5, sp, #40
	mov	x0, x19
	mov	w2, #1
	mov	w3, #3
	mov	w4, #16
	bl	_wlc_phy_table_write_nphy
	and	w25, w20, #0x1c
	ldr	w1, [x24]
	orr	w21, w25, #0x1
	mov	x0, x19
	mov	x2, x21
	bl	_write_radio_reg
Lloh7:
	adrp	x8, _NPHY_REV7_RFCTRLOVERRIDE_ID2@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NPHY_REV7_RFCTRLOVERRIDE_ID2@GOTPAGEOFF]
Lloh9:
	ldr	w5, [x8]
	mov	x0, x19
	mov	w1, #2
	mov	w2, #1
	mov	w3, #0
	mov	w4, #0
	bl	_wlc_phy_rfctrl_override_nphy_rev7
	mov	x0, x19
	mov	w1, #166
	mov	w2, #128
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #167
	mov	w2, #128
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #143
	mov	w2, #128
	mov	w3, #128
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #165
	mov	w2, #128
	mov	w3, #128
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #166
	mov	w2, #4
	mov	w3, #4
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #167
	mov	w2, #4
	mov	w3, #4
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #143
	mov	w2, #4
	mov	w3, #4
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #165
	mov	w2, #4
	mov	w3, #4
	bl	_mod_phy_reg
	mov	w0, #5
	bl	_udelay
	mov	x0, x19
	mov	w1, #166
	mov	w2, #4
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #167
	mov	w2, #4
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #166
	mov	w2, #8
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #167
	mov	w2, #8
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #143
	mov	w2, #8
	mov	w3, #8
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #165
	mov	w2, #8
	mov	w3, #8
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #166
	mov	w2, #64
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #167
	mov	w2, #64
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #143
	mov	w2, #64
	mov	w3, #64
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #165
	mov	w2, #64
	mov	w3, #64
	bl	_mod_phy_reg
	mov	w8, #163
	stp	wzr, w8, [sp, #64]
	ldr	w1, [x23]
	add	x5, sp, #68
	mov	x0, x19
	mov	w2, #1
	mov	w3, #10
	mov	w4, #16
	bl	_wlc_phy_table_write_nphy
	ldr	w1, [x23]
	add	x5, sp, #64
	mov	x0, x19
	mov	w2, #1
	mov	w3, #14
	mov	w4, #16
	bl	_wlc_phy_table_write_nphy
	mov	w0, #3
	bl	_udelay
Lloh10:
	adrp	x26, _NPHY_RSSI_SEL_IQ@GOTPAGE
Lloh11:
	ldr	x26, [x26, _NPHY_RSSI_SEL_IQ@GOTPAGEOFF]
	ldr	w1, [x26]
	add	x2, sp, #88
	mov	x0, x19
	mov	w3, #1
	bl	_wlc_phy_poll_rssi_nphy
	ldr	w1, [x24]
	orr	w2, w25, #0x3
	mov	x0, x19
	bl	_write_radio_reg
	mov	w0, #5
	bl	_udelay
	ldr	w1, [x26]
	add	x2, sp, #72
	mov	x0, x19
	mov	w3, #1
	bl	_wlc_phy_poll_rssi_nphy
	mov	w8, #7
	str	w8, [sp, #64]
	ldr	w8, [sp, #92]
	ldr	w9, [sp, #76]
	add	w8, w9, w8
	cmn	w8, #31
	b.gt	LBB0_7
; %bb.2:
	mov	w8, #69
	str	w8, [sp, #68]
	mov	w25, #263
	b	LBB0_13
LBB0_3:
	ldr	w0, [x19, #8]
	mov	w1, #3
	bl	_NREV_GE
	cbz	x0, LBB0_11
; %bb.4:
Lloh12:
	adrp	x26, _RADIO_2056_SYN_TEMPPROCSENSE@GOTPAGE
Lloh13:
	ldr	x26, [x26, _RADIO_2056_SYN_TEMPPROCSENSE@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x19
	bl	_read_radio_reg
	mov	x24, x0
	mov	x0, x19
	mov	w1, #166
	bl	_read_phy_reg
	mov	x20, x0
	mov	x0, x19
	mov	w1, #167
	bl	_read_phy_reg
	mov	x21, x0
	mov	x0, x19
	mov	w1, #143
	bl	_read_phy_reg
	mov	x22, x0
	mov	x0, x19
	mov	w1, #165
	bl	_read_phy_reg
	mov	x23, x0
	mov	x0, x19
	mov	w1, #202
	bl	_read_phy_reg
	mov	x25, x0
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #1
	bl	_write_radio_reg
Lloh14:
	adrp	x27, _NPHY_RSSI_SEL_IQ@GOTPAGE
Lloh15:
	ldr	x27, [x27, _NPHY_RSSI_SEL_IQ@GOTPAGEOFF]
	ldr	w1, [x27]
	add	x2, sp, #88
	mov	x0, x19
	mov	w3, #1
	bl	_wlc_phy_poll_rssi_nphy
	ldr	w0, [x19, #8]
	mov	w1, #7
	bl	_NREV_LT
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #5
	bl	_write_radio_reg
LBB0_6:
	ldr	w1, [x27]
	add	x2, sp, #72
	mov	x0, x19
	mov	w3, #1
	bl	_wlc_phy_poll_rssi_nphy
	ldr	w0, [x19, #8]
	mov	w1, #7
	bl	_NREV_GE
Lloh16:
	adrp	x8, _RADIO_2057_TEMPSENSE_CONFIG@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RADIO_2057_TEMPSENSE_CONFIG@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x26, x8, eq
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_write_radio_reg
	ldr	w8, [sp, #92]
	ldr	w9, [sp, #76]
	add	w8, w9, w8
	mov	w9, #126
	mul	w8, w8, w9
	add	w9, w8, #3987
	add	w8, w8, #4050
	cmp	w9, #0
	csel	w8, w8, w9, lt
	asr	w8, w8, #6
	str	w8, [sp, #88]
	ldr	w1, [x26]
	mov	x0, x19
	mov	x2, x24
	bl	_write_radio_reg
	mov	x0, x19
	mov	w1, #202
	mov	x2, x25
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #166
	mov	x2, x20
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #167
	mov	x2, x21
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #143
	mov	x2, x22
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #165
	mov	x2, x23
	bl	_write_phy_reg
	b	LBB0_14
LBB0_7:
	cmn	w8, #10
	b.gt	LBB0_9
; %bb.8:
	mov	w8, #512
	str	w8, [sp, #68]
	mov	w25, #467
	b	LBB0_13
LBB0_9:
	cmp	w8, #10
	b.gt	LBB0_12
; %bb.10:
	mov	w8, #614
	str	w8, [sp, #68]
	mov	w25, #634
	b	LBB0_13
LBB0_11:
Lloh18:
	adrp	x8, _RADIO_2055_PWRDET_RXTX_CORE1@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RADIO_2055_PWRDET_RXTX_CORE1@GOTPAGEOFF]
	ldr	w1, [x8]
	mov	x24, x8
	mov	x0, x19
	bl	_read_radio_reg
	str	w0, [sp, #32]                   ; 4-byte Folded Spill
Lloh20:
	adrp	x25, _RADIO_2055_PWRDET_RXTX_CORE2@GOTPAGE
Lloh21:
	ldr	x25, [x25, _RADIO_2055_PWRDET_RXTX_CORE2@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x19
	bl	_read_radio_reg
	str	w0, [sp, #28]                   ; 4-byte Folded Spill
Lloh22:
	adrp	x26, _RADIO_2055_CORE1_TXRF_IQCAL1@GOTPAGE
Lloh23:
	ldr	x26, [x26, _RADIO_2055_CORE1_TXRF_IQCAL1@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x19
	bl	_read_radio_reg
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
Lloh24:
	adrp	x8, _RADIO_2055_CORE1_TXRF_IQCAL2@GOTPAGE
Lloh25:
	ldr	x8, [x8, _RADIO_2055_CORE1_TXRF_IQCAL2@GOTPAGEOFF]
	ldr	w1, [x8]
	mov	x23, x8
	mov	x0, x19
	bl	_read_radio_reg
	str	w0, [sp, #36]                   ; 4-byte Folded Spill
Lloh26:
	adrp	x28, _RADIO_2055_CORE2_TXRF_IQCAL1@GOTPAGE
Lloh27:
	ldr	x28, [x28, _RADIO_2055_CORE2_TXRF_IQCAL1@GOTPAGEOFF]
	ldr	w1, [x28]
	mov	x0, x19
	bl	_read_radio_reg
	mov	x20, x0
Lloh28:
	adrp	x27, _RADIO_2055_CORE2_TXRF_IQCAL2@GOTPAGE
Lloh29:
	ldr	x27, [x27, _RADIO_2055_CORE2_TXRF_IQCAL2@GOTPAGEOFF]
	ldr	w1, [x27]
	mov	x0, x19
	bl	_read_radio_reg
	str	w0, [sp, #8]                    ; 4-byte Folded Spill
Lloh30:
	adrp	x22, _RADIO_2055_PD_PLL_TS@GOTPAGE
Lloh31:
	ldr	x22, [x22, _RADIO_2055_PD_PLL_TS@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_read_radio_reg
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #166
	bl	_read_phy_reg
	str	w0, [sp, #24]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #167
	bl	_read_phy_reg
	str	w0, [sp, #16]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #165
	bl	_read_phy_reg
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #202
	bl	_read_phy_reg
	mov	x21, x0
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #1
	bl	_write_radio_reg
	ldr	w1, [x28]
	mov	x0, x19
	mov	w2, #1
	bl	_write_radio_reg
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #8
	bl	_write_radio_reg
	ldr	w1, [x27]
	mov	x0, x19
	mov	w2, #8
	bl	_write_radio_reg
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #4
	bl	_write_radio_reg
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #4
	bl	_write_radio_reg
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #0
	bl	_write_radio_reg
Lloh32:
	adrp	x23, _NPHY_RSSI_SEL_IQ@GOTPAGE
Lloh33:
	ldr	x23, [x23, _NPHY_RSSI_SEL_IQ@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #88
	mov	x0, x19
	mov	w3, #1
	bl	_wlc_phy_poll_rssi_nphy
Lloh34:
	adrp	x24, _RADIO_2055_CAL_TS@GOTPAGE
Lloh35:
	ldr	x24, [x24, _RADIO_2055_CAL_TS@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #128
	bl	_xor_radio_reg
	ldr	w1, [x23]
	add	x2, sp, #88
	mov	x0, x19
	mov	w3, #1
	bl	_wlc_phy_poll_rssi_nphy
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #128
	bl	_xor_radio_reg
	ldr	w1, [x23]
	add	x2, sp, #72
	mov	x0, x19
	mov	w3, #1
	bl	_wlc_phy_poll_rssi_nphy
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #128
	bl	_xor_radio_reg
	ldp	w11, w8, [sp, #84]
	ldr	w9, [sp, #72]
	ldur	d0, [sp, #92]
	ldur	d1, [sp, #76]
	add.2s	v0, v1, v0
	stur	d0, [sp, #92]
	ldr	w10, [sp, #100]
	mov.s	w12, v0[1]
	add	w10, w11, w10
	fmov	w11, s0
	add	w8, w9, w8
	add	w8, w11, w8
	add	w8, w8, w12
	add	w8, w8, w10
	mov	w9, #600
	mov	w11, #22528
	movk	w11, #2, lsl #16
	madd	w8, w8, w9, w11
	mov	w9, #8323
	movk	w9, #33288, lsl #16
	smull	x9, w8, w9
	lsr	x9, x9, #32
	add	w8, w9, w8
	asr	w9, w8, #5
	add	w8, w9, w8, lsr #31
	sub	w8, w8, #560
	mov	w9, #6899
	movk	w9, #27594, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #36
	add	w8, w8, w9
	str	w10, [sp, #100]
	str	w8, [sp, #88]
Lloh36:
	adrp	x8, _RADIO_2055_PWRDET_RXTX_CORE1@GOTPAGE
Lloh37:
	ldr	x8, [x8, _RADIO_2055_PWRDET_RXTX_CORE1@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x19
	ldr	w2, [sp, #32]                   ; 4-byte Folded Reload
	bl	_write_radio_reg
	ldr	w1, [x25]
	mov	x0, x19
	ldr	w2, [sp, #28]                   ; 4-byte Folded Reload
	bl	_write_radio_reg
	ldr	w1, [x26]
	mov	x0, x19
	ldr	w2, [sp, #20]                   ; 4-byte Folded Reload
	bl	_write_radio_reg
	ldr	w1, [x28]
	mov	x0, x19
	mov	x2, x20
	bl	_write_radio_reg
Lloh39:
	adrp	x8, _RADIO_2055_CORE1_TXRF_IQCAL2@GOTPAGE
Lloh40:
	ldr	x8, [x8, _RADIO_2055_CORE1_TXRF_IQCAL2@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x19
	ldr	w2, [sp, #36]                   ; 4-byte Folded Reload
	bl	_write_radio_reg
	ldr	w1, [x27]
	mov	x0, x19
	ldr	w2, [sp, #8]                    ; 4-byte Folded Reload
	bl	_write_radio_reg
	ldr	w1, [x22]
	mov	x0, x19
	ldr	w2, [sp, #4]                    ; 4-byte Folded Reload
	bl	_write_radio_reg
	mov	x0, x19
	mov	w1, #202
	mov	x2, x21
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #166
	ldr	w2, [sp, #24]                   ; 4-byte Folded Reload
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #167
	ldr	w2, [sp, #16]                   ; 4-byte Folded Reload
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #165
	ldr	w2, [sp, #12]                   ; 4-byte Folded Reload
	bl	_write_phy_reg
	mov	x8, #0
	b	LBB0_15
LBB0_12:
	mov	w8, #725
	str	w8, [sp, #68]
	mov	w25, #816
LBB0_13:
	ldr	w1, [x23]
	add	x5, sp, #68
	mov	x0, x19
	mov	w2, #1
	mov	w3, #10
	mov	w4, #16
	bl	_wlc_phy_table_write_nphy
	ldr	w1, [x23]
	add	x5, sp, #64
	mov	x0, x19
	mov	w2, #1
	mov	w3, #14
	mov	w4, #16
	bl	_wlc_phy_table_write_nphy
	mov	w0, #3
	bl	_udelay
	ldr	w1, [x26]
	add	x2, sp, #72
	mov	x0, x19
	mov	w3, #1
	bl	_wlc_phy_poll_rssi_nphy
	ldr	w1, [x24]
	mov	x0, x19
	mov	x2, x21
	bl	_write_radio_reg
	mov	w0, #5
	bl	_udelay
	ldr	w1, [x26]
	add	x2, sp, #88
	mov	x0, x19
	mov	w3, #1
	bl	_wlc_phy_poll_rssi_nphy
	ldr	w1, [x24]
	mov	x0, x19
	mov	x2, x20
	bl	_write_radio_reg
	mov	x0, x19
	mov	w1, #166
	ldr	w2, [sp, #36]                   ; 4-byte Folded Reload
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #167
	ldr	w2, [sp, #32]                   ; 4-byte Folded Reload
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #143
	ldr	w2, [sp, #28]                   ; 4-byte Folded Reload
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #165
	ldr	w2, [sp, #24]                   ; 4-byte Folded Reload
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #430
	ldr	w2, [sp, #20]                   ; 4-byte Folded Reload
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #838
	mov	x2, x27
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #839
	mov	x2, x28
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #836
	mov	x2, x22
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #837
	mov	x2, x22
	bl	_write_phy_reg
	ldr	w1, [x23]
	add	x5, sp, #60
	mov	x0, x19
	mov	w2, #1
	mov	w3, #10
	mov	w4, #16
	bl	_wlc_phy_table_write_nphy
	ldr	w1, [x23]
	add	x5, sp, #56
	mov	x0, x19
	mov	w2, #1
	mov	w3, #14
	mov	w4, #16
	bl	_wlc_phy_table_write_nphy
	ldr	w1, [x23]
	add	x5, sp, #52
	mov	x0, x19
	mov	w2, #1
	mov	w3, #2
	mov	w4, #16
	bl	_wlc_phy_table_write_nphy
	ldr	w1, [x23]
	add	x5, sp, #48
	mov	x0, x19
	mov	w2, #1
	mov	w3, #3
	mov	w4, #16
	bl	_wlc_phy_table_write_nphy
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
Lloh42:
	adrp	x9, _BCMA_CHIP_ID_BCM5357@GOTPAGE
Lloh43:
	ldr	x9, [x9, _BCMA_CHIP_ID_BCM5357@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	ldr	w10, [sp, #92]
	ldr	w11, [sp, #76]
	add	w10, w11, w10
	cmp	x8, x9
	mov	w8, #179
	mov	w9, #193
	csel	w8, w9, w8, eq
	mov	w9, #82
	mov	w11, #88
	csel	w9, w11, w9, eq
	mov	w11, #-28733
	mov	w12, #-26983
	csel	w11, w12, w11, eq
	madd	w9, w25, w9, w11
	madd	w8, w10, w8, w9
	add	w9, w8, #255
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #8
	str	w8, [sp, #88]
LBB0_14:
	ldr	x8, [x19]
LBB0_15:
	ldrsw	x9, [sp, #88]
	ldur	x10, [x29, #-88]
Lloh45:
	adrp	x11, ___stack_chk_guard@GOTPAGE
Lloh46:
	ldr	x11, [x11, ___stack_chk_guard@GOTPAGEOFF]
Lloh47:
	ldr	x11, [x11]
	cmp	x11, x10
	b.ne	LBB0_17
; %bb.16:
	add	x0, x8, x9
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_RADIO_2057_TEMPSENSE_CONFIG,4,2 ; @RADIO_2057_TEMPSENSE_CONFIG
	.comm	_NPHY_TBL_ID_AFECTRL,4,2        ; @NPHY_TBL_ID_AFECTRL
	.comm	_NPHY_REV7_RFCTRLOVERRIDE_ID2,4,2 ; @NPHY_REV7_RFCTRLOVERRIDE_ID2
	.comm	_NPHY_RSSI_SEL_IQ,4,2           ; @NPHY_RSSI_SEL_IQ
	.comm	_BCMA_CHIP_ID_BCM5357,8,3       ; @BCMA_CHIP_ID_BCM5357
	.comm	_RADIO_2056_SYN_TEMPPROCSENSE,4,2 ; @RADIO_2056_SYN_TEMPPROCSENSE
	.comm	_RADIO_2055_PWRDET_RXTX_CORE1,4,2 ; @RADIO_2055_PWRDET_RXTX_CORE1
	.comm	_RADIO_2055_PWRDET_RXTX_CORE2,4,2 ; @RADIO_2055_PWRDET_RXTX_CORE2
	.comm	_RADIO_2055_CORE1_TXRF_IQCAL1,4,2 ; @RADIO_2055_CORE1_TXRF_IQCAL1
	.comm	_RADIO_2055_CORE1_TXRF_IQCAL2,4,2 ; @RADIO_2055_CORE1_TXRF_IQCAL2
	.comm	_RADIO_2055_CORE2_TXRF_IQCAL1,4,2 ; @RADIO_2055_CORE2_TXRF_IQCAL1
	.comm	_RADIO_2055_CORE2_TXRF_IQCAL2,4,2 ; @RADIO_2055_CORE2_TXRF_IQCAL2
	.comm	_RADIO_2055_PD_PLL_TS,4,2       ; @RADIO_2055_PD_PLL_TS
	.comm	_RADIO_2055_CAL_TS,4,2          ; @RADIO_2055_CAL_TS
.subsections_via_symbols
