	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dw_mci_exynos_get_ciu_div
_dw_mci_exynos_get_ciu_div:             ## @dw_mci_exynos_get_ciu_div
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_DW_MCI_TYPE_EXYNOS4412@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	_EXYNOS4412_FIXED_CIU_CLK_DIV@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	_DW_MCI_TYPE_EXYNOS4210@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	_EXYNOS4210_FIXED_CIU_CLK_DIV@GOTPCREL(%rip), %rax
LBB0_2:
	movq	(%rax), %rax
	popq	%rbp
	retq
LBB0_5:
	movq	_DW_MCI_TYPE_EXYNOS7@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.6:
	movq	_DW_MCI_TYPE_EXYNOS7_SMU@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.7:
	movq	_CLKSEL@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_CLKSEL64@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %esi
	callq	_mci_readl
	movl	%eax, %edi
	callq	_SDMMC_CLKSEL_GET_DIV
	incq	%rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DW_MCI_TYPE_EXYNOS4412,8,3     ## @DW_MCI_TYPE_EXYNOS4412
	.comm	_EXYNOS4412_FIXED_CIU_CLK_DIV,8,3 ## @EXYNOS4412_FIXED_CIU_CLK_DIV
	.comm	_DW_MCI_TYPE_EXYNOS4210,8,3     ## @DW_MCI_TYPE_EXYNOS4210
	.comm	_EXYNOS4210_FIXED_CIU_CLK_DIV,8,3 ## @EXYNOS4210_FIXED_CIU_CLK_DIV
	.comm	_DW_MCI_TYPE_EXYNOS7,8,3        ## @DW_MCI_TYPE_EXYNOS7
	.comm	_DW_MCI_TYPE_EXYNOS7_SMU,8,3    ## @DW_MCI_TYPE_EXYNOS7_SMU
	.comm	_CLKSEL64,4,2                   ## @CLKSEL64
	.comm	_CLKSEL,4,2                     ## @CLKSEL
	.no_dead_strip	_dw_mci_exynos_get_ciu_div
.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_get_ciu_div
_dw_mci_exynos_get_ciu_div:             ; @dw_mci_exynos_get_ciu_div
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _DW_MCI_TYPE_EXYNOS4412@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DW_MCI_TYPE_EXYNOS4412@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EXYNOS4412_FIXED_CIU_CLK_DIV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EXYNOS4412_FIXED_CIU_CLK_DIV@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
Lloh5:
	adrp	x9, _DW_MCI_TYPE_EXYNOS4210@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DW_MCI_TYPE_EXYNOS4210@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
Lloh8:
	adrp	x8, _EXYNOS4210_FIXED_CIU_CLK_DIV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EXYNOS4210_FIXED_CIU_CLK_DIV@GOTPAGEOFF]
LBB0_4:
	ldr	x0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh10:
	adrp	x9, _DW_MCI_TYPE_EXYNOS7@GOTPAGE
Lloh11:
	ldr	x9, [x9, _DW_MCI_TYPE_EXYNOS7@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
Lloh13:
	adrp	x10, _DW_MCI_TYPE_EXYNOS7_SMU@GOTPAGE
Lloh14:
	ldr	x10, [x10, _DW_MCI_TYPE_EXYNOS7_SMU@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_7
; %bb.6:
Lloh16:
	adrp	x8, _CLKSEL64@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CLKSEL64@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh18:
	adrp	x8, _CLKSEL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CLKSEL@GOTPAGEOFF]
LBB0_8:
	ldr	w1, [x8]
	bl	_mci_readl
	bl	_SDMMC_CLKSEL_GET_DIV
	add	x0, x0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_DW_MCI_TYPE_EXYNOS4412,8,3     ; @DW_MCI_TYPE_EXYNOS4412
	.comm	_EXYNOS4412_FIXED_CIU_CLK_DIV,8,3 ; @EXYNOS4412_FIXED_CIU_CLK_DIV
	.comm	_DW_MCI_TYPE_EXYNOS4210,8,3     ; @DW_MCI_TYPE_EXYNOS4210
	.comm	_EXYNOS4210_FIXED_CIU_CLK_DIV,8,3 ; @EXYNOS4210_FIXED_CIU_CLK_DIV
	.comm	_DW_MCI_TYPE_EXYNOS7,8,3        ; @DW_MCI_TYPE_EXYNOS7
	.comm	_DW_MCI_TYPE_EXYNOS7_SMU,8,3    ; @DW_MCI_TYPE_EXYNOS7_SMU
	.comm	_CLKSEL64,4,2                   ; @CLKSEL64
	.comm	_CLKSEL,4,2                     ; @CLKSEL
	.no_dead_strip	_dw_mci_exynos_get_ciu_div
.subsections_via_symbols
