	.file	"extr_jeilinj.c_jlj_start.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Start streaming command failed\n"
	.text
	.p2align 4
	.type	jlj_start, @function
jlj_start:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	ecx, 92
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 768
	.cfi_def_cfa_offset 816
	movsx	rdx, DWORD PTR JEILINJ_CMD_DELAY[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 760[rsp], rax
	xor	eax, eax
	lea	r8, 16[rsp]
	mov	DWORD PTR 12[rsp], 255
	mov	rdi, r8
	rep stosq
	mov	DWORD PTR 16[rsp], 113
	movabs	rax, 4294967445
	mov	QWORD PTR 80[rsp], rax
	mov	QWORD PTR 176[rsp], rax
	mov	QWORD PTR 272[rsp], rax
	mov	DWORD PTR 48[rsp], 112
	mov	QWORD PTR 56[rsp], rdx
	mov	DWORD PTR 112[rsp], 113
	mov	DWORD PTR 144[rsp], 112
	mov	QWORD PTR 152[rsp], rdx
	mov	DWORD PTR 208[rsp], 113
	mov	DWORD PTR 240[rsp], 112
	mov	QWORD PTR 248[rsp], rdx
	mov	DWORD PTR 304[rsp], 148
	mov	DWORD PTR 336[rsp], 222
	mov	DWORD PTR 368[rsp], 148
	mov	DWORD PTR 400[rsp], 221
	mov	DWORD PTR 432[rsp], 148
	mov	DWORD PTR 464[rsp], 227
	mov	DWORD PTR 496[rsp], 148
	mov	DWORD PTR 528[rsp], 228
	mov	DWORD PTR 560[rsp], 148
	mov	DWORD PTR 592[rsp], 229
	mov	rax, QWORD PTR SPORTSCAM_DV15[rip]
	mov	DWORD PTR 624[rsp], 148
	mov	DWORD PTR 656[rsp], 230
	mov	DWORD PTR 688[rsp], 148
	mov	DWORD PTR 720[rsp], 170
	mov	QWORD PTR 16[r12], 0
	cmp	QWORD PTR [r12], rax
	jne	.L15
	xor	esi, esi
	mov	r13d, 9
.L2:
	lea	rbx, 20[rsp]
	xor	ebp, ebp
	lea	r14, 12[rsp]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	cmp	QWORD PTR 4[rbx], 0
	jne	.L16
.L5:
	add	ebp, 1
	add	rbx, 32
	cmp	ebp, r13d
	jge	.L3
.L17:
	mov	esi, DWORD PTR 12[rbx]
.L6:
	mov	rdi, r12
	call	jlj_write2@PLT
	mov	edi, DWORD PTR [rbx]
	test	edi, edi
	je	.L4
	call	msleep@PLT
	cmp	QWORD PTR 4[rbx], 0
	je	.L5
.L16:
	mov	rsi, r14
	mov	rdi, r12
	add	ebp, 1
	add	rbx, 32
	call	jlj_read1@PLT
	cmp	ebp, r13d
	jl	.L17
.L3:
	mov	edi, DWORD PTR 12[r12]
	call	v4l2_ctrl_g_ctrl@PLT
	mov	rdi, r12
	mov	esi, eax
	call	setcamquality@PLT
	mov	edi, 2
	call	msleep@PLT
	mov	edi, DWORD PTR 8[r12]
	call	v4l2_ctrl_g_ctrl@PLT
	mov	rdi, r12
	mov	esi, eax
	call	setfreq@PLT
	mov	rax, QWORD PTR [r12]
	test	rax, rax
	js	.L18
.L7:
	mov	rcx, QWORD PTR 760[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L19
	add	rsp, 768
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	rdi, r8
	call	ARRAY_SIZE@PLT
	mov	r13d, eax
	test	eax, eax
	jle	.L3
	mov	esi, DWORD PTR 32[rsp]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L18:
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	gspca_err@PLT
	mov	rax, QWORD PTR [r12]
	jmp	.L7
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	jlj_start, .-jlj_start
	.comm	SPORTSCAM_DV15_CMD_SIZE,4,4
	.comm	SPORTSCAM_DV15,8,8
	.comm	JEILINJ_CMD_DELAY,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_jeilinj.c_jlj_start.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Start streaming command failed\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	jlj_start, %function
jlj_start:
	@ args = 0, pretend = 0, frame = 656
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #255
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	ip, .L24
	sub	sp, sp, #660
	mov	r4, r0
	mov	r2, #644
	mov	r1, #0
	add	r0, sp, #8
	ldr	ip, [ip]
	str	ip, [sp, #652]
	mov	ip,#0
	str	r3, [sp, #4]
	bl	memset
	mov	r2, #1
	mov	r3, #148
	mov	lr, #113
	mov	ip, #112
	mov	r0, #149
	mov	r7, #229
	str	r2, [sp, #68]
	str	r2, [sp, #152]
	str	r2, [sp, #236]
	mov	r1, #0
	mov	r2, #170
	mov	fp, #222
	mov	r10, #221
	mov	r9, #227
	mov	r8, #228
	mov	r6, #230
	ldr	r5, .L24+4
	str	r3, [sp, #260]
	ldr	r5, [r5]
	str	r3, [sp, #316]
	str	r3, [sp, #372]
	str	r3, [sp, #428]
	str	r3, [sp, #484]
	str	r3, [sp, #540]
	str	r3, [sp, #596]
	ldr	r3, .L24+8
	str	r7, [sp, #512]
	ldr	r3, [r3]
	str	r1, [r4, #12]
	str	r5, [sp, #44]
	str	r5, [sp, #128]
	str	r5, [sp, #212]
	str	lr, [sp, #8]
	str	lr, [sp, #92]
	str	lr, [sp, #176]
	str	ip, [sp, #36]
	str	ip, [sp, #120]
	str	ip, [sp, #204]
	str	r0, [sp, #64]
	str	r0, [sp, #148]
	str	r0, [sp, #232]
	str	fp, [sp, #288]
	str	r10, [sp, #344]
	str	r9, [sp, #400]
	str	r8, [sp, #456]
	str	r6, [sp, #568]
	str	r2, [sp, #624]
	ldr	r2, [r4]
	cmp	r2, r3
	moveq	r7, #9
	bne	.L19
.L2:
	mov	r6, #0
	add	r5, sp, #8
	b	.L6
.L4:
	ldr	r3, [r5, #8]
	cmp	r3, #0
	bne	.L20
.L5:
	add	r6, r6, #1
	cmp	r6, r7
	add	r5, r5, #28
	bge	.L3
.L21:
	ldr	r1, [r5, #12]
.L6:
	mov	r0, r4
	bl	jlj_write2
	ldr	r0, [r5, #4]
	cmp	r0, #0
	beq	.L4
	bl	msleep
	ldr	r3, [r5, #8]
	cmp	r3, #0
	beq	.L5
.L20:
	mov	r0, r4
	add	r1, sp, #4
	add	r6, r6, #1
	bl	jlj_read1
	cmp	r6, r7
	add	r5, r5, #28
	blt	.L21
.L3:
	ldr	r0, [r4, #8]
	bl	v4l2_ctrl_g_ctrl
	mov	r1, r0
	mov	r0, r4
	bl	setcamquality
	mov	r0, #2
	bl	msleep
	ldr	r0, [r4, #4]
	bl	v4l2_ctrl_g_ctrl
	mov	r1, r0
	mov	r0, r4
	bl	setfreq
	ldr	r0, [r4]
	cmp	r0, #0
	blt	.L22
.L1:
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [sp, #652]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L23
	add	sp, sp, #660
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	add	r0, sp, #8
	bl	ARRAY_SIZE
	subs	r7, r0, #0
	ble	.L3
	ldr	r1, [sp, #20]
	b	.L2
.L22:
	mov	r0, r4
	ldr	r1, .L24+12
	bl	gspca_err
	ldr	r0, [r4]
	b	.L1
.L23:
	bl	__stack_chk_fail
.L25:
	.align	2
.L24:
	.word	.LC1
	.word	JEILINJ_CMD_DELAY
	.word	SPORTSCAM_DV15
	.word	.LC0
	.size	jlj_start, .-jlj_start
	.comm	SPORTSCAM_DV15_CMD_SIZE,4,4
	.comm	SPORTSCAM_DV15,4,4
	.comm	JEILINJ_CMD_DELAY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
