	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reset_channels
_reset_channels:                        ## @reset_channels
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorps	%xmm0, %xmm0
	movq	_ym2612@GOTPCREL(%rip), %r8
	movups	%xmm0, 24(%r8)
	movups	%xmm0, 8(%r8)
	movq	$0, 40(%r8)
	movq	_MAX_ATT_INDEX@GOTPCREL(%rip), %r9
	movl	(%r9), %esi
	movq	_EG_OFF@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	movq	$0, 24(%rdi)
	movq	16(%rdi), %rcx
	movl	%eax, 4(%rcx)
	movl	%esi, (%rcx)
	movl	(%rdx), %eax
	movl	%eax, 12(%rcx)
	movl	(%r9), %esi
	movl	%esi, 8(%rcx)
	movl	%eax, 20(%rcx)
	movl	%esi, 16(%rcx)
	movl	%eax, 28(%rcx)
	movl	%esi, 24(%rcx)
	movups	%xmm0, (%rdi)
	movq	$0, 56(%rdi)
	movq	48(%rdi), %rcx
	movl	%eax, 4(%rcx)
	movl	%esi, (%rcx)
	movl	(%rdx), %eax
	movl	%eax, 12(%rcx)
	movl	(%r9), %esi
	movl	%esi, 8(%rcx)
	movl	%eax, 20(%rcx)
	movl	%esi, 16(%rcx)
	movl	%eax, 28(%rcx)
	movl	%esi, 24(%rcx)
	movups	%xmm0, 32(%rdi)
	movq	$0, 88(%rdi)
	movq	80(%rdi), %rcx
	movl	%eax, 4(%rcx)
	movl	%esi, (%rcx)
	movl	(%rdx), %eax
	movl	%eax, 12(%rcx)
	movl	(%r9), %esi
	movl	%esi, 8(%rcx)
	movl	%eax, 20(%rcx)
	movl	%esi, 16(%rcx)
	movl	%eax, 28(%rcx)
	movl	%esi, 24(%rcx)
	movups	%xmm0, 64(%rdi)
	movq	$0, 120(%rdi)
	movq	112(%rdi), %rcx
	movl	%eax, 4(%rcx)
	movl	%esi, (%rcx)
	movl	(%rdx), %eax
	movl	%eax, 12(%rcx)
	movl	(%r9), %esi
	movl	%esi, 8(%rcx)
	movl	%eax, 20(%rcx)
	movl	%esi, 16(%rcx)
	movl	%eax, 28(%rcx)
	movl	%esi, 24(%rcx)
	movups	%xmm0, 96(%rdi)
	movq	$0, 152(%rdi)
	movq	144(%rdi), %rcx
	movl	%eax, 4(%rcx)
	movl	%esi, (%rcx)
	movl	(%rdx), %eax
	movl	%eax, 12(%rcx)
	movl	(%r9), %esi
	movl	%esi, 8(%rcx)
	movl	%eax, 20(%rcx)
	movl	%esi, 16(%rcx)
	movl	%eax, 28(%rcx)
	movl	%esi, 24(%rcx)
	movups	%xmm0, 128(%rdi)
	movq	$0, 184(%rdi)
	movq	176(%rdi), %rcx
	movl	%eax, 4(%rcx)
	movl	%esi, (%rcx)
	movl	(%rdx), %eax
	movl	%eax, 12(%rcx)
	movl	(%r9), %edx
	movl	%edx, 8(%rcx)
	movl	%eax, 20(%rcx)
	movl	%edx, 16(%rcx)
	movl	%eax, 28(%rcx)
	movl	%edx, 24(%rcx)
	movups	%xmm0, 160(%rdi)
	movq	$0, (%r8)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ym2612,48,3                    ## @ym2612
	.comm	_EG_OFF,4,2                     ## @EG_OFF
	.comm	_MAX_ATT_INDEX,4,2              ## @MAX_ATT_INDEX
	.no_dead_strip	_reset_channels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reset_channels
_reset_channels:                        ; @reset_channels
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ym2612@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ym2612@GOTPAGEOFF]
	str	xzr, [x8, #40]
	movi.2d	v0, #0000000000000000
	stur	q0, [x8, #24]
	stur	q0, [x8, #8]
	ldr	x11, [x0, #16]
Lloh2:
	adrp	x9, _EG_OFF@GOTPAGE
Lloh3:
	ldr	x9, [x9, _EG_OFF@GOTPAGEOFF]
	ldr	w12, [x9]
Lloh4:
	adrp	x10, _MAX_ATT_INDEX@GOTPAGE
Lloh5:
	ldr	x10, [x10, _MAX_ATT_INDEX@GOTPAGEOFF]
	ldr	w13, [x10]
	stp	w13, w12, [x11]
	ldr	w12, [x9]
	ldr	w13, [x10]
	stp	w13, w12, [x11, #8]
	stp	w13, w12, [x11, #16]
	stp	w13, w12, [x11, #24]
	stp	xzr, xzr, [x0]
	ldr	x11, [x0, #48]
	stp	w13, w12, [x11]
	ldr	w12, [x9]
	ldr	w13, [x10]
	stp	w13, w12, [x11, #8]
	stp	w13, w12, [x11, #16]
	stp	w13, w12, [x11, #24]
	stp	xzr, xzr, [x0, #24]
	str	xzr, [x0, #40]
	ldr	x11, [x0, #80]
	stp	w13, w12, [x11]
	ldr	w12, [x9]
	ldr	w13, [x10]
	stp	w13, w12, [x11, #8]
	stp	w13, w12, [x11, #16]
	stp	w13, w12, [x11, #24]
	stp	xzr, xzr, [x0, #56]
	str	xzr, [x0, #72]
	ldr	x11, [x0, #112]
	stp	w13, w12, [x11]
	ldr	w12, [x9]
	ldr	w13, [x10]
	stp	w13, w12, [x11, #8]
	stp	w13, w12, [x11, #16]
	stp	w13, w12, [x11, #24]
	stp	xzr, xzr, [x0, #88]
	str	xzr, [x0, #104]
	ldr	x11, [x0, #144]
	stp	w13, w12, [x11]
	ldr	w12, [x9]
	ldr	w13, [x10]
	stp	w13, w12, [x11, #8]
	stp	w13, w12, [x11, #16]
	stp	w13, w12, [x11, #24]
	str	xzr, [x0, #184]
	stp	xzr, xzr, [x0, #120]
	str	xzr, [x0, #136]
	ldr	x11, [x0, #176]
	stp	w13, w12, [x11]
	ldr	w9, [x9]
	ldr	w10, [x10]
	stp	w10, w9, [x11, #8]
	stp	w10, w9, [x11, #16]
	stp	w10, w9, [x11, #24]
	stp	xzr, xzr, [x0, #152]
	str	xzr, [x0, #168]
	str	xzr, [x8]
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ym2612,48,3                    ; @ym2612
	.comm	_EG_OFF,4,2                     ; @EG_OFF
	.comm	_MAX_ATT_INDEX,4,2              ; @MAX_ATT_INDEX
	.no_dead_strip	_reset_channels
.subsections_via_symbols
