	.file	"458879.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"negative time"
.LC2:
	.string	"negative mass"
.LC3:
	.string	"NaN mass"
.LC4:
	.string	"NaN time"
	.text
	.globl	free_fall_energy
	.type	free_fall_energy, @function
free_fall_energy:
.LFB0:
	.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
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	QWORD PTR -64[rbp], xmm1
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -56[rbp]
	jbe	.L17
	lea	rax, .LC1[rip]
	jmp	.L4
.L17:
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -64[rbp]
	jbe	.L18
	lea	rax, .LC2[rip]
	jmp	.L4
.L18:
	movsd	xmm0, QWORD PTR -56[rbp]
	ucomisd	xmm0, QWORD PTR -56[rbp]
	jp	.L8
	movsd	xmm0, QWORD PTR -64[rbp]
	ucomisd	xmm0, QWORD PTR -64[rbp]
	jnp	.L9
	lea	rax, .LC3[rip]
	jmp	.L4
.L9:
	mov	eax, 0
	jmp	.L4
.L8:
	lea	rax, .LC4[rip]
.L4:
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	je	.L12
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	jmp	.L14
.L12:
	movsd	xmm1, QWORD PTR -56[rbp]
	movsd	xmm0, QWORD PTR .LC5[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC6[rip]
	mov	rax, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	mulsd	xmm0, QWORD PTR -64[rbp]
	movsd	xmm1, QWORD PTR .LC6[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
.L14:
	mov	rcx, rax
	mov	rbx, rdx
	mov	rax, rdx
	movq	xmm0, rcx
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	free_fall_energy, .-free_fall_energy
	.section	.rodata
.LC8:
	.string	"error: %s\n"
	.align 8
.LC9:
	.string	"Energy after one second: %g Joules\n"
	.align 8
.LC10:
	.string	"Energy after two seconds: %g Joules\n"
	.align 8
.LC11:
	.string	"Energy after 0/0 seconds: %g Joules\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.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
	pxor	xmm0, xmm0
	movsd	QWORD PTR -32[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC7[rip]
	mov	rax, QWORD PTR .LC7[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	free_fall_energy
	movq	rdx, xmm0
	mov	QWORD PTR -16[rbp], rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	test	rax, rax
	je	.L20
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L24
.L20:
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR .LC7[rip]
	mov	rax, QWORD PTR .LC6[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	free_fall_energy
	movq	rdx, xmm0
	mov	QWORD PTR -16[rbp], rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	test	rax, rax
	je	.L22
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L24
.L22:
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR -32[rbp]
	divsd	xmm0, QWORD PTR -24[rbp]
	movq	rax, xmm0
	movsd	xmm0, QWORD PTR .LC7[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	free_fall_energy
	movq	rdx, xmm0
	mov	QWORD PTR -16[rbp], rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	test	rax, rax
	je	.L23
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L24
.L23:
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC5:
	.long	-1717986918
	.long	1076074905
	.align 8
.LC6:
	.long	0
	.long	1073741824
	.align 8
.LC7:
	.long	0
	.long	1072693248
	.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	"458879.c"
	.text
	.global	__aeabi_dcmplt
	.section	.rodata
	.align	2
.LC0:
	.ascii	"negative time\000"
	.align	2
.LC1:
	.ascii	"negative mass\000"
	.global	__aeabi_dcmpun
	.align	2
.LC2:
	.ascii	"NaN mass\000"
	.align	2
.LC3:
	.ascii	"NaN time\000"
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.text
	.align	2
	.global	free_fall_energy
	.syntax unified
	.arm
	.fpu softvfp
	.type	free_fall_energy, %function
free_fall_energy:
	@ args = 8, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #20
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	ldr	r3, .L22
	b	.L4
.L19:
	mov	r2, #0
	mov	r3, #0
	ldmib	fp, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	ldr	r3, .L22+4
	b	.L4
.L20:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpun
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	ldmib	fp, {r2-r3}
	ldmib	fp, {r0-r1}
	bl	__aeabi_dcmpun
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	ldr	r3, .L22+8
	b	.L4
.L21:
	mov	r3, #0
	b	.L4
.L8:
	ldr	r3, .L22+12
.L4:
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-32]
	mov	ip, r3
	sub	r3, fp, #20
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	b	.L1
.L13:
	ldr	r2, .L22+16
	ldr	r3, .L22+20
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r2, #0
	mov	r3, #1073741824
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	pow
	ldmib	fp, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	mov	ip, r3
	sub	r3, fp, #20
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
.L1:
	ldr	r0, [fp, #-32]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	-1717986918
	.word	1076074905
	.size	free_fall_energy, .-free_fall_energy
	.section	.rodata
	.align	2
.LC4:
	.ascii	"error: %s\012\000"
	.align	2
.LC5:
	.ascii	"Energy after one second: %g Joules\012\000"
	.align	2
.LC6:
	.ascii	"Energy after two seconds: %g Joules\012\000"
	.align	2
.LC7:
	.ascii	"Energy after 0/0 seconds: %g Joules\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #64
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r1, fp, #36
	mov	r2, #0
	ldr	r3, .L31+4
	stm	sp, {r2-r3}
	mov	r2, #0
	ldr	r3, .L31+4
	mov	r0, r1
	bl	free_fall_energy
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L25
	ldr	r3, .L31+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r1, .L31+12
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L29
.L25:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r0, .L31+16
	bl	printf
	sub	r1, fp, #68
	mov	r2, #0
	ldr	r3, .L31+4
	stm	sp, {r2-r3}
	mov	r2, #0
	mov	r3, #1073741824
	mov	r0, r1
	bl	free_fall_energy
	sub	ip, fp, #36
	sub	r3, fp, #68
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L27
	ldr	r3, .L31+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r1, .L31+12
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L29
.L27:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r0, .L31+20
	bl	printf
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #68
	mov	r2, #0
	ldr	r3, .L31+4
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	mov	r0, r1
	bl	free_fall_energy
	sub	ip, fp, #36
	sub	r3, fp, #68
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L28
	ldr	r3, .L31+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r1, .L31+12
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L29
.L28:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r0, .L31+24
	bl	printf
	mov	r3, #0
.L29:
	ldr	r2, .L31
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC8
	.word	1072693248
	.word	stderr
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
