	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sequencer_poll                 ## -- Begin function sequencer_poll
	.p2align	4, 0x90
_sequencer_poll:                        ## @sequencer_poll
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_midi_sleeper@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_poll_wait
	movq	_iqlen@GOTPCREL(%rip), %rax
	movq	_POLLIN@GOTPCREL(%rip), %rcx
	movq	_POLLRDNORM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r12d
	orl	(%rcx), %r12d
	xorl	%r13d, %r13d
	cmpq	$0, (%rax)
	cmovel	%r13d, %r12d
	movq	_seq_sleeper@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_poll_wait
	movq	_SEQ_MAX_QUEUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_qlen@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	movq	_output_threshold@GOTPCREL(%rip), %rcx
	movq	_POLLOUT@GOTPCREL(%rip), %rdx
	movq	_POLLWRNORM@GOTPCREL(%rip), %rsi
	movl	(%rsi), %ebx
	orl	(%rdx), %ebx
	cmpq	(%rcx), %rax
	cmovll	%r13d, %ebx
	orl	%r12d, %ebx
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lock,4,2                       ## @lock
	.comm	_midi_sleeper,4,2               ## @midi_sleeper
	.comm	_iqlen,8,3                      ## @iqlen
	.comm	_POLLIN,4,2                     ## @POLLIN
	.comm	_POLLRDNORM,4,2                 ## @POLLRDNORM
	.comm	_seq_sleeper,4,2                ## @seq_sleeper
	.comm	_SEQ_MAX_QUEUE,8,3              ## @SEQ_MAX_QUEUE
	.comm	_qlen,8,3                       ## @qlen
	.comm	_output_threshold,8,3           ## @output_threshold
	.comm	_POLLOUT,4,2                    ## @POLLOUT
	.comm	_POLLWRNORM,4,2                 ## @POLLWRNORM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sequencer_poll                 ; -- Begin function sequencer_poll
	.p2align	2
_sequencer_poll:                        ; @sequencer_poll
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x21, _lock@GOTPAGE
Lloh1:
	ldr	x21, [x21, _lock@GOTPAGEOFF]
	mov	x0, x21
	bl	_spin_lock_irqsave
Lloh2:
	adrp	x1, _midi_sleeper@GOTPAGE
Lloh3:
	ldr	x1, [x1, _midi_sleeper@GOTPAGEOFF]
	mov	x0, x20
	mov	x2, x19
	bl	_poll_wait
Lloh4:
	adrp	x8, _iqlen@GOTPAGE
Lloh5:
	ldr	x8, [x8, _iqlen@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x9, _POLLIN@GOTPAGE
Lloh8:
	ldr	x9, [x9, _POLLIN@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	adrp	x10, _POLLRDNORM@GOTPAGE
Lloh11:
	ldr	x10, [x10, _POLLRDNORM@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	orr	w9, w10, w9
	cmp	x8, #0
	csel	w22, wzr, w9, eq
Lloh13:
	adrp	x1, _seq_sleeper@GOTPAGE
Lloh14:
	ldr	x1, [x1, _seq_sleeper@GOTPAGEOFF]
	mov	x0, x20
	mov	x2, x19
	bl	_poll_wait
Lloh15:
	adrp	x8, _SEQ_MAX_QUEUE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SEQ_MAX_QUEUE@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x9, _qlen@GOTPAGE
Lloh19:
	ldr	x9, [x9, _qlen@GOTPAGEOFF]
Lloh20:
	adrp	x10, _POLLOUT@GOTPAGE
Lloh21:
	ldr	x10, [x10, _POLLOUT@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
Lloh23:
	adrp	x11, _POLLWRNORM@GOTPAGE
Lloh24:
	ldr	x11, [x11, _POLLWRNORM@GOTPAGEOFF]
Lloh25:
	ldr	w11, [x11]
	orr	w10, w11, w10
Lloh26:
	adrp	x11, _output_threshold@GOTPAGE
Lloh27:
	ldr	x11, [x11, _output_threshold@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
Lloh29:
	ldr	x11, [x11]
	sub	x8, x8, x9
	cmp	x8, x11
	csel	w8, wzr, w10, lt
	orr	w19, w8, w22
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh29
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh28
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_lock,4,2                       ; @lock
	.comm	_midi_sleeper,4,2               ; @midi_sleeper
	.comm	_iqlen,8,3                      ; @iqlen
	.comm	_POLLIN,4,2                     ; @POLLIN
	.comm	_POLLRDNORM,4,2                 ; @POLLRDNORM
	.comm	_seq_sleeper,4,2                ; @seq_sleeper
	.comm	_SEQ_MAX_QUEUE,8,3              ; @SEQ_MAX_QUEUE
	.comm	_qlen,8,3                       ; @qlen
	.comm	_output_threshold,8,3           ; @output_threshold
	.comm	_POLLOUT,4,2                    ; @POLLOUT
	.comm	_POLLWRNORM,4,2                 ; @POLLWRNORM
.subsections_via_symbols
