#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 LOG_CONS;
int LOG_DEBUG;
int LOG_ERR;
int LOG_FTP;
int LOG_INFO;
int LOG_MAIL;
int LOG_NOTICE;
int LOG_PID;
int LOG_USER;
int /*<<< orphan*/ closelog();
int /*<<< orphan*/ openlog(char *, int, int /*<<< orphan*/);
int /*<<< orphan*/ strcpy(char *, char *);
int /*<<< orphan*/ syslog(int, char *, char *, char *);
int main(int argc, char **argv) {
  char msg[64];
  if (argc > 1) {
    strcpy(msg, argv[1]);
  } else {
    strcpy(msg, "defautl message");
  }
  openlog("testsyslog", LOG_CONS | LOG_PID, 0);
  syslog(LOG_USER | LOG_INFO, "LOG_USER | LOG_INFO  : %s genarate %s\n",
         argv[0], msg);
  syslog(LOG_USER | LOG_NOTICE, "LOG_USER | LOG_NOTICE: %s genarate %s\n",
         argv[0], msg);
  syslog(LOG_USER | LOG_ERR, "LOG_USER | LOG_ERR   : %s genarate %s\n", argv[0],
         msg);
  syslog(LOG_USER | LOG_DEBUG, "LOG_USER | LOG_DEBUG : %s genarate %s\n",
         argv[0], msg);
  syslog(LOG_MAIL | LOG_INFO, "LOG_MAIL | LOG_INFO  : %s genarate %s\n",
         argv[0], msg);
  syslog(LOG_MAIL | LOG_NOTICE, "LOG_MAIL | LOG_NOTICE: %s genarate %s\n",
         argv[0], msg);
  syslog(LOG_MAIL | LOG_ERR, "LOG_MAIL | LOG_ERR   : %s genarate %s\n", argv[0],
         msg);
  syslog(LOG_MAIL | LOG_DEBUG, "LOG_MAIL | LOG_DEBUG : %s genarate %s\n",
         argv[0], msg);
  syslog(LOG_FTP | LOG_INFO, "LOG_FTP | LOG_INFO  : %s genarate %s\n", argv[0],
         msg);
  syslog(LOG_FTP | LOG_NOTICE, "LOG_FTP | LOG_NOTICE: %s genarate %s\n",
         argv[0], msg);
  syslog(LOG_FTP | LOG_ERR, "LOG_FTP | LOG_ERR   : %s genarate %s\n", argv[0],
         msg);
  syslog(LOG_FTP | LOG_DEBUG, "LOG_FTP | LOG_DEBUG : %s genarate %s\n", argv[0],
         msg);
  closelog();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x1,-0x8(%rbp)
jle    1176 <main+0x36>
lea    -0x50(%rbp),%rdi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rsi
call   1040 <strcpy@plt>
jmp    1186 <main+0x46>
lea    -0x50(%rbp),%rdi
lea    0xe7f(%rip),%rsi
call   1040 <strcpy@plt>
mov    0x2e43(%rip),%rax
mov    (%rax),%esi
mov    0x2e42(%rip),%rax
or     (%rax),%esi
lea    0xe71(%rip),%rdi
xor    %edx,%edx
call   1060 <openlog@plt>
mov    0x2e3b(%rip),%rax
mov    (%rax),%edi
mov    0x2dfa(%rip),%rax
or     (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    -0x50(%rbp),%rcx
lea    0xe51(%rip),%rsi
call   1050 <syslog@plt>
mov    0x2e12(%rip),%rax
mov    (%rax),%edi
mov    0x2de1(%rip),%rax
or     (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    -0x50(%rbp),%rcx
lea    0xe4f(%rip),%rsi
call   1050 <syslog@plt>
mov    0x2de9(%rip),%rax
mov    (%rax),%edi
mov    0x2d90(%rip),%rax
or     (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    -0x50(%rbp),%rcx
lea    0xe4d(%rip),%rsi
call   1050 <syslog@plt>
mov    0x2dc0(%rip),%rax
mov    (%rax),%edi
mov    0x2d87(%rip),%rax
or     (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    -0x50(%rbp),%rcx
lea    0xe4b(%rip),%rsi
call   1050 <syslog@plt>
mov    0x2d4f(%rip),%rax
mov    (%rax),%edi
mov    0x2d56(%rip),%rax
or     (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    -0x50(%rbp),%rcx
lea    0xe49(%rip),%rsi
call   1050 <syslog@plt>
mov    0x2d26(%rip),%rax
mov    (%rax),%edi
mov    0x2d3d(%rip),%rax
or     (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    -0x50(%rbp),%rcx
lea    0xe47(%rip),%rsi
call   1050 <syslog@plt>
mov    0x2cfd(%rip),%rax
mov    (%rax),%edi
mov    0x2cec(%rip),%rax
or     (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    -0x50(%rbp),%rcx
lea    0xe45(%rip),%rsi
call   1050 <syslog@plt>
mov    0x2cd4(%rip),%rax
mov    (%rax),%edi
mov    0x2ce3(%rip),%rax
or     (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    -0x50(%rbp),%rcx
lea    0xe43(%rip),%rsi
call   1050 <syslog@plt>
mov    0x2cd3(%rip),%rax
mov    (%rax),%edi
mov    0x2cb2(%rip),%rax
or     (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    -0x50(%rbp),%rcx
lea    0xe41(%rip),%rsi
call   1050 <syslog@plt>
mov    0x2caa(%rip),%rax
mov    (%rax),%edi
mov    0x2c99(%rip),%rax
or     (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    -0x50(%rbp),%rcx
lea    0xe3e(%rip),%rsi
call   1050 <syslog@plt>
mov    0x2c81(%rip),%rax
mov    (%rax),%edi
mov    0x2c48(%rip),%rax
or     (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    -0x50(%rbp),%rcx
lea    0xe3b(%rip),%rsi
call   1050 <syslog@plt>
mov    0x2c58(%rip),%rax
mov    (%rax),%edi
mov    0x2c3f(%rip),%rax
or     (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    -0x50(%rbp),%rcx
lea    0xe38(%rip),%rsi
call   1050 <syslog@plt>
mov    $0x0,%al
call   1030 <closelog@plt>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    %rsi,%rbx
cmp    $0x2,%edi
jl     115c <main+0x1c>
mov    0x8(%rbx),%rsi
jmp    1163 <main+0x23>
lea    0xe9d(%rip),%rsi
mov    %rsp,%r14
mov    %r14,%rdi
call   1040 <strcpy@plt>
mov    0x2e5b(%rip),%rax
mov    0x2e5c(%rip),%rcx
mov    (%rcx),%esi
or     (%rax),%esi
lea    0xe89(%rip),%rdi
xor    %edx,%edx
call   1060 <openlog@plt>
mov    0x2e53(%rip),%r15
mov    0x2e14(%rip),%rax
mov    (%rax),%edi
or     (%r15),%edi
mov    (%rbx),%rdx
lea    0xe70(%rip),%rsi
mov    %r14,%rcx
call   1050 <syslog@plt>
mov    0x2e06(%rip),%rax
mov    (%rax),%edi
or     (%r15),%edi
mov    (%rbx),%rdx
lea    0xe79(%rip),%rsi
mov    %r14,%rcx
call   1050 <syslog@plt>
mov    0x2dc0(%rip),%r13
mov    0x0(%r13),%edi
or     (%r15),%edi
mov    (%rbx),%rdx
lea    0xe80(%rip),%rsi
mov    %r14,%rcx
call   1050 <syslog@plt>
mov    0x2dc0(%rip),%r12
mov    (%r12),%edi
or     (%r15),%edi
mov    (%rbx),%rdx
lea    0xe87(%rip),%rsi
mov    %r14,%rcx
call   1050 <syslog@plt>
mov    0x2d88(%rip),%rbp
mov    0x2d91(%rip),%rax
mov    (%rax),%edi
or     0x0(%rbp),%edi
mov    (%rbx),%rdx
lea    0xe89(%rip),%rsi
mov    %r14,%rcx
call   1050 <syslog@plt>
mov    0x2d83(%rip),%rax
mov    (%rax),%edi
or     0x0(%rbp),%edi
mov    (%rbx),%rdx
lea    0xe92(%rip),%rsi
mov    %r14,%rcx
call   1050 <syslog@plt>
mov    0x0(%r13),%edi
or     0x0(%rbp),%edi
mov    (%rbx),%rdx
lea    0xea0(%rip),%rsi
mov    %r14,%rcx
call   1050 <syslog@plt>
mov    (%r12),%edi
or     0x0(%rbp),%edi
mov    (%rbx),%rdx
lea    0xeae(%rip),%rsi
mov    %r14,%rcx
call   1050 <syslog@plt>
mov    0x2d3b(%rip),%rbp
mov    0x2d1c(%rip),%rax
mov    (%rax),%edi
or     0x0(%rbp),%edi
mov    (%rbx),%rdx
lea    0xeb0(%rip),%rsi
mov    %r14,%rcx
call   1050 <syslog@plt>
mov    0x2d0e(%rip),%rax
mov    (%rax),%edi
or     0x0(%rbp),%edi
mov    (%rbx),%rdx
lea    0xeb8(%rip),%rsi
mov    %r14,%rcx
call   1050 <syslog@plt>
mov    0x0(%r13),%edi
or     0x0(%rbp),%edi
mov    (%rbx),%rdx
lea    0xec5(%rip),%rsi
mov    %r14,%rcx
call   1050 <syslog@plt>
mov    (%r12),%edi
or     0x0(%rbp),%edi
mov    (%rbx),%rdx
lea    0xed2(%rip),%rsi
mov    %r14,%rcx
call   1050 <syslog@plt>
xor    %eax,%eax
call   1030 <closelog@plt>
xor    %eax,%eax
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [16 x i8] c"defautl message\00"
@.str.1 = [11 x i8] c"testsyslog\00"
@LOG_CONS = global i32 0
@LOG_PID = global i32 0
@LOG_USER = global i32 0
@LOG_INFO = global i32 0
@.str.2 = [39 x i8] c"LOG_USER | LOG_INFO : %s genarate %s\0A\00"
@LOG_NOTICE = global i32 0
@.str.3 = [39 x i8] c"LOG_USER | LOG_NOTICE: %s genarate %s\0A\00"
@LOG_ERR = global i32 0
@.str.4 = [39 x i8] c"LOG_USER | LOG_ERR : %s genarate %s\0A\00"
@LOG_DEBUG = global i32 0
@.str.5 = [39 x i8] c"LOG_USER | LOG_DEBUG : %s genarate %s\0A\00"
@LOG_MAIL = global i32 0
@.str.6 = [39 x i8] c"LOG_MAIL | LOG_INFO : %s genarate %s\0A\00"
@.str.7 = [39 x i8] c"LOG_MAIL | LOG_NOTICE: %s genarate %s\0A\00"
@.str.8 = [39 x i8] c"LOG_MAIL | LOG_ERR : %s genarate %s\0A\00"
@.str.9 = [39 x i8] c"LOG_MAIL | LOG_DEBUG : %s genarate %s\0A\00"
@LOG_FTP = global i32 0
@.str.10 = [38 x i8] c"LOG_FTP | LOG_INFO : %s genarate %s\0A\00"
@.str.11 = [38 x i8] c"LOG_FTP | LOG_NOTICE: %s genarate %s\0A\00"
@.str.12 = [38 x i8] c"LOG_FTP | LOG_ERR : %s genarate %s\0A\00"
@.str.13 = [38 x i8] c"LOG_FTP | LOG_DEBUG : %s genarate %s\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [64 x i8]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%7 = load i32, i32* %4
%8 = icmp sgt i32 %7, 1
br i1 %8, label %9, label %15
9: ; preds = %2
%10 = getelementptr inbounds [64 x i8], [64 x i8]* %6, i64 0, i64 0
%11 = load i8**, i8*** %5
%12 = getelementptr inbounds i8*, i8** %11, i64 1
%13 = load i8*, i8** %12
%14 = call i32 @strcpy(i8* %10, i8* %13)
br label %18
15: ; preds = %2
%16 = getelementptr inbounds [64 x i8], [64 x i8]* %6, i64 0, i64 0
%17 = call i32 @strcpy(i8* %16, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0))
br label %18
18: ; preds = %15, %9
%19 = load i32, i32* @LOG_CONS
%20 = load i32, i32* @LOG_PID
%21 = or i32 %19, %20
%22 = call i32 @openlog(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i32 %21, i32 0)
%23 = load i32, i32* @LOG_USER
%24 = load i32, i32* @LOG_INFO
%25 = or i32 %23, %24
%26 = load i8**, i8*** %5
%27 = getelementptr inbounds i8*, i8** %26, i64 0
%28 = load i8*, i8** %27
%29 = getelementptr inbounds [64 x i8], [64 x i8]* %6, i64 0, i64 0
%30 = call i32 @syslog(i32 %25, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.2, i64 0, i64 0), i8* %28, i8* %29)
%31 = load i32, i32* @LOG_USER
%32 = load i32, i32* @LOG_NOTICE
%33 = or i32 %31, %32
%34 = load i8**, i8*** %5
%35 = getelementptr inbounds i8*, i8** %34, i64 0
%36 = load i8*, i8** %35
%37 = getelementptr inbounds [64 x i8], [64 x i8]* %6, i64 0, i64 0
%38 = call i32 @syslog(i32 %33, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.3, i64 0, i64 0), i8* %36, i8* %37)
%39 = load i32, i32* @LOG_USER
%40 = load i32, i32* @LOG_ERR
%41 = or i32 %39, %40
%42 = load i8**, i8*** %5
%43 = getelementptr inbounds i8*, i8** %42, i64 0
%44 = load i8*, i8** %43
%45 = getelementptr inbounds [64 x i8], [64 x i8]* %6, i64 0, i64 0
%46 = call i32 @syslog(i32 %41, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.4, i64 0, i64 0), i8* %44, i8* %45)
%47 = load i32, i32* @LOG_USER
%48 = load i32, i32* @LOG_DEBUG
%49 = or i32 %47, %48
%50 = load i8**, i8*** %5
%51 = getelementptr inbounds i8*, i8** %50, i64 0
%52 = load i8*, i8** %51
%53 = getelementptr inbounds [64 x i8], [64 x i8]* %6, i64 0, i64 0
%54 = call i32 @syslog(i32 %49, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.5, i64 0, i64 0), i8* %52, i8* %53)
%55 = load i32, i32* @LOG_MAIL
%56 = load i32, i32* @LOG_INFO
%57 = or i32 %55, %56
%58 = load i8**, i8*** %5
%59 = getelementptr inbounds i8*, i8** %58, i64 0
%60 = load i8*, i8** %59
%61 = getelementptr inbounds [64 x i8], [64 x i8]* %6, i64 0, i64 0
%62 = call i32 @syslog(i32 %57, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0), i8* %60, i8* %61)
%63 = load i32, i32* @LOG_MAIL
%64 = load i32, i32* @LOG_NOTICE
%65 = or i32 %63, %64
%66 = load i8**, i8*** %5
%67 = getelementptr inbounds i8*, i8** %66, i64 0
%68 = load i8*, i8** %67
%69 = getelementptr inbounds [64 x i8], [64 x i8]* %6, i64 0, i64 0
%70 = call i32 @syslog(i32 %65, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.7, i64 0, i64 0), i8* %68, i8* %69)
%71 = load i32, i32* @LOG_MAIL
%72 = load i32, i32* @LOG_ERR
%73 = or i32 %71, %72
%74 = load i8**, i8*** %5
%75 = getelementptr inbounds i8*, i8** %74, i64 0
%76 = load i8*, i8** %75
%77 = getelementptr inbounds [64 x i8], [64 x i8]* %6, i64 0, i64 0
%78 = call i32 @syslog(i32 %73, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.8, i64 0, i64 0), i8* %76, i8* %77)
%79 = load i32, i32* @LOG_MAIL
%80 = load i32, i32* @LOG_DEBUG
%81 = or i32 %79, %80
%82 = load i8**, i8*** %5
%83 = getelementptr inbounds i8*, i8** %82, i64 0
%84 = load i8*, i8** %83
%85 = getelementptr inbounds [64 x i8], [64 x i8]* %6, i64 0, i64 0
%86 = call i32 @syslog(i32 %81, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.9, i64 0, i64 0), i8* %84, i8* %85)
%87 = load i32, i32* @LOG_FTP
%88 = load i32, i32* @LOG_INFO
%89 = or i32 %87, %88
%90 = load i8**, i8*** %5
%91 = getelementptr inbounds i8*, i8** %90, i64 0
%92 = load i8*, i8** %91
%93 = getelementptr inbounds [64 x i8], [64 x i8]* %6, i64 0, i64 0
%94 = call i32 @syslog(i32 %89, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.10, i64 0, i64 0), i8* %92, i8* %93)
%95 = load i32, i32* @LOG_FTP
%96 = load i32, i32* @LOG_NOTICE
%97 = or i32 %95, %96
%98 = load i8**, i8*** %5
%99 = getelementptr inbounds i8*, i8** %98, i64 0
%100 = load i8*, i8** %99
%101 = getelementptr inbounds [64 x i8], [64 x i8]* %6, i64 0, i64 0
%102 = call i32 @syslog(i32 %97, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.11, i64 0, i64 0), i8* %100, i8* %101)
%103 = load i32, i32* @LOG_FTP
%104 = load i32, i32* @LOG_ERR
%105 = or i32 %103, %104
%106 = load i8**, i8*** %5
%107 = getelementptr inbounds i8*, i8** %106, i64 0
%108 = load i8*, i8** %107
%109 = getelementptr inbounds [64 x i8], [64 x i8]* %6, i64 0, i64 0
%110 = call i32 @syslog(i32 %105, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.12, i64 0, i64 0), i8* %108, i8* %109)
%111 = load i32, i32* @LOG_FTP
%112 = load i32, i32* @LOG_DEBUG
%113 = or i32 %111, %112
%114 = load i8**, i8*** %5
%115 = getelementptr inbounds i8*, i8** %114, i64 0
%116 = load i8*, i8** %115
%117 = getelementptr inbounds [64 x i8], [64 x i8]* %6, i64 0, i64 0
%118 = call i32 @syslog(i32 %113, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.13, i64 0, i64 0), i8* %116, i8* %117)
%119 = call i32 (...) @closelog()
ret i32 0
}

LLVM IR (-O2):
@.str = [16 x i8] c"defautl message\00"
@.str.1 = [11 x i8] c"testsyslog\00"
@LOG_CONS = global i32 0
@LOG_PID = global i32 0
@LOG_USER = global i32 0
@LOG_INFO = global i32 0
@.str.2 = [39 x i8] c"LOG_USER | LOG_INFO : %s genarate %s\0A\00"
@LOG_NOTICE = global i32 0
@.str.3 = [39 x i8] c"LOG_USER | LOG_NOTICE: %s genarate %s\0A\00"
@LOG_ERR = global i32 0
@.str.4 = [39 x i8] c"LOG_USER | LOG_ERR : %s genarate %s\0A\00"
@LOG_DEBUG = global i32 0
@.str.5 = [39 x i8] c"LOG_USER | LOG_DEBUG : %s genarate %s\0A\00"
@LOG_MAIL = global i32 0
@.str.6 = [39 x i8] c"LOG_MAIL | LOG_INFO : %s genarate %s\0A\00"
@.str.7 = [39 x i8] c"LOG_MAIL | LOG_NOTICE: %s genarate %s\0A\00"
@.str.8 = [39 x i8] c"LOG_MAIL | LOG_ERR : %s genarate %s\0A\00"
@.str.9 = [39 x i8] c"LOG_MAIL | LOG_DEBUG : %s genarate %s\0A\00"
@LOG_FTP = global i32 0
@.str.10 = [38 x i8] c"LOG_FTP | LOG_INFO : %s genarate %s\0A\00"
@.str.11 = [38 x i8] c"LOG_FTP | LOG_NOTICE: %s genarate %s\0A\00"
@.str.12 = [38 x i8] c"LOG_FTP | LOG_ERR : %s genarate %s\0A\00"
@.str.13 = [38 x i8] c"LOG_FTP | LOG_DEBUG : %s genarate %s\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [64 x i8]
%4 = getelementptr inbounds [64 x i8], [64 x i8]* %3, i64 0, i64 0
%5 = icmp sgt i32 %0, 1
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = getelementptr inbounds i8*, i8** %1, i64 1
%8 = load i8*, i8** %7
br label %9
9: ; preds = %2, %6
%10 = phi i8* [ %8, %6 ], [ getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), %2 ]
%11 = call i32 @strcpy(i8* %4, i8* %10)
%12 = load i32, i32* @LOG_CONS
%13 = load i32, i32* @LOG_PID
%14 = or i32 %13, %12
%15 = call i32 @openlog(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i32 %14, i32 0)
%16 = load i32, i32* @LOG_USER
%17 = load i32, i32* @LOG_INFO
%18 = or i32 %17, %16
%19 = load i8*, i8** %1
%20 = call i32 @syslog(i32 %18, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.2, i64 0, i64 0), i8* %19, i8* %4)
%21 = load i32, i32* @LOG_USER
%22 = load i32, i32* @LOG_NOTICE
%23 = or i32 %22, %21
%24 = load i8*, i8** %1
%25 = call i32 @syslog(i32 %23, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.3, i64 0, i64 0), i8* %24, i8* %4)
%26 = load i32, i32* @LOG_USER
%27 = load i32, i32* @LOG_ERR
%28 = or i32 %27, %26
%29 = load i8*, i8** %1
%30 = call i32 @syslog(i32 %28, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.4, i64 0, i64 0), i8* %29, i8* %4)
%31 = load i32, i32* @LOG_USER
%32 = load i32, i32* @LOG_DEBUG
%33 = or i32 %32, %31
%34 = load i8*, i8** %1
%35 = call i32 @syslog(i32 %33, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.5, i64 0, i64 0), i8* %34, i8* %4)
%36 = load i32, i32* @LOG_MAIL
%37 = load i32, i32* @LOG_INFO
%38 = or i32 %37, %36
%39 = load i8*, i8** %1
%40 = call i32 @syslog(i32 %38, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0), i8* %39, i8* %4)
%41 = load i32, i32* @LOG_MAIL
%42 = load i32, i32* @LOG_NOTICE
%43 = or i32 %42, %41
%44 = load i8*, i8** %1
%45 = call i32 @syslog(i32 %43, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.7, i64 0, i64 0), i8* %44, i8* %4)
%46 = load i32, i32* @LOG_MAIL
%47 = load i32, i32* @LOG_ERR
%48 = or i32 %47, %46
%49 = load i8*, i8** %1
%50 = call i32 @syslog(i32 %48, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.8, i64 0, i64 0), i8* %49, i8* %4)
%51 = load i32, i32* @LOG_MAIL
%52 = load i32, i32* @LOG_DEBUG
%53 = or i32 %52, %51
%54 = load i8*, i8** %1
%55 = call i32 @syslog(i32 %53, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.9, i64 0, i64 0), i8* %54, i8* %4)
%56 = load i32, i32* @LOG_FTP
%57 = load i32, i32* @LOG_INFO
%58 = or i32 %57, %56
%59 = load i8*, i8** %1
%60 = call i32 @syslog(i32 %58, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.10, i64 0, i64 0), i8* %59, i8* %4)
%61 = load i32, i32* @LOG_FTP
%62 = load i32, i32* @LOG_NOTICE
%63 = or i32 %62, %61
%64 = load i8*, i8** %1
%65 = call i32 @syslog(i32 %63, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.11, i64 0, i64 0), i8* %64, i8* %4)
%66 = load i32, i32* @LOG_FTP
%67 = load i32, i32* @LOG_ERR
%68 = or i32 %67, %66
%69 = load i8*, i8** %1
%70 = call i32 @syslog(i32 %68, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.12, i64 0, i64 0), i8* %69, i8* %4)
%71 = load i32, i32* @LOG_FTP
%72 = load i32, i32* @LOG_DEBUG
%73 = or i32 %72, %71
%74 = load i8*, i8** %1
%75 = call i32 @syslog(i32 %73, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.13, i64 0, i64 0), i8* %74, i8* %4)
%76 = call i32 (...) @closelog()
ret i32 0
}