	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UI_SPArena_Start               ## -- Begin function UI_SPArena_Start
	.p2align	4, 0x90
_UI_SPArena_Start:                      ## @UI_SPArena_Start
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_trap_Cvar_VariableValue
	cmpl	$7, %eax
	jg	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	$8, %esi
	callq	_trap_Cvar_SetValue
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_Info_ValueForKey
	movq	%rax, %rdi
	callq	_atoi
	movl	%eax, %r15d
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_Info_ValueForKey
	cmpb	$0, (%rax)
	je	LBB0_7
## %bb.3:
	movq	%rax, %rbx
	leaq	L_.str.3(%rip), %rsi
	movq	%rax, %rdi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	callq	_UI_GetNumSPTiers
	movl	%eax, %r15d
	movq	_ARENAS_PER_TIER@GOTPCREL(%rip), %rax
	imull	(%rax), %r15d
	jmp	LBB0_7
LBB0_4:
	movl	$-4, %r15d
LBB0_7:
	leaq	L_.str.5(%rip), %rdi
	movl	%r15d, %esi
	callq	_trap_Cvar_SetValue
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	callq	_Info_ValueForKey
	movq	_EXEC_APPEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	leaq	L_.str.7(%rip), %rdi
	movq	%rax, %rsi
	callq	_va
	movl	%ebx, %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_trap_Cmd_ExecuteText           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sv_maxclients"

L_.str.1:                               ## @.str.1
	.asciz	"num"

L_.str.2:                               ## @.str.2
	.asciz	"special"

L_.str.3:                               ## @.str.3
	.asciz	"training"

L_.str.4:                               ## @.str.4
	.asciz	"final"

	.comm	_ARENAS_PER_TIER,4,2            ## @ARENAS_PER_TIER
L_.str.5:                               ## @.str.5
	.asciz	"ui_spSelection"

L_.str.6:                               ## @.str.6
	.asciz	"map"

	.comm	_EXEC_APPEND,4,2                ## @EXEC_APPEND
L_.str.7:                               ## @.str.7
	.asciz	"spmap %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UI_SPArena_Start               ; -- Begin function UI_SPArena_Start
	.p2align	2
_UI_SPArena_Start:                      ; @UI_SPArena_Start
	.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
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_trap_Cvar_VariableValue
	cmp	w0, #7
	b.gt	LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #8
	bl	_trap_Cvar_SetValue
LBB0_2:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_Info_ValueForKey
	bl	_atoi
	mov	x20, x0
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_Info_ValueForKey
	ldrb	w8, [x0]
	cbz	w8, LBB0_7
; %bb.3:
	mov	x21, x0
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_Q_stricmp
	cbz	x0, LBB0_6
; %bb.4:
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_Q_stricmp
	cbnz	x0, LBB0_7
; %bb.5:
	bl	_UI_GetNumSPTiers
Lloh12:
	adrp	x8, _ARENAS_PER_TIER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ARENAS_PER_TIER@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	mul	w20, w8, w0
	b	LBB0_7
LBB0_6:
	mov	w20, #-4
LBB0_7:
Lloh15:
	adrp	x0, l_.str.5@PAGE
Lloh16:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x20
	bl	_trap_Cvar_SetValue
Lloh17:
	adrp	x1, l_.str.6@PAGE
Lloh18:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_Info_ValueForKey
	mov	x1, x0
Lloh19:
	adrp	x8, _EXEC_APPEND@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EXEC_APPEND@GOTPAGEOFF]
Lloh21:
	ldr	w19, [x8]
Lloh22:
	adrp	x0, l_.str.7@PAGE
Lloh23:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_va
	mov	x1, x0
	mov	x0, x19
	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
	b	_trap_Cmd_ExecuteText
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sv_maxclients"

l_.str.1:                               ; @.str.1
	.asciz	"num"

l_.str.2:                               ; @.str.2
	.asciz	"special"

l_.str.3:                               ; @.str.3
	.asciz	"training"

l_.str.4:                               ; @.str.4
	.asciz	"final"

	.comm	_ARENAS_PER_TIER,4,2            ; @ARENAS_PER_TIER
l_.str.5:                               ; @.str.5
	.asciz	"ui_spSelection"

l_.str.6:                               ; @.str.6
	.asciz	"map"

	.comm	_EXEC_APPEND,4,2                ; @EXEC_APPEND
l_.str.7:                               ; @.str.7
	.asciz	"spmap %s\n"

.subsections_via_symbols
