	.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	16(%rdi), %rax
	movq	(%rdi), %rcx
	movq	8(%rdi), %rdx
	movq	(%rdx), %r14
	movq	(%rcx), %r15
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	leaq	_query_formats.pix_fmts(%rip), %rdi
	callq	_ff_make_format_list
	addq	$16, %r15
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_ff_formats_ref
	testl	%eax, %eax
	js	LBB0_9
## %bb.2:
	movq	(%rbx), %rax
	movq	8(%rax), %r15
LBB0_3:
	leaq	_query_formats.sample_fmts(%rip), %rdi
	callq	_ff_make_format_list
	movq	%rax, %rbx
	leaq	20(%r14), %rsi
	movq	%rax, %rdi
	callq	_ff_formats_ref
	testl	%eax, %eax
	js	LBB0_9
## %bb.4:
	leaq	16(%r15), %rsi
	movq	%rbx, %rdi
	callq	_ff_formats_ref
	testl	%eax, %eax
	js	LBB0_9
## %bb.5:
	xorl	%eax, %eax
	callq	_ff_all_channel_layouts
	movq	%rax, %rbx
	leaq	12(%r14), %rsi
	movq	%rax, %rdi
	callq	_ff_channel_layouts_ref
	testl	%eax, %eax
	js	LBB0_9
## %bb.6:
	leaq	8(%r15), %rsi
	movq	%rbx, %rdi
	callq	_ff_channel_layouts_ref
	testl	%eax, %eax
	js	LBB0_9
## %bb.7:
	leaq	_query_formats.input_srate(%rip), %rdi
	callq	_ff_make_format_list
	movq	%rax, %rbx
	addq	$4, %r14
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_ff_formats_ref
	testl	%eax, %eax
	js	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ff_formats_ref
	movl	%eax, %ecx
	sarl	$31, %ecx
	andl	%ecx, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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.input_srate
_query_formats.input_srate:
	.long	48000                           ## 0xbb80
	.long	4294967295                      ## 0xffffffff

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

	.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:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldp	x9, x8, [x0, #8]
	ldr	x10, [x0]
	ldr	x21, [x9]
	ldr	x19, [x10]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x0, _query_formats.pix_fmts@PAGE
Lloh1:
	add	x0, x0, _query_formats.pix_fmts@PAGEOFF
	bl	_ff_make_format_list
	add	x1, x19, #16
	bl	_ff_formats_ref
	tbnz	w0, #31, LBB0_9
; %bb.2:
	ldr	x8, [x20]
	ldr	x19, [x8, #8]
LBB0_3:
Lloh2:
	adrp	x0, _query_formats.sample_fmts@PAGE
Lloh3:
	add	x0, x0, _query_formats.sample_fmts@PAGEOFF
	bl	_ff_make_format_list
	mov	x20, x0
	add	x1, x21, #20
	bl	_ff_formats_ref
	tbnz	w0, #31, LBB0_9
; %bb.4:
	add	x1, x19, #16
	mov	x0, x20
	bl	_ff_formats_ref
	tbnz	w0, #31, LBB0_9
; %bb.5:
	bl	_ff_all_channel_layouts
	mov	x20, x0
	add	x1, x21, #12
	bl	_ff_channel_layouts_ref
	tbnz	w0, #31, LBB0_9
; %bb.6:
	add	x1, x19, #8
	mov	x0, x20
	bl	_ff_channel_layouts_ref
	tbnz	w0, #31, LBB0_9
; %bb.7:
Lloh4:
	adrp	x0, _query_formats.input_srate@PAGE
Lloh5:
	add	x0, x0, _query_formats.input_srate@PAGEOFF
	bl	_ff_make_format_list
	mov	x20, x0
	add	x1, x21, #4
	bl	_ff_formats_ref
	tbnz	w0, #31, LBB0_9
; %bb.8:
	mov	x0, x20
	mov	x1, x19
	bl	_ff_formats_ref
	cmp	w0, #0
	csel	w0, w0, wzr, lt
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.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.input_srate
_query_formats.input_srate:
	.long	48000                           ; 0xbb80
	.long	4294967295                      ; 0xffffffff

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

	.no_dead_strip	_query_formats
.subsections_via_symbols
