	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function s3cmci_probe
LCPI0_0:
	.long	4095                            ## 0xfff
	.long	4095                            ## 0xfff
	.long	2096640                         ## 0x1ffe00
	.long	2096640                         ## 0x1ffe00
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_s3cmci_probe:                          ## @s3cmci_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, %r15
	movl	$112, %edi
	movq	%r15, %rsi
	callq	_mmc_alloc_host
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_mmc_priv
	movq	%rax, %r12
	movq	%r14, 104(%rax)
	movq	%r15, 96(%rax)
	cmpq	$0, (%r15)
	je	LBB0_4
## %bb.2:
	movq	%r12, %rdi
	callq	_s3cmci_probe_dt
	jmp	LBB0_5
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_40
LBB0_4:
	movq	%r12, %rdi
	callq	_s3cmci_probe_pdata
LBB0_5:
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_6
LBB0_39:
	movq	%r14, %rdi
	callq	_mmc_free_host
LBB0_40:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	8(%r15), %rax
	movq	%rax, 64(%r12)
	leaq	92(%r12), %rdi
	callq	_spin_lock_init
	movq	%r12, %rdi
	addq	$88, %rdi
	movq	_pio_tasklet@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdx
	callq	_tasklet_init
	xorl	%eax, %eax
	cmpq	$0, 56(%r12)
	movq	_S3C2440_SDIDATA@GOTPCREL(%rip), %rcx
	cmoveq	_S3C2410_SDIDATA@GOTPCREL(%rip), %rcx
	sete	%al
	movl	(%rcx), %ecx
	movq	_S3C2440_SDIIMSK@GOTPCREL(%rip), %rdx
	cmoveq	_S3C2410_SDIIMSK@GOTPCREL(%rip), %rdx
	incl	%eax
	movl	(%rdx), %edx
	movl	%edx, 84(%r12)
	movl	%ecx, 80(%r12)
	movl	%eax, (%r12)
	movq	_COMPLETION_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 76(%r12)
	movq	_XFER_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r12)
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%rax, 24(%r12)
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	movl	(%rax), %ebx
	movq	%rax, %rdi
	callq	_resource_size
	movl	16(%r15), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_request_mem_region
	movq	%rax, 24(%r12)
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:
	movl	(%rax), %ebx
	movq	%rax, %rdi
	callq	_resource_size
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ioremap
	movl	%eax, 32(%r12)
	testl	%eax, %eax
	je	LBB0_15
## %bb.9:
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movq	%rax, 8(%r12)
	testq	%rax, %rax
	jle	LBB0_16
## %bb.10:
	movq	_s3cmci_irq@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_DRIVER_NAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%r13d, %r13d
	movq	%rax, %rdi
	xorl	%edx, %edx
	movq	%r12, %r8
	callq	_request_irq
	testq	%rax, %rax
	je	LBB0_17
## %bb.11:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_ENOENT@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_35
LBB0_12:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_14:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
LBB0_13:
	subl	(%rax), %r13d
	cmpq	$0, (%r15)
	jne	LBB0_39
	jmp	LBB0_37
LBB0_15:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_36
LBB0_16:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_35
LBB0_17:
	movq	8(%r12), %rdi
	callq	_disable_irq
	movl	$0, 16(%r12)
	movq	%r12, %rdi
	callq	_s3cmci_host_usedma
	testq	%rax, %rax
	je	LBB0_20
## %bb.18:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_dma_request_chan
	movl	%eax, 36(%r12)
	movl	%eax, %edi
	callq	_PTR_ERR_OR_ZERO
	testl	%eax, %eax
	je	LBB0_20
## %bb.19:
	movl	%eax, %r13d
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_34
LBB0_20:
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_clk_get
	movq	%rax, 40(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	40(%r12), %rdi
	callq	_PTR_ERR
	movl	%eax, %r13d
	movq	$0, 40(%r12)
	jmp	LBB0_32
LBB0_22:
	movq	40(%r12), %rdi
	callq	_clk_prepare_enable
	testl	%eax, %eax
	je	LBB0_24
## %bb.23:
	movl	%eax, %r13d
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_31
LBB0_24:
	movq	40(%r12), %rdi
	callq	_clk_get_rate
	movl	%eax, %ecx
	movl	%eax, 20(%r12)
	movq	_s3cmci_ops@GOTPCREL(%rip), %rax
	movq	%rax, 40(%r14)
	movq	_MMC_VDD_32_33@GOTPCREL(%rip), %rax
	movq	_MMC_VDD_33_34@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	movl	%edx, (%r14)
	movq	_MMC_CAP_4_BIT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movl	(%r12), %esi
	movl	%esi, %edi
	shll	$8, %edi
	movl	%ecx, %eax
	cltd
	idivl	%edi
	movl	%eax, 8(%r14)
	movl	%ecx, %eax
	cltd
	idivl	%esi
	movl	%eax, 12(%r14)
	movq	64(%r12), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_26
## %bb.25:
	movl	%eax, (%r14)
LBB0_26:
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [4095,4095,2096640,2096640]
	movups	%xmm0, 16(%r14)
	movl	$128, 32(%r14)
	movq	_dbg_debug@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpq	$0, 56(%r12)
	leaq	L_.str.11(%rip), %rax
	leaq	L_.str.10(%rip), %rcx
	cmoveq	%rax, %rcx
	movl	32(%r12), %r8d
	movq	8(%r12), %r9
	movl	48(%r12), %eax
	movl	36(%r12), %ebx
	leaq	L_.str.9(%rip), %rdx
	movq	%r12, %rdi
	pushq	%rbx
	pushq	%rax
	callq	_dbg
	addq	$16, %rsp
	movq	%r12, %rdi
	callq	_s3cmci_cpufreq_register
	testl	%eax, %eax
	je	LBB0_28
## %bb.27:
	movl	%eax, %r13d
	leaq	L_.str.12(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_30
LBB0_28:
	movq	%r14, %rdi
	callq	_mmc_add_host
	testl	%eax, %eax
	je	LBB0_41
## %bb.29:
	movl	%eax, %r13d
	leaq	L_.str.13(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	%r12, %rdi
	callq	_s3cmci_cpufreq_deregister
LBB0_30:
	movq	40(%r12), %rdi
	callq	_clk_disable_unprepare
LBB0_31:
	movq	40(%r12), %rdi
	callq	_clk_put
LBB0_32:
	movq	%r12, %rdi
	callq	_s3cmci_host_usedma
	testq	%rax, %rax
	je	LBB0_34
## %bb.33:
	movl	36(%r12), %edi
	callq	_dma_release_channel
LBB0_34:
	movq	8(%r12), %rdi
	movq	%r12, %rsi
	callq	_free_irq
LBB0_35:
	movl	32(%r12), %edi
	callq	_iounmap
LBB0_36:
	movq	24(%r12), %rdi
	movl	(%rdi), %ebx
	callq	_resource_size
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_release_mem_region
	cmpq	$0, (%r15)
	jne	LBB0_39
LBB0_37:
	movl	$5, %edi
	callq	_S3C2410_GPE
	movl	%eax, %ebx
	movl	$10, %edi
	callq	_S3C2410_GPE
	cmpl	%eax, %ebx
	jg	LBB0_39
	.p2align	4, 0x90
LBB0_38:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_gpio_free
	leal	1(%rbx), %r15d
	movl	$10, %edi
	callq	_S3C2410_GPE
	cmpl	%eax, %ebx
	movl	%r15d, %ebx
	jl	LBB0_38
	jmp	LBB0_39
LBB0_41:
	movq	%r12, %rdi
	callq	_s3cmci_debugfs_attach
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movq	%r14, %rdi
	callq	_mmc_hostname
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_s3cmci_host_usedma
	testq	%rax, %rax
	leaq	L_.str.16(%rip), %rax
	leaq	L_.str.15(%rip), %rcx
	cmoveq	%rax, %rcx
	movq	_MMC_CAP_SDIO_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	4(%r14), %eax
	leaq	L_.str.18(%rip), %rax
	leaq	L_.str.17(%rip), %r8
	cmoveq	%rax, %r8
	leaq	L_.str.14(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_dev_info
	xorl	%r13d, %r13d
	jmp	LBB0_40
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_pio_tasklet,4,2                ## @pio_tasklet
	.comm	_S3C2440_SDIIMSK,4,2            ## @S3C2440_SDIIMSK
	.comm	_S3C2440_SDIDATA,4,2            ## @S3C2440_SDIDATA
	.comm	_S3C2410_SDIIMSK,4,2            ## @S3C2410_SDIIMSK
	.comm	_S3C2410_SDIDATA,4,2            ## @S3C2410_SDIDATA
	.comm	_COMPLETION_NONE,4,2            ## @COMPLETION_NONE
	.comm	_XFER_NONE,4,2                  ## @XFER_NONE
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to get io memory region resource.\n"

	.comm	_ENOENT,4,2                     ## @ENOENT
L_.str.1:                               ## @.str.1
	.asciz	"failed to request io memory region.\n"

L_.str.2:                               ## @.str.2
	.asciz	"failed to ioremap() io memory region.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_s3cmci_irq,4,2                 ## @s3cmci_irq
	.comm	_DRIVER_NAME,4,2                ## @DRIVER_NAME
L_.str.3:                               ## @.str.3
	.asciz	"failed to request mci interrupt.\n"

L_.str.4:                               ## @.str.4
	.asciz	"rx-tx"

L_.str.5:                               ## @.str.5
	.asciz	"cannot get DMA channel.\n"

L_.str.6:                               ## @.str.6
	.asciz	"sdi"

L_.str.7:                               ## @.str.7
	.asciz	"failed to find clock source.\n"

L_.str.8:                               ## @.str.8
	.asciz	"failed to enable clock source.\n"

	.comm	_s3cmci_ops,4,2                 ## @s3cmci_ops
	.comm	_MMC_VDD_32_33,4,2              ## @MMC_VDD_32_33
	.comm	_MMC_VDD_33_34,4,2              ## @MMC_VDD_33_34
	.comm	_MMC_CAP_4_BIT_DATA,4,2         ## @MMC_CAP_4_BIT_DATA
	.comm	_dbg_debug,4,2                  ## @dbg_debug
L_.str.9:                               ## @.str.9
	.asciz	"probe: mode:%s mapped mci_base:%p irq:%u irq_cd:%u dma:%p.\n"

L_.str.10:                              ## @.str.10
	.asciz	"2440"

L_.str.11:                              ## @.str.11
	.space	1

L_.str.12:                              ## @.str.12
	.asciz	"failed to register cpufreq\n"

L_.str.13:                              ## @.str.13
	.asciz	"failed to add mmc host.\n"

L_.str.14:                              ## @.str.14
	.asciz	"%s - using %s, %s SDIO IRQ\n"

L_.str.15:                              ## @.str.15
	.asciz	"dma"

L_.str.16:                              ## @.str.16
	.asciz	"pio"

	.comm	_MMC_CAP_SDIO_IRQ,4,2           ## @MMC_CAP_SDIO_IRQ
L_.str.17:                              ## @.str.17
	.asciz	"hw"

L_.str.18:                              ## @.str.18
	.asciz	"sw"

	.no_dead_strip	_s3cmci_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 s3cmci_probe
lCPI0_0:
	.long	4095                            ; 0xfff
	.long	4095                            ; 0xfff
	.long	2096640                         ; 0x1ffe00
	.long	2096640                         ; 0x1ffe00
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_s3cmci_probe:                          ; @s3cmci_probe
	.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	x20, x0
	mov	w0, #112
	mov	x1, x20
	bl	_mmc_alloc_host
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	bl	_mmc_priv
	mov	x21, x0
	stp	x20, x19, [x0, #96]
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x0, x21
	bl	_s3cmci_probe_dt
	mov	x22, x0
	cbnz	w0, LBB0_39
	b	LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_40
LBB0_4:
	mov	x0, x21
	bl	_s3cmci_probe_pdata
	mov	x22, x0
	cbnz	w0, LBB0_39
LBB0_5:
	ldr	x8, [x20, #8]
	str	x8, [x21, #64]
	add	x0, x21, #92
	bl	_spin_lock_init
	add	x0, x21, #88
Lloh3:
	adrp	x8, _pio_tasklet@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pio_tasklet@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, x21
	bl	_tasklet_init
	ldr	x8, [x21, #56]
	mov	w9, #1
Lloh6:
	adrp	x10, _S3C2410_SDIDATA@GOTPAGE
Lloh7:
	ldr	x10, [x10, _S3C2410_SDIDATA@GOTPAGEOFF]
Lloh8:
	adrp	x11, _S3C2440_SDIDATA@GOTPAGE
Lloh9:
	ldr	x11, [x11, _S3C2440_SDIDATA@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x11, eq
	cinc	w9, w9, eq
	ldr	w8, [x8]
Lloh10:
	adrp	x10, _S3C2410_SDIIMSK@GOTPAGE
Lloh11:
	ldr	x10, [x10, _S3C2410_SDIIMSK@GOTPAGEOFF]
Lloh12:
	adrp	x11, _S3C2440_SDIIMSK@GOTPAGE
Lloh13:
	ldr	x11, [x11, _S3C2440_SDIIMSK@GOTPAGEOFF]
	csel	x10, x10, x11, eq
	ldr	w10, [x10]
	stp	w8, w10, [x21, #80]
	str	w9, [x21]
Lloh14:
	adrp	x8, _COMPLETION_NONE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _COMPLETION_NONE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _XFER_NONE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _XFER_NONE@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #72]
Lloh20:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_platform_get_resource
	str	x0, [x21, #24]
	cbz	x0, LBB0_11
; %bb.6:
	ldr	w22, [x0]
	bl	_resource_size
	mov	x1, x0
	ldr	w2, [x20, #16]
	mov	x0, x22
	bl	_request_mem_region
	str	x0, [x21, #24]
	cbz	x0, LBB0_12
; %bb.7:
	ldr	w22, [x0]
	bl	_resource_size
	mov	x1, x0
	mov	x0, x22
	bl	_ioremap
	str	w0, [x21, #32]
	cbz	w0, LBB0_14
; %bb.8:
	mov	x0, x20
	mov	w1, #0
	bl	_platform_get_irq
	str	x0, [x21, #8]
	cmp	x0, #0
	b.le	LBB0_15
; %bb.9:
Lloh23:
	adrp	x8, _s3cmci_irq@GOTPAGE
Lloh24:
	ldr	x8, [x8, _s3cmci_irq@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	adrp	x8, _DRIVER_NAME@GOTPAGE
Lloh27:
	ldr	x8, [x8, _DRIVER_NAME@GOTPAGEOFF]
Lloh28:
	ldr	w3, [x8]
	mov	w2, #0
	mov	x4, x21
	bl	_request_irq
	cbz	x0, LBB0_17
; %bb.10:
Lloh29:
	adrp	x1, l_.str.3@PAGE
Lloh30:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh31:
	adrp	x8, _ENOENT@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_16
LBB0_11:
Lloh33:
	adrp	x1, l_.str@PAGE
Lloh34:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_13
LBB0_12:
Lloh35:
	adrp	x1, l_.str.1@PAGE
Lloh36:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_13:
	mov	x0, x20
	bl	_dev_err
Lloh37:
	adrp	x8, _ENOENT@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	neg	w22, w8
	ldr	x8, [x20]
	cbnz	x8, LBB0_39
	b	LBB0_37
LBB0_14:
Lloh40:
	adrp	x1, l_.str.2@PAGE
Lloh41:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh42:
	adrp	x8, _EINVAL@GOTPAGE
Lloh43:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_36
LBB0_15:
Lloh45:
	adrp	x8, _EINVAL@GOTPAGE
Lloh46:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_16:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_35
LBB0_17:
	ldr	x0, [x21, #8]
	bl	_disable_irq
	str	wzr, [x21, #16]
	mov	x0, x21
	bl	_s3cmci_host_usedma
	cbz	x0, LBB0_20
; %bb.18:
Lloh47:
	adrp	x1, l_.str.4@PAGE
Lloh48:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_dma_request_chan
	str	w0, [x21, #36]
	bl	_PTR_ERR_OR_ZERO
	cbz	w0, LBB0_20
; %bb.19:
	mov	x22, x0
Lloh49:
	adrp	x1, l_.str.5@PAGE
Lloh50:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_34
LBB0_20:
Lloh51:
	adrp	x1, l_.str.6@PAGE
Lloh52:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_clk_get
	str	x0, [x21, #40]
	bl	_IS_ERR
	cbz	x0, LBB0_22
; %bb.21:
Lloh53:
	adrp	x1, l_.str.7@PAGE
Lloh54:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x21, #40]
	bl	_PTR_ERR
	mov	x22, x0
	str	xzr, [x21, #40]
	b	LBB0_32
LBB0_22:
	ldr	x0, [x21, #40]
	bl	_clk_prepare_enable
	cbz	w0, LBB0_24
; %bb.23:
	mov	x22, x0
Lloh55:
	adrp	x1, l_.str.8@PAGE
Lloh56:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_31
LBB0_24:
	ldr	x0, [x21, #40]
	bl	_clk_get_rate
	str	w0, [x21, #20]
Lloh57:
	adrp	x8, _s3cmci_ops@GOTPAGE
Lloh58:
	ldr	x8, [x8, _s3cmci_ops@GOTPAGEOFF]
	str	x8, [x19, #40]
Lloh59:
	adrp	x8, _MMC_VDD_32_33@GOTPAGE
Lloh60:
	ldr	x8, [x8, _MMC_VDD_32_33@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
Lloh62:
	adrp	x9, _MMC_VDD_33_34@GOTPAGE
Lloh63:
	ldr	x9, [x9, _MMC_VDD_33_34@GOTPAGEOFF]
Lloh64:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh65:
	adrp	x8, _MMC_CAP_4_BIT_DATA@GOTPAGE
Lloh66:
	ldr	x8, [x8, _MMC_CAP_4_BIT_DATA@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
	ldr	w9, [x21]
	lsl	w10, w9, #8
	sdiv	w10, w0, w10
	stp	w8, w10, [x19, #4]
	sdiv	w8, w0, w9
	str	w8, [x19, #12]
	ldr	x8, [x21, #64]
	ldr	w8, [x8]
	cbz	w8, LBB0_26
; %bb.25:
	str	w8, [x19]
LBB0_26:
Lloh68:
	adrp	x8, lCPI0_0@PAGE
Lloh69:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [x19, #16]
	mov	w8, #128
	str	w8, [x19, #32]
Lloh70:
	adrp	x8, _dbg_debug@GOTPAGE
Lloh71:
	ldr	x8, [x8, _dbg_debug@GOTPAGEOFF]
Lloh72:
	ldr	w1, [x8]
	ldr	x8, [x21, #56]
Lloh73:
	adrp	x9, l_.str.10@PAGE
Lloh74:
	add	x9, x9, l_.str.10@PAGEOFF
Lloh75:
	adrp	x10, l_.str.11@PAGE
Lloh76:
	add	x10, x10, l_.str.11@PAGEOFF
	cmp	x8, #0
	csel	x3, x10, x9, eq
	ldr	x5, [x21, #8]
	ldr	w6, [x21, #48]
	ldp	w4, w7, [x21, #32]
Lloh77:
	adrp	x2, l_.str.9@PAGE
Lloh78:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	x0, x21
	bl	_dbg
	mov	x0, x21
	bl	_s3cmci_cpufreq_register
	cbz	w0, LBB0_28
; %bb.27:
	mov	x22, x0
Lloh79:
	adrp	x1, l_.str.12@PAGE
Lloh80:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_30
LBB0_28:
	mov	x0, x19
	bl	_mmc_add_host
	cbz	w0, LBB0_41
; %bb.29:
	mov	x22, x0
Lloh81:
	adrp	x1, l_.str.13@PAGE
Lloh82:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	mov	x0, x21
	bl	_s3cmci_cpufreq_deregister
LBB0_30:
	ldr	x0, [x21, #40]
	bl	_clk_disable_unprepare
LBB0_31:
	ldr	x0, [x21, #40]
	bl	_clk_put
LBB0_32:
	mov	x0, x21
	bl	_s3cmci_host_usedma
	cbz	x0, LBB0_34
; %bb.33:
	ldr	w0, [x21, #36]
	bl	_dma_release_channel
LBB0_34:
	ldr	x0, [x21, #8]
	mov	x1, x21
	bl	_free_irq
LBB0_35:
	ldr	w0, [x21, #32]
	bl	_iounmap
LBB0_36:
	ldr	x0, [x21, #24]
	ldr	w21, [x0]
	bl	_resource_size
	mov	x1, x0
	mov	x0, x21
	bl	_release_mem_region
	ldr	x8, [x20]
	cbnz	x8, LBB0_39
LBB0_37:
	mov	w0, #5
	bl	_S3C2410_GPE
	mov	x20, x0
	mov	w0, #10
	bl	_S3C2410_GPE
	cmp	w20, w0
	b.gt	LBB0_39
LBB0_38:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_gpio_free
	add	w21, w20, #1
	mov	w0, #10
	bl	_S3C2410_GPE
	cmp	w20, w0
	mov	x20, x21
	b.lt	LBB0_38
LBB0_39:
	mov	x0, x19
	bl	_mmc_free_host
LBB0_40:
	mov	x0, x22
	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
	ret
LBB0_41:
	mov	x0, x21
	bl	_s3cmci_debugfs_attach
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
	mov	x0, x19
	bl	_mmc_hostname
	mov	x22, x0
	mov	x0, x21
	bl	_s3cmci_host_usedma
Lloh83:
	adrp	x8, l_.str.15@PAGE
Lloh84:
	add	x8, x8, l_.str.15@PAGEOFF
Lloh85:
	adrp	x9, l_.str.16@PAGE
Lloh86:
	add	x9, x9, l_.str.16@PAGEOFF
	cmp	x0, #0
	csel	x3, x9, x8, eq
	ldr	w8, [x19, #4]
Lloh87:
	adrp	x9, _MMC_CAP_SDIO_IRQ@GOTPAGE
Lloh88:
	ldr	x9, [x9, _MMC_CAP_SDIO_IRQ@GOTPAGEOFF]
Lloh89:
	ldr	w9, [x9]
Lloh90:
	adrp	x10, l_.str.17@PAGE
Lloh91:
	add	x10, x10, l_.str.17@PAGEOFF
Lloh92:
	adrp	x11, l_.str.18@PAGE
Lloh93:
	add	x11, x11, l_.str.18@PAGEOFF
	tst	w9, w8
	csel	x4, x11, x10, eq
Lloh94:
	adrp	x1, l_.str.14@PAGE
Lloh95:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_dev_info
	mov	w22, #0
	b	LBB0_40
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdr	Lloh68, Lloh69
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpAdd	Lloh83, Lloh84
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_pio_tasklet,4,2                ; @pio_tasklet
	.comm	_S3C2440_SDIIMSK,4,2            ; @S3C2440_SDIIMSK
	.comm	_S3C2440_SDIDATA,4,2            ; @S3C2440_SDIDATA
	.comm	_S3C2410_SDIIMSK,4,2            ; @S3C2410_SDIIMSK
	.comm	_S3C2410_SDIDATA,4,2            ; @S3C2410_SDIDATA
	.comm	_COMPLETION_NONE,4,2            ; @COMPLETION_NONE
	.comm	_XFER_NONE,4,2                  ; @XFER_NONE
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to get io memory region resource.\n"

	.comm	_ENOENT,4,2                     ; @ENOENT
l_.str.1:                               ; @.str.1
	.asciz	"failed to request io memory region.\n"

l_.str.2:                               ; @.str.2
	.asciz	"failed to ioremap() io memory region.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_s3cmci_irq,4,2                 ; @s3cmci_irq
	.comm	_DRIVER_NAME,4,2                ; @DRIVER_NAME
l_.str.3:                               ; @.str.3
	.asciz	"failed to request mci interrupt.\n"

l_.str.4:                               ; @.str.4
	.asciz	"rx-tx"

l_.str.5:                               ; @.str.5
	.asciz	"cannot get DMA channel.\n"

l_.str.6:                               ; @.str.6
	.asciz	"sdi"

l_.str.7:                               ; @.str.7
	.asciz	"failed to find clock source.\n"

l_.str.8:                               ; @.str.8
	.asciz	"failed to enable clock source.\n"

	.comm	_s3cmci_ops,4,2                 ; @s3cmci_ops
	.comm	_MMC_VDD_32_33,4,2              ; @MMC_VDD_32_33
	.comm	_MMC_VDD_33_34,4,2              ; @MMC_VDD_33_34
	.comm	_MMC_CAP_4_BIT_DATA,4,2         ; @MMC_CAP_4_BIT_DATA
	.comm	_dbg_debug,4,2                  ; @dbg_debug
l_.str.9:                               ; @.str.9
	.asciz	"probe: mode:%s mapped mci_base:%p irq:%u irq_cd:%u dma:%p.\n"

l_.str.10:                              ; @.str.10
	.asciz	"2440"

l_.str.11:                              ; @.str.11
	.space	1

l_.str.12:                              ; @.str.12
	.asciz	"failed to register cpufreq\n"

l_.str.13:                              ; @.str.13
	.asciz	"failed to add mmc host.\n"

l_.str.14:                              ; @.str.14
	.asciz	"%s - using %s, %s SDIO IRQ\n"

l_.str.15:                              ; @.str.15
	.asciz	"dma"

l_.str.16:                              ; @.str.16
	.asciz	"pio"

	.comm	_MMC_CAP_SDIO_IRQ,4,2           ; @MMC_CAP_SDIO_IRQ
l_.str.17:                              ; @.str.17
	.asciz	"hw"

l_.str.18:                              ; @.str.18
	.asciz	"sw"

	.no_dead_strip	_s3cmci_probe
.subsections_via_symbols
