	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sound_reset                    ## -- Begin function sound_reset
	.p2align	4, 0x90
_sound_reset:                           ## @sound_reset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_YM_Reset
	xorl	%eax, %eax
	callq	_SN76489_Reset
	movq	_fm_last@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	movq	_fm_buffer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_fm_ptr@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_fm_cycles_count@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_fm_cycles_start@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fm_last,8,3                    ## @fm_last
	.comm	_fm_buffer,4,2                  ## @fm_buffer
	.comm	_fm_ptr,4,2                     ## @fm_ptr
	.comm	_fm_cycles_count,8,3            ## @fm_cycles_count
	.comm	_fm_cycles_start,8,3            ## @fm_cycles_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sound_reset                    ; -- Begin function sound_reset
	.p2align	2
_sound_reset:                           ; @sound_reset
	.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
	bl	_YM_Reset
	bl	_SN76489_Reset
Lloh0:
	adrp	x8, _fm_last@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fm_last@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stp	xzr, xzr, [x8]
Lloh3:
	adrp	x8, _fm_buffer@GOTPAGE
Lloh4:
	ldr	x8, [x8, _fm_buffer@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _fm_ptr@GOTPAGE
Lloh7:
	ldr	x9, [x9, _fm_ptr@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
Lloh9:
	adrp	x8, _fm_cycles_count@GOTPAGE
Lloh10:
	ldr	x8, [x8, _fm_cycles_count@GOTPAGEOFF]
Lloh11:
	str	xzr, [x8]
Lloh12:
	adrp	x8, _fm_cycles_start@GOTPAGE
Lloh13:
	ldr	x8, [x8, _fm_cycles_start@GOTPAGEOFF]
Lloh14:
	str	xzr, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_fm_last,8,3                    ; @fm_last
	.comm	_fm_buffer,4,2                  ; @fm_buffer
	.comm	_fm_ptr,4,2                     ; @fm_ptr
	.comm	_fm_cycles_count,8,3            ; @fm_cycles_count
	.comm	_fm_cycles_start,8,3            ; @fm_cycles_start
.subsections_via_symbols
