	.file	"extr_phy_n.c_wlc_phy_chanspec_radio2056_setup.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	wlc_phy_chanspec_radio2056_setup, @function
wlc_phy_chanspec_radio2056_setup:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	edx, DWORD PTR [rbx]
	mov	esi, DWORD PTR RADIO_2056_SYN_PLL_VCOCAL1[rip]
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR RADIO_2056_SYN_PLL_VCOCAL2[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR RADIO_2056_SYN_PLL_REFDIV[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR RADIO_2056_SYN_PLL_MMD2[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 16[rbx]
	mov	esi, DWORD PTR RADIO_2056_SYN_PLL_MMD1[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 20[rbx]
	mov	esi, DWORD PTR RADIO_2056_SYN_PLL_LOOPFILTER1[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 24[rbx]
	mov	esi, DWORD PTR RADIO_2056_SYN_PLL_LOOPFILTER2[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 28[rbx]
	mov	esi, DWORD PTR RADIO_2056_SYN_PLL_LOOPFILTER3[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 32[rbx]
	mov	esi, DWORD PTR RADIO_2056_SYN_PLL_LOOPFILTER4[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 36[rbx]
	mov	esi, DWORD PTR RADIO_2056_SYN_PLL_LOOPFILTER5[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 40[rbx]
	mov	esi, DWORD PTR RADIO_2056_SYN_RESERVED_ADDR27[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 44[rbx]
	mov	esi, DWORD PTR RADIO_2056_SYN_RESERVED_ADDR28[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 48[rbx]
	mov	esi, DWORD PTR RADIO_2056_SYN_RESERVED_ADDR29[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 52[rbx]
	mov	esi, DWORD PTR RADIO_2056_SYN_LOGEN_VCOBUF1[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 56[rbx]
	mov	esi, DWORD PTR RADIO_2056_SYN_LOGEN_MIXER2[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 60[rbx]
	mov	esi, DWORD PTR RADIO_2056_SYN_LOGEN_BUF3[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 64[rbx]
	mov	esi, DWORD PTR RADIO_2056_SYN_LOGEN_BUF4[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 68[rbx]
	mov	esi, DWORD PTR RADIO_2056_RX_LNAA_TUNE[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_RX0[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 72[rbx]
	mov	esi, DWORD PTR RADIO_2056_RX_LNAG_TUNE[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_RX0[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 76[rbx]
	mov	esi, DWORD PTR RADIO_2056_TX_INTPAA_BOOST_TUNE[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_TX0[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 80[rbx]
	mov	esi, DWORD PTR RADIO_2056_TX_INTPAG_BOOST_TUNE[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_TX0[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 84[rbx]
	mov	esi, DWORD PTR RADIO_2056_TX_PADA_BOOST_TUNE[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_TX0[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 88[rbx]
	mov	esi, DWORD PTR RADIO_2056_TX_PADG_BOOST_TUNE[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_TX0[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 92[rbx]
	mov	esi, DWORD PTR RADIO_2056_TX_PGAA_BOOST_TUNE[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_TX0[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 96[rbx]
	mov	esi, DWORD PTR RADIO_2056_TX_PGAG_BOOST_TUNE[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_TX0[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 100[rbx]
	mov	esi, DWORD PTR RADIO_2056_TX_MIXA_BOOST_TUNE[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_TX0[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 104[rbx]
	mov	esi, DWORD PTR RADIO_2056_TX_MIXG_BOOST_TUNE[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_TX0[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 108[rbx]
	mov	esi, DWORD PTR RADIO_2056_RX_LNAA_TUNE[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_RX1[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 112[rbx]
	mov	esi, DWORD PTR RADIO_2056_RX_LNAG_TUNE[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_RX1[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 116[rbx]
	mov	esi, DWORD PTR RADIO_2056_TX_INTPAA_BOOST_TUNE[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_TX1[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 120[rbx]
	mov	esi, DWORD PTR RADIO_2056_TX_INTPAG_BOOST_TUNE[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_TX1[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 124[rbx]
	mov	esi, DWORD PTR RADIO_2056_TX_PADA_BOOST_TUNE[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_TX1[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 128[rbx]
	mov	esi, DWORD PTR RADIO_2056_TX_PADG_BOOST_TUNE[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_TX1[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 132[rbx]
	mov	esi, DWORD PTR RADIO_2056_TX_PGAA_BOOST_TUNE[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_TX1[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 136[rbx]
	mov	esi, DWORD PTR RADIO_2056_TX_PGAG_BOOST_TUNE[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_TX1[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 140[rbx]
	mov	esi, DWORD PTR RADIO_2056_TX_MIXA_BOOST_TUNE[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_TX1[rip]
	call	write_radio_reg@PLT
	mov	edx, DWORD PTR 144[rbx]
	mov	esi, DWORD PTR RADIO_2056_TX_MIXG_BOOST_TUNE[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_TX1[rip]
	call	write_radio_reg@PLT
	mov	edi, DWORD PTR 40[rbp]
	mov	esi, 3
	call	NREV_IS@PLT
	mov	rbx, QWORD PTR regs_SYN_2056[rip]
	test	rax, rax
	je	.L76
.L3:
	mov	edi, DWORD PTR 48[rbp]
	call	CHSPEC_IS2G@PLT
	test	rax, rax
	je	.L11
	mov	rdx, QWORD PTR 1144[rbx]
	mov	esi, DWORD PTR RADIO_2056_SYN_PLL_CP2[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	rax, QWORD PTR 16[rbp]
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR BFL2_GPLL_WAR[rip], eax
	jne	.L77
.L13:
	test	DWORD PTR BFL2_GPLL_WAR2[rip], eax
	jne	.L78
.L18:
	test	DWORD PTR BFL2_APLL_WAR[rip], eax
	jne	.L79
.L21:
	mov	rdi, rbp
	call	PHY_IPA@PLT
	test	rax, rax
	jne	.L23
.L26:
	mov	rdi, rbp
	call	PHY_IPA@PLT
	test	rax, rax
	jne	.L80
.L25:
	mov	edi, 50
	call	udelay@PLT
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	wlc_phy_radio205x_vcocal_nphy@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdx, QWORD PTR 1136[rbx]
	mov	esi, DWORD PTR RADIO_2056_SYN_PLL_CP2[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	rax, QWORD PTR 16[rbp]
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR BFL2_GPLL_WAR[rip], eax
	je	.L13
.L77:
	mov	edi, DWORD PTR 48[rbp]
	call	CHSPEC_IS2G@PLT
	test	rax, rax
	jne	.L14
.L72:
	mov	rax, QWORD PTR 16[rbp]
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR BFL2_GPLL_WAR2[rip], eax
	je	.L18
.L78:
	mov	edi, DWORD PTR 48[rbp]
	call	CHSPEC_IS2G@PLT
	test	rax, rax
	jne	.L19
.L73:
	mov	rax, QWORD PTR 16[rbp]
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR BFL2_APLL_WAR[rip], eax
	je	.L21
.L79:
	mov	edi, DWORD PTR 48[rbp]
	call	CHSPEC_IS5G@PLT
	test	rax, rax
	je	.L21
	mov	esi, DWORD PTR RADIO_2056_SYN_PLL_LOOPFILTER1[rip]
	mov	edx, 31
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	esi, DWORD PTR RADIO_2056_SYN_PLL_LOOPFILTER2[rip]
	mov	edx, 31
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	esi, DWORD PTR RADIO_2056_SYN_PLL_LOOPFILTER4[rip]
	mov	edx, 5
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	esi, DWORD PTR RADIO_2056_SYN_PLL_CP2[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	mov	edx, 12
	call	write_radio_reg@PLT
	mov	rdi, rbp
	call	PHY_IPA@PLT
	test	rax, rax
	je	.L26
	.p2align 4,,10
	.p2align 3
.L23:
	mov	edi, DWORD PTR 48[rbp]
	call	CHSPEC_IS2G@PLT
	test	rax, rax
	je	.L26
	cmp	QWORD PTR 32[rbp], 0
	jle	.L26
	xor	ebx, ebx
	mov	r13d, 64
	jmp	.L32
	.p2align 4,,10
	.p2align 3
.L27:
	mov	rax, QWORD PTR WL_CHANSPEC_BW_40[rip]
	cmp	QWORD PTR 0[rbp], rax
	mov	rcx, rbx
	mov	rdi, rbp
	mov	r12d, 32
	mov	r8d, DWORD PTR INTPAG_IMAIN_STAT[rip]
	mov	edx, DWORD PTR TX[rip]
	cmove	r12d, r13d
	mov	esi, DWORD PTR RADIO_2056[rip]
	mov	r9d, r12d
	call	WRITE_RADIO_REG2@PLT
	mov	r9d, r12d
	mov	rcx, rbx
	mov	rdi, rbp
	mov	r8d, DWORD PTR INTPAG_IAUX_STAT[rip]
	mov	edx, DWORD PTR TX[rip]
	mov	esi, DWORD PTR RADIO_2056[rip]
	call	WRITE_RADIO_REG2@PLT
	mov	r8d, DWORD PTR INTPAG_CASCBIAS[rip]
	mov	r9d, 48
.L74:
	mov	edx, DWORD PTR TX[rip]
	mov	esi, DWORD PTR RADIO_2056[rip]
	mov	rcx, rbx
	mov	rdi, rbp
	call	WRITE_RADIO_REG2@PLT
	mov	r8d, DWORD PTR PA_SPARE1[rip]
	mov	rcx, rbx
	mov	rdi, rbp
	mov	edx, DWORD PTR TX[rip]
	mov	esi, DWORD PTR RADIO_2056[rip]
	mov	r9d, 238
	add	rbx, 1
	call	WRITE_RADIO_REG2@PLT
	cmp	QWORD PTR 32[rbp], rbx
	jle	.L26
.L32:
	mov	edi, DWORD PTR 40[rbp]
	mov	esi, 5
	call	NREV_GE@PLT
	test	rax, rax
	je	.L27
	mov	edx, DWORD PTR TX[rip]
	mov	r8d, DWORD PTR PADG_IDAC[rip]
	mov	rcx, rbx
	mov	rdi, rbp
	mov	esi, DWORD PTR RADIO_2056[rip]
	mov	r9d, 204
	call	WRITE_RADIO_REG2@PLT
	mov	rdx, QWORD PTR 16[rbp]
	mov	rax, QWORD PTR 8[rdx]
	cmp	rax, QWORD PTR BCMA_CHIP_ID_BCM4716[rip]
	je	.L40
	cmp	rax, QWORD PTR BCMA_CHIP_ID_BCM47162[rip]
	je	.L40
	cmp	rax, QWORD PTR BCMA_CHIP_ID_BCM43224[rip]
	je	.L29
	cmp	rax, QWORD PTR BCMA_CHIP_ID_BCM43225[rip]
	je	.L29
	mov	r14d, 32
	mov	r12d, 37
	mov	r15d, 101
	mov	r10d, 3
	mov	r11d, 4
	.p2align 4,,10
	.p2align 3
.L28:
	mov	r8d, DWORD PTR INTPAG_IMAIN_STAT[rip]
	mov	r9d, r12d
	mov	rcx, rbx
	mov	rdi, rbp
	mov	edx, DWORD PTR TX[rip]
	mov	esi, DWORD PTR RADIO_2056[rip]
	mov	DWORD PTR 12[rsp], r10d
	mov	DWORD PTR 8[rsp], r11d
	call	WRITE_RADIO_REG2@PLT
	mov	r9d, r12d
	mov	rcx, rbx
	mov	rdi, rbp
	mov	r8d, DWORD PTR INTPAG_IAUX_STAT[rip]
	mov	edx, DWORD PTR TX[rip]
	mov	esi, DWORD PTR RADIO_2056[rip]
	call	WRITE_RADIO_REG2@PLT
	mov	r9d, r14d
	mov	rcx, rbx
	mov	rdi, rbp
	mov	r8d, DWORD PTR INTPAG_CASCBIAS[rip]
	mov	edx, DWORD PTR TX[rip]
	mov	esi, DWORD PTR RADIO_2056[rip]
	call	WRITE_RADIO_REG2@PLT
	mov	r11d, DWORD PTR 8[rsp]
	mov	rcx, rbx
	mov	rdi, rbp
	mov	r8d, DWORD PTR INTPAG_BOOST_TUNE[rip]
	mov	edx, DWORD PTR TX[rip]
	mov	esi, DWORD PTR RADIO_2056[rip]
	mov	r9d, r11d
	call	WRITE_RADIO_REG2@PLT
	mov	r10d, DWORD PTR 12[rsp]
	mov	rcx, rbx
	mov	rdi, rbp
	mov	r8d, DWORD PTR PGAG_BOOST_TUNE[rip]
	mov	edx, DWORD PTR TX[rip]
	mov	esi, DWORD PTR RADIO_2056[rip]
	mov	r9d, r10d
	call	WRITE_RADIO_REG2@PLT
	mov	r8d, DWORD PTR PADG_BOOST_TUNE[rip]
	mov	rcx, rbx
	mov	edx, DWORD PTR TX[rip]
	mov	esi, DWORD PTR RADIO_2056[rip]
	mov	r9d, 119
	mov	rdi, rbp
	call	WRITE_RADIO_REG2@PLT
	mov	r8d, DWORD PTR MIXG_BOOST_TUNE[rip]
	mov	r9d, r15d
	jmp	.L74
	.p2align 4,,10
	.p2align 3
.L76:
	mov	edi, DWORD PTR 40[rbp]
	mov	esi, 4
	call	NREV_IS@PLT
	mov	rbx, QWORD PTR regs_SYN_2056_A1[rip]
	test	rax, rax
	jne	.L3
	mov	eax, DWORD PTR 24[rbp]
	sub	eax, 5
	cmp	eax, 6
	ja	.L38
	lea	rdx, .L6[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L6:
	.long	.L10-.L6
	.long	.L9-.L6
	.long	.L7-.L6
	.long	.L8-.L6
	.long	.L7-.L6
	.long	.L38-.L6
	.long	.L5-.L6
	.text
	.p2align 4,,10
	.p2align 3
.L80:
	mov	edi, DWORD PTR 40[rbp]
	mov	esi, 6
	call	NREV_IS@PLT
	test	rax, rax
	je	.L25
	mov	edi, DWORD PTR 48[rbp]
	call	CHSPEC_IS5G@PLT
	test	rax, rax
	je	.L25
	mov	edi, DWORD PTR 48[rbp]
	call	CHSPEC_CHANNEL@PLT
	mov	edi, eax
	call	CHAN5G_FREQ@PLT
	cmp	eax, 5149
	jle	.L44
	cmp	eax, 5339
	jle	.L45
	cmp	eax, 5649
	jle	.L46
	cmp	eax, 5825
	je	.L47
	mov	edx, 18
	xor	r15d, r15d
	sub	edx, eax
	movsx	r14, edx
	mov	rax, r14
	imul	r14, r14, 954437177
	sar	eax, 31
	sar	r14, 35
	sub	r14d, eax
	add	r14d, 168
	.p2align 4,,10
	.p2align 3
.L33:
	cmp	QWORD PTR 32[rbp], 0
	jle	.L25
	xor	ebx, ebx
	jmp	.L37
	.p2align 4,,10
	.p2align 3
.L81:
	cmp	rax, QWORD PTR BCMA_CHIP_ID_BCM43225[rip]
	mov	r13d, 48
	je	.L34
.L35:
	mov	r12d, DWORD PTR 8[rbp]
	mov	eax, 48
	mov	rcx, rbx
	mov	rdi, rbp
	mov	r8d, DWORD PTR INTPAA_IAUX_STAT[rip]
	mov	edx, DWORD PTR TX[rip]
	test	r12d, r12d
	mov	esi, DWORD PTR RADIO_2056[rip]
	cmove	r12d, eax
	mov	r9d, r12d
	call	WRITE_RADIO_REG2@PLT
	mov	rcx, rbx
	mov	r9d, r12d
	mov	rdi, rbp
	mov	r8d, DWORD PTR INTPAA_IMAIN_STAT[rip]
	mov	edx, DWORD PTR TX[rip]
	mov	esi, DWORD PTR RADIO_2056[rip]
	call	WRITE_RADIO_REG2@PLT
	mov	rcx, rbx
	mov	r9d, r13d
	mov	rdi, rbp
	mov	edx, DWORD PTR TX[rip]
	mov	r8d, DWORD PTR INTPAA_CASCBIAS[rip]
	add	rbx, 1
	mov	esi, DWORD PTR RADIO_2056[rip]
	call	WRITE_RADIO_REG2@PLT
	cmp	QWORD PTR 32[rbp], rbx
	jle	.L25
.L37:
	mov	r8d, DWORD PTR INTPAA_BOOST_TUNE[rip]
	mov	r9d, r15d
	mov	rcx, rbx
	mov	rdi, rbp
	mov	edx, DWORD PTR TX[rip]
	mov	esi, DWORD PTR RADIO_2056[rip]
	call	WRITE_RADIO_REG2@PLT
	mov	r8d, DWORD PTR PADA_BOOST_TUNE[rip]
	mov	rcx, rbx
	mov	edx, DWORD PTR TX[rip]
	mov	esi, DWORD PTR RADIO_2056[rip]
	mov	r9d, 119
	mov	rdi, rbp
	call	WRITE_RADIO_REG2@PLT
	mov	r9d, r14d
	mov	rcx, rbx
	mov	rdi, rbp
	mov	r8d, DWORD PTR PGAA_BOOST_TUNE[rip]
	mov	edx, DWORD PTR TX[rip]
	mov	esi, DWORD PTR RADIO_2056[rip]
	call	WRITE_RADIO_REG2@PLT
	mov	r8d, DWORD PTR MIXA_BOOST_TUNE[rip]
	mov	rcx, rbx
	mov	edx, DWORD PTR TX[rip]
	mov	esi, DWORD PTR RADIO_2056[rip]
	mov	r9d, 15
	mov	rdi, rbp
	call	WRITE_RADIO_REG2@PLT
	mov	r8d, DWORD PTR TXSPARE1[rip]
	mov	rcx, rbx
	mov	edx, DWORD PTR TX[rip]
	mov	esi, DWORD PTR RADIO_2056[rip]
	mov	r9d, 48
	mov	rdi, rbp
	call	WRITE_RADIO_REG2@PLT
	mov	r8d, DWORD PTR PA_SPARE2[rip]
	mov	rcx, rbx
	mov	edx, DWORD PTR TX[rip]
	mov	esi, DWORD PTR RADIO_2056[rip]
	mov	r9d, 238
	mov	rdi, rbp
	call	WRITE_RADIO_REG2@PLT
	mov	edx, DWORD PTR TX[rip]
	mov	rcx, rbx
	mov	r8d, DWORD PTR PADA_CASCBIAS[rip]
	mov	esi, DWORD PTR RADIO_2056[rip]
	mov	r9d, 3
	mov	rdi, rbp
	call	WRITE_RADIO_REG2@PLT
	mov	rdx, QWORD PTR 16[rbp]
	mov	rax, QWORD PTR 8[rdx]
	cmp	rax, QWORD PTR BCMA_CHIP_ID_BCM43224[rip]
	jne	.L81
.L34:
	xor	r13d, r13d
	mov	rax, QWORD PTR BCMA_PKG_ID_BCM43224_FAB_SMIC[rip]
	cmp	QWORD PTR 16[rdx], rax
	sete	r13b
	lea	r13d, 48[r13+r13*4]
	jmp	.L35
	.p2align 4,,10
	.p2align 3
.L40:
	mov	r14d, 69
	mov	r12d, 64
	mov	r15d, 85
	mov	r10d, 51
	mov	r11d, 5
	jmp	.L28
	.p2align 4,,10
	.p2align 3
.L14:
	mov	esi, DWORD PTR RADIO_2056_SYN_PLL_LOOPFILTER1[rip]
	mov	edx, 31
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	esi, DWORD PTR RADIO_2056_SYN_PLL_LOOPFILTER2[rip]
	mov	edx, 31
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	rax, QWORD PTR 16[rbp]
	mov	esi, DWORD PTR RADIO_2056_SYN_PLL_LOOPFILTER4[rip]
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	mov	rax, QWORD PTR 8[rax]
	cmp	rax, QWORD PTR BCMA_CHIP_ID_BCM4716[rip]
	je	.L16
	cmp	rax, QWORD PTR BCMA_CHIP_ID_BCM47162[rip]
	jne	.L17
.L16:
	mov	edx, 20
	mov	rdi, rbp
	call	write_radio_reg@PLT
	mov	esi, DWORD PTR RADIO_2056_SYN_PLL_CP2[rip]
	xor	edx, edx
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	rax, QWORD PTR 16[rbp]
	mov	eax, DWORD PTR [rax]
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rdi, rbp
	mov	esi, DWORD PTR RADIO_2056_SYN_PLL_LOOPFILTER1[rip]
	mov	edx, 31
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	rdi, rbp
	mov	esi, DWORD PTR RADIO_2056_SYN_PLL_LOOPFILTER2[rip]
	mov	edx, 31
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	rdi, rbp
	mov	esi, DWORD PTR RADIO_2056_SYN_PLL_LOOPFILTER4[rip]
	mov	edx, 11
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	mov	esi, DWORD PTR RADIO_2056_SYN_PLL_CP2[rip]
	mov	edx, 32
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	jmp	.L73
	.p2align 4,,10
	.p2align 3
.L29:
	mov	rax, QWORD PTR 16[rdx]
	cmp	rax, QWORD PTR BCMA_PKG_ID_BCM43224_FAB_SMIC[rip]
	mov	r14d, 32
	mov	edx, 56
	sete	r12b
	cmove	r14d, edx
	mov	r15d, 101
	mov	r10d, 3
	movzx	r12d, r12b
	mov	r11d, 4
	lea	r12d, 37[r12+r12*4]
	jmp	.L28
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rbx, QWORD PTR regs_SYN_2056_rev7[rip]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, rbp
	mov	edx, 11
	call	write_radio_reg@PLT
	mov	esi, DWORD PTR RADIO_2056_SYN_PLL_CP2[rip]
	mov	edx, 20
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_SYN[rip]
	call	write_radio_reg@PLT
	jmp	.L72
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rbx, QWORD PTR regs_SYN_2056_rev6[rip]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rbx, QWORD PTR regs_SYN_2056_rev5[rip]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rbx, QWORD PTR regs_SYN_2056_rev11[rip]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rbx, QWORD PTR regs_SYN_2056_rev8[rip]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L38:
	xor	ebx, ebx
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L44:
	mov	r14d, 15
	mov	r15d, 10
	jmp	.L33
.L45:
	mov	r14d, 251
	mov	r15d, 8
	jmp	.L33
.L46:
	mov	r14d, 11
	xor	r15d, r15d
	jmp	.L33
.L47:
	mov	r14d, 6
	xor	r15d, r15d
	jmp	.L33
	.cfi_endproc
.LFE0:
	.size	wlc_phy_chanspec_radio2056_setup, .-wlc_phy_chanspec_radio2056_setup
	.comm	regs_SYN_2056_rev8,8,8
	.comm	regs_SYN_2056_rev7,8,8
	.comm	regs_SYN_2056_rev6,8,8
	.comm	regs_SYN_2056_rev5,8,8
	.comm	regs_SYN_2056_rev11,8,8
	.comm	regs_SYN_2056_A1,8,8
	.comm	regs_SYN_2056,8,8
	.comm	WL_CHANSPEC_BW_40,8,8
	.comm	TXSPARE1,4,4
	.comm	TX,4,4
	.comm	RADIO_2056_TX_PGAG_BOOST_TUNE,4,4
	.comm	RADIO_2056_TX_PGAA_BOOST_TUNE,4,4
	.comm	RADIO_2056_TX_PADG_BOOST_TUNE,4,4
	.comm	RADIO_2056_TX_PADA_BOOST_TUNE,4,4
	.comm	RADIO_2056_TX_MIXG_BOOST_TUNE,4,4
	.comm	RADIO_2056_TX_MIXA_BOOST_TUNE,4,4
	.comm	RADIO_2056_TX_INTPAG_BOOST_TUNE,4,4
	.comm	RADIO_2056_TX_INTPAA_BOOST_TUNE,4,4
	.comm	RADIO_2056_TX1,4,4
	.comm	RADIO_2056_TX0,4,4
	.comm	RADIO_2056_SYN_RESERVED_ADDR29,4,4
	.comm	RADIO_2056_SYN_RESERVED_ADDR28,4,4
	.comm	RADIO_2056_SYN_RESERVED_ADDR27,4,4
	.comm	RADIO_2056_SYN_PLL_VCOCAL2,4,4
	.comm	RADIO_2056_SYN_PLL_VCOCAL1,4,4
	.comm	RADIO_2056_SYN_PLL_REFDIV,4,4
	.comm	RADIO_2056_SYN_PLL_MMD2,4,4
	.comm	RADIO_2056_SYN_PLL_MMD1,4,4
	.comm	RADIO_2056_SYN_PLL_LOOPFILTER5,4,4
	.comm	RADIO_2056_SYN_PLL_LOOPFILTER4,4,4
	.comm	RADIO_2056_SYN_PLL_LOOPFILTER3,4,4
	.comm	RADIO_2056_SYN_PLL_LOOPFILTER2,4,4
	.comm	RADIO_2056_SYN_PLL_LOOPFILTER1,4,4
	.comm	RADIO_2056_SYN_PLL_CP2,4,4
	.comm	RADIO_2056_SYN_LOGEN_VCOBUF1,4,4
	.comm	RADIO_2056_SYN_LOGEN_MIXER2,4,4
	.comm	RADIO_2056_SYN_LOGEN_BUF4,4,4
	.comm	RADIO_2056_SYN_LOGEN_BUF3,4,4
	.comm	RADIO_2056_SYN,4,4
	.comm	RADIO_2056_RX_LNAG_TUNE,4,4
	.comm	RADIO_2056_RX_LNAA_TUNE,4,4
	.comm	RADIO_2056_RX1,4,4
	.comm	RADIO_2056_RX0,4,4
	.comm	RADIO_2056,4,4
	.comm	PGAG_BOOST_TUNE,4,4
	.comm	PGAA_BOOST_TUNE,4,4
	.comm	PA_SPARE2,4,4
	.comm	PA_SPARE1,4,4
	.comm	PADG_IDAC,4,4
	.comm	PADG_BOOST_TUNE,4,4
	.comm	PADA_CASCBIAS,4,4
	.comm	PADA_BOOST_TUNE,4,4
	.comm	MIXG_BOOST_TUNE,4,4
	.comm	MIXA_BOOST_TUNE,4,4
	.comm	INTPAG_IMAIN_STAT,4,4
	.comm	INTPAG_IAUX_STAT,4,4
	.comm	INTPAG_CASCBIAS,4,4
	.comm	INTPAG_BOOST_TUNE,4,4
	.comm	INTPAA_IMAIN_STAT,4,4
	.comm	INTPAA_IAUX_STAT,4,4
	.comm	INTPAA_CASCBIAS,4,4
	.comm	INTPAA_BOOST_TUNE,4,4
	.comm	BFL2_GPLL_WAR2,4,4
	.comm	BFL2_GPLL_WAR,4,4
	.comm	BFL2_APLL_WAR,4,4
	.comm	BCMA_PKG_ID_BCM43224_FAB_SMIC,8,8
	.comm	BCMA_CHIP_ID_BCM47162,8,8
	.comm	BCMA_CHIP_ID_BCM4716,8,8
	.comm	BCMA_CHIP_ID_BCM43225,8,8
	.comm	BCMA_CHIP_ID_BCM43224,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_phy_n.c_wlc_phy_chanspec_radio2056_setup.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wlc_phy_chanspec_radio2056_setup, %function
wlc_phy_chanspec_radio2056_setup:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r1
	mov	r4, r0
	ldr	r6, .L82
	ldr	r3, .L82+4
	sub	sp, sp, #28
	ldr	r1, [r3]
	ldr	r3, [r6]
	ldr	r2, [r5]
	orr	r1, r1, r3
	bl	write_radio_reg
	ldr	r2, .L82+8
	ldr	r3, [r6]
	ldr	r1, [r2]
	mov	r0, r4
	orr	r1, r1, r3
	ldr	r2, [r5, #4]
	bl	write_radio_reg
	ldr	r2, .L82+12
	ldr	r3, [r6]
	ldr	r1, [r2]
	mov	r0, r4
	orr	r1, r1, r3
	ldr	r2, [r5, #8]
	bl	write_radio_reg
	ldr	r2, .L82+16
	ldr	r3, [r6]
	ldr	r1, [r2]
	mov	r0, r4
	orr	r1, r1, r3
	ldr	r2, [r5, #12]
	bl	write_radio_reg
	ldr	r2, .L82+20
	ldr	r3, [r6]
	ldr	r1, [r2]
	mov	r0, r4
	orr	r1, r1, r3
	ldr	r2, [r5, #16]
	bl	write_radio_reg
	ldr	r2, .L82+24
	ldr	r3, [r6]
	ldr	r1, [r2]
	mov	r0, r4
	orr	r1, r1, r3
	ldr	r2, [r5, #20]
	bl	write_radio_reg
	ldr	r2, .L82+28
	ldr	r3, [r6]
	ldr	r1, [r2]
	mov	r0, r4
	orr	r1, r1, r3
	ldr	r2, [r5, #24]
	bl	write_radio_reg
	ldr	r2, .L82+32
	ldr	r3, [r6]
	ldr	r1, [r2]
	mov	r0, r4
	orr	r1, r1, r3
	ldr	r2, [r5, #28]
	bl	write_radio_reg
	ldr	r2, .L82+36
	ldr	r3, [r6]
	ldr	r1, [r2]
	mov	r0, r4
	orr	r1, r1, r3
	ldr	r2, [r5, #32]
	bl	write_radio_reg
	ldr	r2, .L82+40
	ldr	r3, [r6]
	ldr	r1, [r2]
	mov	r0, r4
	orr	r1, r1, r3
	ldr	r2, [r5, #36]
	bl	write_radio_reg
	ldr	r2, .L82+44
	ldr	r3, [r6]
	ldr	r1, [r2]
	mov	r0, r4
	orr	r1, r1, r3
	ldr	r2, [r5, #40]
	bl	write_radio_reg
	ldr	r2, .L82+48
	ldr	r3, [r6]
	ldr	r1, [r2]
	mov	r0, r4
	orr	r1, r1, r3
	ldr	r2, [r5, #44]
	bl	write_radio_reg
	ldr	r2, .L82+52
	ldr	r3, [r6]
	ldr	r1, [r2]
	mov	r0, r4
	orr	r1, r1, r3
	ldr	r2, [r5, #48]
	bl	write_radio_reg
	ldr	r2, .L82+56
	ldr	r3, [r6]
	ldr	r1, [r2]
	mov	r0, r4
	orr	r1, r1, r3
	ldr	r2, [r5, #52]
	bl	write_radio_reg
	ldr	r2, .L82+60
	ldr	r3, [r6]
	ldr	r1, [r2]
	mov	r0, r4
	orr	r1, r1, r3
	ldr	r2, [r5, #56]
	bl	write_radio_reg
	ldr	r2, .L82+64
	ldr	r3, [r6]
	ldr	r1, [r2]
	mov	r0, r4
	orr	r1, r1, r3
	ldr	r2, [r5, #60]
	bl	write_radio_reg
	ldr	r3, .L82+68
	ldr	r1, [r6]
	ldr	ip, [r3]
	ldr	r2, [r5, #64]
	orr	r1, ip, r1
	mov	r0, r4
	bl	write_radio_reg
	ldr	r7, .L82+72
	ldr	r3, .L82+76
	ldr	r1, [r7]
	ldr	ip, [r3]
	ldr	fp, .L82+80
	orr	r1, ip, r1
	ldr	r2, [r5, #68]
	mov	r0, r4
	bl	write_radio_reg
	ldr	r2, [r7]
	ldr	r1, [fp]
	mov	r0, r4
	orr	r1, r1, r2
	ldr	r2, [r5, #72]
	ldr	r7, .L82+84
	bl	write_radio_reg
	ldr	r3, .L82+88
	ldr	r1, [r7]
	ldr	ip, [r3]
	ldr	r2, [r5, #76]
	orr	r1, ip, r1
	mov	r0, r4
	bl	write_radio_reg
	ldr	r2, .L82+92
	ldr	r1, [r7]
	ldr	ip, [r2]
	mov	r0, r4
	orr	r1, ip, r1
	ldr	r2, [r5, #80]
	bl	write_radio_reg
	ldr	r0, .L82+96
	ldr	r1, [r7]
	ldr	ip, [r0]
	ldr	r2, [r5, #84]
	orr	r1, ip, r1
	mov	r0, r4
	bl	write_radio_reg
	ldr	ip, .L82+100
	ldr	r1, [r7]
	ldr	ip, [ip]
	ldr	r2, [r5, #88]
	orr	r1, ip, r1
	mov	r0, r4
	bl	write_radio_reg
	ldr	lr, .L82+104
	ldr	r1, [r7]
	ldr	ip, [lr]
	ldr	r10, .L82+108
	orr	r1, ip, r1
	ldr	r2, [r5, #92]
	mov	r0, r4
	bl	write_radio_reg
	ldr	r1, [r7]
	ldr	ip, [r10]
	ldr	r9, .L82+112
	orr	r1, ip, r1
	ldr	r2, [r5, #96]
	mov	r0, r4
	bl	write_radio_reg
	ldr	ip, [r9]
	ldr	r1, [r7]
	ldr	r8, .L82+116
	orr	r1, ip, r1
	ldr	r2, [r5, #100]
	mov	r0, r4
	bl	write_radio_reg
	ldr	r2, [r7]
	ldr	r1, [r8]
	mov	r0, r4
	orr	r1, r1, r2
	ldr	r2, [r5, #104]
	bl	write_radio_reg
	ldr	r7, .L82+120
	ldr	r3, .L82+76
	ldr	r2, [r5, #108]
	ldr	r1, [r3]
	ldr	r3, [r7]
	mov	r0, r4
	orr	r1, r1, r3
	bl	write_radio_reg
	ldr	r3, [r7]
	ldr	r1, [fp]
	ldr	r2, [r5, #112]
	orr	r1, r1, r3
	mov	r0, r4
	bl	write_radio_reg
	ldr	r7, .L82+124
	ldr	r3, .L82+88
	ldr	r2, [r5, #116]
	ldr	r1, [r3]
	ldr	r3, [r7]
	mov	r0, r4
	orr	r1, r1, r3
	bl	write_radio_reg
	ldr	r2, .L82+92
	ldr	r3, [r7]
	ldr	r1, [r2]
	mov	r0, r4
	orr	r1, r1, r3
	ldr	r2, [r5, #120]
	bl	write_radio_reg
	ldr	r0, .L82+96
	ldr	r3, [r7]
	ldr	r1, [r0]
	ldr	r2, [r5, #124]
	orr	r1, r1, r3
	mov	r0, r4
	bl	write_radio_reg
	ldr	ip, .L82+100
	ldr	r3, [r7]
	ldr	r1, [ip]
	ldr	r2, [r5, #128]
	orr	r1, r1, r3
	mov	r0, r4
	bl	write_radio_reg
	ldr	lr, .L82+104
	ldr	r3, [r7]
	ldr	r1, [lr]
	ldr	r2, [r5, #132]
	orr	r1, r1, r3
	mov	r0, r4
	bl	write_radio_reg
	ldr	r3, [r7]
	ldr	r1, [r10]
	ldr	r2, [r5, #136]
	orr	r1, r1, r3
	mov	r0, r4
	bl	write_radio_reg
	ldr	r3, [r7]
	ldr	r1, [r9]
	ldr	r2, [r5, #140]
	orr	r1, r1, r3
	mov	r0, r4
	bl	write_radio_reg
	ldr	r3, [r7]
	ldr	r1, [r8]
	ldr	r2, [r5, #144]
	orr	r1, r1, r3
	mov	r0, r4
	bl	write_radio_reg
	mov	r1, #3
	ldr	r0, [r4, #20]
	bl	NREV_IS
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L82+128
	ldr	r7, [r3]
.L3:
	ldr	r0, [r4, #24]
	bl	CHSPEC_IS2G
	ldr	r5, .L82+132
	ldr	r3, [r6]
	ldr	r1, [r5]
	cmp	r0, #0
	ldrne	r2, [r7, #572]
	ldreq	r2, [r7, #568]
	orr	r1, r1, r3
	mov	r0, r4
	bl	write_radio_reg
	ldr	r3, [r4, #8]
	ldr	r2, .L82+136
	ldr	r3, [r3]
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L76
.L13:
	ldr	r2, .L82+140
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L77
.L18:
	ldr	r2, .L82+144
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L78
.L21:
	mov	r0, r4
	bl	PHY_IPA
	cmp	r0, #0
	bne	.L23
.L26:
	mov	r0, r4
	bl	PHY_IPA
	cmp	r0, #0
	bne	.L79
.L25:
	mov	r0, #50
	bl	udelay
	mov	r0, r4
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	wlc_phy_radio205x_vcocal_nphy
.L2:
	mov	r1, #4
	ldr	r0, [r4, #20]
	bl	NREV_IS
	cmp	r0, #0
	beq	.L4
	ldr	r3, .L82+148
	ldr	r7, [r3]
	b	.L3
.L79:
	mov	r1, #6
	ldr	r0, [r4, #20]
	bl	NREV_IS
	cmp	r0, #0
	beq	.L25
	ldr	r0, [r4, #24]
	bl	CHSPEC_IS5G
	cmp	r0, #0
	beq	.L25
	ldr	r0, [r4, #24]
	bl	CHSPEC_CHANNEL
	bl	CHAN5G_FREQ
	ldr	r3, .L82+152
	cmp	r0, r3
	ble	.L44
	add	r3, r3, #190
	cmp	r0, r3
	ble	.L45
	ldr	r3, .L82+156
	cmp	r0, r3
	ble	.L46
	add	r3, r3, #176
	cmp	r0, r3
	beq	.L47
	ldr	r3, .L82+160
	rsb	r0, r0, #18
	smull	r2, r3, r0, r3
	asr	r0, r0, #31
	rsb	r3, r0, r3, asr #3
	add	r3, r3, #168
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
.L33:
	ldr	r3, [r4, #16]
	cmp	r3, #0
	ble	.L25
	mov	r9, #0
	ldr	r6, .L82+164
	ldr	r5, .L82+168
	ldr	fp, .L82+172
	ldr	r10, .L82+176
	b	.L37
.L80:
	ldr	r3, .L82+180
	ldr	r0, [r3]
	cmp	r2, r0
	beq	.L34
.L35:
	ldr	r7, [r4, #4]
	ldr	r3, .L82+184
	cmp	r7, #0
	moveq	r7, #48
	ldr	r2, [r3]
	mov	r0, r4
	stm	sp, {r2, r7}
	mov	r3, r9
	ldr	r2, [r6]
	ldr	r1, [r5]
	bl	WRITE_RADIO_REG2
	ldr	r3, .L82+188
	mov	r0, r4
	ldr	r2, [r3]
	mov	r3, r9
	stm	sp, {r2, r7}
	ldr	r2, [r6]
	ldr	r1, [r5]
	bl	WRITE_RADIO_REG2
	ldr	r3, .L82+192
	mov	r0, r4
	ldr	r2, [r3]
	mov	r3, r9
	stm	sp, {r2, r8}
	ldr	r2, [r6]
	ldr	r1, [r5]
	bl	WRITE_RADIO_REG2
	ldr	r2, [r4, #16]
	add	r9, r9, #1
	cmp	r2, r9
	ble	.L25
.L37:
	ldr	r2, [r10]
	ldr	r3, [sp, #8]
	mov	r0, r4
	stm	sp, {r2, r3}
	mov	r3, r9
	ldr	r2, [r6]
	ldr	r1, [r5]
	bl	WRITE_RADIO_REG2
	ldr	r3, .L82+196
	mov	r0, r4
	ldr	r2, [r3]
	mov	r3, #119
	stm	sp, {r2, r3}
	mov	r3, r9
	ldr	r2, [r6]
	ldr	r1, [r5]
	bl	WRITE_RADIO_REG2
	ldr	r3, .L82+200
	mov	r0, r4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	mov	r8, #48
	stm	sp, {r2, r3}
	mov	r3, r9
	ldr	r2, [r6]
	ldr	r1, [r5]
	bl	WRITE_RADIO_REG2
	mov	r1, #15
	ldr	r3, .L82+204
	mov	r0, r4
	ldr	r2, [r3]
	str	r1, [sp, #4]
	str	r2, [sp]
	mov	r3, r9
	ldr	r2, [r6]
	ldr	r1, [r5]
	bl	WRITE_RADIO_REG2
	ldr	r3, .L82+208
	mov	r0, r4
	ldr	r2, [r3]
	mov	r3, r9
	stm	sp, {r2, r8}
	ldr	r2, [r6]
	ldr	r1, [r5]
	bl	WRITE_RADIO_REG2
	mov	r1, #238
	ldr	r3, .L82+212
	mov	r0, r4
	ldr	r2, [r3]
	str	r1, [sp, #4]
	str	r2, [sp]
	mov	r3, r9
	ldr	r2, [r6]
	ldr	r1, [r5]
	bl	WRITE_RADIO_REG2
	mov	r1, #3
	ldr	r3, .L82+216
	mov	r0, r4
	ldr	r2, [r3]
	str	r1, [sp, #4]
	str	r2, [sp]
	ldr	r2, [r6]
	ldr	r1, [r5]
	mov	r3, r9
	bl	WRITE_RADIO_REG2
	ldr	r1, [r4, #8]
	ldr	r0, [fp]
	ldr	r2, [r1, #4]
	cmp	r2, r0
	bne	.L80
.L34:
	ldr	r3, .L82+220
	ldr	r8, [r1, #8]
	ldr	r2, [r3]
	cmp	r8, r2
	movne	r8, #48
	moveq	r8, #53
	b	.L35
.L23:
	ldr	r0, [r4, #24]
	bl	CHSPEC_IS2G
	cmp	r0, #0
	beq	.L26
	ldr	r3, [r4, #16]
	cmp	r3, #0
	ble	.L26
	mov	r8, #0
	ldr	r6, .L82+164
	ldr	r5, .L82+168
	ldr	fp, .L82+224
	ldr	r10, .L82+228
	ldr	r9, .L82+232
	b	.L32
.L27:
	ldr	r3, .L82+236
	ldr	r7, [r4]
	ldr	r1, [r3]
	ldr	r3, .L82+240
	cmp	r7, r1
	moveq	r7, #64
	movne	r7, #32
	ldr	r2, [r3]
	mov	r0, r4
	stm	sp, {r2, r7}
	mov	r3, r8
	ldr	r2, [r6]
	ldr	r1, [r5]
	bl	WRITE_RADIO_REG2
	ldr	r2, [fp]
	mov	r3, r8
	stm	sp, {r2, r7}
	mov	r0, r4
	ldr	r2, [r6]
	ldr	r1, [r5]
	bl	WRITE_RADIO_REG2
	mov	r1, #48
	ldr	r2, [r10]
	str	r1, [sp, #4]
	str	r2, [sp]
	mov	r3, r8
	mov	r0, r4
	ldr	r2, [r6]
	ldr	r1, [r5]
	bl	WRITE_RADIO_REG2
.L30:
	mov	r1, #238
	ldr	r2, [r9]
	str	r1, [sp, #4]
	str	r2, [sp]
	mov	r3, r8
	ldr	r2, [r6]
	mov	r0, r4
	ldr	r1, [r5]
	bl	WRITE_RADIO_REG2
	ldr	r2, [r4, #16]
	add	r8, r8, #1
	cmp	r2, r8
	ble	.L26
.L32:
	mov	r1, #5
	ldr	r0, [r4, #20]
	bl	NREV_GE
	cmp	r0, #0
	beq	.L27
	mov	r1, #204
	ldr	r3, .L82+244
	mov	r0, r4
	ldr	r2, [r3]
	str	r1, [sp, #4]
	str	r2, [sp]
	mov	r3, r8
	ldr	r2, [r6]
	ldr	r1, [r5]
	bl	WRITE_RADIO_REG2
	ldr	r1, [r4, #8]
	ldr	r3, .L82+248
	ldr	r2, [r1, #4]
	ldr	r0, [r3]
	cmp	r2, r0
	beq	.L40
	ldr	r0, .L82+252
	ldr	r0, [r0]
	cmp	r2, r0
	beq	.L40
	ldr	r0, .L82+172
	ldr	r0, [r0]
	cmp	r2, r0
	beq	.L29
	ldr	r0, .L82+180
	ldr	r0, [r0]
	cmp	r2, r0
	beq	.L29
	mov	r3, #32
	str	r3, [sp, #20]
	mov	r3, #101
	str	r3, [sp, #16]
	mov	r3, #3
	str	r3, [sp, #12]
	mov	r3, #4
	mov	r7, #37
	str	r3, [sp, #8]
.L28:
	ldr	r3, .L82+240
	mov	r0, r4
	ldr	r2, [r3]
	mov	r3, r8
	stm	sp, {r2, r7}
	ldr	r2, [r6]
	ldr	r1, [r5]
	bl	WRITE_RADIO_REG2
	ldr	r2, [fp]
	mov	r3, r8
	stm	sp, {r2, r7}
	mov	r0, r4
	ldr	r2, [r6]
	ldr	r1, [r5]
	bl	WRITE_RADIO_REG2
	ldr	r2, [r10]
	ldr	r3, [sp, #20]
	mov	r0, r4
	stm	sp, {r2, r3}
	mov	r3, r8
	ldr	r2, [r6]
	ldr	r1, [r5]
	bl	WRITE_RADIO_REG2
	ldr	r3, .L82+256
	mov	r0, r4
	ldr	r2, [r3]
	ldr	r3, [sp, #8]
	stm	sp, {r2, r3}
	mov	r3, r8
	ldr	r2, [r6]
	ldr	r1, [r5]
	bl	WRITE_RADIO_REG2
	ldr	r3, .L82+260
	mov	r0, r4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	stm	sp, {r2, r3}
	mov	r3, r8
	ldr	r2, [r6]
	ldr	r1, [r5]
	bl	WRITE_RADIO_REG2
	mov	r1, #119
	ldr	r3, .L82+264
	mov	r0, r4
	ldr	r2, [r3]
	str	r1, [sp, #4]
	str	r2, [sp]
	mov	r3, r8
	ldr	r2, [r6]
	ldr	r1, [r5]
	bl	WRITE_RADIO_REG2
	ldr	r3, [sp, #16]
	ldr	r2, .L82+268
	str	r3, [sp, #4]
	ldr	r2, [r2]
	mov	r3, r8
	str	r2, [sp]
	mov	r0, r4
	ldr	r2, [r6]
	ldr	r1, [r5]
	bl	WRITE_RADIO_REG2
	b	.L30
.L78:
	ldr	r0, [r4, #24]
	bl	CHSPEC_IS5G
	cmp	r0, #0
	beq	.L21
	ldr	r3, .L82+24
	mov	r2, #31
	ldr	r1, [r3]
	ldr	r3, [r6]
	mov	r0, r4
	orr	r1, r1, r3
	bl	write_radio_reg
	ldr	r3, .L82+28
	mov	r2, #31
	ldr	r1, [r3]
	ldr	r3, [r6]
	mov	r0, r4
	orr	r1, r1, r3
	bl	write_radio_reg
	ldr	r3, .L82+36
	mov	r2, #5
	ldr	r1, [r3]
	ldr	r3, [r6]
	mov	r0, r4
	orr	r1, r1, r3
	bl	write_radio_reg
	ldr	r1, [r5]
	ldr	r3, [r6]
	mov	r2, #12
	mov	r0, r4
	orr	r1, r1, r3
	bl	write_radio_reg
	b	.L21
.L77:
	ldr	r0, [r4, #24]
	bl	CHSPEC_IS2G
	cmp	r0, #0
	bne	.L19
.L74:
	ldr	r3, [r4, #8]
	ldr	r3, [r3]
	b	.L18
.L76:
	ldr	r0, [r4, #24]
	bl	CHSPEC_IS2G
	cmp	r0, #0
	bne	.L14
.L72:
	ldr	r3, [r4, #8]
	ldr	r3, [r3]
	b	.L13
.L4:
	ldr	r3, [r4, #12]
	sub	r3, r3, #5
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L38
.L6:
	.word	.L10
	.word	.L9
	.word	.L7
	.word	.L8
	.word	.L7
	.word	.L38
	.word	.L5
.L40:
	mov	r3, #69
	str	r3, [sp, #20]
	mov	r3, #85
	str	r3, [sp, #16]
	mov	r3, #51
	str	r3, [sp, #12]
	mov	r3, #5
	mov	r7, #64
	str	r3, [sp, #8]
	b	.L28
.L14:
	ldr	r3, .L82+24
	mov	r2, #31
	ldr	r1, [r3]
	ldr	r3, [r6]
	mov	r0, r4
	orr	r1, r1, r3
	bl	write_radio_reg
	ldr	r3, .L82+28
	mov	r2, #31
	ldr	r1, [r3]
	ldr	r3, [r6]
	mov	r0, r4
	orr	r1, r1, r3
	bl	write_radio_reg
	ldr	r3, [r4, #8]
	ldr	r2, .L82+248
	ldr	r3, [r3, #4]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L81
	ldr	r2, .L82+252
	ldr	r1, .L82+36
	ldr	r0, [r2]
	ldr	r1, [r1]
	ldr	r2, [r6]
	cmp	r3, r0
	orr	r1, r1, r2
	bne	.L17
.L16:
	mov	r2, #20
	mov	r0, r4
	bl	write_radio_reg
	mov	r2, #0
	ldr	r1, [r5]
	ldr	r3, [r6]
.L73:
	mov	r0, r4
	orr	r1, r1, r3
	bl	write_radio_reg
	b	.L72
.L19:
	ldr	r3, .L82+24
	mov	r2, #31
	ldr	r1, [r3]
	ldr	r3, [r6]
	mov	r0, r4
	orr	r1, r1, r3
	bl	write_radio_reg
	ldr	r3, .L82+28
	mov	r2, #31
	ldr	r1, [r3]
	ldr	r3, [r6]
	mov	r0, r4
	orr	r1, r1, r3
	bl	write_radio_reg
	ldr	r3, .L82+36
	mov	r2, #11
	ldr	r1, [r3]
	ldr	r3, [r6]
	mov	r0, r4
	orr	r1, r1, r3
	bl	write_radio_reg
	ldr	r1, [r5]
	ldr	r3, [r6]
	mov	r2, #32
	mov	r0, r4
	orr	r1, r1, r3
	bl	write_radio_reg
	b	.L74
.L29:
	mov	r3, #101
	ldr	r2, .L82+220
	ldr	r1, [r1, #8]
	ldr	r2, [r2]
	str	r3, [sp, #16]
	cmp	r1, r2
	movne	r3, #32
	moveq	r3, #56
	str	r3, [sp, #20]
	mov	r3, #3
	str	r3, [sp, #12]
	mov	r3, #4
	movne	r7, #37
	moveq	r7, #42
	str	r3, [sp, #8]
	b	.L28
.L7:
	ldr	r3, .L82+272
	ldr	r7, [r3]
	b	.L3
.L17:
	mov	r2, #11
	mov	r0, r4
	bl	write_radio_reg
	mov	r2, #20
	ldr	r1, [r5]
	ldr	r3, [r6]
	b	.L73
.L9:
	ldr	r3, .L82+276
	ldr	r7, [r3]
	b	.L3
.L10:
	ldr	r3, .L82+280
	ldr	r7, [r3]
	b	.L3
.L5:
	ldr	r3, .L82+284
	ldr	r7, [r3]
	b	.L3
.L8:
	ldr	r3, .L82+288
	ldr	r7, [r3]
	b	.L3
.L38:
	mov	r7, #0
	b	.L3
.L81:
	ldr	r3, .L82+36
	ldr	r1, [r3]
	ldr	r3, [r6]
	orr	r1, r1, r3
	b	.L16
.L44:
	mov	r3, #15
	str	r3, [sp, #12]
	mov	r3, #10
	str	r3, [sp, #8]
	b	.L33
.L45:
	mov	r3, #251
	str	r3, [sp, #12]
	mov	r3, #8
	str	r3, [sp, #8]
	b	.L33
.L46:
	mov	r3, #11
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	b	.L33
.L47:
	mov	r3, #6
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	b	.L33
.L83:
	.align	2
.L82:
	.word	RADIO_2056_SYN
	.word	RADIO_2056_SYN_PLL_VCOCAL1
	.word	RADIO_2056_SYN_PLL_VCOCAL2
	.word	RADIO_2056_SYN_PLL_REFDIV
	.word	RADIO_2056_SYN_PLL_MMD2
	.word	RADIO_2056_SYN_PLL_MMD1
	.word	RADIO_2056_SYN_PLL_LOOPFILTER1
	.word	RADIO_2056_SYN_PLL_LOOPFILTER2
	.word	RADIO_2056_SYN_PLL_LOOPFILTER3
	.word	RADIO_2056_SYN_PLL_LOOPFILTER4
	.word	RADIO_2056_SYN_PLL_LOOPFILTER5
	.word	RADIO_2056_SYN_RESERVED_ADDR27
	.word	RADIO_2056_SYN_RESERVED_ADDR28
	.word	RADIO_2056_SYN_RESERVED_ADDR29
	.word	RADIO_2056_SYN_LOGEN_VCOBUF1
	.word	RADIO_2056_SYN_LOGEN_MIXER2
	.word	RADIO_2056_SYN_LOGEN_BUF3
	.word	RADIO_2056_SYN_LOGEN_BUF4
	.word	RADIO_2056_RX0
	.word	RADIO_2056_RX_LNAA_TUNE
	.word	RADIO_2056_RX_LNAG_TUNE
	.word	RADIO_2056_TX0
	.word	RADIO_2056_TX_INTPAA_BOOST_TUNE
	.word	RADIO_2056_TX_INTPAG_BOOST_TUNE
	.word	RADIO_2056_TX_PADA_BOOST_TUNE
	.word	RADIO_2056_TX_PADG_BOOST_TUNE
	.word	RADIO_2056_TX_PGAA_BOOST_TUNE
	.word	RADIO_2056_TX_PGAG_BOOST_TUNE
	.word	RADIO_2056_TX_MIXA_BOOST_TUNE
	.word	RADIO_2056_TX_MIXG_BOOST_TUNE
	.word	RADIO_2056_RX1
	.word	RADIO_2056_TX1
	.word	regs_SYN_2056
	.word	RADIO_2056_SYN_PLL_CP2
	.word	BFL2_GPLL_WAR
	.word	BFL2_GPLL_WAR2
	.word	BFL2_APLL_WAR
	.word	regs_SYN_2056_A1
	.word	5149
	.word	5649
	.word	954437177
	.word	TX
	.word	RADIO_2056
	.word	BCMA_CHIP_ID_BCM43224
	.word	INTPAA_BOOST_TUNE
	.word	BCMA_CHIP_ID_BCM43225
	.word	INTPAA_IAUX_STAT
	.word	INTPAA_IMAIN_STAT
	.word	INTPAA_CASCBIAS
	.word	PADA_BOOST_TUNE
	.word	PGAA_BOOST_TUNE
	.word	MIXA_BOOST_TUNE
	.word	TXSPARE1
	.word	PA_SPARE2
	.word	PADA_CASCBIAS
	.word	BCMA_PKG_ID_BCM43224_FAB_SMIC
	.word	INTPAG_IAUX_STAT
	.word	INTPAG_CASCBIAS
	.word	PA_SPARE1
	.word	WL_CHANSPEC_BW_40
	.word	INTPAG_IMAIN_STAT
	.word	PADG_IDAC
	.word	BCMA_CHIP_ID_BCM4716
	.word	BCMA_CHIP_ID_BCM47162
	.word	INTPAG_BOOST_TUNE
	.word	PGAG_BOOST_TUNE
	.word	PADG_BOOST_TUNE
	.word	MIXG_BOOST_TUNE
	.word	regs_SYN_2056_rev7
	.word	regs_SYN_2056_rev6
	.word	regs_SYN_2056_rev5
	.word	regs_SYN_2056_rev11
	.word	regs_SYN_2056_rev8
	.size	wlc_phy_chanspec_radio2056_setup, .-wlc_phy_chanspec_radio2056_setup
	.comm	regs_SYN_2056_rev8,4,4
	.comm	regs_SYN_2056_rev7,4,4
	.comm	regs_SYN_2056_rev6,4,4
	.comm	regs_SYN_2056_rev5,4,4
	.comm	regs_SYN_2056_rev11,4,4
	.comm	regs_SYN_2056_A1,4,4
	.comm	regs_SYN_2056,4,4
	.comm	WL_CHANSPEC_BW_40,4,4
	.comm	TXSPARE1,4,4
	.comm	TX,4,4
	.comm	RADIO_2056_TX_PGAG_BOOST_TUNE,4,4
	.comm	RADIO_2056_TX_PGAA_BOOST_TUNE,4,4
	.comm	RADIO_2056_TX_PADG_BOOST_TUNE,4,4
	.comm	RADIO_2056_TX_PADA_BOOST_TUNE,4,4
	.comm	RADIO_2056_TX_MIXG_BOOST_TUNE,4,4
	.comm	RADIO_2056_TX_MIXA_BOOST_TUNE,4,4
	.comm	RADIO_2056_TX_INTPAG_BOOST_TUNE,4,4
	.comm	RADIO_2056_TX_INTPAA_BOOST_TUNE,4,4
	.comm	RADIO_2056_TX1,4,4
	.comm	RADIO_2056_TX0,4,4
	.comm	RADIO_2056_SYN_RESERVED_ADDR29,4,4
	.comm	RADIO_2056_SYN_RESERVED_ADDR28,4,4
	.comm	RADIO_2056_SYN_RESERVED_ADDR27,4,4
	.comm	RADIO_2056_SYN_PLL_VCOCAL2,4,4
	.comm	RADIO_2056_SYN_PLL_VCOCAL1,4,4
	.comm	RADIO_2056_SYN_PLL_REFDIV,4,4
	.comm	RADIO_2056_SYN_PLL_MMD2,4,4
	.comm	RADIO_2056_SYN_PLL_MMD1,4,4
	.comm	RADIO_2056_SYN_PLL_LOOPFILTER5,4,4
	.comm	RADIO_2056_SYN_PLL_LOOPFILTER4,4,4
	.comm	RADIO_2056_SYN_PLL_LOOPFILTER3,4,4
	.comm	RADIO_2056_SYN_PLL_LOOPFILTER2,4,4
	.comm	RADIO_2056_SYN_PLL_LOOPFILTER1,4,4
	.comm	RADIO_2056_SYN_PLL_CP2,4,4
	.comm	RADIO_2056_SYN_LOGEN_VCOBUF1,4,4
	.comm	RADIO_2056_SYN_LOGEN_MIXER2,4,4
	.comm	RADIO_2056_SYN_LOGEN_BUF4,4,4
	.comm	RADIO_2056_SYN_LOGEN_BUF3,4,4
	.comm	RADIO_2056_SYN,4,4
	.comm	RADIO_2056_RX_LNAG_TUNE,4,4
	.comm	RADIO_2056_RX_LNAA_TUNE,4,4
	.comm	RADIO_2056_RX1,4,4
	.comm	RADIO_2056_RX0,4,4
	.comm	RADIO_2056,4,4
	.comm	PGAG_BOOST_TUNE,4,4
	.comm	PGAA_BOOST_TUNE,4,4
	.comm	PA_SPARE2,4,4
	.comm	PA_SPARE1,4,4
	.comm	PADG_IDAC,4,4
	.comm	PADG_BOOST_TUNE,4,4
	.comm	PADA_CASCBIAS,4,4
	.comm	PADA_BOOST_TUNE,4,4
	.comm	MIXG_BOOST_TUNE,4,4
	.comm	MIXA_BOOST_TUNE,4,4
	.comm	INTPAG_IMAIN_STAT,4,4
	.comm	INTPAG_IAUX_STAT,4,4
	.comm	INTPAG_CASCBIAS,4,4
	.comm	INTPAG_BOOST_TUNE,4,4
	.comm	INTPAA_IMAIN_STAT,4,4
	.comm	INTPAA_IAUX_STAT,4,4
	.comm	INTPAA_CASCBIAS,4,4
	.comm	INTPAA_BOOST_TUNE,4,4
	.comm	BFL2_GPLL_WAR2,4,4
	.comm	BFL2_GPLL_WAR,4,4
	.comm	BFL2_APLL_WAR,4,4
	.comm	BCMA_PKG_ID_BCM43224_FAB_SMIC,4,4
	.comm	BCMA_CHIP_ID_BCM47162,4,4
	.comm	BCMA_CHIP_ID_BCM4716,4,4
	.comm	BCMA_CHIP_ID_BCM43225,4,4
	.comm	BCMA_CHIP_ID_BCM43224,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
