	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotMovementViewTarget          ## -- Begin function BotMovementViewTarget
	.p2align	4, 0x90
_BotMovementViewTarget:                 ## @BotMovementViewTarget
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movl	%edx, %r15d
	movq	%rsi, %r12
	callq	_BotMoveStateFromHandle
	movq	%rax, %rbx
	movq	_qfalse@GOTPCREL(%rip), %rax
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.1:
	testq	%r12, %r12
	je	LBB0_19
## %bb.2:
	movl	(%rbx), %r14d
	testl	%r14d, %r14d
	je	LBB0_19
## %bb.3:
	movl	24(%rbx), %edi
	callq	_VectorCopy
	movl	4(%rbx), %r13d
	movl	$0, -48(%rbp)
	xorps	%xmm0, %xmm0
	movss	-44(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jbe	LBB0_16
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	leaq	-72(%rbp), %rsi
	callq	_AAS_ReachabilityFromNum
	movl	-60(%rbp), %esi
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	leaq	-48(%rbp), %rdx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_BotAddToTarget
	testq	%rax, %rax
	jne	LBB0_18
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_TRAVELTYPE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-72(%rbp), %eax
	movq	_TRAVEL_TELEPORT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_18
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_TRAVEL_ROCKETJUMP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_18
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_TRAVEL_BFGJUMP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_18
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_TRAVEL_JUMPPAD@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_TRAVEL_ELEVATOR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_TRAVEL_FUNCBOB@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-64(%rbp), %esi
	movl	-60(%rbp), %edi
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	leaq	-48(%rbp), %rdx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_BotAddToTarget
	testq	%rax, %rax
	jne	LBB0_18
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-68(%rbp), %esi
	movl	-64(%rbp), %edi
	movl	20(%rbx), %edx
	movl	16(%rbx), %r8d
	movl	8(%rbx), %eax
	movl	12(%rbx), %r9d
	subq	$8, %rsp
	movl	%r13d, %ecx
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	%r15
	pushq	%r15
	pushq	%r12
	pushq	%rax
	callq	_BotGetReachabilityToGoal
	addq	$64, %rsp
	movl	%eax, %r14d
	movl	-64(%rbp), %edi
	callq	_VectorCopy
	movl	-68(%rbp), %r13d
	cmpl	(%r12), %r13d
	je	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	testl	%r14d, %r14d
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movss	-44(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	ucomiss	-48(%rbp), %xmm1
	ja	LBB0_4
LBB0_16:
	movq	_qfalse@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_17:
	movl	-64(%rbp), %edi
	movl	4(%r12), %esi
	leaq	-48(%rbp), %rdx
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_BotAddToTarget
LBB0_18:
	movq	_qtrue@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_TRAVELTYPE_MASK,4,2            ## @TRAVELTYPE_MASK
	.comm	_TRAVEL_TELEPORT,4,2            ## @TRAVEL_TELEPORT
	.comm	_TRAVEL_ROCKETJUMP,4,2          ## @TRAVEL_ROCKETJUMP
	.comm	_TRAVEL_BFGJUMP,4,2             ## @TRAVEL_BFGJUMP
	.comm	_TRAVEL_JUMPPAD,4,2             ## @TRAVEL_JUMPPAD
	.comm	_TRAVEL_ELEVATOR,4,2            ## @TRAVEL_ELEVATOR
	.comm	_TRAVEL_FUNCBOB,4,2             ## @TRAVEL_FUNCBOB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotMovementViewTarget          ; -- Begin function BotMovementViewTarget
	.p2align	2
_BotMovementViewTarget:                 ; @BotMovementViewTarget
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	d9, d8, [sp, #64]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x19, x3
	fmov	s8, s0
	mov	x21, x2
	mov	x20, x1
	bl	_BotMoveStateFromHandle
Lloh0:
	adrp	x25, _qfalse@GOTPAGE
Lloh1:
	ldr	x25, [x25, _qfalse@GOTPAGEOFF]
	cbz	x0, LBB0_15
; %bb.1:
	cbz	x20, LBB0_15
; %bb.2:
	mov	x22, x0
	ldr	w24, [x0]
	cbz	w24, LBB0_15
; %bb.3:
	ldr	w0, [x22, #24]
	bl	_VectorCopy
	ldr	w23, [x22, #4]
	str	wzr, [sp, #44]
	fcmp	s8, #0.0
	b.le	LBB0_12
; %bb.4:
Lloh2:
	adrp	x26, _TRAVEL_ROCKETJUMP@GOTPAGE
Lloh3:
	ldr	x26, [x26, _TRAVEL_ROCKETJUMP@GOTPAGEOFF]
Lloh4:
	adrp	x27, _TRAVEL_BFGJUMP@GOTPAGE
Lloh5:
	ldr	x27, [x27, _TRAVEL_BFGJUMP@GOTPAGEOFF]
Lloh6:
	adrp	x28, _TRAVEL_FUNCBOB@GOTPAGE
Lloh7:
	ldr	x28, [x28, _TRAVEL_FUNCBOB@GOTPAGEOFF]
Lloh8:
	adrp	x25, _qfalse@GOTPAGE
Lloh9:
	ldr	x25, [x25, _qfalse@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #48
	mov	x0, x24
	bl	_AAS_ReachabilityFromNum
	ldr	w1, [sp, #60]
	add	x2, sp, #44
	fmov	s0, s8
	mov	x3, x19
	bl	_BotAddToTarget
	cbnz	x0, LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #48]
Lloh10:
	adrp	x9, _TRAVELTYPE_MASK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _TRAVELTYPE_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh13:
	adrp	x9, _TRAVEL_TELEPORT@GOTPAGE
Lloh14:
	ldr	x9, [x9, _TRAVEL_TELEPORT@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	ldr	w10, [x26]
	ldr	w11, [x27]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	ccmp	w8, w11, #4, ne
	b.eq	LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh16:
	adrp	x9, _TRAVEL_JUMPPAD@GOTPAGE
Lloh17:
	ldr	x9, [x9, _TRAVEL_JUMPPAD@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
Lloh19:
	adrp	x10, _TRAVEL_ELEVATOR@GOTPAGE
Lloh20:
	ldr	x10, [x10, _TRAVEL_ELEVATOR@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x10]
	ldr	w11, [x28]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	ccmp	w8, w11, #4, ne
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldp	w1, w0, [sp, #56]
	add	x2, sp, #44
	fmov	s0, s8
	mov	x3, x19
	bl	_BotAddToTarget
	cbnz	x0, LBB0_14
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldp	w1, w0, [sp, #52]
	ldp	w4, w2, [x22, #16]
	ldp	w6, w5, [x22, #8]
	str	xzr, [sp, #24]
	str	wzr, [sp, #16]
	str	xzr, [sp, #8]
	stp	w21, w21, [sp]
	mov	x3, x23
	mov	x7, x20
	bl	_BotGetReachabilityToGoal
	mov	x24, x0
	ldr	w0, [sp, #56]
	bl	_VectorCopy
	ldr	w23, [sp, #52]
	ldr	w8, [x20]
	cmp	w23, w8
	b.eq	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	cbz	w24, LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	s0, [sp, #44]
	fcmp	s0, s8
	b.mi	LBB0_5
	b	LBB0_15
LBB0_12:
Lloh22:
	adrp	x25, _qfalse@GOTPAGE
Lloh23:
	ldr	x25, [x25, _qfalse@GOTPAGEOFF]
	b	LBB0_15
LBB0_13:
	ldr	w0, [sp, #56]
	ldr	w1, [x20, #4]
	add	x2, sp, #44
	fmov	s0, s8
	mov	x3, x19
	bl	_BotAddToTarget
LBB0_14:
Lloh24:
	adrp	x25, _qtrue@GOTPAGE
Lloh25:
	ldr	x25, [x25, _qtrue@GOTPAGEOFF]
LBB0_15:
	ldr	w0, [x25]
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #64]               ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_TRAVELTYPE_MASK,4,2            ; @TRAVELTYPE_MASK
	.comm	_TRAVEL_TELEPORT,4,2            ; @TRAVEL_TELEPORT
	.comm	_TRAVEL_ROCKETJUMP,4,2          ; @TRAVEL_ROCKETJUMP
	.comm	_TRAVEL_BFGJUMP,4,2             ; @TRAVEL_BFGJUMP
	.comm	_TRAVEL_JUMPPAD,4,2             ; @TRAVEL_JUMPPAD
	.comm	_TRAVEL_ELEVATOR,4,2            ; @TRAVEL_ELEVATOR
	.comm	_TRAVEL_FUNCBOB,4,2             ; @TRAVEL_FUNCBOB
.subsections_via_symbols
