	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fimc_lite_probe
_fimc_lite_probe:                       ## @fimc_lite_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, (%rdi)
	je	LBB0_4
## %bb.1:
	movq	%rdi, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$48, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %r14
	movq	_flite_of_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	callq	_of_match_node
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	(%rax), %rbx
	jmp	LBB0_8
LBB0_4:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_6:
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_7:
	xorl	%ebx, %ebx
LBB0_8:
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_of_alias_get_id
	movq	%rax, (%r14)
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.9:
	testq	%rax, %rax
	js	LBB0_13
## %bb.10:
	cmpq	(%rbx), %rax
	jge	LBB0_13
## %bb.11:
	movq	%rbx, 40(%r14)
	movq	%r15, 32(%r14)
	leaq	24(%r14), %rdi
	callq	_init_waitqueue_head
	leaq	20(%r14), %rdi
	callq	_spin_lock_init
	movq	%r14, %rdi
	addq	$16, %rdi
	callq	_mutex_init
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movl	%eax, 12(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_16
## %bb.12:
	movl	12(%r14), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_13:
	movl	(%r15), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_14:
	subl	(%rax), %ebx
LBB0_15:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	_IORESOURCE_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	testq	%rax, %rax
	je	LBB0_20
## %bb.17:
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_fimc_lite_clk_get
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_15
## %bb.18:
	movl	(%r12), %r12d
	movq	_flite_irq_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_dev_name
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	movq	%r14, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	je	LBB0_21
## %bb.19:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_22
LBB0_20:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENXIO@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_21:
	movq	%r14, %rdi
	callq	_fimc_lite_create_capture_subdev
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_23
LBB0_22:
	movq	%r14, %rdi
	callq	_fimc_lite_clk_put
	jmp	LBB0_15
LBB0_23:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movq	%r15, %rdi
	callq	_pm_runtime_enable
	movq	%r15, %rdi
	callq	_pm_runtime_enabled
	testl	%eax, %eax
	jne	LBB0_25
## %bb.24:
	movl	8(%r14), %edi
	callq	_clk_prepare_enable
	testl	%eax, %eax
	js	LBB0_26
LBB0_25:
	movl	$32, %edi
	callq	_DMA_BIT_MASK
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_vb2_dma_contig_set_max_seg_size
	movq	%r14, %rdi
	callq	_fimc_lite_set_default_config
	movq	(%r14), %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_dbg
	xorl	%ebx, %ebx
	jmp	LBB0_15
LBB0_26:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_fimc_lite_unregister_capture_subdev
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_flite_of_match,4,2             ## @flite_of_match
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fimc-lite"

L_.str.1:                               ## @.str.1
	.asciz	"Wrong %pOF node alias\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_IORESOURCE_IRQ,4,2             ## @IORESOURCE_IRQ
L_.str.2:                               ## @.str.2
	.asciz	"Failed to get IRQ resource\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_flite_irq_handler,4,2          ## @flite_irq_handler
L_.str.3:                               ## @.str.3
	.asciz	"Failed to install irq (%d)\n"

L_.str.4:                               ## @.str.4
	.asciz	"FIMC-LITE.%d registered successfully\n"

	.no_dead_strip	_fimc_lite_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fimc_lite_probe
_fimc_lite_probe:                       ; @fimc_lite_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #48
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
Lloh3:
	adrp	x8, _flite_of_match@GOTPAGE
Lloh4:
	ldr	x8, [x8, _flite_of_match@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_of_match_node
	cbz	x0, LBB0_6
; %bb.3:
	ldr	x21, [x0]
	b	LBB0_7
LBB0_4:
Lloh6:
	adrp	x8, _ENODEV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_13
LBB0_5:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_13
LBB0_6:
	mov	x21, #0
LBB0_7:
	ldr	w0, [x19]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_of_alias_get_id
	str	x0, [x20]
	cbz	x21, LBB0_12
; %bb.8:
	tbnz	x0, #63, LBB0_12
; %bb.9:
	ldr	x8, [x21]
	cmp	x0, x8
	b.ge	LBB0_12
; %bb.10:
	stp	x19, x21, [x20, #32]
	add	x0, x20, #24
	bl	_init_waitqueue_head
	add	x0, x20, #20
	bl	_spin_lock_init
	add	x0, x20, #16
	bl	_mutex_init
Lloh12:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	w0, [x20, #12]
	bl	_IS_ERR
	cbz	x0, LBB0_15
; %bb.11:
	ldr	w0, [x20, #12]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_PTR_ERR
LBB0_12:
	ldr	w8, [x19]
	str	x8, [sp]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh17:
	adrp	x8, _EINVAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_14:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_15:
Lloh19:
	adrp	x8, _IORESOURCE_IRQ@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IORESOURCE_IRQ@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	cbz	x0, LBB0_19
; %bb.16:
	mov	x22, x0
	mov	x0, x20
	bl	_fimc_lite_clk_get
	mov	x21, x0
	cbnz	w0, LBB0_14
; %bb.17:
	ldr	w21, [x22]
Lloh22:
	adrp	x8, _flite_irq_handler@GOTPAGE
Lloh23:
	ldr	x8, [x8, _flite_irq_handler@GOTPAGEOFF]
Lloh24:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_dev_name
	mov	x4, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	w3, #0
	mov	x5, x20
	bl	_devm_request_irq
	cbz	w0, LBB0_20
; %bb.18:
	mov	x21, x0
	str	x21, [sp]
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_21
LBB0_19:
Lloh27:
	adrp	x1, l_.str.2@PAGE
Lloh28:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh29:
	adrp	x8, _ENXIO@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_13
LBB0_20:
	mov	x0, x20
	bl	_fimc_lite_create_capture_subdev
	mov	x21, x0
	cbz	w0, LBB0_22
LBB0_21:
	mov	x0, x20
	bl	_fimc_lite_clk_put
	b	LBB0_14
LBB0_22:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	x0, x19
	bl	_pm_runtime_enable
	mov	x0, x19
	bl	_pm_runtime_enabled
	cbnz	w0, LBB0_24
; %bb.23:
	ldr	w0, [x20, #8]
	bl	_clk_prepare_enable
	tbnz	w0, #31, LBB0_25
LBB0_24:
	mov	w0, #32
	bl	_DMA_BIT_MASK
	mov	x1, x0
	mov	x0, x19
	bl	_vb2_dma_contig_set_max_seg_size
	mov	x0, x20
	bl	_fimc_lite_set_default_config
	ldr	x2, [x20]
Lloh31:
	adrp	x1, l_.str.4@PAGE
Lloh32:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	mov	w21, #0
	b	LBB0_14
LBB0_25:
	mov	x21, x0
	mov	x0, x20
	bl	_fimc_lite_unregister_capture_subdev
	b	LBB0_21
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_flite_of_match,4,2             ; @flite_of_match
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fimc-lite"

l_.str.1:                               ; @.str.1
	.asciz	"Wrong %pOF node alias\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_IORESOURCE_IRQ,4,2             ; @IORESOURCE_IRQ
l_.str.2:                               ; @.str.2
	.asciz	"Failed to get IRQ resource\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_flite_irq_handler,4,2          ; @flite_irq_handler
l_.str.3:                               ; @.str.3
	.asciz	"Failed to install irq (%d)\n"

l_.str.4:                               ; @.str.4
	.asciz	"FIMC-LITE.%d registered successfully\n"

	.no_dead_strip	_fimc_lite_probe
.subsections_via_symbols
