	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mi1320_sensor_settings
_mi1320_sensor_settings:                ## @mi1320_sensor_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx,%rax,8), %r12
	movq	$0, (%rsp)
	movl	$64, %r14d
	movl	$64, %esi
	movl	$5, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_ctrl_out
	movq	_tbl_sensor_settings_common@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_fetch_validx
	cmpq	$129, %r12
	je	LBB0_1
## %bb.2:
	cmpq	$128, %r12
	jne	LBB0_4
## %bb.3:
	movq	_tbl_800@GOTPCREL(%rip), %r12
	movq	_tbl_sensor_settings_800@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_tbl_1280@GOTPCREL(%rip), %r12
	movq	_tbl_sensor_settings_1280@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movl	$60, %r14d
	movq	_tbl_640@GOTPCREL(%rip), %r12
	movq	_tbl_sensor_settings_640@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_fetch_validx
	movq	(%r12), %rax
	movq	(%rax), %rax
	movq	%rax, (%rsp)
	movq	%r15, %rdi
	movl	$64, %esi
	movl	$3, %edx
	movl	$47616, %ecx                    ## imm = 0xBA00
	movl	$512, %r8d                      ## imm = 0x200
	movl	%r14d, %r9d
	callq	_ctrl_out
	movq	(%r12), %rax
	movq	8(%rax), %rax
	movq	%rax, (%rsp)
	movq	%r15, %rdi
	movl	$64, %esi
	movl	$3, %edx
	movl	$47616, %ecx                    ## imm = 0xBA00
	movl	$512, %r8d                      ## imm = 0x200
	movl	$40, %r9d
	callq	_ctrl_out
	movq	(%r12), %rax
	movq	16(%rax), %rax
	movq	%rax, (%rsp)
	movq	%r15, %rdi
	movl	$64, %esi
	movl	$3, %edx
	xorl	%ecx, %ecx
	movl	$512, %r8d                      ## imm = 0x200
	movl	$12, %r9d
	callq	_ctrl_out
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tbl_sensor_settings_common,4,2 ## @tbl_sensor_settings_common
	.comm	_tbl_sensor_settings_1280,4,2   ## @tbl_sensor_settings_1280
	.comm	_tbl_1280,8,3                   ## @tbl_1280
	.comm	_tbl_sensor_settings_800,4,2    ## @tbl_sensor_settings_800
	.comm	_tbl_800,8,3                    ## @tbl_800
	.comm	_tbl_sensor_settings_640,4,2    ## @tbl_sensor_settings_640
	.comm	_tbl_640,8,3                    ## @tbl_640
	.no_dead_strip	_mi1320_sensor_settings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mi1320_sensor_settings
_mi1320_sensor_settings:                ; @mi1320_sensor_settings
	.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
	ldp	x9, x8, [x0]
	ldr	x21, [x8, x9, lsl #3]
	mov	w22, #64
	mov	w1, #64
	mov	w2, #5
	mov	w3, #1
	mov	w4, #0
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
Lloh0:
	adrp	x8, _tbl_sensor_settings_common@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tbl_sensor_settings_common@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_fetch_validx
Lloh3:
	adrp	x8, _tbl_1280@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tbl_1280@GOTPAGEOFF]
Lloh5:
	adrp	x9, _tbl_sensor_settings_1280@GOTPAGE
Lloh6:
	ldr	x9, [x9, _tbl_sensor_settings_1280@GOTPAGEOFF]
	mov	w10, #60
Lloh7:
	adrp	x11, _tbl_640@GOTPAGE
Lloh8:
	ldr	x11, [x11, _tbl_640@GOTPAGEOFF]
Lloh9:
	adrp	x12, _tbl_sensor_settings_640@GOTPAGE
Lloh10:
	ldr	x12, [x12, _tbl_sensor_settings_640@GOTPAGEOFF]
Lloh11:
	adrp	x13, _tbl_800@GOTPAGE
Lloh12:
	ldr	x13, [x13, _tbl_800@GOTPAGEOFF]
	mov	w14, #64
Lloh13:
	adrp	x15, _tbl_sensor_settings_800@GOTPAGE
Lloh14:
	ldr	x15, [x15, _tbl_sensor_settings_800@GOTPAGEOFF]
	cmp	x21, #128
	csel	x12, x12, x15, ne
	csel	x11, x11, x13, ne
	csel	w10, w10, w14, ne
	cmp	x21, #129
	csel	x9, x9, x12, eq
	csel	x23, x8, x11, eq
	csel	w20, w22, w10, eq
	ldr	w21, [x9]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_fetch_validx
	ldr	x8, [x23]
	ldr	x6, [x8]
	mov	x0, x19
	mov	w1, #64
	mov	w2, #3
	mov	w3, #47616
	mov	w4, #512
	mov	x5, x20
	bl	_ctrl_out
	ldr	x8, [x23]
	ldr	x6, [x8, #8]
	mov	x0, x19
	mov	w1, #64
	mov	w2, #3
	mov	w3, #47616
	mov	w4, #512
	mov	w5, #40
	bl	_ctrl_out
	ldr	x8, [x23]
	ldr	x6, [x8, #16]
	mov	x0, x19
	mov	w1, #64
	mov	w2, #3
	mov	w3, #0
	mov	w4, #512
	mov	w5, #12
	bl	_ctrl_out
	mov	w0, #0
	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
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_tbl_sensor_settings_common,4,2 ; @tbl_sensor_settings_common
	.comm	_tbl_sensor_settings_1280,4,2   ; @tbl_sensor_settings_1280
	.comm	_tbl_1280,8,3                   ; @tbl_1280
	.comm	_tbl_sensor_settings_800,4,2    ; @tbl_sensor_settings_800
	.comm	_tbl_800,8,3                    ; @tbl_800
	.comm	_tbl_sensor_settings_640,4,2    ; @tbl_sensor_settings_640
	.comm	_tbl_640,8,3                    ; @tbl_640
	.no_dead_strip	_mi1320_sensor_settings
.subsections_via_symbols
