	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function count_hq_slice
_count_hq_slice:                        ## @count_hq_slice
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_DWT_LEVELS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$4, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rcx
	movq	(%r15), %rax
	movslq	%ebx, %rdx
	movl	(%rax,%rdx,4), %ebx
	testl	%ebx, %ebx
	jne	LBB0_23
## %bb.1:
	movq	%rdx, %rax
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movq	16(%r15), %r12
	movl	(%r12), %ecx
	movl	4(%r12), %eax
	testl	%eax, %eax
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, -128(%rbp)                ## 8-byte Spill
	jle	LBB0_7
## %bb.2:
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movq	-120(%rbp), %r15                ## 8-byte Reload
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	xorl	%ebx, %ebx
	testq	%r12, %r12
	setne	%bl
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	40(%r14), %rax
	movq	(%rax,%r12,8), %rax
	movq	%r13, %rdi
	subq	(%rax,%rbx,8), %rdi
	xorl	%esi, %esi
	callq	_FFMAX
	movl	%eax, (%r15,%rbx,4)
	incq	%rbx
	cmpq	$4, %rbx
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movslq	4(%r14), %rax
	addq	$16, %r15
	cmpq	%rax, %r12
	jl	LBB0_3
## %bb.6:
	movq	-128(%rbp), %r15                ## 8-byte Reload
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
LBB0_7:
	leal	8(,%rcx,8), %ebx
	xorl	%ecx, %ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##       Child Loop BB0_11 Depth 3
                                        ##         Child Loop BB0_13 Depth 4
                                        ##           Child Loop BB0_15 Depth 5
	movl	%ebx, %ecx
	sarl	$3, %ecx
	addl	$8, %ebx
	testl	%eax, %eax
	movl	%ecx, -84(%rbp)                 ## 4-byte Spill
	jle	LBB0_20
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	incq	%rcx
	movslq	4(%r12), %rax
	cmpq	%rax, %rcx
	jge	LBB0_20
LBB0_10:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_11 Depth 3
                                        ##         Child Loop BB0_13 Depth 4
                                        ##           Child Loop BB0_15 Depth 5
	xorl	%eax, %eax
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	testq	%rcx, %rcx
	setne	%al
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=3
	movq	-144(%rbp), %rax                ## 8-byte Reload
	incq	%rax
	cmpq	$4, %rax
	movq	-128(%rbp), %r15                ## 8-byte Reload
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_19
LBB0_11:                                ##   Parent Loop BB0_8 Depth=1
                                        ##     Parent Loop BB0_10 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_13 Depth 4
                                        ##           Child Loop BB0_15 Depth 5
	movq	%rax, %r13
	movq	8(%r12), %rax
	movq	32(%r12), %rcx
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rcx,%rdx,8), %rcx
	movq	-136(%rbp), %rdx                ## 8-byte Reload
	movq	(%rcx,%rdx,8), %r14
	movq	%rdx, %rcx
	shlq	$4, %rcx
	addq	-120(%rbp), %rcx                ## 8-byte Folded Reload
	movslq	(%rcx,%r13,4), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %edx
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movl	4(%rax), %eax
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	movq	_ff_dirac_qscale_tab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rcx,4), %edi
	callq	_av_log2
	movq	%r14, %rsi
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r13, -144(%rbp)                ## 8-byte Spill
	leaq	(,%r13,2), %r10
	addq	%r13, %r10
	movl	(%r14,%r10,8), %edx
	movl	4(%r14,%r10,8), %r13d
	movl	8(%r15), %r11d
	movl	12(%r15), %ecx
	movl	16(%r12), %r9d
	movl	20(%r12), %r15d
	leal	1(%r11), %eax
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	imull	%edx, %eax
	cltd
	idivl	%r9d
	movl	%eax, %r8d
	movl	%ecx, %eax
	imull	%r13d, %eax
	cltd
	idivl	%r15d
	movl	%eax, %r14d
	incl	%ecx
	imull	%r13d, %ecx
	movl	%ecx, %eax
	cltd
	idivl	%r15d
	cmpl	%eax, %r14d
	jge	LBB0_18
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=3
	movl	%eax, %edi
	movl	-56(%rbp), %r15d                ## 4-byte Reload
	shll	$2, %r15d
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	addl	$32, %r12d
	leaq	(%rsi,%r10,8), %rcx
	addq	$8, %rcx
	imull	-64(%rbp), %r11d                ## 4-byte Folded Reload
	movl	%r11d, %eax
	cltd
	idivl	%r9d
	movq	%rcx, -160(%rbp)                ## 8-byte Spill
	movl	(%rcx), %r11d
	movl	%r14d, %ecx
	imull	%r11d, %ecx
	movslq	%ecx, %rdx
	shlq	$2, %rdx
	addq	16(%rsi,%r10,8), %rdx
	movslq	%eax, %r9
	movl	%r8d, %esi
	movq	%r9, %rcx
	movq	%r9, -152(%rbp)                 ## 8-byte Spill
	subl	%r9d, %esi
	movl	%r15d, %r9d
	movl	%r8d, -96(%rbp)                 ## 4-byte Spill
	movl	%edi, -92(%rbp)                 ## 4-byte Spill
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movl	%r15d, -56(%rbp)                ## 4-byte Spill
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_13 Depth=4
	movslq	%r11d, %rcx
	leaq	(%rdx,%rcx,4), %rdx
	incl	%r14d
	cmpl	%edi, %r14d
	je	LBB0_18
LBB0_13:                                ##   Parent Loop BB0_8 Depth=1
                                        ##     Parent Loop BB0_10 Depth=2
                                        ##       Parent Loop BB0_11 Depth=3
                                        ## =>      This Loop Header: Depth=4
                                        ##           Child Loop BB0_15 Depth 5
	cmpl	%r8d, %eax
	jge	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=4
	movl	%r14d, -104(%rbp)               ## 4-byte Spill
	movq	%rdx, -168(%rbp)                ## 8-byte Spill
	movq	-152(%rbp), %rax                ## 8-byte Reload
	leaq	(%rdx,%rax,4), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movl	-100(%rbp), %r13d               ## 4-byte Reload
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_8 Depth=1
                                        ##     Parent Loop BB0_10 Depth=2
                                        ##       Parent Loop BB0_11 Depth=3
                                        ##         Parent Loop BB0_13 Depth=4
                                        ## =>        This Inner Loop Header: Depth=5
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r15,4), %edi
	movq	%rsi, %r12
	callq	_FFABS
	movl	%eax, %edi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_QUANT
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_count_vc2_ue_uint
	movq	%r12, %rsi
	addl	%ebx, %eax
	cmpl	$1, %r14d
	movl	%eax, %ebx
	sbbl	$-1, %ebx
	incq	%r15
	cmpl	%r15d, %esi
	jne	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=4
	movq	-160(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %r11d
	movl	-96(%rbp), %r8d                 ## 4-byte Reload
	movl	-104(%rbp), %r14d               ## 4-byte Reload
	movl	-92(%rbp), %edi                 ## 4-byte Reload
	movl	-88(%rbp), %eax                 ## 4-byte Reload
	movq	-168(%rbp), %rdx                ## 8-byte Reload
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%ebx, %edi
	movl	$8, %esi
	callq	_FFALIGN
	movl	%eax, %r14d
	sarl	$3, %eax
	movl	-84(%rbp), %ebx                 ## 4-byte Reload
	notl	%ebx
	addl	%eax, %ebx
	movl	24(%r12), %esi
	movl	%ebx, %edi
	callq	_FFALIGN
	movl	%eax, %ecx
	cltd
	idivl	24(%r12)
	addl	%ebx, %edx
	subl	%edx, %ecx
	leal	(%r14,%rcx,8), %ebx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movq	%rcx, %rax
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	cmpq	$3, %rcx
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	4(%r12), %eax
	jmp	LBB0_8
LBB0_22:
	movq	(%r15), %rax
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movl	%ebx, (%rax,%rcx,4)
LBB0_23:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_25
## %bb.24:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_DWT_LEVELS,4,2             ## @MAX_DWT_LEVELS
	.comm	_ff_dirac_qscale_tab,8,3        ## @ff_dirac_qscale_tab
	.no_dead_strip	_count_hq_slice
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function count_hq_slice
_count_hq_slice:                        ; @count_hq_slice
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #96
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x25, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAX_DWT_LEVELS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_DWT_LEVELS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #4
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x26, x9, x8
	mov	sp, x26
	ldr	x8, [x0]
	ldr	w0, [x8, w1, sxtw #2]
	cbnz	w0, LBB0_24
; %bb.1:
	ldr	x27, [x25, #16]
	sxtw	x28, w1
	ldp	w9, w8, [x27]
	lsl	w9, w9, #3
	add	w0, w9, #8
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.2:
	stur	w0, [x29, #-164]                ; 4-byte Folded Spill
	mov	x19, #0
	mov	w20, #1
	mov	x21, x26
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x19, x19, #1
	ldrsw	x8, [x27, #4]
	add	x21, x21, #16
	cmp	x19, x8
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x19, #0
	cset	w23, ne
	ldr	x8, [x27, #40]
	lsl	x24, x19, #3
	ldr	x8, [x8, x24]
	ldr	x8, [x8, w23, uxtw #3]
	cinc	x22, x20, ne
	sub	x0, x28, x8
	mov	w1, #0
	bl	_FFMAX
	str	w0, [x21, w23, uxtw #2]
	ldr	x8, [x27, #40]
	ldr	x8, [x8, x24]
	ldr	x8, [x8, x22, lsl #3]
	sub	x0, x28, x8
	mov	w1, #0
	bl	_FFMAX
	str	w0, [x21, x22, lsl #2]
	add	x8, x22, #1
	cmp	x8, #4
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x27, #40]
	ldr	x9, [x9, x19, lsl #3]
	ldr	x8, [x9, x8, lsl #3]
	sub	x0, x28, x8
	mov	w1, #0
	bl	_FFMAX
	add	x23, x21, x22, lsl #2
	str	w0, [x23, #4]
	add	x8, x22, #2
	cmp	x8, #4
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x27, #40]
	ldr	x9, [x9, x19, lsl #3]
	ldr	x8, [x9, x8, lsl #3]
	sub	x0, x28, x8
	mov	w1, #0
	bl	_FFMAX
	str	w0, [x23, #8]
	b	LBB0_3
LBB0_7:
	ldur	w0, [x29, #-164]                ; 4-byte Folded Reload
LBB0_8:
	stp	x25, xzr, [x29, #-144]          ; 16-byte Folded Spill
	stp	x27, x26, [x29, #-160]          ; 16-byte Folded Spill
	stur	x28, [x29, #-176]               ; 8-byte Folded Spill
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
                                        ;       Child Loop BB0_14 Depth 3
                                        ;         Child Loop BB0_17 Depth 4
                                        ;           Child Loop BB0_19 Depth 5
	stur	w0, [x29, #-164]                ; 4-byte Folded Spill
	add	w21, w0, #8
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x10, #0
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	add	x10, x10, #1
	ldrsw	x8, [x27, #4]
	cmp	x10, x8
	b.ge	LBB0_21
LBB0_12:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_14 Depth 3
                                        ;         Child Loop BB0_17 Depth 4
                                        ;           Child Loop BB0_19 Depth 5
	cmp	x10, #0
	cset	w23, ne
	stur	x10, [x29, #-128]               ; 8-byte Folded Spill
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=3
	ldp	x10, x23, [x29, #-128]          ; 16-byte Folded Reload
	add	x23, x23, #1
	cmp	x23, #4
	ldp	x26, x25, [x29, #-152]          ; 16-byte Folded Reload
	ldur	x27, [x29, #-160]               ; 8-byte Folded Reload
	b.eq	LBB0_11
LBB0_14:                                ;   Parent Loop BB0_9 Depth=1
                                        ;     Parent Loop BB0_12 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_17 Depth 4
                                        ;           Child Loop BB0_19 Depth 5
	ldr	x8, [x27, #32]
	ldur	x9, [x29, #-136]                ; 8-byte Folded Reload
	ldr	x8, [x8, x9, lsl #3]
	ldr	x19, [x8, x10, lsl #3]
	add	x8, x26, x10, lsl #4
	ldrsw	x8, [x8, x23, lsl #2]
	ldr	x9, [x27, #8]
	ldr	x9, [x9, x8, lsl #3]
	ldp	w20, w22, [x9]
Lloh8:
	adrp	x9, _ff_dirac_qscale_tab@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ff_dirac_qscale_tab@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	w0, [x9, x8, lsl #2]
	bl	_av_log2
	mov	w12, #24
	madd	x8, x23, x12, x19
	ldr	w9, [x8, #4]
	ldr	w10, [x25, #12]
	mul	w10, w10, w9
	ldr	w11, [x27, #20]
	sdiv	w28, w10, w11
	add	w9, w9, w10
	sdiv	w14, w9, w11
	cmp	w28, w14
	stur	x23, [x29, #-120]               ; 8-byte Folded Spill
	b.ge	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=3
	mov	x13, x23
	lsl	w23, w20, #2
	add	w24, w0, #32
	ldr	w9, [x8]
	ldr	w10, [x25, #8]
	madd	w11, w9, w10, w9
	add	x15, x8, #8
	mul	w9, w10, w9
	madd	x8, x13, x12, x19
	ldr	x10, [x8, #16]
	stur	x15, [x29, #-104]               ; 8-byte Folded Spill
	ldr	w8, [x15]
	mul	w12, w8, w28
	add	x26, x10, w12, sxtw #2
	ldr	w10, [x27, #16]
	sdiv	w11, w11, w10
	sdiv	w9, w9, w10
	sxtw	x27, w9
	sub	w9, w11, w9
	stp	w9, w11, [x29, #-112]           ; 8-byte Folded Spill
	stur	w14, [x29, #-92]                ; 4-byte Folded Spill
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=4
	add	x26, x26, w8, sxtw #2
	add	w28, w28, #1
	cmp	w28, w14
	b.eq	LBB0_13
LBB0_17:                                ;   Parent Loop BB0_9 Depth=1
                                        ;     Parent Loop BB0_12 Depth=2
                                        ;       Parent Loop BB0_14 Depth=3
                                        ; =>      This Loop Header: Depth=4
                                        ;           Child Loop BB0_19 Depth 5
	cmp	w27, w11
	b.ge	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=4
	add	x19, x26, x27, lsl #2
	ldur	w20, [x29, #-112]               ; 4-byte Folded Reload
LBB0_19:                                ;   Parent Loop BB0_9 Depth=1
                                        ;     Parent Loop BB0_12 Depth=2
                                        ;       Parent Loop BB0_14 Depth=3
                                        ;         Parent Loop BB0_17 Depth=4
                                        ; =>        This Inner Loop Header: Depth=5
	ldr	w0, [x19], #4
	bl	_FFABS
	mov	x1, x23
	mov	x2, x22
	mov	x3, x24
	bl	_QUANT
	mov	x25, x0
	bl	_count_vc2_ue_uint
	add	w8, w21, w0
	cmp	w25, #0
	cinc	w21, w8, ne
	subs	w20, w20, #1
	b.ne	LBB0_19
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=4
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	ldr	w8, [x8]
	ldur	w14, [x29, #-92]                ; 4-byte Folded Reload
	ldur	w11, [x29, #-108]               ; 4-byte Folded Reload
	b	LBB0_16
LBB0_21:                                ;   in Loop: Header=BB0_9 Depth=1
	ldur	w8, [x29, #-164]                ; 4-byte Folded Reload
	asr	w19, w8, #3
	mov	x0, x21
	mov	w1, #8
	bl	_FFALIGN
	mov	x22, x0
	mvn	w8, w19
	add	w21, w8, w0, asr #3
	ldr	w1, [x27, #24]
	mov	x0, x21
	bl	_FFALIGN
	ldr	w8, [x27, #24]
	sdiv	w9, w0, w8
	msub	w8, w9, w8, w0
	add	w8, w21, w8
	sub	w8, w0, w8
	add	w0, w22, w8, lsl #3
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	add	x8, x8, #1
	stur	x8, [x29, #-136]                ; 8-byte Folded Spill
	cmp	x8, #3
	b.eq	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x27, #4]
	b	LBB0_9
LBB0_23:
	ldr	x8, [x25]
	ldur	x9, [x29, #-176]                ; 8-byte Folded Reload
	str	w0, [x8, x9, lsl #2]
LBB0_24:
	ldur	x8, [x29, #-88]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.25:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_DWT_LEVELS,4,2             ; @MAX_DWT_LEVELS
	.comm	_ff_dirac_qscale_tab,8,3        ; @ff_dirac_qscale_tab
	.no_dead_strip	_count_hq_slice
.subsections_via_symbols
