	.file	"846786.c"
	.intel_syntax noprefix
	.text
	.globl	tsc_timespec
	.bss
	.align 16
	.type	tsc_timespec, @object
	.size	tsc_timespec, 16
tsc_timespec:
	.zero	16
	.text
	.globl	getTime
	.type	getTime, @function
getTime:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rsi, tsc_timespec[rip]
	mov	edi, 1
	call	clock_gettime@PLT
	mov	rax, QWORD PTR tsc_timespec[rip]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	mov	rax, QWORD PTR tsc_timespec[rip+8]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	cvtss2sd	xmm0, xmm0
	movsd	xmm2, QWORD PTR .LC0[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	getTime, .-getTime
	.section	.rodata
	.align 8
.LC1:
	.string	"Usage: filter_log input output"
.LC2:
	.string	"Filtering log from %s to %s\n"
.LC3:
	.string	"r"
.LC4:
	.string	"w"
	.align 8
.LC5:
	.string	"Filtering log from %s to %s. %lu lines\n"
	.align 8
.LC6:
	.string	"Finished filtering log from %s to %s. Takes %f seconds.\n"
	.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	cmp	DWORD PTR -52[rbp], 2
	jg	.L4
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L5
.L4:
	mov	eax, 0
	call	getTime
	movd	eax, xmm0
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -40[rbp], 1
	mov	DWORD PTR -36[rbp], 0
	mov	QWORD PTR -24[rbp], 1
	jmp	.L6
.L18:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	BYTE PTR -41[rbp], al
	cmp	DWORD PTR -40[rbp], 1
	jne	.L7
	movzx	eax, BYTE PTR -41[rbp]
	sub	eax, 35
	cmp	eax, 27
	ja	.L8
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L10[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L10[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L10:
	.long	.L11-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L11-.L10
	.long	.L8-.L10
	.long	.L11-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L9-.L10
	.long	.L11-.L10
	.long	.L9-.L10
	.text
.L11:
	mov	DWORD PTR -36[rbp], 1
	mov	DWORD PTR -40[rbp], 2
	movzx	eax, BYTE PTR -41[rbp]
	mov	BYTE PTR -42[rbp], al
	jmp	.L6
.L9:
	mov	DWORD PTR -36[rbp], 1
	mov	DWORD PTR -40[rbp], 0
	movzx	eax, BYTE PTR -41[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	jmp	.L6
.L8:
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	jmp	.L6
.L7:
	cmp	DWORD PTR -40[rbp], 2
	jne	.L13
	movzx	eax, BYTE PTR -41[rbp]
	cmp	eax, 32
	jne	.L14
	movzx	eax, BYTE PTR -42[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	movzx	eax, BYTE PTR -41[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	DWORD PTR -40[rbp], 0
	jmp	.L6
.L14:
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	jmp	.L6
.L13:
	cmp	BYTE PTR -41[rbp], 10
	jne	.L16
	cmp	DWORD PTR -36[rbp], 0
	je	.L17
	movzx	eax, BYTE PTR -41[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
.L17:
	mov	DWORD PTR -40[rbp], 1
	add	QWORD PTR -24[rbp], 1
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, rcx
	shr	rax, 5
	movabs	rdx, 755578637259143235
	mul	rdx
	mov	rax, rdx
	shr	rax, 7
	imul	rdx, rax, 100000
	mov	rax, rcx
	sub	rax, rdx
	test	rax, rax
	jne	.L6
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L6
.L16:
	cmp	DWORD PTR -36[rbp], 0
	je	.L6
	movzx	eax, BYTE PTR -41[rbp]
	and	eax, 127
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, edx
	call	fputc@PLT
.L6:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L18
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	call	getTime
	movd	eax, xmm0
	mov	DWORD PTR -28[rbp], eax
	movss	xmm0, DWORD PTR -28[rbp]
	subss	xmm0, DWORD PTR -32[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rcx, xmm1
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	movq	xmm0, rcx
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1104006501
	.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	"846786.c"
	.text
	.comm	tsc_timespec,8,4
	.global	__aeabi_i2f
	.global	__aeabi_f2d
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.global	__aeabi_d2f
	.align	2
	.global	getTime
	.syntax unified
	.arm
	.fpu softvfp
	.type	getTime, %function
getTime:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	ldr	r1, .L3
	mov	r0, #1
	bl	clock_gettime
	ldr	r3, .L3
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, .L3
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L3+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	mov	r0, r3
	pop	{r4, r5, fp, pc}
.L4:
	.align	2
.L3:
	.word	tsc_timespec
	.word	1104006501
	.size	getTime, .-getTime
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: filter_log input output\000"
	.align	2
.LC1:
	.ascii	"Filtering log from %s to %s\012\000"
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"w\000"
	.align	2
.LC4:
	.ascii	"Filtering log from %s to %s. %lu lines\012\000"
	.global	__aeabi_fsub
	.align	2
.LC5:
	.ascii	"Finished filtering log from %s to %s. Takes %f seco"
	.ascii	"nds.\012\000"
	.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	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, [fp, #-48]
	cmp	r3, #2
	bgt	.L6
	ldr	r0, .L21
	bl	puts
	mov	r3, #1
	b	.L7
.L6:
	bl	getTime
	str	r0, [fp, #-28]	@ float
	ldr	r3, [fp, #-52]
	add	r3, r3, #4
	ldr	r1, [r3]
	ldr	r3, [fp, #-52]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L21+4
	bl	printf
	ldr	r3, [fp, #-52]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L21+8
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-52]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L21+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #1
	str	r3, [fp, #-32]
	b	.L8
.L20:
	ldr	r0, [fp, #-24]
	bl	fgetc
	mov	r3, r0
	strb	r3, [fp, #-41]
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	bne	.L9
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	sub	r3, r3, #35
	cmp	r3, #27
	ldrls	pc, [pc, r3, asl #2]
	b	.L10
.L12:
	.word	.L13
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L13
	.word	.L10
	.word	.L13
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L11
	.word	.L13
	.word	.L11
.L13:
	mov	r3, #1
	str	r3, [fp, #-36]
	mov	r3, #2
	str	r3, [fp, #-40]
	ldrb	r3, [fp, #-41]
	strb	r3, [fp, #-42]
	b	.L8
.L11:
	mov	r3, #1
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-40]
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	fputc
	b	.L8
.L10:
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L8
.L9:
	ldr	r3, [fp, #-40]
	cmp	r3, #2
	bne	.L15
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L16
	ldrb	r3, [fp, #-42]	@ zero_extendqisi2
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	fputc
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	fputc
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L8
.L16:
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L8
.L15:
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L18
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L19
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	fputc
.L19:
	mov	r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-32]
	lsr	r3, r2, #5
	ldr	r1, .L21+16
	umull	r0, r3, r1, r3
	lsr	r3, r3, #7
	ldr	r1, .L21+20
	mul	r3, r1, r3
	sub	r3, r2, r3
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-52]
	add	r3, r3, #4
	ldr	r1, [r3]
	ldr	r3, [fp, #-52]
	add	r3, r3, #8
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r0, .L21+24
	bl	printf
	b	.L8
.L18:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L8
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	and	r3, r3, #127
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	fputc
.L8:
	ldr	r0, [fp, #-24]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	ldr	r0, [fp, #-24]
	bl	fclose
	ldr	r0, [fp, #-20]
	bl	fclose
	bl	getTime
	str	r0, [fp, #-16]	@ float
	ldr	r3, [fp, #-52]
	add	r3, r3, #4
	ldr	r4, [r3]
	ldr	r3, [fp, #-52]
	add	r3, r3, #8
	ldr	r5, [r3]
	ldr	r1, [fp, #-28]	@ float
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L21+28
	bl	printf
	mov	r3, #0
.L7:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	175921861
	.word	100000
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
