	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_emux_sounds_off_all        ## -- Begin function snd_emux_sounds_off_all
	.p2align	4, 0x90
_snd_emux_sounds_off_all:               ## @snd_emux_sounds_off_all
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	jne	LBB0_17
## %bb.1:
	movq	(%rbx), %r12
	testq	%r12, %r12
	je	LBB0_2
## %bb.3:
	xorl	%edi, %edi
	cmpl	$0, 24(%r12)
	sete	%dil
	jmp	LBB0_4
LBB0_2:
	movl	$1, %edi
LBB0_4:
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_5
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	leaq	4(%r12), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	cmpl	$0, (%r12)
	jle	LBB0_16
## %bb.6:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	addq	$16, %r15
	cmpq	%rax, %rbx
	jge	LBB0_16
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r12), %r14
	leaq	(%r14,%r15), %r13
	movq	(%r14,%r15), %rdi
	callq	_STATE_IS_PLAYING
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, 8(%r14,%r15)
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_terminate_voice
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r14,%r15), %rax
	movq	_SNDRV_EMUX_ST_OFF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%r12), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %rdi
	callq	*%rax
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%r12), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	*%rax
	jmp	LBB0_15
LBB0_16:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_EMUX_ST_OFF,8,3          ## @SNDRV_EMUX_ST_OFF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_emux_sounds_off_all        ; -- Begin function snd_emux_sounds_off_all
	.p2align	2
_snd_emux_sounds_off_all:               ; @snd_emux_sounds_off_all
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	x20, [x19]
	cbz	x20, LBB0_4
; %bb.2:
	ldr	w8, [x20, #24]
	cmp	w8, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbz	x0, LBB0_5
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	w0, #1
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_3
LBB0_5:
	add	x21, x20, #4
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.6:
	mov	x24, #0
	mov	x22, #0
Lloh0:
	adrp	x25, _SNDRV_EMUX_ST_OFF@GOTPAGE
Lloh1:
	ldr	x25, [x25, _SNDRV_EMUX_ST_OFF@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x24, x24, #16
	cmp	x22, x8
	b.ge	LBB0_16
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x20, #32]
	add	x23, x26, x24
	ldr	x0, [x23]
	bl	_STATE_IS_PLAYING
	cbz	x0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x23, #8]
	cmp	x8, x19
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x20
	mov	x1, x23
	mov	w2, #0
	bl	_terminate_voice
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x26, x24]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	blr	x8
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_7
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x20
	mov	x1, x22
	blr	x8
	b	LBB0_7
LBB0_16:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_EMUX_ST_OFF,8,3          ; @SNDRV_EMUX_ST_OFF
.subsections_via_symbols
