	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fire_grenade                   ## -- Begin function fire_grenade
	.p2align	4, 0x90
_fire_grenade:                          ## @fire_grenade
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %r12
	movl	%edx, %edi
	callq	_VectorNormalize
	xorl	%eax, %eax
	callq	_G_Spawn
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rax
	movq	%rax, (%rbx)
	movq	_level@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	2500(%rax), %rcx
	movq	%rcx, 112(%rbx)
	movq	_G_ExplodeMissile@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 104(%rbx)
	movq	_ET_MISSILE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 68(%rbx)
	movq	_SVF_USE_CURRENT_ORIGIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 28(%rbx)
	movq	_WP_GRENADE_LAUNCHER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 64(%rbx)
	movq	_EF_BOUNCE_HALF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 60(%rbx)
	movl	56(%r12), %ecx
	movl	%ecx, 24(%rbx)
	movq	%r12, 96(%rbx)
	movabsq	$429496729700, %rcx             ## imm = 0x6400000064
	movq	%rcx, 8(%rbx)
	movl	$150, 16(%rbx)
	movq	_MOD_GRENADE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 88(%rbx)
	movq	_MOD_GRENADE_SPLASH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 84(%rbx)
	movq	_MASK_SHOT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 80(%rbx)
	movq	$0, 72(%rbx)
	movq	_TR_GRAVITY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 48(%rbx)
	movq	_MISSILE_PRESTEP_TIME@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	movq	%rax, 40(%rbx)
	movl	36(%rbx), %esi
	movl	%r14d, %edi
	callq	_VectorCopy
	movl	32(%rbx), %edx
	movl	%r15d, %edi
	movl	$700, %esi                      ## imm = 0x2BC
	callq	_VectorScale
	movl	32(%rbx), %edi
	callq	_SnapVector
	movl	20(%rbx), %esi
	movl	%r14d, %edi
	callq	_VectorCopy
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"grenade"

	.comm	_level,8,3                      ## @level
	.comm	_G_ExplodeMissile,4,2           ## @G_ExplodeMissile
	.comm	_ET_MISSILE,4,2                 ## @ET_MISSILE
	.comm	_SVF_USE_CURRENT_ORIGIN,4,2     ## @SVF_USE_CURRENT_ORIGIN
	.comm	_WP_GRENADE_LAUNCHER,4,2        ## @WP_GRENADE_LAUNCHER
	.comm	_EF_BOUNCE_HALF,4,2             ## @EF_BOUNCE_HALF
	.comm	_MOD_GRENADE,4,2                ## @MOD_GRENADE
	.comm	_MOD_GRENADE_SPLASH,4,2         ## @MOD_GRENADE_SPLASH
	.comm	_MASK_SHOT,4,2                  ## @MASK_SHOT
	.comm	_TR_GRAVITY,4,2                 ## @TR_GRAVITY
	.comm	_MISSILE_PRESTEP_TIME,8,3       ## @MISSILE_PRESTEP_TIME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fire_grenade                   ; -- Begin function fire_grenade
	.p2align	2
_fire_grenade:                          ; @fire_grenade
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	mov	x0, x2
	bl	_VectorNormalize
	bl	_G_Spawn
	mov	x20, x0
Lloh0:
	adrp	x8, _level@GOTPAGE
Lloh1:
	ldr	x8, [x8, _level@GOTPAGEOFF]
Lloh2:
	adrp	x9, l_.str@PAGE
Lloh3:
	add	x9, x9, l_.str@PAGEOFF
	str	x9, [x0]
Lloh4:
	ldr	x8, [x8]
	add	x9, x8, #2500
	str	x9, [x0, #112]
Lloh5:
	adrp	x9, _G_ExplodeMissile@GOTPAGE
Lloh6:
	ldr	x9, [x9, _G_ExplodeMissile@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	str	w9, [x0, #104]
Lloh8:
	adrp	x9, _ET_MISSILE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ET_MISSILE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	str	w9, [x0, #68]
Lloh11:
	adrp	x9, _SVF_USE_CURRENT_ORIGIN@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SVF_USE_CURRENT_ORIGIN@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x10, _WP_GRENADE_LAUNCHER@GOTPAGE
Lloh15:
	ldr	x10, [x10, _WP_GRENADE_LAUNCHER@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
Lloh17:
	adrp	x11, _EF_BOUNCE_HALF@GOTPAGE
Lloh18:
	ldr	x11, [x11, _EF_BOUNCE_HALF@GOTPAGEOFF]
Lloh19:
	ldr	w11, [x11]
	stp	w11, w10, [x0, #60]
	ldr	w10, [x22, #56]
	stp	w10, w9, [x0, #24]
	str	x22, [x0, #96]
	movi.2s	v0, #100
	str	d0, [x0, #8]
	mov	w9, #150
	str	w9, [x0, #16]
Lloh20:
	adrp	x9, _MOD_GRENADE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _MOD_GRENADE@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
Lloh23:
	adrp	x10, _MOD_GRENADE_SPLASH@GOTPAGE
Lloh24:
	ldr	x10, [x10, _MOD_GRENADE_SPLASH@GOTPAGEOFF]
	str	w9, [x0, #88]
Lloh25:
	ldr	w9, [x10]
Lloh26:
	adrp	x10, _MASK_SHOT@GOTPAGE
Lloh27:
	ldr	x10, [x10, _MASK_SHOT@GOTPAGEOFF]
Lloh28:
	ldr	w10, [x10]
	stp	w10, w9, [x0, #80]
	str	xzr, [x0, #72]
Lloh29:
	adrp	x9, _TR_GRAVITY@GOTPAGE
Lloh30:
	ldr	x9, [x9, _TR_GRAVITY@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	str	w9, [x0, #48]
Lloh32:
	adrp	x9, _MISSILE_PRESTEP_TIME@GOTPAGE
Lloh33:
	ldr	x9, [x9, _MISSILE_PRESTEP_TIME@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	sub	x8, x8, x9
	str	x8, [x0, #40]
	ldr	w1, [x0, #36]
	mov	x0, x19
	bl	_VectorCopy
	ldr	w2, [x20, #32]
	mov	x0, x21
	mov	w1, #700
	bl	_VectorScale
	ldr	w0, [x20, #32]
	bl	_SnapVector
	ldr	w1, [x20, #20]
	mov	x0, x19
	bl	_VectorCopy
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"grenade"

	.comm	_level,8,3                      ; @level
	.comm	_G_ExplodeMissile,4,2           ; @G_ExplodeMissile
	.comm	_ET_MISSILE,4,2                 ; @ET_MISSILE
	.comm	_SVF_USE_CURRENT_ORIGIN,4,2     ; @SVF_USE_CURRENT_ORIGIN
	.comm	_WP_GRENADE_LAUNCHER,4,2        ; @WP_GRENADE_LAUNCHER
	.comm	_EF_BOUNCE_HALF,4,2             ; @EF_BOUNCE_HALF
	.comm	_MOD_GRENADE,4,2                ; @MOD_GRENADE
	.comm	_MOD_GRENADE_SPLASH,4,2         ; @MOD_GRENADE_SPLASH
	.comm	_MASK_SHOT,4,2                  ; @MASK_SHOT
	.comm	_TR_GRAVITY,4,2                 ; @TR_GRAVITY
	.comm	_MISSILE_PRESTEP_TIME,8,3       ; @MISSILE_PRESTEP_TIME
.subsections_via_symbols
