	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Character_Parse
_Character_Parse:                       ## @Character_Parse
	.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
	movq	%rdi, %rbx
	movq	_qtrue@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_COM_ParseExt
	movq	_qfalse@GOTPCREL(%rip), %rcx
	cmpb	$123, (%rax)
	jne	LBB0_25
## %bb.1:
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_COM_ParseExt
	movq	%rax, %r15
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_26
## %bb.2:
	movq	_uiInfo@GOTPCREL(%rip), %r14
	movq	_qtrue@GOTPCREL(%rip), %r13
	leaq	L_.str(%rip), %r12
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	testb	%al, %al
	je	LBB0_27
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_COM_ParseExt
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_26
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r15, %r15
	je	LBB0_27
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movzbl	(%r15), %eax
	cmpb	$123, %al
	jne	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r14), %rsi
	shlq	$5, %rsi
	addq	8(%r14), %rsi
	movq	%rbx, %rdi
	callq	_String_Parse
	testl	%eax, %eax
	je	LBB0_27
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	leaq	-48(%rbp), %rsi
	callq	_String_Parse
	testl	%eax, %eax
	je	LBB0_27
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	shlq	$5, %rax
	movl	$-1, 8(%rcx,%rax)
	movq	(%rcx,%rax), %rsi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_va
	movl	%eax, %edi
	callq	_String_Alloc
	movq	(%r14), %rcx
	movq	8(%r14), %rdx
	shlq	$5, %rcx
	movq	%rax, 24(%rdx,%rcx)
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str.2(%rip), %rsi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str.4(%rip), %rsi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rsi
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%esi, %esi
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_va
	jmp	LBB0_20
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_19
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str.5(%rip), %rdi
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	callq	_va
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %edi
	callq	_String_Alloc
	movq	%rax, %rsi
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movq	%rax, %rdx
	shlq	$5, %rdx
	movq	%rsi, 16(%rcx,%rdx)
	shlq	$5, %rax
	movq	(%rcx,%rax), %rdx
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_Com_Printf
	movq	(%r14), %rax
	movq	_MAX_HEADS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_5 Depth=1
	incq	%rax
	movq	%rax, (%r14)
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_Com_Printf
LBB0_23:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_COM_ParseExt
	cmpb	$125, (%rax)
	je	LBB0_4
LBB0_27:
	movq	_qfalse@GOTPCREL(%rip), %r13
	jmp	LBB0_26
LBB0_25:
	movq	%rcx, %r13
LBB0_26:
	movl	(%r13), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_qfalse,4,2                     ## @qfalse
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"}"

	.comm	_uiInfo,16,3                    ## @uiInfo
L_.str.1:                               ## @.str.1
	.asciz	"models/players/heads/%s/icon_default.tga"

L_.str.2:                               ## @.str.2
	.asciz	"female"

L_.str.3:                               ## @.str.3
	.asciz	"Janet"

L_.str.4:                               ## @.str.4
	.asciz	"male"

L_.str.5:                               ## @.str.5
	.asciz	"James"

L_.str.6:                               ## @.str.6
	.asciz	"%s"

L_.str.7:                               ## @.str.7
	.asciz	"Loaded %s character %s.\n"

	.comm	_MAX_HEADS,8,3                  ## @MAX_HEADS
L_.str.8:                               ## @.str.8
	.asciz	"Too many characters, last character replaced!\n"

	.no_dead_strip	_Character_Parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Character_Parse
_Character_Parse:                       ; @Character_Parse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x0
Lloh0:
	adrp	x25, _qtrue@GOTPAGE
Lloh1:
	ldr	x25, [x25, _qtrue@GOTPAGEOFF]
	ldr	w1, [x25]
	bl	_COM_ParseExt
	ldrb	w8, [x0]
	cmp	w8, #123
	b.ne	LBB0_22
; %bb.1:
	ldr	w1, [x25]
	mov	x0, x19
	bl	_COM_ParseExt
	mov	x27, x0
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Q_stricmp
	cbz	x0, LBB0_23
; %bb.2:
Lloh4:
	adrp	x26, _uiInfo@GOTPAGE
Lloh5:
	ldr	x26, [x26, _uiInfo@GOTPAGEOFF]
	mov	w23, #-1
Lloh6:
	adrp	x20, l_.str.1@PAGE
Lloh7:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh8:
	adrp	x21, l_.str.6@PAGE
Lloh9:
	add	x21, x21, l_.str.6@PAGEOFF
Lloh10:
	adrp	x22, l_.str.7@PAGE
Lloh11:
	add	x22, x22, l_.str.7@PAGEOFF
Lloh12:
	adrp	x24, _MAX_HEADS@GOTPAGE
Lloh13:
	ldr	x24, [x24, _MAX_HEADS@GOTPAGEOFF]
Lloh14:
	adrp	x28, l_.str@PAGE
Lloh15:
	add	x28, x28, l_.str@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	w8, LBB0_22
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x25]
	mov	x0, x19
	bl	_COM_ParseExt
	mov	x27, x0
	mov	x1, x28
	bl	_Q_stricmp
	cbz	x0, LBB0_23
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x27, LBB0_22
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x27]
	cmp	w8, #123
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldp	x9, x8, [x26]
	add	x1, x8, x9, lsl #5
	mov	x0, x19
	bl	_String_Parse
	cbz	w0, LBB0_22
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #24
	mov	x0, x19
	bl	_String_Parse
	cbz	w0, LBB0_22
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldp	x9, x8, [x26]
	add	x8, x8, x9, lsl #5
	str	w23, [x8, #8]
	ldr	x8, [x8]
	str	x8, [sp]
	mov	x0, x20
	bl	_va
	bl	_String_Alloc
	ldp	x9, x8, [x26]
	add	x8, x8, x9, lsl #5
	str	x0, [x8, #24]
	ldr	x0, [sp, #24]
	cbz	x0, LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_Q_stricmp
	cbz	x0, LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #24]
	cbz	x0, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh18:
	adrp	x1, l_.str.4@PAGE
Lloh19:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_Q_stricmp
	cbz	x0, LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #24]
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, #0
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	str	x8, [sp]
	mov	x0, x21
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh20:
	adrp	x0, l_.str.3@PAGE
Lloh21:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh22:
	adrp	x0, l_.str.5@PAGE
Lloh23:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_va
	bl	_String_Alloc
	ldp	x9, x8, [x26]
	add	x10, x8, x9, lsl #5
	str	x0, [x10, #16]
	lsl	x9, x9, #5
	ldr	x8, [x8, x9]
	stp	x0, x8, [sp]
	mov	x0, x22
	bl	_Com_Printf
	ldr	x8, [x26]
	ldr	x9, [x24]
	cmp	x8, x9
	b.hs	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x8, #1
	str	x8, [x26]
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh24:
	adrp	x0, l_.str.8@PAGE
Lloh25:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_Com_Printf
LBB0_21:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x25]
	mov	x0, x19
	bl	_COM_ParseExt
	ldrb	w8, [x0]
	cmp	w8, #125
	b.eq	LBB0_4
LBB0_22:
Lloh26:
	adrp	x25, _qfalse@GOTPAGE
Lloh27:
	ldr	x25, [x25, _qfalse@GOTPAGEOFF]
LBB0_23:
	ldr	w0, [x25]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_qfalse,4,2                     ; @qfalse
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"}"

	.comm	_uiInfo,16,3                    ; @uiInfo
l_.str.1:                               ; @.str.1
	.asciz	"models/players/heads/%s/icon_default.tga"

l_.str.2:                               ; @.str.2
	.asciz	"female"

l_.str.3:                               ; @.str.3
	.asciz	"Janet"

l_.str.4:                               ; @.str.4
	.asciz	"male"

l_.str.5:                               ; @.str.5
	.asciz	"James"

l_.str.6:                               ; @.str.6
	.asciz	"%s"

l_.str.7:                               ; @.str.7
	.asciz	"Loaded %s character %s.\n"

	.comm	_MAX_HEADS,8,3                  ; @MAX_HEADS
l_.str.8:                               ; @.str.8
	.asciz	"Too many characters, last character replaced!\n"

	.no_dead_strip	_Character_Parse
.subsections_via_symbols
