	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ArenaServers_Remove
_ArenaServers_Remove:                   ## @ArenaServers_Remove
	.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), %r14
	cmpl	$0, 32(%r14)
	je	LBB0_18
## %bb.1:
	movq	40(%r14), %rax
	movq	24(%r14), %rcx
	movq	(%rax,%rcx,8), %r12
	movl	(%r14), %edx
	testl	%edx, %edx
	jle	LBB0_10
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	movl	(%r12), %esi
	movl	(%rax,%rbx,4), %edi
	callq	_Q_stricmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	(%r14), %rdx
	cmpq	%rdx, %rbx
	jl	LBB0_3
## %bb.6:
	cmpl	%ebx, %edx
	jg	LBB0_7
	jmp	LBB0_10
LBB0_4:
	movl	(%r14), %edx
	cmpl	%ebx, %edx
	jle	LBB0_10
LBB0_7:
	leal	-1(%rdx), %eax
	cmpl	%ebx, %eax
	jle	LBB0_9
## %bb.8:
	movq	16(%r14), %rax
	movl	%ebx, %ecx
	leaq	(%rax,%rcx,4), %rdi
	movl	%ebx, %ecx
	incl	%ecx
	leaq	(%rax,%rcx,4), %rsi
	notl	%ebx
	addl	%ebx, %edx
	shll	$2, %edx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movl	(%r14), %eax
	decl	%eax
LBB0_9:
	movl	%eax, (%r14)
	movl	%eax, %edx
LBB0_10:
	movq	_g_numfavoriteservers@GOTPCREL(%rip), %r15
	movslq	(%r15), %r8
	movq	_g_favoriteserverlist@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	leal	(,%r8,4), %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rdi
	incq	%rcx
	addl	$-4, %eax
	leaq	4(%rbx), %rsi
	cmpq	%r8, %rdi
	jge	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpq	%r12, %rbx
	movq	%rsi, %rbx
	jne	LBB0_11
LBB0_13:
	decq	%rcx
	cmpl	%ecx, %r8d
	jle	LBB0_17
## %bb.14:
	decl	%r8d
	cmpl	%ecx, %r8d
	jle	LBB0_16
## %bb.15:
	leaq	-4(%rsi), %rdi
	movl	%eax, %edx
	callq	_memcpy
	movl	(%r15), %r8d
	movl	(%r14), %edx
	decl	%r8d
LBB0_16:
	movl	%r8d, (%r15)
LBB0_17:
	movl	%edx, 4(%r14)
	movl	%edx, 8(%r14)
LBB0_18:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g_arenaservers,48,3            ## @g_arenaservers
	.comm	_g_numfavoriteservers,4,2       ## @g_numfavoriteservers
	.comm	_g_favoriteserverlist,8,3       ## @g_favoriteserverlist
	.no_dead_strip	_ArenaServers_Remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ArenaServers_Remove
_ArenaServers_Remove:                   ; @ArenaServers_Remove
	.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	x19, _g_arenaservers@GOTPAGE
Lloh1:
	ldr	x19, [x19, _g_arenaservers@GOTPAGEOFF]
	ldr	w8, [x19, #32]
	cbz	w8, LBB0_18
; %bb.1:
	ldr	x8, [x19, #40]
	ldr	x9, [x19, #24]
	ldr	x20, [x8, x9, lsl #3]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.2:
	mov	x21, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	w1, [x20]
	ldr	w0, [x8, x21, lsl #2]
	bl	_Q_stricmp
	cbz	w0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x19]
	cmp	x21, x8
	b.lt	LBB0_3
; %bb.5:
	cmp	w8, w21
	b.gt	LBB0_7
	b	LBB0_10
LBB0_6:
	ldr	w8, [x19]
	cmp	w8, w21
	b.le	LBB0_10
LBB0_7:
	sub	w9, w8, #1
	cmp	w9, w21
	b.le	LBB0_9
; %bb.8:
	ldr	x9, [x19, #16]
	add	x0, x9, w21, uxtw #2
	add	w10, w21, #1
	add	x1, x9, w10, uxtw #2
	mvn	w9, w21
	add	w8, w8, w9
	lsl	w2, w8, #2
	bl	_memcpy
	ldr	w8, [x19]
	sub	w9, w8, #1
LBB0_9:
	str	w9, [x19]
	mov	x8, x9
LBB0_10:
	mov	x11, #0
Lloh2:
	adrp	x21, _g_numfavoriteservers@GOTPAGE
Lloh3:
	ldr	x21, [x21, _g_numfavoriteservers@GOTPAGEOFF]
	ldrsw	x9, [x21]
Lloh4:
	adrp	x10, _g_favoriteserverlist@GOTPAGE
Lloh5:
	ldr	x10, [x10, _g_favoriteserverlist@GOTPAGEOFF]
Lloh6:
	ldr	x10, [x10]
	lsl	w2, w9, #2
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	add	x12, x11, #1
	sub	w2, w2, #4
	add	x1, x10, #4
	cmp	x11, x9
	b.ge	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x11, x12
	cmp	x10, x20
	mov	x10, x1
	b.ne	LBB0_11
LBB0_13:
	sub	x10, x12, #1
	cmp	w9, w10
	b.le	LBB0_17
; %bb.14:
	sub	w9, w9, #1
	cmp	w9, w10
	b.le	LBB0_16
; %bb.15:
	sub	x0, x1, #4
	bl	_memcpy
	ldr	w9, [x21]
	ldr	w8, [x19]
	sub	w9, w9, #1
LBB0_16:
	str	w9, [x21]
LBB0_17:
	stp	w8, w8, [x19, #4]
LBB0_18:
	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 AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_g_arenaservers,48,3            ; @g_arenaservers
	.comm	_g_numfavoriteservers,4,2       ; @g_numfavoriteservers
	.comm	_g_favoriteserverlist,8,3       ; @g_favoriteserverlist
	.no_dead_strip	_ArenaServers_Remove
.subsections_via_symbols
