	.file	"extr_f_finale.c_F_CastResponder.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	F_CastResponder
	.type	F_CastResponder, @function
F_CastResponder:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rdx, QWORD PTR ev_keydown[rip]
	xor	eax, eax
	cmp	QWORD PTR [rdi], rdx
	jne	.L10
	mov	eax, DWORD PTR castdeath[rip]
	test	eax, eax
	jne	.L4
	mov	rax, QWORD PTR castorder[rip]
	mov	rcx, QWORD PTR castnum[rip]
	mov	DWORD PTR castdeath[rip], 1
	mov	rdx, QWORD PTR mobjinfo[rip]
	lea	rcx, [rax+rcx*8]
	mov	rax, QWORD PTR [rcx]
	sal	rax, 4
	mov	rsi, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR states[rip]
	lea	rax, [rax+rsi*4]
	mov	QWORD PTR caststate[rip], rax
	mov	eax, DWORD PTR [rax]
	mov	QWORD PTR castframes[rip], 0
	mov	DWORD PTR casttics[rip], eax
	mov	rax, QWORD PTR [rcx]
	mov	DWORD PTR castattacking[rip], 0
	sal	rax, 4
	mov	rsi, QWORD PTR 8[rdx+rax]
	test	rsi, rsi
	jne	.L14
.L4:
	mov	eax, 1
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	xor	edi, edi
	call	S_StartSound@PLT
	mov	eax, 1
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	F_CastResponder, .-F_CastResponder
	.comm	states,8,8
	.comm	mobjinfo,8,8
	.comm	ev_keydown,8,8
	.comm	casttics,4,4
	.comm	caststate,8,8
	.comm	castorder,8,8
	.comm	castnum,8,8
	.comm	castframes,8,8
	.comm	castdeath,4,4
	.comm	castattacking,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_f_finale.c_F_CastResponder.c"
	.text
	.align	2
	.global	F_CastResponder
	.syntax unified
	.arm
	.fpu softvfp
	.type	F_CastResponder, %function
F_CastResponder:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L16
	ldr	r2, [r0]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L5
	ldr	r1, .L16+4
	ldr	r0, [r1]
	cmp	r0, #0
	bne	.L14
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, #1
	ldr	r2, .L16+8
	ldr	r3, .L16+12
	ldr	lr, [r2]
	ldr	r5, [r3]
	ldr	r3, .L16+16
	ldr	ip, [lr, r5, lsl #2]
	ldr	r2, [r3]
	ldr	r3, .L16+20
	ldr	ip, [r2, ip, lsl #3]
	ldr	r3, [r3]
	ldr	r7, .L16+24
	str	r4, [r1]
	ldr	r6, [r3, ip, lsl #2]
	str	r0, [r7]
	ldr	r1, [lr, r5, lsl #2]
	ldr	r5, .L16+28
	add	r2, r2, r1, lsl #3
	ldr	r1, [r2, #4]
	ldr	lr, .L16+32
	ldr	r2, .L16+36
	add	r3, r3, ip, lsl #2
	cmp	r1, #0
	str	r3, [r5]
	str	r6, [lr]
	str	r0, [r2]
	bne	.L15
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	mov	r0, #0
	bx	lr
.L14:
	mov	r0, #1
	bx	lr
.L15:
	bl	S_StartSound
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	.align	2
.L16:
	.word	ev_keydown
	.word	castdeath
	.word	castorder
	.word	castnum
	.word	mobjinfo
	.word	states
	.word	castframes
	.word	caststate
	.word	casttics
	.word	castattacking
	.size	F_CastResponder, .-F_CastResponder
	.comm	states,4,4
	.comm	mobjinfo,4,4
	.comm	ev_keydown,4,4
	.comm	casttics,4,4
	.comm	caststate,4,4
	.comm	castorder,4,4
	.comm	castnum,4,4
	.comm	castframes,4,4
	.comm	castdeath,4,4
	.comm	castattacking,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
