	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx), %r12
	movq	(%rax), %r14
	movq	_AVMEDIA_TYPE_AUDIO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_ff_all_formats
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	%rax, %r15
	movl	(%rbx), %edi
	callq	_ff_all_formats
	testq	%rax, %rax
	je	LBB0_13
## %bb.2:
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_ff_all_samplerates
	testq	%rax, %rax
	je	LBB0_13
## %bb.3:
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_ff_all_samplerates
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_13
## %bb.4:
	xorl	%eax, %eax
	callq	_ff_all_channel_layouts
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:
	xorl	%eax, %eax
	callq	_ff_all_channel_layouts
	testq	%rax, %rax
	je	LBB0_13
## %bb.6:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	20(%r12), %rsi
	movq	%r15, %rdi
	callq	_ff_formats_ref
	testl	%eax, %eax
	js	LBB0_12
## %bb.7:
	leaq	16(%r14), %rsi
	movq	%rbx, %rdi
	callq	_ff_formats_ref
	testl	%eax, %eax
	js	LBB0_12
## %bb.8:
	leaq	12(%r12), %rsi
	movq	%r13, %rdi
	callq	_ff_formats_ref
	testl	%eax, %eax
	js	LBB0_12
## %bb.9:
	leaq	8(%r14), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_ff_formats_ref
	testl	%eax, %eax
	js	LBB0_12
## %bb.10:
	addq	$4, %r12
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_ff_channel_layouts_ref
	testl	%eax, %eax
	js	LBB0_12
## %bb.11:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_ff_channel_layouts_ref
	movl	%eax, %ecx
	sarl	$31, %ecx
	andl	%ecx, %eax
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AVMEDIA_TYPE_AUDIO,4,2         ## @AVMEDIA_TYPE_AUDIO
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.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	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldp	x9, x8, [x0]
	ldr	x26, [x8]
	ldr	x19, [x9]
Lloh0:
	adrp	x20, _AVMEDIA_TYPE_AUDIO@GOTPAGE
Lloh1:
	ldr	x20, [x20, _AVMEDIA_TYPE_AUDIO@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_ff_all_formats
	cbz	x0, LBB0_13
; %bb.1:
	mov	x25, x0
	ldr	w0, [x20]
	bl	_ff_all_formats
	cbz	x0, LBB0_13
; %bb.2:
	mov	x24, x0
	bl	_ff_all_samplerates
	cbz	x0, LBB0_13
; %bb.3:
	mov	x23, x0
	bl	_ff_all_samplerates
	cbz	x0, LBB0_13
; %bb.4:
	mov	x22, x0
	bl	_ff_all_channel_layouts
	cbz	x0, LBB0_13
; %bb.5:
	mov	x21, x0
	bl	_ff_all_channel_layouts
	cbz	x0, LBB0_13
; %bb.6:
	mov	x20, x0
	add	x1, x26, #20
	mov	x0, x25
	bl	_ff_formats_ref
	tbnz	w0, #31, LBB0_12
; %bb.7:
	add	x1, x19, #16
	mov	x0, x24
	bl	_ff_formats_ref
	tbnz	w0, #31, LBB0_12
; %bb.8:
	add	x1, x26, #12
	mov	x0, x23
	bl	_ff_formats_ref
	tbnz	w0, #31, LBB0_12
; %bb.9:
	add	x1, x19, #8
	mov	x0, x22
	bl	_ff_formats_ref
	tbnz	w0, #31, LBB0_12
; %bb.10:
	add	x1, x26, #4
	mov	x0, x21
	bl	_ff_channel_layouts_ref
	tbnz	w0, #31, LBB0_12
; %bb.11:
	mov	x0, x20
	mov	x1, x19
	bl	_ff_channel_layouts_ref
	cmp	w0, #0
	csel	w0, w0, wzr, lt
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_13:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AVMEDIA_TYPE_AUDIO,4,2         ; @AVMEDIA_TYPE_AUDIO
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_query_formats
.subsections_via_symbols
