	.file	"571794.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\nDigite as coordenadas do ret\303\242ngulo:"
.LC1:
	.string	"\n\tPonto superior esquerdo:"
.LC2:
	.string	"\t-> Coordenada x: "
.LC3:
	.string	"%lf"
.LC4:
	.string	"\t-> Coordenada y: "
.LC5:
	.string	"\n\tPonto inferior direito:"
	.text
	.globl	le_retangulo
	.type	le_retangulo, @function
le_retangulo:
.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
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 16
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 24
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	le_retangulo, .-le_retangulo
	.section	.rodata
	.align 8
.LC6:
	.string	"\nDigite as coordenadas do 1\302\272 ret\303\242ngulo:"
	.align 8
.LC7:
	.string	"\nDigite as coordenadas do 2\302\272 ret\303\242ngulo:"
	.text
	.globl	le_retangulos
	.type	le_retangulos, @function
le_retangulos:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 16
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 24
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 16
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 24
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	le_retangulos, .-le_retangulos
	.globl	area
	.type	area, @function
area:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movsd	xmm0, QWORD PTR 16[rbp]
	movsd	xmm2, QWORD PTR 32[rbp]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR 24[rbp]
	movsd	xmm2, QWORD PTR 40[rbp]
	subsd	xmm0, xmm2
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -8[rbp]
	jbe	.L9
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	xmm1, QWORD PTR .LC9[rip]
	xorpd	xmm0, xmm1
	jmp	.L7
.L9:
	movsd	xmm0, QWORD PTR -8[rbp]
.L7:
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	area, .-area
	.globl	intersecao
	.type	intersecao, @function
intersecao:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	movsd	xmm0, QWORD PTR 48[rbp]
	movsd	xmm1, QWORD PTR 16[rbp]
	comisd	xmm0, xmm1
	jbe	.L11
	movsd	xmm1, QWORD PTR 48[rbp]
	movsd	xmm0, QWORD PTR 32[rbp]
	comisd	xmm0, xmm1
	ja	.L13
.L11:
	movsd	xmm1, QWORD PTR 56[rbp]
	movsd	xmm0, QWORD PTR 24[rbp]
	comisd	xmm0, xmm1
	jbe	.L14
	movsd	xmm0, QWORD PTR 56[rbp]
	movsd	xmm1, QWORD PTR 40[rbp]
	comisd	xmm0, xmm1
	jbe	.L14
.L13:
	mov	eax, 1
	jmp	.L17
.L14:
	mov	eax, 0
.L17:
	cmp	eax, 1
	jne	.L18
	mov	DWORD PTR -8[rbp], 1
.L18:
	movsd	xmm1, QWORD PTR 64[rbp]
	movsd	xmm0, QWORD PTR 32[rbp]
	comisd	xmm0, xmm1
	jbe	.L19
	movsd	xmm0, QWORD PTR 64[rbp]
	movsd	xmm1, QWORD PTR 16[rbp]
	comisd	xmm0, xmm1
	ja	.L21
.L19:
	movsd	xmm0, QWORD PTR 72[rbp]
	movsd	xmm1, QWORD PTR 40[rbp]
	comisd	xmm0, xmm1
	jbe	.L22
	movsd	xmm1, QWORD PTR 72[rbp]
	movsd	xmm0, QWORD PTR 24[rbp]
	comisd	xmm0, xmm1
	jbe	.L22
.L21:
	mov	eax, 1
	jmp	.L25
.L22:
	mov	eax, 0
.L25:
	cmp	eax, 1
	jne	.L26
	mov	DWORD PTR -4[rbp], 1
.L26:
	cmp	DWORD PTR -8[rbp], 0
	jne	.L27
	cmp	DWORD PTR -4[rbp], 0
	je	.L28
.L27:
	mov	eax, 1
	jmp	.L29
.L28:
	mov	eax, 0
.L29:
	cmp	eax, 1
	jne	.L30
	mov	eax, 1
	jmp	.L31
.L30:
	mov	eax, 0
.L31:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	intersecao, .-intersecao
	.globl	contido
	.type	contido, @function
contido:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movsd	xmm0, QWORD PTR 48[rbp]
	movsd	xmm1, QWORD PTR 16[rbp]
	comisd	xmm0, xmm1
	jbe	.L37
	movsd	xmm1, QWORD PTR 48[rbp]
	movsd	xmm0, QWORD PTR 32[rbp]
	comisd	xmm0, xmm1
	jbe	.L37
	movsd	xmm1, QWORD PTR 56[rbp]
	movsd	xmm0, QWORD PTR 24[rbp]
	comisd	xmm0, xmm1
	jbe	.L37
	movsd	xmm0, QWORD PTR 56[rbp]
	movsd	xmm1, QWORD PTR 40[rbp]
	comisd	xmm0, xmm1
	jbe	.L37
	movsd	xmm1, QWORD PTR 64[rbp]
	movsd	xmm0, QWORD PTR 32[rbp]
	comisd	xmm0, xmm1
	jbe	.L42
	movsd	xmm0, QWORD PTR 64[rbp]
	movsd	xmm1, QWORD PTR 16[rbp]
	comisd	xmm0, xmm1
	jbe	.L42
	movsd	xmm0, QWORD PTR 72[rbp]
	movsd	xmm1, QWORD PTR 40[rbp]
	comisd	xmm0, xmm1
	jbe	.L42
	movsd	xmm1, QWORD PTR 72[rbp]
	movsd	xmm0, QWORD PTR 24[rbp]
	comisd	xmm0, xmm1
	jbe	.L42
	mov	eax, 1
	jmp	.L47
.L42:
	mov	eax, 0
.L47:
	cmp	eax, 1
	jne	.L37
	mov	eax, 2
	jmp	.L48
.L37:
	movsd	xmm0, QWORD PTR 16[rbp]
	movsd	xmm1, QWORD PTR 48[rbp]
	comisd	xmm0, xmm1
	jbe	.L49
	movsd	xmm1, QWORD PTR 16[rbp]
	movsd	xmm0, QWORD PTR 64[rbp]
	comisd	xmm0, xmm1
	jbe	.L49
	movsd	xmm1, QWORD PTR 24[rbp]
	movsd	xmm0, QWORD PTR 56[rbp]
	comisd	xmm0, xmm1
	jbe	.L49
	movsd	xmm0, QWORD PTR 24[rbp]
	movsd	xmm1, QWORD PTR 72[rbp]
	comisd	xmm0, xmm1
	jbe	.L49
	movsd	xmm1, QWORD PTR 32[rbp]
	movsd	xmm0, QWORD PTR 64[rbp]
	comisd	xmm0, xmm1
	jbe	.L54
	movsd	xmm0, QWORD PTR 32[rbp]
	movsd	xmm1, QWORD PTR 48[rbp]
	comisd	xmm0, xmm1
	jbe	.L54
	movsd	xmm0, QWORD PTR 40[rbp]
	movsd	xmm1, QWORD PTR 72[rbp]
	comisd	xmm0, xmm1
	jbe	.L54
	movsd	xmm1, QWORD PTR 40[rbp]
	movsd	xmm0, QWORD PTR 56[rbp]
	comisd	xmm0, xmm1
	jbe	.L54
	mov	eax, 1
	jmp	.L59
.L54:
	mov	eax, 0
.L59:
	cmp	eax, 1
	jne	.L49
	mov	eax, 1
	jmp	.L48
.L49:
	movsd	xmm0, QWORD PTR 16[rbp]
	movsd	xmm1, QWORD PTR 48[rbp]
	ucomisd	xmm0, xmm1
	jp	.L60
	ucomisd	xmm0, xmm1
	jne	.L60
	movsd	xmm0, QWORD PTR 24[rbp]
	movsd	xmm1, QWORD PTR 56[rbp]
	ucomisd	xmm0, xmm1
	jp	.L60
	ucomisd	xmm0, xmm1
	jne	.L60
	movsd	xmm0, QWORD PTR 32[rbp]
	movsd	xmm1, QWORD PTR 64[rbp]
	ucomisd	xmm0, xmm1
	jp	.L60
	ucomisd	xmm0, xmm1
	jne	.L60
	movsd	xmm0, QWORD PTR 40[rbp]
	movsd	xmm1, QWORD PTR 72[rbp]
	ucomisd	xmm0, xmm1
	jp	.L60
	ucomisd	xmm0, xmm1
	jne	.L60
	mov	eax, 1
	jmp	.L65
.L60:
	mov	eax, 0
.L65:
	cmp	eax, 1
	jne	.L66
	mov	eax, 3
	jmp	.L48
.L66:
	mov	eax, 0
.L48:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	contido, .-contido
	.section	.rodata
	.align 8
.LC10:
	.string	"\nsup_esq (%lf,%lf)\ninf_dir(%lf,%lf)\n"
	.text
	.globl	intersecao_area
	.type	intersecao_area, @function
intersecao_area:
.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, 32
	movsd	xmm0, QWORD PTR 48[rbp]
	movsd	xmm1, QWORD PTR 16[rbp]
	comisd	xmm0, xmm1
	jb	.L88
	movsd	xmm1, QWORD PTR 48[rbp]
	movsd	xmm0, QWORD PTR 32[rbp]
	comisd	xmm0, xmm1
	jb	.L88
	movsd	xmm0, QWORD PTR 48[rbp]
	movsd	QWORD PTR -32[rbp], xmm0
	jmp	.L91
.L88:
	movsd	xmm0, QWORD PTR 16[rbp]
	movsd	QWORD PTR -32[rbp], xmm0
.L91:
	movsd	xmm1, QWORD PTR 56[rbp]
	movsd	xmm0, QWORD PTR 24[rbp]
	comisd	xmm0, xmm1
	jb	.L92
	movsd	xmm0, QWORD PTR 56[rbp]
	movsd	xmm1, QWORD PTR 40[rbp]
	comisd	xmm0, xmm1
	jb	.L92
	movsd	xmm0, QWORD PTR 56[rbp]
	movsd	QWORD PTR -24[rbp], xmm0
	jmp	.L95
.L92:
	movsd	xmm0, QWORD PTR 24[rbp]
	movsd	QWORD PTR -24[rbp], xmm0
.L95:
	movsd	xmm1, QWORD PTR 64[rbp]
	movsd	xmm0, QWORD PTR 32[rbp]
	comisd	xmm0, xmm1
	jb	.L96
	movsd	xmm0, QWORD PTR 64[rbp]
	movsd	xmm1, QWORD PTR 16[rbp]
	comisd	xmm0, xmm1
	jb	.L96
	movsd	xmm0, QWORD PTR 64[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	jmp	.L99
.L96:
	movsd	xmm0, QWORD PTR 32[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
.L99:
	movsd	xmm0, QWORD PTR 72[rbp]
	movsd	xmm1, QWORD PTR 40[rbp]
	comisd	xmm0, xmm1
	jb	.L100
	movsd	xmm1, QWORD PTR 72[rbp]
	movsd	xmm0, QWORD PTR 24[rbp]
	comisd	xmm0, xmm1
	jb	.L100
	movsd	xmm0, QWORD PTR 72[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L103
.L100:
	movsd	xmm0, QWORD PTR 40[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
.L103:
	movsd	xmm2, QWORD PTR -8[rbp]
	movsd	xmm1, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC10[rip]
	mov	eax, 4
	call	printf@PLT
	push	QWORD PTR -8[rbp]
	push	QWORD PTR -16[rbp]
	push	QWORD PTR -24[rbp]
	push	QWORD PTR -32[rbp]
	call	area
	add	rsp, 32
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	intersecao_area, .-intersecao_area
	.section	.rodata
	.align 8
.LC11:
	.string	"\n\t(1) Calcular a \303\241rea de um ret\303\242ngulo"
	.align 8
.LC12:
	.string	"\t(2) Verificar interse\303\247\303\243o de retangulos"
	.align 8
.LC13:
	.string	"\t(3) Verificar se um ret\303\242ngulo est\303\241 contido em um outro"
	.align 8
.LC14:
	.string	"\t(4) Calcular a \303\241rea da interse\303\247\303\243o entre dois retangulos"
.LC15:
	.string	"\t(5) Sair"
.LC16:
	.string	"\n\tDigite sua escolha: "
.LC17:
	.string	"%i"
.LC18:
	.string	"clear"
.LC19:
	.string	"\n\303\201rea = %lf\n"
	.align 8
.LC20:
	.string	"\nOs ret\303\242ngulos dados se intersectam!"
	.align 8
.LC21:
	.string	"\nOs ret\303\242ngulos dados n\303\243o se intersectam!"
	.align 8
.LC22:
	.string	"\nO ret\303\242ngulo 1 est\303\241 contido no ret\303\242ngulo 2"
	.align 8
.LC23:
	.string	"\nO ret\303\242ngulo 2 est\303\241 contido no ret\303\242ngulo 1"
	.align 8
.LC24:
	.string	"\nOs ret\303\242ngulos s\303\243o identicos"
	.align 8
.LC25:
	.string	"\nNenhum ret\303\242ngulo est\303\241 contido no outro"
.LC26:
	.string	"\n\303\201rea da interse\303\247\303\243o = %lf\n"
	.align 8
.LC27:
	.string	"\nPressione ENTER para continuar: "
	.text
	.globl	main
	.type	main, @function
main:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L116:
	lea	rdi, .LC11[rip]
	call	puts@PLT
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rdi, .LC13[rip]
	call	puts@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
	lea	rdi, .LC15[rip]
	call	puts@PLT
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -84[rbp]
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	eax, DWORD PTR -84[rbp]
	test	eax, eax
	jle	.L114
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, 5
	jle	.L115
.L114:
	lea	rdi, .LC18[rip]
	call	system@PLT
.L115:
	mov	eax, DWORD PTR -84[rbp]
	test	eax, eax
	jle	.L116
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, 5
	jg	.L116
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, 5
	ja	.L117
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L119[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L119[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L119:
	.long	.L117-.L119
	.long	.L123-.L119
	.long	.L122-.L119
	.long	.L121-.L119
	.long	.L120-.L119
	.long	.L118-.L119
	.text
.L123:
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	le_retangulo
	push	QWORD PTR -56[rbp]
	push	QWORD PTR -64[rbp]
	push	QWORD PTR -72[rbp]
	push	QWORD PTR -80[rbp]
	call	area
	add	rsp, 32
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC19[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L117
.L122:
	lea	rdx, -48[rbp]
	lea	rax, -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	le_retangulos
	push	QWORD PTR -24[rbp]
	push	QWORD PTR -32[rbp]
	push	QWORD PTR -40[rbp]
	push	QWORD PTR -48[rbp]
	push	QWORD PTR -56[rbp]
	push	QWORD PTR -64[rbp]
	push	QWORD PTR -72[rbp]
	push	QWORD PTR -80[rbp]
	call	intersecao
	add	rsp, 64
	test	eax, eax
	jne	.L124
	push	QWORD PTR -56[rbp]
	push	QWORD PTR -64[rbp]
	push	QWORD PTR -72[rbp]
	push	QWORD PTR -80[rbp]
	push	QWORD PTR -24[rbp]
	push	QWORD PTR -32[rbp]
	push	QWORD PTR -40[rbp]
	push	QWORD PTR -48[rbp]
	call	intersecao
	add	rsp, 64
	test	eax, eax
	je	.L125
.L124:
	mov	eax, 1
	jmp	.L126
.L125:
	mov	eax, 0
.L126:
	cmp	eax, 1
	jne	.L127
	lea	rdi, .LC20[rip]
	call	puts@PLT
	jmp	.L117
.L127:
	lea	rdi, .LC21[rip]
	call	puts@PLT
	jmp	.L117
.L121:
	lea	rdx, -48[rbp]
	lea	rax, -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	le_retangulos
	push	QWORD PTR -24[rbp]
	push	QWORD PTR -32[rbp]
	push	QWORD PTR -40[rbp]
	push	QWORD PTR -48[rbp]
	push	QWORD PTR -56[rbp]
	push	QWORD PTR -64[rbp]
	push	QWORD PTR -72[rbp]
	push	QWORD PTR -80[rbp]
	call	contido
	add	rsp, 64
	cmp	eax, 3
	je	.L129
	cmp	eax, 3
	jg	.L141
	cmp	eax, 2
	je	.L131
	cmp	eax, 2
	jg	.L141
	test	eax, eax
	je	.L132
	cmp	eax, 1
	jne	.L141
	lea	rdi, .LC22[rip]
	call	puts@PLT
	jmp	.L130
.L131:
	lea	rdi, .LC23[rip]
	call	puts@PLT
	jmp	.L130
.L129:
	lea	rdi, .LC24[rip]
	call	puts@PLT
	jmp	.L130
.L132:
	lea	rdi, .LC25[rip]
	call	puts@PLT
	nop
.L130:
	jmp	.L141
.L120:
	lea	rdx, -48[rbp]
	lea	rax, -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	le_retangulos
	push	QWORD PTR -24[rbp]
	push	QWORD PTR -32[rbp]
	push	QWORD PTR -40[rbp]
	push	QWORD PTR -48[rbp]
	push	QWORD PTR -56[rbp]
	push	QWORD PTR -64[rbp]
	push	QWORD PTR -72[rbp]
	push	QWORD PTR -80[rbp]
	call	intersecao
	add	rsp, 64
	test	eax, eax
	jne	.L133
	push	QWORD PTR -56[rbp]
	push	QWORD PTR -64[rbp]
	push	QWORD PTR -72[rbp]
	push	QWORD PTR -80[rbp]
	push	QWORD PTR -24[rbp]
	push	QWORD PTR -32[rbp]
	push	QWORD PTR -40[rbp]
	push	QWORD PTR -48[rbp]
	call	intersecao
	add	rsp, 64
	test	eax, eax
	je	.L134
.L133:
	mov	eax, 1
	jmp	.L135
.L134:
	mov	eax, 0
.L135:
	test	eax, eax
	jne	.L136
	lea	rdi, .LC21[rip]
	call	puts@PLT
	jmp	.L117
.L136:
	push	QWORD PTR -24[rbp]
	push	QWORD PTR -32[rbp]
	push	QWORD PTR -40[rbp]
	push	QWORD PTR -48[rbp]
	push	QWORD PTR -56[rbp]
	push	QWORD PTR -64[rbp]
	push	QWORD PTR -72[rbp]
	push	QWORD PTR -80[rbp]
	call	intersecao_area
	add	rsp, 64
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC26[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L117
.L118:
	mov	eax, 0
	jmp	.L139
.L141:
	nop
.L117:
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	call	getchar@PLT
	lea	rdi, .LC18[rip]
	call	system@PLT
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, 5
	jne	.L116
	mov	eax, 0
.L139:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L140
	call	__stack_chk_fail@PLT
.L140:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	main, .-main
	.section	.rodata
	.align 16
.LC9:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.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	"571794.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Digite as coordenadas do ret\303\242ngulo:\000"
	.align	2
.LC1:
	.ascii	"\012\011Ponto superior esquerdo:\000"
	.align	2
.LC2:
	.ascii	"\011-> Coordenada x: \000"
	.align	2
.LC3:
	.ascii	"%lf\000"
	.align	2
.LC4:
	.ascii	"\011-> Coordenada y: \000"
	.align	2
.LC5:
	.ascii	"\012\011Ponto inferior direito:\000"
	.text
	.align	2
	.global	le_retangulo
	.syntax unified
	.arm
	.fpu softvfp
	.type	le_retangulo, %function
le_retangulo:
	@ 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, .L2
	bl	puts
	ldr	r0, .L2+4
	bl	puts
	ldr	r0, .L2+8
	bl	printf
	ldr	r3, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L2+12
	bl	__isoc99_scanf
	bl	getchar
	ldr	r0, .L2+16
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L2+12
	bl	__isoc99_scanf
	bl	getchar
	ldr	r0, .L2+20
	bl	puts
	ldr	r0, .L2+8
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #16
	mov	r1, r3
	ldr	r0, .L2+12
	bl	__isoc99_scanf
	bl	getchar
	ldr	r0, .L2+16
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #24
	mov	r1, r3
	ldr	r0, .L2+12
	bl	__isoc99_scanf
	bl	getchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	le_retangulo, .-le_retangulo
	.section	.rodata
	.align	2
.LC6:
	.ascii	"\012Digite as coordenadas do 1\302\272 ret\303\242n"
	.ascii	"gulo:\000"
	.align	2
.LC7:
	.ascii	"\012Digite as coordenadas do 2\302\272 ret\303\242n"
	.ascii	"gulo:\000"
	.text
	.align	2
	.global	le_retangulos
	.syntax unified
	.arm
	.fpu softvfp
	.type	le_retangulos, %function
le_retangulos:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r0, .L5
	bl	puts
	ldr	r0, .L5+4
	bl	puts
	ldr	r0, .L5+8
	bl	printf
	ldr	r3, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L5+12
	bl	__isoc99_scanf
	bl	getchar
	ldr	r0, .L5+16
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L5+12
	bl	__isoc99_scanf
	bl	getchar
	ldr	r0, .L5+20
	bl	puts
	ldr	r0, .L5+8
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #16
	mov	r1, r3
	ldr	r0, .L5+12
	bl	__isoc99_scanf
	bl	getchar
	ldr	r0, .L5+16
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #24
	mov	r1, r3
	ldr	r0, .L5+12
	bl	__isoc99_scanf
	bl	getchar
	ldr	r0, .L5+24
	bl	puts
	ldr	r0, .L5+4
	bl	puts
	ldr	r0, .L5+8
	bl	printf
	ldr	r3, [fp, #-12]
	mov	r1, r3
	ldr	r0, .L5+12
	bl	__isoc99_scanf
	bl	getchar
	ldr	r0, .L5+16
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L5+12
	bl	__isoc99_scanf
	bl	getchar
	ldr	r0, .L5+20
	bl	puts
	ldr	r0, .L5+8
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #16
	mov	r1, r3
	ldr	r0, .L5+12
	bl	__isoc99_scanf
	bl	getchar
	ldr	r0, .L5+16
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #24
	mov	r1, r3
	ldr	r0, .L5+12
	bl	__isoc99_scanf
	bl	getchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC6
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC7
	.size	le_retangulos, .-le_retangulos
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.global	__aeabi_dcmplt
	.align	2
	.global	area
	.syntax unified
	.arm
	.fpu softvfp
	.type	area, %function
area:
	@ args = 32, pretend = 16, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #8
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	ldmib	fp, {r0-r1}
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	add	r1, fp, #12
	ldmia	r1, {r0-r1}
	add	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	ldr	r4, [fp, #-28]
	ldr	r3, [fp, #-24]
	eor	r5, r3, #-2147483648
	b	.L11
.L13:
	sub	r5, fp, #28
	ldmia	r5, {r4-r5}
.L11:
	mov	r2, r4
	mov	r3, r5
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, lr}
	add	sp, sp, #16
	bx	lr
	.size	area, .-area
	.global	__aeabi_dcmpgt
	.align	2
	.global	intersecao
	.syntax unified
	.arm
	.fpu softvfp
	.type	intersecao, %function
intersecao:
	@ args = 64, pretend = 16, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	add	r1, fp, #36
	ldmia	r1, {r0-r1}
	ldmib	fp, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	add	r1, fp, #36
	ldmia	r1, {r0-r1}
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
.L15:
	add	r1, fp, #44
	ldmia	r1, {r0-r1}
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	add	r1, fp, #44
	ldmia	r1, {r0-r1}
	add	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
.L17:
	mov	r3, #1
	b	.L21
.L18:
	mov	r3, #0
.L21:
	cmp	r3, #1
	bne	.L22
	mov	r3, #1
	str	r3, [fp, #-12]
.L22:
	add	r1, fp, #52
	ldmia	r1, {r0-r1}
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	add	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldmib	fp, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
.L23:
	add	r1, fp, #60
	ldmia	r1, {r0-r1}
	add	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
	add	r1, fp, #60
	ldmia	r1, {r0-r1}
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
.L25:
	mov	r3, #1
	b	.L29
.L26:
	mov	r3, #0
.L29:
	cmp	r3, #1
	bne	.L30
	mov	r3, #1
	str	r3, [fp, #-8]
.L30:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L31
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L32
.L31:
	mov	r3, #1
	b	.L33
.L32:
	mov	r3, #0
.L33:
	cmp	r3, #1
	bne	.L34
	mov	r3, #1
	b	.L35
.L34:
	mov	r3, #0
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
	.size	intersecao, .-intersecao
	.global	__aeabi_dcmpeq
	.align	2
	.global	contido
	.syntax unified
	.arm
	.fpu softvfp
	.type	contido, %function
contido:
	@ args = 64, pretend = 16, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	add	r1, fp, #36
	ldmia	r1, {r0-r1}
	ldmib	fp, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L41
	add	r1, fp, #36
	ldmia	r1, {r0-r1}
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L41
	add	r1, fp, #44
	ldmia	r1, {r0-r1}
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L41
	add	r1, fp, #44
	ldmia	r1, {r0-r1}
	add	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L41
	add	r1, fp, #52
	ldmia	r1, {r0-r1}
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	add	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldmib	fp, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	add	r1, fp, #60
	ldmia	r1, {r0-r1}
	add	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	add	r1, fp, #60
	ldmia	r1, {r0-r1}
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	mov	r3, #1
	b	.L51
.L46:
	mov	r3, #0
.L51:
	cmp	r3, #1
	bne	.L41
	mov	r3, #2
	b	.L52
.L41:
	ldmib	fp, {r0-r1}
	add	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L53
	ldmib	fp, {r0-r1}
	add	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L53
	add	r1, fp, #12
	ldmia	r1, {r0-r1}
	add	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L53
	add	r1, fp, #12
	ldmia	r1, {r0-r1}
	add	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L53
	add	r1, fp, #20
	ldmia	r1, {r0-r1}
	add	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L58
	add	r1, fp, #20
	ldmia	r1, {r0-r1}
	add	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L58
	add	r1, fp, #28
	ldmia	r1, {r0-r1}
	add	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L58
	add	r1, fp, #28
	ldmia	r1, {r0-r1}
	add	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L58
	mov	r3, #1
	b	.L63
.L58:
	mov	r3, #0
.L63:
	cmp	r3, #1
	bne	.L53
	mov	r3, #1
	b	.L52
.L53:
	ldmib	fp, {r0-r1}
	add	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L64
	add	r1, fp, #12
	ldmia	r1, {r0-r1}
	add	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L64
	add	r1, fp, #20
	ldmia	r1, {r0-r1}
	add	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L64
	add	r1, fp, #28
	ldmia	r1, {r0-r1}
	add	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L64
	mov	r3, #1
	b	.L69
.L64:
	mov	r3, #0
.L69:
	cmp	r3, #1
	bne	.L70
	mov	r3, #3
	b	.L52
.L70:
	mov	r3, #0
.L52:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
	.size	contido, .-contido
	.global	__aeabi_dcmpge
	.global	__aeabi_dcmple
	.section	.rodata
	.align	2
.LC8:
	.ascii	"\012sup_esq (%lf,%lf)\012inf_dir(%lf,%lf)\012\000"
	.text
	.align	2
	.global	intersecao_area
	.syntax unified
	.arm
	.fpu softvfp
	.type	intersecao_area, %function
intersecao_area:
	@ args = 64, pretend = 16, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #56
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	add	r1, fp, #36
	ldmia	r1, {r0-r1}
	ldmib	fp, {r2-r3}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L92
	add	r1, fp, #36
	ldmia	r1, {r0-r1}
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L92
	add	r3, fp, #36
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	b	.L95
.L92:
	ldmib	fp, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
.L95:
	add	r1, fp, #44
	ldmia	r1, {r0-r1}
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L96
	add	r1, fp, #44
	ldmia	r1, {r0-r1}
	add	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L96
	add	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	b	.L99
.L96:
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
.L99:
	add	r1, fp, #52
	ldmia	r1, {r0-r1}
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L100
	add	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldmib	fp, {r2-r3}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L100
	add	r3, fp, #52
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	b	.L103
.L100:
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
.L103:
	add	r1, fp, #60
	ldmia	r1, {r0-r1}
	add	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L104
	add	r1, fp, #60
	ldmia	r1, {r0-r1}
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L104
	add	r3, fp, #60
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L107
.L104:
	add	r3, fp, #28
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
.L107:
	sub	r7, fp, #52
	ldmia	r7, {r6-r7}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	sub	r5, fp, #28
	ldmia	r5, {r4-r5}
	str	r4, [sp, #16]
	str	r5, [sp, #20]
	str	r0, [sp, #8]
	str	r1, [sp, #12]
	stm	sp, {r2-r3}
	mov	r2, r6
	mov	r3, r7
	ldr	r0, .L117
	bl	printf
	mov	ip, sp
	sub	r3, fp, #36
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, fp, #52
	ldm	r3, {r0, r1, r2, r3}
	bl	area
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, lr}
	add	sp, sp, #16
	bx	lr
.L118:
	.align	2
.L117:
	.word	.LC8
	.size	intersecao_area, .-intersecao_area
	.section	.rodata
	.align	2
.LC9:
	.ascii	"\012\011(1) Calcular a \303\241rea de um ret\303\242"
	.ascii	"ngulo\000"
	.align	2
.LC10:
	.ascii	"\011(2) Verificar interse\303\247\303\243o de retan"
	.ascii	"gulos\000"
	.align	2
.LC11:
	.ascii	"\011(3) Verificar se um ret\303\242ngulo est\303\241"
	.ascii	" contido em um outro\000"
	.align	2
.LC12:
	.ascii	"\011(4) Calcular a \303\241rea da interse\303\247\303"
	.ascii	"\243o entre dois retangulos\000"
	.align	2
.LC13:
	.ascii	"\011(5) Sair\000"
	.align	2
.LC14:
	.ascii	"\012\011Digite sua escolha: \000"
	.align	2
.LC15:
	.ascii	"%i\000"
	.align	2
.LC16:
	.ascii	"clear\000"
	.align	2
.LC17:
	.ascii	"\012\303\201rea = %lf\012\000"
	.align	2
.LC18:
	.ascii	"\012Os ret\303\242ngulos dados se intersectam!\000"
	.align	2
.LC19:
	.ascii	"\012Os ret\303\242ngulos dados n\303\243o se inters"
	.ascii	"ectam!\000"
	.align	2
.LC20:
	.ascii	"\012O ret\303\242ngulo 1 est\303\241 contido no ret"
	.ascii	"\303\242ngulo 2\000"
	.align	2
.LC21:
	.ascii	"\012O ret\303\242ngulo 2 est\303\241 contido no ret"
	.ascii	"\303\242ngulo 1\000"
	.align	2
.LC22:
	.ascii	"\012Os ret\303\242ngulos s\303\243o identicos\000"
	.align	2
.LC23:
	.ascii	"\012Nenhum ret\303\242ngulo est\303\241 contido no "
	.ascii	"outro\000"
	.align	2
.LC24:
	.ascii	"\012\303\201rea da interse\303\247\303\243o = %lf\012"
	.ascii	"\000"
	.align	2
.LC25:
	.ascii	"\012Pressione ENTER para continuar: \000"
	.align	2
.LC26:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	ldr	r3, .L150
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L122:
	ldr	r0, .L150+4
	bl	puts
	ldr	r0, .L150+8
	bl	puts
	ldr	r0, .L150+12
	bl	puts
	ldr	r0, .L150+16
	bl	puts
	ldr	r0, .L150+20
	bl	puts
	ldr	r0, .L150+24
	bl	printf
	sub	r3, fp, #80
	mov	r1, r3
	ldr	r0, .L150+28
	bl	__isoc99_scanf
	bl	getchar
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	ble	.L120
	ldr	r3, [fp, #-80]
	cmp	r3, #5
	ble	.L121
.L120:
	ldr	r0, .L150+32
	bl	system
.L121:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	ble	.L122
	ldr	r3, [fp, #-80]
	cmp	r3, #5
	bgt	.L122
	ldr	r3, [fp, #-80]
	sub	r3, r3, #1
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L123
.L125:
	.word	.L129
	.word	.L128
	.word	.L127
	.word	.L126
	.word	.L124
.L129:
	sub	r3, fp, #76
	mov	r0, r3
	bl	le_retangulo
	mov	ip, sp
	sub	r3, fp, #60
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, fp, #76
	ldm	r3, {r0, r1, r2, r3}
	bl	area
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L150+36
	bl	printf
	b	.L123
.L128:
	sub	r2, fp, #44
	sub	r3, fp, #76
	mov	r1, r2
	mov	r0, r3
	bl	le_retangulos
	add	lr, sp, #16
	sub	ip, fp, #44
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2, r3}
	stm	lr, {r0, r1, r2, r3}
	mov	ip, sp
	sub	r3, fp, #60
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, fp, #76
	ldm	r3, {r0, r1, r2, r3}
	bl	intersecao
	mov	r3, r0
	cmp	r3, #0
	bne	.L130
	add	lr, sp, #16
	sub	ip, fp, #76
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2, r3}
	stm	lr, {r0, r1, r2, r3}
	mov	ip, sp
	sub	r3, fp, #28
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, fp, #44
	ldm	r3, {r0, r1, r2, r3}
	bl	intersecao
	mov	r3, r0
	cmp	r3, #0
	beq	.L131
.L130:
	mov	r3, #1
	b	.L132
.L131:
	mov	r3, #0
.L132:
	cmp	r3, #1
	bne	.L133
	ldr	r0, .L150+40
	bl	puts
	b	.L123
.L133:
	ldr	r0, .L150+44
	bl	puts
	b	.L123
.L127:
	sub	r2, fp, #44
	sub	r3, fp, #76
	mov	r1, r2
	mov	r0, r3
	bl	le_retangulos
	add	lr, sp, #16
	sub	ip, fp, #44
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2, r3}
	stm	lr, {r0, r1, r2, r3}
	mov	ip, sp
	sub	r3, fp, #60
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, fp, #76
	ldm	r3, {r0, r1, r2, r3}
	bl	contido
	mov	r3, r0
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L149
.L137:
	.word	.L140
	.word	.L139
	.word	.L138
	.word	.L136
.L139:
	ldr	r0, .L150+48
	bl	puts
	b	.L135
.L138:
	ldr	r0, .L150+52
	bl	puts
	b	.L135
.L136:
	ldr	r0, .L150+56
	bl	puts
	b	.L135
.L140:
	ldr	r0, .L150+60
	bl	puts
	nop
.L135:
	b	.L149
.L126:
	sub	r2, fp, #44
	sub	r3, fp, #76
	mov	r1, r2
	mov	r0, r3
	bl	le_retangulos
	add	lr, sp, #16
	sub	ip, fp, #44
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2, r3}
	stm	lr, {r0, r1, r2, r3}
	mov	ip, sp
	sub	r3, fp, #60
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, fp, #76
	ldm	r3, {r0, r1, r2, r3}
	bl	intersecao
	mov	r3, r0
	cmp	r3, #0
	bne	.L141
	add	lr, sp, #16
	sub	ip, fp, #76
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2, r3}
	stm	lr, {r0, r1, r2, r3}
	mov	ip, sp
	sub	r3, fp, #28
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, fp, #44
	ldm	r3, {r0, r1, r2, r3}
	bl	intersecao
	mov	r3, r0
	cmp	r3, #0
	beq	.L142
.L141:
	mov	r3, #1
	b	.L143
.L142:
	mov	r3, #0
.L143:
	cmp	r3, #0
	bne	.L144
	ldr	r0, .L150+44
	bl	puts
	b	.L123
.L144:
	add	lr, sp, #16
	sub	ip, fp, #44
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2, r3}
	stm	lr, {r0, r1, r2, r3}
	mov	ip, sp
	sub	r3, fp, #60
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, fp, #76
	ldm	r3, {r0, r1, r2, r3}
	bl	intersecao_area
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L150+64
	bl	printf
	b	.L123
.L124:
	mov	r3, #0
	b	.L147
.L149:
	nop
.L123:
	ldr	r0, .L150+68
	bl	printf
	bl	getchar
	ldr	r0, .L150+32
	bl	system
	ldr	r3, [fp, #-80]
	cmp	r3, #5
	bne	.L122
	mov	r3, #0
.L147:
	ldr	r2, .L150
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L148
	bl	__stack_chk_fail
.L148:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L151:
	.align	2
.L150:
	.word	.LC26
	.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
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
