	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_usbmidi_maudio_broken_running_status_input
_snd_usbmidi_maudio_broken_running_status_input: ## @snd_usbmidi_maudio_broken_running_status_input
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$4, %edx
	jl	LBB0_15
## %bb.1:
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	addq	$4, %rbx
	movl	$3, %r12d
	movq	_snd_usbmidi_cin_length@GOTPCREL(%rip), %r13
	jmp	LBB0_2
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	leal	-1(%rdx), %eax
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, (%r8,%r9,4)
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%edx, %ecx
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_snd_usbmidi_input_data
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %rbx
	addl	$4, %r12d
	cmpl	%r14d, %r12d
	jge	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%rbx), %ecx
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, %esi
	sarl	$4, %esi
	andl	$15, %ecx
	movq	(%r15), %r8
	movslq	%esi, %r9
	movq	(%r13), %rax
	movl	(%rax,%rcx,4), %edx
	cmpl	$15, %ecx
	ja	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	movl	$239, %edi
	btl	%ecx, %edi
	jb	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$4, %ecx
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$15, %ecx
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$247, (%rbx)
	jle	LBB0_11
	jmp	LBB0_12
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r8,%r9,4), %ecx
	testl	%ecx, %ecx
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$128, (%rbx)
	jge	LBB0_11
	jmp	LBB0_13
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_snd_usbmidi_cin_length,8,3     ## @snd_usbmidi_cin_length
	.no_dead_strip	_snd_usbmidi_maudio_broken_running_status_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_usbmidi_maudio_broken_running_status_input
_snd_usbmidi_maudio_broken_running_status_input: ; @snd_usbmidi_maudio_broken_running_status_input
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cmp	w2, #4
	b.lt	LBB0_16
; %bb.1:
	mov	x19, x2
	mov	x20, x0
	add	x21, x1, #4
	mov	w22, #3
Lloh0:
	adrp	x23, _snd_usbmidi_cin_length@GOTPAGE
Lloh1:
	ldr	x23, [x23, _snd_usbmidi_cin_length@GOTPAGEOFF]
	mov	w24, #1
	mov	w25, #239
	b	LBB0_7
LBB0_2:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	w10, #0
LBB0_3:                                 ;   in Loop: Header=BB0_7 Depth=1
	str	w10, [x8, x1, lsl #2]
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x3, x9
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x21
	bl	_snd_usbmidi_input_data
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x21, x21, #16
	add	w22, w22, #4
	cmp	w22, w19
	b.ge	LBB0_16
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w8, [x21, #-4]
	cbz	w8, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x9, x8
	and	x10, x8, #0xf
	ldr	x8, [x20]
	sbfx	x1, x9, #4, #28
	ldr	x9, [x23]
	ldr	w9, [x9, x10, lsl #2]
	cmp	w10, #15
	b.hi	LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	lsl	w11, w24, w10
	tst	w11, w25
	b.ne	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	w10, #4
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	w10, #15
	b.ne	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w10, [x21]
	cmp	w10, #247
	b.le	LBB0_2
	b	LBB0_4
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w3, [x8, x1, lsl #2]
	cbz	w3, LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w10, [x21]
	cmp	w10, #128
	b.ge	LBB0_2
	b	LBB0_5
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=1
	sub	w10, w9, #1
	b	LBB0_3
LBB0_16:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_snd_usbmidi_cin_length,8,3     ; @snd_usbmidi_cin_length
	.no_dead_strip	_snd_usbmidi_maudio_broken_running_status_input
.subsections_via_symbols
