	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ArenaServers_LoadFavorites     ## -- Begin function ArenaServers_LoadFavorites
	.p2align	4, 0x90
_ArenaServers_LoadFavorites:            ## @ArenaServers_LoadFavorites
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_ADDRESSLENGTH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	_MAX_FAVORITESERVERS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdi
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_g_favoriteserverlist@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	leal	(,%r14,8), %edx
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_memcpy
	movq	_g_numfavoriteservers@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rdi
	movq	_MAX_FAVORITESERVERS@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	shll	$3, %edx
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_memset
	movq	$0, (%r12)
	cmpl	$0, (%r15)
	jle	LBB0_11
## %bb.1:
	xorl	%r12d, %r12d
	movq	_g_numfavoriteservers@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_g_favoriteserverlist@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_g_numfavoriteservers@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movl	4(%rax,%rcx,8), %edi
	movq	%r15, %rbx
	movl	(%r15), %edx
	movq	%r13, %rsi
	callq	_Q_strncpyz
	xorl	%eax, %eax
	callq	_ArenaServers_MaxPing
	movq	_g_favoriteserverlist@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	(%r14), %rcx
	movl	%eax, (%rdx,%rcx,8)
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rcx
	movq	%rcx, (%r14)
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_MAX_FAVORITESERVERS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jge	LBB0_10
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	incl	%r12d
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	callq	_va
	movl	(%rbx), %edx
	movl	%eax, %edi
	movq	%r13, %rsi
	callq	_trap_Cvar_VariableStringBuffer
	cmpb	$0, (%r13)
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r15
	movq	_g_arenaservers@GOTPCREL(%rip), %rax
	movq	8(%rax), %rax
	movq	(%r14), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	%r13, %rsi
	callq	_strcpy
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	4(%rbx), %edi
	movq	%r13, %rsi
	callq	_Q_stricmp
	testl	%eax, %eax
	je	LBB0_15
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	addq	$8, %rbx
	decq	%r14
	jne	LBB0_5
	jmp	LBB0_7
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_g_numfavoriteservers@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	shlq	$3, %rdi
	movq	_g_favoriteserverlist@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	movq	%rbx, %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	(%r14), %rcx
	movq	%r15, %rbx
	jmp	LBB0_8
LBB0_10:
	movq	(%r14), %r14
LBB0_11:
	movq	_g_arenaservers@GOTPCREL(%rip), %rax
	movq	%r14, (%rax)
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_13
## %bb.12:
	movq	_g_numfavoriteservers@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.14:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_ADDRESSLENGTH,4,2          ## @MAX_ADDRESSLENGTH
	.comm	_MAX_FAVORITESERVERS,4,2        ## @MAX_FAVORITESERVERS
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_g_favoriteserverlist,8,3       ## @g_favoriteserverlist
	.comm	_g_numfavoriteservers,8,3       ## @g_numfavoriteservers
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"server%d"

	.comm	_g_arenaservers,16,3            ## @g_arenaservers
	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ArenaServers_LoadFavorites     ; -- Begin function ArenaServers_LoadFavorites
	.p2align	2
_ArenaServers_LoadFavorites:            ; @ArenaServers_LoadFavorites
	.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
	sub	sp, sp, #32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x24, _MAX_ADDRESSLENGTH@GOTPAGE
Lloh4:
	ldr	x24, [x24, _MAX_ADDRESSLENGTH@GOTPAGEOFF]
	ldr	w8, [x24]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
Lloh7:
	adrp	x25, _MAX_FAVORITESERVERS@GOTPAGE
Lloh8:
	ldr	x25, [x25, _MAX_FAVORITESERVERS@GOTPAGEOFF]
	ldr	w12, [x25]
	lsl	x8, x12, #3
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x0, x9, x8
	mov	sp, x0
Lloh11:
	adrp	x8, _qfalse@GOTPAGE
Lloh12:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh13:
	ldr	w21, [x8]
Lloh14:
	adrp	x28, _g_favoriteserverlist@GOTPAGE
Lloh15:
	ldr	x28, [x28, _g_favoriteserverlist@GOTPAGEOFF]
	ldr	x1, [x28]
	lsl	w2, w12, #3
	stur	x0, [x29, #-96]                 ; 8-byte Folded Spill
	bl	_memcpy
Lloh16:
	adrp	x26, _g_numfavoriteservers@GOTPAGE
Lloh17:
	ldr	x26, [x26, _g_numfavoriteservers@GOTPAGEOFF]
	ldr	w20, [x26]
	ldr	x0, [x28]
	ldr	w8, [x25]
	lsl	w2, w8, #3
	mov	w1, #0
	bl	_memset
	str	xzr, [x26]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.1:
	stur	w21, [x29, #-100]               ; 4-byte Folded Spill
	mov	w21, #0
Lloh18:
	adrp	x22, l_.str@PAGE
Lloh19:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x28]
	ldr	x9, [x26]
	add	x8, x8, x9, lsl #3
	ldr	w0, [x8, #4]
	ldr	w2, [x24]
	mov	x1, x19
	bl	_Q_strncpyz
	bl	_ArenaServers_MaxPing
	ldr	x9, [x28]
	ldr	x8, [x26]
	lsl	x10, x8, #3
	str	w0, [x9, x10]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x8, #1
	str	x8, [x26]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x25]
	cmp	w21, w8
	b.ge	LBB0_11
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	add	w21, w21, #1
	mov	x0, x22
	mov	x1, x21
	bl	_va
	ldr	w2, [x24]
	mov	x1, x19
	bl	_trap_Cvar_VariableStringBuffer
	ldrb	w8, [x19]
	cbz	w8, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh20:
	adrp	x8, _g_arenaservers@GOTPAGE
Lloh21:
	ldr	x8, [x8, _g_arenaservers@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8, #8]
	ldr	x9, [x26]
	ldr	w0, [x8, x9, lsl #2]
	mov	x1, x19
	bl	_strcpy
	cmp	w20, #1
	b.lt	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x27, x20
	ldur	x23, [x29, #-96]                ; 8-byte Folded Reload
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x23, #4]
	mov	x1, x19
	bl	_Q_stricmp
	cbz	w0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	add	x23, x23, #8
	subs	x27, x27, #1
	b.ne	LBB0_8
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x28]
	ldr	x9, [x26]
	add	x0, x8, x9, lsl #3
	mov	x1, x23
	mov	w2, #8
	bl	_memcpy
Lloh23:
	adrp	x8, _qtrue@GOTPAGE
Lloh24:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	stur	w8, [x29, #-100]                ; 4-byte Folded Spill
	ldr	x8, [x26]
	b	LBB0_3
LBB0_11:
	ldr	x8, [x26]
	ldur	w21, [x29, #-100]               ; 4-byte Folded Reload
	b	LBB0_13
LBB0_12:
	mov	x8, #0
LBB0_13:
Lloh26:
	adrp	x9, _g_arenaservers@GOTPAGE
Lloh27:
	ldr	x9, [x9, _g_arenaservers@GOTPAGEOFF]
Lloh28:
	str	x8, [x9]
	cbnz	w21, LBB0_15
; %bb.14:
	str	xzr, [x26]
LBB0_15:
	ldur	x8, [x29, #-88]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	sub	sp, x29, #80
	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_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_ADDRESSLENGTH,4,2          ; @MAX_ADDRESSLENGTH
	.comm	_MAX_FAVORITESERVERS,4,2        ; @MAX_FAVORITESERVERS
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_g_favoriteserverlist,8,3       ; @g_favoriteserverlist
	.comm	_g_numfavoriteservers,8,3       ; @g_numfavoriteservers
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"server%d"

	.comm	_g_arenaservers,16,3            ; @g_arenaservers
	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
