	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmc_test_area_io_seq
_mmc_test_area_io_seq:                  ## @mmc_test_area_io_seq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movl	%ecx, %r12d
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r13
	movl	32(%rbp), %ecx
	testl	%r8d, %r8d
	je	LBB0_2
## %bb.1:
	movq	(%r13), %rax
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rdx, %rax
	cmovbq	%rax, %rdx
	imulq	8(%r13), %rdx
	cmpq	%r15, %rdx
	cmovbq	%rdx, %r15
LBB0_2:
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%r8d, %edx
	callq	_mmc_test_area_map
	testl	%eax, %eax
	jne	LBB0_15
## %bb.3:
	movl	%r14d, %eax
	movl	24(%rbp), %r14d
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	leaq	-48(%rbp), %rdi
	callq	_ktime_get_ts64
LBB0_5:
	movl	16(%rbp), %eax
	testl	%r14d, %r14d
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_6
## %bb.8:
	movl	24(%r13), %esi
	movl	16(%r13), %r8d
	movl	20(%r13), %edx
	movq	%r13, %rdi
	movl	%ebx, %ecx
	movl	$512, %r9d                      ## imm = 0x200
	pushq	%rax
	pushq	%r12
	callq	_mmc_test_nonblock_transfer
	addq	$16, %rsp
LBB0_12:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_15
## %bb.13:
	testl	%eax, %eax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_15
## %bb.14:
	leaq	-72(%rbp), %r14
	movq	%r14, %rdi
	callq	_ktime_get_ts64
	leaq	-48(%rbp), %rcx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	16(%rbp), %edx
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%r14, %r8
	callq	_mmc_test_print_avg_rate
	xorl	%eax, %eax
LBB0_15:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	testl	%eax, %eax
	jle	LBB0_7
## %bb.9:
	movq	%r15, %r14
	shrq	$9, %r14
	movl	$1, %r15d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	callq	_mmc_test_area_transfer
	movl	16(%rbp), %ecx
	cmpl	%ecx, %r15d
	jge	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	addl	%r14d, %ebx
	incl	%r15d
	testl	%eax, %eax
	je	LBB0_10
	jmp	LBB0_12
LBB0_7:
	xorl	%eax, %eax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.no_dead_strip	_mmc_test_area_io_seq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmc_test_area_io_seq
_mmc_test_area_io_seq:                  ; @mmc_test_area_io_seq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x25, x7
	mov	x19, x6
	mov	x22, x5
	mov	x23, x3
	mov	x24, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w3, [x29, #16]
	cbz	w4, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	x9, x10, [x21]
	cmp	x9, x8
	csel	x8, x9, x8, lo
	mul	x8, x10, x8
	cmp	x8, x20
	csel	x20, x8, x20, lo
LBB0_2:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x4
	bl	_mmc_test_area_map
	cbnz	w0, LBB0_10
; %bb.3:
	cbz	w22, LBB0_5
; %bb.4:
	add	x0, sp, #8
	bl	_ktime_get_ts64
LBB0_5:
	cbz	w25, LBB0_11
; %bb.6:
	ldp	w2, w1, [x21, #20]
	ldr	w4, [x21, #16]
	mov	x0, x21
	mov	x3, x24
	mov	w5, #512
	mov	x6, x23
	mov	x7, x19
	bl	_mmc_test_nonblock_transfer
LBB0_7:
	cbz	w22, LBB0_10
; %bb.8:
	cbnz	w0, LBB0_10
; %bb.9:
	mov	x0, sp
	bl	_ktime_get_ts64
	add	x3, sp, #8
	mov	x4, sp
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_mmc_test_print_avg_rate
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_11:
	cmp	w19, #1
	b.lt	LBB0_15
; %bb.12:
	lsr	x25, x20, #9
	mov	w26, #1
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x24
	mov	x2, x23
	bl	_mmc_test_area_transfer
	cmp	w26, w19
	b.ge	LBB0_7
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	w24, w24, w25
	add	w26, w26, #1
	cbz	w0, LBB0_13
	b	LBB0_7
LBB0_15:
	mov	w0, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.no_dead_strip	_mmc_test_area_io_seq
.subsections_via_symbols
