	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_seq_oss_process_event      ## -- Begin function snd_seq_oss_process_event
	.p2align	4, 0x90
_snd_seq_oss_process_event:             ## @snd_seq_oss_process_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	(%rsi), %eax
	addl	$-128, %eax
	cmpl	$8, %eax
	ja	LBB0_17
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_15:
	movl	(%r15), %eax
	movq	_SNDRV_SEQ_OSS_MODE_MUSIC@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_18
## %bb.16:
	movq	(%rbx), %rdx
	movl	4(%rdx), %esi
	movq	%r15, %rdi
	movq	%r14, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_seq_oss_synth_raw_event    ## TAILCALL
LBB0_17:
	movl	(%r15), %eax
	movq	_SNDRV_SEQ_OSS_MODE_MUSIC@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_18
## %bb.19:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_old_event                      ## TAILCALL
LBB0_8:
	movl	(%r15), %eax
	movq	_SNDRV_SEQ_OSS_MODE_MUSIC@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_18
## %bb.9:
	movl	4(%r15), %edi
	callq	_is_write_mode
	testl	%eax, %eax
	je	LBB0_18
## %bb.10:
	movl	8(%rbx), %esi
	movq	_SNDRV_SEQ_OSS_FILE_WRITE@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r15, %rdi
	callq	_snd_seq_oss_midi_open
	testl	%eax, %eax
	jne	LBB0_18
## %bb.11:
	movl	8(%rbx), %esi
	movq	%r15, %rdi
	callq	_snd_seq_oss_midi_filemode
	testl	%eax, (%r12)
	je	LBB0_18
## %bb.12:
	movl	4(%rbx), %edx
	movl	8(%rbx), %esi
	movq	%r15, %rdi
	movq	%r14, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_seq_oss_midi_putc          ## TAILCALL
LBB0_2:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_extended_event                 ## TAILCALL
LBB0_13:
	movl	(%r15), %eax
	movq	_SNDRV_SEQ_OSS_MODE_MUSIC@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_14
LBB0_18:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_timing_event                   ## TAILCALL
LBB0_7:
	movl	4(%rbx), %esi
	movq	%r15, %rdi
	movl	$133, %edx
	movq	%r14, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_seq_oss_synth_sysex        ## TAILCALL
LBB0_6:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_local_event                    ## TAILCALL
LBB0_3:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_chn_voice_event                ## TAILCALL
LBB0_4:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_chn_common_event               ## TAILCALL
LBB0_14:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_echo_event                 ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_15
	.long	L0_0_set_8
	.long	L0_0_set_2
	.long	L0_0_set_13
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_3
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_SNDRV_SEQ_OSS_MODE_MUSIC,4,2   ## @SNDRV_SEQ_OSS_MODE_MUSIC
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SNDRV_SEQ_OSS_FILE_WRITE,4,2   ## @SNDRV_SEQ_OSS_FILE_WRITE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_seq_oss_process_event      ; -- Begin function snd_seq_oss_process_event
	.p2align	2
_snd_seq_oss_process_event:             ; @snd_seq_oss_process_event
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w8, [x1]
	sub	w8, w8, #128
	cmp	w8, #8
	b.hi	LBB0_4
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [x21]
Lloh2:
	adrp	x9, _SNDRV_SEQ_OSS_MODE_MUSIC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SNDRV_SEQ_OSS_MODE_MUSIC@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_13
; %bb.3:
	ldr	x2, [x20]
	ldr	w1, [x2, #4]
	mov	x0, x21
	mov	x3, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_snd_seq_oss_synth_raw_event
LBB0_4:
	ldr	w8, [x21]
Lloh5:
	adrp	x9, _SNDRV_SEQ_OSS_MODE_MUSIC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SNDRV_SEQ_OSS_MODE_MUSIC@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_13
; %bb.5:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_old_event
LBB0_6:
	ldr	w8, [x21]
Lloh8:
	adrp	x9, _SNDRV_SEQ_OSS_MODE_MUSIC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SNDRV_SEQ_OSS_MODE_MUSIC@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_13
; %bb.7:
	ldr	w0, [x21, #4]
	bl	_is_write_mode
	cbz	w0, LBB0_13
; %bb.8:
	ldr	w1, [x20, #8]
Lloh11:
	adrp	x22, _SNDRV_SEQ_OSS_FILE_WRITE@GOTPAGE
Lloh12:
	ldr	x22, [x22, _SNDRV_SEQ_OSS_FILE_WRITE@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x21
	bl	_snd_seq_oss_midi_open
	cbnz	w0, LBB0_13
; %bb.9:
	ldr	w1, [x20, #8]
	mov	x0, x21
	bl	_snd_seq_oss_midi_filemode
	ldr	w8, [x22]
	tst	w8, w0
	b.eq	LBB0_13
; %bb.10:
	ldp	w2, w1, [x20, #4]
	mov	x0, x21
	mov	x3, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_snd_seq_oss_midi_putc
LBB0_11:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_extended_event
LBB0_12:
	ldr	w8, [x21]
Lloh13:
	adrp	x9, _SNDRV_SEQ_OSS_MODE_MUSIC@GOTPAGE
Lloh14:
	ldr	x9, [x9, _SNDRV_SEQ_OSS_MODE_MUSIC@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_19
LBB0_13:
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_14:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_timing_event
LBB0_15:
	ldr	w1, [x20, #4]
	mov	x0, x21
	mov	w2, #133
	mov	x3, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_snd_seq_oss_synth_sysex
LBB0_16:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_local_event
LBB0_17:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_chn_voice_event
LBB0_18:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_chn_common_event
LBB0_19:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_set_echo_event
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
                                        ; -- End function
	.comm	_SNDRV_SEQ_OSS_MODE_MUSIC,4,2   ; @SNDRV_SEQ_OSS_MODE_MUSIC
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SNDRV_SEQ_OSS_FILE_WRITE,4,2   ; @SNDRV_SEQ_OSS_FILE_WRITE
.subsections_via_symbols
