	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function qdm2_synthesis_filter
LCPI0_0:
	.long	0x4b000000                      ## float 8388608
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_qdm2_synthesis_filter:                 ## @qdm2_synthesis_filter
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movl	$0, -68(%rbp)
	movl	(%rdi), %edi
	callq	_QDM2_SB_USED
	movl	4(%r13), %ebx
	testl	%ebx, %ebx
	jle	LBB0_5
## %bb.1:
	movl	%eax, %edx
	movq	_SBLIMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,8), %eax
	movslq	%edx, %r15
	movl	%r15d, %ecx
	notl	%ecx
	addl	%esi, %ecx
	leaq	8(,%rcx,8), %r12
	movslq	%eax, %rcx
	leaq	1(%rcx), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	leaq	2(%rcx), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	leaq	3(%rcx), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	leaq	4(%rcx), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	leaq	5(%rcx), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	leaq	6(%rcx), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rax
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	leaq	7(%rcx), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	shlq	$3, %r15
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, -64(%rbp)                 ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	cmpq	%r14, %rbx
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, %edx
	jge	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	40(%r13), %rax
	movq	(%rax,%r14,8), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rdi
	addq	%r15, %rdi
	movq	%r12, %rsi
	callq	___bzero
	movq	40(%r13), %rax
	movq	(%rax,%r14,8), %rax
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	movq	(%rax,%rcx,8), %rdi
	addq	%r15, %rdi
	movq	%r12, %rsi
	callq	___bzero
	movq	40(%r13), %rax
	movq	(%rax,%r14,8), %rax
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movq	(%rax,%rcx,8), %rdi
	addq	%r15, %rdi
	movq	%r12, %rsi
	callq	___bzero
	movq	40(%r13), %rax
	movq	(%rax,%r14,8), %rax
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movq	(%rax,%rcx,8), %rdi
	addq	%r15, %rdi
	movq	%r12, %rsi
	callq	___bzero
	movq	40(%r13), %rax
	movq	(%rax,%r14,8), %rax
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	(%rax,%rcx,8), %rdi
	addq	%r15, %rdi
	movq	%r12, %rsi
	callq	___bzero
	movq	40(%r13), %rax
	movq	(%rax,%r14,8), %rax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	(%rax,%rcx,8), %rdi
	addq	%r15, %rdi
	movq	%r12, %rsi
	callq	___bzero
	movq	40(%r13), %rax
	movq	(%rax,%r14,8), %rax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rdi
	addq	%r15, %rdi
	movq	%r12, %rsi
	callq	___bzero
	movq	40(%r13), %rax
	movq	(%rax,%r14,8), %rax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rdi
	addq	%r15, %rdi
	movq	%r12, %rsi
	callq	___bzero
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	jmp	LBB0_4
LBB0_5:
	movl	8(%r13), %r10d
	testl	%r10d, %r10d
	jle	LBB0_11
## %bb.6:
	leaq	64(%r13), %rdi
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	shll	$3, %eax
	movslq	%eax, %r15
	shlq	$3, %r15
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_ff_mpa_synth_window_float@GOTPCREL(%rip), %r11
	leaq	-68(%rbp), %r14
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, -144(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(,%rax,4), %rax
	movq	16(%r13), %rbx
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	addq	%rax, %rbx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	40(%r13), %r9
	movq	56(%r13), %rcx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %esi
	movq	48(%r13), %rdx
	addq	-64(%rbp), %rdx                 ## 8-byte Folded Reload
	movl	(%r11), %ecx
	movq	(%r9,%rax,8), %rax
	addq	%r15, %rax
	movq	%r15, %r13
	movq	%r14, %r8
	movq	%rbx, %r9
	pushq	(%rax,%r12,8)
	pushq	%r10
	movq	%r11, %r15
	callq	_ff_mpa_synth_filter_float
	movq	%r15, %r11
	movq	%r13, %r15
	movq	-144(%rbp), %r13                ## 8-byte Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addq	$16, %rsp
	movl	8(%r13), %r10d
	movslq	%r10d, %rcx
	movq	%rcx, %rax
	shlq	$7, %rax
	addq	%rax, %rbx
	incq	%r12
	cmpq	$8, %r12
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	incq	%rdx
	movq	%rdx, %rax
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	cmpq	%rcx, %rdx
	jl	LBB0_7
## %bb.10:
	movl	4(%r13), %ebx
LBB0_11:
	movb	(%r13), %cl
	movl	$4, %r8d
	shrl	%cl, %r8d
	testl	%ebx, %ebx
	jle	LBB0_17
## %bb.12:
	movl	24(%r13), %edx
	xorl	%ecx, %ecx
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_13 Depth=1
	incl	%ecx
	cmpl	%ebx, %ecx
	jge	LBB0_17
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
	testl	%edx, %edx
	jle	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	16(%r13), %r9
	movq	32(%r13), %rsi
	xorl	%edi, %edi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	8(%r13), %edx
	imull	%edi, %edx
	addl	%ecx, %edx
	imull	%eax, %ebx
	addl	%ecx, %ebx
	movslq	%ebx, %rbx
	xorps	%xmm1, %xmm1
	cvtsi2ssl	(%rsi,%rbx,4), %xmm1
	movslq	%edx, %rdx
	movss	(%r9,%rdx,4), %xmm2             ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm2
	addss	%xmm1, %xmm2
	cvttss2si	%xmm2, %edx
	movl	%edx, (%rsi,%rbx,4)
	incl	%eax
	movl	4(%r13), %ebx
	movl	24(%r13), %edx
	addl	%r8d, %edi
	cmpl	%edx, %eax
	jl	LBB0_15
	jmp	LBB0_16
LBB0_17:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SBLIMIT,4,2                    ## @SBLIMIT
	.comm	_ff_mpa_synth_window_float,4,2  ## @ff_mpa_synth_window_float
	.no_dead_strip	_qdm2_synthesis_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qdm2_synthesis_filter
_qdm2_synthesis_filter:                 ; @qdm2_synthesis_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x21, x1
	mov	x19, x0
	str	wzr, [sp, #60]
	ldr	w0, [x0]
	bl	_QDM2_SB_USED
	ldr	w22, [x19, #4]
	lsl	w8, w21, #3
	str	x8, [sp]                        ; 8-byte Folded Spill
	cmp	w22, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x20, x0
	mov	x24, #0
Lloh0:
	adrp	x8, _SBLIMIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SBLIMIT@GOTPAGEOFF]
	sxtw	x9, w20
	mvn	w10, w0
Lloh2:
	ldr	w25, [x8]
	add	w8, w25, w10
	lsl	x8, x8, #3
	add	x21, x8, #8
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	sxtw	x26, w8
	orr	x10, x26, #0x1
	orr	x8, x26, #0x2
	stp	x8, x10, [sp, #40]              ; 16-byte Folded Spill
	orr	x10, x26, #0x3
	orr	x8, x26, #0x4
	stp	x8, x10, [sp, #24]              ; 16-byte Folded Spill
	mov	w8, #5
	orr	x8, x26, x8
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	orr	x8, x26, #0x6
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	orr	x27, x26, #0x7
	lsl	x28, x22, #3
	lsl	x23, x9, #3
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #8
	cmp	x28, x24
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w20, w25
	b.ge	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #40]
	ldr	x8, [x8, x24]
	ldr	x8, [x8, x26, lsl #3]
	add	x0, x8, x23
	mov	x1, x21
	bl	_bzero
	ldr	x8, [x19, #40]
	ldr	x8, [x8, x24]
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	ldr	x8, [x8, x9, lsl #3]
	add	x0, x8, x23
	mov	x1, x21
	bl	_bzero
	ldr	x8, [x19, #40]
	ldr	x8, [x8, x24]
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	ldr	x8, [x8, x9, lsl #3]
	add	x0, x8, x23
	mov	x1, x21
	bl	_bzero
	ldr	x8, [x19, #40]
	ldr	x8, [x8, x24]
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldr	x8, [x8, x9, lsl #3]
	add	x0, x8, x23
	mov	x1, x21
	bl	_bzero
	ldr	x8, [x19, #40]
	ldr	x8, [x8, x24]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x8, [x8, x9, lsl #3]
	add	x0, x8, x23
	mov	x1, x21
	bl	_bzero
	ldr	x8, [x19, #40]
	ldr	x8, [x8, x24]
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x8, [x8, x9, lsl #3]
	add	x0, x8, x23
	mov	x1, x21
	bl	_bzero
	ldr	x8, [x19, #40]
	ldr	x8, [x8, x24]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x8, x9, lsl #3]
	add	x0, x8, x23
	mov	x1, x21
	bl	_bzero
	ldr	x8, [x19, #40]
	ldr	x8, [x8, x24]
	ldr	x8, [x8, x27, lsl #3]
	add	x0, x8, x23
	mov	x1, x21
	bl	_bzero
	b	LBB0_2
LBB0_5:
	ldr	w6, [x19, #8]
	cmp	w6, #1
	b.lt	LBB0_11
; %bb.6:
	mov	x22, #0
	add	x20, x19, #64
	ldr	x8, [sp]                        ; 8-byte Folded Reload
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	sbfiz	x23, x8, #3, #32
Lloh3:
	adrp	x24, _ff_mpa_synth_window_float@GOTPAGE
Lloh4:
	ldr	x24, [x24, _ff_mpa_synth_window_float@GOTPAGEOFF]
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	mov	x25, #0
	ldr	x8, [x19, #16]
	add	x21, x8, x22, lsl #2
LBB0_8:                                 ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #56]
	lsl	x9, x22, #2
	ldr	w1, [x8, x9]
	ldp	x10, x8, [x19, #40]
	add	x2, x8, x9
	ldr	w3, [x24]
	ldr	x8, [x10, x22, lsl #3]
	add	x8, x8, x23
	ldr	x7, [x8, x25]
	add	x4, sp, #60
	mov	x0, x20
	mov	x5, x21
                                        ; kill: def $w6 killed $w6 killed $x6
	bl	_ff_mpa_synth_filter_float
	ldr	w6, [x19, #8]
	sxtw	x8, w6
	add	x21, x21, x8, lsl #7
	add	x25, x25, #8
	cmp	x25, #64
	b.ne	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x22, #1
	cmp	x22, x8
	b.lt	LBB0_7
; %bb.10:
	ldr	w22, [x19, #4]
LBB0_11:
	cmp	w22, #1
	b.lt	LBB0_19
; %bb.12:
	mov	w8, #0
	ldr	w9, [x19]
	mov	w10, #4
	lsr	w9, w10, w9
	ldr	w10, [x19, #24]
	movi.2s	v0, #75, lsl #24
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	w22, [x19, #4]
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	w8, w8, #1
	cmp	w8, w22
	b.ge	LBB0_19
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
	cmp	w10, #1
	b.lt	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x11, [x19, #16]
	ldr	x12, [x19, #32]
	mov	w10, w8
	lsl	x10, x10, #2
	ldr	s1, [x11, x10]
	ldr	s2, [x12, x10]
	scvtf	s2, s2
	fmadd	s1, s1, s0, s2
	fcvtzs	w13, s1
	str	w13, [x12, x10]
	ldr	w10, [x19, #24]
	cmp	w10, #2
	b.lt	LBB0_13
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w13, #1
	mov	x14, x9
LBB0_18:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	w10, w15, [x19, #4]
	madd	w15, w14, w15, w8
	madd	w10, w10, w13, w8
	sbfiz	x10, x10, #2, #32
	ldr	s1, [x11, w15, sxtw #2]
	ldr	s2, [x12, x10]
	scvtf	s2, s2
	fmadd	s1, s1, s0, s2
	fcvtzs	w15, s1
	str	w15, [x12, x10]
	add	w13, w13, #1
	ldr	w10, [x19, #24]
	add	w14, w14, w9
	cmp	w13, w10
	b.lt	LBB0_18
	b	LBB0_13
LBB0_19:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SBLIMIT,4,2                    ; @SBLIMIT
	.comm	_ff_mpa_synth_window_float,4,2  ; @ff_mpa_synth_window_float
	.no_dead_strip	_qdm2_synthesis_filter
.subsections_via_symbols
