#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*/ strcpy(unsigned char *, char *);
int iHxCoreInfo(unsigned char *pszCoreName, unsigned char *pszCoreDesc,
                unsigned char *pszCoreVer, unsigned char *pszReleaseDate) {
  strcpy(pszCoreName, "HXY5_EMV_PBOC30DC_ECASH_QPBOC");
  strcpy(pszCoreDesc, "EMV & PBOC3.0 D/C & eCash & qPboc");
  strcpy(pszCoreVer, "3.20");
  strcpy(pszReleaseDate, "2014/08/14");
  return (0);
}


x86 assembly (clang, -O0):
<iHxCoreInfo>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xecd(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x10(%rbp),%rdi
lea    0xedb(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x18(%rbp),%rdi
lea    0xeed(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x20(%rbp),%rdi
lea    0xee2(%rip),%rsi
call   1030 <strcpy@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<iHxCoreInfo>:
push   %r15
push   %r14
push   %rbx
mov    %rcx,%r14
mov    %rdx,%r15
mov    %rsi,%rbx
lea    0xedb(%rip),%rsi
call   1030 <strcpy@plt>
lea    0xeed(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcpy@plt>
lea    0xf00(%rip),%rsi
mov    %r15,%rdi
call   1030 <strcpy@plt>
lea    0xef6(%rip),%rsi
mov    %r14,%rdi
call   1030 <strcpy@plt>
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [30 x i8] c"HXY5_EMV_PBOC30DC_ECASH_QPBOC\00"
@.str.1 = [34 x i8] c"EMV & PBOC3.0 D/C & eCash & qPboc\00"
@.str.2 = [5 x i8] c"3.20\00"
@.str.3 = [11 x i8] c"2014/08/14\00"
define i32 @iHxCoreInfo(i8* %0, i8* %1, i8* %2, i8* %3) {
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i8*
store i8* %0, i8** %5
store i8* %1, i8** %6
store i8* %2, i8** %7
store i8* %3, i8** %8
%9 = load i8*, i8** %5
%10 = call i32 @strcpy(i8* %9, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0))
%11 = load i8*, i8** %6
%12 = call i32 @strcpy(i8* %11, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0))
%13 = load i8*, i8** %7
%14 = call i32 @strcpy(i8* %13, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%15 = load i8*, i8** %8
%16 = call i32 @strcpy(i8* %15, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [30 x i8] c"HXY5_EMV_PBOC30DC_ECASH_QPBOC\00"
@.str.1 = [34 x i8] c"EMV & PBOC3.0 D/C & eCash & qPboc\00"
@.str.2 = [5 x i8] c"3.20\00"
@.str.3 = [11 x i8] c"2014/08/14\00"
define i32 @iHxCoreInfo(i8* %0, i8* %1, i8* %2, i8* %3) {
%5 = tail call i32 @strcpy(i8* %0, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0))
%6 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0))
%7 = tail call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%8 = tail call i32 @strcpy(i8* %3, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
ret i32 0
}