	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ArenaServers_StopRefresh
_ArenaServers_StopRefresh:              ## @ArenaServers_StopRefresh
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_g_arenaservers@GOTPCREL(%rip), %rbx
	cmpq	$0, 32(%rbx)
	je	LBB0_6
## %bb.1:
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
	movq	_g_servertype@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_AS_FAVORITES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_ArenaServers_InsertFavorites
LBB0_3:
	cmpq	$0, (%rbx)
	movq	16(%rbx), %rax
	js	LBB0_5
## %bb.4:
	movq	(%rax), %rcx
	movq	%rcx, 8(%rbx)
	movq	(%rax), %rcx
	movq	%rcx, (%rbx)
LBB0_5:
	movl	24(%rbx), %edi
	movq	(%rax), %rsi
	movq	_ArenaServers_Compare@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$4, %edx
	callq	_qsort
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ArenaServers_UpdateMenu        ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g_arenaservers,40,3            ## @g_arenaservers
	.comm	_qfalse,8,3                     ## @qfalse
	.comm	_g_servertype,8,3               ## @g_servertype
	.comm	_AS_FAVORITES,8,3               ## @AS_FAVORITES
	.comm	_ArenaServers_Compare,4,2       ## @ArenaServers_Compare
	.no_dead_strip	_ArenaServers_StopRefresh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ArenaServers_StopRefresh
_ArenaServers_StopRefresh:              ; @ArenaServers_StopRefresh
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _g_arenaservers@GOTPAGE
Lloh1:
	ldr	x19, [x19, _g_arenaservers@GOTPAGEOFF]
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_6
; %bb.1:
Lloh2:
	adrp	x8, _qfalse@GOTPAGE
Lloh3:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _g_servertype@GOTPAGE
Lloh6:
	ldr	x9, [x9, _g_servertype@GOTPAGEOFF]
	str	x8, [x19, #32]
Lloh7:
	ldr	x8, [x9]
Lloh8:
	adrp	x9, _AS_FAVORITES@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AS_FAVORITES@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	bl	_ArenaServers_InsertFavorites
LBB0_3:
	ldr	x9, [x19]
	ldr	x8, [x19, #16]
	tbnz	x9, #63, LBB0_5
; %bb.4:
	ldr	x9, [x8]
	str	x9, [x19, #8]
	ldr	x9, [x8]
	str	x9, [x19]
LBB0_5:
	ldr	w0, [x19, #24]
	ldr	x1, [x8]
Lloh11:
	adrp	x8, _ArenaServers_Compare@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ArenaServers_Compare@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	w2, #4
	bl	_qsort
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ArenaServers_UpdateMenu
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_g_arenaservers,40,3            ; @g_arenaservers
	.comm	_qfalse,8,3                     ; @qfalse
	.comm	_g_servertype,8,3               ; @g_servertype
	.comm	_AS_FAVORITES,8,3               ; @AS_FAVORITES
	.comm	_ArenaServers_Compare,4,2       ; @ArenaServers_Compare
	.no_dead_strip	_ArenaServers_StopRefresh
.subsections_via_symbols
