	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	16(%rdi), %r15
	cmpq	$0, 8(%r15)
	je	LBB0_2
## %bb.1:
	movq	8(%r14), %rax
	movq	8(%rax), %rbx
	leaq	_query_formats.pix_fmts(%rip), %rdi
	callq	_ff_make_format_list
	addq	$4, %rbx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_ff_formats_ref
	testl	%eax, %eax
	js	LBB0_12
LBB0_2:
	xorl	%eax, %eax
	callq	_ff_all_channel_counts
	testq	%rax, %rax
	je	LBB0_13
## %bb.3:
	movq	%rax, %rbx
	cmpq	$0, (%r15)
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ff_set_common_channel_layouts
	testl	%eax, %eax
	js	LBB0_12
LBB0_10:
	leaq	_query_formats.sample_fmts(%rip), %rdi
	callq	_ff_make_format_list
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_ff_set_common_formats
	testl	%eax, %eax
	js	LBB0_12
## %bb.11:
	xorl	%eax, %eax
	callq	_ff_all_samplerates
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_ff_set_common_samplerates
	jmp	LBB0_12
LBB0_13:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_5:
	movq	$0, -32(%rbp)
	movq	_AV_CH_LAYOUT_MONO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdi
	callq	_ff_add_channel_layout
	testl	%eax, %eax
	je	LBB0_6
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	(%r14), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_ff_channel_layouts_ref
	testl	%eax, %eax
	js	LBB0_12
## %bb.7:
	movq	8(%r14), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_ff_channel_layouts_ref
	testl	%eax, %eax
	js	LBB0_12
## %bb.8:
	movq	-32(%rbp), %rdi
	movq	(%r14), %rax
	movq	8(%rax), %rsi
	callq	_ff_channel_layouts_ref
	testl	%eax, %eax
	jns	LBB0_10
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @query_formats.sample_fmts
_query_formats.sample_fmts:
	.long	129                             ## 0x81
	.long	128                             ## 0x80

	.p2align	2                               ## @query_formats.pix_fmts
_query_formats.pix_fmts:
	.long	130                             ## 0x82
	.long	131                             ## 0x83

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_CH_LAYOUT_MONO,4,2          ## @AV_CH_LAYOUT_MONO
	.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	x21, [x0, #16]
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	x20, [x8, #8]
Lloh0:
	adrp	x0, _query_formats.pix_fmts@PAGE
Lloh1:
	add	x0, x0, _query_formats.pix_fmts@PAGEOFF
	bl	_ff_make_format_list
	add	x1, x20, #4
	bl	_ff_formats_ref
	tbnz	w0, #31, LBB0_9
LBB0_2:
	bl	_ff_all_channel_counts
	cbz	x0, LBB0_7
; %bb.3:
	mov	x20, x0
	ldr	x8, [x21]
	cbz	x8, LBB0_8
; %bb.4:
	mov	x0, x19
	mov	x1, x20
	bl	_ff_set_common_channel_layouts
	tbnz	w0, #31, LBB0_9
LBB0_5:
Lloh2:
	adrp	x0, _query_formats.sample_fmts@PAGE
Lloh3:
	add	x0, x0, _query_formats.sample_fmts@PAGEOFF
	bl	_ff_make_format_list
	mov	x1, x0
	mov	x0, x19
	bl	_ff_set_common_formats
	tbnz	w0, #31, LBB0_9
; %bb.6:
	bl	_ff_all_samplerates
	mov	x1, x0
	mov	x0, x19
	bl	_ff_set_common_samplerates
	b	LBB0_9
LBB0_7:
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	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
	b	_AVERROR
LBB0_8:
	str	xzr, [sp, #8]
Lloh7:
	adrp	x8, _AV_CH_LAYOUT_MONO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AV_CH_LAYOUT_MONO@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_ff_add_channel_layout
	cbz	w0, LBB0_10
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
LBB0_10:
	ldr	x8, [x19]
	ldr	x1, [x8]
	mov	x0, x20
	bl	_ff_channel_layouts_ref
	tbnz	w0, #31, LBB0_9
; %bb.11:
	ldr	x8, [x19, #8]
	ldr	x1, [x8]
	mov	x0, x20
	bl	_ff_channel_layouts_ref
	tbnz	w0, #31, LBB0_9
; %bb.12:
	ldr	x0, [sp, #8]
	ldr	x8, [x19]
	ldr	x1, [x8, #8]
	bl	_ff_channel_layouts_ref
	tbz	w0, #31, LBB0_5
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @query_formats.sample_fmts
_query_formats.sample_fmts:
	.long	129                             ; 0x81
	.long	128                             ; 0x80

	.p2align	2                               ; @query_formats.pix_fmts
_query_formats.pix_fmts:
	.long	130                             ; 0x82
	.long	131                             ; 0x83

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_CH_LAYOUT_MONO,4,2          ; @AV_CH_LAYOUT_MONO
	.no_dead_strip	_query_formats
.subsections_via_symbols
