	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_seq_fifo_delete            ## -- Begin function snd_seq_fifo_delete
	.p2align	4, 0x90
_snd_seq_fifo_delete:                   ## @snd_seq_fifo_delete
	.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
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	movq	(%rbx), %r14
	xorl	%edi, %edi
	testq	%r14, %r14
	sete	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_2
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	$0, (%rbx)
	movq	%r14, %rdi
	callq	_snd_seq_fifo_clear
	leaq	8(%r14), %rbx
	movq	%rbx, %rdi
	callq	_waitqueue_active
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_wake_up
LBB0_4:
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_snd_seq_pool_done
	movq	%r14, %rdi
	callq	_snd_seq_pool_delete
LBB0_6:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_seq_fifo_delete            ; -- Begin function snd_seq_fifo_delete
	.p2align	2
_snd_seq_fifo_delete:                   ; @snd_seq_fifo_delete
	.cfi_startproc
; %bb.0:
	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	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x19, [x20]
	cmp	x19, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbz	x0, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	str	xzr, [x20]
	mov	x0, x19
	bl	_snd_seq_fifo_clear
	add	x20, x19, #8
	mov	x0, x20
	bl	_waitqueue_active
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_wake_up
LBB0_5:
	ldr	x0, [x19]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_snd_seq_pool_done
	mov	x0, x19
	bl	_snd_seq_pool_delete
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
