	.file	"extr_g_cmds.c_Cmd_Kill_f.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	Cmd_Kill_f
	.type	Cmd_Kill_f, @function
Cmd_Kill_f:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR 8[rdi]
	mov	rcx, QWORD PTR TEAM_SPECTATOR[rip]
	cmp	QWORD PTR 8[rax], rcx
	je	.L1
	mov	edx, DWORD PTR [rdi]
	test	edx, edx
	jle	.L1
	mov	edx, DWORD PTR FL_GODMODE[rip]
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR [rdi], -999
	mov	rsi, rdi
	mov	ecx, 100000
	not	edx
	and	DWORD PTR 16[rdi], edx
	mov	rdx, QWORD PTR STAT_HEALTH[rip]
	mov	DWORD PTR [rax+rdx*4], -999
	mov	r8d, DWORD PTR MOD_SUICIDE[rip]
	mov	rdx, rdi
	jmp	player_die@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	Cmd_Kill_f, .-Cmd_Kill_f
	.comm	TEAM_SPECTATOR,8,8
	.comm	STAT_HEALTH,8,8
	.comm	MOD_SUICIDE,4,4
	.comm	FL_GODMODE,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_g_cmds.c_Cmd_Kill_f.c"
	.text
	.align	2
	.global	Cmd_Kill_f
	.syntax unified
	.arm
	.fpu softvfp
	.type	Cmd_Kill_f, %function
Cmd_Kill_f:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r1, .L8
	ldr	r3, [r0, #4]
	ldr	r1, [r1]
	ldr	ip, [r3, #4]
	cmp	ip, r1
	bxeq	lr
	ldr	r1, [r0]
	mov	r2, r0
	cmp	r1, #0
	bxle	lr
	ldr	r1, .L8+4
	push	{r4, lr}
	ldr	r4, [r1]
	ldr	lr, .L8+8
	ldr	r1, [r0, #8]
	ldr	ip, [r3]
	ldr	lr, [lr]
	bic	r3, r1, r4
	ldr	r1, .L8+12
	str	r3, [r0, #8]
	ldr	r3, .L8+16
	str	r1, [r0]
	str	r1, [ip, lr, lsl #2]
	ldr	r1, [r3]
	sub	sp, sp, #8
	str	r1, [sp]
	ldr	r3, .L8+20
	mov	r1, r0
	bl	player_die
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L9:
	.align	2
.L8:
	.word	TEAM_SPECTATOR
	.word	FL_GODMODE
	.word	STAT_HEALTH
	.word	-999
	.word	MOD_SUICIDE
	.word	100000
	.size	Cmd_Kill_f, .-Cmd_Kill_f
	.comm	TEAM_SPECTATOR,4,4
	.comm	STAT_HEALTH,4,4
	.comm	MOD_SUICIDE,4,4
	.comm	FL_GODMODE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
