	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmc_test_pow2_write
_mmc_test_pow2_write:                   ## @mmc_test_pow2_write
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	8(%rdi), %rax
	cmpl	$0, (%rax)
	je	LBB0_11
## %bb.1:
	movq	%rdi, %r14
	movl	(%rdi), %esi
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_sg_init_one
	movl	$1, (%rsp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_mmc_test_transfer
	testl	%eax, %eax
	jne	LBB0_10
## %bb.2:
	movl	(%r14), %esi
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_sg_init_one
	movl	$1, (%rsp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$2, %r9d
	callq	_mmc_test_transfer
	testl	%eax, %eax
	jne	LBB0_10
## %bb.3:
	movl	(%r14), %esi
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_sg_init_one
	movl	$1, (%rsp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$4, %r9d
	callq	_mmc_test_transfer
	testl	%eax, %eax
	jne	LBB0_10
## %bb.4:
	movl	(%r14), %esi
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_sg_init_one
	movl	$1, (%rsp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$8, %r9d
	callq	_mmc_test_transfer
	testl	%eax, %eax
	jne	LBB0_10
## %bb.5:
	movl	(%r14), %esi
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$16, %edx
	callq	_sg_init_one
	movl	$1, (%rsp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$16, %r9d
	callq	_mmc_test_transfer
	testl	%eax, %eax
	jne	LBB0_10
## %bb.6:
	movl	(%r14), %esi
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$32, %edx
	callq	_sg_init_one
	movl	$1, (%rsp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$32, %r9d
	callq	_mmc_test_transfer
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	movl	(%r14), %esi
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$64, %edx
	callq	_sg_init_one
	movl	$1, (%rsp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$64, %r9d
	callq	_mmc_test_transfer
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:
	movl	(%r14), %esi
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$128, %edx
	callq	_sg_init_one
	movl	$1, (%rsp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$128, %r9d
	callq	_mmc_test_transfer
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movl	(%r14), %esi
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$256, %edx                      ## imm = 0x100
	callq	_sg_init_one
	movl	$1, (%rsp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$256, %r9d                      ## imm = 0x100
	callq	_mmc_test_transfer
	jmp	LBB0_10
LBB0_11:
	movq	_RESULT_UNSUP_CARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RESULT_UNSUP_CARD,4,2          ## @RESULT_UNSUP_CARD
	.no_dead_strip	_mmc_test_pow2_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmc_test_pow2_write
_mmc_test_pow2_write:                   ; @mmc_test_pow2_write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_10
; %bb.1:
	mov	x19, x0
	ldr	w1, [x0]
	add	x0, sp, #8
	mov	w2, #1
	bl	_sg_init_one
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #1
	bl	_mmc_test_transfer
	cbnz	w0, LBB0_11
; %bb.2:
	ldr	w1, [x19]
	add	x0, sp, #8
	mov	w2, #2
	bl	_sg_init_one
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	mov	w4, #1
	mov	w5, #2
	mov	w6, #1
	bl	_mmc_test_transfer
	cbnz	w0, LBB0_11
; %bb.3:
	ldr	w1, [x19]
	add	x0, sp, #8
	mov	w2, #4
	bl	_sg_init_one
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	mov	w4, #1
	mov	w5, #4
	mov	w6, #1
	bl	_mmc_test_transfer
	cbnz	w0, LBB0_11
; %bb.4:
	ldr	w1, [x19]
	add	x0, sp, #8
	mov	w2, #8
	bl	_sg_init_one
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	mov	w4, #1
	mov	w5, #8
	mov	w6, #1
	bl	_mmc_test_transfer
	cbnz	w0, LBB0_11
; %bb.5:
	ldr	w1, [x19]
	add	x0, sp, #8
	mov	w2, #16
	bl	_sg_init_one
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	mov	w4, #1
	mov	w5, #16
	mov	w6, #1
	bl	_mmc_test_transfer
	cbnz	w0, LBB0_11
; %bb.6:
	ldr	w1, [x19]
	add	x0, sp, #8
	mov	w2, #32
	bl	_sg_init_one
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	mov	w4, #1
	mov	w5, #32
	mov	w6, #1
	bl	_mmc_test_transfer
	cbnz	w0, LBB0_11
; %bb.7:
	ldr	w1, [x19]
	add	x0, sp, #8
	mov	w2, #64
	bl	_sg_init_one
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	mov	w4, #1
	mov	w5, #64
	mov	w6, #1
	bl	_mmc_test_transfer
	cbnz	w0, LBB0_11
; %bb.8:
	ldr	w1, [x19]
	add	x0, sp, #8
	mov	w2, #128
	bl	_sg_init_one
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	mov	w4, #1
	mov	w5, #128
	mov	w6, #1
	bl	_mmc_test_transfer
	cbnz	w0, LBB0_11
; %bb.9:
	ldr	w1, [x19]
	add	x0, sp, #8
	mov	w2, #256
	bl	_sg_init_one
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	mov	w4, #1
	mov	w5, #256
	mov	w6, #1
	bl	_mmc_test_transfer
	b	LBB0_11
LBB0_10:
Lloh0:
	adrp	x8, _RESULT_UNSUP_CARD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RESULT_UNSUP_CARD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RESULT_UNSUP_CARD,4,2          ; @RESULT_UNSUP_CARD
	.no_dead_strip	_mmc_test_pow2_write
.subsections_via_symbols
