	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipu_probe
_ipu_probe:                             ## @ipu_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	(%rdi), %r15
	callq	_of_device_get_match_data
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movl	%eax, %r14d
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_platform_get_irq
	movl	%eax, %r13d
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%rax, %rbx
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movslq	%r14d, %rdx
	movl	%r13d, %r14d
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_dev_dbg
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.2:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	js	LBB0_12
## %bb.3:
	testl	%r14d, %r14d
	js	LBB0_12
## %bb.4:
	movq	(%rbx), %r13
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$80, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_of_alias_get_id
	xorl	%ecx, %ecx
	testq	%rax, %rax
	cmovgq	%rax, %rcx
	movq	%rcx, (%rbx)
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_of_device_is_compatible
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	_CONFIG_DRM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	(%rbx), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_ipu_prg_lookup_by_phandle
	movl	%eax, 72(%rbx)
	testl	%eax, %eax
	je	LBB0_21
LBB0_8:
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, 64(%rbx)
	movl	84(%r14), %eax
	movl	%eax, 60(%rbx)
	leaq	56(%rbx), %rdi
	callq	_spin_lock_init
	leaq	52(%rbx), %rdi
	callq	_mutex_init
	movq	%rbx, %rdi
	addq	$48, %rdi
	callq	_INIT_LIST_HEAD
	movq	(%r14), %rdx
	addq	%r13, %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %r15
	movq	%r13, %rbx
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	(%r14), %rdx
	addq	%rbx, %rdx
	movq	_IPU_CM_IDMAC_REG_OFS@GOTPCREL(%rip), %rax
	addq	(%rax), %rdx
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	8(%r14), %rdx
	addq	%rbx, %rdx
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	16(%r14), %rdx
	addq	%rbx, %rdx
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	24(%r14), %rdx
	addq	%rbx, %rdx
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	32(%r14), %rdx
	addq	%rbx, %rdx
	leaq	L_.str.9(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	40(%r14), %rdx
	addq	%rbx, %rdx
	leaq	L_.str.10(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	48(%r14), %rdx
	addq	%rbx, %rdx
	leaq	L_.str.11(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	56(%r14), %rdx
	addq	%rbx, %rdx
	leaq	L_.str.12(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	64(%r14), %rdx
	addq	%rbx, %rdx
	leaq	L_.str.13(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	(%r14), %rdx
	addq	%rbx, %rdx
	movq	_IPU_CM_DC_REG_OFS@GOTPCREL(%rip), %rax
	addq	(%rax), %rdx
	leaq	L_.str.14(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	(%r14), %rdx
	addq	%rbx, %rdx
	movq	_IPU_CM_IC_REG_OFS@GOTPCREL(%rip), %rax
	addq	(%rax), %rdx
	leaq	L_.str.15(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	(%r14), %rdx
	addq	%rbx, %rdx
	movq	_IPU_CM_DMFC_REG_OFS@GOTPCREL(%rip), %rax
	addq	(%rax), %rdx
	leaq	L_.str.16(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	72(%r14), %rdx
	addq	%rbx, %rdx
	leaq	L_.str.17(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	(%r14), %rsi
	addq	%rbx, %rsi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_devm_ioremap
	movq	%rax, 40(%r15)
	movq	(%r14), %rsi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	addq	%rbx, %rsi
	movq	_IPU_CM_IDMAC_REG_OFS@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_devm_ioremap
	movq	%r15, %rcx
	movq	%rax, 32(%r15)
	cmpq	$0, 40(%r15)
	je	LBB0_17
## %bb.9:
	testq	%rax, %rax
	je	LBB0_17
## %bb.10:
	leaq	L_.str.18(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_clk_get
	movl	%eax, 16(%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_18
## %bb.11:
	movl	16(%r15), %edi
	callq	_PTR_ERR
	movl	%eax, %r13d
	leaq	L_.str.19(%rip), %rsi
	jmp	LBB0_20
LBB0_12:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_13:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_14:
	xorl	%r13d, %r13d
LBB0_15:
	subl	(%rax), %r13d
LBB0_16:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_18:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_platform_set_drvdata
	movl	16(%r15), %edi
	callq	_clk_prepare_enable
	testl	%eax, %eax
	je	LBB0_22
## %bb.19:
	movl	%eax, %r13d
	leaq	L_.str.20(%rip), %rsi
LBB0_20:
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_dev_err
	jmp	LBB0_16
LBB0_21:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_22:
	movq	%r12, 24(%r15)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%r15)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 12(%r15)
	movq	%r12, %rdi
	callq	_device_reset
	testl	%eax, %eax
	je	LBB0_24
## %bb.23:
	movl	%eax, %r13d
	leaq	L_.str.21(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_dev_err
	jmp	LBB0_30
LBB0_24:
	movq	%r15, %rdi
	callq	_ipu_memory_reset
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_30
## %bb.25:
	movq	%r15, %rdi
	callq	_ipu_irq_init
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_30
## %bb.26:
	movq	_IPU_MCU_T_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	$16, %esi
	shll	$18, %esi
	movq	_IPU_DISP_GEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_ipu_cm_write
	movl	16(%r15), %ecx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_ipu_submodules_init
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_29
## %bb.27:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ipu_add_client_devices
	testl	%eax, %eax
	je	LBB0_31
## %bb.28:
	movl	%eax, %r13d
	leaq	L_.str.22(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_dev_err
	movq	%r15, %rdi
	callq	_ipu_submodules_exit
LBB0_29:
	movq	%r15, %rdi
	callq	_ipu_irq_exit
LBB0_30:
	movl	16(%r15), %edi
	callq	_clk_disable_unprepare
	jmp	LBB0_16
LBB0_31:
	movl	80(%r14), %edx
	leaq	L_.str.23(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_info
	xorl	%r13d, %r13d
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"irq_sync: %d irq_err: %d\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.1:                               ## @.str.1
	.asciz	"ipu"

L_.str.2:                               ## @.str.2
	.asciz	"fsl,imx6qp-ipu"

	.comm	_CONFIG_DRM,4,2                 ## @CONFIG_DRM
L_.str.3:                               ## @.str.3
	.asciz	"fsl,prg"

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
L_.str.4:                               ## @.str.4
	.asciz	"cm_reg:   0x%08lx\n"

L_.str.5:                               ## @.str.5
	.asciz	"idmac:    0x%08lx\n"

	.comm	_IPU_CM_IDMAC_REG_OFS,8,3       ## @IPU_CM_IDMAC_REG_OFS
L_.str.6:                               ## @.str.6
	.asciz	"cpmem:    0x%08lx\n"

L_.str.7:                               ## @.str.7
	.asciz	"csi0:    0x%08lx\n"

L_.str.8:                               ## @.str.8
	.asciz	"csi1:    0x%08lx\n"

L_.str.9:                               ## @.str.9
	.asciz	"ic:      0x%08lx\n"

L_.str.10:                              ## @.str.10
	.asciz	"disp0:    0x%08lx\n"

L_.str.11:                              ## @.str.11
	.asciz	"disp1:    0x%08lx\n"

L_.str.12:                              ## @.str.12
	.asciz	"srm:      0x%08lx\n"

L_.str.13:                              ## @.str.13
	.asciz	"tpm:      0x%08lx\n"

L_.str.14:                              ## @.str.14
	.asciz	"dc:       0x%08lx\n"

	.comm	_IPU_CM_DC_REG_OFS,8,3          ## @IPU_CM_DC_REG_OFS
L_.str.15:                              ## @.str.15
	.asciz	"ic:       0x%08lx\n"

	.comm	_IPU_CM_IC_REG_OFS,8,3          ## @IPU_CM_IC_REG_OFS
L_.str.16:                              ## @.str.16
	.asciz	"dmfc:     0x%08lx\n"

	.comm	_IPU_CM_DMFC_REG_OFS,8,3        ## @IPU_CM_DMFC_REG_OFS
L_.str.17:                              ## @.str.17
	.asciz	"vdi:      0x%08lx\n"

	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.18:                              ## @.str.18
	.asciz	"bus"

L_.str.19:                              ## @.str.19
	.asciz	"clk_get failed with %d"

L_.str.20:                              ## @.str.20
	.asciz	"clk_prepare_enable failed: %d\n"

L_.str.21:                              ## @.str.21
	.asciz	"failed to reset: %d\n"

	.comm	_IPU_MCU_T_DEFAULT,4,2          ## @IPU_MCU_T_DEFAULT
	.comm	_IPU_DISP_GEN,4,2               ## @IPU_DISP_GEN
L_.str.22:                              ## @.str.22
	.asciz	"adding client devices failed with %d\n"

L_.str.23:                              ## @.str.23
	.asciz	"%s probed\n"

	.no_dead_strip	_ipu_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipu_probe
_ipu_probe:                             ; @ipu_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x0
	ldr	x25, [x0]
	bl	_of_device_get_match_data
	cbz	x0, LBB0_13
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	w1, #0
	bl	_platform_get_irq
	mov	x23, x0
	mov	x0, x19
	mov	w1, #1
	bl	_platform_get_irq
	mov	x24, x0
Lloh0:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	mov	x21, x0
	sxtw	x2, w23
	str	x24, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	cbz	x21, LBB0_12
; %bb.2:
	tbnz	w23, #31, LBB0_12
; %bb.3:
	tbnz	w24, #31, LBB0_12
; %bb.4:
	ldr	x22, [x21]
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #80
	bl	_devm_kzalloc
	cbz	x0, LBB0_12
; %bb.5:
	mov	x21, x0
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x25
	bl	_of_alias_get_id
	cmp	x0, #0
	csel	x8, x0, xzr, gt
	str	x8, [x21]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x25
	bl	_of_device_is_compatible
	cbz	x0, LBB0_8
; %bb.6:
Lloh12:
	adrp	x8, _CONFIG_DRM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CONFIG_DRM@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_IS_ENABLED
	cbz	x0, LBB0_8
; %bb.7:
	ldr	x2, [x21]
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_ipu_prg_lookup_by_phandle
	str	w0, [x21, #72]
	cbz	w0, LBB0_20
LBB0_8:
	str	x20, [x21, #64]
	ldr	w8, [x20, #84]
	str	w8, [x21, #60]
	add	x0, x21, #56
	bl	_spin_lock_init
	add	x0, x21, #52
	bl	_mutex_init
	add	x0, x21, #48
	bl	_INIT_LIST_HEAD
	ldr	x8, [x20]
	add	x2, x8, x22
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	x8, [x20]
Lloh19:
	adrp	x25, _IPU_CM_IDMAC_REG_OFS@GOTPAGE
Lloh20:
	ldr	x25, [x25, _IPU_CM_IDMAC_REG_OFS@GOTPAGEOFF]
	ldr	x9, [x25]
	add	x8, x8, x22
	add	x2, x8, x9
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	x8, [x20, #8]
	add	x2, x8, x22
Lloh23:
	adrp	x1, l_.str.6@PAGE
Lloh24:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	x8, [x20, #16]
	add	x2, x8, x22
Lloh25:
	adrp	x1, l_.str.7@PAGE
Lloh26:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	x8, [x20, #24]
	add	x2, x8, x22
Lloh27:
	adrp	x1, l_.str.8@PAGE
Lloh28:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	x8, [x20, #32]
	add	x2, x8, x22
Lloh29:
	adrp	x1, l_.str.9@PAGE
Lloh30:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	x8, [x20, #40]
	add	x2, x8, x22
Lloh31:
	adrp	x1, l_.str.10@PAGE
Lloh32:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	x8, [x20, #48]
	add	x2, x8, x22
Lloh33:
	adrp	x1, l_.str.11@PAGE
Lloh34:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	x8, [x20, #56]
	add	x2, x8, x22
Lloh35:
	adrp	x1, l_.str.12@PAGE
Lloh36:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	x8, [x20, #64]
	add	x2, x8, x22
Lloh37:
	adrp	x1, l_.str.13@PAGE
Lloh38:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	x8, [x20]
Lloh39:
	adrp	x9, _IPU_CM_DC_REG_OFS@GOTPAGE
Lloh40:
	ldr	x9, [x9, _IPU_CM_DC_REG_OFS@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	add	x8, x8, x22
	add	x2, x8, x9
Lloh42:
	adrp	x1, l_.str.14@PAGE
Lloh43:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	x8, [x20]
Lloh44:
	adrp	x9, _IPU_CM_IC_REG_OFS@GOTPAGE
Lloh45:
	ldr	x9, [x9, _IPU_CM_IC_REG_OFS@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	add	x8, x8, x22
	add	x2, x8, x9
Lloh47:
	adrp	x1, l_.str.15@PAGE
Lloh48:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	x8, [x20]
Lloh49:
	adrp	x9, _IPU_CM_DMFC_REG_OFS@GOTPAGE
Lloh50:
	ldr	x9, [x9, _IPU_CM_DMFC_REG_OFS@GOTPAGEOFF]
Lloh51:
	ldr	x9, [x9]
	add	x8, x8, x22
	add	x2, x8, x9
Lloh52:
	adrp	x1, l_.str.16@PAGE
Lloh53:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	x8, [x20, #72]
	add	x2, x8, x22
Lloh54:
	adrp	x1, l_.str.17@PAGE
Lloh55:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	x8, [x20]
	add	x1, x8, x22
Lloh56:
	adrp	x26, _PAGE_SIZE@GOTPAGE
Lloh57:
	ldr	x26, [x26, _PAGE_SIZE@GOTPAGEOFF]
	ldr	w2, [x26]
	mov	x0, x19
	bl	_devm_ioremap
	str	x0, [x21, #40]
	ldr	x8, [x20]
	ldr	x9, [x25]
	add	x8, x8, x22
	add	x1, x8, x9
	ldr	w2, [x26]
	mov	x0, x19
	bl	_devm_ioremap
	str	x0, [x21, #32]
	ldr	x8, [x21, #40]
	cbz	x8, LBB0_16
; %bb.9:
	cbz	x0, LBB0_16
; %bb.10:
Lloh58:
	adrp	x1, l_.str.18@PAGE
Lloh59:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	x0, x19
	bl	_devm_clk_get
	str	w0, [x21, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_17
; %bb.11:
	ldr	w0, [x21, #16]
	bl	_PTR_ERR
	mov	x25, x0
Lloh60:
	adrp	x1, l_.str.19@PAGE
Lloh61:
	add	x1, x1, l_.str.19@PAGEOFF
	b	LBB0_19
LBB0_12:
Lloh62:
	adrp	x8, _ENODEV@GOTPAGE
Lloh63:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
Lloh64:
	adrp	x8, _EINVAL@GOTPAGE
Lloh65:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
	neg	w25, w8
LBB0_15:
	mov	x0, x25
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_16:
Lloh66:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh67:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_14
LBB0_17:
	mov	x0, x19
	mov	x1, x21
	bl	_platform_set_drvdata
	ldr	w0, [x21, #16]
	bl	_clk_prepare_enable
	cbz	w0, LBB0_21
; %bb.18:
	mov	x25, x0
Lloh68:
	adrp	x1, l_.str.20@PAGE
Lloh69:
	add	x1, x1, l_.str.20@PAGEOFF
LBB0_19:
	mov	x0, x19
	mov	x2, x25
	bl	_dev_err
	b	LBB0_15
LBB0_20:
Lloh70:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh71:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
	b	LBB0_14
LBB0_21:
	str	x19, [x21, #24]
	stp	w23, w24, [x21, #8]
	mov	x0, x19
	bl	_device_reset
	cbz	w0, LBB0_23
; %bb.22:
	mov	x25, x0
Lloh72:
	adrp	x1, l_.str.21@PAGE
Lloh73:
	add	x1, x1, l_.str.21@PAGEOFF
	mov	x0, x19
	mov	x2, x25
	bl	_dev_err
	b	LBB0_29
LBB0_23:
	mov	x0, x21
	bl	_ipu_memory_reset
	mov	x25, x0
	cbnz	w0, LBB0_29
; %bb.24:
	mov	x0, x21
	bl	_ipu_irq_init
	mov	x25, x0
	cbnz	w0, LBB0_29
; %bb.25:
Lloh74:
	adrp	x8, _IPU_MCU_T_DEFAULT@GOTPAGE
Lloh75:
	ldr	x8, [x8, _IPU_MCU_T_DEFAULT@GOTPAGEOFF]
Lloh76:
	ldr	w8, [x8]
	lsl	w8, w8, #18
	orr	w1, w8, #0x400000
Lloh77:
	adrp	x8, _IPU_DISP_GEN@GOTPAGE
Lloh78:
	ldr	x8, [x8, _IPU_DISP_GEN@GOTPAGEOFF]
Lloh79:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_ipu_cm_write
	ldr	w3, [x21, #16]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_ipu_submodules_init
	mov	x25, x0
	cbnz	w0, LBB0_28
; %bb.26:
	mov	x0, x21
	mov	x1, x22
	bl	_ipu_add_client_devices
	mov	x25, x0
	cbz	w0, LBB0_30
; %bb.27:
Lloh80:
	adrp	x1, l_.str.22@PAGE
Lloh81:
	add	x1, x1, l_.str.22@PAGEOFF
	mov	x0, x19
	mov	x2, x25
	bl	_dev_err
	mov	x0, x21
	bl	_ipu_submodules_exit
LBB0_28:
	mov	x0, x21
	bl	_ipu_irq_exit
LBB0_29:
	ldr	w0, [x21, #16]
	bl	_clk_disable_unprepare
	b	LBB0_15
LBB0_30:
	ldr	w2, [x20, #80]
Lloh82:
	adrp	x1, l_.str.23@PAGE
Lloh83:
	add	x1, x1, l_.str.23@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	b	LBB0_15
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpAdd	Lloh82, Lloh83
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"irq_sync: %d irq_err: %d\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.1:                               ; @.str.1
	.asciz	"ipu"

l_.str.2:                               ; @.str.2
	.asciz	"fsl,imx6qp-ipu"

	.comm	_CONFIG_DRM,4,2                 ; @CONFIG_DRM
l_.str.3:                               ; @.str.3
	.asciz	"fsl,prg"

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
l_.str.4:                               ; @.str.4
	.asciz	"cm_reg:   0x%08lx\n"

l_.str.5:                               ; @.str.5
	.asciz	"idmac:    0x%08lx\n"

	.comm	_IPU_CM_IDMAC_REG_OFS,8,3       ; @IPU_CM_IDMAC_REG_OFS
l_.str.6:                               ; @.str.6
	.asciz	"cpmem:    0x%08lx\n"

l_.str.7:                               ; @.str.7
	.asciz	"csi0:    0x%08lx\n"

l_.str.8:                               ; @.str.8
	.asciz	"csi1:    0x%08lx\n"

l_.str.9:                               ; @.str.9
	.asciz	"ic:      0x%08lx\n"

l_.str.10:                              ; @.str.10
	.asciz	"disp0:    0x%08lx\n"

l_.str.11:                              ; @.str.11
	.asciz	"disp1:    0x%08lx\n"

l_.str.12:                              ; @.str.12
	.asciz	"srm:      0x%08lx\n"

l_.str.13:                              ; @.str.13
	.asciz	"tpm:      0x%08lx\n"

l_.str.14:                              ; @.str.14
	.asciz	"dc:       0x%08lx\n"

	.comm	_IPU_CM_DC_REG_OFS,8,3          ; @IPU_CM_DC_REG_OFS
l_.str.15:                              ; @.str.15
	.asciz	"ic:       0x%08lx\n"

	.comm	_IPU_CM_IC_REG_OFS,8,3          ; @IPU_CM_IC_REG_OFS
l_.str.16:                              ; @.str.16
	.asciz	"dmfc:     0x%08lx\n"

	.comm	_IPU_CM_DMFC_REG_OFS,8,3        ; @IPU_CM_DMFC_REG_OFS
l_.str.17:                              ; @.str.17
	.asciz	"vdi:      0x%08lx\n"

	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.18:                              ; @.str.18
	.asciz	"bus"

l_.str.19:                              ; @.str.19
	.asciz	"clk_get failed with %d"

l_.str.20:                              ; @.str.20
	.asciz	"clk_prepare_enable failed: %d\n"

l_.str.21:                              ; @.str.21
	.asciz	"failed to reset: %d\n"

	.comm	_IPU_MCU_T_DEFAULT,4,2          ; @IPU_MCU_T_DEFAULT
	.comm	_IPU_DISP_GEN,4,2               ; @IPU_DISP_GEN
l_.str.22:                              ; @.str.22
	.asciz	"adding client devices failed with %d\n"

l_.str.23:                              ; @.str.23
	.asciz	"%s probed\n"

	.no_dead_strip	_ipu_probe
.subsections_via_symbols
