#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*/ cnfExprt(char *, char *const, int);
int /*<<< orphan*/ emsEload(char *, int *const, char *, int *const, int *const);
void ems_eload_(char *const param, int *const parlen, char *const opstr,
                int *const oplen, int *const status, int param_length,
                int opstr_length) {

  char str1[200 + 1];
  char str2[200 + 1];
  emsEload(str1, parlen, str2, oplen, status);
  cnfExprt(str1, param, param_length);
  cnfExprt(str2, opstr, opstr_length);
  return;
}


x86 assembly (clang, -O0):
<ems_eload_>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1d0,%rsp
mov    0x10(%rbp),%eax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9d,-0x2c(%rbp)
lea    -0x100(%rbp),%rdi
mov    -0x10(%rbp),%rsi
lea    -0x1d0(%rbp),%rdx
mov    -0x20(%rbp),%rcx
mov    -0x28(%rbp),%r8
call   1040 <emsEload@plt>
lea    -0x100(%rbp),%rdi
mov    -0x8(%rbp),%rsi
mov    -0x2c(%rbp),%edx
call   1030 <cnfExprt@plt>
lea    -0x1d0(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    0x10(%rbp),%edx
call   1030 <cnfExprt@plt>
add    $0x1d0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ems_eload_>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x1a8,%rsp
mov    %r9d,%ebp
mov    %rdx,%r14
mov    %rdi,%rbx
mov    0x1e0(%rsp),%r15d
lea    0xd0(%rsp),%r12
mov    %rsp,%r13
mov    %r12,%rdi
mov    %r13,%rdx
call   1040 <emsEload@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
mov    %ebp,%edx
call   1030 <cnfExprt@plt>
mov    %r13,%rdi
mov    %r14,%rsi
mov    %r15d,%edx
call   1030 <cnfExprt@plt>
add    $0x1a8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @ems_eload_(i8* %0, i32* %1, i8* %2, i32* %3, i32* %4, i32 %5, i32 %6) {
%8 = alloca i8*
%9 = alloca i32*
%10 = alloca i8*
%11 = alloca i32*
%12 = alloca i32*
%13 = alloca i32
%14 = alloca i32
%15 = alloca [201 x i8]
%16 = alloca [201 x i8]
store i8* %0, i8** %8
store i32* %1, i32** %9
store i8* %2, i8** %10
store i32* %3, i32** %11
store i32* %4, i32** %12
store i32 %5, i32* %13
store i32 %6, i32* %14
%17 = getelementptr inbounds [201 x i8], [201 x i8]* %15, i64 0, i64 0
%18 = load i32*, i32** %9
%19 = getelementptr inbounds [201 x i8], [201 x i8]* %16, i64 0, i64 0
%20 = load i32*, i32** %11
%21 = load i32*, i32** %12
%22 = call i32 @emsEload(i8* %17, i32* %18, i8* %19, i32* %20, i32* %21)
%23 = getelementptr inbounds [201 x i8], [201 x i8]* %15, i64 0, i64 0
%24 = load i8*, i8** %8
%25 = load i32, i32* %13
%26 = call i32 @cnfExprt(i8* %23, i8* %24, i32 %25)
%27 = getelementptr inbounds [201 x i8], [201 x i8]* %16, i64 0, i64 0
%28 = load i8*, i8** %10
%29 = load i32, i32* %14
%30 = call i32 @cnfExprt(i8* %27, i8* %28, i32 %29)
ret void
}

LLVM IR (-O2):
define void @ems_eload_(i8* %0, i32* %1, i8* %2, i32* %3, i32* %4, i32 %5, i32 %6) {
%8 = alloca [201 x i8]
%9 = alloca [201 x i8]
%10 = getelementptr inbounds [201 x i8], [201 x i8]* %8, i64 0, i64 0
%11 = getelementptr inbounds [201 x i8], [201 x i8]* %9, i64 0, i64 0
%12 = call i32 @emsEload(i8* %10, i32* %1, i8* %11, i32* %3, i32* %4)
%13 = call i32 @cnfExprt(i8* %10, i8* %0, i32 %5)
%14 = call i32 @cnfExprt(i8* %11, i8* %2, i32 %6)
ret void
}