	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotImport_DebugPolygonCreate   ## -- Begin function BotImport_DebugPolygonCreate
	.p2align	4, 0x90
_BotImport_DebugPolygonCreate:          ## @BotImport_DebugPolygonCreate
	.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
	movl	%esi, %r8d
	movq	_debugpolygons@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%eax, %eax
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	movq	_bot_maxdebugpolys@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	$2, %ecx
	jl	LBB0_6
## %bb.2:
	addq	$28, %rsi
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rsi)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	addq	$16, %rsi
	cmpq	%rbx, %rcx
	jne	LBB0_3
	jmp	LBB0_6
LBB0_5:
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsi)
	movl	%edi, -12(%rsi)
	movl	%r8d, -8(%rsi)
	movl	-4(%rsi), %edi
	shll	$2, %r8d
	movq	%rdx, %rsi
	movl	%r8d, %edx
	callq	_Com_Memcpy
	movl	%ebx, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_debugpolygons,8,3              ## @debugpolygons
	.comm	_bot_maxdebugpolys,4,2          ## @bot_maxdebugpolys
	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotImport_DebugPolygonCreate   ; -- Begin function BotImport_DebugPolygonCreate
	.p2align	2
_BotImport_DebugPolygonCreate:          ; @BotImport_DebugPolygonCreate
	.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, _debugpolygons@GOTPAGE
Lloh1:
	ldr	x8, [x8, _debugpolygons@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.1:
Lloh3:
	adrp	x9, _bot_maxdebugpolys@GOTPAGE
Lloh4:
	ldr	x9, [x9, _bot_maxdebugpolys@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, #2
	b.lt	LBB0_5
; %bb.2:
	add	x8, x8, #28
	mov	w19, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8]
	cbz	w10, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #1
	add	x8, x8, #16
	cmp	x9, x19
	b.ne	LBB0_3
LBB0_5:
	mov	w19, #0
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh6:
	adrp	x9, _qtrue@GOTPAGE
Lloh7:
	ldr	x9, [x9, _qtrue@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	str	w9, [x8]
	stp	w0, w1, [x8, #-12]
	ldur	w0, [x8, #-4]
	lsl	w8, w1, #2
	mov	x1, x2
	mov	x2, x8
	bl	_Com_Memcpy
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_debugpolygons,8,3              ; @debugpolygons
	.comm	_bot_maxdebugpolys,4,2          ; @bot_maxdebugpolys
	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
