	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function CG_ParticleBulletDebris
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_CG_ParticleBulletDebris
	.p2align	4, 0x90
_CG_ParticleBulletDebris:               ## @CG_ParticleBulletDebris
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_free_particles@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	%rsi, %r14
	movq	112(%rbx), %rcx
	movq	%rcx, (%rax)
	movq	_active_particles@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, 112(%rbx)
	movq	%rbx, (%rax)
	movq	_cg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 104(%rbx)
	movslq	%edx, %rcx
	leaq	(%rax,%rcx), %rdx
	movq	%rdx, 96(%rbx)
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	movslq	%edx, %rcx
	addq	%rax, %rcx
	movq	%rcx, 88(%rbx)
	movq	_EMISIVEFADE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%rbx)
	movabsq	$4607182418800017408, %rax      ## imm = 0x3FF0000000000000
	movq	%rax, (%rbx)
	movq	$0, 72(%rbx)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [5.0E-1,5.0E-1]
	movups	%xmm0, 8(%rbx)
	movups	%xmm0, 24(%rbx)
	movq	_cgs@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	movq	_P_SMOKE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%rbx)
	movl	56(%rbx), %esi
	callq	_VectorCopy
	movq	40(%rbx), %rax
	movdqu	(%r14), %xmm0
	pshufd	$232, %xmm0, %xmm0              ## xmm0 = xmm0[0,2,2,3]
	movq	%xmm0, (%rax)
	movl	16(%r14), %ecx
	movl	%ecx, 8(%rax)
	movq	48(%rbx), %rcx
	movq	$0, (%rcx)
	movl	$-60, 8(%rcx)
	addl	$-20, 8(%rax)
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_free_particles,8,3             ## @free_particles
	.comm	_active_particles,8,3           ## @active_particles
	.comm	_cg,8,3                         ## @cg
	.comm	_EMISIVEFADE,4,2                ## @EMISIVEFADE
	.comm	_cgs,4,2                        ## @cgs
	.comm	_P_SMOKE,4,2                    ## @P_SMOKE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_ParticleBulletDebris        ; -- Begin function CG_ParticleBulletDebris
	.p2align	2
_CG_ParticleBulletDebris:               ; @CG_ParticleBulletDebris
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _free_particles@GOTPAGE
Lloh1:
	ldr	x8, [x8, _free_particles@GOTPAGEOFF]
	ldr	x20, [x8]
	cbz	x20, LBB0_2
; %bb.1:
	mov	x19, x1
	ldr	x9, [x20, #112]
	str	x9, [x8]
Lloh2:
	adrp	x8, _active_particles@GOTPAGE
Lloh3:
	ldr	x8, [x8, _active_particles@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh4:
	adrp	x10, _cg@GOTPAGE
Lloh5:
	ldr	x10, [x10, _cg@GOTPAGEOFF]
	str	x20, [x8]
Lloh6:
	ldr	x8, [x10]
	stp	x8, x9, [x20, #104]
	add	x9, x8, w2, sxtw
	cmp	w2, #0
	cinc	w10, w2, lt
	asr	w10, w10, #1
	add	x8, x8, w10, sxtw
Lloh7:
	adrp	x10, _EMISIVEFADE@GOTPAGE
Lloh8:
	ldr	x10, [x10, _EMISIVEFADE@GOTPAGEOFF]
	stp	x8, x9, [x20, #88]
Lloh9:
	ldr	w8, [x10]
	str	w8, [x20, #80]
	mov	x8, #4607182418800017408
	str	x8, [x20]
	str	xzr, [x20, #72]
	fmov.2d	v0, #0.50000000
	stur	q0, [x20, #8]
	stur	q0, [x20, #24]
Lloh10:
	adrp	x8, _cgs@GOTPAGE
Lloh11:
	ldr	x8, [x8, _cgs@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _P_SMOKE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _P_SMOKE@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #60]
	ldr	w1, [x20, #56]
	bl	_VectorCopy
	ldp	x8, x9, [x19]
	ldp	x10, x11, [x20, #40]
	stp	w8, w9, [x10]
	ldr	x8, [x19, #16]
	str	w8, [x10, #8]
	str	xzr, [x11]
	mov	w8, #-60
	str	w8, [x11, #8]
	ldr	w8, [x10, #8]
	sub	w8, w8, #20
	str	w8, [x10, #8]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_free_particles,8,3             ; @free_particles
	.comm	_active_particles,8,3           ; @active_particles
	.comm	_cg,8,3                         ; @cg
	.comm	_EMISIVEFADE,4,2                ; @EMISIVEFADE
	.comm	_cgs,4,2                        ; @cgs
	.comm	_P_SMOKE,4,2                    ; @P_SMOKE
.subsections_via_symbols
