	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_seq_fifo_cell_out          ## -- Begin function snd_seq_fifo_cell_out
	.p2align	4, 0x90
_snd_seq_fifo_cell_out:                 ## @snd_seq_fifo_cell_out
	.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
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	$0, (%r14)
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-52(%rbp), %r12
	movq	%r12, %rdi
	callq	_init_waitqueue_entry
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	leaq	4(%rbx), %r13
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_fifo_cell_out
	testq	%rax, %rax
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testl	%r15d, %r15d
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_TASK_INTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_set_current_state
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_add_wait_queue
	movq	%rbx, %rdi
	callq	_spin_unlock_irq
	xorl	%eax, %eax
	callq	_schedule
	movq	%rbx, %rdi
	callq	_spin_lock_irq
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_remove_wait_queue
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_signal_pending
	testq	%rax, %rax
	je	LBB0_4
## %bb.8:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	_ERESTARTSYS@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_9:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_6:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_current,4,2                    ## @current
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_TASK_INTERRUPTIBLE,4,2         ## @TASK_INTERRUPTIBLE
	.comm	_ERESTARTSYS,4,2                ## @ERESTARTSYS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_seq_fifo_cell_out          ; -- Begin function snd_seq_fifo_cell_out
	.p2align	2
_snd_seq_fifo_cell_out:                 ; @snd_seq_fifo_cell_out
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_4:
	str	xzr, [x20]
Lloh2:
	adrp	x24, _current@GOTPAGE
Lloh3:
	ldr	x24, [x24, _current@GOTPAGEOFF]
	ldr	w1, [x24]
	add	x0, sp, #12
	bl	_init_waitqueue_entry
	mov	x0, x19
	bl	_spin_lock_irqsave
	add	x22, x19, #4
Lloh4:
	adrp	x25, _TASK_INTERRUPTIBLE@GOTPAGE
Lloh5:
	ldr	x25, [x25, _TASK_INTERRUPTIBLE@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_fifo_cell_out
	cbnz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cbnz	w21, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x25]
	bl	_set_current_state
	add	x1, sp, #12
	mov	x0, x22
	bl	_add_wait_queue
	mov	x0, x19
	bl	_spin_unlock_irq
	bl	_schedule
	mov	x0, x19
	bl	_spin_lock_irq
	add	x1, sp, #12
	mov	x0, x22
	bl	_remove_wait_queue
	ldr	w0, [x24]
	bl	_signal_pending
	cbz	x0, LBB0_5
; %bb.8:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
Lloh6:
	adrp	x8, _ERESTARTSYS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERESTARTSYS@GOTPAGEOFF]
	b	LBB0_2
LBB0_9:
	mov	x23, x0
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	w0, #0
	str	x23, [x20]
	b	LBB0_3
LBB0_10:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
Lloh8:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_current,4,2                    ; @current
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_TASK_INTERRUPTIBLE,4,2         ; @TASK_INTERRUPTIBLE
	.comm	_ERESTARTSYS,4,2                ; @ERESTARTSYS
.subsections_via_symbols
