	.file	"extr_rtw8822c.c_rtw8822c_read_efuse.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rtw8822c_read_efuse, @function
rtw8822c_read_efuse:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	eax, DWORD PTR 40[rsi]
	mov	rdx, QWORD PTR 24[rsi]
	mov	DWORD PTR 40[rdi], eax
	mov	eax, DWORD PTR [rsi]
	mov	DWORD PTR [rdi], eax
	mov	eax, DWORD PTR 36[rsi]
	mov	DWORD PTR 36[rdi], eax
	mov	eax, DWORD PTR 32[rsi]
	mov	DWORD PTR 32[rdi], eax
	mov	rax, QWORD PTR 24[rdi]
	mov	ecx, DWORD PTR [rdx]
	mov	DWORD PTR [rax], ecx
	mov	edx, DWORD PTR 4[rdx]
	mov	rcx, QWORD PTR 8[rdi]
	mov	DWORD PTR 4[rax], edx
	mov	eax, DWORD PTR 16[rsi]
	mov	DWORD PTR 16[rdi], eax
	mov	eax, DWORD PTR [rsi]
	mov	rsi, QWORD PTR 8[rsi]
	and	eax, 7
	mov	DWORD PTR 4[rdi], eax
	xor	eax, eax
.L2:
	mov	edx, DWORD PTR [rsi+rax]
	mov	DWORD PTR [rcx+rax], edx
	add	rax, 4
	cmp	rax, 16
	jne	.L2
	mov	rdi, rbp
	call	rtw_hci_type@PLT
	mov	r8d, eax
	mov	eax, DWORD PTR ENOTSUPP[rip]
	neg	eax
	cmp	r8d, 128
	je	.L8
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rsi, r12
	mov	rdi, rbp
	call	rtw8822ce_efuse_parsing@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	rtw8822c_read_efuse, .-rtw8822c_read_efuse
	.comm	ENOTSUPP,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_rtw8822c.c_rtw8822c_read_efuse.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtw8822c_read_efuse, %function
rtw8822c_read_efuse:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r4, r0
	ldr	r2, [r1, #24]
	ldr	r0, [r1]
	ldr	r3, [r5, #16]
	ldr	r1, [r1, #20]
	str	r2, [r4, #28]
	ldr	r2, [r5, #12]
	str	r1, [r4, #24]
	str	r3, [r4, #20]
	str	r0, [r4]
	ldr	r0, [r2]
	ldr	r3, [r4, #16]
	ldr	r1, [r5, #4]
	str	r0, [r3]
	ldr	r0, [r2, #4]
	ldr	r2, [r4, #8]
	str	r0, [r3, #4]
	ldr	r3, [r5]
	ldr	r0, [r5, #8]
	and	r3, r3, #7
	str	r3, [r4, #4]
	str	r0, [r4, #12]
	sub	r3, r1, #4
	sub	r2, r2, #4
	add	r1, r1, #12
.L2:
	ldr	r0, [r3, #4]!
	cmp	r3, r1
	str	r0, [r2, #4]!
	bne	.L2
	mov	r0, r4
	bl	rtw_hci_type
	cmp	r0, #128
	beq	.L8
	ldr	r3, .L9
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L8:
	mov	r1, r5
	mov	r0, r4
	bl	rtw8822ce_efuse_parsing
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	ENOTSUPP
	.size	rtw8822c_read_efuse, .-rtw8822c_read_efuse
	.comm	ENOTSUPP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
