	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw8822c_dpk_by_path
_rtw8822c_dpk_by_path:                  ## @rtw8822c_dpk_by_path
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rdi, %r13
	movq	_RTW_DPK_DO_DPK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %esi
	callq	_rtw8822c_dpk_one_shot
	movl	%eax, %r15d
	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	%r13, %rdi
	callq	_rtw_write32_mask
	movq	_REG_DPD_CTL1_S0@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	$26, %edi
	callq	_BIT
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_rtw_read32_mask
	movq	%rax, %rbx
	orl	%r15d, %ebx
	movq	_RF_MODE_TRXAGC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_RFREG_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	$212500, %r8d                   ## imm = 0x33E14
	callq	_rtw_write_rf
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_rtw8822c_dpk_get_coef
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTW_DPK_DO_DPK,4,2             ## @RTW_DPK_DO_DPK
	.comm	_REG_NCTL0,4,2                  ## @REG_NCTL0
	.comm	_BIT_SUBPAGE,4,2                ## @BIT_SUBPAGE
	.comm	_REG_DPD_CTL1_S0,4,2            ## @REG_DPD_CTL1_S0
	.comm	_RF_MODE_TRXAGC,4,2             ## @RF_MODE_TRXAGC
	.comm	_RFREG_MASK,4,2                 ## @RFREG_MASK
	.no_dead_strip	_rtw8822c_dpk_by_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtw8822c_dpk_by_path
_rtw8822c_dpk_by_path:                  ; @rtw8822c_dpk_by_path
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x8, _RTW_DPK_DO_DPK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTW_DPK_DO_DPK@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_rtw8822c_dpk_one_shot
	mov	x21, x0
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_DPD_CTL1_S0@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REG_DPD_CTL1_S0@GOTPAGEOFF]
Lloh11:
	ldr	w22, [x8]
	mov	w0, #26
	bl	_BIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_rtw_read32_mask
	orr	w21, w21, w0
Lloh12:
	adrp	x8, _RF_MODE_TRXAGC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RF_MODE_TRXAGC@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _RFREG_MASK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RFREG_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w4, #15892
	movk	w4, #3, lsl #16
	bl	_rtw_write_rf
	mov	x0, x20
	mov	x1, x19
	bl	_rtw8822c_dpk_get_coef
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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_DO_DPK,4,2             ; @RTW_DPK_DO_DPK
	.comm	_REG_NCTL0,4,2                  ; @REG_NCTL0
	.comm	_BIT_SUBPAGE,4,2                ; @BIT_SUBPAGE
	.comm	_REG_DPD_CTL1_S0,4,2            ; @REG_DPD_CTL1_S0
	.comm	_RF_MODE_TRXAGC,4,2             ; @RF_MODE_TRXAGC
	.comm	_RFREG_MASK,4,2                 ; @RFREG_MASK
	.no_dead_strip	_rtw8822c_dpk_by_path
.subsections_via_symbols
