	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmc_sdio_init_uhs_card
_mmc_sdio_init_uhs_card:                ## @mmc_sdio_init_uhs_card
	.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
	cmpl	$0, 8(%rdi)
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	callq	_sdio_enable_4bit_bus
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	movq	%rbx, %rdi
	callq	_sdio_select_driver_type
	movq	%rbx, %rdi
	callq	_sdio_set_bus_speed_mode
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movq	(%rbx), %rdi
	callq	_mmc_host_is_spi
	testl	%eax, %eax
	je	LBB0_7
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_7:
	movq	(%rbx), %rax
	movq	(%rax), %rcx
	movq	_MMC_TIMING_UHS_SDR50@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_9
## %bb.8:
	movq	_MMC_TIMING_UHS_SDR104@GOTPCREL(%rip), %rdx
	movl	$0, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_6
LBB0_9:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mmc_execute_tuning             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MMC_TIMING_UHS_SDR50,8,3       ## @MMC_TIMING_UHS_SDR50
	.comm	_MMC_TIMING_UHS_SDR104,8,3      ## @MMC_TIMING_UHS_SDR104
	.no_dead_strip	_mmc_sdio_init_uhs_card
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmc_sdio_init_uhs_card
_mmc_sdio_init_uhs_card:                ; @mmc_sdio_init_uhs_card
	.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
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x19, x0
	bl	_sdio_enable_4bit_bus
	cbnz	w0, LBB0_7
; %bb.2:
	mov	x0, x19
	bl	_sdio_select_driver_type
	mov	x0, x19
	bl	_sdio_set_bus_speed_mode
	cbnz	w0, LBB0_7
; %bb.3:
	ldr	x0, [x19]
	bl	_mmc_host_is_spi
	cbnz	w0, LBB0_6
; %bb.4:
	ldr	x8, [x19]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _MMC_TIMING_UHS_SDR50@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MMC_TIMING_UHS_SDR50@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _MMC_TIMING_UHS_SDR104@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MMC_TIMING_UHS_SDR104@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mmc_execute_tuning
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MMC_TIMING_UHS_SDR50,8,3       ; @MMC_TIMING_UHS_SDR50
	.comm	_MMC_TIMING_UHS_SDR104,8,3      ; @MMC_TIMING_UHS_SDR104
	.no_dead_strip	_mmc_sdio_init_uhs_card
.subsections_via_symbols
