	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dw_mci_exynos_set_ios
_dw_mci_exynos_set_ios:                 ## @dw_mci_exynos_set_ios
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rcx
	movl	(%rsi), %r14d
	movl	4(%rsi), %r15d
	leal	-128(%r15), %edx
	cmpl	$4, %edx
	ja	LBB0_7
## %bb.1:
	movq	%rsi, %rax
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_4:
	movl	$-458753, %eax                  ## imm = 0xFFF8FFFF
	andl	4(%rcx), %eax
	jmp	LBB0_5
LBB0_7:
	movl	4(%rcx), %esi
	jmp	LBB0_8
LBB0_6:
	movl	$-458753, %eax                  ## imm = 0xFFF8FFFF
	andl	(%rcx), %eax
LBB0_5:
	movl	8(%rcx), %esi
	shll	$16, %esi
	orl	%eax, %esi
	jmp	LBB0_8
LBB0_2:
	movl	12(%rcx), %esi
	movl	16(%rcx), %edi
	callq	_SDMMC_CLKSEL_UP_SAMPLE
	movl	%eax, %esi
	addl	%r14d, %r14d
	jmp	LBB0_8
LBB0_3:
	movl	(%rcx), %esi
	movl	8(%rax), %eax
	movq	_MMC_BUS_WIDTH_8@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	sete	%cl
	shll	%cl, %r14d
LBB0_8:
	movq	%rbx, %rdi
	callq	_dw_mci_exynos_set_clksel_timing
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_dw_mci_exynos_config_hs400
	movq	%rbx, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dw_mci_exynos_adjust_clock     ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_2
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_MMC_BUS_WIDTH_8,4,2            ## @MMC_BUS_WIDTH_8
	.no_dead_strip	_dw_mci_exynos_set_ios
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dw_mci_exynos_set_ios
_dw_mci_exynos_set_ios:                 ; @dw_mci_exynos_set_ios
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	x9, [x0]
	ldp	w20, w21, [x1]
	sub	w10, w21, #128
	cmp	w10, #4
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x11, lJTI0_0@PAGE
Lloh1:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_2
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_2:
	ldp	w8, w9, [x9, #4]
	and	w8, w8, #0xfff8ffff
	orr	w1, w8, w9, lsl #16
	b	LBB0_7
LBB0_3:
	ldr	w1, [x9, #4]
	b	LBB0_7
LBB0_4:
	ldr	w8, [x9]
	and	w8, w8, #0xfff8ffff
	ldr	w9, [x9, #8]
	orr	w1, w8, w9, lsl #16
	b	LBB0_7
LBB0_5:
	ldp	w1, w0, [x9, #12]
	bl	_SDMMC_CLKSEL_UP_SAMPLE
	mov	x1, x0
	lsl	w20, w20, #1
	b	LBB0_7
LBB0_6:
	mov	x8, x1
	ldr	w1, [x9]
	ldr	w8, [x8, #8]
Lloh2:
	adrp	x9, _MMC_BUS_WIDTH_8@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MMC_BUS_WIDTH_8@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w8, eq
	lsl	w20, w20, w8
LBB0_7:
	mov	x0, x19
	bl	_dw_mci_exynos_set_clksel_timing
	mov	x0, x19
	mov	x1, x21
	bl	_dw_mci_exynos_config_hs400
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dw_mci_exynos_adjust_clock
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_MMC_BUS_WIDTH_8,4,2            ; @MMC_BUS_WIDTH_8
	.no_dead_strip	_dw_mci_exynos_set_ios
.subsections_via_symbols
