	.file	"231394150.c"
	.intel_syntax noprefix
	.text
	.globl	error
	.type	error, @function
error:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	error, .-error
	.globl	move
	.type	move, @function
move:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	movss	DWORD PTR -36[rbp], xmm0
	mov	QWORD PTR -48[rbp], rdx
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -36[rbp]
	movsd	xmm2, QWORD PTR .LC0[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	pxor	xmm3, xmm3
	cvtsd2ss	xmm3, xmm0
	movd	eax, xmm3
	movd	xmm0, eax
	call	roundf@PLT
	movd	eax, xmm0
	movss	xmm1, DWORD PTR .LC2[rip]
	movd	xmm0, eax
	divss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 7
	ja	.L28
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L5[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L5[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L5:
	.long	.L12-.L5
	.long	.L11-.L5
	.long	.L10-.L5
	.long	.L9-.L5
	.long	.L8-.L5
	.long	.L7-.L5
	.long	.L6-.L5
	.long	.L4-.L5
	.text
.L12:
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR [rax]
	addss	xmm0, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -32[rbp]
	movss	DWORD PTR [rax], xmm0
	jmp	.L13
.L11:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR [rax]
	subss	xmm0, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR [rax]
	addss	xmm0, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -32[rbp]
	movss	DWORD PTR [rax], xmm0
	jmp	.L13
.L10:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR [rax]
	subss	xmm0, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR [rax], xmm0
	jmp	.L13
.L9:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR [rax]
	subss	xmm0, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR [rax]
	subss	xmm0, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -32[rbp]
	movss	DWORD PTR [rax], xmm0
	jmp	.L13
.L8:
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR [rax]
	subss	xmm0, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -32[rbp]
	movss	DWORD PTR [rax], xmm0
	jmp	.L13
.L7:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR [rax]
	addss	xmm0, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR [rax]
	subss	xmm0, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -32[rbp]
	movss	DWORD PTR [rax], xmm0
	jmp	.L13
.L6:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR [rax]
	addss	xmm0, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR [rax], xmm0
	jmp	.L13
.L4:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR [rax]
	addss	xmm0, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR [rax]
	addss	xmm0, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -32[rbp]
	movss	DWORD PTR [rax], xmm0
	jmp	.L13
.L28:
	nop
.L13:
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm1, DWORD PTR [rax]
	pxor	xmm0, xmm0
	comiss	xmm0, xmm1
	jb	.L26
	mov	rax, QWORD PTR -32[rbp]
	pxor	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], 0
	jmp	.L16
.L26:
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR [rax]
	comiss	xmm0, DWORD PTR .LC4[rip]
	jb	.L16
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR .LC4[rip]
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], 4
.L16:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR [rax]
	pxor	xmm0, xmm0
	comiss	xmm0, xmm1
	jb	.L27
	mov	rax, QWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], 6
	jmp	.L29
.L27:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR [rax]
	comiss	xmm0, DWORD PTR .LC5[rip]
	jnb	.L25
	jmp	.L29
.L25:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR .LC5[rip]
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], 2
.L29:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	move, .-move
	.section	.rodata
.LC7:
	.string	"---------"
.LC8:
	.string	"Danger, wind from North..."
.LC9:
	.string	"Danger, wind from South..."
.LC10:
	.string	"Danger, wind from East..."
.LC11:
	.string	"Danger, wind from West..."
	.text
	.globl	wind
	.type	wind, @function
wind:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -8[rbp], edx
	mov	ecx, DWORD PTR -8[rbp]
	mov	edx, ecx
	sal	edx, 2
	add	edx, ecx
	sub	eax, edx
	mov	DWORD PTR -8[rbp], eax
	call	rand@PLT
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	xmm1, QWORD PTR .LC6[rip]
	divsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
	movss	xmm1, DWORD PTR -4[rbp]
	movss	xmm0, DWORD PTR .LC2[rip]
	mulss	xmm1, xmm0
	movd	eax, xmm1
	movd	xmm0, eax
	call	roundf@PLT
	movd	eax, xmm0
	movss	xmm1, DWORD PTR .LC2[rip]
	movd	xmm0, eax
	divss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	cmp	DWORD PTR -8[rbp], 3
	je	.L31
	cmp	DWORD PTR -8[rbp], 3
	jg	.L37
	cmp	DWORD PTR -8[rbp], 2
	je	.L33
	cmp	DWORD PTR -8[rbp], 2
	jg	.L37
	cmp	DWORD PTR -8[rbp], 0
	je	.L34
	cmp	DWORD PTR -8[rbp], 1
	je	.L35
	jmp	.L37
.L34:
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR [rax]
	addss	xmm0, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -32[rbp]
	movss	DWORD PTR [rax], xmm0
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L36
.L35:
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR [rax]
	subss	xmm0, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -32[rbp]
	movss	DWORD PTR [rax], xmm0
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L36
.L33:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR [rax]
	subss	xmm0, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR [rax], xmm0
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L36
.L31:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR [rax]
	addss	xmm0, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR [rax], xmm0
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L36
.L37:
	nop
.L36:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	wind, .-wind
	.section	.rodata
.LC15:
	.string	"ERROR opening socket"
.LC16:
	.string	"127.0.0.1"
	.align 8
.LC17:
	.string	"\nInvalid address/ Address not supported "
.LC18:
	.string	"ERROR connecting"
	.align 8
.LC22:
	.string	"Running out of fuel, landing ..."
.LC23:
	.string	"No fuel..."
.LC24:
	.string	"%c, %lf, %lf, %lf"
.LC25:
	.string	"Sending: %s\n"
.LC26:
	.string	"ERROR writing to socket"
.LC27:
	.string	"ERROR reading from socket"
.LC28:
	.string	"Movement has been accepted"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 368
	mov	DWORD PTR -356[rbp], edi
	mov	QWORD PTR -368[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	movss	xmm0, DWORD PTR .LC2[rip]
	movss	DWORD PTR -320[rbp], xmm0
	mov	BYTE PTR -341[rbp], 74
	movss	xmm0, DWORD PTR .LC12[rip]
	movss	DWORD PTR -328[rbp], xmm0
	movss	xmm0, DWORD PTR .LC13[rip]
	movss	DWORD PTR -324[rbp], xmm0
	movss	xmm0, DWORD PTR .LC14[rip]
	movss	DWORD PTR -308[rbp], xmm0
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -304[rbp], eax
	cmp	DWORD PTR -304[rbp], 0
	jns	.L39
	lea	rdi, .LC15[rip]
	call	error
.L39:
	lea	rax, -288[rbp]
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	WORD PTR -288[rbp], 2
	lea	rax, -288[rbp]
	add	rax, 4
	mov	rdx, rax
	lea	rsi, .LC16[rip]
	mov	edi, 2
	call	inet_pton@PLT
	test	eax, eax
	jg	.L40
	lea	rdi, .LC17[rip]
	call	puts@PLT
	mov	eax, -1
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L56
	jmp	.L61
.L40:
	mov	edi, 7777
	call	htons@PLT
	mov	WORD PTR -286[rbp], ax
	lea	rcx, -288[rbp]
	mov	eax, DWORD PTR -304[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	test	eax, eax
	jns	.L42
	lea	rdi, .LC18[rip]
	call	error
.L42:
	mov	DWORD PTR -312[rbp], 0
	mov	DWORD PTR -332[rbp], 0
	pxor	xmm0, xmm0
	movss	DWORD PTR -300[rbp], xmm0
.L55:
	lea	rax, -272[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 32
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	movss	xmm0, DWORD PTR -328[rbp]
	movss	DWORD PTR -340[rbp], xmm0
	movss	xmm0, DWORD PTR -324[rbp]
	movss	DWORD PTR -336[rbp], xmm0
	movss	xmm0, DWORD PTR -320[rbp]
	comiss	xmm0, DWORD PTR .LC19[rip]
	jb	.L62
	mov	ecx, DWORD PTR -312[rbp]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	sub	ecx, eax
	mov	edx, ecx
	test	edx, edx
	jne	.L45
	call	rand@PLT
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	mov	DWORD PTR -332[rbp], eax
.L45:
	lea	rdx, -332[rbp]
	mov	esi, DWORD PTR -308[rbp]
	lea	rcx, -336[rbp]
	lea	rax, -340[rbp]
	movd	xmm0, esi
	mov	rsi, rcx
	mov	rdi, rax
	call	move
	movss	xmm0, DWORD PTR -320[rbp]
	movss	xmm1, DWORD PTR .LC20[rip]
	subss	xmm0, xmm1
	movss	DWORD PTR -316[rbp], xmm0
	call	rand@PLT
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	xmm1, QWORD PTR .LC6[rip]
	divsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -300[rbp], xmm0
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -300[rbp]
	movsd	xmm0, QWORD PTR .LC21[rip]
	comisd	xmm0, xmm1
	jbe	.L46
	lea	rdx, -336[rbp]
	lea	rax, -340[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	wind
	jmp	.L46
.L62:
	movss	xmm0, DWORD PTR -320[rbp]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jbe	.L63
	movss	xmm0, DWORD PTR -320[rbp]
	movss	xmm1, DWORD PTR .LC20[rip]
	subss	xmm0, xmm1
	movss	DWORD PTR -316[rbp], xmm0
	lea	rdi, .LC22[rip]
	call	puts@PLT
	jmp	.L46
.L63:
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -320[rbp]
	jp	.L46
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -320[rbp]
	jne	.L46
	lea	rdi, .LC23[rip]
	call	puts@PLT
.L46:
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -316[rbp]
	movss	xmm0, DWORD PTR -336[rbp]
	cvtss2sd	xmm0, xmm0
	movss	xmm2, DWORD PTR -340[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm2
	movq	rcx, xmm3
	movsx	edx, BYTE PTR -341[rbp]
	lea	rax, -272[rbp]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rcx
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 3
	call	sprintf@PLT
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -272[rbp]
	mov	eax, DWORD PTR -304[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -296[rbp], eax
	cmp	DWORD PTR -296[rbp], 0
	jns	.L51
	lea	rdi, .LC26[rip]
	call	error
.L51:
	lea	rax, -272[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 32
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	lea	rcx, -272[rbp]
	mov	eax, DWORD PTR -304[rbp]
	mov	edx, 255
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -296[rbp], eax
	cmp	DWORD PTR -296[rbp], 0
	jns	.L52
	lea	rdi, .LC27[rip]
	call	error
.L52:
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -292[rbp], eax
	cmp	DWORD PTR -292[rbp], 1
	jne	.L53
	lea	rdi, .LC28[rip]
	call	puts@PLT
	movss	xmm0, DWORD PTR -340[rbp]
	movss	DWORD PTR -328[rbp], xmm0
	movss	xmm0, DWORD PTR -336[rbp]
	movss	DWORD PTR -324[rbp], xmm0
	movss	xmm0, DWORD PTR -316[rbp]
	movss	DWORD PTR -320[rbp], xmm0
	add	DWORD PTR -312[rbp], 1
	jmp	.L54
.L53:
	call	rand@PLT
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	mov	DWORD PTR -332[rbp], eax
.L54:
	mov	edi, 1
	call	sleep@PLT
	jmp	.L55
.L61:
	call	__stack_chk_fail@PLT
.L56:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	1719614413
	.long	1073127582
	.align 8
.LC1:
	.long	0
	.long	1079574528
	.align 4
.LC2:
	.long	1120403456
	.align 4
.LC4:
	.long	1109393408
	.align 4
.LC5:
	.long	1117782016
	.align 8
.LC6:
	.long	-4194304
	.long	1105199103
	.align 4
.LC12:
	.long	1116471296
	.align 4
.LC13:
	.long	1106247680
	.align 4
.LC14:
	.long	1056964608
	.align 4
.LC19:
	.long	1077936128
	.align 4
.LC20:
	.long	1065353216
	.align 8
.LC21:
	.long	858993459
	.long	1070805811
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"231394150.c"
	.text
	.align	2
	.global	error
	.syntax unified
	.arm
	.fpu softvfp
	.type	error, %function
error:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	perror
	mov	r0, #0
	bl	exit
	.size	error, .-error
	.global	__aeabi_f2d
	.global	__aeabi_ddiv
	.global	__aeabi_dmul
	.global	__aeabi_d2f
	.global	__aeabi_fdiv
	.global	__aeabi_fadd
	.global	__aeabi_fsub
	.global	__aeabi_fcmple
	.global	__aeabi_fcmpge
	.align	2
	.global	move
	.syntax unified
	.arm
	.fpu softvfp
	.type	move, %function
move:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]	@ float
	str	r3, [fp, #-28]
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L30
	ldr	r3, .L30+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L30+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	mov	r0, r3
	bl	roundf
	mov	r3, r0
	ldr	r1, .L30+12
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L28
.L5:
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L4
.L12:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-24]	@ float
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3]	@ float
	b	.L13
.L11:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-8]	@ float
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-8]	@ float
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3]	@ float
	b	.L13
.L10:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-24]	@ float
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3]	@ float
	b	.L13
.L9:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-8]	@ float
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-8]	@ float
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3]	@ float
	b	.L13
.L8:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-24]	@ float
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3]	@ float
	b	.L13
.L7:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-8]	@ float
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-8]	@ float
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3]	@ float
	b	.L13
.L6:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-24]	@ float
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3]	@ float
	b	.L13
.L4:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-8]	@ float
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-8]	@ float
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3]	@ float
	b	.L13
.L28:
	nop
.L13:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
	ldr	r3, [fp, #-20]
	mov	r2, #0
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-28]
	mov	r2, #0
	str	r2, [r3]
	b	.L16
.L26:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]	@ float
	ldr	r1, .L30+16
	mov	r0, r3
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-20]
	ldr	r2, .L30+16
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-28]
	mov	r2, #4
	str	r2, [r3]
.L16:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L27
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-28]
	mov	r2, #6
	str	r2, [r3]
	b	.L29
.L27:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]	@ float
	ldr	r1, .L30+20
	mov	r0, r3
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
	b	.L29
.L25:
	ldr	r3, [fp, #-16]
	ldr	r2, .L30+20
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-28]
	mov	r2, #2
	str	r2, [r3]
.L29:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	1719614413
	.word	1073127582
	.word	1079574528
	.word	1120403456
	.word	1109393408
	.word	1117782016
	.size	move, .-move
	.global	__aeabi_i2d
	.global	__aeabi_fmul
	.section	.rodata
	.align	2
.LC0:
	.ascii	"---------\000"
	.align	2
.LC1:
	.ascii	"Danger, wind from North...\000"
	.align	2
.LC2:
	.ascii	"Danger, wind from South...\000"
	.align	2
.LC3:
	.ascii	"Danger, wind from East...\000"
	.align	2
.LC4:
	.ascii	"Danger, wind from West...\000"
	.text
	.align	2
	.global	wind
	.syntax unified
	.arm
	.fpu softvfp
	.type	wind, %function
wind:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	bl	rand
	mov	r2, r0
	ldr	r3, .L41
	smull	r1, r3, r2, r3
	asr	r1, r3, #1
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	bl	rand
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L41+4
	ldr	r3, .L41+8
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	ldr	r1, .L41+12
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	roundf
	mov	r3, r0
	ldr	r1, .L41+12
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L40
.L35:
	.word	.L38
	.word	.L37
	.word	.L36
	.word	.L34
.L38:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-8]	@ float
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3]	@ float
	ldr	r0, .L41+16
	bl	puts
	ldr	r0, .L41+20
	bl	puts
	ldr	r0, .L41+16
	bl	puts
	b	.L39
.L37:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-8]	@ float
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3]	@ float
	ldr	r0, .L41+16
	bl	puts
	ldr	r0, .L41+24
	bl	puts
	ldr	r0, .L41+16
	bl	puts
	b	.L39
.L36:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-8]	@ float
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3]	@ float
	ldr	r0, .L41+16
	bl	puts
	ldr	r0, .L41+28
	bl	puts
	ldr	r0, .L41+16
	bl	puts
	b	.L39
.L34:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-8]	@ float
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3]	@ float
	ldr	r0, .L41+16
	bl	puts
	ldr	r0, .L41+32
	bl	puts
	ldr	r0, .L41+16
	bl	puts
	b	.L39
.L40:
	nop
.L39:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	1717986919
	.word	-4194304
	.word	1105199103
	.word	1120403456
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	wind, .-wind
	.section	.rodata
	.align	2
.LC5:
	.ascii	"ERROR opening socket\000"
	.align	2
.LC6:
	.ascii	"127.0.0.1\000"
	.align	2
.LC7:
	.ascii	"\012Invalid address/ Address not supported \000"
	.align	2
.LC8:
	.ascii	"ERROR connecting\000"
	.global	__aeabi_dcmplt
	.global	__aeabi_fcmpgt
	.align	2
.LC9:
	.ascii	"Running out of fuel, landing ...\000"
	.global	__aeabi_fcmpeq
	.align	2
.LC10:
	.ascii	"No fuel...\000"
	.align	2
.LC11:
	.ascii	"%c, %lf, %lf, %lf\000"
	.align	2
.LC12:
	.ascii	"Sending: %s\012\000"
	.align	2
.LC13:
	.ascii	"ERROR writing to socket\000"
	.align	2
.LC14:
	.ascii	"ERROR reading from socket\000"
	.align	2
.LC15:
	.ascii	"Movement has been accepted\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 344
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #372
	str	r0, [fp, #-368]
	str	r1, [fp, #-372]
	ldr	r3, .L69
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	ldr	r3, .L69+4
	str	r3, [fp, #-336]	@ float
	mov	r3, #74
	strb	r3, [fp, #-357]
	ldr	r3, .L69+8
	str	r3, [fp, #-344]	@ float
	ldr	r3, .L69+12
	str	r3, [fp, #-340]	@ float
	mov	r3, #1056964608
	str	r3, [fp, #-324]	@ float
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-320]
	ldr	r3, [fp, #-320]
	cmp	r3, #0
	bge	.L44
	ldr	r0, .L69+16
	bl	error
.L44:
	sub	r3, fp, #304
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2]
	str	r3, [r2, #4]
	str	r3, [r2, #8]
	str	r3, [r2, #12]
	sub	r3, fp, #28
	sub	r3, r3, #276
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #304
	add	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L69+20
	mov	r0, #2
	bl	inet_pton
	mov	r3, r0
	cmp	r3, #0
	bgt	.L45
	ldr	r0, .L69+24
	bl	puts
	mvn	r3, #0
	ldr	r2, .L69
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L61
	b	.L66
.L45:
	ldr	r0, .L69+28
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #28
	sub	r3, r3, #276
	strh	r2, [r3, #2]	@ movhi
	sub	r3, fp, #304
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-320]
	bl	connect
	mov	r3, r0
	cmp	r3, #0
	bge	.L47
	ldr	r0, .L69+32
	bl	error
.L47:
	mov	r3, #0
	str	r3, [fp, #-328]
	mov	r3, #0
	str	r3, [fp, #-348]
	mov	r3, #0
	str	r3, [fp, #-316]	@ float
.L60:
	sub	r3, fp, #288
	mov	r0, r3
	mov	r3, #256
	mov	r2, r3
	mov	r1, #0
	bl	memset
	ldr	r3, [fp, #-344]	@ float
	str	r3, [fp, #-356]	@ float
	ldr	r3, [fp, #-340]	@ float
	str	r3, [fp, #-352]	@ float
	ldr	r1, .L69+36
	ldr	r0, [fp, #-336]	@ float
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L67
	ldr	r1, [fp, #-328]
	ldr	r3, .L69+40
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L50
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	str	r3, [fp, #-348]
.L50:
	sub	r3, fp, #348
	sub	r1, fp, #352
	sub	r0, fp, #356
	ldr	r2, [fp, #-324]	@ float
	bl	move
	mov	r1, #1065353216
	ldr	r0, [fp, #-336]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-332]	@ float
	bl	rand
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L69+44
	ldr	r3, .L69+48
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-316]	@ float
	ldr	r0, [fp, #-316]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L69+52
	ldr	r3, .L69+56
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L51
	sub	r2, fp, #352
	sub	r3, fp, #356
	mov	r1, r2
	mov	r0, r3
	bl	wind
	b	.L51
.L67:
	mov	r1, #0
	ldr	r0, [fp, #-336]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L68
	mov	r1, #1065353216
	ldr	r0, [fp, #-336]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-332]	@ float
	ldr	r0, .L69+60
	bl	puts
	b	.L51
.L68:
	mov	r1, #0
	ldr	r0, [fp, #-336]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L51
	ldr	r0, .L69+64
	bl	puts
.L51:
	ldrb	r8, [fp, #-357]	@ zero_extendqisi2
	ldr	r3, [fp, #-356]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-352]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [fp, #-332]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r0, fp, #288
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	str	r6, [sp, #8]
	str	r7, [sp, #12]
	stm	sp, {r4-r5}
	mov	r2, r8
	ldr	r1, .L69+68
	bl	sprintf
	sub	r3, fp, #288
	mov	r1, r3
	ldr	r0, .L69+72
	bl	printf
	sub	r3, fp, #288
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #288
	mov	r1, r3
	ldr	r0, [fp, #-320]
	bl	write
	str	r0, [fp, #-312]
	ldr	r3, [fp, #-312]
	cmp	r3, #0
	bge	.L56
	ldr	r0, .L69+76
	bl	error
.L56:
	sub	r3, fp, #288
	mov	r0, r3
	mov	r3, #256
	mov	r2, r3
	mov	r1, #0
	bl	memset
	sub	r3, fp, #288
	mov	r2, #255
	mov	r1, r3
	ldr	r0, [fp, #-320]
	bl	read
	str	r0, [fp, #-312]
	ldr	r3, [fp, #-312]
	cmp	r3, #0
	bge	.L57
	ldr	r0, .L69+80
	bl	error
.L57:
	sub	r3, fp, #288
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-308]
	ldr	r3, [fp, #-308]
	cmp	r3, #1
	bne	.L58
	ldr	r0, .L69+84
	bl	puts
	ldr	r3, [fp, #-356]	@ float
	str	r3, [fp, #-344]	@ float
	ldr	r3, [fp, #-352]	@ float
	str	r3, [fp, #-340]	@ float
	ldr	r3, [fp, #-332]	@ float
	str	r3, [fp, #-336]	@ float
	ldr	r3, [fp, #-328]
	add	r3, r3, #1
	str	r3, [fp, #-328]
	b	.L59
.L58:
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	str	r3, [fp, #-348]
.L59:
	mov	r0, #1
	bl	sleep
	b	.L60
.L66:
	bl	__stack_chk_fail
.L61:
	mov	r0, r3
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L70:
	.align	2
.L69:
	.word	.LC16
	.word	1120403456
	.word	1116471296
	.word	1106247680
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	7777
	.word	.LC8
	.word	1077936128
	.word	1717986919
	.word	-4194304
	.word	1105199103
	.word	858993459
	.word	1070805811
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
