#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*/ memcpy(char *, char *, unsigned int);
char *xsi_get_transient_memory(unsigned int);
int /*<<< orphan*/ xsi_size_not_matching(unsigned int, unsigned int,
                                         int /*<<< orphan*/);
char *ieee_p_2717149903_sub_15716934933395830260_2101202839(char *t1,
                                                            char *t2) {
  char t4[24];
  char t5[16];
  char *t0;
  char *t6;
  char *t7;
  int t8;
  unsigned int t9;
  unsigned char t10;
  char *t11;
  unsigned char t12;
LAB0:
  t6 = (t5 + 0U);
  t7 = (t6 + 0U);
  *((int *)t7) = 0;
  t7 = (t6 + 4U);
  *((int *)t7) = 5;
  t7 = (t6 + 8U);
  *((int *)t7) = 1;
  t8 = (5 - 0);
  t9 = (t8 * 1);
  t9 = (t9 + 1);
  t7 = (t6 + 12U);
  *((unsigned int *)t7) = t9;
  t7 = (t4 + 4U);
  t10 = (t2 != 0);
  if (t10 == 1)
    goto LAB3;
LAB2:
  t11 = (t4 + 12U);
  *((char **)t11) = t5;
  t12 = (48U != 48U);
  if (t12 == 1)
    goto LAB4;
LAB5:
  t0 = xsi_get_transient_memory(48U);
  memcpy(t0, t2, 48U);
LAB1:
  return t0;
LAB3:
  *((char **)t7) = t2;
  goto LAB2;
LAB4:
  xsi_size_not_matching(48U, 48U, 0);
  goto LAB5;
LAB6:;
}


x86 assembly (clang, -O0):
<ieee_p_2717149903_sub_15716934933395830260_2101202839>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
lea    -0x40(%rbp),%rax
mov    %rax,-0x50(%rbp)
mov    -0x50(%rbp),%rax
mov    %rax,-0x58(%rbp)
mov    -0x58(%rbp),%rax
movl   $0x0,(%rax)
mov    -0x50(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x58(%rbp)
mov    -0x58(%rbp),%rax
movl   $0x5,(%rax)
mov    -0x50(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x58(%rbp)
mov    -0x58(%rbp),%rax
movl   $0x1,(%rax)
movl   $0x5,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
shl    $0x0,%eax
mov    %eax,-0x60(%rbp)
mov    -0x60(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x60(%rbp)
mov    -0x50(%rbp),%rax
add    $0xc,%rax
mov    %rax,-0x58(%rbp)
mov    -0x60(%rbp),%ecx
mov    -0x58(%rbp),%rax
mov    %ecx,(%rax)
lea    -0x30(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x58(%rbp)
cmpq   $0x0,-0x18(%rbp)
setne  %al
and    $0x1,%al
movzbl %al,%eax
mov    %al,-0x61(%rbp)
movzbl -0x61(%rbp),%eax
cmp    $0x1,%eax
jne    11e5 <ieee_p_2717149903_sub_15716934933395830260_2101202839+0xb5>
jmp    1249 <ieee_p_2717149903_sub_15716934933395830260_2101202839+0x119>
jmp    11ea <ieee_p_2717149903_sub_15716934933395830260_2101202839+0xba>
lea    -0x30(%rbp),%rax
add    $0xc,%rax
mov    %rax,-0x70(%rbp)
lea    -0x40(%rbp),%rcx
mov    -0x70(%rbp),%rax
mov    %rcx,(%rax)
movb   $0x0,-0x71(%rbp)
movzbl -0x71(%rbp),%eax
cmp    $0x1,%eax
jne    1217 <ieee_p_2717149903_sub_15716934933395830260_2101202839+0xe7>
jmp    1259 <ieee_p_2717149903_sub_15716934933395830260_2101202839+0x129>
jmp    121c <ieee_p_2717149903_sub_15716934933395830260_2101202839+0xec>
mov    $0x30,%edi
call   1050 <xsi_get_transient_memory@plt>
mov    %rax,-0x48(%rbp)
mov    -0x48(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    $0x30,%edx
call   1030 <memcpy@plt>
mov    -0x48(%rbp),%rax
mov    %rax,-0x8(%rbp)
jmp    126c <ieee_p_2717149903_sub_15716934933395830260_2101202839+0x13c>
mov    -0x18(%rbp),%rcx
mov    -0x58(%rbp),%rax
mov    %rcx,(%rax)
jmp    11ea <ieee_p_2717149903_sub_15716934933395830260_2101202839+0xba>
mov    $0x30,%esi
xor    %edx,%edx
mov    %esi,%edi
call   1040 <xsi_size_not_matching@plt>
jmp    121c <ieee_p_2717149903_sub_15716934933395830260_2101202839+0xec>
mov    -0x8(%rbp),%rax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ieee_p_2717149903_sub_15716934933395830260_2101202839>:
push   %r14
push   %rbx
push   %rax
mov    %rsi,%r14
mov    $0x30,%edi
call   1040 <xsi_get_transient_memory@plt>
mov    %rax,%rbx
mov    %rax,%rdi
mov    %r14,%rsi
mov    $0x30,%edx
call   1030 <memcpy@plt>
mov    %rbx,%rax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
define i8* @ieee_p_2717149903_sub_15716934933395830260_2101202839(i8* %0, i8* %1) {
%3 = alloca i8*
%4 = alloca i8*
%5 = alloca i8*
%6 = alloca [24 x i8]
%7 = alloca [16 x i8]
%8 = alloca i8*
%9 = alloca i8*
%10 = alloca i8*
%11 = alloca i32
%12 = alloca i32
%13 = alloca i8
%14 = alloca i8*
%15 = alloca i8
store i8* %0, i8** %4
store i8* %1, i8** %5
br label %16
16: ; preds = %2
%17 = getelementptr inbounds [16 x i8], [16 x i8]* %7, i64 0, i64 0
%18 = getelementptr inbounds i8, i8* %17, i64 0
store i8* %18, i8** %9
%19 = load i8*, i8** %9
%20 = getelementptr inbounds i8, i8* %19, i64 0
store i8* %20, i8** %10
%21 = load i8*, i8** %10
%22 = bitcast i8* %21 to i32*
store i32 0, i32* %22
%23 = load i8*, i8** %9
%24 = getelementptr inbounds i8, i8* %23, i64 4
store i8* %24, i8** %10
%25 = load i8*, i8** %10
%26 = bitcast i8* %25 to i32*
store i32 5, i32* %26
%27 = load i8*, i8** %9
%28 = getelementptr inbounds i8, i8* %27, i64 8
store i8* %28, i8** %10
%29 = load i8*, i8** %10
%30 = bitcast i8* %29 to i32*
store i32 1, i32* %30
store i32 5, i32* %11
%31 = load i32, i32* %11
%32 = mul nsw i32 %31, 1
store i32 %32, i32* %12
%33 = load i32, i32* %12
%34 = add i32 %33, 1
store i32 %34, i32* %12
%35 = load i8*, i8** %9
%36 = getelementptr inbounds i8, i8* %35, i64 12
store i8* %36, i8** %10
%37 = load i32, i32* %12
%38 = load i8*, i8** %10
%39 = bitcast i8* %38 to i32*
store i32 %37, i32* %39
%40 = getelementptr inbounds [24 x i8], [24 x i8]* %6, i64 0, i64 0
%41 = getelementptr inbounds i8, i8* %40, i64 4
store i8* %41, i8** %10
%42 = load i8*, i8** %5
%43 = icmp ne i8* %42, null
%44 = zext i1 %43 to i32
%45 = trunc i32 %44 to i8
store i8 %45, i8* %13
%46 = load i8, i8* %13
%47 = zext i8 %46 to i32
%48 = icmp eq i32 %47, 1
br i1 %48, label %49, label %50
49: ; preds = %16
br label %69
50: ; preds = %16
br label %51
51: ; preds = %69, %50
%52 = getelementptr inbounds [24 x i8], [24 x i8]* %6, i64 0, i64 0
%53 = getelementptr inbounds i8, i8* %52, i64 12
store i8* %53, i8** %14
%54 = getelementptr inbounds [16 x i8], [16 x i8]* %7, i64 0, i64 0
%55 = load i8*, i8** %14
%56 = bitcast i8* %55 to i8**
store i8* %54, i8** %56
store i8 0, i8* %15
%57 = load i8, i8* %15
%58 = zext i8 %57 to i32
%59 = icmp eq i32 %58, 1
br i1 %59, label %60, label %61
60: ; preds = %51
br label %73
61: ; preds = %51
br label %62
62: ; preds = %73, %61
%63 = call i8* @xsi_get_transient_memory(i32 48)
store i8* %63, i8** %8
%64 = load i8*, i8** %8
%65 = load i8*, i8** %5
%66 = call i32 @memcpy(i8* %64, i8* %65, i32 48)
br label %67
67: ; preds = %62
%68 = load i8*, i8** %8
store i8* %68, i8** %3
br label %76
69: ; preds = %49
%70 = load i8*, i8** %5
%71 = load i8*, i8** %10
%72 = bitcast i8* %71 to i8**
store i8* %70, i8** %72
br label %51
73: ; preds = %60
%74 = call i32 @xsi_size_not_matching(i32 48, i32 48, i32 0)
br label %62
75: ; No predecessors!
br label %76
76: ; preds = %75, %67
%77 = load i8*, i8** %3
ret i8* %77
}

LLVM IR (-O2):
define i8* @ieee_p_2717149903_sub_15716934933395830260_2101202839(i8* nocapture readnone %0, i8* %1) {
%3 = tail call i8* @xsi_get_transient_memory(i32 48)
%4 = tail call i32 @memcpy(i8* %3, i8* %1, i32 48)
ret i8* %3
}