	.file	"extr_random.c_RANDOM_buildDictionary.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"\r%u%%       "
	.text
	.p2align 4
	.type	RANDOM_buildDictionary, @function
RANDOM_buildDictionary:
.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
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR 8[rsp], rdi
	mov	QWORD PTR 16[rsp], rsi
	mov	QWORD PTR 24[rsp], rdx
	test	rcx, rcx
	je	.L2
	mov	rbx, rcx
	mov	r14d, r8d
	mov	r13, rcx
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, QWORD PTR 8[rsp]
	mov	esi, r14d
	mov	rbp, r13
	call	RANDOM_selectSegment@PLT
	mov	rsi, r13
	mov	r12, rax
	sar	r12, 32
	sub	eax, r12d
	lea	edi, 1[rax]
	call	MIN@PLT
	mov	r15, rax
	sub	r13, rax
	mov	rax, QWORD PTR 16[rsp]
	mov	rdx, r15
	lea	rsi, [rax+r12*4]
	mov	rax, QWORD PTR 24[rsp]
	lea	rdi, [rax+r13*4]
	call	memcpy@PLT
	lea	rdx, [rbx+r15]
	mov	edi, 2
	lea	rsi, .LC0[rip]
	sub	rdx, rbp
	lea	rax, [rdx+rdx*4]
	xor	edx, edx
	lea	rax, [rax+rax*4]
	sal	rax, 2
	div	rbx
	mov	edx, eax
	call	DISPLAYUPDATE@PLT
	test	r13, r13
	jne	.L3
.L2:
	add	rsp, 40
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
	.cfi_endproc
.LFE0:
	.size	RANDOM_buildDictionary, .-RANDOM_buildDictionary
	.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_random.c_RANDOM_buildDictionary.c"
	.text
	.global	__aeabi_uidiv
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\015%u%%       \000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	RANDOM_buildDictionary, %function
RANDOM_buildDictionary:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #28
	stm	sp, {r1, r2}
	subs	r5, r3, #0
	ldr	r3, .L12
	ldr	r9, [sp, #64]
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	beq	.L2
	mov	r6, r0
	mov	fp, r5
	ldr	r10, .L12+4
.L3:
	mov	r2, r9
	mov	r1, r6
	add	r0, sp, #12
	bl	RANDOM_selectSegment
	ldr	r8, [sp, #16]
	ldr	r0, [sp, #12]
	mov	r1, fp
	sub	r0, r0, r8
	add	r0, r0, #1
	bl	MIN
	mov	r4, r0
	mov	r7, fp
	ldr	r3, [sp]
	sub	fp, fp, r0
	add	r1, r3, r8, lsl #2
	ldr	r3, [sp, #4]
	mov	r2, r4
	add	r0, r3, fp, lsl #2
	bl	memcpy
	add	r0, r5, r4
	sub	r0, r0, r7
	add	r0, r0, r0, lsl #2
	add	r0, r0, r0, lsl #2
	mov	r1, r5
	lsl	r0, r0, #2
	bl	__aeabi_uidiv
	mov	r1, r10
	mov	r2, r0
	mov	r0, #2
	bl	DISPLAYUPDATE
	cmp	fp, #0
	bne	.L3
.L2:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, #0
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC1
	.word	.LC0
	.size	RANDOM_buildDictionary, .-RANDOM_buildDictionary
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
