	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xvip_graph_init
_xvip_graph_init:                       ## @xvip_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_xvip_graph_dma_init
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_xvip_graph_parse
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	leaq	16(%r14), %rdi
	callq	_list_empty
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_9
LBB0_1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_8
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_8
LBB0_6:
	leaq	8(%r14), %rsi
	movq	_xvip_graph_notify_ops@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r14)
	leaq	24(%r14), %rdi
	callq	_v4l2_async_notifier_register
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jns	LBB0_9
## %bb.7:
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %ebx
LBB0_8:
	movl	(%r14), %edi
	callq	_dev_err
	movq	%r14, %rdi
	callq	_xvip_graph_cleanup
LBB0_9:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DMA initialization failed\n"

L_.str.1:                               ## @.str.1
	.asciz	"graph parsing failed\n"

L_.str.2:                               ## @.str.2
	.asciz	"no subdev found in graph\n"

	.comm	_xvip_graph_notify_ops,4,2      ## @xvip_graph_notify_ops
L_.str.3:                               ## @.str.3
	.asciz	"notifier registration failed\n"

	.no_dead_strip	_xvip_graph_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xvip_graph_init
_xvip_graph_init:                       ; @xvip_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
	bl	_xvip_graph_dma_init
	tbnz	w0, #31, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_xvip_graph_parse
	mov	x20, x0
	tbnz	w0, #31, LBB0_5
; %bb.2:
	add	x0, x19, #16
	bl	_list_empty
	cbz	x0, LBB0_6
; %bb.3:
	ldr	w0, [x19]
Lloh0:
	adrp	x1, l_.str.2@PAGE
Lloh1:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
	b	LBB0_10
LBB0_4:
	mov	x20, x0
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_9
LBB0_5:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_6:
Lloh6:
	adrp	x8, _xvip_graph_notify_ops@GOTPAGE
Lloh7:
	ldr	x8, [x8, _xvip_graph_notify_ops@GOTPAGEOFF]
	mov	x1, x19
	str	x8, [x1, #8]!
	add	x0, x1, #16
	bl	_v4l2_async_notifier_register
	tbnz	w0, #31, LBB0_8
; %bb.7:
	mov	w20, #0
	b	LBB0_10
LBB0_8:
	mov	x20, x0
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_9:
	ldr	w0, [x19]
	bl	_dev_err
	mov	x0, x19
	bl	_xvip_graph_cleanup
LBB0_10:
	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 AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DMA initialization failed\n"

l_.str.1:                               ; @.str.1
	.asciz	"graph parsing failed\n"

l_.str.2:                               ; @.str.2
	.asciz	"no subdev found in graph\n"

	.comm	_xvip_graph_notify_ops,4,2      ; @xvip_graph_notify_ops
l_.str.3:                               ; @.str.3
	.asciz	"notifier registration failed\n"

	.no_dead_strip	_xvip_graph_init
.subsections_via_symbols
