	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fimc_is_probe
_fimc_is_probe:                         ## @fimc_is_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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$40, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r15
	movq	%r14, 32(%rax)
	movq	%r14, 24(%rax)
	leaq	20(%rax), %rdi
	callq	_init_waitqueue_head
	leaq	16(%r15), %rdi
	callq	_spin_lock_init
	movq	%r15, %rdi
	addq	$12, %rdi
	callq	_mutex_init
	movl	(%r14), %edi
	leaq	-40(%rbp), %rdx
	xorl	%esi, %esi
	callq	_of_address_to_resource
	testl	%eax, %eax
	js	LBB0_4
## %bb.2:
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_devm_ioremap_resource
	movl	%eax, 8(%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movl	8(%r15), %edi
	callq	_PTR_ERR
LBB0_4:
	movl	%eax, %ebx
	jmp	LBB0_8
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_of_get_child_by_name
	testq	%rax, %rax
	je	LBB0_22
## %bb.10:
	movq	%rax, %r12
	xorl	%ebx, %ebx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_of_iomap
	movl	%eax, (%r15)
	movq	%r12, %rdi
	callq	_of_node_put
	cmpl	$0, (%r15)
	je	LBB0_23
## %bb.11:
	movl	(%r14), %edi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_irq_of_parse_and_map
	movl	%eax, 4(%r15)
	testl	%eax, %eax
	je	LBB0_24
## %bb.12:
	movq	%r15, %rdi
	callq	_fimc_is_get_clocks
	testl	%eax, %eax
	js	LBB0_25
## %bb.13:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_platform_set_drvdata
	movl	4(%r15), %r12d
	movq	_fimc_is_irq_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_dev_name
	movl	%r12d, %edi
	movl	%ebx, %esi
	xorl	%edx, %edx
	movl	%eax, %ecx
	movq	%r15, %r8
	callq	_request_irq
	testl	%eax, %eax
	js	LBB0_26
## %bb.14:
	movq	%r14, %rdi
	callq	_pm_runtime_enable
	movq	%r14, %rdi
	callq	_pm_runtime_enabled
	testl	%eax, %eax
	jne	LBB0_16
## %bb.15:
	movq	%r14, %rdi
	callq	_fimc_is_runtime_resume
	testl	%eax, %eax
	js	LBB0_27
LBB0_16:
	movq	%r14, %rdi
	callq	_pm_runtime_get_sync
	testl	%eax, %eax
	js	LBB0_28
## %bb.17:
	movl	$32, %edi
	callq	_DMA_BIT_MASK
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_vb2_dma_contig_set_max_seg_size
	movq	%r14, %rdi
	callq	_devm_of_platform_populate
	testl	%eax, %eax
	js	LBB0_28
## %bb.18:
	movq	%r15, %rdi
	callq	_fimc_is_register_subdevs
	testl	%eax, %eax
	js	LBB0_28
## %bb.19:
	movq	%r15, %rdi
	callq	_fimc_is_debugfs_create
	testl	%eax, %eax
	js	LBB0_29
## %bb.20:
	movq	_FIMC_IS_FW_FILENAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_fimc_is_request_firmware
	testl	%eax, %eax
	js	LBB0_30
## %bb.21:
	movq	%r14, %rdi
	callq	_pm_runtime_put_sync
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_dbg
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_22:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_23:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_24:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_36
LBB0_25:
	movl	%eax, %ebx
	jmp	LBB0_36
LBB0_28:
	movl	%eax, %ebx
LBB0_32:
	movq	%r14, %rdi
	callq	_pm_runtime_enabled
	testl	%eax, %eax
	jne	LBB0_34
## %bb.33:
	movq	%r14, %rdi
	callq	_fimc_is_runtime_suspend
	jmp	LBB0_34
LBB0_26:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_35
LBB0_27:
	movl	%eax, %ebx
LBB0_34:
	movl	4(%r15), %edi
	movq	%r15, %rsi
	callq	_free_irq
LBB0_35:
	movq	%r15, %rdi
	callq	_fimc_is_put_clocks
LBB0_36:
	movl	(%r15), %edi
	callq	_iounmap
	jmp	LBB0_8
LBB0_29:
	movl	%eax, %ebx
	jmp	LBB0_31
LBB0_30:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_fimc_is_debugfs_remove
LBB0_31:
	movq	%r15, %rdi
	callq	_fimc_is_unregister_subdevs
	jmp	LBB0_32
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pmu"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.1:                               ## @.str.1
	.asciz	"no irq found\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_fimc_is_irq_handler,4,2        ## @fimc_is_irq_handler
L_.str.2:                               ## @.str.2
	.asciz	"irq request failed\n"

	.comm	_FIMC_IS_FW_FILENAME,4,2        ## @FIMC_IS_FW_FILENAME
L_.str.3:                               ## @.str.3
	.asciz	"FIMC-IS registered successfully\n"

	.no_dead_strip	_fimc_is_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fimc_is_probe
_fimc_is_probe:                         ; @fimc_is_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
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #40
	bl	_devm_kzalloc
	cbz	x0, LBB0_18
; %bb.1:
	mov	x19, x0
	stp	x20, x20, [x0, #24]
	add	x0, x0, #20
	bl	_init_waitqueue_head
	add	x0, x19, #16
	bl	_spin_lock_init
	add	x0, x19, #12
	bl	_mutex_init
	ldr	w0, [x20]
	add	x2, sp, #8
	mov	w1, #0
	bl	_of_address_to_resource
	tbnz	w0, #31, LBB0_4
; %bb.2:
	add	x1, sp, #8
	mov	x0, x20
	bl	_devm_ioremap_resource
	str	w0, [x19, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w0, [x19, #8]
	bl	_PTR_ERR
LBB0_4:
	mov	x21, x0
	b	LBB0_20
LBB0_5:
	ldr	w0, [x20]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_of_get_child_by_name
	cbz	x0, LBB0_21
; %bb.6:
	mov	x21, x0
	mov	w1, #0
	bl	_of_iomap
	str	w0, [x19]
	mov	x0, x21
	bl	_of_node_put
	ldr	w8, [x19]
	cbz	w8, LBB0_18
; %bb.7:
	ldr	w0, [x20]
	mov	w1, #0
	bl	_irq_of_parse_and_map
	str	w0, [x19, #4]
	cbz	w0, LBB0_22
; %bb.8:
	mov	x0, x19
	bl	_fimc_is_get_clocks
	tbnz	w0, #31, LBB0_23
; %bb.9:
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
	ldr	w21, [x19, #4]
Lloh5:
	adrp	x8, _fimc_is_irq_handler@GOTPAGE
Lloh6:
	ldr	x8, [x8, _fimc_is_irq_handler@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
	mov	x0, x20
	bl	_dev_name
	mov	x3, x0
	mov	x0, x21
	mov	x1, x22
	mov	w2, #0
	mov	x4, x19
	bl	_request_irq
	tbnz	w0, #31, LBB0_27
; %bb.10:
	mov	x0, x20
	bl	_pm_runtime_enable
	mov	x0, x20
	bl	_pm_runtime_enabled
	cbnz	w0, LBB0_12
; %bb.11:
	mov	x0, x20
	bl	_fimc_is_runtime_resume
	tbnz	w0, #31, LBB0_28
LBB0_12:
	mov	x0, x20
	bl	_pm_runtime_get_sync
	tbnz	w0, #31, LBB0_24
; %bb.13:
	mov	w0, #32
	bl	_DMA_BIT_MASK
	mov	x1, x0
	mov	x0, x20
	bl	_vb2_dma_contig_set_max_seg_size
	mov	x0, x20
	bl	_devm_of_platform_populate
	tbnz	w0, #31, LBB0_24
; %bb.14:
	mov	x0, x19
	bl	_fimc_is_register_subdevs
	tbnz	w0, #31, LBB0_24
; %bb.15:
	mov	x0, x19
	bl	_fimc_is_debugfs_create
	tbnz	w0, #31, LBB0_32
; %bb.16:
Lloh8:
	adrp	x8, _FIMC_IS_FW_FILENAME@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FIMC_IS_FW_FILENAME@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_fimc_is_request_firmware
	tbnz	w0, #31, LBB0_33
; %bb.17:
	mov	x0, x20
	bl	_pm_runtime_put_sync
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	mov	w21, #0
	b	LBB0_20
LBB0_18:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_19:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_20:
	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_21:
Lloh15:
	adrp	x8, _ENODEV@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_19
LBB0_22:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh19:
	adrp	x8, _EINVAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_31
LBB0_23:
	mov	x21, x0
	b	LBB0_31
LBB0_24:
	mov	x21, x0
LBB0_25:
	mov	x0, x20
	bl	_pm_runtime_enabled
	cbnz	w0, LBB0_29
; %bb.26:
	mov	x0, x20
	bl	_fimc_is_runtime_suspend
	b	LBB0_29
LBB0_27:
	mov	x21, x0
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_30
LBB0_28:
	mov	x21, x0
LBB0_29:
	ldr	w0, [x19, #4]
	mov	x1, x19
	bl	_free_irq
LBB0_30:
	mov	x0, x19
	bl	_fimc_is_put_clocks
LBB0_31:
	ldr	w0, [x19]
	bl	_iounmap
	b	LBB0_20
LBB0_32:
	mov	x21, x0
	b	LBB0_34
LBB0_33:
	mov	x21, x0
	mov	x0, x19
	bl	_fimc_is_debugfs_remove
LBB0_34:
	mov	x0, x19
	bl	_fimc_is_unregister_subdevs
	b	LBB0_25
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pmu"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.1:                               ; @.str.1
	.asciz	"no irq found\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_fimc_is_irq_handler,4,2        ; @fimc_is_irq_handler
l_.str.2:                               ; @.str.2
	.asciz	"irq request failed\n"

	.comm	_FIMC_IS_FW_FILENAME,4,2        ; @FIMC_IS_FW_FILENAME
l_.str.3:                               ; @.str.3
	.asciz	"FIMC-IS registered successfully\n"

	.no_dead_strip	_fimc_is_probe
.subsections_via_symbols
