	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_chat_Finish                    ## -- Begin function chat_Finish
	.p2align	4, 0x90
_chat_Finish:                           ## @chat_Finish
	.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	%rdi, %rbx
	addq	$20, %rdi
	callq	_timer_Stop
	leaq	16(%rbx), %rdi
	callq	_timer_Stop
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rcx
	leal	-1(%rax), %edx
	movl	%edx, (%rbx)
	cltq
	movl	-4(%rcx,%rax,4), %edi
	callq	_free
	jmp	LBB0_2
LBB0_3:
	movl	$0, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_chat_Finish                    ; -- Begin function chat_Finish
	.p2align	2
_chat_Finish:                           ; @chat_Finish
	.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	x19, x0
	add	x0, x0, #20
	bl	_timer_Stop
	add	x0, x19, #16
	bl	_timer_Stop
	ldr	w8, [x19]
	cbz	w8, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #8]
	sxtw	x8, w8
	sub	x8, x8, #1
	str	w8, [x19]
	ldr	w0, [x9, x8, lsl #2]
	bl	_free
	ldr	w8, [x19]
	cbnz	w8, LBB0_1
LBB0_2:
	str	wzr, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
