	.file	"extr_mmc_test.c_mmc_test_random_perf.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mmc_test_random_perf, @function
mmc_test_random_perf:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	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
	mov	r13, QWORD PTR [rdi]
	cmp	r13, 512
	jbe	.L2
	mov	ebx, 512
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L16:
	mov	r13, QWORD PTR 0[rbp]
	add	rbx, rbx
	cmp	r13, rbx
	jbe	.L2
.L5:
	test	r12d, r12d
	je	.L3
	xor	edx, edx
	mov	rcx, rbx
	mov	esi, r12d
	mov	rdi, rbp
	mov	r13d, DWORD PTR rnd_next[rip]
	call	mmc_test_rnd_perf@PLT
	test	eax, eax
	jne	.L1
	mov	DWORD PTR rnd_next[rip], r13d
.L3:
	mov	rcx, rbx
	mov	edx, 1
	mov	esi, r12d
	mov	rdi, rbp
	call	mmc_test_rnd_perf@PLT
	test	eax, eax
	je	.L16
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L2:
	.cfi_restore_state
	test	r12d, r12d
	je	.L6
	xor	edx, edx
	mov	rcx, r13
	mov	esi, r12d
	mov	rdi, rbp
	mov	ebx, DWORD PTR rnd_next[rip]
	call	mmc_test_rnd_perf@PLT
	test	eax, eax
	jne	.L1
	mov	DWORD PTR rnd_next[rip], ebx
.L6:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rcx, r13
	mov	esi, r12d
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	edx, 1
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	mmc_test_rnd_perf@PLT
	.cfi_endproc
.LFE0:
	.size	mmc_test_random_perf, .-mmc_test_random_perf
	.comm	rnd_next,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_mmc_test.c_mmc_test_random_perf.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mmc_test_random_perf, %function
mmc_test_random_perf:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, [r0]
	mov	r5, r0
	cmp	r7, #512
	mov	r6, r1
	bls	.L2
	mov	r4, #512
	ldr	r8, .L16
.L5:
	cmp	r6, #0
	beq	.L3
	mov	r3, r4
	mov	r2, #0
	mov	r1, r6
	mov	r0, r5
	ldr	r7, [r8]
	bl	mmc_test_rnd_perf
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	str	r7, [r8]
.L3:
	mov	r3, r4
	mov	r2, #1
	mov	r1, r6
	mov	r0, r5
	bl	mmc_test_rnd_perf
	cmp	r0, #0
	lsl	r4, r4, #1
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r7, [r5]
	cmp	r7, r4
	bhi	.L5
.L2:
	cmp	r6, #0
	beq	.L6
	ldr	r4, .L16
	mov	r3, r7
	mov	r2, #0
	mov	r1, r6
	mov	r0, r5
	ldr	r8, [r4]
	bl	mmc_test_rnd_perf
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	str	r8, [r4]
.L6:
	mov	r3, r7
	mov	r1, r6
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	mov	r2, #1
	b	mmc_test_rnd_perf
.L17:
	.align	2
.L16:
	.word	rnd_next
	.size	mmc_test_random_perf, .-mmc_test_random_perf
	.comm	rnd_next,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
