	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function v4l2_fwnode_reference_parse
_v4l2_fwnode_reference_parse:           ## @v4l2_fwnode_reference_parse
	.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	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	callq	_dev_fwnode
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %r9
	movl	%eax, %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_fwnode_property_get_reference_args
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movl	$1, %ebx
	leaq	-48(%rbp), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	-48(%rbp), %edi
	callq	_fwnode_handle_put
	movq	%r12, %rdi
	callq	_dev_fwnode
	movl	%eax, %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	%ebx, %r8d
	movq	%r13, %r9
	callq	_fwnode_property_get_reference_args
	incl	%ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	cmpl	$1, %ebx
	movl	$0, %ebx
	jne	LBB0_5
LBB0_4:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	%ebx, %r14d
LBB0_13:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	%eax, %r14d
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r14d, %eax
	je	LBB0_7
## %bb.6:
	movq	_ENODATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r14d, %eax
	jne	LBB0_13
LBB0_7:
	movq	%r12, %rdi
	callq	_dev_fwnode
	xorl	%r14d, %r14d
	leaq	-48(%rbp), %r9
	movl	%eax, %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_fwnode_property_get_reference_args
	testl	%eax, %eax
	jne	LBB0_13
## %bb.8:
	movl	$1, %r13d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	callq	_dev_fwnode
	xorl	%r14d, %r14d
	movl	%eax, %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	%r13d, %r8d
	leaq	-48(%rbp), %r9
	callq	_fwnode_property_get_reference_args
	incl	%r13d
	testl	%eax, %eax
	jne	LBB0_13
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	-48(%rbp), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$4, %edx
	callq	_v4l2_async_notifier_add_fwnode_subdev
	movq	%rax, %rbx
	movl	-48(%rbp), %edi
	callq	_fwnode_handle_put
	movq	%rbx, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movq	_EEXIST@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	je	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %r14d
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_ENODATA,4,2                    ## @ENODATA
	.comm	_EEXIST,4,2                     ## @EEXIST
	.no_dead_strip	_v4l2_fwnode_reference_parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v4l2_fwnode_reference_parse
_v4l2_fwnode_reference_parse:           ; @v4l2_fwnode_reference_parse
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_dev_fwnode
	add	x5, sp, #8
	mov	x1, x19
	mov	x2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_fwnode_property_get_reference_args
	cbnz	w0, LBB0_4
; %bb.1:
	mov	w22, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [sp, #8]
	bl	_fwnode_handle_put
	mov	x0, x21
	bl	_dev_fwnode
	add	x5, sp, #8
	mov	x1, x19
	mov	x2, #0
	mov	w3, #0
	mov	x4, x22
	bl	_fwnode_property_get_reference_args
	add	w22, w22, #1
	cbz	w0, LBB0_2
; %bb.3:
	cmp	w22, #1
	b.ne	LBB0_6
LBB0_4:
Lloh0:
	adrp	x8, _ENOENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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_6:
Lloh3:
	adrp	x8, _ENOENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_8
; %bb.7:
Lloh6:
	adrp	x8, _ENODATA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENODATA@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_5
LBB0_8:
	mov	x0, x21
	bl	_dev_fwnode
	add	x5, sp, #8
	mov	x1, x19
	mov	x2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_fwnode_property_get_reference_args
	mov	x8, x0
	mov	w0, #0
	cbnz	w8, LBB0_5
; %bb.9:
	mov	w22, #1
Lloh9:
	adrp	x24, _EEXIST@GOTPAGE
Lloh10:
	ldr	x24, [x24, _EEXIST@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x21
	bl	_dev_fwnode
	add	x5, sp, #8
	mov	x1, x19
	mov	x2, #0
	mov	w3, #0
	mov	x4, x22
	bl	_fwnode_property_get_reference_args
	add	w22, w22, #1
	cbnz	w0, LBB0_14
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [sp, #8]
	mov	x0, x20
	mov	w2, #4
	bl	_v4l2_async_notifier_add_fwnode_subdev
	mov	x23, x0
	ldr	w0, [sp, #8]
	bl	_fwnode_handle_put
	mov	x0, x23
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x23
	bl	_PTR_ERR
	ldr	w8, [x24]
	cmn	w0, w8
	b.eq	LBB0_10
; %bb.13:
	mov	x0, x23
	bl	_PTR_ERR
	b	LBB0_5
LBB0_14:
	mov	w0, #0
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_ENODATA,4,2                    ; @ENODATA
	.comm	_EEXIST,4,2                     ; @EEXIST
	.no_dead_strip	_v4l2_fwnode_reference_parse
.subsections_via_symbols
