	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_InitGameProgs               ## -- Begin function SV_InitGameProgs
	.p2align	4, 0x90
_SV_InitGameProgs:                      ## @SV_InitGameProgs
	.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	_CVAR_LATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_Cvar_Get
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%rax), %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movq	_bot_enable@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_SV_GameSystemCalls@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.3(%rip), %rdi
	callq	_Cvar_VariableValue
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_VM_Create
	movq	_gvm@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	_ERR_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_Com_Error
LBB0_5:
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_SV_InitGameVM                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bot_enable"

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

	.comm	_CVAR_LATCH,4,2                 ## @CVAR_LATCH
L_.str.2:                               ## @.str.2
	.asciz	"qagame"

	.comm	_SV_GameSystemCalls,4,2         ## @SV_GameSystemCalls
L_.str.3:                               ## @.str.3
	.asciz	"vm_game"

	.comm	_gvm,4,2                        ## @gvm
	.comm	_ERR_FATAL,4,2                  ## @ERR_FATAL
L_.str.4:                               ## @.str.4
	.asciz	"VM_Create on game failed"

	.comm	_qfalse,4,2                     ## @qfalse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_InitGameProgs               ; -- Begin function SV_InitGameProgs
	.p2align	2
_SV_InitGameProgs:                      ; @SV_InitGameProgs
	.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, _CVAR_LATCH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CVAR_LATCH@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_Cvar_Get
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x0]
	b	LBB0_3
LBB0_2:
	mov	w8, #0
LBB0_3:
Lloh7:
	adrp	x9, _bot_enable@GOTPAGE
Lloh8:
	ldr	x9, [x9, _bot_enable@GOTPAGEOFF]
Lloh9:
	str	w8, [x9]
Lloh10:
	adrp	x8, _SV_GameSystemCalls@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SV_GameSystemCalls@GOTPAGEOFF]
Lloh12:
	ldr	w19, [x8]
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_Cvar_VariableValue
	mov	x2, x0
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_VM_Create
Lloh17:
	adrp	x8, _gvm@GOTPAGE
Lloh18:
	ldr	x8, [x8, _gvm@GOTPAGEOFF]
Lloh19:
	str	w0, [x8]
	cbnz	w0, LBB0_5
; %bb.4:
Lloh20:
	adrp	x8, _ERR_FATAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERR_FATAL@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str.4@PAGE
Lloh24:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_Com_Error
LBB0_5:
Lloh25:
	adrp	x8, _qfalse@GOTPAGE
Lloh26:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_SV_InitGameVM
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bot_enable"

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

	.comm	_CVAR_LATCH,4,2                 ; @CVAR_LATCH
l_.str.2:                               ; @.str.2
	.asciz	"qagame"

	.comm	_SV_GameSystemCalls,4,2         ; @SV_GameSystemCalls
l_.str.3:                               ; @.str.3
	.asciz	"vm_game"

	.comm	_gvm,4,2                        ; @gvm
	.comm	_ERR_FATAL,4,2                  ; @ERR_FATAL
l_.str.4:                               ; @.str.4
	.asciz	"VM_Create on game failed"

	.comm	_qfalse,4,2                     ; @qfalse
.subsections_via_symbols
