#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*/ Print();
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ td0010(char *, char *);
int /*<<< orphan*/ td0011(char *, char *);
int main(int argc, char **argv) {
  td0010("appid", "Y010");
  td0010("optusr", "admin");
  td0010("organ", "1010");
  td0010("tradedate", "20161010");
  Print();
  printf("-----------------------\n");
  td0011("appid", "Y011");
  td0011("optusr", "admin");
  td0011("organ", "1011");
  td0011("tradedate", "20161111");
  Print();
  printf("-----------------------\n");
  td0011("appid", "Y012");
  td0011("optusr", "admin");
  td0011("organ", "1012");
  td0011("tradedate", "20161212");
  Print();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xea3(%rip),%rdi
lea    0xea2(%rip),%rsi
call   1050 <td0010@plt>
lea    0xe9b(%rip),%rdi
lea    0xe9b(%rip),%rsi
call   1050 <td0010@plt>
lea    0xe95(%rip),%rdi
lea    0xea2(%rip),%rsi
call   1050 <td0010@plt>
lea    0xe88(%rip),%rdi
lea    0xe8b(%rip),%rsi
call   1050 <td0010@plt>
mov    $0x0,%al
call   1060 <Print@plt>
lea    0xe81(%rip),%rdi
call   1040 <printf@plt>
lea    0xe44(%rip),%rdi
lea    0xe87(%rip),%rsi
call   1030 <td0011@plt>
lea    0xe3c(%rip),%rdi
lea    0xe3c(%rip),%rsi
call   1030 <td0011@plt>
lea    0xe36(%rip),%rdi
lea    0xe66(%rip),%rsi
call   1030 <td0011@plt>
lea    0xe29(%rip),%rdi
lea    0xe58(%rip),%rsi
call   1030 <td0011@plt>
mov    $0x0,%al
call   1060 <Print@plt>
lea    0xe22(%rip),%rdi
call   1040 <printf@plt>
lea    0xde5(%rip),%rdi
lea    0xe3b(%rip),%rsi
call   1030 <td0011@plt>
lea    0xddd(%rip),%rdi
lea    0xddd(%rip),%rsi
call   1030 <td0011@plt>
lea    0xdd7(%rip),%rdi
lea    0xe1a(%rip),%rsi
call   1030 <td0011@plt>
lea    0xdca(%rip),%rdi
lea    0xe0c(%rip),%rsi
call   1030 <td0011@plt>
mov    $0x0,%al
call   1060 <Print@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
lea    0xeae(%rip),%r14
lea    0xead(%rip),%rsi
mov    %r14,%rdi
call   1050 <td0010@plt>
lea    0xea3(%rip),%r12
lea    0xea3(%rip),%r15
mov    %r12,%rdi
mov    %r15,%rsi
call   1050 <td0010@plt>
lea    0xe97(%rip),%r13
lea    0xea4(%rip),%rsi
mov    %r13,%rdi
call   1050 <td0010@plt>
lea    0xe87(%rip),%rbx
lea    0xe8a(%rip),%rsi
mov    %rbx,%rdi
call   1050 <td0010@plt>
xor    %eax,%eax
call   1060 <Print@plt>
lea    0xea3(%rip),%rbp
mov    %rbp,%rdi
call   1030 <puts@plt>
lea    0xe6e(%rip),%rsi
mov    %r14,%rdi
call   1040 <td0011@plt>
mov    %r12,%rdi
mov    %r15,%rsi
call   1040 <td0011@plt>
lea    0xe59(%rip),%rsi
mov    %r13,%rdi
call   1040 <td0011@plt>
lea    0xe4f(%rip),%rsi
mov    %rbx,%rdi
call   1040 <td0011@plt>
xor    %eax,%eax
call   1060 <Print@plt>
mov    %rbp,%rdi
call   1030 <puts@plt>
lea    0xe3a(%rip),%rsi
mov    %r14,%rdi
call   1040 <td0011@plt>
mov    %r12,%rdi
mov    %r15,%rsi
call   1040 <td0011@plt>
lea    0xe25(%rip),%rsi
mov    %r13,%rdi
call   1040 <td0011@plt>
lea    0xe1b(%rip),%rsi
mov    %rbx,%rdi
call   1040 <td0011@plt>
xor    %eax,%eax
call   1060 <Print@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [6 x i8] c"appid\00"
@.str.1 = [5 x i8] c"Y010\00"
@.str.2 = [7 x i8] c"optusr\00"
@.str.3 = [6 x i8] c"admin\00"
@.str.4 = [6 x i8] c"organ\00"
@.str.5 = [5 x i8] c"1010\00"
@.str.6 = [10 x i8] c"tradedate\00"
@.str.7 = [9 x i8] c"20161010\00"
@.str.8 = [25 x i8] c"-----------------------\0A\00"
@.str.9 = [5 x i8] c"Y011\00"
@.str.10 = [5 x i8] c"1011\00"
@.str.11 = [9 x i8] c"20161111\00"
@.str.12 = [5 x i8] c"Y012\00"
@.str.13 = [5 x i8] c"1012\00"
@.str.14 = [9 x i8] c"20161212\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%6 = call i32 @td0010(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%7 = call i32 @td0010(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%8 = call i32 @td0010(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%9 = call i32 @td0010(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0))
%10 = call i32 (...) @Print()
%11 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.8, i64 0, i64 0))
%12 = call i32 @td0011(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
%13 = call i32 @td0011(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%14 = call i32 @td0011(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%15 = call i32 @td0011(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0))
%16 = call i32 (...) @Print()
%17 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.8, i64 0, i64 0))
%18 = call i32 @td0011(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
%19 = call i32 @td0011(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%20 = call i32 @td0011(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0))
%21 = call i32 @td0011(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.14, i64 0, i64 0))
%22 = call i32 (...) @Print()
ret i32 0
}

LLVM IR (-O2):
@.str = [6 x i8] c"appid\00"
@.str.1 = [5 x i8] c"Y010\00"
@.str.2 = [7 x i8] c"optusr\00"
@.str.3 = [6 x i8] c"admin\00"
@.str.4 = [6 x i8] c"organ\00"
@.str.5 = [5 x i8] c"1010\00"
@.str.6 = [10 x i8] c"tradedate\00"
@.str.7 = [9 x i8] c"20161010\00"
@.str.9 = [5 x i8] c"Y011\00"
@.str.10 = [5 x i8] c"1011\00"
@.str.11 = [9 x i8] c"20161111\00"
@.str.12 = [5 x i8] c"Y012\00"
@.str.13 = [5 x i8] c"1012\00"
@.str.14 = [9 x i8] c"20161212\00"
@str.15 = [24 x i8] c"-----------------------\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 @td0010(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%4 = tail call i32 @td0010(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @td0010(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%6 = tail call i32 @td0010(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0))
%7 = tail call i32 (...) @Print()
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.15, i64 0, i64 0))
%9 = tail call i32 @td0011(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
%10 = tail call i32 @td0011(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%11 = tail call i32 @td0011(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%12 = tail call i32 @td0011(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0))
%13 = tail call i32 (...) @Print()
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.15, i64 0, i64 0))
%15 = tail call i32 @td0011(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
%16 = tail call i32 @td0011(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%17 = tail call i32 @td0011(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0))
%18 = tail call i32 @td0011(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.14, i64 0, i64 0))
%19 = tail call i32 (...) @Print()
ret i32 0
}