	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_midi_device_init               ## -- Begin function midi_device_init
	.p2align	4, 0x90
_midi_device_init:                      ## @midi_device_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 144(%rdi)
	movq	$0, 136(%rdi)
	addq	$132, %rdi
	movl	128(%rbx), %esi
	movq	_MIDI_INPUT_QUEUE_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bytequeue_init
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	movups	%xmm0, 16(%rbx)
	movups	%xmm0, 32(%rbx)
	movups	%xmm0, 48(%rbx)
	movups	%xmm0, 64(%rbx)
	movups	%xmm0, 80(%rbx)
	movups	%xmm0, 96(%rbx)
	movups	%xmm0, 112(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDLE,4,2                       ## @IDLE
	.comm	_MIDI_INPUT_QUEUE_LENGTH,4,2    ## @MIDI_INPUT_QUEUE_LENGTH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_midi_device_init               ; -- Begin function midi_device_init
	.p2align	2
_midi_device_init:                      ; @midi_device_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _IDLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #144]
	str	xzr, [x0, #136]
	add	x0, x0, #132
	ldr	w1, [x19, #128]
Lloh3:
	adrp	x8, _MIDI_INPUT_QUEUE_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MIDI_INPUT_QUEUE_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_bytequeue_init
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19]
	stp	q0, q0, [x19, #32]
	stp	q0, q0, [x19, #64]
	stp	q0, q0, [x19, #96]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IDLE,4,2                       ; @IDLE
	.comm	_MIDI_INPUT_QUEUE_LENGTH,4,2    ; @MIDI_INPUT_QUEUE_LENGTH
.subsections_via_symbols
