	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_seq_oss_event_input        ## -- Begin function snd_seq_oss_event_input
	.p2align	4, 0x90
_snd_seq_oss_event_input:               ## @snd_seq_oss_event_input
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movq	(%rdi), %rcx
	movq	_SNDRV_SEQ_EVENT_ECHO@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rcx
	jne	LBB0_7
## %bb.1:
	movq	16(%rax), %rcx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.2:
	movq	8(%rax), %rsi
	movq	_SEQ_SYNCTIMER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	jne	LBB0_4
## %bb.3:
	movl	16(%rdx), %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_snd_seq_oss_writeq_wakeup
	jmp	LBB0_6
LBB0_7:
	movq	%rax, %rdi
	popq	%rbp
	jmp	_snd_seq_oss_midi_input         ## TAILCALL
LBB0_4:
	movq	8(%rdx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	addq	$8, %rax
	movq	%rax, %rsi
	callq	_snd_seq_oss_readq_put_event
LBB0_6:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_SEQ_EVENT_ECHO,8,3       ## @SNDRV_SEQ_EVENT_ECHO
	.comm	_SEQ_SYNCTIMER,8,3              ## @SEQ_SYNCTIMER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_seq_oss_event_input        ; -- Begin function snd_seq_oss_event_input
	.p2align	2
_snd_seq_oss_event_input:               ; @snd_seq_oss_event_input
	.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
	mov	x8, x0
	ldr	x9, [x0]
Lloh0:
	adrp	x10, _SNDRV_SEQ_EVENT_ECHO@GOTPAGE
Lloh1:
	ldr	x10, [x10, _SNDRV_SEQ_EVENT_ECHO@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.1:
	ldr	x9, [x8, #16]
	ldr	x10, [x2]
	cmp	x9, x10
	b.ne	LBB0_7
; %bb.2:
	ldr	x1, [x8, #8]!
Lloh3:
	adrp	x9, _SEQ_SYNCTIMER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SEQ_SYNCTIMER@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x1, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	w0, [x2, #16]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_snd_seq_oss_writeq_wakeup
	b	LBB0_7
LBB0_4:
	mov	x0, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_snd_seq_oss_midi_input
LBB0_5:
	ldr	x0, [x2, #8]
	cbz	x0, LBB0_7
; %bb.6:
	mov	x1, x8
	bl	_snd_seq_oss_readq_put_event
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_SEQ_EVENT_ECHO,8,3       ; @SNDRV_SEQ_EVENT_ECHO
	.comm	_SEQ_SYNCTIMER,8,3              ; @SEQ_SYNCTIMER
.subsections_via_symbols
