	.file	"extr_rtw8822c.c_rtw8822c_dpk_fill_result.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rtw8822c_dpk_fill_result, @function
rtw8822c_dpk_fill_result:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, ecx
	lea	ecx, [rdx+rdx]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	or	ecx, 8
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR BIT_SUBPAGE[rip]
	mov	esi, DWORD PTR REG_NCTL0[rip]
	call	rtw_write32_mask@PLT
	test	r13d, r13d
	je	.L2
	mov	esi, DWORD PTR REG_DPD_AGC[rip]
	lea	edx, -6[rbx]
	mov	rdi, rbp
	call	rtw_write8@PLT
.L3:
	mov	rdx, QWORD PTR 0[rbp]
	movsx	rax, r12d
	mov	rdi, rbp
	mov	DWORD PTR [rdx+rax*4], r13d
	mov	rdx, QWORD PTR 8[rbp]
	mov	esi, DWORD PTR REG_DPD_AGC[rip]
	lea	rbx, [rdx+rax*4]
	call	rtw_read8@PLT
	mov	edx, r13d
	mov	esi, r12d
	mov	rdi, rbp
	mov	DWORD PTR [rbx], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	rtw8822c_dpk_coef_write@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR REG_DPD_AGC[rip]
	xor	edx, edx
	mov	rdi, rbp
	call	rtw_write8@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	rtw8822c_dpk_fill_result, .-rtw8822c_dpk_fill_result
	.comm	REG_NCTL0,4,4
	.comm	REG_DPD_AGC,4,4
	.comm	BIT_SUBPAGE,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_dpk_fill_result.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtw8822c_dpk_fill_result, %function
rtw8822c_dpk_fill_result:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r2
	mov	r6, r3
	mov	r4, r0
	mov	r7, r1
	ldr	r2, .L6
	ldr	r1, .L6+4
	lsl	r3, r5, #1
	ldr	r2, [r2]
	ldr	r8, .L6+8
	orr	r3, r3, #8
	ldr	r1, [r1]
	bl	rtw_write32_mask
	cmp	r6, #0
	moveq	r2, r6
	subne	r2, r7, #6
	ldr	r1, [r8]
	mov	r0, r4
	bl	rtw_write8
	ldr	r3, [r4]
	mov	r0, r4
	str	r6, [r3, r5, lsl #2]
	ldr	r1, [r8]
	ldr	r7, [r4, #4]
	bl	rtw_read8
	mov	r2, r6
	str	r0, [r7, r5, lsl #2]
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	rtw8822c_dpk_coef_write
.L7:
	.align	2
.L6:
	.word	BIT_SUBPAGE
	.word	REG_NCTL0
	.word	REG_DPD_AGC
	.size	rtw8822c_dpk_fill_result, .-rtw8822c_dpk_fill_result
	.comm	REG_NCTL0,4,4
	.comm	REG_DPD_AGC,4,4
	.comm	BIT_SUBPAGE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
