	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OPLL_writeReg                  ## -- Begin function OPLL_writeReg
	.p2align	4, 0x90
_OPLL_writeReg:                         ## @OPLL_writeReg
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	andl	$63, %ebx
	cmpl	$53, %ebx
	ja	LBB0_10
## %bb.1:
	movl	%edx, %r15d
	movq	%rdi, %r14
	movzbl	%r15b, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_64:
	addl	$-16, %ebx
	movq	8(%r14), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movq	16(%r14), %rcx
	movl	(%rcx,%rbx,4), %edx
	andl	$1, %edx
	shll	$8, %edx
	orl	%eax, %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_setFnumber
	jmp	LBB0_65
LBB0_66:
	addl	$-32, %ebx
	movq	16(%r14), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	%r15d, %edx
	andl	$1, %edx
	shll	$8, %edx
	movq	8(%r14), %rax
	addl	(%rax,%rbx,4), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_setFnumber
	movl	%r15d, %edx
	shrl	%edx
	andl	$7, %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_setBlock
	movl	%r15d, %edx
	shrl	$5, %edx
	andl	$1, %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_setSustine
	movq	%r14, %rdi
	movl	%ebx, %esi
	testb	$16, %r15b
	jne	LBB0_67
## %bb.68:
	callq	_keyOff
	jmp	LBB0_69
LBB0_70:
	movq	24(%r14), %rcx
	addl	$-48, %ebx
	movl	%eax, (%rcx,%rbx,4)
	movl	%r15d, %edx
	shrl	$4, %edx
	andl	$15, %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_setInstrument
	shll	$2, %r15d
	andl	$60, %r15d
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	callq	_setVolume
LBB0_65:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_MOD
	movl	%eax, %edi
	callq	_UPDATE_ALL
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_CAR
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_UPDATE_ALL                     ## TAILCALL
LBB0_67:
	callq	_keyOn
LBB0_69:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_MOD
	movl	%eax, %edi
	callq	_UPDATE_ALL
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_CAR
	movl	%eax, %edi
	callq	_UPDATE_ALL
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_update_key_status              ## TAILCALL
LBB0_2:
	movq	(%r14), %rcx
	movl	%eax, (%rcx)
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	$6, %rbx
	je	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r14), %rax
	cmpl	$0, (%rax,%rbx,4)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_setInstrument
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_MOD
	movl	%eax, %edi
	callq	_UPDATE_PG
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_MOD
	movl	%eax, %edi
	callq	_UPDATE_RKS
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_MOD
	movl	%eax, %edi
	callq	_UPDATE_EG
	jmp	LBB0_5
LBB0_6:
	movq	(%r14), %rcx
	movl	%eax, 4(%rcx)
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	cmpq	$6, %rbx
	je	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r14), %rax
	cmpl	$0, (%rax,%rbx,4)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_setInstrument
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_CAR
	movl	%eax, %edi
	callq	_UPDATE_PG
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_CAR
	movl	%eax, %edi
	callq	_UPDATE_RKS
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_CAR
	movl	%eax, %edi
	callq	_UPDATE_EG
	jmp	LBB0_9
LBB0_11:
	movq	(%r14), %rcx
	movl	%eax, 8(%rcx)
	movq	32(%r14), %rax
	cmpl	$0, (%rax)
	je	LBB0_12
## %bb.13:
	cmpl	$0, 4(%rax)
	je	LBB0_14
LBB0_15:
	cmpl	$0, 8(%rax)
	je	LBB0_16
LBB0_17:
	cmpl	$0, 12(%rax)
	je	LBB0_18
LBB0_19:
	cmpl	$0, 16(%rax)
	je	LBB0_20
LBB0_21:
	cmpl	$0, 20(%rax)
	jne	LBB0_10
	jmp	LBB0_22
LBB0_23:
	movq	(%r14), %rcx
	movl	%eax, 12(%rcx)
	movq	32(%r14), %rax
	cmpl	$0, (%rax)
	je	LBB0_24
## %bb.25:
	cmpl	$0, 4(%rax)
	je	LBB0_26
LBB0_27:
	cmpl	$0, 8(%rax)
	je	LBB0_28
LBB0_29:
	cmpl	$0, 12(%rax)
	je	LBB0_30
LBB0_31:
	cmpl	$0, 16(%rax)
	je	LBB0_32
LBB0_33:
	cmpl	$0, 20(%rax)
	jne	LBB0_10
	jmp	LBB0_34
LBB0_35:
	movq	(%r14), %rcx
	movl	%eax, 16(%rcx)
	jmp	LBB0_36
LBB0_49:
	movq	(%r14), %rcx
	movl	%eax, 20(%rcx)
	jmp	LBB0_50
LBB0_62:
	movq	(%r14), %rcx
	movl	%eax, 24(%rcx)
LBB0_36:
	movq	32(%r14), %rax
	cmpl	$0, (%rax)
	je	LBB0_37
## %bb.38:
	cmpl	$0, 4(%rax)
	je	LBB0_39
LBB0_40:
	cmpl	$0, 8(%rax)
	je	LBB0_41
LBB0_42:
	cmpl	$0, 12(%rax)
	je	LBB0_43
LBB0_44:
	cmpl	$0, 16(%rax)
	je	LBB0_45
LBB0_46:
	cmpl	$0, 20(%rax)
	jne	LBB0_10
	jmp	LBB0_47
LBB0_63:
	movq	(%r14), %rcx
	movl	%eax, 28(%rcx)
LBB0_50:
	movq	32(%r14), %rax
	cmpl	$0, (%rax)
	je	LBB0_51
## %bb.52:
	cmpl	$0, 4(%rax)
	je	LBB0_53
LBB0_54:
	cmpl	$0, 8(%rax)
	je	LBB0_55
LBB0_56:
	cmpl	$0, 12(%rax)
	je	LBB0_57
LBB0_58:
	cmpl	$0, 16(%rax)
	je	LBB0_59
LBB0_60:
	cmpl	$0, 20(%rax)
	jne	LBB0_10
	jmp	LBB0_61
LBB0_37:
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_setInstrument
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_MOD
	movl	%eax, %edi
	callq	_UPDATE_EG
	movq	32(%r14), %rax
	cmpl	$0, 4(%rax)
	jne	LBB0_40
LBB0_39:
	movq	%r14, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_setInstrument
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_MOD
	movl	%eax, %edi
	callq	_UPDATE_EG
	movq	32(%r14), %rax
	cmpl	$0, 8(%rax)
	jne	LBB0_42
LBB0_41:
	movq	%r14, %rdi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_setInstrument
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_MOD
	movl	%eax, %edi
	callq	_UPDATE_EG
	movq	32(%r14), %rax
	cmpl	$0, 12(%rax)
	jne	LBB0_44
LBB0_43:
	movq	%r14, %rdi
	movl	$3, %esi
	xorl	%edx, %edx
	callq	_setInstrument
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_MOD
	movl	%eax, %edi
	callq	_UPDATE_EG
	movq	32(%r14), %rax
	cmpl	$0, 16(%rax)
	jne	LBB0_46
LBB0_45:
	movq	%r14, %rdi
	movl	$4, %esi
	xorl	%edx, %edx
	callq	_setInstrument
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_MOD
	movl	%eax, %edi
	callq	_UPDATE_EG
	movq	32(%r14), %rax
	cmpl	$0, 20(%rax)
	jne	LBB0_10
LBB0_47:
	movq	%r14, %rdi
	movl	$5, %esi
	xorl	%edx, %edx
	callq	_setInstrument
	movq	%r14, %rdi
	movl	$5, %esi
	callq	_MOD
	jmp	LBB0_48
LBB0_51:
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_setInstrument
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_CAR
	movl	%eax, %edi
	callq	_UPDATE_EG
	movq	32(%r14), %rax
	cmpl	$0, 4(%rax)
	jne	LBB0_54
LBB0_53:
	movq	%r14, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_setInstrument
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_CAR
	movl	%eax, %edi
	callq	_UPDATE_EG
	movq	32(%r14), %rax
	cmpl	$0, 8(%rax)
	jne	LBB0_56
LBB0_55:
	movq	%r14, %rdi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_setInstrument
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_CAR
	movl	%eax, %edi
	callq	_UPDATE_EG
	movq	32(%r14), %rax
	cmpl	$0, 12(%rax)
	jne	LBB0_58
LBB0_57:
	movq	%r14, %rdi
	movl	$3, %esi
	xorl	%edx, %edx
	callq	_setInstrument
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_CAR
	movl	%eax, %edi
	callq	_UPDATE_EG
	movq	32(%r14), %rax
	cmpl	$0, 16(%rax)
	jne	LBB0_60
LBB0_59:
	movq	%r14, %rdi
	movl	$4, %esi
	xorl	%edx, %edx
	callq	_setInstrument
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_CAR
	movl	%eax, %edi
	callq	_UPDATE_EG
	movq	32(%r14), %rax
	cmpl	$0, 20(%rax)
	jne	LBB0_10
LBB0_61:
	movq	%r14, %rdi
	movl	$5, %esi
	xorl	%edx, %edx
	callq	_setInstrument
	movq	%r14, %rdi
	movl	$5, %esi
	callq	_CAR
LBB0_48:
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_UPDATE_EG                      ## TAILCALL
LBB0_12:
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_setInstrument
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_MOD
	movl	%eax, %edi
	callq	_UPDATE_TLL
	movq	32(%r14), %rax
	cmpl	$0, 4(%rax)
	jne	LBB0_15
LBB0_14:
	movq	%r14, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_setInstrument
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_MOD
	movl	%eax, %edi
	callq	_UPDATE_TLL
	movq	32(%r14), %rax
	cmpl	$0, 8(%rax)
	jne	LBB0_17
LBB0_16:
	movq	%r14, %rdi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_setInstrument
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_MOD
	movl	%eax, %edi
	callq	_UPDATE_TLL
	movq	32(%r14), %rax
	cmpl	$0, 12(%rax)
	jne	LBB0_19
LBB0_18:
	movq	%r14, %rdi
	movl	$3, %esi
	xorl	%edx, %edx
	callq	_setInstrument
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_MOD
	movl	%eax, %edi
	callq	_UPDATE_TLL
	movq	32(%r14), %rax
	cmpl	$0, 16(%rax)
	jne	LBB0_21
LBB0_20:
	movq	%r14, %rdi
	movl	$4, %esi
	xorl	%edx, %edx
	callq	_setInstrument
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_MOD
	movl	%eax, %edi
	callq	_UPDATE_TLL
	movq	32(%r14), %rax
	cmpl	$0, 20(%rax)
	jne	LBB0_10
LBB0_22:
	movq	%r14, %rdi
	movl	$5, %esi
	xorl	%edx, %edx
	callq	_setInstrument
	movq	%r14, %rdi
	movl	$5, %esi
	callq	_MOD
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_UPDATE_TLL                     ## TAILCALL
LBB0_24:
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_setInstrument
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_MOD
	movl	%eax, %edi
	callq	_UPDATE_WF
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_CAR
	movl	%eax, %edi
	callq	_UPDATE_WF
	movq	32(%r14), %rax
	cmpl	$0, 4(%rax)
	jne	LBB0_27
LBB0_26:
	movq	%r14, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_setInstrument
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_MOD
	movl	%eax, %edi
	callq	_UPDATE_WF
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_CAR
	movl	%eax, %edi
	callq	_UPDATE_WF
	movq	32(%r14), %rax
	cmpl	$0, 8(%rax)
	jne	LBB0_29
LBB0_28:
	movq	%r14, %rdi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_setInstrument
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_MOD
	movl	%eax, %edi
	callq	_UPDATE_WF
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_CAR
	movl	%eax, %edi
	callq	_UPDATE_WF
	movq	32(%r14), %rax
	cmpl	$0, 12(%rax)
	jne	LBB0_31
LBB0_30:
	movq	%r14, %rdi
	movl	$3, %esi
	xorl	%edx, %edx
	callq	_setInstrument
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_MOD
	movl	%eax, %edi
	callq	_UPDATE_WF
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_CAR
	movl	%eax, %edi
	callq	_UPDATE_WF
	movq	32(%r14), %rax
	cmpl	$0, 16(%rax)
	jne	LBB0_33
LBB0_32:
	movq	%r14, %rdi
	movl	$4, %esi
	xorl	%edx, %edx
	callq	_setInstrument
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_MOD
	movl	%eax, %edi
	callq	_UPDATE_WF
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_CAR
	movl	%eax, %edi
	callq	_UPDATE_WF
	movq	32(%r14), %rax
	cmpl	$0, 20(%rax)
	je	LBB0_34
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	movq	%r14, %rdi
	movl	$5, %esi
	xorl	%edx, %edx
	callq	_setInstrument
	movq	%r14, %rdi
	movl	$5, %esi
	callq	_MOD
	movl	%eax, %edi
	callq	_UPDATE_WF
	movq	%r14, %rdi
	movl	$5, %esi
	callq	_CAR
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_UPDATE_WF                      ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_35, LBB0_35-LJTI0_0
.set L0_0_set_49, LBB0_49-LJTI0_0
.set L0_0_set_62, LBB0_62-LJTI0_0
.set L0_0_set_63, LBB0_63-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_64, LBB0_64-LJTI0_0
.set L0_0_set_66, LBB0_66-LJTI0_0
.set L0_0_set_70, LBB0_70-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_11
	.long	L0_0_set_23
	.long	L0_0_set_35
	.long	L0_0_set_49
	.long	L0_0_set_62
	.long	L0_0_set_63
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_64
	.long	L0_0_set_64
	.long	L0_0_set_64
	.long	L0_0_set_64
	.long	L0_0_set_64
	.long	L0_0_set_64
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_66
	.long	L0_0_set_66
	.long	L0_0_set_66
	.long	L0_0_set_66
	.long	L0_0_set_66
	.long	L0_0_set_66
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_70
	.long	L0_0_set_70
	.long	L0_0_set_70
	.long	L0_0_set_70
	.long	L0_0_set_70
	.long	L0_0_set_70
	.end_data_region
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OPLL_writeReg                  ; -- Begin function OPLL_writeReg
	.p2align	2
_OPLL_writeReg:                         ; @OPLL_writeReg
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	and	w8, w1, #0x3f
	cmp	w8, #53
	b.hi	LBB0_69
; %bb.1:
	mov	x21, x2
	mov	x19, x0
	and	w2, w2, #0xff
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrh	w11, [x9, x8, lsl #1]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	sub	w20, w8, #16
	lsl	x8, x20, #2
	ldp	x9, x10, [x19, #8]
	str	w2, [x9, x8]
	ldr	w8, [x10, x8]
	bfi	w2, w8, #8, #1
	mov	x0, x19
	mov	x1, x20
	bl	_setFnumber
	mov	x0, x19
	mov	x1, x20
	bl	_MOD
	bl	_UPDATE_ALL
	mov	x0, x19
	mov	x1, x20
	b	LBB0_6
LBB0_3:
	sub	w20, w8, #32
	lsl	x8, x20, #2
	ldp	x10, x9, [x19, #8]
	str	w2, [x9, x8]
	ubfiz	w9, w21, #8, #1
	ldr	w8, [x10, x8]
	add	w2, w8, w9
	mov	x0, x19
	mov	x1, x20
	bl	_setFnumber
	ubfx	w2, w21, #1, #3
	mov	x0, x19
	mov	x1, x20
	bl	_setBlock
	ubfx	w2, w21, #5, #1
	mov	x0, x19
	mov	x1, x20
	bl	_setSustine
	mov	x0, x19
	mov	x1, x20
	tbnz	w21, #4, LBB0_7
; %bb.4:
	bl	_keyOff
	b	LBB0_8
LBB0_5:
	ldr	x9, [x19, #24]
	sub	w20, w8, #48
	str	w2, [x9, w20, uxtw #2]
	ubfx	w2, w21, #4, #4
	mov	x0, x19
	mov	x1, x20
	bl	_setInstrument
	ubfiz	w2, w21, #2, #4
	mov	x0, x19
	mov	x1, x20
	bl	_setVolume
	mov	x0, x19
	mov	x1, x20
	bl	_MOD
	bl	_UPDATE_ALL
	mov	x0, x19
	mov	x1, x20
LBB0_6:
	bl	_CAR
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_UPDATE_ALL
LBB0_7:
	bl	_keyOn
LBB0_8:
	mov	x0, x19
	mov	x1, x20
	bl	_MOD
	bl	_UPDATE_ALL
	mov	x0, x19
	mov	x1, x20
	bl	_CAR
	bl	_UPDATE_ALL
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_update_key_status
LBB0_9:
	mov	x20, #0
	ldr	x8, [x19]
	str	w2, [x8]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x20, x20, #1
	cmp	x20, #6
	b.eq	LBB0_69
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	ldr	w8, [x8, x20, lsl #2]
	cbnz	w8, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_setInstrument
	mov	x0, x19
	mov	x1, x20
	bl	_MOD
	bl	_UPDATE_PG
	mov	x0, x19
	mov	x1, x20
	bl	_MOD
	bl	_UPDATE_RKS
	mov	x0, x19
	mov	x1, x20
	bl	_MOD
	bl	_UPDATE_EG
	b	LBB0_10
LBB0_13:
	mov	x20, #0
	ldr	x8, [x19]
	str	w2, [x8, #4]
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x20, x20, #1
	cmp	x20, #6
	b.eq	LBB0_69
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	ldr	w8, [x8, x20, lsl #2]
	cbnz	w8, LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_setInstrument
	mov	x0, x19
	mov	x1, x20
	bl	_CAR
	bl	_UPDATE_PG
	mov	x0, x19
	mov	x1, x20
	bl	_CAR
	bl	_UPDATE_RKS
	mov	x0, x19
	mov	x1, x20
	bl	_CAR
	bl	_UPDATE_EG
	b	LBB0_14
LBB0_17:
	ldr	x8, [x19]
	str	w2, [x8, #8]
	ldr	x8, [x19, #32]
	ldr	w9, [x8]
	cbz	w9, LBB0_58
; %bb.18:
	ldr	w9, [x8, #4]
	cbz	w9, LBB0_59
LBB0_19:
	ldr	w9, [x8, #8]
	cbz	w9, LBB0_60
LBB0_20:
	ldr	w9, [x8, #12]
	cbz	w9, LBB0_61
LBB0_21:
	ldr	w9, [x8, #16]
	cbz	w9, LBB0_62
LBB0_22:
	ldr	w8, [x8, #20]
	cbnz	w8, LBB0_69
	b	LBB0_63
LBB0_23:
	ldr	x8, [x19]
	str	w2, [x8, #12]
	ldr	x8, [x19, #32]
	ldr	w9, [x8]
	cbz	w9, LBB0_64
; %bb.24:
	ldr	w9, [x8, #4]
	cbz	w9, LBB0_65
LBB0_25:
	ldr	w9, [x8, #8]
	cbz	w9, LBB0_66
LBB0_26:
	ldr	w9, [x8, #12]
	cbz	w9, LBB0_67
LBB0_27:
	ldr	w9, [x8, #16]
	cbz	w9, LBB0_68
LBB0_28:
	ldr	w8, [x8, #20]
	cbnz	w8, LBB0_69
	b	LBB0_70
LBB0_29:
	ldr	x8, [x19]
	str	w2, [x8, #16]
	b	LBB0_32
LBB0_30:
	ldr	x8, [x19]
	str	w2, [x8, #20]
	b	LBB0_39
LBB0_31:
	ldr	x8, [x19]
	str	w2, [x8, #24]
LBB0_32:
	ldr	x8, [x19, #32]
	ldr	w9, [x8]
	cbz	w9, LBB0_45
; %bb.33:
	ldr	w9, [x8, #4]
	cbz	w9, LBB0_46
LBB0_34:
	ldr	w9, [x8, #8]
	cbz	w9, LBB0_47
LBB0_35:
	ldr	w9, [x8, #12]
	cbz	w9, LBB0_48
LBB0_36:
	ldr	w9, [x8, #16]
	cbz	w9, LBB0_49
LBB0_37:
	ldr	w8, [x8, #20]
	cbnz	w8, LBB0_69
	b	LBB0_50
LBB0_38:
	ldr	x8, [x19]
	str	w2, [x8, #28]
LBB0_39:
	ldr	x8, [x19, #32]
	ldr	w9, [x8]
	cbz	w9, LBB0_51
; %bb.40:
	ldr	w9, [x8, #4]
	cbz	w9, LBB0_52
LBB0_41:
	ldr	w9, [x8, #8]
	cbz	w9, LBB0_53
LBB0_42:
	ldr	w9, [x8, #12]
	cbz	w9, LBB0_54
LBB0_43:
	ldr	w9, [x8, #16]
	cbz	w9, LBB0_55
LBB0_44:
	ldr	w8, [x8, #20]
	cbnz	w8, LBB0_69
	b	LBB0_56
LBB0_45:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_setInstrument
	mov	x0, x19
	mov	w1, #0
	bl	_MOD
	bl	_UPDATE_EG
	ldr	x8, [x19, #32]
	ldr	w9, [x8, #4]
	cbnz	w9, LBB0_34
LBB0_46:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_setInstrument
	mov	x0, x19
	mov	w1, #1
	bl	_MOD
	bl	_UPDATE_EG
	ldr	x8, [x19, #32]
	ldr	w9, [x8, #8]
	cbnz	w9, LBB0_35
LBB0_47:
	mov	x0, x19
	mov	w1, #2
	mov	w2, #0
	bl	_setInstrument
	mov	x0, x19
	mov	w1, #2
	bl	_MOD
	bl	_UPDATE_EG
	ldr	x8, [x19, #32]
	ldr	w9, [x8, #12]
	cbnz	w9, LBB0_36
LBB0_48:
	mov	x0, x19
	mov	w1, #3
	mov	w2, #0
	bl	_setInstrument
	mov	x0, x19
	mov	w1, #3
	bl	_MOD
	bl	_UPDATE_EG
	ldr	x8, [x19, #32]
	ldr	w9, [x8, #16]
	cbnz	w9, LBB0_37
LBB0_49:
	mov	x0, x19
	mov	w1, #4
	mov	w2, #0
	bl	_setInstrument
	mov	x0, x19
	mov	w1, #4
	bl	_MOD
	bl	_UPDATE_EG
	ldr	x8, [x19, #32]
	ldr	w8, [x8, #20]
	cbnz	w8, LBB0_69
LBB0_50:
	mov	x0, x19
	mov	w1, #5
	mov	w2, #0
	bl	_setInstrument
	mov	x0, x19
	mov	w1, #5
	bl	_MOD
	b	LBB0_57
LBB0_51:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_setInstrument
	mov	x0, x19
	mov	w1, #0
	bl	_CAR
	bl	_UPDATE_EG
	ldr	x8, [x19, #32]
	ldr	w9, [x8, #4]
	cbnz	w9, LBB0_41
LBB0_52:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_setInstrument
	mov	x0, x19
	mov	w1, #1
	bl	_CAR
	bl	_UPDATE_EG
	ldr	x8, [x19, #32]
	ldr	w9, [x8, #8]
	cbnz	w9, LBB0_42
LBB0_53:
	mov	x0, x19
	mov	w1, #2
	mov	w2, #0
	bl	_setInstrument
	mov	x0, x19
	mov	w1, #2
	bl	_CAR
	bl	_UPDATE_EG
	ldr	x8, [x19, #32]
	ldr	w9, [x8, #12]
	cbnz	w9, LBB0_43
LBB0_54:
	mov	x0, x19
	mov	w1, #3
	mov	w2, #0
	bl	_setInstrument
	mov	x0, x19
	mov	w1, #3
	bl	_CAR
	bl	_UPDATE_EG
	ldr	x8, [x19, #32]
	ldr	w9, [x8, #16]
	cbnz	w9, LBB0_44
LBB0_55:
	mov	x0, x19
	mov	w1, #4
	mov	w2, #0
	bl	_setInstrument
	mov	x0, x19
	mov	w1, #4
	bl	_CAR
	bl	_UPDATE_EG
	ldr	x8, [x19, #32]
	ldr	w8, [x8, #20]
	cbnz	w8, LBB0_69
LBB0_56:
	mov	x0, x19
	mov	w1, #5
	mov	w2, #0
	bl	_setInstrument
	mov	x0, x19
	mov	w1, #5
	bl	_CAR
LBB0_57:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_UPDATE_EG
LBB0_58:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_setInstrument
	mov	x0, x19
	mov	w1, #0
	bl	_MOD
	bl	_UPDATE_TLL
	ldr	x8, [x19, #32]
	ldr	w9, [x8, #4]
	cbnz	w9, LBB0_19
LBB0_59:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_setInstrument
	mov	x0, x19
	mov	w1, #1
	bl	_MOD
	bl	_UPDATE_TLL
	ldr	x8, [x19, #32]
	ldr	w9, [x8, #8]
	cbnz	w9, LBB0_20
LBB0_60:
	mov	x0, x19
	mov	w1, #2
	mov	w2, #0
	bl	_setInstrument
	mov	x0, x19
	mov	w1, #2
	bl	_MOD
	bl	_UPDATE_TLL
	ldr	x8, [x19, #32]
	ldr	w9, [x8, #12]
	cbnz	w9, LBB0_21
LBB0_61:
	mov	x0, x19
	mov	w1, #3
	mov	w2, #0
	bl	_setInstrument
	mov	x0, x19
	mov	w1, #3
	bl	_MOD
	bl	_UPDATE_TLL
	ldr	x8, [x19, #32]
	ldr	w9, [x8, #16]
	cbnz	w9, LBB0_22
LBB0_62:
	mov	x0, x19
	mov	w1, #4
	mov	w2, #0
	bl	_setInstrument
	mov	x0, x19
	mov	w1, #4
	bl	_MOD
	bl	_UPDATE_TLL
	ldr	x8, [x19, #32]
	ldr	w8, [x8, #20]
	cbnz	w8, LBB0_69
LBB0_63:
	mov	x0, x19
	mov	w1, #5
	mov	w2, #0
	bl	_setInstrument
	mov	x0, x19
	mov	w1, #5
	bl	_MOD
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_UPDATE_TLL
LBB0_64:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_setInstrument
	mov	x0, x19
	mov	w1, #0
	bl	_MOD
	bl	_UPDATE_WF
	mov	x0, x19
	mov	w1, #0
	bl	_CAR
	bl	_UPDATE_WF
	ldr	x8, [x19, #32]
	ldr	w9, [x8, #4]
	cbnz	w9, LBB0_25
LBB0_65:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_setInstrument
	mov	x0, x19
	mov	w1, #1
	bl	_MOD
	bl	_UPDATE_WF
	mov	x0, x19
	mov	w1, #1
	bl	_CAR
	bl	_UPDATE_WF
	ldr	x8, [x19, #32]
	ldr	w9, [x8, #8]
	cbnz	w9, LBB0_26
LBB0_66:
	mov	x0, x19
	mov	w1, #2
	mov	w2, #0
	bl	_setInstrument
	mov	x0, x19
	mov	w1, #2
	bl	_MOD
	bl	_UPDATE_WF
	mov	x0, x19
	mov	w1, #2
	bl	_CAR
	bl	_UPDATE_WF
	ldr	x8, [x19, #32]
	ldr	w9, [x8, #12]
	cbnz	w9, LBB0_27
LBB0_67:
	mov	x0, x19
	mov	w1, #3
	mov	w2, #0
	bl	_setInstrument
	mov	x0, x19
	mov	w1, #3
	bl	_MOD
	bl	_UPDATE_WF
	mov	x0, x19
	mov	w1, #3
	bl	_CAR
	bl	_UPDATE_WF
	ldr	x8, [x19, #32]
	ldr	w9, [x8, #16]
	cbnz	w9, LBB0_28
LBB0_68:
	mov	x0, x19
	mov	w1, #4
	mov	w2, #0
	bl	_setInstrument
	mov	x0, x19
	mov	w1, #4
	bl	_MOD
	bl	_UPDATE_WF
	mov	x0, x19
	mov	w1, #4
	bl	_CAR
	bl	_UPDATE_WF
	ldr	x8, [x19, #32]
	ldr	w8, [x8, #20]
	cbz	w8, LBB0_70
LBB0_69:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_70:
	mov	x0, x19
	mov	w1, #5
	mov	w2, #0
	bl	_setInstrument
	mov	x0, x19
	mov	w1, #5
	bl	_MOD
	bl	_UPDATE_WF
	mov	x0, x19
	mov	w1, #5
	bl	_CAR
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_UPDATE_WF
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
	.p2align	1
lJTI0_0:
	.short	(LBB0_9-LBB0_2)>>2
	.short	(LBB0_13-LBB0_2)>>2
	.short	(LBB0_17-LBB0_2)>>2
	.short	(LBB0_23-LBB0_2)>>2
	.short	(LBB0_29-LBB0_2)>>2
	.short	(LBB0_30-LBB0_2)>>2
	.short	(LBB0_31-LBB0_2)>>2
	.short	(LBB0_38-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_2-LBB0_2)>>2
	.short	(LBB0_2-LBB0_2)>>2
	.short	(LBB0_2-LBB0_2)>>2
	.short	(LBB0_2-LBB0_2)>>2
	.short	(LBB0_2-LBB0_2)>>2
	.short	(LBB0_2-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_3-LBB0_2)>>2
	.short	(LBB0_3-LBB0_2)>>2
	.short	(LBB0_3-LBB0_2)>>2
	.short	(LBB0_3-LBB0_2)>>2
	.short	(LBB0_3-LBB0_2)>>2
	.short	(LBB0_3-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_69-LBB0_2)>>2
	.short	(LBB0_5-LBB0_2)>>2
	.short	(LBB0_5-LBB0_2)>>2
	.short	(LBB0_5-LBB0_2)>>2
	.short	(LBB0_5-LBB0_2)>>2
	.short	(LBB0_5-LBB0_2)>>2
	.short	(LBB0_5-LBB0_2)>>2
                                        ; -- End function
.subsections_via_symbols
