	.file	"extr_ov511.c_ov51x_postprocess_grey.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ov51x_postprocess_grey, @function
ov51x_postprocess_grey:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rcx, QWORD PTR SEN_SAA7111A[rip]
	mov	rbp, rsi
	mov	rax, QWORD PTR 16[rsi]
	mov	esi, DWORD PTR 8[rsi]
	cmp	QWORD PTR [rdi], rcx
	je	.L8
.L2:
	mov	edx, DWORD PTR 4[rbp]
	test	rax, rax
	je	.L5
	mov	ecx, edx
	mov	edx, esi
	mov	rsi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	decompress@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	yuv400raw_to_yuv400p@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	cmp	DWORD PTR 0[rbp], 479
	jle	.L2
	mov	edx, DWORD PTR 24[rbp]
	test	rax, rax
	je	.L3
	mov	ecx, edx
	mov	edx, esi
	mov	rsi, rbp
	call	decompress@PLT
.L4:
	mov	ecx, DWORD PTR 4[rbp]
	mov	edx, DWORD PTR 24[rbp]
	mov	rdi, rbp
	mov	esi, DWORD PTR RAWFMT_YUV400[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	deinterlace@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rdi, rbp
	call	yuv400raw_to_yuv400p@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	ov51x_postprocess_grey, .-ov51x_postprocess_grey
	.comm	SEN_SAA7111A,8,8
	.comm	RAWFMT_YUV400,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_ov511.c_ov51x_postprocess_grey.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ov51x_postprocess_grey, %function
ov51x_postprocess_grey:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L9
	push	{r4, lr}
	ldr	r2, [r3]
	ldr	lr, [r0]
	mov	ip, r0
	cmp	lr, r2
	mov	r4, r1
	ldr	r3, [r1, #12]
	ldr	lr, [r1, #8]
	beq	.L8
.L2:
	cmp	r3, #0
	ldr	r3, [r4, #4]
	beq	.L5
	mov	r2, lr
	mov	r1, r4
	pop	{r4, lr}
	mov	r0, ip
	b	decompress
.L5:
	mov	r1, lr
	mov	r0, r4
	pop	{r4, lr}
	mov	r2, r3
	b	yuv400raw_to_yuv400p
.L8:
	ldr	r2, [r1]
	cmp	r2, #480
	blt	.L2
	cmp	r3, #0
	ldr	r3, [r1, #16]
	beq	.L3
	mov	r2, lr
	bl	decompress
.L4:
	ldr	r2, .L9+4
	mov	r0, r4
	ldr	r3, [r4, #4]
	ldr	r1, [r2]
	ldr	r2, [r4, #16]
	pop	{r4, lr}
	b	deinterlace
.L3:
	mov	r2, r3
	mov	r1, lr
	mov	r0, r4
	bl	yuv400raw_to_yuv400p
	b	.L4
.L10:
	.align	2
.L9:
	.word	SEN_SAA7111A
	.word	RAWFMT_YUV400
	.size	ov51x_postprocess_grey, .-ov51x_postprocess_grey
	.comm	SEN_SAA7111A,4,4
	.comm	RAWFMT_YUV400,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
