	.file	"610662.c"
	.intel_syntax noprefix
	.text
	.globl	LCNPHY_TBL_ID_RFSEQ
	.bss
	.align 4
	.type	LCNPHY_TBL_ID_RFSEQ, @object
	.size	LCNPHY_TBL_ID_RFSEQ, 4
LCNPHY_TBL_ID_RFSEQ:
	.zero	4
	.globl	LCNPHY_TX_PWR_CTRL_OFF
	.align 4
	.type	LCNPHY_TX_PWR_CTRL_OFF, @object
	.size	LCNPHY_TX_PWR_CTRL_OFF, 4
LCNPHY_TX_PWR_CTRL_OFF:
	.zero	4
	.globl	MCTL_EN_MAC
	.align 4
	.type	MCTL_EN_MAC, @object
	.size	MCTL_EN_MAC, 4
MCTL_EN_MAC:
	.zero	4
	.globl	OFF
	.align 4
	.type	OFF, @object
	.size	OFF, 4
OFF:
	.zero	4
	.globl	RADIO_2064_REG005
	.align 4
	.type	RADIO_2064_REG005, @object
	.size	RADIO_2064_REG005, 4
RADIO_2064_REG005:
	.zero	4
	.globl	RADIO_2064_REG007
	.align 4
	.type	RADIO_2064_REG007, @object
	.size	RADIO_2064_REG007, 4
RADIO_2064_REG007:
	.zero	4
	.globl	RADIO_2064_REG025
	.align 4
	.type	RADIO_2064_REG025, @object
	.size	RADIO_2064_REG025, 4
RADIO_2064_REG025:
	.zero	4
	.globl	RADIO_2064_REG082
	.align 4
	.type	RADIO_2064_REG082, @object
	.size	RADIO_2064_REG082, 4
RADIO_2064_REG082:
	.zero	4
	.globl	RADIO_2064_REG0FF
	.align 4
	.type	RADIO_2064_REG0FF, @object
	.size	RADIO_2064_REG0FF, 4
RADIO_2064_REG0FF:
	.zero	4
	.globl	RADIO_2064_REG112
	.align 4
	.type	RADIO_2064_REG112, @object
	.size	RADIO_2064_REG112, 4
RADIO_2064_REG112:
	.zero	4
	.globl	RADIO_2064_REG11F
	.align 4
	.type	RADIO_2064_REG11F, @object
	.size	RADIO_2064_REG11F, 4
RADIO_2064_REG11F:
	.zero	4
	.globl	TEMPSENSE
	.align 8
	.type	TEMPSENSE, @object
	.size	TEMPSENSE, 8
TEMPSENSE:
	.zero	8
	.globl	maccontrol
	.align 4
	.type	maccontrol, @object
	.size	maccontrol, 4
maccontrol:
	.zero	4
	.globl	tempsense_phy_regs
	.align 8
	.type	tempsense_phy_regs, @object
	.size	tempsense_phy_regs, 8
tempsense_phy_regs:
	.zero	8
	.text
	.type	wlc_lcnphy_vbat_temp_sense_setup, @function
wlc_lcnphy_vbat_temp_sense_setup:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 224
	mov	QWORD PTR -216[rbp], rdi
	mov	QWORD PTR -224[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -216[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -160[rbp], rax
	mov	edi, 999
	call	udelay@PLT
	mov	edx, DWORD PTR RADIO_2064_REG007[rip]
	mov	rax, QWORD PTR -216[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	read_radio_reg@PLT
	cdqe
	mov	QWORD PTR -152[rbp], rax
	mov	edx, DWORD PTR RADIO_2064_REG0FF[rip]
	mov	rax, QWORD PTR -216[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	read_radio_reg@PLT
	cdqe
	mov	QWORD PTR -144[rbp], rax
	mov	edx, DWORD PTR RADIO_2064_REG11F[rip]
	mov	rax, QWORD PTR -216[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	read_radio_reg@PLT
	cdqe
	mov	QWORD PTR -136[rbp], rax
	mov	edx, DWORD PTR RADIO_2064_REG005[rip]
	mov	rax, QWORD PTR -216[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	read_radio_reg@PLT
	cdqe
	mov	QWORD PTR -128[rbp], rax
	mov	edx, DWORD PTR RADIO_2064_REG025[rip]
	mov	rax, QWORD PTR -216[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	read_radio_reg@PLT
	cdqe
	mov	QWORD PTR -120[rbp], rax
	mov	edx, DWORD PTR RADIO_2064_REG112[rip]
	mov	rax, QWORD PTR -216[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	read_radio_reg@PLT
	cdqe
	mov	QWORD PTR -112[rbp], rax
	mov	DWORD PTR -200[rbp], 0
	jmp	.L2
.L3:
	mov	rdx, QWORD PTR tempsense_phy_regs[rip]
	mov	eax, DWORD PTR -200[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -216[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	read_phy_reg@PLT
	mov	edx, DWORD PTR -200[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -64[rbp+rdx*4], eax
	add	DWORD PTR -200[rbp], 1
.L2:
	cmp	DWORD PTR -200[rbp], 13
	jle	.L3
	mov	eax, DWORD PTR maccontrol[rip]
	mov	edi, eax
	call	D11REGOFFS@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -216[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	esi, edx
	mov	edi, eax
	call	bcma_read32@PLT
	mov	edx, DWORD PTR MCTL_EN_MAC[rip]
	and	eax, edx
	test	eax, eax
	sete	al
	movzx	eax, al
	mov	DWORD PTR -196[rbp], eax
	cmp	DWORD PTR -196[rbp], 0
	jne	.L4
	mov	rax, QWORD PTR -216[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	wlapi_suspend_mac_and_wait@PLT
.L4:
	mov	rax, QWORD PTR -216[rbp]
	mov	esi, 1188
	mov	rdi, rax
	call	read_radio_reg@PLT
	mov	DWORD PTR -192[rbp], eax
	mov	edx, DWORD PTR LCNPHY_TX_PWR_CTRL_OFF[rip]
	mov	rax, QWORD PTR -216[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	wlc_lcnphy_set_tx_pwr_ctrl@PLT
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -216[rbp]
	mov	esi, 127
	mov	rdi, rax
	call	wlc_lcnphy_set_tx_pwr_by_index@PLT
	mov	esi, DWORD PTR RADIO_2064_REG007[rip]
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 1
	mov	edx, 1
	mov	rdi, rax
	call	mod_radio_reg@PLT
	mov	esi, DWORD PTR RADIO_2064_REG0FF[rip]
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 16
	mov	edx, 16
	mov	rdi, rax
	call	mod_radio_reg@PLT
	mov	esi, DWORD PTR RADIO_2064_REG11F[rip]
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 4
	mov	edx, 4
	mov	rdi, rax
	call	mod_radio_reg@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 0
	mov	edx, 1
	mov	esi, 1283
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 0
	mov	edx, 4
	mov	esi, 1283
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 0
	mov	edx, 16384
	mov	esi, 1188
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 0
	mov	edx, 32768
	mov	esi, 1188
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 0
	mov	edx, 32
	mov	esi, 1232
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 255
	mov	edx, 255
	mov	esi, 1189
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 20480
	mov	edx, 28672
	mov	esi, 1189
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 0
	mov	edx, 1792
	mov	esi, 1189
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 64
	mov	edx, 255
	mov	esi, 1037
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 1536
	mov	edx, 1792
	mov	esi, 1037
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 64
	mov	edx, 255
	mov	esi, 1186
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 1536
	mov	edx, 1792
	mov	esi, 1186
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 32
	mov	edx, 112
	mov	esi, 1241
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 768
	mov	edx, 1792
	mov	esi, 1241
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 4096
	mov	edx, 28672
	mov	esi, 1241
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 0
	mov	edx, 4096
	mov	esi, 1242
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 8192
	mov	edx, 8192
	mov	esi, 1242
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 32768
	mov	edx, 32768
	mov	esi, 1190
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	ecx, DWORD PTR RADIO_2064_REG025[rip]
	mov	rax, QWORD PTR -216[rbp]
	mov	edx, 12
	mov	esi, ecx
	mov	rdi, rax
	call	write_radio_reg@PLT
	mov	esi, DWORD PTR RADIO_2064_REG005[rip]
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 8
	mov	edx, 8
	mov	rdi, rax
	call	mod_radio_reg@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 4
	mov	edx, 4
	mov	esi, 2360
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 4
	mov	edx, 4
	mov	esi, 2361
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 4096
	mov	edx, 4096
	mov	esi, 1188
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	wlc_lcnphy_rfseq_tbl_adc_pwrup@PLT
	mov	DWORD PTR -204[rbp], eax
	mov	eax, DWORD PTR LCNPHY_TBL_ID_RFSEQ[rip]
	mov	DWORD PTR -72[rbp], eax
	mov	DWORD PTR -96[rbp], 16
	mov	DWORD PTR -92[rbp], 1
	lea	rax, -204[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	DWORD PTR -88[rbp], 6
	lea	rdx, -96[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	wlc_lcnphy_write_table@PLT
	mov	rax, QWORD PTR TEMPSENSE[rip]
	cmp	QWORD PTR -224[rbp], rax
	jne	.L5
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 8
	mov	edx, 8
	mov	esi, 1239
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 4096
	mov	edx, 28672
	mov	esi, 1239
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	QWORD PTR -184[rbp], 8
	mov	QWORD PTR -176[rbp], 4
	mov	QWORD PTR -168[rbp], 2
	mov	esi, DWORD PTR RADIO_2064_REG082[rip]
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 32
	mov	edx, 32
	mov	rdi, rax
	call	mod_radio_reg@PLT
	jmp	.L6
.L5:
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 8
	mov	edx, 8
	mov	esi, 1239
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 12288
	mov	edx, 28672
	mov	esi, 1239
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	QWORD PTR -184[rbp], 7
	mov	QWORD PTR -176[rbp], 10
	mov	QWORD PTR -168[rbp], 2
.L6:
	mov	rax, QWORD PTR -184[rbp]
	sal	rax, 4
	or	ah, 2
	mov	edx, eax
	mov	rax, QWORD PTR -176[rbp]
	or	eax, edx
	mov	DWORD PTR -188[rbp], eax
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 1
	mov	edx, 1
	mov	esi, 1240
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	eax, DWORD PTR -188[rbp]
	lea	edx, 0[0+rax*4]
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, edx
	mov	edx, 4092
	mov	esi, 1240
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 2
	mov	edx, 2
	mov	esi, 1240
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	rax, QWORD PTR -168[rbp]
	sal	rax, 12
	mov	edx, eax
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, edx
	mov	edx, 28672
	mov	esi, 1240
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	ecx, 32
	mov	edx, 32
	mov	esi, 1232
	mov	rdi, rax
	call	mod_phy_reg@PLT
	mov	ecx, DWORD PTR RADIO_2064_REG112[rip]
	mov	rax, QWORD PTR -216[rbp]
	mov	edx, 6
	mov	esi, ecx
	mov	rdi, rax
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR OFF[rip]
	mov	rax, QWORD PTR -216[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	wlc_phy_do_dummy_tx@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	tempsense_done@PLT
	test	eax, eax
	jne	.L7
	mov	edi, 10
	call	udelay@PLT
.L7:
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR RADIO_2064_REG007[rip]
	mov	rax, QWORD PTR -216[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	write_radio_reg@PLT
	mov	rax, QWORD PTR -144[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR RADIO_2064_REG0FF[rip]
	mov	rax, QWORD PTR -216[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	write_radio_reg@PLT
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR RADIO_2064_REG11F[rip]
	mov	rax, QWORD PTR -216[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	write_radio_reg@PLT
	mov	rax, QWORD PTR -128[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR RADIO_2064_REG005[rip]
	mov	rax, QWORD PTR -216[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	write_radio_reg@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR RADIO_2064_REG025[rip]
	mov	rax, QWORD PTR -216[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	write_radio_reg@PLT
	mov	rax, QWORD PTR -112[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR RADIO_2064_REG112[rip]
	mov	rax, QWORD PTR -216[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	write_radio_reg@PLT
	mov	DWORD PTR -200[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -200[rbp]
	cdqe
	mov	edx, DWORD PTR -64[rbp+rax*4]
	mov	rcx, QWORD PTR tempsense_phy_regs[rip]
	mov	eax, DWORD PTR -200[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -216[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	write_phy_reg@PLT
	add	DWORD PTR -200[rbp], 1
.L8:
	cmp	DWORD PTR -200[rbp], 13
	jle	.L9
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -216[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	wlc_lcnphy_set_tx_pwr_by_index@PLT
	mov	edx, DWORD PTR -192[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	esi, 1188
	mov	rdi, rax
	call	write_radio_reg@PLT
	cmp	DWORD PTR -196[rbp], 0
	jne	.L10
	mov	rax, QWORD PTR -216[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	wlapi_enable_mac@PLT
.L10:
	mov	edi, 999
	call	udelay@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	wlc_lcnphy_vbat_temp_sense_setup, .-wlc_lcnphy_vbat_temp_sense_setup
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"610662.c"
	.text
	.comm	LCNPHY_TBL_ID_RFSEQ,4,4
	.comm	LCNPHY_TX_PWR_CTRL_OFF,4,4
	.comm	MCTL_EN_MAC,4,4
	.comm	OFF,4,4
	.comm	RADIO_2064_REG005,4,4
	.comm	RADIO_2064_REG007,4,4
	.comm	RADIO_2064_REG025,4,4
	.comm	RADIO_2064_REG082,4,4
	.comm	RADIO_2064_REG0FF,4,4
	.comm	RADIO_2064_REG112,4,4
	.comm	RADIO_2064_REG11F,4,4
	.comm	TEMPSENSE,4,4
	.comm	maccontrol,4,4
	.comm	tempsense_phy_regs,4,4
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wlc_lcnphy_vbat_temp_sense_setup, %function
wlc_lcnphy_vbat_temp_sense_setup:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #156
	str	r0, [fp, #-160]
	str	r1, [fp, #-164]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-160]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-136]
	ldr	r0, .L12+4
	bl	udelay
	ldr	r3, .L12+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-160]
	bl	read_radio_reg
	str	r0, [fp, #-132]
	ldr	r3, .L12+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-160]
	bl	read_radio_reg
	str	r0, [fp, #-128]
	ldr	r3, .L12+16
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-160]
	bl	read_radio_reg
	str	r0, [fp, #-124]
	ldr	r3, .L12+20
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-160]
	bl	read_radio_reg
	str	r0, [fp, #-120]
	ldr	r3, .L12+24
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-160]
	bl	read_radio_reg
	str	r0, [fp, #-116]
	ldr	r3, .L12+28
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-160]
	bl	read_radio_reg
	str	r0, [fp, #-112]
	mov	r3, #0
	str	r3, [fp, #-140]
	b	.L2
.L3:
	ldr	r3, .L12+32
	ldr	r2, [r3]
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-160]
	bl	read_phy_reg
	mov	r2, r0
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-60]
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
.L2:
	ldr	r3, [fp, #-140]
	cmp	r3, #13
	ble	.L3
	ldr	r3, [fp, #-160]
	ldr	r4, [r3, #4]
	ldr	r3, .L12+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	D11REGOFFS
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	bcma_read32
	mov	r2, r0
	ldr	r3, .L12+40
	ldr	r3, [r3]
	and	r3, r3, r2
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-108]
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-160]
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r0, r3
	bl	wlapi_suspend_mac_and_wait
.L4:
	ldr	r1, .L12+44
	ldr	r0, [fp, #-160]
	bl	read_radio_reg
	str	r0, [fp, #-104]
	ldr	r3, .L12+48
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-160]
	bl	wlc_lcnphy_set_tx_pwr_ctrl
	ldr	r3, [fp, #-136]
	ldr	r3, [r3]
	str	r3, [fp, #-100]
	mov	r1, #127
	ldr	r0, [fp, #-160]
	bl	wlc_lcnphy_set_tx_pwr_by_index
	ldr	r3, .L12+8
	ldr	r1, [r3]
	mov	r3, #1
	mov	r2, #1
	ldr	r0, [fp, #-160]
	bl	mod_radio_reg
	ldr	r3, .L12+12
	ldr	r1, [r3]
	mov	r3, #16
	mov	r2, #16
	ldr	r0, [fp, #-160]
	bl	mod_radio_reg
	ldr	r3, .L12+16
	ldr	r1, [r3]
	mov	r3, #4
	mov	r2, #4
	ldr	r0, [fp, #-160]
	bl	mod_radio_reg
	mov	r3, #0
	mov	r2, #1
	ldr	r1, .L12+52
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	mov	r3, #0
	mov	r2, #4
	ldr	r1, .L12+52
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	mov	r3, #0
	mov	r2, #16384
	ldr	r1, .L12+44
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	mov	r3, #0
	mov	r2, #32768
	ldr	r1, .L12+44
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	mov	r3, #0
	mov	r2, #32
	mov	r1, #1232
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	mov	r3, #255
	mov	r2, #255
	ldr	r1, .L12+56
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	mov	r3, #20480
	mov	r2, #28672
	ldr	r1, .L12+56
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	mov	r3, #0
	mov	r2, #1792
	ldr	r1, .L12+56
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	mov	r3, #64
	mov	r2, #255
	ldr	r1, .L12+60
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	mov	r3, #1536
	mov	r2, #1792
	ldr	r1, .L12+60
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	mov	r3, #64
	mov	r2, #255
	ldr	r1, .L12+64
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	mov	r3, #1536
	mov	r2, #1792
	ldr	r1, .L12+64
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	mov	r3, #32
	mov	r2, #112
	ldr	r1, .L12+68
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	mov	r3, #768
	mov	r2, #1792
	ldr	r1, .L12+68
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	mov	r3, #4096
	mov	r2, #28672
	ldr	r1, .L12+68
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	mov	r3, #0
	mov	r2, #4096
	ldr	r1, .L12+72
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	mov	r3, #8192
	mov	r2, #8192
	ldr	r1, .L12+72
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	mov	r3, #32768
	mov	r2, #32768
	ldr	r1, .L12+76
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	ldr	r3, .L12+24
	ldr	r3, [r3]
	mov	r2, #12
	mov	r1, r3
	ldr	r0, [fp, #-160]
	bl	write_radio_reg
	ldr	r3, .L12+20
	ldr	r1, [r3]
	mov	r3, #8
	mov	r2, #8
	ldr	r0, [fp, #-160]
	bl	mod_radio_reg
	mov	r3, #4
	mov	r2, #4
	ldr	r1, .L12+80
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	mov	r3, #4
	mov	r2, #4
	ldr	r1, .L12+84
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	mov	r3, #4096
	mov	r2, #4096
	ldr	r1, .L12+44
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	ldr	r0, [fp, #-160]
	bl	wlc_lcnphy_rfseq_tbl_adc_pwrup
	mov	r3, r0
	str	r3, [fp, #-156]
	ldr	r3, .L12+88
	ldr	r3, [r3]
	str	r3, [fp, #-76]
	mov	r3, #16
	str	r3, [fp, #-92]
	mov	r3, #1
	str	r3, [fp, #-88]
	sub	r3, fp, #156
	str	r3, [fp, #-80]
	mov	r3, #6
	str	r3, [fp, #-84]
	sub	r3, fp, #92
	mov	r1, r3
	ldr	r0, [fp, #-160]
	bl	wlc_lcnphy_write_table
	ldr	r3, .L12+92
	ldr	r3, [r3]
	ldr	r2, [fp, #-164]
	cmp	r2, r3
	bne	.L5
	mov	r3, #8
	mov	r2, #8
	ldr	r1, .L12+96
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	mov	r3, #4096
	mov	r2, #28672
	ldr	r1, .L12+96
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	mov	r3, #8
	str	r3, [fp, #-152]
	mov	r3, #4
	str	r3, [fp, #-148]
	mov	r3, #2
	str	r3, [fp, #-144]
	ldr	r3, .L12+100
	ldr	r1, [r3]
	mov	r3, #32
	mov	r2, #32
	ldr	r0, [fp, #-160]
	bl	mod_radio_reg
	b	.L6
.L5:
	mov	r3, #8
	mov	r2, #8
	ldr	r1, .L12+96
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	mov	r3, #12288
	mov	r2, #28672
	ldr	r1, .L12+96
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	mov	r3, #7
	str	r3, [fp, #-152]
	mov	r3, #10
	str	r3, [fp, #-148]
	mov	r3, #2
	str	r3, [fp, #-144]
.L6:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #4
	orr	r3, r3, #512
	ldr	r2, [fp, #-148]
	orr	r3, r2, r3
	str	r3, [fp, #-96]
	mov	r3, #1
	mov	r2, #1
	ldr	r1, .L12+104
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #2
	ldr	r2, .L12+108
	ldr	r1, .L12+104
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	mov	r3, #2
	mov	r2, #2
	ldr	r1, .L12+104
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #12
	mov	r2, #28672
	ldr	r1, .L12+104
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	mov	r3, #32
	mov	r2, #32
	mov	r1, #1232
	ldr	r0, [fp, #-160]
	bl	mod_phy_reg
	ldr	r3, .L12+28
	ldr	r3, [r3]
	mov	r2, #6
	mov	r1, r3
	ldr	r0, [fp, #-160]
	bl	write_radio_reg
	ldr	r3, .L12+112
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #1
	ldr	r0, [fp, #-160]
	bl	wlc_phy_do_dummy_tx
	ldr	r0, [fp, #-160]
	bl	tempsense_done
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	mov	r0, #10
	bl	udelay
.L7:
	ldr	r3, .L12+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-132]
	mov	r1, r3
	ldr	r0, [fp, #-160]
	bl	write_radio_reg
	ldr	r3, .L12+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-128]
	mov	r1, r3
	ldr	r0, [fp, #-160]
	bl	write_radio_reg
	ldr	r3, .L12+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-124]
	mov	r1, r3
	ldr	r0, [fp, #-160]
	bl	write_radio_reg
	ldr	r3, .L12+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-120]
	mov	r1, r3
	ldr	r0, [fp, #-160]
	bl	write_radio_reg
	ldr	r3, .L12+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-116]
	mov	r1, r3
	ldr	r0, [fp, #-160]
	bl	write_radio_reg
	ldr	r3, .L12+28
	ldr	r3, [r3]
	ldr	r2, [fp, #-112]
	mov	r1, r3
	ldr	r0, [fp, #-160]
	bl	write_radio_reg
	mov	r3, #0
	str	r3, [fp, #-140]
	b	.L8
.L9:
	ldr	r3, .L12+32
	ldr	r2, [r3]
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-60]
	mov	r2, r3
	ldr	r0, [fp, #-160]
	bl	write_phy_reg
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
.L8:
	ldr	r3, [fp, #-140]
	cmp	r3, #13
	ble	.L9
	ldr	r1, [fp, #-100]
	ldr	r0, [fp, #-160]
	bl	wlc_lcnphy_set_tx_pwr_by_index
	ldr	r2, [fp, #-104]
	ldr	r1, .L12+44
	ldr	r0, [fp, #-160]
	bl	write_radio_reg
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	bne	.L10
	ldr	r3, [fp, #-160]
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r0, r3
	bl	wlapi_enable_mac
.L10:
	ldr	r0, .L12+4
	bl	udelay
	nop
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	999
	.word	RADIO_2064_REG007
	.word	RADIO_2064_REG0FF
	.word	RADIO_2064_REG11F
	.word	RADIO_2064_REG005
	.word	RADIO_2064_REG025
	.word	RADIO_2064_REG112
	.word	tempsense_phy_regs
	.word	maccontrol
	.word	MCTL_EN_MAC
	.word	1188
	.word	LCNPHY_TX_PWR_CTRL_OFF
	.word	1283
	.word	1189
	.word	1037
	.word	1186
	.word	1241
	.word	1242
	.word	1190
	.word	2360
	.word	2361
	.word	LCNPHY_TBL_ID_RFSEQ
	.word	TEMPSENSE
	.word	1239
	.word	RADIO_2064_REG082
	.word	1240
	.word	4092
	.word	OFF
	.size	wlc_lcnphy_vbat_temp_sense_setup, .-wlc_lcnphy_vbat_temp_sense_setup
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
