	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_emux_note_off              ## -- Begin function snd_emux_note_off
	.p2align	4, 0x90
_snd_emux_note_off:                     ## @snd_emux_note_off
	.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	%rcx, %r13
	movl	%esi, %r14d
	movq	%rdi, %rbx
	testq	%rdi, %rdi
	sete	%al
	testq	%rcx, %rcx
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_snd_BUG_ON
	testq	%rax, %rax
	jne	LBB0_16
## %bb.1:
	movq	(%rbx), %r12
	testq	%r12, %r12
	je	LBB0_2
## %bb.3:
	xorl	%edi, %edi
	cmpq	$0, 16(%r12)
	sete	%dil
	jmp	LBB0_4
LBB0_2:
	movl	$1, %edi
LBB0_4:
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_5
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	leaq	8(%r12), %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	cmpl	$0, (%r12)
	jle	LBB0_15
## %bb.6:
	leaq	24(%r12), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_7
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	%r15, %rbx
	movq	%rbx, %rdi
	callq	*16(%r12)
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%r14
	movslq	(%r12), %rax
	addq	$32, %r15
	cmpq	%rax, %r14
	jge	LBB0_15
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r12), %rbx
	movl	16(%rbx,%r15), %edi
	callq	_STATE_IS_PLAYING
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	%r13, 24(%rbx,%r15)
	jne	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, (%rbx,%r15)
	jne	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_SNDRV_EMUX_ST_RELEASED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx,%r15)
	movq	8(%rbx,%r15), %rax
	movq	_jiffies@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_SNDRV_EMUX_ST_PENDING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rbx,%r15)
	cmpl	$0, 4(%r12)
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	incq	%rax
	movq	%rax, 24(%r12)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_add_timer
	movl	$1, 4(%r12)
	jmp	LBB0_14
LBB0_15:
	movq	-64(%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_RELEASED,4,2     ## @SNDRV_EMUX_ST_RELEASED
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_SNDRV_EMUX_ST_PENDING,4,2      ## @SNDRV_EMUX_ST_PENDING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_emux_note_off              ; -- Begin function snd_emux_note_off
	.p2align	2
_snd_emux_note_off:                     ; @snd_emux_note_off
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x1
	mov	x21, x0
	cmp	x0, #0
	ccmp	x3, #0, #4, ne
	cset	w0, eq
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	x24, [x21]
	cbz	x24, LBB0_4
; %bb.2:
	ldr	x8, [x24, #16]
	cmp	x8, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbz	x0, LBB0_5
LBB0_3:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_4:
	mov	w0, #1
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_3
LBB0_5:
	add	x21, x24, #8
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.6:
	mov	x25, #0
	mov	x26, #0
Lloh0:
	adrp	x27, _SNDRV_EMUX_ST_RELEASED@GOTPAGE
Lloh1:
	ldr	x27, [x27, _SNDRV_EMUX_ST_RELEASED@GOTPAGEOFF]
	add	x8, x24, #24
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
Lloh2:
	adrp	x28, _jiffies@GOTPAGE
Lloh3:
	ldr	x28, [x28, _jiffies@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x24, #16]
	mov	x0, x23
	blr	x8
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x26, x26, #1
	ldrsw	x8, [x24]
	add	x25, x25, #32
	cmp	x26, x8
	b.ge	LBB0_15
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x24, #32]
	add	x23, x22, x25
	ldr	w0, [x23, #16]
	bl	_STATE_IS_PLAYING
	cbz	x0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x23, #24]
	cmp	x8, x19
	b.ne	LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x22, x25]
	cmp	w8, w20
	b.ne	LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x27]
	str	w8, [x23, #16]
	add	x8, x22, x25
	ldr	x8, [x8, #8]
	ldr	x9, [x28]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
Lloh4:
	adrp	x9, _SNDRV_EMUX_ST_PENDING@GOTPAGE
Lloh5:
	ldr	x9, [x9, _SNDRV_EMUX_ST_PENDING@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	str	w9, [x23, #16]
	ldr	w9, [x24, #4]
	cbnz	w9, LBB0_8
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x8, x8, #1
	str	x8, [x24, #24]
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_add_timer
	mov	w8, #1
	str	w8, [x24, #4]
	b	LBB0_8
LBB0_15:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_EMUX_ST_RELEASED,4,2     ; @SNDRV_EMUX_ST_RELEASED
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_SNDRV_EMUX_ST_PENDING,4,2      ; @SNDRV_EMUX_ST_PENDING
.subsections_via_symbols
