	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotCreateWayPoint              ## -- Begin function BotCreateWayPoint
	.p2align	4, 0x90
_BotCreateWayPoint:                     ## @BotCreateWayPoint
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_botai_freewaypoints@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %rsi
	movq	8(%rbx), %rcx
	movq	%rcx, (%rax)
	movl	32(%rbx), %edi
	movl	$4, %edx
	callq	_Q_strncpyz
	movl	28(%rbx), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_VectorCopy
	movl	24(%rbx), %edx
	movabsq	$-30064771080, %rdi             ## imm = 0xFFFFFFF8FFFFFFF8
	movl	$-8, %esi
	callq	_VectorCopy
	movl	20(%rbx), %edx
	movabsq	$34359738376, %rdi              ## imm = 0x800000008
	movl	$8, %esi
	callq	_VectorCopy
	movl	%r14d, 16(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	jmp	LBB0_3
LBB0_1:
	movq	_PRT_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_BotAI_Print
LBB0_3:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_botai_freewaypoints,8,3        ## @botai_freewaypoints
	.comm	_PRT_WARNING,4,2                ## @PRT_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BotCreateWayPoint: Out of waypoints\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotCreateWayPoint              ; -- Begin function BotCreateWayPoint
	.p2align	2
_BotCreateWayPoint:                     ; @BotCreateWayPoint
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _botai_freewaypoints@GOTPAGE
Lloh1:
	ldr	x8, [x8, _botai_freewaypoints@GOTPAGEOFF]
	ldr	x19, [x8]
	cbz	x19, LBB0_2
; %bb.1:
	mov	x20, x3
	mov	x22, x2
	mov	x21, x1
	mov	x1, x0
	ldr	x9, [x19, #8]
	str	x9, [x8]
	ldr	w0, [x19, #32]
	mov	w2, #4
	bl	_Q_strncpyz
	ldr	w2, [x19, #28]
	and	x1, x22, #0xffffffff
	mov	x0, x21
	bl	_VectorCopy
	ldr	w2, [x19, #24]
	mov	x0, #-30064771080
	mov	w1, #-8
	bl	_VectorCopy
	ldr	w2, [x19, #20]
	mov	x0, #34359738376
	mov	w1, #8
	bl	_VectorCopy
	str	w20, [x19, #16]
	stp	xzr, xzr, [x19]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _PRT_WARNING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PRT_WARNING@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BotAI_Print
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_botai_freewaypoints,8,3        ; @botai_freewaypoints
	.comm	_PRT_WARNING,4,2                ; @PRT_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BotCreateWayPoint: Out of waypoints\n"

.subsections_via_symbols
