	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	$0, -32(%rbp)
	xorl	%eax, %eax
	callq	_ff_all_channel_counts
	movq	%rax, -40(%rbp)
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %r15
	movq	_AV_SAMPLE_FMT_FLT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdi
	callq	_ff_add_format
	testl	%eax, %eax
	js	LBB0_8
## %bb.2:
	movq	_AV_SAMPLE_FMT_FLTP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdi
	callq	_ff_add_format
	testl	%eax, %eax
	js	LBB0_8
## %bb.3:
	movq	_AV_SAMPLE_FMT_DBL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdi
	callq	_ff_add_format
	testl	%eax, %eax
	js	LBB0_8
## %bb.4:
	movq	_AV_SAMPLE_FMT_DBLP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdi
	callq	_ff_add_format
	testl	%eax, %eax
	js	LBB0_8
## %bb.5:
	movq	-32(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ff_set_common_formats
	testl	%eax, %eax
	js	LBB0_8
## %bb.6:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ff_set_common_channel_layouts
	testl	%eax, %eax
	js	LBB0_8
## %bb.7:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_ff_all_samplerates
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_ff_set_common_samplerates
	testl	%eax, %eax
	jns	LBB0_10
LBB0_8:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_av_freep
	jmp	LBB0_9
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	movl	%eax, %ebx
LBB0_9:
	leaq	-40(%rbp), %rdi
	callq	_av_freep
LBB0_10:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_SAMPLE_FMT_FLT,4,2          ## @AV_SAMPLE_FMT_FLT
	.comm	_AV_SAMPLE_FMT_FLTP,4,2         ## @AV_SAMPLE_FMT_FLTP
	.comm	_AV_SAMPLE_FMT_DBL,4,2          ## @AV_SAMPLE_FMT_DBL
	.comm	_AV_SAMPLE_FMT_DBLP,4,2         ## @AV_SAMPLE_FMT_DBLP
	.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	x20, x0
	str	xzr, [sp, #8]
	bl	_ff_all_channel_counts
	str	x0, [sp]
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
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.2:
Lloh3:
	adrp	x8, _AV_SAMPLE_FMT_FLTP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_SAMPLE_FMT_FLTP@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_ff_add_format
	tbnz	w0, #31, LBB0_9
; %bb.3:
Lloh6:
	adrp	x8, _AV_SAMPLE_FMT_DBL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_SAMPLE_FMT_DBL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_ff_add_format
	tbnz	w0, #31, LBB0_9
; %bb.4:
Lloh9:
	adrp	x8, _AV_SAMPLE_FMT_DBLP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AV_SAMPLE_FMT_DBLP@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_ff_add_format
	tbnz	w0, #31, LBB0_9
; %bb.5:
	ldr	x1, [sp, #8]
	mov	x0, x20
	bl	_ff_set_common_formats
	tbnz	w0, #31, LBB0_9
; %bb.6:
	mov	x0, x20
	mov	x1, x19
	bl	_ff_set_common_channel_layouts
	tbnz	w0, #31, LBB0_9
; %bb.7:
	bl	_ff_all_samplerates
	mov	x1, x0
	mov	x0, x20
	bl	_ff_set_common_samplerates
	tbnz	w0, #31, LBB0_9
; %bb.8:
	mov	w21, #0
	b	LBB0_12
LBB0_9:
	mov	x21, x0
	mov	x0, x19
	bl	_av_freep
	b	LBB0_11
LBB0_10:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_AVERROR
	mov	x21, x0
LBB0_11:
	mov	x0, sp
	bl	_av_freep
LBB0_12:
	mov	x0, x21
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_SAMPLE_FMT_FLT,4,2          ; @AV_SAMPLE_FMT_FLT
	.comm	_AV_SAMPLE_FMT_FLTP,4,2         ; @AV_SAMPLE_FMT_FLTP
	.comm	_AV_SAMPLE_FMT_DBL,4,2          ; @AV_SAMPLE_FMT_DBL
	.comm	_AV_SAMPLE_FMT_DBLP,4,2         ; @AV_SAMPLE_FMT_DBLP
	.no_dead_strip	_query_formats
.subsections_via_symbols
