	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_BloodTrail                  ## -- Begin function CG_BloodTrail
	.p2align	4, 0x90
_CG_BloodTrail:                         ## @CG_BloodTrail
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_cg@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	movl	4(%rax), %eax
	imulq	$458129845, %rcx, %rdx          ## imm = 0x1B4E81B5
                                        ## kill: def $ecx killed $ecx killed $rcx
	subl	%eax, %ecx
	addl	$150, %ecx
	movslq	%ecx, %rax
	imulq	$458129845, %rax, %rax          ## imm = 0x1B4E81B5
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$36, %rax
	addl	%ecx, %eax
	imull	$150, %eax, %ebx
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$36, %rdx
	addl	%eax, %edx
	imull	$150, %edx, %r15d
	cmpl	%r15d, %ebx
	jg	LBB0_3
## %bb.1:
	movq	%rdi, %r14
	movq	_cgs@GOTPCREL(%rip), %r13
	movq	_LE_FALL_SCALE_FADE@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_BG_EvaluateTrajectory
	movq	_vec3_origin@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %eax
	movl	$20, %edx
	movl	$1, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	pushq	%rax
	pushq	$0
	pushq	$0
	pushq	%rbx
	pushq	$2000                           ## imm = 0x7D0
	pushq	$1
	callq	_CG_SmokePuff
	addq	$48, %rsp
	movl	(%r12), %ecx
	movl	%ecx, 8(%rax)
	movq	(%rax), %rax
	movl	$40, 8(%rax)
	addl	$150, %ebx
	cmpl	%r15d, %ebx
	jle	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cg,8,2                         ## @cg
	.comm	_vec3_origin,4,2                ## @vec3_origin
	.comm	_cgs,4,2                        ## @cgs
	.comm	_LE_FALL_SCALE_FADE,4,2         ## @LE_FALL_SCALE_FADE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_BloodTrail                  ; -- Begin function CG_BloodTrail
	.p2align	2
_CG_BloodTrail:                         ; @CG_BloodTrail
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x8, _cg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cg@GOTPAGEOFF]
	ldp	w9, w8, [x8]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	sub	w8, w9, w8
	add	w8, w8, #150
	mov	w10, #33205
	movk	w10, #6990, lsl #16
	smull	x8, w8, w10
	lsr	x11, x8, #63
	asr	x8, x8, #36
	add	w8, w8, w11
	mov	w11, #150
	mul	w20, w8, w11
	mul	x8, x9, x10
	lsr	x9, x8, #63
	asr	x8, x8, #36
	add	w8, w8, w9
	mul	w21, w8, w11
	cmp	w20, w21
	b.gt	LBB0_3
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x22, _vec3_origin@GOTPAGE
Lloh3:
	ldr	x22, [x22, _vec3_origin@GOTPAGEOFF]
Lloh4:
	adrp	x23, _cgs@GOTPAGE
Lloh5:
	ldr	x23, [x23, _cgs@GOTPAGEOFF]
	mov	w24, #40
Lloh6:
	adrp	x25, _LE_FALL_SCALE_FADE@GOTPAGE
Lloh7:
	ldr	x25, [x25, _LE_FALL_SCALE_FADE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_BG_EvaluateTrajectory
	ldr	w1, [x22]
	ldr	w8, [x23]
	str	w8, [sp, #12]
	stur	xzr, [sp, #4]
	str	w20, [sp]
	mov	w2, #20
	mov	w3, #1
	mov	w4, #1
	mov	w5, #1
	mov	w6, #1
	mov	w7, #2000
	bl	_CG_SmokePuff
	ldr	w8, [x25]
	str	w8, [x0, #8]
	ldr	x8, [x0]
	str	w24, [x8, #8]
	add	w20, w20, #150
	cmp	w20, w21
	b.le	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_cg,8,2                         ; @cg
	.comm	_vec3_origin,4,2                ; @vec3_origin
	.comm	_cgs,4,2                        ; @cgs
	.comm	_LE_FALL_SCALE_FADE,4,2         ; @LE_FALL_SCALE_FADE
.subsections_via_symbols
