	.file	"extr_p_enemy.c_A_KeenDie.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	A_KeenDie
	.type	A_KeenDie, @function
A_KeenDie:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	A_Fall@PLT
	mov	rax, QWORD PTR thinkercap[rip+8]
	lea	rsi, thinkercap[rip]
	cmp	rax, rsi
	je	.L2
	mov	rdi, QWORD PTR P_MobjThinker[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, rdx
	cmp	rdx, rsi
	je	.L2
.L5:
	mov	rcx, QWORD PTR [rax]
	mov	rdx, QWORD PTR 8[rax]
	cmp	rbx, rax
	je	.L3
	cmp	rcx, rdi
	jne	.L3
	cmp	rcx, QWORD PTR [rbx]
	jne	.L3
	test	rdx, rdx
	jle	.L3
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR open[rip]
	lea	rdi, 4[rsp]
	mov	DWORD PTR 4[rsp], 666
	call	EV_DoDoor@PLT
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	A_KeenDie, .-A_KeenDie
	.comm	thinkercap,16,16
	.comm	open,4,4
	.comm	P_MobjThinker,8,8
	.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_enemy.c_A_KeenDie.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	A_KeenDie
	.syntax unified
	.arm
	.fpu softvfp
	.type	A_KeenDie, %function
A_KeenDie:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L14
	sub	sp, sp, #8
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r4, r0
	bl	A_Fall
	ldr	r0, .L14+4
	ldr	r3, [r0, #4]
	cmp	r3, r0
	beq	.L2
	ldr	r2, .L14+8
	ldr	ip, [r2]
	b	.L5
.L3:
	cmp	r1, r0
	mov	r3, r1
	beq	.L2
.L5:
	ldr	r2, [r3]
	ldr	r1, [r3, #4]
	subs	r3, r4, r3
	movne	r3, #1
	cmp	r2, ip
	movne	r3, #0
	cmp	r3, #0
	beq	.L3
	ldr	r3, [r4]
	cmp	r2, r3
	bne	.L3
	cmp	r1, #0
	ble	.L3
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L2:
	ldr	r2, .L14+12
	ldr	r3, .L14+16
	mov	r0, sp
	ldr	r1, [r2]
	str	r3, [sp]
	bl	EV_DoDoor
	b	.L1
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	thinkercap
	.word	P_MobjThinker
	.word	open
	.word	666
	.size	A_KeenDie, .-A_KeenDie
	.comm	thinkercap,8,4
	.comm	open,4,4
	.comm	P_MobjThinker,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
