	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ov7670_parse_dt
_ov7670_parse_dt:                       ## @ov7670_parse_dt
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_dev_fwnode
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movl	$0, (%r15)
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_fwnode_property_present
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	$1, (%r15)
LBB0_4:
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_fwnode_graph_get_next_endpoint
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r12
	leaq	-48(%rbp), %rsi
	movq	%rax, %rdi
	callq	_v4l2_fwnode_endpoint_parse
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_fwnode_handle_put
	testl	%ebx, %ebx
	jne	LBB0_11
## %bb.7:
	movq	-48(%rbp), %rax
	movq	_V4L2_MBUS_PARALLEL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.9:
	movl	-40(%rbp), %eax
	movl	%eax, 4(%r15)
	jmp	LBB0_10
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
LBB0_10:
	xorl	%ebx, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ov7670,pclk-hb-disable"

	.comm	_V4L2_MBUS_PARALLEL,8,3         ## @V4L2_MBUS_PARALLEL
L_.str.1:                               ## @.str.1
	.asciz	"Unsupported media bus type\n"

	.no_dead_strip	_ov7670_parse_dt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ov7670_parse_dt
_ov7670_parse_dt:                       ; @ov7670_parse_dt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_dev_fwnode
	stp	xzr, xzr, [sp]
	cbz	x0, LBB0_7
; %bb.1:
	mov	x21, x0
	str	wzr, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fwnode_property_present
	cbz	x0, LBB0_3
; %bb.2:
	mov	w8, #1
	str	w8, [x20]
LBB0_3:
	mov	x0, x21
	mov	x1, #0
	bl	_fwnode_graph_get_next_endpoint
	cbz	x0, LBB0_7
; %bb.4:
	mov	x22, x0
	mov	x1, sp
	bl	_v4l2_fwnode_endpoint_parse
	mov	x21, x0
	mov	x0, x22
	bl	_fwnode_handle_put
	cbnz	w21, LBB0_8
; %bb.5:
	ldr	x8, [sp]
Lloh2:
	adrp	x9, _V4L2_MBUS_PARALLEL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _V4L2_MBUS_PARALLEL@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.6:
	mov	w21, #0
	ldr	w8, [sp, #8]
	str	w8, [x20, #4]
	b	LBB0_8
LBB0_7:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_8:
	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
	add	sp, sp, #64
	ret
LBB0_9:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	w21, #0
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ov7670,pclk-hb-disable"

	.comm	_V4L2_MBUS_PARALLEL,8,3         ; @V4L2_MBUS_PARALLEL
l_.str.1:                               ; @.str.1
	.asciz	"Unsupported media bus type\n"

	.no_dead_strip	_ov7670_parse_dt
.subsections_via_symbols
