	.file	"extr_vf_transpose.c_query_formats.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	query_formats, @function
query_formats:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rbx, rsp
	mov	QWORD PTR [rsp], 0
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edi, r12d
	call	av_pix_fmt_desc_get@PLT
	mov	edx, DWORD PTR AV_PIX_FMT_FLAG_PAL[rip]
	or	edx, DWORD PTR AV_PIX_FMT_FLAG_HWACCEL[rip]
	or	edx, DWORD PTR AV_PIX_FMT_FLAG_BITSTREAM[rip]
	test	DWORD PTR [rax], edx
	jne	.L4
	mov	rcx, QWORD PTR 16[rax]
	cmp	QWORD PTR 8[rax], rcx
	je	.L10
	.p2align 4,,10
	.p2align 3
.L4:
	add	r12d, 1
.L2:
	mov	edi, r12d
	call	av_pix_fmt_desc_get@PLT
	test	rax, rax
	jne	.L6
	mov	rsi, QWORD PTR [rsp]
	mov	rdi, rbp
	call	ff_set_common_formats@PLT
.L1:
	mov	rsi, QWORD PTR 8[rsp]
	xor	rsi, QWORD PTR fs:40
	jne	.L11
	add	rsp, 16
	.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
.L10:
	.cfi_restore_state
	mov	esi, r12d
	mov	rdi, rbx
	call	ff_add_format@PLT
	test	eax, eax
	jns	.L4
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	query_formats, .-query_formats
	.comm	AV_PIX_FMT_FLAG_PAL,4,4
	.comm	AV_PIX_FMT_FLAG_HWACCEL,4,4
	.comm	AV_PIX_FMT_FLAG_BITSTREAM,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_vf_transpose.c_query_formats.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	query_formats, %function
query_formats:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, #0
	ldr	r3, .L12
	sub	sp, sp, #8
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r8, r0
	ldr	r7, .L12+4
	ldr	r6, .L12+8
	ldr	r5, .L12+12
	str	r4, [sp]
	b	.L2
.L6:
	mov	r0, r4
	bl	av_pix_fmt_desc_get
	ldr	r3, [r7]
	ldr	ip, [r6]
	ldr	r1, [r5]
	ldr	r2, [r0]
	orr	r3, r3, ip
	orr	r3, r3, r1
	tst	r3, r2
	bne	.L4
	ldmib	r0, {r2, r3}
	cmp	r2, r3
	beq	.L10
.L4:
	add	r4, r4, #1
.L2:
	mov	r0, r4
	bl	av_pix_fmt_desc_get
	cmp	r0, #0
	bne	.L6
	mov	r0, r8
	ldr	r1, [sp]
	bl	ff_set_common_formats
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	mov	r1, r4
	mov	r0, sp
	bl	ff_add_format
	cmp	r0, #0
	bge	.L4
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	AV_PIX_FMT_FLAG_PAL
	.word	AV_PIX_FMT_FLAG_HWACCEL
	.word	AV_PIX_FMT_FLAG_BITSTREAM
	.size	query_formats, .-query_formats
	.comm	AV_PIX_FMT_FLAG_PAL,4,4
	.comm	AV_PIX_FMT_FLAG_HWACCEL,4,4
	.comm	AV_PIX_FMT_FLAG_BITSTREAM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
