	.file	"47933.c"
	.intel_syntax noprefix
	.text
	.globl	boxArea
	.type	boxArea, @function
boxArea:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	QWORD PTR -32[rbp], rcx
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, QWORD PTR -8[rbp]
	jl	.L2
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, QWORD PTR -16[rbp]
	jge	.L3
.L2:
	mov	eax, 0
	jmp	.L4
.L3:
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR -8[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, QWORD PTR -16[rbp]
	imul	rax, rdx
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	boxArea, .-boxArea
	.section	.rodata
.LC0:
	.string	"%d\n"
	.text
	.globl	computeArea
	.type	computeArea, @function
computeArea:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	DWORD PTR -44[rbp], edx
	mov	DWORD PTR -48[rbp], ecx
	mov	DWORD PTR -52[rbp], r8d
	mov	DWORD PTR -56[rbp], r9d
	mov	eax, DWORD PTR -48[rbp]
	cmp	DWORD PTR 24[rbp], eax
	cmovle	eax, DWORD PTR 24[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -44[rbp]
	cmp	DWORD PTR 16[rbp], eax
	cmovle	eax, DWORD PTR 16[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -56[rbp], eax
	cmovge	eax, DWORD PTR -56[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -36[rbp]
	cmp	DWORD PTR -52[rbp], eax
	cmovge	eax, DWORD PTR -52[rbp]
	cdqe
	mov	rdi, rax
	call	boxArea
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -48[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -40[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	mov	rdi, rax
	call	boxArea
	mov	rbx, rax
	mov	eax, DWORD PTR 24[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR 16[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -56[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	mov	rdi, rax
	call	boxArea
	add	rax, rbx
	sub	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	computeArea, .-computeArea
	.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	"47933.c"
	.text
	.align	2
	.global	boxArea
	.syntax unified
	.arm
	.fpu softvfp
	.type	boxArea, %function
boxArea:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L2
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bge	.L3
.L2:
	mov	r3, #0
	b	.L4
.L3:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-12]
	sub	r2, r1, r2
	mul	r3, r2, r3
.L4:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	boxArea, .-boxArea
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\012\000"
	.text
	.align	2
	.global	computeArea
	.syntax unified
	.arm
	.fpu softvfp
	.type	computeArea, %function
computeArea:
	@ args = 16, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r2, [fp, #4]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	movge	r0, r2
	movlt	r0, r3
	ldr	r2, [fp, #8]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	movge	r1, r2
	movlt	r1, r3
	ldr	r2, [fp, #12]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	movlt	ip, r2
	movge	ip, r3
	ldr	r2, [fp, #16]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	mov	r2, ip
	bl	boxArea
	str	r0, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, .L7
	bl	printf
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	boxArea
	mov	r4, r0
	ldr	r3, [fp, #16]
	ldr	r2, [fp, #12]
	ldr	r1, [fp, #8]
	ldr	r0, [fp, #4]
	bl	boxArea
	mov	r3, r0
	add	r2, r4, r3
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.size	computeArea, .-computeArea
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
