	.file	"1144379.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"the_stack_data/1144379.c"
.LC2:
	.string	"flotal == (n * (n - 1) / 2)"
	.text
	.globl	do_the_loop
	.type	do_the_loop, @function
do_the_loop:
.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	DWORD PTR -20[rbp], edi
	pxor	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L2
.L3:
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -8[rbp]
	movss	xmm1, DWORD PTR -4[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	add	DWORD PTR -8[rbp], 1
.L2:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L3
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	ucomiss	xmm0, DWORD PTR -4[rbp]
	jp	.L6
	ucomiss	xmm0, DWORD PTR -4[rbp]
	je	.L7
.L6:
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 14
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L7:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	do_the_loop, .-do_the_loop
	.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -20[rbp], 0
	jmp	.L9
.L14:
	mov	DWORD PTR -4[rbp], 5
	pxor	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L10
.L11:
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -16[rbp]
	movss	xmm1, DWORD PTR -12[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	add	DWORD PTR -16[rbp], 1
.L10:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L11
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -4[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	ucomiss	xmm0, DWORD PTR -12[rbp]
	jp	.L18
	ucomiss	xmm0, DWORD PTR -12[rbp]
	je	.L12
.L18:
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 25
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L12:
	add	DWORD PTR -20[rbp], 1
.L9:
	cmp	DWORD PTR -20[rbp], 4
	jle	.L14
	mov	DWORD PTR -20[rbp], 0
	jmp	.L15
.L16:
	mov	DWORD PTR -8[rbp], 10
	mov	eax, DWORD PTR -8[rbp]
	mov	edi, eax
	call	do_the_loop
	add	DWORD PTR -20[rbp], 1
.L15:
	cmp	DWORD PTR -20[rbp], 999
	jle	.L16
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 12
__PRETTY_FUNCTION__.1:
	.string	"do_the_loop"
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"main"
	.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	"1144379.c"
	.text
	.global	__aeabi_i2f
	.global	__aeabi_fadd
	.global	__aeabi_fcmpeq
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/1144379.c\000"
	.align	2
.LC1:
	.ascii	"flotal == (n * (n - 1) / 2)\000"
	.text
	.align	2
	.global	do_the_loop
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_the_loop, %function
do_the_loop:
	@ 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, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]	@ float
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L3:
	ldr	r0, [fp, #-12]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L3
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	mul	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	ldr	r3, .L6
	mov	r2, #14
	ldr	r1, .L6+4
	ldr	r0, .L6+8
	bl	__assert_fail
.L5:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	__PRETTY_FUNCTION__.4216
	.word	.LC0
	.word	.LC1
	.size	do_the_loop, .-do_the_loop
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L9
.L13:
	mov	r3, #5
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]	@ float
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L10
.L11:
	ldr	r0, [fp, #-20]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L10:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L11
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	mul	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	ldr	r3, .L17
	mov	r2, #25
	ldr	r1, .L17+4
	ldr	r0, .L17+8
	bl	__assert_fail
.L12:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L9:
	ldr	r3, [fp, #-24]
	cmp	r3, #4
	ble	.L13
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L14
.L15:
	mov	r3, #10
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	do_the_loop
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L14:
	ldr	r3, [fp, #-24]
	cmp	r3, #1000
	blt	.L15
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	__PRETTY_FUNCTION__.4228
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.4216, %object
	.size	__PRETTY_FUNCTION__.4216, 12
__PRETTY_FUNCTION__.4216:
	.ascii	"do_the_loop\000"
	.align	2
	.type	__PRETTY_FUNCTION__.4228, %object
	.size	__PRETTY_FUNCTION__.4228, 5
__PRETTY_FUNCTION__.4228:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
