	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	$0, -24(%rbp)
	movq	$0, -16(%rbp)
	movq	_AV_SAMPLE_FMT_S16@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdi
	callq	_ff_add_format
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	movq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_ff_set_common_formats
	testl	%eax, %eax
	js	LBB0_5
## %bb.2:
	movq	_AV_CH_LAYOUT_STEREO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdi
	callq	_ff_add_channel_layout
	testl	%eax, %eax
	js	LBB0_5
## %bb.3:
	movq	-16(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_ff_set_common_channel_layouts
	testl	%eax, %eax
	js	LBB0_5
## %bb.4:
	leaq	_query_formats.sample_rates(%rip), %rdi
	callq	_ff_make_format_list
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_ff_set_common_samplerates
	movl	%eax, %ecx
	sarl	$31, %eax
	andl	%ecx, %eax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @query_formats.sample_rates
_query_formats.sample_rates:
	.long	44100                           ## 0xac44
	.long	4294967295                      ## 0xffffffff

	.comm	_AV_SAMPLE_FMT_S16,4,2          ## @AV_SAMPLE_FMT_S16
	.comm	_AV_CH_LAYOUT_STEREO,4,2        ## @AV_CH_LAYOUT_STEREO
	.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, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	stp	xzr, xzr, [sp]
Lloh0:
	adrp	x8, _AV_SAMPLE_FMT_S16@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_SAMPLE_FMT_S16@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_ff_add_format
	tbnz	w0, #31, LBB0_5
; %bb.1:
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_ff_set_common_formats
	tbnz	w0, #31, LBB0_5
; %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_5
; %bb.3:
	ldr	x1, [sp]
	mov	x0, x19
	bl	_ff_set_common_channel_layouts
	tbnz	w0, #31, LBB0_5
; %bb.4:
Lloh6:
	adrp	x0, _query_formats.sample_rates@PAGE
Lloh7:
	add	x0, x0, _query_formats.sample_rates@PAGEOFF
	bl	_ff_make_format_list
	mov	x1, x0
	mov	x0, x19
	bl	_ff_set_common_samplerates
	cmp	w0, #0
	csel	w0, w0, wzr, lt
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @query_formats.sample_rates
_query_formats.sample_rates:
	.long	44100                           ; 0xac44
	.long	4294967295                      ; 0xffffffff

	.comm	_AV_SAMPLE_FMT_S16,4,2          ; @AV_SAMPLE_FMT_S16
	.comm	_AV_CH_LAYOUT_STEREO,4,2        ; @AV_CH_LAYOUT_STEREO
	.no_dead_strip	_query_formats
.subsections_via_symbols
