	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setup_midi                     ## -- Begin function setup_midi
	.p2align	4, 0x90
_setup_midi:                            ## @setup_midi
	.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	_midi_device@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_midi_device_init
	movq	_usb_send_func@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_midi_device_set_send_func
	movq	_usb_get_midi@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_midi_device_set_pre_input_process_func
	movq	_fallthrough_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_midi_register_fallthrough_callback
	movq	_cc_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_midi_register_cc_callback      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_midi_device,4,2                ## @midi_device
	.comm	_usb_send_func,4,2              ## @usb_send_func
	.comm	_usb_get_midi,4,2               ## @usb_get_midi
	.comm	_fallthrough_callback,4,2       ## @fallthrough_callback
	.comm	_cc_callback,4,2                ## @cc_callback
	.comm	_sysex_callback,4,2             ## @sysex_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setup_midi                     ; -- Begin function setup_midi
	.p2align	2
_setup_midi:                            ; @setup_midi
	.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
Lloh0:
	adrp	x19, _midi_device@GOTPAGE
Lloh1:
	ldr	x19, [x19, _midi_device@GOTPAGEOFF]
	mov	x0, x19
	bl	_midi_device_init
Lloh2:
	adrp	x8, _usb_send_func@GOTPAGE
Lloh3:
	ldr	x8, [x8, _usb_send_func@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_midi_device_set_send_func
Lloh5:
	adrp	x8, _usb_get_midi@GOTPAGE
Lloh6:
	ldr	x8, [x8, _usb_get_midi@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_midi_device_set_pre_input_process_func
Lloh8:
	adrp	x8, _fallthrough_callback@GOTPAGE
Lloh9:
	ldr	x8, [x8, _fallthrough_callback@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_midi_register_fallthrough_callback
Lloh11:
	adrp	x8, _cc_callback@GOTPAGE
Lloh12:
	ldr	x8, [x8, _cc_callback@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_midi_register_cc_callback
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_midi_device,4,2                ; @midi_device
	.comm	_usb_send_func,4,2              ; @usb_send_func
	.comm	_usb_get_midi,4,2               ; @usb_get_midi
	.comm	_fallthrough_callback,4,2       ; @fallthrough_callback
	.comm	_cc_callback,4,2                ; @cc_callback
	.comm	_sysex_callback,4,2             ; @sysex_callback
.subsections_via_symbols
