	.file	"854766.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"data.txt"
.LC2:
	.string	"%*s %d"
.LC3:
	.string	"%f %f %f %f %s"
	.align 8
.LC4:
	.string	"\nTYPE 'STOP' ANYTIME TO EXIT PROGRAM."
	.align 8
.LC5:
	.string	"Choose the color of the rectangles to be used : \n1.RED\n2.GREEN\n3.BLUE"
.LC6:
	.string	"%s"
.LC7:
	.string	"STOP"
.LC8:
	.string	"1"
.LC9:
	.string	"2"
.LC10:
	.string	"3"
.LC11:
	.string	"\nWRONG INPUT.TYPE AGAIN."
	.align 8
.LC12:
	.string	"Choose action for the rectangles : \n1.INTERSECTION\n2.MAX AREA\n3.MAX PERIMETER"
	.align 8
.LC13:
	.string	"Coordinations of the Intersection:\nUpper Left.X: %.2f\nUpper Left.Y: %.2f\nLower Right.X: %.2f\nLower Right.Y: %.2f\n"
.LC14:
	.string	"MAX AREA"
.LC15:
	.string	"Color doesnt exist in file."
	.align 8
.LC16:
	.string	"Largest area of the rectangles is : %.2f\n"
.LC17:
	.string	"MAX PERIMETER"
	.align 8
.LC18:
	.string	"Largest perimeter of the rectangles is : %.2f\n"
.LC19:
	.string	"WRONG INPUT.TYPE AGAIN."
	.text
	.globl	main
	.type	main, @function
main:
.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, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -64[rbp], rax
	lea	rdx, -80[rbp]
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	eax, DWORD PTR -80[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	DWORD PTR -76[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -76[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	r8, rax
	mov	eax, DWORD PTR -76[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	lea	rdi, 20[rax]
	mov	eax, DWORD PTR -76[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	lea	rsi, 16[rax]
	mov	eax, DWORD PTR -76[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	lea	rcx, 12[rax]
	mov	eax, DWORD PTR -76[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -64[rbp]
	sub	rsp, 8
	push	r8
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	rsp, 16
	add	DWORD PTR -76[rbp], 1
.L2:
	mov	eax, DWORD PTR -80[rbp]
	cmp	DWORD PTR -76[rbp], eax
	jl	.L3
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L24:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rax, -14[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -14[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L27
	lea	rax, -14[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	lea	rax, -14[rbp]
	mov	DWORD PTR [rax], 6579570
	mov	DWORD PTR -76[rbp], 1
	jmp	.L7
.L6:
	lea	rax, -14[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	mov	DWORD PTR -14[rbp], 1701147239
	mov	WORD PTR -10[rbp], 110
	mov	DWORD PTR -76[rbp], 1
	jmp	.L7
.L8:
	lea	rax, -14[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L9
	lea	rax, -14[rbp]
	mov	DWORD PTR [rax], 1702194274
	mov	BYTE PTR 4[rax], 0
	mov	DWORD PTR -76[rbp], 1
	jmp	.L7
.L9:
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -76[rbp], 0
.L7:
	cmp	DWORD PTR -76[rbp], 1
	jne	.L10
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rax, -19[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -19[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L28
	lea	rax, -19[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L12
	mov	DWORD PTR -76[rbp], 0
	jmp	.L13
.L19:
	mov	eax, DWORD PTR -76[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rdx, rax
	lea	rax, -14[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L14
	mov	eax, DWORD PTR -76[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR [rcx]
	mov	rdx, QWORD PTR 8[rcx]
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR 16[rcx]
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -76[rbp]
	add	eax, 1
	mov	DWORD PTR -72[rbp], eax
	jmp	.L15
.L18:
	mov	eax, DWORD PTR -76[rbp]
	add	eax, 1
	cmp	DWORD PTR -72[rbp], eax
	jne	.L16
	mov	eax, DWORD PTR -80[rbp]
	add	eax, 1
	mov	DWORD PTR -76[rbp], eax
.L16:
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rdx, rax
	lea	rax, -14[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L17
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	intersection
	test	eax, eax
	je	.L29
.L17:
	add	DWORD PTR -72[rbp], 1
.L15:
	mov	eax, DWORD PTR -80[rbp]
	cmp	DWORD PTR -72[rbp], eax
	jl	.L18
	jmp	.L14
.L29:
	nop
.L14:
	add	DWORD PTR -76[rbp], 1
.L13:
	mov	eax, DWORD PTR -80[rbp]
	cmp	DWORD PTR -76[rbp], eax
	jl	.L19
	movss	xmm0, DWORD PTR -28[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movss	xmm0, DWORD PTR -32[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movss	xmm0, DWORD PTR -36[rbp]
	cvtss2sd	xmm0, xmm0
	movss	xmm3, DWORD PTR -40[rbp]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm3
	movq	rax, xmm4
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 4
	call	printf@PLT
	jmp	.L10
.L12:
	lea	rax, -19[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L20
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	ecx, DWORD PTR -80[rbp]
	lea	rdx, -14[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	max_area
	mov	DWORD PTR -68[rbp], eax
	cmp	DWORD PTR -68[rbp], -1
	jne	.L21
	lea	rdi, .LC15[rip]
	call	puts@PLT
	jmp	.L10
.L21:
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR 12[rax]
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movss	xmm2, DWORD PTR 20[rax]
	movaps	xmm1, xmm0
	subss	xmm1, xmm2
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR 16[rax]
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movss	xmm2, DWORD PTR 8[rax]
	subss	xmm0, xmm2
	mulss	xmm0, xmm1
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm0
	movq	rax, xmm5
	movq	xmm0, rax
	lea	rdi, .LC16[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L10
.L20:
	lea	rax, -19[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L22
	lea	rdi, .LC17[rip]
	call	puts@PLT
	mov	ecx, DWORD PTR -80[rbp]
	lea	rdx, -14[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	max_per
	mov	DWORD PTR -68[rbp], eax
	cmp	DWORD PTR -68[rbp], -1
	jne	.L23
	lea	rdi, .LC15[rip]
	call	puts@PLT
	jmp	.L10
.L23:
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR 12[rax]
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movss	xmm1, DWORD PTR 20[rax]
	subss	xmm0, xmm1
	movaps	xmm1, xmm0
	addss	xmm1, xmm0
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR 16[rax]
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movss	xmm2, DWORD PTR 8[rax]
	subss	xmm0, xmm2
	addss	xmm0, xmm0
	addss	xmm0, xmm1
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, xmm0
	movq	rax, xmm6
	movq	xmm0, rax
	lea	rdi, .LC18[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L10
.L22:
	lea	rdi, .LC19[rip]
	call	puts@PLT
.L10:
	mov	edi, 10
	call	putchar@PLT
	jmp	.L24
.L27:
	nop
	jmp	.L5
.L28:
	nop
.L5:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	MAX
	.type	MAX, @function
MAX:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	DWORD PTR -4[rbp], xmm0
	movss	DWORD PTR -8[rbp], xmm1
	movss	xmm0, DWORD PTR -4[rbp]
	comiss	xmm0, DWORD PTR -8[rbp]
	jbe	.L35
	movss	xmm0, DWORD PTR -4[rbp]
	jmp	.L33
.L35:
	movss	xmm0, DWORD PTR -8[rbp]
.L33:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	MAX, .-MAX
	.globl	MIN
	.type	MIN, @function
MIN:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	DWORD PTR -4[rbp], xmm0
	movss	DWORD PTR -8[rbp], xmm1
	movss	xmm0, DWORD PTR -8[rbp]
	comiss	xmm0, DWORD PTR -4[rbp]
	jbe	.L41
	movss	xmm0, DWORD PTR -4[rbp]
	jmp	.L39
.L41:
	movss	xmm0, DWORD PTR -8[rbp]
.L39:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	MIN, .-MIN
	.section	.rodata
	.align 8
.LC20:
	.string	"The parallelograms dont intersect."
	.align 8
.LC21:
	.string	"The parallelograms intersect on one plane only.Thus the parralelograms dont intersect."
	.align 8
.LC23:
	.string	"ERROR in intersection function."
	.text
	.globl	intersection
	.type	intersection, @function
intersection:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR 8[rax]
	comiss	xmm0, xmm1
	jb	.L43
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm1, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR 16[rax]
	comiss	xmm0, xmm1
	jnb	.L45
.L43:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR 16[rax]
	comiss	xmm0, xmm1
	jb	.L46
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm1, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR 16[rax]
	comiss	xmm0, xmm1
	jb	.L46
.L45:
	add	DWORD PTR -4[rbp], 1
	jmp	.L49
.L46:
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm1, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR 8[rax]
	comiss	xmm0, xmm1
	jb	.L50
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR 16[rax]
	comiss	xmm0, xmm1
	jnb	.L52
.L50:
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm1, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR 16[rax]
	comiss	xmm0, xmm1
	jb	.L49
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR 16[rax]
	comiss	xmm0, xmm1
	jb	.L49
.L52:
	add	DWORD PTR -4[rbp], 1
.L49:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR 20[rax]
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR 20[rax]
	comiss	xmm0, xmm1
	jb	.L55
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm1, DWORD PTR 20[rax]
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR 12[rax]
	comiss	xmm0, xmm1
	jnb	.L57
.L55:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR 20[rax]
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR 12[rax]
	comiss	xmm0, xmm1
	jb	.L58
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm1, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR 12[rax]
	comiss	xmm0, xmm1
	jb	.L58
.L57:
	add	DWORD PTR -4[rbp], 1
	jmp	.L61
.L58:
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm1, DWORD PTR 20[rax]
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR 20[rax]
	comiss	xmm0, xmm1
	jb	.L62
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR 20[rax]
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR 12[rax]
	comiss	xmm0, xmm1
	jnb	.L64
.L62:
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm1, DWORD PTR 20[rax]
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR 12[rax]
	comiss	xmm0, xmm1
	jb	.L61
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR 12[rax]
	comiss	xmm0, xmm1
	jb	.L61
.L64:
	add	DWORD PTR -4[rbp], 1
.L61:
	cmp	DWORD PTR -4[rbp], 0
	je	.L67
	cmp	DWORD PTR -4[rbp], 1
	jne	.L68
.L67:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L69
	lea	rdi, .LC20[rip]
	call	puts@PLT
	jmp	.L70
.L69:
	cmp	DWORD PTR -4[rbp], 1
	jne	.L70
	lea	rdi, .LC21[rip]
	call	puts@PLT
.L70:
	mov	rax, QWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	movss	DWORD PTR 8[rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	movss	DWORD PTR 12[rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	movss	DWORD PTR 16[rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	movss	DWORD PTR 20[rax], xmm0
	mov	eax, 0
	jmp	.L42
.L68:
	cmp	DWORD PTR -4[rbp], 2
	jne	.L72
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	MAX
	movd	eax, xmm0
	mov	rdx, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rdx], eax
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 12[rax]
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	MIN
	movd	eax, xmm0
	mov	rdx, QWORD PTR -24[rbp]
	mov	DWORD PTR 12[rdx], eax
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 16[rax]
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	MIN
	movd	eax, xmm0
	mov	rdx, QWORD PTR -24[rbp]
	mov	DWORD PTR 16[rdx], eax
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR 20[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 20[rax]
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	MAX
	movd	eax, xmm0
	mov	rdx, QWORD PTR -24[rbp]
	mov	DWORD PTR 20[rdx], eax
	mov	eax, 1
	jmp	.L42
.L72:
	lea	rdi, .LC23[rip]
	call	puts@PLT
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	intersection, .-intersection
	.globl	max_area
	.type	max_area, @function
max_area:
.LFB10:
	.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	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -4[rbp], -1
	mov	DWORD PTR -12[rbp], 0
	jmp	.L82
.L89:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L83
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	mov	DWORD PTR -8[rbp], eax
	jmp	.L84
.L88:
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	cmp	DWORD PTR -8[rbp], eax
	jne	.L85
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 1
	mov	DWORD PTR -12[rbp], eax
.L85:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L86
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR 12[rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm2, DWORD PTR 20[rax]
	subss	xmm0, xmm2
	movaps	xmm1, xmm0
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR 16[rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm2, DWORD PTR 8[rax]
	subss	xmm0, xmm2
	mulss	xmm0, xmm1
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm1, DWORD PTR 12[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm3, DWORD PTR 20[rax]
	movaps	xmm2, xmm1
	subss	xmm2, xmm3
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm1, DWORD PTR 16[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm3, DWORD PTR 8[rax]
	subss	xmm1, xmm3
	mulss	xmm1, xmm2
	comiss	xmm0, xmm1
	jb	.L86
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -4[rbp], eax
.L86:
	add	DWORD PTR -8[rbp], 1
.L84:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L88
.L83:
	add	DWORD PTR -12[rbp], 1
.L82:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L89
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	max_area, .-max_area
	.globl	max_per
	.type	max_per, @function
max_per:
.LFB11:
	.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	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -4[rbp], -1
	mov	DWORD PTR -12[rbp], 0
	jmp	.L93
.L100:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L94
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	mov	DWORD PTR -8[rbp], eax
	jmp	.L95
.L99:
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	cmp	DWORD PTR -8[rbp], eax
	jne	.L96
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 1
	mov	DWORD PTR -12[rbp], eax
.L96:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L97
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR 12[rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm1, DWORD PTR 20[rax]
	subss	xmm0, xmm1
	movaps	xmm1, xmm0
	addss	xmm1, xmm0
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR 16[rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm2, DWORD PTR 8[rax]
	subss	xmm0, xmm2
	addss	xmm0, xmm0
	addss	xmm1, xmm0
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR 12[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm2, DWORD PTR 20[rax]
	subss	xmm0, xmm2
	movaps	xmm2, xmm0
	addss	xmm2, xmm0
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR 16[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm3, DWORD PTR 8[rax]
	subss	xmm0, xmm3
	addss	xmm0, xmm0
	addss	xmm0, xmm2
	comiss	xmm1, xmm0
	jb	.L97
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -4[rbp], eax
.L97:
	add	DWORD PTR -8[rbp], 1
.L95:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L99
.L94:
	add	DWORD PTR -12[rbp], 1
.L93:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L100
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	max_per, .-max_per
	.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	"854766.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"data.txt\000"
	.align	2
.LC2:
	.ascii	"%*s %d\000"
	.align	2
.LC3:
	.ascii	"%f %f %f %f %s\000"
	.align	2
.LC4:
	.ascii	"\012TYPE 'STOP' ANYTIME TO EXIT PROGRAM.\000"
	.align	2
.LC5:
	.ascii	"Choose the color of the rectangles to be used : \012"
	.ascii	"1.RED\0122.GREEN\0123.BLUE\000"
	.align	2
.LC6:
	.ascii	"%s\000"
	.align	2
.LC7:
	.ascii	"STOP\000"
	.align	2
.LC8:
	.ascii	"1\000"
	.align	2
.LC9:
	.ascii	"2\000"
	.align	2
.LC10:
	.ascii	"green\000"
	.align	2
.LC11:
	.ascii	"3\000"
	.align	2
.LC12:
	.ascii	"blue\000"
	.align	2
.LC13:
	.ascii	"\012WRONG INPUT.TYPE AGAIN.\000"
	.align	2
.LC14:
	.ascii	"Choose action for the rectangles : \0121.INTERSECTI"
	.ascii	"ON\0122.MAX AREA\0123.MAX PERIMETER\000"
	.global	__aeabi_f2d
	.align	2
.LC15:
	.ascii	"Coordinations of the Intersection:\012Upper Left.X:"
	.ascii	" %.2f\012Upper Left.Y: %.2f\012Lower Right.X: %.2f\012"
	.ascii	"Lower Right.Y: %.2f\012\000"
	.align	2
.LC16:
	.ascii	"MAX AREA\000"
	.align	2
.LC17:
	.ascii	"Color doesnt exist in file.\000"
	.global	__aeabi_fsub
	.global	__aeabi_fmul
	.align	2
.LC18:
	.ascii	"Largest area of the rectangles is : %.2f\012\000"
	.align	2
.LC19:
	.ascii	"MAX PERIMETER\000"
	.global	__aeabi_fadd
	.align	2
.LC20:
	.ascii	"Largest perimeter of the rectangles is : %.2f\012\000"
	.align	2
.LC21:
	.ascii	"WRONG INPUT.TYPE AGAIN.\000"
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #96
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	ldr	r1, .L30+4
	ldr	r0, .L30+8
	bl	fopen
	str	r0, [fp, #-84]
	sub	r3, fp, #96
	mov	r2, r3
	ldr	r1, .L30+12
	ldr	r0, [fp, #-84]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-96]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-92]
	b	.L2
.L3:
	ldr	r2, [fp, #-92]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-80]
	add	r3, r3, r2
	add	ip, r3, #8
	ldr	r2, [fp, #-92]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-80]
	add	r3, r3, r2
	add	lr, r3, #12
	ldr	r2, [fp, #-92]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-80]
	add	r3, r3, r2
	add	r1, r3, #16
	ldr	r2, [fp, #-92]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-80]
	add	r3, r3, r2
	add	r0, r3, #20
	ldr	r2, [fp, #-92]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-80]
	add	r3, r3, r2
	str	r3, [sp, #8]
	str	r0, [sp, #4]
	str	r1, [sp]
	mov	r3, lr
	mov	r2, ip
	ldr	r1, .L30+16
	ldr	r0, [fp, #-84]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L2:
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-92]
	cmp	r2, r3
	blt	.L3
	ldr	r0, [fp, #-84]
	bl	fclose
.L24:
	ldr	r0, .L30+20
	bl	puts
	ldr	r0, .L30+24
	bl	puts
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L30+28
	bl	__isoc99_scanf
	sub	r3, fp, #40
	ldr	r1, .L30+32
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L27
	sub	r3, fp, #40
	ldr	r1, .L30+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	sub	r3, fp, #40
	ldr	r2, .L30+40
	str	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-92]
	b	.L7
.L6:
	sub	r3, fp, #40
	ldr	r1, .L30+44
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	ldr	r2, .L30+48
	sub	r3, fp, #40
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	mov	r3, #1
	str	r3, [fp, #-92]
	b	.L7
.L8:
	sub	r3, fp, #40
	ldr	r1, .L30+52
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	sub	r3, fp, #40
	ldr	r2, .L30+56
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strb	r1, [r3]
	mov	r3, #1
	str	r3, [fp, #-92]
	b	.L7
.L9:
	ldr	r0, .L30+60
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-92]
.L7:
	ldr	r3, [fp, #-92]
	cmp	r3, #1
	bne	.L10
	ldr	r0, .L30+64
	bl	puts
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L30+28
	bl	__isoc99_scanf
	sub	r3, fp, #48
	ldr	r1, .L30+32
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L28
	sub	r3, fp, #48
	ldr	r1, .L30+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	mov	r3, #0
	str	r3, [fp, #-92]
	b	.L13
.L19:
	ldr	r2, [fp, #-92]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-80]
	add	r3, r3, r2
	mov	r2, r3
	sub	r3, fp, #40
	mov	r1, r3
	mov	r0, r2
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L14
	ldr	r2, [fp, #-92]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-80]
	add	r3, r3, r2
	sub	ip, fp, #72
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-88]
	b	.L15
.L18:
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	ldr	r2, [fp, #-88]
	cmp	r2, r3
	bne	.L16
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L16:
	ldr	r2, [fp, #-88]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-80]
	add	r3, r3, r2
	mov	r2, r3
	sub	r3, fp, #40
	mov	r1, r3
	mov	r0, r2
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	ldr	r2, [fp, #-88]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-80]
	add	r2, r3, r2
	sub	r3, fp, #72
	mov	r1, r2
	mov	r0, r3
	bl	intersection
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
.L17:
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
.L15:
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-88]
	cmp	r2, r3
	blt	.L18
	b	.L14
.L29:
	nop
.L14:
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L13:
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-92]
	cmp	r2, r3
	blt	.L19
	ldr	r3, [fp, #-64]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r8, r0
	mov	r9, r1
	ldr	r3, [fp, #-60]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-56]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r3, [fp, #-52]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	str	r6, [sp, #8]
	str	r7, [sp, #12]
	stm	sp, {r4-r5}
	mov	r2, r8
	mov	r3, r9
	ldr	r0, .L30+68
	bl	printf
	b	.L10
.L12:
	sub	r3, fp, #48
	ldr	r1, .L30+44
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
	ldr	r0, .L30+72
	bl	puts
	ldr	r3, [fp, #-96]
	sub	r2, fp, #40
	mov	r1, r3
	ldr	r0, [fp, #-80]
	bl	max_area
	str	r0, [fp, #-76]
	ldr	r3, [fp, #-76]
	cmn	r3, #1
	bne	.L21
	ldr	r0, .L30+76
	bl	puts
	b	.L10
.L21:
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-80]
	add	r3, r3, r2
	ldr	r0, [r3, #12]	@ float
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-80]
	add	r3, r3, r2
	ldr	r3, [r3, #20]	@ float
	mov	r1, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r4, r3
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-80]
	add	r3, r3, r2
	ldr	r0, [r3, #16]	@ float
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-80]
	add	r3, r3, r2
	ldr	r3, [r3, #8]	@ float
	mov	r1, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L30+80
	bl	printf
	b	.L10
.L20:
	sub	r3, fp, #48
	ldr	r1, .L30+52
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L22
	ldr	r0, .L30+84
	bl	puts
	ldr	r3, [fp, #-96]
	sub	r2, fp, #40
	mov	r1, r3
	ldr	r0, [fp, #-80]
	bl	max_per
	str	r0, [fp, #-76]
	ldr	r3, [fp, #-76]
	cmn	r3, #1
	bne	.L23
	ldr	r0, .L30+76
	bl	puts
	b	.L10
.L23:
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-80]
	add	r3, r3, r2
	ldr	r0, [r3, #12]	@ float
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-80]
	add	r3, r3, r2
	ldr	r3, [r3, #20]	@ float
	mov	r1, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r4, r3
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-80]
	add	r3, r3, r2
	ldr	r0, [r3, #16]	@ float
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-80]
	add	r3, r3, r2
	ldr	r3, [r3, #8]	@ float
	mov	r1, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L30+88
	bl	printf
	b	.L10
.L22:
	ldr	r0, .L30+92
	bl	puts
.L10:
	mov	r0, #10
	bl	putchar
	b	.L24
.L27:
	nop
	b	.L5
.L28:
	nop
.L5:
	mov	r3, #0
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC22
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	6579570
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.size	main, .-main
	.global	__aeabi_fcmpgt
	.align	2
	.global	MAX
	.syntax unified
	.arm
	.fpu softvfp
	.type	MAX, %function
MAX:
	@ 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]	@ float
	str	r1, [fp, #-12]	@ float
	ldr	r1, [fp, #-12]	@ float
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L37
	ldr	r3, [fp, #-8]	@ float
	b	.L35
.L37:
	ldr	r3, [fp, #-12]	@ float
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	MAX, .-MAX
	.global	__aeabi_fcmplt
	.align	2
	.global	MIN
	.syntax unified
	.arm
	.fpu softvfp
	.type	MIN, %function
MIN:
	@ 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]	@ float
	str	r1, [fp, #-12]	@ float
	ldr	r1, [fp, #-12]	@ float
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L43
	ldr	r3, [fp, #-8]	@ float
	b	.L41
.L43:
	ldr	r3, [fp, #-12]	@ float
.L41:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	MIN, .-MIN
	.global	__aeabi_fcmple
	.section	.rodata
	.align	2
.LC23:
	.ascii	"The parallelograms dont intersect.\000"
	.align	2
.LC24:
	.ascii	"The parallelograms intersect on one plane only.Thus"
	.ascii	" the parralelograms dont intersect.\000"
	.align	2
.LC25:
	.ascii	"ERROR in intersection function.\000"
	.text
	.align	2
	.global	intersection
	.syntax unified
	.arm
	.fpu softvfp
	.type	intersection, %function
intersection:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #8]	@ float
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #8]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L45
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #8]	@ float
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	bne	.L47
.L45:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #8]	@ float
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #16]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L48
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #16]	@ float
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L48
.L47:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L51
.L48:
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #8]	@ float
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L52
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #8]	@ float
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #16]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	bne	.L54
.L52:
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #8]	@ float
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L51
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #16]	@ float
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #16]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L51
.L54:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L51:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #20]	@ float
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #20]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L57
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #20]	@ float
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	bne	.L59
.L57:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #20]	@ float
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #12]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L60
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #12]	@ float
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L60
.L59:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L63
.L60:
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #20]	@ float
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #20]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L64
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #20]	@ float
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #12]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	bne	.L66
.L64:
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #20]	@ float
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L63
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #12]	@ float
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #12]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L63
.L66:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L63:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L69
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L70
.L69:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L71
	ldr	r0, .L83
	bl	puts
	b	.L72
.L71:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L72
	ldr	r0, .L83+4
	bl	puts
.L72:
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #8]	@ float
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #12]	@ float
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #16]	@ float
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #20]	@ float
	mov	r3, #0
	b	.L44
.L70:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	bne	.L74
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #8]	@ float
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #8]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	MAX
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]	@ float
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #12]	@ float
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #12]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	MIN
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #12]	@ float
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #16]	@ float
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #16]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	MIN
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #16]	@ float
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #20]	@ float
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #20]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	MAX
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #20]	@ float
	mov	r3, #1
	b	.L44
.L74:
	ldr	r0, .L83+8
	bl	puts
.L44:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L84:
	.align	2
.L83:
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.size	intersection, .-intersection
	.global	__aeabi_fcmpge
	.align	2
	.global	max_area
	.syntax unified
	.arm
	.fpu softvfp
	.type	max_area, %function
max_area:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	mvn	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L86
.L93:
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r1, [fp, #-40]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L87
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L88
.L92:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L89
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L89:
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r1, [fp, #-40]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L90
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r0, [r3, #12]	@ float
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r3, [r3, #20]	@ float
	mov	r1, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r4, r3
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r0, [r3, #16]	@ float
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r3, [r3, #8]	@ float
	mov	r1, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r0, [r3, #12]	@ float
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r3, [r3, #20]	@ float
	mov	r1, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r5, r3
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r0, [r3, #16]	@ float
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r3, [r3, #8]	@ float
	mov	r1, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	mov	r0, r5
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L90
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-16]
.L90:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L88:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L92
.L87:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L86:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L93
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	max_area, .-max_area
	.align	2
	.global	max_per
	.syntax unified
	.arm
	.fpu softvfp
	.type	max_per, %function
max_per:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	mvn	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L97
.L104:
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r1, [fp, #-40]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L98
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L99
.L103:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L100
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L100:
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r1, [fp, #-40]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L101
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r0, [r3, #12]	@ float
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r3, [r3, #20]	@ float
	mov	r1, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r4, r3
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r0, [r3, #16]	@ float
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r3, [r3, #8]	@ float
	mov	r1, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r4, r3
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r0, [r3, #12]	@ float
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r3, [r3, #20]	@ float
	mov	r1, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r5, r3
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r0, [r3, #16]	@ float
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldr	r3, [r3, #8]	@ float
	mov	r1, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	mov	r0, r5
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L101
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-16]
.L101:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L99:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L103
.L98:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L97:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L104
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	max_per, .-max_per
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
