	.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, %rbx
	movq	16(%rdi), %r14
	movq	$0, -40(%rbp)
	movq	$0, -32(%rbp)
	movq	_AV_SAMPLE_FMT_FLT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdi
	callq	_ff_add_format
	testl	%eax, %eax
	jne	LBB0_16
## %bb.1:
	movq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_ff_set_common_formats
	testl	%eax, %eax
	je	LBB0_2
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	callq	_ff_all_channel_layouts
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	8(%rbx), %rcx
	movq	(%rcx), %rsi
	movq	%rax, %rdi
	callq	_ff_channel_layouts_ref
	testl	%eax, %eax
	jne	LBB0_16
## %bb.5:
	movq	_AV_CH_LAYOUT_STEREO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdi
	callq	_ff_add_channel_layout
	testl	%eax, %eax
	jne	LBB0_16
## %bb.6:
	movq	(%r14), %rax
	movq	_HRIR_MULTI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.9:
	xorl	%eax, %eax
	callq	_ff_all_channel_counts
	testq	%rax, %rax
	je	LBB0_3
## %bb.10:
	movq	8(%rbx), %rcx
	movq	8(%rcx), %rsi
	movq	%rax, %rdi
	callq	_ff_channel_layouts_ref
	testl	%eax, %eax
	jne	LBB0_16
	jmp	LBB0_11
LBB0_7:
	cmpl	$2, 8(%r14)
	jl	LBB0_11
## %bb.8:
	movl	$1, %r15d
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	-32(%rbp), %rdi
	movq	8(%rbx), %rax
	movq	(%rax,%r15,8), %rsi
	callq	_ff_channel_layouts_ref
	testl	%eax, %eax
	jne	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_15 Depth=1
	incq	%r15
	movslq	8(%r14), %rax
	cmpq	%rax, %r15
	jl	LBB0_15
LBB0_11:
	movq	-32(%rbp), %rdi
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	callq	_ff_channel_layouts_ref
	testl	%eax, %eax
	jne	LBB0_16
## %bb.12:
	xorl	%eax, %eax
	callq	_ff_all_samplerates
	movq	%rax, -40(%rbp)
	testq	%rax, %rax
	je	LBB0_3
## %bb.13:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_ff_set_common_samplerates
	jmp	LBB0_16
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_SAMPLE_FMT_FLT,4,2          ## @AV_SAMPLE_FMT_FLT
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_CH_LAYOUT_STEREO,4,2        ## @AV_CH_LAYOUT_STEREO
	.comm	_HRIR_MULTI,8,3                 ## @HRIR_MULTI
	.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
	ldr	x20, [x0, #16]
	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
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_ff_set_common_formats
	cbz	w0, LBB0_3
LBB0_2:
	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_3:
	bl	_ff_all_channel_layouts
	cbz	x0, LBB0_16
; %bb.4:
	ldr	x8, [x19, #8]
	ldr	x1, [x8]
	bl	_ff_channel_layouts_ref
	cbnz	w0, LBB0_2
; %bb.5:
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
	cbnz	w0, LBB0_2
; %bb.6:
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _HRIR_MULTI@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HRIR_MULTI@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.7:
	bl	_ff_all_channel_counts
	cbz	x0, LBB0_16
; %bb.8:
	ldr	x8, [x19, #8]
	ldr	x1, [x8, #8]
	bl	_ff_channel_layouts_ref
	cbnz	w0, LBB0_2
	b	LBB0_13
LBB0_9:
	ldr	w8, [x20, #8]
	cmp	w8, #2
	b.lt	LBB0_13
; %bb.10:
	mov	w21, #1
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [sp]
	ldr	x8, [x19, #8]
	ldr	x1, [x8, x21, lsl #3]
	bl	_ff_channel_layouts_ref
	cbnz	w0, LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x20, #8]
	cmp	x21, x8
	b.lt	LBB0_11
LBB0_13:
	ldr	x0, [sp]
	ldr	x8, [x19]
	ldr	x1, [x8]
	bl	_ff_channel_layouts_ref
	cbnz	w0, LBB0_2
; %bb.14:
	bl	_ff_all_samplerates
	str	x0, [sp, #8]
	cbz	x0, LBB0_16
; %bb.15:
	mov	x1, x0
	mov	x0, x19
	bl	_ff_set_common_samplerates
	b	LBB0_2
LBB0_16:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_SAMPLE_FMT_FLT,4,2          ; @AV_SAMPLE_FMT_FLT
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_CH_LAYOUT_STEREO,4,2        ; @AV_CH_LAYOUT_STEREO
	.comm	_HRIR_MULTI,8,3                 ; @HRIR_MULTI
	.no_dead_strip	_query_formats
.subsections_via_symbols
