	.file	"extr_odm_RegConfig8723B.c_odm_ConfigRFReg_8723B.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	odm_ConfigRFReg_8723B
	.type	odm_ConfigRFReg_8723B, @function
odm_ConfigRFReg_8723B:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	esi, 254
	je	.L20
	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
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	cmp	esi, 4094
	je	.L24
	mov	ebp, ecx
	mov	r14d, r8d
	mov	ecx, DWORD PTR bRFRegOffsetMask[rip]
	mov	rbx, rdi
	mov	edi, DWORD PTR [rdi]
	mov	r8d, edx
	mov	r13d, edx
	mov	esi, ebp
	mov	edx, r14d
	call	PHY_SetRFReg@PLT
	mov	edi, 1
	call	udelay@PLT
	cmp	r12d, 182
	je	.L25
	cmp	r12d, 178
	je	.L26
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
	ret
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	add	rsp, 24
	.cfi_def_cfa_offset 56
	mov	edi, 50
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_restore 14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_restore 15
	.cfi_def_cfa_offset 8
	jmp	msleep@PLT
	.p2align 4,,10
	.p2align 3
.L20:
	mov	edi, 50
	jmp	msleep@PLT
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_def_cfa_offset 80
	.cfi_offset 3, -56
	.cfi_offset 6, -48
	.cfi_offset 12, -40
	.cfi_offset 13, -32
	.cfi_offset 14, -24
	.cfi_offset 15, -16
	mov	ecx, DWORD PTR bMaskDWord[rip]
	mov	edi, DWORD PTR [rbx]
	mov	edx, 178
	mov	esi, ebp
	mov	r15d, 1
	call	PHY_QueryRFReg@PLT
	mov	edi, 1
	mov	r12d, eax
	call	udelay@PLT
.L9:
	cmp	r12d, r13d
	je	.L1
	mov	ecx, DWORD PTR bRFRegOffsetMask[rip]
	mov	edi, DWORD PTR [rbx]
	mov	r8d, r13d
	mov	edx, r14d
	mov	esi, ebp
	call	PHY_SetRFReg@PLT
	mov	edi, 1
	call	udelay@PLT
	mov	ecx, DWORD PTR bRFRegOffsetMask[rip]
	mov	edi, DWORD PTR [rbx]
	mov	esi, ebp
	mov	r8d, 64519
	mov	edx, 24
	call	PHY_SetRFReg@PLT
	mov	edi, 1
	call	udelay@PLT
	mov	ecx, DWORD PTR bMaskDWord[rip]
	mov	edi, DWORD PTR [rbx]
	mov	esi, ebp
	mov	edx, 178
	call	PHY_QueryRFReg@PLT
	mov	edx, DWORD PTR ODM_DBG_TRACE[rip]
	mov	rcx, r15
	mov	rdi, rbx
	mov	esi, DWORD PTR ODM_COMP_INIT[rip]
	add	r15, 1
	mov	r12d, eax
	call	ODM_RT_TRACE@PLT
	cmp	r15, 7
	jne	.L9
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L25:
	mov	ecx, DWORD PTR bMaskDWord[rip]
	mov	edi, DWORD PTR [rbx]
	mov	edx, 182
	mov	esi, ebp
	mov	r15d, 1
	call	PHY_QueryRFReg@PLT
	mov	edi, 1
	mov	r12d, eax
	call	udelay@PLT
	mov	eax, r13d
	sar	eax, 8
	mov	DWORD PTR 12[rsp], eax
.L5:
	sar	r12d, 8
	cmp	r12d, DWORD PTR 12[rsp]
	je	.L1
	mov	ecx, DWORD PTR bRFRegOffsetMask[rip]
	mov	edi, DWORD PTR [rbx]
	mov	r8d, r13d
	mov	edx, r14d
	mov	esi, ebp
	call	PHY_SetRFReg@PLT
	mov	edi, 1
	call	udelay@PLT
	mov	ecx, DWORD PTR bMaskDWord[rip]
	mov	edi, DWORD PTR [rbx]
	mov	esi, ebp
	mov	edx, 182
	call	PHY_QueryRFReg@PLT
	mov	edx, DWORD PTR ODM_DBG_TRACE[rip]
	mov	rcx, r15
	mov	rdi, rbx
	mov	esi, DWORD PTR ODM_COMP_INIT[rip]
	add	r15, 1
	mov	r12d, eax
	call	ODM_RT_TRACE@PLT
	cmp	r15, 7
	jne	.L5
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	odm_ConfigRFReg_8723B, .-odm_ConfigRFReg_8723B
	.comm	bRFRegOffsetMask,4,4
	.comm	bMaskDWord,4,4
	.comm	ODM_DBG_TRACE,4,4
	.comm	ODM_COMP_INIT,4,4
	.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_odm_RegConfig8723B.c_odm_ConfigRFReg_8723B.c"
	.text
	.align	2
	.global	odm_ConfigRFReg_8723B
	.syntax unified
	.arm
	.fpu softvfp
	.type	odm_ConfigRFReg_8723B, %function
odm_ConfigRFReg_8723B:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r4, .L21
	sub	sp, sp, #20
	cmp	r1, r4
	cmpne	r1, #254
	ldr	r8, [sp, #56]
	moveq	r4, #1
	movne	r4, #0
	bne	.L2
	mov	r0, #50
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	msleep
.L2:
	mov	r6, r3
	mov	r10, r1
	ldr	r9, .L21+4
	str	r2, [sp]
	mov	r1, r6
	ldr	r3, [r9]
	mov	r5, r0
	mov	r7, r2
	ldr	r0, [r0]
	mov	r2, r8
	bl	PHY_SetRFReg
	mov	r0, #1
	bl	udelay
	cmp	r10, #182
	beq	.L19
	cmp	r10, #178
	beq	.L20
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	ldr	fp, .L21+8
	mov	r2, r10
	ldr	r3, [fp]
	mov	r1, r6
	ldr	r0, [r5]
	bl	PHY_QueryRFReg
	asr	r3, r7, #8
	mov	r10, r0
	mov	r0, #1
	str	r3, [sp, #12]
	bl	udelay
.L4:
	ldr	r3, [sp, #12]
	add	r4, r4, #1
	cmp	r3, r10, asr #8
	beq	.L1
	str	r7, [sp]
	mov	r2, r8
	mov	r1, r6
	ldr	r3, [r9]
	ldr	r0, [r5]
	bl	PHY_SetRFReg
	mov	r0, #1
	bl	udelay
	mov	r2, #182
	mov	r1, r6
	ldr	r3, [fp]
	ldr	r0, [r5]
	bl	PHY_QueryRFReg
	ldr	r2, .L21+12
	ldr	r1, .L21+16
	mov	r10, r0
	mov	r3, r4
	mov	r0, r5
	ldr	r2, [r2]
	ldr	r1, [r1]
	bl	ODM_RT_TRACE
	cmp	r4, #6
	bne	.L4
	b	.L1
.L20:
	ldr	fp, .L21+8
	mov	r2, r10
	mov	r1, r6
	ldr	r3, [fp]
	ldr	r0, [r5]
	bl	PHY_QueryRFReg
	mov	r10, r0
	mov	r0, #1
	bl	udelay
.L8:
	cmp	r10, r7
	add	r4, r4, #1
	beq	.L1
	str	r7, [sp]
	mov	r2, r8
	mov	r1, r6
	ldr	r3, [r9]
	ldr	r0, [r5]
	bl	PHY_SetRFReg
	mov	r0, #1
	bl	udelay
	ldr	r3, .L21+20
	mov	r2, #24
	str	r3, [sp]
	mov	r1, r6
	ldr	r3, [r9]
	ldr	r0, [r5]
	bl	PHY_SetRFReg
	mov	r0, #1
	bl	udelay
	mov	r2, #178
	mov	r1, r6
	ldr	r3, [fp]
	ldr	r0, [r5]
	bl	PHY_QueryRFReg
	ldr	r2, .L21+12
	ldr	r1, .L21+16
	mov	r10, r0
	mov	r3, r4
	mov	r0, r5
	ldr	r2, [r2]
	ldr	r1, [r1]
	bl	ODM_RT_TRACE
	cmp	r4, #6
	bne	.L8
	b	.L1
.L22:
	.align	2
.L21:
	.word	4094
	.word	bRFRegOffsetMask
	.word	bMaskDWord
	.word	ODM_DBG_TRACE
	.word	ODM_COMP_INIT
	.word	64519
	.size	odm_ConfigRFReg_8723B, .-odm_ConfigRFReg_8723B
	.comm	bRFRegOffsetMask,4,4
	.comm	bMaskDWord,4,4
	.comm	ODM_DBG_TRACE,4,4
	.comm	ODM_COMP_INIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
