#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*/ init_ndbm();
int /*<<< orphan*/ init_regex();
int /*<<< orphan*/ init_slibu();
int /*<<< orphan*/ init_ss();
int /*<<< orphan*/ init_storage();
int /*<<< orphan*/ init_subrs();
int /*<<< orphan*/ init_tar();
int /*<<< orphan*/ init_trace();
int /*<<< orphan*/ print_hs_1();
int /*<<< orphan*/ print_welcome();
int /*<<< orphan*/ process_cla(int, char **, int);
int init_parser(int argc, char **argv) {
  print_welcome();
  process_cla(argc, argv, 1);
  print_hs_1();
  init_storage();
  init_subrs();
  init_trace();
  init_slibu();
  init_ss();
  init_ndbm();
  init_regex();
  init_tar();
  return 0;
}


x86 assembly (clang, -O0):
<init_parser>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    $0x0,%al
call   10c0 <print_welcome@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
mov    $0x1,%edx
call   1040 <process_cla@plt>
mov    $0x0,%al
call   1050 <print_hs_1@plt>
mov    $0x0,%al
call   1030 <init_storage@plt>
mov    $0x0,%al
call   1060 <init_subrs@plt>
mov    $0x0,%al
call   1080 <init_trace@plt>
mov    $0x0,%al
call   1070 <init_slibu@plt>
mov    $0x0,%al
call   10b0 <init_ss@plt>
mov    $0x0,%al
call   10d0 <init_ndbm@plt>
mov    $0x0,%al
call   10a0 <init_regex@plt>
mov    $0x0,%al
call   1090 <init_tar@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<init_parser>:
push   %rbp
push   %rbx
push   %rax
mov    %rsi,%rbx
mov    %edi,%ebp
xor    %eax,%eax
call   10c0 <print_welcome@plt>
mov    %ebp,%edi
mov    %rbx,%rsi
mov    $0x1,%edx
call   1040 <process_cla@plt>
xor    %eax,%eax
call   1050 <print_hs_1@plt>
xor    %eax,%eax
call   1030 <init_storage@plt>
xor    %eax,%eax
call   1060 <init_subrs@plt>
xor    %eax,%eax
call   1080 <init_trace@plt>
xor    %eax,%eax
call   1070 <init_slibu@plt>
xor    %eax,%eax
call   10b0 <init_ss@plt>
xor    %eax,%eax
call   10d0 <init_ndbm@plt>
xor    %eax,%eax
call   10a0 <init_regex@plt>
xor    %eax,%eax
call   1090 <init_tar@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
ret

LLVM IR (-O0):
define i32 @init_parser(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i8**
store i32 %0, i32* %3
store i8** %1, i8*** %4
%5 = call i32 (...) @print_welcome()
%6 = load i32, i32* %3
%7 = load i8**, i8*** %4
%8 = call i32 @process_cla(i32 %6, i8** %7, i32 1)
%9 = call i32 (...) @print_hs_1()
%10 = call i32 (...) @init_storage()
%11 = call i32 (...) @init_subrs()
%12 = call i32 (...) @init_trace()
%13 = call i32 (...) @init_slibu()
%14 = call i32 (...) @init_ss()
%15 = call i32 (...) @init_ndbm()
%16 = call i32 (...) @init_regex()
%17 = call i32 (...) @init_tar()
ret i32 0
}

LLVM IR (-O2):
define i32 @init_parser(i32 %0, i8** %1) {
%3 = tail call i32 (...) @print_welcome()
%4 = tail call i32 @process_cla(i32 %0, i8** %1, i32 1)
%5 = tail call i32 (...) @print_hs_1()
%6 = tail call i32 (...) @init_storage()
%7 = tail call i32 (...) @init_subrs()
%8 = tail call i32 (...) @init_trace()
%9 = tail call i32 (...) @init_slibu()
%10 = tail call i32 (...) @init_ss()
%11 = tail call i32 (...) @init_ndbm()
%12 = tail call i32 (...) @init_regex()
%13 = tail call i32 (...) @init_tar()
ret i32 0
}