	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_mtpav_inmidi_process
_snd_mtpav_inmidi_process:              ## @snd_mtpav_inmidi_process
	.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	%esi, -4(%rbp)
	movq	(%rdi), %rax
	movl	8(%rdi), %ecx
	addl	%ecx, %ecx
	movq	_MTPAV_PIDX_BROADCAST@GOTPCREL(%rip), %rdx
	addl	(%rdx), %ecx
	cmpl	%eax, %ecx
	jl	LBB0_3
## %bb.1:
	movq	16(%rdi), %rcx
	movq	_MTPAV_MODE_INPUT_TRIGGERED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx,%rax,8)
	je	LBB0_3
## %bb.2:
	movl	4(%rcx,%rax,8), %edi
	leaq	-4(%rbp), %rsi
	movl	$1, %edx
	callq	_snd_rawmidi_receive
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MTPAV_PIDX_BROADCAST,4,2       ## @MTPAV_PIDX_BROADCAST
	.comm	_MTPAV_MODE_INPUT_TRIGGERED,4,2 ## @MTPAV_MODE_INPUT_TRIGGERED
	.no_dead_strip	_snd_mtpav_inmidi_process
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_mtpav_inmidi_process
_snd_mtpav_inmidi_process:              ; @snd_mtpav_inmidi_process
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	stur	w1, [x29, #-4]
	ldr	x8, [x0]
	ldr	w9, [x0, #8]
Lloh0:
	adrp	x10, _MTPAV_PIDX_BROADCAST@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MTPAV_PIDX_BROADCAST@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	add	w9, w10, w9, lsl #1
	cmp	w9, w8
	b.lt	LBB0_3
; %bb.1:
	ldr	x9, [x0, #16]
	lsl	x10, x8, #3
	ldr	w10, [x9, x10]
Lloh3:
	adrp	x11, _MTPAV_MODE_INPUT_TRIGGERED@GOTPAGE
Lloh4:
	ldr	x11, [x11, _MTPAV_MODE_INPUT_TRIGGERED@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_3
; %bb.2:
	add	x8, x9, x8, lsl #3
	ldr	w0, [x8, #4]
	sub	x1, x29, #4
	mov	w2, #1
	bl	_snd_rawmidi_receive
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MTPAV_PIDX_BROADCAST,4,2       ; @MTPAV_PIDX_BROADCAST
	.comm	_MTPAV_MODE_INPUT_TRIGGERED,4,2 ; @MTPAV_MODE_INPUT_TRIGGERED
	.no_dead_strip	_snd_mtpav_inmidi_process
.subsections_via_symbols
