	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function reset_camera_struct
LCPI0_0:
	.long	100                             ## 0x64
	.long	2                               ## 0x2
	.long	20                              ## 0x14
	.long	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_reset_camera_struct:                   ## @reset_camera_struct
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	$0, 40(%rdi)
	movq	_NEVER_FLICKER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 76(%rdi)
	movq	_CPIA2_VC_VC_JPEG_OPT_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rdi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rdi)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [100,2,20,0]
	movups	%xmm0, 56(%rdi)
	movq	48(%rdi), %rax
	movq	_DEVICE_STV_672@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	8(%rdi), %rax
	movq	_CPIA2_VP_SENSOR_FLAGS_500@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_3
## %bb.2:
	movq	_CPIA2_VP_FRAMERATE_15@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rdi)
	jmp	LBB0_6
LBB0_4:
	movq	_CPIA2_VP_FRAMERATE_30@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rdi)
	movq	8(%rdi), %rax
	movq	_CPIA2_VP_SENSOR_FLAGS_500@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_7
LBB0_6:
	movq	_STV_IMAGE_VGA_ROWS@GOTPCREL(%rip), %rax
	movq	_STV_IMAGE_VGA_COLS@GOTPCREL(%rip), %rcx
	movq	_VIDEOSIZE_VGA@GOTPCREL(%rip), %rdx
	movq	_CPIA2_SENSOR_500@GOTPCREL(%rip), %rsi
	jmp	LBB0_8
LBB0_3:
	movq	_CPIA2_VP_FRAMERATE_30@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, 16(%rdi)
	cmpq	%rcx, %rax
	je	LBB0_6
LBB0_7:
	movq	_STV_IMAGE_CIF_ROWS@GOTPCREL(%rip), %rax
	movq	_STV_IMAGE_CIF_COLS@GOTPCREL(%rip), %rcx
	movq	_VIDEOSIZE_CIF@GOTPCREL(%rip), %rdx
	movq	_CPIA2_SENSOR_410@GOTPCREL(%rip), %rsi
LBB0_8:
	movl	(%rax), %eax
	movl	(%rcx), %ecx
	movl	(%rdx), %edx
	movl	(%rsi), %esi
	movl	%esi, 92(%rdi)
	movl	%edx, 88(%rdi)
	movl	%ecx, 4(%rdi)
	movl	%eax, (%rdi)
	movl	%ecx, 84(%rdi)
	movl	%eax, 80(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NEVER_FLICKER,4,2              ## @NEVER_FLICKER
	.comm	_CPIA2_VC_VC_JPEG_OPT_DEFAULT,4,2 ## @CPIA2_VC_VC_JPEG_OPT_DEFAULT
	.comm	_DEVICE_STV_672,8,3             ## @DEVICE_STV_672
	.comm	_CPIA2_VP_SENSOR_FLAGS_500,8,3  ## @CPIA2_VP_SENSOR_FLAGS_500
	.comm	_CPIA2_VP_FRAMERATE_15,8,3      ## @CPIA2_VP_FRAMERATE_15
	.comm	_CPIA2_VP_FRAMERATE_30,8,3      ## @CPIA2_VP_FRAMERATE_30
	.comm	_CPIA2_SENSOR_500,4,2           ## @CPIA2_SENSOR_500
	.comm	_VIDEOSIZE_VGA,4,2              ## @VIDEOSIZE_VGA
	.comm	_STV_IMAGE_VGA_COLS,4,2         ## @STV_IMAGE_VGA_COLS
	.comm	_STV_IMAGE_VGA_ROWS,4,2         ## @STV_IMAGE_VGA_ROWS
	.comm	_CPIA2_SENSOR_410,4,2           ## @CPIA2_SENSOR_410
	.comm	_VIDEOSIZE_CIF,4,2              ## @VIDEOSIZE_CIF
	.comm	_STV_IMAGE_CIF_COLS,4,2         ## @STV_IMAGE_CIF_COLS
	.comm	_STV_IMAGE_CIF_ROWS,4,2         ## @STV_IMAGE_CIF_ROWS
	.no_dead_strip	_reset_camera_struct
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function reset_camera_struct
lCPI0_0:
	.long	100                             ; 0x64
	.long	2                               ; 0x2
	.long	20                              ; 0x14
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_reset_camera_struct:                   ; @reset_camera_struct
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _NEVER_FLICKER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NEVER_FLICKER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _CPIA2_VC_VC_JPEG_OPT_DEFAULT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CPIA2_VC_VC_JPEG_OPT_DEFAULT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #72]
	stp	xzr, xzr, [x0, #32]
	str	xzr, [x0, #24]
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stur	q0, [x0, #56]
	ldr	x8, [x0, #48]
Lloh8:
	adrp	x9, _DEVICE_STV_672@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DEVICE_STV_672@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x0, #8]
Lloh11:
	adrp	x9, _CPIA2_VP_SENSOR_FLAGS_500@GOTPAGE
Lloh12:
	ldr	x9, [x9, _CPIA2_VP_SENSOR_FLAGS_500@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
Lloh14:
	adrp	x8, _CPIA2_VP_FRAMERATE_15@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CPIA2_VP_FRAMERATE_15@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	str	x8, [x0, #16]
	b	LBB0_4
LBB0_3:
Lloh17:
	adrp	x8, _CPIA2_VP_FRAMERATE_30@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CPIA2_VP_FRAMERATE_30@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	str	x8, [x0, #16]
	ldr	x8, [x0, #8]
Lloh20:
	adrp	x9, _CPIA2_VP_SENSOR_FLAGS_500@GOTPAGE
Lloh21:
	ldr	x9, [x9, _CPIA2_VP_SENSOR_FLAGS_500@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
LBB0_4:
Lloh23:
	adrp	x8, _STV_IMAGE_VGA_ROWS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _STV_IMAGE_VGA_ROWS@GOTPAGEOFF]
Lloh25:
	adrp	x9, _STV_IMAGE_VGA_COLS@GOTPAGE
Lloh26:
	ldr	x9, [x9, _STV_IMAGE_VGA_COLS@GOTPAGEOFF]
Lloh27:
	adrp	x10, _VIDEOSIZE_VGA@GOTPAGE
Lloh28:
	ldr	x10, [x10, _VIDEOSIZE_VGA@GOTPAGEOFF]
Lloh29:
	adrp	x11, _CPIA2_SENSOR_500@GOTPAGE
Lloh30:
	ldr	x11, [x11, _CPIA2_SENSOR_500@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh31:
	adrp	x10, _CPIA2_VP_FRAMERATE_30@GOTPAGE
Lloh32:
	ldr	x10, [x10, _CPIA2_VP_FRAMERATE_30@GOTPAGEOFF]
Lloh33:
	ldr	x10, [x10]
	str	x10, [x0, #16]
	cmp	x8, x9
	b.eq	LBB0_4
LBB0_6:
Lloh34:
	adrp	x8, _STV_IMAGE_CIF_ROWS@GOTPAGE
Lloh35:
	ldr	x8, [x8, _STV_IMAGE_CIF_ROWS@GOTPAGEOFF]
Lloh36:
	adrp	x9, _STV_IMAGE_CIF_COLS@GOTPAGE
Lloh37:
	ldr	x9, [x9, _STV_IMAGE_CIF_COLS@GOTPAGEOFF]
Lloh38:
	adrp	x10, _VIDEOSIZE_CIF@GOTPAGE
Lloh39:
	ldr	x10, [x10, _VIDEOSIZE_CIF@GOTPAGEOFF]
Lloh40:
	adrp	x11, _CPIA2_SENSOR_410@GOTPAGE
Lloh41:
	ldr	x11, [x11, _CPIA2_SENSOR_410@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	ldr	w9, [x9]
	ldr	w10, [x10]
	ldr	w11, [x11]
	stp	w10, w11, [x0, #88]
	stp	w8, w9, [x0]
	stp	w8, w9, [x0, #80]
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_NEVER_FLICKER,4,2              ; @NEVER_FLICKER
	.comm	_CPIA2_VC_VC_JPEG_OPT_DEFAULT,4,2 ; @CPIA2_VC_VC_JPEG_OPT_DEFAULT
	.comm	_DEVICE_STV_672,8,3             ; @DEVICE_STV_672
	.comm	_CPIA2_VP_SENSOR_FLAGS_500,8,3  ; @CPIA2_VP_SENSOR_FLAGS_500
	.comm	_CPIA2_VP_FRAMERATE_15,8,3      ; @CPIA2_VP_FRAMERATE_15
	.comm	_CPIA2_VP_FRAMERATE_30,8,3      ; @CPIA2_VP_FRAMERATE_30
	.comm	_CPIA2_SENSOR_500,4,2           ; @CPIA2_SENSOR_500
	.comm	_VIDEOSIZE_VGA,4,2              ; @VIDEOSIZE_VGA
	.comm	_STV_IMAGE_VGA_COLS,4,2         ; @STV_IMAGE_VGA_COLS
	.comm	_STV_IMAGE_VGA_ROWS,4,2         ; @STV_IMAGE_VGA_ROWS
	.comm	_CPIA2_SENSOR_410,4,2           ; @CPIA2_SENSOR_410
	.comm	_VIDEOSIZE_CIF,4,2              ; @VIDEOSIZE_CIF
	.comm	_STV_IMAGE_CIF_COLS,4,2         ; @STV_IMAGE_CIF_COLS
	.comm	_STV_IMAGE_CIF_ROWS,4,2         ; @STV_IMAGE_CIF_ROWS
	.no_dead_strip	_reset_camera_struct
.subsections_via_symbols
