	.file	"extr_s5p_mfc_enc.c_check_vb_with_fmt.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"invalid plane number for the format\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"failed to get plane cookie\n"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"index: %d, plane[%d] cookie: %pad\n"
	.text
	.p2align 4
	.type	check_vb_with_fmt, @function
check_vb_with_fmt:
.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
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	je	.L13
	mov	eax, DWORD PTR [rdi]
	mov	r12, rdi
	mov	rbp, rsi
	cmp	eax, DWORD PTR [rsi]
	jne	.L4
	xor	ebx, ebx
	lea	r13, 4[rsp]
	test	eax, eax
	jg	.L5
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edx, DWORD PTR 4[rbp]
	mov	ecx, ebx
	mov	r8, r13
	lea	rsi, .LC2[rip]
	mov	edi, 2
	add	ebx, 1
	call	mfc_debug@PLT
	cmp	DWORD PTR [r12], ebx
	jle	.L6
.L5:
	mov	esi, ebx
	mov	rdi, rbp
	call	vb2_dma_contig_plane_dma_addr@PLT
	mov	DWORD PTR 4[rsp], eax
	test	eax, eax
	jne	.L7
	lea	rdi, .LC1[rip]
	call	mfc_err@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L15
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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
.L4:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	mfc_err@PLT
.L13:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	xor	eax, eax
	jmp	.L1
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	check_vb_with_fmt, .-check_vb_with_fmt
	.comm	EINVAL,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_s5p_mfc_enc.c_check_vb_with_fmt.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"invalid plane number for the format\012\000"
	.align	2
.LC1:
	.ascii	"failed to get plane cookie\012\000"
	.align	2
.LC2:
	.ascii	"index: %d, plane[%d] cookie: %pad\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_vb_with_fmt, %function
check_vb_with_fmt:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L15
	sub	sp, sp, #16
	subs	r6, r0, #0
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	beq	.L12
	ldr	r3, [r6]
	ldr	r2, [r1]
	mov	r5, r1
	cmp	r3, r2
	bne	.L4
	cmp	r3, #0
	ble	.L6
	mov	r4, #0
	ldr	r8, .L15+4
	add	r7, sp, #8
	b	.L5
.L7:
	str	r7, [sp]
	mov	r3, r4
	mov	r1, r8
	mov	r0, #2
	ldr	r2, [r5, #4]
	bl	mfc_debug
	ldr	r3, [r6]
	add	r4, r4, #1
	cmp	r3, r4
	ble	.L6
.L5:
	mov	r1, r4
	mov	r0, r5
	bl	vb2_dma_contig_plane_dma_addr
	cmp	r0, #0
	str	r0, [sp, #8]
	bne	.L7
	ldr	r0, .L15+8
	bl	mfc_err
	ldr	r3, .L15+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r0, .L15+16
	bl	mfc_err
.L12:
	ldr	r3, .L15+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L6:
	mov	r0, #0
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC3
	.word	.LC2
	.word	.LC1
	.word	EINVAL
	.word	.LC0
	.size	check_vb_with_fmt, .-check_vb_with_fmt
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
