	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	$0, -16(%rbp)
	movq	(%rax), %rax
	movq	_F0R_COLOR_MODEL_BGRA8888@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	leaq	-16(%rbp), %rdi
	movl	$129, %esi
	jmp	LBB0_4
LBB0_2:
	movq	_F0R_COLOR_MODEL_RGBA8888@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.3:
	movq	_AV_PIX_FMT_RGBA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdi
LBB0_4:
	callq	_ff_add_format
	testl	%eax, %eax
	js	LBB0_9
## %bb.5:
	movq	-16(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
LBB0_8:
	movq	%rbx, %rdi
	callq	_ff_set_common_formats
	jmp	LBB0_9
LBB0_10:
	leaq	_query_formats.pix_fmts(%rip), %rdi
	callq	_ff_make_format_list
	movq	%rax, %rsi
	movq	%rax, -16(%rbp)
	testq	%rsi, %rsi
	jne	LBB0_8
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_F0R_COLOR_MODEL_BGRA8888,8,3   ## @F0R_COLOR_MODEL_BGRA8888
	.comm	_F0R_COLOR_MODEL_RGBA8888,8,3   ## @F0R_COLOR_MODEL_RGBA8888
	.comm	_AV_PIX_FMT_RGBA,4,2            ## @AV_PIX_FMT_RGBA
	.section	__TEXT,__const
	.p2align	4                               ## @query_formats.pix_fmts
_query_formats.pix_fmts:
	.long	129                             ## 0x81
	.long	130                             ## 0x82
	.long	131                             ## 0x83
	.long	130                             ## 0x82
	.long	128                             ## 0x80

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.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, #48
	.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
	mov	x19, x0
	ldr	x8, [x0]
	str	xzr, [sp, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _F0R_COLOR_MODEL_BGRA8888@GOTPAGE
Lloh1:
	ldr	x9, [x9, _F0R_COLOR_MODEL_BGRA8888@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	add	x0, sp, #8
	mov	w1, #129
	bl	_ff_add_format
	tbz	w0, #31, LBB0_4
	b	LBB0_8
LBB0_2:
Lloh3:
	adrp	x9, _F0R_COLOR_MODEL_RGBA8888@GOTPAGE
Lloh4:
	ldr	x9, [x9, _F0R_COLOR_MODEL_RGBA8888@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
Lloh6:
	adrp	x8, _AV_PIX_FMT_RGBA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_PIX_FMT_RGBA@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_ff_add_format
	tbnz	w0, #31, LBB0_8
LBB0_4:
	ldr	x1, [sp, #8]
	cbz	x1, LBB0_7
LBB0_5:
	mov	x0, x19
	bl	_ff_set_common_formats
	b	LBB0_8
LBB0_6:
Lloh9:
	adrp	x0, _query_formats.pix_fmts@PAGE
Lloh10:
	add	x0, x0, _query_formats.pix_fmts@PAGEOFF
	bl	_ff_make_format_list
	mov	x1, x0
	str	x0, [sp, #8]
	cbnz	x1, LBB0_5
LBB0_7:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_F0R_COLOR_MODEL_BGRA8888,8,3   ; @F0R_COLOR_MODEL_BGRA8888
	.comm	_F0R_COLOR_MODEL_RGBA8888,8,3   ; @F0R_COLOR_MODEL_RGBA8888
	.comm	_AV_PIX_FMT_RGBA,4,2            ; @AV_PIX_FMT_RGBA
	.section	__TEXT,__const
	.p2align	2                               ; @query_formats.pix_fmts
_query_formats.pix_fmts:
	.long	129                             ; 0x81
	.long	130                             ; 0x82
	.long	131                             ; 0x83
	.long	130                             ; 0x82
	.long	128                             ; 0x80

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_query_formats
.subsections_via_symbols
