	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdhci_pre_req
_sdhci_pre_req:                         ## @sdhci_pre_req
	.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	%rsi, %rbx
	callq	_mmc_priv
	movq	_COOKIE_UNMAPPED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	(%rbx), %rsi
	movl	%ecx, (%rsi)
	movq	_SDHCI_REQ_USE_DMA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_2
## %bb.1:
	cmpl	$0, 4(%rax)
	je	LBB0_3
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	_COOKIE_PRE_MAPPED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_sdhci_pre_dma_transfer         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_COOKIE_UNMAPPED,4,2            ## @COOKIE_UNMAPPED
	.comm	_SDHCI_REQ_USE_DMA,4,2          ## @SDHCI_REQ_USE_DMA
	.comm	_COOKIE_PRE_MAPPED,4,2          ## @COOKIE_PRE_MAPPED
	.no_dead_strip	_sdhci_pre_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdhci_pre_req
_sdhci_pre_req:                         ; @sdhci_pre_req
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_mmc_priv
Lloh0:
	adrp	x8, _COOKIE_UNMAPPED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COOKIE_UNMAPPED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x1, [x19]
	str	w8, [x1]
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _SDHCI_REQ_USE_DMA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SDHCI_REQ_USE_DMA@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh6:
	adrp	x8, _COOKIE_PRE_MAPPED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _COOKIE_PRE_MAPPED@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sdhci_pre_dma_transfer
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_COOKIE_UNMAPPED,4,2            ; @COOKIE_UNMAPPED
	.comm	_SDHCI_REQ_USE_DMA,4,2          ; @SDHCI_REQ_USE_DMA
	.comm	_COOKIE_PRE_MAPPED,4,2          ; @COOKIE_PRE_MAPPED
	.no_dead_strip	_sdhci_pre_req
.subsections_via_symbols
