	.file	"extr_mcde_dsi.c_mcde_dsi_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"stericsson,db8500-prcmu"
.LC1:
	.string	"no PRCMU regmap\n"
.LC2:
	.string	"no DSI regs\n"
.LC3:
	.string	"HW revision 0x%08x\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC4:
	.string	"failed to register DSI host: %d\n"
	.section	.rodata.str1.1
.LC5:
	.string	"registered DSI host\n"
	.text
	.p2align 4
	.type	mcde_dsi_probe, @function
mcde_dsi_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 40
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	call	devm_kzalloc@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	test	rax, rax
	je	.L1
	mov	QWORD PTR 32[rax], r13
	mov	rsi, rax
	mov	rdi, r13
	mov	rbp, rax
	call	platform_set_drvdata@PLT
	lea	rdi, .LC0[rip]
	call	syscon_regmap_lookup_by_compatible@PLT
	mov	QWORD PTR 24[rbp], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L9
	mov	esi, DWORD PTR IORESOURCE_MEM[rip]
	xor	edx, edx
	mov	rdi, r13
	call	platform_get_resource@PLT
	mov	rdi, r13
	mov	rsi, rax
	call	devm_ioremap_resource@PLT
	mov	QWORD PTR 16[rbp], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L10
	mov	rdi, QWORD PTR DSI_ID_REG[rip]
	add	rdi, QWORD PTR 16[rbp]
	call	readl@PLT
	lea	rsi, .LC3[rip]
	mov	rdi, r13
	mov	edx, eax
	xor	eax, eax
	call	dev_info@PLT
	lea	rax, mcde_dsi_host_ops[rip]
	mov	QWORD PTR 8[rbp], r13
	mov	rdi, rbp
	mov	QWORD PTR 0[rbp], rax
	call	mipi_dsi_host_register@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L11
	mov	rdi, r13
	lea	rsi, .LC5[rip]
	xor	eax, eax
	call	dev_info@PLT
	mov	rsi, rbp
	mov	rdi, r13
	call	platform_set_drvdata@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, r13
	pop	r12
	.cfi_def_cfa_offset 16
	lea	rsi, mcde_dsi_component_ops[rip]
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	component_add@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, r13
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	dev_err@PLT
	mov	rdi, QWORD PTR 24[rbp]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edx, eax
	lea	rsi, .LC4[rip]
	mov	rdi, r13
	xor	eax, eax
	call	dev_err@PLT
.L1:
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, r13
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	dev_err@PLT
	mov	rdi, QWORD PTR 16[rbp]
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.cfi_endproc
.LFE0:
	.size	mcde_dsi_probe, .-mcde_dsi_probe
	.comm	mcde_dsi_host_ops,4,4
	.comm	mcde_dsi_component_ops,4,4
	.comm	IORESOURCE_MEM,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	DSI_ID_REG,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_mcde_dsi.c_mcde_dsi_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"stericsson,db8500-prcmu\000"
	.align	2
.LC1:
	.ascii	"no PRCMU regmap\012\000"
	.align	2
.LC2:
	.ascii	"no DSI regs\012\000"
	.align	2
.LC3:
	.ascii	"HW revision 0x%08x\012\000"
	.align	2
.LC4:
	.ascii	"failed to register DSI host: %d\012\000"
	.align	2
.LC5:
	.ascii	"registered DSI host\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mcde_dsi_probe, %function
mcde_dsi_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L13
	push	{r4, r5, r6, lr}
	mov	r1, #20
	ldr	r2, [r3]
	mov	r5, r0
	bl	devm_kzalloc
	subs	r4, r0, #0
	beq	.L9
	mov	r1, r4
	mov	r0, r5
	str	r5, [r4, #16]
	bl	platform_set_drvdata
	ldr	r0, .L13+4
	bl	syscon_regmap_lookup_by_compatible
	str	r0, [r4, #12]
	bl	IS_ERR
	subs	r2, r0, #0
	bne	.L10
	ldr	r3, .L13+8
	mov	r0, r5
	ldr	r1, [r3]
	bl	platform_get_resource
	mov	r1, r0
	mov	r0, r5
	bl	devm_ioremap_resource
	str	r0, [r4, #8]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L11
	ldr	r3, .L13+12
	ldr	r0, [r4, #8]
	ldr	r3, [r3]
	add	r0, r0, r3
	bl	readl
	ldr	r1, .L13+16
	mov	r2, r0
	mov	r0, r5
	bl	dev_info
	ldr	r3, .L13+20
	mov	r0, r4
	stm	r4, {r3, r5}
	bl	mipi_dsi_host_register
	subs	r6, r0, #0
	blt	.L12
	mov	r0, r5
	ldr	r1, .L13+24
	bl	dev_info
	mov	r1, r4
	mov	r0, r5
	bl	platform_set_drvdata
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	ldr	r1, .L13+28
	b	component_add
.L10:
	mov	r0, r5
	ldr	r1, .L13+32
	bl	dev_err
	ldr	r0, [r4, #12]
	pop	{r4, r5, r6, lr}
	b	PTR_ERR
.L9:
	ldr	r3, .L13+36
	ldr	r6, [r3]
	rsb	r6, r6, #0
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, pc}
.L11:
	mov	r0, r5
	ldr	r1, .L13+40
	bl	dev_err
	ldr	r0, [r4, #8]
	pop	{r4, r5, r6, lr}
	b	PTR_ERR
.L12:
	mov	r0, r5
	mov	r2, r6
	ldr	r1, .L13+44
	bl	dev_err
	b	.L1
.L14:
	.align	2
.L13:
	.word	GFP_KERNEL
	.word	.LC0
	.word	IORESOURCE_MEM
	.word	DSI_ID_REG
	.word	.LC3
	.word	mcde_dsi_host_ops
	.word	.LC5
	.word	mcde_dsi_component_ops
	.word	.LC1
	.word	ENOMEM
	.word	.LC2
	.word	.LC4
	.size	mcde_dsi_probe, .-mcde_dsi_probe
	.comm	mcde_dsi_host_ops,4,4
	.comm	mcde_dsi_component_ops,4,4
	.comm	IORESOURCE_MEM,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	DSI_ID_REG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
