	.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	4                               ## 0x4
	.long	2                               ## 0x2
	.long	1                               ## 0x1
	.long	1                               ## 0x1
LCPI0_1:
	.long	2                               ## 0x2
	.long	32                              ## 0x20
	.long	6                               ## 0x6
	.long	92                              ## 0x5c
LCPI0_2:
	.long	24                              ## 0x18
	.long	22                              ## 0x16
	.long	36                              ## 0x24
	.long	52                              ## 0x34
LCPI0_3:
	.long	20                              ## 0x14
	.long	24                              ## 0x18
	.long	26                              ## 0x1a
	.long	26                              ## 0x1a
LCPI0_4:
	.long	3                               ## 0x3
	.long	11                              ## 0xb
	.long	1                               ## 0x1
	.long	3                               ## 0x3
LCPI0_5:
	.long	2                               ## 0x2
	.long	5                               ## 0x5
	.long	3                               ## 0x3
	.long	2                               ## 0x2
LCPI0_6:
	.quad	1                               ## 0x1
	.quad	1                               ## 0x1
LCPI0_7:
	.long	32768                           ## 0x8000
	.long	32768                           ## 0x8000
	.long	32768                           ## 0x8000
	.long	32768                           ## 0x8000
	.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
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movabsq	$206158430258, %rax             ## imm = 0x3000000032
	movq	%rax, 272(%rdi)
	movl	$50, 280(%rdi)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [4,2,1,1]
	movups	%xmm0, 344(%rdi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 392(%rdi)
	movl	$185, 360(%rdi)
	movq	$0, 384(%rdi)
	movq	_COMP_RED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 376(%rdi)
	movq	_COMP_GREEN1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 372(%rdi)
	movq	_COMP_GREEN2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 368(%rdi)
	movq	_COMP_BLUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 364(%rdi)
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [2,32,6,92]
	movups	%xmm0, 328(%rdi)
	movaps	LCPI0_2(%rip), %xmm0            ## xmm0 = [24,22,36,52]
	movups	%xmm0, 312(%rdi)
	movq	$0, 304(%rdi)
	movl	$1, 288(%rdi)
	movq	_flicker_jumps@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rdi), %rcx
	movq	208(%rdi), %rdx
	movq	(%rax,%rcx,8), %rax
	movq	(%rax,%rdx,8), %rax
	movq	216(%rdi), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, 296(%rdi)
	movl	$50, %edi
	callq	_find_over_exposure
	negl	%eax
	movl	%eax, 292(%rbx)
	movaps	LCPI0_3(%rip), %xmm0            ## xmm0 = [20,24,26,26]
	movups	%xmm0, 256(%rbx)
	movaps	LCPI0_4(%rip), %xmm0            ## xmm0 = [3,11,1,3]
	movups	%xmm0, 224(%rbx)
	movaps	LCPI0_5(%rip), %xmm0            ## xmm0 = [2,5,3,2]
	movups	%xmm0, 240(%rbx)
	movq	$0, 416(%rbx)
	movq	_EXPOSURE_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 408(%rbx)
	movaps	LCPI0_6(%rip), %xmm0            ## xmm0 = [1,1]
	movups	%xmm0, 208(%rbx)
	movabsq	$25769803782, %rax              ## imm = 0x600000006
	movq	%rax, 200(%rbx)
	movq	_SUBSAMPLE_422@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 196(%rbx)
	movq	_YUVORDER_YUYV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 192(%rbx)
	movq	_CPIA_COMPRESSION_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 188(%rbx)
	movq	_CPIA_COMPRESSION_TARGET_QUALITY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 184(%rbx)
	movabsq	$21474836495, %rax              ## imm = 0x50000000F
	movq	%rax, 176(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 152(%rbx)
	movups	%xmm0, 136(%rbx)
	movq	$0, 168(%rbx)
	movq	_VIDEOSIZE_CIF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 128(%rbx)
	movaps	LCPI0_7(%rip), %xmm0            ## xmm0 = [32768,32768,32768,32768]
	movups	%xmm0, 96(%rbx)
	movq	$0, 120(%rbx)
	movl	$24, 112(%rbx)
	movq	_VIDEO_PALETTE_RGB24@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 116(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 80(%rbx)
	movups	%xmm0, 64(%rbx)
	movups	%xmm0, 48(%rbx)
	movq	%rbx, %rdi
	callq	_set_vw_size
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movups	%xmm0, 32(%rbx)
	movq	_COMMAND_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movl	$1, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COMP_RED,4,2                   ## @COMP_RED
	.comm	_COMP_GREEN1,4,2                ## @COMP_GREEN1
	.comm	_COMP_GREEN2,4,2                ## @COMP_GREEN2
	.comm	_COMP_BLUE,4,2                  ## @COMP_BLUE
	.comm	_flicker_jumps,8,3              ## @flicker_jumps
	.comm	_EXPOSURE_NORMAL,4,2            ## @EXPOSURE_NORMAL
	.comm	_SUBSAMPLE_422,4,2              ## @SUBSAMPLE_422
	.comm	_YUVORDER_YUYV,4,2              ## @YUVORDER_YUYV
	.comm	_CPIA_COMPRESSION_AUTO,4,2      ## @CPIA_COMPRESSION_AUTO
	.comm	_CPIA_COMPRESSION_TARGET_QUALITY,4,2 ## @CPIA_COMPRESSION_TARGET_QUALITY
	.comm	_VIDEOSIZE_CIF,4,2              ## @VIDEOSIZE_CIF
	.comm	_VIDEO_PALETTE_RGB24,4,2        ## @VIDEO_PALETTE_RGB24
	.comm	_COMMAND_NONE,4,2               ## @COMMAND_NONE
	.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	50                              ; 0x32
	.long	48                              ; 0x30
lCPI0_7:
	.long	15                              ; 0xf
	.long	5                               ; 0x5
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
lCPI0_1:
	.long	4                               ; 0x4
	.long	2                               ; 0x2
	.long	1                               ; 0x1
	.long	1                               ; 0x1
lCPI0_2:
	.long	2                               ; 0x2
	.long	32                              ; 0x20
	.long	6                               ; 0x6
	.long	92                              ; 0x5c
lCPI0_3:
	.long	24                              ; 0x18
	.long	22                              ; 0x16
	.long	36                              ; 0x24
	.long	52                              ; 0x34
lCPI0_4:
	.long	20                              ; 0x14
	.long	24                              ; 0x18
	.long	26                              ; 0x1a
	.long	26                              ; 0x1a
lCPI0_5:
	.long	3                               ; 0x3
	.long	11                              ; 0xb
	.long	1                               ; 0x1
	.long	3                               ; 0x3
lCPI0_6:
	.long	2                               ; 0x2
	.long	5                               ; 0x5
	.long	3                               ; 0x3
	.long	2                               ; 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_reset_camera_struct:                   ; @reset_camera_struct
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	add	x8, x0, #312
	add	x21, x0, #136
Lloh0:
	adrp	x9, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x0, #272]
	mov	w9, #50
	str	w9, [x21, #144]
Lloh2:
	adrp	x9, lCPI0_1@PAGE
Lloh3:
	ldr	q0, [x9, lCPI0_1@PAGEOFF]
	str	q0, [x8, #32]
	str	xzr, [x0, #400]
	mov	w9, #185
Lloh4:
	adrp	x10, _COMP_RED@GOTPAGE
Lloh5:
	ldr	x10, [x10, _COMP_RED@GOTPAGEOFF]
Lloh6:
	ldr	w10, [x10]
Lloh7:
	adrp	x11, _COMP_GREEN1@GOTPAGE
Lloh8:
	ldr	x11, [x11, _COMP_GREEN1@GOTPAGEOFF]
Lloh9:
	ldr	w11, [x11]
	stp	w11, w10, [x21, #236]
Lloh10:
	adrp	x10, _COMP_GREEN2@GOTPAGE
Lloh11:
	ldr	x10, [x10, _COMP_GREEN2@GOTPAGEOFF]
	stp	xzr, xzr, [x0, #384]
Lloh12:
	ldr	w10, [x10]
	str	w10, [x0, #368]
Lloh13:
	adrp	x10, _COMP_BLUE@GOTPAGE
Lloh14:
	ldr	x10, [x10, _COMP_BLUE@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	stp	w9, w10, [x21, #224]
Lloh16:
	adrp	x9, lCPI0_2@PAGE
Lloh17:
	ldr	q0, [x9, lCPI0_2@PAGEOFF]
Lloh18:
	adrp	x9, lCPI0_3@PAGE
Lloh19:
	ldr	q1, [x9, lCPI0_3@PAGEOFF]
	stp	q1, q0, [x8]
Lloh20:
	adrp	x8, _flicker_jumps@GOTPAGE
Lloh21:
	ldr	x8, [x8, _flicker_jumps@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	ldr	x9, [x0]
	ldr	x8, [x8, x9, lsl #3]
	ldp	x9, x10, [x0, #208]
	ldr	x8, [x8, x9, lsl #3]
	str	xzr, [x0, #304]
	mov	w20, #1
	str	w20, [x0, #288]
	ldr	w8, [x8, x10, lsl #2]
	str	w8, [x21, #160]
	mov	w0, #50
	bl	_find_over_exposure
	neg	w8, w0
	str	w8, [x21, #156]
Lloh23:
	adrp	x8, lCPI0_4@PAGE
Lloh24:
	ldr	q0, [x8, lCPI0_4@PAGEOFF]
Lloh25:
	adrp	x8, lCPI0_5@PAGE
Lloh26:
	ldr	q1, [x8, lCPI0_5@PAGEOFF]
Lloh27:
	adrp	x8, lCPI0_6@PAGE
Lloh28:
	ldr	q2, [x8, lCPI0_6@PAGEOFF]
	stp	q2, q0, [x19, #240]
Lloh29:
	adrp	x8, _EXPOSURE_NORMAL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EXPOSURE_NORMAL@GOTPAGEOFF]
	str	xzr, [x19, #416]
Lloh31:
	ldr	w8, [x8]
	str	w8, [x19, #408]
	dup.2d	v0, x20
	stp	q0, q1, [x19, #208]
	movi.2s	v0, #6
	str	d0, [x19, #200]
Lloh32:
	adrp	x8, _SUBSAMPLE_422@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SUBSAMPLE_422@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	adrp	x9, _YUVORDER_YUYV@GOTPAGE
Lloh36:
	ldr	x9, [x9, _YUVORDER_YUYV@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
Lloh38:
	adrp	x10, _CPIA_COMPRESSION_AUTO@GOTPAGE
Lloh39:
	ldr	x10, [x10, _CPIA_COMPRESSION_AUTO@GOTPAGEOFF]
	stp	w9, w8, [x19, #192]
Lloh40:
	ldr	w8, [x10]
Lloh41:
	adrp	x9, _CPIA_COMPRESSION_TARGET_QUALITY@GOTPAGE
Lloh42:
	ldr	x9, [x9, _CPIA_COMPRESSION_TARGET_QUALITY@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #184]
Lloh44:
	adrp	x8, lCPI0_7@PAGE
Lloh45:
	ldr	d0, [x8, lCPI0_7@PAGEOFF]
	str	d0, [x19, #176]
	str	xzr, [x19, #168]
	movi.2d	v1, #0000000000000000
	stur	q1, [x19, #152]
	stur	q1, [x19, #136]
Lloh46:
	adrp	x8, _VIDEOSIZE_CIF@GOTPAGE
Lloh47:
	ldr	x8, [x8, _VIDEOSIZE_CIF@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	str	w8, [x19, #128]
	movi.4s	v0, #128, lsl #8
	str	xzr, [x19, #120]
	mov	w8, #24
Lloh49:
	adrp	x9, _VIDEO_PALETTE_RGB24@GOTPAGE
Lloh50:
	ldr	x9, [x9, _VIDEO_PALETTE_RGB24@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	stp	w8, w9, [x19, #112]
	stp	q1, q0, [x19, #80]
	stp	q1, q1, [x19, #48]
	mov	x0, x19
	bl	_set_vw_size
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19, #16]
Lloh52:
	adrp	x8, _COMMAND_NONE@GOTPAGE
Lloh53:
	ldr	x8, [x8, _COMMAND_NONE@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	stp	w20, w8, [x19, #8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdrp	Lloh44, Lloh46
	.loh AdrpLdr	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdrp	Lloh27, Lloh29
	.loh AdrpLdr	Lloh27, Lloh28
	.loh AdrpAdrp	Lloh25, Lloh27
	.loh AdrpLdr	Lloh25, Lloh26
	.loh AdrpAdrp	Lloh23, Lloh25
	.loh AdrpLdr	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdr	Lloh18, Lloh19
	.loh AdrpAdrp	Lloh16, Lloh18
	.loh AdrpLdr	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_COMP_RED,4,2                   ; @COMP_RED
	.comm	_COMP_GREEN1,4,2                ; @COMP_GREEN1
	.comm	_COMP_GREEN2,4,2                ; @COMP_GREEN2
	.comm	_COMP_BLUE,4,2                  ; @COMP_BLUE
	.comm	_flicker_jumps,8,3              ; @flicker_jumps
	.comm	_EXPOSURE_NORMAL,4,2            ; @EXPOSURE_NORMAL
	.comm	_SUBSAMPLE_422,4,2              ; @SUBSAMPLE_422
	.comm	_YUVORDER_YUYV,4,2              ; @YUVORDER_YUYV
	.comm	_CPIA_COMPRESSION_AUTO,4,2      ; @CPIA_COMPRESSION_AUTO
	.comm	_CPIA_COMPRESSION_TARGET_QUALITY,4,2 ; @CPIA_COMPRESSION_TARGET_QUALITY
	.comm	_VIDEOSIZE_CIF,4,2              ; @VIDEOSIZE_CIF
	.comm	_VIDEO_PALETTE_RGB24,4,2        ; @VIDEO_PALETTE_RGB24
	.comm	_COMMAND_NONE,4,2               ; @COMMAND_NONE
	.no_dead_strip	_reset_camera_struct
.subsections_via_symbols
