	.file	"extr_rtl8712_efuse.c_efuse_reg_ctrl.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	efuse_reg_ctrl, @function
efuse_reg_ctrl:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR EFUSE_TEST[rip]
	mov	r8d, esi
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	lea	rsi, 3[rax]
	test	r8d, r8d
	je	.L2
	call	r8712_read8@PLT
	mov	rdi, rbp
	or	al, -128
	mov	edx, eax
	mov	rax, QWORD PTR EFUSE_TEST[rip]
	lea	rsi, 3[rax]
	call	r8712_write8@PLT
	mov	edi, 20
	call	msleep@PLT
	mov	rsi, QWORD PTR EFUSE_CLK_CTRL[rip]
	mov	rdi, rbp
	mov	edx, 3
	call	r8712_write8@PLT
	mov	edi, 20
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	msleep@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	call	r8712_read8@PLT
	mov	rdi, rbp
	and	eax, 127
	mov	edx, eax
	mov	rax, QWORD PTR EFUSE_TEST[rip]
	lea	rsi, 3[rax]
	call	r8712_write8@PLT
	mov	rsi, QWORD PTR EFUSE_CLK_CTRL[rip]
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 8
	mov	edx, 2
	jmp	r8712_write8@PLT
	.cfi_endproc
.LFE0:
	.size	efuse_reg_ctrl, .-efuse_reg_ctrl
	.comm	EFUSE_TEST,8,8
	.comm	EFUSE_CLK_CTRL,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_rtl8712_efuse.c_efuse_reg_ctrl.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	efuse_reg_ctrl, %function
efuse_reg_ctrl:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L5
	cmp	r1, #0
	ldr	r1, [r5]
	mov	r4, r0
	add	r1, r1, #3
	beq	.L2
	bl	r8712_read8
	ldr	r1, [r5]
	orr	r2, r0, #128
	add	r1, r1, #3
	mov	r0, r4
	bl	r8712_write8
	mov	r0, #20
	bl	msleep
	ldr	r3, .L5+4
	mov	r0, r4
	mov	r2, #3
	ldr	r1, [r3]
	bl	r8712_write8
	pop	{r4, r5, r6, lr}
	mov	r0, #20
	b	msleep
.L2:
	bl	r8712_read8
	ldr	r1, [r5]
	and	r2, r0, #127
	add	r1, r1, #3
	mov	r0, r4
	bl	r8712_write8
	ldr	r3, .L5+4
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	mov	r2, #2
	ldr	r1, [r3]
	b	r8712_write8
.L6:
	.align	2
.L5:
	.word	EFUSE_TEST
	.word	EFUSE_CLK_CTRL
	.size	efuse_reg_ctrl, .-efuse_reg_ctrl
	.comm	EFUSE_TEST,4,4
	.comm	EFUSE_CLK_CTRL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
