	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chn_common_event
_chn_common_event:                      ## @chn_common_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
	cmpl	$32, %ecx
	jl	LBB0_2
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_11
LBB0_2:
	movl	4(%rsi), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_1
## %bb.3:
	leaq	LJTI0_0(%rip), %r8
	movslq	(%r8,%rax,4), %rax
	addq	%r8, %rax
	jmpq	*%rax
LBB0_4:
	movl	12(%rsi), %r8d
	movq	_SNDRV_SEQ_EVENT_PITCHBEND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$-8192, %r9d                    ## imm = 0xE000
	addl	8(%rsi), %r9d
	movq	%rdx, (%rsp)
	movl	%r8d, %esi
	jmp	LBB0_8
LBB0_5:
	movq	_SNDRV_SEQ_EVENT_PGMCHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	12(%rsi), %eax
	movl	16(%rsi), %r9d
	movq	%rdx, (%rsp)
	movl	%eax, %esi
	movl	%r8d, %edx
	jmp	LBB0_9
LBB0_6:
	movl	8(%rsi), %r9d
	movl	12(%rsi), %r10d
	movq	_SNDRV_SEQ_EVENT_CONTROLLER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	16(%rsi), %r8d
	movq	%rdx, (%rsp)
	movl	%r10d, %esi
	movl	%eax, %edx
	jmp	LBB0_10
LBB0_7:
	movl	8(%rsi), %r9d
	movl	12(%rsi), %esi
	movq	_SNDRV_SEQ_EVENT_CHANPRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rdx, (%rsp)
LBB0_8:
	movl	%eax, %edx
LBB0_9:
	xorl	%r8d, %r8d
LBB0_10:
	callq	_set_control_event
LBB0_11:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SNDRV_SEQ_EVENT_PGMCHANGE,4,2  ## @SNDRV_SEQ_EVENT_PGMCHANGE
	.comm	_SNDRV_SEQ_EVENT_CONTROLLER,4,2 ## @SNDRV_SEQ_EVENT_CONTROLLER
	.comm	_SNDRV_SEQ_EVENT_PITCHBEND,4,2  ## @SNDRV_SEQ_EVENT_PITCHBEND
	.comm	_SNDRV_SEQ_EVENT_CHANPRESS,4,2  ## @SNDRV_SEQ_EVENT_CHANPRESS
	.no_dead_strip	_chn_common_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chn_common_event
_chn_common_event:                      ; @chn_common_event
	.cfi_startproc
; %bb.0:
	ldr	w3, [x1]
	cmp	w3, #32
	b.lt	LBB0_2
LBB0_1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_2:
	ldr	w8, [x1, #4]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_1
; %bb.3:
	mov	x6, x2
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
Lloh5:
	adrp	x8, _SNDRV_SEQ_EVENT_PITCHBEND@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SNDRV_SEQ_EVENT_PITCHBEND@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	ldp	w9, w8, [x1, #8]
	sub	w5, w9, #2, lsl #12             ; =8192
	b	LBB0_8
LBB0_5:
Lloh8:
	adrp	x8, _SNDRV_SEQ_EVENT_PGMCHANGE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SNDRV_SEQ_EVENT_PGMCHANGE@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	ldp	w8, w5, [x1, #12]
	b	LBB0_8
LBB0_6:
Lloh11:
	adrp	x8, _SNDRV_SEQ_EVENT_CONTROLLER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SNDRV_SEQ_EVENT_CONTROLLER@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	ldp	w8, w4, [x1, #12]
	ldr	w5, [x1, #8]
	mov	x1, x8
	b	_set_control_event
LBB0_7:
Lloh14:
	adrp	x8, _SNDRV_SEQ_EVENT_CHANPRESS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SNDRV_SEQ_EVENT_CHANPRESS@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	ldp	w5, w8, [x1, #8]
LBB0_8:
	mov	x1, x8
	mov	w4, #0
	b	_set_control_event
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SNDRV_SEQ_EVENT_PGMCHANGE,4,2  ; @SNDRV_SEQ_EVENT_PGMCHANGE
	.comm	_SNDRV_SEQ_EVENT_CONTROLLER,4,2 ; @SNDRV_SEQ_EVENT_CONTROLLER
	.comm	_SNDRV_SEQ_EVENT_PITCHBEND,4,2  ; @SNDRV_SEQ_EVENT_PITCHBEND
	.comm	_SNDRV_SEQ_EVENT_CHANPRESS,4,2  ; @SNDRV_SEQ_EVENT_CHANPRESS
	.no_dead_strip	_chn_common_event
.subsections_via_symbols
