#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ print_feature_defs();
int /*<<< orphan*/ print_feature_group_defs();
int /*<<< orphan*/ print_feature_group_enum_type();
int /*<<< orphan*/ print_qemu_feature_defs();
int /*<<< orphan*/ printf(char *, ...);
int main(int argc, char *argv[]) {
  printf("/*\n"
         " * AUTOMATICALLY GENERATED, DO NOT MODIFY HERE, EDIT\n"
         " * SOURCE FILE \"%s\" INSTEAD.\n"
         " *\n"
         " * Copyright %s IBM Corp.\n"
         " *\n"
         " * This work is licensed under the terms of the GNU GPL, "
         "version 2 or (at\n * your option) any later version. See "
         "the COPYING file in the top-level\n * directory.\n"
         " */\n\n"
         "#ifndef %s\n#define %s\n",
         "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
         "2022-01-22/02-19-57/repos/Cisco-Talos/pyrebox/refs/heads/master/qemu/"
         "target/s390x/gen-features.c",
         "2016", "TARGET_S390X_GEN_FEATURES_H", "TARGET_S390X_GEN_FEATURES_H");
  print_feature_defs();
  print_feature_group_defs();
  print_qemu_feature_defs();
  print_feature_group_enum_type();
  printf("\n#endif\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xe93(%rip),%rdi
lea    0xfbe(%rip),%rsi
lea    0x1058(%rip),%rdx
lea    0x1056(%rip),%r8
mov    %r8,%rcx
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x0,%al
call   1060 <print_feature_defs@plt>
mov    $0x0,%al
call   1030 <print_feature_group_defs@plt>
mov    $0x0,%al
call   1040 <print_qemu_feature_defs@plt>
mov    $0x0,%al
call   1070 <print_feature_group_enum_type@plt>
lea    0x1045(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xe98(%rip),%rdi
lea    0xfc3(%rip),%rsi
lea    0x105d(%rip),%rdx
lea    0x105b(%rip),%rcx
mov    %rcx,%r8
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
call   1070 <print_feature_defs@plt>
xor    %eax,%eax
call   1040 <print_feature_group_defs@plt>
xor    %eax,%eax
call   1050 <print_qemu_feature_defs@plt>
xor    %eax,%eax
call   1080 <print_feature_group_enum_type@plt>
lea    0x104a(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [306 x i8] c"/*\0A * AUTOMATICALLY GENERATED, DO NOT MODIFY HERE, EDIT\0A * SOURCE FILE \22%s\22 INSTEAD.\0A *\0A * Copyright %s IBM Corp.\0A *\0A * This work is licensed under the terms of the GNU GPL, version 2 or (at\0A * your option) any later version. See the COPYING file in the top-level\0A * directory.\0A */\0A\0A#ifndef %s\0A#define %s\0A\00"
@.str.1 = [161 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Cisco-Talos/pyrebox/refs/heads/master/qemu/target/s390x/gen-features.c\00"
@.str.2 = [5 x i8] c"2016\00"
@.str.3 = [28 x i8] c"TARGET_S390X_GEN_FEATURES_H\00"
@.str.4 = [9 x i8] c"\0A#endif\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([306 x i8], [306 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([161 x i8], [161 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.3, i64 0, i64 0))
%7 = call i32 (...) @print_feature_defs()
%8 = call i32 (...) @print_feature_group_defs()
%9 = call i32 (...) @print_qemu_feature_defs()
%10 = call i32 (...) @print_feature_group_enum_type()
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [306 x i8] c"/*\0A * AUTOMATICALLY GENERATED, DO NOT MODIFY HERE, EDIT\0A * SOURCE FILE \22%s\22 INSTEAD.\0A *\0A * Copyright %s IBM Corp.\0A *\0A * This work is licensed under the terms of the GNU GPL, version 2 or (at\0A * your option) any later version. See the COPYING file in the top-level\0A * directory.\0A */\0A\0A#ifndef %s\0A#define %s\0A\00"
@.str.1 = [161 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Cisco-Talos/pyrebox/refs/heads/master/qemu/target/s390x/gen-features.c\00"
@.str.2 = [5 x i8] c"2016\00"
@.str.3 = [28 x i8] c"TARGET_S390X_GEN_FEATURES_H\00"
@str = [8 x i8] c"\0A#endif\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([306 x i8], [306 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([161 x i8], [161 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.3, i64 0, i64 0))
%4 = tail call i32 (...) @print_feature_defs()
%5 = tail call i32 (...) @print_feature_group_defs()
%6 = tail call i32 (...) @print_qemu_feature_defs()
%7 = tail call i32 (...) @print_feature_group_enum_type()
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str, i64 0, i64 0))
ret i32 0
}