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


x86 assembly (clang, -O0):
<ieee_p_2592010699_sub_13398659724458110224_503743352>:
push   %rbp
mov    %rsp,%rbp
sub    $0x290,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
mov    %rcx,-0x28(%rbp)
mov    -0x28(%rbp),%rax
add    $0xc,%rax
mov    %rax,-0x100(%rbp)
mov    -0x100(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x104(%rbp)
lea    -0xe0(%rbp),%rax
mov    %rax,-0x110(%rbp)
mov    -0x110(%rbp),%rax
mov    %rax,-0x118(%rbp)
mov    -0x118(%rbp),%rax
movl   $0x1,(%rax)
mov    -0x110(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x118(%rbp)
mov    -0x104(%rbp),%ecx
mov    -0x118(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x110(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x118(%rbp)
mov    -0x118(%rbp),%rax
movl   $0x1,(%rax)
mov    -0x104(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x11c(%rbp)
mov    -0x11c(%rbp),%eax
shl    $0x0,%eax
mov    %eax,-0x120(%rbp)
mov    -0x120(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x120(%rbp)
mov    -0x110(%rbp),%rax
add    $0xc,%rax
mov    %rax,-0x118(%rbp)
mov    -0x120(%rbp),%ecx
mov    -0x118(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x28(%rbp),%rax
add    $0xc,%rax
mov    %rax,-0x118(%rbp)
mov    -0x118(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x120(%rbp)
mov    -0x120(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x124(%rbp)
mov    -0x124(%rbp),%eax
shl    $0x0,%eax
mov    %eax,-0x128(%rbp)
mov    -0x128(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x128(%rbp)
mov    -0x128(%rbp),%eax
shl    $0x0,%eax
mov    %eax,-0x128(%rbp)
mov    -0x28(%rbp),%rax
add    $0xc,%rax
mov    %rax,-0x130(%rbp)
mov    -0x130(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x134(%rbp)
lea    -0xf0(%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)
lea    -0xb0(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x148(%rbp)
mov    -0x10(%rbp),%rax
add    $0xf38,%rax
mov    %rax,-0x158(%rbp)
mov    -0x148(%rbp),%rax
add    $0x58,%rax
mov    %rax,-0x160(%rbp)
mov    -0x158(%rbp),%rcx
mov    -0x160(%rbp),%rax
mov    %rcx,(%rax)
mov    -0x128(%rbp),%edi
call   1040 <alloca@plt>
mov    %rax,-0x168(%rbp)
mov    -0x148(%rbp),%rax
add    $0x38,%rax
mov    %rax,-0x170(%rbp)
mov    -0x168(%rbp),%rcx
mov    -0x170(%rbp),%rax
mov    %rcx,(%rax)
mov    -0x158(%rbp),%rdi
mov    -0x168(%rbp),%rsi
lea    -0xf0(%rbp),%rdx
call   1030 <xsi_type_set_default_value@plt>
mov    -0x148(%rbp),%rax
add    $0x40,%rax
mov    %rax,-0x178(%rbp)
lea    -0xf0(%rbp),%rcx
mov    -0x178(%rbp),%rax
mov    %rcx,(%rax)
mov    -0x148(%rbp),%rax
add    $0x50,%rax
mov    %rax,-0x180(%rbp)
mov    -0x128(%rbp),%ecx
mov    -0x180(%rbp),%rax
mov    %ecx,(%rax)
lea    -0xd0(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x188(%rbp)
cmpq   $0x0,-0x20(%rbp)
setne  %al
and    $0x1,%al
movzbl %al,%eax
mov    %al,-0x189(%rbp)
movzbl -0x189(%rbp),%eax
cmp    $0x1,%eax
jne    1482 <ieee_p_2592010699_sub_13398659724458110224_503743352+0x332>
jmp    170c <ieee_p_2592010699_sub_13398659724458110224_503743352+0x5bc>
jmp    1487 <ieee_p_2592010699_sub_13398659724458110224_503743352+0x337>
lea    -0xd0(%rbp),%rax
add    $0xc,%rax
mov    %rax,-0x198(%rbp)
mov    -0x28(%rbp),%rcx
mov    -0x198(%rbp),%rax
mov    %rcx,(%rax)
lea    -0xf0(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x1a0(%rbp)
mov    -0x1a0(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x1a4(%rbp)
lea    -0xf0(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x1b0(%rbp)
mov    -0x1b0(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x1b4(%rbp)
lea    -0xf0(%rbp),%rax
mov    %rax,-0x1c0(%rbp)
mov    -0x1c0(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x1c4(%rbp)
mov    -0x1c4(%rbp),%eax
mov    %eax,-0x1c8(%rbp)
mov    -0x1b4(%rbp),%eax
mov    %eax,-0x1cc(%rbp)
mov    -0x1cc(%rbp),%eax
imul   -0x1a4(%rbp),%eax
mov    %eax,-0x1d0(%rbp)
mov    -0x1c8(%rbp),%eax
imul   -0x1a4(%rbp),%eax
mov    %eax,-0x1d4(%rbp)
mov    -0x1d4(%rbp),%eax
cmp    -0x1d0(%rbp),%eax
jg     155b <ieee_p_2592010699_sub_13398659724458110224_503743352+0x40b>
jmp    171f <ieee_p_2592010699_sub_13398659724458110224_503743352+0x5cf>
jmp    1560 <ieee_p_2592010699_sub_13398659724458110224_503743352+0x410>
mov    -0x148(%rbp),%rax
add    $0x38,%rax
mov    %rax,-0x100(%rbp)
mov    -0x100(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x110(%rbp)
lea    -0xf0(%rbp),%rax
add    $0xc,%rax
mov    %rax,-0x100(%rbp)
mov    -0x100(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x104(%rbp)
mov    -0x104(%rbp),%eax
shl    $0x0,%eax
mov    %eax,-0x104(%rbp)
mov    -0x104(%rbp),%edi
call   1070 <xsi_get_transient_memory@plt>
mov    %rax,-0xf8(%rbp)
mov    -0xf8(%rbp),%rdi
mov    -0x110(%rbp),%rsi
mov    -0x104(%rbp),%edx
call   1050 <memcpy@plt>
lea    -0xf0(%rbp),%rax
mov    %rax,-0x118(%rbp)
mov    -0x118(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x11c(%rbp)
lea    -0xf0(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x130(%rbp)
mov    -0x130(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x124(%rbp)
lea    -0xf0(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x140(%rbp)
mov    -0x140(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x14c(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,-0x158(%rbp)
mov    -0x158(%rbp),%rax
mov    %rax,-0x160(%rbp)
mov    -0x11c(%rbp),%ecx
mov    -0x160(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x158(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x160(%rbp)
mov    -0x124(%rbp),%ecx
mov    -0x160(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x158(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x160(%rbp)
mov    -0x14c(%rbp),%ecx
mov    -0x160(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x124(%rbp),%eax
sub    -0x11c(%rbp),%eax
mov    %eax,-0x1a4(%rbp)
mov    -0x1a4(%rbp),%eax
imul   -0x14c(%rbp),%eax
mov    %eax,-0x120(%rbp)
mov    -0x120(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x120(%rbp)
mov    -0x158(%rbp),%rax
add    $0xc,%rax
mov    %rax,-0x160(%rbp)
mov    -0x120(%rbp),%ecx
mov    -0x160(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xf8(%rbp),%rax
mov    %rax,-0x8(%rbp)
jmp    199d <ieee_p_2592010699_sub_13398659724458110224_503743352+0x84d>
mov    -0x20(%rbp),%rcx
mov    -0x188(%rbp),%rax
mov    %rcx,(%rax)
jmp    1487 <ieee_p_2592010699_sub_13398659724458110224_503743352+0x337>
mov    -0x10(%rbp),%rax
add    $0x760,%rax
mov    %rax,-0x1e0(%rbp)
mov    -0x1e0(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x1e8(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x1e0(%rbp)
lea    -0xe0(%rbp),%rax
mov    %rax,-0x1f0(%rbp)
mov    -0x1f0(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x1f4(%rbp)
lea    -0xe0(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x200(%rbp)
mov    -0x200(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x204(%rbp)
mov    -0x1c8(%rbp),%eax
sub    -0x1f4(%rbp),%eax
mov    %eax,-0x208(%rbp)
mov    -0x208(%rbp),%eax
imul   -0x204(%rbp),%eax
mov    %eax,-0x150(%rbp)
lea    -0xe0(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x210(%rbp)
mov    -0x210(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x214(%rbp)
mov    -0x1f4(%rbp),%edi
mov    -0x214(%rbp),%esi
mov    -0x204(%rbp),%edx
mov    -0x1c8(%rbp),%ecx
call   1060 <xsi_vhdl_check_range_of_index@plt>
mov    -0x150(%rbp),%eax
shl    $0x0,%eax
mov    %eax,-0x218(%rbp)
mov    -0x218(%rbp),%eax
add    $0x0,%eax
mov    %eax,-0x21c(%rbp)
mov    -0x1e0(%rbp),%rax
mov    -0x21c(%rbp),%ecx
add    %rcx,%rax
mov    %rax,-0x228(%rbp)
mov    -0x228(%rbp),%rax
mov    (%rax),%al
mov    %al,-0x229(%rbp)
movzbl -0x229(%rbp),%eax
sub    $0x0,%eax
mov    %eax,-0x230(%rbp)
mov    -0x230(%rbp),%eax
shl    $0x0,%eax
mov    %eax,-0x234(%rbp)
mov    -0x234(%rbp),%eax
shl    $0x0,%eax
mov    %eax,-0x238(%rbp)
mov    -0x238(%rbp),%eax
add    $0x0,%eax
mov    %eax,-0x23c(%rbp)
mov    -0x1e8(%rbp),%rax
mov    -0x23c(%rbp),%ecx
add    %rcx,%rax
mov    %rax,-0x248(%rbp)
mov    -0x248(%rbp),%rax
mov    (%rax),%al
mov    %al,-0x249(%rbp)
mov    -0x148(%rbp),%rax
add    $0x38,%rax
mov    %rax,-0x258(%rbp)
mov    -0x258(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x260(%rbp)
lea    -0xf0(%rbp),%rax
mov    %rax,-0x258(%rbp)
mov    -0x258(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x264(%rbp)
lea    -0xf0(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x270(%rbp)
mov    -0x270(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x274(%rbp)
mov    -0x1c8(%rbp),%eax
sub    -0x264(%rbp),%eax
mov    %eax,-0x278(%rbp)
mov    -0x278(%rbp),%eax
imul   -0x274(%rbp),%eax
mov    %eax,-0x27c(%rbp)
mov    -0x27c(%rbp),%eax
shl    $0x0,%eax
mov    %eax,-0x280(%rbp)
mov    -0x280(%rbp),%eax
add    $0x0,%eax
mov    %eax,-0x284(%rbp)
mov    -0x260(%rbp),%rax
mov    -0x284(%rbp),%ecx
add    %rcx,%rax
mov    %rax,-0x290(%rbp)
mov    -0x249(%rbp),%cl
mov    -0x290(%rbp),%rax
mov    %cl,(%rax)
mov    -0x1c8(%rbp),%eax
cmp    -0x1cc(%rbp),%eax
jne    1975 <ieee_p_2592010699_sub_13398659724458110224_503743352+0x825>
jmp    1560 <ieee_p_2592010699_sub_13398659724458110224_503743352+0x410>
jmp    197a <ieee_p_2592010699_sub_13398659724458110224_503743352+0x82a>
mov    -0x1c8(%rbp),%eax
add    -0x1a4(%rbp),%eax
mov    %eax,-0x11c(%rbp)
mov    -0x11c(%rbp),%eax
mov    %eax,-0x1c8(%rbp)
jmp    151e <ieee_p_2592010699_sub_13398659724458110224_503743352+0x3ce>
mov    -0x8(%rbp),%rax
add    $0x290,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ieee_p_2592010699_sub_13398659724458110224_503743352>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    %rdx,0x40(%rsp)
mov    %rsi,0x30(%rsp)
mov    0xc(%rcx),%eax
movl   $0x1,(%rsp)
mov    %eax,0x4(%rsp)
movl   $0x1,0x8(%rsp)
mov    %eax,0xc(%rsp)
mov    %rdi,0x38(%rsp)
lea    0xf38(%rdi),%rbx
mov    %eax,0x1c(%rsp)
mov    %eax,%edi
call   1040 <alloca@plt>
mov    %rsp,%rdx
mov    %rbx,%rdi
mov    %rax,0x28(%rsp)
mov    %rax,%rsi
call   1030 <xsi_type_set_default_value@plt>
mov    0x8(%rsp),%ecx
mov    (%rsp),%ebx
mov    0x4(%rsp),%r15d
mov    %r15d,0x18(%rsp)
imul   %ecx,%r15d
mov    %ebx,%eax
mov    %rcx,0x20(%rsp)
imul   %ecx,%eax
cmp    %r15d,%eax
jg     124a <ieee_p_2592010699_sub_13398659724458110224_503743352+0xfa>
mov    0x20(%rsp),%r14
lea    (%rbx,%r14,1),%r13d
imul   %r14d,%r13d
imul   %r14d,%r14d
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    0x38(%rsp),%rax
mov    0x760(%rax),%r12
lea    -0x1(%rbx),%ebp
mov    $0x1,%edi
mov    0x1c(%rsp),%esi
mov    $0x1,%edx
mov    %ebx,%ecx
call   1060 <xsi_vhdl_check_range_of_index@plt>
mov    0x40(%rsp),%rax
movzbl (%rax,%rbp,1),%eax
movzbl (%r12,%rax,1),%eax
mov    %ebx,%ecx
sub    (%rsp),%ecx
imul   0x8(%rsp),%ecx
mov    0x28(%rsp),%rdx
mov    %al,(%rdx,%rcx,1)
cmp    %ebx,0x18(%rsp)
je     124a <ieee_p_2592010699_sub_13398659724458110224_503743352+0xfa>
add    0x20(%rsp),%ebx
lea    (%r14,%r13,1),%eax
cmp    %r15d,%r13d
mov    %eax,%r13d
jle    11f0 <ieee_p_2592010699_sub_13398659724458110224_503743352+0xa0>
mov    0xc(%rsp),%ebx
mov    %ebx,%edi
call   1070 <xsi_get_transient_memory@plt>
mov    %rax,%rbp
mov    %rax,%rdi
mov    0x28(%rsp),%rsi
mov    %ebx,%edx
call   1050 <memcpy@plt>
mov    (%rsp),%eax
mov    0x4(%rsp),%ecx
mov    0x8(%rsp),%edx
mov    0x30(%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    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define i8* @ieee_p_2592010699_sub_13398659724458110224_503743352(i8* %0, i8* %1, i8* %2, i8* %3) {
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca i8*
%10 = alloca [128 x i8]
%11 = alloca [24 x i8]
%12 = alloca [16 x i8]
%13 = alloca [16 x i8]
%14 = alloca i8*
%15 = alloca i8*
%16 = alloca i32
%17 = alloca i8*
%18 = alloca i8*
%19 = alloca i32
%20 = alloca i32
%21 = alloca i32
%22 = alloca i32
%23 = alloca i8*
%24 = alloca i32
%25 = alloca i8*
%26 = alloca i8*
%27 = alloca i32
%28 = alloca i32
%29 = alloca i8*
%30 = alloca i8*
%31 = alloca i8*
%32 = alloca i8*
%33 = alloca i8*
%34 = alloca i8*
%35 = alloca i8*
%36 = alloca i8
%37 = alloca i8*
%38 = alloca i8*
%39 = alloca i32
%40 = alloca i8*
%41 = alloca i32
%42 = alloca i8*
%43 = alloca i32
%44 = alloca i32
%45 = alloca i32
%46 = alloca i32
%47 = alloca i32
%48 = alloca i8*
%49 = alloca i8*
%50 = alloca i8*
%51 = alloca i32
%52 = alloca i8*
%53 = alloca i32
%54 = alloca i32
%55 = alloca i8*
%56 = alloca i32
%57 = alloca i32
%58 = alloca i32
%59 = alloca i8*
%60 = alloca i8
%61 = alloca i32
%62 = alloca i32
%63 = alloca i32
%64 = alloca i32
%65 = alloca i8*
%66 = alloca i8
%67 = alloca i8*
%68 = alloca i8*
%69 = alloca i32
%70 = alloca i8*
%71 = alloca i32
%72 = alloca i32
%73 = alloca i32
%74 = alloca i32
%75 = alloca i32
%76 = alloca i8*
store i8* %0, i8** %6
store i8* %1, i8** %7
store i8* %2, i8** %8
store i8* %3, i8** %9
br label %77
77: ; preds = %4
%78 = load i8*, i8** %9
%79 = getelementptr inbounds i8, i8* %78, i64 12
store i8* %79, i8** %15
%80 = load i8*, i8** %15
%81 = bitcast i8* %80 to i32*
%82 = load i32, i32* %81
store i32 %82, i32* %16
%83 = getelementptr inbounds [16 x i8], [16 x i8]* %12, i64 0, i64 0
%84 = getelementptr inbounds i8, i8* %83, i64 0
store i8* %84, i8** %17
%85 = load i8*, i8** %17
%86 = getelementptr inbounds i8, i8* %85, i64 0
store i8* %86, i8** %18
%87 = load i8*, i8** %18
%88 = bitcast i8* %87 to i32*
store i32 1, i32* %88
%89 = load i8*, i8** %17
%90 = getelementptr inbounds i8, i8* %89, i64 4
store i8* %90, i8** %18
%91 = load i32, i32* %16
%92 = load i8*, i8** %18
%93 = bitcast i8* %92 to i32*
store i32 %91, i32* %93
%94 = load i8*, i8** %17
%95 = getelementptr inbounds i8, i8* %94, i64 8
store i8* %95, i8** %18
%96 = load i8*, i8** %18
%97 = bitcast i8* %96 to i32*
store i32 1, i32* %97
%98 = load i32, i32* %16
%99 = sub i32 %98, 1
store i32 %99, i32* %19
%100 = load i32, i32* %19
%101 = mul nsw i32 %100, 1
store i32 %101, i32* %20
%102 = load i32, i32* %20
%103 = add i32 %102, 1
store i32 %103, i32* %20
%104 = load i8*, i8** %17
%105 = getelementptr inbounds i8, i8* %104, i64 12
store i8* %105, i8** %18
%106 = load i32, i32* %20
%107 = load i8*, i8** %18
%108 = bitcast i8* %107 to i32*
store i32 %106, i32* %108
%109 = load i8*, i8** %9
%110 = getelementptr inbounds i8, i8* %109, i64 12
store i8* %110, i8** %18
%111 = load i8*, i8** %18
%112 = bitcast i8* %111 to i32*
%113 = load i32, i32* %112
store i32 %113, i32* %20
%114 = load i32, i32* %20
%115 = sub i32 %114, 1
store i32 %115, i32* %21
%116 = load i32, i32* %21
%117 = mul nsw i32 %116, 1
store i32 %117, i32* %22
%118 = load i32, i32* %22
%119 = add i32 %118, 1
store i32 %119, i32* %22
%120 = load i32, i32* %22
%121 = mul i32 %120, 1
store i32 %121, i32* %22
%122 = load i8*, i8** %9
%123 = getelementptr inbounds i8, i8* %122, i64 12
store i8* %123, i8** %23
%124 = load i8*, i8** %23
%125 = bitcast i8* %124 to i32*
%126 = load i32, i32* %125
store i32 %126, i32* %24
%127 = getelementptr inbounds [16 x i8], [16 x i8]* %13, i64 0, i64 0
%128 = getelementptr inbounds i8, i8* %127, i64 0
store i8* %128, i8** %25
%129 = load i8*, i8** %25
%130 = getelementptr inbounds i8, i8* %129, i64 0
store i8* %130, i8** %26
%131 = load i8*, i8** %26
%132 = bitcast i8* %131 to i32*
store i32 1, i32* %132
%133 = load i8*, i8** %25
%134 = getelementptr inbounds i8, i8* %133, i64 4
store i8* %134, i8** %26
%135 = load i32, i32* %24
%136 = load i8*, i8** %26
%137 = bitcast i8* %136 to i32*
store i32 %135, i32* %137
%138 = load i8*, i8** %25
%139 = getelementptr inbounds i8, i8* %138, i64 8
store i8* %139, i8** %26
%140 = load i8*, i8** %26
%141 = bitcast i8* %140 to i32*
store i32 1, i32* %141
%142 = load i32, i32* %24
%143 = sub i32 %142, 1
store i32 %143, i32* %27
%144 = load i32, i32* %27
%145 = mul nsw i32 %144, 1
store i32 %145, i32* %28
%146 = load i32, i32* %28
%147 = add i32 %146, 1
store i32 %147, i32* %28
%148 = load i8*, i8** %25
%149 = getelementptr inbounds i8, i8* %148, i64 12
store i8* %149, i8** %26
%150 = load i32, i32* %28
%151 = load i8*, i8** %26
%152 = bitcast i8* %151 to i32*
store i32 %150, i32* %152
%153 = getelementptr inbounds [128 x i8], [128 x i8]* %10, i64 0, i64 0
%154 = getelementptr inbounds i8, i8* %153, i64 4
store i8* %154, i8** %26
%155 = load i8*, i8** %6
%156 = getelementptr inbounds i8, i8* %155, i64 3896
store i8* %156, i8** %29
%157 = load i8*, i8** %26
%158 = getelementptr inbounds i8, i8* %157, i64 88
store i8* %158, i8** %30
%159 = load i8*, i8** %29
%160 = load i8*, i8** %30
%161 = bitcast i8* %160 to i8**
store i8* %159, i8** %161
%162 = load i32, i32* %22
%163 = call i64 @alloca(i32 %162)
%164 = inttoptr i64 %163 to i8*
store i8* %164, i8** %31
%165 = load i8*, i8** %26
%166 = getelementptr inbounds i8, i8* %165, i64 56
store i8* %166, i8** %32
%167 = load i8*, i8** %31
%168 = load i8*, i8** %32
%169 = bitcast i8* %168 to i8**
store i8* %167, i8** %169
%170 = load i8*, i8** %29
%171 = load i8*, i8** %31
%172 = getelementptr inbounds [16 x i8], [16 x i8]* %13, i64 0, i64 0
%173 = call i32 @xsi_type_set_default_value(i8* %170, i8* %171, i8* %172)
%174 = load i8*, i8** %26
%175 = getelementptr inbounds i8, i8* %174, i64 64
store i8* %175, i8** %33
%176 = getelementptr inbounds [16 x i8], [16 x i8]* %13, i64 0, i64 0
%177 = load i8*, i8** %33
%178 = bitcast i8* %177 to i8**
store i8* %176, i8** %178
%179 = load i8*, i8** %26
%180 = getelementptr inbounds i8, i8* %179, i64 80
store i8* %180, i8** %34
%181 = load i32, i32* %22
%182 = load i8*, i8** %34
%183 = bitcast i8* %182 to i32*
store i32 %181, i32* %183
%184 = getelementptr inbounds [24 x i8], [24 x i8]* %11, i64 0, i64 0
%185 = getelementptr inbounds i8, i8* %184, i64 4
store i8* %185, i8** %35
%186 = load i8*, i8** %8
%187 = icmp ne i8* %186, null
%188 = zext i1 %187 to i32
%189 = trunc i32 %188 to i8
store i8 %189, i8* %36
%190 = load i8, i8* %36
%191 = zext i8 %190 to i32
%192 = icmp eq i32 %191, 1
br i1 %192, label %193, label %194
193: ; preds = %77
br label %296
194: ; preds = %77
br label %195
195: ; preds = %296, %194
%196 = getelementptr inbounds [24 x i8], [24 x i8]* %11, i64 0, i64 0
%197 = getelementptr inbounds i8, i8* %196, i64 12
store i8* %197, i8** %37
%198 = load i8*, i8** %9
%199 = load i8*, i8** %37
%200 = bitcast i8* %199 to i8**
store i8* %198, i8** %200
%201 = getelementptr inbounds [16 x i8], [16 x i8]* %13, i64 0, i64 0
%202 = getelementptr inbounds i8, i8* %201, i64 8
store i8* %202, i8** %38
%203 = load i8*, i8** %38
%204 = bitcast i8* %203 to i32*
%205 = load i32, i32* %204
store i32 %205, i32* %39
%206 = getelementptr inbounds [16 x i8], [16 x i8]* %13, i64 0, i64 0
%207 = getelementptr inbounds i8, i8* %206, i64 4
store i8* %207, i8** %40
%208 = load i8*, i8** %40
%209 = bitcast i8* %208 to i32*
%210 = load i32, i32* %209
store i32 %210, i32* %41
%211 = getelementptr inbounds [16 x i8], [16 x i8]* %13, i64 0, i64 0
%212 = getelementptr inbounds i8, i8* %211, i64 0
store i8* %212, i8** %42
%213 = load i8*, i8** %42
%214 = bitcast i8* %213 to i32*
%215 = load i32, i32* %214
store i32 %215, i32* %43
%216 = load i32, i32* %43
store i32 %216, i32* %44
%217 = load i32, i32* %41
store i32 %217, i32* %45
br label %218
218: ; preds = %396, %195
%219 = load i32, i32* %45
%220 = load i32, i32* %39
%221 = mul nsw i32 %219, %220
store i32 %221, i32* %46
%222 = load i32, i32* %44
%223 = load i32, i32* %39
%224 = mul nsw i32 %222, %223
store i32 %224, i32* %47
%225 = load i32, i32* %47
%226 = load i32, i32* %46
%227 = icmp sle i32 %225, %226
br i1 %227, label %228, label %229
228: ; preds = %218
br label %300
229: ; preds = %218
br label %230
230: ; preds = %394, %229
%231 = load i8*, i8** %26
%232 = getelementptr inbounds i8, i8* %231, i64 56
store i8* %232, i8** %15
%233 = load i8*, i8** %15
%234 = bitcast i8* %233 to i8**
%235 = load i8*, i8** %234
store i8* %235, i8** %17
%236 = getelementptr inbounds [16 x i8], [16 x i8]* %13, i64 0, i64 0
%237 = getelementptr inbounds i8, i8* %236, i64 12
store i8* %237, i8** %15
%238 = load i8*, i8** %15
%239 = bitcast i8* %238 to i32*
%240 = load i32, i32* %239
store i32 %240, i32* %16
%241 = load i32, i32* %16
%242 = mul i32 %241, 1
store i32 %242, i32* %16
%243 = load i32, i32* %16
%244 = call i8* @xsi_get_transient_memory(i32 %243)
store i8* %244, i8** %14
%245 = load i8*, i8** %14
%246 = load i8*, i8** %17
%247 = load i32, i32* %16
%248 = call i32 @memcpy(i8* %245, i8* %246, i32 %247)
%249 = getelementptr inbounds [16 x i8], [16 x i8]* %13, i64 0, i64 0
%250 = getelementptr inbounds i8, i8* %249, i64 0
store i8* %250, i8** %18
%251 = load i8*, i8** %18
%252 = bitcast i8* %251 to i32*
%253 = load i32, i32* %252
store i32 %253, i32* %19
%254 = getelementptr inbounds [16 x i8], [16 x i8]* %13, i64 0, i64 0
%255 = getelementptr inbounds i8, i8* %254, i64 4
store i8* %255, i8** %23
%256 = load i8*, i8** %23
%257 = bitcast i8* %256 to i32*
%258 = load i32, i32* %257
store i32 %258, i32* %21
%259 = getelementptr inbounds [16 x i8], [16 x i8]* %13, i64 0, i64 0
%260 = getelementptr inbounds i8, i8* %259, i64 8
store i8* %260, i8** %25
%261 = load i8*, i8** %25
%262 = bitcast i8* %261 to i32*
%263 = load i32, i32* %262
store i32 %263, i32* %27
%264 = load i8*, i8** %7
%265 = getelementptr inbounds i8, i8* %264, i64 0
store i8* %265, i8** %29
%266 = load i8*, i8** %29
%267 = getelementptr inbounds i8, i8* %266, i64 0
store i8* %267, i8** %30
%268 = load i32, i32* %19
%269 = load i8*, i8** %30
%270 = bitcast i8* %269 to i32*
store i32 %268, i32* %270
%271 = load i8*, i8** %29
%272 = getelementptr inbounds i8, i8* %271, i64 4
store i8* %272, i8** %30
%273 = load i32, i32* %21
%274 = load i8*, i8** %30
%275 = bitcast i8* %274 to i32*
store i32 %273, i32* %275
%276 = load i8*, i8** %29
%277 = getelementptr inbounds i8, i8* %276, i64 8
store i8* %277, i8** %30
%278 = load i32, i32* %27
%279 = load i8*, i8** %30
%280 = bitcast i8* %279 to i32*
store i32 %278, i32* %280
%281 = load i32, i32* %21
%282 = load i32, i32* %19
%283 = sub nsw i32 %281, %282
store i32 %283, i32* %39
%284 = load i32, i32* %39
%285 = load i32, i32* %27
%286 = mul nsw i32 %284, %285
store i32 %286, i32* %20
%287 = load i32, i32* %20
%288 = add i32 %287, 1
store i32 %288, i32* %20
%289 = load i8*, i8** %29
%290 = getelementptr inbounds i8, i8* %289, i64 12
store i8* %290, i8** %30
%291 = load i32, i32* %20
%292 = load i8*, i8** %30
%293 = bitcast i8* %292 to i32*
store i32 %291, i32* %293
br label %294
294: ; preds = %230
%295 = load i8*, i8** %14
store i8* %295, i8** %5
br label %402
296: ; preds = %193
%297 = load i8*, i8** %8
%298 = load i8*, i8** %35
%299 = bitcast i8* %298 to i8**
store i8* %297, i8** %299
br label %195
300: ; preds = %228
%301 = load i8*, i8** %6
%302 = getelementptr inbounds i8, i8* %301, i64 1888
store i8* %302, i8** %48
%303 = load i8*, i8** %48
%304 = bitcast i8* %303 to i8**
%305 = load i8*, i8** %304
store i8* %305, i8** %49
%306 = load i8*, i8** %8
%307 = getelementptr inbounds i8, i8* %306, i64 0
store i8* %307, i8** %48
%308 = getelementptr inbounds [16 x i8], [16 x i8]* %12, i64 0, i64 0
%309 = getelementptr inbounds i8, i8* %308, i64 0
store i8* %309, i8** %50
%310 = load i8*, i8** %50
%311 = bitcast i8* %310 to i32*
%312 = load i32, i32* %311
store i32 %312, i32* %51
%313 = getelementptr inbounds [16 x i8], [16 x i8]* %12, i64 0, i64 0
%314 = getelementptr inbounds i8, i8* %313, i64 8
store i8* %314, i8** %52
%315 = load i8*, i8** %52
%316 = bitcast i8* %315 to i32*
%317 = load i32, i32* %316
store i32 %317, i32* %53
%318 = load i32, i32* %44
%319 = load i32, i32* %51
%320 = sub nsw i32 %318, %319
store i32 %320, i32* %54
%321 = load i32, i32* %54
%322 = load i32, i32* %53
%323 = mul nsw i32 %321, %322
store i32 %323, i32* %28
%324 = getelementptr inbounds [16 x i8], [16 x i8]* %12, i64 0, i64 0
%325 = getelementptr inbounds i8, i8* %324, i64 4
store i8* %325, i8** %55
%326 = load i8*, i8** %55
%327 = bitcast i8* %326 to i32*
%328 = load i32, i32* %327
store i32 %328, i32* %56
%329 = load i32, i32* %51
%330 = load i32, i32* %56
%331 = load i32, i32* %53
%332 = load i32, i32* %44
%333 = call i32 @xsi_vhdl_check_range_of_index(i32 %329, i32 %330, i32 %331, i32 %332)
%334 = load i32, i32* %28
%335 = mul i32 1, %334
store i32 %335, i32* %57
%336 = load i32, i32* %57
%337 = add i32 0, %336
store i32 %337, i32* %58
%338 = load i8*, i8** %48
%339 = load i32, i32* %58
%340 = zext i32 %339 to i64
%341 = getelementptr inbounds i8, i8* %338, i64 %340
store i8* %341, i8** %59
%342 = load i8*, i8** %59
%343 = load i8, i8* %342
store i8 %343, i8* %60
%344 = load i8, i8* %60
%345 = zext i8 %344 to i32
%346 = sub nsw i32 %345, 0
store i32 %346, i32* %61
%347 = load i32, i32* %61
%348 = mul nsw i32 %347, 1
store i32 %348, i32* %62
%349 = load i32, i32* %62
%350 = mul i32 1, %349
store i32 %350, i32* %63
%351 = load i32, i32* %63
%352 = add i32 0, %351
store i32 %352, i32* %64
%353 = load i8*, i8** %49
%354 = load i32, i32* %64
%355 = zext i32 %354 to i64
%356 = getelementptr inbounds i8, i8* %353, i64 %355
store i8* %356, i8** %65
%357 = load i8*, i8** %65
%358 = load i8, i8* %357
store i8 %358, i8* %66
%359 = load i8*, i8** %26
%360 = getelementptr inbounds i8, i8* %359, i64 56
store i8* %360, i8** %67
%361 = load i8*, i8** %67
%362 = bitcast i8* %361 to i8**
%363 = load i8*, i8** %362
store i8* %363, i8** %68
%364 = getelementptr inbounds [16 x i8], [16 x i8]* %13, i64 0, i64 0
%365 = getelementptr inbounds i8, i8* %364, i64 0
store i8* %365, i8** %67
%366 = load i8*, i8** %67
%367 = bitcast i8* %366 to i32*
%368 = load i32, i32* %367
store i32 %368, i32* %69
%369 = getelementptr inbounds [16 x i8], [16 x i8]* %13, i64 0, i64 0
%370 = getelementptr inbounds i8, i8* %369, i64 8
store i8* %370, i8** %70
%371 = load i8*, i8** %70
%372 = bitcast i8* %371 to i32*
%373 = load i32, i32* %372
store i32 %373, i32* %71
%374 = load i32, i32* %44
%375 = load i32, i32* %69
%376 = sub nsw i32 %374, %375
store i32 %376, i32* %72
%377 = load i32, i32* %72
%378 = load i32, i32* %71
%379 = mul nsw i32 %377, %378
store i32 %379, i32* %73
%380 = load i32, i32* %73
%381 = mul i32 1, %380
store i32 %381, i32* %74
%382 = load i32, i32* %74
%383 = add i32 0, %382
store i32 %383, i32* %75
%384 = load i8*, i8** %68
%385 = load i32, i32* %75
%386 = zext i32 %385 to i64
%387 = getelementptr inbounds i8, i8* %384, i64 %386
store i8* %387, i8** %76
%388 = load i8, i8* %66
%389 = load i8*, i8** %76
store i8 %388, i8* %389
br label %390
390: ; preds = %300
%391 = load i32, i32* %44
%392 = load i32, i32* %45
%393 = icmp eq i32 %391, %392
br i1 %393, label %394, label %395
394: ; preds = %390
br label %230
395: ; preds = %390
br label %396
396: ; preds = %395
%397 = load i32, i32* %44
%398 = load i32, i32* %39
%399 = add nsw i32 %397, %398
store i32 %399, i32* %19
%400 = load i32, i32* %19
store i32 %400, i32* %44
br label %218
401: ; No predecessors!
br label %402
402: ; preds = %401, %294
%403 = load i8*, i8** %5
ret i8* %403
}

LLVM IR (-O2):
define i8* @ieee_p_2592010699_sub_13398659724458110224_503743352(i8* %0, i8* nocapture writeonly %1, i8* nocapture %2, i8* nocapture %3) {
%5 = alloca [16 x i8]
%6 = getelementptr inbounds [16 x i8], [16 x i8]* %5, i64 0, i64 0
%7 = getelementptr inbounds i8, i8* %3, i64 12
%8 = bitcast i8* %7 to i32*
%9 = load i32, i32* %8
%10 = bitcast [16 x i8]* %5 to i32*
store i32 1, i32* %10
%11 = getelementptr inbounds [16 x i8], [16 x i8]* %5, i64 0, i64 4
%12 = bitcast i8* %11 to i32*
store i32 %9, i32* %12
%13 = getelementptr inbounds [16 x i8], [16 x i8]* %5, i64 0, i64 8
%14 = bitcast i8* %13 to i32*
store i32 1, i32* %14
%15 = getelementptr inbounds [16 x i8], [16 x i8]* %5, i64 0, i64 12
%16 = bitcast i8* %15 to i32*
store i32 %9, i32* %16
%17 = getelementptr inbounds i8, i8* %0, i64 3896
%18 = tail call i64 @alloca(i32 %9)
%19 = inttoptr i64 %18 to i8*
%20 = call i32 @xsi_type_set_default_value(i8* %17, i8* %19, i8* %6)
%21 = load i32, i32* %14
%22 = load i32, i32* %12
%23 = load i32, i32* %10
%24 = getelementptr inbounds i8, i8* %0, i64 1888
%25 = bitcast i8* %24 to i8**
%26 = mul nsw i32 %22, %21
%27 = mul nsw i32 %23, %21
%28 = icmp sgt i32 %27, %26
br i1 %28, label %29, label %46
29: ; preds = %46, %4
%30 = load i32, i32* %16
%31 = call i8* @xsi_get_transient_memory(i32 %30)
%32 = call i32 @memcpy(i8* %31, i8* %19, i32 %30)
%33 = load i32, i32* %10
%34 = load i32, i32* %12
%35 = load i32, i32* %14
%36 = bitcast i8* %1 to i32*
store i32 %33, i32* %36
%37 = getelementptr inbounds i8, i8* %1, i64 4
%38 = bitcast i8* %37 to i32*
store i32 %34, i32* %38
%39 = getelementptr inbounds i8, i8* %1, i64 8
%40 = bitcast i8* %39 to i32*
store i32 %35, i32* %40
%41 = sub nsw i32 %34, %33
%42 = mul nsw i32 %41, %35
%43 = add i32 %42, 1
%44 = getelementptr inbounds i8, i8* %1, i64 12
%45 = bitcast i8* %44 to i32*
store i32 %43, i32* %45
ret i8* %31
46: ; preds = %4, %46
%47 = phi i32 [ %64, %46 ], [ %23, %4 ]
%48 = load i8*, i8** %25
%49 = add nsw i32 %47, -1
%50 = call i32 @xsi_vhdl_check_range_of_index(i32 1, i32 %9, i32 1, i32 %47)
%51 = zext i32 %49 to i64
%52 = getelementptr inbounds i8, i8* %2, i64 %51
%53 = load i8, i8* %52
%54 = zext i8 %53 to i64
%55 = getelementptr inbounds i8, i8* %48, i64 %54
%56 = load i8, i8* %55
%57 = load i32, i32* %10
%58 = load i32, i32* %14
%59 = sub nsw i32 %47, %57
%60 = mul nsw i32 %59, %58
%61 = zext i32 %60 to i64
%62 = getelementptr inbounds i8, i8* %19, i64 %61
store i8 %56, i8* %62
%63 = icmp eq i32 %47, %22
%64 = add nsw i32 %47, %21
%65 = mul nsw i32 %64, %21
%66 = icmp sgt i32 %65, %26
%67 = select i1 %63, i1 true, i1 %66
br i1 %67, label %29, label %46
}