	.file	"178266560.c"
	.intel_syntax noprefix
	.text
	.type	random_int, @function
random_int:
.LFB6:
	.cfi_startproc
	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 -4[rbp], edi
	call	rand@PLT
	cdq
	idiv	DWORD PTR -4[rbp]
	mov	eax, edx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	random_int, .-random_int
	.type	row_first_cmp, @function
row_first_cmp:
.LFB8:
	.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	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	je	.L4
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	eax, edx
	sub	eax, ecx
	jmp	.L5
.L4:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	ecx, DWORD PTR 4[rax]
	mov	eax, edx
	sub	eax, ecx
.L5:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	row_first_cmp, .-row_first_cmp
	.section	.rodata
	.align 8
.LC1:
	.string	"Usage : reversible_sparse_gen m [rate]"
.LC3:
	.string	"Matrix/r_%ld_%ld_%ld.mtx"
.LC4:
	.string	"w"
.LC5:
	.string	"output file open error!!!"
.LC6:
	.string	"%ld %ld %ld\n"
.LC7:
	.string	"%d %d %.6f\n"
.LC8:
	.string	"%ld %ld %ld \n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.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, 216
	.cfi_offset 3, -24
	mov	DWORD PTR -212[rbp], edi
	mov	QWORD PTR -224[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rax, -192[rbp]
	mov	rdi, rax
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	cmp	DWORD PTR -212[rbp], 3
	jne	.L7
	mov	rax, QWORD PTR -224[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atol@PLT
	mov	QWORD PTR -184[rbp], rax
	mov	rax, QWORD PTR -224[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	mov	QWORD PTR -176[rbp], rax
	jmp	.L8
.L7:
	cmp	DWORD PTR -212[rbp], 2
	jne	.L9
	mov	rax, QWORD PTR -224[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	cdqe
	mov	QWORD PTR -184[rbp], rax
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR -176[rbp], xmm0
	jmp	.L8
.L9:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L8:
	mov	rax, QWORD PTR -184[rbp]
	imul	rax, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	mulsd	xmm0, QWORD PTR -176[rbp]
	comisd	xmm0, QWORD PTR .LC2[rip]
	jnb	.L10
	cvttsd2si	rax, xmm0
	mov	QWORD PTR -168[rbp], rax
	jmp	.L11
.L10:
	movsd	xmm1, QWORD PTR .LC2[rip]
	subsd	xmm0, xmm1
	cvttsd2si	rax, xmm0
	mov	QWORD PTR -168[rbp], rax
	movabs	rax, -9223372036854775808
	xor	QWORD PTR -168[rbp], rax
.L11:
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR -168[rbp], rax
	mov	rax, QWORD PTR -184[rbp]
	mov	QWORD PTR -160[rbp], rax
	mov	rdx, QWORD PTR -168[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -152[rbp], rax
	mov	DWORD PTR -208[rbp], 0
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -208[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -208[rbp]
	add	edx, 1
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -208[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -208[rbp]
	add	edx, 1
	mov	DWORD PTR 4[rax], edx
	mov	eax, DWORD PTR -208[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -152[rbp]
	lea	rbx, [rdx+rax]
	mov	eax, 0
	call	random_float@PLT
	movd	eax, xmm0
	mov	DWORD PTR 8[rbx], eax
	add	DWORD PTR -208[rbp], 1
.L12:
	mov	eax, DWORD PTR -208[rbp]
	cdqe
	cmp	QWORD PTR -160[rbp], rax
	ja	.L13
	jmp	.L14
.L15:
	mov	rax, QWORD PTR -184[rbp]
	mov	edi, eax
	call	random_int
	mov	edx, eax
	mov	eax, DWORD PTR -208[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rcx
	add	edx, 1
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -184[rbp]
	mov	edi, eax
	call	random_int
	mov	edx, eax
	mov	eax, DWORD PTR -208[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rcx
	add	edx, 1
	mov	DWORD PTR 4[rax], edx
	mov	eax, DWORD PTR -208[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -152[rbp]
	lea	rbx, [rdx+rax]
	mov	eax, 0
	call	random_float@PLT
	movd	eax, xmm0
	mov	DWORD PTR 8[rbx], eax
	add	DWORD PTR -208[rbp], 1
.L14:
	mov	eax, DWORD PTR -208[rbp]
	cdqe
	cmp	QWORD PTR -168[rbp], rax
	ja	.L15
	mov	rsi, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR -152[rbp]
	lea	rcx, row_first_cmp[rip]
	mov	edx, 12
	mov	rdi, rax
	call	qsort@PLT
	mov	DWORD PTR -204[rbp], 0
	mov	DWORD PTR -200[rbp], 1
	jmp	.L16
.L19:
	mov	eax, DWORD PTR -200[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -204[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	ecx, eax
	jne	.L17
	mov	eax, DWORD PTR -200[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR -204[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	cmp	ecx, eax
	je	.L18
.L17:
	add	DWORD PTR -204[rbp], 1
	mov	eax, DWORD PTR -200[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -152[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -204[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rcx
	mov	rcx, QWORD PTR [rdx]
	mov	QWORD PTR [rax], rcx
	mov	edx, DWORD PTR 8[rdx]
	mov	DWORD PTR 8[rax], edx
.L18:
	add	DWORD PTR -200[rbp], 1
.L16:
	mov	eax, DWORD PTR -200[rbp]
	cdqe
	cmp	QWORD PTR -168[rbp], rax
	ja	.L19
	mov	eax, DWORD PTR -204[rbp]
	add	eax, 1
	cdqe
	mov	QWORD PTR -144[rbp], rax
	mov	rsi, QWORD PTR -144[rbp]
	mov	rcx, QWORD PTR -184[rbp]
	mov	rdx, QWORD PTR -184[rbp]
	lea	rax, -128[rbp]
	mov	r8, rsi
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -128[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -136[rbp], rax
	cmp	QWORD PTR -136[rbp], 0
	jne	.L20
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, -1
	call	exit@PLT
.L20:
	mov	rsi, QWORD PTR -144[rbp]
	mov	rcx, QWORD PTR -184[rbp]
	mov	rdx, QWORD PTR -184[rbp]
	mov	rax, QWORD PTR -136[rbp]
	mov	r8, rsi
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -196[rbp], 0
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -196[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR 8[rax]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rsi, xmm2
	mov	eax, DWORD PTR -196[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR -196[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -136[rbp]
	movq	xmm0, rsi
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	add	DWORD PTR -196[rbp], 1
.L21:
	mov	eax, DWORD PTR -196[rbp]
	cdqe
	cmp	QWORD PTR -144[rbp], rax
	jg	.L22
	mov	rcx, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR -184[rbp]
	mov	rax, QWORD PTR -184[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	-1717986918
	.long	1068079513
	.align 8
.LC2:
	.long	0
	.long	1138753536
	.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	"178266560.c"
	.text
	.global	__aeabi_idivmod
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	random_int, %function
random_int:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	bl	rand
	mov	r3, r0
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	random_int, .-random_int
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	row_first_cmp, %function
row_first_cmp:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L4
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	sub	r3, r2, r3
	b	.L5
.L4:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	sub	r3, r2, r3
.L5:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	row_first_cmp, .-row_first_cmp
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage : reversible_sparse_gen m [rate]\000"
	.global	__aeabi_l2d
	.global	__aeabi_dmul
	.global	__aeabi_d2uiz
	.align	2
.LC1:
	.ascii	"Matrix/r_%ld_%ld_%ld.mtx\000"
	.align	2
.LC2:
	.ascii	"w\000"
	.align	2
.LC3:
	.ascii	"output file open error!!!\000"
	.align	2
.LC4:
	.ascii	"%ld %ld %ld\012\000"
	.global	__aeabi_f2d
	.align	2
.LC5:
	.ascii	"%d %d %.6f\012\000"
	.align	2
.LC6:
	.ascii	"%ld %ld %ld \012\000"
	.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 = 176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #192
	str	r0, [fp, #-184]
	str	r1, [fp, #-188]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #176
	mov	r0, r3
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	ldr	r3, [fp, #-184]
	cmp	r3, #3
	bne	.L7
	ldr	r3, [fp, #-188]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atol
	mov	r3, r0
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-140]
	str	r3, [fp, #-136]
	ldr	r3, [fp, #-188]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atof
	str	r0, [fp, #-132]
	str	r1, [fp, #-128]
	b	.L8
.L7:
	ldr	r3, [fp, #-184]
	cmp	r3, #2
	bne	.L9
	ldr	r3, [fp, #-188]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-140]
	str	r3, [fp, #-136]
	ldr	r2, .L23+4
	ldr	r3, .L23+8
	str	r2, [fp, #-132]
	str	r3, [fp, #-128]
	b	.L8
.L9:
	ldr	r0, .L23+12
	bl	puts
	mov	r0, #0
	bl	exit
.L8:
	ldr	r3, [fp, #-136]
	ldr	r2, [fp, #-140]
	mul	r2, r3, r2
	ldr	r3, [fp, #-136]
	ldr	r1, [fp, #-140]
	mul	r3, r1, r3
	add	r0, r2, r3
	ldr	r1, [fp, #-140]
	umull	r2, r3, r1, r1
	add	r1, r0, r3
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_l2d
	sub	r3, fp, #132
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2uiz
	mov	r3, r0
	str	r3, [fp, #-156]
	ldr	r3, [fp, #-140]
	str	r3, [fp, #-152]
	ldr	r2, [fp, #-156]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-148]
	mov	r3, #0
	str	r3, [fp, #-172]
	b	.L10
.L11:
	ldr	r2, [fp, #-172]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-148]
	add	r3, r3, r2
	ldr	r2, [fp, #-172]
	add	r2, r2, #1
	str	r2, [r3]
	ldr	r2, [fp, #-172]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-148]
	add	r3, r3, r2
	ldr	r2, [fp, #-172]
	add	r2, r2, #1
	str	r2, [r3, #4]
	ldr	r2, [fp, #-172]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-148]
	add	r4, r3, r2
	bl	random_float
	mov	r3, r0
	str	r3, [r4, #8]	@ float
	ldr	r3, [fp, #-172]
	add	r3, r3, #1
	str	r3, [fp, #-172]
.L10:
	ldr	r3, [fp, #-172]
	ldr	r2, [fp, #-152]
	cmp	r2, r3
	bhi	.L11
	b	.L12
.L13:
	ldr	r3, [fp, #-140]
	mov	r0, r3
	bl	random_int
	mov	r1, r0
	ldr	r2, [fp, #-172]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-148]
	add	r3, r3, r2
	add	r2, r1, #1
	str	r2, [r3]
	ldr	r3, [fp, #-140]
	mov	r0, r3
	bl	random_int
	mov	r1, r0
	ldr	r2, [fp, #-172]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-148]
	add	r3, r3, r2
	add	r2, r1, #1
	str	r2, [r3, #4]
	ldr	r2, [fp, #-172]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-148]
	add	r4, r3, r2
	bl	random_float
	mov	r3, r0
	str	r3, [r4, #8]	@ float
	ldr	r3, [fp, #-172]
	add	r3, r3, #1
	str	r3, [fp, #-172]
.L12:
	ldr	r3, [fp, #-172]
	ldr	r2, [fp, #-156]
	cmp	r2, r3
	bhi	.L13
	ldr	r3, .L23+16
	mov	r2, #12
	ldr	r1, [fp, #-156]
	ldr	r0, [fp, #-148]
	bl	qsort
	mov	r3, #0
	str	r3, [fp, #-168]
	mov	r3, #1
	str	r3, [fp, #-164]
	b	.L14
.L17:
	ldr	r2, [fp, #-164]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-148]
	add	r3, r3, r2
	ldr	r1, [r3]
	ldr	r2, [fp, #-168]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-148]
	add	r3, r3, r2
	ldr	r3, [r3]
	cmp	r1, r3
	bne	.L15
	ldr	r2, [fp, #-164]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-148]
	add	r3, r3, r2
	ldr	r1, [r3, #4]
	ldr	r2, [fp, #-168]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-148]
	add	r3, r3, r2
	ldr	r3, [r3, #4]
	cmp	r1, r3
	beq	.L16
.L15:
	ldr	r3, [fp, #-168]
	add	r3, r3, #1
	str	r3, [fp, #-168]
	ldr	r2, [fp, #-164]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-148]
	add	r1, r3, r2
	ldr	r2, [fp, #-168]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-148]
	add	r3, r3, r2
	mov	r2, r1
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
.L16:
	ldr	r3, [fp, #-164]
	add	r3, r3, #1
	str	r3, [fp, #-164]
.L14:
	ldr	r3, [fp, #-164]
	ldr	r2, [fp, #-156]
	cmp	r2, r3
	bhi	.L17
	ldr	r3, [fp, #-168]
	add	r3, r3, #1
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-124]
	str	r3, [fp, #-120]
	sub	r0, fp, #116
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #140
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #140
	ldmia	r3, {r2-r3}
	ldr	r1, .L23+20
	bl	sprintf
	sub	r3, fp, #116
	ldr	r1, .L23+24
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-144]
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bne	.L18
	ldr	r0, .L23+28
	bl	printf
	mvn	r0, #0
	bl	exit
.L18:
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #140
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #140
	ldmia	r3, {r2-r3}
	ldr	r1, .L23+32
	ldr	r0, [fp, #-144]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-160]
	b	.L19
.L20:
	ldr	r2, [fp, #-160]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-148]
	add	r3, r3, r2
	ldr	r4, [r3]
	ldr	r2, [fp, #-160]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-148]
	add	r3, r3, r2
	ldr	r5, [r3, #4]
	ldr	r2, [fp, #-160]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-148]
	add	r3, r3, r2
	ldr	r3, [r3, #8]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r3, r5
	mov	r2, r4
	ldr	r1, .L23+36
	ldr	r0, [fp, #-144]
	bl	fprintf
	ldr	r3, [fp, #-160]
	add	r3, r3, #1
	str	r3, [fp, #-160]
.L19:
	ldr	r3, [fp, #-160]
	mov	r0, r3
	asr	r1, r0, #31
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L20
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #140
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #140
	ldmia	r3, {r2-r3}
	ldr	r0, .L23+40
	bl	printf
	ldr	r0, [fp, #-148]
	bl	free
	mov	r3, #0
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC7
	.word	-1717986918
	.word	1068079513
	.word	.LC0
	.word	row_first_cmp
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.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
