	.file	"extr_mt9t013.c_mt9t013_video_config.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"sensor configuration done!\n"
	.text
	.p2align 4
	.type	mt9t013_video_config, @function
mt9t013_video_config:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	cmp	esi, 128
	je	.L2
	cmp	esi, 129
	je	.L3
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR RES_PREVIEW[rip]
	mov	edi, DWORD PTR UPDATE_PERIODIC[rip]
	call	mt9t013_setting@PLT
	test	eax, eax
	js	.L1
	lea	rdi, .LC0[rip]
	call	CDBG@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	mov	esi, DWORD PTR RES_CAPTURE[rip]
	mov	edi, DWORD PTR UPDATE_PERIODIC[rip]
	call	mt9t013_setting@PLT
	test	eax, eax
	js	.L1
.L6:
	mov	rax, QWORD PTR mt9t013_ctrl[rip]
	mov	esi, DWORD PTR 12[rax]
	mov	edi, DWORD PTR 16[rax]
	mov	DWORD PTR [rax], ebx
	mov	DWORD PTR 4[rax], ebx
	mov	DWORD PTR 8[rax], ebp
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	mt9t013_write_exp_gain@PLT
	.cfi_endproc
.LFE0:
	.size	mt9t013_video_config, .-mt9t013_video_config
	.comm	mt9t013_ctrl,8,8
	.comm	UPDATE_PERIODIC,4,4
	.comm	RES_PREVIEW,4,4
	.comm	RES_CAPTURE,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_mt9t013.c_mt9t013_video_config.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"sensor configuration done!\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mt9t013_video_config, %function
mt9t013_video_config:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #128
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r5, r0
	beq	.L2
	cmp	r1, #129
	beq	.L3
	ldr	r3, .L11
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r2, .L11+4
	ldr	r3, .L11+8
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	mt9t013_setting
	cmp	r0, #0
	poplt	{r4, r5, r6, pc}
	ldr	r0, .L11+12
	bl	CDBG
	b	.L6
.L3:
	ldr	r2, .L11+16
	ldr	r3, .L11+8
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	mt9t013_setting
	cmp	r0, #0
	poplt	{r4, r5, r6, pc}
.L6:
	ldr	r3, .L11+20
	ldr	r3, [r3]
	stmib	r3, {r4, r5}
	str	r4, [r3]
	ldr	r1, [r3, #12]
	ldr	r0, [r3, #16]
	pop	{r4, r5, r6, lr}
	b	mt9t013_write_exp_gain
.L12:
	.align	2
.L11:
	.word	EINVAL
	.word	RES_PREVIEW
	.word	UPDATE_PERIODIC
	.word	.LC0
	.word	RES_CAPTURE
	.word	mt9t013_ctrl
	.size	mt9t013_video_config, .-mt9t013_video_config
	.comm	mt9t013_ctrl,4,4
	.comm	UPDATE_PERIODIC,4,4
	.comm	RES_PREVIEW,4,4
	.comm	RES_CAPTURE,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
