	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function mxcmci_probe
LCPI0_0:
	.long	2048                            ## 0x800
	.long	65535                           ## 0xffff
	.long	134215680                       ## 0x7fff800
	.long	134215680                       ## 0x7fff800
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_mxcmci_probe:                          ## @mxcmci_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %r12
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	movq	_mxcmci_of_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_of_match_device
	movq	%rax, %r14
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%rax, %r13
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_52
## %bb.1:
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movl	$96, %edi
	movq	%r15, %rsi
	callq	_mmc_alloc_host
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r14
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movq	%rax, %rdi
	callq	_mmc_priv
	movq	%rax, %r12
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 88(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	88(%r12), %rdi
	callq	_PTR_ERR
	movq	%r14, %rdi
	movl	%eax, %ebx
	jmp	LBB0_51
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_52
LBB0_5:
	movl	(%r13), %eax
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, 84(%r12)
	movq	%r14, %rdi
	callq	_mmc_of_parse
	movq	%r14, %rdi
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_51
## %bb.6:
	movq	_mxcmci_ops@GOTPCREL(%rip), %rax
	movq	%rax, 40(%rdi)
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	movq	%rdi, %r12
	je	LBB0_8
## %bb.7:
	movq	_MMC_CAP_4_BIT_DATA@GOTPCREL(%rip), %rax
	movq	_MMC_CAP_SDIO_IRQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%r12)
	jmp	LBB0_9
LBB0_8:
	movq	_MMC_CAP_SDIO_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
LBB0_9:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [2048,65535,134215680,134215680]
	movups	%xmm0, 4(%r12)
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	(%rax), %rax
	jmp	LBB0_12
LBB0_11:
	movq	16(%r15), %rax
LBB0_12:
	movl	(%rax), %eax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, 80(%rbx)
	movq	%rbx, %rdi
	callq	_is_mpc512x_mmc
	testl	%eax, %eax
	jne	LBB0_14
## %bb.13:
	movl	$64, 20(%r12)
LBB0_14:
	movq	%r12, 40(%rbx)
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, 48(%rbx)
	leaq	76(%rbx), %rdi
	callq	_spin_lock_init
	testq	%r14, %r14
	je	LBB0_16
## %bb.15:
	movl	(%r14), %r14d
	jmp	LBB0_19
LBB0_16:
	movq	%r12, %rdi
	callq	_mmc_card_is_removable
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_of_property_read_bool
	xorl	%r14d, %r14d
	testl	%eax, %eax
	sete	%r14b
	jmp	LBB0_19
LBB0_17:
	xorl	%r14d, %r14d
LBB0_19:
	movq	%r12, %rdi
	callq	_mmc_regulator_get_supply
	movq	%r12, %rdi
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_51
## %bb.20:
	cmpl	$0, 24(%rdi)
	movq	%rdi, %r12
	jne	LBB0_25
## %bb.21:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	movl	4(%rax), %eax
	testl	%eax, %eax
	jne	LBB0_24
LBB0_23:
	movq	_MMC_VDD_32_33@GOTPCREL(%rip), %rcx
	movq	_MMC_VDD_33_34@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
LBB0_24:
	movl	%eax, 24(%r12)
LBB0_25:
	movq	_INT_CARD_INSERTION_EN@GOTPCREL(%rip), %rax
	movq	_INT_CARD_REMOVAL_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%r14d, %r14d
	cmovel	%r14d, %ecx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%ecx, (%rbx)
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_clk_get
	movq	%rax, 16(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_27
## %bb.26:
	movq	16(%rbx), %rdi
	callq	_PTR_ERR
	movq	%r12, %rdi
	movl	%eax, %ebx
	jmp	LBB0_51
LBB0_27:
	movq	%r12, %r14
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_clk_get
	movq	%rax, 8(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	8(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:
	callq	_PTR_ERR
	movl	%eax, %ebx
LBB0_50:
	movq	%r14, %rdi
	jmp	LBB0_51
LBB0_29:
	callq	_clk_prepare_enable
	movl	%eax, %ebx
	testl	%eax, %eax
	movq	%r14, %rdi
	je	LBB0_30
LBB0_51:
	callq	_mmc_free_host
LBB0_52:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	16(%r12), %rdi
	callq	_clk_prepare_enable
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_49
## %bb.31:
	movq	%r12, %rdi
	callq	_mxcmci_softreset
	movq	_MMC_REG_REV_NO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_mxcmci_readw
	movl	%eax, 4(%r12)
	cmpl	$1024, %eax                     ## imm = 0x400
	jne	LBB0_32
## %bb.33:
	movq	8(%r12), %rdi
	callq	_clk_get_rate
	sarl	$16, %eax
	movq	%r14, %rbx
	movl	%eax, 28(%r14)
	movq	8(%r12), %rdi
	callq	_clk_get_rate
	sarl	%eax
	movl	%eax, 32(%r14)
	movq	_MMC_REG_READ_TO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$11700, %esi                    ## imm = 0x2DB4
	callq	_mxcmci_writew
	movl	(%r12), %esi
	movq	_MMC_REG_INT_CNTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_mxcmci_writel
	cmpq	$0, 48(%r12)
	je	LBB0_34
## %bb.35:
	movq	_IORESOURCE_DMA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	testq	%rax, %rax
	je	LBB0_36
## %bb.37:
	movl	(%rax), %eax
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movl	%eax, 60(%r12)
	movq	_IMX_DMATYPE_SDHC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 72(%r12)
	movq	_DMA_PRIO_LOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 68(%r12)
	movl	%eax, 64(%r12)
	callq	_dma_cap_zero
	movq	_DMA_SLAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_dma_cap_set
	movq	_filter@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdx
	callq	_dma_request_channel
	movq	%rax, 24(%r12)
	jmp	LBB0_38
LBB0_32:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	40(%r12), %rdi
	callq	_mmc_dev
	movl	4(%r12), %edx
	leaq	L_.str.4(%rip), %rsi
	movl	%eax, %edi
	callq	_dev_err
	jmp	LBB0_48
LBB0_34:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_dma_request_slave_channel
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 24(%rcx)
	jmp	LBB0_38
LBB0_36:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rax
LBB0_38:
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	testq	%rax, %rax
	je	LBB0_40
## %bb.39:
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_dma_get_max_seg_size
	movl	%eax, 16(%rbx)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_41
LBB0_40:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	40(%rbx), %rdi
	callq	_mmc_dev
	leaq	L_.str.6(%rip), %rsi
	movl	%eax, %edi
	callq	_dev_info
LBB0_41:
	leaq	56(%rbx), %rdi
	movq	_mxcmci_datawork@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	_mxcmci_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_dev_name
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	movq	%r12, %r9
	callq	_devm_request_irq
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_42
LBB0_46:
	movq	24(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_48
## %bb.47:
	callq	_dma_release_channel
LBB0_48:
	movq	16(%r12), %rdi
	callq	_clk_disable_unprepare
LBB0_49:
	movq	8(%r12), %rdi
	callq	_clk_disable_unprepare
	jmp	LBB0_50
LBB0_42:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movq	48(%r12), %rax
	testq	%rax, %rax
	je	LBB0_45
## %bb.43:
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_45
## %bb.44:
	movq	_mxcmci_detect_irq@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	40(%r12), %rdx
	movq	%r15, %rdi
	callq	*%rax
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_46
LBB0_45:
	addq	$32, %r12
	movq	_mxcmci_watchdog@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_timer_setup
	movq	%r14, %rdi
	callq	_mmc_add_host
	jmp	LBB0_52
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"i.MX/MPC512x SDHC driver\n"

	.comm	_mxcmci_of_match,4,2            ## @mxcmci_of_match
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_mxcmci_ops,4,2                 ## @mxcmci_ops
	.comm	_MMC_CAP_4_BIT_DATA,4,2         ## @MMC_CAP_4_BIT_DATA
	.comm	_MMC_CAP_SDIO_IRQ,4,2           ## @MMC_CAP_SDIO_IRQ
L_.str.1:                               ## @.str.1
	.asciz	"cd-gpios"

	.comm	_MMC_VDD_32_33,4,2              ## @MMC_VDD_32_33
	.comm	_MMC_VDD_33_34,4,2              ## @MMC_VDD_33_34
	.comm	_INT_CARD_INSERTION_EN,4,2      ## @INT_CARD_INSERTION_EN
	.comm	_INT_CARD_REMOVAL_EN,4,2        ## @INT_CARD_REMOVAL_EN
L_.str.2:                               ## @.str.2
	.asciz	"ipg"

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

	.comm	_MMC_REG_REV_NO,4,2             ## @MMC_REG_REV_NO
	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.4:                               ## @.str.4
	.asciz	"wrong rev.no. 0x%08x. aborting.\n"

	.comm	_MMC_REG_READ_TO,4,2            ## @MMC_REG_READ_TO
	.comm	_MMC_REG_INT_CNTR,4,2           ## @MMC_REG_INT_CNTR
L_.str.5:                               ## @.str.5
	.asciz	"rx-tx"

	.comm	_IORESOURCE_DMA,4,2             ## @IORESOURCE_DMA
	.comm	_IMX_DMATYPE_SDHC,4,2           ## @IMX_DMATYPE_SDHC
	.comm	_DMA_PRIO_LOW,4,2               ## @DMA_PRIO_LOW
	.comm	_DMA_SLAVE,4,2                  ## @DMA_SLAVE
	.comm	_filter,4,2                     ## @filter
L_.str.6:                               ## @.str.6
	.asciz	"dma not available. Using PIO\n"

	.comm	_mxcmci_datawork,4,2            ## @mxcmci_datawork
	.comm	_mxcmci_irq,4,2                 ## @mxcmci_irq
	.comm	_mxcmci_detect_irq,4,2          ## @mxcmci_detect_irq
	.comm	_mxcmci_watchdog,4,2            ## @mxcmci_watchdog
	.no_dead_strip	_mxcmci_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function mxcmci_probe
lCPI0_0:
	.long	2048                            ; 0x800
	.long	65535                           ; 0xffff
	.long	134215680                       ; 0x7fff800
	.long	134215680                       ; 0x7fff800
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_mxcmci_probe:                          ; @mxcmci_probe
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x0
	ldr	x25, [x0, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
Lloh2:
	adrp	x8, _mxcmci_of_match@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mxcmci_of_match@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_of_match_device
	mov	x24, x0
Lloh5:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	bl	_platform_get_resource
	mov	x23, x0
	mov	x0, x21
	mov	w1, #0
	bl	_platform_get_irq
	mov	x22, x0
	tbnz	w0, #31, LBB0_22
; %bb.1:
	mov	w0, #96
	mov	x1, x21
	bl	_mmc_alloc_host
	cbz	x0, LBB0_5
; %bb.2:
	mov	x19, x0
	bl	_mmc_priv
	mov	x20, x0
	mov	x0, x21
	mov	x1, x23
	bl	_devm_ioremap_resource
	str	x0, [x20, #88]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.3:
	ldr	x0, [x20, #88]
LBB0_4:
	bl	_PTR_ERR
	mov	x23, x0
	b	LBB0_21
LBB0_5:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_22
LBB0_6:
	ldr	w8, [x23]
	str	w8, [x20, #84]
	mov	x0, x19
	bl	_mmc_of_parse
	mov	x23, x0
	cbnz	w0, LBB0_21
; %bb.7:
Lloh11:
	adrp	x8, _mxcmci_ops@GOTPAGE
Lloh12:
	ldr	x8, [x8, _mxcmci_ops@GOTPAGEOFF]
	str	x8, [x19, #40]
Lloh13:
	adrp	x8, _MMC_CAP_SDIO_IRQ@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MMC_CAP_SDIO_IRQ@GOTPAGEOFF]
	cbz	x25, LBB0_9
; %bb.8:
Lloh15:
	adrp	x9, _MMC_CAP_4_BIT_DATA@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MMC_CAP_4_BIT_DATA@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	ldr	w8, [x8]
	orr	w8, w8, w9
	b	LBB0_10
LBB0_9:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
LBB0_10:
	str	w8, [x19]
Lloh18:
	adrp	x8, lCPI0_0@PAGE
Lloh19:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stur	q0, [x19, #4]
	cbz	x24, LBB0_12
; %bb.11:
	ldr	x8, [x24]
	b	LBB0_13
LBB0_12:
	ldr	x8, [x21, #16]
LBB0_13:
	ldr	w8, [x8]
	str	w8, [x20, #80]
	mov	x0, x20
	bl	_is_mpc512x_mmc
	cbnz	w0, LBB0_15
; %bb.14:
	mov	w8, #64
	str	w8, [x19, #20]
LBB0_15:
	stp	x19, x25, [x20, #40]
	add	x0, x20, #76
	bl	_spin_lock_init
	cbz	x25, LBB0_17
; %bb.16:
	ldr	w24, [x25]
	b	LBB0_20
LBB0_17:
	mov	x0, x19
	bl	_mmc_card_is_removable
	cbz	x0, LBB0_19
; %bb.18:
	ldr	w0, [x21]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_of_property_read_bool
	cmp	w0, #0
	cset	w24, eq
	b	LBB0_20
LBB0_19:
	mov	w24, #0
LBB0_20:
	mov	x0, x19
	bl	_mmc_regulator_get_supply
	mov	x23, x0
	cbz	w0, LBB0_23
LBB0_21:
	mov	x0, x19
	bl	_mmc_free_host
	mov	x22, x23
LBB0_22:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_23:
	ldr	w8, [x19, #24]
	cbnz	w8, LBB0_28
; %bb.24:
	cbz	x25, LBB0_26
; %bb.25:
	ldr	w8, [x25, #4]
	cbnz	w8, LBB0_27
LBB0_26:
Lloh22:
	adrp	x8, _MMC_VDD_32_33@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MMC_VDD_32_33@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _MMC_VDD_33_34@GOTPAGE
Lloh26:
	ldr	x9, [x9, _MMC_VDD_33_34@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	orr	w8, w9, w8
LBB0_27:
	str	w8, [x19, #24]
LBB0_28:
Lloh28:
	adrp	x8, _INT_CARD_INSERTION_EN@GOTPAGE
Lloh29:
	ldr	x8, [x8, _INT_CARD_INSERTION_EN@GOTPAGEOFF]
Lloh30:
	adrp	x9, _INT_CARD_REMOVAL_EN@GOTPAGE
Lloh31:
	ldr	x9, [x9, _INT_CARD_REMOVAL_EN@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	ldr	w9, [x9]
	orr	w8, w9, w8
	cmp	w24, #0
	csel	w8, wzr, w8, eq
	str	w8, [x20]
Lloh34:
	adrp	x1, l_.str.2@PAGE
Lloh35:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_devm_clk_get
	str	x0, [x20, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_30
; %bb.29:
	ldr	x0, [x20, #16]
	b	LBB0_4
LBB0_30:
Lloh36:
	adrp	x1, l_.str.3@PAGE
Lloh37:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_devm_clk_get
	str	x0, [x20, #8]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x20, #8]
	cbnz	x8, LBB0_4
; %bb.31:
	bl	_clk_prepare_enable
	mov	x23, x0
	cbnz	w0, LBB0_21
; %bb.32:
	ldr	x0, [x20, #16]
	bl	_clk_prepare_enable
	mov	x23, x0
	cbnz	w0, LBB0_48
; %bb.33:
	mov	x0, x20
	bl	_mxcmci_softreset
Lloh38:
	adrp	x8, _MMC_REG_REV_NO@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MMC_REG_REV_NO@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_mxcmci_readw
	str	w0, [x20, #4]
	cmp	w0, #1024
	b.ne	LBB0_37
; %bb.34:
	ldr	x0, [x20, #8]
	bl	_clk_get_rate
	asr	w8, w0, #16
	str	w8, [x19, #28]
	ldr	x0, [x20, #8]
	bl	_clk_get_rate
	asr	w8, w0, #1
	str	w8, [x19, #32]
Lloh41:
	adrp	x8, _MMC_REG_READ_TO@GOTPAGE
Lloh42:
	ldr	x8, [x8, _MMC_REG_READ_TO@GOTPAGEOFF]
Lloh43:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #11700
	bl	_mxcmci_writew
	ldr	w1, [x20]
Lloh44:
	adrp	x8, _MMC_REG_INT_CNTR@GOTPAGE
Lloh45:
	ldr	x8, [x8, _MMC_REG_INT_CNTR@GOTPAGEOFF]
Lloh46:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_mxcmci_writel
	ldr	x8, [x20, #48]
	cbz	x8, LBB0_38
; %bb.35:
Lloh47:
	adrp	x8, _IORESOURCE_DMA@GOTPAGE
Lloh48:
	ldr	x8, [x8, _IORESOURCE_DMA@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	bl	_platform_get_resource
	cbz	x0, LBB0_40
; %bb.36:
	ldr	w8, [x0]
Lloh50:
	adrp	x9, _IMX_DMATYPE_SDHC@GOTPAGE
Lloh51:
	ldr	x9, [x9, _IMX_DMATYPE_SDHC@GOTPAGEOFF]
Lloh52:
	adrp	x10, _DMA_PRIO_LOW@GOTPAGE
Lloh53:
	ldr	x10, [x10, _DMA_PRIO_LOW@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
Lloh55:
	ldr	w10, [x10]
	stp	w10, w9, [x20, #68]
	stp	w8, w8, [x20, #60]
	bl	_dma_cap_zero
Lloh56:
	adrp	x8, _DMA_SLAVE@GOTPAGE
Lloh57:
	ldr	x8, [x8, _DMA_SLAVE@GOTPAGEOFF]
Lloh58:
	ldr	w0, [x8]
	bl	_dma_cap_set
Lloh59:
	adrp	x8, _filter@GOTPAGE
Lloh60:
	ldr	x8, [x8, _filter@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_dma_request_channel
	b	LBB0_39
LBB0_37:
Lloh62:
	adrp	x8, _ENODEV@GOTPAGE
Lloh63:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
	neg	w23, w8
	ldr	x0, [x20, #40]
	bl	_mmc_dev
	ldr	w2, [x20, #4]
Lloh65:
	adrp	x1, l_.str.4@PAGE
Lloh66:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dev_err
	b	LBB0_47
LBB0_38:
Lloh67:
	adrp	x1, l_.str.5@PAGE
Lloh68:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_dma_request_slave_channel
LBB0_39:
	str	x0, [x20, #24]
	b	LBB0_41
LBB0_40:
	ldr	x0, [x20, #24]
LBB0_41:
	cbz	x0, LBB0_43
; %bb.42:
	ldr	x8, [x0]
	ldr	w0, [x8]
	bl	_dma_get_max_seg_size
	str	w0, [x19, #16]
	b	LBB0_44
LBB0_43:
	ldr	x0, [x20, #40]
	bl	_mmc_dev
Lloh69:
	adrp	x1, l_.str.6@PAGE
Lloh70:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_dev_info
LBB0_44:
	add	x0, x20, #56
Lloh71:
	adrp	x8, _mxcmci_datawork@GOTPAGE
Lloh72:
	ldr	x8, [x8, _mxcmci_datawork@GOTPAGEOFF]
Lloh73:
	ldr	w1, [x8]
	bl	_INIT_WORK
Lloh74:
	adrp	x8, _mxcmci_irq@GOTPAGE
Lloh75:
	ldr	x8, [x8, _mxcmci_irq@GOTPAGEOFF]
Lloh76:
	ldr	w23, [x8]
	mov	x0, x21
	bl	_dev_name
	mov	x4, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	w3, #0
	mov	x5, x20
	bl	_devm_request_irq
	mov	x23, x0
	cbz	w0, LBB0_49
LBB0_45:
	ldr	x0, [x20, #24]
	cbz	x0, LBB0_47
; %bb.46:
	bl	_dma_release_channel
LBB0_47:
	ldr	x0, [x20, #16]
	bl	_clk_disable_unprepare
LBB0_48:
	ldr	x0, [x20, #8]
	bl	_clk_disable_unprepare
	b	LBB0_21
LBB0_49:
	mov	x0, x21
	mov	x1, x19
	bl	_platform_set_drvdata
	ldr	x8, [x20, #48]
	cbz	x8, LBB0_52
; %bb.50:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_52
; %bb.51:
Lloh77:
	adrp	x9, _mxcmci_detect_irq@GOTPAGE
Lloh78:
	ldr	x9, [x9, _mxcmci_detect_irq@GOTPAGEOFF]
Lloh79:
	ldr	w1, [x9]
	ldr	x2, [x20, #40]
	mov	x0, x21
	blr	x8
	mov	x23, x0
	cbnz	w0, LBB0_45
LBB0_52:
	add	x0, x20, #32
Lloh80:
	adrp	x8, _mxcmci_watchdog@GOTPAGE
Lloh81:
	ldr	x8, [x8, _mxcmci_watchdog@GOTPAGEOFF]
Lloh82:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_timer_setup
	mov	x0, x19
	bl	_mmc_add_host
	mov	w22, #0
	b	LBB0_22
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdr	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh32
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh54
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"i.MX/MPC512x SDHC driver\n"

	.comm	_mxcmci_of_match,4,2            ; @mxcmci_of_match
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_mxcmci_ops,4,2                 ; @mxcmci_ops
	.comm	_MMC_CAP_4_BIT_DATA,4,2         ; @MMC_CAP_4_BIT_DATA
	.comm	_MMC_CAP_SDIO_IRQ,4,2           ; @MMC_CAP_SDIO_IRQ
l_.str.1:                               ; @.str.1
	.asciz	"cd-gpios"

	.comm	_MMC_VDD_32_33,4,2              ; @MMC_VDD_32_33
	.comm	_MMC_VDD_33_34,4,2              ; @MMC_VDD_33_34
	.comm	_INT_CARD_INSERTION_EN,4,2      ; @INT_CARD_INSERTION_EN
	.comm	_INT_CARD_REMOVAL_EN,4,2        ; @INT_CARD_REMOVAL_EN
l_.str.2:                               ; @.str.2
	.asciz	"ipg"

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

	.comm	_MMC_REG_REV_NO,4,2             ; @MMC_REG_REV_NO
	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.4:                               ; @.str.4
	.asciz	"wrong rev.no. 0x%08x. aborting.\n"

	.comm	_MMC_REG_READ_TO,4,2            ; @MMC_REG_READ_TO
	.comm	_MMC_REG_INT_CNTR,4,2           ; @MMC_REG_INT_CNTR
l_.str.5:                               ; @.str.5
	.asciz	"rx-tx"

	.comm	_IORESOURCE_DMA,4,2             ; @IORESOURCE_DMA
	.comm	_IMX_DMATYPE_SDHC,4,2           ; @IMX_DMATYPE_SDHC
	.comm	_DMA_PRIO_LOW,4,2               ; @DMA_PRIO_LOW
	.comm	_DMA_SLAVE,4,2                  ; @DMA_SLAVE
	.comm	_filter,4,2                     ; @filter
l_.str.6:                               ; @.str.6
	.asciz	"dma not available. Using PIO\n"

	.comm	_mxcmci_datawork,4,2            ; @mxcmci_datawork
	.comm	_mxcmci_irq,4,2                 ; @mxcmci_irq
	.comm	_mxcmci_detect_irq,4,2          ; @mxcmci_detect_irq
	.comm	_mxcmci_watchdog,4,2            ; @mxcmci_watchdog
	.no_dead_strip	_mxcmci_probe
.subsections_via_symbols
