	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_midi_synth_close               ## -- Begin function midi_synth_close
	.p2align	4, 0x90
_midi_synth_close:                      ## @midi_synth_close
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_synth_devs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rdi
	movq	(%rax,%rdi,8), %rax
	movslq	(%rax), %rbx
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_leave_sysex
	movq	_midi_devs@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %rax
	movl	%ebx, %edi
	movl	$254, %esi
	callq	*8(%rax)
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %rax
	movl	%ebx, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_synth_devs,8,3                 ## @synth_devs
	.comm	_midi_devs,8,3                  ## @midi_devs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_midi_synth_close               ; -- Begin function midi_synth_close
	.p2align	2
_midi_synth_close:                      ; @midi_synth_close
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _synth_devs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _synth_devs@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8, w0, sxtw #3]
	ldrsw	x19, [x8]
	bl	_leave_sysex
Lloh3:
	adrp	x20, _midi_devs@GOTPAGE
Lloh4:
	ldr	x20, [x20, _midi_devs@GOTPAGEOFF]
	ldr	x8, [x20]
	lsl	x21, x19, #3
	ldr	x8, [x8, x21]
	ldr	x8, [x8, #8]
	mov	x0, x19
	mov	w1, #254
	blr	x8
	ldr	x8, [x20]
	ldr	x8, [x8, x21]
	ldr	x1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	br	x1
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_synth_devs,8,3                 ; @synth_devs
	.comm	_midi_devs,8,3                  ; @midi_devs
.subsections_via_symbols
