	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function h261_loop_filter
LCPI0_0:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_h261_loop_filter:                      ## @h261_loop_filter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$272, %rsp                      ## imm = 0x110
                                        ## kill: def $esi killed $esi def $rsi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	leal	(,%rsi,8), %eax
	subl	%esi, %eax
	cltq
	movdqu	(%rdi), %xmm0
	pslld	$2, %xmm0
	movdqa	%xmm0, -272(%rbp)
	movdqu	(%rdi,%rax,4), %xmm0
	pslld	$2, %xmm0
	movdqa	%xmm0, -48(%rbp)
	movdqu	16(%rdi), %xmm0
	pslld	$2, %xmm0
	movdqa	%xmm0, -256(%rbp)
	movdqu	16(%rdi,%rax,4), %xmm0
	pslld	$2, %xmm0
	movdqa	%xmm0, -32(%rbp)
	movslq	%esi, %rcx
	leaq	(%rcx,%rcx), %r8
	movdqu	(%rdi), %xmm0
	movdqu	(%rdi,%rcx,4), %xmm1
	paddd	%xmm1, %xmm1
	movdqu	(%rdi,%rcx,8), %xmm2
	paddd	%xmm0, %xmm2
	paddd	%xmm1, %xmm2
	movdqa	%xmm2, -240(%rbp)
	leaq	4(%rcx,%rcx), %rax
	movdqu	16(%rdi), %xmm0
	movdqu	16(%rdi,%rcx,4), %xmm1
	paddd	%xmm1, %xmm1
	paddd	%xmm0, %xmm1
	movdqu	(%rdi,%rax,4), %xmm0
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, -224(%rbp)
	leaq	(%rcx,%rcx,2), %r10
	movdqu	(%rdi,%rcx,4), %xmm0
	movdqu	(%rdi,%rcx,8), %xmm1
	paddd	%xmm1, %xmm1
	paddd	%xmm0, %xmm1
	movdqu	(%rdi,%r10,4), %xmm0
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, -208(%rbp)
	subq	%rcx, %rax
	leaq	(%rcx,%rcx,2), %rdx
	addq	$4, %rdx
	movdqu	(%rdi,%rax,4), %xmm0
	movdqu	16(%rdi,%r8,4), %xmm1
	paddd	%xmm1, %xmm1
	paddd	%xmm0, %xmm1
	movdqu	(%rdi,%rdx,4), %xmm0
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, -192(%rbp)
	leaq	(,%rcx,4), %rax
	movq	%rcx, %r11
	shlq	$4, %r11
	movdqu	(%rdi,%rcx,8), %xmm0
	movdqu	(%rdi,%r10,4), %xmm1
	paddd	%xmm1, %xmm1
	movdqu	(%rdi,%r11), %xmm2
	paddd	%xmm0, %xmm2
	paddd	%xmm1, %xmm2
	movdqa	%xmm2, -176(%rbp)
	subq	%rcx, %rdx
	leaq	(%rcx,%r10), %r9
	addq	$4, %r9
	movdqu	(%rdi,%rdx,4), %xmm0
	movdqu	16(%rdi,%r10,4), %xmm1
	paddd	%xmm1, %xmm1
	paddd	%xmm0, %xmm1
	movdqu	(%rdi,%r9,4), %xmm0
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, -160(%rbp)
	leaq	(%rcx,%rcx,4), %r9
	movdqu	(%rdi,%r10,4), %xmm0
	movdqu	(%rdi,%r11), %xmm1
	paddd	%xmm1, %xmm1
	movdqu	(%rdi,%r9,4), %xmm2
	paddd	%xmm0, %xmm2
	paddd	%xmm1, %xmm2
	movdqa	%xmm2, -144(%rbp)
	leaq	4(,%rcx,4), %rdx
	subq	%rcx, %rdx
	leaq	(%rcx,%rcx,4), %rsi
	addq	$4, %rsi
	movdqu	(%rdi,%rdx,4), %xmm0
	movdqu	16(%rdi,%rax,4), %xmm1
	paddd	%xmm1, %xmm1
	paddd	%xmm0, %xmm1
	movdqu	(%rdi,%rsi,4), %xmm0
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, -128(%rbp)
	leaq	(%r8,%r8,2), %rdx
	movdqu	(%rdi,%r11), %xmm0
	movdqu	(%rdi,%r9,4), %xmm1
	paddd	%xmm1, %xmm1
	paddd	%xmm0, %xmm1
	movdqu	(%rdi,%rdx,4), %xmm0
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, -112(%rbp)
	subq	%rcx, %rsi
	leaq	(%rcx,%r9), %r10
	addq	$4, %r10
	movdqu	(%rdi,%rsi,4), %xmm0
	movdqu	16(%rdi,%r9,4), %xmm1
	paddd	%xmm1, %xmm1
	paddd	%xmm0, %xmm1
	movdqu	(%rdi,%r10,4), %xmm0
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, -96(%rbp)
	leaq	(%rcx,%rcx,8), %rsi
	leaq	(%rsi,%rsi,2), %rsi
	addq	%rcx, %rsi
	movdqu	(%rdi,%r9,4), %xmm0
	movdqu	(%rdi,%rdx,4), %xmm1
	paddd	%xmm1, %xmm1
	paddd	%xmm0, %xmm1
	movdqu	(%rdi,%rsi), %xmm0
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, -80(%rbp)
	leaq	(%r8,%r8,2), %rsi
	addq	$4, %rsi
	subq	%rcx, %rsi
	addq	%rdx, %rcx
	addq	$4, %rcx
	movdqu	(%rdi,%rsi,4), %xmm0
	movdqu	16(%rdi,%rdx,4), %xmm1
	paddd	%xmm1, %xmm1
	paddd	%xmm0, %xmm1
	movdqu	(%rdi,%rcx,4), %xmm0
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, -64(%rbp)
	addq	$28, %rdi
	xorl	%ecx, %ecx
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [8,8,8,8]
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	-244(%rbp,%rcx), %edx
	addl	$2, %edx
	sarl	$2, %edx
	movl	%edx, (%rdi)
	movdqa	-272(%rbp,%rcx), %xmm1
	movl	-272(%rbp,%rcx), %edx
	addl	$2, %edx
	sarl	$2, %edx
	movl	%edx, -28(%rdi)
	movdqu	-268(%rbp,%rcx), %xmm2
	movdqu	-264(%rbp,%rcx), %xmm3
	paddd	%xmm1, %xmm3
	paddd	%xmm2, %xmm2
	paddd	%xmm3, %xmm2
	paddd	%xmm0, %xmm2
	psrad	$4, %xmm2
	movdqu	%xmm2, -24(%rdi)
	movl	-252(%rbp,%rcx), %edx
	movl	-248(%rbp,%rcx), %esi
	addl	%edx, %edx
	addl	-256(%rbp,%rcx), %edx
	addl	%esi, %edx
	addl	$8, %edx
	sarl	$4, %edx
	movl	%edx, -8(%rdi)
	movl	-248(%rbp,%rcx), %edx
	movl	-244(%rbp,%rcx), %esi
	addl	%edx, %edx
	addl	-252(%rbp,%rcx), %edx
	addl	%esi, %edx
	addl	$8, %edx
	sarl	$4, %edx
	movl	%edx, -4(%rdi)
	addq	%rax, %rdi
	addq	$32, %rcx
	cmpq	$256, %rcx                      ## imm = 0x100
	jne	LBB0_1
## %bb.2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-8(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$272, %rsp                      ## imm = 0x110
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_h261_loop_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function h261_loop_filter
_h261_loop_filter:                      ; @h261_loop_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #304
	.cfi_def_cfa_offset 304
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #288]            ; 16-byte Folded Spill
	add	x29, sp, #288
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w27, -24
	.cfi_offset w28, -32
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x8, #0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-24]
	sxtw	x10, w1
	mov	w9, #28
	smaddl	x11, w1, w9, x0
	ldp	q0, q1, [x0]
	shl.4s	v3, v0, #2
	ldr	q2, [x11]
	shl.4s	v2, v2, #2
	shl.4s	v4, v1, #2
	stp	q3, q4, [sp]
	sbfiz	x9, x1, #2, #32
	ldp	q4, q3, [x11]
	shl.4s	v3, v3, #2
	stp	q2, q3, [sp, #224]
	sbfiz	x11, x1, #1, #32
	ldr	q2, [x0, x9]
	shl.4s	v3, v2, #1
	add.4s	v0, v3, v0
	add	x12, x10, #4
	lsl	x13, x12, #2
	add	x12, x12, x10
	lsl	x12, x12, #2
	ldr	q3, [x0, x13]
	shl.4s	v3, v3, #1
	add.4s	v1, v3, v1
	ldr	q3, [x0, x12]
	sbfiz	x12, x1, #3, #32
	add.4s	v1, v1, v3
	ldr	q3, [x0, x12]
	add.4s	v0, v0, v3
	stp	q0, q1, [sp, #32]
	add	x13, x11, x10
	lsl	x14, x13, #2
	shl.4s	v0, v3, #1
	ldr	q1, [x0, x14]
	add.4s	v0, v0, v2
	add.4s	v0, v0, v1
	add	x11, x11, #4
	sub	x15, x11, x10
	lsl	x15, x15, #2
	lsl	x16, x11, #2
	add	x11, x11, x10
	lsl	x11, x11, #2
	ldr	q1, [x0, x15]
	ldr	q2, [x0, x16]
	shl.4s	v2, v2, #1
	add.4s	v1, v2, v1
	ldr	q2, [x0, x11]
	add.4s	v1, v1, v2
	stp	q0, q1, [sp, #64]
	ldr	q0, [x0, x12]
	ldr	q1, [x0, x14]
	shl.4s	v2, v1, #1
	add.4s	v0, v2, v0
	add	x11, x13, #4
	sub	x12, x11, x10
	lsl	x12, x12, #2
	lsl	x14, x11, #2
	add	x11, x11, x10
	lsl	x11, x11, #2
	ldr	q2, [x0, x12]
	ldr	q3, [x0, x14]
	shl.4s	v3, v3, #1
	add.4s	v2, v3, v2
	ldr	q3, [x0, x11]
	add.4s	v2, v2, v3
	ldr	q3, [x0, w1, sxtw #4]
	add.4s	v0, v0, v3
	stp	q0, q2, [sp, #96]
	add	x11, x9, x10
	lsl	x12, x11, #2
	shl.4s	v0, v3, #1
	add.4s	v0, v0, v1
	add	x14, x9, #4
	sub	x15, x14, x10
	lsl	x15, x15, #2
	lsl	x16, x14, #2
	add	x14, x14, x10
	lsl	x14, x14, #2
	ldr	q1, [x0, x15]
	ldr	q2, [x0, x16]
	shl.4s	v2, v2, #1
	add.4s	v1, v2, v1
	ldr	q2, [x0, x14]
	add.4s	v1, v1, v2
	ldr	q2, [x0, x12]
	add.4s	v0, v0, v2
	stp	q0, q1, [sp, #128]
	lsl	x14, x13, #1
	lsl	x13, x13, #3
	shl.4s	v0, v2, #1
	add.4s	v0, v0, v3
	ldr	q1, [x0, x13]
	add.4s	v0, v0, v1
	add	x11, x11, #4
	sub	x15, x11, x10
	lsl	x15, x15, #2
	lsl	x16, x11, #2
	add	x11, x11, x10
	lsl	x11, x11, #2
	ldr	q1, [x0, x15]
	ldr	q2, [x0, x16]
	shl.4s	v2, v2, #1
	add.4s	v1, v2, v1
	ldr	q2, [x0, x11]
	add.4s	v1, v1, v2
	ldr	q2, [x0, x12]
	ldr	q3, [x0, x13]
	stp	q0, q1, [sp, #160]
	shl.4s	v0, v3, #1
	add.4s	v0, v0, v2
	add.4s	v0, v0, v4
	add	x11, x14, #4
	sub	x12, x11, x10
	lsl	x12, x12, #2
	lsl	x13, x11, #2
	add	x10, x11, x10
	lsl	x10, x10, #2
	ldr	q1, [x0, x12]
	ldr	q2, [x0, x13]
	shl.4s	v2, v2, #1
	add.4s	v1, v2, v1
	ldr	q2, [x0, x10]
	add.4s	v1, v1, v2
	stp	q0, q1, [sp, #192]
	mov	x10, sp
	movi.4s	v0, #8
	movi.2s	v1, #8
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x11, x10, x8
	ldr	w12, [x11, #28]
	add	w12, w12, #2
	asr	w12, w12, #2
	str	w12, [x0, #28]
	ldr	q2, [x11]
	ldur	q3, [x11, #4]
	shl.4s	v3, v3, #1
	add.4s	v3, v2, v3
	fmov	w12, s2
	add	w12, w12, #2
	asr	w12, w12, #2
	str	w12, [x0]
	ldur	q2, [x11, #8]
	add.4s	v2, v3, v2
	add.4s	v2, v2, v0
	sshr.4s	v2, v2, #4
	stur	q2, [x0, #4]
	ldp	d2, d4, [x11, #16]
	ldur	d3, [x11, #20]
	shl.2s	v3, v3, #1
	add.2s	v2, v2, v3
	add.2s	v2, v2, v4
	add.2s	v2, v2, v1
	sshr.2s	v2, v2, #4
	stur	d2, [x0, #20]
	add	x0, x0, x9
	add	x8, x8, #32
	cmp	x8, #256
	b.ne	LBB0_1
; %bb.2:
	ldur	x8, [x29, #-24]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #304
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_h261_loop_filter
.subsections_via_symbols
