	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmc_test_align_read
_mmc_test_align_read:                   ## @mmc_test_align_read
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_TEST_ALIGN_END@GOTPCREL(%rip), %r15
	xorl	%eax, %eax
	cmpl	$2, (%r15)
	jl	LBB0_5
## %bb.1:
	movq	%rdi, %r12
	movl	$1, %ebx
	leaq	-40(%rbp), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	movl	$512, %edx                      ## imm = 0x200
	callq	_sg_init_one
	movl	$0, (%rsp)
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$512, %r9d                      ## imm = 0x200
	callq	_mmc_test_transfer
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
## %bb.4:
	xorl	%eax, %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TEST_ALIGN_END,4,2             ## @TEST_ALIGN_END
	.no_dead_strip	_mmc_test_align_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmc_test_align_read
_mmc_test_align_read:                   ; @mmc_test_align_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x20, _TEST_ALIGN_END@GOTPAGE
Lloh1:
	ldr	x20, [x20, _TEST_ALIGN_END@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #2
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x0
	mov	w21, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	add	x1, x21, x8
	add	x0, sp, #8
	mov	w2, #512
	bl	_sg_init_one
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	mov	w4, #1
	mov	w5, #512
	mov	w6, #0
	bl	_mmc_test_transfer
	cbnz	w0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TEST_ALIGN_END,4,2             ; @TEST_ALIGN_END
	.no_dead_strip	_mmc_test_align_read
.subsections_via_symbols
