	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function BotFuncBobStartEnd
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_BotFuncBobStartEnd
	.p2align	4, 0x90
_BotFuncBobStartEnd:                    ## @BotFuncBobStartEnd
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movzwl	(%rdi), %ebx
	movl	%ebx, %edi
	movq	%rcx, %rsi
	callq	_AAS_OriginOfMoverWithModelNum
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movl	%ebx, %edi
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	callq	_AAS_BSPModelMinsMaxsOrigin
	callq	_VectorAdd
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_VectorScale
	movq	%r15, %rsi
	callq	_VectorCopy
	movq	%r14, %rsi
	callq	_VectorCopy
	movl	(%r12), %ecx
	movl	4(%r12), %eax
	movzwl	%ax, %edx
	sarl	$16, %eax
	xorl	%esi, %esi
	cmpl	$32768, %edx                    ## imm = 0x8000
	setb	%sil
	shll	$16, %esi
	addl	%esi, %edx
	addl	$-65536, %edx                   ## imm = 0xFFFF0000
	testl	$65536, %ecx                    ## imm = 0x10000
	jne	LBB0_2
## %bb.3:
	testl	$131072, %ecx                   ## imm = 0x20000
	jne	LBB0_4
## %bb.5:
	movl	%eax, 8(%r15)
	movl	%edx, 8(%r14)
	jmp	LBB0_6
LBB0_7:
	movq	_botimport@GOTPCREL(%rip), %rax
	movq	_PRT_MESSAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	*(%rax)
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_VectorSet
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_VectorSet                      ## TAILCALL
LBB0_2:
	movl	%eax, (%r15)
	movl	%edx, (%r14)
	jmp	LBB0_6
LBB0_4:
	movl	%eax, 4(%r15)
	movl	%edx, 4(%r14)
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_botimport,8,3                  ## @botimport
	.comm	_PRT_MESSAGE,4,2                ## @PRT_MESSAGE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BotFuncBobStartEnd: no entity with model %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotFuncBobStartEnd             ; -- Begin function BotFuncBobStartEnd
	.p2align	2
_BotFuncBobStartEnd:                    ; @BotFuncBobStartEnd
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldrh	w22, [x0]
	mov	x0, x22
	mov	x1, x3
	bl	_AAS_OriginOfMoverWithModelNum
	cbz	w0, LBB0_4
; %bb.1:
	mov	x0, x22
	mov	x1, #0
	mov	x4, #0
	bl	_AAS_BSPModelMinsMaxsOrigin
	bl	_VectorAdd
	fmov	d0, #0.50000000
	bl	_VectorScale
	mov	x1, x20
	bl	_VectorCopy
	mov	x1, x19
	bl	_VectorCopy
	ldp	w10, w11, [x21]
	asr	w8, w11, #16
	ubfx	w9, w11, #15, #1
	mov	w12, #-65536
	cmp	w9, #0
	csel	w9, w12, wzr, ne
	bfxil	w9, w11, #0, #16
	tbnz	w10, #16, LBB0_5
; %bb.2:
	tbnz	w10, #17, LBB0_6
; %bb.3:
	str	w8, [x20, #8]
	str	w9, [x19, #8]
	b	LBB0_7
LBB0_4:
Lloh0:
	adrp	x8, _botimport@GOTPAGE
Lloh1:
	ldr	x8, [x8, _botimport@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _PRT_MESSAGE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PRT_MESSAGE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x9]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	blr	x8
	mov	x0, x20
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	bl	_VectorSet
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	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
	b	_VectorSet
LBB0_5:
	str	w8, [x20]
	str	w9, [x19]
	b	LBB0_7
LBB0_6:
	str	w8, [x20, #4]
	str	w9, [x19, #4]
LBB0_7:
	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 AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_botimport,8,3                  ; @botimport
	.comm	_PRT_MESSAGE,4,2                ; @PRT_MESSAGE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BotFuncBobStartEnd: no entity with model %d\n"

.subsections_via_symbols
