	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MovieLoadState                 ## -- Begin function MovieLoadState
	.p2align	4, 0x90
_MovieLoadState:                        ## @MovieLoadState
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_Movie@GOTPCREL(%rip), %rbx
	cmpl	$1, (%rbx)
	jne	LBB0_3
## %bb.1:
	movq	8(%rbx), %rax
	movq	_Playback@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movl	20(%rbx), %edi
	movq	_headersize@GOTPCREL(%rip), %rax
	movq	_framecounter@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	_framelength@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rsi
	imulq	%rcx, %rsi
	addq	(%rax), %rsi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_fseek
LBB0_3:
	movq	8(%rbx), %rax
	movq	_Recording@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_5
## %bb.4:
	movl	20(%rbx), %edi
	movq	_headersize@GOTPCREL(%rip), %rax
	movq	_framecounter@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	_framelength@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rsi
	imulq	%rcx, %rsi
	addq	(%rax), %rsi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_fseek
	incl	16(%rbx)
	movq	8(%rbx), %rax
LBB0_5:
	movq	_Playback@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.6:
	cmpl	$0, (%rbx)
	jne	LBB0_8
## %bb.7:
	movq	(%r14), %rax
	movq	%rax, 8(%rbx)
	movq	_RecordingFileOpened@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_MovieStatus@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcpy
	movq	16(%rbx), %rax
	movq	%rax, 16(%rsp)
	movups	(%rbx), %xmm0
	movups	%xmm0, (%rsp)
	callq	_TruncateMovie
	movl	20(%rbx), %edi
	movq	_headersize@GOTPCREL(%rip), %rax
	movq	_framecounter@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	_framelength@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rsi
	imulq	%rcx, %rsi
	addq	(%rax), %rsi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_fseek
	incl	16(%rbx)
LBB0_8:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Movie,24,3                     ## @Movie
	.comm	_Playback,8,3                   ## @Playback
	.comm	_headersize,8,3                 ## @headersize
	.comm	_framecounter,4,2               ## @framecounter
	.comm	_framelength,4,2                ## @framelength
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_Recording,8,3                  ## @Recording
	.comm	_RecordingFileOpened,4,2        ## @RecordingFileOpened
	.comm	_MovieStatus,4,2                ## @MovieStatus
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Recording Resumed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MovieLoadState                 ; -- Begin function MovieLoadState
	.p2align	2
_MovieLoadState:                        ; @MovieLoadState
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x19, _Movie@GOTPAGE
Lloh1:
	ldr	x19, [x19, _Movie@GOTPAGEOFF]
Lloh2:
	adrp	x24, _Playback@GOTPAGE
Lloh3:
	ldr	x24, [x24, _Playback@GOTPAGEOFF]
Lloh4:
	adrp	x21, _headersize@GOTPAGE
Lloh5:
	ldr	x21, [x21, _headersize@GOTPAGEOFF]
Lloh6:
	adrp	x22, _framecounter@GOTPAGE
Lloh7:
	ldr	x22, [x22, _framecounter@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh8:
	adrp	x23, _framelength@GOTPAGE
Lloh9:
	ldr	x23, [x23, _framelength@GOTPAGEOFF]
Lloh10:
	adrp	x20, _SEEK_SET@GOTPAGE
Lloh11:
	ldr	x20, [x20, _SEEK_SET@GOTPAGEOFF]
	cmp	w8, #1
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [x19, #20]
	ldr	x8, [x21]
	ldrsw	x9, [x22]
	ldrsw	x10, [x23]
	madd	x1, x10, x9, x8
	ldr	w2, [x20]
	bl	_fseek
LBB0_3:
	ldr	x8, [x19, #8]
Lloh12:
	adrp	x25, _Recording@GOTPAGE
Lloh13:
	ldr	x25, [x25, _Recording@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	ldr	w0, [x19, #20]
	ldr	x8, [x21]
	ldrsw	x9, [x22]
	ldrsw	x10, [x23]
	madd	x1, x10, x9, x8
	ldr	w2, [x20]
	bl	_fseek
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	ldr	x8, [x19, #8]
LBB0_5:
	ldr	x9, [x24]
	ldr	w10, [x19]
	cmp	x8, x9
	ccmp	w10, #0, #0, eq
	b.ne	LBB0_7
; %bb.6:
	ldr	x8, [x25]
Lloh14:
	adrp	x9, _RecordingFileOpened@GOTPAGE
Lloh15:
	ldr	x9, [x9, _RecordingFileOpened@GOTPAGEOFF]
	str	x8, [x19, #8]
	mov	w8, #1
Lloh16:
	str	w8, [x9]
Lloh17:
	adrp	x8, _MovieStatus@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MovieStatus@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcpy
	ldr	q0, [x19]
	str	q0, [sp]
	ldr	x8, [x19, #16]
	str	x8, [sp, #16]
	mov	x0, sp
	bl	_TruncateMovie
	ldr	w0, [x19, #20]
	ldr	x8, [x21]
	ldrsw	x9, [x22]
	ldrsw	x10, [x23]
	madd	x1, x10, x9, x8
	ldr	w2, [x20]
	bl	_fseek
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
LBB0_7:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_Movie,24,3                     ; @Movie
	.comm	_Playback,8,3                   ; @Playback
	.comm	_headersize,8,3                 ; @headersize
	.comm	_framecounter,4,2               ; @framecounter
	.comm	_framelength,4,2                ; @framelength
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_Recording,8,3                  ; @Recording
	.comm	_RecordingFileOpened,4,2        ; @RecordingFileOpened
	.comm	_MovieStatus,4,2                ; @MovieStatus
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Recording Resumed"

.subsections_via_symbols
