	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stop_all_notes                 ## -- Begin function stop_all_notes
	.p2align	4, 0x90
_stop_all_notes:                        ## @stop_all_notes
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str(%rip), %rdi
	callq	_dprintf
	movq	_audio_initialized@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_audio_init
LBB0_2:
	movq	_voices@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_GPTD6@GOTPCREL(%rip), %rdi
	callq	_gptStopTimer
	movq	_GPTD7@GOTPCREL(%rip), %rdi
	callq	_gptStopTimer
	movq	_GPTD8@GOTPCREL(%rip), %rdi
	callq	_gptStopTimer
	movq	_playing_notes@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_playing_note@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_frequency@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_frequency_alt@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_volume@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_frequencies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_volumes@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	$0, (%rax)
	movq	$0, (%rcx)
	movq	$0, 8(%rax)
	movq	$0, 8(%rcx)
	movq	$0, 16(%rax)
	movq	$0, 16(%rcx)
	movq	$0, 24(%rax)
	movq	$0, 24(%rcx)
	movq	$0, 32(%rax)
	movq	$0, 32(%rcx)
	movq	$0, 40(%rax)
	movq	$0, 40(%rcx)
	movq	$0, 48(%rax)
	movq	$0, 48(%rcx)
	movq	$0, 56(%rax)
	movq	$0, 56(%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"audio stop all notes"

	.comm	_audio_initialized,4,2          ## @audio_initialized
	.comm	_voices,8,3                     ## @voices
	.comm	_GPTD6,4,2                      ## @GPTD6
	.comm	_GPTD7,4,2                      ## @GPTD7
	.comm	_GPTD8,4,2                      ## @GPTD8
	.comm	_playing_notes,4,2              ## @playing_notes
	.comm	_playing_note,4,2               ## @playing_note
	.comm	_frequency,8,3                  ## @frequency
	.comm	_frequency_alt,8,3              ## @frequency_alt
	.comm	_volume,8,3                     ## @volume
	.comm	_frequencies,8,3                ## @frequencies
	.comm	_volumes,8,3                    ## @volumes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stop_all_notes                 ; -- Begin function stop_all_notes
	.p2align	2
_stop_all_notes:                        ; @stop_all_notes
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintf
Lloh2:
	adrp	x8, _audio_initialized@GOTPAGE
Lloh3:
	ldr	x8, [x8, _audio_initialized@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
; %bb.1:
	bl	_audio_init
LBB0_2:
Lloh5:
	adrp	x8, _voices@GOTPAGE
Lloh6:
	ldr	x8, [x8, _voices@GOTPAGEOFF]
Lloh7:
	str	xzr, [x8]
Lloh8:
	adrp	x0, _GPTD6@GOTPAGE
Lloh9:
	ldr	x0, [x0, _GPTD6@GOTPAGEOFF]
	bl	_gptStopTimer
Lloh10:
	adrp	x0, _GPTD7@GOTPAGE
Lloh11:
	ldr	x0, [x0, _GPTD7@GOTPAGEOFF]
	bl	_gptStopTimer
Lloh12:
	adrp	x0, _GPTD8@GOTPAGE
Lloh13:
	ldr	x0, [x0, _GPTD8@GOTPAGEOFF]
	bl	_gptStopTimer
Lloh14:
	adrp	x8, _playing_notes@GOTPAGE
Lloh15:
	ldr	x8, [x8, _playing_notes@GOTPAGEOFF]
Lloh16:
	str	wzr, [x8]
Lloh17:
	adrp	x8, _playing_note@GOTPAGE
Lloh18:
	ldr	x8, [x8, _playing_note@GOTPAGEOFF]
Lloh19:
	adrp	x9, _frequency@GOTPAGE
Lloh20:
	ldr	x9, [x9, _frequency@GOTPAGEOFF]
Lloh21:
	str	wzr, [x8]
Lloh22:
	str	xzr, [x9]
Lloh23:
	adrp	x8, _frequency_alt@GOTPAGE
Lloh24:
	ldr	x8, [x8, _frequency_alt@GOTPAGEOFF]
Lloh25:
	adrp	x9, _volume@GOTPAGE
Lloh26:
	ldr	x9, [x9, _volume@GOTPAGEOFF]
Lloh27:
	str	xzr, [x8]
Lloh28:
	str	xzr, [x9]
Lloh29:
	adrp	x8, _frequencies@GOTPAGE
Lloh30:
	ldr	x8, [x8, _frequencies@GOTPAGEOFF]
Lloh31:
	adrp	x9, _volumes@GOTPAGE
Lloh32:
	ldr	x9, [x9, _volumes@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
Lloh34:
	ldr	x9, [x9]
	str	xzr, [x8]
	str	xzr, [x9]
	str	xzr, [x8, #8]
	str	xzr, [x9, #8]
	str	xzr, [x8, #16]
	str	xzr, [x9, #16]
	str	xzr, [x8, #24]
	str	xzr, [x9, #24]
	str	xzr, [x8, #32]
	str	xzr, [x9, #32]
	str	xzr, [x8, #40]
	str	xzr, [x9, #40]
	str	xzr, [x8, #48]
	str	xzr, [x9, #48]
	str	xzr, [x8, #56]
	str	xzr, [x9, #56]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh33
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh28
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh27
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh22
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh21
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"audio stop all notes"

	.comm	_audio_initialized,4,2          ; @audio_initialized
	.comm	_voices,8,3                     ; @voices
	.comm	_GPTD6,4,2                      ; @GPTD6
	.comm	_GPTD7,4,2                      ; @GPTD7
	.comm	_GPTD8,4,2                      ; @GPTD8
	.comm	_playing_notes,4,2              ; @playing_notes
	.comm	_playing_note,4,2               ; @playing_note
	.comm	_frequency,8,3                  ; @frequency
	.comm	_frequency_alt,8,3              ; @frequency_alt
	.comm	_volume,8,3                     ; @volume
	.comm	_frequencies,8,3                ; @frequencies
	.comm	_volumes,8,3                    ; @volumes
.subsections_via_symbols
