	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function seq_timing_event
_seq_timing_event:                      ## @seq_timing_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rsi
	movq	_seq_mode@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_SEQ_2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	_tmr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_tmr_no@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	callq	*(%rax)
	movl	%eax, %ebx
	movq	_TIMER_ARMED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_15
## %bb.2:
	movq	_SEQ_MAX_QUEUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_qlen@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	movq	_output_threshold@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_15
## %bb.3:
	movq	_seq_sleeper@GOTPCREL(%rip), %rdi
	callq	_wake_up
	jmp	LBB0_15
LBB0_4:
	movb	1(%rsi), %cl
	addb	$-128, %cl
	cmpb	$5, %cl
	ja	LBB0_13
## %bb.5:
	movl	4(%rsi), %eax
	movzbl	%cl, %ecx
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_6:
	movq	_prev_event_time@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	movl	%eax, -12(%rbp)
LBB0_7:
	testl	%eax, %eax
	je	LBB0_13
## %bb.8:
	movl	%eax, %edi
	movq	_prev_event_time@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_seq_playing@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	callq	_request_sound_timer
	movq	_SEQ_MAX_QUEUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_qlen@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	movq	_output_threshold@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_10
## %bb.9:
	movq	_seq_sleeper@GOTPCREL(%rip), %rdi
	callq	_wake_up
LBB0_10:
	movq	_TIMER_ARMED@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_11:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_seq_time@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_prev_input_time@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_prev_event_time@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	jmp	LBB0_13
LBB0_12:
	shll	$8, %eax
	movq	_SEQ_ECHO@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -12(%rbp)
	leaq	-12(%rbp), %rdi
	movl	$4, %esi
	callq	_seq_copy_to_input
LBB0_13:
	movq	_TIMER_NOT_ARMED@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_11
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_seq_mode,8,3                   ## @seq_mode
	.comm	_SEQ_2,8,3                      ## @SEQ_2
	.comm	_tmr,8,3                        ## @tmr
	.comm	_tmr_no,4,2                     ## @tmr_no
	.comm	_TIMER_ARMED,4,2                ## @TIMER_ARMED
	.comm	_SEQ_MAX_QUEUE,8,3              ## @SEQ_MAX_QUEUE
	.comm	_qlen,8,3                       ## @qlen
	.comm	_output_threshold,8,3           ## @output_threshold
	.comm	_seq_sleeper,4,2                ## @seq_sleeper
	.comm	_prev_event_time,4,2            ## @prev_event_time
	.comm	_seq_playing,4,2                ## @seq_playing
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_seq_time,4,2                   ## @seq_time
	.comm	_prev_input_time,4,2            ## @prev_input_time
	.comm	_SEQ_ECHO,4,2                   ## @SEQ_ECHO
	.comm	_TIMER_NOT_ARMED,4,2            ## @TIMER_NOT_ARMED
	.no_dead_strip	_seq_timing_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function seq_timing_event
_seq_timing_event:                      ; @seq_timing_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x1, x0
Lloh0:
	adrp	x8, _seq_mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _seq_mode@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _SEQ_2@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SEQ_2@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
Lloh6:
	adrp	x8, _tmr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tmr@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _tmr_no@GOTPAGE
Lloh10:
	ldr	x9, [x9, _tmr_no@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x9]
	blr	x8
	mov	x19, x0
Lloh12:
	adrp	x8, _TIMER_ARMED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TIMER_ARMED@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_15
; %bb.2:
Lloh15:
	adrp	x8, _SEQ_MAX_QUEUE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SEQ_MAX_QUEUE@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x9, _qlen@GOTPAGE
Lloh19:
	ldr	x9, [x9, _qlen@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
Lloh21:
	adrp	x10, _output_threshold@GOTPAGE
Lloh22:
	ldr	x10, [x10, _output_threshold@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	sub	x8, x8, x9
	cmp	x8, x10
	b.lt	LBB0_15
; %bb.3:
Lloh24:
	adrp	x0, _seq_sleeper@GOTPAGE
Lloh25:
	ldr	x0, [x0, _seq_sleeper@GOTPAGEOFF]
	bl	_wake_up
	b	LBB0_15
LBB0_4:
	ldrb	w8, [x1, #1]
	sub	w9, w8, #128
	cmp	w9, #5
	b.hi	LBB0_13
; %bb.5:
	ldr	w8, [x1, #4]
Lloh26:
	adrp	x10, lJTI0_0@PAGE
Lloh27:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_6
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_6:
Lloh28:
	adrp	x9, _prev_event_time@GOTPAGE
Lloh29:
	ldr	x9, [x9, _prev_event_time@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	add	w8, w9, w8
	str	w8, [sp, #12]
LBB0_7:
	cbz	w8, LBB0_13
; %bb.8:
Lloh31:
	adrp	x9, _prev_event_time@GOTPAGE
Lloh32:
	ldr	x9, [x9, _prev_event_time@GOTPAGEOFF]
	mov	w0, w8
Lloh33:
	str	w8, [x9]
Lloh34:
	adrp	x8, _seq_playing@GOTPAGE
Lloh35:
	ldr	x8, [x8, _seq_playing@GOTPAGEOFF]
	mov	w9, #1
Lloh36:
	str	w9, [x8]
	bl	_request_sound_timer
Lloh37:
	adrp	x8, _SEQ_MAX_QUEUE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _SEQ_MAX_QUEUE@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
Lloh40:
	adrp	x9, _qlen@GOTPAGE
Lloh41:
	ldr	x9, [x9, _qlen@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
Lloh43:
	adrp	x10, _output_threshold@GOTPAGE
Lloh44:
	ldr	x10, [x10, _output_threshold@GOTPAGEOFF]
Lloh45:
	ldr	x10, [x10]
	sub	x8, x8, x9
	cmp	x8, x10
	b.lt	LBB0_10
; %bb.9:
Lloh46:
	adrp	x0, _seq_sleeper@GOTPAGE
Lloh47:
	ldr	x0, [x0, _seq_sleeper@GOTPAGEOFF]
	bl	_wake_up
LBB0_10:
Lloh48:
	adrp	x8, _TIMER_ARMED@GOTPAGE
Lloh49:
	ldr	x8, [x8, _TIMER_ARMED@GOTPAGEOFF]
	b	LBB0_14
LBB0_11:
Lloh50:
	adrp	x8, _jiffies@GOTPAGE
Lloh51:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
Lloh53:
	adrp	x9, _seq_time@GOTPAGE
Lloh54:
	ldr	x9, [x9, _seq_time@GOTPAGEOFF]
Lloh55:
	str	w8, [x9]
Lloh56:
	adrp	x8, _prev_input_time@GOTPAGE
Lloh57:
	ldr	x8, [x8, _prev_input_time@GOTPAGEOFF]
Lloh58:
	str	wzr, [x8]
Lloh59:
	adrp	x8, _prev_event_time@GOTPAGE
Lloh60:
	ldr	x8, [x8, _prev_event_time@GOTPAGEOFF]
Lloh61:
	str	wzr, [x8]
	b	LBB0_13
LBB0_12:
Lloh62:
	adrp	x9, _SEQ_ECHO@GOTPAGE
Lloh63:
	ldr	x9, [x9, _SEQ_ECHO@GOTPAGEOFF]
Lloh64:
	ldr	w9, [x9]
	orr	w8, w9, w8, lsl #8
	str	w8, [sp, #12]
	add	x0, sp, #12
	mov	w1, #4
	bl	_seq_copy_to_input
LBB0_13:
Lloh65:
	adrp	x8, _TIMER_NOT_ARMED@GOTPAGE
Lloh66:
	ldr	x8, [x8, _TIMER_NOT_ARMED@GOTPAGEOFF]
LBB0_14:
	ldr	w19, [x8]
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotStr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotStr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotStr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotStr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotStr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh65, Lloh66
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_7-LBB0_6)>>2
	.byte	(LBB0_13-LBB0_6)>>2
	.byte	(LBB0_13-LBB0_6)>>2
	.byte	(LBB0_11-LBB0_6)>>2
	.byte	(LBB0_12-LBB0_6)>>2
                                        ; -- End function
	.comm	_seq_mode,8,3                   ; @seq_mode
	.comm	_SEQ_2,8,3                      ; @SEQ_2
	.comm	_tmr,8,3                        ; @tmr
	.comm	_tmr_no,4,2                     ; @tmr_no
	.comm	_TIMER_ARMED,4,2                ; @TIMER_ARMED
	.comm	_SEQ_MAX_QUEUE,8,3              ; @SEQ_MAX_QUEUE
	.comm	_qlen,8,3                       ; @qlen
	.comm	_output_threshold,8,3           ; @output_threshold
	.comm	_seq_sleeper,4,2                ; @seq_sleeper
	.comm	_prev_event_time,4,2            ; @prev_event_time
	.comm	_seq_playing,4,2                ; @seq_playing
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_seq_time,4,2                   ; @seq_time
	.comm	_prev_input_time,4,2            ; @prev_input_time
	.comm	_SEQ_ECHO,4,2                   ; @SEQ_ECHO
	.comm	_TIMER_NOT_ARMED,4,2            ; @TIMER_NOT_ARMED
	.no_dead_strip	_seq_timing_event
.subsections_via_symbols
