	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_msndmidi_input_close
_snd_msndmidi_input_close:              ## @snd_msndmidi_input_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	movl	(%rbx), %edi
	movq	_HDEX_MIDI_IN_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_snd_msnd_send_dsp_cmd
	movq	_MSNDMIDI_MODE_BIT_INPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%rbx), %rsi
	callq	_clear_bit
	movq	$0, 8(%rbx)
	movl	(%rbx), %edi
	callq	_snd_msnd_disable_irq
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDEX_MIDI_IN_STOP,4,2          ## @HDEX_MIDI_IN_STOP
	.comm	_MSNDMIDI_MODE_BIT_INPUT,4,2    ## @MSNDMIDI_MODE_BIT_INPUT
	.no_dead_strip	_snd_msndmidi_input_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_msndmidi_input_close
_snd_msndmidi_input_close:              ; @snd_msndmidi_input_close
	.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
	ldr	x8, [x0]
	ldr	x19, [x8]
	ldr	w0, [x19]
Lloh0:
	adrp	x8, _HDEX_MIDI_IN_STOP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDEX_MIDI_IN_STOP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_snd_msnd_send_dsp_cmd
Lloh3:
	adrp	x8, _MSNDMIDI_MODE_BIT_INPUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSNDMIDI_MODE_BIT_INPUT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, x19, #16
	bl	_clear_bit
	str	xzr, [x19, #8]
	ldr	w0, [x19]
	bl	_snd_msnd_disable_irq
	mov	w0, #0
	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	_HDEX_MIDI_IN_STOP,4,2          ; @HDEX_MIDI_IN_STOP
	.comm	_MSNDMIDI_MODE_BIT_INPUT,4,2    ; @MSNDMIDI_MODE_BIT_INPUT
	.no_dead_strip	_snd_msndmidi_input_close
.subsections_via_symbols
