	.file	"extr_mmc_test.c_mmc_test_multi_write.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mmc_test_multi_write, @function
mmc_test_multi_write:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR [rax]
	cmp	DWORD PTR [rax], 1
	je	.L7
	mov	ecx, DWORD PTR PAGE_SIZE[rip]
	mov	esi, DWORD PTR 4[rax]
	mov	rbp, rdi
	lea	edi, [rcx+rcx]
	call	min@PLT
	mov	edi, eax
	mov	rax, QWORD PTR 8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, DWORD PTR 8[rax]
	call	min@PLT
	mov	edi, eax
	mov	rax, QWORD PTR 8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, DWORD PTR [rax]
	sal	esi, 9
	call	min@PLT
	mov	ebx, eax
	cmp	eax, 1023
	ja	.L4
.L7:
	mov	eax, DWORD PTR RESULT_UNSUP_HOST[rip]
.L1:
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L9
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	lea	r12, 4[rsp]
	mov	esi, DWORD PTR 0[rbp]
	mov	edx, eax
	shr	ebx, 9
	mov	rdi, r12
	call	sg_init_one@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	xor	ecx, ecx
	mov	edx, 1
	push	1
	.cfi_def_cfa_offset 64
	mov	r9d, 512
	mov	r8d, ebx
	mov	rsi, r12
	mov	rdi, rbp
	call	mmc_test_transfer@PLT
	pop	rdx
	.cfi_def_cfa_offset 56
	pop	rcx
	.cfi_def_cfa_offset 48
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mmc_test_multi_write, .-mmc_test_multi_write
	.comm	RESULT_UNSUP_HOST,4,4
	.comm	PAGE_SIZE,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_multi_write.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mmc_test_multi_write, %function
mmc_test_multi_write:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, [r0, #4]
	ldr	r2, .L10
	ldr	r3, [r3]
	sub	sp, sp, #28
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	ldr	r2, [r3]
	cmp	r2, #1
	beq	.L7
	mov	r4, r0
	ldr	r2, .L10+4
	ldr	r1, [r3, #4]
	ldr	r0, [r2]
	lsl	r0, r0, #1
	bl	min
	ldr	r3, [r4, #4]
	ldr	r3, [r3]
	ldr	r1, [r3, #8]
	bl	min
	ldr	r3, [r4, #4]
	ldr	r3, [r3]
	ldr	r1, [r3]
	lsl	r1, r1, #9
	bl	min
	cmp	r0, #1024
	mov	r5, r0
	bcs	.L4
.L7:
	ldr	r3, .L10+8
	ldr	r0, [r3]
.L1:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L4:
	mov	r2, r5
	ldr	r1, [r4]
	add	r0, sp, #16
	bl	sg_init_one
	mov	r2, #1
	mov	r3, #512
	lsr	r5, r5, #9
	str	r3, [sp, #4]
	mov	r0, r4
	mov	r3, #0
	add	r1, sp, #16
	str	r5, [sp]
	str	r2, [sp, #8]
	bl	mmc_test_transfer
	b	.L1
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	PAGE_SIZE
	.word	RESULT_UNSUP_HOST
	.size	mmc_test_multi_write, .-mmc_test_multi_write
	.comm	RESULT_UNSUP_HOST,4,4
	.comm	PAGE_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
