	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_emu10k1_playback_stop_voice
_snd_emu10k1_playback_stop_voice:       ## @snd_emu10k1_playback_stop_voice
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	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
	movq	%rdi, %rbx
	movl	(%rsi), %r14d
	movl	%r14d, %esi
	callq	_snd_emu10k1_voice_intr_disable
	movq	_PTRX_PITCHTARGET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_snd_emu10k1_ptr_write
	movq	_CPF_CURRENTPITCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_snd_emu10k1_ptr_write
	movq	_IFATN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	$65535, %ecx                    ## imm = 0xFFFF
	callq	_snd_emu10k1_ptr_write
	movq	_VTFT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	$65535, %ecx                    ## imm = 0xFFFF
	callq	_snd_emu10k1_ptr_write
	movq	_CVCF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	$65535, %ecx                    ## imm = 0xFFFF
	callq	_snd_emu10k1_ptr_write
	movq	_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_snd_emu10k1_ptr_write          ## TAILCALL
LBB0_1:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PTRX_PITCHTARGET,4,2           ## @PTRX_PITCHTARGET
	.comm	_CPF_CURRENTPITCH,4,2           ## @CPF_CURRENTPITCH
	.comm	_IFATN,4,2                      ## @IFATN
	.comm	_VTFT,4,2                       ## @VTFT
	.comm	_CVCF,4,2                       ## @CVCF
	.comm	_IP,4,2                         ## @IP
	.no_dead_strip	_snd_emu10k1_playback_stop_voice
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_emu10k1_playback_stop_voice
_snd_emu10k1_playback_stop_voice:       ; @snd_emu10k1_playback_stop_voice
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_2
; %bb.1:
	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, x0
	ldr	w20, [x1]
	mov	x1, x20
	bl	_snd_emu10k1_voice_intr_disable
Lloh0:
	adrp	x8, _PTRX_PITCHTARGET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PTRX_PITCHTARGET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #0
	bl	_snd_emu10k1_ptr_write
Lloh3:
	adrp	x8, _CPF_CURRENTPITCH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CPF_CURRENTPITCH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #0
	bl	_snd_emu10k1_ptr_write
Lloh6:
	adrp	x8, _IFATN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IFATN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #65535
	bl	_snd_emu10k1_ptr_write
Lloh9:
	adrp	x8, _VTFT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VTFT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #65535
	bl	_snd_emu10k1_ptr_write
Lloh12:
	adrp	x8, _CVCF@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CVCF@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #65535
	bl	_snd_emu10k1_ptr_write
Lloh15:
	adrp	x8, _IP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IP@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_snd_emu10k1_ptr_write
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PTRX_PITCHTARGET,4,2           ; @PTRX_PITCHTARGET
	.comm	_CPF_CURRENTPITCH,4,2           ; @CPF_CURRENTPITCH
	.comm	_IFATN,4,2                      ; @IFATN
	.comm	_VTFT,4,2                       ; @VTFT
	.comm	_CVCF,4,2                       ; @CVCF
	.comm	_IP,4,2                         ; @IP
	.no_dead_strip	_snd_emu10k1_playback_stop_voice
.subsections_via_symbols
