	.file	"extr_latency.c_latencyCommandGenSparkeline.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%ds"
.LC1:
	.string	"%dm"
.LC2:
	.string	"%dh"
.LC3:
	.string	"%dd"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC4:
	.string	"%s - high %lu ms, low %lu ms (all time high %lu ms)\n"
	.section	.rodata.str1.1
.LC5:
	.string	"-"
.LC6:
	.string	"\n"
	.text
	.p2align 4
	.globl	latencyCommandGenSparkeline
	.type	latencyCommandGenSparkeline, @function
latencyCommandGenSparkeline:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 120
	.cfi_def_cfa_offset 176
	mov	QWORD PTR 24[rsp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 104[rsp], rax
	xor	eax, eax
	call	createSparklineSequence@PLT
	mov	r14, rax
	xor	eax, eax
	call	sdsempty@PLT
	mov	ecx, DWORD PTR LATENCY_TS_LEN[rip]
	mov	DWORD PTR 20[rsp], eax
	test	ecx, ecx
	jle	.L14
	mov	QWORD PTR 8[rsp], 0
	xor	r13d, r13d
	xor	ebp, ebp
	lea	r15, 32[rsp]
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L23:
	mov	rsi, QWORD PTR 8[rsp]
	cmp	r13, rax
	cmovl	r13, rax
	cmp	rsi, rax
	cmovle	rax, rsi
	mov	QWORD PTR 8[rsp], rax
.L5:
	xor	edi, edi
	call	time@PLT
	mov	rdx, QWORD PTR 16[r12]
	sub	eax, DWORD PTR [rdx+rbx]
	mov	ecx, eax
	cmp	eax, 59
	jle	.L20
	cmp	eax, 3599
	jle	.L21
	cmp	eax, 86399
	jg	.L9
	movsx	rdx, eax
	sar	ecx, 31
	mov	esi, 64
	mov	rdi, r15
	imul	rdx, rdx, -1851608123
	shr	rdx, 32
	add	edx, eax
	sar	edx, 11
	sub	edx, ecx
	mov	ecx, edx
	lea	rdx, .LC2[rip]
	call	snprintf@PLT
.L7:
	mov	rdi, r15
	call	zstrdup@PLT
	mov	rdi, r14
	mov	rdx, rax
	mov	rax, QWORD PTR 16[r12]
	mov	rsi, QWORD PTR 8[rax+rbx]
	call	sparklineSequenceAddSample@PLT
	mov	ecx, DWORD PTR LATENCY_TS_LEN[rip]
.L4:
	add	ebp, 1
	cmp	ecx, ebp
	jle	.L22
.L10:
	mov	eax, DWORD PTR [r12]
	add	eax, ebp
	cdq
	idiv	ecx
	mov	rax, QWORD PTR 16[r12]
	movsx	rbx, edx
	sal	rbx, 4
	add	rax, rbx
	cmp	QWORD PTR [rax], 0
	je	.L4
	cmp	QWORD PTR [r14], 0
	mov	rax, QWORD PTR 8[rax]
	jne	.L23
	mov	QWORD PTR 8[rsp], rax
	mov	r13, rax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L20:
	lea	rdx, .LC0[rip]
	mov	esi, 64
	mov	rdi, r15
	call	snprintf@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	cdqe
	lea	rdx, .LC3[rip]
	mov	esi, 64
	mov	rdi, r15
	imul	rax, rax, -1037155065
	shr	rax, 32
	add	eax, ecx
	sar	ecx, 31
	sar	eax, 16
	sub	eax, ecx
	mov	ecx, eax
	call	snprintf@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L21:
	movsx	rdx, eax
	sar	ecx, 31
	mov	esi, 64
	mov	rdi, r15
	imul	rdx, rdx, -2004318071
	shr	rdx, 32
	add	edx, eax
	sar	edx, 5
	sub	edx, ecx
	mov	ecx, edx
	lea	rdx, .LC1[rip]
	call	snprintf@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L22:
	mov	r8, QWORD PTR 8[rsp]
	mov	rcx, r13
.L2:
	mov	edi, DWORD PTR 20[rsp]
	mov	r9, QWORD PTR 8[r12]
	lea	rsi, .LC4[rip]
	mov	rdx, QWORD PTR 24[rsp]
	call	sdscatprintf@PLT
	mov	edi, eax
	mov	eax, DWORD PTR LATENCY_GRAPH_COLS[rip]
	test	eax, eax
	jle	.L11
	xor	ebx, ebx
	lea	rbp, .LC5[rip]
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edx, 1
	mov	rsi, rbp
	add	ebx, 1
	call	sdscatlen@PLT
	cmp	DWORD PTR LATENCY_GRAPH_COLS[rip], ebx
	mov	edi, eax
	jg	.L12
.L11:
	mov	edx, 1
	lea	rsi, .LC6[rip]
	call	sdscatlen@PLT
	mov	r8d, DWORD PTR SPARKLINE_FILL[rip]
	mov	ecx, 4
	mov	rsi, r14
	mov	edx, DWORD PTR LATENCY_GRAPH_COLS[rip]
	mov	edi, eax
	call	sparklineRender@PLT
	mov	rdi, r14
	mov	r12d, eax
	call	freeSparklineSequence@PLT
	mov	rax, QWORD PTR 104[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L24
	add	rsp, 120
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	xor	ecx, ecx
	xor	r8d, r8d
	jmp	.L2
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	latencyCommandGenSparkeline, .-latencyCommandGenSparkeline
	.comm	SPARKLINE_FILL,4,4
	.comm	LATENCY_TS_LEN,4,4
	.comm	LATENCY_GRAPH_COLS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_latency.c_latencyCommandGenSparkeline.c"
	.text
	.global	__aeabi_idivmod
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%ds\000"
	.align	2
.LC1:
	.ascii	"%dm\000"
	.align	2
.LC2:
	.ascii	"%dh\000"
	.align	2
.LC3:
	.ascii	"%dd\000"
	.align	2
.LC4:
	.ascii	"%s - high %lu ms, low %lu ms (all time high %lu ms)"
	.ascii	"\012\000"
	.align	2
.LC5:
	.ascii	"-\000"
	.align	2
.LC6:
	.ascii	"\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	latencyCommandGenSparkeline
	.syntax unified
	.arm
	.fpu softvfp
	.type	latencyCommandGenSparkeline, %function
latencyCommandGenSparkeline:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L23
	sub	sp, sp, #92
	str	r0, [sp, #12]
	mov	r5, r1
	ldr	r3, [r3]
	str	r3, [sp, #84]
	mov	r3,#0
	bl	createSparklineSequence
	mov	r8, r0
	bl	sdsempty
	ldr	fp, .L23+4
	str	r0, [sp, #8]
	ldr	r1, [fp]
	cmp	r1, #0
	ble	.L14
	mov	r6, #0
	mov	r9, r6
	mov	r4, r6
	b	.L10
.L6:
	cmp	r3, #3600
	blt	.L20
	ldr	r2, .L23+8
	cmp	r3, r2
	bge	.L9
	ldr	r0, .L23+12
	add	r7, sp, #20
	smull	r2, r0, r3, r0
	asr	r2, r3, #31
	add	r3, r0, r3
	rsb	r3, r2, r3, asr #11
	mov	r0, r7
	mov	r1, #64
	ldr	r2, .L23+16
	bl	snprintf
.L7:
	mov	r0, r7
	bl	zstrdup
	ldr	r3, [r5, #8]
	mov	r2, r0
	add	r10, r3, r10
	mov	r0, r8
	ldr	r1, [r10, #4]
	bl	sparklineSequenceAddSample
.L4:
	ldr	r1, [fp]
	add	r4, r4, #1
	cmp	r1, r4
	ble	.L21
.L10:
	ldr	r0, [r5]
	add	r0, r4, r0
	bl	__aeabi_idivmod
	ldr	r3, [r5, #8]
	mov	r7, r1
	ldr	r2, [r3, r1, lsl #3]
	lsl	r10, r1, #3
	cmp	r2, #0
	add	r3, r3, r1, lsl #3
	beq	.L4
	ldr	r2, [r8]
	ldr	r3, [r3, #4]
	cmp	r2, #0
	moveq	r6, r3
	moveq	r9, r6
	beq	.L5
	cmp	r6, r3
	movlt	r6, r3
	cmp	r9, r3
	movge	r9, r3
.L5:
	mov	r0, #0
	bl	time
	ldr	r3, [r5, #8]
	ldr	r3, [r3, r7, lsl #3]
	sub	r3, r0, r3
	cmp	r3, #59
	bgt	.L6
	add	r7, sp, #20
	mov	r0, r7
	mov	r1, #64
	ldr	r2, .L23+20
	bl	snprintf
	b	.L7
.L9:
	ldr	r0, .L23+24
	add	r7, sp, #20
	smull	r2, r0, r3, r0
	asr	r2, r3, #31
	add	r3, r0, r3
	rsb	r3, r2, r3, asr #16
	mov	r0, r7
	mov	r1, #64
	ldr	r2, .L23+28
	bl	snprintf
	b	.L7
.L20:
	ldr	r0, .L23+32
	add	r7, sp, #20
	smull	r2, r0, r3, r0
	asr	r2, r3, #31
	add	r3, r0, r3
	rsb	r3, r2, r3, asr #5
	mov	r0, r7
	mov	r1, #64
	ldr	r2, .L23+36
	bl	snprintf
	b	.L7
.L21:
	mov	r3, r6
.L2:
	ldr	r2, [r5, #4]
	ldr	r5, .L23+40
	str	r2, [sp, #4]
	ldr	r0, [sp, #8]
	ldr	r2, [sp, #12]
	ldr	r1, .L23+44
	str	r9, [sp]
	bl	sdscatprintf
	ldr	r3, [r5]
	cmp	r3, #0
	ble	.L11
	mov	r4, #0
	ldr	r6, .L23+48
.L12:
	mov	r2, #1
	mov	r1, r6
	bl	sdscatlen
	ldr	r3, [r5]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L12
.L11:
	mov	r2, #1
	ldr	r1, .L23+52
	bl	sdscatlen
	ldr	r3, .L23+56
	ldr	r2, [r5]
	ldr	r1, [r3]
	mov	r3, #4
	str	r1, [sp]
	mov	r1, r8
	bl	sparklineRender
	mov	r4, r0
	mov	r0, r8
	bl	freeSparklineSequence
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [sp, #84]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L22
	mov	r0, r4
	add	sp, sp, #92
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L14:
	mov	r9, #0
	mov	r3, r9
	b	.L2
.L22:
	bl	__stack_chk_fail
.L24:
	.align	2
.L23:
	.word	.LC7
	.word	LATENCY_TS_LEN
	.word	86400
	.word	-1851608123
	.word	.LC2
	.word	.LC0
	.word	-1037155065
	.word	.LC3
	.word	-2004318071
	.word	.LC1
	.word	LATENCY_GRAPH_COLS
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	SPARKLINE_FILL
	.size	latencyCommandGenSparkeline, .-latencyCommandGenSparkeline
	.comm	SPARKLINE_FILL,4,4
	.comm	LATENCY_TS_LEN,4,4
	.comm	LATENCY_GRAPH_COLS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
