	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_BotInitBotLib               ## -- Begin function SV_BotInitBotLib
	.p2align	4, 0x90
_SV_BotInitBotLib:                      ## @SV_BotInitBotLib
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -24
	leaq	L_.str(%rip), %rdi
	callq	_Cvar_VariableValue
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	callq	_Sys_CheckCD
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_ERR_NEED_CD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_Com_Error
LBB0_3:
	movq	_debugpolygons@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_Z_Free
LBB0_5:
	leaq	L_.str.2(%rip), %rdi
	callq	_Cvar_VariableIntegerValue
                                        ## kill: def $eax killed $eax def $rax
	movq	_bot_maxdebugpolys@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	leal	(,%rax,4), %edi
	callq	_Z_Malloc
	movq	%rax, (%rbx)
	movq	_BotImport_Print@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -12(%rbp)
	movq	_BotImport_Trace@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movq	_BotImport_EntityTrace@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movq	_BotImport_PointContents@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	_BotImport_inPVS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	_BotImport_BSPEntityData@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_BotImport_BSPModelMinsMaxsOrigin@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	_BotClientCommand@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	_BotImport_GetMemory@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_BotImport_FreeMemory@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_Z_AvailableMemory@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	_BotImport_HunkAlloc@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_FS_FOpenFileByMode@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	_FS_Read2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	_FS_Write@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movq	_FS_FCloseFile@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	_FS_Seek@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)
	movq	_BotImport_DebugLineCreate@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	_BotImport_DebugLineDelete@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -84(%rbp)
	movq	_BotImport_DebugLineShow@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
	movq	_BotImport_DebugPolygonCreate@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -92(%rbp)
	movq	_BotImport_DebugPolygonDelete@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
	movq	_BOTLIB_API_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-96(%rbp), %rsi
	callq	_GetBotLibAPI
	movq	_botlib_export@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	%rax, %rdi
	callq	_assert
	addq	$88, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fs_restrict"

	.comm	_ERR_NEED_CD,4,2                ## @ERR_NEED_CD
L_.str.1:                               ## @.str.1
	.asciz	"Game CD not in drive"

	.comm	_debugpolygons,8,3              ## @debugpolygons
L_.str.2:                               ## @.str.2
	.asciz	"bot_maxdebugpolys"

	.comm	_bot_maxdebugpolys,4,2          ## @bot_maxdebugpolys
	.comm	_BotImport_Print,4,2            ## @BotImport_Print
	.comm	_BotImport_Trace,4,2            ## @BotImport_Trace
	.comm	_BotImport_EntityTrace,4,2      ## @BotImport_EntityTrace
	.comm	_BotImport_PointContents,4,2    ## @BotImport_PointContents
	.comm	_BotImport_inPVS,4,2            ## @BotImport_inPVS
	.comm	_BotImport_BSPEntityData,4,2    ## @BotImport_BSPEntityData
	.comm	_BotImport_BSPModelMinsMaxsOrigin,4,2 ## @BotImport_BSPModelMinsMaxsOrigin
	.comm	_BotClientCommand,4,2           ## @BotClientCommand
	.comm	_BotImport_GetMemory,4,2        ## @BotImport_GetMemory
	.comm	_BotImport_FreeMemory,4,2       ## @BotImport_FreeMemory
	.comm	_Z_AvailableMemory,4,2          ## @Z_AvailableMemory
	.comm	_BotImport_HunkAlloc,4,2        ## @BotImport_HunkAlloc
	.comm	_FS_FOpenFileByMode,4,2         ## @FS_FOpenFileByMode
	.comm	_FS_Read2,4,2                   ## @FS_Read2
	.comm	_FS_Write,4,2                   ## @FS_Write
	.comm	_FS_FCloseFile,4,2              ## @FS_FCloseFile
	.comm	_FS_Seek,4,2                    ## @FS_Seek
	.comm	_BotImport_DebugLineCreate,4,2  ## @BotImport_DebugLineCreate
	.comm	_BotImport_DebugLineDelete,4,2  ## @BotImport_DebugLineDelete
	.comm	_BotImport_DebugLineShow,4,2    ## @BotImport_DebugLineShow
	.comm	_BotImport_DebugPolygonCreate,4,2 ## @BotImport_DebugPolygonCreate
	.comm	_BotImport_DebugPolygonDelete,4,2 ## @BotImport_DebugPolygonDelete
	.comm	_BOTLIB_API_VERSION,4,2         ## @BOTLIB_API_VERSION
	.comm	_botlib_export,8,3              ## @botlib_export
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_BotInitBotLib               ; -- Begin function SV_BotInitBotLib
	.p2align	2
_SV_BotInitBotLib:                      ; @SV_BotInitBotLib
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Cvar_VariableValue
	cbnz	w0, LBB0_3
; %bb.1:
	bl	_Sys_CheckCD
	cbnz	w0, LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _ERR_NEED_CD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERR_NEED_CD@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_Com_Error
LBB0_3:
Lloh7:
	adrp	x19, _debugpolygons@GOTPAGE
Lloh8:
	ldr	x19, [x19, _debugpolygons@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_Z_Free
LBB0_5:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_Cvar_VariableIntegerValue
Lloh11:
	adrp	x8, _bot_maxdebugpolys@GOTPAGE
Lloh12:
	ldr	x8, [x8, _bot_maxdebugpolys@GOTPAGEOFF]
Lloh13:
	str	w0, [x8]
	lsl	w0, w0, #2
	bl	_Z_Malloc
Lloh14:
	adrp	x8, _BotImport_Print@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BotImport_Print@GOTPAGEOFF]
	str	x0, [x19]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _BotImport_Trace@GOTPAGE
Lloh18:
	ldr	x9, [x9, _BotImport_Trace@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #88]
Lloh20:
	adrp	x8, _BotImport_EntityTrace@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BotImport_EntityTrace@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _BotImport_PointContents@GOTPAGE
Lloh24:
	ldr	x9, [x9, _BotImport_PointContents@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #80]
Lloh26:
	adrp	x8, _BotImport_inPVS@GOTPAGE
Lloh27:
	ldr	x8, [x8, _BotImport_inPVS@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, _BotImport_BSPEntityData@GOTPAGE
Lloh30:
	ldr	x9, [x9, _BotImport_BSPEntityData@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
Lloh32:
	adrp	x10, _BotImport_BSPModelMinsMaxsOrigin@GOTPAGE
Lloh33:
	ldr	x10, [x10, _BotImport_BSPModelMinsMaxsOrigin@GOTPAGEOFF]
	stp	w9, w8, [sp, #72]
Lloh34:
	ldr	w8, [x10]
Lloh35:
	adrp	x9, _BotClientCommand@GOTPAGE
Lloh36:
	ldr	x9, [x9, _BotClientCommand@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #64]
Lloh38:
	adrp	x8, _BotImport_GetMemory@GOTPAGE
Lloh39:
	ldr	x8, [x8, _BotImport_GetMemory@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
Lloh41:
	adrp	x9, _BotImport_FreeMemory@GOTPAGE
Lloh42:
	ldr	x9, [x9, _BotImport_FreeMemory@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #56]
Lloh44:
	adrp	x8, _Z_AvailableMemory@GOTPAGE
Lloh45:
	ldr	x8, [x8, _Z_AvailableMemory@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
Lloh47:
	adrp	x9, _BotImport_HunkAlloc@GOTPAGE
Lloh48:
	ldr	x9, [x9, _BotImport_HunkAlloc@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
Lloh50:
	adrp	x10, _FS_FOpenFileByMode@GOTPAGE
Lloh51:
	ldr	x10, [x10, _FS_FOpenFileByMode@GOTPAGEOFF]
	stp	w9, w8, [sp, #48]
Lloh52:
	ldr	w8, [x10]
Lloh53:
	adrp	x9, _FS_Read2@GOTPAGE
Lloh54:
	ldr	x9, [x9, _FS_Read2@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #40]
Lloh56:
	adrp	x8, _FS_Write@GOTPAGE
Lloh57:
	ldr	x8, [x8, _FS_Write@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
Lloh59:
	adrp	x9, _FS_FCloseFile@GOTPAGE
Lloh60:
	ldr	x9, [x9, _FS_FCloseFile@GOTPAGEOFF]
Lloh61:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #32]
Lloh62:
	adrp	x8, _FS_Seek@GOTPAGE
Lloh63:
	ldr	x8, [x8, _FS_Seek@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
Lloh65:
	adrp	x9, _BotImport_DebugLineCreate@GOTPAGE
Lloh66:
	ldr	x9, [x9, _BotImport_DebugLineCreate@GOTPAGEOFF]
Lloh67:
	ldr	w9, [x9]
Lloh68:
	adrp	x10, _BotImport_DebugLineDelete@GOTPAGE
Lloh69:
	ldr	x10, [x10, _BotImport_DebugLineDelete@GOTPAGEOFF]
	stp	w9, w8, [sp, #24]
Lloh70:
	ldr	w8, [x10]
Lloh71:
	adrp	x9, _BotImport_DebugLineShow@GOTPAGE
Lloh72:
	ldr	x9, [x9, _BotImport_DebugLineShow@GOTPAGEOFF]
Lloh73:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #16]
Lloh74:
	adrp	x8, _BotImport_DebugPolygonCreate@GOTPAGE
Lloh75:
	ldr	x8, [x8, _BotImport_DebugPolygonCreate@GOTPAGEOFF]
Lloh76:
	ldr	w8, [x8]
Lloh77:
	adrp	x9, _BotImport_DebugPolygonDelete@GOTPAGE
Lloh78:
	ldr	x9, [x9, _BotImport_DebugPolygonDelete@GOTPAGEOFF]
Lloh79:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #8]
Lloh80:
	adrp	x8, _BOTLIB_API_VERSION@GOTPAGE
Lloh81:
	ldr	x8, [x8, _BOTLIB_API_VERSION@GOTPAGEOFF]
Lloh82:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_GetBotLibAPI
Lloh83:
	adrp	x8, _botlib_export@GOTPAGE
Lloh84:
	ldr	x8, [x8, _botlib_export@GOTPAGEOFF]
Lloh85:
	str	x0, [x8]
	bl	_assert
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fs_restrict"

	.comm	_ERR_NEED_CD,4,2                ; @ERR_NEED_CD
l_.str.1:                               ; @.str.1
	.asciz	"Game CD not in drive"

	.comm	_debugpolygons,8,3              ; @debugpolygons
l_.str.2:                               ; @.str.2
	.asciz	"bot_maxdebugpolys"

	.comm	_bot_maxdebugpolys,4,2          ; @bot_maxdebugpolys
	.comm	_BotImport_Print,4,2            ; @BotImport_Print
	.comm	_BotImport_Trace,4,2            ; @BotImport_Trace
	.comm	_BotImport_EntityTrace,4,2      ; @BotImport_EntityTrace
	.comm	_BotImport_PointContents,4,2    ; @BotImport_PointContents
	.comm	_BotImport_inPVS,4,2            ; @BotImport_inPVS
	.comm	_BotImport_BSPEntityData,4,2    ; @BotImport_BSPEntityData
	.comm	_BotImport_BSPModelMinsMaxsOrigin,4,2 ; @BotImport_BSPModelMinsMaxsOrigin
	.comm	_BotClientCommand,4,2           ; @BotClientCommand
	.comm	_BotImport_GetMemory,4,2        ; @BotImport_GetMemory
	.comm	_BotImport_FreeMemory,4,2       ; @BotImport_FreeMemory
	.comm	_Z_AvailableMemory,4,2          ; @Z_AvailableMemory
	.comm	_BotImport_HunkAlloc,4,2        ; @BotImport_HunkAlloc
	.comm	_FS_FOpenFileByMode,4,2         ; @FS_FOpenFileByMode
	.comm	_FS_Read2,4,2                   ; @FS_Read2
	.comm	_FS_Write,4,2                   ; @FS_Write
	.comm	_FS_FCloseFile,4,2              ; @FS_FCloseFile
	.comm	_FS_Seek,4,2                    ; @FS_Seek
	.comm	_BotImport_DebugLineCreate,4,2  ; @BotImport_DebugLineCreate
	.comm	_BotImport_DebugLineDelete,4,2  ; @BotImport_DebugLineDelete
	.comm	_BotImport_DebugLineShow,4,2    ; @BotImport_DebugLineShow
	.comm	_BotImport_DebugPolygonCreate,4,2 ; @BotImport_DebugPolygonCreate
	.comm	_BotImport_DebugPolygonDelete,4,2 ; @BotImport_DebugPolygonDelete
	.comm	_BOTLIB_API_VERSION,4,2         ; @BOTLIB_API_VERSION
	.comm	_botlib_export,8,3              ; @botlib_export
.subsections_via_symbols
