	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_chat_Setup                     ## -- Begin function chat_Setup
	.p2align	4, 0x90
_chat_Setup:                            ## @chat_Setup
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	_CHAT_EXPECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 76(%rdi)
	movq	(%rdi), %rdi
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movl	$7, %edx
	callq	_strncpy
	movq	(%rbx), %rax
	movb	$0, 7(%rax)
	movq	(%rbx), %r15
	movl	72(%rbx), %r12d
	movl	%r12d, %edi
	callq	_VECSIZE
	movq	_PARSE_NOHASH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_MakeArgs
	jmp	LBB0_3
LBB0_1:
	movb	$0, (%rdi)
	xorl	%eax, %eax
LBB0_3:
	movq	%rax, 8(%rbx)
	movabsq	$133143986175, %rax             ## imm = 0x1EFFFFFFFF
	movq	%rax, 16(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%rbx)
	movq	%r14, 24(%rbx)
	movups	%xmm0, 40(%rbx)
	leaq	36(%rbx), %rdi
	callq	_timer_Stop
	leaq	32(%rbx), %rdi
	callq	_timer_Stop
	movq	8(%rbx), %rax
	shrq	$63, %rax
	xorl	$1, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHAT_EXPECT,4,2                ## @CHAT_EXPECT
	.comm	_PARSE_NOHASH,4,2               ## @PARSE_NOHASH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function chat_Setup
lCPI0_0:
	.long	4294967295                      ; 0xffffffff
	.long	30                              ; 0x1e
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_chat_Setup
	.p2align	2
_chat_Setup:                            ; @chat_Setup
	.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	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x8, _CHAT_EXPECT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHAT_EXPECT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #76]
	ldr	x8, [x0]
	cbz	x1, LBB0_2
; %bb.1:
	mov	x0, x8
	mov	w2, #7
	bl	_strncpy
	ldr	x8, [x19]
	strb	wzr, [x8, #7]
	ldr	x21, [x19]
	ldr	w22, [x19, #72]
	mov	x0, x22
	bl	_VECSIZE
	mov	x2, x0
Lloh3:
	adrp	x8, _PARSE_NOHASH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PARSE_NOHASH@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x22
	bl	_MakeArgs
	b	LBB0_3
LBB0_2:
	mov	x0, #0
	strb	wzr, [x8]
LBB0_3:
	str	x0, [x19, #8]
	stp	xzr, xzr, [x19, #56]
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19, #16]
	str	x20, [x19, #24]
	stp	xzr, xzr, [x19, #40]
	add	x0, x19, #36
	bl	_timer_Stop
	add	x0, x19, #32
	bl	_timer_Stop
	ldr	x8, [x19, #8]
	lsr	x8, x8, #63
	eor	w0, w8, #0x1
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdr	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CHAT_EXPECT,4,2                ; @CHAT_EXPECT
	.comm	_PARSE_NOHASH,4,2               ; @PARSE_NOHASH
.subsections_via_symbols
