	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pdacf_reset
_pdacf_reset:                           ## @pdacf_reset
	.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	%esi, %r14d
	movq	%rdi, %r15
	movq	_PDAUDIOCF_REG_SCR@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_pdacf_reg_read
	movq	_PDAUDIOCF_PDN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_PDAUDIOCF_RECORD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	(%r13), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_pdacf_reg_write
	movl	$5, %edi
	callq	_udelay
	movq	_PDAUDIOCF_RST@GOTPCREL(%rip), %r12
	orl	(%r12), %ebx
	movl	(%r13), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_pdacf_reg_write
	movl	$200, %edi
	callq	_udelay
	movl	(%r12), %r12d
	notl	%r12d
	andl	%ebx, %r12d
	movl	(%r13), %esi
	movq	%r15, %rdi
	movl	%r12d, %edx
	callq	_pdacf_reg_write
	movl	$5, %edi
	callq	_udelay
	testl	%r14d, %r14d
	jne	LBB0_2
## %bb.1:
	movq	_PDAUDIOCF_PDN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r12d
	movl	(%r13), %esi
	movq	%r15, %rdi
	movl	%r12d, %edx
	callq	_pdacf_reg_write
	movl	$200, %edi
	callq	_udelay
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PDAUDIOCF_REG_SCR,4,2          ## @PDAUDIOCF_REG_SCR
	.comm	_PDAUDIOCF_PDN,4,2              ## @PDAUDIOCF_PDN
	.comm	_PDAUDIOCF_RECORD,4,2           ## @PDAUDIOCF_RECORD
	.comm	_PDAUDIOCF_RST,4,2              ## @PDAUDIOCF_RST
	.no_dead_strip	_pdacf_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pdacf_reset
_pdacf_reset:                           ; @pdacf_reset
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _PDAUDIOCF_REG_SCR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PDAUDIOCF_REG_SCR@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_pdacf_reg_read
Lloh2:
	adrp	x23, _PDAUDIOCF_PDN@GOTPAGE
Lloh3:
	ldr	x23, [x23, _PDAUDIOCF_PDN@GOTPAGEOFF]
	ldr	w8, [x23]
	orr	w8, w8, w0
Lloh4:
	adrp	x9, _PDAUDIOCF_RECORD@GOTPAGE
Lloh5:
	ldr	x9, [x9, _PDAUDIOCF_RECORD@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	bic	w20, w8, w9
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	bl	_pdacf_reg_write
	mov	w0, #5
	bl	_udelay
Lloh7:
	adrp	x24, _PDAUDIOCF_RST@GOTPAGE
Lloh8:
	ldr	x24, [x24, _PDAUDIOCF_RST@GOTPAGEOFF]
	ldr	w8, [x24]
	orr	w20, w8, w20
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	bl	_pdacf_reg_write
	mov	w0, #200
	bl	_udelay
	ldr	w8, [x24]
	bic	w20, w20, w8
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	bl	_pdacf_reg_write
	mov	w0, #5
	bl	_udelay
	cbnz	w21, LBB0_2
; %bb.1:
	ldr	w8, [x23]
	bic	w2, w20, w8
	ldr	w1, [x22]
	mov	x0, x19
	bl	_pdacf_reg_write
	mov	w0, #200
	bl	_udelay
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PDAUDIOCF_REG_SCR,4,2          ; @PDAUDIOCF_REG_SCR
	.comm	_PDAUDIOCF_PDN,4,2              ; @PDAUDIOCF_PDN
	.comm	_PDAUDIOCF_RECORD,4,2           ; @PDAUDIOCF_RECORD
	.comm	_PDAUDIOCF_RST,4,2              ; @PDAUDIOCF_RST
	.no_dead_strip	_pdacf_reset
.subsections_via_symbols
