// File: /workspace/github_c_makefile_star2_O0/hoobaa[P]ficl/fileaccess.c
// Function: ficlSystemCompileFile
void ficlSystemCompileFile(ficlSystem *system)
{
#if !FICL_WANT_FILE
    FICL_IGNORE(system);
#else
    ficlDictionary *dictionary = ficlSystemGetDictionary(system);
    ficlDictionary *environment = ficlSystemGetEnvironment(system);

    FICL_SYSTEM_ASSERT(system, dictionary);
    FICL_SYSTEM_ASSERT(system, environment);

    ficlDictionarySetPrimitive(dictionary, "create-file", ficlPrimitiveCreateFile,  FICL_WORD_DEFAULT);
    ficlDictionarySetPrimitive(dictionary, "open-file", ficlPrimitiveOpenFile,  FICL_WORD_DEFAULT);
    ficlDictionarySetPrimitive(dictionary, "close-file", ficlPrimitiveCloseFile,  FICL_WORD_DEFAULT);
    ficlDictionarySetPrimitive(dictionary, "include-file", ficlPrimitiveIncludeFile,  FICL_WORD_DEFAULT);
    ficlDictionarySetPrimitive(dictionary, "read-file", ficlPrimitiveReadFile,  FICL_WORD_DEFAULT);
    ficlDictionarySetPrimitive(dictionary, "read-line", ficlPrimitiveReadLine,  FICL_WORD_DEFAULT);
    ficlDictionarySetPrimitive(dictionary, "write-file", ficlPrimitiveWriteFile,  FICL_WORD_DEFAULT);
    ficlDictionarySetPrimitive(dictionary, "write-line", ficlPrimitiveWriteLine,  FICL_WORD_DEFAULT);
    ficlDictionarySetPrimitive(dictionary, "file-position", ficlPrimitiveFilePosition,  FICL_WORD_DEFAULT);
    ficlDictionarySetPrimitive(dictionary, "file-size", ficlPrimitiveFileSize,  FICL_WORD_DEFAULT);
    ficlDictionarySetPrimitive(dictionary, "reposition-file", ficlPrimitiveRepositionFile,  FICL_WORD_DEFAULT);
    ficlDictionarySetPrimitive(dictionary, "file-status", ficlPrimitiveFileStatus,  FICL_WORD_DEFAULT);
    ficlDictionarySetPrimitive(dictionary, "flush-file", ficlPrimitiveFlushFile,  FICL_WORD_DEFAULT);

    ficlDictionarySetPrimitive(dictionary, "delete-file", ficlPrimitiveDeleteFile,  FICL_WORD_DEFAULT);
    ficlDictionarySetPrimitive(dictionary, "rename-file", ficlPrimitiveRenameFile,  FICL_WORD_DEFAULT);

#if FICL_PLATFORM_HAS_FTRUNCATE
    ficlDictionarySetPrimitive(dictionary, "resize-file", ficlPrimitiveResizeFile,  FICL_WORD_DEFAULT);

    ficlDictionarySetConstant(environment, "file", FICL_TRUE);
    ficlDictionarySetConstant(environment, "file-ext", FICL_TRUE);
#else /*  FICL_PLATFORM_HAS_FTRUNCATE */
    ficlDictionarySetConstant(environment, "file", FICL_FALSE);
    ficlDictionarySetConstant(environment, "file-ext", FICL_FALSE);
#endif /* FICL_PLATFORM_HAS_FTRUNCATE */

#endif /* !FICL_WANT_FILE */
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x3cc0
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rdi
callq 0x3ce0
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
leaq 0x4427(%rip), %rsi      # 0x168c8
leaq 0x1b8(%rip), %rdx       # 0x12660
xorl %ecx, %ecx
callq 0x117d0
movq -0x10(%rbp), %rdi
leaq 0x441a(%rip), %rsi      # 0x168d4
leaq 0x1cf(%rip), %rdx       # 0x12690
xorl %ecx, %ecx
callq 0x117d0
movq -0x10(%rbp), %rdi
leaq 0x440b(%rip), %rsi      # 0x168de
leaq 0x1e6(%rip), %rdx       # 0x126c0
xorl %ecx, %ecx
callq 0x117d0
movq -0x10(%rbp), %rdi
leaq 0x43fd(%rip), %rsi      # 0x168e9
leaq 0x20d(%rip), %rdx       # 0x12700
xorl %ecx, %ecx
callq 0x117d0
movq -0x10(%rbp), %rdi
leaq 0x43f1(%rip), %rsi      # 0x168f6
leaq 0x334(%rip), %rdx       # 0x12840
xorl %ecx, %ecx
callq 0x117d0
movq -0x10(%rbp), %rdi
leaq 0x43e2(%rip), %rsi      # 0x16900
leaq 0x3cb(%rip), %rdx       # 0x128f0
xorl %ecx, %ecx
callq 0x117d0
movq -0x10(%rbp), %rdi
leaq 0x43d3(%rip), %rsi      # 0x1690a
leaq 0x542(%rip), %rdx       # 0x12a80
xorl %ecx, %ecx
callq 0x117d0
movq -0x10(%rbp), %rdi
leaq 0x43c5(%rip), %rsi      # 0x16915
leaq 0x5c9(%rip), %rdx       # 0x12b20
xorl %ecx, %ecx
callq 0x117d0
movq -0x10(%rbp), %rdi
leaq 0x43b7(%rip), %rsi      # 0x16920
leaq 0x670(%rip), %rdx       # 0x12be0
xorl %ecx, %ecx
callq 0x117d0
movq -0x10(%rbp), %rdi
leaq 0x43ac(%rip), %rsi      # 0x1692e
leaq 0x6b7(%rip), %rdx       # 0x12c40
xorl %ecx, %ecx
callq 0x117d0
movq -0x10(%rbp), %rdi
leaq 0x439d(%rip), %rsi      # 0x16938
leaq 0x6fe(%rip), %rdx       # 0x12ca0
xorl %ecx, %ecx
callq 0x117d0
movq -0x10(%rbp), %rdi
leaq 0x4394(%rip), %rsi      # 0x16948
leaq 0x755(%rip), %rdx       # 0x12d10
xorl %ecx, %ecx
callq 0x117d0
movq -0x10(%rbp), %rdi
leaq 0x4387(%rip), %rsi      # 0x16954
leaq 0x7dc(%rip), %rdx       # 0x12db0
xorl %ecx, %ecx
callq 0x117d0
movq -0x10(%rbp), %rdi
leaq 0x4379(%rip), %rsi      # 0x1695f
leaq 0x813(%rip), %rdx       # 0x12e00
xorl %ecx, %ecx
callq 0x117d0
movq -0x10(%rbp), %rdi
leaq 0x436c(%rip), %rsi      # 0x1696b
leaq 0x89a(%rip), %rdx       # 0x12ea0
xorl %ecx, %ecx
callq 0x117d0
movq -0x10(%rbp), %rdi
leaq 0x435f(%rip), %rsi      # 0x16977
leaq 0x971(%rip), %rdx       # 0x12f90
xorl %ecx, %ecx
callq 0x117d0
movq -0x18(%rbp), %rdi
leaq 0x42ca(%rip), %rsi      # 0x168fb
movq $-0x1, %rdx
callq 0x11540
movq -0x18(%rbp), %rdi
leaq 0x433b(%rip), %rsi      # 0x16983
movq $-0x1, %rdx
callq 0x11540
addq $0x20, %rsp
popq %rbp
retq
nopw (%rax,%rax)