	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function ebur128_calc_gating_block
LCPI0_0:
	.quad	0x3ff68f5c28f5c28f              ## double 1.4099999999999999
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.long	1127219200                      ## 0x43300000
	.long	1160773632                      ## 0x45300000
	.long	0                               ## 0x0
	.long	0                               ## 0x0
LCPI0_2:
	.quad	0x4330000000000000              ## double 4503599627370496
	.quad	0x4530000000000000              ## double 1.9342813113834067E+25
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_ebur128_calc_gating_block:             ## @ebur128_calc_gating_block
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r9
	testq	%r9, %r9
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movq	8(%rdi), %r12
	movq	_FF_EBUR128_UNUSED@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r9, %rax
	imulq	%rsi, %rax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	movq	_FF_EBUR128_Mp110@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movq	_FF_EBUR128_Mm110@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movq	_FF_EBUR128_Mp060@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movq	_FF_EBUR128_Mm060@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movq	_FF_EBUR128_Mp090@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	_FF_EBUR128_Mm090@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	_FF_EBUR128_DUAL_MONO@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	%esi, %eax
	andl	$3, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	%r9, %r15
	shlq	$5, %r15
	movq	%r9, %rax
	shlq	$4, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorpd	%xmm0, %xmm0
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	movq	(%r12), %rax
	leaq	-1(%rsi), %rdx
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	leaq	(,%r9,8), %r8
	leaq	(%r8,%r8,2), %rdx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	xorl	%r10d, %r10d
	xorl	%r14d, %r14d
	movq	%rsi, -192(%rbp)                ## 8-byte Spill
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_44:                                ##   in Loop: Header=BB0_3 Depth=1
	addsd	%xmm2, %xmm0
LBB0_45:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	addq	$8, %r10
	cmpq	%r9, %r14
	je	LBB0_46
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_25 Depth 2
                                        ##     Child Loop BB0_28 Depth 2
                                        ##     Child Loop BB0_12 Depth 2
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_19 Depth 2
                                        ##     Child Loop BB0_22 Depth 2
	movq	(%rax,%r14,8), %r11
	cmpq	%rcx, %r11
	je	LBB0_45
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r12), %rcx
	movq	%rcx, %rax
	orq	%r9, %rax
	shrq	$32, %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rcx, %rax
	xorl	%edx, %edx
	divq	%r9
	cmpq	-184(%rbp), %rcx                ## 8-byte Folded Reload
	jae	LBB0_23
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorpd	%xmm2, %xmm2
	cmpq	%rcx, %r9
	ja	LBB0_16
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$2, %rax
	movl	$1, %ebx
	cmovaeq	%rax, %rbx
	movq	16(%r12), %rdx
	leaq	-1(%rbx), %rdi
	movl	%ebx, %ecx
	andl	$3, %ecx
	cmpq	$3, %rdi
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	jae	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	xorpd	%xmm2, %xmm2
	xorl	%r13d, %r13d
	jmp	LBB0_13
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%r9d
                                        ## kill: def $eax killed $eax def $rax
	cmpq	-184(%rbp), %rcx                ## 8-byte Folded Reload
	jb	LBB0_8
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rcx
	subq	%rsi, %rcx
	xorpd	%xmm2, %xmm2
	cmpq	%rax, %rcx
	jae	LBB0_29
## %bb.24:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	16(%rdx), %rdx
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	xorpd	%xmm2, %xmm2
	testq	%rsi, %rsi
	je	LBB0_26
	.p2align	4, 0x90
LBB0_25:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rcx, %rdi
	imulq	%r9, %rdi
	addq	%r14, %rdi
	movsd	(%rdx,%rdi,8), %xmm3            ## xmm3 = mem[0],zero
	mulsd	%xmm3, %xmm3
	addsd	%xmm3, %xmm2
	incq	%rcx
	decq	%rsi
	jne	LBB0_25
LBB0_26:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$3, -104(%rbp)                  ## 8-byte Folded Reload
	jb	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	3(%rcx), %r13
	imulq	%r8, %r13
	addq	%r10, %r13
	leaq	2(%rcx), %rdi
	imulq	%r8, %rdi
	addq	%r10, %rdi
	leaq	1(%rcx), %rbx
	imulq	%r8, %rbx
	addq	%r10, %rbx
	movq	%r9, %rsi
	imulq	%rcx, %rsi
	addq	%r14, %rsi
	.p2align	4, 0x90
LBB0_28:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsd	(%rdx,%rsi,8), %xmm3            ## xmm3 = mem[0],zero
	mulsd	%xmm3, %xmm3
	addsd	%xmm2, %xmm3
	movsd	(%rdx,%rbx), %xmm2              ## xmm2 = mem[0],zero
	mulsd	%xmm2, %xmm2
	addsd	%xmm3, %xmm2
	movsd	(%rdx,%rdi), %xmm3              ## xmm3 = mem[0],zero
	mulsd	%xmm3, %xmm3
	addsd	%xmm2, %xmm3
	movsd	(%rdx,%r13), %xmm2              ## xmm2 = mem[0],zero
	mulsd	%xmm2, %xmm2
	addsd	%xmm3, %xmm2
	addq	$4, %rcx
	addq	%r15, %rdx
	cmpq	%rax, %rcx
	jne	LBB0_28
	jmp	LBB0_29
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	andq	$-4, %rbx
	leaq	(%rdx,%r14,8), %rdi
	xorpd	%xmm2, %xmm2
	xorl	%r13d, %r13d
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsd	(%rdi), %xmm3                   ## xmm3 = mem[0],zero
	mulsd	%xmm3, %xmm3
	addsd	%xmm2, %xmm3
	movsd	(%rdi,%r8), %xmm2               ## xmm2 = mem[0],zero
	mulsd	%xmm2, %xmm2
	addsd	%xmm3, %xmm2
	movsd	(%rdi,%rdx), %xmm3              ## xmm3 = mem[0],zero
	mulsd	%xmm3, %xmm3
	addsd	%xmm2, %xmm3
	movsd	(%rdi,%r12), %xmm2              ## xmm2 = mem[0],zero
	mulsd	%xmm2, %xmm2
	addsd	%xmm3, %xmm2
	addq	$4, %r13
	addq	%r15, %rdi
	cmpq	%rbx, %r13
	jne	LBB0_12
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	testq	%rcx, %rcx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	imulq	%r9, %r13
	addq	%r14, %r13
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%r13,8), %rdx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsd	(%rdx), %xmm3                   ## xmm3 = mem[0],zero
	mulsd	%xmm3, %xmm3
	addsd	%xmm3, %xmm2
	incq	%rdi
	addq	%r8, %rdx
	cmpq	%rcx, %rdi
	jne	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r12), %rcx
	movq	%rax, %rdi
	subq	%rsi, %rdi
	addq	%rcx, %rdi
	jae	LBB0_29
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r12), %r12
	movl	%esi, %r13d
	subl	%eax, %r13d
	notq	%rax
	addq	%rsi, %rax
	andq	$3, %r13
	je	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rdi, %rdx
	imulq	%r9, %rdx
	addq	%r14, %rdx
	movsd	(%r12,%rdx,8), %xmm3            ## xmm3 = mem[0],zero
	mulsd	%xmm3, %xmm3
	addsd	%xmm3, %xmm2
	incq	%rdi
	incq	%rbx
	cmpq	%r13, %rbx
	jne	LBB0_19
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$3, %rax
	jb	LBB0_29
## %bb.21:                              ##   in Loop: Header=BB0_3 Depth=1
	subq	%rdi, %rcx
	leaq	3(%rdi), %rax
	imulq	%r8, %rax
	addq	%r10, %rax
	leaq	2(%rdi), %rdx
	imulq	%r8, %rdx
	addq	%r10, %rdx
	leaq	1(%rdi), %rbx
	imulq	%r8, %rbx
	addq	%r10, %rbx
	imulq	%r9, %rdi
	addq	%r14, %rdi
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsd	(%r12,%rdi,8), %xmm3            ## xmm3 = mem[0],zero
	mulsd	%xmm3, %xmm3
	addsd	%xmm2, %xmm3
	movsd	(%r12,%rbx), %xmm2              ## xmm2 = mem[0],zero
	mulsd	%xmm2, %xmm2
	addsd	%xmm3, %xmm2
	movsd	(%r12,%rdx), %xmm3              ## xmm3 = mem[0],zero
	mulsd	%xmm3, %xmm3
	addsd	%xmm2, %xmm3
	movsd	(%r12,%rax), %xmm2              ## xmm2 = mem[0],zero
	mulsd	%xmm2, %xmm2
	addsd	%xmm3, %xmm2
	addq	%r15, %r12
	addq	$-4, %rcx
	jne	LBB0_22
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	-128(%rbp), %r11                ## 8-byte Folded Reload
	je	LBB0_30
## %bb.31:                              ##   in Loop: Header=BB0_3 Depth=1
	movapd	%xmm2, %xmm3
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_3 Depth=1
	movapd	%xmm2, %xmm3
	addsd	%xmm2, %xmm3
LBB0_32:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	mulsd	%xmm1, %xmm2
	movapd	%xmm2, %xmm4
	cmpq	-136(%rbp), %r11                ## 8-byte Folded Reload
	je	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_3 Depth=1
	movapd	%xmm3, %xmm4
LBB0_34:                                ##   in Loop: Header=BB0_3 Depth=1
	movapd	%xmm2, %xmm3
	cmpq	-144(%rbp), %r11                ## 8-byte Folded Reload
	movq	-192(%rbp), %rsi                ## 8-byte Reload
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_3 Depth=1
	movapd	%xmm4, %xmm3
LBB0_36:                                ##   in Loop: Header=BB0_3 Depth=1
	movapd	%xmm2, %xmm4
	cmpq	-152(%rbp), %r11                ## 8-byte Folded Reload
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_3 Depth=1
	movapd	%xmm3, %xmm4
LBB0_38:                                ##   in Loop: Header=BB0_3 Depth=1
	movapd	%xmm2, %xmm3
	cmpq	-160(%rbp), %r11                ## 8-byte Folded Reload
	je	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_3 Depth=1
	movapd	%xmm4, %xmm3
LBB0_40:                                ##   in Loop: Header=BB0_3 Depth=1
	movapd	%xmm2, %xmm4
	cmpq	-168(%rbp), %r11                ## 8-byte Folded Reload
	je	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_3 Depth=1
	movapd	%xmm3, %xmm4
LBB0_42:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	-176(%rbp), %r11                ## 8-byte Folded Reload
	je	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_3 Depth=1
	movapd	%xmm4, %xmm2
	jmp	LBB0_44
LBB0_1:
	xorpd	%xmm0, %xmm0
LBB0_46:
	movq	%rsi, %xmm1
	punpckldq	LCPI0_1(%rip), %xmm1    ## xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
	subpd	LCPI0_2(%rip), %xmm1
	movapd	%xmm1, %xmm2
	unpckhpd	%xmm1, %xmm2                    ## xmm2 = xmm2[1],xmm1[1]
	addsd	%xmm1, %xmm2
	divsd	%xmm2, %xmm0
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_48
## %bb.47:
	movsd	%xmm0, (%rax)
	jmp	LBB0_50
LBB0_48:
	movq	_histogram_energy_boundaries@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	ucomisd	(%rax), %xmm0
	jb	LBB0_50
## %bb.49:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	32(%rax), %rbx
	callq	_find_histogram_index
	incl	(%rbx,%rax,4)
LBB0_50:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FF_EBUR128_UNUSED,8,3          ## @FF_EBUR128_UNUSED
	.comm	_FF_EBUR128_Mp110,8,3           ## @FF_EBUR128_Mp110
	.comm	_FF_EBUR128_Mm110,8,3           ## @FF_EBUR128_Mm110
	.comm	_FF_EBUR128_Mp060,8,3           ## @FF_EBUR128_Mp060
	.comm	_FF_EBUR128_Mm060,8,3           ## @FF_EBUR128_Mm060
	.comm	_FF_EBUR128_Mp090,8,3           ## @FF_EBUR128_Mp090
	.comm	_FF_EBUR128_Mm090,8,3           ## @FF_EBUR128_Mm090
	.comm	_FF_EBUR128_DUAL_MONO,8,3       ## @FF_EBUR128_DUAL_MONO
	.comm	_histogram_energy_boundaries,8,3 ## @histogram_energy_boundaries
	.no_dead_strip	_ebur128_calc_gating_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ebur128_calc_gating_block
_ebur128_calc_gating_block:             ; @ebur128_calc_gating_block
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_15
; %bb.1:
	mov	x9, #0
	ldr	x10, [x0, #8]
	ldr	x11, [x10]
Lloh0:
	adrp	x12, _FF_EBUR128_UNUSED@GOTPAGE
Lloh1:
	ldr	x12, [x12, _FF_EBUR128_UNUSED@GOTPAGEOFF]
Lloh2:
	ldr	x12, [x12]
	mul	x13, x8, x1
Lloh3:
	adrp	x14, _FF_EBUR128_Mp110@GOTPAGE
Lloh4:
	ldr	x14, [x14, _FF_EBUR128_Mp110@GOTPAGEOFF]
Lloh5:
	ldr	x14, [x14]
Lloh6:
	adrp	x15, _FF_EBUR128_Mm110@GOTPAGE
Lloh7:
	ldr	x15, [x15, _FF_EBUR128_Mm110@GOTPAGEOFF]
Lloh8:
	ldr	x15, [x15]
Lloh9:
	adrp	x16, _FF_EBUR128_Mp060@GOTPAGE
Lloh10:
	ldr	x16, [x16, _FF_EBUR128_Mp060@GOTPAGEOFF]
Lloh11:
	ldr	x16, [x16]
Lloh12:
	adrp	x17, _FF_EBUR128_Mm060@GOTPAGE
Lloh13:
	ldr	x17, [x17, _FF_EBUR128_Mm060@GOTPAGEOFF]
Lloh14:
	ldr	x17, [x17]
Lloh15:
	adrp	x3, _FF_EBUR128_Mp090@GOTPAGE
Lloh16:
	ldr	x3, [x3, _FF_EBUR128_Mp090@GOTPAGEOFF]
Lloh17:
	ldr	x3, [x3]
Lloh18:
	adrp	x4, _FF_EBUR128_Mm090@GOTPAGE
Lloh19:
	ldr	x4, [x4, _FF_EBUR128_Mm090@GOTPAGEOFF]
Lloh20:
	ldr	x4, [x4]
Lloh21:
	adrp	x7, _FF_EBUR128_DUAL_MONO@GOTPAGE
Lloh22:
	ldr	x7, [x7, _FF_EBUR128_DUAL_MONO@GOTPAGEOFF]
	lsl	x5, x8, #3
	movi	d0, #0000000000000000
	mov	x6, #49807
	movk	x6, #10485, lsl #16
	movk	x6, #36700, lsl #32
	movk	x6, #16374, lsl #48
Lloh23:
	ldr	x7, [x7]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	fadd	d2, d1, d1
	cmp	x19, x7
	fcsel	d2, d2, d1, eq
	cmp	x19, x4
	ccmp	x19, x3, #4, ne
	ccmp	x19, x17, #4, ne
	ccmp	x19, x16, #4, ne
	ccmp	x19, x15, #4, ne
	ccmp	x19, x14, #4, ne
	fmov	d3, x6
	fmul	d1, d1, d3
	fcsel	d1, d1, d2, eq
	fadd	d0, d0, d1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #1
	cmp	x9, x8
	b.eq	LBB0_16
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x19, [x11, x9, lsl #3]
	cmp	x19, x12
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x21, [x10, #8]
	udiv	x20, x21, x8
	movi	d1, #0000000000000000
	cmp	x21, x13
	b.hs	LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x8, x21
	b.hi	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, #0
	ldr	x23, [x10, #16]
	cmp	x20, #1
	csinc	x22, x20, xzr, hi
	add	x23, x23, x9, lsl #3
	movi	d1, #0000000000000000
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	d2, [x23]
	fmadd	d1, d2, d2, d1
	add	x21, x21, #1
	add	x23, x23, x5
	cmp	x21, x22
	b.ne	LBB0_8
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x21, [x10, #24]
	sub	x20, x20, x1
	adds	x20, x20, x21
	b.lo	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x22, [x10, #16]
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	madd	x23, x20, x8, x9
	ldr	d2, [x22, x23, lsl #3]
	fmadd	d1, d2, d2, d1
	add	x20, x20, #1
	cmp	x20, x21
	b.ne	LBB0_11
	b	LBB0_2
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x21, x20, x1
	cmp	x21, x20
	b.hs	LBB0_2
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x22, [x10, #16]
	movi	d1, #0000000000000000
LBB0_14:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	madd	x23, x21, x8, x9
	ldr	d2, [x22, x23, lsl #3]
	fmadd	d1, d2, d2, d1
	add	x21, x21, #1
	cmp	x21, x20
	b.ne	LBB0_14
	b	LBB0_2
LBB0_15:
	movi	d0, #0000000000000000
LBB0_16:
	ucvtf	d1, x1
	fdiv	d0, d0, d1
	cbz	x2, LBB0_18
; %bb.17:
	str	d0, [x2]
	b	LBB0_20
LBB0_18:
Lloh24:
	adrp	x8, _histogram_energy_boundaries@GOTPAGE
Lloh25:
	ldr	x8, [x8, _histogram_energy_boundaries@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	ldr	d1, [x8]
	fcmp	d0, d1
	b.lt	LBB0_20
; %bb.19:
	ldr	x8, [x0, #8]
	ldr	x19, [x8, #32]
	bl	_find_histogram_index
	lsl	x8, x0, #2
	ldr	w9, [x19, x8]
	add	w9, w9, #1
	str	w9, [x19, x8]
LBB0_20:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_FF_EBUR128_UNUSED,8,3          ; @FF_EBUR128_UNUSED
	.comm	_FF_EBUR128_Mp110,8,3           ; @FF_EBUR128_Mp110
	.comm	_FF_EBUR128_Mm110,8,3           ; @FF_EBUR128_Mm110
	.comm	_FF_EBUR128_Mp060,8,3           ; @FF_EBUR128_Mp060
	.comm	_FF_EBUR128_Mm060,8,3           ; @FF_EBUR128_Mm060
	.comm	_FF_EBUR128_Mp090,8,3           ; @FF_EBUR128_Mp090
	.comm	_FF_EBUR128_Mm090,8,3           ; @FF_EBUR128_Mm090
	.comm	_FF_EBUR128_DUAL_MONO,8,3       ; @FF_EBUR128_DUAL_MONO
	.comm	_histogram_energy_boundaries,8,3 ; @histogram_energy_boundaries
	.no_dead_strip	_ebur128_calc_gating_block
.subsections_via_symbols
