	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_msndmidi_input_trigger
_snd_msndmidi_input_trigger:            ## @snd_msndmidi_input_trigger
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_snd_printdd
	movq	(%rbx), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	leaq	4(%rbx), %rsi
	movq	_MSNDMIDI_MODE_BIT_INPUT_TRIGGER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.1:
	callq	_test_and_set_bit
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_snd_msndmidi_input_drop
LBB0_3:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_snd_msndmidi_input_read        ## TAILCALL
LBB0_4:
	callq	_clear_bit
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"snd_msndmidi_input_trigger(, %i)\n"

	.comm	_MSNDMIDI_MODE_BIT_INPUT_TRIGGER,4,2 ## @MSNDMIDI_MODE_BIT_INPUT_TRIGGER
	.no_dead_strip	_snd_msndmidi_input_trigger
.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_trigger
_snd_msndmidi_input_trigger:            ; @snd_msndmidi_input_trigger
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_snd_printdd
	ldr	x8, [x19]
	ldr	x19, [x8]
	mov	x0, x19
	bl	_spin_lock_irqsave
Lloh2:
	adrp	x8, _MSNDMIDI_MODE_BIT_INPUT_TRIGGER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MSNDMIDI_MODE_BIT_INPUT_TRIGGER@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	x1, x19, #4
	cbz	w20, LBB0_4
; %bb.1:
	bl	_test_and_set_bit
	cbnz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_snd_msndmidi_input_drop
LBB0_3:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_snd_msndmidi_input_read
LBB0_4:
	bl	_clear_bit
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"snd_msndmidi_input_trigger(, %i)\n"

	.comm	_MSNDMIDI_MODE_BIT_INPUT_TRIGGER,4,2 ; @MSNDMIDI_MODE_BIT_INPUT_TRIGGER
	.no_dead_strip	_snd_msndmidi_input_trigger
.subsections_via_symbols
