	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ArenaServers_SaveChanges       ## -- Begin function ArenaServers_SaveChanges
	.p2align	4, 0x90
_ArenaServers_SaveChanges:              ## @ArenaServers_SaveChanges
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_g_arenaservers@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_1
## %bb.6:
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r14
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r12
	incq	%rbx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_va
	movq	8(%r15), %rcx
	movq	(%rcx,%r12,8), %rsi
	movl	%eax, %edi
	callq	_trap_Cvar_Set
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_7
	jmp	LBB0_2
LBB0_1:
	xorl	%ebx, %ebx
LBB0_2:
	movq	_MAX_FAVORITESERVERS@GOTPCREL(%rip), %r12
	cmpl	(%r12), %ebx
	jge	LBB0_5
## %bb.3:
	leaq	L_.str(%rip), %r14
	leaq	L_.str.1(%rip), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_va
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_trap_Cvar_Set
	cmpl	(%r12), %ebx
	jl	LBB0_4
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g_arenaservers,16,3            ## @g_arenaservers
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"server%d"

	.comm	_MAX_FAVORITESERVERS,4,2        ## @MAX_FAVORITESERVERS
L_.str.1:                               ## @.str.1
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ArenaServers_SaveChanges       ; -- Begin function ArenaServers_SaveChanges
	.p2align	2
_ArenaServers_SaveChanges:              ; @ArenaServers_SaveChanges
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x21, _g_arenaservers@GOTPAGE
Lloh1:
	ldr	x21, [x21, _g_arenaservers@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, #0
Lloh2:
	adrp	x20, l_.str@PAGE
Lloh3:
	add	x20, x20, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x19
	add	x19, x19, #1
	mov	x0, x20
	mov	x1, x19
	bl	_va
	ldr	x8, [x21, #8]
	ldr	x1, [x8, x22, lsl #3]
	bl	_trap_Cvar_Set
	ldrsw	x8, [x21]
	cmp	x19, x8
	b.lt	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w19, #0
LBB0_4:
Lloh4:
	adrp	x22, _MAX_FAVORITESERVERS@GOTPAGE
Lloh5:
	ldr	x22, [x22, _MAX_FAVORITESERVERS@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w19, w8
	b.ge	LBB0_7
; %bb.5:
Lloh6:
	adrp	x20, l_.str@PAGE
Lloh7:
	add	x20, x20, l_.str@PAGEOFF
Lloh8:
	adrp	x21, l_.str.1@PAGE
Lloh9:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	w19, w19, #1
	mov	x0, x20
	mov	x1, x19
	bl	_va
	mov	x1, x21
	bl	_trap_Cvar_Set
	ldr	w8, [x22]
	cmp	w19, w8
	b.lt	LBB0_6
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_g_arenaservers,16,3            ; @g_arenaservers
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"server%d"

	.comm	_MAX_FAVORITESERVERS,4,2        ; @MAX_FAVORITESERVERS
l_.str.1:                               ; @.str.1
	.space	1

.subsections_via_symbols
