#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 */
typedef int /*<<< orphan*/ pid_t;

/* Variables and functions */
int WCONTINUED;
int WNOHANG;
int WUNTRACED;
int /*<<< orphan*/ printf(char *, ...);
main() {
  printf("! DO NOT EDIT THIS FILE. \n");
  printf("! It is created from f90_unix_proc_const.c\n");
  printf("integer, parameter :: pid_kind = %d\n", sizeof(pid_t));
  printf("integer, parameter :: WNOHANG = %d\n", WNOHANG);
  printf("integer, parameter :: WUNTRACED = %d\n", WUNTRACED);
  printf("integer, parameter :: WCONTINUED = %d\n", WCONTINUED);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeda(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xee7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf05(%rip),%rdi
mov    $0x4,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e93(%rip),%rax
mov    (%rax),%esi
lea    0xf0e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e6c(%rip),%rax
mov    (%rax),%esi
lea    0xf1b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e45(%rip),%rax
mov    (%rax),%esi
lea    0xf2a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xf6e(%rip),%rdi
call   1030 <puts@plt>
lea    0xf7c(%rip),%rdi
call   1030 <puts@plt>
lea    0xec0(%rip),%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2e95(%rip),%rax
mov    (%rax),%esi
lea    0xec9(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2e6e(%rip),%rax
mov    (%rax),%esi
lea    0xed6(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2e47(%rip),%rax
mov    (%rax),%esi
lea    0xee5(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [27 x i8] c"! DO NOT EDIT THIS FILE. \0A\00"
@.str.1 = [44 x i8] c"! It is created from f90_unix_proc_const.c\0A\00"
@.str.2 = [37 x i8] c"integer, parameter :: pid_kind = %d\0A\00"
@.str.3 = [36 x i8] c"integer, parameter :: WNOHANG = %d\0A\00"
@WNOHANG = global i32 0
@.str.4 = [38 x i8] c"integer, parameter :: WUNTRACED = %d\0A\00"
@WUNTRACED = global i32 0
@.str.5 = [39 x i8] c"integer, parameter :: WCONTINUED = %d\0A\00"
@WCONTINUED = global i32 0
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.2, i64 0, i64 0), i64 4)
%5 = load i32, i32* @WNOHANG
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.3, i64 0, i64 0), i32 %5)
%7 = load i32, i32* @WUNTRACED
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.4, i64 0, i64 0), i32 %7)
%9 = load i32, i32* @WCONTINUED
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.5, i64 0, i64 0), i32 %9)
ret i32 0
}

LLVM IR (-O2):
@.str.2 = [37 x i8] c"integer, parameter :: pid_kind = %d\0A\00"
@.str.3 = [36 x i8] c"integer, parameter :: WNOHANG = %d\0A\00"
@WNOHANG = global i32 0
@.str.4 = [38 x i8] c"integer, parameter :: WUNTRACED = %d\0A\00"
@WUNTRACED = global i32 0
@.str.5 = [39 x i8] c"integer, parameter :: WCONTINUED = %d\0A\00"
@WCONTINUED = global i32 0
@str = [26 x i8] c"! DO NOT EDIT THIS FILE. \00"
@str.6 = [43 x i8] c"! It is created from f90_unix_proc_const.c\00"
define i32 @main() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.6, i64 0, i64 0))
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.2, i64 0, i64 0), i64 4)
%4 = load i32, i32* @WNOHANG
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @.str.3, i64 0, i64 0), i32 %4)
%6 = load i32, i32* @WUNTRACED
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.4, i64 0, i64 0), i32 %6)
%8 = load i32, i32* @WCONTINUED
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.5, i64 0, i64 0), i32 %8)
ret i32 0
}