	.file	"extr_sdhci-of-dwcmshc.c_dwcmshc_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"core"
.LC1:
	.string	"failed to get core clk: %d\n"
.LC2:
	.string	"bus"
	.text
	.p2align 4
	.type	dwcmshc_probe, @function
dwcmshc_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	edx, 8
	lea	rsi, sdhci_dwcmshc_pdata[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	sdhci_pltfm_init@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L13
	mov	r13d, DWORD PTR SZ_128M[rip]
	mov	rdi, r12
	call	dma_get_required_mask@PLT
	mov	edi, eax
	mov	esi, r13d
	call	DIV_ROUND_UP_ULL@PLT
	cmp	QWORD PTR SDHCI_MAX_SEGS[rip], rax
	mov	rdi, rbp
	cmovle	rax, QWORD PTR SDHCI_MAX_SEGS[rip]
	add	DWORD PTR 4[rbp], eax
	call	sdhci_priv@PLT
	mov	rdi, rax
	mov	rbx, rax
	call	sdhci_pltfm_priv@PLT
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	mov	r14, rax
	call	devm_clk_get@PLT
	mov	QWORD PTR [rbx], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	mov	rdi, QWORD PTR [rbx]
	test	rax, rax
	jne	.L14
	call	clk_prepare_enable@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L4
	mov	rdi, r12
	lea	rsi, .LC2[rip]
	call	devm_clk_get@PLT
	mov	QWORD PTR [r14], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	je	.L15
.L5:
	mov	edi, DWORD PTR 0[rbp]
	call	mmc_of_parse@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L16
.L6:
	mov	rdi, QWORD PTR [rbx]
	call	clk_disable_unprepare@PLT
	mov	rdi, QWORD PTR [r14]
	call	clk_disable_unprepare@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L14:
	call	PTR_ERR@PLT
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	mov	edx, eax
	mov	r13d, eax
	call	dev_err@PLT
.L4:
	mov	rdi, r12
	call	sdhci_pltfm_free@PLT
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	rdi, r12
	call	sdhci_get_of_property@PLT
	mov	rdi, rbp
	call	sdhci_add_host@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L1
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdi, QWORD PTR [r14]
	call	clk_prepare_enable@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	dwcmshc_probe, .-dwcmshc_probe
	.comm	sdhci_dwcmshc_pdata,4,4
	.comm	SZ_128M,4,4
	.comm	SDHCI_MAX_SEGS,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_sdhci-of-dwcmshc.c_dwcmshc_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"core\000"
	.align	2
.LC1:
	.ascii	"failed to get core clk: %d\012\000"
	.align	2
.LC2:
	.ascii	"bus\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dwcmshc_probe, %function
dwcmshc_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r2, #4
	ldr	r1, .L17
	mov	r5, r0
	bl	sdhci_pltfm_init
	mov	r4, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L13
	mov	r0, r5
	bl	dma_get_required_mask
	ldr	r3, .L17+4
	ldr	r1, [r3]
	bl	DIV_ROUND_UP_ULL
	mov	r1, r0
	ldr	r2, .L17+8
	ldr	r3, [r4, #4]
	ldr	r2, [r2]
	mov	r0, r4
	cmp	r1, r2
	addle	r3, r3, r1
	addgt	r3, r3, r2
	str	r3, [r4, #4]
	bl	sdhci_priv
	mov	r7, r0
	bl	sdhci_pltfm_priv
	ldr	r1, .L17+12
	mov	r8, r0
	mov	r0, r5
	bl	devm_clk_get
	str	r0, [r7]
	bl	IS_ERR
	cmp	r0, #0
	ldr	r0, [r7]
	bne	.L14
	bl	clk_prepare_enable
	subs	r6, r0, #0
	bne	.L4
	ldr	r1, .L17+16
	mov	r0, r5
	bl	devm_clk_get
	str	r0, [r8]
	bl	IS_ERR
	cmp	r0, #0
	beq	.L15
.L5:
	ldr	r0, [r4]
	bl	mmc_of_parse
	subs	r6, r0, #0
	beq	.L16
.L6:
	ldr	r0, [r7]
	bl	clk_disable_unprepare
	ldr	r0, [r8]
	bl	clk_disable_unprepare
	b	.L4
.L14:
	bl	PTR_ERR
	ldr	r1, .L17+20
	mov	r6, r0
	mov	r2, r0
	mov	r0, r5
	bl	dev_err
.L4:
	mov	r0, r5
	bl	sdhci_pltfm_free
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	PTR_ERR
.L16:
	mov	r0, r5
	bl	sdhci_get_of_property
	mov	r0, r4
	bl	sdhci_add_host
	subs	r6, r0, #0
	beq	.L1
	b	.L6
.L15:
	ldr	r0, [r8]
	bl	clk_prepare_enable
	b	.L5
.L18:
	.align	2
.L17:
	.word	sdhci_dwcmshc_pdata
	.word	SZ_128M
	.word	SDHCI_MAX_SEGS
	.word	.LC0
	.word	.LC2
	.word	.LC1
	.size	dwcmshc_probe, .-dwcmshc_probe
	.comm	sdhci_dwcmshc_pdata,4,4
	.comm	SZ_128M,4,4
	.comm	SDHCI_MAX_SEGS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
