	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_usbmidi_error_timer
_snd_usbmidi_error_timer:               ## @snd_usbmidi_error_timer
	.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
	movq	%rdi, %rbx
	callq	_spin_lock
	cmpq	$0, 24(%rbx)
	jne	LBB0_12
## %bb.1:
	movq	_MIDI_MAX_ENDPOINTS@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	je	LBB0_12
## %bb.2:
	xorl	%r15d, %r15d
	movq	_INPUT_URBS@GOTPCREL(%rip), %rcx
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	movl	(%r12), %eax
	cmpq	%rax, %r15
	jae	LBB0_12
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	8(%rbx), %rax
	movq	%r15, %r14
	shlq	$4, %r14
	movq	8(%rax,%r14), %r13
	testq	%r13, %r13
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 8(%r13)
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, 8(%r13)
	cmpl	$0, (%rcx)
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	16(%rbx), %eax
	movq	(%r13), %rcx
	movq	(%rcx,%r12,8), %rdi
	movl	%eax, (%rdi)
	movl	(%rdx), %esi
	callq	_snd_usbmidi_submit_urb
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rdx
	movq	_INPUT_URBS@GOTPCREL(%rip), %rcx
	incq	%r12
	movl	(%rcx), %eax
	cmpq	%rax, %r12
	jb	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %rax
	movq	_MIDI_MAX_ENDPOINTS@GOTPCREL(%rip), %r12
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rax,%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	callq	_snd_usbmidi_do_output
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rdx
	movq	_INPUT_URBS@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_12:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MIDI_MAX_ENDPOINTS,4,2         ## @MIDI_MAX_ENDPOINTS
	.comm	_INPUT_URBS,4,2                 ## @INPUT_URBS
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.no_dead_strip	_snd_usbmidi_error_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_usbmidi_error_timer
_snd_usbmidi_error_timer:               ; @snd_usbmidi_error_timer
	.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
	mov	x19, x0
	bl	_spin_lock
	ldr	x8, [x19, #24]
Lloh0:
	adrp	x20, _MIDI_MAX_ENDPOINTS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MIDI_MAX_ENDPOINTS@GOTPAGEOFF]
	ldr	w9, [x20]
	cmp	x8, #0
	ccmp	w9, #0, #4, eq
	b.ne	LBB0_2
LBB0_1:
	mov	x0, x19
	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
	b	_spin_unlock
LBB0_2:
	mov	x21, #0
Lloh2:
	adrp	x22, _INPUT_URBS@GOTPAGE
Lloh3:
	ldr	x22, [x22, _INPUT_URBS@GOTPAGEOFF]
Lloh4:
	adrp	x23, _GFP_ATOMIC@GOTPAGE
Lloh5:
	ldr	x23, [x23, _GFP_ATOMIC@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	ldr	w8, [x20]
	cmp	x21, x8
	b.hs	LBB0_1
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x8, [x19, #8]
	add	x9, x8, x21, lsl #4
	ldr	x24, [x9, #8]
	cbz	x24, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x24, #8]
	cbz	x9, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x24, #8]
	ldr	w9, [x22]
	cbz	w9, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, #0
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x19, #16]
	ldr	x9, [x24]
	ldr	x0, [x9, x25, lsl #3]
	str	w8, [x0]
	ldr	w1, [x23]
	bl	_snd_usbmidi_submit_urb
	add	x25, x25, #1
	ldr	w8, [x22]
	cmp	x25, x8
	b.lo	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	x9, x21, #4
	ldr	x0, [x8, x9]
	cbz	x0, LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	bl	_snd_usbmidi_do_output
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_MIDI_MAX_ENDPOINTS,4,2         ; @MIDI_MAX_ENDPOINTS
	.comm	_INPUT_URBS,4,2                 ; @INPUT_URBS
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.no_dead_strip	_snd_usbmidi_error_timer
.subsections_via_symbols
