int _singularity_runtime_files(void) {
  int retval = 0;
  _singularity_message(
      2, __func__,
      "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
      "2022-01-22/02-19-57/repos/Trophime/singularity/refs/heads/master/src/"
      "lib/runtime/files/files.c",
      44, "Running file components\n");
  retval += _singularity_runtime_files_passwd();
  retval += _singularity_runtime_files_group();
  retval += _singularity_runtime_files_resolvconf();
  retval += _singularity_runtime_files_libs();
  return (retval);
}


x86 assembly (clang, -O0):
<_singularity_runtime_files>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x2,%edi
lea    0xe95(%rip),%rsi
lea    0xea9(%rip),%rdx
mov    $0x2c,%ecx
lea    0xf3c(%rip),%r8
mov    $0x0,%al
call   1040 <_singularity_message@plt>
mov    $0x0,%al
call   1070 <_singularity_runtime_files_passwd@plt>
add    -0x4(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1050 <_singularity_runtime_files_group@plt>
add    -0x4(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1060 <_singularity_runtime_files_resolvconf@plt>
add    -0x4(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1030 <_singularity_runtime_files_libs@plt>
add    -0x4(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<_singularity_runtime_files>:
push   %rbp
push   %rbx
push   %rax
lea    0xea6(%rip),%rsi
lea    0xeba(%rip),%rdx
lea    0xf52(%rip),%r8
mov    $0x2,%edi
mov    $0x2c,%ecx
xor    %eax,%eax
call   1040 <_singularity_message@plt>
xor    %eax,%eax
call   1070 <_singularity_runtime_files_passwd@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1050 <_singularity_runtime_files_group@plt>
mov    %eax,%ebp
add    %ebx,%ebp
xor    %eax,%eax
call   1060 <_singularity_runtime_files_resolvconf@plt>
mov    %eax,%ebx
add    %ebp,%ebx
xor    %eax,%eax
call   1030 <_singularity_runtime_files_libs@plt>
add    %ebx,%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
ret

LLVM IR (-O0):
@__func__._singularity_runtime_files = [27 x i8] c"_singularity_runtime_files\00"
@.str = [159 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Trophime/singularity/refs/heads/master/src/lib/runtime/files/files.c\00"
@.str.1 = [25 x i8] c"Running file components\0A\00"
define i32 @_singularity_runtime_files() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (i32, i8*, i8*, i32, i8*, ...) bitcast (i32 (...)* @_singularity_message to i32 (i32, i8*, i8*, i32, i8*, ...)*)(i32 2, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @__func__._singularity_runtime_files, i64 0, i64 0), i8* getelementptr inbounds ([159 x i8], [159 x i8]* @.str, i64 0, i64 0), i32 44, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 (...) @_singularity_runtime_files_passwd()
%4 = load i32, i32* %1
%5 = add nsw i32 %4, %3
store i32 %5, i32* %1
%6 = call i32 (...) @_singularity_runtime_files_group()
%7 = load i32, i32* %1
%8 = add nsw i32 %7, %6
store i32 %8, i32* %1
%9 = call i32 (...) @_singularity_runtime_files_resolvconf()
%10 = load i32, i32* %1
%11 = add nsw i32 %10, %9
store i32 %11, i32* %1
%12 = call i32 (...) @_singularity_runtime_files_libs()
%13 = load i32, i32* %1
%14 = add nsw i32 %13, %12
store i32 %14, i32* %1
%15 = load i32, i32* %1
ret i32 %15
}

LLVM IR (-O2):
@__func__._singularity_runtime_files = [27 x i8] c"_singularity_runtime_files\00"
@.str = [159 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Trophime/singularity/refs/heads/master/src/lib/runtime/files/files.c\00"
@.str.1 = [25 x i8] c"Running file components\0A\00"
define i32 @_singularity_runtime_files() {
%1 = tail call i32 (i32, i8*, i8*, i32, i8*, ...) bitcast (i32 (...)* @_singularity_message to i32 (i32, i8*, i8*, i32, i8*, ...)*)(i32 2, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @__func__._singularity_runtime_files, i64 0, i64 0), i8* getelementptr inbounds ([159 x i8], [159 x i8]* @.str, i64 0, i64 0), i32 44, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 (...) @_singularity_runtime_files_passwd()
%3 = tail call i32 (...) @_singularity_runtime_files_group()
%4 = add nsw i32 %3, %2
%5 = tail call i32 (...) @_singularity_runtime_files_resolvconf()
%6 = add nsw i32 %4, %5
%7 = tail call i32 (...) @_singularity_runtime_files_libs()
%8 = add nsw i32 %6, %7
ret i32 %8
}