	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SV_Map_f
_SV_Map_f:                              ## @SV_Map_f
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_QPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	$1, %edi
	callq	_Cmd_Argv
	testq	%rax, %rax
	je	LBB0_16
## %bb.1:
	movq	%rax, %r15
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movq	%rax, %rcx
	callq	_Com_sprintf
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_FS_ReadFile
	cmpl	$-1, %eax
	je	LBB0_2
## %bb.3:
	movq	_CVAR_SERVERINFO@GOTPCREL(%rip), %rax
	movq	_CVAR_USERINFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_CVAR_LATCH@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_Cvar_Get
	xorl	%edi, %edi
	callq	_Cmd_Argv
	movq	%rax, %rbx
	leaq	L_.str.4(%rip), %rsi
	movq	%rax, %rdi
	movl	$2, %edx
	callq	_Q_stricmpn
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testl	%eax, %eax
	jne	LBB0_7
## %bb.8:
	movq	_qtrue@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_Com_Printf
	jmp	LBB0_16
LBB0_4:
	movq	_GT_SINGLE_PLAYER@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_Cvar_SetValue
	leaq	L_.str.5(%rip), %rdi
	xorl	%esi, %esi
	callq	_Cvar_SetValue
	leaq	L_.str.6(%rip), %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_Cvar_SetLatched
	addq	$2, %rbx
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	movq	_qtrue@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	movq	%rbx, %r13
	testl	%eax, %eax
	je	LBB0_12
## %bb.5:
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	jmp	LBB0_12
LBB0_7:
	movq	_qfalse@GOTPCREL(%rip), %rax
LBB0_9:
	movq	(%rax), %r13
	movq	_sv_gametype@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_GT_SINGLE_PLAYER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	movq	_GT_FFA@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_Cvar_SetValue
LBB0_11:
	movq	%r13, %rbx
LBB0_12:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_Q_strncpyz
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_SV_SpawnServer
	leaq	L_.str.9(%rip), %rdi
	testq	%r13, %r13
	je	LBB0_14
## %bb.13:
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_15
LBB0_14:
	leaq	L_.str.3(%rip), %rsi
LBB0_15:
	callq	_Cvar_Set
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_QPATH,4,2                  ## @MAX_QPATH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"maps/%s.bsp"

L_.str.1:                               ## @.str.1
	.asciz	"Can't find map %s\n"

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

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

	.comm	_CVAR_SERVERINFO,4,2            ## @CVAR_SERVERINFO
	.comm	_CVAR_USERINFO,4,2              ## @CVAR_USERINFO
	.comm	_CVAR_LATCH,4,2                 ## @CVAR_LATCH
L_.str.4:                               ## @.str.4
	.asciz	"sp"

	.comm	_GT_SINGLE_PLAYER,8,3           ## @GT_SINGLE_PLAYER
L_.str.5:                               ## @.str.5
	.asciz	"g_doWarmup"

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

L_.str.7:                               ## @.str.7
	.asciz	"8"

L_.str.8:                               ## @.str.8
	.asciz	"devmap"

	.comm	_qtrue,8,3                      ## @qtrue
	.comm	_qfalse,8,3                     ## @qfalse
	.comm	_sv_gametype,8,3                ## @sv_gametype
	.comm	_GT_FFA,8,3                     ## @GT_FFA
L_.str.9:                               ## @.str.9
	.asciz	"sv_cheats"

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

	.no_dead_strip	_SV_Map_f
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SV_Map_f
_SV_Map_f:                              ; @SV_Map_f
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _MAX_QPATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_QPATH@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	mov	x9, x19
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x19, #15
	and	x12, x9, #0x1fffffff0
	sub	x22, x8, x12
	mov	sp, x22
	mov	x9, x19
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x20, x8, x12
	mov	sp, x20
	mov	w0, #1
	bl	_Cmd_Argv
	cbz	x0, LBB0_12
; %bb.1:
	mov	x21, x0
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	mov	x1, x19
	mov	x3, x21
	bl	_Com_sprintf
	mov	x0, x22
	mov	x1, #0
	bl	_FS_ReadFile
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.2:
Lloh12:
	adrp	x8, _CVAR_SERVERINFO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CVAR_SERVERINFO@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _CVAR_USERINFO@GOTPAGE
Lloh16:
	ldr	x9, [x9, _CVAR_USERINFO@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh18:
	adrp	x9, _CVAR_LATCH@GOTPAGE
Lloh19:
	ldr	x9, [x9, _CVAR_LATCH@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w2, w8, w9
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_Cvar_Get
	mov	w0, #0
	bl	_Cmd_Argv
	mov	x22, x0
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w2, #2
	bl	_Q_stricmpn
	cbz	x0, LBB0_7
; %bb.3:
Lloh27:
	adrp	x1, l_.str.8@PAGE
Lloh28:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x22
	bl	_Q_stricmp
Lloh29:
	adrp	x8, _qtrue@GOTPAGE
Lloh30:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh31:
	adrp	x9, _qfalse@GOTPAGE
Lloh32:
	ldr	x9, [x9, _qfalse@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x8, x9, eq
	ldr	x23, [x8]
Lloh33:
	adrp	x8, _sv_gametype@GOTPAGE
Lloh34:
	ldr	x8, [x8, _sv_gametype@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh36:
	adrp	x9, _GT_SINGLE_PLAYER@GOTPAGE
Lloh37:
	ldr	x9, [x9, _GT_SINGLE_PLAYER@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
Lloh39:
	adrp	x8, _GT_FFA@GOTPAGE
Lloh40:
	ldr	x8, [x8, _GT_FFA@GOTPAGEOFF]
Lloh41:
	ldr	x1, [x8]
Lloh42:
	adrp	x0, l_.str.2@PAGE
Lloh43:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_Cvar_SetValue
LBB0_5:
	mov	x22, x23
	b	LBB0_8
LBB0_6:
Lloh44:
	adrp	x0, l_.str.1@PAGE
Lloh45:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	bl	_Com_Printf
	b	LBB0_12
LBB0_7:
Lloh46:
	adrp	x8, _GT_SINGLE_PLAYER@GOTPAGE
Lloh47:
	ldr	x8, [x8, _GT_SINGLE_PLAYER@GOTPAGEOFF]
Lloh48:
	ldr	x1, [x8]
Lloh49:
	adrp	x0, l_.str.2@PAGE
Lloh50:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_Cvar_SetValue
Lloh51:
	adrp	x0, l_.str.5@PAGE
Lloh52:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, #0
	bl	_Cvar_SetValue
Lloh53:
	adrp	x0, l_.str.6@PAGE
Lloh54:
	add	x0, x0, l_.str.6@PAGEOFF
Lloh55:
	adrp	x1, l_.str.7@PAGE
Lloh56:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_Cvar_SetLatched
	add	x0, x22, #2
Lloh57:
	adrp	x1, l_.str.8@PAGE
Lloh58:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_Q_stricmp
Lloh59:
	adrp	x8, _qtrue@GOTPAGE
Lloh60:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh61:
	ldr	x22, [x8]
Lloh62:
	adrp	x8, _qfalse@GOTPAGE
Lloh63:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh64:
	ldr	x8, [x8]
	cmp	w0, #0
	csel	x23, x22, x8, eq
LBB0_8:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_Q_strncpyz
	mov	x0, x20
	mov	x1, x22
	bl	_SV_SpawnServer
Lloh65:
	adrp	x0, l_.str.9@PAGE
Lloh66:
	add	x0, x0, l_.str.9@PAGEOFF
	cbz	x23, LBB0_10
; %bb.9:
Lloh67:
	adrp	x1, l_.str.10@PAGE
Lloh68:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh69:
	adrp	x1, l_.str.3@PAGE
Lloh70:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_11:
	bl	_Cvar_Set
LBB0_12:
	ldur	x8, [x29, #-56]
Lloh71:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh72:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh73:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_QPATH,4,2                  ; @MAX_QPATH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"maps/%s.bsp"

l_.str.1:                               ; @.str.1
	.asciz	"Can't find map %s\n"

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

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

	.comm	_CVAR_SERVERINFO,4,2            ; @CVAR_SERVERINFO
	.comm	_CVAR_USERINFO,4,2              ; @CVAR_USERINFO
	.comm	_CVAR_LATCH,4,2                 ; @CVAR_LATCH
l_.str.4:                               ; @.str.4
	.asciz	"sp"

	.comm	_GT_SINGLE_PLAYER,8,3           ; @GT_SINGLE_PLAYER
l_.str.5:                               ; @.str.5
	.asciz	"g_doWarmup"

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

l_.str.7:                               ; @.str.7
	.asciz	"8"

l_.str.8:                               ; @.str.8
	.asciz	"devmap"

	.comm	_qtrue,8,3                      ; @qtrue
	.comm	_qfalse,8,3                     ; @qfalse
	.comm	_sv_gametype,8,3                ; @sv_gametype
	.comm	_GT_FFA,8,3                     ; @GT_FFA
l_.str.9:                               ; @.str.9
	.asciz	"sv_cheats"

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

	.no_dead_strip	_SV_Map_f
.subsections_via_symbols
