	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sdio_readb                     ## -- Begin function sdio_readb
	.p2align	4, 0x90
_sdio_readb:                            ## @sdio_readb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	movl	%esi, %ecx
	movl	(%rdi), %edx
	movl	4(%rdi), %edi
	leaq	-12(%rbp), %r9
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	callq	_mmc_io_rw_direct
	movl	%eax, %ecx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:
	movl	%ecx, (%rbx)
LBB0_5:
	movl	$255, %eax
	testl	%ecx, %ecx
	jne	LBB0_7
## %bb.6:
	movl	-12(%rbp), %eax
	jmp	LBB0_7
LBB0_1:
	movl	$255, %eax
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	subl	(%rcx), %edx
	movl	%edx, (%rbx)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sdio_readb                     ; -- Begin function sdio_readb
	.p2align	2
_sdio_readb:                            ; @sdio_readb
	.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
	mov	x19, x2
	cbz	x0, LBB0_4
; %bb.1:
	mov	x3, x1
	ldp	w2, w8, [x0]
	add	x5, sp, #12
	mov	x0, x8
	mov	w1, #0
	mov	w4, #0
	bl	_mmc_io_rw_direct
	cbz	x19, LBB0_3
; %bb.2:
	str	w0, [x19]
LBB0_3:
	ldr	w8, [sp, #12]
	mov	w9, #255
	cmp	w0, #0
	csel	w0, w8, w9, eq
	b	LBB0_7
LBB0_4:
	cbz	x19, LBB0_6
; %bb.5:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [x19]
LBB0_6:
	mov	w0, #255
LBB0_7:
	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	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
