	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Com_PlayerNameToFieldString    ## -- Begin function Com_PlayerNameToFieldString
	.p2align	4, 0x90
_Com_PlayerNameToFieldString:           ## @Com_PlayerNameToFieldString
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_qfalse@GOTPCREL(%rip), %r8
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.1:
	testq	%rdx, %rdx
	je	LBB0_15
## %bb.2:
	movq	_qtrue@GOTPCREL(%rip), %r8
	testl	%esi, %esi
	jle	LBB0_15
## %bb.3:
	movb	$0, (%rdi)
	movb	(%rdx), %al
	testb	%al, %al
	je	LBB0_11
## %bb.4:
	incq	%rdx
	xorl	%r9d, %r9d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	movb	%al, (%rdi,%r11)
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	movzbl	(%rdx), %eax
	incq	%rdx
	movl	%r10d, %r9d
	testb	%al, %al
	je	LBB0_14
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r9d, %r11
	leaq	1(%r11), %r10
	cmpl	%esi, %r10d
	jge	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$32, %al
	jg	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	leal	6(%r9), %ecx
	cmpl	%esi, %ecx
	jge	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%eax, %ecx
	andb	$15, %cl
	movb	$92, (%rdi,%r11)
	movb	$48, (%rdi,%r10)
	movb	$120, 2(%rdi,%r11)
	sarb	$4, %al
	addb	$48, %al
	movb	%al, 3(%rdi,%r11)
	leal	87(%rcx), %r10d
	leal	48(%rcx), %eax
	cmpb	$10, %cl
	movzbl	%r10b, %ecx
	movzbl	%al, %eax
	cmovael	%ecx, %eax
	movb	%al, 4(%rdi,%r11)
	addl	$5, %r9d
	movl	%r9d, %r10d
	jmp	LBB0_6
LBB0_11:
	xorl	%r10d, %r10d
	jmp	LBB0_14
LBB0_13:
	movl	%r9d, %r10d
LBB0_14:
	movslq	%r10d, %rax
	movb	$0, (%rdi,%rax)
LBB0_15:
	movl	(%r8), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Com_PlayerNameToFieldString    ; -- Begin function Com_PlayerNameToFieldString
	.p2align	2
_Com_PlayerNameToFieldString:           ; @Com_PlayerNameToFieldString
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _qfalse@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
	cbz	x0, LBB0_15
; %bb.1:
	cbz	x2, LBB0_15
; %bb.2:
	cmp	w1, #1
	b.lt	LBB0_14
; %bb.3:
	strb	wzr, [x0]
	ldrb	w12, [x2]
	cbz	w12, LBB0_11
; %bb.4:
	mov	w13, #0
	add	x8, x2, #1
	mov	w9, #92
	mov	w10, #48
	mov	w11, #120
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	strb	w12, [x0, x15]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w12, [x8], #1
	mov	x13, x14
	cbz	w12, LBB0_13
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x15, w13
	add	x14, x15, #1
	cmp	w14, w1
	b.ge	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	sxtb	w16, w12
	cmp	w16, #32
	b.gt	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	add	w17, w13, #6
	cmp	w17, w1
	b.ge	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	and	w17, w12, #0xf
	add	x15, x0, x15
	strb	w10, [x0, x14]
	strb	w9, [x15]
	strb	w11, [x15, #2]
	lsr	w14, w16, #4
	add	w14, w14, #48
	strb	w14, [x15, #3]
	add	w14, w17, #87
	mov	w16, #48
	bfxil	w16, w12, #0, #4
	cmp	w17, #9
	csel	w12, w14, w16, hi
	strb	w12, [x15, #4]
	add	w14, w13, #5
	b	LBB0_6
LBB0_11:
	mov	w14, #0
	b	LBB0_13
LBB0_12:
	mov	x14, x13
LBB0_13:
	strb	wzr, [x0, w14, sxtw]
LBB0_14:
Lloh2:
	adrp	x8, _qtrue@GOTPAGE
Lloh3:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
LBB0_15:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
