	.file	"extr_be_aas_reach.c_AAS_Reachability_WeaponJump.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"area %d center %f %f %f in solid?\r\n"
	.text
	.p2align 4
	.globl	AAS_Reachability_WeaponJump
	.type	AAS_Reachability_WeaponJump, @function
AAS_Reachability_WeaponJump:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	r14d, DWORD PTR qfalse[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	call	AAS_AreaGrounded@PLT
	test	eax, eax
	jne	.L2
.L9:
	mov	eax, DWORD PTR qfalse[rip]
.L3:
	mov	rcx, QWORD PTR 56[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L29
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, r13d
	call	AAS_AreaSwim@PLT
	test	rax, rax
	jne	.L9
	mov	edi, ebp
	call	AAS_AreaGrounded@PLT
	test	eax, eax
	je	.L9
	mov	rax, QWORD PTR aasworld[rip+24]
	movsx	r12, ebp
	mov	eax, DWORD PTR [rax+r12*4]
	test	DWORD PTR AREA_WEAPONJUMP[rip], eax
	je	.L9
	mov	rdx, QWORD PTR aasworld[rip+16]
	movsx	rax, r13d
	sal	r12, 5
	mov	QWORD PTR 24[rsp], rax
	sal	rax, 5
	add	r12, rdx
	add	rax, rdx
	mov	rdx, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR [r12]
	mov	rbx, QWORD PTR 16[rdx]
	cmp	QWORD PTR 16[rcx], rbx
	jl	.L9
	xor	r15d, r15d
	mov	rdi, QWORD PTR 16[rax]
	mov	rsi, r15
	call	VectorCopy@PLT
	mov	rdi, r15
	call	AAS_PointAreaNum@PLT
	test	eax, eax
	je	.L30
.L7:
	xor	r13d, r13d
	xor	r15d, r15d
	mov	rsi, r13
	mov	rdi, r15
	call	VectorCopy@PLT
	mov	rdi, r15
	mov	ecx, -1
	mov	rsi, r13
	sub	DWORD PTR 8[r13], 1000
	mov	edx, DWORD PTR PRESENCE_CROUCH[rip]
	call	AAS_TraceClientBBox@PLT
	mov	rdi, rax
	test	rdx, rdx
	jne	.L9
	xor	r15d, r15d
	mov	rsi, r15
	call	VectorCopy@PLT
	mov	eax, DWORD PTR 24[r12]
	test	eax, eax
	jle	.L9
	lea	rax, 48[rsp]
	xor	ebx, ebx
	lea	r13, 44[rsp]
	mov	QWORD PTR 16[rsp], rax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L12:
	add	ebx, 1
	cmp	DWORD PTR 24[r12], ebx
	jle	.L9
.L11:
	mov	eax, DWORD PTR 28[r12]
	lea	rcx, aasworld[rip]
	mov	rdx, QWORD PTR [rcx]
	add	eax, ebx
	cdqe
	mov	r15d, DWORD PTR [rdx+rax*4]
	mov	rdx, QWORD PTR aasworld[rip+8]
	mov	edi, r15d
	mov	QWORD PTR 8[rsp], rdx
	call	abs@PLT
	mov	rdx, QWORD PTR 8[rsp]
	mov	eax, DWORD PTR [rdx+rax*4]
	test	DWORD PTR FACE_GROUND[rip], eax
	je	.L12
	xor	r8d, r8d
	mov	edi, r15d
	mov	rsi, r8
	mov	QWORD PTR 8[rsp], r8
	call	AAS_FaceCenter@PLT
	mov	eax, DWORD PTR ds:8
	mov	r8, QWORD PTR 8[rsp]
	add	eax, 63
	cmp	eax, DWORD PTR 8[r8]
	jge	.L12
	xor	r15d, r15d
	mov	rdi, r15
	call	AAS_RocketJumpZVelocity@PLT
	xor	r8d, r8d
	mov	rdx, r13
	mov	rdi, r15
	mov	rsi, r8
	movss	DWORD PTR 8[rsp], xmm0
	call	AAS_HorizontalVelocityForJump@PLT
	movss	xmm1, DWORD PTR 8[rsp]
	test	eax, eax
	je	.L12
	movss	xmm2, DWORD PTR .LC1[rip]
	comiss	xmm2, DWORD PTR 44[rsp]
	jbe	.L12
	xor	r8d, r8d
	xor	r9d, r9d
	xor	r15d, r15d
	movss	DWORD PTR 8[rsp], xmm1
	mov	rdi, r8
	mov	rdx, r9
	mov	rsi, r15
	call	VectorSubtract@PLT
	xor	r9d, r9d
	mov	DWORD PTR 8[r9], 0
	mov	rdi, r9
	call	VectorNormalize@PLT
	movss	xmm0, DWORD PTR 44[rsp]
	xor	ecx, ecx
	xor	r9d, r9d
	mov	rsi, rcx
	mov	rdi, r9
	call	VectorScale@PLT
	movss	xmm1, DWORD PTR 8[rsp]
	xor	r9d, r9d
	xor	edx, edx
	xor	esi, esi
	mov	rdi, r9
	movaps	xmm0, xmm1
	call	VectorSet@PLT
	xor	ecx, ecx
	mov	eax, DWORD PTR SE_ENTERWATER[rip]
	push	r14
	.cfi_def_cfa_offset 136
	or	eax, DWORD PTR SE_ENTERSLIME[rip]
	or	eax, DWORD PTR SE_ENTERLAVA[rip]
	push	rbp
	.cfi_def_cfa_offset 144
	xor	r9d, r9d
	or	eax, DWORD PTR SE_HITGROUNDDAMAGE[rip]
	or	eax, DWORD PTR SE_TOUCHJUMPPAD[rip]
	mov	rdx, r15
	mov	esi, -1
	or	eax, DWORD PTR SE_HITGROUND[rip]
	or	eax, DWORD PTR SE_HITGROUNDAREA[rip]
	movss	xmm0, DWORD PTR .LC2[rip]
	mov	r8d, DWORD PTR qtrue[rip]
	push	rax
	.cfi_def_cfa_offset 152
	push	30
	.cfi_def_cfa_offset 160
	push	30
	.cfi_def_cfa_offset 168
	push	rcx
	.cfi_def_cfa_offset 176
	mov	ecx, DWORD PTR PRESENCE_NORMAL[rip]
	mov	rdi, QWORD PTR 64[rsp]
	call	AAS_PredictClientMovement@PLT
	add	rsp, 48
	.cfi_def_cfa_offset 128
	cmp	DWORD PTR 48[rsp], 29
	jg	.L12
	mov	edx, DWORD PTR 52[rsp]
	mov	eax, DWORD PTR SE_ENTERSLIME[rip]
	or	eax, DWORD PTR SE_ENTERLAVA[rip]
	or	eax, DWORD PTR SE_HITGROUNDDAMAGE[rip]
	test	eax, edx
	jne	.L12
	mov	eax, DWORD PTR SE_HITGROUNDAREA[rip]
	or	eax, DWORD PTR SE_TOUCHJUMPPAD[rip]
	test	eax, edx
	je	.L12
	xor	eax, eax
	call	AAS_AllocReachability@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L9
	mov	DWORD PTR [rax], ebp
	mov	rsi, QWORD PTR 8[rax]
	xor	r15d, r15d
	mov	QWORD PTR 48[rax], 0
	mov	rdi, r15
	mov	QWORD PTR 40[rax], 0
	call	VectorCopy@PLT
	xor	r8d, r8d
	mov	rsi, QWORD PTR 16[rbx]
	mov	rdi, r8
	call	VectorCopy@PLT
	mov	eax, DWORD PTR TRAVEL_ROCKETJUMP[rip]
	mov	rcx, QWORD PTR 24[rsp]
	mov	DWORD PTR 36[rbx], eax
	mov	eax, DWORD PTR aassettings[rip]
	mov	DWORD PTR 32[rbx], eax
	mov	rax, QWORD PTR areareachability[rip]
	lea	rax, [rax+rcx*8]
	mov	rdx, QWORD PTR [rax]
	mov	QWORD PTR 24[rbx], rdx
	mov	QWORD PTR [rax], rbx
	mov	eax, DWORD PTR qtrue[rip]
	add	DWORD PTR reach_rocketjump[rip], 1
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L30:
	mov	ecx, DWORD PTR 4[r15]
	mov	edx, DWORD PTR [r15]
	mov	esi, r13d
	lea	rdi, .LC0[rip]
	mov	r8d, DWORD PTR ds:8
	call	Log_Write@PLT
	jmp	.L7
.L29:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	AAS_Reachability_WeaponJump, .-AAS_Reachability_WeaponJump
	.comm	reach_rocketjump,4,4
	.comm	qtrue,4,4
	.comm	qfalse,4,4
	.comm	areareachability,8,8
	.comm	aasworld,32,32
	.comm	aassettings,8,8
	.comm	TRAVEL_ROCKETJUMP,4,4
	.comm	TRAVEL_BFGJUMP,4,4
	.comm	SE_TOUCHJUMPPAD,4,4
	.comm	SE_HITGROUNDDAMAGE,4,4
	.comm	SE_HITGROUNDAREA,4,4
	.comm	SE_HITGROUND,4,4
	.comm	SE_ENTERWATER,4,4
	.comm	SE_ENTERSLIME,4,4
	.comm	SE_ENTERLAVA,4,4
	.comm	PRESENCE_NORMAL,4,4
	.comm	PRESENCE_CROUCH,4,4
	.comm	FACE_GROUND,4,4
	.comm	AREA_WEAPONJUMP,4,4
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC1:
	.long	1133903872
	.align 4
.LC2:
	.long	1036831949
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_be_aas_reach.c_AAS_Reachability_WeaponJump.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"area %d center %f %f %f in solid?\015\012\000"
	.global	__aeabi_fcmplt
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	AAS_Reachability_WeaponJump
	.syntax unified
	.arm
	.fpu softvfp
	.type	AAS_Reachability_WeaponJump, %function
AAS_Reachability_WeaponJump:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L38
	sub	sp, sp, #84
	ldr	r6, .L38+4
	str	r1, [sp, #44]
	ldr	r3, [r3]
	str	r3, [sp, #76]
	mov	r3,#0
	ldr	r3, [r6]
	mov	r8, r0
	str	r3, [sp, #48]
	bl	AAS_AreaGrounded
	cmp	r0, #0
	bne	.L2
.L9:
	ldr	r0, [r6]
.L1:
	ldr	r3, .L38
	ldr	r2, [r3]
	ldr	r3, [sp, #76]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L36
	add	sp, sp, #84
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r0, r8
	bl	AAS_AreaSwim
	cmp	r0, #0
	bne	.L9
	ldr	r0, [sp, #44]
	bl	AAS_AreaGrounded
	cmp	r0, #0
	beq	.L9
	ldr	r10, .L38+8
	ldr	r3, .L38+12
	ldr	r2, [r10, #12]
	ldr	r1, [sp, #44]
	ldr	r3, [r3]
	ldr	r2, [r2, r1, lsl #2]
	tst	r2, r3
	beq	.L9
	ldr	r2, [r10, #8]
	add	r3, r8, r8, lsl #2
	add	r1, r1, r1, lsl #2
	add	r3, r2, r3, lsl #2
	ldr	r0, [r3, #4]
	ldr	ip, [r2, r1, lsl #2]
	ldr	r0, [r0, #8]
	ldr	ip, [ip, #8]
	add	r7, r2, r1, lsl #2
	cmp	ip, r0
	blt	.L9
	mov	r4, #0
	ldr	r0, [r3, #8]
	mov	r1, r4
	bl	VectorCopy
	mov	r0, r4
	bl	AAS_PointAreaNum
	cmp	r0, r4
	beq	.L37
.L7:
	mov	r5, #0
	mov	r1, r5
	mov	r0, r5
	bl	VectorCopy
	mvn	r0, #0
	mov	r4, r5
	ldr	r3, [r5, #8]
	ldr	ip, .L38+16
	sub	r3, r3, #1000
	str	r3, [r5, #8]
	mov	r1, r5
	mov	r2, r5
	ldr	r3, [ip]
	str	r0, [sp]
	add	r0, sp, #68
	bl	AAS_TraceClientBBox
	ldr	r5, [sp, #72]
	cmp	r5, r4
	bne	.L9
	mov	r1, #0
	ldr	r0, [sp, #68]
	bl	VectorCopy
	ldr	r3, [r7, #12]
	cmp	r3, #0
	ble	.L9
	str	r8, [sp, #52]
	mov	r8, r7
	b	.L11
.L34:
	ldr	r3, [r8, #12]
.L12:
	add	r5, r5, #1
	cmp	r3, r5
	ble	.L9
.L11:
	ldr	r2, [r8, #16]
	ldr	r1, [r10]
	add	r2, r5, r2
	ldr	r0, [r1, r2, lsl #2]
	ldr	r1, [r10, #4]
	ldr	r2, .L38+20
	ldr	r1, [r1, r0, lsl #2]
	ldr	r2, [r2]
	tst	r1, r2
	beq	.L12
	mov	r7, #0
	mov	r1, r7
	bl	AAS_FaceCenter
	ldr	r3, [r7, #8]
	mov	r2, r3
	add	r3, r3, #63
	cmp	r3, r2
	bge	.L34
	mov	r4, #0
	mov	r0, r4
	bl	AAS_RocketJumpZVelocity
	mov	r1, r4
	mov	r2, r4
	add	r3, sp, #56
	mov	r7, r0
	bl	AAS_HorizontalVelocityForJump
	cmp	r0, r4
	beq	.L34
	ldr	r1, .L38+24
	ldr	r0, [sp, #56]	@ float
	bl	__aeabi_fcmplt
	cmp	r0, #0
	beq	.L34
	mov	r2, #0
	mov	r4, r2
	mov	r1, r2
	mov	r0, r2
	bl	VectorSubtract
	mov	r0, r4
	str	r4, [r4, #8]
	bl	VectorNormalize
	mov	r2, r4
	ldr	r1, [sp, #56]	@ float
	mov	r0, r4
	bl	VectorScale
	mov	r3, r7
	mov	r2, r4
	mov	r1, r4
	mov	r0, r4
	bl	VectorSet
	mov	r1, #30
	ldr	r2, .L38+28
	ldr	r3, .L38+32
	ldr	r0, [r2]
	ldr	r2, .L38+36
	ldr	r3, [r3]
	ldr	r7, .L38+40
	ldr	r2, [r2]
	orr	r3, r3, r0
	ldr	r0, [r7]
	orr	r3, r3, r2
	orr	r3, r3, r0
	ldr	r0, .L38+44
	ldr	r2, .L38+48
	ldr	r0, [r0]
	ldr	r2, [r2]
	ldr	fp, .L38+52
	orr	r3, r3, r0
	orr	r3, r3, r2
	ldr	r2, [fp]
	ldr	ip, [sp, #48]
	orr	r3, r3, r2
	ldr	r2, .L38+56
	str	r4, [sp, #8]
	ldr	r0, [r2]
	str	ip, [sp, #32]
	ldr	ip, [sp, #44]
	str	r3, [sp, #24]
	str	ip, [sp, #28]
	ldr	ip, .L38+60
	ldr	r3, .L38+64
	str	r0, [sp]
	str	r1, [sp, #16]
	str	r1, [sp, #12]
	str	r4, [sp, #4]
	str	ip, [sp, #20]	@ float
	ldr	r3, [r3]
	mov	r2, r4
	mvn	r1, #0
	add	r0, sp, #60
	bl	AAS_PredictClientMovement
	ldr	r3, [sp, #60]
	cmp	r3, #29
	bgt	.L34
	ldr	r3, .L38+28
	ldr	r2, .L38+36
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r7]
	orr	r3, r3, r2
	ldr	r2, [sp, #64]
	orr	r3, r3, r1
	ands	r3, r3, r2
	bne	.L34
	ldr	r0, .L38+44
	ldr	r1, [fp]
	ldr	r0, [r0]
	orr	r1, r1, r0
	tst	r1, r2
	beq	.L34
	mov	r4, r3
	ldr	r8, [sp, #52]
	bl	AAS_AllocReachability
	subs	r5, r0, #0
	beq	.L9
	ldr	r3, [sp, #44]
	ldr	r1, [r5, #4]
	str	r3, [r5]
	mov	r0, #0
	str	r4, [r5, #28]
	str	r4, [r5, #24]
	bl	VectorCopy
	ldr	r1, [r5, #8]
	mov	r0, #0
	bl	VectorCopy
	ldr	r3, .L38+68
	ldr	r2, .L38+72
	ldr	r1, [r3]
	ldr	r3, .L38+76
	ldr	ip, .L38+80
	ldr	r3, [r3]
	ldr	lr, [r1, r8, lsl #2]
	str	r3, [r5, #20]
	ldr	r3, [r2]
	ldr	ip, [ip]
	ldr	r0, .L38+56
	add	r3, r3, #1
	ldr	r0, [r0]
	str	lr, [r5, #12]
	str	ip, [r5, #16]
	str	r5, [r1, r8, lsl #2]
	str	r3, [r2]
	b	.L1
.L37:
	ldr	r1, [r4, #8]
	ldm	r4, {r2, r3}
	ldr	r0, .L38+84
	str	r1, [sp]
	mov	r1, r8
	bl	Log_Write
	b	.L7
.L36:
	bl	__stack_chk_fail
.L39:
	.align	2
.L38:
	.word	.LC1
	.word	qfalse
	.word	aasworld
	.word	AREA_WEAPONJUMP
	.word	PRESENCE_CROUCH
	.word	FACE_GROUND
	.word	1133903872
	.word	SE_ENTERSLIME
	.word	SE_ENTERWATER
	.word	SE_ENTERLAVA
	.word	SE_HITGROUNDDAMAGE
	.word	SE_TOUCHJUMPPAD
	.word	SE_HITGROUND
	.word	SE_HITGROUNDAREA
	.word	qtrue
	.word	1036831949
	.word	PRESENCE_NORMAL
	.word	areareachability
	.word	reach_rocketjump
	.word	TRAVEL_ROCKETJUMP
	.word	aassettings
	.word	.LC0
	.size	AAS_Reachability_WeaponJump, .-AAS_Reachability_WeaponJump
	.comm	reach_rocketjump,4,4
	.comm	qtrue,4,4
	.comm	qfalse,4,4
	.comm	areareachability,4,4
	.comm	aasworld,16,4
	.comm	aassettings,8,4
	.comm	TRAVEL_ROCKETJUMP,4,4
	.comm	TRAVEL_BFGJUMP,4,4
	.comm	SE_TOUCHJUMPPAD,4,4
	.comm	SE_HITGROUNDDAMAGE,4,4
	.comm	SE_HITGROUNDAREA,4,4
	.comm	SE_HITGROUND,4,4
	.comm	SE_ENTERWATER,4,4
	.comm	SE_ENTERSLIME,4,4
	.comm	SE_ENTERLAVA,4,4
	.comm	PRESENCE_NORMAL,4,4
	.comm	PRESENCE_CROUCH,4,4
	.comm	FACE_GROUND,4,4
	.comm	AREA_WEAPONJUMP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
