	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmc_test_weird_read
_mmc_test_weird_read:                   ## @mmc_test_weird_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rax
	cmpl	$0, (%rax)
	je	LBB0_6
## %bb.1:
	movq	%rdi, %r14
	movl	$-4, %ebx
	leaq	-32(%rbp), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	addl	$7, %ebx
	movl	(%r14), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_sg_init_one
	movl	$0, (%rsp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	%ebx, %r9d
	callq	_mmc_test_transfer
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$504, %ebx                      ## imm = 0x1F8
	jbe	LBB0_2
## %bb.4:
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_6:
	movq	_RESULT_UNSUP_CARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RESULT_UNSUP_CARD,4,2          ## @RESULT_UNSUP_CARD
	.no_dead_strip	_mmc_test_weird_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_weird_read
_mmc_test_weird_read:                   ; @mmc_test_weird_read
	.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_5
; %bb.1:
	mov	x19, x0
	mov	w20, #-4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w20, w20, #7
	ldr	w1, [x19]
	add	x0, sp, #8
	mov	x2, x20
	bl	_sg_init_one
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	mov	w4, #1
	mov	x5, x20
	mov	w6, #0
	bl	_mmc_test_transfer
	cbnz	w0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w20, #504
	b.ls	LBB0_2
; %bb.4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh0:
	adrp	x8, _RESULT_UNSUP_CARD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RESULT_UNSUP_CARD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_6:
	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_weird_read
.subsections_via_symbols
