	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_hdspm_midi_output_possible
_snd_hdspm_midi_output_possible:        ## @snd_hdspm_midi_output_possible
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	jne	LBB0_1
## %bb.2:
	movq	_HDSPM_midiStatusOut0@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_HDSPM_midiStatusOut1@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	callq	_hdspm_read
	movzbl	%al, %ecx
	xorl	%edx, %edx
	movl	$128, %eax
	subl	%ecx, %eax
	cmovbl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDSPM_midiStatusOut1,4,2       ## @HDSPM_midiStatusOut1
	.comm	_HDSPM_midiStatusOut0,4,2       ## @HDSPM_midiStatusOut0
	.no_dead_strip	_snd_hdspm_midi_output_possible
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_hdspm_midi_output_possible
_snd_hdspm_midi_output_possible:        ; @snd_hdspm_midi_output_possible
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _HDSPM_midiStatusOut0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDSPM_midiStatusOut0@GOTPAGEOFF]
Lloh2:
	adrp	x9, _HDSPM_midiStatusOut1@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HDSPM_midiStatusOut1@GOTPAGEOFF]
	cmp	w1, #0
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
	bl	_hdspm_read
	mov	w8, #128
	subs	w8, w8, w0, uxtb
	csel	w0, wzr, w8, lo
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HDSPM_midiStatusOut1,4,2       ; @HDSPM_midiStatusOut1
	.comm	_HDSPM_midiStatusOut0,4,2       ; @HDSPM_midiStatusOut0
	.no_dead_strip	_snd_hdspm_midi_output_possible
.subsections_via_symbols
