	.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, %r15
	movq	$0, -40(%rbp)
	movq	$0, -48(%rbp)
	movq	_AV_SAMPLE_FMT_FLT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdi
	callq	_ff_add_format
	testl	%eax, %eax
	js	LBB0_9
## %bb.1:
	movq	-40(%rbp), %rsi
	movq	%r15, %rdi
	callq	_ff_set_common_formats
	testl	%eax, %eax
	js	LBB0_9
## %bb.2:
	movq	_AV_CH_LAYOUT_STEREO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdi
	callq	_ff_add_channel_layout
	testl	%eax, %eax
	js	LBB0_9
## %bb.3:
	movq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_ff_set_common_channel_layouts
	testl	%eax, %eax
	js	LBB0_9
## %bb.4:
	movq	$0, -40(%rbp)
	movq	_freqinfos@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_FF_ARRAY_ELEMS
	testl	%eax, %eax
	jle	LBB0_8
## %bb.5:
	xorl	%ebx, %ebx
	leaq	-40(%rbp), %r14
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_ff_add_format
	testl	%eax, %eax
	js	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movq	(%r12), %rdi
	callq	_FF_ARRAY_ELEMS
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_7
LBB0_8:
	movq	-40(%rbp), %rsi
	movq	%r15, %rdi
	callq	_ff_set_common_samplerates
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_SAMPLE_FMT_FLT,4,2          ## @AV_SAMPLE_FMT_FLT
	.comm	_AV_CH_LAYOUT_STEREO,4,2        ## @AV_CH_LAYOUT_STEREO
	.comm	_freqinfos,8,3                  ## @freqinfos
	.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
	stp	xzr, xzr, [sp]
Lloh0:
	adrp	x8, _AV_SAMPLE_FMT_FLT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_SAMPLE_FMT_FLT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_ff_add_format
	tbnz	w0, #31, LBB0_9
; %bb.1:
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_ff_set_common_formats
	tbnz	w0, #31, LBB0_9
; %bb.2:
Lloh3:
	adrp	x8, _AV_CH_LAYOUT_STEREO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_CH_LAYOUT_STEREO@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, sp
	bl	_ff_add_channel_layout
	tbnz	w0, #31, LBB0_9
; %bb.3:
	ldr	x1, [sp]
	mov	x0, x19
	bl	_ff_set_common_channel_layouts
	tbnz	w0, #31, LBB0_9
; %bb.4:
	str	xzr, [sp, #8]
Lloh6:
	adrp	x20, _freqinfos@GOTPAGE
Lloh7:
	ldr	x20, [x20, _freqinfos@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_FF_ARRAY_ELEMS
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.5:
	mov	x21, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	w1, [x8, x21, lsl #2]
	add	x0, sp, #8
	bl	_ff_add_format
	tbnz	w0, #31, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #1
	ldr	x0, [x20]
	bl	_FF_ARRAY_ELEMS
	cmp	x21, w0, sxtw
	b.lt	LBB0_6
LBB0_8:
	ldr	x1, [sp, #8]
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_SAMPLE_FMT_FLT,4,2          ; @AV_SAMPLE_FMT_FLT
	.comm	_AV_CH_LAYOUT_STEREO,4,2        ; @AV_CH_LAYOUT_STEREO
	.comm	_freqinfos,8,3                  ; @freqinfos
	.no_dead_strip	_query_formats
.subsections_via_symbols
