	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function truemotion1_decode_frame
_truemotion1_decode_frame:              ## @truemotion1_decode_frame
	.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
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	8(%rcx), %rax
	movl	(%rcx), %r12d
	movq	(%rdi), %rbx
	movq	%rax, 24(%rbx)
	movl	%r12d, (%rbx)
	movq	%rbx, %rdi
	callq	_truemotion1_decode_header
	testl	%eax, %eax
	js	LBB0_10
## %bb.1:
	movl	16(%rbx), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_ff_reget_buffer
	testl	%eax, %eax
	js	LBB0_10
## %bb.2:
	movq	_compression_types@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	_ALGO_RGB24H@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.3:
	movq	%rbx, %rdi
	callq	_truemotion1_decode_24bit
	jmp	LBB0_8
LBB0_6:
	movq	_ALGO_NOP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_truemotion1_decode_16bit
LBB0_8:
	movl	16(%rbx), %esi
	movq	%r15, %rdi
	callq	_av_frame_ref
	testl	%eax, %eax
	js	LBB0_10
## %bb.9:
	movl	$1, (%r14)
	jmp	LBB0_11
LBB0_10:
	movl	%eax, %r12d
LBB0_11:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_compression_types,8,3          ## @compression_types
	.comm	_ALGO_RGB24H,8,3                ## @ALGO_RGB24H
	.comm	_ALGO_NOP,8,3                   ## @ALGO_NOP
	.no_dead_strip	_truemotion1_decode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function truemotion1_decode_frame
_truemotion1_decode_frame:              ; @truemotion1_decode_frame
	.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, x2
	mov	x20, x1
	mov	x22, x0
	ldr	x8, [x3, #8]
	ldr	w23, [x3]
	ldr	x21, [x0]
	str	x8, [x21, #24]
	str	w23, [x21]
	mov	x0, x21
	bl	_truemotion1_decode_header
	tbnz	w0, #31, LBB0_8
; %bb.1:
	ldr	w1, [x21, #16]
	mov	x0, x22
	mov	w2, #0
	bl	_ff_reget_buffer
	tbnz	w0, #31, LBB0_8
; %bb.2:
Lloh0:
	adrp	x8, _compression_types@GOTPAGE
Lloh1:
	ldr	x8, [x8, _compression_types@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x21, #8]
	ldr	x8, [x8, x9, lsl #3]
Lloh3:
	adrp	x9, _ALGO_RGB24H@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ALGO_RGB24H@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_truemotion1_decode_24bit
	b	LBB0_6
LBB0_4:
Lloh6:
	adrp	x9, _ALGO_NOP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ALGO_NOP@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x21
	bl	_truemotion1_decode_16bit
LBB0_6:
	ldr	w1, [x21, #16]
	mov	x0, x20
	bl	_av_frame_ref
	tbnz	w0, #31, LBB0_8
; %bb.7:
	mov	w8, #1
	str	w8, [x19]
	mov	x0, x23
LBB0_8:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_compression_types,8,3          ; @compression_types
	.comm	_ALGO_RGB24H,8,3                ; @ALGO_RGB24H
	.comm	_ALGO_NOP,8,3                   ; @ALGO_NOP
	.no_dead_strip	_truemotion1_decode_frame
.subsections_via_symbols
