	.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)
	movq	(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_av_pix_fmt_desc_get
	testq	%rax, %rax
	je	LBB0_25
## %bb.1:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	$1, %ebx
	movq	_AV_PIX_FMT_FLAG_PAL@GOTPCREL(%rip), %r14
	movq	_AV_PIX_FMT_FLAG_HWACCEL@GOTPCREL(%rip), %r15
	jmp	LBB0_2
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	-48(%rbp), %rdi
	movl	%r12d, %esi
	callq	_ff_add_format
	testl	%eax, %eax
	js	LBB0_21
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_av_pix_fmt_desc_get
	incl	%ebx
	testq	%rax, %rax
	je	LBB0_24
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%rbx), %r12d
	movl	%r12d, %edi
	callq	_av_pix_fmt_desc_get
	movq	%rax, %r13
	movl	%r12d, %edi
	callq	_av_pix_fmt_count_planes
	movl	(%r13), %ecx
	testl	%ecx, (%r14)
	jne	LBB0_23
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%ecx, (%r15)
	jne	LBB0_23
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	(%rcx), %esi
	cmpl	%eax, %esi
	jge	LBB0_23
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r13), %rdx
	testq	%rdx, %rdx
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 8(%r13)
	je	LBB0_22
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	addl	$-3, %esi
	cmpl	$-3, %esi
	ja	LBB0_23
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rcx), %esi
	cmpl	%eax, %esi
	jge	LBB0_23
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%rdx, %rdx
	jne	LBB0_11
	jmp	LBB0_10
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rcx), %esi
	cmpl	%eax, %esi
	jge	LBB0_23
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 8(%r13)
	je	LBB0_27
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	decl	%esi
	cmpl	$1, %esi
	ja	LBB0_23
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rcx), %esi
	cmpl	%eax, %esi
	jge	LBB0_23
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	testq	%rdx, %rdx
	jne	LBB0_15
	jmp	LBB0_14
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rcx), %esi
	cmpl	%eax, %esi
	jge	LBB0_23
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 8(%r13)
	je	LBB0_28
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	decl	%esi
	cmpl	$1, %esi
	ja	LBB0_23
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	12(%rcx), %ecx
	cmpl	%eax, %ecx
	jge	LBB0_23
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	testq	%rdx, %rdx
	jne	LBB0_19
	jmp	LBB0_18
LBB0_28:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	12(%rcx), %ecx
	cmpl	%eax, %ecx
	jge	LBB0_23
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 8(%r13)
	je	LBB0_20
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	addl	$-3, %ecx
	cmpl	$-3, %ecx
	jbe	LBB0_20
	jmp	LBB0_23
LBB0_24:
	movq	-48(%rbp), %r14
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_25:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ff_set_common_formats
	movl	%eax, %r12d
LBB0_26:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movl	%eax, %r12d
	leaq	-48(%rbp), %rdi
	callq	_ff_formats_unref
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PIX_FMT_FLAG_PAL,4,2        ## @AV_PIX_FMT_FLAG_PAL
	.comm	_AV_PIX_FMT_FLAG_HWACCEL,4,2    ## @AV_PIX_FMT_FLAG_HWACCEL
	.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, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
	str	xzr, [sp, #8]
	ldr	x23, [x0]
	mov	w0, #0
	bl	_av_pix_fmt_desc_get
	cbz	x0, LBB0_2
; %bb.1:
	mov	w20, #1
Lloh0:
	adrp	x24, _AV_PIX_FMT_FLAG_PAL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _AV_PIX_FMT_FLAG_PAL@GOTPAGEOFF]
Lloh2:
	adrp	x25, _AV_PIX_FMT_FLAG_HWACCEL@GOTPAGE
Lloh3:
	ldr	x25, [x25, _AV_PIX_FMT_FLAG_HWACCEL@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	mov	x1, #0
	b	LBB0_27
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	mov	x1, x21
	bl	_ff_add_format
	tbnz	w0, #31, LBB0_29
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_26
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	w21, w20, #1
	mov	x0, x21
	bl	_av_pix_fmt_desc_get
	mov	x22, x0
	mov	x0, x21
	bl	_av_pix_fmt_count_planes
	ldr	w8, [x22]
	ldr	w9, [x24]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x25]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23]
	ldr	w10, [x8]
	cmp	w10, w0
	b.ge	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x22, #16]
	cbnz	x9, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x11, [x22, #8]
	cbz	x11, LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w10, w10, #3
	cmn	w10, #3
	b.hi	LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w10, [x8, #4]
	cmp	w10, w0
	b.ge	LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	cbnz	x9, LBB0_15
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w10, [x8, #4]
	cmp	w10, w0
	b.ge	LBB0_4
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x11, [x22, #8]
	cbz	x11, LBB0_18
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w10, w10, #1
	cmp	w10, #1
	b.hi	LBB0_4
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w10, [x8, #8]
	cmp	w10, w0
	b.ge	LBB0_4
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	cbnz	x9, LBB0_20
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w10, [x8, #8]
	cmp	w10, w0
	b.ge	LBB0_4
LBB0_19:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x11, [x22, #8]
	cbz	x11, LBB0_23
LBB0_20:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w10, w10, #1
	cmp	w10, #1
	b.hi	LBB0_4
; %bb.21:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x8, #12]
	cmp	w8, w0
	b.ge	LBB0_4
; %bb.22:                               ;   in Loop: Header=BB0_5 Depth=1
	cbnz	x9, LBB0_25
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x8, #12]
	cmp	w8, w0
	b.ge	LBB0_4
LBB0_24:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x22, #8]
	cbz	x9, LBB0_3
LBB0_25:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w8, w8, #3
	cmn	w8, #3
	b.ls	LBB0_3
	b	LBB0_4
LBB0_26:
	ldr	x1, [sp, #8]
LBB0_27:
	mov	x0, x19
	bl	_ff_set_common_formats
	mov	x21, x0
LBB0_28:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_29:
	mov	x21, x0
	add	x0, sp, #8
	bl	_ff_formats_unref
	b	LBB0_28
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PIX_FMT_FLAG_PAL,4,2        ; @AV_PIX_FMT_FLAG_PAL
	.comm	_AV_PIX_FMT_FLAG_HWACCEL,4,2    ; @AV_PIX_FMT_FLAG_HWACCEL
	.no_dead_strip	_query_formats
.subsections_via_symbols
