	.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
	movq	_debugpolygons@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_Z_Free
LBB0_2:
	leaq	L_.str(%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_Read@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
	.comm	_debugpolygons,8,3              ## @debugpolygons
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.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_Read,4,2                    ## @FS_Read
	.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	x19, _debugpolygons@GOTPAGE
Lloh1:
	ldr	x19, [x19, _debugpolygons@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_Z_Free
LBB0_2:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Cvar_VariableIntegerValue
Lloh4:
	adrp	x8, _bot_maxdebugpolys@GOTPAGE
Lloh5:
	ldr	x8, [x8, _bot_maxdebugpolys@GOTPAGEOFF]
Lloh6:
	str	w0, [x8]
	lsl	w0, w0, #2
	bl	_Z_Malloc
Lloh7:
	adrp	x8, _BotImport_Print@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BotImport_Print@GOTPAGEOFF]
	str	x0, [x19]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _BotImport_Trace@GOTPAGE
Lloh11:
	ldr	x9, [x9, _BotImport_Trace@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #88]
Lloh13:
	adrp	x8, _BotImport_EntityTrace@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BotImport_EntityTrace@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _BotImport_PointContents@GOTPAGE
Lloh17:
	ldr	x9, [x9, _BotImport_PointContents@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #80]
Lloh19:
	adrp	x8, _BotImport_inPVS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _BotImport_inPVS@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _BotImport_BSPEntityData@GOTPAGE
Lloh23:
	ldr	x9, [x9, _BotImport_BSPEntityData@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
Lloh25:
	adrp	x10, _BotImport_BSPModelMinsMaxsOrigin@GOTPAGE
Lloh26:
	ldr	x10, [x10, _BotImport_BSPModelMinsMaxsOrigin@GOTPAGEOFF]
	stp	w9, w8, [sp, #72]
Lloh27:
	ldr	w8, [x10]
Lloh28:
	adrp	x9, _BotClientCommand@GOTPAGE
Lloh29:
	ldr	x9, [x9, _BotClientCommand@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #64]
Lloh31:
	adrp	x8, _BotImport_GetMemory@GOTPAGE
Lloh32:
	ldr	x8, [x8, _BotImport_GetMemory@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
Lloh34:
	adrp	x9, _BotImport_FreeMemory@GOTPAGE
Lloh35:
	ldr	x9, [x9, _BotImport_FreeMemory@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #56]
Lloh37:
	adrp	x8, _Z_AvailableMemory@GOTPAGE
Lloh38:
	ldr	x8, [x8, _Z_AvailableMemory@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
Lloh40:
	adrp	x9, _BotImport_HunkAlloc@GOTPAGE
Lloh41:
	ldr	x9, [x9, _BotImport_HunkAlloc@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
Lloh43:
	adrp	x10, _FS_FOpenFileByMode@GOTPAGE
Lloh44:
	ldr	x10, [x10, _FS_FOpenFileByMode@GOTPAGEOFF]
	stp	w9, w8, [sp, #48]
Lloh45:
	ldr	w8, [x10]
Lloh46:
	adrp	x9, _FS_Read@GOTPAGE
Lloh47:
	ldr	x9, [x9, _FS_Read@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #40]
Lloh49:
	adrp	x8, _FS_Write@GOTPAGE
Lloh50:
	ldr	x8, [x8, _FS_Write@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
Lloh52:
	adrp	x9, _FS_FCloseFile@GOTPAGE
Lloh53:
	ldr	x9, [x9, _FS_FCloseFile@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #32]
Lloh55:
	adrp	x8, _FS_Seek@GOTPAGE
Lloh56:
	ldr	x8, [x8, _FS_Seek@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
Lloh58:
	adrp	x9, _BotImport_DebugLineCreate@GOTPAGE
Lloh59:
	ldr	x9, [x9, _BotImport_DebugLineCreate@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
Lloh61:
	adrp	x10, _BotImport_DebugLineDelete@GOTPAGE
Lloh62:
	ldr	x10, [x10, _BotImport_DebugLineDelete@GOTPAGEOFF]
	stp	w9, w8, [sp, #24]
Lloh63:
	ldr	w8, [x10]
Lloh64:
	adrp	x9, _BotImport_DebugLineShow@GOTPAGE
Lloh65:
	ldr	x9, [x9, _BotImport_DebugLineShow@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #16]
Lloh67:
	adrp	x8, _BotImport_DebugPolygonCreate@GOTPAGE
Lloh68:
	ldr	x8, [x8, _BotImport_DebugPolygonCreate@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
Lloh70:
	adrp	x9, _BotImport_DebugPolygonDelete@GOTPAGE
Lloh71:
	ldr	x9, [x9, _BotImport_DebugPolygonDelete@GOTPAGEOFF]
Lloh72:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #8]
Lloh73:
	adrp	x8, _BOTLIB_API_VERSION@GOTPAGE
Lloh74:
	ldr	x8, [x8, _BOTLIB_API_VERSION@GOTPAGEOFF]
Lloh75:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_GetBotLibAPI
Lloh76:
	adrp	x8, _botlib_export@GOTPAGE
Lloh77:
	ldr	x8, [x8, _botlib_export@GOTPAGEOFF]
Lloh78:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_debugpolygons,8,3              ; @debugpolygons
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.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_Read,4,2                    ; @FS_Read
	.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
