	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function codec2subblock
_codec2subblock:                        ## @codec2subblock
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %r13
	leaq	24(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_bytestream2_get_bytes_left
	testl	%eax, %eax
	jle	LBB0_24
## %bb.1:
	movq	%rbx, %rdi
	callq	_bytestream2_get_byteu
	leal	-245(%rax), %ecx
	cmpl	$10, %ecx
	ja	LBB0_3
## %bb.2:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_12:
	addl	28(%r13), %r12d
	movl	(%r13), %ecx
	imull	%ecx, %r15d
	addl	%r12d, %r15d
	movq	8(%r13), %rdx
	shlq	$32, %rax
	movabsq	$-1069446856704, %rsi           ## imm = 0xFFFFFF0700000000
	addq	%rax, %rsi
	sarq	$30, %rsi
	movl	(%rdx,%rsi), %esi
LBB0_13:
	movl	%r15d, %edi
LBB0_14:
	movl	%r14d, %edx
	callq	_fill_block
	xorl	%ebx, %ebx
	jmp	LBB0_25
LBB0_3:
	movq	_motion_vectors@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %r8d
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_4
LBB0_6:
	movq	%rbx, %rdi
	callq	_bytestream2_get_bytes_left
	cmpl	$1, %eax
	jle	LBB0_24
## %bb.7:
	movq	%rbx, %rdi
	callq	_bytestream2_get_le16u
	cltd
	idivl	4(%r13)
	movl	%edx, %ecx
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %r8d
LBB0_4:
	movl	%r14d, %r9d
	callq	_good_mvec
	xorl	%ebx, %ebx
	testl	%eax, %eax
	je	LBB0_25
## %bb.5:
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	addl	%r12d, %esi
	addl	28(%r13), %r12d
	movl	(%r13), %ecx
	movl	%ecx, %edi
	imull	%r15d, %edi
	addl	%r12d, %edi
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addl	%r15d, %eax
	imull	%ecx, %eax
	addl	36(%r13), %esi
	addl	%eax, %esi
	movl	%r14d, %edx
	callq	_copy_block
	jmp	LBB0_25
LBB0_8:
	movl	(%r13), %ecx
	imull	%ecx, %r15d
	addl	%r12d, %r15d
	movl	28(%r13), %edi
	addl	%r15d, %edi
	addl	32(%r13), %r15d
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_copy_block
	xorl	%ebx, %ebx
	jmp	LBB0_25
LBB0_9:
	movl	(%r13), %r8d
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	callq	_opcode_0xf7
	xorl	%ebx, %ebx
	jmp	LBB0_25
LBB0_10:
	movl	(%r13), %r8d
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	jmp	LBB0_11
LBB0_15:
	movq	%rbx, %rdi
	callq	_bytestream2_get_bytes_left
	testl	%eax, %eax
	jle	LBB0_24
## %bb.16:
	addl	28(%r13), %r12d
	imull	(%r13), %r15d
	addl	%r12d, %r15d
	movq	16(%r13), %r12
	movq	%rbx, %rdi
	callq	_bytestream2_get_byteu
	movl	(%r12,%rax,4), %esi
	movl	(%r13), %ecx
	jmp	LBB0_13
LBB0_17:
	movq	%rbx, %rdi
	callq	_bytestream2_get_bytes_left
	cmpl	$1, %eax
	jle	LBB0_24
## %bb.18:
	addl	28(%r13), %r12d
	imull	(%r13), %r15d
	addl	%r12d, %r15d
	movq	%rbx, %rdi
	callq	_bytestream2_get_le16u
	movl	(%r13), %ecx
	movl	%r15d, %edi
	movl	%eax, %esi
	jmp	LBB0_14
LBB0_19:
	cmpl	$2, %r14d
	jne	LBB0_21
## %bb.20:
	movl	(%r13), %r8d
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	$2, %ecx
LBB0_11:
	callq	_opcode_0xf8
	xorl	%ebx, %ebx
	jmp	LBB0_25
LBB0_21:
	sarl	%r14d
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	callq	_codec2subblock
	testl	%eax, %eax
	jne	LBB0_24
## %bb.22:
	leal	(%r14,%r12), %ebx
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	callq	_codec2subblock
	testl	%eax, %eax
	jne	LBB0_24
## %bb.23:
	addl	%r14d, %r15d
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	callq	_codec2subblock
	testl	%eax, %eax
	jne	LBB0_24
## %bb.26:
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	callq	_codec2subblock
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_25
LBB0_24:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_25:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_15
	.long	L0_0_set_17
	.long	L0_0_set_19
	.end_data_region
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_motion_vectors,8,3             ## @motion_vectors
	.no_dead_strip	_codec2subblock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function codec2subblock
_codec2subblock:                        ; @codec2subblock
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	add	x23, x0, #24
	mov	x0, x23
	bl	_bytestream2_get_bytes_left
	cmp	w0, #0
	b.le	LBB0_26
; %bb.1:
	mov	x0, x23
	bl	_bytestream2_get_byteu
	sub	w8, w0, #245
	cmp	w8, #10
	b.hi	LBB0_4
; %bb.2:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	ldr	w8, [x20, #28]
	add	w8, w8, w22
	ldr	w3, [x20]
	madd	w8, w3, w21, w8
	ldr	x9, [x20, #8]
	mov	x10, #280405529853952
	movk	x10, #65535, lsl #48
	add	x10, x10, x0, lsl #32
	asr	x10, x10, #30
	ldr	w1, [x9, x10]
	mov	x0, x8
	b	LBB0_19
LBB0_4:
Lloh2:
	adrp	x8, _motion_vectors@GOTPAGE
Lloh3:
	ldr	x8, [x8, _motion_vectors@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	sbfiz	x9, x0, #3, #32
	ldr	x8, [x8, x9]
	ldp	w23, w24, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	x3, x23
	mov	x4, x24
	mov	x5, x19
	bl	_good_mvec
	cbz	w0, LBB0_27
; %bb.5:
	ldr	w8, [x20, #28]
	add	w8, w8, w22
	ldr	w3, [x20]
	madd	w0, w3, w21, w8
	ldr	w8, [x20, #36]
	add	w9, w24, w21
	add	w10, w23, w22
	b	LBB0_9
LBB0_6:
	mov	x0, x23
	bl	_bytestream2_get_bytes_left
	cmp	w0, #1
	b.le	LBB0_26
; %bb.7:
	mov	x0, x23
	bl	_bytestream2_get_le16u
	ldr	w8, [x20, #4]
	sdiv	w23, w0, w8
	msub	w24, w23, w8, w0
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	x3, x24
	mov	x4, x23
	mov	x5, x19
	bl	_good_mvec
	cbz	w0, LBB0_27
; %bb.8:
	ldr	w8, [x20, #28]
	add	w8, w8, w22
	ldr	w3, [x20]
	madd	w0, w3, w21, w8
	ldr	w8, [x20, #36]
	add	w9, w23, w21
	add	w10, w24, w22
LBB0_9:
	add	w8, w10, w8
	madd	w1, w3, w9, w8
	b	LBB0_11
LBB0_10:
	ldr	w3, [x20]
	madd	w8, w3, w21, w22
	ldp	w9, w10, [x20, #28]
	add	w0, w8, w9
	add	w1, w8, w10
LBB0_11:
	mov	x2, x19
	bl	_copy_block
	mov	w0, #0
	b	LBB0_27
LBB0_12:
	ldr	w4, [x20]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	x3, x19
	bl	_opcode_0xf7
	mov	w0, #0
	b	LBB0_27
LBB0_13:
	ldr	w4, [x20]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	x3, x19
	b	LBB0_22
LBB0_14:
	mov	x0, x23
	bl	_bytestream2_get_bytes_left
	cmp	w0, #0
	b.le	LBB0_26
; %bb.15:
	ldr	w8, [x20, #28]
	add	w8, w8, w22
	ldr	w9, [x20]
	madd	w21, w9, w21, w8
	ldr	x22, [x20, #16]
	mov	x0, x23
	bl	_bytestream2_get_byteu
	ldr	w1, [x22, x0, lsl #2]
	b	LBB0_18
LBB0_16:
	mov	x0, x23
	bl	_bytestream2_get_bytes_left
	cmp	w0, #1
	b.le	LBB0_26
; %bb.17:
	ldr	w8, [x20, #28]
	add	w8, w8, w22
	ldr	w9, [x20]
	madd	w21, w9, w21, w8
	mov	x0, x23
	bl	_bytestream2_get_le16u
	mov	x1, x0
LBB0_18:
	ldr	w3, [x20]
	mov	x0, x21
LBB0_19:
	mov	x2, x19
	bl	_fill_block
	mov	w0, #0
	b	LBB0_27
LBB0_20:
	cmp	w19, #2
	b.ne	LBB0_23
; %bb.21:
	ldr	w4, [x20]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	w3, #2
LBB0_22:
	bl	_opcode_0xf8
	mov	w0, #0
	b	LBB0_27
LBB0_23:
	asr	w19, w19, #1
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	x3, x19
	bl	_codec2subblock
	cbnz	w0, LBB0_26
; %bb.24:
	add	w23, w19, w22
	mov	x0, x20
	mov	x1, x23
	mov	x2, x21
	mov	x3, x19
	bl	_codec2subblock
	cbnz	w0, LBB0_26
; %bb.25:
	add	w21, w19, w21
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	x3, x19
	bl	_codec2subblock
	cbz	w0, LBB0_28
LBB0_26:
Lloh5:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_27:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_28:
	mov	x0, x20
	mov	x1, x23
	mov	x2, x21
	mov	x3, x19
	bl	_codec2subblock
Lloh8:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w0, wzr, w8, eq
	b	LBB0_27
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_16-LBB0_3)>>2
	.byte	(LBB0_20-LBB0_3)>>2
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_motion_vectors,8,3             ; @motion_vectors
	.no_dead_strip	_codec2subblock
.subsections_via_symbols
