	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r14d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	leaq	-104(%rbp), %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	leaq	-168(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	leaq	-136(%rbp), %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	leaq	-200(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	%rbx, -80(%rbp)
	movq	%r13, -88(%rbp)
	movq	%r15, -96(%rbp)
	leaq	-72(%rbp), %rbx
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r14d, %edx
	callq	_sg_init_one
	movq	%r12, %rdi
	leaq	-104(%rbp), %r15
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movl	$1, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	$1, %r9d
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	%r14
	callq	_mmc_test_prepare_mrq
	addq	$16, %rsp
	movq	(%r12), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_mmc_wait_for_req
	movl	-168(%rbp), %eax
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movl	-136(%rbp), %eax
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	%r12, %rdi
	callq	_mmc_test_wait_busy
LBB0_3:
	addq	$168, %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, #224
	.cfi_def_cfa_offset 224
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	sub	x0, x29, #96
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	add	x24, sp, #80
	add	x0, sp, #80
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	add	x25, sp, #16
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	add	x26, sp, #48
	add	x0, sp, #48
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	stp	x25, x24, [x29, #-80]
	stur	x26, [x29, #-88]
	add	x0, sp, #8
	mov	x1, x23
	mov	x2, x21
	bl	_sg_init_one
	sub	x1, x29, #96
	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]
	sub	x1, x29, #96
	bl	_mmc_wait_for_req
	ldr	w0, [sp, #80]
	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, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mmc_test_buffer_transfer
.subsections_via_symbols
