	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fimc_is_parse_sensor_config
_fimc_is_parse_sensor_config:           ## @fimc_is_parse_sensor_config
	.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	%rdx, %r15
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	movl	%esi, %r13d
	movq	$0, -48(%rbp)
	movq	%rdx, %rdi
	callq	_fimc_is_sensor_get_drvdata
	shlq	$4, %r13
	movl	%eax, 8(%rbx,%r13)
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_of_graph_get_next_endpoint
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_of_graph_get_remote_port
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_of_node_put
	testq	%r15, %r15
	je	LBB0_7
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	js	LBB0_11
## %bb.4:
	movq	%r15, %rdi
	callq	_of_node_put
	movq	-48(%rbp), %rax
	movq	_FIMC_INPUT_MIPI_CSI2_0@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r13)
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_5:
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_ENXIO@GOTPCREL(%rip), %rax
LBB0_8:
	xorl	%ebx, %ebx
LBB0_9:
	subl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movl	%eax, %ebx
	movq	(%r14), %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdx
	callq	_dev_err
	movq	%r15, %rdi
	callq	_of_node_put
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no driver data found for: %pOF\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENXIO,4,2                      ## @ENXIO
L_.str.1:                               ## @.str.1
	.asciz	"reg"

L_.str.2:                               ## @.str.2
	.asciz	"reg property not found at: %pOF\n"

	.comm	_FIMC_INPUT_MIPI_CSI2_0,8,3     ## @FIMC_INPUT_MIPI_CSI2_0
	.no_dead_strip	_fimc_is_parse_sensor_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fimc_is_parse_sensor_config
_fimc_is_parse_sensor_config:           ; @fimc_is_parse_sensor_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x23, [x0, #8]
	str	xzr, [sp, #8]
	mov	x0, x2
	bl	_fimc_is_sensor_get_drvdata
	add	x8, x23, w20, uxtw #4
	str	w0, [x8, #8]
	cbz	w0, LBB0_6
; %bb.1:
	mov	x0, x21
	mov	x1, #0
	bl	_of_graph_get_next_endpoint
	cbz	x0, LBB0_5
; %bb.2:
	mov	x21, x0
	bl	_of_graph_get_remote_port
	mov	x22, x0
	mov	x0, x21
	bl	_of_node_put
	cbz	x22, LBB0_5
; %bb.3:
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #8
	mov	x0, x22
	bl	_of_property_read_u32
	tbnz	w0, #31, LBB0_9
; %bb.4:
	mov	w19, w20
	mov	x0, x22
	bl	_of_node_put
	mov	w21, #0
Lloh2:
	adrp	x8, _FIMC_INPUT_MIPI_CSI2_0@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FIMC_INPUT_MIPI_CSI2_0@GOTPAGEOFF]
	ldr	x9, [sp, #8]
Lloh4:
	ldr	x8, [x8]
	sub	x8, x9, x8
	lsl	x9, x19, #4
	str	x8, [x23, x9]
	b	LBB0_8
LBB0_5:
Lloh5:
	adrp	x8, _ENXIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	ldr	x0, [x19]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_dev_err
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_8:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_9:
	mov	x21, x0
	ldr	x0, [x19]
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x22
	bl	_dev_err
	mov	x0, x22
	bl	_of_node_put
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no driver data found for: %pOF\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENXIO,4,2                      ; @ENXIO
l_.str.1:                               ; @.str.1
	.asciz	"reg"

l_.str.2:                               ; @.str.2
	.asciz	"reg property not found at: %pOF\n"

	.comm	_FIMC_INPUT_MIPI_CSI2_0,8,3     ; @FIMC_INPUT_MIPI_CSI2_0
	.no_dead_strip	_fimc_is_parse_sensor_config
.subsections_via_symbols
