	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdhci_get_preset_value
_sdhci_get_preset_value:                ## @sdhci_get_preset_value
	.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	%rdi, %rbx
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$8, %eax
	jae	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.sdhci_get_preset_value(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_3
LBB0_1:
	movl	4(%rbx), %edi
	callq	_mmc_hostname
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_warn
	movq	_SDHCI_PRESET_FOR_SDR12@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_sdhci_readw                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SDHCI_PRESET_FOR_SDR12,4,2     ## @SDHCI_PRESET_FOR_SDR12
	.comm	_SDHCI_PRESET_FOR_SDR25,4,2     ## @SDHCI_PRESET_FOR_SDR25
	.comm	_SDHCI_PRESET_FOR_SDR50,4,2     ## @SDHCI_PRESET_FOR_SDR50
	.comm	_SDHCI_PRESET_FOR_SDR104,4,2    ## @SDHCI_PRESET_FOR_SDR104
	.comm	_SDHCI_PRESET_FOR_DDR50,4,2     ## @SDHCI_PRESET_FOR_DDR50
	.comm	_SDHCI_PRESET_FOR_HS400,4,2     ## @SDHCI_PRESET_FOR_HS400
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Invalid UHS-I mode selected\n"

	.no_dead_strip	_sdhci_get_preset_value
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.sdhci_get_preset_value
l_switch.table.sdhci_get_preset_value:
	.quad	_SDHCI_PRESET_FOR_SDR50
	.quad	_SDHCI_PRESET_FOR_SDR25
	.quad	_SDHCI_PRESET_FOR_SDR12
	.quad	_SDHCI_PRESET_FOR_SDR104
	.quad	_SDHCI_PRESET_FOR_DDR50
	.quad	_SDHCI_PRESET_FOR_HS400
	.quad	_SDHCI_PRESET_FOR_SDR104
	.quad	_SDHCI_PRESET_FOR_DDR50

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdhci_get_preset_value
_sdhci_get_preset_value:                ; @sdhci_get_preset_value
	.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, x0
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #8
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.sdhci_get_preset_value@PAGE
Lloh1:
	add	x9, x9, l_switch.table.sdhci_get_preset_value@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
	ldr	w0, [x19, #4]
	bl	_mmc_hostname
	mov	x1, x0
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_warn
Lloh4:
	adrp	x8, _SDHCI_PRESET_FOR_SDR12@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SDHCI_PRESET_FOR_SDR12@GOTPAGEOFF]
LBB0_3:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sdhci_readw
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_SDHCI_PRESET_FOR_SDR12,4,2     ; @SDHCI_PRESET_FOR_SDR12
	.comm	_SDHCI_PRESET_FOR_SDR25,4,2     ; @SDHCI_PRESET_FOR_SDR25
	.comm	_SDHCI_PRESET_FOR_SDR50,4,2     ; @SDHCI_PRESET_FOR_SDR50
	.comm	_SDHCI_PRESET_FOR_SDR104,4,2    ; @SDHCI_PRESET_FOR_SDR104
	.comm	_SDHCI_PRESET_FOR_DDR50,4,2     ; @SDHCI_PRESET_FOR_DDR50
	.comm	_SDHCI_PRESET_FOR_HS400,4,2     ; @SDHCI_PRESET_FOR_HS400
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Invalid UHS-I mode selected\n"

	.no_dead_strip	_sdhci_get_preset_value
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.sdhci_get_preset_value
l_switch.table.sdhci_get_preset_value:
	.quad	_SDHCI_PRESET_FOR_SDR50
	.quad	_SDHCI_PRESET_FOR_SDR25
	.quad	_SDHCI_PRESET_FOR_SDR12
	.quad	_SDHCI_PRESET_FOR_SDR104
	.quad	_SDHCI_PRESET_FOR_DDR50
	.quad	_SDHCI_PRESET_FOR_HS400
	.quad	_SDHCI_PRESET_FOR_SDR104
	.quad	_SDHCI_PRESET_FOR_DDR50

.subsections_via_symbols
