	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mi1320_camera_settings
_mi1320_camera_settings:                ## @mi1320_camera_settings
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	88(%rdi), %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movl	92(%rdi), %r15d
	movl	96(%rdi), %eax
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movl	100(%rdi), %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	104(%rdi), %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	108(%rdi), %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	xorl	%ecx, %ecx
	cmpq	$0, 120(%rdi)
	setg	%cl
	movl	(%rdi), %eax
	xorl	%eax, %ecx
	movl	%ecx, -100(%rbp)                ## 4-byte Spill
	setg	-65(%rbp)                       ## 1-byte Folded Spill
	xorl	%ecx, %ecx
	cmpq	$0, 128(%rdi)
	setg	%cl
	xorl	%eax, %ecx
	setg	-66(%rbp)                       ## 1-byte Folded Spill
	movq	136(%rdi), %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	setg	%al
	movl	112(%rdi), %r13d
	movl	116(%rdi), %r12d
	cmpl	%eax, 40(%rdi)
	je	LBB0_2
## %bb.1:
	xorl	%r14d, %r14d
	testq	%rcx, %rcx
	setle	%r14b
	movl	%eax, 40(%rbx)
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47616, %ecx                    ## imm = 0xBA00
	movl	$240, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47618, %ecx                    ## imm = 0xBA02
	movl	$241, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47616, %ecx                    ## imm = 0xBA00
	movl	$91, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	leal	(%r14,%r14), %ecx
	addl	$47617, %ecx                    ## imm = 0xBA01
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$241, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
LBB0_2:
	cmpl	44(%rbx), %r12d
	je	LBB0_10
## %bb.3:
	movl	%r12d, 44(%rbx)
	testl	%r12d, %r12d
	js	LBB0_5
## %bb.4:
	cmpl	8(%rbx), %r12d
	jle	LBB0_6
LBB0_5:
	xorl	%r12d, %r12d
LBB0_6:
	movslq	%r12d, %r14
	leaq	l_switch.table.mi1320_camera_settings(%rip), %rax
	leaq	l_switch.table.mi1320_camera_settings.1(%rip), %rcx
	cmpl	$2, %r12d
	ja	LBB0_8
## %bb.7:
	movl	(%rax,%r14,4), %eax
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movl	(%rcx,%r14,4), %eax
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	leaq	l_switch.table.mi1320_camera_settings.2(%rip), %rax
	movq	(%rax,%r14,8), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	l_switch.table.mi1320_camera_settings.3(%rip), %rax
	movl	(%rax,%r14,4), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$16, %ecx
	movl	$16, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	-92(%rbp), %ecx                 ## 4-byte Reload
	movl	$193, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	-96(%rbp), %ecx                 ## 4-byte Reload
	movl	$194, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	%rax, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$3, %edx
	movl	$47616, %ecx                    ## imm = 0xBA00
	movl	$512, %r8d                      ## imm = 0x200
	movl	-72(%rbp), %r9d                 ## 4-byte Reload
	callq	_ctrl_out
	leaq	l_switch.table.mi1320_camera_settings.1(%rip), %rcx
	leaq	l_switch.table.mi1320_camera_settings(%rip), %rax
LBB0_8:
	cmpl	$2, %r12d
	ja	LBB0_10
## %bb.9:
	movl	(%rax,%r14,4), %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movl	(%rcx,%r14,4), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	leaq	l_switch.table.mi1320_camera_settings.2(%rip), %rax
	movq	(%rax,%r14,8), %r12
	leaq	l_switch.table.mi1320_camera_settings.3(%rip), %rax
	movl	(%rax,%r14,4), %r14d
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$16, %ecx
	movl	$16, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	movl	$193, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	movl	$194, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	(%r12), %rax
	movq	%rax, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$3, %edx
	movl	$47616, %ecx                    ## imm = 0xBA00
	movl	$512, %r8d                      ## imm = 0x200
	movl	%r14d, %r9d
	callq	_ctrl_out
LBB0_10:
	cmpl	48(%rbx), %r15d
	je	LBB0_15
## %bb.11:
	movl	%r15d, 48(%rbx)
	testl	%r15d, %r15d
	js	LBB0_13
## %bb.12:
	cmpl	12(%rbx), %r15d
	jle	LBB0_14
LBB0_13:
	xorl	%r15d, %r15d
LBB0_14:
	movq	_tbl_bright@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r15d, %ecx
	movl	$47616, %edx                    ## imm = 0xBA00
	movl	(%rax,%rcx,4), %r15d
	addl	%edx, %r15d
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47616, %ecx                    ## imm = 0xBA00
	movl	$240, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47617, %ecx                    ## imm = 0xBA01
	movl	$241, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	%r15d, %ecx
	movl	$52, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	%r15d, %ecx
	movl	$241, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
LBB0_15:
	cmpl	52(%rbx), %r13d
	movq	-112(%rbp), %r12                ## 8-byte Reload
	je	LBB0_20
## %bb.16:
	movl	%r13d, 52(%rbx)
	testl	%r13d, %r13d
	js	LBB0_18
## %bb.17:
	cmpl	16(%rbx), %r13d
	jle	LBB0_19
LBB0_18:
	xorl	%r13d, %r13d
LBB0_19:
	movq	_tbl_sat@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r13d, %ecx
	movl	$47616, %edx                    ## imm = 0xBA00
	movl	(%rax,%rcx,4), %r15d
	addl	%edx, %r15d
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47616, %ecx                    ## imm = 0xBA00
	movl	$240, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47617, %ecx                    ## imm = 0xBA01
	movl	$241, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47616, %ecx                    ## imm = 0xBA00
	movl	$37, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	%r15d, %ecx
	movl	$241, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
LBB0_20:
	movl	-104(%rbp), %r15d               ## 4-byte Reload
	cmpl	56(%rbx), %r15d
	movl	$0, %r13d
	je	LBB0_25
## %bb.21:
	movl	%r15d, 56(%rbx)
	testl	%r15d, %r15d
	js	LBB0_23
## %bb.22:
	cmpl	20(%rbx), %r15d
	jle	LBB0_24
LBB0_23:
	xorl	%r15d, %r15d
LBB0_24:
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47616, %ecx                    ## imm = 0xBA00
	movl	$240, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47617, %ecx                    ## imm = 0xBA01
	movl	$241, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47616, %ecx                    ## imm = 0xBA00
	movl	$5, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	addl	$47616, %r15d                   ## imm = 0xBA00
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	%r15d, %ecx
	movl	$241, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
LBB0_25:
	cmpl	60(%rbx), %r12d
	je	LBB0_27
## %bb.26:
	movl	24(%rbx), %eax
	xorl	%ecx, %ecx
	cmpl	%eax, %r12d
	movl	%r12d, %r14d
	cmovgl	%ecx, %r14d
	testl	%r12d, %r12d
	cmovsl	%ecx, %r14d
	xorl	%ecx, %ecx
	cmpl	%eax, %r14d
	sete	%cl
	movl	%ecx, 4(%rbx)
	movq	$0, (%rsp)
	movl	$47616, %r15d                   ## imm = 0xBA00
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47616, %ecx                    ## imm = 0xBA00
	movl	$240, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47617, %ecx                    ## imm = 0xBA01
	movl	$241, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47728, %ecx                    ## imm = 0xBA70
	movl	$226, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	leal	47616(%r14), %ecx
	cmpl	$6, %r14d
	cmovael	%r15d, %ecx
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$241, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movl	%r14d, %r12d
LBB0_27:
	movl	-80(%rbp), %r15d                ## 4-byte Reload
	xorl	%ecx, %ecx
	movl	-76(%rbp), %eax                 ## 4-byte Reload
	cmpl	64(%rbx), %eax
	je	LBB0_32
## %bb.28:
	movl	%eax, 64(%rbx)
	testl	%eax, %eax
	js	LBB0_30
## %bb.29:
	cmpl	28(%rbx), %eax
	jle	LBB0_31
LBB0_30:
	xorl	%eax, %eax
LBB0_31:
	movl	%eax, %ecx
	movq	_tbl_backlight@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ecx, %ecx
	movl	$47744, %r14d                   ## imm = 0xBA80
	addl	(%rax,%rcx,4), %r14d
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47616, %ecx                    ## imm = 0xBA00
	movl	$240, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47617, %ecx                    ## imm = 0xBA01
	movl	$241, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47732, %ecx                    ## imm = 0xBA74
	movl	$6, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	%r14d, %ecx
	movl	$241, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47616, %ecx                    ## imm = 0xBA00
	movl	$240, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47617, %ecx                    ## imm = 0xBA01
	movl	$241, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47732, %ecx                    ## imm = 0xBA74
	movl	$6, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	%r14d, %ecx
	movl	$241, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	xorl	%ecx, %ecx
LBB0_32:
	movb	-65(%rbp), %al                  ## 1-byte Reload
	movb	%al, %r13b
	cmpl	60(%rbx), %r12d
	je	LBB0_34
## %bb.33:
	movl	%r12d, 60(%rbx)
	movq	$0, (%rsp)
	movl	$47616, %r14d                   ## imm = 0xBA00
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47616, %ecx                    ## imm = 0xBA00
	movl	$240, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47617, %ecx                    ## imm = 0xBA01
	movl	$241, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47728, %ecx                    ## imm = 0xBA70
	movl	$226, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	leal	47616(%r12), %ecx
	cmpl	$6, %r12d
	cmovgel	%r14d, %ecx
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$241, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	xorl	%ecx, %ecx
LBB0_34:
	movb	-66(%rbp), %al                  ## 1-byte Reload
	movb	%al, %cl
	cmpl	%r13d, 68(%rbx)
	jne	LBB0_36
## %bb.35:
	cmpl	%ecx, 72(%rbx)
	je	LBB0_37
LBB0_36:
	xorl	%eax, %eax
	cmpl	$0, -100(%rbp)                  ## 4-byte Folded Reload
	setg	%al
	movaps	l___const.mi1320_camera_settings.dat_hvflip2(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movl	%r13d, 68(%rbx)
	movl	%ecx, 72(%rbx)
	leal	(%rcx,%rax,2), %eax
	movl	%eax, -52(%rbp)
	movq	_dat_hvflip1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$3, %edx
	movl	$47616, %ecx                    ## imm = 0xBA00
	movl	$512, %r8d                      ## imm = 0x200
	movl	$4, %r9d
	callq	_ctrl_out
	leaq	-64(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$3, %edx
	movl	$47616, %ecx                    ## imm = 0xBA00
	movl	$512, %r8d                      ## imm = 0x200
	movl	$4, %r9d
	callq	_ctrl_out
LBB0_37:
	movq	-120(%rbp), %r14                ## 8-byte Reload
	cmpl	76(%rbx), %r14d
	je	LBB0_42
## %bb.38:
	movl	%r14d, 76(%rbx)
	testl	%r14d, %r14d
	js	LBB0_40
## %bb.39:
	cmpl	32(%rbx), %r14d
	jle	LBB0_41
LBB0_40:
	xorl	%r14d, %r14d
LBB0_41:
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47616, %ecx                    ## imm = 0xBA00
	movl	$240, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47617, %ecx                    ## imm = 0xBA01
	movl	$241, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47620, %ecx                    ## imm = 0xBA04
	movl	$59, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	leal	(%r14,%r14), %ecx
	addl	$47618, %ecx                    ## imm = 0xBA02
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$241, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
LBB0_42:
	cmpl	80(%rbx), %r15d
	je	LBB0_47
## %bb.43:
	movl	%r15d, 80(%rbx)
	testl	%r15d, %r15d
	js	LBB0_45
## %bb.44:
	cmpl	36(%rbx), %r15d
	jle	LBB0_46
LBB0_45:
	xorl	%r15d, %r15d
LBB0_46:
	movq	$0, (%rsp)
	movl	$47616, %r14d                   ## imm = 0xBA00
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47616, %ecx                    ## imm = 0xBA00
	movl	$240, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$47617, %ecx                    ## imm = 0xBA01
	movl	$241, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	_tbl_cntr1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r15d, %r15d
	movl	(%rax,%r15,4), %ecx
	addl	%r14d, %ecx
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$53, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	_tbl_cntr2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addl	(%rax,%r15,4), %r14d
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	%r14d, %ecx
	movl	$241, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
LBB0_47:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_49
## %bb.48:
	xorl	%eax, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_49:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_dat_wbalNL,8,3                 ## @dat_wbalNL
	.comm	_dat_wbalLL,8,3                 ## @dat_wbalLL
	.comm	_dat_wbalBL,8,3                 ## @dat_wbalBL
	.comm	_tbl_bright,8,3                 ## @tbl_bright
	.comm	_tbl_sat,8,3                    ## @tbl_sat
	.comm	_tbl_backlight,8,3              ## @tbl_backlight
	.section	__TEXT,__const
	.p2align	4                               ## @__const.mi1320_camera_settings.dat_hvflip2
l___const.mi1320_camera_settings.dat_hvflip2:
	.long	32                              ## 0x20
	.long	1                               ## 0x1
	.long	241                             ## 0xf1
	.long	0                               ## 0x0

	.comm	_dat_hvflip1,8,3                ## @dat_hvflip1
	.comm	_tbl_cntr1,8,3                  ## @tbl_cntr1
	.comm	_tbl_cntr2,8,3                  ## @tbl_cntr2
	.no_dead_strip	_mi1320_camera_settings
	.p2align	2                               ## @switch.table.mi1320_camera_settings
l_switch.table.mi1320_camera_settings:
	.long	3                               ## 0x3
	.long	4                               ## 0x4
	.long	3                               ## 0x3

	.p2align	2                               ## @switch.table.mi1320_camera_settings.1
l_switch.table.mi1320_camera_settings.1:
	.long	66                              ## 0x42
	.long	67                              ## 0x43
	.long	66                              ## 0x42

	.section	__DATA,__const
	.p2align	3                               ## @switch.table.mi1320_camera_settings.2
l_switch.table.mi1320_camera_settings.2:
	.quad	_dat_wbalNL
	.quad	_dat_wbalLL
	.quad	_dat_wbalBL

	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.mi1320_camera_settings.3
l_switch.table.mi1320_camera_settings.3:
	.long	48                              ## 0x30
	.long	48                              ## 0x30
	.long	44                              ## 0x2c

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mi1320_camera_settings
_mi1320_camera_settings:                ; @mi1320_camera_settings
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	d11, d10, [sp, #80]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #96]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	ldp	w8, w23, [x0, #88]
	str	w8, [sp, #32]                   ; 4-byte Folded Spill
	ldp	w27, w22, [x0, #96]
	ldp	w26, w25, [x0, #104]
	ldp	w28, w24, [x0, #112]
	ld1r.2s	{ v8 }, [x0]
	ldur	q0, [x0, #120]
	str	q0, [sp, #16]                   ; 16-byte Folded Spill
	ldr	x20, [x0, #136]
	cmp	x20, #0
	cset	w8, gt
	ldr	w9, [x0, #40]
	cmp	w9, w8
	b.eq	LBB0_2
; %bb.1:
	str	w8, [x19, #40]
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47616
	mov	w4, #240
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47618
	mov	w4, #241
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47616
	mov	w4, #91
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	cmp	x20, #0
	mov	w8, #47619
	mov	w9, #47617
	csel	w3, w9, w8, gt
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w4, #241
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
LBB0_2:
	ldr	w8, [x19, #44]
	cmp	w24, w8
	b.eq	LBB0_10
; %bb.3:
	str	w24, [x19, #44]
	tbnz	w24, #31, LBB0_5
; %bb.4:
	ldr	w8, [x19, #8]
	cmp	w24, w8
	b.le	LBB0_6
LBB0_5:
	mov	w24, #0
LBB0_6:
Lloh3:
	adrp	x9, l_switch.table.mi1320_camera_settings@PAGE
Lloh4:
	add	x9, x9, l_switch.table.mi1320_camera_settings@PAGEOFF
Lloh5:
	adrp	x10, l_switch.table.mi1320_camera_settings.1@PAGE
Lloh6:
	add	x10, x10, l_switch.table.mi1320_camera_settings.1@PAGEOFF
Lloh7:
	adrp	x11, l_switch.table.mi1320_camera_settings.2@PAGE
Lloh8:
	add	x11, x11, l_switch.table.mi1320_camera_settings.2@PAGEOFF
Lloh9:
	adrp	x12, l_switch.table.mi1320_camera_settings.3@PAGE
Lloh10:
	add	x12, x12, l_switch.table.mi1320_camera_settings.3@PAGEOFF
	cmp	w24, #2
	b.hi	LBB0_8
; %bb.7:
	sbfiz	x8, x24, #2, #32
	ldr	w20, [x9, x8]
	ldr	w21, [x10, x8]
	str	w26, [sp, #12]                  ; 4-byte Folded Spill
	mov	x26, x22
	ldr	x22, [x11, w24, sxtw #3]
	ldr	w8, [x12, x8]
	str	w8, [sp, #8]                    ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #16
	mov	w4, #16
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	x3, x20
	mov	w4, #193
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	x3, x21
	mov	w4, #194
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	ldr	x6, [x22]
	mov	x22, x26
	ldp	w5, w26, [sp, #8]               ; 8-byte Folded Reload
	mov	x0, x19
	mov	w1, #64
	mov	w2, #3
	mov	w3, #47616
	mov	w4, #512
	bl	_ctrl_out
Lloh11:
	adrp	x12, l_switch.table.mi1320_camera_settings.3@PAGE
Lloh12:
	add	x12, x12, l_switch.table.mi1320_camera_settings.3@PAGEOFF
Lloh13:
	adrp	x11, l_switch.table.mi1320_camera_settings.2@PAGE
Lloh14:
	add	x11, x11, l_switch.table.mi1320_camera_settings.2@PAGEOFF
Lloh15:
	adrp	x10, l_switch.table.mi1320_camera_settings.1@PAGE
Lloh16:
	add	x10, x10, l_switch.table.mi1320_camera_settings.1@PAGEOFF
Lloh17:
	adrp	x9, l_switch.table.mi1320_camera_settings@PAGE
Lloh18:
	add	x9, x9, l_switch.table.mi1320_camera_settings@PAGEOFF
LBB0_8:
	cmp	w24, #2
	b.hi	LBB0_10
; %bb.9:
	mov	x8, x24
	sbfiz	x8, x8, #2, #32
	ldr	w20, [x9, x8]
	ldr	w21, [x10, x8]
	ldr	x24, [x11, w24, sxtw #3]
	str	w22, [sp, #12]                  ; 4-byte Folded Spill
	ldr	w22, [x12, x8]
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #16
	mov	w4, #16
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	x3, x20
	mov	w4, #193
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	x3, x21
	mov	w4, #194
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	ldr	x6, [x24]
	mov	x0, x19
	mov	w1, #64
	mov	w2, #3
	mov	w3, #47616
	mov	w4, #512
	mov	x5, x22
	ldr	w22, [sp, #12]                  ; 4-byte Folded Reload
	bl	_ctrl_out
LBB0_10:
	ldr	q0, [sp, #16]                   ; 16-byte Folded Reload
	cmgt.2d	v0, v0, #0
	ldr	w8, [x19, #48]
	cmp	w23, w8
	b.eq	LBB0_15
; %bb.11:
	str	q0, [sp, #16]                   ; 16-byte Folded Spill
	str	w23, [x19, #48]
	tbnz	w23, #31, LBB0_13
; %bb.12:
	ldr	w8, [x19, #12]
	cmp	w23, w8
	b.le	LBB0_14
LBB0_13:
	mov	w23, #0
LBB0_14:
Lloh19:
	adrp	x8, _tbl_bright@GOTPAGE
Lloh20:
	ldr	x8, [x8, _tbl_bright@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	ldr	w20, [x8, w23, uxtw #2]
	mov	w21, #47616
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47616
	mov	w5, #0
	mov	w4, #240
	mov	x6, #0
	bl	_ctrl_out
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47617
	mov	w4, #241
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	add	w20, w20, w21
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	x3, x20
	mov	w4, #52
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	x3, x20
	mov	w4, #241
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	ldr	q0, [sp, #16]                   ; 16-byte Folded Reload
LBB0_15:
	xtn.2s	v10, v0
	movi.2s	v9, #1
	ldr	w8, [x19, #52]
	cmp	w28, w8
	ldr	w23, [sp, #32]                  ; 4-byte Folded Reload
	b.eq	LBB0_20
; %bb.16:
	str	w28, [x19, #52]
	tbnz	w28, #31, LBB0_18
; %bb.17:
	ldr	w8, [x19, #16]
	cmp	w28, w8
	b.le	LBB0_19
LBB0_18:
	mov	w28, #0
LBB0_19:
Lloh22:
	adrp	x8, _tbl_sat@GOTPAGE
Lloh23:
	ldr	x8, [x8, _tbl_sat@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	ldr	w20, [x8, w28, uxtw #2]
	mov	w21, #47616
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47616
	mov	w5, #0
	mov	w4, #240
	mov	x6, #0
	bl	_ctrl_out
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47617
	mov	w4, #241
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47616
	mov	w4, #37
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	add	w3, w20, w21
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w4, #241
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
LBB0_20:
	and.8b	v10, v10, v9
	ldr	w8, [x19, #56]
	cmp	w27, w8
	b.eq	LBB0_25
; %bb.21:
	str	w27, [x19, #56]
	tbnz	w27, #31, LBB0_23
; %bb.22:
	ldr	w8, [x19, #20]
	cmp	w27, w8
	b.le	LBB0_24
LBB0_23:
	mov	w27, #0
LBB0_24:
	mov	w20, #47616
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47616
	mov	w5, #0
	mov	w4, #240
	mov	x6, #0
	bl	_ctrl_out
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47617
	mov	w4, #241
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47616
	mov	w4, #5
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	add	w3, w27, w20
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w4, #241
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
LBB0_25:
	eor.8b	v8, v8, v10
	ldr	w8, [x19, #60]
	cmp	w25, w8
	b.eq	LBB0_27
; %bb.26:
	ldr	w8, [x19, #24]
	cmp	w25, w8
	ccmp	w25, #0, #8, le
	csel	w25, wzr, w25, lt
	cmp	w25, w8
	cset	w8, eq
	str	w8, [x19, #4]
	mov	w20, #47616
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47616
	mov	w5, #0
	mov	w4, #240
	mov	x6, #0
	bl	_ctrl_out
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47617
	mov	w4, #241
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47728
	mov	w4, #226
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	add	w8, w25, w20
	cmp	w25, #6
	csel	w3, w8, w20, lo
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w4, #241
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
LBB0_27:
	cmgt.2s	v0, v8, #0
	ldr	w8, [x19, #64]
	cmp	w23, w8
	str	q0, [sp, #16]                   ; 16-byte Folded Spill
	b.eq	LBB0_32
; %bb.28:
	str	w23, [x19, #64]
	tbnz	w23, #31, LBB0_30
; %bb.29:
	ldr	w8, [x19, #28]
	cmp	w23, w8
	b.le	LBB0_31
LBB0_30:
	mov	w23, #0
LBB0_31:
Lloh25:
	adrp	x8, _tbl_backlight@GOTPAGE
Lloh26:
	ldr	x8, [x8, _tbl_backlight@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	ldr	w8, [x8, w23, uxtw #2]
	mov	w9, #47744
	add	w20, w8, w9
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47616
	mov	w4, #240
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47617
	mov	w4, #241
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47732
	mov	w4, #6
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	x3, x20
	mov	w4, #241
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47616
	mov	w4, #240
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47617
	mov	w4, #241
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47732
	mov	w4, #6
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	x3, x20
	mov	w4, #241
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	ldr	q0, [sp, #16]                   ; 16-byte Folded Reload
LBB0_32:
	and.8b	v1, v0, v9
	ldr	w8, [x19, #60]
	cmp	w25, w8
	b.eq	LBB0_34
; %bb.33:
	str	w25, [x19, #60]
	mov	w20, #47616
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47616
	mov	w5, #0
	mov	w4, #240
	mov	x6, #0
	str	q1, [sp, #32]                   ; 16-byte Folded Spill
	bl	_ctrl_out
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47617
	mov	w4, #241
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47728
	mov	w4, #226
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	add	w8, w25, w20
	cmp	w25, #6
	csel	w3, w8, w20, lt
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w4, #241
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	ldp	q0, q1, [sp, #16]               ; 32-byte Folded Reload
LBB0_34:
	ldr	w8, [x19, #68]
	fmov	w9, s1
	cmp	w8, w9
	b.ne	LBB0_36
; %bb.35:
	ldr	w8, [x19, #72]
	mov.s	w9, v1[1]
	cmp	w8, w9
	b.eq	LBB0_37
LBB0_36:
Lloh28:
	adrp	x8, l___const.mi1320_camera_settings.dat_hvflip2@PAGE
Lloh29:
	add	x8, x8, l___const.mi1320_camera_settings.dat_hvflip2@PAGEOFF
	ldr	x9, [x8]
	str	x9, [sp, #56]
	fmov	w9, s0
	tst	w9, #0x1
	mov	w9, #2
	csel	w9, w9, wzr, ne
	mov.s	w10, v1[1]
	orr	w9, w9, w10
	ldr	w8, [x8, #8]
	stur	d1, [x19, #68]
	stp	w8, w9, [sp, #64]
Lloh30:
	adrp	x8, _dat_hvflip1@GOTPAGE
Lloh31:
	ldr	x8, [x8, _dat_hvflip1@GOTPAGEOFF]
Lloh32:
	ldr	x6, [x8]
	mov	x0, x19
	mov	w1, #64
	mov	w2, #3
	mov	w3, #47616
	mov	w4, #512
	mov	w5, #4
	bl	_ctrl_out
	add	x6, sp, #56
	mov	x0, x19
	mov	w1, #64
	mov	w2, #3
	mov	w3, #47616
	mov	w4, #512
	mov	w5, #4
	bl	_ctrl_out
LBB0_37:
	ldr	w8, [x19, #76]
	cmp	w26, w8
	b.eq	LBB0_42
; %bb.38:
	str	w26, [x19, #76]
	tbnz	w26, #31, LBB0_40
; %bb.39:
	ldr	w8, [x19, #32]
	cmp	w26, w8
	b.le	LBB0_41
LBB0_40:
	mov	w26, #0
LBB0_41:
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47616
	mov	w4, #240
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47617
	mov	w4, #241
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47620
	mov	w4, #59
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
	mov	w8, #47618
	add	w3, w8, w26, lsl #1
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w4, #241
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
LBB0_42:
	ldr	w8, [x19, #80]
	cmp	w22, w8
	b.eq	LBB0_47
; %bb.43:
	str	w22, [x19, #80]
	tbnz	w22, #31, LBB0_45
; %bb.44:
	ldr	w8, [x19, #36]
	cmp	w22, w8
	b.le	LBB0_46
LBB0_45:
	mov	w22, #0
LBB0_46:
	mov	w20, #47616
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47616
	mov	w5, #0
	mov	w4, #240
	mov	x6, #0
	bl	_ctrl_out
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w3, #47617
	mov	w4, #241
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
Lloh33:
	adrp	x8, _tbl_cntr1@GOTPAGE
Lloh34:
	ldr	x8, [x8, _tbl_cntr1@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	mov	w9, w22
	lsl	x21, x9, #2
	ldr	w8, [x8, x21]
	add	w3, w8, w20
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w4, #53
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
Lloh36:
	adrp	x8, _tbl_cntr2@GOTPAGE
Lloh37:
	ldr	x8, [x8, _tbl_cntr2@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	ldr	w8, [x8, x21]
	add	w3, w8, w20
	mov	x0, x19
	mov	w1, #64
	mov	w2, #1
	mov	w4, #241
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
LBB0_47:
	ldr	x8, [sp, #72]
Lloh39:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh40:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_49
; %bb.48:
	mov	w0, #0
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #96]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_49:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_dat_wbalNL,8,3                 ; @dat_wbalNL
	.comm	_dat_wbalLL,8,3                 ; @dat_wbalLL
	.comm	_dat_wbalBL,8,3                 ; @dat_wbalBL
	.comm	_tbl_bright,8,3                 ; @tbl_bright
	.comm	_tbl_sat,8,3                    ; @tbl_sat
	.comm	_tbl_backlight,8,3              ; @tbl_backlight
	.section	__TEXT,__const
	.p2align	2                               ; @__const.mi1320_camera_settings.dat_hvflip2
l___const.mi1320_camera_settings.dat_hvflip2:
	.long	32                              ; 0x20
	.long	1                               ; 0x1
	.long	241                             ; 0xf1
	.long	0                               ; 0x0

	.comm	_dat_hvflip1,8,3                ; @dat_hvflip1
	.comm	_tbl_cntr1,8,3                  ; @tbl_cntr1
	.comm	_tbl_cntr2,8,3                  ; @tbl_cntr2
	.no_dead_strip	_mi1320_camera_settings
	.p2align	2                               ; @switch.table.mi1320_camera_settings
l_switch.table.mi1320_camera_settings:
	.long	3                               ; 0x3
	.long	4                               ; 0x4
	.long	3                               ; 0x3

	.p2align	2                               ; @switch.table.mi1320_camera_settings.1
l_switch.table.mi1320_camera_settings.1:
	.long	66                              ; 0x42
	.long	67                              ; 0x43
	.long	66                              ; 0x42

	.section	__DATA,__const
	.p2align	3                               ; @switch.table.mi1320_camera_settings.2
l_switch.table.mi1320_camera_settings.2:
	.quad	_dat_wbalNL
	.quad	_dat_wbalLL
	.quad	_dat_wbalBL

	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.mi1320_camera_settings.3
l_switch.table.mi1320_camera_settings.3:
	.long	48                              ; 0x30
	.long	48                              ; 0x30
	.long	44                              ; 0x2c

.subsections_via_symbols
