	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcmi_graph_init
_dcmi_graph_init:                       ## @dcmi_graph_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movl	(%rax), %esi
	callq	_dcmi_graph_parse
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_v4l2_async_notifier_init
	leaq	24(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_v4l2_async_notifier_add_subdev
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r14d
	movq	8(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	movl	20(%rbx), %edi
	callq	_of_node_put
	jmp	LBB0_6
LBB0_1:
	movl	%eax, %r14d
	movq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_6
LBB0_4:
	movq	_dcmi_graph_notify_ops@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
	leaq	16(%rbx), %rdi
	movq	%rbx, %rsi
	callq	_v4l2_async_notifier_register
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jns	LBB0_6
## %bb.5:
	movl	%eax, %r15d
	movq	8(%rbx), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_err
	movq	%rbx, %rdi
	callq	_v4l2_async_notifier_cleanup
	movl	%r15d, %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to parse graph\n"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to add subdev notifier\n"

	.comm	_dcmi_graph_notify_ops,4,2      ## @dcmi_graph_notify_ops
L_.str.2:                               ## @.str.2
	.asciz	"Failed to register notifier\n"

	.no_dead_strip	_dcmi_graph_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcmi_graph_init
_dcmi_graph_init:                       ; @dcmi_graph_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	w1, [x8]
	bl	_dcmi_graph_parse
	tbnz	w0, #31, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_v4l2_async_notifier_init
	add	x1, x19, #24
	mov	x0, x19
	bl	_v4l2_async_notifier_add_subdev
	cbz	w0, LBB0_4
; %bb.2:
	mov	x20, x0
	ldr	x0, [x19, #8]
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	ldr	w0, [x19, #20]
	bl	_of_node_put
	b	LBB0_7
LBB0_3:
	mov	x20, x0
	ldr	x0, [x19, #8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_7
LBB0_4:
Lloh4:
	adrp	x8, _dcmi_graph_notify_ops@GOTPAGE
Lloh5:
	ldr	x8, [x8, _dcmi_graph_notify_ops@GOTPAGEOFF]
	mov	x0, x19
	str	x8, [x0], #16
	mov	x1, x19
	bl	_v4l2_async_notifier_register
	tbnz	w0, #31, LBB0_6
; %bb.5:
	mov	w20, #0
	b	LBB0_7
LBB0_6:
	mov	x20, x0
	ldr	x0, [x19, #8]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
	mov	x0, x19
	bl	_v4l2_async_notifier_cleanup
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to parse graph\n"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to add subdev notifier\n"

	.comm	_dcmi_graph_notify_ops,4,2      ; @dcmi_graph_notify_ops
l_.str.2:                               ; @.str.2
	.asciz	"Failed to register notifier\n"

	.no_dead_strip	_dcmi_graph_init
.subsections_via_symbols
