	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_A_FirePlasma                   ## -- Begin function A_FirePlasma
	.p2align	4, 0x90
_A_FirePlasma:                          ## @A_FirePlasma
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	16(%rdi), %rcx
	movq	_weaponinfo@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	shlq	$4, %rax
	movq	(%rdx,%rax), %rsi
	decl	(%rcx,%rsi,4)
	movq	_ps_flash@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movq	8(%rdx,%rax), %rbx
	xorl	%eax, %eax
	callq	_P_Random
                                        ## kill: def $eax killed $eax def $rax
	andl	$1, %eax
	addq	%rax, %rbx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	callq	_P_SetPsprite
	movl	8(%r15), %edi
	movq	_MT_PLASMA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_P_SpawnPlayerMissile           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_weaponinfo,8,3                 ## @weaponinfo
	.comm	_ps_flash,4,2                   ## @ps_flash
	.comm	_MT_PLASMA,4,2                  ## @MT_PLASMA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_A_FirePlasma                   ; -- Begin function A_FirePlasma
	.p2align	2
_A_FirePlasma:                          ; @A_FirePlasma
	.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	x19, x0
	ldr	x8, [x0, #16]
Lloh0:
	adrp	x9, _weaponinfo@GOTPAGE
Lloh1:
	ldr	x9, [x9, _weaponinfo@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x10, [x0]
	add	x9, x9, x10, lsl #4
	ldp	x10, x21, [x9]
	lsl	x9, x10, #2
	ldr	w10, [x8, x9]
	sub	w10, w10, #1
	str	w10, [x8, x9]
Lloh3:
	adrp	x8, _ps_flash@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ps_flash@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	bl	_P_Random
	and	w8, w0, #0x1
	add	x2, x21, x8
	mov	x0, x19
	mov	x1, x20
	bl	_P_SetPsprite
	ldr	w0, [x19, #8]
Lloh6:
	adrp	x8, _MT_PLASMA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MT_PLASMA@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	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
	b	_P_SpawnPlayerMissile
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_weaponinfo,8,3                 ; @weaponinfo
	.comm	_ps_flash,4,2                   ; @ps_flash
	.comm	_MT_PLASMA,4,2                  ; @MT_PLASMA
.subsections_via_symbols
