	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hls_transform_tree
_hls_transform_tree:                    ## @hls_transform_tree
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -108(%rbp)                ## 4-byte Spill
	movl	%ecx, -132(%rbp)                ## 4-byte Spill
	movl	%edx, %r8d
	movl	%esi, %r15d
	movl	40(%rbp), %r10d
	movq	64(%rbp), %rax
	movq	56(%rbp), %rcx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, -48(%rbp)
	movq	32(%rdi), %r12
	movl	(%rcx), %r14d
	movl	%r14d, -56(%rbp)
	movl	4(%rcx), %ecx
	movl	%ecx, -116(%rbp)                ## 4-byte Spill
	movl	%ecx, -52(%rbp)
	movl	(%rax), %ecx
	movl	%ecx, -104(%rbp)                ## 4-byte Spill
	movl	%ecx, -64(%rbp)
	movl	4(%rax), %eax
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	movl	%eax, -60(%rbp)
	movl	32(%rbp), %r13d
	movq	32(%r12), %r11
	testq	%r11, %r11
	je	LBB0_4
## %bb.1:
	cmpl	$1, %r10d
	jne	LBB0_8
## %bb.2:
	movq	48(%r12), %rcx
	movq	56(%r12), %rsi
	movl	48(%rbp), %eax
	movslq	%eax, %rdx
	movl	(%rsi,%rdx,4), %esi
	movl	%esi, 72(%r12)
	movq	16(%rdi), %rsi
	cmpl	$3, (%rsi)
	jne	LBB0_5
## %bb.3:
	movl	(%rcx,%rdx,4), %ecx
	movl	%ecx, 68(%r12)
	movq	40(%r12), %rcx
	movl	(%rcx,%rdx,4), %ecx
	jmp	LBB0_7
LBB0_4:
	movq	56(%r12), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 72(%r12)
	movq	40(%r12), %rcx
	movq	48(%r12), %rdx
	movl	(%rdx), %edx
	movl	%edx, 68(%r12)
	jmp	LBB0_6
LBB0_5:
	movl	(%rcx), %ecx
	movl	%ecx, 68(%r12)
	movq	40(%r12), %rcx
LBB0_6:
	movl	(%rcx), %ecx
LBB0_7:
	movl	%ecx, 64(%r12)
LBB0_8:
	movq	16(%rdi), %rcx
	movl	4(%rcx), %edx
	cmpl	%r13d, %edx
	jl	LBB0_13
## %bb.9:
	cmpl	%r13d, 8(%rcx)
	jge	LBB0_13
## %bb.10:
	cmpl	%r10d, (%r12)
	jle	LBB0_13
## %bb.11:
	testl	%r10d, %r10d
	jne	LBB0_32
## %bb.12:
	testq	%r11, %r11
	je	LBB0_32
LBB0_13:
	cmpq	$0, 16(%rcx)
	je	LBB0_15
## %bb.14:
	xorl	%esi, %esi
	jmp	LBB0_19
LBB0_15:
	movq	%rdi, %rbx
	movq	8(%r12), %rsi
	movq	_MODE_INTER@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rsi
	jne	LBB0_17
## %bb.16:
	movq	16(%r12), %rsi
	movq	_PART_2Nx2N@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rsi
	setne	%dil
	testl	%r10d, %r10d
	sete	%sil
	andb	%dil, %sil
	jmp	LBB0_18
LBB0_17:
	xorl	%esi, %esi
LBB0_18:
	movq	%rbx, %rdi
LBB0_19:
	movl	$1, %eax
	cmpl	%r13d, %edx
	jl	LBB0_21
## %bb.20:
	testq	%r11, %r11
	setne	%al
	testl	%r10d, %r10d
	sete	%dl
	andb	%al, %dl
	orb	%sil, %dl
	movzbl	%dl, %eax
LBB0_21:
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movl	%r9d, -68(%rbp)                 ## 4-byte Spill
	je	LBB0_25
## %bb.22:
	cmpl	$2, %r13d
	jg	LBB0_26
## %bb.23:
	cmpl	$3, %ecx
	je	LBB0_26
LBB0_25:
	movl	%r14d, %edx
LBB0_43:
	testl	%eax, %eax
	je	LBB0_48
LBB0_44:
	decl	%r13d
	movl	$1, %r12d
	movl	%r13d, %ecx
	shll	%cl, %r12d
	incl	%r10d
	movq	%r10, -104(%rbp)                ## 8-byte Spill
	subq	$8, %rsp
	leaq	-64(%rbp), %rax
	leaq	-56(%rbp), %rbx
	movq	%rdi, %r14
	movl	%r15d, %esi
	movl	%r8d, %edx
	movl	%r15d, %ecx
                                        ## kill: def $r8d killed $r8d killed $r8
	pushq	%rax
	pushq	%rbx
	pushq	$0
	pushq	%r10
	pushq	%r13
	movl	24(%rbp), %eax
	movq	%rax, %rbx
	pushq	%rax
	movl	16(%rbp), %eax
	pushq	%rax
	callq	_hls_transform_tree
	addq	$64, %rsp
	testl	%eax, %eax
	js	LBB0_64
## %bb.45:
	leal	(%r12,%r15), %esi
	subq	$8, %rsp
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movl	%esi, -108(%rbp)                ## 4-byte Spill
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	%r15d, %ecx
	movl	%edx, %r8d
	movl	-68(%rbp), %r9d                 ## 4-byte Reload
	leaq	-64(%rbp), %rax
	pushq	%rax
	leaq	-56(%rbp), %rax
	pushq	%rax
	pushq	$1
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	pushq	%r13
	pushq	%rbx
	movl	16(%rbp), %r14d
	pushq	%r14
	callq	_hls_transform_tree
	addq	$64, %rsp
	testl	%eax, %eax
	js	LBB0_64
## %bb.46:
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	addl	%r8d, %r12d
	subq	$8, %rsp
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%r15d, %ecx
                                        ## kill: def $r8d killed $r8d killed $r8
	movl	-68(%rbp), %r9d                 ## 4-byte Reload
	leaq	-64(%rbp), %rax
	pushq	%rax
	leaq	-56(%rbp), %rax
	pushq	%rax
	pushq	$2
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	pushq	%r13
	pushq	%rbx
	pushq	%r14
	callq	_hls_transform_tree
	addq	$64, %rsp
	testl	%eax, %eax
	js	LBB0_64
## %bb.47:
	subq	$8, %rsp
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	-108(%rbp), %esi                ## 4-byte Reload
	movl	%r12d, %edx
	movl	%r15d, %ecx
	movq	-88(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	movl	-68(%rbp), %r9d                 ## 4-byte Reload
	leaq	-64(%rbp), %rax
	pushq	%rax
	leaq	-56(%rbp), %rax
	pushq	%rax
	pushq	$3
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	pushq	%r13
	pushq	%rbx
	movl	16(%rbp), %eax
	pushq	%rax
	callq	_hls_transform_tree
	addq	$64, %rsp
	testl	%eax, %eax
	jns	LBB0_63
	jmp	LBB0_64
LBB0_48:
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %rax
	movl	8(%rax), %r14d
	movl	24(%rax), %ecx
	movl	%ecx, -92(%rbp)                 ## 4-byte Spill
	movl	$1, %r13d
	movl	%r14d, %ecx
	shll	%cl, %r13d
	testl	%r10d, %r10d
	jne	LBB0_54
## %bb.49:
	movq	_MODE_INTRA@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, 8(%r12)
	je	LBB0_54
## %bb.50:
	testl	%edx, %edx
	jne	LBB0_54
## %bb.51:
	cmpl	$0, -104(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_54
## %bb.52:
	movl	$1, %ebx
	cmpl	$2, (%rax)
	jne	LBB0_55
## %bb.53:
	movl	-112(%rbp), %eax                ## 4-byte Reload
	orl	%eax, -116(%rbp)                ## 4-byte Folded Spill
	je	LBB0_55
LBB0_54:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r10d, %esi
	movq	%r12, -128(%rbp)                ## 8-byte Spill
	movl	%r9d, %r12d
	callq	_ff_hevc_cbf_luma_decode
	movl	%r12d, %r9d
	movq	-128(%rbp), %r12                ## 8-byte Reload
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movl	%eax, %ebx
LBB0_55:
	subq	$8, %rsp
	leaq	-64(%rbp), %rax
	leaq	-56(%rbp), %r10
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	%r8d, %edx
	movl	-132(%rbp), %ecx                ## 4-byte Reload
	movl	-108(%rbp), %r8d                ## 4-byte Reload
	pushq	%rax
	pushq	%r10
	pushq	%rbx
	movl	48(%rbp), %eax
	pushq	%rax
	movl	32(%rbp), %eax
	pushq	%rax
	movl	24(%rbp), %eax
	pushq	%rax
	movl	16(%rbp), %eax
	pushq	%rax
	callq	_hls_transform_unit
	addq	$64, %rsp
	testl	%eax, %eax
	js	LBB0_64
## %bb.56:
	testl	%ebx, %ebx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	-92(%rbp), %r10d                ## 4-byte Reload
	je	LBB0_62
## %bb.57:
	movl	$1, %r9d
	movl	32(%rbp), %ecx
	shll	%cl, %r9d
	cmpl	$31, %ecx
	je	LBB0_62
## %bb.58:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	xorl	%r8d, %r8d
	.p2align	4, 0x90
LBB0_59:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_60 Depth 2
	leal	(%r8,%rdx), %edi
	movl	%r14d, %ecx
	sarl	%cl, %edi
	imull	%r10d, %edi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_60:                                ##   Parent Loop BB0_59 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	(%r15,%rsi), %ebx
	movl	%r14d, %ecx
	sarl	%cl, %ebx
	addl	%edi, %ebx
	movslq	%ebx, %rcx
	movl	$1, (%rax,%rcx,4)
	addl	%r13d, %esi
	cmpl	%r9d, %esi
	jl	LBB0_60
## %bb.61:                              ##   in Loop: Header=BB0_59 Depth=1
	addl	%r13d, %r8d
	cmpl	%r9d, %r8d
	jl	LBB0_59
LBB0_62:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	cmpl	$0, 24(%rbx)
	je	LBB0_66
LBB0_63:
	xorl	%eax, %eax
LBB0_64:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_69
## %bb.65:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	testl	%r10d, %r10d
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	je	LBB0_28
## %bb.27:
	xorl	%edx, %edx
	testl	%r14d, %r14d
	je	LBB0_35
LBB0_28:
	movq	%rdi, %rbx
	movq	%r10, %r14
	movl	%r10d, %esi
	callq	_ff_hevc_cbf_cb_cr_decode
	movq	%rbx, %rdi
	movl	%eax, %edx
	movl	%eax, -56(%rbp)
	movq	16(%rbx), %rax
	cmpl	$2, (%rax)
	jne	LBB0_31
## %bb.29:
	cmpl	$3, %r13d
	je	LBB0_33
## %bb.30:
	cmpl	$0, -80(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_33
LBB0_31:
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movl	-68(%rbp), %r9d                 ## 4-byte Reload
	movq	%r14, %r10
	jmp	LBB0_34
LBB0_66:
	movq	%rbx, %rdi
	movl	%r15d, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	32(%rbp), %ecx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_ff_hevc_deblocking_boundary_strengths
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	8(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_63
## %bb.67:
	cmpq	$0, 24(%r12)
	je	LBB0_63
## %bb.68:
	movq	%rbx, %rdi
	movl	%r15d, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	32(%rbp), %ecx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_set_deblocking_bypass
	jmp	LBB0_63
LBB0_32:
	movl	%r13d, %esi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%r8, %rbx
	movq	%r12, -128(%rbp)                ## 8-byte Spill
	movl	%r9d, %r12d
	callq	_ff_hevc_split_transform_flag_decode
	movl	40(%rbp), %r10d
	movl	%r12d, %r9d
	movq	-128(%rbp), %r12                ## 8-byte Reload
	movq	%rbx, %r8
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	16(%rdi), %rcx
	jmp	LBB0_21
LBB0_33:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%edx, %r14d
	callq	_ff_hevc_cbf_cb_cr_decode
	movl	%r14d, %edx
	movq	%rbx, %rdi
	movl	40(%rbp), %r10d
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movl	%eax, -52(%rbp)
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movl	-68(%rbp), %r9d                 ## 4-byte Reload
LBB0_34:
	movl	-80(%rbp), %eax                 ## 4-byte Reload
LBB0_35:
	testl	%r10d, %r10d
	je	LBB0_38
## %bb.36:
	cmpl	$0, -104(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_38
## %bb.37:
	movl	$0, -104(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_43
LBB0_38:
	movl	%edx, -92(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movq	%r10, %r14
	movl	%r10d, %esi
	callq	_ff_hevc_cbf_cb_cr_decode
	movq	%rbx, %rdi
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movl	%eax, -64(%rbp)
	movq	16(%rbx), %rax
	cmpl	$2, (%rax)
	jne	LBB0_42
## %bb.39:
	cmpl	$3, %r13d
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movl	-68(%rbp), %r9d                 ## 4-byte Reload
	movq	%r14, %r10
	je	LBB0_41
## %bb.40:
	cmpl	$0, -80(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_44
LBB0_41:
	movq	%rbx, %rdi
	movl	%r10d, %esi
	callq	_ff_hevc_cbf_cb_cr_decode
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	movq	%rbx, %rdi
	movq	%r14, %r10
	movl	-68(%rbp), %r9d                 ## 4-byte Reload
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	movl	%eax, -60(%rbp)
	movl	-80(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_43
LBB0_42:
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movl	-68(%rbp), %r9d                 ## 4-byte Reload
	movq	%r14, %r10
	movl	-80(%rbp), %eax                 ## 4-byte Reload
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	jmp	LBB0_43
LBB0_69:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MODE_INTER,8,3                 ## @MODE_INTER
	.comm	_PART_2Nx2N,8,3                 ## @PART_2Nx2N
	.comm	_MODE_INTRA,8,3                 ## @MODE_INTRA
	.no_dead_strip	_hls_transform_tree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hls_transform_tree
_hls_transform_tree:                    ; @hls_transform_tree
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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	w7, [sp, #68]                   ; 4-byte Folded Spill
	mov	x27, x6
	mov	x19, x2
	mov	x20, x1
	mov	x13, x0
	ldp	w28, w14, [x29, #20]
	ldr	w22, [x29, #16]
	ldp	x9, x8, [x29, #32]
Lloh0:
	adrp	x10, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	str	x10, [sp, #88]
	ldr	x26, [x0, #32]
	ldp	w23, w21, [x9]
	stp	w23, w21, [sp, #80]
	ldp	w24, w15, [x8]
	stp	w24, w15, [sp, #72]
	ldr	x8, [x26, #32]
	cbz	x8, LBB0_4
; %bb.1:
	cmp	w28, #1
	b.ne	LBB0_7
; %bb.2:
	ldp	x9, x10, [x26, #48]
	ldr	w10, [x10, w14, sxtw #2]
	str	w10, [x26, #72]
	ldr	x10, [x13, #16]
	ldr	w10, [x10]
	cmp	w10, #3
	b.ne	LBB0_5
; %bb.3:
	sxtw	x10, w14
	lsl	x10, x10, #2
	ldr	w9, [x9, x10]
	str	w9, [x26, #68]
	ldr	x9, [x26, #40]
	ldr	w9, [x9, x10]
	b	LBB0_6
LBB0_4:
	ldr	x9, [x26, #56]
	ldr	w9, [x9]
	str	w9, [x26, #72]
	ldp	x10, x9, [x26, #40]
	ldr	w9, [x9]
	str	w9, [x26, #68]
	ldr	w9, [x10]
	b	LBB0_6
LBB0_5:
	ldr	w9, [x9]
	str	w9, [x26, #68]
	ldr	x9, [x26, #40]
	ldr	w9, [x9]
LBB0_6:
	str	w9, [x26, #64]
LBB0_7:
	ldr	x9, [x13, #16]
	ldr	w10, [x9, #4]
	cmp	w10, w22
	str	x13, [sp, #56]                  ; 8-byte Folded Spill
	stp	w3, w4, [sp, #48]               ; 8-byte Folded Spill
	str	x14, [sp, #40]                  ; 8-byte Folded Spill
	b.lt	LBB0_12
; %bb.8:
	ldr	w11, [x9, #8]
	cmp	w11, w22
	b.ge	LBB0_12
; %bb.9:
	ldr	w11, [x26]
	cmp	w11, w28
	b.le	LBB0_12
; %bb.10:
	cbnz	w28, LBB0_33
; %bb.11:
	cbz	x8, LBB0_33
LBB0_12:
	ldr	x11, [x9, #16]
	cbnz	x11, LBB0_15
; %bb.13:
	ldr	x11, [x26, #8]
Lloh3:
	adrp	x12, _MODE_INTER@GOTPAGE
Lloh4:
	ldr	x12, [x12, _MODE_INTER@GOTPAGEOFF]
Lloh5:
	ldr	x12, [x12]
	cmp	x11, x12
	b.ne	LBB0_15
; %bb.14:
	ldr	x11, [x26, #16]
Lloh6:
	adrp	x12, _PART_2Nx2N@GOTPAGE
Lloh7:
	ldr	x12, [x12, _PART_2Nx2N@GOTPAGEOFF]
Lloh8:
	ldr	x12, [x12]
	cmp	w28, #0
	ccmp	x11, x12, #4, eq
	cset	w11, ne
	b	LBB0_16
LBB0_15:
	mov	w11, #0
LBB0_16:
	mov	w12, #1
	cmp	w28, #0
	ccmp	x8, #0, #4, eq
	cset	w8, ne
	orr	w8, w8, w11
	cmp	w10, w22
	csel	w25, w12, w8, lt
	ldr	w8, [x9]
	cbz	w8, LBB0_34
LBB0_17:
	cmp	w22, #2
	b.gt	LBB0_19
; %bb.18:
	cmp	w8, #3
	b.ne	LBB0_34
LBB0_19:
	str	w15, [sp, #36]                  ; 4-byte Folded Spill
	cbz	w28, LBB0_21
; %bb.20:
	cbz	w23, LBB0_26
LBB0_21:
	str	w5, [sp, #32]                   ; 4-byte Folded Spill
	mov	x0, x13
	mov	x1, x28
	bl	_ff_hevc_cbf_cb_cr_decode
	ldr	x13, [sp, #56]                  ; 8-byte Folded Reload
	mov	x23, x0
	str	w0, [sp, #80]
	ldr	x8, [x13, #16]
	ldr	w8, [x8]
	cmp	w8, #2
	b.ne	LBB0_25
; %bb.22:
	cmp	w22, #3
	b.eq	LBB0_24
; %bb.23:
	cbnz	w25, LBB0_25
LBB0_24:
	mov	x0, x13
	mov	x1, x28
	bl	_ff_hevc_cbf_cb_cr_decode
	ldr	x13, [sp, #56]                  ; 8-byte Folded Reload
	mov	x21, x0
	str	w0, [sp, #84]
LBB0_25:
	ldp	w5, w15, [sp, #32]              ; 8-byte Folded Reload
LBB0_26:
	cbz	w28, LBB0_28
; %bb.27:
	cbz	w24, LBB0_34
LBB0_28:
	str	w21, [sp, #32]                  ; 4-byte Folded Spill
	mov	x21, x5
	mov	x0, x13
	mov	x1, x28
	bl	_ff_hevc_cbf_cb_cr_decode
	ldr	x13, [sp, #56]                  ; 8-byte Folded Reload
	mov	x24, x0
	str	w0, [sp, #72]
	ldr	x8, [x13, #16]
	ldr	w8, [x8]
	cmp	w8, #2
	b.ne	LBB0_32
; %bb.29:
	cmp	w22, #3
	b.eq	LBB0_31
; %bb.30:
	mov	x5, x21
	cbnz	w25, LBB0_35
LBB0_31:
	mov	x0, x13
	mov	x1, x28
	bl	_ff_hevc_cbf_cb_cr_decode
	ldr	x13, [sp, #56]                  ; 8-byte Folded Reload
	mov	x5, x21
	mov	x15, x0
	ldr	w21, [sp, #32]                  ; 4-byte Folded Reload
	str	w0, [sp, #76]
	b	LBB0_34
LBB0_32:
	mov	x5, x21
	ldp	w21, w15, [sp, #32]             ; 8-byte Folded Reload
	b	LBB0_34
LBB0_33:
	str	w21, [sp, #32]                  ; 4-byte Folded Spill
	mov	x0, x13
	mov	x1, x22
	mov	x21, x5
	mov	x25, x15
	bl	_ff_hevc_split_transform_flag_decode
	mov	x15, x25
	ldr	x13, [sp, #56]                  ; 8-byte Folded Reload
	mov	x5, x21
	mov	x25, x0
	ldr	w21, [sp, #32]                  ; 4-byte Folded Reload
	ldr	x9, [x13, #16]
	ldr	w8, [x9]
	cbnz	w8, LBB0_17
LBB0_34:
	cbz	w25, LBB0_39
LBB0_35:
	sub	w24, w22, #1
	add	w25, w28, #1
	add	x23, sp, #72
	add	x26, sp, #80
	stp	x26, x23, [sp, #16]
	stp	w25, wzr, [sp, #4]
	str	w24, [sp]
	mov	x0, x13
	mov	x1, x20
	mov	x2, x19
	mov	x3, x20
	mov	x4, x19
	mov	x21, x5
	mov	x22, x13
	mov	x6, x27
	ldr	w28, [sp, #68]                  ; 4-byte Folded Reload
	mov	x7, x28
	bl	_hls_transform_tree
	tbnz	w0, #31, LBB0_52
; %bb.36:
	mov	w8, #1
	mov	x6, x27
	lsl	w27, w8, w24
	add	w1, w27, w20
	stp	x26, x23, [sp, #16]
	stp	w25, w8, [sp, #4]
	str	w24, [sp]
	mov	x0, x22
	str	w1, [sp, #56]                   ; 4-byte Folded Spill
	mov	x2, x19
	mov	x3, x20
	mov	x4, x19
	mov	x5, x21
	mov	x26, x6
	mov	x7, x28
	bl	_hls_transform_tree
	tbnz	w0, #31, LBB0_52
; %bb.37:
	add	w23, w27, w19
	add	x8, sp, #72
	add	x27, sp, #80
	stp	x27, x8, [sp, #16]
	mov	w8, #2
	stp	w25, w8, [sp, #4]
	str	w24, [sp]
	mov	x0, x22
	mov	x1, x20
	mov	x2, x23
	mov	x3, x20
	mov	x4, x19
	mov	x5, x21
	mov	x6, x26
	mov	x7, x28
	bl	_hls_transform_tree
	tbnz	w0, #31, LBB0_52
; %bb.38:
	add	x8, sp, #72
	stp	x27, x8, [sp, #16]
	mov	w8, #3
	stp	w25, w8, [sp, #4]
	str	w24, [sp]
	mov	x0, x22
	ldr	w1, [sp, #56]                   ; 4-byte Folded Reload
	mov	x2, x23
	mov	x3, x20
	mov	x4, x19
	mov	x5, x21
	mov	x6, x26
	mov	x7, x28
	bl	_hls_transform_tree
	tbz	w0, #31, LBB0_51
	b	LBB0_52
LBB0_39:
	str	w27, [sp, #36]                  ; 4-byte Folded Spill
	ldr	x8, [x13, #16]
	ldr	w25, [x8, #8]
	ldr	w27, [x8, #24]
	cbnz	w28, LBB0_45
; %bb.40:
	ldr	x9, [x26, #8]
Lloh9:
	adrp	x10, _MODE_INTRA@GOTPAGE
Lloh10:
	ldr	x10, [x10, _MODE_INTRA@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_45
; %bb.41:
	cbnz	w23, LBB0_45
; %bb.42:
	cbnz	w24, LBB0_45
; %bb.43:
	ldr	w8, [x8]
	cmp	w8, #2
	b.ne	LBB0_46
; %bb.44:
	orr	w8, w21, w15
	cbz	w8, LBB0_46
LBB0_45:
	mov	x0, x13
	mov	x1, x28
	mov	x21, x5
	bl	_ff_hevc_cbf_luma_decode
	ldr	x13, [sp, #56]                  ; 8-byte Folded Reload
	mov	x5, x21
	mov	x23, x0
	b	LBB0_47
LBB0_46:
	mov	w23, #1
LBB0_47:
	add	x8, sp, #72
	add	x9, sp, #80
	stp	x9, x8, [sp, #16]
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	stp	w8, w23, [sp, #4]
	str	w22, [sp]
	mov	x0, x13
	mov	x1, x20
	mov	x2, x19
	ldp	w3, w4, [sp, #48]               ; 8-byte Folded Reload
	ldr	w6, [sp, #36]                   ; 4-byte Folded Reload
	ldr	w7, [sp, #68]                   ; 4-byte Folded Reload
	bl	_hls_transform_unit
	tbnz	w0, #31, LBB0_52
; %bb.48:
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	cbz	w23, LBB0_50
; %bb.49:
	cmp	w22, #31
	b.ne	LBB0_57
LBB0_50:
	ldr	w8, [x0, #24]
	cbz	w8, LBB0_54
LBB0_51:
	mov	w0, #0
LBB0_52:
	ldr	x8, [sp, #88]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_65
; %bb.53:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_54:
	mov	x1, x20
	mov	x2, x19
	mov	x3, x22
	bl	_ff_hevc_deblocking_boundary_strengths
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_51
; %bb.55:
	ldr	x8, [x26, #24]
	cbz	x8, LBB0_51
; %bb.56:
	mov	x1, x20
	mov	x2, x19
	mov	x3, x22
	bl	_set_deblocking_bypass
	b	LBB0_51
LBB0_57:
	mov	w8, #0
	mov	w9, #1
	lsl	w9, w9, w25
	mov	w10, #1
	lsl	w11, w10, w22
	cmp	w9, w11
	csel	w12, w9, w11, gt
	cinc	w13, w9, lt
	sub	w13, w12, w13
	cmp	w9, w11
	ldr	x12, [x0]
	lsr	w13, w13, w25
	cinc	w13, w13, lt
	add	w13, w13, #1
	and	w14, w13, #0xfffffffc
	lsl	w15, w14, w25
	lsl	w16, w9, #1
	b	LBB0_59
LBB0_58:                                ;   in Loop: Header=BB0_59 Depth=1
	add	w8, w8, w9
	cmp	w8, w11
	b.ge	LBB0_50
LBB0_59:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_62 Depth 2
                                        ;     Child Loop BB0_64 Depth 2
	add	w17, w8, w19
	asr	w17, w17, w25
	mul	w17, w17, w27
	cmp	w13, #4
	b.hs	LBB0_61
; %bb.60:                               ;   in Loop: Header=BB0_59 Depth=1
	mov	w2, #0
	b	LBB0_64
LBB0_61:                                ;   in Loop: Header=BB0_59 Depth=1
	mov	w5, #0
LBB0_62:                                ;   Parent Loop BB0_59 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	w1, w5, w25
	add	w2, w5, #3
	lsl	w2, w2, w25
	add	w3, w1, w20
	add	w4, w1, w9
	add	w4, w4, w20
	add	w1, w1, w16
	add	w1, w1, w20
	asr	w3, w3, w25
	add	w2, w2, w20
	asr	w4, w4, w25
	asr	w1, w1, w25
	asr	w2, w2, w25
	add	w3, w3, w17
	add	w4, w4, w17
	add	w1, w1, w17
	add	w2, w2, w17
	str	w10, [x12, w3, sxtw #2]
	str	w10, [x12, w4, sxtw #2]
	str	w10, [x12, w1, sxtw #2]
	str	w10, [x12, w2, sxtw #2]
	add	w5, w5, #4
	cmp	w5, w14
	b.ne	LBB0_62
; %bb.63:                               ;   in Loop: Header=BB0_59 Depth=1
	mov	x2, x15
	cmp	w13, w14
	b.eq	LBB0_58
LBB0_64:                                ;   Parent Loop BB0_59 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w1, w20, w2
	asr	w1, w1, w25
	add	w1, w1, w17
	str	w10, [x12, w1, sxtw #2]
	add	w2, w2, w9
	cmp	w2, w11
	b.lt	LBB0_64
	b	LBB0_58
LBB0_65:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MODE_INTER,8,3                 ; @MODE_INTER
	.comm	_PART_2Nx2N,8,3                 ; @PART_2Nx2N
	.comm	_MODE_INTRA,8,3                 ; @MODE_INTRA
	.no_dead_strip	_hls_transform_tree
.subsections_via_symbols
