	.file	"extr_imx319.c_imx319_start_streaming.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"failed to set global settings"
.LC1:
	.string	"failed to set mode"
	.text
	.p2align 4
	.type	imx319_start_streaming, @function
imx319_start_streaming:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	call	v4l2_get_subdevdata@PLT
	mov	edx, DWORD PTR imx319_global_setting[rip]
	mov	esi, DWORD PTR imx319_global_setting[rip+4]
	mov	rdi, rbp
	mov	r13, rax
	call	imx319_write_regs@PLT
	test	eax, eax
	jne	.L7
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, rbp
	mov	esi, DWORD PTR 4[rax]
	mov	edx, DWORD PTR [rax]
	call	imx319_write_regs@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L8
	mov	esi, DWORD PTR IMX319_REG_DPGA_USE_GLOBAL_GAIN[rip]
	mov	ecx, 1
	mov	edx, 1
	mov	rdi, rbp
	call	imx319_write_reg@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	edi, DWORD PTR 0[rbp]
	call	__v4l2_ctrl_handler_setup@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	ecx, DWORD PTR IMX319_MODE_STREAMING[rip]
	mov	esi, DWORD PTR IMX319_REG_MODE_SELECT[rip]
	mov	rdi, rbp
	mov	edx, 1
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	imx319_write_reg@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	lea	rsi, .LC1[rip]
	mov	rdi, r13
	call	dev_err@PLT
.L1:
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	r12d, eax
	mov	rdi, r13
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	imx319_start_streaming, .-imx319_start_streaming
	.comm	imx319_global_setting,8,8
	.comm	IMX319_REG_MODE_SELECT,4,4
	.comm	IMX319_REG_DPGA_USE_GLOBAL_GAIN,4,4
	.comm	IMX319_MODE_STREAMING,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_imx319.c_imx319_start_streaming.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"failed to set global settings\000"
	.align	2
.LC1:
	.ascii	"failed to set mode\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	imx319_start_streaming, %function
imx319_start_streaming:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	v4l2_get_subdevdata
	ldr	r1, .L9
	mov	r6, r0
	ldr	r2, [r1]
	mov	r0, r5
	ldr	r1, [r1, #4]
	bl	imx319_write_regs
	subs	r4, r0, #0
	bne	.L7
	ldr	r3, [r5, #4]
	mov	r0, r5
	ldr	r2, [r3]
	ldr	r1, [r3, #4]
	bl	imx319_write_regs
	subs	r4, r0, #0
	bne	.L8
	mov	r3, #1
	ldr	r1, .L9+4
	mov	r2, r3
	mov	r0, r5
	ldr	r1, [r1]
	bl	imx319_write_reg
	subs	r4, r0, #0
	bne	.L1
	ldr	r0, [r5]
	bl	__v4l2_ctrl_handler_setup
	subs	r4, r0, #0
	bne	.L1
	ldr	r2, .L9+8
	ldr	r3, .L9+12
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	ldr	r1, [r2]
	ldr	r3, [r3]
	mov	r2, #1
	b	imx319_write_reg
.L8:
	mov	r0, r6
	ldr	r1, .L9+16
	bl	dev_err
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L7:
	mov	r0, r6
	ldr	r1, .L9+20
	bl	dev_err
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	imx319_global_setting
	.word	IMX319_REG_DPGA_USE_GLOBAL_GAIN
	.word	IMX319_REG_MODE_SELECT
	.word	IMX319_MODE_STREAMING
	.word	.LC1
	.word	.LC0
	.size	imx319_start_streaming, .-imx319_start_streaming
	.comm	imx319_global_setting,8,4
	.comm	IMX319_REG_MODE_SELECT,4,4
	.comm	IMX319_REG_DPGA_USE_GLOBAL_GAIN,4,4
	.comm	IMX319_MODE_STREAMING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
