	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CL_CheckFileSize
_CL_CheckFileSize:                      ## @CL_CheckFileSize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
                                        ## kill: def $edi killed $edi def $rdi
	movq	_afd@GOTPCREL(%rip), %rbx
	movl	4(%rbx), %eax
	shll	$4, %eax
	addl	(%rbx), %edi
	addl	%edi, %eax
	addl	$4, %eax
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jbe	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	callq	_CL_CloseAVI
	movl	8(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_va
	movl	%eax, %edi
	callq	_CL_OpenAVIForWriting
	movq	_qtrue@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_qfalse@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_afd,12,2                       ## @afd
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s_"

	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_qfalse,4,2                     ## @qfalse
	.no_dead_strip	_CL_CheckFileSize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CL_CheckFileSize
_CL_CheckFileSize:                      ; @CL_CheckFileSize
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _afd@GOTPAGE
Lloh1:
	ldr	x19, [x19, _afd@GOTPAGEOFF]
	ldp	w8, w9, [x19]
	add	w8, w0, w8
	add	w8, w8, w9, lsl #4
	add	w8, w8, #4
Lloh2:
	adrp	x9, _INT_MAX@GOTPAGE
Lloh3:
	ldr	x9, [x9, _INT_MAX@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ls	LBB0_2
; %bb.1:
	bl	_CL_CloseAVI
	ldr	w1, [x19, #8]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_va
	bl	_CL_OpenAVIForWriting
Lloh7:
	adrp	x8, _qtrue@GOTPAGE
Lloh8:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _qfalse@GOTPAGE
Lloh10:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_afd,12,2                       ; @afd
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s_"

	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_qfalse,4,2                     ; @qfalse
	.no_dead_strip	_CL_CheckFileSize
.subsections_via_symbols
