	.file	"extr_rrd.h_rrdset_slot2time.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"INTERNAL ERROR: caller of rrdset_slot2time() gives invalid slot %zu"
	.align 8
.LC1:
	.string	"INTERNAL ERROR: rrdset_slot2time() on %s returns time too far in the past"
	.align 8
.LC2:
	.string	"INTERNAL ERROR: rrdset_slot2time() on %s returns time into the future"
	.text
	.p2align 4
	.type	rrdset_slot2time, @function
rrdset_slot2time:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	cmp	QWORD PTR 16[rdi], rsi
	jbe	.L12
.L2:
	mov	rdi, rbp
	call	rrdset_last_slot@PLT
	mov	rdi, rbp
	cmp	rax, r13
	jnb	.L3
	call	rrdset_last_entry_t@PLT
	mov	rdi, rbp
	mov	rbx, QWORD PTR 8[rbp]
	mov	r12, rax
	call	rrdset_last_slot@PLT
	mov	r8, rax
	mov	rax, QWORD PTR 16[rbp]
	sub	rax, r13
	add	rax, r8
	imul	rax, rbx
	sub	r12, rax
.L4:
	mov	rdi, rbp
	call	rrdset_first_entry_t@PLT
	xor	edi, edi
	cmp	rax, r12
	setg	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L13
.L5:
	mov	rdi, rbp
	call	rrdset_last_entry_t@PLT
	xor	edi, edi
	cmp	rax, r12
	setl	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L14
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	call	rrdset_last_entry_t@PLT
	sub	rax, QWORD PTR 8[rbp]
	mov	r12, rax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L12:
	lea	rdi, .LC0[rip]
	call	error@PLT
	mov	rax, QWORD PTR 16[rbp]
	lea	r13, -1[rax]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rsi, QWORD PTR 0[rbp]
	lea	rdi, .LC2[rip]
	call	error@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	rrdset_last_entry_t@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rsi, QWORD PTR 0[rbp]
	lea	rdi, .LC1[rip]
	call	error@PLT
	mov	rdi, rbp
	call	rrdset_first_entry_t@PLT
	mov	r12, rax
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	rrdset_slot2time, .-rrdset_slot2time
	.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_rrd.h_rrdset_slot2time.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"INTERNAL ERROR: caller of rrdset_slot2time() gives "
	.ascii	"invalid slot %zu\000"
	.align	2
.LC1:
	.ascii	"INTERNAL ERROR: rrdset_slot2time() on %s returns ti"
	.ascii	"me too far in the past\000"
	.align	2
.LC2:
	.ascii	"INTERNAL ERROR: rrdset_slot2time() on %s returns ti"
	.ascii	"me into the future\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rrdset_slot2time, %function
rrdset_slot2time:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #8]
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r3, r1
	mov	r4, r0
	movhi	r6, r1
	bls	.L13
.L2:
	mov	r0, r4
	bl	rrdset_last_slot
	cmp	r0, r6
	mov	r0, r4
	bcs	.L3
	bl	rrdset_last_entry_t
	mov	r5, r0
	mov	r0, r4
	ldr	r7, [r4, #4]
	bl	rrdset_last_slot
	ldr	r1, [r4, #8]
	sub	r6, r1, r6
	add	r6, r6, r0
	mul	r0, r7, r6
	sub	r5, r5, r0
.L4:
	mov	r0, r4
	bl	rrdset_first_entry_t
	cmp	r0, r5
	movle	r0, #0
	movgt	r0, #1
	bl	unlikely
	cmp	r0, #0
	bne	.L14
.L5:
	mov	r0, r4
	bl	rrdset_last_entry_t
	cmp	r0, r5
	movge	r0, #0
	movlt	r0, #1
	bl	unlikely
	cmp	r0, #0
	bne	.L15
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	bl	rrdset_last_entry_t
	ldr	r5, [r4, #4]
	sub	r5, r0, r5
	b	.L4
.L13:
	ldr	r0, .L16
	bl	error
	ldr	r6, [r4, #8]
	sub	r6, r6, #1
	b	.L2
.L15:
	ldr	r1, [r4]
	ldr	r0, .L16+4
	bl	error
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	rrdset_last_entry_t
.L14:
	ldr	r1, [r4]
	ldr	r0, .L16+8
	bl	error
	mov	r0, r4
	bl	rrdset_first_entry_t
	mov	r5, r0
	b	.L5
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	.LC2
	.word	.LC1
	.size	rrdset_slot2time, .-rrdset_slot2time
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
