	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.1:
	movq	$0, -48(%rbp)
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	_av_pix_fmt_desc_next
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%rax, %rbx
	leaq	-48(%rbp), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_ff_add_format
	testl	%eax, %eax
	js	LBB0_19
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_av_pix_fmt_desc_next
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_av_pix_fmt_desc_get_id
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_sws_isSupportedInput
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, %edi
	callq	_sws_isSupportedEndiannessConversion
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_6
LBB0_7:
	movq	-48(%rbp), %r15
LBB0_8:
	movq	8(%r14), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_ff_formats_ref
	testl	%eax, %eax
	js	LBB0_19
LBB0_9:
	movq	(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_18
## %bb.10:
	movq	$0, -48(%rbp)
	xorl	%edi, %edi
	callq	_av_pix_fmt_desc_next
	testq	%rax, %rax
	je	LBB0_17
## %bb.11:
	movq	%rax, %r12
	movq	_AV_PIX_FMT_PAL8@GOTPCREL(%rip), %r13
	leaq	-48(%rbp), %r15
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_ff_add_format
	testl	%eax, %eax
	js	LBB0_19
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	callq	_av_pix_fmt_desc_next
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_17
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_av_pix_fmt_desc_get_id
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_sws_isSupportedOutput
	testq	%rax, %rax
	jne	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpl	(%r13), %ebx
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	%ebx, %edi
	callq	_sws_isSupportedEndiannessConversion
	testq	%rax, %rax
	jne	LBB0_15
	jmp	LBB0_16
LBB0_17:
	movq	-48(%rbp), %rdi
	movq	(%r14), %rax
	movq	(%rax), %rsi
	callq	_ff_formats_ref
	testl	%eax, %eax
	js	LBB0_19
LBB0_18:
	xorl	%eax, %eax
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PIX_FMT_PAL8,4,2            ## @AV_PIX_FMT_PAL8
	.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, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.1:
	str	xzr, [sp, #8]
	mov	x0, #0
	bl	_av_pix_fmt_desc_next
	cbz	x0, LBB0_8
; %bb.2:
	mov	x20, x0
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	mov	x1, x21
	bl	_ff_add_format
	tbnz	w0, #31, LBB0_19
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_av_pix_fmt_desc_next
	mov	x20, x0
	cbz	x0, LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_av_pix_fmt_desc_get_id
	mov	x21, x0
	bl	_sws_isSupportedInput
	cbnz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_sws_isSupportedEndiannessConversion
	cbnz	x0, LBB0_3
	b	LBB0_4
LBB0_7:
	ldr	x0, [sp, #8]
LBB0_8:
	ldr	x8, [x19, #8]
	ldr	x1, [x8]
	bl	_ff_formats_ref
	tbnz	w0, #31, LBB0_19
LBB0_9:
	ldr	x8, [x19]
	ldr	x8, [x8]
	cbz	x8, LBB0_18
; %bb.10:
	str	xzr, [sp, #8]
	mov	x0, #0
	bl	_av_pix_fmt_desc_next
	cbz	x0, LBB0_17
; %bb.11:
	mov	x20, x0
Lloh0:
	adrp	x22, _AV_PIX_FMT_PAL8@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AV_PIX_FMT_PAL8@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #8
	mov	x1, x21
	bl	_ff_add_format
	tbnz	w0, #31, LBB0_19
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x20
	bl	_av_pix_fmt_desc_next
	mov	x20, x0
	cbz	x0, LBB0_17
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_av_pix_fmt_desc_get_id
	mov	x21, x0
	bl	_sws_isSupportedOutput
	cbnz	x0, LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [x22]
	cmp	w21, w8
	b.eq	LBB0_12
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x21
	bl	_sws_isSupportedEndiannessConversion
	cbnz	x0, LBB0_12
	b	LBB0_13
LBB0_17:
	ldr	x0, [sp, #8]
	ldr	x8, [x19]
	ldr	x1, [x8]
	bl	_ff_formats_ref
	tbnz	w0, #31, LBB0_19
LBB0_18:
	mov	w0, #0
LBB0_19:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PIX_FMT_PAL8,4,2            ; @AV_PIX_FMT_PAL8
	.no_dead_strip	_query_formats
.subsections_via_symbols
