	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_emu10k1_voice_clear_loop_stop ## -- Begin function snd_emu10k1_voice_clear_loop_stop
	.p2align	4, 0x90
_snd_emu10k1_voice_clear_loop_stop:     ## @snd_emu10k1_voice_clear_loop_stop
	.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
	callq	_spin_lock_irqsave
	cmpl	$32, %r14d
	jb	LBB0_2
## %bb.1:
	movq	_SOLEH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shll	$16, %edi
	movq	_PTR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_outl
	movq	_DATA@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	callq	_inl
	addl	$-32, %r14d
	jmp	LBB0_3
LBB0_2:
	movq	_SOLEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shll	$16, %edi
	movq	_PTR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_outl
	movq	_DATA@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	callq	_inl
LBB0_3:
	btrl	%r14d, %eax
	movq	_DATA@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	8(%rbx), %rsi
	movl	%eax, %edi
	callq	_outl
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SOLEH,4,2                      ## @SOLEH
	.comm	_PTR,8,3                        ## @PTR
	.comm	_DATA,8,3                       ## @DATA
	.comm	_SOLEL,4,2                      ## @SOLEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_emu10k1_voice_clear_loop_stop ; -- Begin function snd_emu10k1_voice_clear_loop_stop
	.p2align	2
_snd_emu10k1_voice_clear_loop_stop:     ; @snd_emu10k1_voice_clear_loop_stop
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x21, _DATA@GOTPAGE
Lloh1:
	ldr	x21, [x21, _DATA@GOTPAGEOFF]
	subs	w22, w20, #32
	b.lo	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _SOLEH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SOLEH@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	lsl	w0, w8, #16
	ldr	x8, [x19, #8]
Lloh5:
	adrp	x9, _PTR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PTR@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_outl
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_inl
	mov	x20, x22
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _SOLEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SOLEL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	lsl	w0, w8, #16
	ldr	x8, [x19, #8]
Lloh11:
	adrp	x9, _PTR@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PTR@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_outl
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_inl
LBB0_3:
	mov	w8, #1
	lsl	w8, w8, w20
	bic	w0, w0, w8
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_outl
	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	_spin_unlock_irqrestore
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SOLEH,4,2                      ; @SOLEH
	.comm	_PTR,8,3                        ; @PTR
	.comm	_DATA,8,3                       ; @DATA
	.comm	_SOLEL,4,2                      ; @SOLEL
.subsections_via_symbols
