	.file	"extr_ltablib.c_l_randomizePivot.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	l_randomizePivot, @function
l_randomizePivot:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 40
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	call	clock@PLT
	xor	edi, edi
	mov	QWORD PTR -56[rbp], rax
	call	time@PLT
	mov	rdi, QWORD PTR -56[rbp]
	mov	QWORD PTR -48[rbp], rax
	call	sof@PLT
	mov	rdi, QWORD PTR -48[rbp]
	mov	ebx, eax
	call	sof@PLT
	mov	rcx, rsp
	add	eax, ebx
	lea	rax, 15[0+rax*4]
	shr	rax, 4
	sal	rax, 4
	mov	rdx, rax
	and	rdx, -4096
	sub	rcx, rdx
	mov	rdx, rcx
	cmp	rsp, rdx
	je	.L3
.L13:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rdx
	jne	.L13
.L3:
	and	eax, 4095
	sub	rsp, rax
	test	rax, rax
	jne	.L14
.L4:
	mov	rdi, QWORD PTR -56[rbp]
	mov	r12, rsp
	xor	r13d, r13d
	call	sof@PLT
	lea	rsi, -56[rbp]
	mov	rdi, r12
	lea	edx, 0[0+rax*4]
	call	memcpy@PLT
	mov	rdi, QWORD PTR -48[rbp]
	call	sof@PLT
	mov	rdi, QWORD PTR -56[rbp]
	mov	ebx, eax
	call	sof@PLT
	lea	edx, 0[0+rbx*4]
	lea	rsi, -48[rbp]
	xor	ebx, ebx
	mov	eax, eax
	lea	rdi, [r12+rax*4]
	call	memcpy@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	mov	eax, ebx
	add	ebx, 1
	add	r13d, DWORD PTR [r12+rax*4]
.L5:
	mov	rdi, r12
	call	sof@PLT
	cmp	ebx, eax
	jb	.L6
	mov	rax, QWORD PTR -40[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	lea	rsp, -24[rbp]
	mov	eax, r13d
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rax], 0
	jmp	.L4
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	l_randomizePivot, .-l_randomizePivot
	.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_ltablib.c_l_randomizePivot.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	l_randomizePivot, %function
l_randomizePivot:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #16
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	bl	clock
	mov	r6, r0
	mov	r0, #0
	str	r6, [fp, #-32]
	bl	time
	mov	r7, r0
	mov	r0, r6
	str	r7, [fp, #-28]
	bl	sof
	mov	r4, r0
	mov	r0, r7
	bl	sof
	add	r3, r4, r0
	lsl	r3, r3, #2
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	mov	r0, r6
	bl	sof
	mov	r5, sp
	lsl	r2, r0, #2
	sub	r1, fp, #32
	mov	r0, r5
	bl	memcpy
	mov	r0, r6
	bl	sof
	mov	r4, r0
	mov	r0, r7
	bl	sof
	mov	r2, r0
	mov	r6, #0
	add	r4, r5, r4, lsl #2
	mov	r0, r4
	lsl	r2, r2, #2
	sub	r1, fp, #28
	bl	memcpy
	mov	r4, r6
	b	.L2
.L3:
	ldr	r3, [r5, r4, lsl #2]
	add	r4, r4, #1
	add	r6, r6, r3
.L2:
	mov	r0, r5
	bl	sof
	cmp	r4, r0
	bcc	.L3
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	mov	r0, r6
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC0
	.size	l_randomizePivot, .-l_randomizePivot
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
