	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ov2640_probe_dt
_ov2640_probe_dt:                       ## @ov2640_probe_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_GPIOD_OUT_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_devm_gpiod_get_optional
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	8(%r15), %rax
LBB0_2:
	movq	%rax, %rdi
	callq	_PTR_ERR_OR_ZERO
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movl	%eax, %ebx
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_4
LBB0_5:
	movq	_GPIOD_OUT_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_gpiod_get_optional
	movq	%rax, (%r15)
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	(%r15), %rax
LBB0_7:
	movq	%rax, %rdi
	callq	_PTR_ERR_OR_ZERO
	xorl	%ebx, %ebx
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	movl	%eax, %r15d
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r15d, %eax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	%r15d, %ebx
	jmp	LBB0_10
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_10:
	movl	%ebx, %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	"resetb"

	.comm	_GPIOD_OUT_LOW,4,2              ## @GPIOD_OUT_LOW
L_.str.1:                               ## @.str.1
	.asciz	"resetb gpio is not assigned!\n"

	.comm	_ENOSYS,4,2                     ## @ENOSYS
L_.str.2:                               ## @.str.2
	.asciz	"Error %d while getting resetb gpio\n"

L_.str.3:                               ## @.str.3
	.asciz	"pwdn"

	.comm	_GPIOD_OUT_HIGH,4,2             ## @GPIOD_OUT_HIGH
L_.str.4:                               ## @.str.4
	.asciz	"pwdn gpio is not assigned!\n"

L_.str.5:                               ## @.str.5
	.asciz	"Error %d while getting pwdn gpio\n"

	.no_dead_strip	_ov2640_probe_dt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ov2640_probe_dt
_ov2640_probe_dt:                       ; @ov2640_probe_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
Lloh0:
	adrp	x8, _GPIOD_OUT_LOW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPIOD_OUT_LOW@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_devm_gpiod_get_optional
	str	x0, [x20, #8]
	cbnz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	x0, [x20, #8]
LBB0_2:
	bl	_PTR_ERR_OR_ZERO
Lloh7:
	adrp	x22, _ENOSYS@GOTPAGE
Lloh8:
	ldr	x22, [x22, _ENOSYS@GOTPAGEOFF]
	cbz	w0, LBB0_4
; %bb.3:
	mov	x21, x0
	ldr	w8, [x22]
	cmn	w0, w8
	b.ne	LBB0_9
LBB0_4:
Lloh9:
	adrp	x8, _GPIOD_OUT_HIGH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GPIOD_OUT_HIGH@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_devm_gpiod_get_optional
	str	x0, [x20]
	cbnz	x0, LBB0_6
; %bb.5:
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	x0, [x20]
LBB0_6:
	bl	_PTR_ERR_OR_ZERO
	mov	x21, x0
	cbz	w0, LBB0_11
; %bb.7:
	ldr	w8, [x22]
	cmn	w21, w8
	b.ne	LBB0_10
; %bb.8:
	mov	w21, #0
	b	LBB0_11
LBB0_9:
	str	x21, [sp]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	b	LBB0_11
LBB0_10:
	str	x21, [sp]
Lloh18:
	adrp	x1, l_.str.5@PAGE
Lloh19:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
LBB0_11:
	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
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"resetb"

	.comm	_GPIOD_OUT_LOW,4,2              ; @GPIOD_OUT_LOW
l_.str.1:                               ; @.str.1
	.asciz	"resetb gpio is not assigned!\n"

	.comm	_ENOSYS,4,2                     ; @ENOSYS
l_.str.2:                               ; @.str.2
	.asciz	"Error %d while getting resetb gpio\n"

l_.str.3:                               ; @.str.3
	.asciz	"pwdn"

	.comm	_GPIOD_OUT_HIGH,4,2             ; @GPIOD_OUT_HIGH
l_.str.4:                               ; @.str.4
	.asciz	"pwdn gpio is not assigned!\n"

l_.str.5:                               ; @.str.5
	.asciz	"Error %d while getting pwdn gpio\n"

	.no_dead_strip	_ov2640_probe_dt
.subsections_via_symbols
