	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function loop_filter_l2
_loop_filter_l2:                        ## @loop_filter_l2
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_P0@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_Q0@GOTPCREL(%rip), %r11
	movl	(%r11), %r12d
	movl	%edi, %ebx
	subl	%r12d, %ebx
	movl	%ebx, %esi
	negl	%esi
	cmovsl	%ebx, %esi
	cmpl	%edx, %esi
	jge	LBB0_10
## %bb.1:
	movq	_P1@GOTPCREL(%rip), %r14
	movl	(%r14), %r15d
	movl	%r15d, %eax
	subl	%edi, %eax
	movl	%eax, %ebx
	negl	%ebx
	cmovsl	%eax, %ebx
	cmpl	%ecx, %ebx
	jge	LBB0_10
## %bb.2:
	movq	_Q1@GOTPCREL(%rip), %r9
	movl	(%r9), %r8d
	movl	%r8d, %ebx
	subl	%r12d, %ebx
	movl	%ebx, %eax
	negl	%eax
	cmovsl	%ebx, %eax
	cmpl	%ecx, %eax
	jge	LBB0_10
## %bb.3:
	leal	(%rdi,%r12), %r10d
	addl	$2, %r10d
	sarl	$2, %edx
	addl	$2, %edx
	movq	_P2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subl	%edi, %eax
	movl	%eax, %ebx
	negl	%ebx
	cmovsl	%eax, %ebx
	cmpl	%ecx, %ebx
	jge	LBB0_6
## %bb.4:
	cmpl	%edx, %esi
	jge	LBB0_6
## %bb.5:
	leal	(%r10,%rdi), %eax
	addl	%r15d, %eax
	sarl	$2, %eax
	movq	_P0@GOTPCREL(%rip), %rsi
	movl	%eax, (%rsi)
	movq	%r14, %r13
LBB0_6:
	leal	(%r10,%r15,2), %eax
	sarl	$2, %eax
	movl	%eax, (%r13)
	movq	_Q2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subl	%r12d, %eax
	movl	%eax, %esi
	negl	%esi
	cmovsl	%eax, %esi
	cmpl	%ecx, %esi
	jge	LBB0_9
## %bb.7:
	movl	%r12d, %eax
	subl	%edi, %eax
	movl	%eax, %ecx
	negl	%ecx
	cmovsl	%eax, %ecx
	cmpl	%edx, %ecx
	jge	LBB0_9
## %bb.8:
	addl	%r10d, %r12d
	addl	%r8d, %r12d
	sarl	$2, %r12d
	movq	_Q0@GOTPCREL(%rip), %rax
	movl	%r12d, (%rax)
	movq	%r9, %r11
LBB0_9:
	leal	(%r10,%r8,2), %eax
	sarl	$2, %eax
	movl	%eax, (%r11)
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P0,4,2                         ## @P0
	.comm	_Q0,4,2                         ## @Q0
	.comm	_P1,4,2                         ## @P1
	.comm	_Q1,4,2                         ## @Q1
	.comm	_P2,4,2                         ## @P2
	.comm	_Q2,4,2                         ## @Q2
	.no_dead_strip	_loop_filter_l2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function loop_filter_l2
_loop_filter_l2:                        ; @loop_filter_l2
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _P0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _P0@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
Lloh3:
	adrp	x8, _Q0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _Q0@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	subs	w9, w10, w8
	cneg	w14, w9, mi
	cmp	w14, w2
	b.ge	LBB0_10
; %bb.1:
Lloh6:
	adrp	x9, _P1@GOTPAGE
Lloh7:
	ldr	x9, [x9, _P1@GOTPAGEOFF]
Lloh8:
	ldr	w12, [x9]
	subs	w9, w12, w10
	cneg	w9, w9, mi
	cmp	w9, w3
	b.ge	LBB0_10
; %bb.2:
Lloh9:
	adrp	x9, _Q1@GOTPAGE
Lloh10:
	ldr	x9, [x9, _Q1@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	subs	w11, w9, w8
	cneg	w11, w11, mi
	cmp	w11, w3
	b.ge	LBB0_10
; %bb.3:
	add	w11, w10, w8
	add	w11, w11, #2
	asr	w13, w2, #2
	add	w13, w13, #2
Lloh12:
	adrp	x15, _P2@GOTPAGE
Lloh13:
	ldr	x15, [x15, _P2@GOTPAGEOFF]
Lloh14:
	ldr	w15, [x15]
	subs	w15, w15, w10
	cneg	w16, w15, mi
Lloh15:
	adrp	x15, _P0@GOTPAGE
Lloh16:
	ldr	x15, [x15, _P0@GOTPAGEOFF]
	cmp	w16, w3
	ccmp	w14, w13, #0, lt
	b.ge	LBB0_5
; %bb.4:
	add	w14, w11, w10
	add	w14, w14, w12
	asr	w14, w14, #2
	str	w14, [x15]
Lloh17:
	adrp	x15, _P1@GOTPAGE
Lloh18:
	ldr	x15, [x15, _P1@GOTPAGEOFF]
LBB0_5:
	add	w12, w11, w12, lsl #1
	asr	w12, w12, #2
	str	w12, [x15]
Lloh19:
	adrp	x12, _Q2@GOTPAGE
Lloh20:
	ldr	x12, [x12, _Q2@GOTPAGEOFF]
Lloh21:
	ldr	w12, [x12]
	subs	w12, w12, w8
	cneg	w12, w12, mi
	cmp	w12, w3
	b.ge	LBB0_8
; %bb.6:
	subs	w10, w8, w10
	cneg	w12, w10, mi
Lloh22:
	adrp	x10, _Q0@GOTPAGE
Lloh23:
	ldr	x10, [x10, _Q0@GOTPAGEOFF]
	cmp	w12, w13
	b.ge	LBB0_9
; %bb.7:
	add	w8, w11, w8
	add	w8, w8, w9
	asr	w8, w8, #2
	str	w8, [x10]
Lloh24:
	adrp	x10, _Q1@GOTPAGE
Lloh25:
	ldr	x10, [x10, _Q1@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh26:
	adrp	x10, _Q0@GOTPAGE
Lloh27:
	ldr	x10, [x10, _Q0@GOTPAGEOFF]
LBB0_9:
	add	w8, w11, w9, lsl #1
	asr	w8, w8, #2
	str	w8, [x10]
LBB0_10:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_P0,4,2                         ; @P0
	.comm	_Q0,4,2                         ; @Q0
	.comm	_P1,4,2                         ; @P1
	.comm	_Q1,4,2                         ; @Q1
	.comm	_P2,4,2                         ; @P2
	.comm	_Q2,4,2                         ; @Q2
	.no_dead_strip	_loop_filter_l2
.subsections_via_symbols
