#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 */
scalar_t__ alloca(unsigned int);
int /*<<< orphan*/ memcpy(char *, char *, unsigned int);
char *xsi_get_transient_memory(unsigned int);
int /*<<< orphan*/ xsi_report(char *, unsigned int, unsigned char);
int /*<<< orphan*/ xsi_type_set_default_value(char *, char *, char *);
int /*<<< orphan*/ xsi_vhdl_check_range_of_index(int, int, int, unsigned char);
char *ieee_p_2592010699_sub_16439989832805790689_503743352(char *t1, char *t2,
                                                           char *t3, char *t4,
                                                           char *t5, char *t6) {
  char t7[128];
  char t8[40];
  char t9[16];
  char t16[16];
  char t23[16];
  char *t0;
  char *t10;
  unsigned int t11;
  char *t12;
  char *t13;
  int t14;
  unsigned int t15;
  char *t17;
  char *t18;
  int t19;
  unsigned int t20;
  int t21;
  unsigned int t22;
  char *t24;
  unsigned int t25;
  char *t26;
  char *t27;
  int t28;
  unsigned int t29;
  char *t30;
  char *t31;
  char *t32;
  char *t33;
  char *t34;
  char *t35;
  char *t36;
  unsigned char t37;
  char *t38;
  char *t39;
  unsigned char t40;
  char *t41;
  char *t42;
  char *t43;
  unsigned int t44;
  unsigned char t45;
  char *t46;
  char *t47;
  int t48;
  int t49;
  int t50;
  int t51;
  int t52;
  int t53;
  int t54;
  int t55;
  int t56;
  int t57;
  int t58;
  int t59;
  unsigned int t60;
  int t61;
  unsigned int t62;
  unsigned int t63;
  unsigned int t64;
  unsigned int t65;
  char *t66;
  int t67;
  char *t68;
  int t69;
  int t70;
  unsigned int t71;
  unsigned int t72;
  unsigned int t73;
  char *t74;
LAB0:
  t10 = (t4 + 12U);
  t11 = *((unsigned int *)t10);
  t12 = (t9 + 0U);
  t13 = (t12 + 0U);
  *((int *)t13) = 1;
  t13 = (t12 + 4U);
  *((unsigned int *)t13) = t11;
  t13 = (t12 + 8U);
  *((int *)t13) = 1;
  t14 = (t11 - 1);
  t15 = (t14 * 1);
  t15 = (t15 + 1);
  t13 = (t12 + 12U);
  *((unsigned int *)t13) = t15;
  t13 = (t6 + 12U);
  t15 = *((unsigned int *)t13);
  t17 = (t16 + 0U);
  t18 = (t17 + 0U);
  *((int *)t18) = 1;
  t18 = (t17 + 4U);
  *((unsigned int *)t18) = t15;
  t18 = (t17 + 8U);
  *((int *)t18) = 1;
  t19 = (t15 - 1);
  t20 = (t19 * 1);
  t20 = (t20 + 1);
  t18 = (t17 + 12U);
  *((unsigned int *)t18) = t20;
  t18 = (t4 + 12U);
  t20 = *((unsigned int *)t18);
  t21 = (t20 - 1);
  t22 = (t21 * 1);
  t22 = (t22 + 1);
  t22 = (t22 * 1U);
  t24 = (t4 + 12U);
  t25 = *((unsigned int *)t24);
  t26 = (t23 + 0U);
  t27 = (t26 + 0U);
  *((int *)t27) = 1;
  t27 = (t26 + 4U);
  *((unsigned int *)t27) = t25;
  t27 = (t26 + 8U);
  *((int *)t27) = 1;
  t28 = (t25 - 1);
  t29 = (t28 * 1);
  t29 = (t29 + 1);
  t27 = (t26 + 12U);
  *((unsigned int *)t27) = t29;
  t27 = (t7 + 4U);
  t30 = (t1 + 4000);
  t31 = (t27 + 88U);
  *((char **)t31) = t30;
  t32 = (char *)alloca(t22);
  t33 = (t27 + 56U);
  *((char **)t33) = t32;
  xsi_type_set_default_value(t30, t32, t23);
  t34 = (t27 + 64U);
  *((char **)t34) = t23;
  t35 = (t27 + 80U);
  *((unsigned int *)t35) = t22;
  t36 = (t8 + 4U);
  t37 = (t3 != 0);
  if (t37 == 1)
    goto LAB3;
LAB2:
  t38 = (t8 + 12U);
  *((char **)t38) = t4;
  t39 = (t8 + 20U);
  t40 = (t5 != 0);
  if (t40 == 1)
    goto LAB5;
LAB4:
  t41 = (t8 + 28U);
  *((char **)t41) = t6;
  t42 = (t4 + 12U);
  t29 = *((unsigned int *)t42);
  t43 = (t6 + 12U);
  t44 = *((unsigned int *)t43);
  t45 = (t29 != t44);
  if (t45 != 0)
    goto LAB6;
LAB8:
  t10 = (t23 + 8U);
  t14 = *((int *)t10);
  t12 = (t23 + 4U);
  t19 = *((int *)t12);
  t13 = (t23 + 0U);
  t21 = *((int *)t13);
  t28 = t21;
  t48 = t19;
LAB11:
  t49 = (t48 * t14);
  t50 = (t28 * t14);
  if (t50 <= t49)
    goto LAB12;
LAB14:
LAB7:
  t10 = (t27 + 56U);
  t12 = *((char **)t10);
  t10 = (t23 + 12U);
  t11 = *((unsigned int *)t10);
  t11 = (t11 * 1U);
  t0 = xsi_get_transient_memory(t11);
  memcpy(t0, t12, t11);
  t13 = (t23 + 0U);
  t14 = *((int *)t13);
  t17 = (t23 + 4U);
  t19 = *((int *)t17);
  t18 = (t23 + 8U);
  t21 = *((int *)t18);
  t24 = (t2 + 0U);
  t26 = (t24 + 0U);
  *((int *)t26) = t14;
  t26 = (t24 + 4U);
  *((int *)t26) = t19;
  t26 = (t24 + 8U);
  *((int *)t26) = t21;
  t28 = (t19 - t14);
  t15 = (t28 * t21);
  t15 = (t15 + 1);
  t26 = (t24 + 12U);
  *((unsigned int *)t26) = t15;
LAB1:
  return t0;
LAB3:
  *((char **)t36) = t3;
  goto LAB2;
LAB5:
  *((char **)t39) = t5;
  goto LAB4;
LAB6:
  if ((unsigned char)0 == 0)
    goto LAB9;
LAB10:
  goto LAB7;
LAB9:
  t46 = (t1 + 7744);
  xsi_report(t46, 65U, (unsigned char)3);
  goto LAB10;
LAB12:
  t17 = (t1 + 1288U);
  t18 = *((char **)t17);
  t17 = (t3 + 0);
  t24 = (t9 + 0U);
  t51 = *((int *)t24);
  t26 = (t9 + 8U);
  t52 = *((int *)t26);
  t53 = (t28 - t51);
  t11 = (t53 * t52);
  t30 = (t9 + 4U);
  t54 = *((int *)t30);
  xsi_vhdl_check_range_of_index(t51, t54, t52, t28);
  t15 = (1U * t11);
  t20 = (0 + t15);
  t31 = (t17 + t20);
  t37 = *((unsigned char *)t31);
  t55 = (t37 - 0);
  t22 = (t55 * 1);
  xsi_vhdl_check_range_of_index(0, 8, 1, t37);
  t25 = (t22 * 9U);
  t33 = (t5 + 0);
  t34 = (t16 + 0U);
  t56 = *((int *)t34);
  t35 = (t16 + 8U);
  t57 = *((int *)t35);
  t58 = (t28 - t56);
  t29 = (t58 * t57);
  t42 = (t16 + 4U);
  t59 = *((int *)t42);
  xsi_vhdl_check_range_of_index(t56, t59, t57, t28);
  t44 = (1U * t29);
  t60 = (0 + t44);
  t43 = (t33 + t60);
  t40 = *((unsigned char *)t43);
  t61 = (t40 - 0);
  t62 = (t61 * 1);
  xsi_vhdl_check_range_of_index(0, 8, 1, t40);
  t63 = (t25 + t62);
  t64 = (1U * t63);
  t65 = (0 + t64);
  t46 = (t18 + t65);
  t45 = *((unsigned char *)t46);
  t47 = (t27 + 56U);
  t66 = *((char **)t47);
  t47 = (t23 + 0U);
  t67 = *((int *)t47);
  t68 = (t23 + 8U);
  t69 = *((int *)t68);
  t70 = (t28 - t67);
  t71 = (t70 * t69);
  t72 = (1U * t71);
  t73 = (0 + t72);
  t74 = (t66 + t73);
  *((unsigned char *)t74) = t45;
LAB13:
  if (t28 == t48)
    goto LAB14;
LAB15:
  t19 = (t28 + t14);
  t28 = t19;
  goto LAB11;
LAB16:;
}


x86 assembly (clang, -O0):
<ieee_p_2592010699_sub_16439989832805790689_503743352>:
push   %rbp
mov    %rsp,%rbp
sub    $0x2a0,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
mov    %rcx,-0x28(%rbp)
mov    %r8,-0x30(%rbp)
mov    %r9,-0x38(%rbp)
mov    -0x28(%rbp),%rax
add    $0xc,%rax
mov    %rax,-0x130(%rbp)
mov    -0x130(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x134(%rbp)
lea    -0x100(%rbp),%rax
mov    %rax,-0x140(%rbp)
mov    -0x140(%rbp),%rax
mov    %rax,-0x148(%rbp)
mov    -0x148(%rbp),%rax
movl   $0x1,(%rax)
mov    -0x140(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x148(%rbp)
mov    -0x134(%rbp),%ecx
mov    -0x148(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x140(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x148(%rbp)
mov    -0x148(%rbp),%rax
movl   $0x1,(%rax)
mov    -0x134(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x14c(%rbp)
mov    -0x14c(%rbp),%eax
shl    $0x0,%eax
mov    %eax,-0x150(%rbp)
mov    -0x150(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x150(%rbp)
mov    -0x140(%rbp),%rax
add    $0xc,%rax
mov    %rax,-0x148(%rbp)
mov    -0x150(%rbp),%ecx
mov    -0x148(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x38(%rbp),%rax
add    $0xc,%rax
mov    %rax,-0x148(%rbp)
mov    -0x148(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x150(%rbp)
lea    -0x110(%rbp),%rax
mov    %rax,-0x158(%rbp)
mov    -0x158(%rbp),%rax
mov    %rax,-0x160(%rbp)
mov    -0x160(%rbp),%rax
movl   $0x1,(%rax)
mov    -0x158(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x160(%rbp)
mov    -0x150(%rbp),%ecx
mov    -0x160(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x158(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x160(%rbp)
mov    -0x160(%rbp),%rax
movl   $0x1,(%rax)
mov    -0x150(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x164(%rbp)
mov    -0x164(%rbp),%eax
shl    $0x0,%eax
mov    %eax,-0x168(%rbp)
mov    -0x168(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x168(%rbp)
mov    -0x158(%rbp),%rax
add    $0xc,%rax
mov    %rax,-0x160(%rbp)
mov    -0x168(%rbp),%ecx
mov    -0x160(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x28(%rbp),%rax
add    $0xc,%rax
mov    %rax,-0x160(%rbp)
mov    -0x160(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x168(%rbp)
mov    -0x168(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x16c(%rbp)
mov    -0x16c(%rbp),%eax
shl    $0x0,%eax
mov    %eax,-0x170(%rbp)
mov    -0x170(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x170(%rbp)
mov    -0x170(%rbp),%eax
shl    $0x0,%eax
mov    %eax,-0x170(%rbp)
mov    -0x28(%rbp),%rax
add    $0xc,%rax
mov    %rax,-0x178(%rbp)
mov    -0x178(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x17c(%rbp)
lea    -0x120(%rbp),%rax
mov    %rax,-0x188(%rbp)
mov    -0x188(%rbp),%rax
mov    %rax,-0x190(%rbp)
mov    -0x190(%rbp),%rax
movl   $0x1,(%rax)
mov    -0x188(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x190(%rbp)
mov    -0x17c(%rbp),%ecx
mov    -0x190(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x188(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x190(%rbp)
mov    -0x190(%rbp),%rax
movl   $0x1,(%rax)
mov    -0x17c(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x194(%rbp)
mov    -0x194(%rbp),%eax
shl    $0x0,%eax
mov    %eax,-0x198(%rbp)
mov    -0x198(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x198(%rbp)
mov    -0x188(%rbp),%rax
add    $0xc,%rax
mov    %rax,-0x190(%rbp)
mov    -0x198(%rbp),%ecx
mov    -0x190(%rbp),%rax
mov    %ecx,(%rax)
lea    -0xc0(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x190(%rbp)
mov    -0x10(%rbp),%rax
add    $0xfa0,%rax
mov    %rax,-0x1a0(%rbp)
mov    -0x190(%rbp),%rax
add    $0x58,%rax
mov    %rax,-0x1a8(%rbp)
mov    -0x1a0(%rbp),%rcx
mov    -0x1a8(%rbp),%rax
mov    %rcx,(%rax)
mov    -0x170(%rbp),%edi
call   1050 <alloca@plt>
mov    %rax,-0x1b0(%rbp)
mov    -0x190(%rbp),%rax
add    $0x38,%rax
mov    %rax,-0x1b8(%rbp)
mov    -0x1b0(%rbp),%rcx
mov    -0x1b8(%rbp),%rax
mov    %rcx,(%rax)
mov    -0x1a0(%rbp),%rdi
mov    -0x1b0(%rbp),%rsi
lea    -0x120(%rbp),%rdx
call   1040 <xsi_type_set_default_value@plt>
mov    -0x190(%rbp),%rax
add    $0x40,%rax
mov    %rax,-0x1c0(%rbp)
lea    -0x120(%rbp),%rcx
mov    -0x1c0(%rbp),%rax
mov    %rcx,(%rax)
mov    -0x190(%rbp),%rax
add    $0x50,%rax
mov    %rax,-0x1c8(%rbp)
mov    -0x170(%rbp),%ecx
mov    -0x1c8(%rbp),%rax
mov    %ecx,(%rax)
lea    -0xf0(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x1d0(%rbp)
cmpq   $0x0,-0x20(%rbp)
setne  %al
and    $0x1,%al
movzbl %al,%eax
mov    %al,-0x1d1(%rbp)
movzbl -0x1d1(%rbp),%eax
cmp    $0x1,%eax
jne    156f <ieee_p_2592010699_sub_16439989832805790689_503743352+0x40f>
jmp    18cd <ieee_p_2592010699_sub_16439989832805790689_503743352+0x76d>
jmp    1574 <ieee_p_2592010699_sub_16439989832805790689_503743352+0x414>
lea    -0xf0(%rbp),%rax
add    $0xc,%rax
mov    %rax,-0x1e0(%rbp)
mov    -0x28(%rbp),%rcx
mov    -0x1e0(%rbp),%rax
mov    %rcx,(%rax)
lea    -0xf0(%rbp),%rax
add    $0x14,%rax
mov    %rax,-0x1e8(%rbp)
cmpq   $0x0,-0x30(%rbp)
setne  %al
and    $0x1,%al
movzbl %al,%eax
mov    %al,-0x1e9(%rbp)
movzbl -0x1e9(%rbp),%eax
cmp    $0x1,%eax
jne    15ce <ieee_p_2592010699_sub_16439989832805790689_503743352+0x46e>
jmp    18e0 <ieee_p_2592010699_sub_16439989832805790689_503743352+0x780>
jmp    15d3 <ieee_p_2592010699_sub_16439989832805790689_503743352+0x473>
lea    -0xf0(%rbp),%rax
add    $0x1c,%rax
mov    %rax,-0x1f8(%rbp)
mov    -0x38(%rbp),%rcx
mov    -0x1f8(%rbp),%rax
mov    %rcx,(%rax)
mov    -0x28(%rbp),%rax
add    $0xc,%rax
mov    %rax,-0x200(%rbp)
mov    -0x200(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x198(%rbp)
mov    -0x38(%rbp),%rax
add    $0xc,%rax
mov    %rax,-0x208(%rbp)
mov    -0x208(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x20c(%rbp)
mov    -0x198(%rbp),%eax
cmp    -0x20c(%rbp),%eax
setne  %al
and    $0x1,%al
movzbl %al,%eax
mov    %al,-0x20d(%rbp)
movzbl -0x20d(%rbp),%eax
cmp    $0x0,%eax
je     165e <ieee_p_2592010699_sub_16439989832805790689_503743352+0x4fe>
jmp    18f3 <ieee_p_2592010699_sub_16439989832805790689_503743352+0x793>
jmp    1663 <ieee_p_2592010699_sub_16439989832805790689_503743352+0x503>
lea    -0x120(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x130(%rbp)
mov    -0x130(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x14c(%rbp)
lea    -0x120(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x140(%rbp)
mov    -0x140(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x164(%rbp)
lea    -0x120(%rbp),%rax
mov    %rax,-0x148(%rbp)
mov    -0x148(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x16c(%rbp)
mov    -0x16c(%rbp),%eax
mov    %eax,-0x194(%rbp)
mov    -0x164(%rbp),%eax
mov    %eax,-0x224(%rbp)
mov    -0x224(%rbp),%eax
imul   -0x14c(%rbp),%eax
mov    %eax,-0x228(%rbp)
mov    -0x194(%rbp),%eax
imul   -0x14c(%rbp),%eax
mov    %eax,-0x22c(%rbp)
mov    -0x22c(%rbp),%eax
cmp    -0x228(%rbp),%eax
jg     1717 <ieee_p_2592010699_sub_16439989832805790689_503743352+0x5b7>
jmp    1929 <ieee_p_2592010699_sub_16439989832805790689_503743352+0x7c9>
jmp    171c <ieee_p_2592010699_sub_16439989832805790689_503743352+0x5bc>
jmp    1721 <ieee_p_2592010699_sub_16439989832805790689_503743352+0x5c1>
mov    -0x190(%rbp),%rax
add    $0x38,%rax
mov    %rax,-0x130(%rbp)
mov    -0x130(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x140(%rbp)
lea    -0x120(%rbp),%rax
add    $0xc,%rax
mov    %rax,-0x130(%rbp)
mov    -0x130(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x134(%rbp)
mov    -0x134(%rbp),%eax
shl    $0x0,%eax
mov    %eax,-0x134(%rbp)
mov    -0x134(%rbp),%edi
call   1080 <xsi_get_transient_memory@plt>
mov    %rax,-0x128(%rbp)
mov    -0x128(%rbp),%rdi
mov    -0x140(%rbp),%rsi
mov    -0x134(%rbp),%edx
call   1060 <memcpy@plt>
lea    -0x120(%rbp),%rax
mov    %rax,-0x148(%rbp)
mov    -0x148(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x14c(%rbp)
lea    -0x120(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x158(%rbp)
mov    -0x158(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x164(%rbp)
lea    -0x120(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x160(%rbp)
mov    -0x160(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x16c(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,-0x178(%rbp)
mov    -0x178(%rbp),%rax
mov    %rax,-0x188(%rbp)
mov    -0x14c(%rbp),%ecx
mov    -0x188(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x178(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x188(%rbp)
mov    -0x164(%rbp),%ecx
mov    -0x188(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x178(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x188(%rbp)
mov    -0x16c(%rbp),%ecx
mov    -0x188(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x164(%rbp),%eax
sub    -0x14c(%rbp),%eax
mov    %eax,-0x194(%rbp)
mov    -0x194(%rbp),%eax
imul   -0x16c(%rbp),%eax
mov    %eax,-0x150(%rbp)
mov    -0x150(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x150(%rbp)
mov    -0x178(%rbp),%rax
add    $0xc,%rax
mov    %rax,-0x188(%rbp)
mov    -0x150(%rbp),%ecx
mov    -0x188(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x128(%rbp),%rax
mov    %rax,-0x8(%rbp)
jmp    1d0b <ieee_p_2592010699_sub_16439989832805790689_503743352+0xbab>
mov    -0x20(%rbp),%rcx
mov    -0x1d0(%rbp),%rax
mov    %rcx,(%rax)
jmp    1574 <ieee_p_2592010699_sub_16439989832805790689_503743352+0x414>
mov    -0x30(%rbp),%rcx
mov    -0x1e8(%rbp),%rax
mov    %rcx,(%rax)
jmp    15d3 <ieee_p_2592010699_sub_16439989832805790689_503743352+0x473>
jmp    18fd <ieee_p_2592010699_sub_16439989832805790689_503743352+0x79d>
jmp    1721 <ieee_p_2592010699_sub_16439989832805790689_503743352+0x5c1>
mov    -0x10(%rbp),%rax
add    $0x1e40,%rax
mov    %rax,-0x218(%rbp)
mov    -0x218(%rbp),%rdi
mov    $0x41,%esi
mov    $0x3,%edx
call   1030 <xsi_report@plt>
jmp    18f8 <ieee_p_2592010699_sub_16439989832805790689_503743352+0x798>
mov    -0x10(%rbp),%rax
add    $0x508,%rax
mov    %rax,-0x158(%rbp)
mov    -0x158(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x160(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x158(%rbp)
lea    -0x100(%rbp),%rax
mov    %rax,-0x178(%rbp)
mov    -0x178(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x230(%rbp)
lea    -0x100(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x188(%rbp)
mov    -0x188(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x234(%rbp)
mov    -0x194(%rbp),%eax
sub    -0x230(%rbp),%eax
mov    %eax,-0x238(%rbp)
mov    -0x238(%rbp),%eax
imul   -0x234(%rbp),%eax
mov    %eax,-0x134(%rbp)
lea    -0x100(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x1a0(%rbp)
mov    -0x1a0(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x23c(%rbp)
mov    -0x230(%rbp),%edi
mov    -0x23c(%rbp),%esi
mov    -0x234(%rbp),%edx
mov    -0x194(%rbp),%eax
movzbl %al,%ecx
call   1070 <xsi_vhdl_check_range_of_index@plt>
mov    -0x134(%rbp),%eax
shl    $0x0,%eax
mov    %eax,-0x150(%rbp)
mov    -0x150(%rbp),%eax
add    $0x0,%eax
mov    %eax,-0x168(%rbp)
mov    -0x158(%rbp),%rax
mov    -0x168(%rbp),%ecx
add    %rcx,%rax
mov    %rax,-0x1a8(%rbp)
mov    -0x1a8(%rbp),%rax
mov    (%rax),%al
mov    %al,-0x1d1(%rbp)
movzbl -0x1d1(%rbp),%eax
sub    $0x0,%eax
mov    %eax,-0x240(%rbp)
mov    -0x240(%rbp),%eax
shl    $0x0,%eax
mov    %eax,-0x170(%rbp)
xor    %edi,%edi
mov    $0x8,%esi
mov    $0x1,%edx
movzbl -0x1d1(%rbp),%ecx
call   1070 <xsi_vhdl_check_range_of_index@plt>
imul   $0x9,-0x170(%rbp),%eax
mov    %eax,-0x17c(%rbp)
mov    -0x30(%rbp),%rax
mov    %rax,-0x1b8(%rbp)
lea    -0x110(%rbp),%rax
mov    %rax,-0x1c0(%rbp)
mov    -0x1c0(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x244(%rbp)
lea    -0x110(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x1c8(%rbp)
mov    -0x1c8(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x248(%rbp)
mov    -0x194(%rbp),%eax
sub    -0x244(%rbp),%eax
mov    %eax,-0x24c(%rbp)
mov    -0x24c(%rbp),%eax
imul   -0x248(%rbp),%eax
mov    %eax,-0x198(%rbp)
lea    -0x110(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x200(%rbp)
mov    -0x200(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x250(%rbp)
mov    -0x244(%rbp),%edi
mov    -0x250(%rbp),%esi
mov    -0x248(%rbp),%edx
mov    -0x194(%rbp),%eax
movzbl %al,%ecx
call   1070 <xsi_vhdl_check_range_of_index@plt>
mov    -0x198(%rbp),%eax
shl    $0x0,%eax
mov    %eax,-0x20c(%rbp)
mov    -0x20c(%rbp),%eax
add    $0x0,%eax
mov    %eax,-0x254(%rbp)
mov    -0x1b8(%rbp),%rax
mov    -0x254(%rbp),%ecx
add    %rcx,%rax
mov    %rax,-0x208(%rbp)
mov    -0x208(%rbp),%rax
mov    (%rax),%al
mov    %al,-0x1e9(%rbp)
movzbl -0x1e9(%rbp),%eax
sub    $0x0,%eax
mov    %eax,-0x258(%rbp)
mov    -0x258(%rbp),%eax
shl    $0x0,%eax
mov    %eax,-0x25c(%rbp)
xor    %edi,%edi
mov    $0x8,%esi
mov    $0x1,%edx
movzbl -0x1e9(%rbp),%ecx
call   1070 <xsi_vhdl_check_range_of_index@plt>
mov    -0x17c(%rbp),%eax
add    -0x25c(%rbp),%eax
mov    %eax,-0x260(%rbp)
mov    -0x260(%rbp),%eax
shl    $0x0,%eax
mov    %eax,-0x264(%rbp)
mov    -0x264(%rbp),%eax
add    $0x0,%eax
mov    %eax,-0x268(%rbp)
mov    -0x160(%rbp),%rax
mov    -0x268(%rbp),%ecx
add    %rcx,%rax
mov    %rax,-0x218(%rbp)
mov    -0x218(%rbp),%rax
mov    (%rax),%al
mov    %al,-0x20d(%rbp)
mov    -0x190(%rbp),%rax
add    $0x38,%rax
mov    %rax,-0x220(%rbp)
mov    -0x220(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x270(%rbp)
lea    -0x120(%rbp),%rax
mov    %rax,-0x220(%rbp)
mov    -0x220(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x274(%rbp)
lea    -0x120(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x280(%rbp)
mov    -0x280(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x284(%rbp)
mov    -0x194(%rbp),%eax
sub    -0x274(%rbp),%eax
mov    %eax,-0x288(%rbp)
mov    -0x288(%rbp),%eax
imul   -0x284(%rbp),%eax
mov    %eax,-0x28c(%rbp)
mov    -0x28c(%rbp),%eax
shl    $0x0,%eax
mov    %eax,-0x290(%rbp)
mov    -0x290(%rbp),%eax
add    $0x0,%eax
mov    %eax,-0x294(%rbp)
mov    -0x270(%rbp),%rax
mov    -0x294(%rbp),%ecx
add    %rcx,%rax
mov    %rax,-0x2a0(%rbp)
mov    -0x20d(%rbp),%cl
mov    -0x2a0(%rbp),%rax
mov    %cl,(%rax)
mov    -0x194(%rbp),%eax
cmp    -0x224(%rbp),%eax
jne    1ce3 <ieee_p_2592010699_sub_16439989832805790689_503743352+0xb83>
jmp    171c <ieee_p_2592010699_sub_16439989832805790689_503743352+0x5bc>
jmp    1ce8 <ieee_p_2592010699_sub_16439989832805790689_503743352+0xb88>
mov    -0x194(%rbp),%eax
add    -0x14c(%rbp),%eax
mov    %eax,-0x164(%rbp)
mov    -0x164(%rbp),%eax
mov    %eax,-0x194(%rbp)
jmp    16da <ieee_p_2592010699_sub_16439989832805790689_503743352+0x57a>
mov    -0x8(%rbp),%rax
add    $0x2a0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ieee_p_2592010699_sub_16439989832805790689_503743352>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
mov    %r9,%r14
mov    %r8,%r12
mov    %rcx,%rbp
mov    %rdx,%r13
mov    %rsi,0x38(%rsp)
mov    %rdi,%rbx
mov    0xc(%rcx),%r15d
mov    0xc(%r9),%eax
mov    %eax,0x24(%rsp)
movl   $0x1,(%rsp)
mov    %r15d,0x4(%rsp)
movl   $0x1,0x8(%rsp)
mov    %r15d,0xc(%rsp)
lea    0xfa0(%rdi),%rax
mov    %rax,0x10(%rsp)
mov    %r15d,%edi
call   1050 <alloca@plt>
mov    %rsp,%rdx
mov    0x10(%rsp),%rdi
mov    %rax,0x30(%rsp)
mov    %rax,%rsi
call   1040 <xsi_type_set_default_value@plt>
mov    0xc(%rbp),%eax
cmp    0xc(%r14),%eax
jne    12fc <ieee_p_2592010699_sub_16439989832805790689_503743352+0x19c>
mov    0x8(%rsp),%ecx
mov    (%rsp),%r14d
mov    0x4(%rsp),%eax
mov    %eax,0x20(%rsp)
mov    %eax,%edx
imul   %ecx,%edx
mov    %r14d,%eax
mov    %rcx,0x28(%rsp)
imul   %ecx,%eax
mov    %edx,0x1c(%rsp)
cmp    %edx,%eax
jg     1315 <ieee_p_2592010699_sub_16439989832805790689_503743352+0x1b5>
mov    0x28(%rsp),%rax
lea    (%r14,%rax,1),%ebp
imul   %eax,%ebp
imul   %eax,%eax
mov    %rax,0x40(%rsp)
mov    %r12,0x50(%rsp)
mov    %rbx,0x48(%rsp)
mov    %r15d,0x18(%rsp)
nopl   0x0(%rax)
mov    0x48(%rsp),%rax
mov    0x508(%rax),%rax
mov    %rax,0x10(%rsp)
lea    -0x1(%r14),%ebx
movzbl %r14b,%r12d
mov    $0x1,%edi
mov    %r15d,%esi
mov    $0x1,%edx
mov    %r12d,%ecx
call   1070 <xsi_vhdl_check_range_of_index@plt>
mov    %r13,%r15
movzbl 0x0(%r13,%rbx,1),%r13d
xor    %edi,%edi
mov    $0x8,%esi
mov    $0x1,%edx
mov    %r13d,%ecx
call   1070 <xsi_vhdl_check_range_of_index@plt>
lea    0x0(%r13,%r13,8),%r13
mov    $0x1,%edi
mov    0x24(%rsp),%esi
mov    $0x1,%edx
mov    %r12d,%ecx
mov    0x50(%rsp),%r12
call   1070 <xsi_vhdl_check_range_of_index@plt>
movzbl (%r12,%rbx,1),%ebx
xor    %edi,%edi
mov    $0x8,%esi
mov    $0x1,%edx
mov    %ebx,%ecx
call   1070 <xsi_vhdl_check_range_of_index@plt>
lea    (%rbx,%r13,1),%rax
mov    %r15,%r13
mov    0x18(%rsp),%r15d
mov    0x10(%rsp),%rcx
movzbl (%rcx,%rax,1),%eax
mov    %r14d,%ecx
sub    (%rsp),%ecx
imul   0x8(%rsp),%ecx
mov    0x30(%rsp),%rdx
mov    %al,(%rdx,%rcx,1)
cmp    %r14d,0x20(%rsp)
je     1315 <ieee_p_2592010699_sub_16439989832805790689_503743352+0x1b5>
add    0x28(%rsp),%r14d
mov    0x40(%rsp),%rax
add    %ebp,%eax
cmp    0x1c(%rsp),%ebp
mov    %eax,%ebp
jle    1230 <ieee_p_2592010699_sub_16439989832805790689_503743352+0xd0>
jmp    1315 <ieee_p_2592010699_sub_16439989832805790689_503743352+0x1b5>
add    $0x1e40,%rbx
mov    %rbx,%rdi
mov    $0x41,%esi
mov    $0x3,%edx
call   1030 <xsi_report@plt>
mov    0xc(%rsp),%ebx
mov    %ebx,%edi
call   1080 <xsi_get_transient_memory@plt>
mov    %rax,%rbp
mov    %rax,%rdi
mov    0x30(%rsp),%rsi
mov    %ebx,%edx
call   1060 <memcpy@plt>
mov    (%rsp),%eax
mov    0x4(%rsp),%ecx
mov    0x8(%rsp),%edx
mov    0x38(%rsp),%rsi
mov    %eax,(%rsi)
mov    %ecx,0x4(%rsi)
mov    %edx,0x8(%rsi)
sub    %eax,%ecx
imul   %edx,%ecx
add    $0x1,%ecx
mov    %ecx,0xc(%rsi)
mov    %rbp,%rax
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define i8* @ieee_p_2592010699_sub_16439989832805790689_503743352(i8* %0, i8* %1, i8* %2, i8* %3, i8* %4, i8* %5) {
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca i8*
%10 = alloca i8*
%11 = alloca i8*
%12 = alloca i8*
%13 = alloca i8*
%14 = alloca [128 x i8]
%15 = alloca [40 x i8]
%16 = alloca [16 x i8]
%17 = alloca [16 x i8]
%18 = alloca [16 x i8]
%19 = alloca i8*
%20 = alloca i8*
%21 = alloca i32
%22 = alloca i8*
%23 = alloca i8*
%24 = alloca i32
%25 = alloca i32
%26 = alloca i8*
%27 = alloca i8*
%28 = alloca i32
%29 = alloca i32
%30 = alloca i32
%31 = alloca i32
%32 = alloca i8*
%33 = alloca i32
%34 = alloca i8*
%35 = alloca i8*
%36 = alloca i32
%37 = alloca i32
%38 = alloca i8*
%39 = alloca i8*
%40 = alloca i8*
%41 = alloca i8*
%42 = alloca i8*
%43 = alloca i8*
%44 = alloca i8*
%45 = alloca i8
%46 = alloca i8*
%47 = alloca i8*
%48 = alloca i8
%49 = alloca i8*
%50 = alloca i8*
%51 = alloca i8*
%52 = alloca i32
%53 = alloca i8
%54 = alloca i8*
%55 = alloca i8*
%56 = alloca i32
%57 = alloca i32
%58 = alloca i32
%59 = alloca i32
%60 = alloca i32
%61 = alloca i32
%62 = alloca i32
%63 = alloca i32
%64 = alloca i32
%65 = alloca i32
%66 = alloca i32
%67 = alloca i32
%68 = alloca i32
%69 = alloca i32
%70 = alloca i32
%71 = alloca i32
%72 = alloca i32
%73 = alloca i32
%74 = alloca i8*
%75 = alloca i32
%76 = alloca i8*
%77 = alloca i32
%78 = alloca i32
%79 = alloca i32
%80 = alloca i32
%81 = alloca i32
%82 = alloca i8*
store i8* %0, i8** %8
store i8* %1, i8** %9
store i8* %2, i8** %10
store i8* %3, i8** %11
store i8* %4, i8** %12
store i8* %5, i8** %13
br label %83
83: ; preds = %6
%84 = load i8*, i8** %11
%85 = getelementptr inbounds i8, i8* %84, i64 12
store i8* %85, i8** %20
%86 = load i8*, i8** %20
%87 = bitcast i8* %86 to i32*
%88 = load i32, i32* %87
store i32 %88, i32* %21
%89 = getelementptr inbounds [16 x i8], [16 x i8]* %16, i64 0, i64 0
%90 = getelementptr inbounds i8, i8* %89, i64 0
store i8* %90, i8** %22
%91 = load i8*, i8** %22
%92 = getelementptr inbounds i8, i8* %91, i64 0
store i8* %92, i8** %23
%93 = load i8*, i8** %23
%94 = bitcast i8* %93 to i32*
store i32 1, i32* %94
%95 = load i8*, i8** %22
%96 = getelementptr inbounds i8, i8* %95, i64 4
store i8* %96, i8** %23
%97 = load i32, i32* %21
%98 = load i8*, i8** %23
%99 = bitcast i8* %98 to i32*
store i32 %97, i32* %99
%100 = load i8*, i8** %22
%101 = getelementptr inbounds i8, i8* %100, i64 8
store i8* %101, i8** %23
%102 = load i8*, i8** %23
%103 = bitcast i8* %102 to i32*
store i32 1, i32* %103
%104 = load i32, i32* %21
%105 = sub i32 %104, 1
store i32 %105, i32* %24
%106 = load i32, i32* %24
%107 = mul nsw i32 %106, 1
store i32 %107, i32* %25
%108 = load i32, i32* %25
%109 = add i32 %108, 1
store i32 %109, i32* %25
%110 = load i8*, i8** %22
%111 = getelementptr inbounds i8, i8* %110, i64 12
store i8* %111, i8** %23
%112 = load i32, i32* %25
%113 = load i8*, i8** %23
%114 = bitcast i8* %113 to i32*
store i32 %112, i32* %114
%115 = load i8*, i8** %13
%116 = getelementptr inbounds i8, i8* %115, i64 12
store i8* %116, i8** %23
%117 = load i8*, i8** %23
%118 = bitcast i8* %117 to i32*
%119 = load i32, i32* %118
store i32 %119, i32* %25
%120 = getelementptr inbounds [16 x i8], [16 x i8]* %17, i64 0, i64 0
%121 = getelementptr inbounds i8, i8* %120, i64 0
store i8* %121, i8** %26
%122 = load i8*, i8** %26
%123 = getelementptr inbounds i8, i8* %122, i64 0
store i8* %123, i8** %27
%124 = load i8*, i8** %27
%125 = bitcast i8* %124 to i32*
store i32 1, i32* %125
%126 = load i8*, i8** %26
%127 = getelementptr inbounds i8, i8* %126, i64 4
store i8* %127, i8** %27
%128 = load i32, i32* %25
%129 = load i8*, i8** %27
%130 = bitcast i8* %129 to i32*
store i32 %128, i32* %130
%131 = load i8*, i8** %26
%132 = getelementptr inbounds i8, i8* %131, i64 8
store i8* %132, i8** %27
%133 = load i8*, i8** %27
%134 = bitcast i8* %133 to i32*
store i32 1, i32* %134
%135 = load i32, i32* %25
%136 = sub i32 %135, 1
store i32 %136, i32* %28
%137 = load i32, i32* %28
%138 = mul nsw i32 %137, 1
store i32 %138, i32* %29
%139 = load i32, i32* %29
%140 = add i32 %139, 1
store i32 %140, i32* %29
%141 = load i8*, i8** %26
%142 = getelementptr inbounds i8, i8* %141, i64 12
store i8* %142, i8** %27
%143 = load i32, i32* %29
%144 = load i8*, i8** %27
%145 = bitcast i8* %144 to i32*
store i32 %143, i32* %145
%146 = load i8*, i8** %11
%147 = getelementptr inbounds i8, i8* %146, i64 12
store i8* %147, i8** %27
%148 = load i8*, i8** %27
%149 = bitcast i8* %148 to i32*
%150 = load i32, i32* %149
store i32 %150, i32* %29
%151 = load i32, i32* %29
%152 = sub i32 %151, 1
store i32 %152, i32* %30
%153 = load i32, i32* %30
%154 = mul nsw i32 %153, 1
store i32 %154, i32* %31
%155 = load i32, i32* %31
%156 = add i32 %155, 1
store i32 %156, i32* %31
%157 = load i32, i32* %31
%158 = mul i32 %157, 1
store i32 %158, i32* %31
%159 = load i8*, i8** %11
%160 = getelementptr inbounds i8, i8* %159, i64 12
store i8* %160, i8** %32
%161 = load i8*, i8** %32
%162 = bitcast i8* %161 to i32*
%163 = load i32, i32* %162
store i32 %163, i32* %33
%164 = getelementptr inbounds [16 x i8], [16 x i8]* %18, i64 0, i64 0
%165 = getelementptr inbounds i8, i8* %164, i64 0
store i8* %165, i8** %34
%166 = load i8*, i8** %34
%167 = getelementptr inbounds i8, i8* %166, i64 0
store i8* %167, i8** %35
%168 = load i8*, i8** %35
%169 = bitcast i8* %168 to i32*
store i32 1, i32* %169
%170 = load i8*, i8** %34
%171 = getelementptr inbounds i8, i8* %170, i64 4
store i8* %171, i8** %35
%172 = load i32, i32* %33
%173 = load i8*, i8** %35
%174 = bitcast i8* %173 to i32*
store i32 %172, i32* %174
%175 = load i8*, i8** %34
%176 = getelementptr inbounds i8, i8* %175, i64 8
store i8* %176, i8** %35
%177 = load i8*, i8** %35
%178 = bitcast i8* %177 to i32*
store i32 1, i32* %178
%179 = load i32, i32* %33
%180 = sub i32 %179, 1
store i32 %180, i32* %36
%181 = load i32, i32* %36
%182 = mul nsw i32 %181, 1
store i32 %182, i32* %37
%183 = load i32, i32* %37
%184 = add i32 %183, 1
store i32 %184, i32* %37
%185 = load i8*, i8** %34
%186 = getelementptr inbounds i8, i8* %185, i64 12
store i8* %186, i8** %35
%187 = load i32, i32* %37
%188 = load i8*, i8** %35
%189 = bitcast i8* %188 to i32*
store i32 %187, i32* %189
%190 = getelementptr inbounds [128 x i8], [128 x i8]* %14, i64 0, i64 0
%191 = getelementptr inbounds i8, i8* %190, i64 4
store i8* %191, i8** %35
%192 = load i8*, i8** %8
%193 = getelementptr inbounds i8, i8* %192, i64 4000
store i8* %193, i8** %38
%194 = load i8*, i8** %35
%195 = getelementptr inbounds i8, i8* %194, i64 88
store i8* %195, i8** %39
%196 = load i8*, i8** %38
%197 = load i8*, i8** %39
%198 = bitcast i8* %197 to i8**
store i8* %196, i8** %198
%199 = load i32, i32* %31
%200 = call i64 @alloca(i32 %199)
%201 = inttoptr i64 %200 to i8*
store i8* %201, i8** %40
%202 = load i8*, i8** %35
%203 = getelementptr inbounds i8, i8* %202, i64 56
store i8* %203, i8** %41
%204 = load i8*, i8** %40
%205 = load i8*, i8** %41
%206 = bitcast i8* %205 to i8**
store i8* %204, i8** %206
%207 = load i8*, i8** %38
%208 = load i8*, i8** %40
%209 = getelementptr inbounds [16 x i8], [16 x i8]* %18, i64 0, i64 0
%210 = call i32 @xsi_type_set_default_value(i8* %207, i8* %208, i8* %209)
%211 = load i8*, i8** %35
%212 = getelementptr inbounds i8, i8* %211, i64 64
store i8* %212, i8** %42
%213 = getelementptr inbounds [16 x i8], [16 x i8]* %18, i64 0, i64 0
%214 = load i8*, i8** %42
%215 = bitcast i8* %214 to i8**
store i8* %213, i8** %215
%216 = load i8*, i8** %35
%217 = getelementptr inbounds i8, i8* %216, i64 80
store i8* %217, i8** %43
%218 = load i32, i32* %31
%219 = load i8*, i8** %43
%220 = bitcast i8* %219 to i32*
store i32 %218, i32* %220
%221 = getelementptr inbounds [40 x i8], [40 x i8]* %15, i64 0, i64 0
%222 = getelementptr inbounds i8, i8* %221, i64 4
store i8* %222, i8** %44
%223 = load i8*, i8** %10
%224 = icmp ne i8* %223, null
%225 = zext i1 %224 to i32
%226 = trunc i32 %225 to i8
store i8 %226, i8* %45
%227 = load i8, i8* %45
%228 = zext i8 %227 to i32
%229 = icmp eq i32 %228, 1
br i1 %229, label %230, label %231
230: ; preds = %83
br label %372
231: ; preds = %83
br label %232
232: ; preds = %372, %231
%233 = getelementptr inbounds [40 x i8], [40 x i8]* %15, i64 0, i64 0
%234 = getelementptr inbounds i8, i8* %233, i64 12
store i8* %234, i8** %46
%235 = load i8*, i8** %11
%236 = load i8*, i8** %46
%237 = bitcast i8* %236 to i8**
store i8* %235, i8** %237
%238 = getelementptr inbounds [40 x i8], [40 x i8]* %15, i64 0, i64 0
%239 = getelementptr inbounds i8, i8* %238, i64 20
store i8* %239, i8** %47
%240 = load i8*, i8** %12
%241 = icmp ne i8* %240, null
%242 = zext i1 %241 to i32
%243 = trunc i32 %242 to i8
store i8 %243, i8* %48
%244 = load i8, i8* %48
%245 = zext i8 %244 to i32
%246 = icmp eq i32 %245, 1
br i1 %246, label %247, label %248
247: ; preds = %232
br label %376
248: ; preds = %232
br label %249
249: ; preds = %376, %248
%250 = getelementptr inbounds [40 x i8], [40 x i8]* %15, i64 0, i64 0
%251 = getelementptr inbounds i8, i8* %250, i64 28
store i8* %251, i8** %49
%252 = load i8*, i8** %13
%253 = load i8*, i8** %49
%254 = bitcast i8* %253 to i8**
store i8* %252, i8** %254
%255 = load i8*, i8** %11
%256 = getelementptr inbounds i8, i8* %255, i64 12
store i8* %256, i8** %50
%257 = load i8*, i8** %50
%258 = bitcast i8* %257 to i32*
%259 = load i32, i32* %258
store i32 %259, i32* %37
%260 = load i8*, i8** %13
%261 = getelementptr inbounds i8, i8* %260, i64 12
store i8* %261, i8** %51
%262 = load i8*, i8** %51
%263 = bitcast i8* %262 to i32*
%264 = load i32, i32* %263
store i32 %264, i32* %52
%265 = load i32, i32* %37
%266 = load i32, i32* %52
%267 = icmp ne i32 %265, %266
%268 = zext i1 %267 to i32
%269 = trunc i32 %268 to i8
store i8 %269, i8* %53
%270 = load i8, i8* %53
%271 = zext i8 %270 to i32
%272 = icmp ne i32 %271, 0
br i1 %272, label %273, label %274
273: ; preds = %249
br label %380
274: ; preds = %249
br label %275
275: ; preds = %274
%276 = getelementptr inbounds [16 x i8], [16 x i8]* %18, i64 0, i64 0
%277 = getelementptr inbounds i8, i8* %276, i64 8
store i8* %277, i8** %20
%278 = load i8*, i8** %20
%279 = bitcast i8* %278 to i32*
%280 = load i32, i32* %279
store i32 %280, i32* %24
%281 = getelementptr inbounds [16 x i8], [16 x i8]* %18, i64 0, i64 0
%282 = getelementptr inbounds i8, i8* %281, i64 4
store i8* %282, i8** %22
%283 = load i8*, i8** %22
%284 = bitcast i8* %283 to i32*
%285 = load i32, i32* %284
store i32 %285, i32* %28
%286 = getelementptr inbounds [16 x i8], [16 x i8]* %18, i64 0, i64 0
%287 = getelementptr inbounds i8, i8* %286, i64 0
store i8* %287, i8** %23
%288 = load i8*, i8** %23
%289 = bitcast i8* %288 to i32*
%290 = load i32, i32* %289
store i32 %290, i32* %30
%291 = load i32, i32* %30
store i32 %291, i32* %36
%292 = load i32, i32* %28
store i32 %292, i32* %56
br label %293
293: ; preds = %537, %275
%294 = load i32, i32* %56
%295 = load i32, i32* %24
%296 = mul nsw i32 %294, %295
store i32 %296, i32* %57
%297 = load i32, i32* %36
%298 = load i32, i32* %24
%299 = mul nsw i32 %297, %298
store i32 %299, i32* %58
%300 = load i32, i32* %58
%301 = load i32, i32* %57
%302 = icmp sle i32 %300, %301
br i1 %302, label %303, label %304
303: ; preds = %293
br label %387
304: ; preds = %293
br label %305
305: ; preds = %535, %304
br label %306
306: ; preds = %381, %305
%307 = load i8*, i8** %35
%308 = getelementptr inbounds i8, i8* %307, i64 56
store i8* %308, i8** %20
%309 = load i8*, i8** %20
%310 = bitcast i8* %309 to i8**
%311 = load i8*, i8** %310
store i8* %311, i8** %22
%312 = getelementptr inbounds [16 x i8], [16 x i8]* %18, i64 0, i64 0
%313 = getelementptr inbounds i8, i8* %312, i64 12
store i8* %313, i8** %20
%314 = load i8*, i8** %20
%315 = bitcast i8* %314 to i32*
%316 = load i32, i32* %315
store i32 %316, i32* %21
%317 = load i32, i32* %21
%318 = mul i32 %317, 1
store i32 %318, i32* %21
%319 = load i32, i32* %21
%320 = call i8* @xsi_get_transient_memory(i32 %319)
store i8* %320, i8** %19
%321 = load i8*, i8** %19
%322 = load i8*, i8** %22
%323 = load i32, i32* %21
%324 = call i32 @memcpy(i8* %321, i8* %322, i32 %323)
%325 = getelementptr inbounds [16 x i8], [16 x i8]* %18, i64 0, i64 0
%326 = getelementptr inbounds i8, i8* %325, i64 0
store i8* %326, i8** %23
%327 = load i8*, i8** %23
%328 = bitcast i8* %327 to i32*
%329 = load i32, i32* %328
store i32 %329, i32* %24
%330 = getelementptr inbounds [16 x i8], [16 x i8]* %18, i64 0, i64 0
%331 = getelementptr inbounds i8, i8* %330, i64 4
store i8* %331, i8** %26
%332 = load i8*, i8** %26
%333 = bitcast i8* %332 to i32*
%334 = load i32, i32* %333
store i32 %334, i32* %28
%335 = getelementptr inbounds [16 x i8], [16 x i8]* %18, i64 0, i64 0
%336 = getelementptr inbounds i8, i8* %335, i64 8
store i8* %336, i8** %27
%337 = load i8*, i8** %27
%338 = bitcast i8* %337 to i32*
%339 = load i32, i32* %338
store i32 %339, i32* %30
%340 = load i8*, i8** %9
%341 = getelementptr inbounds i8, i8* %340, i64 0
store i8* %341, i8** %32
%342 = load i8*, i8** %32
%343 = getelementptr inbounds i8, i8* %342, i64 0
store i8* %343, i8** %34
%344 = load i32, i32* %24
%345 = load i8*, i8** %34
%346 = bitcast i8* %345 to i32*
store i32 %344, i32* %346
%347 = load i8*, i8** %32
%348 = getelementptr inbounds i8, i8* %347, i64 4
store i8* %348, i8** %34
%349 = load i32, i32* %28
%350 = load i8*, i8** %34
%351 = bitcast i8* %350 to i32*
store i32 %349, i32* %351
%352 = load i8*, i8** %32
%353 = getelementptr inbounds i8, i8* %352, i64 8
store i8* %353, i8** %34
%354 = load i32, i32* %30
%355 = load i8*, i8** %34
%356 = bitcast i8* %355 to i32*
store i32 %354, i32* %356
%357 = load i32, i32* %28
%358 = load i32, i32* %24
%359 = sub nsw i32 %357, %358
store i32 %359, i32* %36
%360 = load i32, i32* %36
%361 = load i32, i32* %30
%362 = mul nsw i32 %360, %361
store i32 %362, i32* %25
%363 = load i32, i32* %25
%364 = add i32 %363, 1
store i32 %364, i32* %25
%365 = load i8*, i8** %32
%366 = getelementptr inbounds i8, i8* %365, i64 12
store i8* %366, i8** %34
%367 = load i32, i32* %25
%368 = load i8*, i8** %34
%369 = bitcast i8* %368 to i32*
store i32 %367, i32* %369
br label %370
370: ; preds = %306
%371 = load i8*, i8** %19
store i8* %371, i8** %7
br label %543
372: ; preds = %230
%373 = load i8*, i8** %10
%374 = load i8*, i8** %44
%375 = bitcast i8* %374 to i8**
store i8* %373, i8** %375
br label %232
376: ; preds = %247
%377 = load i8*, i8** %12
%378 = load i8*, i8** %47
%379 = bitcast i8* %378 to i8**
store i8* %377, i8** %379
br label %249
380: ; preds = %273
br label %382
381: ; preds = %382
br label %306
382: ; preds = %380
%383 = load i8*, i8** %8
%384 = getelementptr inbounds i8, i8* %383, i64 7744
store i8* %384, i8** %54
%385 = load i8*, i8** %54
%386 = call i32 @xsi_report(i8* %385, i32 65, i8 zeroext 3)
br label %381
387: ; preds = %303
%388 = load i8*, i8** %8
%389 = getelementptr inbounds i8, i8* %388, i64 1288
store i8* %389, i8** %26
%390 = load i8*, i8** %26
%391 = bitcast i8* %390 to i8**
%392 = load i8*, i8** %391
store i8* %392, i8** %27
%393 = load i8*, i8** %10
%394 = getelementptr inbounds i8, i8* %393, i64 0
store i8* %394, i8** %26
%395 = getelementptr inbounds [16 x i8], [16 x i8]* %16, i64 0, i64 0
%396 = getelementptr inbounds i8, i8* %395, i64 0
store i8* %396, i8** %32
%397 = load i8*, i8** %32
%398 = bitcast i8* %397 to i32*
%399 = load i32, i32* %398
store i32 %399, i32* %59
%400 = getelementptr inbounds [16 x i8], [16 x i8]* %16, i64 0, i64 0
%401 = getelementptr inbounds i8, i8* %400, i64 8
store i8* %401, i8** %34
%402 = load i8*, i8** %34
%403 = bitcast i8* %402 to i32*
%404 = load i32, i32* %403
store i32 %404, i32* %60
%405 = load i32, i32* %36
%406 = load i32, i32* %59
%407 = sub nsw i32 %405, %406
store i32 %407, i32* %61
%408 = load i32, i32* %61
%409 = load i32, i32* %60
%410 = mul nsw i32 %408, %409
store i32 %410, i32* %21
%411 = getelementptr inbounds [16 x i8], [16 x i8]* %16, i64 0, i64 0
%412 = getelementptr inbounds i8, i8* %411, i64 4
store i8* %412, i8** %38
%413 = load i8*, i8** %38
%414 = bitcast i8* %413 to i32*
%415 = load i32, i32* %414
store i32 %415, i32* %62
%416 = load i32, i32* %59
%417 = load i32, i32* %62
%418 = load i32, i32* %60
%419 = load i32, i32* %36
%420 = trunc i32 %419 to i8
%421 = call i32 @xsi_vhdl_check_range_of_index(i32 %416, i32 %417, i32 %418, i8 zeroext %420)
%422 = load i32, i32* %21
%423 = mul i32 1, %422
store i32 %423, i32* %25
%424 = load i32, i32* %25
%425 = add i32 0, %424
store i32 %425, i32* %29
%426 = load i8*, i8** %26
%427 = load i32, i32* %29
%428 = zext i32 %427 to i64
%429 = getelementptr inbounds i8, i8* %426, i64 %428
store i8* %429, i8** %39
%430 = load i8*, i8** %39
%431 = load i8, i8* %430
store i8 %431, i8* %45
%432 = load i8, i8* %45
%433 = zext i8 %432 to i32
%434 = sub nsw i32 %433, 0
store i32 %434, i32* %63
%435 = load i32, i32* %63
%436 = mul nsw i32 %435, 1
store i32 %436, i32* %31
%437 = load i8, i8* %45
%438 = call i32 @xsi_vhdl_check_range_of_index(i32 0, i32 8, i32 1, i8 zeroext %437)
%439 = load i32, i32* %31
%440 = mul i32 %439, 9
store i32 %440, i32* %33
%441 = load i8*, i8** %12
%442 = getelementptr inbounds i8, i8* %441, i64 0
store i8* %442, i8** %41
%443 = getelementptr inbounds [16 x i8], [16 x i8]* %17, i64 0, i64 0
%444 = getelementptr inbounds i8, i8* %443, i64 0
store i8* %444, i8** %42
%445 = load i8*, i8** %42
%446 = bitcast i8* %445 to i32*
%447 = load i32, i32* %446
store i32 %447, i32* %64
%448 = getelementptr inbounds [16 x i8], [16 x i8]* %17, i64 0, i64 0
%449 = getelementptr inbounds i8, i8* %448, i64 8
store i8* %449, i8** %43
%450 = load i8*, i8** %43
%451 = bitcast i8* %450 to i32*
%452 = load i32, i32* %451
store i32 %452, i32* %65
%453 = load i32, i32* %36
%454 = load i32, i32* %64
%455 = sub nsw i32 %453, %454
store i32 %455, i32* %66
%456 = load i32, i32* %66
%457 = load i32, i32* %65
%458 = mul nsw i32 %456, %457
store i32 %458, i32* %37
%459 = getelementptr inbounds [16 x i8], [16 x i8]* %17, i64 0, i64 0
%460 = getelementptr inbounds i8, i8* %459, i64 4
store i8* %460, i8** %50
%461 = load i8*, i8** %50
%462 = bitcast i8* %461 to i32*
%463 = load i32, i32* %462
store i32 %463, i32* %67
%464 = load i32, i32* %64
%465 = load i32, i32* %67
%466 = load i32, i32* %65
%467 = load i32, i32* %36
%468 = trunc i32 %467 to i8
%469 = call i32 @xsi_vhdl_check_range_of_index(i32 %464, i32 %465, i32 %466, i8 zeroext %468)
%470 = load i32, i32* %37
%471 = mul i32 1, %470
store i32 %471, i32* %52
%472 = load i32, i32* %52
%473 = add i32 0, %472
store i32 %473, i32* %68
%474 = load i8*, i8** %41
%475 = load i32, i32* %68
%476 = zext i32 %475 to i64
%477 = getelementptr inbounds i8, i8* %474, i64 %476
store i8* %477, i8** %51
%478 = load i8*, i8** %51
%479 = load i8, i8* %478
store i8 %479, i8* %48
%480 = load i8, i8* %48
%481 = zext i8 %480 to i32
%482 = sub nsw i32 %481, 0
store i32 %482, i32* %69
%483 = load i32, i32* %69
%484 = mul nsw i32 %483, 1
store i32 %484, i32* %70
%485 = load i8, i8* %48
%486 = call i32 @xsi_vhdl_check_range_of_index(i32 0, i32 8, i32 1, i8 zeroext %485)
%487 = load i32, i32* %33
%488 = load i32, i32* %70
%489 = add i32 %487, %488
store i32 %489, i32* %71
%490 = load i32, i32* %71
%491 = mul i32 1, %490
store i32 %491, i32* %72
%492 = load i32, i32* %72
%493 = add i32 0, %492
store i32 %493, i32* %73
%494 = load i8*, i8** %27
%495 = load i32, i32* %73
%496 = zext i32 %495 to i64
%497 = getelementptr inbounds i8, i8* %494, i64 %496
store i8* %497, i8** %54
%498 = load i8*, i8** %54
%499 = load i8, i8* %498
store i8 %499, i8* %53
%500 = load i8*, i8** %35
%501 = getelementptr inbounds i8, i8* %500, i64 56
store i8* %501, i8** %55
%502 = load i8*, i8** %55
%503 = bitcast i8* %502 to i8**
%504 = load i8*, i8** %503
store i8* %504, i8** %74
%505 = getelementptr inbounds [16 x i8], [16 x i8]* %18, i64 0, i64 0
%506 = getelementptr inbounds i8, i8* %505, i64 0
store i8* %506, i8** %55
%507 = load i8*, i8** %55
%508 = bitcast i8* %507 to i32*
%509 = load i32, i32* %508
store i32 %509, i32* %75
%510 = getelementptr inbounds [16 x i8], [16 x i8]* %18, i64 0, i64 0
%511 = getelementptr inbounds i8, i8* %510, i64 8
store i8* %511, i8** %76
%512 = load i8*, i8** %76
%513 = bitcast i8* %512 to i32*
%514 = load i32, i32* %513
store i32 %514, i32* %77
%515 = load i32, i32* %36
%516 = load i32, i32* %75
%517 = sub nsw i32 %515, %516
store i32 %517, i32* %78
%518 = load i32, i32* %78
%519 = load i32, i32* %77
%520 = mul nsw i32 %518, %519
store i32 %520, i32* %79
%521 = load i32, i32* %79
%522 = mul i32 1, %521
store i32 %522, i32* %80
%523 = load i32, i32* %80
%524 = add i32 0, %523
store i32 %524, i32* %81
%525 = load i8*, i8** %74
%526 = load i32, i32* %81
%527 = zext i32 %526 to i64
%528 = getelementptr inbounds i8, i8* %525, i64 %527
store i8* %528, i8** %82
%529 = load i8, i8* %53
%530 = load i8*, i8** %82
store i8 %529, i8* %530
br label %531
531: ; preds = %387
%532 = load i32, i32* %36
%533 = load i32, i32* %56
%534 = icmp eq i32 %532, %533
br i1 %534, label %535, label %536
535: ; preds = %531
br label %305
536: ; preds = %531
br label %537
537: ; preds = %536
%538 = load i32, i32* %36
%539 = load i32, i32* %24
%540 = add nsw i32 %538, %539
store i32 %540, i32* %28
%541 = load i32, i32* %28
store i32 %541, i32* %36
br label %293
542: ; No predecessors!
br label %543
543: ; preds = %542, %370
%544 = load i8*, i8** %7
ret i8* %544
}

LLVM IR (-O2):
define i8* @ieee_p_2592010699_sub_16439989832805790689_503743352(i8* %0, i8* nocapture writeonly %1, i8* nocapture %2, i8* nocapture %3, i8* nocapture %4, i8* nocapture %5) {
%7 = alloca [16 x i8]
%8 = getelementptr inbounds [16 x i8], [16 x i8]* %7, i64 0, i64 0
%9 = getelementptr inbounds i8, i8* %3, i64 12
%10 = bitcast i8* %9 to i32*
%11 = load i32, i32* %10
%12 = getelementptr inbounds i8, i8* %5, i64 12
%13 = bitcast i8* %12 to i32*
%14 = load i32, i32* %13
%15 = bitcast [16 x i8]* %7 to i32*
store i32 1, i32* %15
%16 = getelementptr inbounds [16 x i8], [16 x i8]* %7, i64 0, i64 4
%17 = bitcast i8* %16 to i32*
store i32 %11, i32* %17
%18 = getelementptr inbounds [16 x i8], [16 x i8]* %7, i64 0, i64 8
%19 = bitcast i8* %18 to i32*
store i32 1, i32* %19
%20 = getelementptr inbounds [16 x i8], [16 x i8]* %7, i64 0, i64 12
%21 = bitcast i8* %20 to i32*
store i32 %11, i32* %21
%22 = getelementptr inbounds i8, i8* %0, i64 4000
%23 = tail call i64 @alloca(i32 %11)
%24 = inttoptr i64 %23 to i8*
%25 = call i32 @xsi_type_set_default_value(i8* %22, i8* %24, i8* %8)
%26 = load i32, i32* %10
%27 = load i32, i32* %13
%28 = icmp eq i32 %26, %27
br i1 %28, label %29, label %55
29: ; preds = %6
%30 = load i32, i32* %19
%31 = load i32, i32* %17
%32 = load i32, i32* %15
%33 = getelementptr inbounds i8, i8* %0, i64 1288
%34 = bitcast i8* %33 to i8**
%35 = mul nsw i32 %31, %30
%36 = mul nsw i32 %32, %30
%37 = icmp sgt i32 %36, %35
br i1 %37, label %38, label %58
38: ; preds = %58, %29, %55
%39 = load i32, i32* %21
%40 = call i8* @xsi_get_transient_memory(i32 %39)
%41 = call i32 @memcpy(i8* %40, i8* %24, i32 %39)
%42 = load i32, i32* %15
%43 = load i32, i32* %17
%44 = load i32, i32* %19
%45 = bitcast i8* %1 to i32*
store i32 %42, i32* %45
%46 = getelementptr inbounds i8, i8* %1, i64 4
%47 = bitcast i8* %46 to i32*
store i32 %43, i32* %47
%48 = getelementptr inbounds i8, i8* %1, i64 8
%49 = bitcast i8* %48 to i32*
store i32 %44, i32* %49
%50 = sub nsw i32 %43, %42
%51 = mul nsw i32 %50, %44
%52 = add i32 %51, 1
%53 = getelementptr inbounds i8, i8* %1, i64 12
%54 = bitcast i8* %53 to i32*
store i32 %52, i32* %54
ret i8* %40
55: ; preds = %6
%56 = getelementptr inbounds i8, i8* %0, i64 7744
%57 = call i32 @xsi_report(i8* %56, i32 65, i8 zeroext 3)
br label %38
58: ; preds = %29, %58
%59 = phi i32 [ %85, %58 ], [ %32, %29 ]
%60 = load i8*, i8** %34
%61 = add nsw i32 %59, -1
%62 = trunc i32 %59 to i8
%63 = call i32 @xsi_vhdl_check_range_of_index(i32 1, i32 %11, i32 1, i8 zeroext %62)
%64 = zext i32 %61 to i64
%65 = getelementptr inbounds i8, i8* %2, i64 %64
%66 = load i8, i8* %65
%67 = zext i8 %66 to i64
%68 = call i32 @xsi_vhdl_check_range_of_index(i32 0, i32 8, i32 1, i8 zeroext %66)
%69 = mul nuw nsw i64 %67, 9
%70 = call i32 @xsi_vhdl_check_range_of_index(i32 1, i32 %14, i32 1, i8 zeroext %62)
%71 = getelementptr inbounds i8, i8* %4, i64 %64
%72 = load i8, i8* %71
%73 = zext i8 %72 to i64
%74 = call i32 @xsi_vhdl_check_range_of_index(i32 0, i32 8, i32 1, i8 zeroext %72)
%75 = add nuw nsw i64 %69, %73
%76 = getelementptr inbounds i8, i8* %60, i64 %75
%77 = load i8, i8* %76
%78 = load i32, i32* %15
%79 = load i32, i32* %19
%80 = sub nsw i32 %59, %78
%81 = mul nsw i32 %80, %79
%82 = zext i32 %81 to i64
%83 = getelementptr inbounds i8, i8* %24, i64 %82
store i8 %77, i8* %83
%84 = icmp eq i32 %59, %31
%85 = add nsw i32 %59, %30
%86 = mul nsw i32 %85, %30
%87 = icmp sgt i32 %86, %35
%88 = select i1 %84, i1 true, i1 %87
br i1 %88, label %38, label %58
}