	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_move
_decode_move:                           ## @decode_move
	.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
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	leaq	40(%r14), %r12
	movq	%r12, %rdi
	callq	_bytestream2_tell
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_bytestream2_skip
	movq	%r12, %rdi
	callq	_bytestream2_get_le32
	movl	%eax, %r13d
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_bytestream2_skip
	movq	%r12, %rdi
	callq	_bytestream2_get_le32
	movq	_INT32_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	15(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$4, %edx
	cmpl	%edx, %r13d
	ja	LBB0_2
## %bb.1:
	movl	4(%rbx), %ecx
	imull	(%rbx), %ecx
	cmpl	%ecx, %r13d
	jbe	LBB0_5
LBB0_2:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
LBB0_4:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	%r13d, %r14d
	shll	$4, %r14d
	testl	%eax, %eax
	movl	%r13d, -64(%rbp)                ## 4-byte Spill
	je	LBB0_10
## %bb.6:
	cmpl	$2, %eax
	je	LBB0_44
## %bb.7:
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.8:
	movq	%r12, %rdi
	callq	_bytestream2_tell
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	addl	%ecx, %edx
	subl	%eax, %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	%r14d, %ecx
	callq	_decode_zlib
	testl	%eax, %eax
	js	LBB0_4
## %bb.9:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rsi
	leaq	-60(%rbp), %rdi
	movl	%r14d, %edx
	jmp	LBB0_11
LBB0_10:
	movq	(%r15), %rbx
	movq	%r12, %rdi
	callq	_bytestream2_tell
	movl	%eax, %eax
	leaq	(%rbx,%rax,4), %rbx
	movq	%r12, %rdi
	callq	_bytestream2_get_bytes_left
	leaq	-60(%rbp), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
LBB0_11:
	callq	_bytestream2_init
	leaq	-60(%rbp), %rdi
	callq	_bytestream2_get_bytes_left
	cmpl	%r14d, %eax
	jb	LBB0_2
## %bb.12:
	movq	%r12, -136(%rbp)                ## 8-byte Spill
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_45
## %bb.13:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	16(%rax), %rcx
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	addq	$24, %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	-96(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	cmpl	-64(%rbp), %eax                 ## 4-byte Folded Reload
	je	LBB0_45
LBB0_15:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_33 Depth 2
                                        ##     Child Loop BB0_43 Depth 2
                                        ##     Child Loop BB0_37 Depth 2
                                        ##     Child Loop BB0_39 Depth 2
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	leaq	-60(%rbp), %r15
	movq	%r15, %rdi
	callq	_bytestream2_get_le16
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_bytestream2_get_le16
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_bytestream2_get_le16
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_bytestream2_get_le16
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_bytestream2_get_le16
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_bytestream2_get_le16
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_bytestream2_get_le16
	movl	%eax, %r13d
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_bytestream2_skip
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	cmpl	%ecx, %ebx
	jae	LBB0_14
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %eax
	cmpl	%eax, %r12d
	jae	LBB0_14
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpl	%ecx, %r14d
	jae	LBB0_14
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpl	%eax, -48(%rbp)                 ## 4-byte Folded Reload
	jae	LBB0_14
## %bb.19:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpl	%ecx, -88(%rbp)                 ## 4-byte Folded Reload
	jae	LBB0_14
## %bb.20:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpl	%eax, %r13d
	jae	LBB0_14
## %bb.21:                              ##   in Loop: Header=BB0_15 Depth=1
	subl	%ebx, %r14d
	jle	LBB0_14
## %bb.22:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	subl	%r12d, %r8d
	jle	LBB0_14
## %bb.23:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	addl	%r14d, %edx
	cmpl	%ecx, %edx
	ja	LBB0_14
## %bb.24:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	%r13d, %ecx
	addl	%r8d, %ecx
	cmpl	%eax, %ecx
	ja	LBB0_14
## %bb.25:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	%ecx, %r13d
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	8(%rsi), %rdi
	movq	8(%rdi), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.26:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	32(%rsi), %r10
	movq	8(%r10), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.27:                              ##   in Loop: Header=BB0_15 Depth=1
	movslq	-48(%rbp), %rdx                 ## 4-byte Folded Reload
	decq	%rdx
	movl	(%rsi), %r9d
	imull	%r9d, %ebx
	movslq	%ebx, %rsi
	movq	(%rdi), %rdi
	movl	(%rdi), %ebx
	movl	%ebx, %edi
	imull	%edx, %edi
	movslq	%edi, %rdi
	leaq	(%rcx,%rdi,4), %rdi
	leaq	(%rdi,%rsi,4), %r15
	movl	-80(%rbp), %edi                 ## 4-byte Reload
	testl	%edi, %edi
	je	LBB0_34
## %bb.28:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpl	$2, %edi
	je	LBB0_40
## %bb.29:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpl	$1, %edi
	jne	LBB0_2
## %bb.30:                              ##   in Loop: Header=BB0_15 Depth=1
	testl	%r8d, %r8d
	jle	LBB0_14
## %bb.31:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r15, %rbx
	imull	%r14d, %r9d
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%r9d, %edx
	movl	%r8d, %r15d
	callq	_memset
	cmpl	$1, %r15d
	je	LBB0_14
## %bb.32:                              ##   in Loop: Header=BB0_15 Depth=1
	notl	%r12d
	addl	-48(%rbp), %r12d                ## 4-byte Folded Reload
LBB0_33:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rax
	movq	(%rax), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	subq	%rax, %rbx
	movl	(%rcx), %edx
	imull	%r14d, %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_memset
	decl	%r12d
	jne	LBB0_33
	jmp	LBB0_14
LBB0_34:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	%ebx, -92(%rbp)                 ## 4-byte Spill
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movl	%r8d, %edx
	movq	%r14, %r15
	imull	%r14d, %edx
	movl	%r9d, %r12d
	imull	%r9d, %edx
	movq	-128(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	movl	%r8d, %ebx
	callq	_av_fast_padded_malloc
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_46
## %bb.35:                              ##   in Loop: Header=BB0_15 Depth=1
	testl	%ebx, %ebx
	jle	LBB0_14
## %bb.36:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%rax, %rsi
	movl	%ebx, %r8d
	decl	%r13d
	movl	-92(%rbp), %eax                 ## 4-byte Reload
	imull	%r13d, %eax
	cltq
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	imull	-88(%rbp), %r12d                ## 4-byte Folded Reload
	movslq	%r12d, %rcx
	leaq	(%rax,%rcx,4), %r14
	xorl	%ebx, %ebx
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%rsi, %r13
LBB0_37:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r12), %edx
	imull	-48(%rbp), %edx                 ## 4-byte Folded Reload
	movl	%edx, %eax
	imull	%ebx, %eax
	cltq
	leaq	(,%rax,4), %rdi
	addq	%r13, %rdi
	movq	%r14, %rsi
	movl	%r8d, %r15d
	callq	_memcpy
	movl	%r15d, %r8d
	movq	8(%r12), %rax
	movq	(%rax), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	subq	%rax, %r14
	incl	%ebx
	cmpl	%ebx, %r15d
	jne	LBB0_37
## %bb.38:                              ##   in Loop: Header=BB0_15 Depth=1
	xorl	%ebx, %ebx
	movq	-80(%rbp), %r12                 ## 8-byte Reload
LBB0_39:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %edx
	imull	-48(%rbp), %edx                 ## 4-byte Folded Reload
	movl	%edx, %eax
	imull	%ebx, %eax
	cltq
	leaq	(,%rax,4), %rsi
	addq	%r13, %rsi
	movq	%r12, %rdi
	callq	_memcpy
	movl	%r15d, %ecx
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	subq	%rax, %r12
	incl	%ebx
	cmpl	%ebx, %r15d
	jne	LBB0_39
	jmp	LBB0_14
LBB0_40:                                ##   in Loop: Header=BB0_15 Depth=1
	testl	%r8d, %r8d
	jle	LBB0_14
## %bb.41:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	(%r10), %rcx
	movslq	(%rcx), %rcx
	imulq	%rdx, %rcx
	leaq	(%rax,%rcx,4), %rax
	leaq	(%rax,%rsi,4), %rbx
	imull	%r14d, %r9d
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r9d, %edx
	movl	%r8d, %r13d
	callq	_memcpy
	cmpl	$1, %r13d
	je	LBB0_14
## %bb.42:                              ##   in Loop: Header=BB0_15 Depth=1
	notl	%r12d
	addl	-48(%rbp), %r12d                ## 4-byte Folded Reload
LBB0_43:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	8(%rdx), %rax
	movq	32(%rdx), %rcx
	movq	(%rax), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	subq	%rax, %r15
	movq	(%rcx), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	subq	%rax, %rbx
	movl	(%rdx), %edx
	imull	%r14d, %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_memcpy
	decl	%r12d
	jne	LBB0_43
	jmp	LBB0_14
LBB0_44:
	leaq	L_.str(%rip), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	$2, %edx
	callq	_avpriv_request_sample
	movq	_AVERROR_PATCHWELCOME@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_45:
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_bytestream2_tell
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	addl	-112(%rbp), %esi                ## 4-byte Folded Reload
	subl	%eax, %esi
	movq	%rbx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_bytestream2_skip
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_46:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_INT32_MAX,4,2                  ## @INT32_MAX
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"compression %d"

	.comm	_AVERROR_PATCHWELCOME,4,2       ## @AVERROR_PATCHWELCOME
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_decode_move
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_move
_decode_move:                           ; @decode_move
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x22, x2
	mov	x24, x1
	mov	x21, x0
	ldr	x27, [x0, #8]
	add	x20, x27, #40
	mov	x0, x20
	bl	_bytestream2_tell
	mov	x26, x0
	mov	x0, x20
	mov	w1, #8
	bl	_bytestream2_skip
	mov	x0, x20
	bl	_bytestream2_get_le32
	mov	x23, x0
	mov	x0, x20
	mov	w1, #8
	bl	_bytestream2_skip
	mov	x0, x20
	bl	_bytestream2_get_le32
Lloh0:
	adrp	x8, _INT32_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT32_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w9, w8, #15
	cmp	w8, #0
	csel	w8, w9, w8, lt
	cmp	w23, w8, asr #4
	b.hi	LBB0_2
; %bb.1:
	ldp	w8, w9, [x21]
	mul	w8, w9, w8
	cmp	w23, w8
	b.ls	LBB0_5
LBB0_2:
Lloh3:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_5:
	lsl	w25, w23, #4
	cbz	w0, LBB0_10
; %bb.6:
	cmp	w0, #2
	b.eq	LBB0_44
; %bb.7:
	cmp	w0, #1
	b.ne	LBB0_2
; %bb.8:
	mov	x0, x20
	bl	_bytestream2_tell
	add	w8, w26, w22
	sub	w2, w8, w0
	mov	x0, x21
	mov	x1, x24
	mov	x3, x25
	bl	_decode_zlib
	tbnz	w0, #31, LBB0_4
; %bb.9:
	ldr	x1, [x27, #16]
	add	x0, sp, #60
	mov	x2, x25
	b	LBB0_11
LBB0_10:
	ldr	x19, [x24]
	mov	x0, x20
	bl	_bytestream2_tell
	add	x19, x19, w0, uxtw #2
	mov	x0, x20
	bl	_bytestream2_get_bytes_left
	mov	x2, x0
	add	x0, sp, #60
	mov	x1, x19
LBB0_11:
	bl	_bytestream2_init
	add	x0, sp, #60
	bl	_bytestream2_get_bytes_left
	cmp	w0, w25
	b.lo	LBB0_2
; %bb.12:
	str	x27, [sp, #40]                  ; 8-byte Folded Spill
	stp	w26, w22, [sp, #32]             ; 8-byte Folded Spill
	cbz	w23, LBB0_45
; %bb.13:
	mov	w25, #0
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	add	x9, x8, #16
	add	x8, x8, #24
	stp	x8, x9, [sp, #16]               ; 16-byte Folded Spill
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	w25, w25, #1
	cmp	w25, w23
	b.eq	LBB0_45
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_33 Depth 2
                                        ;     Child Loop BB0_43 Depth 2
                                        ;     Child Loop BB0_37 Depth 2
                                        ;     Child Loop BB0_39 Depth 2
	add	x0, sp, #60
	bl	_bytestream2_get_le16
	str	w0, [sp, #56]                   ; 4-byte Folded Spill
	add	x0, sp, #60
	bl	_bytestream2_get_le16
	mov	x26, x0
	add	x0, sp, #60
	bl	_bytestream2_get_le16
	mov	x27, x0
	add	x0, sp, #60
	bl	_bytestream2_get_le16
	mov	x19, x0
	add	x0, sp, #60
	bl	_bytestream2_get_le16
	mov	x28, x0
	add	x0, sp, #60
	bl	_bytestream2_get_le16
	mov	x24, x0
	add	x0, sp, #60
	bl	_bytestream2_get_le16
	mov	x22, x0
	add	x0, sp, #60
	mov	w1, #2
	bl	_bytestream2_skip
	ldr	w8, [x21]
	cmp	w26, w8
	b.hs	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w9, [x21, #4]
	cmp	w27, w9
	b.hs	LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	cmp	w19, w8
	b.hs	LBB0_14
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	cmp	w28, w9
	b.hs	LBB0_14
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	cmp	w24, w8
	b.hs	LBB0_14
; %bb.20:                               ;   in Loop: Header=BB0_15 Depth=1
	cmp	w22, w9
	b.hs	LBB0_14
; %bb.21:                               ;   in Loop: Header=BB0_15 Depth=1
	subs	w13, w19, w26
	b.le	LBB0_14
; %bb.22:                               ;   in Loop: Header=BB0_15 Depth=1
	subs	w14, w28, w27
	b.le	LBB0_14
; %bb.23:                               ;   in Loop: Header=BB0_15 Depth=1
	add	w10, w24, w13
	cmp	w10, w8
	b.hi	LBB0_14
; %bb.24:                               ;   in Loop: Header=BB0_15 Depth=1
	add	w16, w22, w14
	cmp	w16, w9
	b.hi	LBB0_14
; %bb.25:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x11, [sp, #40]                  ; 8-byte Folded Reload
	ldr	x12, [x11, #8]
	ldr	x8, [x12, #8]
	ldr	x19, [x8]
	cbz	x19, LBB0_2
; %bb.26:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x9, [x11, #32]
	ldr	x8, [x9, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.27:                               ;   in Loop: Header=BB0_15 Depth=1
	sub	w10, w28, #1
	ldr	w15, [x11]
	mul	w11, w15, w26
	ldr	x12, [x12]
	ldr	w17, [x12]
	mul	w12, w17, w10
	add	x12, x19, w12, sxtw #2
	add	x26, x12, w11, sxtw #2
	str	w13, [sp, #52]                  ; 4-byte Folded Spill
	ldr	w12, [sp, #56]                  ; 4-byte Folded Reload
	cbz	w12, LBB0_34
; %bb.28:                               ;   in Loop: Header=BB0_15 Depth=1
	cmp	w12, #2
	b.eq	LBB0_40
; %bb.29:                               ;   in Loop: Header=BB0_15 Depth=1
	cmp	w12, #1
	b.ne	LBB0_2
; %bb.30:                               ;   in Loop: Header=BB0_15 Depth=1
	cmp	w14, #1
	b.lt	LBB0_14
; %bb.31:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x19, x14
	mul	w2, w15, w13
	mov	x0, x26
	mov	w1, #0
	bl	_memset
	ldr	w10, [sp, #52]                  ; 4-byte Folded Reload
	cmp	w19, #1
	b.eq	LBB0_14
; %bb.32:                               ;   in Loop: Header=BB0_15 Depth=1
	mvn	w8, w27
	add	w19, w8, w28
LBB0_33:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	ldr	x8, [x9, #8]
	ldr	x8, [x8]
	ldrsw	x8, [x8]
	sub	x26, x26, x8, lsl #2
	ldr	w8, [x9]
	mul	w2, w8, w10
	mov	x0, x26
	mov	w1, #0
	bl	_memset
	ldr	w10, [sp, #52]                  ; 4-byte Folded Reload
	subs	w19, w19, #1
	b.ne	LBB0_33
	b	LBB0_14
LBB0_34:                                ;   in Loop: Header=BB0_15 Depth=1
	str	w17, [sp, #12]                  ; 4-byte Folded Spill
	str	w16, [sp, #56]                  ; 4-byte Folded Spill
	mov	x27, x14
	mul	w8, w14, w13
	mov	x28, x15
	mul	w2, w8, w15
	ldp	x1, x22, [sp, #16]              ; 16-byte Folded Reload
	mov	x0, x22
	bl	_av_fast_padded_malloc
	ldr	x22, [x22]
	cbz	x22, LBB0_46
; %bb.35:                               ;   in Loop: Header=BB0_15 Depth=1
	cmp	w27, #1
	ldp	w10, w8, [sp, #52]              ; 8-byte Folded Reload
	b.lt	LBB0_14
; %bb.36:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x11, x27
	mov	w27, #0
	sub	w8, w8, #1
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	mul	w8, w9, w8
	add	x8, x19, w8, sxtw #2
	mul	w9, w28, w24
	add	x19, x8, w9, sxtw #2
	ldr	x24, [sp, #40]                  ; 8-byte Folded Reload
	mov	x28, x11
LBB0_37:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x24]
	mul	w2, w8, w10
	mul	w8, w2, w27
	add	x0, x22, w8, sxtw #2
	mov	x1, x19
	bl	_memcpy
	ldr	w10, [sp, #52]                  ; 4-byte Folded Reload
	ldr	x8, [x24, #8]
	ldr	x8, [x8]
	ldrsw	x8, [x8]
	sub	x19, x19, x8, lsl #2
	add	w27, w27, #1
	cmp	w28, w27
	b.ne	LBB0_37
; %bb.38:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w19, #0
LBB0_39:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x24, [sp, #40]                  ; 8-byte Folded Reload
	ldr	w8, [x24]
	mul	w2, w8, w10
	mul	w8, w2, w19
	add	x1, x22, w8, sxtw #2
	mov	x0, x26
	bl	_memcpy
	ldr	w10, [sp, #52]                  ; 4-byte Folded Reload
	ldr	x8, [x24, #8]
	ldr	x8, [x8]
	ldrsw	x8, [x8]
	sub	x26, x26, x8, lsl #2
	add	w19, w19, #1
	cmp	w28, w19
	b.ne	LBB0_39
	b	LBB0_14
LBB0_40:                                ;   in Loop: Header=BB0_15 Depth=1
	cmp	w14, #1
	b.lt	LBB0_14
; %bb.41:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x19, x14
	sxtw	x11, w11
	ldr	x9, [x9]
	ldr	w9, [x9]
	mul	w9, w9, w10
	add	x8, x8, w9, sxtw #2
	add	x24, x8, x11, lsl #2
	mul	w2, w15, w13
	mov	x0, x24
	mov	x1, x26
	bl	_memcpy
	ldr	w10, [sp, #52]                  ; 4-byte Folded Reload
	cmp	w19, #1
	b.eq	LBB0_14
; %bb.42:                               ;   in Loop: Header=BB0_15 Depth=1
	mvn	w8, w27
	add	w19, w8, w28
LBB0_43:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	ldr	x8, [x9, #8]
	ldr	x8, [x8]
	ldrsw	x8, [x8]
	sub	x26, x26, x8, lsl #2
	ldr	x8, [x9, #32]
	ldr	x8, [x8]
	ldrsw	x8, [x8]
	sub	x24, x24, x8, lsl #2
	ldr	w8, [x9]
	mul	w2, w8, w10
	mov	x0, x24
	mov	x1, x26
	bl	_memcpy
	ldr	w10, [sp, #52]                  ; 4-byte Folded Reload
	subs	w19, w19, #1
	b.ne	LBB0_43
	b	LBB0_14
LBB0_44:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	w2, #2
	bl	_avpriv_request_sample
Lloh7:
	adrp	x8, _AVERROR_PATCHWELCOME@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AVERROR_PATCHWELCOME@GOTPAGEOFF]
	b	LBB0_3
LBB0_45:
	mov	x0, x20
	bl	_bytestream2_tell
	ldp	w9, w8, [sp, #32]               ; 8-byte Folded Reload
	add	w8, w9, w8
	sub	w1, w8, w0
	mov	x0, x20
	bl	_bytestream2_skip
	mov	w0, #0
	b	LBB0_4
LBB0_46:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_INT32_MAX,4,2                  ; @INT32_MAX
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"compression %d"

	.comm	_AVERROR_PATCHWELCOME,4,2       ; @AVERROR_PATCHWELCOME
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_decode_move
.subsections_via_symbols
