	.file	"37513.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"##"
.LC1:
	.string	"%lf"
.LC2:
	.string	"%lf-split.log"
.LC3:
	.string	"w+"
.LC4:
	.string	"I: Creating... %s\n"
.LC5:
	.string	"W: %s already exists!\n"
	.text
	.globl	copySplitData
	.type	copySplitData, @function
copySplitData:
.LFB6:
	.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, 1352
	.cfi_offset 3, -24
	mov	QWORD PTR -1336[rbp], rdi
	movsd	QWORD PTR -1344[rbp], xmm0
	mov	QWORD PTR -1352[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -1336[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	QWORD PTR -1312[rbp], rax
	mov	rax, QWORD PTR -1336[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	jmp	.L2
.L4:
	mov	rdx, QWORD PTR -1336[rbp]
	lea	rax, -1056[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -1056[rbp]
	mov	edx, 2
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	je	.L2
	lea	rdx, -1320[rbp]
	lea	rax, -1056[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -1336[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L4
.L3:
	lea	rax, -1056[rbp]
	mov	edx, 1024
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rdx, QWORD PTR -1320[rbp]
	lea	rax, -1136[rbp]
	movq	xmm0, rdx
	lea	rdx, .LC2[rip]
	mov	esi, 80
	mov	rdi, rax
	mov	eax, 1
	call	snprintf@PLT
	mov	rax, QWORD PTR -1336[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	lea	rdx, -1280[rbp]
	lea	rax, -1136[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	test	eax, eax
	je	.L5
	lea	rax, -1136[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1304[rbp], rax
	lea	rax, -1136[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L6
.L9:
	mov	rdx, QWORD PTR -1336[rbp]
	lea	rax, -1056[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	mov	rax, QWORD PTR -1336[rbp]
	mov	rdi, rax
	call	ftell@PLT
	cmp	QWORD PTR -1312[rbp], rax
	jle	.L19
	mov	rdx, QWORD PTR -1304[rbp]
	lea	rax, -1056[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
.L6:
	mov	rax, QWORD PTR -1336[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L9
	jmp	.L8
.L19:
	nop
.L8:
	mov	rbx, QWORD PTR -1312[rbp]
	lea	rax, -1056[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, rbx
	sub	rax, rdx
	mov	rcx, rax
	mov	rax, QWORD PTR -1336[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -1304[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L10
.L5:
	lea	rax, -1136[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -1312[rbp]
	sub	rax, QWORD PTR -1352[rbp]
	mov	rcx, rax
	mov	rax, QWORD PTR -1336[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
.L10:
	mov	rdx, QWORD PTR -1344[rbp]
	lea	rax, -1136[rbp]
	movq	xmm0, rdx
	lea	rdx, .LC2[rip]
	mov	esi, 80
	mov	rdi, rax
	mov	eax, 1
	call	snprintf@PLT
	lea	rdx, -1280[rbp]
	lea	rax, -1136[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	test	eax, eax
	je	.L11
	lea	rax, -1136[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1296[rbp], rax
	lea	rax, -1136[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L14:
	mov	rdx, QWORD PTR -1336[rbp]
	lea	rax, -1056[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -1056[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -1288[rbp], rax
	mov	rax, QWORD PTR -1336[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L20
	mov	rdx, QWORD PTR -1296[rbp]
	lea	rax, -1056[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	jmp	.L14
.L20:
	nop
	mov	rax, QWORD PTR -1296[rbp]
	mov	rdi, rax
	call	fflush@PLT
	mov	rax, QWORD PTR -1312[rbp]
	sub	rax, QWORD PTR -1352[rbp]
	mov	rbx, rax
	mov	rax, QWORD PTR -1336[rbp]
	mov	rdi, rax
	call	fileno@PLT
	mov	rsi, rbx
	mov	edi, eax
	call	ftruncate@PLT
	mov	rax, QWORD PTR -1336[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -1296[rbp]
	jmp	.L16
.L11:
	mov	rax, QWORD PTR -1336[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	lea	rax, -1136[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -1336[rbp]
.L16:
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	copySplitData, .-copySplitData
	.section	.rodata
	.align 8
.LC6:
	.string	"\n logsplitter - split a log file into smaller chunks, based on the consecutive timestamp difference\n\nUSAGE:  logsplitter [min_time_difference_in_seconds] [FILE]\n"
	.align 8
.LC7:
	.string	"I: Minimum time difference is: %f seconds.\n"
.LC8:
	.string	"r+"
.LC9:
	.string	"E: Opening %s ...[failed]\n"
.LC10:
	.string	"I: Opening %s ...[success]\n"
	.align 8
.LC11:
	.string	"E: Cannot create a temporary file! Aborting..."
	.align 8
.LC12:
	.string	"E: The temporary file differs than the original log file by %ld bytes! Aborting..."
.LC13:
	.string	"> ignoring: %s"
	.align 8
.LC15:
	.string	"I: Break (%f) needed after T = %f -> %s"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1456
	mov	DWORD PTR -1444[rbp], edi
	mov	QWORD PTR -1456[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -1444[rbp], 3
	je	.L22
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L41
.L22:
	mov	rax, QWORD PTR -1456[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atof@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -1428[rbp], xmm0
	mov	rax, QWORD PTR -1456[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -1392[rbp], rax
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -1428[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -1392[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1384[rbp], rax
	cmp	QWORD PTR -1384[rbp], 0
	jne	.L24
	mov	rax, QWORD PTR -1392[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L41
.L24:
	mov	rax, QWORD PTR -1392[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -1360[rbp]
	mov	rax, QWORD PTR -1392[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	call	tmpfile@PLT
	mov	QWORD PTR -1400[rbp], rax
	cmp	QWORD PTR -1400[rbp], 0
	jne	.L25
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L41
.L25:
	mov	rdx, QWORD PTR -1384[rbp]
	lea	rax, -1040[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	mov	rax, QWORD PTR -1384[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L45
	mov	rdx, QWORD PTR -1400[rbp]
	lea	rax, -1040[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	jmp	.L25
.L45:
	nop
	mov	rax, QWORD PTR -1400[rbp]
	mov	rdi, rax
	call	fflush@PLT
	mov	rax, QWORD PTR -1384[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -1400[rbp]
	mov	rdi, rax
	call	fileno@PLT
	mov	edx, eax
	lea	rax, -1216[rbp]
	mov	rsi, rax
	mov	edi, edx
	call	fstat@PLT
	mov	rdx, QWORD PTR -1312[rbp]
	mov	rax, QWORD PTR -1168[rbp]
	cmp	rdx, rax
	je	.L28
	mov	rax, QWORD PTR -1312[rbp]
	mov	rdx, QWORD PTR -1168[rbp]
	sub	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L28:
	mov	rax, QWORD PTR -1400[rbp]
	mov	rdi, rax
	call	rewind@PLT
	jmp	.L29
.L32:
	mov	rdx, QWORD PTR -1400[rbp]
	lea	rax, -1040[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -1040[rbp]
	mov	edx, 2
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L30
	lea	rax, -1040[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L29
.L30:
	lea	rdx, -1424[rbp]
	lea	rax, -1040[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	jmp	.L31
.L29:
	mov	rax, QWORD PTR -1400[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L32
.L31:
	jmp	.L33
.L40:
	mov	rax, QWORD PTR -1400[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	QWORD PTR -1376[rbp], rax
	mov	rdx, QWORD PTR -1400[rbp]
	lea	rax, -1040[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -1040[rbp]
	mov	edx, 2
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L34
	lea	rax, -1040[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L35
.L34:
	lea	rdx, -1416[rbp]
	lea	rax, -1040[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
.L35:
	mov	rax, QWORD PTR -1400[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	QWORD PTR -1368[rbp], rax
	movsd	xmm0, QWORD PTR -1416[rbp]
	movsd	xmm1, QWORD PTR -1424[rbp]
	subsd	xmm0, xmm1
	movq	xmm1, QWORD PTR .LC14[rip]
	andpd	xmm0, xmm1
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -1428[rbp]
	comisd	xmm0, xmm1
	jbe	.L36
	mov	rax, QWORD PTR -1368[rbp]
	sub	rax, QWORD PTR -1376[rbp]
	test	rax, rax
	jle	.L36
	movsd	xmm0, QWORD PTR -1424[rbp]
	cvttsd2si	rax, xmm0
	mov	QWORD PTR -1408[rbp], rax
	lea	rdx, -1072[rbp]
	lea	rax, -1408[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	ctime_r@PLT
	movsd	xmm2, QWORD PTR -1424[rbp]
	movsd	xmm0, QWORD PTR -1416[rbp]
	movsd	xmm1, QWORD PTR -1424[rbp]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	lea	rdx, -1072[rbp]
	mov	rsi, rdx
	movapd	xmm1, xmm2
	movq	xmm0, rax
	lea	rdi, .LC15[rip]
	mov	eax, 2
	call	printf@PLT
	mov	rax, QWORD PTR -1368[rbp]
	sub	rax, QWORD PTR -1376[rbp]
	mov	rcx, rax
	mov	rdx, QWORD PTR -1416[rbp]
	mov	rax, QWORD PTR -1400[rbp]
	mov	rsi, rcx
	movq	xmm0, rdx
	mov	rdi, rax
	call	copySplitData
	mov	QWORD PTR -1400[rbp], rax
	mov	rax, QWORD PTR -1400[rbp]
	mov	rdi, rax
	call	ftell@PLT
	test	rax, rax
	je	.L46
	mov	rax, QWORD PTR -1400[rbp]
	mov	rdi, rax
	call	rewind@PLT
.L36:
	movsd	xmm0, QWORD PTR -1416[rbp]
	movsd	QWORD PTR -1424[rbp], xmm0
.L33:
	mov	rax, QWORD PTR -1400[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L40
	jmp	.L39
.L46:
	nop
.L39:
	mov	rax, QWORD PTR -1400[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L41:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 16
.LC14:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.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	"37513.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"##\000"
	.align	2
.LC1:
	.ascii	"%lf\000"
	.align	2
.LC2:
	.ascii	"%lf-split.log\000"
	.align	2
.LC3:
	.ascii	"w+\000"
	.align	2
.LC4:
	.ascii	"I: Creating... %s\012\000"
	.align	2
.LC5:
	.ascii	"W: %s already exists!\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	copySplitData
	.syntax unified
	.arm
	.fpu softvfp
	.type	copySplitData, %function
copySplitData:
	@ args = 4, pretend = 0, frame = 1240
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #1248
	sub	sp, sp, #4
	str	r0, [fp, #-1240]
	str	r2, [fp, #-1252]
	str	r3, [fp, #-1248]
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, [fp, #-1240]
	bl	ftell
	str	r0, [fp, #-1236]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-1240]
	bl	fseek
	b	.L2
.L4:
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [fp, #-1240]
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #2
	ldr	r1, .L21+4
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	sub	r2, fp, #1200
	sub	r2, r2, #12
	sub	r2, r2, #8
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L21+8
	mov	r0, r3
	bl	__isoc99_sscanf
	b	.L3
.L2:
	ldr	r0, [fp, #-1240]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
.L3:
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r0, [fp, #-1220]
	ldr	r1, [fp, #-1216]
	sub	r3, fp, #1104
	sub	r3, r3, #12
	sub	r3, r3, #4
	stm	sp, {r0-r1}
	ldr	r2, .L21+12
	mov	r1, #80
	mov	r0, r3
	bl	snprintf
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-1240]
	bl	fseek
	sub	r2, fp, #1200
	sub	r2, r2, #12
	sub	r3, fp, #1104
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	stat
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	sub	r3, fp, #1104
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L21+16
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1232]
	sub	r3, fp, #1104
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L21+20
	bl	printf
	b	.L6
.L9:
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [fp, #-1240]
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	ldr	r0, [fp, #-1240]
	bl	ftell
	mov	r2, r0
	ldr	r3, [fp, #-1236]
	cmp	r3, r2
	ble	.L19
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, [fp, #-1232]
	mov	r0, r3
	bl	fputs
.L6:
	ldr	r0, [fp, #-1240]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	b	.L8
.L19:
	nop
.L8:
	ldr	r4, [fp, #-1236]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r4, r3
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1240]
	bl	fseek
	ldr	r0, [fp, #-1232]
	bl	fclose
	b	.L10
.L5:
	sub	r3, fp, #1104
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L21+24
	bl	printf
	ldr	r2, [fp, #-1236]
	ldr	r3, [fp, #4]
	sub	r3, r2, r3
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1240]
	bl	fseek
.L10:
	sub	r3, fp, #1104
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r0, [fp, #-1252]
	ldr	r1, [fp, #-1248]
	stm	sp, {r0-r1}
	ldr	r2, .L21+12
	mov	r1, #80
	mov	r0, r3
	bl	snprintf
	sub	r2, fp, #1200
	sub	r2, r2, #12
	sub	r3, fp, #1104
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	stat
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	sub	r3, fp, #1104
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L21+16
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1228]
	sub	r3, fp, #1104
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L21+20
	bl	printf
.L14:
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [fp, #-1240]
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-1224]
	ldr	r0, [fp, #-1240]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, [fp, #-1228]
	mov	r0, r3
	bl	fputs
	b	.L14
.L20:
	nop
	ldr	r0, [fp, #-1228]
	bl	fflush
	ldr	r0, [fp, #-1240]
	bl	fileno
	ldr	r2, [fp, #-1236]
	ldr	r3, [fp, #4]
	sub	r3, r2, r3
	mov	r1, r3
	bl	ftruncate
	ldr	r0, [fp, #-1240]
	bl	fclose
	ldr	r3, [fp, #-1228]
	b	.L16
.L11:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-1240]
	bl	fseek
	sub	r3, fp, #1104
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L21+24
	bl	printf
	ldr	r3, [fp, #-1240]
.L16:
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	copySplitData, .-copySplitData
	.section	.rodata
	.align	2
.LC7:
	.ascii	"\012 logsplitter - split a log file into smaller ch"
	.ascii	"unks, based on the consecutive timestamp difference"
	.ascii	"\012\012USAGE:  logsplitter [min_time_difference_in"
	.ascii	"_seconds] [FILE]\012\000"
	.global	__aeabi_d2f
	.global	__aeabi_f2d
	.align	2
.LC8:
	.ascii	"I: Minimum time difference is: %f seconds.\012\000"
	.align	2
.LC9:
	.ascii	"r+\000"
	.align	2
.LC10:
	.ascii	"E: Opening %s ...[failed]\012\000"
	.align	2
.LC11:
	.ascii	"I: Opening %s ...[success]\012\000"
	.align	2
.LC12:
	.ascii	"E: Cannot create a temporary file! Aborting...\000"
	.align	2
.LC13:
	.ascii	"E: The temporary file differs than the original log"
	.ascii	" file by %ld bytes! Aborting...\000"
	.align	2
.LC14:
	.ascii	"> ignoring: %s\000"
	.global	__aeabi_dsub
	.global	__aeabi_dcmpgt
	.global	__aeabi_d2iz
	.align	2
.LC15:
	.ascii	"I: Break (%f) needed after T = %f -> %s\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #1296
	sub	sp, sp, #8
	str	r0, [fp, #-1304]
	str	r1, [fp, #-1308]
	ldr	r3, .L49
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r3, [fp, #-1304]
	cmp	r3, #3
	beq	.L24
	ldr	r0, .L49+4
	bl	puts
	mvn	r3, #0
	b	.L43
.L24:
	ldr	r3, [fp, #-1308]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atof
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-1288]	@ float
	ldr	r3, [fp, #-1308]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-1284]
	ldr	r0, [fp, #-1288]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L49+8
	bl	printf
	ldr	r1, .L49+12
	ldr	r0, [fp, #-1284]
	bl	fopen
	str	r0, [fp, #-1280]
	ldr	r3, [fp, #-1280]
	cmp	r3, #0
	bne	.L26
	ldr	r1, [fp, #-1284]
	ldr	r0, .L49+16
	bl	printf
	mvn	r3, #0
	b	.L43
.L26:
	ldr	r1, [fp, #-1284]
	ldr	r0, .L49+20
	bl	printf
	sub	r3, fp, #1248
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-1284]
	bl	stat
	bl	tmpfile
	str	r0, [fp, #-1292]
	ldr	r3, [fp, #-1292]
	cmp	r3, #0
	bne	.L27
	ldr	r0, .L49+24
	bl	puts
	mvn	r3, #0
	b	.L43
.L27:
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-1280]
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	ldr	r0, [fp, #-1280]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L47
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, [fp, #-1292]
	mov	r0, r3
	bl	fputs
	b	.L27
.L47:
	nop
	ldr	r0, [fp, #-1292]
	bl	fflush
	ldr	r0, [fp, #-1280]
	bl	fclose
	ldr	r0, [fp, #-1292]
	bl	fileno
	mov	r2, r0
	sub	r3, fp, #1152
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r1, r3
	mov	r0, r2
	bl	fstat
	ldr	r2, [fp, #-1208]
	ldr	r3, [fp, #-1120]
	cmp	r2, r3
	beq	.L30
	ldr	r2, [fp, #-1208]
	ldr	r3, [fp, #-1120]
	sub	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L49+28
	bl	printf
.L30:
	ldr	r0, [fp, #-1292]
	bl	rewind
	b	.L31
.L34:
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-1292]
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #2
	ldr	r1, .L49+32
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L32
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L49+36
	bl	printf
	b	.L31
.L32:
	sub	r2, fp, #1264
	sub	r2, r2, #4
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L49+40
	mov	r0, r3
	bl	__isoc99_sscanf
	b	.L33
.L31:
	ldr	r0, [fp, #-1292]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L34
.L33:
	b	.L35
.L42:
	ldr	r0, [fp, #-1292]
	bl	ftell
	str	r0, [fp, #-1276]
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-1292]
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #2
	ldr	r1, .L49+32
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L36
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L49+36
	bl	printf
	b	.L37
.L36:
	sub	r2, fp, #1248
	sub	r2, r2, #4
	sub	r2, r2, #8
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L49+40
	mov	r0, r3
	bl	__isoc99_sscanf
.L37:
	ldr	r0, [fp, #-1292]
	bl	ftell
	str	r0, [fp, #-1272]
	ldr	r0, [fp, #-1260]
	ldr	r1, [fp, #-1256]
	ldr	r2, [fp, #-1268]
	ldr	r3, [fp, #-1264]
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	bic	r5, r3, #-2147483648
	ldr	r0, [fp, #-1288]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L38
	ldr	r2, [fp, #-1272]
	ldr	r3, [fp, #-1276]
	sub	r3, r2, r3
	cmp	r3, #0
	ble	.L38
	ldr	r2, [fp, #-1268]
	ldr	r3, [fp, #-1264]
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-1296]
	sub	r2, fp, #1072
	sub	r2, r2, #4
	sub	r3, fp, #1280
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r1, r2
	mov	r0, r3
	bl	ctime_r
	ldr	r0, [fp, #-1260]
	ldr	r1, [fp, #-1256]
	ldr	r2, [fp, #-1268]
	ldr	r3, [fp, #-1264]
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r2, [fp, #-1268]
	ldr	r3, [fp, #-1264]
	sub	r1, fp, #1072
	sub	r1, r1, #4
	str	r1, [sp, #8]
	stm	sp, {r2-r3}
	mov	r2, r6
	mov	r3, r7
	ldr	r0, .L49+44
	bl	printf
	ldr	r2, [fp, #-1260]
	ldr	r3, [fp, #-1256]
	ldr	r0, [fp, #-1272]
	ldr	r1, [fp, #-1276]
	sub	r1, r0, r1
	str	r1, [sp]
	ldr	r0, [fp, #-1292]
	bl	copySplitData
	str	r0, [fp, #-1292]
	ldr	r0, [fp, #-1292]
	bl	ftell
	mov	r3, r0
	cmp	r3, #0
	beq	.L48
	ldr	r0, [fp, #-1292]
	bl	rewind
.L38:
	ldr	r2, [fp, #-1260]
	ldr	r3, [fp, #-1256]
	str	r2, [fp, #-1268]
	str	r3, [fp, #-1264]
.L35:
	ldr	r0, [fp, #-1292]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L42
	b	.L41
.L48:
	nop
.L41:
	ldr	r0, [fp, #-1292]
	bl	fclose
	mov	r3, #0
.L43:
	ldr	r2, .L49
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L44
	bl	__stack_chk_fail
.L44:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC16
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC0
	.word	.LC14
	.word	.LC1
	.word	.LC15
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
