	.file	"extr_kinect.c_sd_start_video.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sd_start_video, @function
sd_start_video:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	esi, 261
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rdx, QWORD PTR [rdi]
	mov	rax, QWORD PTR 8[rdi]
	mov	ebx, DWORD PTR [rax+rdx*4]
	mov	eax, DWORD PTR FORMAT_Y10B[rip]
	and	eax, ebx
	mov	r10d, ebx
	cmp	eax, 1
	sbb	r12d, r12d
	and	r12d, -2
	add	r12d, 3
	cmp	eax, 1
	sbb	r13d, r13d
	and	r13d, -13
	add	r13d, 27
	cmp	eax, 1
	sbb	r15d, r15d
	and	r15d, -13
	add	r15d, 26
	cmp	eax, 1
	mov	eax, 5
	sbb	r9d, r9d
	and	r9d, -13
	add	r9d, 25
	and	r10d, DWORD PTR FORMAT_UYVY[rip]
	cmovne	r10d, eax
	xor	eax, eax
	test	DWORD PTR MODE_1280x1024[rip], ebx
	mov	DWORD PTR 12[rsp], r9d
	setne	al
	add	eax, 1
	mov	DWORD PTR 8[rsp], r10d
	mov	DWORD PTR 4[rsp], eax
	mov	eax, DWORD PTR FPS_HIGH[rip]
	and	eax, ebx
	cmp	eax, 1
	sbb	r14d, r14d
	xor	edx, edx
	call	write_register@PLT
	xor	edx, edx
	mov	esi, 5
	mov	rdi, rbp
	call	write_register@PLT
	and	r14d, -15
	mov	eax, DWORD PTR FORMAT_Y10B[rip]
	or	eax, DWORD PTR MODE_1280x1024[rip]
	add	r14d, 30
	test	eax, ebx
	mov	r10d, DWORD PTR 8[rsp]
	mov	r9d, DWORD PTR 12[rsp]
	jne	.L16
.L6:
	mov	edx, r10d
	mov	esi, r9d
	mov	rdi, rbp
	call	write_register@PLT
	mov	edx, DWORD PTR 4[rsp]
	mov	esi, r15d
	mov	rdi, rbp
	call	write_register@PLT
	mov	edx, r14d
	mov	esi, r13d
	mov	rdi, rbp
	call	write_register@PLT
	mov	edx, r12d
	mov	rdi, rbp
	mov	esi, 5
	call	write_register@PLT
	mov	rdi, rbp
	xor	edx, edx
	mov	esi, 71
	call	write_register@PLT
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	edx, 1
	mov	esi, 19
	mov	rdi, rbp
	call	write_register@PLT
	mov	edx, 30
	mov	esi, 20
	mov	rdi, rbp
	call	write_register@PLT
	mov	edx, 2
	mov	esi, 6
	mov	rdi, rbp
	call	write_register@PLT
	xor	edx, edx
	mov	esi, 6
	mov	rdi, rbp
	call	write_register@PLT
	mov	r9d, DWORD PTR 12[rsp]
	mov	r10d, DWORD PTR 8[rsp]
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	sd_start_video, .-sd_start_video
	.comm	MODE_1280x1024,4,4
	.comm	FPS_HIGH,4,4
	.comm	FORMAT_Y10B,4,4
	.comm	FORMAT_UYVY,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_kinect.c_sd_start_video.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sd_start_video, %function
sd_start_video:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldm	r0, {r1, r2}
	ldr	r8, .L17
	ldr	r6, [r2, r1, lsl #2]
	ldr	r3, [r8]
	sub	sp, sp, #20
	and	r3, r3, r6
	cmp	r3, #0
	movne	r3, #3
	moveq	r3, #1
	str	r3, [sp, #8]
	movne	r3, #27
	moveq	r3, #14
	mov	r4, r0
	str	r3, [sp, #4]
	movne	r3, #25
	moveq	r3, #12
	ldr	r2, .L17+4
	ldr	r7, .L17+8
	ldr	r5, [r2]
	ldr	r1, .L17+12
	ldr	r2, [r7]
	ldr	r1, [r1]
	movne	r10, #26
	moveq	r10, #13
	ands	r5, r6, r5
	movne	r5, #5
	tst	r6, r2
	movne	fp, #2
	mov	r2, #0
	moveq	fp, #1
	tst	r6, r1
	ldr	r1, .L17+16
	movne	r9, #30
	moveq	r9, #15
	str	r3, [sp, #12]
	bl	write_register
	mov	r2, #0
	mov	r1, #5
	mov	r0, r4
	bl	write_register
	ldr	r2, [r8]
	ldr	r1, [r7]
	ldr	r3, [sp, #12]
	orr	r2, r2, r1
	tst	r2, r6
	bne	.L16
.L6:
	mov	r1, r3
	mov	r2, r5
	mov	r0, r4
	bl	write_register
	mov	r2, fp
	mov	r1, r10
	mov	r0, r4
	bl	write_register
	mov	r2, r9
	ldr	r1, [sp, #4]
	mov	r0, r4
	bl	write_register
	ldr	r2, [sp, #8]
	mov	r1, #5
	mov	r0, r4
	bl	write_register
	mov	r0, r4
	mov	r2, #0
	mov	r1, #71
	bl	write_register
	mov	r0, #0
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	mov	r2, #1
	mov	r1, #19
	mov	r0, r4
	bl	write_register
	mov	r2, #30
	mov	r1, #20
	mov	r0, r4
	bl	write_register
	mov	r2, #2
	mov	r1, #6
	mov	r0, r4
	bl	write_register
	mov	r2, #0
	mov	r1, #6
	mov	r0, r4
	bl	write_register
	ldr	r3, [sp, #12]
	b	.L6
.L18:
	.align	2
.L17:
	.word	FORMAT_Y10B
	.word	FORMAT_UYVY
	.word	MODE_1280x1024
	.word	FPS_HIGH
	.word	261
	.size	sd_start_video, .-sd_start_video
	.comm	MODE_1280x1024,4,4
	.comm	FPS_HIGH,4,4
	.comm	FORMAT_Y10B,4,4
	.comm	FORMAT_UYVY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
