	.file	"62638710.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"-s"
.LC1:
	.string	"--size"
.LC2:
	.string	"-f"
.LC3:
	.string	"--file_prefix"
.LC4:
	.string	"r"
.LC5:
	.string	"Error: Couldn't open file %s\n"
	.align 8
.LC6:
	.string	"Error: Couldn't parse nChunk into a number %s\n"
	.align 8
.LC7:
	.string	"Error: Allocating headerPositions array\n"
	.align 8
.LC8:
	.string	"Do you really want to split you're file into pieces of %ld bytes\n"
	.align 8
.LC9:
	.string	"nPerFile = %ld nHeader = %d nChunk = %ld\n"
	.align 8
.LC10:
	.string	"Do you really want to split you're file into pieces of with less than 1 sequence per file\n"
.LC11:
	.string	"Remainder = %ld\n"
.LC12:
	.string	"AFTER RANDOMISATION"
.LC13:
	.string	"%s/%s_chunk_%7.7ld"
.LC14:
	.string	"w"
	.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
	lea	r11, -163840[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 352
	mov	DWORD PTR -164180[rbp], edi
	mov	QWORD PTR -164192[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -164144[rbp], 0
	mov	DWORD PTR -164172[rbp], 0
	mov	QWORD PTR -164120[rbp], 0
	mov	QWORD PTR -164112[rbp], 0
	mov	DWORD PTR -164164[rbp], 0
	mov	QWORD PTR -164096[rbp], -1
	cmp	DWORD PTR -164180[rbp], 3
	jg	.L2
	call	printUsage
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	BYTE PTR -32784[rbp], 0
	mov	DWORD PTR -164160[rbp], 1
	jmp	.L3
.L9:
	mov	eax, DWORD PTR -164160[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -164192[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -164032[rbp], rax
	mov	rax, QWORD PTR -164032[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L4
	mov	rax, QWORD PTR -164032[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
.L4:
	mov	DWORD PTR -164164[rbp], 1
	jmp	.L6
.L5:
	mov	rax, QWORD PTR -164032[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L7
	mov	rax, QWORD PTR -164032[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
.L7:
	add	DWORD PTR -164160[rbp], 1
	mov	eax, DWORD PTR -164160[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -164192[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -164024[rbp], rax
	mov	rdx, QWORD PTR -164024[rbp]
	lea	rax, -32784[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	jmp	.L6
.L8:
	call	printUsage
	mov	edi, 1
	call	exit@PLT
.L6:
	add	DWORD PTR -164160[rbp], 1
.L3:
	mov	eax, DWORD PTR -164180[rbp]
	sub	eax, 3
	cmp	DWORD PTR -164160[rbp], eax
	jl	.L9
	mov	eax, DWORD PTR -164180[rbp]
	sub	eax, DWORD PTR -164160[rbp]
	cmp	eax, 3
	je	.L10
	call	printUsage
	mov	edi, 1
	call	exit@PLT
.L10:
	mov	eax, DWORD PTR -164160[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -164160[rbp], edx
	mov	DWORD PTR -164156[rbp], eax
	mov	eax, DWORD PTR -164156[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -164192[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -164080[rbp], rax
	cmp	QWORD PTR -164080[rbp], 0
	jne	.L11
	mov	eax, DWORD PTR -164156[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -164192[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L11:
	lea	rax, -32784[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L12
	mov	eax, DWORD PTR -164156[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -164192[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rdx, -65552[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	strippath
	lea	rdx, -32784[rbp]
	lea	rax, -65552[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	stripext
.L12:
	mov	eax, DWORD PTR -164160[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -164160[rbp], edx
	mov	DWORD PTR -164152[rbp], eax
	mov	eax, DWORD PTR -164152[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -164192[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atol@PLT
	mov	QWORD PTR -164072[rbp], rax
	cmp	QWORD PTR -164072[rbp], 0
	jne	.L13
	mov	eax, DWORD PTR -164152[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -164192[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L13:
	mov	eax, DWORD PTR -164160[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -164160[rbp], edx
	mov	DWORD PTR -164148[rbp], eax
	mov	eax, DWORD PTR -164148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -164192[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	lea	rax, -163856[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	esi, 8
	mov	edi, 1000
	call	calloc@PLT
	mov	QWORD PTR -164136[rbp], rax
	cmp	QWORD PTR -164136[rbp], 0
	jne	.L14
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 40
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L14:
	lea	rdx, -164016[rbp]
	mov	rax, QWORD PTR -164080[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fgetpos@PLT
	jmp	.L15
.L17:
	movzx	eax, BYTE PTR -131088[rbp]
	cmp	al, 62
	jne	.L16
	mov	esi, 16
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -164040[rbp], rax
	mov	rax, QWORD PTR -164016[rbp]
	mov	rdx, QWORD PTR -164008[rbp]
	mov	rcx, QWORD PTR -164040[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	eax, DWORD PTR -164172[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -164172[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -164136[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -164040[rbp]
	mov	QWORD PTR [rdx], rax
	cmp	DWORD PTR -164172[rbp], 0
	je	.L16
	mov	edx, DWORD PTR -164172[rbp]
	movsx	rax, edx
	imul	rax, rax, 274877907
	shr	rax, 32
	sar	eax, 6
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 1000
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	jne	.L16
	mov	eax, DWORD PTR -164172[rbp]
	add	eax, 1000
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -164136[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -164136[rbp], rax
	cmp	QWORD PTR -164136[rbp], 0
	jne	.L16
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 40
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L16:
	lea	rdx, -164016[rbp]
	mov	rax, QWORD PTR -164080[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fgetpos@PLT
.L15:
	mov	rdx, QWORD PTR -164080[rbp]
	lea	rax, -131088[rbp]
	mov	esi, 32768
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L17
	cmp	DWORD PTR -164164[rbp], 0
	je	.L18
	mov	eax, DWORD PTR -164156[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -164192[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rdx, -164000[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	mov	rax, QWORD PTR -163952[rbp]
	cqo
	idiv	QWORD PTR -164072[rbp]
	mov	QWORD PTR -164128[rbp], rax
	cmp	QWORD PTR -164128[rbp], 99
	jg	.L20
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -164128[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L18:
	mov	eax, DWORD PTR -164172[rbp]
	cdqe
	cqo
	idiv	QWORD PTR -164072[rbp]
	mov	QWORD PTR -164104[rbp], rax
	mov	rcx, QWORD PTR -164072[rbp]
	mov	edx, DWORD PTR -164172[rbp]
	mov	rax, QWORD PTR -164104[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	QWORD PTR -164104[rbp], 0
	jg	.L21
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 90
	mov	esi, 1
	lea	rdi, .LC10[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L21:
	mov	eax, DWORD PTR -164172[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -164072[rbp]
	imul	rax, QWORD PTR -164104[rbp]
	mov	rcx, rax
	mov	rax, rdx
	sub	rax, rcx
	mov	QWORD PTR -164088[rbp], rax
	mov	eax, DWORD PTR -164172[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -164072[rbp]
	imul	rax, QWORD PTR -164104[rbp]
	mov	rcx, rax
	mov	rax, rdx
	sub	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
.L20:
	mov	rax, QWORD PTR -164080[rbp]
	mov	rdi, rax
	call	rewind@PLT
	mov	DWORD PTR -164168[rbp], 0
	jmp	.L22
.L23:
	call	lrand48@PLT
	mov	edx, DWORD PTR -164172[rbp]
	movsx	rcx, edx
	cqo
	idiv	rcx
	mov	QWORD PTR -164064[rbp], rdx
	call	lrand48@PLT
	mov	edx, DWORD PTR -164172[rbp]
	movsx	rcx, edx
	cqo
	idiv	rcx
	mov	QWORD PTR -164056[rbp], rdx
	mov	rax, QWORD PTR -164064[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -164136[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -164048[rbp], rax
	mov	rax, QWORD PTR -164056[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -164136[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR -164064[rbp]
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -164136[rbp]
	add	rdx, rcx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -164056[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -164136[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -164048[rbp]
	mov	QWORD PTR [rdx], rax
	add	DWORD PTR -164168[rbp], 1
.L22:
	mov	edx, DWORD PTR -164172[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	cmp	DWORD PTR -164168[rbp], eax
	jl	.L23
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	QWORD PTR -164120[rbp], -1
	cmp	QWORD PTR -164088[rbp], 0
	je	.L24
	add	QWORD PTR -164104[rbp], 1
.L24:
	mov	DWORD PTR -164168[rbp], 0
	jmp	.L25
.L40:
	cmp	DWORD PTR -164164[rbp], 0
	je	.L26
	cmp	QWORD PTR -164120[rbp], 0
	js	.L27
	mov	rax, QWORD PTR -164120[rbp]
	cmp	rax, QWORD PTR -164128[rbp]
	jg	.L27
.L26:
	cmp	QWORD PTR -164096[rbp], 0
	js	.L27
	mov	rax, QWORD PTR -164096[rbp]
	cmp	rax, QWORD PTR -164104[rbp]
	jl	.L28
.L27:
	cmp	QWORD PTR -164144[rbp], 0
	je	.L29
	mov	rax, QWORD PTR -164144[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L29:
	cmp	DWORD PTR -164164[rbp], 0
	je	.L30
	mov	QWORD PTR -164120[rbp], 0
	jmp	.L31
.L30:
	mov	QWORD PTR -164096[rbp], 0
.L31:
	mov	rax, QWORD PTR -164112[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -164112[rbp], rdx
	lea	rcx, -32784[rbp]
	lea	rdx, -163856[rbp]
	lea	rdi, -98320[rbp]
	mov	r8, rax
	lea	rsi, .LC13[rip]
	mov	eax, 0
	call	sprintf@PLT
	cmp	QWORD PTR -164088[rbp], 0
	je	.L32
	mov	rax, QWORD PTR -164088[rbp]
	add	rax, 1
	cmp	QWORD PTR -164112[rbp], rax
	jne	.L32
	sub	QWORD PTR -164104[rbp], 1
.L32:
	lea	rax, -98320[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -164144[rbp], rax
	cmp	QWORD PTR -164144[rbp], 0
	jne	.L28
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -98320[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L28:
	mov	eax, DWORD PTR -164168[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -164136[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -164080[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fsetpos@PLT
	mov	rdx, QWORD PTR -164080[rbp]
	lea	rax, -131088[rbp]
	mov	esi, 32768
	mov	rdi, rax
	call	fgets@PLT
	cmp	DWORD PTR -164164[rbp], 0
	je	.L33
	lea	rax, -131088[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, QWORD PTR -164120[rbp]
	add	rax, rdx
	mov	QWORD PTR -164120[rbp], rax
	jmp	.L34
.L33:
	add	QWORD PTR -164096[rbp], 1
.L34:
	mov	rdx, QWORD PTR -164144[rbp]
	lea	rax, -131088[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	jmp	.L35
.L39:
	movzx	eax, BYTE PTR -131088[rbp]
	cmp	al, 62
	je	.L44
	cmp	DWORD PTR -164164[rbp], 0
	je	.L38
	lea	rax, -131088[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, QWORD PTR -164120[rbp]
	add	rax, rdx
	mov	QWORD PTR -164120[rbp], rax
.L38:
	mov	rdx, QWORD PTR -164144[rbp]
	lea	rax, -131088[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
.L35:
	mov	rdx, QWORD PTR -164080[rbp]
	lea	rax, -131088[rbp]
	mov	esi, 32768
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L39
	jmp	.L37
.L44:
	nop
.L37:
	add	DWORD PTR -164168[rbp], 1
.L25:
	mov	eax, DWORD PTR -164168[rbp]
	cmp	eax, DWORD PTR -164172[rbp]
	jl	.L40
	cmp	QWORD PTR -164144[rbp], 0
	je	.L41
	mov	rax, QWORD PTR -164144[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L41:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L43
	call	__stack_chk_fail@PLT
.L43:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC15:
	.string	"Usage: fastasplit [-s/--size] [-f/--file_prefix <prefix>] <fastaFile> <nchunk> <outdir>\n"
	.text
	.globl	printUsage
	.type	printUsage, @function
printUsage:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 88
	mov	esi, 1
	lea	rdi, .LC15[rip]
	call	fwrite@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	printUsage, .-printUsage
	.globl	strippath
	.type	strippath, @function
strippath:
.LFB8:
	.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, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 47
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L47
	add	QWORD PTR -24[rbp], 1
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	eax, ebx
	sub	eax, edx
	jmp	.L48
.L47:
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, 0
.L48:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	strippath, .-strippath
	.globl	stripext
	.type	stripext, @function
stripext:
.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, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 46
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L50
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, QWORD PTR -40[rbp]
	je	.L50
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	eax, ebx
	sub	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	eax, DWORD PTR -28[rbp]
	jmp	.L51
.L50:
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, 0
.L51:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	stripext, .-stripext
	.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	"62638710.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"-s\000"
	.align	2
.LC1:
	.ascii	"--size\000"
	.align	2
.LC2:
	.ascii	"-f\000"
	.align	2
.LC3:
	.ascii	"--file_prefix\000"
	.align	2
.LC4:
	.ascii	"r\000"
	.align	2
.LC5:
	.ascii	"Error: Couldn't open file %s\012\000"
	.align	2
.LC6:
	.ascii	"Error: Couldn't parse nChunk into a number %s\012\000"
	.align	2
.LC7:
	.ascii	"Error: Allocating headerPositions array\012\000"
	.global	__aeabi_idiv
	.align	2
.LC8:
	.ascii	"Do you really want to split you're file into pieces"
	.ascii	" of %ld bytes\012\000"
	.align	2
.LC9:
	.ascii	"nPerFile = %ld nHeader = %d nChunk = %ld\012\000"
	.align	2
.LC10:
	.ascii	"Do you really want to split you're file into pieces"
	.ascii	" of with less than 1 sequence per file\012\000"
	.align	2
.LC11:
	.ascii	"Remainder = %ld\012\000"
	.global	__aeabi_idivmod
	.align	2
.LC12:
	.ascii	"AFTER RANDOMISATION\000"
	.align	2
.LC13:
	.ascii	"%s/%s_chunk_%7.7ld\000"
	.align	2
.LC14:
	.ascii	"w\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 164048
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #163840
	sub	sp, sp, #220
	sub	r3, fp, #163840
	sub	r3, r3, #12
	str	r0, [r3, #-204]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	str	r1, [r3, #-208]
	ldr	r3, .L45
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-196]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-188]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-176]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-172]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-168]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	mvn	r3, #0
	str	r3, [r2, #-160]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-204]
	cmp	r3, #3
	bgt	.L2
	bl	printUsage
	mov	r0, #1
	bl	exit
.L2:
	sub	r3, fp, #32768
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3, #-4]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-156]
	b	.L3
.L9:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-156]
	lsl	r3, r3, #2
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r2, [r2, #-208]
	add	r3, r2, r3
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r3, [r3]
	str	r3, [r2, #-112]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r1, .L45+4
	ldr	r0, [r3, #-112]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r1, .L45+8
	ldr	r0, [r3, #-112]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
.L4:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-168]
	b	.L6
.L5:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r1, .L45+12
	ldr	r0, [r3, #-112]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r1, .L45+16
	ldr	r0, [r3, #-112]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
.L7:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-156]
	add	r3, r3, #1
	str	r3, [r2, #-156]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-156]
	lsl	r3, r3, #2
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r2, [r2, #-208]
	add	r3, r2, r3
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r3, [r3]
	str	r3, [r2, #-108]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #32768
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, [r2, #-108]
	mov	r0, r3
	bl	strcpy
	b	.L6
.L8:
	bl	printUsage
	mov	r0, #1
	bl	exit
.L6:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-156]
	add	r3, r3, #1
	str	r3, [r2, #-156]
.L3:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-204]
	sub	r3, r3, #3
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r2, [r2, #-156]
	cmp	r2, r3
	blt	.L9
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r2, [r2, #-204]
	ldr	r3, [r3, #-156]
	sub	r3, r2, r3
	cmp	r3, #3
	beq	.L10
	bl	printUsage
	mov	r0, #1
	bl	exit
.L10:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-156]
	sub	r2, fp, #163840
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-156]
	sub	r2, fp, #163840
	sub	r2, r2, #12
	str	r3, [r2, #-148]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-148]
	lsl	r3, r3, #2
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r2, [r2, #-208]
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r2, fp, #163840
	sub	r2, r2, #12
	mov	r4, r2
	ldr	r1, .L45+20
	mov	r0, r3
	bl	fopen
	str	r0, [r4, #-144]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-144]
	cmp	r3, #0
	bne	.L11
	ldr	r3, .L45+24
	ldr	r0, [r3]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-148]
	lsl	r3, r3, #2
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r2, [r2, #-208]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L45+28
	bl	fprintf
	mov	r0, #1
	bl	exit
.L11:
	sub	r3, fp, #32768
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L12
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-148]
	lsl	r3, r3, #2
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r2, [r2, #-208]
	add	r3, r2, r3
	ldr	r2, [r3]
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	strippath
	sub	r2, fp, #32768
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r3, fp, #65536
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	stripext
.L12:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-156]
	sub	r2, fp, #163840
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-156]
	sub	r2, fp, #163840
	sub	r2, r2, #12
	str	r3, [r2, #-140]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-140]
	lsl	r3, r3, #2
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r2, [r2, #-208]
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r2, fp, #163840
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	atol
	str	r0, [r4, #-136]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-136]
	cmp	r3, #0
	bne	.L13
	ldr	r3, .L45+24
	ldr	r0, [r3]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-140]
	lsl	r3, r3, #2
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r2, [r2, #-208]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L45+32
	bl	fprintf
	mov	r0, #1
	bl	exit
.L13:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-156]
	sub	r2, fp, #163840
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-156]
	sub	r2, fp, #163840
	sub	r2, r2, #12
	str	r3, [r2, #-132]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-132]
	lsl	r3, r3, #2
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r2, [r2, #-208]
	add	r3, r2, r3
	ldr	r2, [r3]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r4, r3
	mov	r1, #4
	mov	r0, #1000
	bl	calloc
	mov	r3, r0
	str	r3, [r4, #-192]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-192]
	cmp	r3, #0
	bne	.L14
	ldr	r3, .L45+24
	ldr	r3, [r3]
	mov	r2, #40
	mov	r1, #1
	ldr	r0, .L45+36
	bl	fwrite
	mov	r0, #1
	bl	exit
.L14:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	sub	r3, r3, #16
	sub	r2, fp, #163840
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-144]
	bl	fgetpos
	b	.L15
.L17:
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldrb	r3, [r3, #-4]	@ zero_extendqisi2
	cmp	r3, #62
	bne	.L16
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r4, r3
	mov	r1, #12
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [r4, #-116]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	sub	r3, r3, #16
	sub	r2, fp, #163840
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #12
	mov	r1, r3
	ldr	r0, [r0, #-116]
	bl	memcpy
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-188]
	sub	r2, fp, #163840
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-188]
	lsl	r3, r3, #2
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r2, [r2, #-192]
	add	r3, r2, r3
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r2, [r2, #-116]
	str	r2, [r3]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-188]
	cmp	r3, #0
	beq	.L16
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r1, [r3, #-188]
	ldr	r3, .L45+40
	smull	r2, r3, r1, r3
	asr	r2, r3, #6
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L16
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-188]
	add	r3, r3, #1000
	lsl	r3, r3, #2
	sub	r2, fp, #163840
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #163840
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-192]
	bl	realloc
	str	r0, [r4, #-192]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-192]
	cmp	r3, #0
	bne	.L16
	ldr	r3, .L45+24
	ldr	r3, [r3]
	mov	r2, #40
	mov	r1, #1
	ldr	r0, .L45+36
	bl	fwrite
	mov	r0, #1
	bl	exit
.L16:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	sub	r3, r3, #16
	sub	r2, fp, #163840
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-144]
	bl	fgetpos
.L15:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #131072
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-144]
	mov	r1, #32768
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-168]
	cmp	r3, #0
	beq	.L18
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-148]
	lsl	r3, r3, #2
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r2, [r2, #-208]
	add	r3, r2, r3
	ldr	r2, [r3]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	sub	r3, r3, #104
	mov	r1, r3
	mov	r0, r2
	bl	stat
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-60]
	sub	r2, fp, #163840
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r1, [r2, #-136]
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [r4, #-180]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-180]
	cmp	r3, #99
	bgt	.L20
	ldr	r3, .L45+24
	ldr	r3, [r3]
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r2, [r2, #-180]
	ldr	r1, .L45+44
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L18:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #163840
	sub	r3, r3, #12
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r1, [r2, #-136]
	ldr	r0, [r3, #-188]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [r4, #-164]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	sub	r2, fp, #163840
	sub	r2, r2, #12
	sub	r1, fp, #163840
	sub	r1, r1, #12
	ldr	r3, [r3, #-136]
	ldr	r2, [r2, #-188]
	ldr	r1, [r1, #-164]
	ldr	r0, .L45+48
	bl	printf
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-164]
	cmp	r3, #0
	bgt	.L21
	ldr	r3, .L45+24
	ldr	r3, [r3]
	mov	r2, #90
	mov	r1, #1
	ldr	r0, .L45+52
	bl	fwrite
	mov	r0, #1
	bl	exit
.L21:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r3, [r3, #-136]
	ldr	r2, [r2, #-164]
	mul	r3, r2, r3
	sub	r2, fp, #163840
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r2, [r2, #-188]
	sub	r3, r2, r3
	str	r3, [r1, #-152]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r3, [r3, #-136]
	ldr	r2, [r2, #-164]
	mul	r3, r2, r3
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r2, [r2, #-188]
	sub	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L45+56
	bl	printf
.L20:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r0, [r3, #-144]
	bl	rewind
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-184]
	b	.L22
.L23:
	bl	lrand48
	mov	r3, r0
	sub	r2, fp, #163840
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r1, [r2, #-188]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [r4, #-128]
	bl	lrand48
	mov	r3, r0
	sub	r2, fp, #163840
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r1, [r2, #-188]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [r4, #-124]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-128]
	lsl	r3, r3, #2
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r2, [r2, #-192]
	add	r3, r2, r3
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r3, [r3]
	str	r3, [r2, #-120]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-124]
	lsl	r3, r3, #2
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r2, [r2, #-192]
	add	r2, r2, r3
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-128]
	lsl	r3, r3, #2
	sub	r1, fp, #163840
	sub	r1, r1, #12
	ldr	r1, [r1, #-192]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-124]
	lsl	r3, r3, #2
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r2, [r2, #-192]
	add	r3, r2, r3
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r2, [r2, #-120]
	str	r2, [r3]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-184]
	add	r3, r3, #1
	str	r3, [r2, #-184]
.L22:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r2, [r3, #-188]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-184]
	cmp	r3, r2
	blt	.L23
	ldr	r0, .L45+60
	bl	puts
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	mvn	r3, #0
	str	r3, [r2, #-176]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-152]
	cmp	r3, #0
	beq	.L24
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-164]
	add	r3, r3, #1
	str	r3, [r2, #-164]
.L24:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-184]
	b	.L25
.L40:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-168]
	cmp	r3, #0
	beq	.L26
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-176]
	cmp	r3, #0
	blt	.L27
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r2, [r2, #-176]
	ldr	r3, [r3, #-180]
	cmp	r2, r3
	bgt	.L27
.L26:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-160]
	cmp	r3, #0
	blt	.L27
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r2, [r2, #-160]
	ldr	r3, [r3, #-164]
	cmp	r2, r3
	blt	.L28
.L27:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-196]
	cmp	r3, #0
	beq	.L29
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r0, [r3, #-196]
	bl	fclose
.L29:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-168]
	cmp	r3, #0
	beq	.L30
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-176]
	b	.L31
.L30:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-160]
.L31:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r1, [r3, #-172]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	add	r3, r1, #1
	str	r3, [r2, #-172]
	sub	r3, fp, #32768
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #163840
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r0, fp, #98304
	sub	r0, r0, #12
	sub	r0, r0, #4
	str	r1, [sp]
	ldr	r1, .L45+64
	bl	sprintf
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-152]
	cmp	r3, #0
	beq	.L32
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-152]
	add	r3, r3, #1
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r2, [r2, #-172]
	cmp	r2, r3
	bne	.L32
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-164]
	sub	r3, r3, #1
	str	r3, [r2, #-164]
.L32:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #98304
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L45+68
	mov	r0, r3
	bl	fopen
	str	r0, [r4, #-196]
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-196]
	cmp	r3, #0
	bne	.L28
	ldr	r3, .L45+24
	ldr	r0, [r3]
	sub	r3, fp, #98304
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L45+28
	bl	fprintf
	mov	r0, #1
	bl	exit
.L28:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-184]
	lsl	r3, r3, #2
	sub	r2, fp, #163840
	sub	r2, r2, #12
	ldr	r2, [r2, #-192]
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r2, fp, #163840
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-144]
	bl	fsetpos
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #131072
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-144]
	mov	r1, #32768
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-168]
	cmp	r3, #0
	beq	.L33
	sub	r3, fp, #131072
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-176]
	add	r3, r2, r3
	sub	r2, fp, #163840
	sub	r2, r2, #12
	str	r3, [r2, #-176]
	b	.L34
.L33:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-160]
	add	r3, r3, #1
	str	r3, [r2, #-160]
.L34:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #131072
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, [r2, #-196]
	mov	r0, r3
	bl	fputs
	b	.L35
.L39:
	sub	r3, fp, #131072
	sub	r3, r3, #12
	ldrb	r3, [r3, #-4]	@ zero_extendqisi2
	cmp	r3, #62
	beq	.L44
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-168]
	cmp	r3, #0
	beq	.L38
	sub	r3, fp, #131072
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-176]
	add	r3, r2, r3
	sub	r2, fp, #163840
	sub	r2, r2, #12
	str	r3, [r2, #-176]
.L38:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #131072
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, [r2, #-196]
	mov	r0, r3
	bl	fputs
.L35:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #131072
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-144]
	mov	r1, #32768
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
	b	.L37
.L44:
	nop
.L37:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-184]
	add	r3, r3, #1
	str	r3, [r2, #-184]
.L25:
	sub	r3, fp, #163840
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r2, [r2, #-184]
	ldr	r3, [r3, #-188]
	cmp	r2, r3
	blt	.L40
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r3, [r3, #-196]
	cmp	r3, #0
	beq	.L41
	sub	r3, fp, #163840
	sub	r3, r3, #12
	ldr	r0, [r3, #-196]
	bl	fclose
.L41:
	mov	r3, #0
	ldr	r2, .L45
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L43
	bl	__stack_chk_fail
.L43:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L46:
	.align	2
.L45:
	.word	.LC15
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	stderr
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	274877907
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	main, .-main
	.section	.rodata
	.align	2
.LC16:
	.ascii	"Usage: fastasplit [-s/--size] [-f/--file_prefix <pr"
	.ascii	"efix>] <fastaFile> <nchunk> <outdir>\012\000"
	.text
	.align	2
	.global	printUsage
	.syntax unified
	.arm
	.fpu softvfp
	.type	printUsage, %function
printUsage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L48
	ldr	r3, [r3]
	mov	r2, #88
	mov	r1, #1
	ldr	r0, .L48+4
	bl	fwrite
	nop
	pop	{fp, pc}
.L49:
	.align	2
.L48:
	.word	stderr
	.word	.LC16
	.size	printUsage, .-printUsage
	.align	2
	.global	strippath
	.syntax unified
	.arm
	.fpu softvfp
	.type	strippath, %function
strippath:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r1, #47
	ldr	r0, [fp, #-24]
	bl	strrchr
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L51
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-28]
	bl	strcpy
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r4, r0
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	sub	r3, r4, r3
	b	.L52
.L51:
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-28]
	bl	strcpy
	mov	r3, #0
.L52:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	strippath, .-strippath
	.align	2
	.global	stripext
	.syntax unified
	.arm
	.fpu softvfp
	.type	stripext, %function
stripext:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r1, #46
	ldr	r0, [fp, #-24]
	bl	strrchr
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L54
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	beq	.L54
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r4, r0
	ldr	r0, [fp, #-20]
	bl	strlen
	mov	r3, r0
	sub	r3, r4, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r2, r3
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-28]
	bl	strncpy
	ldr	r3, [fp, #-16]
	b	.L55
.L54:
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-28]
	bl	strcpy
	mov	r3, #0
.L55:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	stripext, .-stripext
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
