	.file	"extr_p_pspr.c_A_FirePistol.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	A_FirePistol
	.type	A_FirePistol, @function
A_FirePistol:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	esi, DWORD PTR sfx_pistol[rip]
	mov	rbx, rdi
	mov	edi, DWORD PTR 12[rdi]
	call	S_StartSound@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR S_PLAY_ATK2[rip]
	call	P_SetMobjState@PLT
	mov	rax, QWORD PTR [rbx]
	mov	rdx, QWORD PTR 16[rbx]
	mov	rdi, rbx
	sal	rax, 4
	add	rax, QWORD PTR weaponinfo[rip]
	mov	rcx, QWORD PTR [rax]
	sub	DWORD PTR [rdx+rcx*4], 1
	mov	esi, DWORD PTR ps_flash[rip]
	mov	edx, DWORD PTR 8[rax]
	call	P_SetPsprite@PLT
	mov	edi, DWORD PTR 12[rbx]
	call	P_BulletSlope@PLT
	mov	eax, DWORD PTR 8[rbx]
	xor	esi, esi
	mov	edi, DWORD PTR 12[rbx]
	pop	rbx
	.cfi_def_cfa_offset 8
	test	eax, eax
	sete	sil
	jmp	P_GunShot@PLT
	.cfi_endproc
.LFE0:
	.size	A_FirePistol, .-A_FirePistol
	.comm	weaponinfo,8,8
	.comm	sfx_pistol,4,4
	.comm	ps_flash,4,4
	.comm	S_PLAY_ATK2,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_p_pspr.c_A_FirePistol.c"
	.text
	.align	2
	.global	A_FirePistol
	.syntax unified
	.arm
	.fpu softvfp
	.type	A_FirePistol, %function
A_FirePistol:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r3, .L4
	ldr	r0, [r0, #8]
	ldr	r1, [r3]
	bl	S_StartSound
	ldr	r3, .L4+4
	ldr	r0, [r4, #8]
	ldr	r1, [r3]
	bl	P_SetMobjState
	ldr	r3, .L4+8
	ldr	ip, [r4]
	ldr	r3, [r3]
	ldr	r1, [r4, #12]
	ldr	r0, [r3, ip, lsl #3]
	ldr	lr, .L4+12
	ldr	r2, [r1, r0, lsl #2]
	add	r3, r3, ip, lsl #3
	sub	r2, r2, #1
	str	r2, [r1, r0, lsl #2]
	ldr	r1, [lr]
	mov	r0, r4
	ldr	r2, [r3, #4]
	bl	P_SetPsprite
	ldr	r0, [r4, #8]
	bl	P_BulletSlope
	ldr	r1, [r4, #4]
	ldr	r0, [r4, #8]
	clz	r1, r1
	pop	{r4, lr}
	lsr	r1, r1, #5
	b	P_GunShot
.L5:
	.align	2
.L4:
	.word	sfx_pistol
	.word	S_PLAY_ATK2
	.word	weaponinfo
	.word	ps_flash
	.size	A_FirePistol, .-A_FirePistol
	.comm	weaponinfo,4,4
	.comm	sfx_pistol,4,4
	.comm	ps_flash,4,4
	.comm	S_PLAY_ATK2,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
