	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function CG_ShotgunFire
LCPI0_0:
	.long	0x3ea8f5c3                      ## float 0.330000013
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_CG_ShotgunFire
	.p2align	4, 0x90
_CG_ShotgunFire:                        ## @CG_ShotgunFire
	.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	%rdi, %rbx
	movl	8(%rdi), %edi
	movl	12(%rbx), %esi
	callq	_VectorSubtract
	callq	_VectorNormalize
	movl	$32, %esi
	callq	_VectorScale
	movl	12(%rbx), %edi
	callq	_VectorAdd
	movq	_cgs@GOTPCREL(%rip), %r14
	movq	8(%r14), %rax
	movq	_GLHW_RAGEPRO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.1:
	movl	12(%rbx), %edi
	xorl	%esi, %esi
	callq	_CG_PointContents
	movq	_CONTENTS_WATER@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_3
## %bb.2:
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$8, %ecx
	callq	_VectorSet
	movq	_cg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_LEF_PUFF_DONT_SCALE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%r14), %edi
	subq	$8, %rsp
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movl	$32, %edx
	movl	$1, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	pushq	%rdi
	pushq	%rsi
	pushq	$0
	pushq	%rax
	pushq	$900                            ## imm = 0x384
	callq	_CG_SmokePuff
	addq	$48, %rsp
LBB0_3:
	movl	12(%rbx), %edi
	movl	8(%rbx), %esi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_CG_ShotgunPattern              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cgs,16,3                       ## @cgs
	.comm	_GLHW_RAGEPRO,8,3               ## @GLHW_RAGEPRO
	.comm	_CONTENTS_WATER,4,2             ## @CONTENTS_WATER
	.comm	_cg,4,2                         ## @cg
	.comm	_LEF_PUFF_DONT_SCALE,4,2        ## @LEF_PUFF_DONT_SCALE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_ShotgunFire                 ; -- Begin function CG_ShotgunFire
	.p2align	2
_CG_ShotgunFire:                        ; @CG_ShotgunFire
	.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
	mov	x19, x0
	ldr	w0, [x0, #8]
	ldr	w1, [x19, #12]
	bl	_VectorSubtract
	bl	_VectorNormalize
	mov	w1, #32
	bl	_VectorScale
	ldr	w0, [x19, #12]
	bl	_VectorAdd
Lloh0:
	adrp	x20, _cgs@GOTPAGE
Lloh1:
	ldr	x20, [x20, _cgs@GOTPAGEOFF]
	ldr	x8, [x20, #8]
Lloh2:
	adrp	x9, _GLHW_RAGEPRO@GOTPAGE
Lloh3:
	ldr	x9, [x9, _GLHW_RAGEPRO@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.1:
	ldr	w0, [x19, #12]
	mov	w1, #0
	bl	_CG_PointContents
Lloh5:
	adrp	x8, _CONTENTS_WATER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CONTENTS_WATER@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_3
; %bb.2:
	mov	w1, #0
	mov	w2, #0
	mov	w3, #8
	bl	_VectorSet
Lloh8:
	adrp	x8, _cg@GOTPAGE
Lloh9:
	ldr	x8, [x8, _cg@GOTPAGEOFF]
Lloh10:
	ldr	w7, [x8]
Lloh11:
	adrp	x8, _LEF_PUFF_DONT_SCALE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LEF_PUFF_DONT_SCALE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x20]
	stp	w8, w9, [sp, #4]
	str	wzr, [sp]
	mov	w8, #62915
	movk	w8, #16040, lsl #16
	fmov	s0, w8
	mov	w2, #32
	mov	w3, #1
	mov	w4, #1
	mov	w5, #1
	mov	w6, #900
	bl	_CG_SmokePuff
LBB0_3:
	ldp	w1, w0, [x19, #8]
	ldp	w3, w2, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_CG_ShotgunPattern
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_cgs,16,3                       ; @cgs
	.comm	_GLHW_RAGEPRO,8,3               ; @GLHW_RAGEPRO
	.comm	_CONTENTS_WATER,4,2             ; @CONTENTS_WATER
	.comm	_cg,4,2                         ; @cg
	.comm	_LEF_PUFF_DONT_SCALE,4,2        ; @LEF_PUFF_DONT_SCALE
.subsections_via_symbols
