	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reset_camera_struct
_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
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	_DEFAULT_BRIGHTNESS@GOTPCREL(%rip), %rax
	movq	(%rax), %r11
	movq	%r11, 64(%rdi)
	movq	_DEFAULT_CONTRAST@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	%r9, 48(%rdi)
	movq	_DEFAULT_SATURATION@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rdx, 56(%rdi)
	movq	$0, 104(%rdi)
	movq	_NEVER_FLICKER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 144(%rdi)
	movl	$60, 140(%rdi)
	movq	_CPIA2_VC_VC_JPEG_OPT_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 136(%rdi)
	movabsq	$85899345922, %rax              ## imm = 0x1400000002
	movq	%rax, 124(%rdi)
	movl	$0, 132(%rdi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 88(%rdi)
	movq	_DEFAULT_TARGET_KB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 120(%rdi)
	movq	112(%rdi), %rax
	movq	_DEVICE_STV_672@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	jne	LBB0_4
## %bb.1:
	movq	72(%rdi), %rax
	movq	_CPIA2_VP_SENSOR_FLAGS_500@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	cmpq	%rsi, %rax
	jne	LBB0_3
## %bb.2:
	movq	_CPIA2_VP_FRAMERATE_15@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 80(%rdi)
	jmp	LBB0_6
LBB0_4:
	movq	_CPIA2_VP_FRAMERATE_30@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 80(%rdi)
	movq	72(%rdi), %rax
	movq	_CPIA2_VP_SENSOR_FLAGS_500@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	cmpq	%rsi, %rax
	jne	LBB0_7
LBB0_6:
	movq	_STV_IMAGE_VGA_ROWS@GOTPCREL(%rip), %r8
	movq	_STV_IMAGE_VGA_COLS@GOTPCREL(%rip), %r10
	movq	_VIDEOSIZE_VGA@GOTPCREL(%rip), %rbx
	movq	_CPIA2_SENSOR_500@GOTPCREL(%rip), %rsi
	jmp	LBB0_8
LBB0_3:
	movq	_CPIA2_VP_FRAMERATE_30@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 80(%rdi)
	cmpq	%rsi, %rax
	je	LBB0_6
LBB0_7:
	movq	_STV_IMAGE_CIF_ROWS@GOTPCREL(%rip), %r8
	movq	_STV_IMAGE_CIF_COLS@GOTPCREL(%rip), %r10
	movq	_VIDEOSIZE_CIF@GOTPCREL(%rip), %rbx
	movq	_CPIA2_SENSOR_410@GOTPCREL(%rip), %rsi
LBB0_8:
	movl	(%r8), %ecx
	movl	(%r10), %eax
	movl	(%rbx), %ebx
	movl	(%rsi), %esi
	movl	%esi, 172(%rdi)
	movl	%ebx, 168(%rdi)
	movl	%eax, 44(%rdi)
	movl	%ecx, 40(%rdi)
	movq	_VIDEO_PALETTE_RGB24@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, 152(%rdi)
	shll	$8, %r11d
	movl	%r11d, 156(%rdi)
	shll	$8, %edx
	movl	%edx, 160(%rdi)
	shll	$8, %r9d
	movl	%r9d, 164(%rdi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rdi)
	movl	%eax, 20(%rdi)
	movl	%ecx, 16(%rdi)
	movups	%xmm0, (%rdi)
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEFAULT_BRIGHTNESS,8,3         ## @DEFAULT_BRIGHTNESS
	.comm	_DEFAULT_CONTRAST,8,3           ## @DEFAULT_CONTRAST
	.comm	_DEFAULT_SATURATION,8,3         ## @DEFAULT_SATURATION
	.comm	_NEVER_FLICKER,4,2              ## @NEVER_FLICKER
	.comm	_CPIA2_VC_VC_JPEG_OPT_DEFAULT,4,2 ## @CPIA2_VC_VC_JPEG_OPT_DEFAULT
	.comm	_DEFAULT_TARGET_KB,4,2          ## @DEFAULT_TARGET_KB
	.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
	.comm	_VIDEO_PALETTE_RGB24,8,3        ## @VIDEO_PALETTE_RGB24
	.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,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function reset_camera_struct
lCPI0_0:
	.long	2                               ; 0x2
	.long	20                              ; 0x14
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_reset_camera_struct:                   ; @reset_camera_struct
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _DEFAULT_BRIGHTNESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEFAULT_BRIGHTNESS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x0, #64]
Lloh3:
	adrp	x9, _DEFAULT_CONTRAST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DEFAULT_CONTRAST@GOTPAGEOFF]
Lloh5:
	adrp	x10, _DEFAULT_SATURATION@GOTPAGE
Lloh6:
	ldr	x10, [x10, _DEFAULT_SATURATION@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	ldr	x10, [x10]
	stp	x9, x10, [x0, #48]
Lloh9:
	adrp	x11, _NEVER_FLICKER@GOTPAGE
Lloh10:
	ldr	x11, [x11, _NEVER_FLICKER@GOTPAGEOFF]
	str	xzr, [x0, #104]
Lloh11:
	ldr	w11, [x11]
	mov	w12, #60
Lloh12:
	adrp	x13, _CPIA2_VC_VC_JPEG_OPT_DEFAULT@GOTPAGE
Lloh13:
	ldr	x13, [x13, _CPIA2_VC_VC_JPEG_OPT_DEFAULT@GOTPAGEOFF]
	stp	w12, w11, [x0, #140]
Lloh14:
	ldr	w11, [x13]
Lloh15:
	adrp	x12, lCPI0_0@PAGE
Lloh16:
	ldr	d0, [x12, lCPI0_0@PAGEOFF]
	stur	d0, [x0, #124]
	stp	wzr, w11, [x0, #132]
	stp	xzr, xzr, [x0, #88]
Lloh17:
	adrp	x11, _DEFAULT_TARGET_KB@GOTPAGE
Lloh18:
	ldr	x11, [x11, _DEFAULT_TARGET_KB@GOTPAGEOFF]
Lloh19:
	ldr	w11, [x11]
	str	w11, [x0, #120]
	ldr	x11, [x0, #112]
Lloh20:
	adrp	x12, _DEVICE_STV_672@GOTPAGE
Lloh21:
	ldr	x12, [x12, _DEVICE_STV_672@GOTPAGEOFF]
Lloh22:
	ldr	x12, [x12]
	cmp	x11, x12
	b.ne	LBB0_3
; %bb.1:
	ldr	x11, [x0, #72]
Lloh23:
	adrp	x12, _CPIA2_VP_SENSOR_FLAGS_500@GOTPAGE
Lloh24:
	ldr	x12, [x12, _CPIA2_VP_SENSOR_FLAGS_500@GOTPAGEOFF]
Lloh25:
	ldr	x12, [x12]
	cmp	x11, x12
	b.ne	LBB0_5
; %bb.2:
Lloh26:
	adrp	x11, _CPIA2_VP_FRAMERATE_15@GOTPAGE
Lloh27:
	ldr	x11, [x11, _CPIA2_VP_FRAMERATE_15@GOTPAGEOFF]
Lloh28:
	ldr	x11, [x11]
	str	x11, [x0, #80]
	b	LBB0_4
LBB0_3:
Lloh29:
	adrp	x11, _CPIA2_VP_FRAMERATE_30@GOTPAGE
Lloh30:
	ldr	x11, [x11, _CPIA2_VP_FRAMERATE_30@GOTPAGEOFF]
Lloh31:
	ldr	x11, [x11]
	str	x11, [x0, #80]
	ldr	x11, [x0, #72]
Lloh32:
	adrp	x12, _CPIA2_VP_SENSOR_FLAGS_500@GOTPAGE
Lloh33:
	ldr	x12, [x12, _CPIA2_VP_SENSOR_FLAGS_500@GOTPAGEOFF]
Lloh34:
	ldr	x12, [x12]
	cmp	x11, x12
	b.ne	LBB0_6
LBB0_4:
Lloh35:
	adrp	x11, _STV_IMAGE_VGA_ROWS@GOTPAGE
Lloh36:
	ldr	x11, [x11, _STV_IMAGE_VGA_ROWS@GOTPAGEOFF]
Lloh37:
	adrp	x12, _STV_IMAGE_VGA_COLS@GOTPAGE
Lloh38:
	ldr	x12, [x12, _STV_IMAGE_VGA_COLS@GOTPAGEOFF]
Lloh39:
	adrp	x13, _VIDEOSIZE_VGA@GOTPAGE
Lloh40:
	ldr	x13, [x13, _VIDEOSIZE_VGA@GOTPAGEOFF]
Lloh41:
	adrp	x14, _CPIA2_SENSOR_500@GOTPAGE
Lloh42:
	ldr	x14, [x14, _CPIA2_SENSOR_500@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh43:
	adrp	x13, _CPIA2_VP_FRAMERATE_30@GOTPAGE
Lloh44:
	ldr	x13, [x13, _CPIA2_VP_FRAMERATE_30@GOTPAGEOFF]
Lloh45:
	ldr	x13, [x13]
	str	x13, [x0, #80]
	cmp	x11, x12
	b.eq	LBB0_4
LBB0_6:
Lloh46:
	adrp	x11, _STV_IMAGE_CIF_ROWS@GOTPAGE
Lloh47:
	ldr	x11, [x11, _STV_IMAGE_CIF_ROWS@GOTPAGEOFF]
Lloh48:
	adrp	x12, _STV_IMAGE_CIF_COLS@GOTPAGE
Lloh49:
	ldr	x12, [x12, _STV_IMAGE_CIF_COLS@GOTPAGEOFF]
Lloh50:
	adrp	x13, _VIDEOSIZE_CIF@GOTPAGE
Lloh51:
	ldr	x13, [x13, _VIDEOSIZE_CIF@GOTPAGEOFF]
Lloh52:
	adrp	x14, _CPIA2_SENSOR_410@GOTPAGE
Lloh53:
	ldr	x14, [x14, _CPIA2_SENSOR_410@GOTPAGEOFF]
LBB0_7:
	ldr	w11, [x11]
	ldr	w12, [x12]
	ldr	w13, [x13]
	ldr	w14, [x14]
	stp	w13, w14, [x0, #168]
	stp	w11, w12, [x0, #40]
Lloh54:
	adrp	x13, _VIDEO_PALETTE_RGB24@GOTPAGE
Lloh55:
	ldr	x13, [x13, _VIDEO_PALETTE_RGB24@GOTPAGEOFF]
Lloh56:
	ldr	x13, [x13]
	lsl	w8, w8, #8
	stp	w13, w8, [x0, #152]
	lsl	w8, w10, #8
	lsl	w9, w9, #8
	stp	w8, w9, [x0, #160]
	stp	xzr, xzr, [x0, #24]
	stp	w11, w12, [x0, #16]
	stp	xzr, xzr, [x0]
	ret
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdrp	Lloh15, Lloh20
	.loh AdrpLdr	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.cfi_endproc
                                        ; -- End function
	.comm	_DEFAULT_BRIGHTNESS,8,3         ; @DEFAULT_BRIGHTNESS
	.comm	_DEFAULT_CONTRAST,8,3           ; @DEFAULT_CONTRAST
	.comm	_DEFAULT_SATURATION,8,3         ; @DEFAULT_SATURATION
	.comm	_NEVER_FLICKER,4,2              ; @NEVER_FLICKER
	.comm	_CPIA2_VC_VC_JPEG_OPT_DEFAULT,4,2 ; @CPIA2_VC_VC_JPEG_OPT_DEFAULT
	.comm	_DEFAULT_TARGET_KB,4,2          ; @DEFAULT_TARGET_KB
	.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
	.comm	_VIDEO_PALETTE_RGB24,8,3        ; @VIDEO_PALETTE_RGB24
	.no_dead_strip	_reset_camera_struct
.subsections_via_symbols
