	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function query_formats
_query_formats:                         ## @query_formats
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	_query_formats.in_pix_fmts(%rip), %rdi
	callq	_ff_make_format_list
	movq	%rax, %rbx
	leaq	_query_formats.out_pix_fmts(%rip), %rdi
	callq	_ff_make_format_list
	movq	%rax, %r14
	movq	8(%r15), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_ff_formats_ref
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movq	(%r15), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_ff_formats_ref
	movl	%eax, %ecx
	sarl	$31, %ecx
	andl	%ecx, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @query_formats.in_pix_fmts
_query_formats.in_pix_fmts:
	.long	129                             ## 0x81
	.long	133                             ## 0x85
	.long	128                             ## 0x80
	.long	130                             ## 0x82
	.long	131                             ## 0x83
	.long	134                             ## 0x86

	.p2align	4                               ## @query_formats.out_pix_fmts
_query_formats.out_pix_fmts:
	.long	133                             ## 0x85
	.long	132                             ## 0x84
	.long	131                             ## 0x83
	.long	134                             ## 0x86

	.no_dead_strip	_query_formats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function query_formats
_query_formats:                         ; @query_formats
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x0, _query_formats.in_pix_fmts@PAGE
Lloh1:
	add	x0, x0, _query_formats.in_pix_fmts@PAGEOFF
	bl	_ff_make_format_list
	mov	x21, x0
Lloh2:
	adrp	x0, _query_formats.out_pix_fmts@PAGE
Lloh3:
	add	x0, x0, _query_formats.out_pix_fmts@PAGEOFF
	bl	_ff_make_format_list
	mov	x20, x0
	ldr	x8, [x19, #8]
	ldr	x1, [x8]
	mov	x0, x21
	bl	_ff_formats_ref
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	x1, [x8]
	mov	x0, x20
	bl	_ff_formats_ref
	cmp	w0, #0
	csel	w0, w0, wzr, lt
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @query_formats.in_pix_fmts
_query_formats.in_pix_fmts:
	.long	129                             ; 0x81
	.long	133                             ; 0x85
	.long	128                             ; 0x80
	.long	130                             ; 0x82
	.long	131                             ; 0x83
	.long	134                             ; 0x86

	.p2align	2                               ; @query_formats.out_pix_fmts
_query_formats.out_pix_fmts:
	.long	133                             ; 0x85
	.long	132                             ; 0x84
	.long	131                             ; 0x83
	.long	134                             ; 0x86

	.no_dead_strip	_query_formats
.subsections_via_symbols
