	.file	"extr_phy_n.c_wlc_phy_rxcal_radio_cleanup_nphy.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	wlc_phy_rxcal_radio_cleanup_nphy, @function
wlc_phy_rxcal_radio_cleanup_nphy:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	mov	esi, 7
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR 12[rdi]
	call	NREV_GE@PLT
	test	rax, rax
	je	.L2
	cmp	QWORD PTR PHY_CORE_0[rip], rbx
	mov	edi, DWORD PTR 16[rbp]
	je	.L23
	call	CHSPEC_IS5G@PLT
	test	rax, rax
	mov	rax, QWORD PTR 0[rbp]
	mov	edx, DWORD PTR [rax]
	je	.L5
	mov	esi, DWORD PTR RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP[rip]
	mov	rdi, rbp
	call	write_radio_reg@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	esi, DWORD PTR RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN[rip]
	mov	rdi, rbp
	mov	edx, DWORD PTR 4[rax]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	write_radio_reg@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR 0[rbp]
	cmp	QWORD PTR PHY_CORE_0[rip], rbx
	mov	esi, DWORD PTR RADIO_2056_TX_RXIQCAL_TXMUX[rip]
	mov	edx, DWORD PTR [rax]
	je	.L24
	or	esi, DWORD PTR RADIO_2056_TX0[rip]
	mov	rdi, rbp
	call	write_radio_reg@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	esi, DWORD PTR RADIO_2056_RX_RXIQCAL_RXMUX[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_RX1[rip]
	mov	edx, DWORD PTR 4[rax]
	call	write_radio_reg@PLT
	cmp	DWORD PTR 8[rbp], 4
	jg	.L25
.L11:
	mov	edi, DWORD PTR 16[rbp]
	call	CHSPEC_IS5G@PLT
	mov	esi, DWORD PTR RADIO_2056_RX1[rip]
	test	rax, rax
	mov	rax, QWORD PTR 0[rbp]
	mov	edx, DWORD PTR 16[rax]
	je	.L12
.L20:
	cmp	DWORD PTR 8[rbp], 4
	jle	.L13
	or	esi, DWORD PTR RADIO_2056_RX_LNAA_MASTER[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	write_radio_reg@PLT
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	or	esi, DWORD PTR RADIO_2056_TX1[rip]
	mov	rdi, rbp
	call	write_radio_reg@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	esi, DWORD PTR RADIO_2056_RX_RXIQCAL_RXMUX[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_RX0[rip]
	mov	edx, DWORD PTR 4[rax]
	call	write_radio_reg@PLT
	cmp	DWORD PTR 8[rbp], 4
	jg	.L26
.L7:
	mov	edi, DWORD PTR 16[rbp]
	call	CHSPEC_IS5G@PLT
	mov	esi, DWORD PTR RADIO_2056_RX0[rip]
	test	rax, rax
	mov	rax, QWORD PTR 0[rbp]
	mov	edx, DWORD PTR 16[rax]
	jne	.L20
.L12:
	cmp	DWORD PTR 8[rbp], 4
	jle	.L14
	or	esi, DWORD PTR RADIO_2056_RX_LNAG_MASTER[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	write_radio_reg@PLT
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	call	CHSPEC_IS5G@PLT
	test	rax, rax
	mov	rax, QWORD PTR 0[rbp]
	mov	edx, DWORD PTR [rax]
	je	.L4
	mov	esi, DWORD PTR RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP[rip]
	mov	rdi, rbp
	call	write_radio_reg@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	esi, DWORD PTR RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN[rip]
	mov	edx, DWORD PTR 4[rax]
.L16:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	write_radio_reg@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	esi, DWORD PTR RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP[rip]
	mov	rdi, rbp
	call	write_radio_reg@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	esi, DWORD PTR RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN[rip]
	mov	rdi, rbp
	mov	edx, DWORD PTR 4[rax]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	write_radio_reg@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	or	esi, DWORD PTR RADIO_2056_RX_LNAA_TUNE[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	write_radio_reg@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	or	esi, DWORD PTR RADIO_2056_RX_LNAG_TUNE[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	write_radio_reg@PLT
	.p2align 4,,10
	.p2align 3
.L25:
	.cfi_restore_state
	mov	rax, QWORD PTR 0[rbp]
	mov	rdi, rbp
	mov	esi, DWORD PTR RADIO_2056_RX_RXSPARE2[rip]
	or	esi, DWORD PTR RADIO_2056_RX1[rip]
	mov	edx, DWORD PTR 8[rax]
	call	write_radio_reg@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	esi, DWORD PTR RADIO_2056_TX_TXSPARE2[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_TX0[rip]
	mov	edx, DWORD PTR 12[rax]
	call	write_radio_reg@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L4:
	mov	esi, DWORD PTR RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP[rip]
	mov	rdi, rbp
	call	write_radio_reg@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	esi, DWORD PTR RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN[rip]
	mov	edx, DWORD PTR 4[rax]
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L26:
	mov	rax, QWORD PTR 0[rbp]
	mov	rdi, rbp
	mov	esi, DWORD PTR RADIO_2056_RX_RXSPARE2[rip]
	or	esi, DWORD PTR RADIO_2056_RX0[rip]
	mov	edx, DWORD PTR 8[rax]
	call	write_radio_reg@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	esi, DWORD PTR RADIO_2056_TX_TXSPARE2[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR RADIO_2056_TX1[rip]
	mov	edx, DWORD PTR 12[rax]
	call	write_radio_reg@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	wlc_phy_rxcal_radio_cleanup_nphy, .-wlc_phy_rxcal_radio_cleanup_nphy
	.comm	RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP,4,4
	.comm	RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN,4,4
	.comm	RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP,4,4
	.comm	RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN,4,4
	.comm	RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP,4,4
	.comm	RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN,4,4
	.comm	RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP,4,4
	.comm	RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN,4,4
	.comm	RADIO_2056_TX_TXSPARE2,4,4
	.comm	RADIO_2056_TX_RXIQCAL_TXMUX,4,4
	.comm	RADIO_2056_TX1,4,4
	.comm	RADIO_2056_TX0,4,4
	.comm	RADIO_2056_RX_RXSPARE2,4,4
	.comm	RADIO_2056_RX_RXIQCAL_RXMUX,4,4
	.comm	RADIO_2056_RX_LNAG_TUNE,4,4
	.comm	RADIO_2056_RX_LNAG_MASTER,4,4
	.comm	RADIO_2056_RX_LNAA_TUNE,4,4
	.comm	RADIO_2056_RX_LNAA_MASTER,4,4
	.comm	RADIO_2056_RX1,4,4
	.comm	RADIO_2056_RX0,4,4
	.comm	PHY_CORE_0,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_rxcal_radio_cleanup_nphy.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wlc_phy_rxcal_radio_cleanup_nphy, %function
wlc_phy_rxcal_radio_cleanup_nphy:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [r0, #8]
	mov	r1, #7
	bl	NREV_GE
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L31
	ldr	r0, [r4, #12]
	ldr	r3, [r3]
	cmp	r3, r5
	beq	.L28
	bl	CHSPEC_IS5G
	cmp	r0, #0
	ldr	r2, [r4]
	beq	.L5
	ldr	r3, .L31+4
	ldr	r2, [r2]
	ldr	r1, [r3]
	mov	r0, r4
	bl	write_radio_reg
	ldr	r2, [r4]
	ldr	r3, .L31+8
	b	.L16
.L2:
	ldr	r2, .L31
	ldr	r3, .L31+12
	ldr	r1, [r2]
	ldr	r2, [r4]
	cmp	r1, r5
	ldr	r3, [r3]
	ldr	r2, [r2]
	beq	.L29
	ldr	r6, .L31+16
	mov	r0, r4
	ldr	r1, [r6]
	ldr	r5, .L31+20
	orr	r1, r3, r1
	bl	write_radio_reg
.L26:
	ldr	r3, .L31+24
	ldr	r2, [r5]
	ldr	r1, [r3]
	ldr	r3, [r4]
	orr	r1, r1, r2
	mov	r0, r4
	ldr	r2, [r3, #4]
	bl	write_radio_reg
	ldr	r3, [r4, #4]
	cmp	r3, #4
	bgt	.L30
.L11:
	ldr	r0, [r4, #12]
	bl	CHSPEC_IS5G
	cmp	r0, #0
	ldr	r2, [r4, #4]
	ldr	r3, [r4]
	beq	.L12
	cmp	r2, #4
	ldr	r1, [r5]
	ldr	r2, [r3, #16]
	ldrgt	r3, .L31+28
	ldrle	r3, .L31+32
.L17:
	ldr	r3, [r3]
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	orr	r1, r1, r3
	b	write_radio_reg
.L12:
	cmp	r2, #4
	ldr	r1, [r5]
	ldr	r2, [r3, #16]
	ldrgt	r3, .L31+36
	ldrle	r3, .L31+40
	b	.L17
.L28:
	bl	CHSPEC_IS5G
	cmp	r0, #0
	ldr	r2, [r4]
	beq	.L4
	ldr	r3, .L31+44
	ldr	r2, [r2]
	ldr	r1, [r3]
	mov	r0, r4
	bl	write_radio_reg
	ldr	r2, [r4]
	ldr	r3, .L31+48
.L16:
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r2, [r2, #4]
	ldr	r1, [r3]
	b	write_radio_reg
.L5:
	ldr	r3, .L31+52
	ldr	r2, [r2]
	ldr	r1, [r3]
	mov	r0, r4
	bl	write_radio_reg
	ldr	r2, [r4]
	ldr	r3, .L31+56
	b	.L16
.L29:
	ldr	r6, .L31+60
	mov	r0, r4
	ldr	r1, [r6]
	ldr	r5, .L31+64
	orr	r1, r3, r1
	bl	write_radio_reg
	b	.L26
.L30:
	ldr	r3, .L31+68
	ldr	r2, [r5]
	ldr	r1, [r3]
	ldr	r3, [r4]
	orr	r1, r1, r2
	mov	r0, r4
	ldr	r2, [r3, #8]
	bl	write_radio_reg
	ldr	r3, .L31+72
	ldr	r2, [r6]
	ldr	r1, [r3]
	ldr	r3, [r4]
	orr	r1, r1, r2
	mov	r0, r4
	ldr	r2, [r3, #12]
	bl	write_radio_reg
	b	.L11
.L4:
	ldr	r3, .L31+76
	ldr	r2, [r2]
	ldr	r1, [r3]
	mov	r0, r4
	bl	write_radio_reg
	ldr	r2, [r4]
	ldr	r3, .L31+80
	b	.L16
.L32:
	.align	2
.L31:
	.word	PHY_CORE_0
	.word	RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP
	.word	RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN
	.word	RADIO_2056_TX_RXIQCAL_TXMUX
	.word	RADIO_2056_TX0
	.word	RADIO_2056_RX1
	.word	RADIO_2056_RX_RXIQCAL_RXMUX
	.word	RADIO_2056_RX_LNAA_MASTER
	.word	RADIO_2056_RX_LNAA_TUNE
	.word	RADIO_2056_RX_LNAG_MASTER
	.word	RADIO_2056_RX_LNAG_TUNE
	.word	RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP
	.word	RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN
	.word	RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP
	.word	RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN
	.word	RADIO_2056_TX1
	.word	RADIO_2056_RX0
	.word	RADIO_2056_RX_RXSPARE2
	.word	RADIO_2056_TX_TXSPARE2
	.word	RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP
	.word	RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN
	.size	wlc_phy_rxcal_radio_cleanup_nphy, .-wlc_phy_rxcal_radio_cleanup_nphy
	.comm	RADIO_2057_TX1_TXRXCOUPLE_5G_PWRUP,4,4
	.comm	RADIO_2057_TX1_TXRXCOUPLE_5G_ATTEN,4,4
	.comm	RADIO_2057_TX1_TXRXCOUPLE_2G_PWRUP,4,4
	.comm	RADIO_2057_TX1_TXRXCOUPLE_2G_ATTEN,4,4
	.comm	RADIO_2057_TX0_TXRXCOUPLE_5G_PWRUP,4,4
	.comm	RADIO_2057_TX0_TXRXCOUPLE_5G_ATTEN,4,4
	.comm	RADIO_2057_TX0_TXRXCOUPLE_2G_PWRUP,4,4
	.comm	RADIO_2057_TX0_TXRXCOUPLE_2G_ATTEN,4,4
	.comm	RADIO_2056_TX_TXSPARE2,4,4
	.comm	RADIO_2056_TX_RXIQCAL_TXMUX,4,4
	.comm	RADIO_2056_TX1,4,4
	.comm	RADIO_2056_TX0,4,4
	.comm	RADIO_2056_RX_RXSPARE2,4,4
	.comm	RADIO_2056_RX_RXIQCAL_RXMUX,4,4
	.comm	RADIO_2056_RX_LNAG_TUNE,4,4
	.comm	RADIO_2056_RX_LNAG_MASTER,4,4
	.comm	RADIO_2056_RX_LNAA_TUNE,4,4
	.comm	RADIO_2056_RX_LNAA_MASTER,4,4
	.comm	RADIO_2056_RX1,4,4
	.comm	RADIO_2056_RX0,4,4
	.comm	PHY_CORE_0,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
