	.file	"extr_lists-engine.c_randomize_result.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	randomize_result, @function
randomize_result:
.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
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	test	esi, esi
	jle	.L6
	lea	eax, 0[0+rcx*4]
	mov	r14, rdi
	mov	r12d, ecx
	mov	r15d, esi
	mov	DWORD PTR 12[rsp], eax
	xor	ebx, ebx
	xor	r13d, r13d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	add	ebx, r12d
	sub	r15d, 1
	je	.L2
.L5:
	mov	edi, r15d
	call	my_rand@PLT
	cmp	eax, ebp
	jge	.L3
	movsx	rax, ebx
	mov	edx, DWORD PTR 12[rsp]
	lea	rsi, [r14+rax*4]
	mov	eax, r12d
	imul	eax, r13d
	add	r13d, 1
	cdqe
	lea	rdi, [r14+rax*4]
	call	memcpy@PLT
	sub	ebp, 1
	jne	.L3
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r13d
	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
.L6:
	.cfi_restore_state
	xor	r13d, r13d
	.p2align 4,,10
	.p2align 3
.L2:
	xor	edi, edi
	test	ebp, ebp
	sete	dil
	call	assert@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	randomize_result, .-randomize_result
	.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_lists-engine.c_randomize_result.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	randomize_result, %function
randomize_result:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	subs	r4, r1, #0
	mov	r6, r2
	ble	.L6
	mov	r9, r0
	mov	r8, r3
	mov	r5, r0
	mov	r10, #0
	lsl	r7, r3, #2
	b	.L5
.L3:
	subs	r4, r4, #1
	add	r5, r5, r7
	beq	.L2
.L5:
	mov	r0, r4
	bl	my_rand
	cmp	r0, r6
	bge	.L3
	mul	r0, r10, r8
	mov	r2, r7
	mov	r1, r5
	add	r0, r9, r0, lsl #2
	bl	memcpy
	subs	r6, r6, #1
	add	r10, r10, #1
	bne	.L3
	mov	r0, r10
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	mov	r10, #0
.L2:
	clz	r0, r6
	lsr	r0, r0, #5
	bl	assert
	mov	r0, r10
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	randomize_result, .-randomize_result
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
