	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw8822c_dac_restore_reg
_rtw8822c_dac_restore_reg:              ## @rtw8822c_dac_restore_reg
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	_DACK_REG_8822C@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_rtw_restore_reg
	movq	_DACK_PATH_8822C@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	_DACK_RF_8822C@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	$8, -48(%rbp)                   ## 8-byte Folded Spill
	movl	$16, %ebx
	xorl	%r12d, %r12d
	movq	_RFREG_MASK@GOTPCREL(%rip), %r15
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	addq	$16, %rbx
	cmpq	%rax, %r12
	jae	LBB0_8
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-8(%r13), %r8
	movq	(%r13), %rdx
	movl	(%r15), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_rtw_write_rf
	movq	_DACK_RF_8822C@GOTPCREL(%rip), %rax
	incq	%r14
	movq	(%rax), %rcx
	addq	%rbx, %r13
	cmpq	%rcx, %r14
	jb	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_DACK_PATH_8822C@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_7
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DACK_REG_8822C,4,2             ## @DACK_REG_8822C
	.comm	_DACK_PATH_8822C,8,3            ## @DACK_PATH_8822C
	.comm	_DACK_RF_8822C,8,3              ## @DACK_RF_8822C
	.comm	_RFREG_MASK,4,2                 ## @RFREG_MASK
	.no_dead_strip	_rtw8822c_dac_restore_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtw8822c_dac_restore_reg
_rtw8822c_dac_restore_reg:              ; @rtw8822c_dac_restore_reg
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x19, x0
Lloh0:
	adrp	x8, _DACK_REG_8822C@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DACK_REG_8822C@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_rtw_restore_reg
Lloh3:
	adrp	x22, _DACK_PATH_8822C@GOTPAGE
Lloh4:
	ldr	x22, [x22, _DACK_PATH_8822C@GOTPAGEOFF]
	ldr	x8, [x22]
	cbz	x8, LBB0_7
; %bb.1:
	mov	x20, #0
Lloh5:
	adrp	x23, _DACK_RF_8822C@GOTPAGE
Lloh6:
	ldr	x23, [x23, _DACK_RF_8822C@GOTPAGEOFF]
	ldr	x9, [x23]
	add	x21, x21, #8
	mov	w24, #16
Lloh7:
	adrp	x25, _RFREG_MASK@GOTPAGE
Lloh8:
	ldr	x25, [x25, _RFREG_MASK@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	add	x24, x24, #16
	cmp	x20, x8
	b.hs	LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cbz	x9, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, #0
	mov	x27, x21
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x4, x2, [x27, #-8]
	ldr	w3, [x25]
	mov	x0, x19
	mov	x1, x20
	bl	_rtw_write_rf
	add	x26, x26, #1
	ldr	x9, [x23]
	add	x27, x27, x24
	cmp	x26, x9
	b.lo	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	b	LBB0_2
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_DACK_REG_8822C,4,2             ; @DACK_REG_8822C
	.comm	_DACK_PATH_8822C,8,3            ; @DACK_PATH_8822C
	.comm	_DACK_RF_8822C,8,3              ; @DACK_RF_8822C
	.comm	_RFREG_MASK,4,2                 ; @RFREG_MASK
	.no_dead_strip	_rtw8822c_dac_restore_reg
.subsections_via_symbols
