	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	$0, -48(%rbp)
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_av_pix_fmt_desc_get
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	$1, %ebx
	movq	_AV_PIX_FMT_FLAG_HWACCEL@GOTPCREL(%rip), %r14
	movq	_AV_PIX_FMT_FLAG_BITSTREAM@GOTPCREL(%rip), %r15
	movq	_AV_PIX_FMT_FLAG_PAL@GOTPCREL(%rip), %r13
	jmp	LBB0_2
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	orl	$2, %eax
	cmpl	$10, %eax
	jne	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	-48(%rbp), %rdi
	movl	%r12d, %esi
	callq	_ff_add_format
	testl	%eax, %eax
	js	LBB0_12
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_av_pix_fmt_desc_get
	incl	%ebx
	testq	%rax, %rax
	je	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%rbx), %r12d
	movl	%r12d, %edi
	callq	_av_pix_fmt_desc_get
	movl	(%r14), %edx
	movq	_AV_PIX_FMT_FLAG_RGB@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	orl	(%r15), %edx
	movl	(%rax), %ecx
	orl	(%r13), %edx
	testl	%ecx, %edx
	jne	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_AV_PIX_FMT_FLAG_PLANAR@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1, 4(%rax)
	jne	LBB0_9
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_AV_PIX_FMT_FLAG_BE@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	setne	%cl
	movq	_HAVE_BIGENDIAN@GOTPCREL(%rip), %rdx
	cmpl	$0, (%rdx)
	sete	%dl
	xorb	%cl, %dl
	movq	8(%rax), %rax
	movl	(%rax), %eax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$8, %eax
	je	LBB0_8
	jmp	LBB0_9
LBB0_10:
	movq	-48(%rbp), %r14
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_11:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ff_set_common_formats
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PIX_FMT_FLAG_RGB,4,2        ## @AV_PIX_FMT_FLAG_RGB
	.comm	_AV_PIX_FMT_FLAG_HWACCEL,4,2    ## @AV_PIX_FMT_FLAG_HWACCEL
	.comm	_AV_PIX_FMT_FLAG_BITSTREAM,4,2  ## @AV_PIX_FMT_FLAG_BITSTREAM
	.comm	_AV_PIX_FMT_FLAG_PAL,4,2        ## @AV_PIX_FMT_FLAG_PAL
	.comm	_AV_PIX_FMT_FLAG_PLANAR,4,2     ## @AV_PIX_FMT_FLAG_PLANAR
	.comm	_AV_PIX_FMT_FLAG_BE,4,2         ## @AV_PIX_FMT_FLAG_BE
	.comm	_HAVE_BIGENDIAN,4,2             ## @HAVE_BIGENDIAN
	.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:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	str	xzr, [sp, #8]
	mov	w0, #0
	bl	_av_pix_fmt_desc_get
	cbz	x0, LBB0_11
; %bb.1:
	mov	w20, #1
Lloh0:
	adrp	x22, _AV_PIX_FMT_FLAG_RGB@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AV_PIX_FMT_FLAG_RGB@GOTPAGEOFF]
Lloh2:
	adrp	x23, _AV_PIX_FMT_FLAG_HWACCEL@GOTPAGE
Lloh3:
	ldr	x23, [x23, _AV_PIX_FMT_FLAG_HWACCEL@GOTPAGEOFF]
Lloh4:
	adrp	x24, _AV_PIX_FMT_FLAG_BITSTREAM@GOTPAGE
Lloh5:
	ldr	x24, [x24, _AV_PIX_FMT_FLAG_BITSTREAM@GOTPAGEOFF]
Lloh6:
	adrp	x25, _AV_PIX_FMT_FLAG_PAL@GOTPAGE
Lloh7:
	ldr	x25, [x25, _AV_PIX_FMT_FLAG_PAL@GOTPAGEOFF]
Lloh8:
	adrp	x26, _AV_PIX_FMT_FLAG_PLANAR@GOTPAGE
Lloh9:
	ldr	x26, [x26, _AV_PIX_FMT_FLAG_PLANAR@GOTPAGEOFF]
Lloh10:
	adrp	x27, _AV_PIX_FMT_FLAG_BE@GOTPAGE
Lloh11:
	ldr	x27, [x27, _AV_PIX_FMT_FLAG_BE@GOTPAGEOFF]
Lloh12:
	adrp	x28, _HAVE_BIGENDIAN@GOTPAGE
Lloh13:
	ldr	x28, [x28, _HAVE_BIGENDIAN@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	orr	w8, w8, #0x2
	cmp	w8, #10
	b.ne	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	mov	x1, x21
	bl	_ff_add_format
	tbnz	w0, #31, LBB0_13
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_av_pix_fmt_desc_get
	add	w20, w20, #1
	cbz	x0, LBB0_10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	w21, w20, #1
	mov	x0, x21
	bl	_av_pix_fmt_desc_get
	ldr	w8, [x0]
	ldr	w9, [x22]
	ldr	w10, [x23]
	orr	w9, w10, w9
	ldr	w10, [x24]
	orr	w9, w9, w10
	ldr	w10, [x25]
	orr	w9, w9, w10
	tst	w9, w8
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x26]
	tst	w9, w8
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x0, #4]
	cmp	w9, #1
	b.ne	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x27]
	tst	w9, w8
	cset	w8, ne
	ldr	w9, [x28]
	cmp	w9, #0
	cset	w9, eq
	eor	w9, w8, w9
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	tbnz	w9, #0, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #8
	b.eq	LBB0_3
	b	LBB0_4
LBB0_10:
	ldr	x1, [sp, #8]
	b	LBB0_12
LBB0_11:
	mov	x1, #0
LBB0_12:
	mov	x0, x19
	bl	_ff_set_common_formats
LBB0_13:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PIX_FMT_FLAG_RGB,4,2        ; @AV_PIX_FMT_FLAG_RGB
	.comm	_AV_PIX_FMT_FLAG_HWACCEL,4,2    ; @AV_PIX_FMT_FLAG_HWACCEL
	.comm	_AV_PIX_FMT_FLAG_BITSTREAM,4,2  ; @AV_PIX_FMT_FLAG_BITSTREAM
	.comm	_AV_PIX_FMT_FLAG_PAL,4,2        ; @AV_PIX_FMT_FLAG_PAL
	.comm	_AV_PIX_FMT_FLAG_PLANAR,4,2     ; @AV_PIX_FMT_FLAG_PLANAR
	.comm	_AV_PIX_FMT_FLAG_BE,4,2         ; @AV_PIX_FMT_FLAG_BE
	.comm	_HAVE_BIGENDIAN,4,2             ; @HAVE_BIGENDIAN
	.no_dead_strip	_query_formats
.subsections_via_symbols
