#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*/ analyse_param_ce(int, char **, int *, int *, char *, char *,
                                    char *, char *);
int /*<<< orphan*/ print_summary_ce(int, int, int, int, char *, char *, char *,
                                    char *);
int main(int argc, char *argv[]) {
  int m = 2, K;
  char input[512];
  char input_I[512] = "";
  char input_Q[512] = "";
  char input_F[512] = "";
  analyse_param_ce(argc, argv, &m, &K, input, input_Q, input_F, input_I);
  print_summary_ce(10, 100, K, m, input, input_Q, input_F, input_I);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x830,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x2,-0x14(%rbp)
lea    -0x420(%rbp),%rdi
xor    %esi,%esi
mov    $0x200,%edx
call   1030 <memset@plt>
lea    -0x620(%rbp),%rdi
xor    %esi,%esi
mov    $0x200,%edx
call   1030 <memset@plt>
lea    -0x820(%rbp),%rdi
xor    %esi,%esi
mov    $0x200,%edx
call   1030 <memset@plt>
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    -0x220(%rbp),%r8
lea    -0x620(%rbp),%r9
lea    -0x820(%rbp),%r10
lea    -0x420(%rbp),%rax
lea    -0x14(%rbp),%rdx
lea    -0x18(%rbp),%rcx
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
call   1040 <analyse_param_ce@plt>
mov    -0x18(%rbp),%edx
mov    -0x14(%rbp),%ecx
lea    -0x220(%rbp),%r8
lea    -0x620(%rbp),%r9
lea    -0x820(%rbp),%r10
lea    -0x420(%rbp),%rax
mov    $0xa,%edi
mov    $0x64,%esi
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
call   1050 <print_summary_ce@plt>
xor    %eax,%eax
add    $0x830,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x818,%rsp
mov    %rsi,%rbx
mov    %edi,%ebp
movl   $0x2,0x8(%rsp)
lea    0x410(%rsp),%r14
mov    $0x200,%edx
mov    %r14,%rdi
xor    %esi,%esi
call   1030 <memset@plt>
lea    0x210(%rsp),%r15
mov    $0x200,%edx
mov    %r15,%rdi
xor    %esi,%esi
call   1030 <memset@plt>
lea    0x10(%rsp),%r12
mov    $0x200,%edx
mov    %r12,%rdi
xor    %esi,%esi
call   1030 <memset@plt>
lea    0x8(%rsp),%rdx
lea    0xc(%rsp),%rcx
lea    0x610(%rsp),%r13
mov    %ebp,%edi
mov    %rbx,%rsi
mov    %r13,%r8
mov    %r15,%r9
push   %r14
push   %r12
call   1040 <analyse_param_ce@plt>
add    $0x10,%rsp
mov    0xc(%rsp),%edx
mov    0x8(%rsp),%ecx
mov    $0xa,%edi
mov    $0x64,%esi
mov    %r13,%r8
mov    %r15,%r9
push   %r14
push   %r12
call   1050 <print_summary_ce@plt>
add    $0x10,%rsp
xor    %eax,%eax
add    $0x818,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca [512 x i8]
%9 = alloca [512 x i8]
%10 = alloca [512 x i8]
%11 = alloca [512 x i8]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 2, i32* %6
%12 = bitcast [512 x i8]* %9 to i8*
%13 = bitcast [512 x i8]* %10 to i8*
%14 = bitcast [512 x i8]* %11 to i8*
%15 = load i32, i32* %4
%16 = load i8**, i8*** %5
%17 = getelementptr inbounds [512 x i8], [512 x i8]* %8, i64 0, i64 0
%18 = getelementptr inbounds [512 x i8], [512 x i8]* %10, i64 0, i64 0
%19 = getelementptr inbounds [512 x i8], [512 x i8]* %11, i64 0, i64 0
%20 = getelementptr inbounds [512 x i8], [512 x i8]* %9, i64 0, i64 0
%21 = call i32 @analyse_param_ce(i32 %15, i8** %16, i32* %6, i32* %7, i8* %17, i8* %18, i8* %19, i8* %20)
%22 = load i32, i32* %7
%23 = load i32, i32* %6
%24 = getelementptr inbounds [512 x i8], [512 x i8]* %8, i64 0, i64 0
%25 = getelementptr inbounds [512 x i8], [512 x i8]* %10, i64 0, i64 0
%26 = getelementptr inbounds [512 x i8], [512 x i8]* %11, i64 0, i64 0
%27 = getelementptr inbounds [512 x i8], [512 x i8]* %9, i64 0, i64 0
%28 = call i32 @print_summary_ce(i32 10, i32 100, i32 %22, i32 %23, i8* %24, i8* %25, i8* %26, i8* %27)
ret i32 0
}

LLVM IR (-O2):
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca [512 x i8]
%6 = alloca [512 x i8]
%7 = alloca [512 x i8]
%8 = alloca [512 x i8]
%9 = bitcast i32* %3 to i8*
store i32 2, i32* %3
%10 = bitcast i32* %4 to i8*
%11 = getelementptr inbounds [512 x i8], [512 x i8]* %5, i64 0, i64 0
%12 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%13 = getelementptr inbounds [512 x i8], [512 x i8]* %7, i64 0, i64 0
%14 = getelementptr inbounds [512 x i8], [512 x i8]* %8, i64 0, i64 0
%15 = call i32 @analyse_param_ce(i32 %0, i8** %1, i32* %3, i32* %4, i8* %11, i8* %13, i8* %14, i8* %12)
%16 = load i32, i32* %4
%17 = load i32, i32* %3
%18 = call i32 @print_summary_ce(i32 10, i32 100, i32 %16, i32 %17, i8* %11, i8* %13, i8* %14, i8* %12)
ret i32 0
}