	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gx_audio_Start                 ## -- Begin function gx_audio_Start
	.p2align	4, 0x90
_gx_audio_Start:                        ## @gx_audio_Start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$1, %edi
	callq	_PauseOgg
	xorl	%eax, %eax
	callq	_StopOgg
	movl	$1, %edi
	callq	_ASND_Pause
	xorl	%eax, %eax
	callq	_ASND_End
	xorl	%eax, %eax
	callq	_AUDIO_StopDMA
	xorl	%edi, %edi
	callq	_AUDIO_RegisterDMACallback
	xorl	%eax, %eax
	callq	_DSP_Halt
	movq	_ai_callback@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_AUDIO_RegisterDMACallback
	movq	_soundbuffer@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOUND_BUFFER_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,2), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	_audioStarted@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_mixbuffer@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_audio_sync@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ai_callback,8,3                ## @ai_callback
	.comm	_soundbuffer,4,2                ## @soundbuffer
	.comm	_SOUND_BUFFER_LEN,4,2           ## @SOUND_BUFFER_LEN
	.comm	_audioStarted,8,3               ## @audioStarted
	.comm	_mixbuffer,8,3                  ## @mixbuffer
	.comm	_audio_sync,8,3                 ## @audio_sync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gx_audio_Start                 ; -- Begin function gx_audio_Start
	.p2align	2
_gx_audio_Start:                        ; @gx_audio_Start
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	w0, #1
	bl	_PauseOgg
	bl	_StopOgg
	mov	w0, #1
	bl	_ASND_Pause
	bl	_ASND_End
	bl	_AUDIO_StopDMA
	mov	x0, #0
	bl	_AUDIO_RegisterDMACallback
	bl	_DSP_Halt
Lloh0:
	adrp	x8, _ai_callback@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ai_callback@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	bl	_AUDIO_RegisterDMACallback
Lloh3:
	adrp	x8, _soundbuffer@GOTPAGE
Lloh4:
	ldr	x8, [x8, _soundbuffer@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _SOUND_BUFFER_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SOUND_BUFFER_LEN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	w2, w8, w8, lsl #1
	mov	w1, #0
	bl	_memset
Lloh9:
	adrp	x8, _audioStarted@GOTPAGE
Lloh10:
	ldr	x8, [x8, _audioStarted@GOTPAGEOFF]
Lloh11:
	str	xzr, [x8]
Lloh12:
	adrp	x8, _mixbuffer@GOTPAGE
Lloh13:
	ldr	x8, [x8, _mixbuffer@GOTPAGEOFF]
Lloh14:
	str	xzr, [x8]
Lloh15:
	adrp	x8, _audio_sync@GOTPAGE
Lloh16:
	ldr	x8, [x8, _audio_sync@GOTPAGEOFF]
Lloh17:
	str	xzr, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ai_callback,8,3                ; @ai_callback
	.comm	_soundbuffer,4,2                ; @soundbuffer
	.comm	_SOUND_BUFFER_LEN,4,2           ; @SOUND_BUFFER_LEN
	.comm	_audioStarted,8,3               ; @audioStarted
	.comm	_mixbuffer,8,3                  ; @mixbuffer
	.comm	_audio_sync,8,3                 ; @audio_sync
.subsections_via_symbols
