	.file	"34513061.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"the first is the fastest"
.LC2:
	.string	"the second is the fastest"
	.align 8
.LC3:
	.string	"both have the same maximum speed"
	.text
	.globl	calcFaster
	.type	calcFaster, @function
calcFaster:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	pxor	xmm0, xmm0
	movss	DWORD PTR -16[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L2
.L5:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	comiss	xmm0, DWORD PTR -16[rbp]
	jbe	.L3
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -16[rbp], xmm0
.L3:
	add	DWORD PTR -8[rbp], 1
.L2:
	cmp	DWORD PTR -8[rbp], 9
	jle	.L5
	mov	DWORD PTR -4[rbp], 0
	jmp	.L6
.L9:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	comiss	xmm0, DWORD PTR -12[rbp]
	jbe	.L7
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -12[rbp], xmm0
.L7:
	add	DWORD PTR -4[rbp], 1
.L6:
	cmp	DWORD PTR -4[rbp], 9
	jle	.L9
	movss	xmm0, DWORD PTR -16[rbp]
	comiss	xmm0, DWORD PTR -12[rbp]
	jbe	.L22
	lea	rdi, .LC1[rip]
	call	puts@PLT
	movss	xmm0, DWORD PTR -16[rbp]
	jmp	.L12
.L22:
	movss	xmm0, DWORD PTR -12[rbp]
	comiss	xmm0, DWORD PTR -16[rbp]
	jbe	.L23
	lea	rdi, .LC2[rip]
	call	puts@PLT
	movss	xmm0, DWORD PTR -12[rbp]
	jmp	.L12
.L23:
	movss	xmm0, DWORD PTR -16[rbp]
	ucomiss	xmm0, DWORD PTR -12[rbp]
	jp	.L15
	movss	xmm0, DWORD PTR -16[rbp]
	ucomiss	xmm0, DWORD PTR -12[rbp]
	jne	.L15
	lea	rdi, .LC3[rip]
	call	puts@PLT
	movss	xmm0, DWORD PTR .LC4[rip]
	jmp	.L12
.L15:
	pxor	xmm0, xmm0
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	calcFaster, .-calcFaster
	.globl	calcMedia
	.type	calcMedia, @function
calcMedia:
.LFB1:
	.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 -24[rbp], rdi
	pxor	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L25
.L26:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	xmm1, DWORD PTR -12[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	add	DWORD PTR -8[rbp], 1
.L25:
	cmp	DWORD PTR -8[rbp], 9
	jle	.L26
	movss	xmm0, DWORD PTR -12[rbp]
	movss	xmm1, DWORD PTR .LC5[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	movss	xmm0, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	calcMedia, .-calcMedia
	.section	.rodata
.LC20:
	.string	"the first car %d\n"
.LC21:
	.string	"the second car %d\n"
	.align 8
.LC22:
	.string	"value of the highest speed %.2f\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movss	xmm0, DWORD PTR .LC5[rip]
	movss	DWORD PTR -96[rbp], xmm0
	movss	xmm0, DWORD PTR .LC6[rip]
	movss	DWORD PTR -92[rbp], xmm0
	movss	xmm0, DWORD PTR .LC7[rip]
	movss	DWORD PTR -88[rbp], xmm0
	movss	xmm0, DWORD PTR .LC8[rip]
	movss	DWORD PTR -84[rbp], xmm0
	movss	xmm0, DWORD PTR .LC9[rip]
	movss	DWORD PTR -80[rbp], xmm0
	movss	xmm0, DWORD PTR .LC10[rip]
	movss	DWORD PTR -76[rbp], xmm0
	movss	xmm0, DWORD PTR .LC11[rip]
	movss	DWORD PTR -72[rbp], xmm0
	movss	xmm0, DWORD PTR .LC12[rip]
	movss	DWORD PTR -68[rbp], xmm0
	movss	xmm0, DWORD PTR .LC13[rip]
	movss	DWORD PTR -64[rbp], xmm0
	movss	xmm0, DWORD PTR .LC14[rip]
	movss	DWORD PTR -60[rbp], xmm0
	movss	xmm0, DWORD PTR .LC6[rip]
	movss	DWORD PTR -56[rbp], xmm0
	movss	xmm0, DWORD PTR .LC7[rip]
	movss	DWORD PTR -52[rbp], xmm0
	movss	xmm0, DWORD PTR .LC15[rip]
	movss	DWORD PTR -48[rbp], xmm0
	movss	xmm0, DWORD PTR .LC16[rip]
	movss	DWORD PTR -44[rbp], xmm0
	movss	xmm0, DWORD PTR .LC10[rip]
	movss	DWORD PTR -40[rbp], xmm0
	movss	xmm0, DWORD PTR .LC11[rip]
	movss	DWORD PTR -36[rbp], xmm0
	movss	xmm0, DWORD PTR .LC12[rip]
	movss	DWORD PTR -32[rbp], xmm0
	movss	xmm0, DWORD PTR .LC17[rip]
	movss	DWORD PTR -28[rbp], xmm0
	movss	xmm0, DWORD PTR .LC18[rip]
	movss	DWORD PTR -24[rbp], xmm0
	movss	xmm0, DWORD PTR .LC19[rip]
	movss	DWORD PTR -20[rbp], xmm0
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	calcMedia
	cvttss2si	eax, xmm0
	mov	DWORD PTR -108[rbp], eax
	lea	rax, -96[rbp]
	add	rax, 40
	mov	rdi, rax
	call	calcMedia
	cvttss2si	eax, xmm0
	mov	DWORD PTR -104[rbp], eax
	mov	eax, DWORD PTR -108[rbp]
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -104[rbp]
	mov	esi, eax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -96[rbp]
	lea	rdx, 40[rax]
	lea	rax, -96[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	calcFaster
	movd	eax, xmm0
	mov	DWORD PTR -100[rbp], eax
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -100[rbp]
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC22[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC4:
	.long	-1082130432
	.align 4
.LC5:
	.long	1092616192
	.align 4
.LC6:
	.long	1101004800
	.align 4
.LC7:
	.long	1106247680
	.align 4
.LC8:
	.long	1109393408
	.align 4
.LC9:
	.long	1112014848
	.align 4
.LC10:
	.long	1114636288
	.align 4
.LC11:
	.long	1116471296
	.align 4
.LC12:
	.long	1117782016
	.align 4
.LC13:
	.long	1128792064
	.align 4
.LC14:
	.long	1133903872
	.align 4
.LC15:
	.long	1133576192
	.align 4
.LC16:
	.long	1135542272
	.align 4
.LC17:
	.long	1119092736
	.align 4
.LC18:
	.long	1125515264
	.align 4
.LC19:
	.long	1121714176
	.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	"34513061.c"
	.text
	.global	__aeabi_fcmplt
	.global	__aeabi_fcmpgt
	.section	.rodata
	.align	2
.LC1:
	.ascii	"the first is the fastest\000"
	.align	2
.LC2:
	.ascii	"the second is the fastest\000"
	.global	__aeabi_fcmpeq
	.align	2
.LC3:
	.ascii	"both have the same maximum speed\000"
	.text
	.align	2
	.global	calcFaster
	.syntax unified
	.arm
	.fpu softvfp
	.type	calcFaster, %function
calcFaster:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-20]	@ float
	mov	r3, #0
	str	r3, [fp, #-16]	@ float
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L5:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-20]	@ float
.L3:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	ble	.L5
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L6
.L9:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-16]	@ float
.L7:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L6:
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	ble	.L9
	ldr	r1, [fp, #-16]	@ float
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	ldr	r0, .L25
	bl	puts
	ldr	r3, [fp, #-20]	@ float
	b	.L12
.L22:
	ldr	r1, [fp, #-16]	@ float
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	ldr	r0, .L25+4
	bl	puts
	ldr	r3, [fp, #-16]	@ float
	b	.L12
.L23:
	ldr	r1, [fp, #-16]	@ float
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	ldr	r0, .L25+8
	bl	puts
	ldr	r3, .L25+12
	b	.L12
.L24:
	mov	r3, #0
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	-1082130432
	.size	calcFaster, .-calcFaster
	.global	__aeabi_fadd
	.global	__aeabi_fdiv
	.align	2
	.global	calcMedia
	.syntax unified
	.arm
	.fpu softvfp
	.type	calcMedia, %function
calcMedia:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]	@ float
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L28
.L29:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L28:
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	ble	.L29
	ldr	r1, .L31
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	ldr	r3, [fp, #-8]	@ float
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	1092616192
	.size	calcMedia, .-calcMedia
	.global	__aeabi_f2iz
	.section	.rodata
	.align	2
.LC4:
	.ascii	"the first car %d\012\000"
	.align	2
.LC5:
	.ascii	"the second car %d\012\000"
	.global	__aeabi_f2d
	.align	2
.LC6:
	.ascii	"value of the highest speed %.2f\012\000"
	.align	2
.LC0:
	.word	1092616192
	.word	1101004800
	.word	1106247680
	.word	1109393408
	.word	1112014848
	.word	1114636288
	.word	1116471296
	.word	1117782016
	.word	1128792064
	.word	1133903872
	.word	1101004800
	.word	1106247680
	.word	1133576192
	.word	1135542272
	.word	1114636288
	.word	1116471296
	.word	1117782016
	.word	1119092736
	.word	1125515264
	.word	1121714176
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	ldr	r3, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L36+4
	sub	r3, fp, #88
	mov	r1, r2
	mov	r2, #80
	mov	r0, r3
	bl	memcpy
	sub	r3, fp, #88
	mov	r0, r3
	bl	calcMedia
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-100]
	sub	r3, fp, #88
	add	r3, r3, #40
	mov	r0, r3
	bl	calcMedia
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-96]
	ldr	r1, [fp, #-100]
	ldr	r0, .L36+8
	bl	printf
	ldr	r1, [fp, #-96]
	ldr	r0, .L36+12
	bl	printf
	sub	r3, fp, #88
	add	r2, r3, #40
	sub	r3, fp, #88
	mov	r1, r2
	mov	r0, r3
	bl	calcFaster
	str	r0, [fp, #-92]	@ float
	ldr	r0, [fp, #-92]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L36+16
	bl	printf
	mov	r3, #0
	ldr	r2, .L36
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC7
	.word	.LC0
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
