	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdsp_reset_hw_pointer
_hdsp_reset_hw_pointer:                 ## @hdsp_reset_hw_pointer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_HDSP_resetPointer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_hdsp_write
	movq	(%rbx), %rax
	movq	_H9632@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	cmpl	$152, 8(%rbx)
	jl	LBB0_2
## %bb.3:
	movq	_HDSP_freqReg@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%rbx), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_hdsp_write                     ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDSP_resetPointer,4,2          ## @HDSP_resetPointer
	.comm	_H9632,8,3                      ## @H9632
	.comm	_HDSP_freqReg,4,2               ## @HDSP_freqReg
	.no_dead_strip	_hdsp_reset_hw_pointer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdsp_reset_hw_pointer
_hdsp_reset_hw_pointer:                 ; @hdsp_reset_hw_pointer
	.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, x0
Lloh0:
	adrp	x8, _HDSP_resetPointer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDSP_resetPointer@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_hdsp_write
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _H9632@GOTPAGE
Lloh4:
	ldr	x9, [x9, _H9632@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x19, #8]
	cmp	w8, #152
	b.lt	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _HDSP_freqReg@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HDSP_freqReg@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w2, [x19, #12]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_hdsp_write
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HDSP_resetPointer,4,2          ; @HDSP_resetPointer
	.comm	_H9632,8,3                      ; @H9632
	.comm	_HDSP_freqReg,4,2               ; @HDSP_freqReg
	.no_dead_strip	_hdsp_reset_hw_pointer
.subsections_via_symbols
