	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CG_HasteTrail
_CG_HasteTrail:                         ## @CG_HasteTrail
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_cg@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jg	LBB0_4
## %bb.1:
	movq	_ANIM_TOGGLEBIT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	andl	12(%rdi), %edx
	movq	_LEGS_RUN@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edx
	je	LBB0_3
## %bb.2:
	movq	_LEGS_BACK@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edx
	je	LBB0_3
LBB0_4:
	popq	%rbp
	retq
LBB0_3:
	addq	$100, %rax
	cmpq	%rcx, %rax
	cmovleq	%rcx, %rax
	movq	%rax, (%rdi)
	movl	8(%rdi), %edi
	callq	_VectorCopy
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_cg,8,3                         ## @cg
	.comm	_ANIM_TOGGLEBIT,4,2             ## @ANIM_TOGGLEBIT
	.comm	_LEGS_RUN,4,2                   ## @LEGS_RUN
	.comm	_LEGS_BACK,4,2                  ## @LEGS_BACK
	.comm	_vec3_origin,4,2                ## @vec3_origin
	.comm	_cgs,4,2                        ## @cgs
	.comm	_LE_SCALE_FADE,4,2              ## @LE_SCALE_FADE
	.no_dead_strip	_CG_HasteTrail
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CG_HasteTrail
_CG_HasteTrail:                         ; @CG_HasteTrail
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _cg@GOTPAGE
Lloh1:
	ldr	x9, [x9, _cg@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_2
; %bb.1:
	ldr	w10, [x0, #12]
Lloh3:
	adrp	x11, _ANIM_TOGGLEBIT@GOTPAGE
Lloh4:
	ldr	x11, [x11, _ANIM_TOGGLEBIT@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	bic	w10, w10, w11
Lloh6:
	adrp	x11, _LEGS_RUN@GOTPAGE
Lloh7:
	ldr	x11, [x11, _LEGS_RUN@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
Lloh9:
	adrp	x12, _LEGS_BACK@GOTPAGE
Lloh10:
	ldr	x12, [x12, _LEGS_BACK@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
	cmp	w10, w11
	ccmp	w10, w12, #4, ne
	b.eq	LBB0_3
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	add	x8, x8, #100
	cmp	x8, x9
	csel	x8, x8, x9, gt
	str	x8, [x0]
	ldr	w0, [x0, #8]
	bl	_VectorCopy
	brk	#0x1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_cg,8,3                         ; @cg
	.comm	_ANIM_TOGGLEBIT,4,2             ; @ANIM_TOGGLEBIT
	.comm	_LEGS_RUN,4,2                   ; @LEGS_RUN
	.comm	_LEGS_BACK,4,2                  ; @LEGS_BACK
	.comm	_vec3_origin,4,2                ; @vec3_origin
	.comm	_cgs,4,2                        ; @cgs
	.comm	_LE_SCALE_FADE,4,2              ; @LE_SCALE_FADE
	.no_dead_strip	_CG_HasteTrail
.subsections_via_symbols
