	.file	"165766022.c"
	.intel_syntax noprefix
	.text
	.globl	line
	.bss
	.align 32
	.type	line, @object
	.size	line, 2048
line:
	.zero	2048
	.globl	operation
	.align 32
	.type	operation, @object
	.size	operation, 2048
operation:
	.zero	2048
	.globl	s_cnt
	.align 32
	.type	s_cnt, @object
	.size	s_cnt, 2048
s_cnt:
	.zero	2048
	.globl	s_inuse
	.align 32
	.type	s_inuse, @object
	.size	s_inuse, 2048
s_inuse:
	.zero	2048
	.globl	block
	.align 32
	.type	block, @object
	.size	block, 8192
block:
	.zero	8192
	.globl	blocksize
	.align 32
	.type	blocksize, @object
	.size	blocksize, 8192
blocksize:
	.zero	8192
	.section	.rodata
.LC0:
	.string	"%s %x %d %s %d %s %d\n"
.LC1:
	.string	"%d:: %s %x %d %s %d %s %d\n"
.LC2:
	.string	"cholmod_malloc"
.LC3:
	.string	"cholmod_realloc_new:"
.LC4:
	.string	"cholmod_calloc"
.LC5:
	.string	"duplicate!"
.LC6:
	.string	"out of space!"
.LC7:
	.string	"cholmod_free"
.LC8:
	.string	"cholmod_realloc_old:"
.LC9:
	.string	"not found!"
.LC10:
	.string	"wrong size! %x : %d vs %d\n"
.LC11:
	.string	"unrecognized!"
.LC12:
	.string	"nblocks wrong! %d %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L2
.L18:
	lea	rcx, -40[rbp]
	lea	rax, -44[rbp]
	sub	rsp, 8
	lea	rdx, -32[rbp]
	push	rdx
	lea	rdx, s_inuse[rip]
	push	rdx
	lea	rdx, -36[rbp]
	push	rdx
	lea	r9, s_cnt[rip]
	mov	r8, rcx
	mov	rcx, rax
	lea	rdx, operation[rip]
	lea	rsi, .LC0[rip]
	lea	rdi, line[rip]
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	add	rsp, 32
	add	DWORD PTR -12[rbp], 1
	mov	esi, DWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -36[rbp]
	mov	edi, DWORD PTR -40[rbp]
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -12[rbp]
	sub	rsp, 8
	push	rsi
	lea	rsi, s_inuse[rip]
	push	rsi
	push	rcx
	lea	r9, s_cnt[rip]
	mov	r8d, edi
	mov	ecx, edx
	lea	rdx, operation[rip]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 32
	lea	rsi, .LC2[rip]
	lea	rdi, operation[rip]
	call	strcmp@PLT
	test	eax, eax
	je	.L3
	lea	rsi, .LC3[rip]
	lea	rdi, operation[rip]
	call	strcmp@PLT
	test	eax, eax
	je	.L3
	lea	rsi, .LC4[rip]
	lea	rdi, operation[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L4
.L3:
	mov	DWORD PTR -20[rbp], 0
	jmp	.L5
.L7:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, block[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -44[rbp]
	cmp	edx, eax
	jne	.L6
	lea	rdi, .LC5[rip]
	call	puts@PLT
	call	abort@PLT
.L6:
	add	DWORD PTR -20[rbp], 1
.L5:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L7
	cmp	DWORD PTR -28[rbp], 2047
	jle	.L8
	lea	rdi, .LC6[rip]
	call	puts@PLT
	call	abort@PLT
.L8:
	mov	eax, DWORD PTR -44[rbp]
	mov	edx, DWORD PTR -28[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, block[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -40[rbp]
	mov	edx, DWORD PTR -28[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, blocksize[rip]
	mov	DWORD PTR [rcx+rdx], eax
	add	DWORD PTR -28[rbp], 1
	jmp	.L9
.L4:
	lea	rsi, .LC7[rip]
	lea	rdi, operation[rip]
	call	strcmp@PLT
	test	eax, eax
	je	.L10
	lea	rsi, .LC8[rip]
	lea	rdi, operation[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L11
.L10:
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	jmp	.L12
.L15:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, block[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -44[rbp]
	cmp	edx, eax
	jne	.L13
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	DWORD PTR -24[rbp], 1
.L13:
	add	DWORD PTR -20[rbp], 1
.L12:
	cmp	DWORD PTR -24[rbp], 0
	jne	.L14
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L15
.L14:
	cmp	DWORD PTR -24[rbp], 0
	jne	.L16
	lea	rdi, .LC9[rip]
	call	puts@PLT
	call	abort@PLT
.L16:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, blocksize[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -40[rbp]
	cmp	edx, eax
	je	.L17
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, blocksize[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	call	abort@PLT
.L17:
	sub	DWORD PTR -28[rbp], 1
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, block[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, block[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, blocksize[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, blocksize[rip]
	mov	DWORD PTR [rcx+rdx], eax
	jmp	.L9
.L11:
	lea	rdi, .LC11[rip]
	call	puts@PLT
	call	abort@PLT
.L9:
	mov	eax, DWORD PTR -36[rbp]
	cmp	DWORD PTR -28[rbp], eax
	je	.L2
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdx, rax
	mov	esi, 2048
	lea	rdi, line[rip]
	call	fgets@PLT
	test	rax, rax
	jne	.L18
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-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	"165766022.c"
	.text
	.comm	line,2048,4
	.comm	operation,2048,4
	.comm	s_cnt,2048,4
	.comm	s_inuse,2048,4
	.comm	block,8192,4
	.comm	blocksize,8192,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s %x %d %s %d %s %d\012\000"
	.align	2
.LC1:
	.ascii	"%d:: %s %x %d %s %d %s %d\012\000"
	.align	2
.LC2:
	.ascii	"cholmod_malloc\000"
	.align	2
.LC3:
	.ascii	"cholmod_realloc_new:\000"
	.align	2
.LC4:
	.ascii	"cholmod_calloc\000"
	.align	2
.LC5:
	.ascii	"duplicate!\000"
	.align	2
.LC6:
	.ascii	"out of space!\000"
	.align	2
.LC7:
	.ascii	"cholmod_free\000"
	.align	2
.LC8:
	.ascii	"cholmod_realloc_old:\000"
	.align	2
.LC9:
	.ascii	"not found!\000"
	.align	2
.LC10:
	.ascii	"wrong size! %x : %d vs %d\012\000"
	.align	2
.LC11:
	.ascii	"unrecognized!\000"
	.align	2
.LC12:
	.ascii	"nblocks wrong! %d %d\012\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L18:
	sub	r2, fp, #44
	sub	r3, fp, #32
	str	r3, [sp, #16]
	ldr	r3, .L21+4
	str	r3, [sp, #12]
	sub	r3, fp, #36
	str	r3, [sp, #8]
	ldr	r3, .L21+8
	str	r3, [sp, #4]
	sub	r3, fp, #40
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L21+12
	ldr	r1, .L21+16
	ldr	r0, .L21+20
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-44]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-32]
	str	r1, [sp, #16]
	ldr	r1, .L21+4
	str	r1, [sp, #12]
	str	r2, [sp, #8]
	ldr	r2, .L21+8
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r0
	ldr	r2, .L21+12
	ldr	r1, [fp, #-12]
	ldr	r0, .L21+24
	bl	printf
	ldr	r1, .L21+28
	ldr	r0, .L21+12
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r1, .L21+32
	ldr	r0, .L21+12
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r1, .L21+36
	ldr	r0, .L21+12
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
.L3:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L5
.L7:
	ldr	r2, .L21+40
	ldr	r3, [fp, #-20]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	bne	.L6
	ldr	r0, .L21+44
	bl	puts
	bl	abort
.L6:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L5:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L7
	ldr	r3, [fp, #-28]
	cmp	r3, #2048
	blt	.L8
	ldr	r0, .L21+48
	bl	puts
	bl	abort
.L8:
	ldr	r2, [fp, #-44]
	ldr	r1, .L21+40
	ldr	r3, [fp, #-28]
	str	r2, [r1, r3, lsl #2]
	ldr	r2, [fp, #-40]
	ldr	r1, .L21+52
	ldr	r3, [fp, #-28]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	b	.L9
.L4:
	ldr	r1, .L21+56
	ldr	r0, .L21+12
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r1, .L21+60
	ldr	r0, .L21+12
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
.L10:
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L12
.L15:
	ldr	r2, .L21+40
	ldr	r3, [fp, #-20]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	bne	.L13
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-24]
.L13:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L12:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L14
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L15
.L14:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L16
	ldr	r0, .L21+64
	bl	puts
	bl	abort
.L16:
	ldr	r2, .L21+52
	ldr	r3, [fp, #-16]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	beq	.L17
	ldr	r1, [fp, #-44]
	ldr	r2, [fp, #-40]
	ldr	r0, .L21+52
	ldr	r3, [fp, #-16]
	ldr	r3, [r0, r3, lsl #2]
	ldr	r0, .L21+68
	bl	printf
	bl	abort
.L17:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r2, .L21+40
	ldr	r3, [fp, #-28]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L21+40
	ldr	r3, [fp, #-16]
	str	r2, [r1, r3, lsl #2]
	ldr	r2, .L21+52
	ldr	r3, [fp, #-28]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L21+52
	ldr	r3, [fp, #-16]
	str	r2, [r1, r3, lsl #2]
	b	.L9
.L11:
	ldr	r0, .L21+72
	bl	puts
	bl	abort
.L9:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	beq	.L2
	ldr	r3, [fp, #-36]
	mov	r2, r3
	ldr	r1, [fp, #-28]
	ldr	r0, .L21+76
	bl	printf
.L2:
	ldr	r3, .L21+80
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #2048
	ldr	r0, .L21+20
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L18
	mov	r3, #0
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC13
	.word	s_inuse
	.word	s_cnt
	.word	operation
	.word	.LC0
	.word	line
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	block
	.word	.LC5
	.word	.LC6
	.word	blocksize
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	stdin
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
