	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aeval_query_formats
_aeval_query_formats:                   ## @aeval_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, %r15
	movq	16(%rdi), %rax
	movq	(%rax), %rbx
	movq	(%rdi), %r12
	movq	8(%rdi), %rax
	movq	(%rax), %r14
	xorl	%eax, %eax
	callq	_ff_all_channel_counts
	addq	$4, %rbx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_ff_channel_layouts_ref
	testl	%eax, %eax
	js	LBB0_10
## %bb.1:
	cmpq	$0, 16(%r12)
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_ff_all_channel_counts
	movq	%rax, -40(%rbp)
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_ff_set_common_channel_layouts
	testl	%eax, %eax
	jns	LBB0_8
	jmp	LBB0_10
LBB0_3:
	movq	$0, -40(%rbp)
	movq	8(%r12), %rsi
	testq	%rsi, %rsi
	jne	LBB0_5
## %bb.4:
	movl	(%r12), %edi
	callq	_FF_COUNT2LAYOUT
	movq	%rax, %rsi
LBB0_5:
	leaq	-40(%rbp), %rdi
	callq	_ff_add_channel_layout
	testl	%eax, %eax
	js	LBB0_10
## %bb.6:
	movq	-40(%rbp), %rdi
	movq	%r14, %rsi
	callq	_ff_channel_layouts_ref
	testl	%eax, %eax
	js	LBB0_10
LBB0_8:
	leaq	_aeval_query_formats.sample_fmts(%rip), %rdi
	callq	_ff_make_format_list
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_ff_set_common_formats
	testl	%eax, %eax
	js	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	callq	_ff_all_samplerates
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_ff_set_common_samplerates
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @aeval_query_formats.sample_fmts
_aeval_query_formats.sample_fmts:
	.long	129                             ## 0x81
	.long	128                             ## 0x80

	.no_dead_strip	_aeval_query_formats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aeval_query_formats
_aeval_query_formats:                   ; @aeval_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, #16]
	ldr	x22, [x8]
	ldp	x21, x8, [x0]
	ldr	x20, [x8]
	bl	_ff_all_channel_counts
	add	x1, x22, #4
	bl	_ff_channel_layouts_ref
	tbnz	w0, #31, LBB0_9
; %bb.1:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_3
; %bb.2:
	bl	_ff_all_channel_counts
	mov	x1, x0
	str	x0, [sp, #8]
	mov	x0, x19
	bl	_ff_set_common_channel_layouts
	tbz	w0, #31, LBB0_7
	b	LBB0_9
LBB0_3:
	str	xzr, [sp, #8]
	ldr	x1, [x21, #8]
	cbnz	x1, LBB0_5
; %bb.4:
	ldr	w0, [x21]
	bl	_FF_COUNT2LAYOUT
	mov	x1, x0
LBB0_5:
	add	x0, sp, #8
	bl	_ff_add_channel_layout
	tbnz	w0, #31, LBB0_9
; %bb.6:
	ldr	x0, [sp, #8]
	mov	x1, x20
	bl	_ff_channel_layouts_ref
	tbnz	w0, #31, LBB0_9
LBB0_7:
Lloh0:
	adrp	x0, _aeval_query_formats.sample_fmts@PAGE
Lloh1:
	add	x0, x0, _aeval_query_formats.sample_fmts@PAGEOFF
	bl	_ff_make_format_list
	mov	x1, x0
	mov	x0, x19
	bl	_ff_set_common_formats
	tbnz	w0, #31, LBB0_9
; %bb.8:
	bl	_ff_all_samplerates
	mov	x1, x0
	mov	x0, x19
	bl	_ff_set_common_samplerates
LBB0_9:
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @aeval_query_formats.sample_fmts
_aeval_query_formats.sample_fmts:
	.long	129                             ; 0x81
	.long	128                             ; 0x80

	.no_dead_strip	_aeval_query_formats
.subsections_via_symbols
