	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_mlz_decompression           ## -- Begin function ff_mlz_decompression
	.p2align	4, 0x90
_ff_mlz_decompression:                  ## @ff_mlz_decompression
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	32(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	$-1, -48(%rbp)
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movslq	%edx, %r15
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
	xorl	%r14d, %r14d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_ff_mlz_flush_dict
	movl	$-1, -48(%rbp)
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
LBB0_31:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r15, %r14
	jae	LBB0_32
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	24(%r12), %esi
	movq	%rbx, %rdi
	callq	_input_code
	cmpl	$130, %eax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %r13d
	cmpl	$129, %eax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$128, %r13d
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	4(%r12), %r8
	cmpl	%r8d, %r13d
	jg	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	16(%r12), %r13d
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	incl	24(%r12)
	leaq	(%r8,%r8), %rax
	movl	%eax, 4(%r12)
	leaq	(%r8,%r8), %rax
	decq	%rax
	movq	%rax, 16(%r12)
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, (%r12)
	jmp	LBB0_31
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14), %rsi
	subq	%r14, %r15
	cmpl	8(%r12), %r13d
	jge	LBB0_13
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movl	%r13d, %edx
	leaq	-48(%rbp), %rcx
	movl	%r15d, %r8d
	callq	_decode_string
	testl	%eax, %eax
	js	LBB0_15
## %bb.23:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %eax
	cmpq	%rax, %r15
	jb	LBB0_15
## %bb.24:                              ##   in Loop: Header=BB0_3 Depth=1
	addq	%rax, %r14
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	cmpq	%r15, %r14
	jbe	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_31
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	leaq	-48(%rbp), %rcx
	movl	%r15d, %r8d
	callq	_decode_string
	testl	%eax, %eax
	js	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %eax
	cmpq	%rax, %r15
	jb	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	addq	%rax, %r14
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14), %rsi
	movl	-48(%rbp), %edx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	subq	%r14, %rbx
	movq	%r12, %rdi
	leaq	-48(%rbp), %rcx
	movl	%ebx, %r8d
	callq	_decode_string
	testl	%eax, %eax
	js	LBB0_15
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %eax
	cmpq	%rax, %rbx
	jb	LBB0_15
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	addq	%rax, %r14
	movl	8(%r12), %esi
	movl	-48(%rbp), %ecx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_set_new_entry_dict
	movl	8(%r12), %eax
	movq	_TABLE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	decl	%ecx
	cmpl	%ecx, %eax
	jge	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_3 Depth=1
	incl	%eax
	movl	%eax, 8(%r12)
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_31
LBB0_26:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, (%r12)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_31
## %bb.27:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	cmpl	$-1, %edx
	je	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%r12), %esi
	movl	-48(%rbp), %ecx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_set_new_entry_dict
	movl	8(%r12), %eax
	movq	_TABLE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	decl	%ecx
	cmpl	%ecx, %eax
	jge	LBB0_20
## %bb.29:                              ##   in Loop: Header=BB0_3 Depth=1
	incl	%eax
	movl	%eax, 8(%r12)
LBB0_30:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_31
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_32
LBB0_15:
	movl	12(%r12), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_16:
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_32
LBB0_9:
	movl	12(%r12), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movl	%r13d, %ecx
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%eax, %eax
	callq	_av_log
LBB0_32:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movl	12(%r12), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"String code %d exceeds maximum value of %d.\n"

L_.str.1:                               ## @.str.1
	.asciz	"output chars overflow\n"

	.comm	_TABLE_SIZE,4,2                 ## @TABLE_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"Too many MLZ codes\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_mlz_decompression           ; -- Begin function ff_mlz_decompression
	.p2align	2
_ff_mlz_decompression:                  ; @ff_mlz_decompression
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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 $w2 killed $w2 def $x2
	ldr	x23, [x0, #32]
	mov	w8, #-1
	str	w8, [sp, #28]
	cbz	w2, LBB0_25
; %bb.1:
	mov	x21, x3
	mov	x22, x1
	mov	x20, x0
	mov	x19, #0
	sxtw	x27, w2
	mov	w24, #-1
	mov	w28, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_ff_mlz_flush_dict
	mov	w24, #-1
	str	w24, [sp, #28]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x19, x27
	b.hs	LBB0_30
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20, #24]
	mov	x0, x22
	bl	_input_code
	cmp	w0, #130
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x0
	cmp	w0, #129
	b.eq	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w25, #128
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x8, [x20, #4]
	cmp	w25, w8
	b.gt	LBB0_27
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x20, #16]
	cmp	w25, w9
	b.ne	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x20, #24]
	add	w9, w9, #1
	str	w9, [x20, #24]
	lsl	x8, x8, #1
	str	w8, [x20, #4]
	sub	x8, x8, #1
	str	x8, [x20, #16]
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w28, [x20]
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20, #8]
	add	x1, x21, x19
	sub	x26, x27, x19
	add	x3, sp, #28
	mov	x0, x20
	cmp	w25, w8
	b.ge	LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x2, x25
	mov	x4, x26
	bl	_decode_string
	tbnz	w0, #31, LBB0_26
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, w0
	cmp	x26, x8
	b.lo	LBB0_26
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x19, x19, x8
	cmp	x19, x27
	b.hi	LBB0_3
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20]
	cbnz	w8, LBB0_3
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	cmn	w24, #1
	b.ne	LBB0_22
	b	LBB0_24
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x2, x24
	mov	x4, x26
	bl	_decode_string
	tbnz	w0, #31, LBB0_26
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, w0
	cmp	x26, x8
	b.lo	LBB0_26
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x19, x19, x8
	add	x1, x21, x19
	ldr	w2, [sp, #28]
	sub	x26, x27, x19
	add	x3, sp, #28
	mov	x0, x20
	mov	x4, x26
	bl	_decode_string
	tbnz	w0, #31, LBB0_26
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, w0
	cmp	x26, x8
	b.lo	LBB0_26
; %bb.21:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x19, x19, x8
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x20, #8]
	ldr	w3, [sp, #28]
	mov	x0, x23
	mov	x2, x24
	bl	_set_new_entry_dict
	ldr	w8, [x20, #8]
Lloh0:
	adrp	x9, _TABLE_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TABLE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sub	w9, w9, #1
	cmp	w8, w9
	b.ge	LBB0_28
; %bb.23:                               ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w8, #1
	str	w8, [x20, #8]
LBB0_24:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x25
	b	LBB0_3
LBB0_25:
	mov	x19, #0
	b	LBB0_30
LBB0_26:
	ldr	w0, [x20, #12]
Lloh3:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str.1@PAGE
Lloh7:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_29
LBB0_27:
	ldr	w0, [x20, #12]
Lloh8:
	adrp	x9, _AV_LOG_ERROR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x9]
	stp	x25, x8, [sp]
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_29
LBB0_28:
	ldr	w0, [x20, #12]
Lloh13:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x2, l_.str.2@PAGE
Lloh17:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_29:
	bl	_av_log
LBB0_30:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"String code %d exceeds maximum value of %d.\n"

l_.str.1:                               ; @.str.1
	.asciz	"output chars overflow\n"

	.comm	_TABLE_SIZE,4,2                 ; @TABLE_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"Too many MLZ codes\n"

.subsections_via_symbols
