	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	(%rdi), %rbx
	movq	_AV_PIX_FMT_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_fill_picture_rgb@GOTPCREL(%rip), %r12
	movq	_AV_PIX_FMT_RGB24@GOTPCREL(%rip), %r15
	cmpq	$0, 16(%rbx)
	jne	LBB0_3
## %bb.1:
	movl	8(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	$3, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movl	4(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$3, %edx
	callq	_memcmp
	testq	%rax, %rax
	movq	_AV_PIX_FMT_RGB24@GOTPCREL(%rip), %r15
	cmoveq	_AV_PIX_FMT_MONOBLACK@GOTPCREL(%rip), %r15
	movq	_fill_picture_rgb@GOTPCREL(%rip), %r12
	cmoveq	_fill_picture_monoblack@GOTPCREL(%rip), %r12
LBB0_3:
	movl	(%r15), %eax
	movl	%eax, -48(%rbp)
	movl	(%r12), %eax
	movl	%eax, (%rbx)
	leaq	-48(%rbp), %rdi
	callq	_ff_make_format_list
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_ff_set_common_formats
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PIX_FMT_NONE,4,2            ## @AV_PIX_FMT_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\377\377\377"

	.section	__TEXT,__literal4,4byte_literals
L_.str.1:                               ## @.str.1
	.space	4

	.comm	_AV_PIX_FMT_RGB24,4,2           ## @AV_PIX_FMT_RGB24
	.comm	_fill_picture_rgb,4,2           ## @fill_picture_rgb
	.comm	_AV_PIX_FMT_MONOBLACK,4,2       ## @AV_PIX_FMT_MONOBLACK
	.comm	_fill_picture_monoblack,4,2     ## @fill_picture_monoblack
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	ldr	x20, [x0]
Lloh3:
	adrp	x8, _AV_PIX_FMT_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_PIX_FMT_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #4]
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_2
; %bb.1:
Lloh6:
	adrp	x21, _fill_picture_rgb@GOTPAGE
Lloh7:
	ldr	x21, [x21, _fill_picture_rgb@GOTPAGEOFF]
Lloh8:
	adrp	x22, _AV_PIX_FMT_RGB24@GOTPAGE
Lloh9:
	ldr	x22, [x22, _AV_PIX_FMT_RGB24@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	ldr	w0, [x20, #8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #3
	bl	_memcmp
Lloh12:
	adrp	x21, _fill_picture_rgb@GOTPAGE
Lloh13:
	ldr	x21, [x21, _fill_picture_rgb@GOTPAGEOFF]
Lloh14:
	adrp	x22, _AV_PIX_FMT_RGB24@GOTPAGE
Lloh15:
	ldr	x22, [x22, _AV_PIX_FMT_RGB24@GOTPAGEOFF]
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x20, #4]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #3
	bl	_memcmp
Lloh18:
	adrp	x8, _AV_PIX_FMT_MONOBLACK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AV_PIX_FMT_MONOBLACK@GOTPAGEOFF]
	cmp	x0, #0
	csel	x22, x8, x22, eq
Lloh20:
	adrp	x8, _fill_picture_monoblack@GOTPAGE
Lloh21:
	ldr	x8, [x8, _fill_picture_monoblack@GOTPAGEOFF]
	csel	x21, x8, x21, eq
LBB0_4:
	ldr	w8, [x22]
	str	w8, [sp]
	ldr	w8, [x21]
	str	w8, [x20]
	mov	x0, sp
	bl	_ff_make_format_list
	mov	x1, x0
	mov	x0, x19
	bl	_ff_set_common_formats
	ldr	x8, [sp, #8]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	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
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PIX_FMT_NONE,4,2            ; @AV_PIX_FMT_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\377\377\377"

	.section	__TEXT,__literal4,4byte_literals
l_.str.1:                               ; @.str.1
	.space	4

	.comm	_AV_PIX_FMT_RGB24,4,2           ; @AV_PIX_FMT_RGB24
	.comm	_fill_picture_rgb,4,2           ; @fill_picture_rgb
	.comm	_AV_PIX_FMT_MONOBLACK,4,2       ; @AV_PIX_FMT_MONOBLACK
	.comm	_fill_picture_monoblack,4,2     ; @fill_picture_monoblack
	.no_dead_strip	_query_formats
.subsections_via_symbols
