	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ls_decode_line
_ls_decode_line:                        ## @ls_decode_line
	.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
	movl	%r8d, -100(%rbp)                ## 4-byte Spill
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	testl	%r9d, %r9d
	jle	LBB0_52
## %bb.1:
	movq	%rcx, %r15
	movq	%rdx, %r12
	movl	16(%rbp), %eax
	movl	%r9d, %ecx
	subl	%eax, %ecx
	movl	%ecx, -104(%rbp)                ## 4-byte Spill
	movslq	24(%rbp), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	24(%rsi), %edx
	movl	32(%rsi), %ecx
	imull	28(%rsi), %ecx
	addl	%ecx, %eax
LBB0_50:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_av_clip
LBB0_51:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	andl	24(%rcx), %eax
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_W
	movl	16(%rbp), %eax
	addl	%eax, %r13d
	cmpl	%r14d, %r13d
	jge	LBB0_52
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##       Child Loop BB0_16 Depth 3
                                        ##     Child Loop BB0_29 Depth 2
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_bits_left
	testq	%rax, %rax
	jle	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%r13d, %r13d
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %r14d
	movl	16(%rbp), %ebx
	subl	%ebx, %r14d
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_R
	movl	%eax, %r15d
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_R
                                        ## kill: def $eax killed $eax def $rax
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	%rax, %r14
	callq	_R
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_R
	movl	%eax, %r15d
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_R
	movl	%eax, %r14d
	movl	-100(%rbp), %eax                ## 4-byte Reload
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	16(%rbp), %ebx
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	-104(%rbp), %r13d               ## 4-byte Folded Reload
	movl	$0, %esi
	cmovll	%ebx, %esi
	addl	%r13d, %esi
	movq	%r12, %rdi
	callq	_R
	movl	%eax, %r12d
	subl	%r14d, %r12d
	movq	%r14, -112(%rbp)                ## 8-byte Spill
                                        ## kill: def $r14d killed $r14d killed $r14
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	subl	%eax, %r14d
	subl	%r15d, %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	callq	_FFABS
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	cmpl	(%rbx), %eax
	jg	LBB0_41
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %edi
	callq	_FFABS
	cmpl	(%rbx), %eax
	jg	LBB0_41
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	_FFABS
	cmpl	(%rbx), %eax
	jle	LBB0_10
	.p2align	4, 0x90
LBB0_41:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_ff_jpegls_quantize
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax,8), %eax
	leal	(%rax,%rax,8), %r12d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_ff_jpegls_quantize
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax,8), %ebx
	addl	%r12d, %ebx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	callq	_ff_jpegls_quantize
	movl	%eax, %r12d
	addl	%ebx, %r12d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	leal	(%r15,%rdx), %esi
	subl	-48(%rbp), %esi                 ## 4-byte Folded Reload
	movl	%r15d, %edi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_mid_pred
	movl	%r12d, %r14d
	negl	%r14d
	cmovsl	%r12d, %r14d
	movq	16(%rbx), %rcx
	movl	(%rcx,%r14,4), %edi
	testl	%r12d, %r12d
	js	LBB0_42
## %bb.43:                              ##   in Loop: Header=BB0_2 Depth=1
	addl	%eax, %edi
	movl	24(%rbx), %edx
	xorl	%esi, %esi
	callq	_av_clip
	movl	%eax, %r15d
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_ls_get_code_regular
	jmp	LBB0_44
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_2 Depth=1
	subl	%edi, %eax
	movl	24(%rbx), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_av_clip
	movl	%eax, %r15d
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_ls_get_code_regular
	negl	%eax
LBB0_44:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	addl	%r15d, %eax
	movl	(%rbx), %ecx
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	testl	%ecx, %ecx
	je	LBB0_51
LBB0_46:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, %edx
	negl	%edx
	cmpl	%edx, %eax
	jl	LBB0_47
## %bb.48:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	24(%rsi), %edx
	addl	%edx, %ecx
	cmpl	%ecx, %eax
	jle	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	32(%rsi), %ecx
	imull	28(%rsi), %ecx
	subl	%ecx, %eax
	jmp	LBB0_50
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_11 Depth=2
	leal	(%rdi,%r13), %ecx
	cmpl	%r10d, %ecx
	movq	%r11, %rbx
	jg	LBB0_53
LBB0_11:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_16 Depth 3
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_bits1
	movq	_ff_log2_run@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rbx, %r11
	movq	8(%rbx), %r8
	movq	-96(%rbp), %r9                  ## 8-byte Reload
	movq	(%r8,%r9,8), %rbx
	movl	(%rcx,%rbx,4), %ecx
	testq	%rax, %rax
	je	LBB0_22
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	$1, %esi
	shll	%cl, %esi
	movl	16(%rbp), %edi
	movl	%edi, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	addl	%r13d, %eax
	movl	%esi, %r14d
	movl	-44(%rbp), %r10d                ## 4-byte Reload
	cmpl	%r10d, %eax
	jle	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	%r10d, %eax
	subl	%r13d, %eax
	cltd
	idivl	%edi
	movl	%eax, %r14d
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=2
	testl	%r14d, %r14d
	jle	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	%r14d, %ebx
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_11 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%r15d, %edx
	callq	_W
	movl	16(%rbp), %edi
	addl	%edi, %r13d
	decl	%ebx
	jne	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	_ff_log2_run@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, %r11
	movq	8(%rcx), %r8
	movq	-96(%rbp), %r9                  ## 8-byte Reload
	movq	(%r8,%r9,8), %rbx
	movb	(%rax,%rbx,4), %cl
	movl	$1, %esi
	shll	%cl, %esi
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movl	-44(%rbp), %r10d                ## 4-byte Reload
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=2
	xorl	%eax, %eax
	cmpl	%esi, %r14d
	jne	LBB0_53
## %bb.19:                              ##   in Loop: Header=BB0_11 Depth=2
	cmpq	$30, %rbx
	ja	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_11 Depth=2
	incq	%rbx
	movq	%rbx, (%r8,%r9,8)
	jmp	LBB0_21
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%ecx, %ecx
	je	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%ecx, %esi
	callq	_get_bits_long
	movl	%eax, %r14d
	jmp	LBB0_25
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%rbp), %ecx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %eax
	imull	%ecx, %eax
	addl	%r13d, %eax
	cmpl	%edx, %eax
	jle	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%edx, %eax
	subl	%r13d, %eax
	cltd
	idivl	%ecx
	movl	%eax, %r14d
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%r14d, %r14d
	jle	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_29:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	%r15d, %edx
	callq	_W
	movl	16(%rbp), %eax
	addl	%eax, %r13d
	decl	%r14d
	jne	LBB0_29
LBB0_30:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, %r13d
	jge	LBB0_31
## %bb.32:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_R
	movl	%r15d, %edi
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	subl	%eax, %edi
	callq	_FFABS
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %ebx
	xorl	%edx, %edx
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	cmpl	%ebx, %eax
	setle	%dl
	movq	_ff_log2_run@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r14), %rcx
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	(%rcx,%r12,8), %rcx
	movl	(%rax,%rcx,4), %ecx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_ls_get_code_runterm
	movq	8(%r14), %rcx
	movq	(%rcx,%r12,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_2 Depth=1
	decq	%rdx
	movq	%rdx, (%rcx,%r12,8)
LBB0_34:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	je	LBB0_37
## %bb.35:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ebx, -48(%rbp)                 ## 4-byte Folded Reload
	jg	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_2 Depth=1
	addl	%r15d, %eax
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_46
LBB0_37:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	cmpl	%edx, %r15d
	jle	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_2 Depth=1
	subl	%eax, %edx
	movl	%edx, %eax
	jmp	LBB0_40
LBB0_39:                                ##   in Loop: Header=BB0_2 Depth=1
	addl	%edx, %eax
LBB0_40:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	testl	%ecx, %ecx
	jne	LBB0_46
	jmp	LBB0_51
LBB0_52:
	xorl	%eax, %eax
	jmp	LBB0_53
LBB0_31:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	movl	%ecx, %ebx
	callq	_av_log
	xorl	%edi, %edi
	cmpl	%ebx, %r13d
	setle	%dil
	callq	_av_assert0
LBB0_3:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_53:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_ff_log2_run,8,3                ## @ff_log2_run
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"run overflow\n"

	.no_dead_strip	_ls_decode_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ls_decode_line
_ls_decode_line:                        ; @ls_decode_line
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
                                        ; kill: def $w7 killed $w7 def $x7
	str	w4, [sp, #12]                   ; 4-byte Folded Spill
	cmp	w5, #1
	b.lt	LBB0_43
; %bb.1:
	mov	x21, x6
	mov	x28, x5
	mov	x23, x3
	mov	x24, x2
	mov	x25, x1
	mov	x26, x0
	mov	w20, #0
	sub	w8, w5, w6
	stp	w8, w5, [sp, #24]               ; 8-byte Folded Spill
	sxtw	x19, w7
	stp	x1, x2, [sp, #32]               ; 16-byte Folded Spill
	str	x19, [sp, #16]                  ; 8-byte Folded Spill
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldp	w9, w8, [x26, #28]
	ldr	w2, [x26, #24]
	madd	w0, w8, w9, w0
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w1, #0
	bl	_av_clip
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x26, #24]
	and	w2, w8, w0
	mov	x0, x23
	mov	x1, x20
	bl	_W
	add	w20, w20, w21
	cmp	w20, w28
	b.ge	LBB0_43
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_21 Depth 2
                                        ;       Child Loop BB0_24 Depth 3
                                        ;     Child Loop BB0_35 Depth 2
	mov	x0, x25
	bl	_get_bits_left
	cmp	x0, #0
	b.le	LBB0_46
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	w20, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w19, w20, w21
	mov	x0, x23
	mov	x1, x19
	bl	_R
	mov	x27, x0
	mov	x0, x24
	mov	x1, x20
	bl	_R
	mov	x28, x0
	mov	x0, x24
	mov	x1, x19
	bl	_R
	mov	x22, x0
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x24
	mov	w1, #0
	bl	_R
	mov	x27, x0
	mov	x0, x24
	mov	w1, #0
	bl	_R
	mov	x28, x0
	ldr	w22, [sp, #12]                  ; 4-byte Folded Reload
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	cmp	w20, w8
	csel	w8, w21, wzr, lt
	add	w1, w20, w8
	mov	x0, x24
	bl	_R
	sub	w19, w0, w28
	sub	w25, w28, w22
	sub	w24, w22, w27
	mov	x0, x19
	bl	_FFABS
	ldr	w8, [x26]
	cmp	w0, w8
	b.gt	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x25
	bl	_FFABS
	ldr	w8, [x26]
	cmp	w0, w8
	b.gt	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x24
	bl	_FFABS
	ldr	w8, [x26]
	cmp	w0, w8
	b.le	LBB0_19
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x26
	mov	x1, x19
	bl	_ff_jpegls_quantize
	mov	x19, x0
	mov	x0, x26
	mov	x1, x25
	bl	_ff_jpegls_quantize
	add	w8, w0, w0, lsl #3
	mov	w9, #81
	madd	w19, w19, w9, w8
	mov	x0, x26
	mov	x1, x24
	bl	_ff_jpegls_quantize
	add	w24, w19, w0
	add	w8, w27, w28
	sub	w1, w8, w22
	mov	x0, x27
	mov	x2, x28
	bl	_mid_pred
	cmp	w24, #0
	cneg	w19, w24, mi
	ldr	x8, [x26, #16]
	ldr	w8, [x8, w19, uxtw #2]
	tbnz	w24, #31, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	add	w0, w8, w0
	ldr	w2, [x26, #24]
	mov	w1, #0
	bl	_av_clip
	mov	x22, x0
	ldr	x25, [sp, #32]                  ; 8-byte Folded Reload
	mov	x0, x25
	mov	x1, x26
	mov	x2, x19
	bl	_ls_get_code_regular
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w0, w0, w8
	ldr	w2, [x26, #24]
	mov	w1, #0
	bl	_av_clip
	mov	x22, x0
	ldr	x25, [sp, #32]                  ; 8-byte Folded Reload
	mov	x0, x25
	mov	x1, x26
	mov	x2, x19
	bl	_ls_get_code_regular
	neg	w0, w0
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w0, w22, w0
	ldr	w8, [x26]
	ldr	w28, [sp, #28]                  ; 4-byte Folded Reload
	ldr	x24, [sp, #40]                  ; 8-byte Folded Reload
	cbz	w8, LBB0_4
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	neg	w9, w8
	cmp	w0, w9
	b.lt	LBB0_2
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w2, [x26, #24]
	add	w8, w2, w8
	cmp	w0, w8
	b.le	LBB0_3
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	ldp	w8, w9, [x26, #28]
	msub	w0, w9, w8, w0
	b	LBB0_3
LBB0_19:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w28, [sp, #28]                  ; 4-byte Folded Reload
	ldp	x25, x24, [sp, #32]             ; 16-byte Folded Reload
	ldr	x22, [sp, #16]                  ; 8-byte Folded Reload
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=2
	add	w8, w20, w21
	cmp	w8, w28
	b.gt	LBB0_43
LBB0_21:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_24 Depth 3
	mov	x0, x25
	bl	_get_bits1
Lloh0:
	adrp	x8, _ff_log2_run@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_log2_run@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x8]
	ldr	x8, [x26, #8]
	ldr	x9, [x8, x22, lsl #3]
	ldr	w1, [x10, x9, lsl #2]
	cbz	x0, LBB0_29
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=2
	mov	w10, #1
	lsl	w10, w10, w1
	lsl	w11, w21, w1
	sub	w12, w28, w20
	sdiv	w12, w12, w21
	add	w11, w11, w20
	cmp	w11, w28
	csel	w19, w10, w12, le
	cmp	w19, #1
	b.lt	LBB0_26
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=2
	mov	x22, x19
LBB0_24:                                ;   Parent Loop BB0_5 Depth=1
                                        ;     Parent Loop BB0_21 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x0, x23
	mov	x1, x20
	mov	x2, x27
	bl	_W
	add	w20, w20, w21
	subs	w22, w22, #1
	b.ne	LBB0_24
; %bb.25:                               ;   in Loop: Header=BB0_21 Depth=2
Lloh3:
	adrp	x8, _ff_log2_run@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ff_log2_run@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x8]
	ldr	x8, [x26, #8]
	ldr	x22, [sp, #16]                  ; 8-byte Folded Reload
	ldr	x9, [x8, x22, lsl #3]
	ldr	w10, [x10, x9, lsl #2]
	mov	w11, #1
	lsl	w10, w11, w10
LBB0_26:                                ;   in Loop: Header=BB0_21 Depth=2
	cmp	w19, w10
	b.ne	LBB0_43
; %bb.27:                               ;   in Loop: Header=BB0_21 Depth=2
	cmp	x9, #30
	b.hi	LBB0_20
; %bb.28:                               ;   in Loop: Header=BB0_21 Depth=2
	add	x9, x9, #1
	str	x9, [x8, x22, lsl #3]
	b	LBB0_20
LBB0_29:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	w1, LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x25
	bl	_get_bits_long
	mov	x22, x0
	b	LBB0_32
LBB0_31:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w22, #0
LBB0_32:                                ;   in Loop: Header=BB0_5 Depth=1
	madd	w8, w22, w21, w20
	cmp	w8, w28
	b.le	LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_5 Depth=1
	sub	w8, w28, w20
	sdiv	w22, w8, w21
LBB0_34:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w22, #1
	b.lt	LBB0_36
LBB0_35:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	mov	x1, x20
	mov	x2, x27
	bl	_W
	add	w20, w20, w21
	subs	w22, w22, #1
	b.ne	LBB0_35
LBB0_36:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w20, w28
	b.ge	LBB0_45
; %bb.37:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x24
	mov	x1, x20
	bl	_R
	mov	x22, x0
	sub	w0, w27, w0
	bl	_FFABS
	ldr	w24, [x26]
	str	w0, [sp, #8]                    ; 4-byte Folded Spill
	cmp	w0, w24
	cset	w2, le
Lloh6:
	adrp	x8, _ff_log2_run@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ff_log2_run@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x9, [x26, #8]
	mov	x0, x25
	ldr	x19, [sp, #16]                  ; 8-byte Folded Reload
	lsl	x25, x19, #3
	ldr	x9, [x9, x25]
	ldr	w3, [x8, x9, lsl #2]
	mov	x1, x26
	bl	_ls_get_code_runterm
	ldr	x8, [x26, #8]
	ldr	x9, [x8, x25]
	cbz	x9, LBB0_39
; %bb.38:                               ;   in Loop: Header=BB0_5 Depth=1
	sub	x9, x9, #1
	str	x9, [x8, x19, lsl #3]
LBB0_39:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x26]
	cbz	w8, LBB0_42
; %bb.40:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [sp, #8]                    ; 4-byte Folded Reload
	cmp	w9, w24
	b.gt	LBB0_42
; %bb.41:                               ;   in Loop: Header=BB0_5 Depth=1
	add	w0, w0, w27
	ldp	x25, x24, [sp, #32]             ; 16-byte Folded Reload
	b	LBB0_16
LBB0_42:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w9, w0, w22
	sub	w10, w22, w0
	cmp	w27, w22
	csel	w0, w9, w10, le
	ldp	x25, x24, [sp, #32]             ; 16-byte Folded Reload
	cbnz	w8, LBB0_16
	b	LBB0_4
LBB0_43:
	mov	w0, #0
LBB0_44:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_45:
Lloh9:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	bl	_av_log
	cmp	w20, w28
	cset	w0, le
	bl	_av_assert0
LBB0_46:
Lloh14:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	b	LBB0_44
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_ff_log2_run,8,3                ; @ff_log2_run
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"run overflow\n"

	.no_dead_strip	_ls_decode_line
.subsections_via_symbols
