	.file	"extr_phy.c__rtl92cu_phy_config_bb_with_headerfile.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"The phy_regarray_table[0] is %x Rtl819XPHY_REGARRAY[1] is %x\n"
	.align 8
.LC1:
	.string	"The agctab_array_table[0] is %x Rtl819XPHY_REGARRAY[1] is %x\n"
	.text
	.p2align 4
	.globl	_rtl92cu_phy_config_bb_with_headerfile
	.type	_rtl92cu_phy_config_bb_with_headerfile, @function
_rtl92cu_phy_config_bb_with_headerfile:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	rtl_priv@PLT
	mov	rdi, rbp
	mov	r12, rax
	call	rtl_priv@PLT
	mov	rdi, rax
	call	rtl_hal@PLT
	mov	edi, DWORD PTR [rax]
	call	IS_92C_SERIAL@PLT
	mov	rdx, QWORD PTR [r12]
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR AGCTAB_2T[rip]
	sal	rax, 4
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	rsi, QWORD PTR 8[rax]
	mov	rax, QWORD PTR PHY_REG_2T[rip]
	sal	rax, 4
	add	rdx, rax
	cmp	QWORD PTR BASEBAND_CONFIG_PHY_REG[rip], r13
	mov	eax, DWORD PTR [rdx]
	mov	rbx, QWORD PTR 8[rdx]
	je	.L12
.L4:
	cmp	QWORD PTR BASEBAND_CONFIG_AGC_TAB[rip], r13
	je	.L13
.L5:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR AGCTAB_1T[rip]
	sal	rax, 4
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	rsi, QWORD PTR 8[rax]
	mov	rax, QWORD PTR PHY_REG_1T[rip]
	sal	rax, 4
	add	rdx, rax
	cmp	QWORD PTR BASEBAND_CONFIG_PHY_REG[rip], r13
	mov	eax, DWORD PTR [rdx]
	mov	rbx, QWORD PTR 8[rdx]
	jne	.L4
.L12:
	test	eax, eax
	jle	.L5
	sub	eax, 1
	lea	r13, .LC0[rip]
	shr	eax
	lea	r14, 8[rbx+rax*8]
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edi, DWORD PTR [rbx]
	add	rbx, 8
	call	rtl_addr_delay@PLT
	mov	ecx, DWORD PTR -4[rbx]
	mov	esi, DWORD PTR -8[rbx]
	mov	rdi, rbp
	mov	edx, DWORD PTR MASKDWORD[rip]
	call	rtl_set_bbreg@PLT
	mov	edi, 1
	call	udelay@PLT
	mov	r9d, DWORD PTR -4[rbx]
	mov	r8d, DWORD PTR -8[rbx]
	mov	rcx, r13
	mov	edx, DWORD PTR DBG_TRACE[rip]
	mov	esi, DWORD PTR COMP_INIT[rip]
	mov	rdi, r12
	call	RT_TRACE@PLT
	cmp	rbx, r14
	jne	.L6
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	test	ecx, ecx
	jle	.L5
	sub	ecx, 1
	mov	rbx, rsi
	lea	r13, .LC1[rip]
	shr	ecx
	lea	r14, 8[rsi+rcx*8]
	.p2align 4,,10
	.p2align 3
.L7:
	mov	ecx, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR [rbx]
	mov	rdi, rbp
	add	rbx, 8
	mov	edx, DWORD PTR MASKDWORD[rip]
	call	rtl_set_bbreg@PLT
	mov	edi, 1
	call	udelay@PLT
	mov	r9d, DWORD PTR -4[rbx]
	mov	r8d, DWORD PTR -8[rbx]
	mov	rcx, r13
	mov	edx, DWORD PTR DBG_TRACE[rip]
	mov	esi, DWORD PTR COMP_INIT[rip]
	mov	rdi, r12
	call	RT_TRACE@PLT
	cmp	rbx, r14
	jne	.L7
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	_rtl92cu_phy_config_bb_with_headerfile, .-_rtl92cu_phy_config_bb_with_headerfile
	.comm	PHY_REG_2T,8,8
	.comm	PHY_REG_1T,8,8
	.comm	MASKDWORD,4,4
	.comm	DBG_TRACE,4,4
	.comm	COMP_INIT,4,4
	.comm	BASEBAND_CONFIG_PHY_REG,8,8
	.comm	BASEBAND_CONFIG_AGC_TAB,8,8
	.comm	AGCTAB_2T,8,8
	.comm	AGCTAB_1T,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.c__rtl92cu_phy_config_bb_with_headerfile.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"The phy_regarray_table[0] is %x Rtl819XPHY_REGARRAY"
	.ascii	"[1] is %x\012\000"
	.align	2
.LC1:
	.ascii	"The agctab_array_table[0] is %x Rtl819XPHY_REGARRAY"
	.ascii	"[1] is %x\012\000"
	.text
	.align	2
	.global	_rtl92cu_phy_config_bb_with_headerfile
	.syntax unified
	.arm
	.fpu softvfp
	.type	_rtl92cu_phy_config_bb_with_headerfile, %function
_rtl92cu_phy_config_bb_with_headerfile:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #12
	mov	r7, r1
	mov	r5, r0
	bl	rtl_priv
	mov	r6, r0
	mov	r0, r5
	bl	rtl_priv
	bl	rtl_hal
	ldr	r0, [r0]
	bl	IS_92C_SERIAL
	cmp	r0, #0
	ldrne	r3, .L15
	ldreq	r3, .L15+4
	ldrne	r1, .L15+8
	ldreq	r1, .L15+12
	ldr	r2, [r3]
	ldr	r1, [r1]
	ldr	r3, [r6]
	add	ip, r3, r2, lsl #3
	add	r0, r3, r1, lsl #3
	ldr	r10, [r3, r2, lsl #3]
	ldr	r3, [r3, r1, lsl #3]
	ldr	r1, .L15+16
	ldr	r4, [ip, #4]
	ldr	r1, [r1]
	ldr	r2, [r0, #4]
	cmp	r1, r7
	beq	.L13
	ldr	r3, .L15+20
	ldr	r3, [r3]
	cmp	r3, r7
	beq	.L14
.L5:
	mov	r0, #1
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L14:
	cmp	r10, #0
	ble	.L5
	sub	r10, r10, #1
	lsr	r10, r10, #1
	add	r3, r4, #8
	ldr	r9, .L15+24
	ldr	r8, .L15+28
	ldr	r7, .L15+32
	ldr	fp, .L15+36
	add	r10, r3, r10, lsl #3
.L7:
	ldr	r3, [r4, #4]
	ldr	r2, [r9]
	ldr	r1, [r4]
	mov	r0, r5
	bl	rtl_set_bbreg
	mov	r0, #1
	bl	udelay
	ldr	r2, [r4, #4]
	mov	r3, fp
	str	r2, [sp, #4]
	ldr	r1, [r4], #8
	mov	r0, r6
	str	r1, [sp]
	ldr	r2, [r8]
	ldr	r1, [r7]
	bl	RT_TRACE
	cmp	r4, r10
	bne	.L7
	mov	r0, #1
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	cmp	r3, #0
	ble	.L5
	sub	r3, r3, #1
	lsr	r3, r3, #1
	add	r10, r2, #12
	ldr	r9, .L15+24
	ldr	r8, .L15+28
	ldr	r7, .L15+32
	ldr	fp, .L15+40
	add	r10, r10, r3, lsl #3
	add	r4, r2, #4
.L6:
	ldr	r0, [r4, #-4]
	bl	rtl_addr_delay
	ldr	r3, [r4]
	ldr	r1, [r4, #-4]
	ldr	r2, [r9]
	mov	r0, r5
	bl	rtl_set_bbreg
	mov	r0, #1
	bl	udelay
	ldr	r2, [r4]
	mov	r3, fp
	str	r2, [sp, #4]
	ldr	r1, [r4, #-4]
	mov	r0, r6
	str	r1, [sp]
	ldr	r2, [r8]
	ldr	r1, [r7]
	add	r4, r4, #8
	bl	RT_TRACE
	cmp	r4, r10
	bne	.L6
	mov	r0, #1
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	.align	2
.L15:
	.word	AGCTAB_2T
	.word	AGCTAB_1T
	.word	PHY_REG_2T
	.word	PHY_REG_1T
	.word	BASEBAND_CONFIG_PHY_REG
	.word	BASEBAND_CONFIG_AGC_TAB
	.word	MASKDWORD
	.word	DBG_TRACE
	.word	COMP_INIT
	.word	.LC1
	.word	.LC0
	.size	_rtl92cu_phy_config_bb_with_headerfile, .-_rtl92cu_phy_config_bb_with_headerfile
	.comm	PHY_REG_2T,4,4
	.comm	PHY_REG_1T,4,4
	.comm	MASKDWORD,4,4
	.comm	DBG_TRACE,4,4
	.comm	COMP_INIT,4,4
	.comm	BASEBAND_CONFIG_PHY_REG,4,4
	.comm	BASEBAND_CONFIG_AGC_TAB,4,4
	.comm	AGCTAB_2T,4,4
	.comm	AGCTAB_1T,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
