#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*/ cnfImpn(char *const, int, int, char *);
int /*<<< orphan*/ msgOut(char *, char *, int *);
void msg_out_(char *const PARAM, char *const TEXT, int *const STATUS,
              int PARAM_length, int TEXT_length) {
  char param[15 + 1];
  char text[300 + 1];
  int status;
  cnfImpn(PARAM, PARAM_length, 15, param);
  cnfImpn(TEXT, TEXT_length, 300, text);
  status = *STATUS;
  msgOut(param, text, &status);
  *STATUS = status;
}


x86 assembly (clang, -O0):
<msg_out_>:
push   %rbp
mov    %rsp,%rbp
sub    $0x170,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %ecx,-0x1c(%rbp)
mov    %r8d,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x1c(%rbp),%esi
lea    -0x30(%rbp),%rcx
mov    $0xf,%edx
call   1030 <cnfImpn@plt>
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%esi
lea    -0x160(%rbp),%rcx
mov    $0x12c,%edx
call   1030 <cnfImpn@plt>
mov    -0x18(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x164(%rbp)
lea    -0x30(%rbp),%rdi
lea    -0x160(%rbp),%rsi
lea    -0x164(%rbp),%rdx
call   1040 <msgOut@plt>
mov    -0x164(%rbp),%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
add    $0x170,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<msg_out_>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x150,%rsp
mov    %r8d,%r14d
mov    %rdx,%rbx
mov    %rsi,%rbp
lea    0x10(%rsp),%r15
mov    %ecx,%esi
mov    $0xf,%edx
mov    %r15,%rcx
call   1030 <cnfImpn@plt>
lea    0x20(%rsp),%r12
mov    %rbp,%rdi
mov    %r14d,%esi
mov    $0x12c,%edx
mov    %r12,%rcx
call   1030 <cnfImpn@plt>
mov    (%rbx),%eax
mov    %eax,0xc(%rsp)
lea    0xc(%rsp),%rdx
mov    %r15,%rdi
mov    %r12,%rsi
call   1040 <msgOut@plt>
mov    0xc(%rsp),%eax
mov    %eax,(%rbx)
add    $0x150,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define void @msg_out_(i8* %0, i8* %1, i32* nocapture %2, i32 %3, i32 %4) {
%6 = alloca [16 x i8]
%7 = alloca [301 x i8]
%8 = alloca i32
%9 = getelementptr inbounds [16 x i8], [16 x i8]* %6, i64 0, i64 0
%10 = getelementptr inbounds [301 x i8], [301 x i8]* %7, i64 0, i64 0
%11 = bitcast i32* %8 to i8*
%12 = call i32 @cnfImpn(i8* %0, i32 %3, i32 15, i8* %9)
%13 = call i32 @cnfImpn(i8* %1, i32 %4, i32 300, i8* %10)
%14 = load i32, i32* %2
store i32 %14, i32* %8
%15 = call i32 @msgOut(i8* %9, i8* %10, i32* %8)
%16 = load i32, i32* %8
store i32 %16, i32* %2
ret void
}