#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*/ gprs_deal(char *, char *);
int main(int argc, char *argv[]) {
  char num[20] = "13683604485";
  char msg[256] = "aaaaaa";
  gprs_deal(num, msg);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x130,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0xec0(%rip),%rax
mov    %rax,-0x30(%rbp)
mov    0xebd(%rip),%rax
mov    %rax,-0x28(%rbp)
mov    0xebb(%rip),%eax
mov    %eax,-0x20(%rbp)
lea    -0x130(%rbp),%rdi
xor    %esi,%esi
mov    $0x100,%edx
call   1030 <memset@plt>
movb   $0x61,-0x130(%rbp)
movb   $0x61,-0x12f(%rbp)
movb   $0x61,-0x12e(%rbp)
movb   $0x61,-0x12d(%rbp)
movb   $0x61,-0x12c(%rbp)
movb   $0x61,-0x12b(%rbp)
lea    -0x30(%rbp),%rdi
lea    -0x130(%rbp),%rsi
call   1040 <gprs_deal@plt>
xor    %eax,%eax
add    $0x130,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x128,%rsp
movaps 0xee2(%rip),%xmm0
movaps %xmm0,(%rsp)
movl   $0x0,0x10(%rsp)
xorps  %xmm0,%xmm0
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x110(%rsp)
movaps %xmm0,0x100(%rsp)
movaps %xmm0,0xf0(%rsp)
movaps %xmm0,0xe0(%rsp)
movaps %xmm0,0xd0(%rsp)
movaps %xmm0,0xc0(%rsp)
movaps %xmm0,0xb0(%rsp)
movaps %xmm0,0xa0(%rsp)
movaps %xmm0,0x90(%rsp)
movaps %xmm0,0x80(%rsp)
movaps %xmm0,0x70(%rsp)
movaps %xmm0,0x60(%rsp)
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x30(%rsp)
movl   $0x61616161,0x20(%rsp)
61
movw   $0x6161,0x24(%rsp)
mov    %rsp,%rdi
lea    0x20(%rsp),%rsi
call   1030 <gprs_deal@plt>
xor    %eax,%eax
add    $0x128,%rsp
ret

LLVM IR (-O0):
@__const.main.num = [20 x i8] c"13683604485\00\00\00\00\00\00\00\00\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [20 x i8]
%7 = alloca [256 x i8]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%8 = bitcast [20 x i8]* %6 to i8*
%9 = bitcast [256 x i8]* %7 to i8*
%10 = bitcast i8* %9 to [256 x i8]*
%11 = getelementptr inbounds [256 x i8], [256 x i8]* %10, i32 0, i32 0
store i8 97, i8* %11
%12 = getelementptr inbounds [256 x i8], [256 x i8]* %10, i32 0, i32 1
store i8 97, i8* %12
%13 = getelementptr inbounds [256 x i8], [256 x i8]* %10, i32 0, i32 2
store i8 97, i8* %13
%14 = getelementptr inbounds [256 x i8], [256 x i8]* %10, i32 0, i32 3
store i8 97, i8* %14
%15 = getelementptr inbounds [256 x i8], [256 x i8]* %10, i32 0, i32 4
store i8 97, i8* %15
%16 = getelementptr inbounds [256 x i8], [256 x i8]* %10, i32 0, i32 5
store i8 97, i8* %16
%17 = getelementptr inbounds [20 x i8], [20 x i8]* %6, i64 0, i64 0
%18 = getelementptr inbounds [256 x i8], [256 x i8]* %7, i64 0, i64 0
%19 = call i32 @gprs_deal(i8* %17, i8* %18)
ret i32 0
}

LLVM IR (-O2):
@__const.main.num = [20 x i8] c"13683604485\00\00\00\00\00\00\00\00\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [20 x i8]
%4 = alloca [256 x i8]
%5 = getelementptr inbounds [20 x i8], [20 x i8]* %3, i64 0, i64 0
%6 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%7 = call i32 @gprs_deal(i8* %5, i8* %6)
ret i32 0
}