	.file	"565526.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC2:
	.string	"MAXLEN=%d\n"
.LC3:
	.string	"a=%3d,  b=%3d,  max(a,b)=%3d\n"
	.align 8
.LC4:
	.string	"c=%3.1f,  d=%3.1f,  max(c,d)=%3.1f\n"
	.align 8
.LC5:
	.string	"a=%3d,  b=%3d,  max(a++,b++)=%3d\n"
.LC6:
	.string	"square1(%d+%d)=%d\n"
.LC7:
	.string	"square2(%d+%d)=%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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 -16[rbp], 3
	mov	DWORD PTR -12[rbp], 19
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR -8[rbp], xmm0
	movss	xmm0, DWORD PTR .LC1[rip]
	movss	DWORD PTR -4[rbp], xmm0
	mov	esi, 100
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -16[rbp]
	cmp	DWORD PTR -12[rbp], eax
	cmovge	eax, DWORD PTR -12[rbp]
	mov	ecx, eax
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	movss	xmm0, DWORD PTR -8[rbp]
	comiss	xmm0, DWORD PTR -4[rbp]
	jbe	.L9
	movss	xmm0, DWORD PTR -8[rbp]
	jmp	.L4
.L9:
	movss	xmm0, DWORD PTR -4[rbp]
.L4:
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -4[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -8[rbp]
	movq	rax, xmm3
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC4[rip]
	mov	eax, 3
	call	printf@PLT
	mov	edx, DWORD PTR -16[rbp]
	lea	eax, 1[rdx]
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	lea	ecx, 1[rax]
	mov	DWORD PTR -12[rbp], ecx
	cmp	edx, eax
	jle	.L5
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -16[rbp], edx
	jmp	.L6
.L5:
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
.L6:
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, DWORD PTR -16[rbp]
	mov	ecx, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	imul	eax, DWORD PTR -16[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -16[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	lea	ecx, [rdx+rax]
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -12[rbp]
	add	edx, eax
	mov	ecx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -12[rbp]
	add	eax, ecx
	mov	ecx, edx
	imul	ecx, eax
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC0:
	.long	1091567616
	.align 4
.LC1:
	.long	1090833613
	.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	"565526.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"MAXLEN=%d\012\000"
	.align	2
.LC1:
	.ascii	"a=%3d,  b=%3d,  max(a,b)=%3d\012\000"
	.global	__aeabi_f2d
	.global	__aeabi_fcmpgt
	.align	2
.LC2:
	.ascii	"c=%3.1f,  d=%3.1f,  max(c,d)=%3.1f\012\000"
	.align	2
.LC3:
	.ascii	"a=%3d,  b=%3d,  max(a++,b++)=%3d\012\000"
	.align	2
.LC4:
	.ascii	"square1(%d+%d)=%d\012\000"
	.align	2
.LC5:
	.ascii	"square2(%d+%d)=%d\012\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	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #32
	mov	r3, #3
	str	r3, [fp, #-36]
	mov	r3, #19
	str	r3, [fp, #-32]
	ldr	r3, .L10
	str	r3, [fp, #-28]	@ float
	ldr	r3, .L10+4
	str	r3, [fp, #-24]	@ float
	mov	r1, #100
	ldr	r0, .L10+8
	bl	printf
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-36]
	ldr	r0, .L10+12
	bl	printf
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r1, [fp, #-24]	@ float
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-28]	@ float
	b	.L4
.L9:
	ldr	r3, [fp, #-24]	@ float
.L4:
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r4-r5}
	mov	r2, r6
	mov	r3, r7
	ldr	r0, .L10+16
	bl	printf
	ldr	r2, [fp, #-36]
	add	r3, r2, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-32]
	add	r1, r3, #1
	str	r1, [fp, #-32]
	cmp	r2, r3
	ble	.L5
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	b	.L6
.L5:
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
.L6:
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-36]
	ldr	r0, .L10+20
	bl	printf
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-36]
	mul	r2, r3, r2
	ldr	r3, [fp, #-36]
	add	r2, r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-36]
	ldr	r0, .L10+24
	bl	printf
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldr	r1, [fp, #-36]
	ldr	r2, [fp, #-32]
	add	r2, r1, r2
	mul	r3, r2, r3
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-36]
	ldr	r0, .L10+28
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L11:
	.align	2
.L10:
	.word	1091567616
	.word	1090833613
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
