	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function replay_tick
_replay_tick:                           ## @replay_tick
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rax
	leaq	-1(%rax), %rcx
	movq	%rcx, (%rdi)
	cmpq	$1, %rax
	jg	LBB0_2
## %bb.1:
	movq	8(%r14), %rax
	movq	%rax, (%r14)
	movq	%r14, %rdi
	callq	_replay_row
	jmp	LBB0_5
LBB0_2:
	movq	48(%r14), %rax
	movl	(%rax), %r15d
	testl	%r15d, %r15d
	jle	LBB0_5
## %bb.3:
	shlq	$2, %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%r14), %rdi
	addq	%rbx, %rdi
	callq	_channel_tick
	addq	$4, %rbx
	cmpq	%rbx, %r15
	jne	LBB0_4
LBB0_5:
	movq	16(%r14), %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.6:
	cmpq	$0, (%rcx)
	je	LBB0_8
## %bb.7:
	movq	24(%r14), %rax
	movq	32(%r14), %rdx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax,%rdx,4), %eax
	decl	%eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_replay_tick
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function replay_tick
_replay_tick:                           ; @replay_tick
	.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, x0
	ldr	x8, [x0]
	subs	x8, x8, #1
	str	x8, [x0]
	b.gt	LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	str	x8, [x19]
	mov	x0, x19
	bl	_replay_row
	b	LBB0_5
LBB0_2:
	ldr	x8, [x19, #48]
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x20, #0
	lsl	x21, x8, #2
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	add	x0, x8, x20
	bl	_channel_tick
	add	x20, x20, #4
	cmp	x21, x20
	b.ne	LBB0_4
LBB0_5:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_8
; %bb.6:
	ldr	x9, [x8]
	cbz	x9, LBB0_8
; %bb.7:
	ldp	x9, x10, [x19, #24]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w8, [x8, x10, lsl #2]
	sub	w0, w8, #1
	b	LBB0_9
LBB0_8:
	mov	w0, #1
LBB0_9:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_replay_tick
.subsections_via_symbols
