	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dw_mci_exynos_config_smu
_dw_mci_exynos_config_smu:              ## @dw_mci_exynos_config_smu
	.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
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_DW_MCI_TYPE_EXYNOS5420_SMU@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.1:
	movq	_DW_MCI_TYPE_EXYNOS7_SMU@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	_MPSBEGIN0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_mci_writel
	movq	_MPSEND0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SDMMC_ENDING_SEC_NR_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_mci_writel
	movq	_SDMMC_MPSCTRL_SECURE_WRITE_BIT@GOTPCREL(%rip), %rax
	movq	_SDMMC_MPSCTRL_NON_SECURE_READ_BIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_MPSCTRL0@GOTPCREL(%rip), %rax
	movq	_SDMMC_MPSCTRL_VALID@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_SDMMC_MPSCTRL_NON_SECURE_WRITE_BIT@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mci_writel                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DW_MCI_TYPE_EXYNOS5420_SMU,8,3 ## @DW_MCI_TYPE_EXYNOS5420_SMU
	.comm	_DW_MCI_TYPE_EXYNOS7_SMU,8,3    ## @DW_MCI_TYPE_EXYNOS7_SMU
	.comm	_MPSBEGIN0,4,2                  ## @MPSBEGIN0
	.comm	_MPSEND0,4,2                    ## @MPSEND0
	.comm	_SDMMC_ENDING_SEC_NR_MAX,4,2    ## @SDMMC_ENDING_SEC_NR_MAX
	.comm	_MPSCTRL0,4,2                   ## @MPSCTRL0
	.comm	_SDMMC_MPSCTRL_SECURE_WRITE_BIT,4,2 ## @SDMMC_MPSCTRL_SECURE_WRITE_BIT
	.comm	_SDMMC_MPSCTRL_NON_SECURE_READ_BIT,4,2 ## @SDMMC_MPSCTRL_NON_SECURE_READ_BIT
	.comm	_SDMMC_MPSCTRL_VALID,4,2        ## @SDMMC_MPSCTRL_VALID
	.comm	_SDMMC_MPSCTRL_NON_SECURE_WRITE_BIT,4,2 ## @SDMMC_MPSCTRL_NON_SECURE_WRITE_BIT
	.no_dead_strip	_dw_mci_exynos_config_smu
.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_config_smu
_dw_mci_exynos_config_smu:              ; @dw_mci_exynos_config_smu
	.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	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _DW_MCI_TYPE_EXYNOS5420_SMU@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DW_MCI_TYPE_EXYNOS5420_SMU@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _DW_MCI_TYPE_EXYNOS7_SMU@GOTPAGE
Lloh4:
	ldr	x10, [x10, _DW_MCI_TYPE_EXYNOS7_SMU@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x0
Lloh6:
	adrp	x8, _MPSBEGIN0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MPSBEGIN0@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_mci_writel
Lloh9:
	adrp	x8, _MPSEND0@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MPSEND0@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _SDMMC_ENDING_SEC_NR_MAX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SDMMC_ENDING_SEC_NR_MAX@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_mci_writel
Lloh15:
	adrp	x8, _MPSCTRL0@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MPSCTRL0@GOTPAGEOFF]
Lloh17:
	adrp	x9, _SDMMC_MPSCTRL_SECURE_WRITE_BIT@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SDMMC_MPSCTRL_SECURE_WRITE_BIT@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
Lloh20:
	adrp	x10, _SDMMC_MPSCTRL_NON_SECURE_READ_BIT@GOTPAGE
Lloh21:
	ldr	x10, [x10, _SDMMC_MPSCTRL_NON_SECURE_READ_BIT@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh23:
	adrp	x10, _SDMMC_MPSCTRL_VALID@GOTPAGE
Lloh24:
	ldr	x10, [x10, _SDMMC_MPSCTRL_VALID@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh26:
	adrp	x10, _SDMMC_MPSCTRL_NON_SECURE_WRITE_BIT@GOTPAGE
Lloh27:
	ldr	x10, [x10, _SDMMC_MPSCTRL_NON_SECURE_WRITE_BIT@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	ldr	w8, [x10]
	orr	w2, w9, w8
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mci_writel
LBB0_2:
	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
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh29
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh28
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DW_MCI_TYPE_EXYNOS5420_SMU,8,3 ; @DW_MCI_TYPE_EXYNOS5420_SMU
	.comm	_DW_MCI_TYPE_EXYNOS7_SMU,8,3    ; @DW_MCI_TYPE_EXYNOS7_SMU
	.comm	_MPSBEGIN0,4,2                  ; @MPSBEGIN0
	.comm	_MPSEND0,4,2                    ; @MPSEND0
	.comm	_SDMMC_ENDING_SEC_NR_MAX,4,2    ; @SDMMC_ENDING_SEC_NR_MAX
	.comm	_MPSCTRL0,4,2                   ; @MPSCTRL0
	.comm	_SDMMC_MPSCTRL_SECURE_WRITE_BIT,4,2 ; @SDMMC_MPSCTRL_SECURE_WRITE_BIT
	.comm	_SDMMC_MPSCTRL_NON_SECURE_READ_BIT,4,2 ; @SDMMC_MPSCTRL_NON_SECURE_READ_BIT
	.comm	_SDMMC_MPSCTRL_VALID,4,2        ; @SDMMC_MPSCTRL_VALID
	.comm	_SDMMC_MPSCTRL_NON_SECURE_WRITE_BIT,4,2 ; @SDMMC_MPSCTRL_NON_SECURE_WRITE_BIT
	.no_dead_strip	_dw_mci_exynos_config_smu
.subsections_via_symbols
