	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function BotFuncDoorActivateGoal
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_BotFuncDoorActivateGoal
	.p2align	4, 0x90
_BotFuncDoorActivateGoal:               ## @BotFuncDoorActivateGoal
	.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	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_INFO_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edi
	movq	%rbx, %rdx
	movl	%r13d, %ecx
	callq	_trap_AAS_ValueForBSPEpairKey
	movq	_qfalse@GOTPCREL(%rip), %r12
	cmpb	$0, (%rbx)
	je	LBB0_3
## %bb.1:
	incq	%rbx
	movq	%rbx, %rdi
	callq	_atoi
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %ebx
	callq	_VectorClear
	movq	_ET_MOVER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	xorl	%edx, %edx
	callq	_BotModelMinsMaxs
	movl	%eax, %ebx
	callq	_VectorAdd
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_VectorScale
	movl	48(%r15), %esi
	callq	_VectorCopy
	movq	_qtrue@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movl	%eax, (%r15)
	movl	%ebx, 8(%r15)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%r15)
	movl	4(%r14), %edi
	movl	24(%r15), %esi
	callq	_VectorCopy
	movl	(%r14), %eax
	movl	%eax, 20(%r15)
	movl	16(%r15), %edi
	movl	$-8, %esi
	movl	$-8, %edx
	movl	$-8, %ecx
	callq	_VectorSet
	movl	12(%r15), %edi
	movl	$8, %esi
	movl	$8, %edx
	movl	$8, %ecx
	callq	_VectorSet
LBB0_3:
	movl	(%r12), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_INFO_STRING,4,2            ## @MAX_INFO_STRING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"model"

	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_ET_MOVER,4,2                   ## @ET_MOVER
	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotFuncDoorActivateGoal        ; -- Begin function BotFuncDoorActivateGoal
	.p2align	2
_BotFuncDoorActivateGoal:               ; @BotFuncDoorActivateGoal
	.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
	sub	sp, sp, #16
	mov	x19, x2
	mov	x8, x1
	mov	x20, x0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-40]
Lloh3:
	adrp	x9, _MAX_INFO_STRING@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX_INFO_STRING@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x9]
	mov	x9, x3
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x3, #15
	and	x10, x10, #0x1fffffff0
	sub	x21, x9, x10
	mov	sp, x21
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	mov	x2, x21
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_trap_AAS_ValueForBSPEpairKey
	ldrb	w8, [x21]
	cbz	w8, LBB0_3
; %bb.1:
	add	x0, x21, #1
	bl	_atoi
	cbz	w0, LBB0_3
; %bb.2:
	mov	x21, x0
	bl	_VectorClear
Lloh10:
	adrp	x8, _ET_MOVER@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ET_MOVER@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	bl	_BotModelMinsMaxs
	mov	x21, x0
	bl	_VectorAdd
	fmov	d0, #0.50000000
	bl	_VectorScale
	ldr	w1, [x19, #48]
	bl	_VectorCopy
Lloh13:
	adrp	x22, _qtrue@GOTPAGE
Lloh14:
	ldr	x22, [x22, _qtrue@GOTPAGEOFF]
	ldr	w8, [x22]
	str	w8, [x19]
	str	w21, [x19, #8]
	stp	xzr, xzr, [x19, #32]
	ldr	w0, [x20, #4]
	ldr	w1, [x19, #24]
	bl	_VectorCopy
	ldr	w8, [x20]
	str	w8, [x19, #20]
	ldr	w0, [x19, #16]
	mov	w1, #-8
	mov	w2, #-8
	mov	w3, #-8
	bl	_VectorSet
	ldr	w0, [x19, #12]
	mov	w1, #8
	mov	w2, #8
	mov	w3, #8
	bl	_VectorSet
	b	LBB0_4
LBB0_3:
Lloh15:
	adrp	x22, _qfalse@GOTPAGE
Lloh16:
	ldr	x22, [x22, _qfalse@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x22]
	ldur	x8, [x29, #-40]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	sub	sp, x29, #32
	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
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_INFO_STRING,4,2            ; @MAX_INFO_STRING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"model"

	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_ET_MOVER,4,2                   ; @ET_MOVER
	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
