	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdhci_esdhc_imx_probe
_sdhci_esdhc_imx_probe:                 ## @sdhci_esdhc_imx_probe
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_imx_esdhc_dt_ids@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_of_match_device
	movq	%rax, %r12
	movq	_sdhci_esdhc_imx_pdata@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	movl	$56, %edx
	callq	_sdhci_pltfm_init
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.48:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	%r15, %rdi
	callq	_sdhci_priv
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_sdhci_pltfm_priv
	movq	%rax, %r14
	testq	%r12, %r12
	je	LBB0_3
## %bb.2:
	movq	(%r12), %rax
	jmp	LBB0_4
LBB0_3:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
LBB0_4:
	movq	%rax, 8(%r14)
	movq	_ESDHC_FLAG_PMQOS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_PM_QOS_CPU_DMA_LATENCY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_pm_qos_add_request
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_devm_clk_get
	movq	%rax, 24(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	24(%r14), %rdi
	jmp	LBB0_11
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_devm_clk_get
	movq	%rax, 32(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	32(%r14), %rdi
	jmp	LBB0_11
LBB0_10:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_devm_clk_get
	movq	%rax, 16(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	16(%r14), %rdi
	testq	%rax, %rax
	je	LBB0_15
LBB0_11:
	callq	_PTR_ERR
	movl	%eax, %r13d
LBB0_12:
	movq	8(%r14), %rax
	movq	_ESDHC_FLAG_PMQOS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_14
## %bb.13:
	movq	%r14, %rdi
	callq	_pm_qos_remove_request
LBB0_14:
	movq	%rbx, %rdi
	callq	_sdhci_pltfm_free
LBB0_47:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	%rdi, (%r13)
	callq	_clk_get_rate
	movl	%eax, 8(%r13)
	movq	16(%r14), %rdi
	callq	_clk_prepare_enable
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_12
## %bb.16:
	movq	24(%r14), %rdi
	callq	_clk_prepare_enable
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_22
## %bb.17:
	movq	32(%r14), %rdi
	callq	_clk_prepare_enable
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_21
## %bb.18:
	movq	%rbx, %rdi
	callq	_devm_pinctrl_get
	movq	%rax, 48(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	48(%r14), %rdi
	testq	%rax, %rax
	je	LBB0_23
## %bb.19:
	callq	_PTR_ERR
	movl	%eax, %r13d
LBB0_20:
	movq	32(%r14), %rdi
	callq	_clk_disable_unprepare
LBB0_21:
	movq	24(%r14), %rdi
	callq	_clk_disable_unprepare
LBB0_22:
	movq	16(%r14), %rdi
	callq	_clk_disable_unprepare
	jmp	LBB0_12
LBB0_23:
	movq	_PINCTRL_STATE_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pinctrl_lookup_state
	movq	%rax, 40(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:
	movq	8(%r15), %rdi
	callq	_mmc_dev
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %edi
	callq	_dev_warn
LBB0_25:
	movq	%r14, %rdi
	callq	_esdhc_is_usdhc
	testq	%rax, %rax
	je	LBB0_29
## %bb.26:
	movq	_SDHCI_QUIRK2_PRESET_VALUE_BROKEN@GOTPCREL(%rip), %rcx
	movl	32(%r15), %eax
	orl	(%rcx), %eax
	movl	%eax, 32(%r15)
	movq	_MMC_CAP_1_8V_DDR@GOTPCREL(%rip), %rcx
	movq	_MMC_CAP_3_3V_DDR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	8(%r15), %rcx
	orl	%edx, (%rcx)
	movq	8(%r14), %rcx
	movq	_ESDHC_FLAG_HS200@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	jne	LBB0_28
## %bb.27:
	movq	_SDHCI_QUIRK2_BROKEN_HS200@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 32(%r15)
LBB0_28:
	movq	_ESDHC_MIX_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%r15), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_SDHCI_AUTO_CMD_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%r15), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_ESDHC_TUNE_CTRL_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%r15), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_usdhc_execute_tuning@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r15)
LBB0_29:
	movq	8(%r14), %rax
	movl	(%rax), %eax
	movq	_ESDHC_FLAG_MAN_TUNING@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_31
## %bb.30:
	movq	_esdhc_executing_tuning@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_sdhci_esdhc_ops@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
LBB0_31:
	movq	_ESDHC_FLAG_ERR004536@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_33
## %bb.32:
	movq	_SDHCI_QUIRK_BROKEN_ADMA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 36(%r15)
LBB0_33:
	movq	_ESDHC_FLAG_HS400@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_35
## %bb.34:
	movq	_SDHCI_QUIRK2_CAPS_BIT63_FOR_HS400@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 32(%r15)
LBB0_35:
	movq	_ESDHC_FLAG_HS400_ES@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_37
## %bb.36:
	movq	_MMC_CAP2_HS400_ES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	8(%r15), %rdx
	orl	%ecx, 4(%rdx)
	movq	_esdhc_hs400_enhanced_strobe@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%r15)
LBB0_37:
	movq	_ESDHC_FLAG_CQHCI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_41
## %bb.38:
	movq	_MMC_CAP2_CQE@GOTPCREL(%rip), %rax
	movq	_MMC_CAP2_CQE_DCMD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	8(%r15), %rax
	orl	%ecx, 4(%rax)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_39
## %bb.40:
	movq	_ESDHC_CQHCI_ADDR_OFFSET@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	16(%r15), %rcx
	movq	%rcx, 8(%rax)
	movq	_esdhc_cqhci_ops@GOTPCREL(%rip), %rcx
	movq	%rcx, (%rax)
	movq	8(%r15), %rsi
	movq	%rax, %rdi
	xorl	%edx, %edx
	callq	_cqhci_init
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_20
LBB0_41:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	testq	%r12, %r12
	je	LBB0_43
## %bb.42:
	callq	_sdhci_esdhc_imx_probe_dt
	jmp	LBB0_44
LBB0_39:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_20
LBB0_43:
	callq	_sdhci_esdhc_imx_probe_nondt
LBB0_44:
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_20
## %bb.45:
	movl	$1, (%r15)
	movq	%r15, %rdi
	callq	_sdhci_esdhc_imx_hwinit
	movq	%r15, %rdi
	callq	_sdhci_add_host
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_20
## %bb.46:
	movq	%rbx, %rdi
	callq	_pm_runtime_set_active
	movq	%rbx, %rdi
	movl	$50, %esi
	callq	_pm_runtime_set_autosuspend_delay
	movq	%rbx, %rdi
	callq	_pm_runtime_use_autosuspend
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_pm_suspend_ignore_children
	movq	%rbx, %rdi
	callq	_pm_runtime_enable
	xorl	%r13d, %r13d
	jmp	LBB0_47
	.cfi_endproc
                                        ## -- End function
	.comm	_imx_esdhc_dt_ids,4,2           ## @imx_esdhc_dt_ids
	.comm	_sdhci_esdhc_imx_pdata,4,2      ## @sdhci_esdhc_imx_pdata
	.comm	_ESDHC_FLAG_PMQOS,4,2           ## @ESDHC_FLAG_PMQOS
	.comm	_PM_QOS_CPU_DMA_LATENCY,4,2     ## @PM_QOS_CPU_DMA_LATENCY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ipg"

L_.str.1:                               ## @.str.1
	.asciz	"ahb"

L_.str.2:                               ## @.str.2
	.asciz	"per"

	.comm	_PINCTRL_STATE_DEFAULT,4,2      ## @PINCTRL_STATE_DEFAULT
L_.str.3:                               ## @.str.3
	.asciz	"could not get default state\n"

	.comm	_SDHCI_QUIRK2_PRESET_VALUE_BROKEN,4,2 ## @SDHCI_QUIRK2_PRESET_VALUE_BROKEN
	.comm	_MMC_CAP_1_8V_DDR,4,2           ## @MMC_CAP_1_8V_DDR
	.comm	_MMC_CAP_3_3V_DDR,4,2           ## @MMC_CAP_3_3V_DDR
	.comm	_ESDHC_FLAG_HS200,4,2           ## @ESDHC_FLAG_HS200
	.comm	_SDHCI_QUIRK2_BROKEN_HS200,4,2  ## @SDHCI_QUIRK2_BROKEN_HS200
	.comm	_ESDHC_MIX_CTRL,8,3             ## @ESDHC_MIX_CTRL
	.comm	_SDHCI_AUTO_CMD_STATUS,8,3      ## @SDHCI_AUTO_CMD_STATUS
	.comm	_ESDHC_TUNE_CTRL_STATUS,8,3     ## @ESDHC_TUNE_CTRL_STATUS
	.comm	_usdhc_execute_tuning,4,2       ## @usdhc_execute_tuning
	.comm	_ESDHC_FLAG_MAN_TUNING,4,2      ## @ESDHC_FLAG_MAN_TUNING
	.comm	_esdhc_executing_tuning,4,2     ## @esdhc_executing_tuning
	.comm	_sdhci_esdhc_ops,4,2            ## @sdhci_esdhc_ops
	.comm	_ESDHC_FLAG_ERR004536,4,2       ## @ESDHC_FLAG_ERR004536
	.comm	_SDHCI_QUIRK_BROKEN_ADMA,4,2    ## @SDHCI_QUIRK_BROKEN_ADMA
	.comm	_ESDHC_FLAG_HS400,4,2           ## @ESDHC_FLAG_HS400
	.comm	_SDHCI_QUIRK2_CAPS_BIT63_FOR_HS400,4,2 ## @SDHCI_QUIRK2_CAPS_BIT63_FOR_HS400
	.comm	_ESDHC_FLAG_HS400_ES,4,2        ## @ESDHC_FLAG_HS400_ES
	.comm	_MMC_CAP2_HS400_ES,4,2          ## @MMC_CAP2_HS400_ES
	.comm	_esdhc_hs400_enhanced_strobe,4,2 ## @esdhc_hs400_enhanced_strobe
	.comm	_ESDHC_FLAG_CQHCI,4,2           ## @ESDHC_FLAG_CQHCI
	.comm	_MMC_CAP2_CQE,4,2               ## @MMC_CAP2_CQE
	.comm	_MMC_CAP2_CQE_DCMD,4,2          ## @MMC_CAP2_CQE_DCMD
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ESDHC_CQHCI_ADDR_OFFSET,8,3    ## @ESDHC_CQHCI_ADDR_OFFSET
	.comm	_esdhc_cqhci_ops,4,2            ## @esdhc_cqhci_ops
	.no_dead_strip	_sdhci_esdhc_imx_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdhci_esdhc_imx_probe
_sdhci_esdhc_imx_probe:                 ; @sdhci_esdhc_imx_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x8, _imx_esdhc_dt_ids@GOTPAGE
Lloh1:
	ldr	x8, [x8, _imx_esdhc_dt_ids@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_of_match_device
	mov	x22, x0
Lloh3:
	adrp	x1, _sdhci_esdhc_imx_pdata@GOTPAGE
Lloh4:
	ldr	x1, [x1, _sdhci_esdhc_imx_pdata@GOTPAGEOFF]
	mov	x0, x19
	mov	w2, #56
	bl	_sdhci_pltfm_init
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_2:
	mov	x0, x21
	bl	_sdhci_priv
	mov	x23, x0
	bl	_sdhci_pltfm_priv
	mov	x20, x0
	cbz	x22, LBB0_4
; %bb.3:
	ldr	x8, [x22]
	b	LBB0_5
LBB0_4:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
LBB0_5:
	str	x8, [x20, #8]
	ldr	w8, [x8]
Lloh5:
	adrp	x24, _ESDHC_FLAG_PMQOS@GOTPAGE
Lloh6:
	ldr	x24, [x24, _ESDHC_FLAG_PMQOS@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
Lloh7:
	adrp	x8, _PM_QOS_CPU_DMA_LATENCY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PM_QOS_CPU_DMA_LATENCY@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_pm_qos_add_request
LBB0_7:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_devm_clk_get
	str	x0, [x20, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.8:
	ldr	x0, [x20, #24]
	b	LBB0_12
LBB0_9:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_devm_clk_get
	str	x0, [x20, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.10:
	ldr	x0, [x20, #32]
	b	LBB0_12
LBB0_11:
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_devm_clk_get
	str	x0, [x20, #16]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x20, #16]
	cbz	x8, LBB0_17
LBB0_12:
	bl	_PTR_ERR
	mov	x23, x0
LBB0_13:
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.14:
	mov	x0, x20
	bl	_pm_qos_remove_request
LBB0_15:
	mov	x0, x19
	bl	_sdhci_pltfm_free
LBB0_16:
	mov	x0, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_17:
	str	x0, [x23]
	bl	_clk_get_rate
	str	w0, [x23, #8]
	ldr	x0, [x20, #16]
	bl	_clk_prepare_enable
	mov	x23, x0
	cbnz	w0, LBB0_13
; %bb.18:
	ldr	x0, [x20, #24]
	bl	_clk_prepare_enable
	mov	x23, x0
	cbnz	w0, LBB0_24
; %bb.19:
	ldr	x0, [x20, #32]
	bl	_clk_prepare_enable
	mov	x23, x0
	cbnz	w0, LBB0_23
; %bb.20:
	mov	x0, x19
	bl	_devm_pinctrl_get
	str	x0, [x20, #48]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x20, #48]
	cbz	x8, LBB0_25
; %bb.21:
	bl	_PTR_ERR
	mov	x23, x0
LBB0_22:
	ldr	x0, [x20, #32]
	bl	_clk_disable_unprepare
LBB0_23:
	ldr	x0, [x20, #24]
	bl	_clk_disable_unprepare
LBB0_24:
	ldr	x0, [x20, #16]
	bl	_clk_disable_unprepare
	b	LBB0_13
LBB0_25:
Lloh16:
	adrp	x8, _PINCTRL_STATE_DEFAULT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PINCTRL_STATE_DEFAULT@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	bl	_pinctrl_lookup_state
	str	x0, [x20, #40]
	bl	_IS_ERR
	cbz	x0, LBB0_27
; %bb.26:
	ldr	x0, [x21, #8]
	bl	_mmc_dev
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_warn
LBB0_27:
	mov	x0, x20
	bl	_esdhc_is_usdhc
	cbz	x0, LBB0_31
; %bb.28:
Lloh21:
	adrp	x8, _SDHCI_QUIRK2_PRESET_VALUE_BROKEN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SDHCI_QUIRK2_PRESET_VALUE_BROKEN@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	ldr	w9, [x21, #32]
	orr	w8, w9, w8
	str	w8, [x21, #32]
Lloh24:
	adrp	x9, _MMC_CAP_1_8V_DDR@GOTPAGE
Lloh25:
	ldr	x9, [x9, _MMC_CAP_1_8V_DDR@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
Lloh27:
	adrp	x10, _MMC_CAP_3_3V_DDR@GOTPAGE
Lloh28:
	ldr	x10, [x10, _MMC_CAP_3_3V_DDR@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
	orr	w9, w10, w9
	ldr	x10, [x21, #8]
	ldr	w11, [x10]
	orr	w9, w9, w11
	str	w9, [x10]
	ldr	x9, [x20, #8]
	ldr	w9, [x9]
Lloh30:
	adrp	x10, _ESDHC_FLAG_HS200@GOTPAGE
Lloh31:
	ldr	x10, [x10, _ESDHC_FLAG_HS200@GOTPAGEOFF]
Lloh32:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_30
; %bb.29:
Lloh33:
	adrp	x9, _SDHCI_QUIRK2_BROKEN_HS200@GOTPAGE
Lloh34:
	ldr	x9, [x9, _SDHCI_QUIRK2_BROKEN_HS200@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x21, #32]
LBB0_30:
	ldr	x8, [x21, #16]
Lloh36:
	adrp	x9, _ESDHC_MIX_CTRL@GOTPAGE
Lloh37:
	ldr	x9, [x9, _ESDHC_MIX_CTRL@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x21, #16]
Lloh39:
	adrp	x9, _SDHCI_AUTO_CMD_STATUS@GOTPAGE
Lloh40:
	ldr	x9, [x9, _SDHCI_AUTO_CMD_STATUS@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x21, #16]
Lloh42:
	adrp	x9, _ESDHC_TUNE_CTRL_STATUS@GOTPAGE
Lloh43:
	ldr	x9, [x9, _ESDHC_TUNE_CTRL_STATUS@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
Lloh45:
	adrp	x8, _usdhc_execute_tuning@GOTPAGE
Lloh46:
	ldr	x8, [x8, _usdhc_execute_tuning@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	str	w8, [x21, #28]
LBB0_31:
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
Lloh48:
	adrp	x9, _ESDHC_FLAG_MAN_TUNING@GOTPAGE
Lloh49:
	ldr	x9, [x9, _ESDHC_FLAG_MAN_TUNING@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_33
; %bb.32:
Lloh51:
	adrp	x9, _esdhc_executing_tuning@GOTPAGE
Lloh52:
	ldr	x9, [x9, _esdhc_executing_tuning@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
Lloh54:
	adrp	x10, _sdhci_esdhc_ops@GOTPAGE
Lloh55:
	ldr	x10, [x10, _sdhci_esdhc_ops@GOTPAGEOFF]
Lloh56:
	str	w9, [x10]
LBB0_33:
Lloh57:
	adrp	x9, _ESDHC_FLAG_ERR004536@GOTPAGE
Lloh58:
	ldr	x9, [x9, _ESDHC_FLAG_ERR004536@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_35
; %bb.34:
Lloh60:
	adrp	x9, _SDHCI_QUIRK_BROKEN_ADMA@GOTPAGE
Lloh61:
	ldr	x9, [x9, _SDHCI_QUIRK_BROKEN_ADMA@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
	ldr	w10, [x21, #36]
	orr	w9, w10, w9
	str	w9, [x21, #36]
LBB0_35:
Lloh63:
	adrp	x9, _ESDHC_FLAG_HS400@GOTPAGE
Lloh64:
	ldr	x9, [x9, _ESDHC_FLAG_HS400@GOTPAGEOFF]
Lloh65:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_37
; %bb.36:
Lloh66:
	adrp	x9, _SDHCI_QUIRK2_CAPS_BIT63_FOR_HS400@GOTPAGE
Lloh67:
	ldr	x9, [x9, _SDHCI_QUIRK2_CAPS_BIT63_FOR_HS400@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	ldr	w10, [x21, #32]
	orr	w9, w10, w9
	str	w9, [x21, #32]
LBB0_37:
Lloh69:
	adrp	x9, _ESDHC_FLAG_HS400_ES@GOTPAGE
Lloh70:
	ldr	x9, [x9, _ESDHC_FLAG_HS400_ES@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_39
; %bb.38:
Lloh72:
	adrp	x9, _MMC_CAP2_HS400_ES@GOTPAGE
Lloh73:
	ldr	x9, [x9, _MMC_CAP2_HS400_ES@GOTPAGEOFF]
Lloh74:
	ldr	w9, [x9]
	ldr	x10, [x21, #8]
	ldr	w11, [x10, #4]
	orr	w9, w11, w9
	str	w9, [x10, #4]
Lloh75:
	adrp	x9, _esdhc_hs400_enhanced_strobe@GOTPAGE
Lloh76:
	ldr	x9, [x9, _esdhc_hs400_enhanced_strobe@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
	str	w9, [x21, #24]
LBB0_39:
Lloh78:
	adrp	x9, _ESDHC_FLAG_CQHCI@GOTPAGE
Lloh79:
	ldr	x9, [x9, _ESDHC_FLAG_CQHCI@GOTPAGEOFF]
Lloh80:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_42
; %bb.40:
Lloh81:
	adrp	x8, _MMC_CAP2_CQE@GOTPAGE
Lloh82:
	ldr	x8, [x8, _MMC_CAP2_CQE@GOTPAGEOFF]
Lloh83:
	ldr	w8, [x8]
Lloh84:
	adrp	x9, _MMC_CAP2_CQE_DCMD@GOTPAGE
Lloh85:
	ldr	x9, [x9, _MMC_CAP2_CQE_DCMD@GOTPAGEOFF]
Lloh86:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	x9, [x21, #8]
	ldr	w10, [x9, #4]
	orr	w8, w8, w10
	str	w8, [x9, #4]
Lloh87:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh88:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh89:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #16
	bl	_devm_kzalloc
	cbz	x0, LBB0_44
; %bb.41:
Lloh90:
	adrp	x8, _ESDHC_CQHCI_ADDR_OFFSET@GOTPAGE
Lloh91:
	ldr	x8, [x8, _ESDHC_CQHCI_ADDR_OFFSET@GOTPAGEOFF]
Lloh92:
	ldr	x8, [x8]
	ldp	x1, x9, [x21, #8]
	add	x8, x8, x9
Lloh93:
	adrp	x9, _esdhc_cqhci_ops@GOTPAGE
Lloh94:
	ldr	x9, [x9, _esdhc_cqhci_ops@GOTPAGEOFF]
	stp	x9, x8, [x0]
	mov	w2, #0
	bl	_cqhci_init
	mov	x23, x0
	cbnz	w0, LBB0_22
LBB0_42:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	cbz	x22, LBB0_45
; %bb.43:
	bl	_sdhci_esdhc_imx_probe_dt
	b	LBB0_46
LBB0_44:
Lloh95:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh96:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh97:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_22
LBB0_45:
	bl	_sdhci_esdhc_imx_probe_nondt
LBB0_46:
	mov	x23, x0
	cbnz	w0, LBB0_22
; %bb.47:
	mov	w8, #1
	str	w8, [x21]
	mov	x0, x21
	bl	_sdhci_esdhc_imx_hwinit
	mov	x0, x21
	bl	_sdhci_add_host
	mov	x23, x0
	cbnz	w0, LBB0_22
; %bb.48:
	mov	x0, x19
	bl	_pm_runtime_set_active
	mov	x0, x19
	mov	w1, #50
	bl	_pm_runtime_set_autosuspend_delay
	mov	x0, x19
	bl	_pm_runtime_use_autosuspend
	mov	x0, x19
	mov	w1, #1
	bl	_pm_suspend_ignore_children
	mov	x0, x19
	bl	_pm_runtime_enable
	b	LBB0_16
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotStr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.cfi_endproc
                                        ; -- End function
	.comm	_imx_esdhc_dt_ids,4,2           ; @imx_esdhc_dt_ids
	.comm	_sdhci_esdhc_imx_pdata,4,2      ; @sdhci_esdhc_imx_pdata
	.comm	_ESDHC_FLAG_PMQOS,4,2           ; @ESDHC_FLAG_PMQOS
	.comm	_PM_QOS_CPU_DMA_LATENCY,4,2     ; @PM_QOS_CPU_DMA_LATENCY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ipg"

l_.str.1:                               ; @.str.1
	.asciz	"ahb"

l_.str.2:                               ; @.str.2
	.asciz	"per"

	.comm	_PINCTRL_STATE_DEFAULT,4,2      ; @PINCTRL_STATE_DEFAULT
l_.str.3:                               ; @.str.3
	.asciz	"could not get default state\n"

	.comm	_SDHCI_QUIRK2_PRESET_VALUE_BROKEN,4,2 ; @SDHCI_QUIRK2_PRESET_VALUE_BROKEN
	.comm	_MMC_CAP_1_8V_DDR,4,2           ; @MMC_CAP_1_8V_DDR
	.comm	_MMC_CAP_3_3V_DDR,4,2           ; @MMC_CAP_3_3V_DDR
	.comm	_ESDHC_FLAG_HS200,4,2           ; @ESDHC_FLAG_HS200
	.comm	_SDHCI_QUIRK2_BROKEN_HS200,4,2  ; @SDHCI_QUIRK2_BROKEN_HS200
	.comm	_ESDHC_MIX_CTRL,8,3             ; @ESDHC_MIX_CTRL
	.comm	_SDHCI_AUTO_CMD_STATUS,8,3      ; @SDHCI_AUTO_CMD_STATUS
	.comm	_ESDHC_TUNE_CTRL_STATUS,8,3     ; @ESDHC_TUNE_CTRL_STATUS
	.comm	_usdhc_execute_tuning,4,2       ; @usdhc_execute_tuning
	.comm	_ESDHC_FLAG_MAN_TUNING,4,2      ; @ESDHC_FLAG_MAN_TUNING
	.comm	_esdhc_executing_tuning,4,2     ; @esdhc_executing_tuning
	.comm	_sdhci_esdhc_ops,4,2            ; @sdhci_esdhc_ops
	.comm	_ESDHC_FLAG_ERR004536,4,2       ; @ESDHC_FLAG_ERR004536
	.comm	_SDHCI_QUIRK_BROKEN_ADMA,4,2    ; @SDHCI_QUIRK_BROKEN_ADMA
	.comm	_ESDHC_FLAG_HS400,4,2           ; @ESDHC_FLAG_HS400
	.comm	_SDHCI_QUIRK2_CAPS_BIT63_FOR_HS400,4,2 ; @SDHCI_QUIRK2_CAPS_BIT63_FOR_HS400
	.comm	_ESDHC_FLAG_HS400_ES,4,2        ; @ESDHC_FLAG_HS400_ES
	.comm	_MMC_CAP2_HS400_ES,4,2          ; @MMC_CAP2_HS400_ES
	.comm	_esdhc_hs400_enhanced_strobe,4,2 ; @esdhc_hs400_enhanced_strobe
	.comm	_ESDHC_FLAG_CQHCI,4,2           ; @ESDHC_FLAG_CQHCI
	.comm	_MMC_CAP2_CQE,4,2               ; @MMC_CAP2_CQE
	.comm	_MMC_CAP2_CQE_DCMD,4,2          ; @MMC_CAP2_CQE_DCMD
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ESDHC_CQHCI_ADDR_OFFSET,8,3    ; @ESDHC_CQHCI_ADDR_OFFSET
	.comm	_esdhc_cqhci_ops,4,2            ; @esdhc_cqhci_ops
	.no_dead_strip	_sdhci_esdhc_imx_probe
.subsections_via_symbols
