#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*/ exit(int);
int /*<<< orphan*/ printf(char *, ...);
void clapt_help() {
  printf("Usage: %s | [OPTION]\n", "clapt");
  printf("Update and upgrade installed packages via APT. Also update ClamAV "
         "virus\n");
  printf(
      "database before performing a thorough scanning on either the Home or\n");
  printf("root directory.\n\n");
  printf(
      "You can run %s without using any of the options below for a complete\n",
      "clapt");
  printf("routine. However if you want to target specific tasks, please refer "
         "to\n");
  printf("the available options below:\n");
  printf("      --complete\tperform a full system update and smart scan\n");
  printf("      --update\t\tupdate packages only (ie. apt-get update)\n");
  printf("      --upgrade\t\tupgrade packages only (ie. apt-get upgrade)\n");
  printf("      --upscan\t\tupdate ClamAV and perform smart scan\n");
  printf("      --fullscan\tperform a full system scan(might take hours)\n");
  printf("      --clean\t\tclean/remove old packages to free space\n");
  printf("  -h, --help\t\tdisplay this help and exit\n");
  printf("  -V, --version\t\toutput version information and exit\n\n");
  printf("You need to be root to run this utility. All infected files will\n");
  printf("be moved automatically to a folder called '%s' inside the client's "
         "home\n",
         "SCQuarantine");
  printf("directory.\n");
  exit(1);
}


x86 assembly (clang, -O0):
<clapt_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
lea    0xee4(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xedc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf17(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf4f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf53(%rip),%rdi
lea    0xea5(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf84(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfbe(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfce(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xffe(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x102b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x105b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1083(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10b4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10de(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10fa(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1123(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1157(%rip),%rdi
lea    0x1199(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1198(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<clapt_help>:
push   %rbx
lea    0xec8(%rip),%rdi
lea    0xed7(%rip),%rbx
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf68(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa4(%rip),%rdi
call   1030 <puts@plt>
lea    0xfdd(%rip),%rdi
call   1030 <puts@plt>
lea    0xea8(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfd1(%rip),%rdi
call   1030 <puts@plt>
lea    0x100c(%rip),%rdi
call   1030 <puts@plt>
lea    0x101d(%rip),%rdi
call   1030 <puts@plt>
lea    0x104e(%rip),%rdi
call   1030 <puts@plt>
lea    0x107c(%rip),%rdi
call   1030 <puts@plt>
lea    0x10ad(%rip),%rdi
call   1030 <puts@plt>
lea    0x10d6(%rip),%rdi
call   1030 <puts@plt>
lea    0x1108(%rip),%rdi
call   1030 <puts@plt>
lea    0x1133(%rip),%rdi
call   1030 <puts@plt>
lea    0x1150(%rip),%rdi
call   1030 <puts@plt>
lea    0x117a(%rip),%rdi
call   1030 <puts@plt>
lea    0xe59(%rip),%rdi
lea    0xe9b(%rip),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x119a(%rip),%rdi
call   1030 <puts@plt>
mov    $0x1,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [22 x i8] c"Usage: %s | [OPTION]\0A\00"
@.str.1 = [6 x i8] c"clapt\00"
@.str.2 = [73 x i8] c"Update and upgrade installed packages via APT. Also update ClamAV virus\0A\00"
@.str.3 = [70 x i8] c"database before performing a thorough scanning on either the Home or\0A\00"
@.str.4 = [18 x i8] c"root directory.\0A\0A\00"
@.str.5 = [70 x i8] c"You can run %s without using any of the options below for a complete\0A\00"
@.str.6 = [72 x i8] c"routine. However if you want to target specific tasks, please refer to\0A\00"
@.str.7 = [30 x i8] c"the available options below:\0A\00"
@.str.8 = [62 x i8] c" --complete\09perform a full system update and smart scan\0A\00"
@.str.9 = [59 x i8] c" --update\09\09update packages only (ie. apt-get update)\0A\00"
@.str.10 = [62 x i8] c" --upgrade\09\09upgrade packages only (ie. apt-get upgrade)\0A\00"
@.str.11 = [54 x i8] c" --upscan\09\09update ClamAV and perform smart scan\0A\00"
@.str.12 = [63 x i8] c" --fullscan\09perform a full system scan(might take hours)\0A\00"
@.str.13 = [56 x i8] c" --clean\09\09clean/remove old packages to free space\0A\00"
@.str.14 = [42 x i8] c" -h, --help\09\09display this help and exit\0A\00"
@.str.15 = [55 x i8] c" -V, --version\09\09output version information and exit\0A\0A\00"
@.str.16 = [66 x i8] c"You need to be root to run this utility. All infected files will\0A\00"
@.str.17 = [73 x i8] c"be moved automatically to a folder called '%s' inside the client's home\0A\00"
@.str.18 = [13 x i8] c"SCQuarantine\00"
@.str.19 = [12 x i8] c"directory.\0A\00"
define void @clapt_help() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.2, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.3, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.6, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.8, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.9, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.10, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.11, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.12, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.13, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.14, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.15, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.16, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.18, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.19, i64 0, i64 0))
%19 = call i32 @exit(i32 1)
unreachable
}

LLVM IR (-O2):
@.str = [22 x i8] c"Usage: %s | [OPTION]\0A\00"
@.str.1 = [6 x i8] c"clapt\00"
@.str.5 = [70 x i8] c"You can run %s without using any of the options below for a complete\0A\00"
@.str.17 = [73 x i8] c"be moved automatically to a folder called '%s' inside the client's home\0A\00"
@.str.18 = [13 x i8] c"SCQuarantine\00"
@str = [72 x i8] c"Update and upgrade installed packages via APT. Also update ClamAV virus\00"
@str.20 = [69 x i8] c"database before performing a thorough scanning on either the Home or\00"
@str.21 = [17 x i8] c"root directory.\0A\00"
@str.22 = [71 x i8] c"routine. However if you want to target specific tasks, please refer to\00"
@str.23 = [29 x i8] c"the available options below:\00"
@str.24 = [61 x i8] c" --complete\09perform a full system update and smart scan\00"
@str.25 = [58 x i8] c" --update\09\09update packages only (ie. apt-get update)\00"
@str.26 = [61 x i8] c" --upgrade\09\09upgrade packages only (ie. apt-get upgrade)\00"
@str.27 = [53 x i8] c" --upscan\09\09update ClamAV and perform smart scan\00"
@str.28 = [62 x i8] c" --fullscan\09perform a full system scan(might take hours)\00"
@str.29 = [55 x i8] c" --clean\09\09clean/remove old packages to free space\00"
@str.30 = [41 x i8] c" -h, --help\09\09display this help and exit\00"
@str.31 = [54 x i8] c" -V, --version\09\09output version information and exit\0A\00"
@str.32 = [65 x i8] c"You need to be root to run this utility. All infected files will\00"
@str.33 = [11 x i8] c"directory.\00"
define void @clapt_help() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.20, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.21, i64 0, i64 0))
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.22, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.23, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.24, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.25, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.26, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.27, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.28, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.29, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.30, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.31, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.32, i64 0, i64 0))
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([73 x i8], [73 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.18, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.33, i64 0, i64 0))
%19 = tail call i32 @exit(i32 1)
unreachable
}