	.file	"extr_g_combat.c_LookAtKiller.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	LookAtKiller
	.type	LookAtKiller, @function
LookAtKiller:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	test	rdx, rdx
	je	.L2
	cmp	rdx, rdi
	jne	.L21
.L2:
	test	rsi, rsi
	je	.L4
	cmp	rbx, rsi
	je	.L4
	mov	r8d, DWORD PTR 16[rbx]
	mov	edi, DWORD PTR 16[rsi]
	xor	r12d, r12d
	mov	rdx, r12
	mov	esi, r8d
	call	VectorSubtract@PLT
.L3:
	mov	rax, QWORD PTR [rbx]
	xor	r12d, r12d
	mov	rdx, QWORD PTR STAT_DEAD_YAW[rip]
	mov	rdi, r12
	mov	rax, QWORD PTR [rax]
	lea	rbx, [rax+rdx*8]
	call	vectoyaw@PLT
	mov	rdi, r12
	mov	QWORD PTR [rbx], rax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	vectoyaw@PLT
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	mov	esi, DWORD PTR 16[rdi]
	xor	r12d, r12d
	mov	edi, DWORD PTR 16[rdx]
	mov	rdx, r12
	call	VectorSubtract@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 8[rbx]
	mov	rdx, QWORD PTR YAW[rip]
	mov	rcx, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR [rbx]
	mov	rdx, QWORD PTR STAT_DEAD_YAW[rip]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rax+rdx*8], rcx
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	LookAtKiller, .-LookAtKiller
	.comm	YAW,8,8
	.comm	STAT_DEAD_YAW,8,8
	.comm	ROLL,8,8
	.comm	PITCH,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_g_combat.c_LookAtKiller.c"
	.text
	.align	2
	.global	LookAtKiller
	.syntax unified
	.arm
	.fpu softvfp
	.type	LookAtKiller, %function
LookAtKiller:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #0
	cmpne	r2, r0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	bne	.L9
	cmp	r1, #0
	cmpne	r0, r1
	bne	.L10
	ldr	r3, .L11
	ldr	r1, [r0, #4]
	ldr	r2, .L11+4
	ldr	r0, [r3]
	ldr	r3, [r4]
	ldr	r1, [r1, r0, lsl #2]
	ldr	r3, [r3]
	ldr	r2, [r2]
	str	r1, [r3, r2, lsl #2]
	pop	{r4, r5, r6, pc}
.L10:
	ldr	r0, [r1, #8]
	mov	r2, #0
	ldr	r1, [r4, #8]
	bl	VectorSubtract
.L3:
	mov	r5, #0
	ldr	r3, .L11+4
	ldr	r2, [r4]
	mov	r0, r5
	ldr	r6, [r3]
	ldr	r4, [r2]
	bl	vectoyaw
	mov	r3, r0
	mov	r0, r5
	str	r3, [r4, r6, lsl #2]
	pop	{r4, r5, r6, lr}
	b	vectoyaw
.L9:
	ldr	r0, [r2, #8]
	ldr	r1, [r4, #8]
	mov	r2, #0
	bl	VectorSubtract
	b	.L3
.L12:
	.align	2
.L11:
	.word	YAW
	.word	STAT_DEAD_YAW
	.size	LookAtKiller, .-LookAtKiller
	.comm	YAW,4,4
	.comm	STAT_DEAD_YAW,4,4
	.comm	ROLL,4,4
	.comm	PITCH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
