	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw8822c_dpk_on
_rtw8822c_dpk_on:                       ## @rtw8822c_dpk_on
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_RTW_DPK_DPK_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_rtw8822c_dpk_one_shot
	movq	_REG_NCTL0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BIT_SUBPAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leal	(%r14,%r14), %ecx
	orl	$8, %ecx
	movq	%rbx, %rdi
	callq	_rtw_write32_mask
	movq	_REG_IQK_CTL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BIT_TX_CFIR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_rtw_write32_mask
	movl	(%rbx), %esi
	movl	%r14d, %edi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_rtw8822c_dpk_cal_gs            ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTW_DPK_DPK_ON,4,2             ## @RTW_DPK_DPK_ON
	.comm	_REG_NCTL0,4,2                  ## @REG_NCTL0
	.comm	_BIT_SUBPAGE,4,2                ## @BIT_SUBPAGE
	.comm	_REG_IQK_CTL1,4,2               ## @REG_IQK_CTL1
	.comm	_BIT_TX_CFIR,4,2                ## @BIT_TX_CFIR
	.no_dead_strip	_rtw8822c_dpk_on
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtw8822c_dpk_on
_rtw8822c_dpk_on:                       ; @rtw8822c_dpk_on
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _RTW_DPK_DPK_ON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTW_DPK_DPK_ON@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_rtw8822c_dpk_one_shot
Lloh3:
	adrp	x8, _REG_NCTL0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_NCTL0@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _BIT_SUBPAGE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BIT_SUBPAGE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	lsl	w8, w19, #1
	orr	w3, w8, #0x8
	mov	x0, x20
	bl	_rtw_write32_mask
Lloh9:
	adrp	x8, _REG_IQK_CTL1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REG_IQK_CTL1@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _BIT_TX_CFIR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BIT_TX_CFIR@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w3, #0
	bl	_rtw_write32_mask
	ldr	w1, [x20]
	mov	x0, x19
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rtw8822c_dpk_cal_gs
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RTW_DPK_DPK_ON,4,2             ; @RTW_DPK_DPK_ON
	.comm	_REG_NCTL0,4,2                  ; @REG_NCTL0
	.comm	_BIT_SUBPAGE,4,2                ; @BIT_SUBPAGE
	.comm	_REG_IQK_CTL1,4,2               ; @REG_IQK_CTL1
	.comm	_BIT_TX_CFIR,4,2                ; @BIT_TX_CFIR
	.no_dead_strip	_rtw8822c_dpk_on
.subsections_via_symbols
