	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ov7670_probe
_ov7670_probe:                          ## @ov7670_probe
	.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	%rsi, %r15
	movq	%rdi, %r13
	leaq	16(%rdi), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$160, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	leaq	16(%rax), %rdi
	movq	_ov7670_ops@GOTPCREL(%rip), %rdx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rsi
	callq	_v4l2_i2c_subdev_init
	movl	$30, (%r12)
	movq	%r14, %rdi
	callq	_dev_fwnode
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_ov7670_parse_dt
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_27
	jmp	LBB0_11
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_27
LBB0_4:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.5:
	movl	32(%rax), %ecx
	movl	%ecx, 152(%r12)
	movl	28(%rax), %ecx
	movl	%ecx, 148(%r12)
	movl	24(%rax), %ecx
	movl	%ecx, 144(%r12)
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	je	LBB0_7
## %bb.6:
	movl	%ecx, (%r12)
LBB0_7:
	cmpq	$0, 16(%rax)
	je	LBB0_9
## %bb.8:
	movl	$1, 4(%r12)
LBB0_9:
	cmpq	$0, 8(%rax)
	je	LBB0_11
## %bb.10:
	movl	$1, 8(%r12)
LBB0_11:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_clk_get
	movq	%rax, 136(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movq	136(%r12), %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	%ebx, %ecx
	addl	(%rax), %ecx
	jne	LBB0_27
## %bb.13:
	movq	$0, 136(%r12)
LBB0_14:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_ov7670_init_gpio
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_27
## %bb.15:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_ov7670_power_on
	movq	136(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.16:
	callq	_clk_get_rate
	cltq
	imulq	$1125899907, %rax, %rcx         ## imm = 0x431BDE83
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$50, %rcx
	addl	%edx, %ecx
	movl	%ecx, (%r12)
	addl	$-49000000, %eax                ## imm = 0xFD1451C0
	cmpl	$-39000001, %eax                ## imm = 0xFDACE83F
	ja	LBB0_18
## %bb.17:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_25
LBB0_18:
	movq	%r14, %rdi
	callq	_ov7670_detect
	testl	%eax, %eax
	je	LBB0_20
## %bb.19:
	movl	%eax, %ebx
	movq	_debug@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %r8d
	addl	%r8d, %r8d
	movq	8(%r13), %rax
	movl	(%rax), %r9d
	leaq	L_.str.1(%rip), %rcx
	movl	$1, %edi
	movq	%r13, %rdx
	callq	_v4l_dbg
	jmp	LBB0_25
LBB0_20:
	movl	(%r13), %edx
	addl	%edx, %edx
	movq	8(%r13), %rax
	movl	(%rax), %ecx
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_v4l_info
	movq	_ov7670_devdata@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15), %rcx
	shlq	$4, %rcx
	leaq	(%rax,%rcx), %rdx
	movq	%rdx, 96(%r12)
	movq	_ov7670_formats@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, 128(%r12)
	movq	8(%rax,%rcx), %rax
	movq	%rax, 120(%r12)
	leaq	112(%r12), %rsi
	movq	%r14, %rdi
	callq	_ov7670_get_default_format
	movq	$0, 104(%r12)
	movabsq	$128849018881, %rax             ## imm = 0x1E00000001
	movq	%rax, -56(%rbp)
	movq	96(%r12), %rax
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	*(%rax)
	leaq	12(%r12), %r15
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_V4L2_CID_BRIGHTNESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$128, (%rsp)
	movq	_ov7670_ctrl_ops@GOTPCREL(%rip), %r14
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	movl	$255, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_CONTRAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$64, (%rsp)
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	movl	$127, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_VFLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_HFLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_SATURATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$128, (%rsp)
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	movl	$256, %r8d                      ## imm = 0x100
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 48(%r12)
	movq	_V4L2_CID_HUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$-180, %ecx
	movl	$180, %r8d
	movl	$5, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 88(%r12)
	movq	_V4L2_CID_GAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$128, (%rsp)
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	movl	$255, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 80(%r12)
	movq	_V4L2_CID_AUTOGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, (%rsp)
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 64(%r12)
	movq	_V4L2_CID_EXPOSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$500, (%rsp)                    ## imm = 0x1F4
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	movl	$65535, %r8d                    ## imm = 0xFFFF
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 72(%r12)
	movq	_V4L2_CID_EXPOSURE_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_EXPOSURE_MANUAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_V4L2_EXPOSURE_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%r8d, %r8d
	callq	_v4l2_ctrl_new_std_menu
	movq	%rax, 56(%r12)
	movq	_V4L2_CID_TEST_PATTERN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ov7670_test_pattern_menu@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_ARRAY_SIZE
	leaq	-1(%rax), %rcx
	movl	(%r13), %eax
	movl	%eax, (%rsp)
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_v4l2_ctrl_new_std_menu_items
	movq	%r15, 24(%r12)
	movl	12(%r12), %ebx
	testl	%ebx, %ebx
	je	LBB0_21
LBB0_24:
	movq	%r15, %rdi
	callq	_v4l2_ctrl_handler_free
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_25:
	movq	%r14, %rdi
LBB0_26:
	callq	_ov7670_power_off
LBB0_27:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	leaq	48(%r12), %r14
	leaq	64(%r12), %rsi
	leaq	56(%r12), %r13
	xorl	%ebx, %ebx
	movl	$2, %edi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_v4l2_ctrl_auto_cluster
	movq	_V4L2_EXPOSURE_MANUAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$2, %edi
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	callq	_v4l2_ctrl_auto_cluster
	movl	$2, %edi
	movq	%r14, %rsi
	callq	_v4l2_ctrl_cluster
	movq	%r15, %rdi
	callq	_v4l2_ctrl_handler_setup
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_v4l2_async_register_subdev
	testl	%eax, %eax
	js	LBB0_23
## %bb.22:
	movq	%r13, %rdi
	jmp	LBB0_26
LBB0_23:
	movl	%eax, %r14d
	addq	$20, %r12
	movq	%r12, %rdi
	callq	_media_entity_cleanup
	movl	%r14d, %ebx
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ov7670_ops,4,2                 ## @ov7670_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xclk"

	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_debug,4,2                      ## @debug
L_.str.1:                               ## @.str.1
	.asciz	"chip found @ 0x%x (%s) is not an ov7670 chip.\n"

L_.str.2:                               ## @.str.2
	.asciz	"chip found @ 0x%02x (%s)\n"

	.comm	_ov7670_devdata,8,3             ## @ov7670_devdata
	.comm	_ov7670_formats,8,3             ## @ov7670_formats
	.comm	_ov7670_ctrl_ops,4,2            ## @ov7670_ctrl_ops
	.comm	_V4L2_CID_BRIGHTNESS,4,2        ## @V4L2_CID_BRIGHTNESS
	.comm	_V4L2_CID_CONTRAST,4,2          ## @V4L2_CID_CONTRAST
	.comm	_V4L2_CID_VFLIP,4,2             ## @V4L2_CID_VFLIP
	.comm	_V4L2_CID_HFLIP,4,2             ## @V4L2_CID_HFLIP
	.comm	_V4L2_CID_SATURATION,4,2        ## @V4L2_CID_SATURATION
	.comm	_V4L2_CID_HUE,4,2               ## @V4L2_CID_HUE
	.comm	_V4L2_CID_GAIN,4,2              ## @V4L2_CID_GAIN
	.comm	_V4L2_CID_AUTOGAIN,4,2          ## @V4L2_CID_AUTOGAIN
	.comm	_V4L2_CID_EXPOSURE,4,2          ## @V4L2_CID_EXPOSURE
	.comm	_V4L2_CID_EXPOSURE_AUTO,4,2     ## @V4L2_CID_EXPOSURE_AUTO
	.comm	_V4L2_EXPOSURE_MANUAL,4,2       ## @V4L2_EXPOSURE_MANUAL
	.comm	_V4L2_EXPOSURE_AUTO,4,2         ## @V4L2_EXPOSURE_AUTO
	.comm	_V4L2_CID_TEST_PATTERN,4,2      ## @V4L2_CID_TEST_PATTERN
	.comm	_ov7670_test_pattern_menu,4,2   ## @ov7670_test_pattern_menu
	.comm	_MEDIA_ENT_F_CAM_SENSOR,4,2     ## @MEDIA_ENT_F_CAM_SENSOR
	.comm	_MEDIA_PAD_FL_SOURCE,4,2        ## @MEDIA_PAD_FL_SOURCE
	.comm	_V4L2_SUBDEV_FL_HAS_DEVNODE,4,2 ## @V4L2_SUBDEV_FL_HAS_DEVNODE
	.comm	_V4L2_SUBDEV_FL_HAS_EVENTS,4,2  ## @V4L2_SUBDEV_FL_HAS_EVENTS
	.comm	_ov7670_subdev_internal_ops,4,2 ## @ov7670_subdev_internal_ops
	.no_dead_strip	_ov7670_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ov7670_probe
lCPI0_0:
	.long	1                               ; 0x1
	.long	30                              ; 0x1e
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ov7670_probe:                          ; @ov7670_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x1
	mov	x21, x0
	add	x23, x0, #16
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x23
	mov	w1, #160
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	add	x19, x0, #16
Lloh3:
	adrp	x2, _ov7670_ops@GOTPAGE
Lloh4:
	ldr	x2, [x2, _ov7670_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x21
	bl	_v4l2_i2c_subdev_init
	mov	w8, #30
	str	w8, [x20]
	mov	x0, x23
	bl	_dev_fwnode
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x23
	mov	x1, x20
	bl	_ov7670_parse_dt
	mov	x24, x0
	cbnz	w0, LBB0_23
	b	LBB0_11
LBB0_3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_23
LBB0_4:
	ldr	x8, [x23]
	cbz	x8, LBB0_11
; %bb.5:
	ldr	w9, [x8, #32]
	str	w9, [x20, #152]
	ldr	d0, [x8, #24]
	str	d0, [x20, #144]
	ldr	w9, [x8]
	cbz	w9, LBB0_7
; %bb.6:
	str	w9, [x20]
LBB0_7:
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_9
; %bb.8:
	mov	w9, #1
	str	w9, [x20, #4]
LBB0_9:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_11
; %bb.10:
	mov	w8, #1
	str	w8, [x20, #8]
LBB0_11:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_devm_clk_get
	str	x0, [x20, #136]
	bl	_IS_ERR
	cbz	x0, LBB0_14
; %bb.12:
	ldr	x0, [x20, #136]
	bl	_PTR_ERR
	mov	x24, x0
Lloh10:
	adrp	x8, _ENOENT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_23
; %bb.13:
	str	xzr, [x20, #136]
LBB0_14:
	mov	x0, x21
	mov	x1, x20
	bl	_ov7670_init_gpio
	mov	x24, x0
	cbnz	w0, LBB0_23
; %bb.15:
	mov	x0, x19
	bl	_ov7670_power_on
	ldr	x0, [x20, #136]
	cbz	x0, LBB0_18
; %bb.16:
	bl	_clk_get_rate
	mov	w8, #56963
	movk	w8, #17179, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	asr	x8, x8, #50
	add	w8, w8, w9
	str	w8, [x20]
	mov	w8, #20928
	movk	w8, #64788, lsl #16
	mov	w9, #59455
	movk	w9, #64940, lsl #16
	add	w8, w0, w8
	cmp	w8, w9
	b.hi	LBB0_18
; %bb.17:
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_22
LBB0_18:
	mov	x0, x19
	bl	_ov7670_detect
	cbz	w0, LBB0_20
; %bb.19:
	mov	x24, x0
Lloh16:
	adrp	x8, _debug@GOTPAGE
Lloh17:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	ldr	w8, [x21]
	lsl	w4, w8, #1
	ldr	x8, [x21, #8]
	ldr	w5, [x8]
Lloh19:
	adrp	x3, l_.str.1@PAGE
Lloh20:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	w0, #1
	mov	x2, x21
	bl	_v4l_dbg
	b	LBB0_22
LBB0_20:
	ldr	w8, [x21]
	lsl	w2, w8, #1
	ldr	x8, [x21, #8]
	ldr	w3, [x8]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_v4l_info
Lloh23:
	adrp	x8, _ov7670_devdata@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ov7670_devdata@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	ldr	x9, [x22]
	add	x8, x8, x9, lsl #4
Lloh26:
	adrp	x9, _ov7670_formats@GOTPAGE
Lloh27:
	ldr	x9, [x9, _ov7670_formats@GOTPAGEOFF]
	str	x8, [x20, #96]
Lloh28:
	ldr	x9, [x9]
	ldr	x8, [x8, #8]
	stp	x8, x9, [x20, #120]
	add	x1, x20, #112
	mov	x0, x19
	bl	_ov7670_get_default_format
	str	xzr, [x20, #104]
Lloh29:
	adrp	x8, lCPI0_0@PAGE
Lloh30:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #8]
	ldr	x8, [x20, #96]
	ldr	x8, [x8]
	add	x1, sp, #8
	mov	x0, x19
	blr	x8
	add	x21, x20, #12
	mov	x0, x21
	mov	w1, #10
	bl	_v4l2_ctrl_handler_init
Lloh31:
	adrp	x8, _V4L2_CID_BRIGHTNESS@GOTPAGE
Lloh32:
	ldr	x8, [x8, _V4L2_CID_BRIGHTNESS@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
Lloh34:
	adrp	x22, _ov7670_ctrl_ops@GOTPAGE
Lloh35:
	ldr	x22, [x22, _ov7670_ctrl_ops@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, x22
	mov	w3, #0
	mov	w4, #255
	mov	w5, #1
	mov	w6, #128
	bl	_v4l2_ctrl_new_std
Lloh36:
	adrp	x8, _V4L2_CID_CONTRAST@GOTPAGE
Lloh37:
	ldr	x8, [x8, _V4L2_CID_CONTRAST@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x22
	mov	w3, #0
	mov	w4, #127
	mov	w5, #1
	mov	w6, #64
	bl	_v4l2_ctrl_new_std
Lloh39:
	adrp	x8, _V4L2_CID_VFLIP@GOTPAGE
Lloh40:
	ldr	x8, [x8, _V4L2_CID_VFLIP@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x22
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
Lloh42:
	adrp	x8, _V4L2_CID_HFLIP@GOTPAGE
Lloh43:
	ldr	x8, [x8, _V4L2_CID_HFLIP@GOTPAGEOFF]
Lloh44:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x22
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
Lloh45:
	adrp	x8, _V4L2_CID_SATURATION@GOTPAGE
Lloh46:
	ldr	x8, [x8, _V4L2_CID_SATURATION@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x22
	mov	w3, #0
	mov	w4, #256
	mov	w5, #1
	mov	w6, #128
	bl	_v4l2_ctrl_new_std
	mov	x23, x20
	str	x0, [x23, #48]!
Lloh48:
	adrp	x8, _V4L2_CID_HUE@GOTPAGE
Lloh49:
	ldr	x8, [x8, _V4L2_CID_HUE@GOTPAGEOFF]
Lloh50:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x22
	mov	w3, #-180
	mov	w4, #180
	mov	w5, #5
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	str	x0, [x20, #88]
Lloh51:
	adrp	x8, _V4L2_CID_GAIN@GOTPAGE
Lloh52:
	ldr	x8, [x8, _V4L2_CID_GAIN@GOTPAGEOFF]
Lloh53:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x22
	mov	w3, #0
	mov	w4, #255
	mov	w5, #1
	mov	w6, #128
	bl	_v4l2_ctrl_new_std
	str	x0, [x20, #80]
Lloh54:
	adrp	x8, _V4L2_CID_AUTOGAIN@GOTPAGE
Lloh55:
	ldr	x8, [x8, _V4L2_CID_AUTOGAIN@GOTPAGEOFF]
Lloh56:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x22
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #1
	bl	_v4l2_ctrl_new_std
	mov	x25, x20
	str	x0, [x25, #64]!
Lloh57:
	adrp	x8, _V4L2_CID_EXPOSURE@GOTPAGE
Lloh58:
	ldr	x8, [x8, _V4L2_CID_EXPOSURE@GOTPAGEOFF]
Lloh59:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x22
	mov	w3, #0
	mov	w4, #65535
	mov	w5, #1
	mov	w6, #500
	bl	_v4l2_ctrl_new_std
	str	x0, [x20, #72]
Lloh60:
	adrp	x8, _V4L2_CID_EXPOSURE_AUTO@GOTPAGE
Lloh61:
	ldr	x8, [x8, _V4L2_CID_EXPOSURE_AUTO@GOTPAGEOFF]
Lloh62:
	ldr	w2, [x8]
Lloh63:
	adrp	x27, _V4L2_EXPOSURE_MANUAL@GOTPAGE
Lloh64:
	ldr	x27, [x27, _V4L2_EXPOSURE_MANUAL@GOTPAGEOFF]
	ldr	w3, [x27]
Lloh65:
	adrp	x8, _V4L2_EXPOSURE_AUTO@GOTPAGE
Lloh66:
	ldr	x8, [x8, _V4L2_EXPOSURE_AUTO@GOTPAGEOFF]
Lloh67:
	ldr	w5, [x8]
	mov	x0, x21
	mov	x1, x22
	mov	w4, #0
	bl	_v4l2_ctrl_new_std_menu
	mov	x26, x20
	str	x0, [x26, #56]!
Lloh68:
	adrp	x8, _V4L2_CID_TEST_PATTERN@GOTPAGE
Lloh69:
	ldr	x8, [x8, _V4L2_CID_TEST_PATTERN@GOTPAGEOFF]
Lloh70:
	ldr	w24, [x8]
Lloh71:
	adrp	x28, _ov7670_test_pattern_menu@GOTPAGE
Lloh72:
	ldr	x28, [x28, _ov7670_test_pattern_menu@GOTPAGEOFF]
	ldr	w0, [x28]
	bl	_ARRAY_SIZE
	sub	x3, x0, #1
	ldr	w6, [x28]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x24
	mov	w4, #0
	mov	w5, #0
	bl	_v4l2_ctrl_new_std_menu_items
	stur	x21, [x26, #-32]
	ldr	w24, [x20, #12]
	cbz	w24, LBB0_24
LBB0_21:
	mov	x0, x21
	bl	_v4l2_ctrl_handler_free
LBB0_22:
	mov	x0, x19
	bl	_ov7670_power_off
LBB0_23:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_24:
	mov	w0, #2
	mov	x1, x25
	mov	w2, #0
	mov	w3, #1
	bl	_v4l2_ctrl_auto_cluster
	ldr	w2, [x27]
	mov	w0, #2
	mov	x1, x26
	mov	w3, #0
	bl	_v4l2_ctrl_auto_cluster
	mov	w0, #2
	mov	x1, x23
	bl	_v4l2_ctrl_cluster
	mov	x0, x21
	bl	_v4l2_ctrl_handler_setup
	mov	x0, x19
	bl	_v4l2_async_register_subdev
	tbnz	w0, #31, LBB0_26
; %bb.25:
	mov	x0, x19
	bl	_ov7670_power_off
	mov	w24, #0
	b	LBB0_23
LBB0_26:
	mov	x24, x0
	add	x0, x20, #20
	bl	_media_entity_cleanup
	b	LBB0_21
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdr	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ov7670_ops,4,2                 ; @ov7670_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xclk"

	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_debug,4,2                      ; @debug
l_.str.1:                               ; @.str.1
	.asciz	"chip found @ 0x%x (%s) is not an ov7670 chip.\n"

l_.str.2:                               ; @.str.2
	.asciz	"chip found @ 0x%02x (%s)\n"

	.comm	_ov7670_devdata,8,3             ; @ov7670_devdata
	.comm	_ov7670_formats,8,3             ; @ov7670_formats
	.comm	_ov7670_ctrl_ops,4,2            ; @ov7670_ctrl_ops
	.comm	_V4L2_CID_BRIGHTNESS,4,2        ; @V4L2_CID_BRIGHTNESS
	.comm	_V4L2_CID_CONTRAST,4,2          ; @V4L2_CID_CONTRAST
	.comm	_V4L2_CID_VFLIP,4,2             ; @V4L2_CID_VFLIP
	.comm	_V4L2_CID_HFLIP,4,2             ; @V4L2_CID_HFLIP
	.comm	_V4L2_CID_SATURATION,4,2        ; @V4L2_CID_SATURATION
	.comm	_V4L2_CID_HUE,4,2               ; @V4L2_CID_HUE
	.comm	_V4L2_CID_GAIN,4,2              ; @V4L2_CID_GAIN
	.comm	_V4L2_CID_AUTOGAIN,4,2          ; @V4L2_CID_AUTOGAIN
	.comm	_V4L2_CID_EXPOSURE,4,2          ; @V4L2_CID_EXPOSURE
	.comm	_V4L2_CID_EXPOSURE_AUTO,4,2     ; @V4L2_CID_EXPOSURE_AUTO
	.comm	_V4L2_EXPOSURE_MANUAL,4,2       ; @V4L2_EXPOSURE_MANUAL
	.comm	_V4L2_EXPOSURE_AUTO,4,2         ; @V4L2_EXPOSURE_AUTO
	.comm	_V4L2_CID_TEST_PATTERN,4,2      ; @V4L2_CID_TEST_PATTERN
	.comm	_ov7670_test_pattern_menu,4,2   ; @ov7670_test_pattern_menu
	.comm	_MEDIA_ENT_F_CAM_SENSOR,4,2     ; @MEDIA_ENT_F_CAM_SENSOR
	.comm	_MEDIA_PAD_FL_SOURCE,4,2        ; @MEDIA_PAD_FL_SOURCE
	.comm	_V4L2_SUBDEV_FL_HAS_DEVNODE,4,2 ; @V4L2_SUBDEV_FL_HAS_DEVNODE
	.comm	_V4L2_SUBDEV_FL_HAS_EVENTS,4,2  ; @V4L2_SUBDEV_FL_HAS_EVENTS
	.comm	_ov7670_subdev_internal_ops,4,2 ; @ov7670_subdev_internal_ops
	.no_dead_strip	_ov7670_probe
.subsections_via_symbols
