	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function query_formats
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
LCPI0_2:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
LCPI0_3:
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
LCPI0_4:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
LCPI0_5:
	.long	20                              ## 0x14
	.long	20                              ## 0x14
	.long	20                              ## 0x14
	.long	20                              ## 0x14
LCPI0_6:
	.long	24                              ## 0x18
	.long	24                              ## 0x18
	.long	24                              ## 0x18
	.long	24                              ## 0x18
LCPI0_7:
	.long	28                              ## 0x1c
	.long	28                              ## 0x1c
	.long	28                              ## 0x1c
	.long	28                              ## 0x1c
LCPI0_8:
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_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	$296, %rsp                      ## imm = 0x128
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -320(%rbp)                ## 8-byte Spill
	movq	16(%rdi), %r15
	movq	_SWR_CH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	(,%rbx,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	cmpl	$0, (%r15)
	jle	LBB0_16
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	movq	%rax, -312(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %edi
	callq	_av_get_channel_layout_nb_channels
	movq	16(%r15), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	%r14d, %ecx
	movq	-312(%rbp), %rdx                ## 8-byte Reload
	andl	%edx, %ecx
	cmpl	$1, %ecx
	sbbl	$-1, %r12d
	orl	%r14d, %edx
	movq	%rdx, -312(%rbp)                ## 8-byte Spill
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-324(%rbp), %r14d               ## 4-byte Reload
	addl	%eax, %r14d
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-320(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rax
	movq	(%rax,%rbx,8), %rax
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, -324(%rbp)               ## 4-byte Spill
	movq	8(%rax), %rax
	movl	(%rax), %r14d
	movl	%r14d, (%r13,%rbx,4)
	cmpl	$2, %ecx
	jl	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-304(%rbp), %rdi
	movl	$256, %esi                      ## imm = 0x100
	xorl	%edx, %edx
	movl	%r14d, %ecx
	callq	_av_get_channel_layout_string
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leal	1(%rbx), %r8d
	movq	-320(%rbp), %rdi                ## 8-byte Reload
	leaq	L_.str.1(%rip), %rdx
	leaq	-304(%rbp), %rcx
	xorl	%eax, %eax
	callq	_av_log
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %edi
	callq	_FF_LAYOUT2COUNT
	movq	16(%r15), %rcx
	movl	%eax, (%rcx,%rbx,4)
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%r12d
	jmp	LBB0_10
LBB0_4:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	incl	%ebx
	leaq	L_.str(%rip), %rdx
	movq	-320(%rbp), %rdi                ## 8-byte Reload
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_av_log
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_16:
	xorl	%eax, %eax
	testl	%ebx, %ebx
	js	LBB0_17
LBB0_31:
	movq	%rax, -312(%rbp)                ## 8-byte Spill
	movq	%rsp, %r14
	movl	%ebx, %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r11
	movq	8(%r15), %rcx
	movq	%rcx, (%r11)
	movl	(%r15), %edx
	cmpl	$2, %edx
	jl	LBB0_39
## %bb.32:
	movq	16(%r15), %rdi
	leaq	-1(%rdx), %r10
	leaq	-2(%rdx), %r9
	movl	%r10d, %r8d
	andl	$3, %r8d
	movl	$1, %ebx
	cmpq	$3, %r9
	jb	LBB0_36
## %bb.33:
	andq	$-4, %r10
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%rdi,%rbx,4), %rsi
	leaq	(%rcx,%rsi,4), %rcx
	movq	%rcx, 8(%r11,%rbx,8)
	movslq	4(%rdi,%rbx,4), %rsi
	leaq	(%rcx,%rsi,4), %rcx
	movq	%rcx, 16(%r11,%rbx,8)
	movslq	8(%rdi,%rbx,4), %rsi
	leaq	(%rcx,%rsi,4), %rcx
	movq	%rcx, 24(%r11,%rbx,8)
	movslq	12(%rdi,%rbx,4), %rsi
	leaq	(%rcx,%rsi,4), %rcx
	movq	%rcx, 32(%r11,%rbx,8)
	addq	$4, %rbx
	cmpq	%rbx, %r10
	jne	LBB0_34
## %bb.35:
	incq	%rbx
LBB0_36:
	testq	%r8, %r8
	je	LBB0_39
## %bb.37:
	leaq	(%r11,%rbx,8), %r9
	leaq	(%rdi,%rbx,4), %rdi
	addq	$-4, %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_38:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%rdi,%rbx,4), %rsi
	leaq	(%rcx,%rsi,4), %rcx
	movq	%rcx, (%r9,%rbx,8)
	incq	%rbx
	cmpq	%rbx, %r8
	jne	LBB0_38
LBB0_39:
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_45:                                ##   in Loop: Header=BB0_40 Depth=1
	incl	%ecx
	cmpl	$64, %ecx
	je	LBB0_46
LBB0_40:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_42 Depth 2
	testl	%edx, %edx
	jle	LBB0_45
## %bb.41:                              ##   in Loop: Header=BB0_40 Depth=1
	movl	$1, %edi
	shll	%cl, %edi
	xorl	%ebx, %ebx
	jmp	LBB0_42
	.p2align	4, 0x90
LBB0_44:                                ##   in Loop: Header=BB0_42 Depth=2
	incq	%rbx
	movslq	%edx, %rax
	cmpq	%rax, %rbx
	jge	LBB0_45
LBB0_42:                                ##   Parent Loop BB0_40 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%edi, (%r13,%rbx,4)
	je	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_42 Depth=2
	movq	(%r11,%rbx,8), %rdx
	leaq	4(%rdx), %rax
	movq	%rax, (%r11,%rbx,8)
	movl	%esi, (%rdx)
	incl	%esi
	movl	(%r15), %edx
	jmp	LBB0_44
LBB0_46:
	movq	%r14, %rsp
LBB0_47:
	movq	_ff_packed_sample_fmts_array@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ff_make_format_list
	movq	-320(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_ff_set_common_formats
	testl	%eax, %eax
	js	LBB0_56
## %bb.48:
	cmpl	$0, (%r15)
	jle	LBB0_53
## %bb.49:
	xorl	%ebx, %ebx
	leaq	-304(%rbp), %r14
	.p2align	4, 0x90
LBB0_51:                                ## =>This Inner Loop Header: Depth=1
	movq	$0, -304(%rbp)
	movl	(%r13,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_ff_add_channel_layout
	testl	%eax, %eax
	js	LBB0_56
## %bb.52:                              ##   in Loop: Header=BB0_51 Depth=1
	movq	-304(%rbp), %rdi
	movq	8(%r12), %rax
	movq	(%rax,%rbx,8), %rsi
	callq	_ff_channel_layouts_ref
	testl	%eax, %eax
	js	LBB0_56
## %bb.50:                              ##   in Loop: Header=BB0_51 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_51
LBB0_53:
	movq	$0, -304(%rbp)
	leaq	-304(%rbp), %rdi
	movq	-312(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ff_add_channel_layout
	testl	%eax, %eax
	js	LBB0_56
## %bb.54:
	movq	-304(%rbp), %rdi
	movq	(%r12), %rax
	movq	(%rax), %rsi
	callq	_ff_channel_layouts_ref
	testl	%eax, %eax
	js	LBB0_56
## %bb.55:
	xorl	%eax, %eax
	callq	_ff_all_samplerates
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_ff_set_common_samplerates
	jmp	LBB0_56
LBB0_11:
	movq	_SWR_CH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	cmpl	%ebx, %r14d
	jle	LBB0_12
LBB0_17:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	-320(%rbp), %rdi                ## 8-byte Reload
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_av_log
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_56:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_58
## %bb.57:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	testl	%r12d, %r12d
	movq	-312(%rbp), %rax                ## 8-byte Reload
	je	LBB0_31
## %bb.13:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	-320(%rbp), %rdi                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_av_log
	testl	%r14d, %r14d
	jle	LBB0_28
## %bb.14:
	movq	8(%r15), %rax
	movl	%r14d, %ecx
	cmpl	$8, %r14d
	jae	LBB0_19
## %bb.15:
	xorl	%edx, %edx
	jmp	LBB0_27
LBB0_19:
	movl	%ecx, %edx
	andl	$-8, %edx
	leaq	-8(%rdx), %rbx
	movq	%rbx, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %esi
	andl	$3, %esi
	cmpq	$24, %rbx
	jae	LBB0_21
## %bb.20:
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,1,2,3]
	xorl	%ebx, %ebx
	jmp	LBB0_23
LBB0_21:
	andq	$-4, %rdi
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,1,2,3]
	xorl	%ebx, %ebx
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm9            ## xmm9 = [8,8,8,8]
	movdqa	LCPI0_3(%rip), %xmm10           ## xmm10 = [12,12,12,12]
	movdqa	LCPI0_4(%rip), %xmm4            ## xmm4 = [16,16,16,16]
	movdqa	LCPI0_5(%rip), %xmm5            ## xmm5 = [20,20,20,20]
	movdqa	LCPI0_6(%rip), %xmm6            ## xmm6 = [24,24,24,24]
	movdqa	LCPI0_7(%rip), %xmm7            ## xmm7 = [28,28,28,28]
	movdqa	LCPI0_8(%rip), %xmm1            ## xmm1 = [32,32,32,32]
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm2
	paddd	%xmm8, %xmm2
	movdqu	%xmm0, (%rax,%rbx,4)
	movdqu	%xmm2, 16(%rax,%rbx,4)
	movdqa	%xmm0, %xmm2
	paddd	%xmm9, %xmm2
	movdqa	%xmm0, %xmm3
	paddd	%xmm10, %xmm3
	movdqu	%xmm2, 32(%rax,%rbx,4)
	movdqu	%xmm3, 48(%rax,%rbx,4)
	movdqa	%xmm0, %xmm2
	paddd	%xmm4, %xmm2
	movdqa	%xmm0, %xmm3
	paddd	%xmm5, %xmm3
	movdqu	%xmm2, 64(%rax,%rbx,4)
	movdqu	%xmm3, 80(%rax,%rbx,4)
	movdqa	%xmm0, %xmm2
	paddd	%xmm6, %xmm2
	movdqa	%xmm0, %xmm3
	paddd	%xmm7, %xmm3
	movdqu	%xmm2, 96(%rax,%rbx,4)
	movdqu	%xmm3, 112(%rax,%rbx,4)
	addq	$32, %rbx
	paddd	%xmm1, %xmm0
	addq	$-4, %rdi
	jne	LBB0_22
LBB0_23:
	testq	%rsi, %rsi
	je	LBB0_26
## %bb.24:
	leaq	(%rax,%rbx,4), %rdi
	addq	$16, %rdi
	shlq	$5, %rsi
	xorl	%ebx, %ebx
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm2            ## xmm2 = [8,8,8,8]
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm3
	paddd	%xmm1, %xmm3
	movdqu	%xmm0, -16(%rdi,%rbx)
	movdqu	%xmm3, (%rdi,%rbx)
	paddd	%xmm2, %xmm0
	addq	$32, %rbx
	cmpq	%rbx, %rsi
	jne	LBB0_25
LBB0_26:
	cmpq	%rcx, %rdx
	je	LBB0_28
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movl	%edx, (%rax,%rdx,4)
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_27
LBB0_28:
	movl	%r14d, %edi
	callq	_av_get_default_channel_layout
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -312(%rbp)                ## 8-byte Spill
	testl	%eax, %eax
	jne	LBB0_47
## %bb.29:
	testl	%r14d, %r14d
	je	LBB0_47
## %bb.30:
	negb	%r14b
	movq	$-1, %rax
	movl	%r14d, %ecx
	shrq	%cl, %rax
	movq	%rax, -312(%rbp)                ## 8-byte Spill
	jmp	LBB0_47
LBB0_58:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SWR_CH_MAX,4,2                 ## @SWR_CH_MAX
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No channel layout for input %d\n"

	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_AV_LOG_INFO,4,2                ## @AV_LOG_INFO
L_.str.1:                               ## @.str.1
	.asciz	"Using \"%s\" for input %d\n"

	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"Too many channels (max %d)\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.3:                               ## @.str.3
	.asciz	"Input channel layouts overlap: output layout will be determined by the number of distinct input channels\n"

	.comm	_ff_packed_sample_fmts_array,4,2 ## @ff_packed_sample_fmts_array
	.no_dead_strip	_query_formats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function query_formats
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_query_formats:                         ; @query_formats
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #272
	mov	x19, sp
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	ldr	x25, [x0, #16]
Lloh3:
	adrp	x8, _SWR_CH_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SWR_CH_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x8]
	lsl	x8, x12, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x26, x9, x8
	mov	sp, x26
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x27, #0
	mov	w21, #0
	mov	w22, #0
	mov	w28, #0
Lloh8:
	adrp	x23, l_.str.1@PAGE
Lloh9:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	bl	_av_get_channel_layout_nb_channels
	ldr	x8, [x25, #16]
	str	w0, [x8, x27, lsl #2]
	tst	w24, w21
	cinc	w28, w28, ne
	orr	w21, w24, w21
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w22, w0, w22
	add	x27, x27, #1
	ldrsw	x8, [x25]
	cmp	x27, x8
	b.ge	LBB0_33
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x27, lsl #3]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x8]
	cbz	w9, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x8, #8]
	ldr	w24, [x8]
	str	w24, [x26, x27, lsl #2]
	cmp	w9, #2
	b.lt	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x19, #0
	mov	w1, #256
	mov	w2, #0
	mov	x3, x24
	bl	_av_get_channel_layout_string
Lloh10:
	adrp	x8, _AV_LOG_INFO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AV_LOG_INFO@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	add	x9, x27, #1
	add	x8, x19, #0
	stp	x8, x9, [sp, #-16]!
	mov	x0, x20
	mov	x2, x23
	bl	_av_log
	add	sp, sp, #16
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	bl	_FF_LAYOUT2COUNT
	ldr	x8, [x25, #16]
	str	w0, [x8, x27, lsl #2]
	cbz	w0, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w28, w28, #1
	b	LBB0_3
LBB0_10:
Lloh13:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	add	x8, x27, #1
	str	x8, [sp, #-16]!
Lloh16:
	adrp	x2, l_.str@PAGE
Lloh17:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_av_log
	add	sp, sp, #16
Lloh18:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
	b	LBB0_35
LBB0_11:
	tbnz	w12, #31, LBB0_34
; %bb.12:
	mov	w21, #0
LBB0_13:
	mov	x0, sp
	mov	w8, w12
	lsl	x8, x8, #3
	mov	x9, x8
Lloh20:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh21:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x8, x9, x8
	mov	sp, x8
	ldr	x10, [x25, #8]
	str	x10, [x8]
	ldr	w9, [x25]
	cmp	w9, #2
	b.lt	LBB0_16
; %bb.14:
	ldr	x11, [x25, #16]
	add	x12, x8, #8
	sub	x13, x9, #1
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x14, [x11], #4
	add	x10, x10, x14, lsl #2
	str	x10, [x12], #8
	subs	x13, x13, #1
	b.ne	LBB0_15
LBB0_16:
	mov	w11, #0
	mov	w10, #0
	mov	w12, #1
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	w10, w10, #1
	cmp	w10, #64
	b.eq	LBB0_23
LBB0_18:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_21 Depth 2
	cmp	w9, #1
	b.lt	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x13, #0
	lsl	w14, w12, w10
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=2
	add	x13, x13, #1
	cmp	x13, w9, sxtw
	b.ge	LBB0_17
LBB0_21:                                ;   Parent Loop BB0_18 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w15, [x26, x13, lsl #2]
	tst	w15, w14
	b.eq	LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=2
	lsl	x9, x13, #3
	ldr	x15, [x8, x9]
	str	w11, [x15], #4
	add	w11, w11, #1
	str	x15, [x8, x9]
	ldr	w9, [x25]
	b	LBB0_20
LBB0_23:
	mov	sp, x0
LBB0_24:
Lloh22:
	adrp	x8, _ff_packed_sample_fmts_array@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ff_packed_sample_fmts_array@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_ff_make_format_list
	mov	x1, x0
	mov	x0, x20
	bl	_ff_set_common_formats
	tbnz	w0, #31, LBB0_36
; %bb.25:
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_30
; %bb.26:
	mov	x22, #0
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	str	xzr, [x19]
	ldr	w1, [x26, x22, lsl #2]
	add	x0, x19, #0
	bl	_ff_add_channel_layout
	tbnz	w0, #31, LBB0_36
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
	ldr	x0, [x19]
	ldr	x8, [x20, #8]
	ldr	x1, [x8, x22, lsl #3]
	bl	_ff_channel_layouts_ref
	tbnz	w0, #31, LBB0_36
; %bb.29:                               ;   in Loop: Header=BB0_27 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x25]
	cmp	x22, x8
	b.lt	LBB0_27
LBB0_30:
	str	xzr, [x19]
	add	x0, x19, #0
	mov	x1, x21
	bl	_ff_add_channel_layout
	tbnz	w0, #31, LBB0_36
; %bb.31:
	ldr	x0, [x19]
	ldr	x8, [x20]
	ldr	x1, [x8]
	bl	_ff_channel_layouts_ref
	tbnz	w0, #31, LBB0_36
; %bb.32:
	bl	_ff_all_samplerates
	mov	x1, x0
	mov	x0, x20
	bl	_ff_set_common_samplerates
	b	LBB0_36
LBB0_33:
Lloh25:
	adrp	x8, _SWR_CH_MAX@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SWR_CH_MAX@GOTPAGEOFF]
Lloh27:
	ldr	w12, [x8]
	cmp	w22, w12
	b.le	LBB0_38
LBB0_34:
Lloh28:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
                                        ; kill: def $w12 killed $w12 killed $x12 def $x12
	str	x12, [sp, #-16]!
Lloh31:
	adrp	x2, l_.str.2@PAGE
Lloh32:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_av_log
	add	sp, sp, #16
Lloh33:
	adrp	x8, _EINVAL@GOTPAGE
Lloh34:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_35:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_36:
	ldur	x8, [x29, #-96]
Lloh35:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh36:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_47
; %bb.37:
	sub	sp, x29, #80
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_38:
	cbz	w28, LBB0_13
; %bb.39:
Lloh38:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh39:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
Lloh41:
	adrp	x2, l_.str.3@PAGE
Lloh42:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_av_log
	cmp	w22, #1
	b.lt	LBB0_46
; %bb.40:
	ldr	x8, [x25, #8]
	cmp	w22, #16
	b.hs	LBB0_42
; %bb.41:
	mov	x9, #0
	b	LBB0_45
LBB0_42:
	and	x9, x22, #0xfffffff0
Lloh43:
	adrp	x10, lCPI0_0@PAGE
Lloh44:
	ldr	q0, [x10, lCPI0_0@PAGEOFF]
	add	x10, x8, #32
	movi.4s	v1, #4
	movi.4s	v2, #8
	movi.4s	v3, #12
	movi.4s	v4, #16
	mov	x11, x9
LBB0_43:                                ; =>This Inner Loop Header: Depth=1
	add.4s	v5, v0, v1
	add.4s	v6, v0, v2
	add.4s	v7, v0, v3
	stp	q0, q5, [x10, #-32]
	stp	q6, q7, [x10], #64
	add.4s	v0, v0, v4
	subs	x11, x11, #16
	b.ne	LBB0_43
; %bb.44:
	cmp	x9, x22
	b.eq	LBB0_46
LBB0_45:                                ; =>This Inner Loop Header: Depth=1
	str	w9, [x8, x9, lsl #2]
	add	x9, x9, #1
	cmp	x22, x9
	b.ne	LBB0_45
LBB0_46:
	mov	x0, x22
	bl	_av_get_default_channel_layout
	neg	w8, w22
	mov	x9, #-1
	lsr	x8, x9, x8
	cmp	w22, #0
	csel	w8, w0, w8, eq
	cmp	w0, #0
	csel	w21, w0, w8, ne
	b	LBB0_24
LBB0_47:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdr	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_SWR_CH_MAX,4,2                 ; @SWR_CH_MAX
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No channel layout for input %d\n"

	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_AV_LOG_INFO,4,2                ; @AV_LOG_INFO
l_.str.1:                               ; @.str.1
	.asciz	"Using \"%s\" for input %d\n"

	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"Too many channels (max %d)\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.3:                               ; @.str.3
	.asciz	"Input channel layouts overlap: output layout will be determined by the number of distinct input channels\n"

	.comm	_ff_packed_sample_fmts_array,4,2 ; @ff_packed_sample_fmts_array
	.no_dead_strip	_query_formats
.subsections_via_symbols
