	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function insert_queue
_insert_queue:                          ## @insert_queue
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	callq	_snd_seq_oss_process_timer_event
	xorl	%r15d, %r15d
	testq	%rax, %rax
	jne	LBB0_9
## %bb.1:
	leaq	-48(%rbp), %r13
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_SNDRV_SEQ_EVENT_NOTEOFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	16(%rbx), %ecx
	movl	20(%rbx), %edx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_snd_seq_oss_fill_addr
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_snd_seq_oss_process_event
	testq	%rax, %rax
	jne	LBB0_9
## %bb.2:
	movq	8(%rbx), %rdi
	callq	_snd_seq_oss_timer_cur_tick
	movl	%eax, -48(%rbp)
	movq	8(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_3
LBB0_4:
	leaq	-48(%rbp), %rsi
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_snd_seq_oss_dispatch
	jmp	LBB0_9
LBB0_3:
	cmpl	$0, (%rax)
	je	LBB0_4
## %bb.5:
	movl	4(%rbx), %edi
	callq	_is_nonblock_mode
	movl	(%rbx), %edi
	leaq	-48(%rbp), %rsi
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_snd_seq_kernel_client_enqueue
	jmp	LBB0_8
LBB0_7:
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_snd_seq_kernel_client_enqueue_blocking
LBB0_8:
	movl	%eax, %r15d
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_SEQ_EVENT_NOTEOFF,4,2    ## @SNDRV_SEQ_EVENT_NOTEOFF
	.no_dead_strip	_insert_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function insert_queue
_insert_queue:                          ; @insert_queue
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x0, [x0, #8]
	bl	_snd_seq_oss_process_timer_event
	cbz	x0, LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh0:
	adrp	x8, _SNDRV_SEQ_EVENT_NOTEOFF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_SEQ_EVENT_NOTEOFF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldp	w3, w2, [x20, #16]
	add	x1, sp, #8
	mov	x0, x20
	bl	_snd_seq_oss_fill_addr
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x21
	bl	_snd_seq_oss_process_event
	mov	x8, x0
	mov	w0, #0
	cbz	x8, LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_4:
	ldr	x0, [x20, #8]
	bl	_snd_seq_oss_timer_cur_tick
	str	w0, [sp, #8]
	ldr	x8, [x20, #8]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_6
LBB0_5:
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #0
	mov	w3, #0
	bl	_snd_seq_oss_dispatch
	b	LBB0_1
LBB0_6:
	ldr	w8, [x8]
	cbz	w8, LBB0_5
; %bb.7:
	ldr	w0, [x20, #4]
	bl	_is_nonblock_mode
	mov	x8, x0
	ldr	w0, [x20]
	add	x1, sp, #8
	cbz	x8, LBB0_9
; %bb.8:
	mov	w2, #0
	mov	w3, #0
	bl	_snd_seq_kernel_client_enqueue
	b	LBB0_3
LBB0_9:
	mov	x2, x19
	mov	w3, #0
	mov	w4, #0
	bl	_snd_seq_kernel_client_enqueue_blocking
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_SEQ_EVENT_NOTEOFF,4,2    ; @SNDRV_SEQ_EVENT_NOTEOFF
	.no_dead_strip	_insert_queue
.subsections_via_symbols
