	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ClientCleanName
_ClientCleanName:                       ## @ClientCleanName
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	leal	-1(%r15), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movb	$0, (%rsi)
	leal	-3(%r15), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	addl	$-2, %r15d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	_Q_COLOR_ESCAPE@GOTPCREL(%rip), %r14
	movl	$0, -64(%rbp)                   ## 4-byte Folded Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
                                        ##       Child Loop BB0_3 Depth 3
                                        ##         Child Loop BB0_5 Depth 4
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_3 Depth 3
                                        ##         Child Loop BB0_5 Depth 4
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_2 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_5 Depth 4
	movb	(%rdi), %r12b
	testb	%r12b, %r12b
	je	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=3
	movq	%rdi, %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=4
	movq	%rdi, %r13
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=4
	movzbl	(%rdi), %r12d
	testb	%r12b, %r12b
	je	LBB0_13
LBB0_5:                                 ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_2 Depth=2
                                        ##       Parent Loop BB0_3 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	leaq	1(%r13), %rdi
	cmpb	$0, (%rbx)
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=4
	cmpb	$32, %r12b
	je	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=4
	cmpb	(%r14), %r12b
	jne	LBB0_18
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=4
	movzbl	(%rdi), %eax
	testb	%al, %al
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=4
	movsbl	%al, %edi
	callq	_ColorIndex
	testq	%rax, %rax
	jne	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=4
	addq	$2, %r13
	movq	%r13, %rdi
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=3
	cmpb	$32, %r12b
	jne	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_3 Depth=3
	incl	-48(%rbp)                       ## 4-byte Folded Spill
	cmpl	$2, -60(%rbp)                   ## 4-byte Folded Reload
	jg	LBB0_3
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=2
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	-68(%rbp), %eax                 ## 4-byte Folded Reload
	jg	LBB0_13
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=2
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movb	%r12b, (%rcx)
	movb	1(%r13), %al
	addq	$2, %r13
	movb	%al, 1(%rcx)
	addq	$2, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	addl	$2, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%r13, %rdi
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_2
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_21:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%r15d, -44(%rbp)                ## 4-byte Folded Reload
	jg	LBB0_13
## %bb.22:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movb	%r12b, (%rax)
	incq	%rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	incl	-64(%rbp)                       ## 4-byte Folded Spill
	incl	-44(%rbp)                       ## 4-byte Folded Spill
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_1
LBB0_13:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movb	$0, (%rax)
	cmpb	$0, (%rbx)
	je	LBB0_15
## %bb.14:
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_15
## %bb.23:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	-72(%rbp), %edx                 ## 4-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Q_strncpyz                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_Q_COLOR_ESCAPE,1,0             ## @Q_COLOR_ESCAPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"UnnamedPlayer"

	.no_dead_strip	_ClientCleanName
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ClientCleanName
_ClientCleanName:                       ; @ClientCleanName
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x1
	mov	w22, #0
	mov	w21, #0
	mov	w23, #0
	sub	w20, w2, #1
	strb	wzr, [x1]
	sub	w9, w2, #3
	sub	w8, w2, #2
	stp	w8, w9, [sp, #8]                ; 8-byte Folded Spill
Lloh0:
	adrp	x26, _Q_COLOR_ESCAPE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _Q_COLOR_ESCAPE@GOTPAGEOFF]
	mov	x27, x1
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
                                        ;       Child Loop BB0_6 Depth 3
	mov	x28, x23
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_6 Depth 3
	ldrb	w25, [x0]
	cbz	w25, LBB0_18
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=2
	mov	x24, x0
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=3
	add	x0, x24, #2
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=3
	ldrb	w25, [x0]
	mov	x24, x0
	cbz	w25, LBB0_18
LBB0_6:                                 ;   Parent Loop BB0_1 Depth=1
                                        ;     Parent Loop BB0_2 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	add	x0, x24, #1
	ldrb	w8, [x19]
	cbnz	w8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=3
	cmp	w25, #32
	b.eq	LBB0_5
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=3
	ldrb	w8, [x26]
	cmp	w25, w8
	b.ne	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=3
	ldrb	w8, [x0]
	cbz	w8, LBB0_18
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=3
	sxtb	w0, w8
	bl	_ColorIndex
	cbz	x0, LBB0_4
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=2
	cmp	w25, #32
	b.ne	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=2
	add	w23, w23, #1
	cmp	w28, #2
	b.gt	LBB0_2
	b	LBB0_16
LBB0_13:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w22, w8
	b.gt	LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_1 Depth=1
	strb	w25, [x27]
	add	x0, x24, #2
	ldrb	w8, [x24, #1]
	strb	w8, [x27, #1]
	add	x27, x27, #2
	add	w22, w22, #2
	b	LBB0_1
LBB0_15:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w23, #0
LBB0_16:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	cmp	w22, w8
	b.gt	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_1 Depth=1
	strb	w25, [x27], #1
	add	w21, w21, #1
	add	w22, w22, #1
	b	LBB0_1
LBB0_18:
	strb	wzr, [x27]
	ldrb	w8, [x19]
	cmp	w8, #0
	ccmp	w21, #0, #4, ne
	b.ne	LBB0_20
; %bb.19:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_Q_strncpyz
LBB0_20:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_Q_COLOR_ESCAPE,1,0             ; @Q_COLOR_ESCAPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"UnnamedPlayer"

	.no_dead_strip	_ClientCleanName
.subsections_via_symbols
