	.file	"469481.c"
	.intel_syntax noprefix
	.text
	.local	ticking
	.comm	ticking,1,1
	.globl	nlk_get_monotonic_time
	.type	nlk_get_monotonic_time, @function
nlk_get_monotonic_time:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	clock_gettime@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	nlk_get_monotonic_time, .-nlk_get_monotonic_time
	.globl	nlk_get_elapsed_time
	.type	nlk_get_elapsed_time, @function
nlk_get_elapsed_time:
.LFB1:
	.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	sub	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	movsd	QWORD PTR -16[rbp], xmm0
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	sub	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm1, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR .LC0[rip]
	mulsd	xmm0, xmm1
	addsd	xmm0, QWORD PTR -16[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	nlk_get_elapsed_time, .-nlk_get_elapsed_time
	.section	.rodata
.LC2:
	.string	"nlk tic: %s\n"
.LC3:
	.string	"\rnlk (%.2f): %s"
	.text
	.globl	nlk_tic
	.type	nlk_tic, @function
nlk_tic:
.LFB2:
	.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	QWORD PTR -56[rbp], rdi
	mov	eax, esi
	mov	BYTE PTR -60[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movzx	eax, BYTE PTR ticking[rip]
	xor	eax, 1
	test	al, al
	je	.L5
	mov	BYTE PTR ticking[rip], 1
	lea	rdi, before.1[rip]
	call	nlk_get_monotonic_time
	pxor	xmm0, xmm0
	movsd	QWORD PTR total.0[rip], xmm0
	cmp	QWORD PTR -56[rbp], 0
	je	.L6
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L6:
	pxor	xmm0, xmm0
	jmp	.L9
.L5:
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	nlk_get_monotonic_time
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, before.1[rip]
	call	nlk_get_elapsed_time
	movq	rax, xmm0
	mov	QWORD PTR -40[rbp], rax
	movsd	xmm0, QWORD PTR total.0[rip]
	addsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR total.0[rip], xmm0
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR before.1[rip], rax
	mov	QWORD PTR before.1[rip+8], rdx
	cmp	QWORD PTR -56[rbp], 0
	je	.L8
	mov	rax, QWORD PTR total.0[rip]
	mov	rdx, QWORD PTR -56[rbp]
	mov	rsi, rdx
	movq	xmm0, rax
	lea	rdi, .LC3[rip]
	mov	eax, 1
	call	printf@PLT
	cmp	BYTE PTR -60[rbp], 0
	je	.L8
	mov	edi, 10
	call	putchar@PLT
.L8:
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	movsd	xmm0, QWORD PTR total.0[rip]
.L9:
	movq	rax, xmm0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	nlk_tic, .-nlk_tic
	.globl	nlk_tic_reset
	.type	nlk_tic_reset, @function
nlk_tic_reset:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	BYTE PTR ticking[rip], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	nlk_tic_reset, .-nlk_tic_reset
	.local	before.1
	.comm	before.1,16,16
	.local	total.0
	.comm	total.0,8,8
	.section	.rodata
	.align 8
.LC0:
	.long	-400107883
	.long	1041313291
	.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	"469481.c"
	.text
	.local	ticking
	.comm	ticking,1,1
	.align	2
	.global	nlk_get_monotonic_time
	.syntax unified
	.arm
	.fpu softvfp
	.type	nlk_get_monotonic_time, %function
nlk_get_monotonic_time:
	@ 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]
	ldr	r1, [fp, #-8]
	mov	r0, #1
	bl	clock_gettime
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	nlk_get_monotonic_time, .-nlk_get_monotonic_time
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.align	2
	.global	nlk_get_elapsed_time
	.syntax unified
	.arm
	.fpu softvfp
	.type	nlk_get_elapsed_time, %function
nlk_get_elapsed_time:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r2, .L4
	ldr	r3, .L4+4
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	-400107883
	.word	1041313291
	.size	nlk_get_elapsed_time, .-nlk_get_elapsed_time
	.section	.rodata
	.align	2
.LC0:
	.ascii	"nlk tic: %s\012\000"
	.align	2
.LC1:
	.ascii	"\015nlk (%.2f): %s\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	nlk_tic
	.syntax unified
	.arm
	.fpu softvfp
	.type	nlk_tic, %function
nlk_tic:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	mov	r3, r1
	strb	r3, [fp, #-33]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L13+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L7
	ldr	r3, .L13+4
	mov	r2, #1
	strb	r2, [r3]
	ldr	r0, .L13+8
	bl	nlk_get_monotonic_time
	ldr	r1, .L13+12
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L8
	ldr	r1, [fp, #-32]
	ldr	r0, .L13+16
	bl	printf
.L8:
	mov	r2, #0
	mov	r3, #0
	b	.L11
.L7:
	sub	r3, fp, #16
	mov	r0, r3
	bl	nlk_get_monotonic_time
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L13+8
	bl	nlk_get_elapsed_time
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	ldr	r3, .L13+12
	ldmia	r3, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L13+12
	stm	r1, {r2-r3}
	ldr	r3, .L13+8
	mov	r2, r3
	sub	r3, fp, #16
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L10
	ldr	r3, .L13+12
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-32]
	str	r1, [sp]
	ldr	r0, .L13+20
	bl	printf
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L10
	mov	r0, #10
	bl	putchar
.L10:
	ldr	r3, .L13+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L13+12
	ldmia	r3, {r2-r3}
.L11:
	ldr	r1, .L13
	ldr	r0, [r1]
	ldr	r1, [fp, #-8]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC2
	.word	ticking
	.word	before.4828
	.word	total.4831
	.word	.LC0
	.word	.LC1
	.word	stdout
	.size	nlk_tic, .-nlk_tic
	.align	2
	.global	nlk_tic_reset
	.syntax unified
	.arm
	.fpu softvfp
	.type	nlk_tic_reset, %function
nlk_tic_reset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L16
	mov	r2, #0
	strb	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L17:
	.align	2
.L16:
	.word	ticking
	.size	nlk_tic_reset, .-nlk_tic_reset
	.local	before.4828
	.comm	before.4828,8,4
	.local	total.4831
	.comm	total.4831,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
