	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lfe_downsample
_lfe_downsample:                        ## @lfe_downsample
	.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
	pushq	%rax
	movl	$4168, %eax                     ## imm = 0x1048
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -4160(%rbp)               ## 8-byte Spill
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_lfe_index@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rdi), %rcx
	movslq	(%rax,%rcx,4), %rax
	movq	%rax, -4152(%rbp)               ## 8-byte Spill
	movq	32(%rdi), %rax
	movslq	8(%rdi), %rcx
	movq	-8(%rax,%rcx,8), %rsi
	leaq	-4144(%rbp), %rdi
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_memcpy
	movq	_DCA_LFE_SAMPLES@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_13
## %bb.1:
	xorl	%eax, %eax
	xorl	%r9d, %r9d
	xorl	%edx, %edx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-4176(%rbp), %rdx               ## 8-byte Reload
	addl	$64, %edx
	andl	$511, %edx                      ## imm = 0x1FF
	incq	%r9
	movq	_DCA_LFE_SAMPLES@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	leal	64(%r10), %eax
	cmpq	%rcx, %r9
	jge	LBB0_13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_9 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
	movq	%r9, -4200(%rbp)                ## 8-byte Spill
	movl	%edx, %ecx
	cltq
	leaq	2(%rax), %rdx
	movq	%rdx, -4192(%rbp)               ## 8-byte Spill
	movq	%rax, -4168(%rbp)               ## 8-byte Spill
	incq	%rax
	movq	%rax, -4184(%rbp)               ## 8-byte Spill
	movl	$512, %r15d                     ## imm = 0x200
	subl	%ecx, %r15d
	movl	%ecx, %eax
	movq	%rax, -4176(%rbp)               ## 8-byte Spill
	leaq	-4144(,%rax,8), %r13
	addq	%rbp, %r13
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r13,%rbx,8), %rdi
	movq	24(%r12), %rax
	movl	(%rax,%rbx,4), %esi
	callq	_mul32
	addq	%rax, %r14
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-4176(%rbp), %rbx               ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	shlq	$2, %r15
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-4144(%rbp,%r13,8), %rdi
	movq	24(%r12), %rax
	addq	%r15, %rax
	movl	(%rax,%r13,4), %esi
	callq	_mul32
	addq	%rax, %r14
	incq	%r13
	cmpq	%r13, %rbx
	jne	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r12), %rax
	movq	-4200(%rbp), %r9                ## 8-byte Reload
	movq	%r14, (%rax,%r9,8)
	movslq	8(%r12), %rsi
	cmpq	$1, %rsi
	jne	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-4192(%rbp), %rax               ## 8-byte Reload
	imulq	%rsi, %rax
	movq	%rbx, %rdi
	movq	-4160(%rbp), %rbx               ## 8-byte Reload
	leaq	(%rbx,%rax,8), %rax
	leaq	(,%rsi,4), %rcx
	leaq	-4136(%rbp), %rdx
	leaq	(%rdx,%rdi,8), %rdx
	addq	$8, %rdx
	movq	-4168(%rbp), %r10               ## 8-byte Reload
	movq	%r10, %rdi
	imulq	%rsi, %rdi
	leaq	(%rbx,%rdi,8), %rsi
	movq	-4152(%rbp), %rdi               ## 8-byte Reload
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	(%rsi,%rdi,8), %xmm0
	movups	%xmm0, -16(%rdx,%rbx,8)
	movups	(%rax,%rdi,8), %xmm0
	movups	%xmm0, (%rdx,%rbx,8)
	addq	$4, %rbx
	addq	%rcx, %rdi
	cmpq	$64, %rbx
	jne	LBB0_11
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-4184(%rbp), %rcx               ## 8-byte Reload
	imulq	%rsi, %rcx
	movq	-4160(%rbp), %rax               ## 8-byte Reload
	leaq	(%rax,%rcx,8), %r8
	leaq	(%rsi,%rsi), %rcx
	leaq	-4136(%rbp), %rdx
	leaq	(%rdx,%rbx,8), %rdx
	movq	-4168(%rbp), %r10               ## 8-byte Reload
	movq	%r10, %rdi
	imulq	%rsi, %rdi
	leaq	(%rax,%rdi,8), %rsi
	movq	-4152(%rbp), %rdi               ## 8-byte Reload
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rsi,%rdi,8), %rax
	movq	%rax, -8(%rdx,%rbx,8)
	movq	(%r8,%rdi,8), %rax
	movq	%rax, (%rdx,%rbx,8)
	addq	$2, %rbx
	addq	%rcx, %rdi
	cmpq	$64, %rbx
	jne	LBB0_9
	jmp	LBB0_12
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	addq	$4168, %rsp                     ## imm = 0x1048
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_lfe_index,8,3                  ## @lfe_index
	.comm	_DCA_LFE_SAMPLES,4,2            ## @DCA_LFE_SAMPLES
	.no_dead_strip	_lfe_downsample
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lfe_downsample
_lfe_downsample:                        ; @lfe_downsample
	.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
	mov	w9, #4128
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #32
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
	mov	x20, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh5:
	adrp	x8, _lfe_index@GOTPAGE
Lloh6:
	ldr	x8, [x8, _lfe_index@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x0]
	ldrsw	x21, [x8, x9, lsl #2]
	ldr	x8, [x0, #32]
	ldrsw	x9, [x0, #8]
	add	x8, x8, x9, lsl #3
	ldur	x1, [x8, #-8]
	add	x22, sp, #16
	add	x0, sp, #16
	mov	w2, #4096
	bl	_memcpy
Lloh8:
	adrp	x8, _DCA_LFE_SAMPLES@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DCA_LFE_SAMPLES@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.1:
	mov	w9, #0
	mov	x24, #0
	mov	w8, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w19, #64
	and	w8, w8, #0x1ff
	add	x24, x24, #1
Lloh11:
	adrp	x9, _DCA_LFE_SAMPLES@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DCA_LFE_SAMPLES@GOTPAGEOFF]
Lloh13:
	ldrsw	x10, [x9]
	add	w9, w26, #64
	cmp	x24, x10
	b.ge	LBB0_13
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
	mov	x25, #0
	mov	x28, #0
	sxtw	x26, w9
	mov	w9, #512
	sub	w23, w9, w8
	mov	w19, w8
	add	x27, x22, w8, uxtw #3
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x27, x25, lsl #3]
	ldr	x8, [x20, #24]
	ldr	w1, [x8, x25, lsl #2]
	bl	_mul32
	add	x28, x0, x28
	add	x25, x25, #1
	cmp	x23, x25
	b.ne	LBB0_4
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w19, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	lsl	x25, x23, #2
	add	x23, sp, #16
	mov	x27, x19
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x23], #8
	ldr	x8, [x20, #24]
	ldr	w1, [x8, x25]
	bl	_mul32
	add	x28, x0, x28
	add	x25, x25, #4
	subs	x27, x27, #1
	b.ne	LBB0_7
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #16]
	str	x28, [x8, x24, lsl #3]
	ldrsw	x11, [x20, #8]
	cmp	w11, #1
	b.ne	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #0
	madd	x9, x11, x26, x21
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	add	x9, x10, x9, lsl #3
	lsl	x10, x11, #4
	add	x11, x22, x19, lsl #3
LBB0_10:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	q0, [x9]
	str	q0, [x11, x8]
	add	x9, x9, x10
	add	x8, x8, #16
	cmp	x8, #512
	b.ne	LBB0_10
	b	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #0
	add	x9, x22, x19, lsl #3
	madd	x10, x11, x26, x21
	ldr	x12, [sp, #8]                   ; 8-byte Folded Reload
	add	x10, x12, x10, lsl #3
	lsl	x11, x11, #3
LBB0_12:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x12, [x10]
	str	x12, [x9, x8]
	add	x8, x8, #8
	add	x10, x10, x11
	cmp	x8, #512
	b.ne	LBB0_12
	b	LBB0_2
LBB0_13:
	ldur	x8, [x29, #-96]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #32
	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_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_lfe_index,8,3                  ; @lfe_index
	.comm	_DCA_LFE_SAMPLES,4,2            ; @DCA_LFE_SAMPLES
	.no_dead_strip	_lfe_downsample
.subsections_via_symbols
