	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmc_test_buffer_transfer
_mmc_test_buffer_transfer:              ## @mmc_test_buffer_transfer
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movl	%ecx, %ebx
	movl	%edx, %r12d
	movq	%rdi, %r14
	movl	$0, -56(%rbp)
	movl	$0, -64(%rbp)
	movl	$0, -48(%rbp)
	leaq	-56(%rbp), %rax
	movq	%rax, -80(%rbp)
	leaq	-48(%rbp), %rax
	movq	%rax, -88(%rbp)
	leaq	-64(%rbp), %rax
	movq	%rax, -96(%rbp)
	leaq	-72(%rbp), %r13
	movq	%r13, %rdi
	movl	%ecx, %edx
	callq	_sg_init_one
	leaq	-96(%rbp), %rsi
	movq	%r14, %rdi
	movq	%r13, %rdx
	movl	$1, %ecx
	movl	%r12d, %r8d
	movl	$1, %r9d
	pushq	%r15
	pushq	%rbx
	callq	_mmc_test_prepare_mrq
	addq	$16, %rsp
	movq	(%r14), %rax
	movl	(%rax), %edi
	leaq	-96(%rbp), %rsi
	callq	_mmc_wait_for_req
	movl	-56(%rbp), %eax
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movl	-48(%rbp), %eax
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_mmc_test_wait_busy
LBB0_3:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mmc_test_buffer_transfer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmc_test_buffer_transfer
_mmc_test_buffer_transfer:              ; @mmc_test_buffer_transfer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x19, x0
	str	wzr, [sp, #32]
	str	wzr, [sp, #24]
	str	wzr, [sp, #16]
	add	x8, sp, #32
	str	x8, [sp, #56]
	add	x8, sp, #16
	add	x9, sp, #24
	stp	x9, x8, [sp, #40]
	add	x0, sp, #8
	mov	x2, x3
	bl	_sg_init_one
	add	x1, sp, #40
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #1
	mov	x4, x22
	mov	w5, #1
	mov	x6, x21
	mov	x7, x20
	bl	_mmc_test_prepare_mrq
	ldr	x8, [x19]
	ldr	w0, [x8]
	add	x1, sp, #40
	bl	_mmc_wait_for_req
	ldr	w0, [sp, #32]
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	w0, [sp, #16]
	cbnz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_mmc_test_wait_busy
LBB0_3:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mmc_test_buffer_transfer
.subsections_via_symbols
