	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function AAS_HorizontalVelocityForJump
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_1:
	.long	0x7fc00000                      ## float NaN
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_AAS_HorizontalVelocityForJump
	.p2align	4, 0x90
_AAS_HorizontalVelocityForJump:         ## @AAS_HorizontalVelocityForJump
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movaps	%xmm0, %xmm3
	movq	_aassettings@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	xorps	%xmm0, %xmm0
	cvtss2sd	%xmm1, %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
	divss	%xmm1, %xmm3
	xorps	%xmm1, %xmm1
	cvtss2sd	%xmm3, %xmm1
	movapd	%xmm0, %xmm2
	mulsd	%xmm1, %xmm2
	mulsd	%xmm1, %xmm2
	xorps	%xmm1, %xmm1
	cvtsd2ss	%xmm2, %xmm1
	addss	8(%rdi), %xmm1
	subss	8(%rsi), %xmm1
	movss	4(%rax), %xmm4                  ## xmm4 = mem[0],zero,zero,zero
	xorps	%xmm2, %xmm2
	ucomiss	%xmm1, %xmm2
	ja	LBB0_6
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %rbx
	cvtss2sd	%xmm1, %xmm1
	divsd	%xmm0, %xmm1
	xorps	%xmm0, %xmm0
	cvtsd2ss	%xmm1, %xmm0
	ucomiss	%xmm2, %xmm0
	movss	%xmm3, -28(%rbp)                ## 4-byte Spill
	movss	%xmm4, -36(%rbp)                ## 4-byte Spill
	jb	LBB0_3
## %bb.2:
	sqrtss	%xmm0, %xmm0
	jmp	LBB0_4
LBB0_3:
	callq	_sqrt
LBB0_4:
	movss	%xmm0, -32(%rbp)                ## 4-byte Spill
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_VectorSubtract
	movss	-28(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	addss	-32(%rbp), %xmm1                ## 4-byte Folded Reload
	xorps	%xmm0, %xmm0
	ucomiss	%xmm0, %xmm1
	movss	-36(%rbp), %xmm4                ## 4-byte Reload
                                        ## xmm4 = mem[0],zero,zero,zero
	jne	LBB0_5
	jnp	LBB0_6
LBB0_5:
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm1, -28(%rbp)                ## 4-byte Spill
	callq	_sqrt
	movss	-36(%rbp), %xmm4                ## 4-byte Reload
                                        ## xmm4 = mem[0],zero,zero,zero
	divss	-28(%rbp), %xmm0                ## 4-byte Folded Reload
	movl	$1, %eax
	ucomiss	%xmm4, %xmm0
	jbe	LBB0_7
LBB0_6:
	xorl	%eax, %eax
	movaps	%xmm4, %xmm0
LBB0_7:
	movss	%xmm0, (%r14)
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_aassettings,8,2                ## @aassettings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_HorizontalVelocityForJump  ; -- Begin function AAS_HorizontalVelocityForJump
	.p2align	2
_AAS_HorizontalVelocityForJump:         ; @AAS_HorizontalVelocityForJump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	.cfi_offset b10, -56
	.cfi_offset b11, -64
	mov	x19, x2
Lloh0:
	adrp	x9, _aassettings@GOTPAGE
Lloh1:
	ldr	x9, [x9, _aassettings@GOTPAGEOFF]
	ldp	s2, s9, [x9]
	fcvt	d1, s2
	fmov	d3, #0.50000000
	fmul	d1, d1, d3
	fdiv	s10, s0, s2
	fcvt	d0, s10
	fmul	d2, d1, d0
	fmul	d0, d2, d0
	fcvt	s0, d0
	ldr	s2, [x0, #8]
	fadd	s0, s2, s0
	ldr	s2, [x1, #8]
	fsub	s0, s0, s2
	fcmp	s0, #0.0
	b.mi	LBB0_5
; %bb.1:
	mov	x8, x0
	fcvt	d0, s0
	fdiv	d0, d0, d1
	fcvt	s0, d0
	fsqrt	s8, s0
	fcmp	s8, s8
	b.vs	LBB0_8
LBB0_2:
	mov	x0, x1
	mov	x1, x8
	bl	_VectorSubtract
	fadd	s8, s10, s8
	fcmp	s8, #0.0
	b.eq	LBB0_5
; %bb.3:
	mov	w8, #2143289344
	fmov	s0, w8
	fsqrt	s0, s0
	fcmp	s0, s0
	b.vs	LBB0_9
LBB0_4:
	fdiv	s0, s0, s8
	fcmp	s0, s9
	b.le	LBB0_7
LBB0_5:
	mov	w0, #0
LBB0_6:
	str	s9, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
	mov	w0, #1
	fmov	s9, s0
	b	LBB0_6
LBB0_8:
	stp	x1, x8, [sp]                    ; 16-byte Folded Spill
	bl	_sqrt
	ldp	x1, x8, [sp]                    ; 16-byte Folded Reload
	fmov	s8, s0
	b	LBB0_2
LBB0_9:
	mov	w8, #2143289344
	fmov	s0, w8
	bl	_sqrt
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_aassettings,8,2                ; @aassettings
.subsections_via_symbols
