	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function PM_CrashLand
LCPI0_0:
	.long	0xbf000000                      ## float -0.5
LCPI0_1:
	.long	0x40800000                      ## float 4
LCPI0_4:
	.long	0x3e800000                      ## float 0.25
LCPI0_5:
	.long	0x3f000000                      ## float 0.5
LCPI0_6:
	.long	0x3f800000                      ## float 1
LCPI0_7:
	.long	0x42700000                      ## float 60
LCPI0_8:
	.long	0x42200000                      ## float 40
LCPI0_9:
	.long	0x40e00000                      ## float 7
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_2:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_3:
	.quad	0x3f1a36e2eb1c432d              ## double 1.0E-4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_PM_CrashLand:                          ## @PM_CrashLand
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_pm@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	8(%rax), %rax
	movq	_PMF_BACKWARDS_JUMP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rax), %ecx
	jne	LBB0_1
## %bb.2:
	movq	_LEGS_LAND@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_LEGS_LANDB@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edi
	callq	_PM_ForceLegsAnim
	movq	_TIMER_LAND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r14), %rcx
	movq	8(%rcx), %rcx
	movl	%eax, 40(%rcx)
	movq	8(%rcx), %rax
	movss	8(%rax), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	movq	_pml@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	8(%rbx), %rdx
	subss	8(%rax), %xmm0
	movss	8(%rdx), %xmm2                  ## xmm2 = mem[0],zero,zero,zero
	movss	16(%rcx), %xmm3                 ## xmm3 = mem[0],zero,zero,zero
	movss	LCPI0_0(%rip), %xmm4            ## xmm4 = mem[0],zero,zero,zero
	mulss	%xmm3, %xmm4
	movss	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm4, %xmm1
	mulss	%xmm0, %xmm1
	movaps	%xmm2, %xmm0
	mulss	%xmm2, %xmm0
	addss	%xmm1, %xmm0
	xorps	%xmm1, %xmm1
	ucomiss	%xmm0, %xmm1
	ja	LBB0_26
## %bb.4:
	movaps	LCPI0_2(%rip), %xmm5            ## xmm5 = [-0.0E+0,-0.0E+0,-0.0E+0,-0.0E+0]
	xorps	%xmm5, %xmm3
	xorps	%xmm2, %xmm5
	ucomiss	%xmm1, %xmm0
	jb	LBB0_6
## %bb.5:
	sqrtss	%xmm0, %xmm0
	jmp	LBB0_7
LBB0_6:
	movaps	%xmm2, -80(%rbp)                ## 16-byte Spill
	movaps	%xmm3, -64(%rbp)                ## 16-byte Spill
	movss	%xmm4, -20(%rbp)                ## 4-byte Spill
	movaps	%xmm5, -48(%rbp)                ## 16-byte Spill
	callq	_sqrt
	movaps	-48(%rbp), %xmm5                ## 16-byte Reload
	movss	-20(%rbp), %xmm4                ## 4-byte Reload
                                        ## xmm4 = mem[0],zero,zero,zero
	movaps	-64(%rbp), %xmm3                ## 16-byte Reload
	movaps	-80(%rbp), %xmm2                ## 16-byte Reload
LBB0_7:
	subss	%xmm0, %xmm5
	addss	%xmm4, %xmm4
	divss	%xmm4, %xmm5
	mulss	%xmm3, %xmm5
	addss	%xmm2, %xmm5
	mulss	%xmm5, %xmm5
	xorps	%xmm0, %xmm0
	cvtss2sd	%xmm5, %xmm0
	mulsd	LCPI0_3(%rip), %xmm0
	cvtsd2ss	%xmm0, %xmm0
	movq	(%r14), %rcx
	movq	8(%rcx), %rax
	movq	_PMF_DUCKED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rax)
	je	LBB0_9
## %bb.8:
	addss	%xmm0, %xmm0
LBB0_9:
	movl	(%rcx), %ecx
	cmpl	$3, %ecx
	je	LBB0_26
## %bb.10:
	cmpl	$2, %ecx
	jne	LBB0_12
## %bb.11:
	mulss	LCPI0_4(%rip), %xmm0
LBB0_12:
	cmpl	$1, %ecx
	jne	LBB0_14
## %bb.13:
	mulss	LCPI0_5(%rip), %xmm0
LBB0_14:
	movss	LCPI0_6(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	ja	LBB0_26
## %bb.15:
	movq	_SURF_NODAMAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 16(%rbx)
	jne	LBB0_25
## %bb.16:
	ucomiss	LCPI0_7(%rip), %xmm0
	jbe	LBB0_18
## %bb.17:
	movq	_EV_FALL_FAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_24
LBB0_18:
	ucomiss	LCPI0_8(%rip), %xmm0
	jbe	LBB0_21
## %bb.19:
	movq	24(%rax), %rax
	movq	_STAT_HEALTH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	jle	LBB0_25
## %bb.20:
	movq	_EV_FALL_MEDIUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_24
LBB0_21:
	ucomiss	LCPI0_9(%rip), %xmm0
	jbe	LBB0_23
## %bb.22:
	movq	_EV_FALL_SHORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_24
LBB0_23:
	xorl	%eax, %eax
	callq	_PM_FootstepForSurface
	movl	%eax, %edi
LBB0_24:
	callq	_PM_AddEvent
LBB0_25:
	movq	(%r14), %rax
	movq	8(%rax), %rax
	movq	$0, 32(%rax)
LBB0_26:
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pm,8,3                         ## @pm
	.comm	_PMF_BACKWARDS_JUMP,4,2         ## @PMF_BACKWARDS_JUMP
	.comm	_LEGS_LANDB,4,2                 ## @LEGS_LANDB
	.comm	_LEGS_LAND,4,2                  ## @LEGS_LAND
	.comm	_TIMER_LAND,4,2                 ## @TIMER_LAND
	.comm	_pml,24,3                       ## @pml
	.comm	_PMF_DUCKED,4,2                 ## @PMF_DUCKED
	.comm	_SURF_NODAMAGE,4,2              ## @SURF_NODAMAGE
	.comm	_EV_FALL_FAR,4,2                ## @EV_FALL_FAR
	.comm	_STAT_HEALTH,8,3                ## @STAT_HEALTH
	.comm	_EV_FALL_MEDIUM,4,2             ## @EV_FALL_MEDIUM
	.comm	_EV_FALL_SHORT,4,2              ## @EV_FALL_SHORT
	.no_dead_strip	_PM_CrashLand
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PM_CrashLand
_PM_CrashLand:                          ; @PM_CrashLand
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x19, _pm@GOTPAGE
Lloh1:
	ldr	x19, [x19, _pm@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	ldr	w8, [x8]
Lloh2:
	adrp	x9, _PMF_BACKWARDS_JUMP@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PMF_BACKWARDS_JUMP@GOTPAGEOFF]
Lloh4:
	adrp	x10, _LEGS_LAND@GOTPAGE
Lloh5:
	ldr	x10, [x10, _LEGS_LAND@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
Lloh7:
	adrp	x11, _LEGS_LANDB@GOTPAGE
Lloh8:
	ldr	x11, [x11, _LEGS_LANDB@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x10, x11, eq
	ldr	w0, [x8]
	bl	_PM_ForceLegsAnim
Lloh9:
	adrp	x8, _TIMER_LAND@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TIMER_LAND@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	x9, [x9, #8]
	str	w8, [x9, #40]
	ldr	x8, [x9, #8]
	ldr	s0, [x8, #8]
Lloh12:
	adrp	x8, _pml@GOTPAGE
Lloh13:
	ldr	x8, [x8, _pml@GOTPAGEOFF]
	ldp	x10, x11, [x8]
	ldr	s1, [x10, #8]
	fsub	s0, s0, s1
	ldr	s2, [x11, #8]
	ldr	s1, [x9, #16]
	fmov	s3, #-0.50000000
	fmul	s3, s1, s3
	fmov	s4, #4.00000000
	fmul	s4, s3, s4
	fmul	s0, s4, s0
	fmadd	s0, s2, s2, s0
	fcmp	s0, #0.0
	b.mi	LBB0_15
; %bb.1:
	fneg	s4, s1
	fneg	s5, s2
	fsqrt	s1, s0
	fcmp	s1, s1
	b.vs	LBB0_16
LBB0_2:
	fsub	s0, s5, s1
	fadd	s1, s3, s3
	fdiv	s0, s0, s1
	fmadd	s0, s0, s4, s2
	fmul	s0, s0, s0
	fcvt	d0, s0
	mov	x9, #17197
	movk	x9, #60188, lsl #16
	movk	x9, #14050, lsl #32
	movk	x9, #16154, lsl #48
	fmov	d1, x9
	fmul	d0, d0, d1
	fcvt	s0, d0
	ldr	x10, [x19]
	ldr	x9, [x10, #8]
	ldr	w11, [x9]
Lloh14:
	adrp	x12, _PMF_DUCKED@GOTPAGE
Lloh15:
	ldr	x12, [x12, _PMF_DUCKED@GOTPAGEOFF]
Lloh16:
	ldr	w12, [x12]
	fadd	s1, s0, s0
	tst	w12, w11
	fcsel	s0, s0, s1, eq
	ldr	w10, [x10]
	cmp	w10, #3
	b.eq	LBB0_15
; %bb.3:
	cmp	w10, #2
	fmov	s1, #0.25000000
	fmul	s1, s0, s1
	fcsel	s0, s0, s1, ne
	fmov	s1, #0.50000000
	fmul	s1, s0, s1
	cmp	w10, #1
	fcsel	s0, s1, s0, eq
	fmov	s1, #1.00000000
	fcmp	s0, s1
	b.mi	LBB0_15
; %bb.4:
	ldr	w8, [x8, #16]
Lloh17:
	adrp	x10, _SURF_NODAMAGE@GOTPAGE
Lloh18:
	ldr	x10, [x10, _SURF_NODAMAGE@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	tst	w10, w8
	b.ne	LBB0_14
; %bb.5:
	mov	w8, #1114636288
	fmov	s1, w8
	fcmp	s0, s1
	b.le	LBB0_7
; %bb.6:
Lloh20:
	adrp	x8, _EV_FALL_FAR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EV_FALL_FAR@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	b	LBB0_13
LBB0_7:
	mov	w8, #1109393408
	fmov	s1, w8
	fcmp	s0, s1
	b.le	LBB0_10
; %bb.8:
	ldr	x8, [x9, #24]
Lloh23:
	adrp	x9, _STAT_HEALTH@GOTPAGE
Lloh24:
	ldr	x9, [x9, _STAT_HEALTH@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cmp	x8, #1
	b.lt	LBB0_14
; %bb.9:
Lloh26:
	adrp	x8, _EV_FALL_MEDIUM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EV_FALL_MEDIUM@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	b	LBB0_13
LBB0_10:
	fmov	s1, #7.00000000
	fcmp	s0, s1
	b.le	LBB0_12
; %bb.11:
Lloh29:
	adrp	x8, _EV_FALL_SHORT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EV_FALL_SHORT@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	b	LBB0_13
LBB0_12:
	bl	_PM_FootstepForSurface
LBB0_13:
	bl	_PM_AddEvent
LBB0_14:
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	str	xzr, [x8, #32]
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_16:
	stp	s4, s2, [sp]                    ; 8-byte Folded Spill
	stp	s5, s3, [sp, #8]                ; 8-byte Folded Spill
	bl	_sqrt
	ldp	s5, s3, [sp, #8]                ; 8-byte Folded Reload
	ldp	s4, s2, [sp]                    ; 8-byte Folded Reload
Lloh32:
	adrp	x8, _pml@GOTPAGE
Lloh33:
	ldr	x8, [x8, _pml@GOTPAGEOFF]
	fmov	s1, s0
	b	LBB0_2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_pm,8,3                         ; @pm
	.comm	_PMF_BACKWARDS_JUMP,4,2         ; @PMF_BACKWARDS_JUMP
	.comm	_LEGS_LANDB,4,2                 ; @LEGS_LANDB
	.comm	_LEGS_LAND,4,2                  ; @LEGS_LAND
	.comm	_TIMER_LAND,4,2                 ; @TIMER_LAND
	.comm	_pml,24,3                       ; @pml
	.comm	_PMF_DUCKED,4,2                 ; @PMF_DUCKED
	.comm	_SURF_NODAMAGE,4,2              ; @SURF_NODAMAGE
	.comm	_EV_FALL_FAR,4,2                ; @EV_FALL_FAR
	.comm	_STAT_HEALTH,8,3                ; @STAT_HEALTH
	.comm	_EV_FALL_MEDIUM,4,2             ; @EV_FALL_MEDIUM
	.comm	_EV_FALL_SHORT,4,2              ; @EV_FALL_SHORT
	.no_dead_strip	_PM_CrashLand
.subsections_via_symbols
