	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sound_unload_mididev           ## -- Begin function sound_unload_mididev
	.p2align	4, 0x90
_sound_unload_mididev:                  ## @sound_unload_mididev
	.cfi_startproc
## %bb.0:
	cmpl	$-1, %edi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_midi_devs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	movq	$0, (%rax,%rcx,8)
	shll	$4, %edi
	orl	$2, %edi
	popq	%rbp
	jmp	_unregister_sound_midi          ## TAILCALL
LBB0_1:
	retq
	.cfi_endproc
                                        ## -- End function
	.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	_sound_unload_mididev           ; -- Begin function sound_unload_mididev
	.p2align	2
_sound_unload_mididev:                  ; @sound_unload_mididev
	.cfi_startproc
; %bb.0:
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _midi_devs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _midi_devs@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	xzr, [x8, w0, sxtw #3]
	mov	w8, #2
	bfi	w8, w0, #4, #28
	mov	x0, x8
	b	_unregister_sound_midi
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_midi_devs,8,3                  ; @midi_devs
.subsections_via_symbols
