	.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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	$0, -24(%rbp)
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx), %rbx
	movq	(%rax), %r14
	leaq	_query_formats.sample_fmts(%rip), %rdi
	callq	_ff_make_format_list
	leaq	12(%rbx), %rsi
	movq	%rax, %rdi
	callq	_ff_formats_ref
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	movq	_AV_CH_LAYOUT_STEREO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdi
	callq	_ff_add_channel_layout
	testl	%eax, %eax
	js	LBB0_5
## %bb.2:
	movq	-24(%rbp), %rdi
	leaq	8(%rbx), %rsi
	callq	_ff_channel_layouts_ref
	testl	%eax, %eax
	js	LBB0_5
## %bb.3:
	xorl	%eax, %eax
	callq	_ff_all_samplerates
	addq	$4, %rbx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_ff_formats_ref
	testl	%eax, %eax
	js	LBB0_5
## %bb.4:
	leaq	_query_formats.pix_fmts(%rip), %rdi
	callq	_ff_make_format_list
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_ff_formats_ref
	movl	%eax, %ecx
	sarl	$31, %eax
	andl	%ecx, %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @query_formats.sample_fmts
_query_formats.sample_fmts:
	.long	129                             ## 0x81
	.long	128                             ## 0x80

	.p2align	2                               ## @query_formats.pix_fmts
_query_formats.pix_fmts:
	.long	131                             ## 0x83
	.long	130                             ## 0x82

	.comm	_AV_CH_LAYOUT_STEREO,4,2        ## @AV_CH_LAYOUT_STEREO
	.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
	str	xzr, [sp, #8]
	ldp	x9, x8, [x0]
	ldr	x20, [x8]
	ldr	x19, [x9]
Lloh0:
	adrp	x0, _query_formats.sample_fmts@PAGE
Lloh1:
	add	x0, x0, _query_formats.sample_fmts@PAGEOFF
	bl	_ff_make_format_list
	add	x1, x20, #12
	bl	_ff_formats_ref
	tbnz	w0, #31, LBB0_5
; %bb.1:
Lloh2:
	adrp	x8, _AV_CH_LAYOUT_STEREO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AV_CH_LAYOUT_STEREO@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_ff_add_channel_layout
	tbnz	w0, #31, LBB0_5
; %bb.2:
	ldr	x0, [sp, #8]
	add	x1, x20, #8
	bl	_ff_channel_layouts_ref
	tbnz	w0, #31, LBB0_5
; %bb.3:
	bl	_ff_all_samplerates
	add	x1, x20, #4
	bl	_ff_formats_ref
	tbnz	w0, #31, LBB0_5
; %bb.4:
Lloh5:
	adrp	x0, _query_formats.pix_fmts@PAGE
Lloh6:
	add	x0, x0, _query_formats.pix_fmts@PAGEOFF
	bl	_ff_make_format_list
	mov	x1, x19
	bl	_ff_formats_ref
	cmp	w0, #0
	csel	w0, w0, wzr, lt
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @query_formats.sample_fmts
_query_formats.sample_fmts:
	.long	129                             ; 0x81
	.long	128                             ; 0x80

	.p2align	2                               ; @query_formats.pix_fmts
_query_formats.pix_fmts:
	.long	131                             ; 0x83
	.long	130                             ; 0x82

	.comm	_AV_CH_LAYOUT_STEREO,4,2        ; @AV_CH_LAYOUT_STEREO
	.no_dead_strip	_query_formats
.subsections_via_symbols
