	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function truemotion1_decode_16bit
_truemotion1_decode_16bit:              ## @truemotion1_decode_16bit
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	32(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %r13
	movl	(%rdi), %r15d
	movq	_FLAG_KEYFRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	8(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %rdi
	movq	48(%rbx), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	xorl	%eax, %eax
	callq	_GET_NEXT_INDEX
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	48(%rbx), %rax
	cmpl	$0, 4(%rax)
	jle	LBB0_25
## %bb.1:
	movl	%r14d, %edi
	andl	%r15d, %edi
	setne	%r8b
	xorl	%esi, %esi
                                        ## implicit-def: $bl
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	movb	%r8b, -41(%rbp)                 ## 1-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-76(%rbp), %esi                 ## 4-byte Reload
	incl	%esi
	testb	$3, %sil
	je	LBB0_23
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	32(%rax), %rcx
	movq	48(%rax), %rax
	movq	8(%rcx), %rcx
	movslq	(%rcx), %rcx
	addq	%rcx, %r13
	cmpl	4(%rax), %esi
	jge	LBB0_25
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	xorl	%ecx, %ecx
	testl	%edi, %edi
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movb	(%rcx), %bl
	movl	$1, %ecx
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %r12d
	testl	%r12d, %r12d
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movl	%esi, -76(%rbp)                 ## 4-byte Spill
	jle	LBB0_22
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %r15
	andl	$3, %esi
	movl	%esi, -80(%rbp)                 ## 4-byte Spill
	addl	$4, %r12d
	movb	$1, %r14b
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_6 Depth=2
	addl	$-4, %r12d
	cmpl	$4, %r12d
	jle	LBB0_22
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testb	%bl, %r14b
	sete	%al
	orb	%r8b, %al
	cmpb	$1, %al
	jne	LBB0_17
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	-80(%rbp), %eax                 ## 4-byte Reload
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=2
	xorl	%eax, %eax
	callq	_APPLY_Y_PREDICTOR
	xorl	%eax, %eax
	callq	_OUTPUT_PIXEL_PAIR
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=2
	xorl	%eax, %eax
	callq	_APPLY_Y_PREDICTOR
	xorl	%eax, %eax
	callq	_OUTPUT_PIXEL_PAIR
	movzbl	-41(%rbp), %r8d                 ## 1-byte Folded Reload
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	testl	%edi, %edi
	jne	LBB0_21
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=2
	movl	(%r13), %eax
	movl	%eax, (%r15)
	movl	4(%r13), %eax
	addq	$8, %r13
	movl	%eax, 4(%r15)
	addq	$8, %r15
	testl	%edi, %edi
	jne	LBB0_21
	jmp	LBB0_19
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=2
	movb	%r14b, -42(%rbp)                ## 1-byte Spill
	movb	%bl, -43(%rbp)                  ## 1-byte Spill
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	24(%r14), %r14d
	xorl	%eax, %eax
	callq	_APPLY_C_PREDICTOR
	xorl	%eax, %eax
	callq	_APPLY_Y_PREDICTOR
	xorl	%eax, %eax
	callq	_OUTPUT_PIXEL_PAIR
	cmpl	$2, %r14d
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=2
	xorl	%eax, %eax
	callq	_APPLY_C_PREDICTOR
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=2
	xorl	%eax, %eax
	callq	_APPLY_Y_PREDICTOR
	xorl	%eax, %eax
	callq	_OUTPUT_PIXEL_PAIR
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movzbl	-41(%rbp), %r8d                 ## 1-byte Folded Reload
	movzbl	-43(%rbp), %ebx                 ## 1-byte Folded Reload
	movzbl	-42(%rbp), %r14d                ## 1-byte Folded Reload
	testl	%edi, %edi
	jne	LBB0_21
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_6 Depth=2
	addb	%r14b, %r14b
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_6 Depth=2
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movslq	%ecx, %rax
	incl	%ecx
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movzbl	(%rcx,%rax), %ebx
	movb	$1, %r14b
	jmp	LBB0_21
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	44(%rax), %eax
	movq	_BLOCK_2x2@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=2
	xorl	%eax, %eax
	callq	_APPLY_C_PREDICTOR
	xorl	%eax, %eax
	callq	_APPLY_Y_PREDICTOR
	xorl	%eax, %eax
	callq	_OUTPUT_PIXEL_PAIR
	xorl	%eax, %eax
	callq	_APPLY_C_PREDICTOR
	jmp	LBB0_12
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	_BLOCK_4x2@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_11
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=2
	xorl	%eax, %eax
	callq	_APPLY_C_PREDICTOR
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movslq	40(%rax), %rax
	addq	%rax, -72(%rbp)                 ## 8-byte Folded Spill
	jmp	LBB0_24
LBB0_25:
	addq	$56, %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_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_11
	.long	L0_0_set_13
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_FLAG_KEYFRAME,4,2              ## @FLAG_KEYFRAME
	.comm	_BLOCK_2x2,4,2                  ## @BLOCK_2x2
	.comm	_BLOCK_4x2,4,2                  ## @BLOCK_4x2
	.no_dead_strip	_truemotion1_decode_16bit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function truemotion1_decode_16bit
_truemotion1_decode_16bit:              ; @truemotion1_decode_16bit
	.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
	mov	x19, x0
	ldr	x8, [x0, #32]
	ldr	x8, [x8]
	ldr	x8, [x8]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	ldr	w20, [x0]
Lloh0:
	adrp	x8, _FLAG_KEYFRAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FLAG_KEYFRAME@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	ldp	x8, x0, [x0, #8]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	ldr	x8, [x19, #48]
	ldr	w8, [x8]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
	bl	_GET_NEXT_INDEX
	ldr	x8, [x19, #48]
	ldr	w9, [x8, #4]
	cmp	w9, #1
	b.lt	LBB0_25
; %bb.1:
	mov	w10, #0
	ands	w23, w21, w20
	cset	w24, ne
Lloh3:
	adrp	x21, lJTI0_0@PAGE
Lloh4:
	add	x21, x21, lJTI0_0@PAGEOFF
                                        ; implicit-def: $w28
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w10, [sp, #12]                  ; 4-byte Folded Reload
	add	w10, w10, #1
	tst	w10, #0x3
	b.eq	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #32]
	ldr	x8, [x8, #8]
	ldrsw	x8, [x8]
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	add	x9, x9, x8
	str	x9, [sp, #16]                   ; 8-byte Folded Spill
	ldr	x8, [x19, #48]
	ldr	w9, [x8, #4]
	cmp	w10, w9
	b.ge	LBB0_25
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	cbz	w23, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w27, #0
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x8, [x19, #40]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	add	x9, x9, x8
	str	x9, [sp, #24]                   ; 8-byte Folded Spill
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	ldrb	w28, [x9]
	mov	w27, #1
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x8]
	cmp	w8, #1
	str	w10, [sp, #12]                  ; 4-byte Folded Spill
	b.lt	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x26, [x19, #16]
	and	w9, w10, #0x3
	str	x9, [sp, #40]                   ; 8-byte Folded Spill
	add	w22, w8, #4
	mov	w25, #1
	ldr	x20, [sp, #16]                  ; 8-byte Folded Reload
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	sub	w22, w22, #4
	cmp	w22, #4
	b.le	LBB0_2
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	and	w8, w25, w28
	tst	w8, #0xff
	cset	w8, eq
	orr	w8, w24, w8
	cmp	w8, #1
	b.ne	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
	adr	x8, LBB0_13
	ldrb	w9, [x21, x10]
	add	x8, x8, x9, lsl #2
	br	x8
LBB0_13:                                ;   in Loop: Header=BB0_11 Depth=2
	bl	_APPLY_Y_PREDICTOR
	bl	_OUTPUT_PIXEL_PAIR
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=2
	bl	_APPLY_Y_PREDICTOR
	bl	_OUTPUT_PIXEL_PAIR
	cbnz	w23, LBB0_10
	b	LBB0_19
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=2
	ldr	w8, [x20]
	str	w8, [x26]
	ldr	w8, [x20, #4]
	add	x20, x20, #8
	str	w8, [x26, #4]
	add	x26, x26, #8
	cbnz	w23, LBB0_10
	b	LBB0_19
LBB0_16:                                ;   in Loop: Header=BB0_11 Depth=2
	str	w27, [sp, #36]                  ; 4-byte Folded Spill
	mov	x27, x23
	mov	x23, x24
	mov	x24, x21
	mov	x21, x19
	ldr	w19, [x19, #24]
	bl	_APPLY_C_PREDICTOR
	bl	_APPLY_Y_PREDICTOR
	bl	_OUTPUT_PIXEL_PAIR
	cmp	w19, #2
	b.ne	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=2
	bl	_APPLY_C_PREDICTOR
LBB0_18:                                ;   in Loop: Header=BB0_11 Depth=2
	bl	_APPLY_Y_PREDICTOR
	bl	_OUTPUT_PIXEL_PAIR
	mov	x19, x21
	mov	x21, x24
	mov	x24, x23
	mov	x23, x27
	ldr	w27, [sp, #36]                  ; 4-byte Folded Reload
	cbnz	w23, LBB0_10
LBB0_19:                                ;   in Loop: Header=BB0_11 Depth=2
	lsl	w25, w25, #1
	tst	w25, #0xfe
	b.ne	LBB0_10
; %bb.20:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	ldrb	w28, [x8, w27, sxtw]
	add	w27, w27, #1
	mov	w25, #1
	b	LBB0_10
LBB0_21:                                ;   in Loop: Header=BB0_11 Depth=2
	ldr	w8, [x19, #44]
Lloh5:
	adrp	x9, _BLOCK_2x2@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BLOCK_2x2@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_11 Depth=2
	bl	_APPLY_C_PREDICTOR
	bl	_APPLY_Y_PREDICTOR
	bl	_OUTPUT_PIXEL_PAIR
	bl	_APPLY_C_PREDICTOR
	b	LBB0_14
LBB0_23:                                ;   in Loop: Header=BB0_11 Depth=2
Lloh8:
	adrp	x9, _BLOCK_4x2@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BLOCK_4x2@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_13
; %bb.24:                               ;   in Loop: Header=BB0_11 Depth=2
	bl	_APPLY_C_PREDICTOR
	b	LBB0_13
LBB0_25:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_16-LBB0_13)>>2
	.byte	(LBB0_13-LBB0_13)>>2
	.byte	(LBB0_21-LBB0_13)>>2
	.byte	(LBB0_13-LBB0_13)>>2
                                        ; -- End function
	.comm	_FLAG_KEYFRAME,4,2              ; @FLAG_KEYFRAME
	.comm	_BLOCK_2x2,4,2                  ; @BLOCK_2x2
	.comm	_BLOCK_4x2,4,2                  ; @BLOCK_4x2
	.no_dead_strip	_truemotion1_decode_16bit
.subsections_via_symbols
