	.file	"extr_hdpvr-video.c_vidioc_g_fmt_vid_cap.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vidioc_g_fmt_vid_cap, @function
vidioc_g_fmt_vid_cap:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdx
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	video_drvdata@PLT
	cmp	QWORD PTR [r12], 0
	mov	rbp, rax
	jne	.L11
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR 8[rbp]
	mov	DWORD PTR [rbx], eax
	mov	DWORD PTR 32[rbx], edx
.L5:
	mov	edx, DWORD PTR V4L2_PIX_FMT_MPEG[rip]
	mov	DWORD PTR 28[rbx], edx
	mov	edx, DWORD PTR 4[rbp]
	mov	QWORD PTR 16[rbx], 0
	mov	DWORD PTR 24[rbx], edx
	cmp	eax, 720
	je	.L12
	mov	eax, DWORD PTR V4L2_COLORSPACE_REC709[rip]
	mov	DWORD PTR 8[rbx], eax
	mov	eax, DWORD PTR V4L2_FIELD_NONE[rip]
	mov	DWORD PTR 4[rbx], eax
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L13
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	lea	rsi, 12[rsp]
	mov	rdi, rax
	call	get_video_info@PLT
	test	eax, eax
	js	.L1
	mov	eax, DWORD PTR 20[rsp]
	test	eax, eax
	je	.L14
	mov	eax, DWORD PTR 12[rsp]
	mov	edx, DWORD PTR 16[rsp]
	mov	DWORD PTR [rbx], eax
	mov	DWORD PTR 32[rbx], edx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L12:
	mov	eax, DWORD PTR V4L2_COLORSPACE_SMPTE170M[rip]
	mov	DWORD PTR 8[rbx], eax
	mov	eax, DWORD PTR V4L2_FIELD_INTERLACED[rip]
	mov	DWORD PTR 4[rbx], eax
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	eax, DWORD PTR EFAULT[rip]
	neg	eax
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	vidioc_g_fmt_vid_cap, .-vidioc_g_fmt_vid_cap
	.comm	V4L2_PIX_FMT_MPEG,4,4
	.comm	V4L2_FIELD_NONE,4,4
	.comm	V4L2_FIELD_INTERLACED,4,4
	.comm	V4L2_COLORSPACE_SMPTE170M,4,4
	.comm	V4L2_COLORSPACE_REC709,4,4
	.comm	EFAULT,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_hdpvr-video.c_vidioc_g_fmt_vid_cap.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vidioc_g_fmt_vid_cap, %function
vidioc_g_fmt_vid_cap:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r1
	ldr	r3, .L14
	sub	sp, sp, #16
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r4, r2
	bl	video_drvdata
	ldr	r3, [r6]
	mov	r5, r0
	cmp	r3, #0
	bne	.L11
	ldr	r3, [r0]
	ldr	r2, [r0, #8]
	str	r3, [r4]
	str	r2, [r4, #24]
.L5:
	mov	r0, #0
	ldr	r2, .L14+4
	ldr	r1, [r5, #4]
	ldr	r2, [r2]
	cmp	r3, #720
	str	r2, [r4, #20]
	ldreq	r3, .L14+8
	ldreq	r2, .L14+12
	ldrne	r2, .L14+16
	ldrne	r3, .L14+20
	str	r1, [r4, #16]
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r0, [r4, #12]
	str	r2, [r4, #8]
	str	r3, [r4, #4]
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L11:
	mov	r1, sp
	bl	get_video_info
	cmp	r0, #0
	blt	.L1
	ldr	r3, [sp, #8]
	cmp	r3, #0
	beq	.L13
	ldr	r3, [sp]
	ldr	r2, [sp, #4]
	str	r3, [r4]
	str	r2, [r4, #24]
	b	.L5
.L13:
	ldr	r3, .L14+24
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L12:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	V4L2_PIX_FMT_MPEG
	.word	V4L2_FIELD_INTERLACED
	.word	V4L2_COLORSPACE_SMPTE170M
	.word	V4L2_COLORSPACE_REC709
	.word	V4L2_FIELD_NONE
	.word	EFAULT
	.size	vidioc_g_fmt_vid_cap, .-vidioc_g_fmt_vid_cap
	.comm	V4L2_PIX_FMT_MPEG,4,4
	.comm	V4L2_FIELD_NONE,4,4
	.comm	V4L2_FIELD_INTERLACED,4,4
	.comm	V4L2_COLORSPACE_SMPTE170M,4,4
	.comm	V4L2_COLORSPACE_REC709,4,4
	.comm	EFAULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
