	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function print_stats
LCPI0_0:
	.quad	0x40c3880000000000              ## double 1.0E+4
LCPI0_1:
	.quad	0x3fc999999999999a              ## double 0.20000000000000001
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_2:
	.long	0x00000000                      ## float 0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_print_stats:                           ## @print_stats
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rbx
	movl	(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	xorl	%r13d, %r13d
	xorps	%xmm0, %xmm0
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	callq	_sqrt
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	movss	-48(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	divss	%xmm0, %xmm1
	movaps	%xmm1, %xmm0
	callq	_log10
                                        ## kill: def $eax killed $eax def $rax
	shll	$2, %eax
	leal	(%rax,%rax,4), %eax
	xorps	%xmm1, %xmm1
	cvtsi2ss	%eax, %xmm1
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	addss	%xmm1, %xmm0
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	incq	%r13
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r13d, %xmm0
	cvtss2sd	%xmm1, %xmm1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rdx
	movb	$2, %al
	callq	_av_log
	movslq	(%rbx), %rax
	cmpq	%rax, %r13
	jge	LBB0_22
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##     Child Loop BB0_13 Depth 2
	movq	8(%rbx), %r14
	leaq	(,%r13,2), %r15
	addq	%r13, %r15
	leaq	(%r14,%r15,8), %r12
	movq	%r12, %rdi
	callq	_finish_block
	movq	16(%r14,%r15,8), %rcx
	movl	$80000, %eax                    ## imm = 0x13880
	addq	%rax, %rcx
	xorl	%eax, %eax
	xorl	%edx, %edx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=2
	addq	$2, %rax
	addq	$-16, %rcx
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$0, (%rcx)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	testl	%edx, %edx
	movl	$1, %edx
	jne	LBB0_12
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	cmpq	$10000, %rax                    ## imm = 0x2710
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=2
	cmpq	$0, -8(%rcx)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=2
	testl	%edx, %edx
	movl	$1, %edx
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$10001, %eax                    ## imm = 0x2711
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$10000, %ecx                    ## imm = 0x2710
	subl	%eax, %ecx
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ecx, %xmm0
	divsd	LCPI0_0(%rip), %xmm0
	cvtsd2ss	%xmm0, %xmm0
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	leaq	(%r14,%r15,8), %r14
	addq	$8, %r14
	xorps	%xmm2, %xmm2
	xorl	%r15d, %r15d
	movl	$10000, %ebx                    ## imm = 0x2710
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_13 Depth=2
	addq	$-1, %rbx
	jae	LBB0_17
LBB0_13:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorps	%xmm1, %xmm1
	cvtsi2sd	%r15d, %xmm1
	movsd	(%r12), %xmm0                   ## xmm0 = mem[0],zero
	mulsd	LCPI0_1(%rip), %xmm0
	ucomisd	%xmm1, %xmm0
	jbe	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	(%r14), %rax
	cmpl	$0, (%rax,%rbx,4)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=2
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ebx, %xmm0
	divsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %edi
	movss	%xmm2, -52(%rbp)                ## 4-byte Spill
	callq	_SQR
	movss	-52(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %eax
	xorps	%xmm1, %xmm1
	cvtsi2ss	%eax, %xmm1
	mulss	%xmm0, %xmm1
	addss	%xmm1, %xmm2
	addl	%eax, %r15d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movsd	(%r12), %xmm0                   ## xmm0 = mem[0],zero
	mulsd	LCPI0_1(%rip), %xmm0
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	xorps	%xmm1, %xmm1
	cvtss2sd	%xmm2, %xmm1
	divsd	%xmm0, %xmm1
	xorps	%xmm0, %xmm0
	cvtsd2ss	%xmm1, %xmm0
	ucomiss	LCPI0_2(%rip), %xmm0
	jb	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	sqrtss	%xmm0, %xmm0
	jmp	LBB0_21
LBB0_22:
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	jmp	LBB0_23
LBB0_1:
	xorps	%xmm0, %xmm0
LBB0_23:
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rcx
	xorps	%xmm1, %xmm1
	cvtsi2ss	%eax, %xmm1
	movl	(%rcx), %esi
	divss	%xmm1, %xmm0
	leaq	L_.str.1(%rip), %rdx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movb	$1, %al
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_av_log                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_INFO,4,2                ## @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Channel %d: DR: %.1f\n"

L_.str.1:                               ## @.str.1
	.asciz	"Overall DR: %.1f\n"

	.no_dead_strip	_print_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_stats
_print_stats:                           ; @print_stats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x23, [x0]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.1:
	mov	x24, #0
	movi	d8, #0000000000000000
	mov	w19, #24
	mov	x27, #-10001
	mov	x28, #149533581377536
	movk	x28, #16579, lsl #48
	mov	x22, #-7378697629483820647
	movk	x22, #39322
	movk	x22, #16329, lsl #48
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x25, [x23, #8]
	madd	x21, x24, x19, x25
	mov	x0, x21
	bl	_finish_block
	mov	x8, #0
	mov	w10, #0
	ldr	x9, [x21, #16]
	mov	w11, #14464
	movk	w11, #1, lsl #16
	add	x9, x9, x11
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=2
	mov	w10, #1
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=2
	sub	x8, x8, #1
	cmp	x8, x27
	b.eq	LBB0_8
LBB0_5:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x9, x8, lsl #3]
	cbz	x11, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	cbz	w10, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	neg	w8, w8
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #10001
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w26, #0
	mov	w20, #10000
	sub	w8, w20, w8
	scvtf	d0, w8
	fmov	d1, x28
	fdiv	d0, d0, d1
	fcvt	s9, d0
	madd	x8, x24, x19, x25
	add	x25, x8, #8
	movi	d10, #0000000000000000
	mov	w19, #40000
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	sub	x19, x19, #4
	sub	w20, w20, #1
	cmn	x19, #4
	b.eq	LBB0_14
LBB0_11:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	scvtf	d1, w26
	ldr	d0, [x21]
	fmov	d2, x22
	fmul	d0, d0, d2
	fcmp	d0, d1
	b.le	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [x25]
	ldr	w8, [x8, x19]
	cbz	w8, LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	scvtf	d0, w20
	fmov	d1, x28
	fdiv	d0, d0, d1
	fcvtzs	w0, d0
	bl	_SQR
	ldr	x8, [x25]
	ldr	w8, [x8, x19]
	scvtf	s1, w8
	fmadd	s10, s0, s1, s10
	add	w26, w8, w26
	b	LBB0_10
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	d0, [x21]
	fmov	d1, x22
	fmul	d0, d0, d1
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	fcvt	d1, s10
	fdiv	d0, d1, d0
	fcvt	s1, d0
	fsqrt	s0, s1
	fcmp	s0, s0
	mov	w19, #24
	b.vs	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	fdiv	s0, s9, s0
	bl	_log10
	add	w8, w0, w0, lsl #2
	lsl	w8, w8, #2
	scvtf	s1, w8
	fadd	s8, s8, s1
Lloh0:
	adrp	x8, _AV_LOG_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x24, x24, #1
	scvtf	s0, w24
	fcvt	d1, s1
	str	d1, [sp]
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
	ldrsw	x8, [x23]
	cmp	x24, x8
	b.lt	LBB0_2
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
	fmov	s0, s1
	bl	_sqrt
	b	LBB0_16
LBB0_18:
	movi	d8, #0000000000000000
LBB0_19:
Lloh5:
	adrp	x9, _AV_LOG_INFO@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AV_LOG_INFO@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x9]
	scvtf	s0, w8
	fdiv	s0, s8, s0
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_av_log
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_INFO,4,2                ; @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Channel %d: DR: %.1f\n"

l_.str.1:                               ; @.str.1
	.asciz	"Overall DR: %.1f\n"

	.no_dead_strip	_print_stats
.subsections_via_symbols
