	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rsi_sdio_read_register         ## -- Begin function rsi_sdio_read_register
	.p2align	4, 0x90
_rsi_sdio_read_register:                ## @rsi_sdio_read_register
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	(%rdi), %rbx
	movq	(%rbx), %rax
	movq	_current@GOTPCREL(%rip), %r12
	xorl	%edi, %edi
	cmpq	(%r12), %rax
	setne	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	8(%rbx), %edi
	callq	_sdio_claim_host
LBB0_2:
	movl	8(%rbx), %edi
	leaq	-36(%rbp), %rdx
	movl	%r15d, %esi
	callq	_sdio_f0_readb
	movq	%rax, (%r14)
	movq	(%rbx), %rax
	xorl	%edi, %edi
	cmpq	(%r12), %rax
	setne	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	8(%rbx), %edi
	callq	_sdio_release_host
LBB0_4:
	movl	-36(%rbp), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current,8,3                    ## @current
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rsi_sdio_read_register         ; -- Begin function rsi_sdio_read_register
	.p2align	2
_rsi_sdio_read_register:                ; @rsi_sdio_read_register
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x20, x1
	ldr	x21, [x0]
	ldr	x8, [x21]
Lloh0:
	adrp	x22, _current@GOTPAGE
Lloh1:
	ldr	x22, [x22, _current@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	cset	w0, ne
	bl	_likely
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x21, #8]
	bl	_sdio_claim_host
LBB0_2:
	ldr	w0, [x21, #8]
	add	x2, sp, #12
	mov	x1, x20
	bl	_sdio_f0_readb
	str	x0, [x19]
	ldr	x8, [x21]
	ldr	x9, [x22]
	cmp	x8, x9
	cset	w0, ne
	bl	_likely
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x21, #8]
	bl	_sdio_release_host
LBB0_4:
	ldr	w0, [sp, #12]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_current,8,3                    ; @current
.subsections_via_symbols
