	.file	"365449.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"This program calculates the perimeter and area of a triangle and compares itsarea with the area of a rectangle.\n"
.LC1:
	.string	"The area of the triangle is "
.LC2:
	.string	"equal to"
.LC3:
	.string	"greater than"
.LC4:
	.string	"less than"
.LC5:
	.string	" the area of the rectangle."
	.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, 16
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 0
	call	calculateTriangle
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	mov	eax, 0
	call	calculateRectangle
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	movsd	xmm0, QWORD PTR -16[rbp]
	ucomisd	xmm0, QWORD PTR -8[rbp]
	jp	.L2
	movsd	xmm0, QWORD PTR -16[rbp]
	ucomisd	xmm0, QWORD PTR -8[rbp]
	jne	.L2
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L4
.L2:
	movsd	xmm0, QWORD PTR -16[rbp]
	comisd	xmm0, QWORD PTR -8[rbp]
	jbe	.L10
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L4
.L10:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L4:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC6:
	.string	"Please enter a triangle's dimensions."
.LC7:
	.string	"Side A (1 - 100): "
.LC8:
	.string	" %d"
.LC9:
	.string	"Side B (1 - 100): "
.LC10:
	.string	"Side C (1 - 100): "
	.align 8
.LC11:
	.string	"The dimensions entered create a valid triangle. It's perimeter is %0.1f "
.LC13:
	.string	"and its area is %0.1f. \n"
.LC14:
	.string	"\n\nProgram must now terminate."
	.text
	.globl	calculateTriangle
	.type	calculateTriangle, @function
calculateTriangle:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -44[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -36[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	edx, DWORD PTR -36[rbp]
	mov	ecx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	validateTriangleSides
	test	eax, eax
	je	.L12
	mov	edx, DWORD PTR -36[rbp]
	mov	ecx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	validateTriangleDimensions
	test	eax, eax
	je	.L12
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -40[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -36[rbp]
	add	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -32[rbp], xmm0
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR -32[rbp]
	movsd	xmm1, QWORD PTR .LC12[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	mov	eax, DWORD PTR -44[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR -24[rbp]
	subsd	xmm0, xmm1
	movapd	xmm1, xmm0
	mulsd	xmm1, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -40[rbp]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR -24[rbp]
	subsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -36[rbp]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR -24[rbp]
	subsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR -16[rbp]
	movq	rax, xmm0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L14
	jmp	.L15
.L12:
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L15:
	call	__stack_chk_fail@PLT
.L14:
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	calculateTriangle, .-calculateTriangle
	.section	.rodata
.LC15:
	.string	"Side C"
.LC16:
	.string	"Side B"
.LC17:
	.string	"Side A"
	.align 8
.LC18:
	.string	" of the triangle is out of range."
	.text
	.globl	validateTriangleSides
	.type	validateTriangleSides, @function
validateTriangleSides:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	DWORD PTR -12[rbp], edx
	cmp	DWORD PTR -4[rbp], 0
	jle	.L17
	cmp	DWORD PTR -4[rbp], 100
	jg	.L17
	cmp	DWORD PTR -8[rbp], 0
	jle	.L18
	cmp	DWORD PTR -8[rbp], 100
	jg	.L18
	cmp	DWORD PTR -12[rbp], 0
	jle	.L19
	cmp	DWORD PTR -12[rbp], 100
	jg	.L19
	mov	eax, 1
	jmp	.L20
.L19:
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	jmp	.L22
.L18:
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L22
.L17:
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
.L22:
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	validateTriangleSides, .-validateTriangleSides
	.section	.rodata
	.align 8
.LC19:
	.string	"The dimensions of the given sides do not create a valid triangle."
	.text
	.globl	validateTriangleDimensions
	.type	validateTriangleDimensions, @function
validateTriangleDimensions:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	DWORD PTR -12[rbp], edx
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, edx
	cmp	DWORD PTR -12[rbp], eax
	jge	.L24
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	cmp	DWORD PTR -4[rbp], eax
	jge	.L24
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	cmp	DWORD PTR -8[rbp], eax
	jge	.L24
	mov	eax, 1
	jmp	.L25
.L24:
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	validateTriangleDimensions, .-validateTriangleDimensions
	.section	.rodata
	.align 8
.LC20:
	.string	"\nWe will now calculate the area of a rectangle. \n"
	.align 8
.LC21:
	.string	"Enter the length of the rectangle: "
.LC22:
	.string	" %lf"
	.align 8
.LC23:
	.string	"Enter the width of the rectangle: "
	.align 8
.LC24:
	.string	"\nThe area of the rectangle is: %0.1lf.\n\n"
	.text
	.globl	calculateRectangle
	.type	calculateRectangle, @function
calculateRectangle:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC20[rip]
	call	puts@PLT
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movsd	xmm1, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR -24[rbp]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	lea	rdi, .LC24[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR -16[rbp]
	movq	rax, xmm0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	calculateRectangle, .-calculateRectangle
	.section	.rodata
	.align 8
.LC12:
	.long	0
	.long	1073741824
	.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	"365449.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"This program calculates the perimeter and area of a"
	.ascii	" triangle and compares itsarea with the area of a r"
	.ascii	"ectangle.\012\000"
	.align	2
.LC1:
	.ascii	"The area of the triangle is \000"
	.global	__aeabi_dcmpeq
	.align	2
.LC2:
	.ascii	"equal to\000"
	.global	__aeabi_dcmpgt
	.align	2
.LC3:
	.ascii	"greater than\000"
	.align	2
.LC4:
	.ascii	"less than\000"
	.align	2
.LC5:
	.ascii	" the area of the rectangle.\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r0, .L12
	bl	puts
	bl	calculateTriangle
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	bl	calculateRectangle
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	ldr	r0, .L12+4
	bl	printf
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r0, .L12+8
	bl	printf
	b	.L4
.L10:
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r0, .L12+12
	bl	printf
	b	.L4
.L11:
	ldr	r0, .L12+16
	bl	printf
.L4:
	ldr	r0, .L12+20
	bl	puts
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.section	.rodata
	.align	2
.LC6:
	.ascii	"Please enter a triangle's dimensions.\000"
	.align	2
.LC7:
	.ascii	"Side A (1 - 100): \000"
	.align	2
.LC8:
	.ascii	" %d\000"
	.align	2
.LC9:
	.ascii	"Side B (1 - 100): \000"
	.align	2
.LC10:
	.ascii	"Side C (1 - 100): \000"
	.global	__aeabi_i2d
	.align	2
.LC11:
	.ascii	"The dimensions entered create a valid triangle. It'"
	.ascii	"s perimeter is %0.1f \000"
	.global	__aeabi_ddiv
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.align	2
.LC12:
	.ascii	"and its area is %0.1f. \012\000"
	.align	2
.LC13:
	.ascii	"\012\012Program must now terminate.\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	calculateTriangle
	.syntax unified
	.arm
	.fpu softvfp
	.type	calculateTriangle, %function
calculateTriangle:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #48
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L19+4
	bl	puts
	ldr	r0, .L19+8
	bl	printf
	sub	r3, fp, #56
	mov	r1, r3
	ldr	r0, .L19+12
	bl	__isoc99_scanf
	ldr	r0, .L19+16
	bl	printf
	sub	r3, fp, #52
	mov	r1, r3
	ldr	r0, .L19+12
	bl	__isoc99_scanf
	ldr	r0, .L19+20
	bl	printf
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L19+12
	bl	__isoc99_scanf
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-56]
	ldr	r1, [fp, #-52]
	ldr	r2, [fp, #-48]
	mov	r0, r3
	bl	validateTriangleSides
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-56]
	ldr	r1, [fp, #-52]
	ldr	r2, [fp, #-48]
	mov	r0, r3
	bl	validateTriangleDimensions
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-52]
	add	r2, r2, r3
	ldr	r3, [fp, #-48]
	add	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r0, .L19+24
	bl	printf
	mov	r2, #0
	mov	r3, #1073741824
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-56]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-52]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-48]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L19+28
	bl	printf
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r1, .L19
	ldr	r0, [r1]
	ldr	r1, [fp, #-16]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L17
	b	.L18
.L15:
	ldr	r0, .L19+32
	bl	printf
	mov	r0, #0
	bl	exit
.L18:
	bl	__stack_chk_fail
.L17:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC14
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	calculateTriangle, .-calculateTriangle
	.section	.rodata
	.align	2
.LC15:
	.ascii	"Side C\000"
	.align	2
.LC16:
	.ascii	"Side B\000"
	.align	2
.LC17:
	.ascii	"Side A\000"
	.align	2
.LC18:
	.ascii	" of the triangle is out of range.\000"
	.text
	.align	2
	.global	validateTriangleSides
	.syntax unified
	.arm
	.fpu softvfp
	.type	validateTriangleSides, %function
validateTriangleSides:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L22
	ldr	r3, [fp, #-8]
	cmp	r3, #100
	bgt	.L22
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L23
	ldr	r3, [fp, #-12]
	cmp	r3, #100
	bgt	.L23
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L24
	ldr	r3, [fp, #-16]
	cmp	r3, #100
	bgt	.L24
	mov	r3, #1
	b	.L25
.L24:
	ldr	r0, .L28
	bl	printf
	nop
	b	.L27
.L23:
	ldr	r0, .L28+4
	bl	printf
	b	.L27
.L22:
	ldr	r0, .L28+8
	bl	printf
.L27:
	ldr	r0, .L28+12
	bl	printf
	mov	r3, #0
.L25:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.size	validateTriangleSides, .-validateTriangleSides
	.section	.rodata
	.align	2
.LC19:
	.ascii	"The dimensions of the given sides do not create a v"
	.ascii	"alid triangle.\000"
	.text
	.align	2
	.global	validateTriangleDimensions
	.syntax unified
	.arm
	.fpu softvfp
	.type	validateTriangleDimensions, %function
validateTriangleDimensions:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bge	.L31
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bge	.L31
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bge	.L31
	mov	r3, #1
	b	.L32
.L31:
	ldr	r0, .L33
	bl	printf
	mov	r3, #0
.L32:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC19
	.size	validateTriangleDimensions, .-validateTriangleDimensions
	.section	.rodata
	.align	2
.LC20:
	.ascii	"\012We will now calculate the area of a rectangle. "
	.ascii	"\012\000"
	.align	2
.LC21:
	.ascii	"Enter the length of the rectangle: \000"
	.align	2
.LC22:
	.ascii	" %lf\000"
	.align	2
.LC23:
	.ascii	"Enter the width of the rectangle: \000"
	.align	2
.LC24:
	.ascii	"\012The area of the rectangle is: %0.1lf.\012\012\000"
	.align	2
.LC25:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	calculateRectangle
	.syntax unified
	.arm
	.fpu softvfp
	.type	calculateRectangle, %function
calculateRectangle:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L38+4
	bl	puts
	ldr	r0, .L38+8
	bl	printf
	sub	r3, fp, #36
	mov	r1, r3
	ldr	r0, .L38+12
	bl	__isoc99_scanf
	ldr	r0, .L38+16
	bl	printf
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L38+12
	bl	__isoc99_scanf
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, .L38+20
	bl	printf
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r1, .L38
	ldr	r0, [r1]
	ldr	r1, [fp, #-8]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC25
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.size	calculateRectangle, .-calculateRectangle
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
