	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ArenaServers_SetType           ## -- Begin function ArenaServers_SetType
	.p2align	4, 0x90
_ArenaServers_SetType:                  ## @ArenaServers_SetType
	.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_servertype@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_1
## %bb.12:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movl	%edi, (%rax)
	movq	_QMF_INACTIVE@GOTPCREL(%rip), %rcx
	movq	_QMF_HIDDEN@GOTPCREL(%rip), %rax
	cmpl	$128, %edi
	je	LBB0_7
## %bb.2:
	cmpl	$130, %edi
	je	LBB0_5
## %bb.3:
	cmpl	$131, %edi
	jne	LBB0_4
## %bb.6:
	movl	(%rax), %eax
	orl	(%rcx), %eax
	notl	%eax
	movq	_g_arenaservers@GOTPCREL(%rip), %rcx
	andl	44(%rcx), %eax
	movq	_MAX_FAVORITESERVERS@GOTPCREL(%rip), %rcx
	movq	_g_numfavoriteservers@GOTPCREL(%rip), %rdx
	movq	_g_favoriteserverlist@GOTPCREL(%rip), %rsi
	jmp	LBB0_8
LBB0_7:
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_g_arenaservers@GOTPCREL(%rip), %rcx
	orl	44(%rcx), %eax
	movq	_MAX_GLOBALSERVERS@GOTPCREL(%rip), %rcx
	movq	_g_nummplayerservers@GOTPCREL(%rip), %rdx
	movq	_g_mplayerserverlist@GOTPCREL(%rip), %rsi
	jmp	LBB0_8
LBB0_5:
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_g_arenaservers@GOTPCREL(%rip), %rcx
	orl	44(%rcx), %eax
	movq	_MAX_GLOBALSERVERS@GOTPCREL(%rip), %rcx
	movq	_g_numglobalservers@GOTPCREL(%rip), %rdx
	movq	_g_globalserverlist@GOTPCREL(%rip), %rsi
	jmp	LBB0_8
LBB0_4:
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_g_arenaservers@GOTPCREL(%rip), %rcx
	orl	44(%rcx), %eax
	movq	_MAX_LOCALSERVERS@GOTPCREL(%rip), %rcx
	movq	_g_numlocalservers@GOTPCREL(%rip), %rdx
	movq	_g_localserverlist@GOTPCREL(%rip), %rsi
LBB0_8:
	movq	_g_arenaservers@GOTPCREL(%rip), %rbx
	movl	%eax, 44(%rbx)
	movl	(%rsi), %eax
	movl	%eax, 40(%rbx)
	movq	%rdx, 8(%rbx)
	movq	(%rcx), %rax
	movq	%rax, 32(%rbx)
	movq	(%rdx), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rax, 24(%rbx)
	movq	%rax, 16(%rbx)
	xorl	%eax, %eax
	callq	_ArenaServers_UpdateMenu
	jmp	LBB0_11
LBB0_9:
	xorl	%eax, %eax
	callq	_ArenaServers_StartRefresh
LBB0_11:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_strcpy                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_g_servertype,4,2               ## @g_servertype
	.comm	_QMF_INACTIVE,4,2               ## @QMF_INACTIVE
	.comm	_QMF_HIDDEN,4,2                 ## @QMF_HIDDEN
	.comm	_g_arenaservers,48,3            ## @g_arenaservers
	.comm	_g_localserverlist,4,2          ## @g_localserverlist
	.comm	_g_numlocalservers,8,3          ## @g_numlocalservers
	.comm	_MAX_LOCALSERVERS,8,3           ## @MAX_LOCALSERVERS
	.comm	_g_globalserverlist,4,2         ## @g_globalserverlist
	.comm	_g_numglobalservers,8,3         ## @g_numglobalservers
	.comm	_MAX_GLOBALSERVERS,8,3          ## @MAX_GLOBALSERVERS
	.comm	_g_favoriteserverlist,4,2       ## @g_favoriteserverlist
	.comm	_g_numfavoriteservers,8,3       ## @g_numfavoriteservers
	.comm	_MAX_FAVORITESERVERS,8,3        ## @MAX_FAVORITESERVERS
	.comm	_g_mplayerserverlist,4,2        ## @g_mplayerserverlist
	.comm	_g_nummplayerservers,8,3        ## @g_nummplayerservers
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hit refresh to update"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ArenaServers_SetType           ; -- Begin function ArenaServers_SetType
	.p2align	2
_ArenaServers_SetType:                  ; @ArenaServers_SetType
	.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	x8, _g_servertype@GOTPAGE
Lloh1:
	ldr	x8, [x8, _g_servertype@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, w0
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	str	w0, [x8]
Lloh2:
	adrp	x19, _g_arenaservers@GOTPAGE
Lloh3:
	ldr	x19, [x19, _g_arenaservers@GOTPAGEOFF]
Lloh4:
	adrp	x8, _QMF_INACTIVE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _QMF_INACTIVE@GOTPAGEOFF]
	cmp	w0, #128
	b.eq	LBB0_6
; %bb.3:
	cmp	w0, #130
	b.eq	LBB0_7
; %bb.4:
	cmp	w0, #131
	b.ne	LBB0_8
; %bb.5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _QMF_HIDDEN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _QMF_HIDDEN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19, #44]
	bic	w8, w9, w8
Lloh9:
	adrp	x9, _MAX_FAVORITESERVERS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MAX_FAVORITESERVERS@GOTPAGEOFF]
Lloh11:
	adrp	x10, _g_numfavoriteservers@GOTPAGE
Lloh12:
	ldr	x10, [x10, _g_numfavoriteservers@GOTPAGEOFF]
Lloh13:
	adrp	x11, _g_favoriteserverlist@GOTPAGE
Lloh14:
	ldr	x11, [x11, _g_favoriteserverlist@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _QMF_HIDDEN@GOTPAGE
Lloh16:
	ldr	x9, [x9, _QMF_HIDDEN@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19, #44]
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _MAX_GLOBALSERVERS@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MAX_GLOBALSERVERS@GOTPAGEOFF]
Lloh20:
	adrp	x10, _g_nummplayerservers@GOTPAGE
Lloh21:
	ldr	x10, [x10, _g_nummplayerservers@GOTPAGEOFF]
Lloh22:
	adrp	x11, _g_mplayerserverlist@GOTPAGE
Lloh23:
	ldr	x11, [x11, _g_mplayerserverlist@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _QMF_HIDDEN@GOTPAGE
Lloh25:
	ldr	x9, [x9, _QMF_HIDDEN@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19, #44]
	orr	w8, w8, w9
Lloh27:
	adrp	x9, _MAX_GLOBALSERVERS@GOTPAGE
Lloh28:
	ldr	x9, [x9, _MAX_GLOBALSERVERS@GOTPAGEOFF]
Lloh29:
	adrp	x10, _g_numglobalservers@GOTPAGE
Lloh30:
	ldr	x10, [x10, _g_numglobalservers@GOTPAGEOFF]
Lloh31:
	adrp	x11, _g_globalserverlist@GOTPAGE
Lloh32:
	ldr	x11, [x11, _g_globalserverlist@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _QMF_HIDDEN@GOTPAGE
Lloh34:
	ldr	x9, [x9, _QMF_HIDDEN@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19, #44]
	orr	w8, w8, w9
Lloh36:
	adrp	x9, _MAX_LOCALSERVERS@GOTPAGE
Lloh37:
	ldr	x9, [x9, _MAX_LOCALSERVERS@GOTPAGEOFF]
Lloh38:
	adrp	x10, _g_numlocalservers@GOTPAGE
Lloh39:
	ldr	x10, [x10, _g_numlocalservers@GOTPAGEOFF]
Lloh40:
	adrp	x11, _g_localserverlist@GOTPAGE
Lloh41:
	ldr	x11, [x11, _g_localserverlist@GOTPAGEOFF]
LBB0_9:
	ldr	w11, [x11]
	stp	w11, w8, [x19, #40]
	str	x10, [x19, #8]
	ldr	x8, [x9]
	str	x8, [x19, #32]
	ldr	x8, [x10]
	cbz	x8, LBB0_11
; %bb.10:
	stp	x8, x8, [x19, #16]
	bl	_ArenaServers_UpdateMenu
	b	LBB0_12
LBB0_11:
	bl	_ArenaServers_StartRefresh
LBB0_12:
	ldr	w0, [x19]
Lloh42:
	adrp	x1, l_.str@PAGE
Lloh43:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_strcpy
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_g_servertype,4,2               ; @g_servertype
	.comm	_QMF_INACTIVE,4,2               ; @QMF_INACTIVE
	.comm	_QMF_HIDDEN,4,2                 ; @QMF_HIDDEN
	.comm	_g_arenaservers,48,3            ; @g_arenaservers
	.comm	_g_localserverlist,4,2          ; @g_localserverlist
	.comm	_g_numlocalservers,8,3          ; @g_numlocalservers
	.comm	_MAX_LOCALSERVERS,8,3           ; @MAX_LOCALSERVERS
	.comm	_g_globalserverlist,4,2         ; @g_globalserverlist
	.comm	_g_numglobalservers,8,3         ; @g_numglobalservers
	.comm	_MAX_GLOBALSERVERS,8,3          ; @MAX_GLOBALSERVERS
	.comm	_g_favoriteserverlist,4,2       ; @g_favoriteserverlist
	.comm	_g_numfavoriteservers,8,3       ; @g_numfavoriteservers
	.comm	_MAX_FAVORITESERVERS,8,3        ; @MAX_FAVORITESERVERS
	.comm	_g_mplayerserverlist,4,2        ; @g_mplayerserverlist
	.comm	_g_nummplayerservers,8,3        ; @g_nummplayerservers
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hit refresh to update"

.subsections_via_symbols
