	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function get_tilt_comp
LCPI0_0:
	.long	16384                           ## 0x4000
	.long	16384                           ## 0x4000
	.long	16384                           ## 0x4000
	.long	16384                           ## 0x4000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_get_tilt_comp:                         ## @get_tilt_comp
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	40(%rsi), %r14
	movl	$4096, 40(%rsi)                 ## imm = 0x1000
	leaq	44(%rsi), %r12
	leaq	4(%rdx), %rsi
	movq	%r12, %rdi
	movq	%r12, %rdx
	movl	$22, %ecx
	movl	$10, %r8d
	xorl	%r9d, %r9d
	pushq	$2048                           ## imm = 0x800
	pushq	$0
	callq	_ff_celp_lp_synthesis_filter
	addq	$16, %rsp
	movq	%r14, %rdi
	movq	%r14, %rsi
	movl	$20, %edx
	callq	*(%r15)
	movl	%eax, %r13d
	movq	%r14, %rdi
	xorl	%r14d, %r14d
	movq	%r12, %rsi
	movl	$20, %edx
	callq	*(%r15)
	movl	%eax, %r15d
	movl	%r13d, %edi
	callq	_av_log2
                                        ## kill: def $eax killed $eax def $rax
	leal	-14(%rax), %ecx
	cmpl	$15, %eax
	movzbl	%cl, %ecx
	cmovll	%r14d, %ecx
	sarl	%cl, %r15d
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %r13d
	movl	%r15d, %edi
	callq	_FFABS
	cmpl	%r13d, %eax
	jg	LBB0_15
## %bb.1:
	testl	%r13d, %r13d
	je	LBB0_15
## %bb.2:
	movl	40(%rbx), %edi
	callq	_FFABS
	movl	%eax, %r14d
	movl	44(%rbx), %edi
	callq	_FFABS
	movl	%eax, %r12d
	addl	%r14d, %r12d
	movl	48(%rbx), %edi
	callq	_FFABS
	movl	%eax, %r14d
	addl	%r12d, %r14d
	movl	52(%rbx), %edi
	callq	_FFABS
	movl	%eax, %r12d
	addl	%r14d, %r12d
	movl	56(%rbx), %edi
	callq	_FFABS
	movl	%eax, %r14d
	addl	%r12d, %r14d
	movl	60(%rbx), %edi
	callq	_FFABS
	movl	%eax, %r12d
	addl	%r14d, %r12d
	movl	64(%rbx), %edi
	callq	_FFABS
	movl	%eax, %r14d
	addl	%r12d, %r14d
	movl	68(%rbx), %edi
	callq	_FFABS
	movl	%eax, %r12d
	addl	%r14d, %r12d
	movl	72(%rbx), %edi
	callq	_FFABS
	movl	%eax, %r14d
	addl	%r12d, %r14d
	movl	76(%rbx), %edi
	callq	_FFABS
	movl	%eax, %r12d
	addl	%r14d, %r12d
	movl	80(%rbx), %edi
	callq	_FFABS
	movl	%eax, %r14d
	addl	%r12d, %r14d
	movl	84(%rbx), %edi
	callq	_FFABS
	movl	%eax, %r12d
	addl	%r14d, %r12d
	movl	88(%rbx), %edi
	callq	_FFABS
	movl	%eax, %r14d
	addl	%r12d, %r14d
	movl	92(%rbx), %edi
	callq	_FFABS
	movl	%eax, %r12d
	addl	%r14d, %r12d
	movl	96(%rbx), %edi
	callq	_FFABS
	movl	%eax, %r14d
	addl	%r12d, %r14d
	movl	100(%rbx), %edi
	callq	_FFABS
	movl	%eax, %r12d
	addl	%r14d, %r12d
	movl	104(%rbx), %edi
	callq	_FFABS
	movl	%eax, %r14d
	addl	%r12d, %r14d
	movl	108(%rbx), %edi
	callq	_FFABS
	movl	%eax, %r12d
	addl	%r14d, %r12d
	movl	112(%rbx), %edi
	callq	_FFABS
	movl	%eax, %r14d
	addl	%r12d, %r14d
	movl	116(%rbx), %edi
	callq	_FFABS
	movl	%eax, %ecx
	addl	%r14d, %ecx
	cmpl	$4100, %ecx                     ## imm = 0x1004
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jl	LBB0_14
## %bb.3:
	shrl	$2, %ecx
	movl	$33554432, %eax                 ## imm = 0x2000000
	xorl	%edx, %edx
	divl	%ecx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_14
## %bb.4:
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, %ecx
	cmpl	$8, %edx
	jae	LBB0_6
## %bb.5:
	xorl	%edx, %edx
	jmp	LBB0_13
LBB0_6:
	movl	%ecx, %edx
	andl	$-8, %edx
	movd	%eax, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	-8(%rdx), %rsi
	movq	%rsi, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.8:
	movq	%r8, %rdi
	andq	$-2, %rdi
	xorl	%esi, %esi
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [16384,16384,16384,16384]
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rbx,%rsi,4), %xmm2
	movdqu	16(%rbx,%rsi,4), %xmm3
	movdqu	32(%rbx,%rsi,4), %xmm4
	movdqu	48(%rbx,%rsi,4), %xmm5
	pmulld	%xmm0, %xmm2
	pmulld	%xmm0, %xmm3
	paddd	%xmm1, %xmm2
	paddd	%xmm1, %xmm3
	psrad	$15, %xmm2
	psrad	$15, %xmm3
	movdqu	%xmm2, (%rbx,%rsi,4)
	movdqu	%xmm3, 16(%rbx,%rsi,4)
	pmulld	%xmm0, %xmm4
	pmulld	%xmm0, %xmm5
	paddd	%xmm1, %xmm4
	paddd	%xmm1, %xmm5
	psrad	$15, %xmm4
	psrad	$15, %xmm5
	movdqu	%xmm4, 32(%rbx,%rsi,4)
	movdqu	%xmm5, 48(%rbx,%rsi,4)
	addq	$16, %rsi
	addq	$-2, %rdi
	jne	LBB0_9
## %bb.10:
	testb	$1, %r8b
	je	LBB0_12
LBB0_11:
	movdqu	(%rbx,%rsi,4), %xmm1
	movdqu	16(%rbx,%rsi,4), %xmm2
	pmulld	%xmm0, %xmm1
	pmulld	%xmm0, %xmm2
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [16384,16384,16384,16384]
	paddd	%xmm0, %xmm1
	paddd	%xmm0, %xmm2
	psrad	$15, %xmm1
	psrad	$15, %xmm2
	movdqu	%xmm1, (%rbx,%rsi,4)
	movdqu	%xmm2, 16(%rbx,%rsi,4)
LBB0_12:
	cmpq	%rcx, %rdx
	je	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rdx,4), %esi
	imull	%eax, %esi
	addl	$16384, %esi                    ## imm = 0x4000
	sarl	$15, %esi
	movl	%esi, (%rbx,%rdx,4)
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_13
LBB0_14:
	shll	$15, %r15d
	negl	%r15d
	movl	%r15d, %eax
	cltd
	idivl	%r13d
	movl	%eax, %r14d
LBB0_15:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorl	%esi, %esi
	testb	$1, %r8b
	jne	LBB0_11
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_tilt_comp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_tilt_comp
_get_tilt_comp:                         ; @get_tilt_comp
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x4
	mov	x19, x3
	mov	x22, x1
	mov	x20, x0
	mov	w8, #4096
	mov	x23, x1
	str	w8, [x23, #40]!
	add	x24, x23, #4
	add	x1, x2, #4
	mov	x0, x24
	mov	x2, x24
	mov	w3, #22
	mov	w4, #10
	mov	w5, #0
	mov	w6, #0
	mov	w7, #2048
	bl	_ff_celp_lp_synthesis_filter
	ldr	x8, [x20]
	mov	x0, x23
	mov	x1, x23
	mov	w2, #20
	blr	x8
	mov	x25, x0
	ldr	x8, [x20]
	mov	x0, x23
	mov	x1, x24
	mov	w2, #20
	blr	x8
	mov	x20, x0
	mov	x0, x25
	bl	_av_log2
	subs	w8, w0, #14
	csel	w8, w8, wzr, gt
	asr	w20, w20, w8
	asr	w24, w25, w8
	mov	x0, x20
	bl	_FFABS
	mov	x8, x0
	mov	w0, #0
	cmp	w8, w24
	ccmp	w24, #0, #4, le
	b.eq	LBB0_10
; %bb.1:
	ldr	w0, [x22, #40]
	bl	_FFABS
	mov	x23, x0
	ldr	w0, [x22, #44]
	bl	_FFABS
	add	w23, w0, w23
	ldr	w0, [x22, #48]
	bl	_FFABS
	add	w23, w0, w23
	ldr	w0, [x22, #52]
	bl	_FFABS
	add	w23, w0, w23
	ldr	w0, [x22, #56]
	bl	_FFABS
	add	w23, w0, w23
	ldr	w0, [x22, #60]
	bl	_FFABS
	add	w23, w0, w23
	ldr	w0, [x22, #64]
	bl	_FFABS
	add	w23, w0, w23
	ldr	w0, [x22, #68]
	bl	_FFABS
	add	w23, w0, w23
	ldr	w0, [x22, #72]
	bl	_FFABS
	add	w23, w0, w23
	ldr	w0, [x22, #76]
	bl	_FFABS
	add	w23, w0, w23
	ldr	w0, [x22, #80]
	bl	_FFABS
	add	w23, w0, w23
	ldr	w0, [x22, #84]
	bl	_FFABS
	add	w23, w0, w23
	ldr	w0, [x22, #88]
	bl	_FFABS
	add	w23, w0, w23
	ldr	w0, [x22, #92]
	bl	_FFABS
	add	w23, w0, w23
	ldr	w0, [x22, #96]
	bl	_FFABS
	add	w23, w0, w23
	ldr	w0, [x22, #100]
	bl	_FFABS
	add	w23, w0, w23
	ldr	w0, [x22, #104]
	bl	_FFABS
	add	w23, w0, w23
	ldr	w0, [x22, #108]
	bl	_FFABS
	add	w23, w0, w23
	ldr	w0, [x22, #112]
	bl	_FFABS
	add	w23, w0, w23
	ldr	w0, [x22, #116]
	bl	_FFABS
	mov	w9, #4100
	add	w8, w0, w23
	cmp	w8, w9
	ccmp	w21, #1, #8, ge
	b.lt	LBB0_9
; %bb.2:
	lsr	w8, w8, #2
	mov	w10, #33554432
	mov	w9, w21
	udiv	w8, w10, w8
	cmp	w21, #16
	b.hs	LBB0_4
; %bb.3:
	mov	x10, #0
	b	LBB0_7
LBB0_4:
	and	x10, x9, #0xfffffff0
	dup.4s	v0, w8
	add	x11, x19, #32
	mov	x12, x10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x11, #-32]
	ldp	q3, q4, [x11]
	movi.4s	v5, #64, lsl #8
	mla.4s	v5, v1, v0
	movi.4s	v1, #64, lsl #8
	mla.4s	v1, v2, v0
	movi.4s	v2, #64, lsl #8
	mla.4s	v2, v3, v0
	movi.4s	v3, #64, lsl #8
	mla.4s	v3, v4, v0
	sshr.4s	v4, v5, #15
	sshr.4s	v1, v1, #15
	sshr.4s	v2, v2, #15
	stp	q4, q1, [x11, #-32]
	sshr.4s	v1, v3, #15
	stp	q2, q1, [x11], #64
	subs	x12, x12, #16
	b.ne	LBB0_5
; %bb.6:
	cmp	x10, x9
	b.eq	LBB0_9
LBB0_7:
	add	x11, x19, x10, lsl #2
	sub	x9, x9, x10
	orr	w10, wzr, #0x4000
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11]
	madd	w12, w12, w8, w10
	asr	w12, w12, #15
	str	w12, [x11], #4
	subs	x9, x9, #1
	b.ne	LBB0_8
LBB0_9:
	neg	w8, w20, lsl #15
	sdiv	w0, w8, w24
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_tilt_comp
.subsections_via_symbols
