	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_emu8000_tweak_voice
_snd_emu8000_tweak_voice:               ## @snd_emu8000_tweak_voice
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	$32768, %edx                    ## imm = 0x8000
	callq	_EMU8000_ENVVOL_WRITE
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$32768, %edx                    ## imm = 0x8000
	callq	_EMU8000_ENVVAL_WRITE
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$32639, %edx                    ## imm = 0x7F7F
	callq	_EMU8000_DCYSUS_WRITE
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$32639, %edx                    ## imm = 0x7F7F
	callq	_EMU8000_ATKHLDV_WRITE
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$32639, %edx                    ## imm = 0x7F7F
	callq	_EMU8000_ATKHLD_WRITE
	movq	%rbx, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_EMU8000_PEFE_WRITE
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$32768, %edx                    ## imm = 0x8000
	callq	_EMU8000_LFO1VAL_WRITE
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$32768, %edx                    ## imm = 0x8000
	callq	_EMU8000_LFO2VAL_WRITE
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$57344, %edx                    ## imm = 0xE000
	callq	_EMU8000_IP_WRITE
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$65280, %edx                    ## imm = 0xFF00
	callq	_EMU8000_IFATN_WRITE
	movq	%rbx, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_EMU8000_FMMOD_WRITE
	movq	%rbx, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_EMU8000_TREMFRQ_WRITE
	movq	%rbx, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_EMU8000_FM2FRQ2_WRITE          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_snd_emu8000_tweak_voice
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_emu8000_tweak_voice
_snd_emu8000_tweak_voice:               ; @snd_emu8000_tweak_voice
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	mov	w2, #32768
	bl	_EMU8000_ENVVOL_WRITE
	mov	x0, x20
	mov	x1, x19
	mov	w2, #32768
	bl	_EMU8000_ENVVAL_WRITE
	mov	x0, x20
	mov	x1, x19
	mov	w2, #32639
	bl	_EMU8000_DCYSUS_WRITE
	mov	x0, x20
	mov	x1, x19
	mov	w2, #32639
	bl	_EMU8000_ATKHLDV_WRITE
	mov	x0, x20
	mov	x1, x19
	mov	w2, #32639
	bl	_EMU8000_ATKHLD_WRITE
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_EMU8000_PEFE_WRITE
	mov	x0, x20
	mov	x1, x19
	mov	w2, #32768
	bl	_EMU8000_LFO1VAL_WRITE
	mov	x0, x20
	mov	x1, x19
	mov	w2, #32768
	bl	_EMU8000_LFO2VAL_WRITE
	mov	x0, x20
	mov	x1, x19
	mov	w2, #57344
	bl	_EMU8000_IP_WRITE
	mov	x0, x20
	mov	x1, x19
	mov	w2, #65280
	bl	_EMU8000_IFATN_WRITE
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_EMU8000_FMMOD_WRITE
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_EMU8000_TREMFRQ_WRITE
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_EMU8000_FM2FRQ2_WRITE
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_snd_emu8000_tweak_voice
.subsections_via_symbols
