	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function debug_mean_error
_debug_mean_error:                      ## @debug_mean_error
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -120(%rbp)                ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	16(%rsi), %r14d
	movl	20(%rsi), %eax
	testl	%eax, %eax
	movq	%r14, -128(%rbp)                ## 8-byte Spill
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	jle	LBB0_1
## %bb.2:
	movq	%rsi, %r13
	movq	(%rdi), %r9
	movq	(%rdx), %r10
	movq	8(%rdx), %rcx
	movslq	(%rcx), %rsi
	movq	(%r13), %rcx
	movq	8(%r13), %rdx
	movl	(%rdx), %edx
	sarl	$2, %edx
	movq	(%r10), %r12
	movq	(%rcx), %r11
	movslq	%edx, %rcx
	shlq	$3, %rsi
	movq	%rsi, -144(%rbp)                ## 8-byte Spill
	shlq	$2, %rcx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	xorl	%ebx, %ebx
	leaq	-80(%rbp), %r15
	leaq	-112(%rbp), %rsi
	movl	%eax, %ecx
	movl	%r14d, %eax
	xorl	%edx, %edx
	movq	%rdi, -160(%rbp)                ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	addq	-144(%rbp), %r12                ## 8-byte Folded Reload
	addq	-136(%rbp), %r11                ## 8-byte Folded Reload
	cmpl	%ecx, %ebx
	jge	LBB0_8
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	testl	%eax, %eax
	jle	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, -152(%rbp)                ## 8-byte Spill
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rdx, -168(%rbp)                ## 8-byte Spill
	movl	(%r11,%rbx,4), %ecx
	movq	(%r12,%rbx,8), %rax
	movl	(%r9,%rax,4), %eax
	movq	$255, -80(%rbp)
	movzbl	%ch, %edx
	movzbl	%cl, %r14d
                                        ## kill: def $ecx killed $ecx killed $rcx
	shrl	$16, %ecx
	movzbl	%cl, %ecx
	movq	%rcx, -72(%rbp)
	movq	%rdx, -64(%rbp)
	movq	%r14, -56(%rbp)
	movq	$255, -112(%rbp)
	movzbl	%ah, %ecx
	movzbl	%al, %edx
                                        ## kill: def $eax killed $eax killed $rax
	shrl	$16, %eax
	movzbl	%al, %eax
	movq	%rax, -104(%rbp)
	movq	%rcx, -96(%rbp)
	movq	%rdx, -88(%rbp)
	movl	12(%rdi), %edx
	movq	%r15, %rdi
	movq	%r9, %r15
	movq	%r11, %r14
	callq	_diff
	movq	%r14, %r11
	movq	-168(%rbp), %rdx                ## 8-byte Reload
	leaq	-112(%rbp), %rsi
	movq	%r15, %r9
	leaq	-80(%rbp), %r15
	movq	-160(%rbp), %rdi                ## 8-byte Reload
	addl	%eax, %edx
	incq	%rbx
	movslq	16(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	20(%r13), %ecx
	movq	-152(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_7
LBB0_1:
	xorl	%edx, %edx
LBB0_8:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	imull	-116(%rbp), %eax                ## 4-byte Folded Reload
	leal	(%rax,%rax,2), %eax
	cvtsi2ss	%eax, %xmm1
	movl	%edx, %eax
	addl	8(%rdi), %edx
	cvtsi2ss	%rax, %xmm0
	divss	%xmm1, %xmm0
	cvttss2si	%xmm0, %rcx
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rdx, %xmm0
	movl	%edx, 8(%rdi)
	cvtsi2ssl	-120(%rbp), %xmm2       ## 4-byte Folded Reload
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	mulss	%xmm1, %xmm2
	divss	%xmm2, %xmm0
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_av_log
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_INFO,4,2                ## @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MEP:%.3f TotalMEP:%.3f\n"

	.no_dead_strip	_debug_mean_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function debug_mean_error
lCPI0_0:
	.long	4294967280                      ; 0xfffffff0
	.long	4294967288                      ; 0xfffffff8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_debug_mean_error:                      ; @debug_mean_error
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	d9, d8, [sp, #96]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	str	w3, [sp]                        ; 4-byte Folded Spill
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #88]
	ldp	w23, w13, [x1, #16]
	cmp	w13, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x21, x1
	mov	w25, #0
	mov	w22, #0
	ldr	x26, [x20]
	ldp	x9, x8, [x2]
	ldrsw	x8, [x8]
	ldp	x11, x10, [x1]
	ldr	w10, [x10]
	asr	w10, w10, #2
	ldr	x27, [x9]
	ldr	x28, [x11]
	lsl	x9, x8, #3
	sbfiz	x8, x10, #2, #32
	stp	x8, x9, [sp, #8]                ; 16-byte Folded Spill
	mov	w24, #255
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d8, [x8, lCPI0_0@PAGEOFF]
	movi	d9, #0x0000ff000000ff
	mov	x9, x13
	mov	x8, x23
	str	w13, [sp, #4]                   ; 4-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w25, w25, #1
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	add	x27, x27, x10
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	add	x28, x28, x10
	cmp	w25, w9
	b.ge	LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x19, #0
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x28, x19, lsl #2]
	ldr	x9, [x27, x19, lsl #3]
	ldr	w9, [x26, x9, lsl #2]
	dup.2s	v0, w8
	ushl.2s	v0, v0, v8
	and.8b	v0, v0, v9
	ushll.2d	v0, v0, #0
	stur	q0, [sp, #64]
	and	x8, x8, #0xff
	str	x8, [sp, #80]
	str	x24, [sp, #24]
	dup.2s	v0, w9
	ushl.2s	v0, v0, v8
	and.8b	v0, v0, v9
	ushll.2d	v0, v0, #0
	stur	q0, [sp, #32]
	and	x8, x9, #0xff
	stp	x8, x24, [sp, #48]
	ldr	w2, [x20, #12]
	add	x0, sp, #56
	add	x1, sp, #24
	bl	_diff
	add	w22, w22, w0
	add	x19, x19, #1
	ldrsw	x8, [x21, #16]
	cmp	x19, x8
	b.lt	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x21, #20]
	ldr	w13, [sp, #4]                   ; 4-byte Folded Reload
	b	LBB0_2
LBB0_7:
	mov	w22, #0
LBB0_8:
	mul	w8, w23, w13
	add	w8, w8, w8, lsl #1
	scvtf	s0, w8
	ldr	w8, [x20, #8]
	add	w8, w8, w22
	str	w8, [x20, #8]
Lloh5:
	adrp	x9, _AV_LOG_INFO@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AV_LOG_INFO@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x9]
	ucvtf	s1, w22
	fdiv	s1, s1, s0
	fcvtzu	w3, s1
	ucvtf	s1, w8
	ldr	w8, [sp]                        ; 4-byte Folded Reload
	scvtf	s2, w8
	fmul	s0, s2, s0
	fdiv	s0, s1, s0
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	bl	_av_log
	ldr	x8, [sp, #88]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #96]               ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.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	"MEP:%.3f TotalMEP:%.3f\n"

	.no_dead_strip	_debug_mean_error
.subsections_via_symbols
