	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter181
_filter181:                             ## @filter181
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	leal	-1(%rdx), %eax
	movq	%rsi, %rdi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	decl	%esi
	movslq	%ecx, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	%esi, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	cmpl	$3, %edx
	jl	LBB0_6
## %bb.1:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx,4), %r15
	leaq	(,%rcx,4), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	$1, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_INT_MIN@GOTPCREL(%rip), %r14
	movq	_INT_MAX@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incq	%rax
	addq	-96(%rbp), %r15                 ## 8-byte Folded Reload
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpq	-72(%rbp), %rax                 ## 8-byte Folded Reload
	je	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	cmpl	$3, -80(%rbp)                   ## 4-byte Folded Reload
	jl	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	imulq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %eax
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r15,%rbx,4), %edi
	shll	$3, %edi
	addl	4(%r15,%rbx,4), %eax
	leaq	1(%rbx), %r12
	subl	%eax, %edi
	movslq	(%r14), %rax
	imulq	$805281793, %rax, %rsi          ## imm = 0x2FFFA001
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$43, %rsi
	addl	%eax, %esi
	movslq	(%r13), %rax
	imulq	$805281793, %rax, %rax          ## imm = 0x2FFFA001
	movq	%rax, %rcx
	sarq	$43, %rcx
	shrq	$63, %rax
	leal	(%rcx,%rax), %edx
	addl	$-32768, %edx                   ## imm = 0x8000
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_av_clip
	imull	$10923, %eax, %ecx              ## imm = 0x2AAB
	addl	$32768, %ecx                    ## imm = 0x8000
	sarl	$16, %ecx
	movl	(%r15,%rbx,4), %eax
	movl	%ecx, (%r15,%rbx,4)
	movq	%r12, %rbx
	cmpq	%r12, -88(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_4
	jmp	LBB0_5
LBB0_6:
	cmpl	$3, -80(%rbp)                   ## 4-byte Folded Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	jl	LBB0_12
## %bb.7:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rcx,4), %r12
	addq	$4, %r12
	decq	-72(%rbp)                       ## 8-byte Folded Spill
	leaq	(%rax,%rcx,8), %rbx
	addq	$4, %rbx
	shlq	$2, %rcx
	movl	$1, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_INT_MIN@GOTPCREL(%rip), %rsi
	movq	_INT_MAX@GOTPCREL(%rip), %r14
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	incq	%rdx
	addq	$4, %r12
	addq	$4, %rbx
	movq	%rdx, %rax
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	cmpq	-88(%rbp), %rdx                 ## 8-byte Folded Reload
	je	LBB0_12
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	cmpl	$3, -104(%rbp)                  ## 4-byte Folded Reload
	jl	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rax,%rdx,4), %eax
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r12,%r15), %edi
	addl	(%rbx,%r15), %eax
	shll	$3, %edi
	subl	%eax, %edi
	movslq	(%rsi), %rax
	imulq	$805281793, %rax, %rsi          ## imm = 0x2FFFA001
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$43, %rsi
	addl	%eax, %esi
	movslq	(%r14), %rax
	imulq	$805281793, %rax, %rax          ## imm = 0x2FFFA001
	movq	%rax, %rcx
	sarq	$43, %rcx
	shrq	$63, %rax
	leal	(%rcx,%rax), %edx
	addl	$-32768, %edx                   ## imm = 0x8000
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_av_clip
	movq	_INT_MIN@GOTPCREL(%rip), %rsi
	imull	$10923, %eax, %ecx              ## imm = 0x2AAB
	addl	$32768, %ecx                    ## imm = 0x8000
	sarl	$16, %ecx
	movl	(%r12,%r15), %eax
	movl	%ecx, (%r12,%r15)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addq	%rcx, %r15
	decq	%r13
	jne	LBB0_10
	jmp	LBB0_11
LBB0_12:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MIN,4,2                    ## @INT_MIN
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.no_dead_strip	_filter181
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter181
_filter181:                             ; @filter181
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	str	x3, [sp, #8]                    ; 8-byte Folded Spill
	sub	w8, w2, #1
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	str	w1, [sp, #72]                   ; 4-byte Folded Spill
	sub	w8, w1, #1
	stp	x8, x0, [sp, #56]               ; 16-byte Folded Spill
Lloh0:
	adrp	x24, _INT_MIN@GOTPAGE
Lloh1:
	ldr	x24, [x24, _INT_MIN@GOTPAGEOFF]
Lloh2:
	adrp	x25, _INT_MAX@GOTPAGE
Lloh3:
	ldr	x25, [x25, _INT_MAX@GOTPAGEOFF]
	str	w2, [sp, #44]                   ; 4-byte Folded Spill
	cmp	w2, #3
	b.lt	LBB0_6
; %bb.1:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	sxtw	x10, w8
	sbfiz	x9, x8, #2, #32
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	stp	x10, x9, [sp, #24]              ; 16-byte Folded Spill
	add	x8, x9, x8
	add	x28, x8, #4
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	sub	x8, x8, #1
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	mov	w20, #1
	mov	w23, #40961
	movk	w23, #12287, lsl #16
	mov	w27, #10923
	orr	w19, wzr, #0x8000
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	add	x28, x28, x8
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	cmp	x20, x8
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	w8, [sp, #72]                   ; 4-byte Folded Reload
	cmp	w8, #3
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x26, x8, [sp, #16]              ; 16-byte Folded Reload
	mul	x8, x20, x8
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	ldr	w8, [x9, x8, lsl #2]
	mov	x21, x28
	mov	x22, x28
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w9, [x21]
	lsl	w9, w9, #3
	ldr	w10, [x22, #4]!
	add	w8, w10, w8
	sub	w0, w9, w8
	ldrsw	x8, [x24]
	mul	x8, x8, x23
	lsr	x9, x8, #63
	asr	x8, x8, #43
	add	w1, w8, w9
	ldrsw	x8, [x25]
	mul	x8, x8, x23
	lsr	x9, x8, #63
	asr	x8, x8, #43
	add	w8, w8, w9
	sub	w2, w8, #8, lsl #12             ; =32768
	bl	_av_clip
	madd	w8, w0, w27, w19
	asr	w9, w8, #16
	ldr	w8, [x21]
	str	w9, [x21]
	mov	x21, x22
	subs	x26, x26, #1
	b.ne	LBB0_5
	b	LBB0_2
LBB0_6:
	ldr	w8, [sp, #72]                   ; 4-byte Folded Reload
	cmp	w8, #3
	b.lt	LBB0_12
; %bb.7:
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	mov	x8, x10
	sbfiz	x22, x8, #2, #32
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	add	x8, x22, x9
	add	x27, x8, #4
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	sub	x8, x8, #1
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	add	x8, x9, w10, sxtw #3
	add	x21, x8, #4
	mov	w8, #1
	str	x8, [sp, #72]                   ; 8-byte Folded Spill
	mov	w26, #40961
	movk	w26, #12287, lsl #16
	mov	w23, #10923
	orr	w20, wzr, #0x8000
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x9, [sp, #72]                   ; 8-byte Folded Reload
	add	x9, x9, #1
	add	x27, x27, #4
	add	x21, x21, #4
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	str	x9, [sp, #72]                   ; 8-byte Folded Spill
	cmp	x9, x8
	b.eq	LBB0_12
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	cmp	w8, #3
	b.lt	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x19, #0
	ldp	x8, x9, [sp, #64]               ; 16-byte Folded Reload
	ldr	w8, [x8, x9, lsl #2]
	ldr	x28, [sp, #48]                  ; 8-byte Folded Reload
LBB0_11:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w9, [x27, x19]
	lsl	w9, w9, #3
	ldr	w10, [x21, x19]
	add	w8, w10, w8
	sub	w0, w9, w8
	ldrsw	x8, [x24]
	mul	x8, x8, x26
	lsr	x9, x8, #63
	asr	x8, x8, #43
	add	w1, w8, w9
	ldrsw	x8, [x25]
	mul	x8, x8, x26
	lsr	x9, x8, #63
	asr	x8, x8, #43
	add	w8, w8, w9
	sub	w2, w8, #8, lsl #12             ; =32768
	bl	_av_clip
	madd	w8, w0, w23, w20
	asr	w9, w8, #16
	ldr	w8, [x27, x19]
	str	w9, [x27, x19]
	add	x19, x19, x22
	subs	x28, x28, #1
	b.ne	LBB0_11
	b	LBB0_8
LBB0_12:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MIN,4,2                    ; @INT_MIN
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.no_dead_strip	_filter181
.subsections_via_symbols
