	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function seq_sync
_seq_sync:                              ## @seq_sync
	.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	_qlen@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	_seq_playing@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jne	LBB0_5
## %bb.2:
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_signal_pending
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_seq_startplay
LBB0_4:
	movq	(%rbx), %rax
LBB0_5:
	testq	%rax, %rax
	jle	LBB0_7
## %bb.6:
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_seq_sleeper@GOTPCREL(%rip), %rdi
	callq	_interruptible_sleep_on_timeout
	movq	(%rbx), %rax
LBB0_7:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qlen,8,3                       ## @qlen
	.comm	_seq_playing,4,2                ## @seq_playing
	.comm	_current,4,2                    ## @current
	.comm	_seq_sleeper,4,2                ## @seq_sleeper
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_seq_sync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function seq_sync
_seq_sync:                              ; @seq_sync
	.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
Lloh0:
	adrp	x19, _qlen@GOTPAGE
Lloh1:
	ldr	x19, [x19, _qlen@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh2:
	adrp	x8, _seq_playing@GOTPAGE
Lloh3:
	ldr	x8, [x8, _seq_playing@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	x0, #0
	ccmp	w8, #0, #0, ne
	b.ne	LBB0_4
; %bb.1:
Lloh5:
	adrp	x8, _current@GOTPAGE
Lloh6:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_signal_pending
	cbnz	w0, LBB0_3
; %bb.2:
	bl	_seq_startplay
LBB0_3:
	ldr	x0, [x19]
LBB0_4:
	cmp	x0, #1
	b.lt	LBB0_6
; %bb.5:
Lloh8:
	adrp	x8, _HZ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x0, _seq_sleeper@GOTPAGE
Lloh12:
	ldr	x0, [x0, _seq_sleeper@GOTPAGEOFF]
	bl	_interruptible_sleep_on_timeout
	ldr	x0, [x19]
LBB0_6:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_qlen,8,3                       ; @qlen
	.comm	_seq_playing,4,2                ; @seq_playing
	.comm	_current,4,2                    ; @current
	.comm	_seq_sleeper,4,2                ; @seq_sleeper
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_seq_sync
.subsections_via_symbols
