#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_SUCCESS;
int /*<<< orphan*/ MySAR_macro_print_msg(char *, int, int, char *, char *);
int /*<<< orphan*/ exit(int /*<<< orphan*/);
void MySAR_print_help(void) {
  char *help_msg = {
      "MySQL Squid Access Report (importer).\n"
      "Adapted from code taken from the MySAR log importer.\n"
      "Copyright 2007 Cassiano Martin\n"
      "\n"
      "Available Options:\n\n"
      "--resolver                     this enables the DNS resolver\n"
      "--noresolver                   this disables the DNS resolver "
      "(*default)\n"
      "--traffic                      enable full traffic import from logfile "
      "(*default)\n"
      "--notraffic                    disable full traffic import. navigation "
      "details wont be imported.\n"
      "--zip          <file>          load a gzipped logfile for importing. "
      "the import is done in \"offline\" mode.\n"
      "--logfile      <file>          load a plain text logfile. the import is "
      "also done in \"offline\" mode.\n"
      "--debug                        enable some debug functionality. useful "
      "to find odirure problems.\n"
      "--config       <file>          load an alternative configuration file, "
      "instead of /etc/mysar.conf\n"
      "--help                         show the help, with command line "
      "options.\n"
      "--generatedb                   shows the database creator. create or "
      "replace MySAR databases.\n"
      "--stats                        show records status when importing.\n"
      "--optimizedb                   force database optimizator to run\n"
      "--groupdomains                 group domains on the site viewer. More "
      "accurate traffic sizes too. (slow)\n"
      "--offline                      use to import data from older logfiles. "
      "implies --logfile or --zip\n"
      "--quiet                        does not show any message. all error "
      "messages are logged within syslog."
      "--kill                         send a kill signal to a running "
      "importer. the running importer will shutdown"};
  MySAR_macro_print_msg(
      "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
      "2022-01-22/02-19-57/repos/coffnix/mysar-ng/refs/heads/master/bin/"
      "mysar-binary-importer/src/debug.c",
      149, 0x01, "%s", help_msg);
  ;
  exit(EXIT_SUCCESS);
}


x86 assembly (clang, -O0):
<MySAR_print_help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
lea    0xed1(%rip),%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%r8
lea    0x14e5(%rip),%rdi
mov    $0x95,%esi
mov    $0x1,%edx
lea    0x1577(%rip),%rcx
call   1030 <MySAR_macro_print_msg@plt>
mov    0x2e85(%rip),%rax
mov    (%rax),%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<MySAR_print_help>:
push   %rax
lea    0x14fb(%rip),%rdi
lea    0x1597(%rip),%rcx
lea    0xeca(%rip),%r8
mov    $0x95,%esi
mov    $0x1,%edx
call   1030 <MySAR_macro_print_msg@plt>
mov    0x2e94(%rip),%rax
mov    (%rax),%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@.str = [1571 x i8] c"MySQL Squid Access Report (importer).\0AAdapted from code taken from the MySAR log importer.\0ACopyright 2007 Cassiano Martin\0A\0AAvailable Options:\0A\0A--resolver this enables the DNS resolver\0A--noresolver this disables the DNS resolver (*default)\0A--traffic enable full traffic import from logfile (*default)\0A--notraffic disable full traffic import. navigation details wont be imported.\0A--zip <file> load a gzipped logfile for importing. the import is done in \22offline\22 mode.\0A--logfile <file> load a plain text logfile. the import is also done in \22offline\22 mode.\0A--debug enable some debug functionality. useful to find odirure problems.\0A--config <file> load an alternative configuration file, instead of /etc/mysar.conf\0A--help show the help, with command line options.\0A--generatedb shows the database creator. create or replace MySAR databases.\0A--stats show records status when importing.\0A--optimizedb force database optimizator to run\0A--groupdomains group domains on the site viewer. More accurate traffic sizes too. (slow)\0A--offline use to import data from older logfiles. implies --logfile or --zip\0A--quiet does not show any message. all error messages are logged within syslog.--kill send a kill signal to a running importer. the running importer will shutdown\00"
@.str.1 = [163 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/coffnix/mysar-ng/refs/heads/master/bin/mysar-binary-importer/src/debug.c\00"
@.str.2 = [3 x i8] c"%s\00"
@EXIT_SUCCESS = global i32 0
define void @MySAR_print_help() {
%1 = alloca i8*
store i8* getelementptr inbounds ([1571 x i8], [1571 x i8]* @.str, i64 0, i64 0), i8** %1
%2 = load i8*, i8** %1
%3 = call i32 @MySAR_macro_print_msg(i8* getelementptr inbounds ([163 x i8], [163 x i8]* @.str.1, i64 0, i64 0), i32 149, i32 1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* %2)
%4 = load i32, i32* @EXIT_SUCCESS
%5 = call i32 @exit(i32 %4)
unreachable
}

LLVM IR (-O2):
@.str = [1571 x i8] c"MySQL Squid Access Report (importer).\0AAdapted from code taken from the MySAR log importer.\0ACopyright 2007 Cassiano Martin\0A\0AAvailable Options:\0A\0A--resolver this enables the DNS resolver\0A--noresolver this disables the DNS resolver (*default)\0A--traffic enable full traffic import from logfile (*default)\0A--notraffic disable full traffic import. navigation details wont be imported.\0A--zip <file> load a gzipped logfile for importing. the import is done in \22offline\22 mode.\0A--logfile <file> load a plain text logfile. the import is also done in \22offline\22 mode.\0A--debug enable some debug functionality. useful to find odirure problems.\0A--config <file> load an alternative configuration file, instead of /etc/mysar.conf\0A--help show the help, with command line options.\0A--generatedb shows the database creator. create or replace MySAR databases.\0A--stats show records status when importing.\0A--optimizedb force database optimizator to run\0A--groupdomains group domains on the site viewer. More accurate traffic sizes too. (slow)\0A--offline use to import data from older logfiles. implies --logfile or --zip\0A--quiet does not show any message. all error messages are logged within syslog.--kill send a kill signal to a running importer. the running importer will shutdown\00"
@.str.1 = [163 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/coffnix/mysar-ng/refs/heads/master/bin/mysar-binary-importer/src/debug.c\00"
@.str.2 = [3 x i8] c"%s\00"
@EXIT_SUCCESS = global i32 0
define void @MySAR_print_help() {
%1 = tail call i32 @MySAR_macro_print_msg(i8* getelementptr inbounds ([163 x i8], [163 x i8]* @.str.1, i64 0, i64 0), i32 149, i32 1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([1571 x i8], [1571 x i8]* @.str, i64 0, i64 0))
%2 = load i32, i32* @EXIT_SUCCESS
%3 = tail call i32 @exit(i32 %2)
unreachable
}