	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xvip_graph_parse_one
_xvip_graph_parse_one:                  ## @xvip_graph_parse_one
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	8(%rdi), %rdi
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdx
	callq	_dev_dbg
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_fwnode_graph_get_next_endpoint
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%rax, %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_fwnode_handle_put
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_fwnode_graph_get_next_endpoint
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	callq	_dev_dbg
	movq	%rbx, %rdi
	callq	_fwnode_graph_get_remote_port_parent
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_fwnode_handle_put
	movq	8(%r15), %rax
	movl	(%rax), %edi
	callq	_of_fwnode_handle
	cmpq	%rax, %r14
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_xvip_graph_find_entity
	testq	%rax, %rax
	jne	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_v4l2_async_notifier_add_fwnode_subdev
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_fwnode_handle_put
	movq	%r13, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.10:
	movq	%r13, %rdi
	callq	_PTR_ERR
	movl	%eax, %r14d
	jmp	LBB0_11
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_11:
	movq	%r15, %rdi
	callq	_v4l2_async_notifier_cleanup
	movq	%rbx, %rdi
	callq	_fwnode_handle_put
	jmp	LBB0_12
LBB0_8:
	xorl	%r14d, %r14d
LBB0_12:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"parsing node %p\n"

L_.str.1:                               ## @.str.1
	.asciz	"handling endpoint %p\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_xvip_graph_parse_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xvip_graph_parse_one
_xvip_graph_parse_one:                  ; @xvip_graph_parse_one
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x19, x0
	ldr	x0, [x0, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_dev_dbg
	mov	x0, x21
	mov	x1, #0
	bl	_fwnode_graph_get_next_endpoint
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x0
Lloh2:
	adrp	x22, l_.str.1@PAGE
Lloh3:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_fwnode_handle_put
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_fwnode_graph_get_next_endpoint
	mov	x20, x0
	cbz	x0, LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #8]
	mov	x1, x22
	mov	x2, x20
	bl	_dev_dbg
	mov	x0, x20
	bl	_fwnode_graph_get_remote_port_parent
	cbz	x0, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x0
	mov	x0, x20
	bl	_fwnode_handle_put
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_of_fwnode_handle
	cmp	x23, x0
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_xvip_graph_find_entity
	cbnz	x0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x23
	mov	w2, #4
	bl	_v4l2_async_notifier_add_fwnode_subdev
	mov	x24, x0
	mov	x0, x23
	bl	_fwnode_handle_put
	mov	x0, x24
	bl	_IS_ERR
	cbz	x0, LBB0_3
; %bb.8:
	mov	x0, x24
	bl	_PTR_ERR
	mov	x21, x0
	b	LBB0_11
LBB0_9:
	mov	w21, #0
	b	LBB0_12
LBB0_10:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_11:
	mov	x0, x19
	bl	_v4l2_async_notifier_cleanup
	mov	x0, x20
	bl	_fwnode_handle_put
LBB0_12:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"parsing node %p\n"

l_.str.1:                               ; @.str.1
	.asciz	"handling endpoint %p\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_xvip_graph_parse_one
.subsections_via_symbols
