	.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	$64, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	16(%rdi), %rbx
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx), %r12
	movq	(%rax), %r14
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	leaq	-68(%rbp), %rcx
	xorl	%edx, %edx
	callq	_av_opt_get_sample_fmt
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	leaq	-88(%rbp), %rcx
	xorl	%edx, %edx
	callq	_av_opt_get_int
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	leaq	-80(%rbp), %rcx
	xorl	%edx, %edx
	callq	_av_opt_get_int
	movq	_AVMEDIA_TYPE_AUDIO@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_ff_all_formats
	leaq	20(%r12), %rsi
	movq	%rax, %rdi
	callq	_ff_formats_ref
	testl	%eax, %eax
	js	LBB0_15
## %bb.1:
	xorl	%eax, %eax
	callq	_ff_all_samplerates
	leaq	16(%r12), %rsi
	movq	%rax, %rdi
	callq	_ff_formats_ref
	testl	%eax, %eax
	js	LBB0_15
## %bb.2:
	xorl	%eax, %eax
	callq	_ff_all_channel_counts
	addq	$12, %r12
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_ff_channel_layouts_ref
	testl	%eax, %eax
	js	LBB0_15
## %bb.3:
	movq	-88(%rbp), %rax
	testq	%rax, %rax
	jle	LBB0_5
## %bb.4:
	movl	%eax, -64(%rbp)
	movl	$-1, -60(%rbp)
	leaq	-64(%rbp), %rdi
	callq	_ff_make_format_list
	jmp	LBB0_6
LBB0_5:
	xorl	%eax, %eax
	callq	_ff_all_samplerates
LBB0_6:
	leaq	8(%r14), %rsi
	movq	%rax, %rdi
	callq	_ff_formats_ref
	testl	%eax, %eax
	js	LBB0_15
## %bb.7:
	movl	-68(%rbp), %eax
	movq	_AV_SAMPLE_FMT_NONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.9:
	movl	(%r15), %edi
	callq	_ff_all_formats
	jmp	LBB0_10
LBB0_8:
	movl	%eax, -64(%rbp)
	movl	$-1, -60(%rbp)
	leaq	-64(%rbp), %rdi
	callq	_ff_make_format_list
LBB0_10:
	leaq	4(%r14), %rsi
	movq	%rax, %rdi
	callq	_ff_formats_ref
	testl	%eax, %eax
	js	LBB0_15
## %bb.11:
	movq	-80(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rax, -64(%rbp)
	movq	$-1, -56(%rbp)
	leaq	-64(%rbp), %rdi
	callq	_avfilter_make_format64_list
	jmp	LBB0_14
LBB0_13:
	xorl	%eax, %eax
	callq	_ff_all_channel_counts
LBB0_14:
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_ff_channel_layouts_ref
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_17
## %bb.16:
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"osf"

L_.str.1:                               ## @.str.1
	.asciz	"osr"

L_.str.2:                               ## @.str.2
	.asciz	"ocl"

	.comm	_AVMEDIA_TYPE_AUDIO,4,2         ## @AVMEDIA_TYPE_AUDIO
	.comm	_AV_SAMPLE_FMT_NONE,4,2         ## @AV_SAMPLE_FMT_NONE
	.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, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldp	x8, x20, [x0, #8]
	ldr	x9, [x0]
	ldr	x21, [x8]
	ldr	x19, [x9]
	ldr	w0, [x20]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x3, sp, #20
	mov	w2, #0
	bl	_av_opt_get_sample_fmt
	ldr	w0, [x20]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x3, sp, #8
	mov	w2, #0
	bl	_av_opt_get_int
	ldr	w0, [x20]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x3, sp
	mov	w2, #0
	bl	_av_opt_get_int
Lloh9:
	adrp	x20, _AVMEDIA_TYPE_AUDIO@GOTPAGE
Lloh10:
	ldr	x20, [x20, _AVMEDIA_TYPE_AUDIO@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_ff_all_formats
	add	x1, x21, #20
	bl	_ff_formats_ref
	tbnz	w0, #31, LBB0_15
; %bb.1:
	bl	_ff_all_samplerates
	add	x1, x21, #16
	bl	_ff_formats_ref
	tbnz	w0, #31, LBB0_15
; %bb.2:
	bl	_ff_all_channel_counts
	add	x1, x21, #12
	bl	_ff_channel_layouts_ref
	tbnz	w0, #31, LBB0_15
; %bb.3:
	ldr	x8, [sp, #8]
	cmp	x8, #1
	b.lt	LBB0_5
; %bb.4:
	mov	w9, #-1
	stp	w8, w9, [sp, #24]
	add	x0, sp, #24
	bl	_ff_make_format_list
	b	LBB0_6
LBB0_5:
	bl	_ff_all_samplerates
LBB0_6:
	add	x1, x19, #8
	bl	_ff_formats_ref
	tbnz	w0, #31, LBB0_15
; %bb.7:
	ldr	w8, [sp, #20]
Lloh11:
	adrp	x9, _AV_SAMPLE_FMT_NONE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AV_SAMPLE_FMT_NONE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.8:
	ldr	w0, [x20]
	bl	_ff_all_formats
	b	LBB0_10
LBB0_9:
	mov	w9, #-1
	stp	w8, w9, [sp, #24]
	add	x0, sp, #24
	bl	_ff_make_format_list
LBB0_10:
	add	x1, x19, #4
	bl	_ff_formats_ref
	tbnz	w0, #31, LBB0_15
; %bb.11:
	ldr	x8, [sp]
	cbz	x8, LBB0_13
; %bb.12:
	mov	x9, #-1
	stp	x8, x9, [sp, #24]
	add	x0, sp, #24
	bl	_avfilter_make_format64_list
	b	LBB0_14
LBB0_13:
	bl	_ff_all_channel_counts
LBB0_14:
	mov	x1, x19
	bl	_ff_channel_layouts_ref
LBB0_15:
	ldr	x8, [sp, #40]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"osf"

l_.str.1:                               ; @.str.1
	.asciz	"osr"

l_.str.2:                               ; @.str.2
	.asciz	"ocl"

	.comm	_AVMEDIA_TYPE_AUDIO,4,2         ; @AVMEDIA_TYPE_AUDIO
	.comm	_AV_SAMPLE_FMT_NONE,4,2         ; @AV_SAMPLE_FMT_NONE
	.no_dead_strip	_query_formats
.subsections_via_symbols
