	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_YM2612PicoStateLoad2           ## -- Begin function YM2612PicoStateLoad2
	.p2align	4, 0x90
_YM2612PicoStateLoad2:                  ## @YM2612PicoStateLoad2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$216, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_ym2612@GOTPCREL(%rip), %r15
	movl	$256, %esi                      ## imm = 0x100
	addq	(%r15), %rsi
	leaq	-184(%rbp), %rdi
	movl	$72, %edx
	callq	_memcpy
	movl	$-1, %eax
	cmpl	$1095978329, -184(%rbp)         ## imm = 0x41534D59
	jne	LBB0_10
## %bb.1:
	movq	(%r15), %rsi
	leaq	-256(%rbp), %rdi
	movl	$72, %edx
	callq	_memcpy
	movl	-124(%rbp), %eax
	movl	%eax, 64(%r15)
	movsd	-120(%rbp), %xmm0               ## xmm0 = mem[0],zero
	movsd	-132(%rbp), %xmm1               ## xmm1 = mem[0],zero
	movlhps	%xmm0, %xmm1                    ## xmm1 = xmm1[0],xmm0[0]
	movups	%xmm1, 36(%r15)
	movl	-140(%rbp), %eax
	movl	-136(%rbp), %ecx
	movl	%ecx, 32(%r15)
	movq	_g_lfo_ampm@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	movl	-180(%rbp), %eax
	movl	%eax, (%rbx)
LBB0_3:
	testq	%r14, %r14
	je	LBB0_5
## %bb.4:
	movl	-176(%rbp), %eax
	movl	%eax, (%r14)
LBB0_5:
	movl	$184, %r12d
	addq	(%r15), %r12
	xorl	%ebx, %ebx
	leaq	-112(%rbp), %r14
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r12,%rbx), %rsi
	movq	%r14, %rdi
	movl	$6, %edx
	callq	_memcpy
	movl	-100(%rbp), %eax
	movl	%eax, %ecx
	sarl	$29, %ecx
	movq	56(%r15), %rdx
	movq	16(%rdx,%rbx), %rdx
	movl	%ecx, (%rdx)
	shll	$3, %eax
	movl	%eax, 4(%rdx)
	movl	-72(%rbp), %eax
	movl	%eax, 20(%rdx)
	movl	-168(%rbp), %eax
	xorl	%ecx, %ecx
	btl	%r13d, %eax
	setb	%cl
	movl	%ecx, 8(%rdx)
	movl	$-1, 12(%rdx)
	leaq	(%r12,%rbx), %rsi
	addq	$6, %rsi
	movq	%r14, %rdi
	movl	$6, %edx
	callq	_memcpy
	movl	-100(%rbp), %eax
	movl	%eax, %ecx
	sarl	$29, %ecx
	movq	56(%r15), %rdx
	movq	16(%rdx,%rbx), %rdx
	movl	%ecx, 24(%rdx)
	shll	$3, %eax
	movl	%eax, 28(%rdx)
	movl	-72(%rbp), %eax
	movl	%eax, 44(%rdx)
	movl	-168(%rbp), %eax
	leal	1(%r13), %ecx
	movzbl	%cl, %ecx
	xorl	%esi, %esi
	btl	%ecx, %eax
	setb	%sil
	movl	%esi, 32(%rdx)
	movl	$-1, 36(%rdx)
	leaq	(%r12,%rbx), %rsi
	addq	$12, %rsi
	movq	%r14, %rdi
	movl	$6, %edx
	callq	_memcpy
	movl	-100(%rbp), %eax
	movl	%eax, %ecx
	sarl	$29, %ecx
	movq	56(%r15), %rdx
	movq	16(%rdx,%rbx), %rdx
	movl	%ecx, 48(%rdx)
	shll	$3, %eax
	movl	%eax, 52(%rdx)
	movl	-72(%rbp), %eax
	movl	%eax, 68(%rdx)
	movl	-168(%rbp), %eax
	leal	2(%r13), %ecx
	movzbl	%cl, %ecx
	xorl	%esi, %esi
	btl	%ecx, %eax
	setb	%sil
	movl	%esi, 56(%rdx)
	movl	$-1, 60(%rdx)
	leaq	(%r12,%rbx), %rsi
	addq	$18, %rsi
	movq	%r14, %rdi
	movl	$6, %edx
	callq	_memcpy
	movq	_opn_fktable@GOTPCREL(%rip), %r9
	movq	_SLOT1@GOTPCREL(%rip), %r8
	movl	-100(%rbp), %ecx
	movl	%ecx, %edx
	sarl	$29, %edx
	movq	56(%r15), %r10
	movq	16(%r10,%rbx), %rsi
	movl	%edx, 72(%rsi)
	shll	$3, %ecx
	movl	%ecx, 76(%rsi)
	movl	-72(%rbp), %ecx
	movl	%ecx, 92(%rsi)
	movl	-168(%rbp), %ecx
	leal	3(%r13), %edx
	movzbl	%dl, %edx
	xorl	%edi, %edi
	btl	%edx, %ecx
	setb	%dil
	movl	%edi, 80(%rsi)
	movl	$-1, 84(%rsi)
	movq	(%r8), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movl	$-1, 16(%rsi,%rcx,8)
	movq	-232(%rbp), %rcx
	movl	(%rcx,%r13), %edx
	movl	%edx, (%r10,%rbx)
	movl	%edx, %ecx
	andl	$2047, %ecx                     ## imm = 0x7FF
	sarl	$11, %edx
	leal	(,%rdx,4), %esi
	movq	(%r9), %r8
	leal	(%rcx,%rcx), %edi
	shrq	$7, %rcx
	orl	(%r8,%rcx,4), %esi
	movq	_fn_table@GOTPCREL(%rip), %rax
	movl	%esi, 4(%r10,%rbx)
	movq	(%rax), %rcx
	movl	(%rcx,%rdi,4), %esi
	movb	$7, %cl
	subb	%dl, %cl
	sarl	%cl, %esi
	movl	%esi, 8(%r10,%rbx)
	addq	$4, %r13
	addq	$24, %rbx
	cmpq	$12, %r13
	jne	LBB0_6
## %bb.7:
	movl	$440, %r14d                     ## imm = 0x1B8
	addq	(%r15), %r14
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r14,%r12), %rsi
	leaq	-112(%rbp), %r15
	movq	%r15, %rdi
	movl	$6, %edx
	callq	_memcpy
	movl	-100(%rbp), %eax
	movl	%eax, %ecx
	sarl	$29, %ecx
	movq	_ym2612@GOTPCREL(%rip), %rbx
	movq	56(%rbx), %rdx
	movq	88(%rdx,%r12), %rdx
	movl	%ecx, (%rdx)
	shll	$3, %eax
	movl	%eax, 4(%rdx)
	movl	-72(%rbp), %eax
	movl	%eax, 20(%rdx)
	movl	-168(%rbp), %eax
	leal	12(%r13), %ecx
	movzbl	%cl, %ecx
	xorl	%esi, %esi
	btl	%ecx, %eax
	setb	%sil
	movl	%esi, 8(%rdx)
	movl	$-1, 12(%rdx)
	leaq	(%r14,%r12), %rsi
	addq	$6, %rsi
	movq	%r15, %rdi
	movl	$6, %edx
	callq	_memcpy
	movl	-100(%rbp), %eax
	movl	%eax, %ecx
	sarl	$29, %ecx
	movq	56(%rbx), %rdx
	movq	88(%rdx,%r12), %rdx
	movl	%ecx, 24(%rdx)
	shll	$3, %eax
	movl	%eax, 28(%rdx)
	movl	-72(%rbp), %eax
	movl	%eax, 44(%rdx)
	movl	-168(%rbp), %eax
	leal	13(%r13), %ecx
	movzbl	%cl, %ecx
	xorl	%esi, %esi
	btl	%ecx, %eax
	setb	%sil
	movl	%esi, 32(%rdx)
	movl	$-1, 36(%rdx)
	leaq	(%r14,%r12), %rsi
	addq	$12, %rsi
	movq	%r15, %rdi
	movl	$6, %edx
	callq	_memcpy
	movl	-100(%rbp), %eax
	movl	%eax, %ecx
	sarl	$29, %ecx
	movq	56(%rbx), %rdx
	movq	88(%rdx,%r12), %rdx
	movl	%ecx, 48(%rdx)
	shll	$3, %eax
	movl	%eax, 52(%rdx)
	movl	-72(%rbp), %eax
	movl	%eax, 68(%rdx)
	movl	-168(%rbp), %eax
	leal	14(%r13), %ecx
	movzbl	%cl, %ecx
	xorl	%esi, %esi
	btl	%ecx, %eax
	setb	%sil
	movl	%esi, 56(%rdx)
	movl	$-1, 60(%rdx)
	leaq	(%r14,%r12), %rsi
	addq	$18, %rsi
	movq	%r15, %rdi
	movl	$6, %edx
	callq	_memcpy
	movl	-100(%rbp), %ecx
	movl	%ecx, %edx
	sarl	$29, %edx
	movq	56(%rbx), %rax
	movq	88(%rax,%r12), %rsi
	movl	%edx, 72(%rsi)
	shll	$3, %ecx
	movl	%ecx, 76(%rsi)
	movl	-72(%rbp), %ecx
	movl	%ecx, 92(%rsi)
	movl	-168(%rbp), %ecx
	leal	15(%r13), %edx
	movzbl	%dl, %edx
	xorl	%edi, %edi
	btl	%edx, %ecx
	setb	%dil
	movl	%edi, 80(%rsi)
	movl	$-1, 84(%rsi)
	movq	_SLOT1@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movl	$-1, 16(%rsi,%rcx,8)
	movq	-232(%rbp), %rcx
	movl	12(%rcx,%r13), %edi
	movl	%edi, 72(%rax,%r12)
	movl	%edi, %ecx
	andl	$2047, %ecx                     ## imm = 0x7FF
	sarl	$11, %edi
	leal	(,%rdi,4), %esi
	movq	_opn_fktable@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	leal	(%rcx,%rcx), %ebx
	shrq	$7, %rcx
	orl	(%rdx,%rcx,4), %esi
	movl	%esi, 76(%rax,%r12)
	movq	_fn_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movl	(%rsi,%rbx,4), %ebx
	movb	$7, %cl
	subb	%dil, %cl
	sarl	%cl, %ebx
	movl	%ebx, 80(%rax,%r12)
	addq	$4, %r13
	addq	$24, %r12
	cmpq	$12, %r13
	jne	LBB0_8
## %bb.9:
	movq	-224(%rbp), %r11
	movq	_ym2612@GOTPCREL(%rip), %rax
	movq	8(%rax), %r10
	movq	16(%rax), %r9
	movq	24(%rax), %r8
	movl	(%r11), %eax
	movl	%eax, (%r10)
	movl	%eax, %ebx
	andl	$2047, %ebx                     ## imm = 0x7FF
	sarl	$11, %eax
	leal	(,%rax,4), %edi
	movq	%rbx, %rcx
	shrq	$7, %rcx
	orl	(%rdx,%rcx,4), %edi
	leal	(%rbx,%rbx), %ecx
	movl	%edi, (%r9)
	movl	(%rsi,%rcx,4), %edi
	movb	$7, %cl
	subb	%al, %cl
	sarl	%cl, %edi
	movl	%edi, (%r8)
	movl	4(%r11), %edi
	movl	%edi, 4(%r10)
	movl	%edi, %eax
	andl	$2047, %eax                     ## imm = 0x7FF
	sarl	$11, %edi
	leal	(,%rdi,4), %ecx
	leal	(%rax,%rax), %ebx
	shrq	$7, %rax
	orl	(%rdx,%rax,4), %ecx
	movb	$7, %r14b
	movl	%ecx, 4(%r9)
	movl	(%rsi,%rbx,4), %ebx
	movb	$7, %cl
	subb	%dil, %cl
	sarl	%cl, %ebx
	movl	%ebx, 4(%r8)
	movl	8(%r11), %ecx
	movl	%ecx, 8(%r10)
	movl	%ecx, %edi
	andl	$2047, %edi                     ## imm = 0x7FF
	sarl	$11, %ecx
	leal	(,%rcx,4), %ebx
	leal	(%rdi,%rdi), %eax
	shrq	$7, %rdi
	orl	(%rdx,%rdi,4), %ebx
	movl	%ebx, 8(%r9)
	movl	(%rsi,%rax,4), %eax
	subb	%cl, %r14b
	movl	%r14d, %ecx
	sarl	%cl, %eax
	movl	%eax, 8(%r8)
	xorl	%eax, %eax
LBB0_10:
	addq	$216, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ym2612,72,3                    ## @ym2612
	.comm	_g_lfo_ampm,4,2                 ## @g_lfo_ampm
	.comm	_SLOT1,8,3                      ## @SLOT1
	.comm	_opn_fktable,8,3                ## @opn_fktable
	.comm	_fn_table,8,3                   ## @fn_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_YM2612PicoStateLoad2           ; -- Begin function YM2612PicoStateLoad2
	.p2align	2
_YM2612PicoStateLoad2:                  ; @YM2612PicoStateLoad2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #320
	.cfi_def_cfa_offset 320
	stp	x28, x27, [sp, #224]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #240]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #256]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #272]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #288]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #304]            ; 16-byte Folded Spill
	add	x29, sp, #304
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _ym2612@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ym2612@GOTPAGEOFF]
	ldr	x8, [x21]
	add	x1, x8, #256
	mov	x0, sp
	mov	w2, #72
	bl	_memcpy
	ldr	w8, [sp]
	mov	w9, #19801
	movk	w9, #16723, lsl #16
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.1:
	ldr	x1, [x21]
	add	x0, sp, #72
	mov	w2, #72
	bl	_memcpy
	ldr	w8, [sp, #60]
	str	w8, [x21, #64]
	ldr	d0, [sp, #64]
	ldur	d1, [sp, #52]
	mov.d	v1[1], v0[0]
	stur	q1, [x21, #36]
	ldp	w9, w8, [sp, #44]
	str	w8, [x21, #32]
Lloh2:
	adrp	x8, _g_lfo_ampm@GOTPAGE
Lloh3:
	ldr	x8, [x8, _g_lfo_ampm@GOTPAGEOFF]
Lloh4:
	str	w9, [x8]
	cbz	x20, LBB0_3
; %bb.2:
	ldr	w8, [sp, #4]
	str	w8, [x20]
LBB0_3:
	cbz	x19, LBB0_5
; %bb.4:
	ldr	w8, [sp, #8]
	str	w8, [x19]
LBB0_5:
	mov	x24, #0
	mov	x25, #0
	ldr	x8, [x21]
	add	x26, x8, #184
	mov	w27, #-1
Lloh5:
	adrp	x20, _SLOT1@GOTPAGE
Lloh6:
	ldr	x20, [x20, _SLOT1@GOTPAGEOFF]
Lloh7:
	adrp	x22, _opn_fktable@GOTPAGE
Lloh8:
	ldr	x22, [x22, _opn_fktable@GOTPAGEOFF]
Lloh9:
	adrp	x23, _fn_table@GOTPAGE
Lloh10:
	ldr	x23, [x23, _fn_table@GOTPAGEOFF]
	mov	w28, #7
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x19, x26, x24
	add	x0, sp, #144
	mov	x1, x19
	mov	w2, #6
	bl	_memcpy
	ldr	w8, [sp, #156]
	asr	w9, w8, #29
	ldr	x10, [x21, #56]
	add	x10, x10, x24
	ldr	x10, [x10, #16]
	lsl	w8, w8, #3
	stp	w9, w8, [x10]
	ldr	w8, [sp, #184]
	str	w8, [x10, #20]
	ldr	w8, [sp, #16]
	lsr	w8, w8, w25
	and	w8, w8, #0x1
	stp	w8, w27, [x10, #8]
	add	x1, x19, #6
	add	x0, sp, #144
	mov	w2, #6
	bl	_memcpy
	ldr	w8, [sp, #156]
	asr	w9, w8, #29
	ldr	x10, [x21, #56]
	add	x10, x10, x24
	ldr	x10, [x10, #16]
	lsl	w8, w8, #3
	stp	w9, w8, [x10, #24]
	ldr	w8, [sp, #184]
	str	w8, [x10, #44]
	ldr	w8, [sp, #16]
	add	w9, w25, #1
	lsr	w8, w8, w9
	and	w8, w8, #0x1
	stp	w8, w27, [x10, #32]
	add	x1, x19, #12
	add	x0, sp, #144
	mov	w2, #6
	bl	_memcpy
	ldr	w8, [sp, #156]
	ldr	w9, [sp, #184]
	asr	w10, w8, #29
	ldr	x11, [x21, #56]
	add	x11, x11, x24
	ldr	x11, [x11, #16]
	lsl	w8, w8, #3
	stp	w10, w8, [x11, #48]
	str	w9, [x11, #68]
	ldr	w8, [sp, #16]
	add	w9, w25, #2
	lsr	w8, w8, w9
	and	w8, w8, #0x1
	stp	w8, w27, [x11, #56]
	add	x1, x19, #18
	add	x0, sp, #144
	mov	w2, #6
	bl	_memcpy
	ldr	w8, [sp, #156]
	ldr	w9, [sp, #184]
	asr	w10, w8, #29
	ldr	x11, [x21, #56]
	add	x11, x11, x24
	ldr	x12, [x11, #16]
	lsl	w8, w8, #3
	stp	w10, w8, [x12, #72]
	str	w9, [x12, #92]
	ldr	w8, [sp, #16]
	add	w9, w25, #3
	lsr	w8, w8, w9
	and	w8, w8, #0x1
	stp	w8, w27, [x12, #80]
	ldr	x8, [x20]
	mov	w9, #24
	madd	x8, x8, x9, x12
	str	w27, [x8, #16]
	ldr	x8, [sp, #96]
	ldr	w8, [x8, x25]
	str	w8, [x11]
	and	x9, x8, #0x7ff
	asr	w10, w8, #11
	ldr	x12, [x22]
	ubfx	x8, x8, #5, #6
	and	x8, x8, #0x3c
	ldr	w8, [x12, x8]
	orr	w8, w8, w10, lsl #2
	str	w8, [x11, #4]
	ldr	x8, [x23]
	lsl	w9, w9, #1
	ldr	w8, [x8, w9, uxtw #2]
	sub	w9, w28, w10
	asr	w8, w8, w9
	str	w8, [x11, #8]
	add	x25, x25, #4
	add	x24, x24, #24
	cmp	x24, #72
	b.ne	LBB0_6
; %bb.7:
	mov	x24, #0
	mov	x25, #0
	ldr	x8, [x21]
	add	x26, x8, #440
	mov	w27, #-1
	mov	w28, #7
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x19, x26, x24
	add	x0, sp, #144
	mov	x1, x19
	mov	w2, #6
	bl	_memcpy
	ldr	w8, [sp, #156]
	asr	w9, w8, #29
	ldr	x10, [x21, #56]
	add	x10, x10, x24
	ldr	x10, [x10, #88]
	lsl	w8, w8, #3
	stp	w9, w8, [x10]
	ldr	w8, [sp, #184]
	str	w8, [x10, #20]
	ldr	w8, [sp, #16]
	add	w9, w25, #12
	lsr	w8, w8, w9
	and	w8, w8, #0x1
	stp	w8, w27, [x10, #8]
	add	x1, x19, #6
	add	x0, sp, #144
	mov	w2, #6
	bl	_memcpy
	ldr	w8, [sp, #156]
	asr	w9, w8, #29
	ldr	x10, [x21, #56]
	add	x10, x10, x24
	ldr	x10, [x10, #88]
	lsl	w8, w8, #3
	stp	w9, w8, [x10, #24]
	ldr	w8, [sp, #184]
	str	w8, [x10, #44]
	ldr	w8, [sp, #16]
	add	w9, w25, #13
	lsr	w8, w8, w9
	and	w8, w8, #0x1
	stp	w8, w27, [x10, #32]
	add	x1, x19, #12
	add	x0, sp, #144
	mov	w2, #6
	bl	_memcpy
	ldr	w8, [sp, #156]
	ldr	w9, [sp, #184]
	asr	w10, w8, #29
	ldr	x11, [x21, #56]
	add	x11, x11, x24
	ldr	x11, [x11, #88]
	lsl	w8, w8, #3
	stp	w10, w8, [x11, #48]
	str	w9, [x11, #68]
	ldr	w8, [sp, #16]
	add	w9, w25, #14
	lsr	w8, w8, w9
	and	w8, w8, #0x1
	stp	w8, w27, [x11, #56]
	add	x1, x19, #18
	add	x0, sp, #144
	mov	w2, #6
	bl	_memcpy
	ldr	w8, [sp, #156]
	ldr	w9, [sp, #184]
	asr	w10, w8, #29
	ldr	x11, [x21, #56]
	add	x11, x11, x24
	ldr	x12, [x11, #88]
	lsl	w8, w8, #3
	stp	w10, w8, [x12, #72]
	str	w9, [x12, #92]
	ldr	w8, [sp, #16]
	add	w9, w25, #15
	lsr	w8, w8, w9
	and	w8, w8, #0x1
	stp	w8, w27, [x12, #80]
	ldr	x8, [x20]
	mov	w9, #24
	madd	x8, x8, x9, x12
	str	w27, [x8, #16]
	ldr	x8, [sp, #96]
	add	x8, x8, x25
	ldr	w9, [x8, #12]
	str	w9, [x11, #72]
	and	x10, x9, #0x7ff
	asr	w12, w9, #11
	ldr	x8, [x22]
	ubfx	x9, x9, #5, #6
	and	x9, x9, #0x3c
	ldr	w9, [x8, x9]
	orr	w9, w9, w12, lsl #2
	str	w9, [x11, #76]
	ldr	x9, [x23]
	lsl	w10, w10, #1
	ldr	w10, [x9, w10, uxtw #2]
	sub	w12, w28, w12
	asr	w10, w10, w12
	str	w10, [x11, #80]
	add	x25, x25, #4
	add	x24, x24, #24
	cmp	x24, #72
	b.ne	LBB0_8
; %bb.9:
	mov	w0, #0
	ldr	x10, [sp, #104]
	ldp	x11, x12, [x21, #8]
	ldr	x13, [x21, #24]
	ldr	w14, [x10]
	str	w14, [x11]
	and	x15, x14, #0x7ff
	ubfx	x16, x14, #5, #6
	and	x16, x16, #0x3c
	ldr	w16, [x8, x16]
	asr	w14, w14, #11
	orr	w16, w16, w14, lsl #2
	str	w16, [x12]
	lsl	w15, w15, #1
	ldr	w15, [x9, w15, uxtw #2]
	mov	w16, #7
	sub	w14, w16, w14
	asr	w14, w15, w14
	str	w14, [x13]
	ldr	w14, [x10, #4]
	str	w14, [x11, #4]
	asr	w15, w14, #11
	ubfx	x17, x14, #5, #6
	and	x17, x17, #0x3c
	ldr	w17, [x8, x17]
	orr	w17, w17, w15, lsl #2
	str	w17, [x12, #4]
	and	x14, x14, #0x7ff
	lsl	w14, w14, #1
	ldr	w14, [x9, w14, uxtw #2]
	sub	w15, w16, w15
	asr	w14, w14, w15
	str	w14, [x13, #4]
	ldr	w10, [x10, #8]
	str	w10, [x11, #8]
	and	x11, x10, #0x7ff
	asr	w14, w10, #11
	ubfx	x10, x10, #5, #6
	and	x10, x10, #0x3c
	ldr	w8, [x8, x10]
	orr	w8, w8, w14, lsl #2
	str	w8, [x12, #8]
	lsl	w8, w11, #1
	ldr	w8, [x9, w8, uxtw #2]
	sub	w9, w16, w14
	asr	w8, w8, w9
	str	w8, [x13, #8]
	b	LBB0_11
LBB0_10:
	mov	w0, #-1
LBB0_11:
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #272]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #256]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #240]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #224]            ; 16-byte Folded Reload
	add	sp, sp, #320
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ym2612,72,3                    ; @ym2612
	.comm	_g_lfo_ampm,4,2                 ; @g_lfo_ampm
	.comm	_SLOT1,8,3                      ; @SLOT1
	.comm	_opn_fktable,8,3                ; @opn_fktable
	.comm	_fn_table,8,3                   ; @fn_table
.subsections_via_symbols
