	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function msm_ispif_subdev_init
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_msm_ispif_subdev_init
	.p2align	4, 0x90
_msm_ispif_subdev_init:                 ## @msm_ispif_subdev_init
	.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	%rsi, %r15
	movq	%rdi, %rbx
	callq	_to_device
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_to_platform_device
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_to_camss
	movq	(%rax), %rax
	movq	_CAMSS_8x16@GOTPCREL(%rip), %rcx
	movl	$2, %esi
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_to_camss
	movq	(%rax), %rax
	movq	_CAMSS_8x96@GOTPCREL(%rip), %rcx
	movl	$4, %esi
	cmpq	(%rcx), %rax
	jne	LBB0_8
LBB0_2:
	movl	%esi, (%rbx)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	$32, %edx
	callq	_devm_kcalloc
	movq	%rax, 88(%rbx)
	testq	%rax, %rax
	je	LBB0_38
## %bb.3:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rbx)
	jle	LBB0_9
## %bb.4:
	xorl	%r15d, %r15d
	movq	_ispif_formats_8x16@GOTPCREL(%rip), %r14
	movq	_ispif_formats_8x96@GOTPCREL(%rip), %r13
	xorl	%r12d, %r12d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	(%rax), %rcx
	movq	88(%rbx), %rdx
	movq	%rcx, 16(%rdx,%r15)
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	movq	%rax, %rcx
	movq	88(%rbx), %rax
	movq	%rcx, 8(%rax,%r15)
	incq	%r12
	movslq	(%rbx), %rcx
	addq	$32, %r15
	cmpq	%rcx, %r12
	jge	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, 24(%rax,%r15)
	movl	%r12d, (%rax,%r15)
	movq	%rbx, %rdi
	callq	_to_camss
	movq	(%rax), %rcx
	movq	%r14, %rax
	movq	_CAMSS_8x16@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	callq	_to_camss
	movq	(%rax), %rcx
	movq	%r13, %rax
	movq	_CAMSS_8x96@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_5
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_39
LBB0_9:
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	24(%r15), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_platform_get_resource_byname
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 80(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	80(%rbx), %rdi
	jmp	LBB0_13
LBB0_11:
	movl	(%r14), %esi
	movq	24(%r15), %rax
	movl	4(%rax), %edx
	movq	%r12, %rdi
	callq	_platform_get_resource_byname
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 72(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	72(%rbx), %rdi
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_14:
	movq	_IORESOURCE_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r15), %edx
	movq	%r12, %rdi
	callq	_platform_get_resource_byname
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	movl	(%rax), %eax
	movl	%eax, 68(%rbx)
	movl	64(%rbx), %r12d
	movq	%r13, %rdi
	callq	_dev_name
	movq	_MSM_ISPIF_NAME@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	leaq	L_.str.2(%rip), %rdx
	movl	%r12d, %edi
	movl	$4, %esi
	movq	%rax, %rcx
	callq	_snprintf
	movq	%rbx, %rdi
	callq	_to_camss
	movq	(%rax), %rax
	movq	_CAMSS_8x16@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.16:
	movl	64(%rbx), %r8d
	movl	68(%rbx), %esi
	movq	_ispif_isr_8x16@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_17:
	leaq	L_.str.1(%rip), %rsi
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_40
LBB0_18:
	movq	%rbx, %rdi
	callq	_to_camss
	movq	(%rax), %rax
	movq	_CAMSS_8x96@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_27
## %bb.19:
	movl	64(%rbx), %r8d
	movl	68(%rbx), %esi
	movq	_ispif_isr_8x96@GOTPCREL(%rip), %rax
LBB0_20:
	movl	(%rax), %edx
	movq	_IRQF_TRIGGER_RISING@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movq	%rbx, %r9
	callq	_devm_request_irq
	movl	%eax, %r12d
	testl	%r12d, %r12d
	js	LBB0_28
LBB0_21:
	movq	8(%r15), %rax
	movq	$-1, %rsi
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, 4(%rax,%rsi,4)
	leaq	1(%rsi), %rsi
	jne	LBB0_22
## %bb.23:
	movq	%rsi, 8(%rbx)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$24, %edx
	callq	_devm_kcalloc
	movq	%rax, 56(%rbx)
	testq	%rax, %rax
	je	LBB0_38
## %bb.24:
	cmpq	$0, 8(%rbx)
	je	LBB0_32
## %bb.25:
	movq	%rax, %r12
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_devm_clk_get
	movq	%rax, 16(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_26
## %bb.29:
	movl	$1, %r14d
	xorl	%r15d, %r15d
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r12,%r15)
	cmpq	%r14, 8(%rbx)
	jbe	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	56(%rbx), %r12
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movl	(%rax,%r14,4), %esi
	movq	%r13, %rdi
	callq	_devm_clk_get
	movq	%rax, 40(%r12,%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	incq	%r14
	addq	$24, %r15
	testq	%rax, %rax
	je	LBB0_30
	jmp	LBB0_45
LBB0_27:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	testl	%r12d, %r12d
	jns	LBB0_21
LBB0_28:
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_41
LBB0_32:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	$-1, %rsi
	.p2align	4, 0x90
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, 4(%rax,%rsi,4)
	leaq	1(%rsi), %rsi
	jne	LBB0_33
## %bb.34:
	movq	%rsi, 16(%rbx)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$24, %edx
	callq	_devm_kcalloc
	movq	%rax, 48(%rbx)
	testq	%rax, %rax
	je	LBB0_38
## %bb.35:
	cmpq	$0, 16(%rbx)
	je	LBB0_47
## %bb.36:
	movq	%rax, %r12
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_devm_clk_get
	movq	%rax, 16(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_42
LBB0_26:
	addq	$16, %r12
	jmp	LBB0_46
LBB0_38:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_39:
	xorl	%r12d, %r12d
LBB0_40:
	subl	(%rax), %r12d
LBB0_41:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_42:
	movl	$1, %r14d
	xorl	%r15d, %r15d
LBB0_43:                                ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r12,%r15)
	cmpq	%r14, 16(%rbx)
	jbe	LBB0_47
## %bb.44:                              ##   in Loop: Header=BB0_43 Depth=1
	movq	48(%rbx), %r12
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %esi
	movq	%r13, %rdi
	callq	_devm_clk_get
	movq	%rax, 40(%r12,%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	incq	%r14
	addq	$24, %r15
	testq	%rax, %rax
	je	LBB0_43
LBB0_45:
	addq	%r15, %r12
	addq	$16, %r12
LBB0_46:
	movq	(%r12), %rdi
	jmp	LBB0_13
LBB0_47:
	leaq	40(%rbx), %rdi
	callq	_mutex_init
	movq	$0, 32(%rbx)
	leaq	28(%rbx), %rdi
	callq	_mutex_init
	addq	$24, %rbx
	movq	%rbx, %rdi
	callq	_init_completion
	xorl	%r12d, %r12d
	jmp	LBB0_41
	.cfi_endproc
                                        ## -- End function
	.comm	_CAMSS_8x16,8,3                 ## @CAMSS_8x16
	.comm	_CAMSS_8x96,8,3                 ## @CAMSS_8x96
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ispif_formats_8x16,8,3         ## @ispif_formats_8x16
	.comm	_ispif_formats_8x96,8,3         ## @ispif_formats_8x96
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not map memory\n"

	.comm	_IORESOURCE_IRQ,4,2             ## @IORESOURCE_IRQ
L_.str.1:                               ## @.str.1
	.asciz	"missing IRQ\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s_%s"

	.comm	_MSM_ISPIF_NAME,8,3             ## @MSM_ISPIF_NAME
	.comm	_ispif_isr_8x16,4,2             ## @ispif_isr_8x16
	.comm	_IRQF_TRIGGER_RISING,4,2        ## @IRQF_TRIGGER_RISING
	.comm	_ispif_isr_8x96,4,2             ## @ispif_isr_8x96
L_.str.3:                               ## @.str.3
	.asciz	"request_irq failed: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msm_ispif_subdev_init          ; -- Begin function msm_ispif_subdev_init
	.p2align	2
_msm_ispif_subdev_init:                 ; @msm_ispif_subdev_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x19, x0
	bl	_to_device
	mov	x20, x0
	bl	_to_platform_device
	mov	x22, x0
	mov	x0, x19
	bl	_to_camss
	ldr	x8, [x0]
Lloh0:
	adrp	x24, _CAMSS_8x16@GOTPAGE
Lloh1:
	ldr	x24, [x24, _CAMSS_8x16@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w1, #2
	b	LBB0_4
LBB0_2:
	mov	x0, x19
	bl	_to_camss
	ldr	x8, [x0]
Lloh2:
	adrp	x9, _CAMSS_8x96@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CAMSS_8x96@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.3:
	mov	w1, #4
LBB0_4:
	str	w1, [x19]
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w2, #32
	bl	_devm_kcalloc
	str	x0, [x19, #88]
	cbz	x0, LBB0_43
; %bb.5:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.6:
	mov	x25, #0
	mov	x26, #0
Lloh8:
	adrp	x27, _ispif_formats_8x16@GOTPAGE
Lloh9:
	ldr	x27, [x27, _ispif_formats_8x16@GOTPAGEOFF]
Lloh10:
	adrp	x28, _CAMSS_8x96@GOTPAGE
Lloh11:
	ldr	x28, [x28, _CAMSS_8x96@GOTPAGEOFF]
Lloh12:
	adrp	x23, _ispif_formats_8x96@GOTPAGE
Lloh13:
	ldr	x23, [x23, _ispif_formats_8x96@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x9, [x8]
	ldr	x10, [x19, #88]
	add	x10, x10, x25
	str	x9, [x10, #16]
	ldr	x0, [x8]
	bl	_ARRAY_SIZE
	mov	x8, x0
	ldr	x0, [x19, #88]
	add	x9, x0, x25
	str	x8, [x9, #8]
	add	x26, x26, #1
	ldrsw	x8, [x19]
	add	x25, x25, #32
	cmp	x26, x8
	b.ge	LBB0_11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x0, x25
	str	x19, [x8, #24]
	str	w26, [x8]
	mov	x0, x19
	bl	_to_camss
	ldr	x9, [x0]
	ldr	x10, [x24]
	mov	x8, x27
	cmp	x9, x10
	b.eq	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	bl	_to_camss
	ldr	x9, [x0]
	ldr	x10, [x28]
	mov	x8, x23
	cmp	x9, x10
	b.eq	LBB0_7
LBB0_10:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_44
LBB0_11:
Lloh16:
	adrp	x23, _IORESOURCE_MEM@GOTPAGE
Lloh17:
	ldr	x23, [x23, _IORESOURCE_MEM@GOTPAGEOFF]
	ldr	w1, [x23]
	ldr	x8, [x21, #24]
	ldr	w2, [x8]
	mov	x0, x22
	bl	_platform_get_resource_byname
	mov	x1, x0
	mov	x0, x20
	bl	_devm_ioremap_resource
	str	x0, [x19, #80]
	bl	_IS_ERR
	cbz	x0, LBB0_13
; %bb.12:
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x19, #80]
	b	LBB0_15
LBB0_13:
	ldr	w1, [x23]
	ldr	x8, [x21, #24]
	ldr	w2, [x8, #4]
	mov	x0, x22
	bl	_platform_get_resource_byname
	mov	x1, x0
	mov	x0, x20
	bl	_devm_ioremap_resource
	str	x0, [x19, #72]
	bl	_IS_ERR
	cbz	x0, LBB0_16
; %bb.14:
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x19, #72]
LBB0_15:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_PTR_ERR
LBB0_16:
Lloh22:
	adrp	x8, _IORESOURCE_IRQ@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IORESOURCE_IRQ@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	ldr	w2, [x21, #16]
	mov	x0, x22
	bl	_platform_get_resource_byname
	cbz	x0, LBB0_19
; %bb.17:
	ldr	w8, [x0]
	str	w8, [x19, #68]
	ldr	w22, [x19, #64]
	mov	x0, x20
	bl	_dev_name
	mov	x3, x0
Lloh25:
	adrp	x8, _MSM_ISPIF_NAME@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MSM_ISPIF_NAME@GOTPAGEOFF]
Lloh27:
	ldr	x4, [x8]
Lloh28:
	adrp	x2, l_.str.2@PAGE
Lloh29:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x22
	mov	w1, #4
	bl	_snprintf
	mov	x0, x19
	bl	_to_camss
	ldr	x8, [x0]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.18:
Lloh30:
	adrp	x8, _ispif_isr_8x16@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ispif_isr_8x16@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
Lloh33:
	adrp	x8, _IRQF_TRIGGER_RISING@GOTPAGE
Lloh34:
	ldr	x8, [x8, _IRQF_TRIGGER_RISING@GOTPAGEOFF]
Lloh35:
	ldr	w3, [x8]
	ldp	w4, w1, [x19, #64]
	mov	x0, x20
	mov	x5, x19
	bl	_devm_request_irq
	mov	x22, x0
Lloh36:
	adrp	x25, _GFP_KERNEL@GOTPAGE
Lloh37:
	ldr	x25, [x25, _GFP_KERNEL@GOTPAGEOFF]
	b	LBB0_23
LBB0_19:
Lloh38:
	adrp	x1, l_.str.1@PAGE
Lloh39:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_10
LBB0_20:
	mov	x0, x19
	bl	_to_camss
	ldr	x8, [x0]
Lloh40:
	adrp	x9, _CAMSS_8x96@GOTPAGE
Lloh41:
	ldr	x9, [x9, _CAMSS_8x96@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh43:
	adrp	x25, _GFP_KERNEL@GOTPAGE
Lloh44:
	ldr	x25, [x25, _GFP_KERNEL@GOTPAGEOFF]
	b.ne	LBB0_22
; %bb.21:
Lloh45:
	adrp	x8, _ispif_isr_8x96@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ispif_isr_8x96@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x8]
Lloh48:
	adrp	x8, _IRQF_TRIGGER_RISING@GOTPAGE
Lloh49:
	ldr	x8, [x8, _IRQF_TRIGGER_RISING@GOTPAGEOFF]
Lloh50:
	ldr	w3, [x8]
	ldp	w4, w1, [x19, #64]
	mov	x0, x20
	mov	x5, x19
	bl	_devm_request_irq
	mov	x22, x0
	b	LBB0_23
LBB0_22:
Lloh51:
	adrp	x8, _EINVAL@GOTPAGE
Lloh52:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_23:
	tbnz	w22, #31, LBB0_32
; %bb.24:
	mov	x8, #0
	ldr	x9, [x21, #8]
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9, x8, lsl #2]
	add	x8, x8, #1
	cbnz	w10, LBB0_25
; %bb.26:
	sub	x1, x8, #1
	str	x1, [x19, #8]
	ldr	w3, [x25]
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	w2, #24
	bl	_devm_kcalloc
	str	x0, [x19, #56]
	cbz	x0, LBB0_43
; %bb.27:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_33
; %bb.28:
	mov	x22, x0
	ldr	x8, [x21, #8]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_devm_clk_get
	mov	x23, x22
	str	x0, [x23, #16]!
	bl	_IS_ERR
	cbnz	x0, LBB0_42
; %bb.29:
	mov	x23, #0
	mov	w24, #1
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	add	x8, x22, x23
	stp	xzr, xzr, [x8]
	ldr	x8, [x19, #8]
	cmp	x8, x24
	b.ls	LBB0_33
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	x22, [x19, #56]
	ldr	x8, [x21, #8]
	ldr	w1, [x8, x24, lsl #2]
	mov	x0, x20
	bl	_devm_clk_get
	add	x8, x22, x23
	str	x0, [x8, #40]
	bl	_IS_ERR
	add	x24, x24, #1
	add	x23, x23, #24
	cbz	x0, LBB0_30
	b	LBB0_41
LBB0_32:
	str	x22, [sp]
Lloh54:
	adrp	x1, l_.str.3@PAGE
Lloh55:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_45
LBB0_33:
	mov	x8, #0
	ldr	x9, [x21]
LBB0_34:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9, x8, lsl #2]
	add	x8, x8, #1
	cbnz	w10, LBB0_34
; %bb.35:
	sub	x1, x8, #1
	str	x1, [x19, #16]
	ldr	w3, [x25]
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	w2, #24
	bl	_devm_kcalloc
	str	x0, [x19, #48]
	cbz	x0, LBB0_43
; %bb.36:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_46
; %bb.37:
	mov	x22, x0
	ldr	x8, [x21]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_devm_clk_get
	mov	x23, x22
	str	x0, [x23, #16]!
	bl	_IS_ERR
	cbnz	x0, LBB0_42
; %bb.38:
	mov	x23, #0
	mov	w24, #1
LBB0_39:                                ; =>This Inner Loop Header: Depth=1
	add	x8, x22, x23
	stp	xzr, xzr, [x8]
	ldr	x8, [x19, #16]
	cmp	x8, x24
	b.ls	LBB0_46
; %bb.40:                               ;   in Loop: Header=BB0_39 Depth=1
	ldr	x22, [x19, #48]
	ldr	x8, [x21]
	ldr	w1, [x8, x24, lsl #2]
	mov	x0, x20
	bl	_devm_clk_get
	add	x8, x22, x23
	str	x0, [x8, #40]
	bl	_IS_ERR
	add	x24, x24, #1
	add	x23, x23, #24
	cbz	x0, LBB0_39
LBB0_41:
	add	x8, x22, x23
	add	x23, x8, #16
LBB0_42:
	ldr	x0, [x23]
	b	LBB0_15
LBB0_43:
Lloh56:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh57:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_44:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_45:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_46:
	add	x0, x19, #40
	bl	_mutex_init
	str	xzr, [x19, #32]
	add	x0, x19, #28
	bl	_mutex_init
	add	x0, x19, #24
	bl	_init_completion
	mov	w22, #0
	b	LBB0_45
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.comm	_CAMSS_8x16,8,3                 ; @CAMSS_8x16
	.comm	_CAMSS_8x96,8,3                 ; @CAMSS_8x96
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ispif_formats_8x16,8,3         ; @ispif_formats_8x16
	.comm	_ispif_formats_8x96,8,3         ; @ispif_formats_8x96
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not map memory\n"

	.comm	_IORESOURCE_IRQ,4,2             ; @IORESOURCE_IRQ
l_.str.1:                               ; @.str.1
	.asciz	"missing IRQ\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s_%s"

	.comm	_MSM_ISPIF_NAME,8,3             ; @MSM_ISPIF_NAME
	.comm	_ispif_isr_8x16,4,2             ; @ispif_isr_8x16
	.comm	_IRQF_TRIGGER_RISING,4,2        ; @IRQF_TRIGGER_RISING
	.comm	_ispif_isr_8x96,4,2             ; @ispif_isr_8x96
l_.str.3:                               ; @.str.3
	.asciz	"request_irq failed: %d\n"

.subsections_via_symbols
