	.file	"extr_vf_paletteuse.c_query_formats.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	query_formats, @function
query_formats:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	lea	rdi, in_fmts.1943[rip]
	sub	rsp, 32
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	ff_make_format_list@PLT
	lea	rdi, inpal_fmts.1944[rip]
	mov	QWORD PTR [rsp], rax
	call	ff_make_format_list@PLT
	lea	rdi, out_fmts.1945[rip]
	mov	QWORD PTR 8[rsp], rax
	call	ff_make_format_list@PLT
	mov	rdi, QWORD PTR [rsp]
	cmp	QWORD PTR 8[rsp], 0
	sete	cl
	mov	QWORD PTR 16[rsp], rax
	test	rdi, rdi
	sete	dl
	or	cl, dl
	jne	.L6
	test	rax, rax
	je	.L6
	mov	rax, QWORD PTR 8[rbx]
	mov	rsi, QWORD PTR [rax]
	call	ff_formats_ref@PLT
	test	eax, eax
	js	.L1
	mov	rax, QWORD PTR 8[rbx]
	mov	rdi, QWORD PTR 8[rsp]
	mov	rsi, QWORD PTR 8[rax]
	call	ff_formats_ref@PLT
	test	eax, eax
	js	.L1
	mov	rax, QWORD PTR [rbx]
	mov	rdi, QWORD PTR 16[rsp]
	mov	rsi, QWORD PTR [rax]
	call	ff_formats_ref@PLT
	mov	edx, 0
	test	eax, eax
	cmovg	eax, edx
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rsi, QWORD PTR 24[rsp]
	xor	rsi, QWORD PTR fs:40
	jne	.L9
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdi, rsp
	call	av_freep@PLT
	lea	rdi, 8[rsp]
	call	av_freep@PLT
	lea	rdi, 16[rsp]
	call	av_freep@PLT
	mov	edi, DWORD PTR ENOMEM[rip]
	call	AVERROR@PLT
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	query_formats, .-query_formats
	.section	.rodata
	.align 8
	.type	out_fmts.1945, @object
	.size	out_fmts.1945, 8
out_fmts.1945:
	.long	129
	.long	130
	.align 8
	.type	inpal_fmts.1944, @object
	.size	inpal_fmts.1944, 8
inpal_fmts.1944:
	.long	128
	.long	130
	.align 8
	.type	in_fmts.1943, @object
	.size	in_fmts.1943, 8
in_fmts.1943:
	.long	128
	.long	130
	.comm	ENOMEM,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_paletteuse.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 = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L9
	sub	sp, sp, #16
	mov	r4, r0
	ldr	r0, .L9+4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	ff_make_format_list
	mov	r3, r0
	ldr	r0, .L9+8
	str	r3, [sp]
	bl	ff_make_format_list
	mov	r3, r0
	ldr	r0, .L9+12
	str	r3, [sp, #4]
	bl	ff_make_format_list
	ldm	sp, {r1, ip}
	clz	r3, r1
	cmp	ip, #0
	lsr	r3, r3, #5
	moveq	r3, #1
	cmp	r0, #0
	moveq	r3, #1
	cmp	r3, #0
	str	r0, [sp, #8]
	bne	.L7
	ldr	r3, [r4, #4]
	mov	r0, r1
	ldr	r1, [r3]
	bl	ff_formats_ref
	cmp	r0, #0
	blt	.L1
	ldr	r3, [r4, #4]
	ldr	r0, [sp, #4]
	ldr	r1, [r3, #4]
	bl	ff_formats_ref
	cmp	r0, #0
	blt	.L1
	ldr	r3, [r4]
	ldr	r0, [sp, #8]
	ldr	r1, [r3]
	bl	ff_formats_ref
	and	r0, r0, r0, asr #31
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #16
	@ sp needed
	pop	{r4, pc}
.L7:
	mov	r0, sp
	bl	av_freep
	add	r0, sp, #4
	bl	av_freep
	add	r0, sp, #8
	bl	av_freep
	ldr	r3, .L9+16
	ldr	r0, [r3]
	bl	AVERROR
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	.LANCHOR0
	.word	.LANCHOR0+8
	.word	.LANCHOR0+16
	.word	ENOMEM
	.size	query_formats, .-query_formats
	.comm	ENOMEM,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	in_fmts.4227, %object
	.size	in_fmts.4227, 8
in_fmts.4227:
	.word	128
	.word	130
	.type	inpal_fmts.4228, %object
	.size	inpal_fmts.4228, 8
inpal_fmts.4228:
	.word	128
	.word	130
	.type	out_fmts.4229, %object
	.size	out_fmts.4229, 8
out_fmts.4229:
	.word	129
	.word	130
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
