	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UI_LoadArenasIntoMapList       ## -- Begin function UI_LoadArenasIntoMapList
	.p2align	4, 0x90
_UI_LoadArenasIntoMapList:              ## @UI_LoadArenasIntoMapList
	.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	_uiInfo@GOTPCREL(%rip), %r14
	movq	$0, (%r14)
	movq	_ui_numArenas@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_20
## %bb.1:
	xorl	%eax, %eax
	movq	_ui_arenaInfos@GOTPCREL(%rip), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rcx
	leaq	(%rax,%rax,4), %rax
	movl	$-1, (%rcx,%rax,8)
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	leaq	L_.str(%rip), %rsi
	callq	_Info_ValueForKey
	movq	%rax, %rdi
	callq	_String_Alloc
	movq	(%r14), %rcx
	movq	8(%r14), %rdx
	leaq	(%rcx,%rcx,4), %rcx
	movq	%rax, 16(%rdx,%rcx,8)
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_Info_ValueForKey
	movq	%rax, %rdi
	callq	_String_Alloc
	movq	(%r14), %rcx
	movq	8(%r14), %rdx
	leaq	(%rcx,%rcx,4), %rcx
	movq	%rax, 32(%rdx,%rcx,8)
	movl	$-1, 4(%rdx,%rcx,8)
	movq	16(%rdx,%rcx,8), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_va
	movq	%rax, %rdi
	callq	_String_Alloc
	movq	(%r14), %rcx
	movq	8(%r14), %rdx
	leaq	(%rcx,%rcx,4), %rcx
	movq	%rax, 24(%rdx,%rcx,8)
	movl	$0, 8(%rdx,%rcx,8)
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_Info_ValueForKey
	cmpb	$0, (%rax)
	je	LBB0_17
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r13
	movq	%rax, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_GT_FFA@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	movl	$1, %eax
	shll	%cl, %eax
	movq	(%r14), %rcx
	movq	8(%r14), %rdx
	leaq	(%rcx,%rcx,4), %rcx
	orl	%eax, 8(%rdx,%rcx,8)
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_GT_TOURNAMENT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	movl	$1, %eax
	shll	%cl, %eax
	movq	(%r14), %rcx
	movq	8(%r14), %rdx
	leaq	(%rcx,%rcx,4), %rcx
	orl	%eax, 8(%rdx,%rcx,8)
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_GT_CTF@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	movl	$1, %eax
	shll	%cl, %eax
	movq	(%r14), %rcx
	movq	8(%r14), %rdx
	leaq	(%rcx,%rcx,4), %rcx
	orl	%eax, 8(%rdx,%rcx,8)
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_GT_1FCTF@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	movl	$1, %eax
	shll	%cl, %eax
	movq	(%r14), %rcx
	movq	8(%r14), %rdx
	leaq	(%rcx,%rcx,4), %rcx
	orl	%eax, 8(%rdx,%rcx,8)
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_GT_OBELISK@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	movl	$1, %eax
	shll	%cl, %eax
	movq	(%r14), %rcx
	movq	8(%r14), %rdx
	leaq	(%rcx,%rcx,4), %rcx
	orl	%eax, 8(%rdx,%rcx,8)
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_GT_HARVESTER@GOTPCREL(%rip), %rax
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_GT_FFA@GOTPCREL(%rip), %rax
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	movzbl	(%rax), %ecx
	movl	$1, %edx
	shll	%cl, %edx
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	leaq	(%rax,%rax,4), %rsi
	orl	%edx, 8(%rcx,%rsi,8)
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14), %rax
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	movq	%rax, (%r14)
	movq	_MAX_MAPS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_20
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	(%r15), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_3
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_uiInfo,16,3                    ## @uiInfo
	.comm	_ui_numArenas,4,2               ## @ui_numArenas
	.comm	_ui_arenaInfos,8,3              ## @ui_arenaInfos
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"map"

L_.str.1:                               ## @.str.1
	.asciz	"longname"

L_.str.2:                               ## @.str.2
	.asciz	"levelshots/%s"

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

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

	.comm	_GT_FFA,4,2                     ## @GT_FFA
L_.str.5:                               ## @.str.5
	.asciz	"tourney"

	.comm	_GT_TOURNAMENT,4,2              ## @GT_TOURNAMENT
L_.str.6:                               ## @.str.6
	.asciz	"ctf"

	.comm	_GT_CTF,4,2                     ## @GT_CTF
L_.str.7:                               ## @.str.7
	.asciz	"oneflag"

	.comm	_GT_1FCTF,4,2                   ## @GT_1FCTF
L_.str.8:                               ## @.str.8
	.asciz	"overload"

	.comm	_GT_OBELISK,4,2                 ## @GT_OBELISK
L_.str.9:                               ## @.str.9
	.asciz	"harvester"

	.comm	_GT_HARVESTER,4,2               ## @GT_HARVESTER
	.comm	_MAX_MAPS,8,3                   ## @MAX_MAPS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UI_LoadArenasIntoMapList       ; -- Begin function UI_LoadArenasIntoMapList
	.p2align	2
_UI_LoadArenasIntoMapList:              ; @UI_LoadArenasIntoMapList
	.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
Lloh0:
	adrp	x24, _uiInfo@GOTPAGE
Lloh1:
	ldr	x24, [x24, _uiInfo@GOTPAGEOFF]
	str	xzr, [x24]
Lloh2:
	adrp	x25, _ui_numArenas@GOTPAGE
Lloh3:
	ldr	x25, [x25, _ui_numArenas@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.1:
	mov	x8, #0
	mov	x26, #0
	mov	w27, #40
Lloh4:
	adrp	x28, _ui_arenaInfos@GOTPAGE
Lloh5:
	ldr	x28, [x28, _ui_arenaInfos@GOTPAGEOFF]
	mov	w19, #-1
Lloh6:
	adrp	x22, l_.str.3@PAGE
Lloh7:
	add	x22, x22, l_.str.3@PAGEOFF
	mov	w20, #1
Lloh8:
	adrp	x21, _MAX_MAPS@GOTPAGE
Lloh9:
	ldr	x21, [x21, _MAX_MAPS@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x24, #8]
	mul	x8, x8, x27
	str	w19, [x9, x8]
	ldr	x8, [x28]
	lsl	x23, x26, #2
	ldr	w0, [x8, x23]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Info_ValueForKey
	bl	_String_Alloc
	ldp	x9, x8, [x24]
	madd	x8, x9, x27, x8
	str	x0, [x8, #16]
	ldr	x8, [x28]
	ldr	w0, [x8, x23]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_Info_ValueForKey
	bl	_String_Alloc
	ldp	x9, x8, [x24]
	madd	x8, x9, x27, x8
	str	x0, [x8, #32]
	str	w19, [x8, #4]
	ldr	x1, [x8, #16]
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_va
	bl	_String_Alloc
	ldp	x9, x8, [x24]
	madd	x8, x9, x27, x8
	str	x0, [x8, #24]
	str	wzr, [x8, #8]
	ldr	x8, [x28]
	ldr	w0, [x8, x23]
	mov	x1, x22
	bl	_Info_ValueForKey
	ldrb	w8, [x0]
	cbz	w8, LBB0_15
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x23, x0
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strstr
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh18:
	adrp	x8, _GT_FFA@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GT_FFA@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	lsl	w8, w20, w8
	ldp	x10, x9, [x24]
	madd	x9, x10, x27, x9
	ldr	w10, [x9, #8]
	orr	w8, w10, w8
	str	w8, [x9, #8]
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strstr
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh23:
	adrp	x8, _GT_TOURNAMENT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _GT_TOURNAMENT@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	lsl	w8, w20, w8
	ldp	x10, x9, [x24]
	madd	x9, x10, x27, x9
	ldr	w10, [x9, #8]
	orr	w8, w10, w8
	str	w8, [x9, #8]
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
Lloh26:
	adrp	x1, l_.str.6@PAGE
Lloh27:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_strstr
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh28:
	adrp	x8, _GT_CTF@GOTPAGE
Lloh29:
	ldr	x8, [x8, _GT_CTF@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	lsl	w8, w20, w8
	ldp	x10, x9, [x24]
	madd	x9, x10, x27, x9
	ldr	w10, [x9, #8]
	orr	w8, w10, w8
	str	w8, [x9, #8]
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
Lloh31:
	adrp	x1, l_.str.7@PAGE
Lloh32:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_strstr
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh33:
	adrp	x8, _GT_1FCTF@GOTPAGE
Lloh34:
	ldr	x8, [x8, _GT_1FCTF@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	lsl	w8, w20, w8
	ldp	x10, x9, [x24]
	madd	x9, x10, x27, x9
	ldr	w10, [x9, #8]
	orr	w8, w10, w8
	str	w8, [x9, #8]
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
Lloh36:
	adrp	x1, l_.str.8@PAGE
Lloh37:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_strstr
	cbz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh38:
	adrp	x8, _GT_OBELISK@GOTPAGE
Lloh39:
	ldr	x8, [x8, _GT_OBELISK@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	lsl	w8, w20, w8
	ldp	x10, x9, [x24]
	madd	x9, x10, x27, x9
	ldr	w10, [x9, #8]
	orr	w8, w10, w8
	str	w8, [x9, #8]
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
Lloh41:
	adrp	x1, l_.str.9@PAGE
Lloh42:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_strstr
	cbz	x0, LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh43:
	adrp	x8, _GT_HARVESTER@GOTPAGE
Lloh44:
	ldr	x8, [x8, _GT_HARVESTER@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh45:
	adrp	x8, _GT_FFA@GOTPAGE
Lloh46:
	ldr	x8, [x8, _GT_FFA@GOTPAGEOFF]
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x8]
	lsl	w9, w20, w8
	ldp	x8, x10, [x24]
	madd	x10, x8, x27, x10
	ldr	w11, [x10, #8]
	orr	w9, w11, w9
	str	w9, [x10, #8]
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x24]
LBB0_18:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #1
	str	x8, [x24]
	ldr	x9, [x21]
	cmp	x8, x9
	b.hs	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x26, x26, #1
	ldrsw	x9, [x25]
	cmp	x26, x9
	b.lt	LBB0_2
LBB0_20:
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_uiInfo,16,3                    ; @uiInfo
	.comm	_ui_numArenas,4,2               ; @ui_numArenas
	.comm	_ui_arenaInfos,8,3              ; @ui_arenaInfos
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"map"

l_.str.1:                               ; @.str.1
	.asciz	"longname"

l_.str.2:                               ; @.str.2
	.asciz	"levelshots/%s"

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

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

	.comm	_GT_FFA,4,2                     ; @GT_FFA
l_.str.5:                               ; @.str.5
	.asciz	"tourney"

	.comm	_GT_TOURNAMENT,4,2              ; @GT_TOURNAMENT
l_.str.6:                               ; @.str.6
	.asciz	"ctf"

	.comm	_GT_CTF,4,2                     ; @GT_CTF
l_.str.7:                               ; @.str.7
	.asciz	"oneflag"

	.comm	_GT_1FCTF,4,2                   ; @GT_1FCTF
l_.str.8:                               ; @.str.8
	.asciz	"overload"

	.comm	_GT_OBELISK,4,2                 ; @GT_OBELISK
l_.str.9:                               ; @.str.9
	.asciz	"harvester"

	.comm	_GT_HARVESTER,4,2               ; @GT_HARVESTER
	.comm	_MAX_MAPS,8,3                   ; @MAX_MAPS
.subsections_via_symbols
