	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ov2680_v4l2_register
_ov2680_v4l2_register:                  ## @ov2680_v4l2_register
	.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	%rdi, %rbx
	movl	32(%rdi), %esi
	movq	_ov2680_subdev_ops@GOTPCREL(%rip), %rdx
	callq	_v4l2_i2c_subdev_init
	movq	_MEDIA_PAD_FL_SOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	28(%rbx), %rdx
	movl	%eax, 28(%rbx)
	movq	_MEDIA_ENT_F_CAM_SENSOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_media_entity_pads_init
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	leaq	96(%rbx), %r14
	movq	%r14, %rdi
	movl	$7, %esi
	callq	_v4l2_ctrl_handler_init
	leaq	24(%rbx), %rax
	movq	%rax, 104(%rbx)
	movq	_V4L2_CID_VFLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	_ov2680_ctrl_ops@GOTPCREL(%rip), %r12
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 88(%rbx)
	movq	_V4L2_CID_HFLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 80(%rbx)
	movq	_V4L2_CID_TEST_PATTERN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_test_pattern_menu@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_ARRAY_SIZE
	leaq	-1(%rax), %rcx
	movl	(%r12), %eax
	movl	%eax, (%rsp)
	movq	%r14, %rdi
	movq	_ov2680_ctrl_ops@GOTPCREL(%rip), %rsi
	movl	%r13d, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_v4l2_ctrl_new_std_menu_items
	movl	%eax, 72(%rbx)
	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	%r14, %rdi
	movq	_ov2680_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%rsi, %r12
	xorl	%r8d, %r8d
	callq	_v4l2_ctrl_new_std_menu
	movq	%rax, 40(%rbx)
	movq	_V4L2_CID_EXPOSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	movl	$32767, %r8d                    ## imm = 0x7FFF
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 56(%rbx)
	movq	_V4L2_CID_AUTOGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, (%rsp)
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 48(%rbx)
	movq	_V4L2_CID_GAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	movl	$2047, %r8d                     ## imm = 0x7FF
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 64(%rbx)
	movl	96(%rbx), %r12d
	testl	%r12d, %r12d
	je	LBB0_3
LBB0_5:
	movq	%rbx, %rdi
	callq	_media_entity_cleanup
	movq	%r14, %rdi
	callq	_v4l2_ctrl_handler_free
	movl	%r12d, %r15d
	jmp	LBB0_6
LBB0_1:
	movl	%eax, %r15d
	jmp	LBB0_6
LBB0_3:
	leaq	40(%rbx), %r12
	leaq	48(%rbx), %rsi
	movq	_V4L2_CTRL_FLAG_VOLATILE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	%edx, (%rax)
	movl	(%rcx), %eax
	movq	56(%rbx), %rcx
	orl	%eax, (%rcx)
	movl	$2, %edi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_v4l2_ctrl_auto_cluster
	movl	$2, %edi
	movq	%r12, %rsi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_v4l2_ctrl_auto_cluster
	movq	%r14, 8(%rbx)
	movq	%rbx, %rdi
	callq	_v4l2_async_register_subdev
	testl	%eax, %eax
	js	LBB0_4
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	%eax, %r12d
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_ov2680_ctrl_ops,4,2            ## @ov2680_ctrl_ops
	.comm	_ov2680_subdev_ops,4,2          ## @ov2680_subdev_ops
	.comm	_MEDIA_PAD_FL_SOURCE,4,2        ## @MEDIA_PAD_FL_SOURCE
	.comm	_MEDIA_ENT_F_CAM_SENSOR,4,2     ## @MEDIA_ENT_F_CAM_SENSOR
	.comm	_V4L2_CID_VFLIP,4,2             ## @V4L2_CID_VFLIP
	.comm	_V4L2_CID_HFLIP,4,2             ## @V4L2_CID_HFLIP
	.comm	_V4L2_CID_TEST_PATTERN,4,2      ## @V4L2_CID_TEST_PATTERN
	.comm	_test_pattern_menu,4,2          ## @test_pattern_menu
	.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_EXPOSURE,4,2          ## @V4L2_CID_EXPOSURE
	.comm	_V4L2_CID_AUTOGAIN,4,2          ## @V4L2_CID_AUTOGAIN
	.comm	_V4L2_CID_GAIN,4,2              ## @V4L2_CID_GAIN
	.comm	_V4L2_CTRL_FLAG_VOLATILE,4,2    ## @V4L2_CTRL_FLAG_VOLATILE
	.comm	_V4L2_SUBDEV_FL_HAS_DEVNODE,4,2 ## @V4L2_SUBDEV_FL_HAS_DEVNODE
	.no_dead_strip	_ov2680_v4l2_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ov2680_v4l2_register
_ov2680_v4l2_register:                  ; @ov2680_v4l2_register
	.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	x19, x0
	ldr	w1, [x0, #32]
Lloh0:
	adrp	x2, _ov2680_subdev_ops@GOTPAGE
Lloh1:
	ldr	x2, [x2, _ov2680_subdev_ops@GOTPAGEOFF]
	bl	_v4l2_i2c_subdev_init
Lloh2:
	adrp	x8, _MEDIA_PAD_FL_SOURCE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MEDIA_PAD_FL_SOURCE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	mov	x2, x19
	str	w8, [x2, #28]!
Lloh5:
	adrp	x8, _MEDIA_ENT_F_CAM_SENSOR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MEDIA_ENT_F_CAM_SENSOR@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	x0, x19
	mov	w1, #1
	bl	_media_entity_pads_init
	tbnz	w0, #31, LBB0_3
; %bb.1:
	add	x20, x19, #96
	mov	x0, x20
	mov	w1, #7
	bl	_v4l2_ctrl_handler_init
	add	x8, x19, #24
	str	x8, [x19, #104]
Lloh8:
	adrp	x8, _V4L2_CID_VFLIP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _V4L2_CID_VFLIP@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x21, _ov2680_ctrl_ops@GOTPAGE
Lloh12:
	ldr	x21, [x21, _ov2680_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #88]
Lloh13:
	adrp	x8, _V4L2_CID_HFLIP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _V4L2_CID_HFLIP@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #80]
Lloh16:
	adrp	x8, _V4L2_CID_TEST_PATTERN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _V4L2_CID_TEST_PATTERN@GOTPAGEOFF]
Lloh18:
	ldr	w22, [x8]
Lloh19:
	adrp	x23, _test_pattern_menu@GOTPAGE
Lloh20:
	ldr	x23, [x23, _test_pattern_menu@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_ARRAY_SIZE
	sub	x3, x0, #1
	ldr	w6, [x23]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	w4, #0
	mov	w5, #0
	bl	_v4l2_ctrl_new_std_menu_items
	str	w0, [x19, #72]
Lloh21:
	adrp	x8, _V4L2_CID_EXPOSURE_AUTO@GOTPAGE
Lloh22:
	ldr	x8, [x8, _V4L2_CID_EXPOSURE_AUTO@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
Lloh24:
	adrp	x8, _V4L2_EXPOSURE_MANUAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _V4L2_EXPOSURE_MANUAL@GOTPAGEOFF]
Lloh26:
	ldr	w3, [x8]
Lloh27:
	adrp	x8, _V4L2_EXPOSURE_AUTO@GOTPAGE
Lloh28:
	ldr	x8, [x8, _V4L2_EXPOSURE_AUTO@GOTPAGEOFF]
Lloh29:
	ldr	w5, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w4, #0
	bl	_v4l2_ctrl_new_std_menu
	mov	x22, x19
	str	x0, [x22, #40]!
Lloh30:
	adrp	x8, _V4L2_CID_EXPOSURE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _V4L2_CID_EXPOSURE@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #32767
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #56]
Lloh33:
	adrp	x8, _V4L2_CID_AUTOGAIN@GOTPAGE
Lloh34:
	ldr	x8, [x8, _V4L2_CID_AUTOGAIN@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #1
	bl	_v4l2_ctrl_new_std
	mov	x23, x19
	str	x0, [x23, #48]!
Lloh36:
	adrp	x8, _V4L2_CID_GAIN@GOTPAGE
Lloh37:
	ldr	x8, [x8, _V4L2_CID_GAIN@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #2047
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	str	x0, [x23, #16]
	ldr	w21, [x23, #48]
	cbz	w21, LBB0_4
LBB0_2:
	mov	x0, x19
	bl	_media_entity_cleanup
	mov	x0, x20
	bl	_v4l2_ctrl_handler_free
	b	LBB0_5
LBB0_3:
	mov	x21, x0
	b	LBB0_5
LBB0_4:
Lloh39:
	adrp	x8, _V4L2_CTRL_FLAG_VOLATILE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _V4L2_CTRL_FLAG_VOLATILE@GOTPAGEOFF]
	ldr	w9, [x8]
	ldr	w10, [x0]
	orr	w9, w10, w9
	str	w9, [x0]
	ldr	w8, [x8]
	ldr	x9, [x19, #56]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	mov	w0, #2
	mov	x1, x23
	mov	w2, #0
	mov	w3, #1
	bl	_v4l2_ctrl_auto_cluster
	mov	w0, #2
	mov	x1, x22
	mov	w2, #1
	mov	w3, #1
	bl	_v4l2_ctrl_auto_cluster
	str	x20, [x19, #8]
	mov	x0, x19
	bl	_v4l2_async_register_subdev
	tbnz	w0, #31, LBB0_6
LBB0_5:
	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
LBB0_6:
	mov	x21, x0
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_ov2680_ctrl_ops,4,2            ; @ov2680_ctrl_ops
	.comm	_ov2680_subdev_ops,4,2          ; @ov2680_subdev_ops
	.comm	_MEDIA_PAD_FL_SOURCE,4,2        ; @MEDIA_PAD_FL_SOURCE
	.comm	_MEDIA_ENT_F_CAM_SENSOR,4,2     ; @MEDIA_ENT_F_CAM_SENSOR
	.comm	_V4L2_CID_VFLIP,4,2             ; @V4L2_CID_VFLIP
	.comm	_V4L2_CID_HFLIP,4,2             ; @V4L2_CID_HFLIP
	.comm	_V4L2_CID_TEST_PATTERN,4,2      ; @V4L2_CID_TEST_PATTERN
	.comm	_test_pattern_menu,4,2          ; @test_pattern_menu
	.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_EXPOSURE,4,2          ; @V4L2_CID_EXPOSURE
	.comm	_V4L2_CID_AUTOGAIN,4,2          ; @V4L2_CID_AUTOGAIN
	.comm	_V4L2_CID_GAIN,4,2              ; @V4L2_CID_GAIN
	.comm	_V4L2_CTRL_FLAG_VOLATILE,4,2    ; @V4L2_CTRL_FLAG_VOLATILE
	.comm	_V4L2_SUBDEV_FL_HAS_DEVNODE,4,2 ; @V4L2_SUBDEV_FL_HAS_DEVNODE
	.no_dead_strip	_ov2680_v4l2_register
.subsections_via_symbols
