	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dac_audio_stop
_dac_audio_stop:                        ## @dac_audio_stop
	.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
	xorl	%eax, %eax
	callq	_dac_audio_stop_timer
	xorl	%eax, %eax
	callq	_mach_is_hp6xx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_HD64461_GPADR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	___raw_readw
	movq	_HD64461_GPADR_SPEAKER@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	___raw_writew
LBB0_2:
	movq	_CONFIG_SOUND_SH_DAC_AUDIO_CHANNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	xorl	%edi, %edi
	callq	_sh_dac_output
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_sh_dac_disable                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HD64461_GPADR,4,2              ## @HD64461_GPADR
	.comm	_HD64461_GPADR_SPEAKER,4,2      ## @HD64461_GPADR_SPEAKER
	.comm	_CONFIG_SOUND_SH_DAC_AUDIO_CHANNEL,4,2 ## @CONFIG_SOUND_SH_DAC_AUDIO_CHANNEL
	.no_dead_strip	_dac_audio_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dac_audio_stop
_dac_audio_stop:                        ; @dac_audio_stop
	.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
	bl	_dac_audio_stop_timer
	bl	_mach_is_hp6xx
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x19, _HD64461_GPADR@GOTPAGE
Lloh1:
	ldr	x19, [x19, _HD64461_GPADR@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	___raw_readw
Lloh2:
	adrp	x8, _HD64461_GPADR_SPEAKER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HD64461_GPADR_SPEAKER@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w0, w8, w0
	ldr	w1, [x19]
	bl	___raw_writew
LBB0_2:
Lloh5:
	adrp	x19, _CONFIG_SOUND_SH_DAC_AUDIO_CHANNEL@GOTPAGE
Lloh6:
	ldr	x19, [x19, _CONFIG_SOUND_SH_DAC_AUDIO_CHANNEL@GOTPAGEOFF]
	ldr	w1, [x19]
	mov	w0, #0
	bl	_sh_dac_output
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sh_dac_disable
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_HD64461_GPADR,4,2              ; @HD64461_GPADR
	.comm	_HD64461_GPADR_SPEAKER,4,2      ; @HD64461_GPADR_SPEAKER
	.comm	_CONFIG_SOUND_SH_DAC_AUDIO_CHANNEL,4,2 ; @CONFIG_SOUND_SH_DAC_AUDIO_CHANNEL
	.no_dead_strip	_dac_audio_stop
.subsections_via_symbols
