	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function MapList_Parse
_MapList_Parse:                         ## @MapList_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), %r15
	movl	(%r15), %esi
	callq	_COM_ParseExt
	movq	_qfalse@GOTPCREL(%rip), %r14
	cmpb	$123, (%rax)
	jne	LBB0_17
## %bb.1:
	movq	_uiInfo@GOTPCREL(%rip), %r12
	movq	$0, (%r12)
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_COM_ParseExt
	movq	%rax, %r13
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_18
## %bb.2:
	movq	_qtrue@GOTPCREL(%rip), %r15
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movb	(%r13), %al
	cmpb	$123, %al
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	testb	%al, %al
	je	LBB0_17
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_COM_ParseExt
	movq	%rax, %r13
	movq	%rax, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_Q_stricmp
	testq	%rax, %rax
	jne	LBB0_3
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rax
	movq	8(%r12), %rcx
	leaq	(%rax,%rax,4), %rax
	leaq	(%rcx,%rax,8), %rsi
	addq	$32, %rsi
	movq	%rbx, %rdi
	callq	_String_Parse
	testl	%eax, %eax
	je	LBB0_17
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rax
	movq	8(%r12), %rcx
	leaq	(%rax,%rax,4), %rax
	leaq	(%rcx,%rax,8), %rsi
	addq	$8, %rsi
	movq	%rbx, %rdi
	callq	_String_Parse
	testl	%eax, %eax
	je	LBB0_17
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rax
	movq	8(%r12), %rcx
	leaq	(%rax,%rax,4), %rax
	leaq	(%rcx,%rax,8), %rsi
	addq	$28, %rsi
	movq	%rbx, %rdi
	callq	_Int_Parse
	testl	%eax, %eax
	je	LBB0_17
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rax
	movq	8(%r12), %rcx
	leaq	(%rax,%rax,4), %rax
	leaq	(%rcx,%rax,8), %rsi
	addq	$24, %rsi
	movq	%rbx, %rdi
	callq	_String_Parse
	testl	%eax, %eax
	je	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rax
	movq	8(%r12), %rcx
	leaq	(%rax,%rax,4), %rax
	movl	$0, (%rcx,%rax,8)
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_COM_ParseExt
	movzbl	(%rax), %ecx
	leal	-48(%rcx), %edx
	cmpb	$9, %dl
	ja	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	addb	$-48, %cl
	movl	$1, %edx
                                        ## kill: def $cl killed $cl killed $rcx
	shll	%cl, %edx
	movq	(%r12), %rcx
	movq	8(%r12), %rsi
	leaq	(%rcx,%rcx,4), %rcx
	orl	%edx, (%rsi,%rcx,8)
	movq	16(%rsi,%rcx,8), %rcx
	movsbq	(%rax), %rax
	leaq	(%rcx,%rax,4), %rsi
	addq	$-192, %rsi
	movq	%rbx, %rdi
	callq	_Int_Parse
	testl	%eax, %eax
	jne	LBB0_11
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rax
	movq	8(%r12), %rcx
	leaq	(%rax,%rax,4), %rax
	movl	$-1, 4(%rcx,%rax,8)
	movl	8(%rcx,%rax,8), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_va
	movl	%eax, %edi
	callq	_trap_R_RegisterShaderNoMip
	movq	(%r12), %rcx
	movq	8(%r12), %rdx
	leaq	(%rcx,%rcx,4), %rsi
	movl	%eax, 12(%rdx,%rsi,8)
	movq	_MAX_MAPS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jae	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	incq	%rcx
	movq	%rcx, (%r12)
	jmp	LBB0_5
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.2(%rip), %rdi
	callq	_Com_Printf
	jmp	LBB0_5
LBB0_17:
	movq	%r14, %r15
LBB0_18:
	movl	(%r15), %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
	.comm	_uiInfo,16,3                    ## @uiInfo
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"}"

L_.str.1:                               ## @.str.1
	.asciz	"levelshots/%s_small"

	.comm	_MAX_MAPS,8,3                   ## @MAX_MAPS
L_.str.2:                               ## @.str.2
	.asciz	"Too many maps, last one replaced!\n"

	.no_dead_strip	_MapList_Parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function MapList_Parse
_MapList_Parse:                         ; @MapList_Parse
	.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, x0
Lloh0:
	adrp	x24, _qtrue@GOTPAGE
Lloh1:
	ldr	x24, [x24, _qtrue@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_COM_ParseExt
	ldrb	w8, [x0]
	cmp	w8, #123
	b.ne	LBB0_16
; %bb.1:
Lloh2:
	adrp	x25, _uiInfo@GOTPAGE
Lloh3:
	ldr	x25, [x25, _uiInfo@GOTPAGEOFF]
	str	xzr, [x25]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_COM_ParseExt
	mov	x23, x0
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Q_stricmp
	cbz	x0, LBB0_18
; %bb.2:
Lloh6:
	adrp	x26, _qfalse@GOTPAGE
Lloh7:
	ldr	x26, [x26, _qfalse@GOTPAGEOFF]
	mov	w27, #40
	mov	w28, #1
Lloh8:
	adrp	x20, l_.str.1@PAGE
Lloh9:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh10:
	adrp	x21, _MAX_MAPS@GOTPAGE
Lloh11:
	ldr	x21, [x21, _MAX_MAPS@GOTPAGEOFF]
Lloh12:
	adrp	x22, l_.str@PAGE
Lloh13:
	add	x22, x22, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldrb	w8, [x23]
	cmp	w8, #123
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w8, LBB0_17
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x24]
	mov	x0, x19
	bl	_COM_ParseExt
	mov	x23, x0
	mov	x1, x22
	bl	_Q_stricmp
	cbnz	x0, LBB0_3
	b	LBB0_18
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldp	x9, x8, [x25]
	madd	x8, x9, x27, x8
	add	x1, x8, #32
	mov	x0, x19
	bl	_String_Parse
	cbz	w0, LBB0_17
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x9, x8, [x25]
	madd	x8, x9, x27, x8
	add	x1, x8, #8
	mov	x0, x19
	bl	_String_Parse
	cbz	w0, LBB0_17
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x9, x8, [x25]
	madd	x8, x9, x27, x8
	add	x1, x8, #28
	mov	x0, x19
	bl	_Int_Parse
	cbz	w0, LBB0_17
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x9, x8, [x25]
	madd	x8, x9, x27, x8
	add	x1, x8, #24
	mov	x0, x19
	bl	_String_Parse
	cbz	w0, LBB0_17
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldp	x9, x8, [x25]
	mul	x9, x9, x27
	str	wzr, [x8, x9]
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w1, [x24]
	mov	x0, x19
	bl	_COM_ParseExt
	ldrb	w8, [x0]
	sub	w8, w8, #48
	cmp	w8, #9
	b.hi	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	lsl	w8, w28, w8
	ldp	x10, x9, [x25]
	madd	x9, x10, x27, x9
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	ldr	x8, [x9, #16]
	ldrsb	x9, [x0]
	add	x8, x8, x9, lsl #2
	sub	x1, x8, #192
	mov	x0, x19
	bl	_Int_Parse
	cbnz	w0, LBB0_11
	b	LBB0_17
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x9, x8, [x25]
	madd	x8, x9, x27, x8
	mov	w9, #-1
	str	w9, [x8, #4]
	ldr	w1, [x8, #8]
	mov	x0, x20
	bl	_va
	bl	_trap_R_RegisterShaderNoMip
	ldp	x8, x9, [x25]
	madd	x9, x8, x27, x9
	str	w0, [x9, #12]
	ldr	x9, [x21]
	cmp	x8, x9
	b.hs	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	str	x8, [x25]
	b	LBB0_5
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_Com_Printf
	b	LBB0_5
LBB0_16:
Lloh16:
	adrp	x24, _qfalse@GOTPAGE
Lloh17:
	ldr	x24, [x24, _qfalse@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
	mov	x24, x26
LBB0_18:
	ldr	w0, [x24]
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_uiInfo,16,3                    ; @uiInfo
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"}"

l_.str.1:                               ; @.str.1
	.asciz	"levelshots/%s_small"

	.comm	_MAX_MAPS,8,3                   ; @MAX_MAPS
l_.str.2:                               ; @.str.2
	.asciz	"Too many maps, last one replaced!\n"

	.no_dead_strip	_MapList_Parse
.subsections_via_symbols
