	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extended_event
_extended_event:                        ## @extended_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	(%rsi), %ecx
	addl	$-128, %ecx
	cmpl	$6, %ecx
	ja	LBB0_8
## %bb.1:
	movq	%rdx, %rax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_2:
	movl	8(%rsi), %esi
	movl	$128, %edx
	movq	%rax, %rcx
	addq	$16, %rsp
	popq	%rbp
	jmp	_snd_seq_oss_synth_raw_event    ## TAILCALL
LBB0_3:
	movl	4(%rsi), %ecx
	movl	8(%rsi), %r9d
	movl	12(%rsi), %edx
	movq	16(%rsi), %r8
	movl	%r9d, %esi
	movq	%rax, %r9
	addq	$16, %rsp
	popq	%rbp
	jmp	_note_on_event                  ## TAILCALL
LBB0_4:
	movl	4(%rsi), %ecx
	movl	8(%rsi), %r9d
	movl	12(%rsi), %edx
	movq	16(%rsi), %r8
	movl	%r9d, %esi
	movq	%rax, %r9
	addq	$16, %rsp
	popq	%rbp
	jmp	_note_off_event                 ## TAILCALL
LBB0_5:
	movswl	24(%rsi), %ecx
	shll	$8, %ecx
	movswl	16(%rsi), %r9d
	orl	%ecx, %r9d
	movl	4(%rsi), %r8d
	cmpl	$135, %r8d
	je	LBB0_14
## %bb.6:
	cmpl	$136, %r8d
	jne	LBB0_15
## %bb.7:
	movq	_SNDRV_SEQ_EVENT_PITCHBEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	8(%rsi), %r8d
	jmp	LBB0_13
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_18
LBB0_9:
	movl	4(%rsi), %r9d
	movl	8(%rsi), %r8d
	movq	_SNDRV_SEQ_EVENT_PGMCHANGE@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_10:
	movl	4(%rsi), %r9d
	movl	8(%rsi), %r10d
	shrl	%r9d
	andl	$127, %r9d
	xorl	$64, %r9d
	movq	_SNDRV_SEQ_EVENT_CONTROLLER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	12(%rsi), %ecx
	movq	_CTL_PAN@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r8d
	jmp	LBB0_16
LBB0_11:
	movl	4(%rsi), %r9d
	movl	8(%rsi), %r8d
	movq	_SNDRV_SEQ_EVENT_CHANPRESS@GOTPCREL(%rip), %rcx
LBB0_12:
	movl	(%rcx), %edx
LBB0_13:
	movl	12(%rsi), %ecx
	movq	%rax, (%rsp)
	movl	%r8d, %esi
	xorl	%r8d, %r8d
	jmp	LBB0_17
LBB0_14:
	movq	_SNDRV_SEQ_EVENT_REGPARAM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	8(%rsi), %r8d
	movl	12(%rsi), %ecx
	shll	$7, %r9d
	movslq	%r9d, %rsi
	imulq	$1374389535, %rsi, %r9          ## imm = 0x51EB851F
	movq	%r9, %rsi
	shrq	$63, %rsi
	sarq	$37, %r9
	addl	%esi, %r9d
	movq	%rax, (%rsp)
	movl	%r8d, %esi
	xorl	%r8d, %r8d
                                        ## kill: def $r9d killed $r9d killed $r9
	jmp	LBB0_17
LBB0_15:
	movq	_SNDRV_SEQ_EVENT_CONTROL14@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	8(%rsi), %r10d
	movl	12(%rsi), %ecx
LBB0_16:
	movq	%rax, (%rsp)
	movl	%r10d, %esi
LBB0_17:
	callq	_set_control_event
LBB0_18:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_9
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_10
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_SNDRV_SEQ_EVENT_PGMCHANGE,4,2  ## @SNDRV_SEQ_EVENT_PGMCHANGE
	.comm	_SNDRV_SEQ_EVENT_CHANPRESS,4,2  ## @SNDRV_SEQ_EVENT_CHANPRESS
	.comm	_SNDRV_SEQ_EVENT_CONTROLLER,4,2 ## @SNDRV_SEQ_EVENT_CONTROLLER
	.comm	_CTL_PAN,4,2                    ## @CTL_PAN
	.comm	_SNDRV_SEQ_EVENT_PITCHBEND,4,2  ## @SNDRV_SEQ_EVENT_PITCHBEND
	.comm	_SNDRV_SEQ_EVENT_REGPARAM,4,2   ## @SNDRV_SEQ_EVENT_REGPARAM
	.comm	_SNDRV_SEQ_EVENT_CONTROL14,4,2  ## @SNDRV_SEQ_EVENT_CONTROL14
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_extended_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extended_event
_extended_event:                        ; @extended_event
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_8
; %bb.1:
	mov	x6, x2
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	w1, [x1, #8]
	mov	w2, #128
	mov	x3, x6
	b	_snd_seq_oss_synth_raw_event
LBB0_3:
	ldp	w8, w2, [x1, #8]
	ldr	w3, [x1, #4]
	ldr	x4, [x1, #16]
	mov	x1, x8
	mov	x5, x6
	b	_note_on_event
LBB0_4:
	ldp	w8, w2, [x1, #8]
	ldr	w3, [x1, #4]
	ldr	x4, [x1, #16]
	mov	x1, x8
	mov	x5, x6
	b	_note_off_event
LBB0_5:
	ldr	w8, [x1, #24]
	lsl	w8, w8, #16
	ldrsh	w9, [x1, #16]
	orr	w5, w9, w8, asr #8
	ldr	w4, [x1, #4]
	cmp	w4, #135
	b.eq	LBB0_14
; %bb.6:
	cmp	w4, #136
	b.ne	LBB0_15
; %bb.7:
Lloh2:
	adrp	x8, _SNDRV_SEQ_EVENT_PITCHBEND@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SNDRV_SEQ_EVENT_PITCHBEND@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	ldp	w8, w3, [x1, #8]
	b	LBB0_13
LBB0_8:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_9:
Lloh8:
	adrp	x8, _SNDRV_SEQ_EVENT_PGMCHANGE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SNDRV_SEQ_EVENT_PGMCHANGE@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
	ldp	w9, w8, [x1, #4]
	ubfx	w9, w9, #1, #7
	eor	w5, w9, #0x40
Lloh10:
	adrp	x9, _SNDRV_SEQ_EVENT_CONTROLLER@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SNDRV_SEQ_EVENT_CONTROLLER@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x9]
	ldr	w3, [x1, #12]
Lloh13:
	adrp	x9, _CTL_PAN@GOTPAGE
Lloh14:
	ldr	x9, [x9, _CTL_PAN@GOTPAGEOFF]
Lloh15:
	ldr	w4, [x9]
	mov	x1, x8
	b	_set_control_event
LBB0_11:
Lloh16:
	adrp	x8, _SNDRV_SEQ_EVENT_CHANPRESS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SNDRV_SEQ_EVENT_CHANPRESS@GOTPAGEOFF]
LBB0_12:
	ldr	w2, [x8]
	ldp	w8, w3, [x1, #8]
	ldr	w5, [x1, #4]
LBB0_13:
	mov	x1, x8
	mov	w4, #0
	b	_set_control_event
LBB0_14:
Lloh18:
	adrp	x8, _SNDRV_SEQ_EVENT_REGPARAM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SNDRV_SEQ_EVENT_REGPARAM@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	ldp	w8, w3, [x1, #8]
	lsl	w9, w5, #7
	mov	w10, #34079
	movk	w10, #20971, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #63
	asr	x9, x9, #37
	add	w5, w9, w10
	b	LBB0_13
LBB0_15:
Lloh21:
	adrp	x8, _SNDRV_SEQ_EVENT_CONTROL14@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SNDRV_SEQ_EVENT_CONTROL14@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	ldp	w8, w3, [x1, #8]
	mov	x1, x8
	b	_set_control_event
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_SNDRV_SEQ_EVENT_PGMCHANGE,4,2  ; @SNDRV_SEQ_EVENT_PGMCHANGE
	.comm	_SNDRV_SEQ_EVENT_CHANPRESS,4,2  ; @SNDRV_SEQ_EVENT_CHANPRESS
	.comm	_SNDRV_SEQ_EVENT_CONTROLLER,4,2 ; @SNDRV_SEQ_EVENT_CONTROLLER
	.comm	_CTL_PAN,4,2                    ; @CTL_PAN
	.comm	_SNDRV_SEQ_EVENT_PITCHBEND,4,2  ; @SNDRV_SEQ_EVENT_PITCHBEND
	.comm	_SNDRV_SEQ_EVENT_REGPARAM,4,2   ; @SNDRV_SEQ_EVENT_REGPARAM
	.comm	_SNDRV_SEQ_EVENT_CONTROL14,4,2  ; @SNDRV_SEQ_EVENT_CONTROL14
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_extended_event
.subsections_via_symbols
