	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ExpandString
_ExpandString:                          ## @ExpandString
	.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
	movl	%r8d, %r13d
	movq	%rdx, %r14
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movslq	%ecx, %r12
	movb	$0, -1(%rdx,%r12)
	decq	%r12
	movb	(%rsi), %al
	testb	%al, %al
	je	LBB0_29
## %bb.1:
	cmpl	$2, %ecx
	jl	LBB0_29
## %bb.2:
	movq	%rsi, %rbx
	leaq	LJTI0_0(%rip), %rdi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %ecx
	cmpl	$94, %ecx
	je	LBB0_22
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$92, %ecx
	jne	LBB0_25
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	1(%rbx), %r15
	movsbl	1(%rbx), %ecx
	leal	-80(%rcx), %edx
	cmpl	$36, %edx
	ja	LBB0_19
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	movslq	(%rdi,%rdx,4), %rdx
	addq	%rdi, %rdx
	jmpq	*%rdx
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	4(%rax), %esi
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	movzbl	1(%rbx), %eax
	testb	%al, %al
	je	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_3 Depth=1
	addq	$2, %rbx
	andb	$31, %al
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
LBB0_26:                                ##   in Loop: Header=BB0_3 Depth=1
	movb	%al, (%r14)
	incq	%r14
	decl	%r12d
	jmp	LBB0_27
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	jmp	LBB0_27
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	decl	%r12d
	movb	%cl, (%r14)
	incq	%r14
	jmp	LBB0_20
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %esi
	testl	%esi, %esi
	jne	LBB0_17
	jmp	LBB0_20
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_strncpy
	movq	%r14, %rdi
	callq	_strlen
	leaq	LJTI0_0(%rip), %rdi
	subl	%eax, %r12d
	cltq
	addq	%rax, %r14
	jmp	LBB0_20
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_SECTICKS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%esi, %esi
	jmp	LBB0_8
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movb	$10, (%r14)
	jmp	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_SECTICKS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	3(%rax), %esi
	testl	%eax, %eax
	cmovnsl	%eax, %esi
	sarl	$2, %esi
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_chat_Pause
	leaq	LJTI0_0(%rip), %rdi
	jmp	LBB0_20
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movb	$13, (%r14)
	jmp	LBB0_11
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movb	$32, (%r14)
	jmp	LBB0_11
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movb	$9, (%r14)
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	decl	%r12d
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r13d, %eax
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$0, 1(%rbx)
	leaq	2(%rbx), %rbx
	cmoveq	%r15, %rbx
	movl	%eax, %r13d
LBB0_27:                                ##   in Loop: Header=BB0_3 Depth=1
	movzbl	(%rbx), %eax
	testb	%al, %al
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_3 Depth=1
	testl	%r12d, %r12d
	jg	LBB0_3
LBB0_29:
	cmpl	$2, %r12d
	jl	LBB0_32
## %bb.30:
	testl	%r13d, %r13d
	je	LBB0_32
## %bb.31:
	movb	$13, (%r14)
	incq	%r14
LBB0_32:
	cmpl	$3, %r12d
	jl	LBB0_34
## %bb.33:
	movb	$0, (%r14)
	incq	%r14
LBB0_34:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_15
	.long	L0_0_set_18
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_21
	.long	L0_0_set_7
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_10
	.long	L0_0_set_19
	.long	L0_0_set_9
	.long	L0_0_set_19
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.comm	_SECTICKS,4,2                   ## @SECTICKS
	.no_dead_strip	_ExpandString
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ExpandString
_ExpandString:                          ; @ExpandString
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x4
                                        ; kill: def $w3 killed $w3 def $x3
	mov	x19, x2
	sxtw	x8, w3
	sub	x20, x8, #1
	strb	wzr, [x2, x20]
	ldrb	w8, [x1]
	cmp	w8, #0
	ccmp	w3, #2, #8, ne
	b.ge	LBB0_6
LBB0_1:
	cmp	w20, #2
	ccmp	w23, #0, #4, ge
	b.eq	LBB0_3
; %bb.2:
	mov	w8, #13
	strb	w8, [x19], #1
LBB0_3:
	cmp	w20, #2
	b.le	LBB0_5
; %bb.4:
	strb	wzr, [x19], #1
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x24, _SECTICKS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _SECTICKS@GOTPAGEOFF]
	mov	w27, #32
	mov	w28, #9
Lloh2:
	adrp	x25, lJTI0_0@PAGE
Lloh3:
	add	x25, x25, lJTI0_0@PAGEOFF
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x22, x22, #1
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	strb	w8, [x19], #1
	sub	w20, w20, #1
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldrb	w8, [x22]
	cmp	w8, #0
	ccmp	w20, #0, #4, ne
	b.le	LBB0_1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	and	w9, w8, #0xff
	cmp	w9, #94
	b.eq	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	sxtb	w9, w8
	cmp	w9, #92
	b.ne	LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x26, x22
	ldrsb	w8, [x26, #1]!
	sub	w9, w8, #80
	cmp	w9, #36
	b.hi	LBB0_18
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w0, #0
	adr	x10, LBB0_14
	ldrb	w11, [x25, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w1, [x8, #4]
	b	LBB0_21
LBB0_15:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x8, x22
	ldrb	w9, [x8, #1]!
	cbz	w9, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x22, x22, #2
	and	w8, w9, #0x1f
	b	LBB0_8
LBB0_17:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x22, x8
	b	LBB0_9
LBB0_18:                                ;   in Loop: Header=BB0_10 Depth=1
	and	w8, w8, #0xff
	sub	w20, w20, #1
	strb	w8, [x19], #1
	b	LBB0_31
LBB0_19:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w1, [x21, #8]
	cbnz	w1, LBB0_21
	b	LBB0_31
LBB0_20:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w1, [x8]
LBB0_21:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	mov	x2, x20
	bl	_strncpy
	mov	x0, x19
	bl	_strlen
	sub	w20, w20, w0
	add	x19, x19, w0, sxtw
	b	LBB0_31
LBB0_22:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x24]
	lsl	w1, w8, #1
	b	LBB0_25
LBB0_23:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	w8, #10
	b	LBB0_27
LBB0_24:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x24]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w1, w8, #2
LBB0_25:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x21
	bl	_chat_Pause
	b	LBB0_31
LBB0_26:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	w8, #13
LBB0_27:                                ;   in Loop: Header=BB0_10 Depth=1
	strb	w8, [x19], #1
	b	LBB0_30
LBB0_28:                                ;   in Loop: Header=BB0_10 Depth=1
	strb	w28, [x19], #1
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_10 Depth=1
	strb	w27, [x19], #1
LBB0_30:                                ;   in Loop: Header=BB0_10 Depth=1
	sub	w20, w20, #1
LBB0_31:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x23
LBB0_32:                                ;   in Loop: Header=BB0_10 Depth=1
	ldrb	w8, [x22, #1]
	add	x9, x22, #2
	cmp	w8, #0
	csel	x22, x26, x9, eq
	mov	x23, x0
	b	LBB0_9
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_19-LBB0_14)>>2
	.byte	(LBB0_20-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_32-LBB0_14)>>2
	.byte	(LBB0_22-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_23-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_24-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
	.byte	(LBB0_26-LBB0_14)>>2
	.byte	(LBB0_29-LBB0_14)>>2
	.byte	(LBB0_28-LBB0_14)>>2
                                        ; -- End function
	.comm	_SECTICKS,4,2                   ; @SECTICKS
	.no_dead_strip	_ExpandString
.subsections_via_symbols
