	.file	"extr_rtw8822c.c_rtw8822c_dpk_on.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rtw8822c_dpk_on, @function
rtw8822c_dpk_on:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edx, DWORD PTR RTW_DPK_DPK_ON[rip]
	call	rtw8822c_dpk_one_shot@PLT
	mov	edx, DWORD PTR BIT_SUBPAGE[rip]
	lea	ecx, [r12+r12]
	mov	rdi, rbp
	mov	esi, DWORD PTR REG_NCTL0[rip]
	or	ecx, 8
	call	rtw_write32_mask@PLT
	mov	esi, DWORD PTR REG_IQK_CTL1[rip]
	xor	ecx, ecx
	mov	rdi, rbp
	mov	edx, DWORD PTR BIT_TX_CFIR[rip]
	call	rtw_write32_mask@PLT
	mov	esi, DWORD PTR 0[rbp]
	mov	edi, r12d
	call	test_bit@PLT
	test	rax, rax
	jne	.L5
	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
.L5:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	esi, r12d
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	rtw8822c_dpk_cal_gs@PLT
	.cfi_endproc
.LFE0:
	.size	rtw8822c_dpk_on, .-rtw8822c_dpk_on
	.comm	RTW_DPK_DPK_ON,4,4
	.comm	REG_NCTL0,4,4
	.comm	REG_IQK_CTL1,4,4
	.comm	BIT_TX_CFIR,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_on.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtw8822c_dpk_on, %function
rtw8822c_dpk_on:
	@ 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	r3, .L5
	ldr	r2, [r3]
	bl	rtw8822c_dpk_one_shot
	ldr	r2, .L5+4
	ldr	r1, .L5+8
	lsl	r3, r5, #1
	ldr	r2, [r2]
	ldr	r1, [r1]
	orr	r3, r3, #8
	mov	r0, r4
	bl	rtw_write32_mask
	ldr	r3, .L5+12
	ldr	r2, .L5+16
	ldr	r1, [r3]
	ldr	r2, [r2]
	mov	r3, #0
	mov	r0, r4
	bl	rtw_write32_mask
	mov	r0, r5
	ldr	r1, [r4]
	bl	test_bit
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	rtw8822c_dpk_cal_gs
.L6:
	.align	2
.L5:
	.word	RTW_DPK_DPK_ON
	.word	BIT_SUBPAGE
	.word	REG_NCTL0
	.word	REG_IQK_CTL1
	.word	BIT_TX_CFIR
	.size	rtw8822c_dpk_on, .-rtw8822c_dpk_on
	.comm	RTW_DPK_DPK_ON,4,4
	.comm	REG_NCTL0,4,4
	.comm	REG_IQK_CTL1,4,4
	.comm	BIT_TX_CFIR,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
