	.file	"extr_mmc_test.c_mmc_test_profile_read_perf.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mmc_test_profile_read_perf, @function
mmc_test_profile_read_perf:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rsi, QWORD PTR [rdi]
	cmp	rsi, 512
	jbe	.L2
	mov	ebx, 512
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rsi, QWORD PTR 0[rbp]
	add	rbx, rbx
	cmp	rsi, rbx
	jbe	.L2
.L4:
	mov	rdx, rbx
	xor	r8d, r8d
	xor	ecx, ecx
	mov	r9d, 1
	shr	rdx, 9
	mov	rsi, rbx
	add	edx, DWORD PTR 8[rbp]
	mov	rdi, rbp
	call	mmc_test_area_io@PLT
	test	eax, eax
	je	.L8
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edx, DWORD PTR 8[rbp]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	mov	r9d, 1
	pop	rbx
	.cfi_def_cfa_offset 16
	xor	r8d, r8d
	xor	ecx, ecx
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	mmc_test_area_io@PLT
	.cfi_endproc
.LFE0:
	.size	mmc_test_profile_read_perf, .-mmc_test_profile_read_perf
	.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_profile_read_perf.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mmc_test_profile_read_perf, %function
mmc_test_profile_read_perf:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r1, [r0]
	mov	r5, r0
	cmp	r1, #512
	sub	sp, sp, #12
	bls	.L2
	mov	r4, #512
	mov	r7, #1
	mov	r6, #0
	b	.L4
.L8:
	ldr	r1, [r5]
	cmp	r1, r4
	bls	.L2
.L4:
	ldr	r2, [r5, #4]
	mov	r1, r4
	add	r2, r2, r4, lsr #9
	mov	r3, #0
	mov	r0, r5
	stm	sp, {r6, r7}
	bl	mmc_test_area_io
	cmp	r0, #0
	lsl	r4, r4, #1
	beq	.L8
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	mov	r3, #0
	mov	r2, #1
	str	r3, [sp]
	str	r2, [sp, #4]
	mov	r0, r5
	ldr	r2, [r5, #4]
	bl	mmc_test_area_io
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
	.size	mmc_test_profile_read_perf, .-mmc_test_profile_read_perf
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
