	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isp_probe
_isp_probe:                             ## @isp_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	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$120, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movl	(%r12), %edi
	callq	_of_fwnode_handle
	leaq	112(%rbx), %rdx
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edi
	callq	_fwnode_property_read_u32
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_13
## %bb.2:
	movl	(%r12), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_syscon_regmap_lookup_by_phandle
	movq	%rax, 104(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	104(%rbx), %rdi
	callq	_PTR_ERR
	movl	%eax, %r13d
	jmp	LBB0_13
LBB0_4:
	leaq	L_.str(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_14
LBB0_5:
	movl	(%r12), %edi
	leaq	96(%rbx), %rcx
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edx
	callq	_of_property_read_u32_index
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_13
## %bb.6:
	movq	_autoidle@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 92(%rbx)
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_mutex_init
	leaq	88(%rbx), %rdi
	callq	_spin_lock_init
	leaq	16(%rbx), %r15
	movq	%r15, %rdi
	callq	_v4l2_async_notifier_init
	movq	%r12, 32(%rbx)
	movq	%rbx, %rdi
	callq	_isp_parse_of_endpoints
	testl	%eax, %eax
	js	LBB0_11
## %bb.7:
	movq	$0, 80(%rbx)
	movq	32(%rbx), %r13
	movl	$32, %edi
	callq	_DMA_BIT_MASK
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_dma_coerce_mask_and_coherent
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_12
## %bb.8:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_regulator_get
	movq	%rax, 72(%rbx)
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_regulator_get
	movq	%rax, 64(%rbx)
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	32(%rbx), %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	48(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	movq	_OMAP3_ISP_IOMEM_CSI2A_REGS1@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	(%r14), %esi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_platform_get_resource
	movq	%rax, %r14
	movq	32(%rbx), %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	48(%rbx), %rcx
	movq	%rax, (%rcx,%r13,8)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_15
LBB0_10:
	movl	%r13d, %eax
	movq	48(%rbx), %rcx
	movq	(%rcx,%rax,8), %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_15:
	movq	%rbx, %rdi
	callq	_isp_get_clocks
	testl	%eax, %eax
	js	LBB0_24
## %bb.16:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	56(%rbx), %rax
	movq	_ISP_CLK_CAM_ICK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_clk_enable
	testl	%eax, %eax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	js	LBB0_11
## %bb.17:
	movq	_OMAP3_ISP_IOMEM_MAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ISP_REVISION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_isp_reg_readl
	movl	%eax, (%rbx)
	movq	32(%rbx), %rdi
	movl	%eax, %edx
	shrl	$4, %edx
	andl	$15, %edx
	andl	$15, %eax
	leaq	L_.str.5(%rip), %rsi
	movl	%eax, %ecx
	callq	_dev_info
	movq	56(%rbx), %rax
	movq	_ISP_CLK_CAM_ICK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_clk_disable
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	___omap3isp_get
	testq	%rax, %rax
	je	LBB0_27
## %bb.18:
	movq	%rbx, %rdi
	callq	_isp_reset
	testl	%eax, %eax
	js	LBB0_26
## %bb.19:
	movq	%rbx, %rdi
	callq	_isp_xclk_init
	testl	%eax, %eax
	js	LBB0_26
## %bb.20:
	movq	_isp_res_maps@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_28
## %bb.21:
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %eax
	movq	_isp_res_maps@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	cmpl	(%rdi,%r14), %eax
	je	LBB0_29
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	incq	%r13
	callq	_ARRAY_SIZE
	cltq
	addq	$16, %r14
	cmpq	%rax, %r13
	jl	LBB0_22
	jmp	LBB0_29
LBB0_11:
	movl	%eax, %r13d
LBB0_12:
	movq	%r15, %rdi
	callq	_v4l2_async_notifier_cleanup
	movq	%r14, %rdi
	callq	_mutex_destroy
LBB0_13:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_14:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movl	%eax, %r13d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_12
LBB0_26:
	movl	%eax, %r13d
	jmp	LBB0_61
LBB0_27:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_12
LBB0_28:
	xorl	%r13d, %r13d
LBB0_29:
	movq	_isp_res_maps@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %r13d
	jne	LBB0_31
## %bb.30:
	movq	32(%rbx), %rdi
	movl	(%rbx), %ecx
	movl	%ecx, %edx
	shrl	$4, %edx
	andl	$15, %edx
	andl	$15, %ecx
	leaq	L_.str.6(%rip), %rsi
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_60
LBB0_31:
	movq	_OMAP3_ISP_IOMEM_CSI2A_REGS1@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movl	%r13d, %r8d
	cmpl	$2, %r10d
	jl	LBB0_46
## %bb.32:
	movq	48(%rbx), %rdx
	movq	_isp_res_maps@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r8, %rcx
	shlq	$4, %rcx
	movq	8(%rax,%rcx), %rsi
	movq	(%rdx), %r13
	leaq	-1(%r10), %r9
	movl	$1, %eax
	cmpq	$4, %r9
	jb	LBB0_42
## %bb.33:
	movq	%rdx, %rcx
	subq	%rsi, %rcx
	cmpq	$32, %rcx
	jb	LBB0_42
## %bb.34:
	movq	%r9, %rax
	andq	$-4, %rax
	movq	%r13, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	leaq	-4(%rax), %rcx
	movq	%rcx, %r11
	shrq	$2, %r11
	incq	%r11
	testq	%rcx, %rcx
	je	LBB0_37
## %bb.35:
	movq	%r11, %rdi
	andq	$-2, %rdi
	xorl	%ecx, %ecx
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	movdqu	8(%rsi,%rcx,8), %xmm1
	movdqu	24(%rsi,%rcx,8), %xmm2
	paddq	%xmm0, %xmm1
	paddq	%xmm0, %xmm2
	movdqu	%xmm1, 8(%rdx,%rcx,8)
	movdqu	%xmm2, 24(%rdx,%rcx,8)
	movdqu	40(%rsi,%rcx,8), %xmm1
	movdqu	56(%rsi,%rcx,8), %xmm2
	paddq	%xmm0, %xmm1
	paddq	%xmm0, %xmm2
	movdqu	%xmm1, 40(%rdx,%rcx,8)
	movdqu	%xmm2, 56(%rdx,%rcx,8)
	addq	$8, %rcx
	addq	$-2, %rdi
	jne	LBB0_36
	jmp	LBB0_38
LBB0_37:
	xorl	%ecx, %ecx
LBB0_38:
	testb	$1, %r11b
	je	LBB0_40
## %bb.39:
	shlq	$3, %rcx
	orq	$8, %rcx
	movdqu	(%rsi,%rcx), %xmm1
	movdqu	16(%rsi,%rcx), %xmm2
	paddq	%xmm0, %xmm1
	paddq	%xmm0, %xmm2
	movdqu	%xmm1, (%rdx,%rcx)
	movdqu	%xmm2, 16(%rdx,%rcx)
LBB0_40:
	cmpq	%rax, %r9
	je	LBB0_46
## %bb.41:
	orq	$1, %rax
LBB0_42:
	movl	%r10d, %edi
	subl	%eax, %edi
	movq	%rax, %r9
	notq	%r9
	addq	%r10, %r9
	andq	$3, %rdi
	je	LBB0_44
LBB0_43:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rax,8), %rcx
	addq	%r13, %rcx
	movq	%rcx, (%rdx,%rax,8)
	incq	%rax
	decq	%rdi
	jne	LBB0_43
LBB0_44:
	cmpq	$3, %r9
	jb	LBB0_46
LBB0_45:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rax,8), %rcx
	addq	%r13, %rcx
	movq	%rcx, (%rdx,%rax,8)
	movq	8(%rsi,%rax,8), %rcx
	addq	%r13, %rcx
	movq	%rcx, 8(%rdx,%rax,8)
	movq	16(%rsi,%rax,8), %rcx
	addq	%r13, %rcx
	movq	%rcx, 16(%rdx,%rax,8)
	movq	24(%rsi,%rax,8), %rcx
	addq	%r13, %rcx
	movq	%rcx, 24(%rdx,%rax,8)
	addq	$4, %rax
	cmpq	%rax, %r10
	jne	LBB0_45
LBB0_46:
	movq	_OMAP3_ISP_IOMEM_CSIPHY2@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	_OMAP3_ISP_IOMEM_LAST@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %r9
	cmpl	%r9d, %eax
	jge	LBB0_51
## %bb.47:
	movq	48(%rbx), %rsi
	movslq	%r10d, %rdi
	movq	_isp_res_maps@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %r8
	movq	8(%rcx,%r8), %r10
	movl	%r9d, %edx
	subl	%eax, %edx
	movq	%rax, %r8
	notq	%r8
	addq	%r9, %r8
	andq	$3, %rdx
	je	LBB0_49
LBB0_48:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r10,%rax,8), %rcx
	addq	(%rsi,%rdi,8), %rcx
	movq	%rcx, (%rsi,%rax,8)
	incq	%rax
	decq	%rdx
	jne	LBB0_48
LBB0_49:
	cmpq	$3, %r8
	jb	LBB0_52
LBB0_50:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r10,%rax,8), %rcx
	addq	(%rsi,%rdi,8), %rcx
	movq	%rcx, (%rsi,%rax,8)
	movq	8(%r10,%rax,8), %rcx
	addq	(%rsi,%rdi,8), %rcx
	movq	%rcx, 8(%rsi,%rax,8)
	movq	16(%r10,%rax,8), %rcx
	addq	(%rsi,%rdi,8), %rcx
	movq	%rcx, 16(%rsi,%rax,8)
	movq	24(%r10,%rax,8), %rcx
	addq	(%rsi,%rdi,8), %rcx
	movq	%rcx, 24(%rsi,%rax,8)
	addq	$4, %rax
	cmpq	%rax, %r9
	jne	LBB0_50
	jmp	LBB0_52
LBB0_51:
	movq	_isp_res_maps@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$4, %r8
	movq	8(%rax,%r8), %r10
LBB0_52:
	movq	_OMAP3_ISP_IOMEM_HIST@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r10,%rax,8), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addq	(%rcx), %rax
	movq	%rax, 40(%rbx)
	movq	%rbx, %rdi
	callq	_isp_attach_iommu
	testl	%eax, %eax
	js	LBB0_56
## %bb.53:
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	testl	%eax, %eax
	jle	LBB0_57
## %bb.54:
	movl	%eax, 4(%rbx)
	movq	32(%rbx), %rdi
	movq	_isp_isr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	L_.str.8(%rip), %r8
	movl	%eax, %esi
	movq	%rbx, %r9
	callq	_devm_request_irq
	testq	%rax, %rax
	je	LBB0_62
## %bb.55:
	movq	32(%rbx), %rdi
	leaq	L_.str.9(%rip), %rsi
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_58
LBB0_56:
	movl	%eax, %r13d
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_60
LBB0_57:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_58:
	subl	(%rax), %r13d
LBB0_59:
	movq	%rbx, %rdi
	callq	_isp_detach_iommu
LBB0_60:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_61:
	movq	%rbx, %rdi
	callq	_isp_xclk_cleanup
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	___omap3isp_put
	jmp	LBB0_12
LBB0_62:
	movq	%rbx, %rdi
	callq	_isp_initialize_modules
	testl	%eax, %eax
	js	LBB0_67
## %bb.63:
	movq	%rbx, %rdi
	callq	_isp_register_entities
	testl	%eax, %eax
	js	LBB0_68
## %bb.64:
	movq	%rbx, %rdi
	callq	_isp_create_links
	testl	%eax, %eax
	js	LBB0_69
## %bb.65:
	movq	_isp_subdev_notifier_ops@GOTPCREL(%rip), %rax
	movq	%rax, 16(%rbx)
	movq	%rbx, %rdi
	addq	$24, %rdi
	movq	%r15, %rsi
	callq	_v4l2_async_notifier_register
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_70
## %bb.66:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_isp_core_init
	movq	%rbx, %rdi
	callq	_omap3isp_put
	xorl	%r13d, %r13d
	jmp	LBB0_14
LBB0_67:
	movl	%eax, %r13d
	jmp	LBB0_59
LBB0_68:
	movl	%eax, %r13d
	jmp	LBB0_71
LBB0_69:
	movl	%eax, %r13d
LBB0_70:
	movq	%rbx, %rdi
	callq	_isp_unregister_entities
LBB0_71:
	movq	%rbx, %rdi
	callq	_isp_cleanup_modules
	jmp	LBB0_59
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not allocate memory\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"ti,phy-type"

L_.str.2:                               ## @.str.2
	.asciz	"syscon"

	.comm	_autoidle,4,2                   ## @autoidle
L_.str.3:                               ## @.str.3
	.asciz	"vdd-csiphy1"

L_.str.4:                               ## @.str.4
	.asciz	"vdd-csiphy2"

	.comm	_OMAP3_ISP_IOMEM_CSI2A_REGS1,4,2 ## @OMAP3_ISP_IOMEM_CSI2A_REGS1
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_ISP_CLK_CAM_ICK,8,3            ## @ISP_CLK_CAM_ICK
	.comm	_OMAP3_ISP_IOMEM_MAIN,4,2       ## @OMAP3_ISP_IOMEM_MAIN
	.comm	_ISP_REVISION,4,2               ## @ISP_REVISION
L_.str.5:                               ## @.str.5
	.asciz	"Revision %d.%d found\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_isp_res_maps,8,3               ## @isp_res_maps
L_.str.6:                               ## @.str.6
	.asciz	"No resource map found for ISP rev %d.%d\n"

	.comm	_OMAP3_ISP_IOMEM_CSIPHY2,4,2    ## @OMAP3_ISP_IOMEM_CSIPHY2
	.comm	_OMAP3_ISP_IOMEM_LAST,4,2       ## @OMAP3_ISP_IOMEM_LAST
	.comm	_OMAP3_ISP_IOMEM_HIST,8,3       ## @OMAP3_ISP_IOMEM_HIST
L_.str.7:                               ## @.str.7
	.asciz	"unable to attach to IOMMU\n"

	.comm	_isp_isr,4,2                    ## @isp_isr
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
L_.str.8:                               ## @.str.8
	.asciz	"OMAP3 ISP"

L_.str.9:                               ## @.str.9
	.asciz	"Unable to request IRQ\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_isp_subdev_notifier_ops,4,2    ## @isp_subdev_notifier_ops
	.no_dead_strip	_isp_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isp_probe
_isp_probe:                             ; @isp_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	x22, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #120
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	w0, [x22]
	bl	_of_fwnode_handle
	add	x2, x19, #112
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fwnode_property_read_u32
	mov	x24, x0
	cbnz	w0, LBB0_22
; %bb.2:
	ldr	w0, [x22]
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_syscon_regmap_lookup_by_phandle
	str	x0, [x19, #104]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x0, [x19, #104]
	bl	_PTR_ERR
	mov	x24, x0
	b	LBB0_22
LBB0_4:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_dev_err
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_23
LBB0_5:
	ldr	w0, [x22]
	add	x3, x19, #96
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #1
	bl	_of_property_read_u32_index
	mov	x24, x0
	cbnz	w0, LBB0_22
; %bb.6:
Lloh14:
	adrp	x8, _autoidle@GOTPAGE
Lloh15:
	ldr	x8, [x8, _autoidle@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x19, #92]
	add	x20, x19, #8
	mov	x0, x20
	bl	_mutex_init
	add	x0, x19, #88
	bl	_spin_lock_init
	add	x21, x19, #16
	mov	x0, x21
	bl	_v4l2_async_notifier_init
	str	x22, [x19, #32]
	mov	x0, x19
	bl	_isp_parse_of_endpoints
	tbnz	w0, #31, LBB0_20
; %bb.7:
	str	xzr, [x19, #80]
	ldr	x23, [x19, #32]
	mov	w0, #32
	bl	_DMA_BIT_MASK
	mov	x1, x0
	mov	x0, x23
	bl	_dma_coerce_mask_and_coherent
	mov	x24, x0
	cbnz	w0, LBB0_21
; %bb.8:
	mov	x0, x22
	mov	x1, x19
	bl	_platform_set_drvdata
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_devm_regulator_get
	str	x0, [x19, #72]
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x22
	bl	_devm_regulator_get
	str	x0, [x19, #64]
Lloh21:
	adrp	x23, _IORESOURCE_MEM@GOTPAGE
Lloh22:
	ldr	x23, [x23, _IORESOURCE_MEM@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x22
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	ldr	x0, [x19, #32]
	bl	_devm_ioremap_resource
	ldr	x8, [x19, #48]
	str	x0, [x8]
	bl	_IS_ERR
	cbnz	x0, LBB0_10
; %bb.9:
Lloh23:
	adrp	x8, _OMAP3_ISP_IOMEM_CSI2A_REGS1@GOTPAGE
Lloh24:
	ldr	x8, [x8, _OMAP3_ISP_IOMEM_CSI2A_REGS1@GOTPAGEOFF]
Lloh25:
	ldr	w24, [x8]
	ldr	w1, [x23]
	mov	x0, x22
	mov	w2, #1
	bl	_platform_get_resource
	mov	x23, x0
	ldr	x0, [x19, #32]
	mov	x1, x23
	bl	_devm_ioremap_resource
	ldr	x8, [x19, #48]
	str	x0, [x8, x24, lsl #3]
	bl	_IS_ERR
	cbz	x0, LBB0_11
LBB0_10:
	ldr	x8, [x19, #48]
	ldr	x0, [x8, w24, uxtw #3]
	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
	b	_PTR_ERR
LBB0_11:
	mov	x0, x19
	bl	_isp_get_clocks
	tbnz	w0, #31, LBB0_20
; %bb.12:
	ldr	x8, [x19, #56]
Lloh26:
	adrp	x25, _ISP_CLK_CAM_ICK@GOTPAGE
Lloh27:
	ldr	x25, [x25, _ISP_CLK_CAM_ICK@GOTPAGEOFF]
	ldr	x9, [x25]
	ldr	w0, [x8, x9, lsl #2]
	bl	_clk_enable
	tbnz	w0, #31, LBB0_20
; %bb.13:
Lloh28:
	adrp	x8, _OMAP3_ISP_IOMEM_MAIN@GOTPAGE
Lloh29:
	ldr	x8, [x8, _OMAP3_ISP_IOMEM_MAIN@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
Lloh31:
	adrp	x8, _ISP_REVISION@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ISP_REVISION@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_isp_reg_readl
	str	w0, [x19]
	ldr	x8, [x19, #32]
	ubfx	w2, w0, #4, #4
	and	w3, w0, #0xf
Lloh34:
	adrp	x1, l_.str.5@PAGE
Lloh35:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x8
	bl	_dev_info
	ldr	x8, [x19, #56]
	ldr	x9, [x25]
	ldr	w0, [x8, x9, lsl #2]
	bl	_clk_disable
	mov	x0, x19
	mov	w1, #0
	bl	___omap3isp_get
	cbz	x0, LBB0_25
; %bb.14:
	mov	x0, x19
	bl	_isp_reset
	tbnz	w0, #31, LBB0_24
; %bb.15:
	mov	x0, x19
	bl	_isp_xclk_init
	tbnz	w0, #31, LBB0_24
; %bb.16:
Lloh36:
	adrp	x24, _isp_res_maps@GOTPAGE
Lloh37:
	ldr	x24, [x24, _isp_res_maps@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_26
; %bb.17:
	mov	x26, #0
	mov	x25, #0
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	ldr	x0, [x24]
	ldr	w9, [x0, x26]
	cmp	w8, w9
	b.eq	LBB0_27
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	add	x25, x25, #1
	bl	_ARRAY_SIZE
	add	x26, x26, #16
	cmp	x25, w0, sxtw
	b.lt	LBB0_18
	b	LBB0_27
LBB0_20:
	mov	x24, x0
LBB0_21:
	mov	x0, x21
	bl	_v4l2_async_notifier_cleanup
	mov	x0, x20
	bl	_mutex_destroy
LBB0_22:
	mov	x0, x19
	bl	_kfree
LBB0_23:
	mov	x0, x24
	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_24:
	mov	x24, x0
	b	LBB0_49
LBB0_25:
Lloh38:
	adrp	x8, _ENODEV@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_21
LBB0_26:
	mov	w25, #0
LBB0_27:
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w25, w0
	b.ne	LBB0_29
; %bb.28:
	ldr	x0, [x19, #32]
	ldr	w8, [x19]
	ubfx	w9, w8, #4, #4
	and	w8, w8, #0xf
	stp	x9, x8, [sp]
Lloh41:
	adrp	x1, l_.str.6@PAGE
Lloh42:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_dev_err
Lloh43:
	adrp	x8, _ENODEV@GOTPAGE
Lloh44:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_49
LBB0_29:
Lloh46:
	adrp	x8, _OMAP3_ISP_IOMEM_CSI2A_REGS1@GOTPAGE
Lloh47:
	ldr	x8, [x8, _OMAP3_ISP_IOMEM_CSI2A_REGS1@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_37
; %bb.30:
	ldr	x10, [x19, #48]
	ldr	x9, [x24]
	add	x9, x9, w25, uxtw #4
	ldr	x11, [x9, #8]
	ldr	x9, [x10]
	sub	x13, x8, #1
	mov	w12, #1
	cmp	x13, #8
	b.lo	LBB0_35
; %bb.31:
	sub	x14, x10, x11
	cmp	x14, #64
	b.lo	LBB0_35
; %bb.32:
	and	x14, x13, #0xfffffffffffffff8
	orr	x12, x14, #0x1
	dup.2d	v0, x9
	add	x15, x10, #40
	add	x16, x11, #40
	mov	x17, x14
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x16, #-32]
	ldp	q3, q4, [x16], #64
	add.2d	v1, v1, v0
	add.2d	v2, v2, v0
	add.2d	v3, v3, v0
	add.2d	v4, v4, v0
	stp	q1, q2, [x15, #-32]
	stp	q3, q4, [x15], #64
	subs	x17, x17, #8
	b.ne	LBB0_33
; %bb.34:
	cmp	x13, x14
	b.eq	LBB0_37
LBB0_35:
	lsl	x13, x12, #3
	add	x10, x10, x13
	add	x11, x11, x13
	sub	x12, x8, x12
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x11], #8
	add	x13, x13, x9
	str	x13, [x10], #8
	subs	x12, x12, #1
	b.ne	LBB0_36
LBB0_37:
Lloh49:
	adrp	x9, _OMAP3_ISP_IOMEM_CSIPHY2@GOTPAGE
Lloh50:
	ldr	x9, [x9, _OMAP3_ISP_IOMEM_CSIPHY2@GOTPAGEOFF]
Lloh51:
	ldrsw	x9, [x9]
Lloh52:
	adrp	x10, _OMAP3_ISP_IOMEM_LAST@GOTPAGE
Lloh53:
	ldr	x10, [x10, _OMAP3_ISP_IOMEM_LAST@GOTPAGEOFF]
Lloh54:
	ldrsw	x10, [x10]
	cmp	w9, w10
	b.ge	LBB0_40
; %bb.38:
	ldr	x11, [x19, #48]
	sxtw	x12, w8
	ldr	x8, [x24]
	add	x8, x8, w25, uxtw #4
	ldr	x8, [x8, #8]
LBB0_39:                                ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x11, x12, lsl #3]
	lsl	x14, x9, #3
	ldr	x15, [x8, x14]
	add	x13, x15, x13
	str	x13, [x11, x14]
	add	x9, x9, #1
	cmp	x10, x9
	b.ne	LBB0_39
	b	LBB0_41
LBB0_40:
	ldr	x8, [x24]
	add	x8, x8, w25, uxtw #4
	ldr	x8, [x8, #8]
LBB0_41:
Lloh55:
	adrp	x9, _OMAP3_ISP_IOMEM_HIST@GOTPAGE
Lloh56:
	ldr	x9, [x9, _OMAP3_ISP_IOMEM_HIST@GOTPAGEOFF]
	ldr	x10, [x23]
Lloh57:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	add	x8, x8, x10
	str	x8, [x19, #40]
	mov	x0, x19
	bl	_isp_attach_iommu
	tbnz	w0, #31, LBB0_45
; %bb.42:
	mov	x0, x22
	mov	w1, #0
	bl	_platform_get_irq
	cmp	w0, #0
	b.le	LBB0_46
; %bb.43:
	mov	x1, x0
	str	w0, [x19, #4]
	ldr	x0, [x19, #32]
Lloh58:
	adrp	x8, _isp_isr@GOTPAGE
Lloh59:
	ldr	x8, [x8, _isp_isr@GOTPAGEOFF]
Lloh60:
	ldr	w2, [x8]
Lloh61:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh62:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh63:
	ldr	w3, [x8]
Lloh64:
	adrp	x4, l_.str.8@PAGE
Lloh65:
	add	x4, x4, l_.str.8@PAGEOFF
	mov	x5, x19
	bl	_devm_request_irq
	cbz	x0, LBB0_50
; %bb.44:
	ldr	x0, [x19, #32]
Lloh66:
	adrp	x1, l_.str.9@PAGE
Lloh67:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_dev_err
Lloh68:
	adrp	x8, _EINVAL@GOTPAGE
Lloh69:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_47
LBB0_45:
	mov	x24, x0
Lloh70:
	adrp	x1, l_.str.7@PAGE
Lloh71:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x22
	bl	_dev_err
	b	LBB0_49
LBB0_46:
Lloh72:
	adrp	x8, _ENODEV@GOTPAGE
Lloh73:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_47:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_48:
	mov	x0, x19
	bl	_isp_detach_iommu
LBB0_49:
	mov	x0, x19
	bl	_isp_xclk_cleanup
	mov	x0, x19
	mov	w1, #0
	bl	___omap3isp_put
	b	LBB0_21
LBB0_50:
	mov	x0, x19
	bl	_isp_initialize_modules
	tbnz	w0, #31, LBB0_55
; %bb.51:
	mov	x0, x19
	bl	_isp_register_entities
	tbnz	w0, #31, LBB0_56
; %bb.52:
	mov	x0, x19
	bl	_isp_create_links
	tbnz	w0, #31, LBB0_57
; %bb.53:
Lloh74:
	adrp	x8, _isp_subdev_notifier_ops@GOTPAGE
Lloh75:
	ldr	x8, [x8, _isp_subdev_notifier_ops@GOTPAGEOFF]
	str	x8, [x19, #16]
	add	x0, x19, #24
	mov	x1, x21
	bl	_v4l2_async_notifier_register
	mov	x24, x0
	cbnz	w0, LBB0_58
; %bb.54:
	mov	x0, x19
	mov	w1, #1
	bl	_isp_core_init
	mov	x0, x19
	bl	_omap3isp_put
	b	LBB0_23
LBB0_55:
	mov	x24, x0
	b	LBB0_48
LBB0_56:
	mov	x24, x0
	b	LBB0_59
LBB0_57:
	mov	x24, x0
LBB0_58:
	mov	x0, x19
	bl	_isp_unregister_entities
LBB0_59:
	mov	x0, x19
	bl	_isp_cleanup_modules
	b	LBB0_48
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh74, Lloh75
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not allocate memory\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"ti,phy-type"

l_.str.2:                               ; @.str.2
	.asciz	"syscon"

	.comm	_autoidle,4,2                   ; @autoidle
l_.str.3:                               ; @.str.3
	.asciz	"vdd-csiphy1"

l_.str.4:                               ; @.str.4
	.asciz	"vdd-csiphy2"

	.comm	_OMAP3_ISP_IOMEM_CSI2A_REGS1,4,2 ; @OMAP3_ISP_IOMEM_CSI2A_REGS1
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_ISP_CLK_CAM_ICK,8,3            ; @ISP_CLK_CAM_ICK
	.comm	_OMAP3_ISP_IOMEM_MAIN,4,2       ; @OMAP3_ISP_IOMEM_MAIN
	.comm	_ISP_REVISION,4,2               ; @ISP_REVISION
l_.str.5:                               ; @.str.5
	.asciz	"Revision %d.%d found\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_isp_res_maps,8,3               ; @isp_res_maps
l_.str.6:                               ; @.str.6
	.asciz	"No resource map found for ISP rev %d.%d\n"

	.comm	_OMAP3_ISP_IOMEM_CSIPHY2,4,2    ; @OMAP3_ISP_IOMEM_CSIPHY2
	.comm	_OMAP3_ISP_IOMEM_LAST,4,2       ; @OMAP3_ISP_IOMEM_LAST
	.comm	_OMAP3_ISP_IOMEM_HIST,8,3       ; @OMAP3_ISP_IOMEM_HIST
l_.str.7:                               ; @.str.7
	.asciz	"unable to attach to IOMMU\n"

	.comm	_isp_isr,4,2                    ; @isp_isr
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
l_.str.8:                               ; @.str.8
	.asciz	"OMAP3 ISP"

l_.str.9:                               ; @.str.9
	.asciz	"Unable to request IRQ\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_isp_subdev_notifier_ops,4,2    ; @isp_subdev_notifier_ops
	.no_dead_strip	_isp_probe
.subsections_via_symbols
