	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rsi, %r15
	movq	%rdi, %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	incq	%rbx
	cmpb	$32, %al
	je	LBB0_1
## %bb.2:
	testb	%al, %al
	je	LBB0_21
## %bb.3:
	cmpl	$2, %edx
	jl	LBB0_21
## %bb.4:
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	decl	%edx
	xorl	%r14d, %r14d
	movq	_Q_COLOR_ESCAPE@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	xorl	%r13d, %r13d
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r13d, %rcx
	movb	%al, (%r15,%rcx)
	cmpb	$32, -1(%rbx)
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$2, %r14d
	jg	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	incl	%r14d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	testl	%r13d, %r13d
	jle	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	leal	-1(%r13), %r12d
	movzbl	(%r15,%r12), %eax
	cmpb	(%rdi), %al
	jne	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	leaq	(%r15,%r12), %rdi
	callq	_Q_IsColorString
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	decl	%r15d
	movsbl	-1(%rbx), %edi
	callq	_ColorIndex
	movl	%r15d, %esi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	testq	%rax, %rax
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	_Q_COLOR_ESCAPE@GOTPCREL(%rip), %rdi
	jne	LBB0_14
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	incl	%esi
	xorl	%r14d, %r14d
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	incl	%r13d
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%r13d, %r12d
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movzbl	(%rbx), %eax
	testb	%al, %al
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movl	%r12d, %r13d
	cmpl	%edx, %r12d
	jl	LBB0_5
	jmp	LBB0_18
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	incl	%esi
	xorl	%r14d, %r14d
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	_Q_COLOR_ESCAPE@GOTPCREL(%rip), %rdi
	jmp	LBB0_14
LBB0_21:
	movb	$0, (%r15)
	jmp	LBB0_22
LBB0_18:
	movslq	%r12d, %rax
	movb	$0, (%r15,%rax)
	cmpb	$0, (%r15)
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_22
## %bb.19:
	testl	%esi, %esi
	je	LBB0_22
## %bb.20:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	addq	$24, %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:
	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	x19, x2
	mov	x20, x1
	mov	x21, x0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x21], #1
	cmp	w8, #32
	b.eq	LBB0_1
; %bb.2:
	cmp	w8, #0
	ccmp	w19, #2, #8, ne
	b.ge	LBB0_4
; %bb.3:
	strb	wzr, [x20]
	b	LBB0_19
LBB0_4:
	mov	w24, #0
	mov	w22, #0
	mov	w23, #0
	sub	w25, w19, #1
Lloh0:
	adrp	x26, _Q_COLOR_ESCAPE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _Q_COLOR_ESCAPE@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	w24, #0
	add	w22, w22, #1
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w23, w23, #1
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w8, [x21], #1
	cmp	w8, #0
	ccmp	w23, w25, #0, ne
	b.ge	LBB0_16
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	strb	w8, [x20, w23, sxtw]
	ldurb	w8, [x21, #-1]
	cmp	w8, #32
	b.ne	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w24, #2
	b.gt	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	add	w24, w24, #1
	b	LBB0_6
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	subs	w27, w23, #1
	b.lt	LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x0, x20, x27
	ldrb	w8, [x0]
	ldrb	w9, [x26]
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	bl	_Q_IsColorString
	cbz	x0, LBB0_5
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	sub	w22, w22, #1
	ldursb	w0, [x21, #-1]
	bl	_ColorIndex
	cbnz	x0, LBB0_6
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x23, x27
	b	LBB0_7
LBB0_16:
	strb	wzr, [x20, w23, sxtw]
	ldrb	w8, [x20]
	cbz	w8, LBB0_19
; %bb.17:
	cbz	w22, LBB0_19
; %bb.18:
	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_19:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, 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
	b	_Q_strncpyz
	.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
