	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotDrawDebugPolygons           ## -- Begin function BotDrawDebugPolygons
	.p2align	4, 0x90
_BotDrawDebugPolygons:                  ## @BotDrawDebugPolygons
	.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	_debugpolygons@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_17
## %bb.1:
	movq	%rdi, %r12
	movq	_BotDrawDebugPolygons.bot_debug(%rip), %rax
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%edx, %edx
	callq	_Cvar_Get
	movq	%rax, _BotDrawDebugPolygons.bot_debug(%rip)
LBB0_3:
	movq	_bot_enable@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_12
## %bb.4:
	cmpq	$0, 8(%rax)
	je	LBB0_12
## %bb.5:
	cmpq	$0, _BotDrawDebugPolygons.bot_reachability(%rip)
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%edx, %edx
	callq	_Cvar_Get
	movq	%rax, _BotDrawDebugPolygons.bot_reachability(%rip)
LBB0_7:
	movq	_BotDrawDebugPolygons.bot_groundonly(%rip), %rax
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rdi
	leaq	L_.str.4(%rip), %rsi
	xorl	%edx, %edx
	callq	_Cvar_Get
	movq	%rax, _BotDrawDebugPolygons.bot_groundonly(%rip)
LBB0_9:
	movq	_BotDrawDebugPolygons.bot_highlightarea(%rip), %rcx
	testq	%rcx, %rcx
	jne	LBB0_11
## %bb.10:
	leaq	L_.str.5(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%edx, %edx
	callq	_Cvar_Get
	movq	%rax, %rcx
	movq	%rax, _BotDrawDebugPolygons.bot_highlightarea(%rip)
	movq	_BotDrawDebugPolygons.bot_groundonly(%rip), %rax
LBB0_11:
	movq	_svs@GOTPCREL(%rip), %r13
	movq	(%r13), %rdx
	movq	_BUTTON_ATTACK@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	xorl	%edi, %edi
	andl	8(%rdx), %esi
	setne	%dil
	movq	_BotDrawDebugPolygons.bot_reachability(%rip), %rdx
	cmpq	$0, 8(%rdx)
	leal	2(%rdi), %edx
	cmovel	%edi, %edx
	leal	4(%rdx), %r14d
	cmpq	$0, 8(%rax)
	cmovel	%edx, %r14d
	movq	_botlib_export@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%rcx), %esi
	leaq	L_.str.5(%rip), %rdi
	callq	*8(%rax)
	movq	(%rbx), %rax
	movq	(%r13), %rcx
	movq	(%rcx), %rdx
	movl	(%rdx), %ecx
	movl	4(%rdx), %edx
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	*(%rax)
LBB0_12:
	movq	_bot_maxdebugpolys@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_17
## %bb.13:
	movl	$16, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	incq	%r13
	movslq	%eax, %rcx
	addq	$24, %rbx
	cmpq	%rcx, %r13
	jge	LBB0_17
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rcx
	cmpl	$0, (%rcx,%rbx)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	-16(%rcx,%rbx), %edi
	movl	-12(%rcx,%rbx), %esi
	movq	-8(%rcx,%rbx), %rdx
	callq	*%r12
	movl	(%r14), %eax
	jmp	LBB0_16
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_BotDrawDebugPolygons.bot_debug,8,3 ## @BotDrawDebugPolygons.bot_debug
.zerofill __DATA,__bss,_BotDrawDebugPolygons.bot_groundonly,8,3 ## @BotDrawDebugPolygons.bot_groundonly
.zerofill __DATA,__bss,_BotDrawDebugPolygons.bot_reachability,8,3 ## @BotDrawDebugPolygons.bot_reachability
.zerofill __DATA,__bss,_BotDrawDebugPolygons.bot_highlightarea,8,3 ## @BotDrawDebugPolygons.bot_highlightarea
	.comm	_debugpolygons,8,3              ## @debugpolygons
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bot_debug"

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

	.comm	_bot_enable,8,3                 ## @bot_enable
L_.str.2:                               ## @.str.2
	.asciz	"bot_reachability"

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

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

L_.str.5:                               ## @.str.5
	.asciz	"bot_highlightarea"

	.comm	_svs,8,3                        ## @svs
	.comm	_BUTTON_ATTACK,4,2              ## @BUTTON_ATTACK
	.comm	_botlib_export,8,3              ## @botlib_export
	.comm	_bot_maxdebugpolys,4,2          ## @bot_maxdebugpolys
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotDrawDebugPolygons           ; -- Begin function BotDrawDebugPolygons
	.p2align	2
_BotDrawDebugPolygons:                  ; @BotDrawDebugPolygons
	.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
Lloh0:
	adrp	x21, _debugpolygons@GOTPAGE
Lloh1:
	ldr	x21, [x21, _debugpolygons@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_17
; %bb.1:
	mov	x19, x0
	adrp	x20, _BotDrawDebugPolygons.bot_debug@PAGE
	ldr	x0, [x20, _BotDrawDebugPolygons.bot_debug@PAGEOFF]
	cbnz	x0, LBB0_3
; %bb.2:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #0
	bl	_Cvar_Get
	str	x0, [x20, _BotDrawDebugPolygons.bot_debug@PAGEOFF]
LBB0_3:
Lloh6:
	adrp	x8, _bot_enable@GOTPAGE
Lloh7:
	ldr	x8, [x8, _bot_enable@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.4:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_12
; %bb.5:
	adrp	x20, _BotDrawDebugPolygons.bot_reachability@PAGE
	ldr	x8, [x20, _BotDrawDebugPolygons.bot_reachability@PAGEOFF]
	cbnz	x8, LBB0_7
; %bb.6:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #0
	bl	_Cvar_Get
	str	x0, [x20, _BotDrawDebugPolygons.bot_reachability@PAGEOFF]
LBB0_7:
	adrp	x22, _BotDrawDebugPolygons.bot_groundonly@PAGE
	ldr	x0, [x22, _BotDrawDebugPolygons.bot_groundonly@PAGEOFF]
	cbnz	x0, LBB0_9
; %bb.8:
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w2, #0
	bl	_Cvar_Get
	str	x0, [x22, _BotDrawDebugPolygons.bot_groundonly@PAGEOFF]
LBB0_9:
	adrp	x23, _BotDrawDebugPolygons.bot_highlightarea@PAGE
	ldr	x8, [x23, _BotDrawDebugPolygons.bot_highlightarea@PAGEOFF]
	cbnz	x8, LBB0_11
; %bb.10:
Lloh17:
	adrp	x0, l_.str.5@PAGE
Lloh18:
	add	x0, x0, l_.str.5@PAGEOFF
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #0
	bl	_Cvar_Get
	mov	x8, x0
	str	x0, [x23, _BotDrawDebugPolygons.bot_highlightarea@PAGEOFF]
	ldr	x0, [x22, _BotDrawDebugPolygons.bot_groundonly@PAGEOFF]
LBB0_11:
Lloh21:
	adrp	x22, _svs@GOTPAGE
Lloh22:
	ldr	x22, [x22, _svs@GOTPAGEOFF]
	ldr	x9, [x22]
Lloh23:
	adrp	x10, _BUTTON_ATTACK@GOTPAGE
Lloh24:
	ldr	x10, [x10, _BUTTON_ATTACK@GOTPAGEOFF]
	ldr	w9, [x9, #8]
Lloh25:
	ldr	w10, [x10]
	tst	w10, w9
	cset	w9, ne
	ldr	x10, [x20, _BotDrawDebugPolygons.bot_reachability@PAGEOFF]
	ldr	x10, [x10, #8]
	orr	w11, w9, #0x2
	cmp	x10, #0
	csel	w9, w9, w11, eq
	ldr	x10, [x0, #8]
	orr	w11, w9, #0x4
	cmp	x10, #0
	csel	w20, w9, w11, eq
Lloh26:
	adrp	x23, _botlib_export@GOTPAGE
Lloh27:
	ldr	x23, [x23, _botlib_export@GOTPAGEOFF]
	ldr	x9, [x23]
	ldr	x9, [x9, #8]
	ldr	w1, [x8]
Lloh28:
	adrp	x0, l_.str.5@PAGE
Lloh29:
	add	x0, x0, l_.str.5@PAGEOFF
	blr	x9
	ldr	x8, [x23]
	ldr	x8, [x8]
	ldr	x9, [x22]
	ldr	x9, [x9]
	ldp	w3, w2, [x9]
	mov	x0, x20
	mov	x1, #0
	blr	x8
LBB0_12:
Lloh30:
	adrp	x20, _bot_maxdebugpolys@GOTPAGE
Lloh31:
	ldr	x20, [x20, _bot_maxdebugpolys@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.13:
	mov	x22, #0
	mov	x23, #0
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x23, x23, #1
	add	x22, x22, #24
	cmp	x23, w8, sxtw
	b.ge	LBB0_17
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21]
	add	x9, x9, x22
	ldr	w10, [x9, #16]
	cbz	w10, LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldp	w0, w1, [x9]
	ldr	x2, [x9, #8]
	blr	x19
	ldr	w8, [x20]
	b	LBB0_14
LBB0_17:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_BotDrawDebugPolygons.bot_debug,8,3 ; @BotDrawDebugPolygons.bot_debug
.zerofill __DATA,__bss,_BotDrawDebugPolygons.bot_groundonly,8,3 ; @BotDrawDebugPolygons.bot_groundonly
.zerofill __DATA,__bss,_BotDrawDebugPolygons.bot_reachability,8,3 ; @BotDrawDebugPolygons.bot_reachability
.zerofill __DATA,__bss,_BotDrawDebugPolygons.bot_highlightarea,8,3 ; @BotDrawDebugPolygons.bot_highlightarea
	.comm	_debugpolygons,8,3              ; @debugpolygons
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bot_debug"

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

	.comm	_bot_enable,8,3                 ; @bot_enable
l_.str.2:                               ; @.str.2
	.asciz	"bot_reachability"

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

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

l_.str.5:                               ; @.str.5
	.asciz	"bot_highlightarea"

	.comm	_svs,8,3                        ; @svs
	.comm	_BUTTON_ATTACK,4,2              ; @BUTTON_ATTACK
	.comm	_botlib_export,8,3              ; @botlib_export
	.comm	_bot_maxdebugpolys,4,2          ; @bot_maxdebugpolys
.subsections_via_symbols
