#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__ calloc(int, int);
int /*<<< orphan*/ fgets(char *, int, int /*<<< orphan*/);
int /*<<< orphan*/ free(char *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ stdin;
int /*<<< orphan*/ strcat(char *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
int strlen(char *);
int main() {
  char nombre[30] = " ";
  char nombresin[30];
  char apellido1[30];
  char apellido2[30];
  char *final = NULL;
  int tam_nombre = 0;
  int tam_apellido1 = 0;
  int tam_apellido2 = 0;
  int tam_final = 0;
  int i = 0;
  printf("Por favor introduzca su nombre: ");
  fgets(nombresin, 30, stdin);
  tam_nombre = strlen(nombresin);
  strcat(nombre, nombresin);
  printf("Por favor introduzca su primer apellido: ");
  fgets(apellido1, 30, stdin);
  tam_apellido1 = strlen(apellido1);
  for (i = 0; i < 30; i++) {
    if (apellido1[i] == '\n')
      apellido1[i] = ' ';
  }
  printf("Por favor introduzca su segundo apellido: ");
  fgets(apellido2, 30, stdin);
  tam_apellido2 = strlen(apellido2);
  for (i = 0; i < 30; i++) {
    if (apellido2[i] == '\n')
      apellido2[i] = ',';
  }
  tam_final = tam_nombre + tam_apellido1 + tam_apellido2 + 1;
  final = (char *)calloc(tam_final, sizeof(char));
  if (final == NULL)
    printf(" Error al reservar memoria\n");
  else {
    strcpy(final, apellido1);
    strcat(final, apellido2);
    strcat(final, nombre);
  }
  printf("Nombre completo: %s", final);
  free(final);
  final = NULL;
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xb0,%rsp
movl   $0x0,-0x4(%rbp)
mov    0xe77(%rip),%rax
mov    %rax,-0x30(%rbp)
mov    0xe74(%rip),%rax
mov    %rax,-0x28(%rbp)
mov    0xe71(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    0xe6f(%rip),%eax
mov    %eax,-0x18(%rbp)
mov    0xe69(%rip),%ax
mov    %ax,-0x14(%rbp)
movq   $0x0,-0x98(%rbp)
movl   $0x0,-0x9c(%rbp)
movl   $0x0,-0xa0(%rbp)
movl   $0x0,-0xa4(%rbp)
movl   $0x0,-0xa8(%rbp)
movl   $0x0,-0xac(%rbp)
lea    0xe23(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    -0x50(%rbp),%rdi
mov    0x2ddb(%rip),%rax
mov    (%rax),%edx
mov    $0x1e,%esi
call   1070 <fgets@plt>
lea    -0x50(%rbp),%rdi
call   1050 <strlen@plt>
mov    %eax,-0x9c(%rbp)
lea    -0x30(%rbp),%rdi
lea    -0x50(%rbp),%rsi
call   1090 <strcat@plt>
lea    0xe03(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    -0x70(%rbp),%rdi
mov    0x2d9a(%rip),%rax
mov    (%rax),%edx
mov    $0x1e,%esi
call   1070 <fgets@plt>
lea    -0x70(%rbp),%rdi
call   1050 <strlen@plt>
mov    %eax,-0xa0(%rbp)
movl   $0x0,-0xac(%rbp)
cmpl   $0x1e,-0xac(%rbp)
jge    12ba <main+0x14a>
movslq -0xac(%rbp),%rax
movsbl -0x70(%rbp,%rax,1),%eax
cmp    $0xa,%eax
jne    12a1 <main+0x131>
movslq -0xac(%rbp),%rax
movb   $0x20,-0x70(%rbp,%rax,1)
jmp    12a6 <main+0x136>
mov    -0xac(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xac(%rbp)
jmp    1273 <main+0x103>
lea    0xda8(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    -0x90(%rbp),%rdi
mov    0x2d12(%rip),%rax
mov    (%rax),%edx
mov    $0x1e,%esi
call   1070 <fgets@plt>
lea    -0x90(%rbp),%rdi
call   1050 <strlen@plt>
mov    %eax,-0xa4(%rbp)
movl   $0x0,-0xac(%rbp)
cmpl   $0x1e,-0xac(%rbp)
jge    134b <main+0x1db>
movslq -0xac(%rbp),%rax
movsbl -0x90(%rbp,%rax,1),%eax
ff
cmp    $0xa,%eax
jne    1332 <main+0x1c2>
movslq -0xac(%rbp),%rax
movb   $0x2c,-0x90(%rbp,%rax,1)
2c
jmp    1337 <main+0x1c7>
mov    -0xac(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xac(%rbp)
jmp    12fe <main+0x18e>
mov    -0x9c(%rbp),%eax
add    -0xa0(%rbp),%eax
add    -0xa4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xa8(%rbp)
mov    -0xa8(%rbp),%edi
mov    $0x1,%esi
call   1080 <calloc@plt>
mov    %rax,-0x98(%rbp)
cmpq   $0x0,-0x98(%rbp)
jne    139e <main+0x22e>
lea    0xd02(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    13d1 <main+0x261>
mov    -0x98(%rbp),%rdi
lea    -0x70(%rbp),%rsi
call   1040 <strcpy@plt>
mov    -0x98(%rbp),%rdi
lea    -0x90(%rbp),%rsi
call   1090 <strcat@plt>
mov    -0x98(%rbp),%rdi
lea    -0x30(%rbp),%rsi
call   1090 <strcat@plt>
mov    -0x98(%rbp),%rsi
lea    0xcd1(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x98(%rbp),%rdi
call   1030 <free@plt>
movq   $0x0,-0x98(%rbp)
xor    %eax,%eax
add    $0xb0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0x88,%rsp
movups 0xe9a(%rip),%xmm0
movups %xmm0,0x4e(%rsp)
movaps 0xe80(%rip),%xmm0
movaps %xmm0,0x40(%rsp)
lea    0xe92(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x2e2e(%rip),%r15
mov    (%r15),%edx
lea    0x60(%rsp),%rbp
mov    %rbp,%rdi
mov    $0x1e,%esi
call   1080 <fgets@plt>
mov    %rbp,%rdi
call   1060 <strlen@plt>
mov    %eax,%ebx
lea    0x40(%rsp),%rdi
mov    %rbp,%rsi
call   10a0 <strcat@plt>
lea    0xe72(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    (%r15),%edx
lea    0x20(%rsp),%rbp
mov    %rbp,%rdi
mov    $0x1e,%esi
call   1080 <fgets@plt>
mov    %rbp,%rdi
call   1060 <strlen@plt>
mov    %eax,%r14d
movq   0x20(%rsp),%xmm1
movdqa 0xdde(%rip),%xmm0
pcmpeqb %xmm1,%xmm0
movd   %xmm0,%eax
test   $0x1,%al
je     1233 <main+0xb3>
movb   $0x20,0x20(%rsp)
movdqa %xmm0,%xmm2
pslld  $0x8,%xmm2
movd   %xmm2,%eax
shr    $0x10,%eax
test   $0x1,%al
je     124c <main+0xcc>
movb   $0x20,0x21(%rsp)
pshuflw $0x55,%xmm1,%xmm2
pcmpeqb 0xda7(%rip),%xmm2
pextrw $0x2,%xmm2,%eax
test   $0x1,%al
je     1267 <main+0xe7>
movb   $0x20,0x22(%rsp)
movdqa %xmm0,%xmm2
psllq  $0x18,%xmm2
pextrw $0x3,%xmm2,%eax
test   $0x1,%al
je     127e <main+0xfe>
movb   $0x20,0x23(%rsp)
pshufd $0x55,%xmm1,%xmm1
pcmpeqb 0xd85(%rip),%xmm1
pextrw $0x4,%xmm1,%eax
test   $0x1,%al
je     1299 <main+0x119>
movb   $0x20,0x24(%rsp)
movdqa %xmm0,%xmm1
pslldq $0x5,%xmm1
pextrw $0x5,%xmm1,%eax
test   $0x1,%al
je     12b0 <main+0x130>
movb   $0x20,0x25(%rsp)
pextrw $0x3,%xmm0,%eax
test   $0x1,%al
je     12be <main+0x13e>
movb   $0x20,0x26(%rsp)
pslldq $0x7,%xmm0
pextrw $0x7,%xmm0,%eax
test   $0x1,%al
je     12d1 <main+0x151>
movb   $0x20,0x27(%rsp)
movq   0x28(%rsp),%xmm1
movdqa 0xd21(%rip),%xmm0
pcmpeqb %xmm1,%xmm0
movd   %xmm0,%eax
test   $0x1,%al
je     12f0 <main+0x170>
movb   $0x20,0x28(%rsp)
movdqa %xmm0,%xmm2
pslld  $0x8,%xmm2
movd   %xmm2,%eax
shr    $0x10,%eax
test   $0x1,%al
je     1309 <main+0x189>
movb   $0x20,0x29(%rsp)
pshuflw $0x55,%xmm1,%xmm2
pcmpeqb 0xcea(%rip),%xmm2
pextrw $0x2,%xmm2,%eax
test   $0x1,%al
je     1324 <main+0x1a4>
movb   $0x20,0x2a(%rsp)
movdqa %xmm0,%xmm2
psllq  $0x18,%xmm2
pextrw $0x3,%xmm2,%eax
test   $0x1,%al
je     133b <main+0x1bb>
movb   $0x20,0x2b(%rsp)
pshufd $0x55,%xmm1,%xmm1
pcmpeqb 0xcc8(%rip),%xmm1
pextrw $0x4,%xmm1,%eax
test   $0x1,%al
je     1356 <main+0x1d6>
movb   $0x20,0x2c(%rsp)
movdqa %xmm0,%xmm1
pslldq $0x5,%xmm1
pextrw $0x5,%xmm1,%eax
test   $0x1,%al
je     136d <main+0x1ed>
movb   $0x20,0x2d(%rsp)
pextrw $0x3,%xmm0,%eax
test   $0x1,%al
je     137b <main+0x1fb>
movb   $0x20,0x2e(%rsp)
pslldq $0x7,%xmm0
pextrw $0x7,%xmm0,%eax
test   $0x1,%al
je     138e <main+0x20e>
movb   $0x20,0x2f(%rsp)
movq   0x30(%rsp),%xmm1
movdqa 0xc64(%rip),%xmm0
pcmpeqb %xmm1,%xmm0
movd   %xmm0,%eax
test   $0x1,%al
je     13ad <main+0x22d>
movb   $0x20,0x30(%rsp)
movdqa %xmm0,%xmm2
pslld  $0x8,%xmm2
movd   %xmm2,%eax
shr    $0x10,%eax
test   $0x1,%al
je     13c6 <main+0x246>
movb   $0x20,0x31(%rsp)
pshuflw $0x55,%xmm1,%xmm2
pcmpeqb 0xc2d(%rip),%xmm2
pextrw $0x2,%xmm2,%eax
test   $0x1,%al
je     13e1 <main+0x261>
movb   $0x20,0x32(%rsp)
movdqa %xmm0,%xmm2
psllq  $0x18,%xmm2
pextrw $0x3,%xmm2,%eax
test   $0x1,%al
je     13f8 <main+0x278>
movb   $0x20,0x33(%rsp)
pshufd $0x55,%xmm1,%xmm1
pcmpeqb 0xc0b(%rip),%xmm1
pextrw $0x4,%xmm1,%eax
test   $0x1,%al
je     1413 <main+0x293>
movb   $0x20,0x34(%rsp)
movdqa %xmm0,%xmm1
pslldq $0x5,%xmm1
pextrw $0x5,%xmm1,%eax
test   $0x1,%al
je     142a <main+0x2aa>
movb   $0x20,0x35(%rsp)
pextrw $0x3,%xmm0,%eax
test   $0x1,%al
je     1438 <main+0x2b8>
movb   $0x20,0x36(%rsp)
pslldq $0x7,%xmm0
pextrw $0x7,%xmm0,%eax
test   $0x1,%al
jne    178e <main+0x60e>
cmpb   $0xa,0x38(%rsp)
je     179e <main+0x61e>
cmpb   $0xa,0x39(%rsp)
je     17ae <main+0x62e>
cmpb   $0xa,0x3a(%rsp)
je     17be <main+0x63e>
cmpb   $0xa,0x3b(%rsp)
je     17ce <main+0x64e>
cmpb   $0xa,0x3c(%rsp)
je     17de <main+0x65e>
cmpb   $0xa,0x3d(%rsp)
jne    148d <main+0x30d>
movb   $0x20,0x3d(%rsp)
lea    0xbf5(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    (%r15),%edx
mov    %rsp,%rbp
mov    %rbp,%rdi
mov    $0x1e,%esi
call   1080 <fgets@plt>
mov    %rbp,%rdi
call   1060 <strlen@plt>
movq   (%rsp),%xmm1
movdqa 0xb3d(%rip),%xmm0
pcmpeqb %xmm1,%xmm0
movd   %xmm0,%ecx
test   $0x1,%cl
je     14d4 <main+0x354>
movb   $0x2c,(%rsp)
movdqa %xmm0,%xmm2
pslld  $0x8,%xmm2
movd   %xmm2,%ecx
shr    $0x10,%ecx
test   $0x1,%cl
je     14ee <main+0x36e>
movb   $0x2c,0x1(%rsp)
pshuflw $0x55,%xmm1,%xmm2
pcmpeqb 0xb05(%rip),%xmm2
pextrw $0x2,%xmm2,%ecx
test   $0x1,%cl
je     150a <main+0x38a>
movb   $0x2c,0x2(%rsp)
movdqa %xmm0,%xmm2
psllq  $0x18,%xmm2
pextrw $0x3,%xmm2,%ecx
test   $0x1,%cl
je     1522 <main+0x3a2>
movb   $0x2c,0x3(%rsp)
pshufd $0x55,%xmm1,%xmm1
pcmpeqb 0xae1(%rip),%xmm1
pextrw $0x4,%xmm1,%ecx
test   $0x1,%cl
je     153e <main+0x3be>
movb   $0x2c,0x4(%rsp)
movdqa %xmm0,%xmm1
pslldq $0x5,%xmm1
pextrw $0x5,%xmm1,%ecx
test   $0x1,%cl
je     1556 <main+0x3d6>
movb   $0x2c,0x5(%rsp)
pextrw $0x3,%xmm0,%ecx
test   $0x1,%cl
je     1565 <main+0x3e5>
movb   $0x2c,0x6(%rsp)
pslldq $0x7,%xmm0
pextrw $0x7,%xmm0,%ecx
test   $0x1,%cl
je     1579 <main+0x3f9>
movb   $0x2c,0x7(%rsp)
movq   0x8(%rsp),%xmm1
movdqa 0xa79(%rip),%xmm0
pcmpeqb %xmm1,%xmm0
movd   %xmm0,%ecx
test   $0x1,%cl
je     1599 <main+0x419>
movb   $0x2c,0x8(%rsp)
movdqa %xmm0,%xmm2
pslld  $0x8,%xmm2
movd   %xmm2,%ecx
shr    $0x10,%ecx
test   $0x1,%cl
je     15b3 <main+0x433>
movb   $0x2c,0x9(%rsp)
pshuflw $0x55,%xmm1,%xmm2
pcmpeqb 0xa40(%rip),%xmm2
pextrw $0x2,%xmm2,%ecx
test   $0x1,%cl
je     15cf <main+0x44f>
movb   $0x2c,0xa(%rsp)
movdqa %xmm0,%xmm2
psllq  $0x18,%xmm2
pextrw $0x3,%xmm2,%ecx
test   $0x1,%cl
je     15e7 <main+0x467>
movb   $0x2c,0xb(%rsp)
pshufd $0x55,%xmm1,%xmm1
pcmpeqb 0xa1c(%rip),%xmm1
pextrw $0x4,%xmm1,%ecx
test   $0x1,%cl
je     1603 <main+0x483>
movb   $0x2c,0xc(%rsp)
movdqa %xmm0,%xmm1
pslldq $0x5,%xmm1
pextrw $0x5,%xmm1,%ecx
test   $0x1,%cl
je     161b <main+0x49b>
movb   $0x2c,0xd(%rsp)
pextrw $0x3,%xmm0,%ecx
test   $0x1,%cl
je     162a <main+0x4aa>
movb   $0x2c,0xe(%rsp)
pslldq $0x7,%xmm0
pextrw $0x7,%xmm0,%ecx
test   $0x1,%cl
je     163e <main+0x4be>
movb   $0x2c,0xf(%rsp)
movq   0x10(%rsp),%xmm1
movdqa 0x9b4(%rip),%xmm0
pcmpeqb %xmm1,%xmm0
movd   %xmm0,%ecx
test   $0x1,%cl
je     165e <main+0x4de>
movb   $0x2c,0x10(%rsp)
movdqa %xmm0,%xmm2
pslld  $0x8,%xmm2
movd   %xmm2,%ecx
shr    $0x10,%ecx
test   $0x1,%cl
je     1678 <main+0x4f8>
movb   $0x2c,0x11(%rsp)
pshuflw $0x55,%xmm1,%xmm2
pcmpeqb 0x97b(%rip),%xmm2
pextrw $0x2,%xmm2,%ecx
test   $0x1,%cl
je     1694 <main+0x514>
movb   $0x2c,0x12(%rsp)
movdqa %xmm0,%xmm2
psllq  $0x18,%xmm2
pextrw $0x3,%xmm2,%ecx
test   $0x1,%cl
je     16ac <main+0x52c>
movb   $0x2c,0x13(%rsp)
pshufd $0x55,%xmm1,%xmm1
pcmpeqb 0x957(%rip),%xmm1
pextrw $0x4,%xmm1,%ecx
test   $0x1,%cl
je     16c8 <main+0x548>
movb   $0x2c,0x14(%rsp)
movdqa %xmm0,%xmm1
pslldq $0x5,%xmm1
pextrw $0x5,%xmm1,%ecx
test   $0x1,%cl
je     16e0 <main+0x560>
movb   $0x2c,0x15(%rsp)
pextrw $0x3,%xmm0,%ecx
test   $0x1,%cl
je     16ef <main+0x56f>
movb   $0x2c,0x16(%rsp)
pslldq $0x7,%xmm0
pextrw $0x7,%xmm0,%ecx
test   $0x1,%cl
jne    17f3 <main+0x673>
cmpb   $0xa,0x18(%rsp)
je     1803 <main+0x683>
cmpb   $0xa,0x19(%rsp)
je     1813 <main+0x693>
cmpb   $0xa,0x1a(%rsp)
je     1823 <main+0x6a3>
cmpb   $0xa,0x1b(%rsp)
je     1833 <main+0x6b3>
cmpb   $0xa,0x1c(%rsp)
je     1843 <main+0x6c3>
cmpb   $0xa,0x1d(%rsp)
jne    1745 <main+0x5c5>
movb   $0x2c,0x1d(%rsp)
add    %r14d,%ebx
lea    (%rax,%rbx,1),%edi
add    $0x1,%edi
mov    $0x1,%esi
call   1090 <calloc@plt>
mov    %rax,%rbx
test   %rax,%rax
je     1858 <main+0x6d8>
lea    0x20(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <strcpy@plt>
mov    %rsp,%rsi
mov    %rbx,%rdi
call   10a0 <strcat@plt>
lea    0x40(%rsp),%rsi
mov    %rbx,%rdi
call   10a0 <strcat@plt>
jmp    1864 <main+0x6e4>
movb   $0x20,0x37(%rsp)
cmpb   $0xa,0x38(%rsp)
jne    1455 <main+0x2d5>
movb   $0x20,0x38(%rsp)
cmpb   $0xa,0x39(%rsp)
jne    1460 <main+0x2e0>
movb   $0x20,0x39(%rsp)
cmpb   $0xa,0x3a(%rsp)
jne    146b <main+0x2eb>
movb   $0x20,0x3a(%rsp)
cmpb   $0xa,0x3b(%rsp)
jne    1476 <main+0x2f6>
movb   $0x20,0x3b(%rsp)
cmpb   $0xa,0x3c(%rsp)
jne    1481 <main+0x301>
movb   $0x20,0x3c(%rsp)
cmpb   $0xa,0x3d(%rsp)
je     1488 <main+0x308>
jmp    148d <main+0x30d>
movb   $0x2c,0x17(%rsp)
cmpb   $0xa,0x18(%rsp)
jne    170d <main+0x58d>
movb   $0x2c,0x18(%rsp)
cmpb   $0xa,0x19(%rsp)
jne    1718 <main+0x598>
movb   $0x2c,0x19(%rsp)
cmpb   $0xa,0x1a(%rsp)
jne    1723 <main+0x5a3>
movb   $0x2c,0x1a(%rsp)
cmpb   $0xa,0x1b(%rsp)
jne    172e <main+0x5ae>
movb   $0x2c,0x1b(%rsp)
cmpb   $0xa,0x1c(%rsp)
jne    1739 <main+0x5b9>
movb   $0x2c,0x1c(%rsp)
cmpb   $0xa,0x1d(%rsp)
je     1740 <main+0x5c0>
jmp    1745 <main+0x5c5>
lea    0x869(%rip),%rdi
call   1050 <puts@plt>
lea    0x849(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1070 <printf@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
xor    %eax,%eax
add    $0x88,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@__const.main.nombre = [30 x i8] c" \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00"
@.str = [33 x i8] c"Por favor introduzca su nombre: \00"
@stdin = global i32 0
@.str.1 = [42 x i8] c"Por favor introduzca su primer apellido: \00"
@.str.2 = [43 x i8] c"Por favor introduzca su segundo apellido: \00"
@.str.3 = [28 x i8] c" Error al reservar memoria\0A\00"
@.str.4 = [20 x i8] c"Nombre completo: %s\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [30 x i8]
%3 = alloca [30 x i8]
%4 = alloca [30 x i8]
%5 = alloca [30 x i8]
%6 = alloca i8*
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
store i32 0, i32* %1
%12 = bitcast [30 x i8]* %2 to i8*
store i8* null, i8** %6
store i32 0, i32* %7
store i32 0, i32* %8
store i32 0, i32* %9
store i32 0, i32* %10
store i32 0, i32* %11
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0))
%14 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 0
%15 = load i32, i32* @stdin
%16 = call i32 @fgets(i8* %14, i32 30, i32 %15)
%17 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 0
%18 = call i32 @strlen(i8* %17)
store i32 %18, i32* %7
%19 = getelementptr inbounds [30 x i8], [30 x i8]* %2, i64 0, i64 0
%20 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 0
%21 = call i32 @strcat(i8* %19, i8* %20)
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.1, i64 0, i64 0))
%23 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 0
%24 = load i32, i32* @stdin
%25 = call i32 @fgets(i8* %23, i32 30, i32 %24)
%26 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 0
%27 = call i32 @strlen(i8* %26)
store i32 %27, i32* %8
store i32 0, i32* %11
br label %28
28: ; preds = %43, %0
%29 = load i32, i32* %11
%30 = icmp slt i32 %29, 30
br i1 %30, label %31, label %46
31: ; preds = %28
%32 = load i32, i32* %11
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 %33
%35 = load i8, i8* %34
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 10
br i1 %37, label %38, label %42
38: ; preds = %31
%39 = load i32, i32* %11
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 %40
store i8 32, i8* %41
br label %42
42: ; preds = %38, %31
br label %43
43: ; preds = %42
%44 = load i32, i32* %11
%45 = add nsw i32 %44, 1
store i32 %45, i32* %11
br label %28
46: ; preds = %28
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.2, i64 0, i64 0))
%48 = getelementptr inbounds [30 x i8], [30 x i8]* %5, i64 0, i64 0
%49 = load i32, i32* @stdin
%50 = call i32 @fgets(i8* %48, i32 30, i32 %49)
%51 = getelementptr inbounds [30 x i8], [30 x i8]* %5, i64 0, i64 0
%52 = call i32 @strlen(i8* %51)
store i32 %52, i32* %9
store i32 0, i32* %11
br label %53
53: ; preds = %68, %46
%54 = load i32, i32* %11
%55 = icmp slt i32 %54, 30
br i1 %55, label %56, label %71
56: ; preds = %53
%57 = load i32, i32* %11
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [30 x i8], [30 x i8]* %5, i64 0, i64 %58
%60 = load i8, i8* %59
%61 = sext i8 %60 to i32
%62 = icmp eq i32 %61, 10
br i1 %62, label %63, label %67
63: ; preds = %56
%64 = load i32, i32* %11
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [30 x i8], [30 x i8]* %5, i64 0, i64 %65
store i8 44, i8* %66
br label %67
67: ; preds = %63, %56
br label %68
68: ; preds = %67
%69 = load i32, i32* %11
%70 = add nsw i32 %69, 1
store i32 %70, i32* %11
br label %53
71: ; preds = %53
%72 = load i32, i32* %7
%73 = load i32, i32* %8
%74 = add nsw i32 %72, %73
%75 = load i32, i32* %9
%76 = add nsw i32 %74, %75
%77 = add nsw i32 %76, 1
store i32 %77, i32* %10
%78 = load i32, i32* %10
%79 = call i64 @calloc(i32 %78, i32 1)
%80 = inttoptr i64 %79 to i8*
store i8* %80, i8** %6
%81 = load i8*, i8** %6
%82 = icmp eq i8* %81, null
br i1 %82, label %83, label %85
83: ; preds = %71
%84 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.3, i64 0, i64 0))
br label %95
85: ; preds = %71
%86 = load i8*, i8** %6
%87 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 0
%88 = call i32 @strcpy(i8* %86, i8* %87)
%89 = load i8*, i8** %6
%90 = getelementptr inbounds [30 x i8], [30 x i8]* %5, i64 0, i64 0
%91 = call i32 @strcat(i8* %89, i8* %90)
%92 = load i8*, i8** %6
%93 = getelementptr inbounds [30 x i8], [30 x i8]* %2, i64 0, i64 0
%94 = call i32 @strcat(i8* %92, i8* %93)
br label %95
95: ; preds = %85, %83
%96 = load i8*, i8** %6
%97 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i8* %96)
%98 = load i8*, i8** %6
%99 = call i32 @free(i8* %98)
store i8* null, i8** %6
ret i32 0
}

LLVM IR (-O2):
@__const.main.nombre = [30 x i8] c" \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00"
@.str = [33 x i8] c"Por favor introduzca su nombre: \00"
@stdin = global i32 0
@.str.1 = [42 x i8] c"Por favor introduzca su primer apellido: \00"
@.str.2 = [43 x i8] c"Por favor introduzca su segundo apellido: \00"
@.str.4 = [20 x i8] c"Nombre completo: %s\00"
@str = [27 x i8] c" Error al reservar memoria\00"
define i32 @main() {
%1 = alloca [30 x i8]
%2 = alloca [30 x i8]
%3 = alloca [30 x i8]
%4 = alloca [30 x i8]
%5 = getelementptr inbounds [30 x i8], [30 x i8]* %1, i64 0, i64 0
%6 = getelementptr inbounds [30 x i8], [30 x i8]* %2, i64 0, i64 0
%7 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 0
%8 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 0
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0))
%10 = load i32, i32* @stdin
%11 = call i32 @fgets(i8* %6, i32 30, i32 %10)
%12 = call i32 @strlen(i8* %6)
%13 = call i32 @strcat(i8* %5, i8* %6)
%14 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.1, i64 0, i64 0))
%15 = load i32, i32* @stdin
%16 = call i32 @fgets(i8* %7, i32 30, i32 %15)
%17 = call i32 @strlen(i8* %7)
%18 = bitcast [30 x i8]* %3 to <8 x i8>*
%19 = load <8 x i8>, <8 x i8>* %18
%20 = icmp eq <8 x i8> %19, <i8 10, i8 10, i8 10, i8 10, i8 10, i8 10, i8 10, i8 10>
%21 = extractelement <8 x i1> %20, i64 0
br i1 %21, label %22, label %24
22: ; preds = %0
%23 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 0
store i8 32, i8* %23
br label %24
24: ; preds = %22, %0
%25 = extractelement <8 x i1> %20, i64 1
br i1 %25, label %26, label %28
26: ; preds = %24
%27 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 1
store i8 32, i8* %27
br label %28
28: ; preds = %26, %24
%29 = extractelement <8 x i1> %20, i64 2
br i1 %29, label %30, label %32
30: ; preds = %28
%31 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 2
store i8 32, i8* %31
br label %32
32: ; preds = %30, %28
%33 = extractelement <8 x i1> %20, i64 3
br i1 %33, label %34, label %36
34: ; preds = %32
%35 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 3
store i8 32, i8* %35
br label %36
36: ; preds = %34, %32
%37 = extractelement <8 x i1> %20, i64 4
br i1 %37, label %38, label %40
38: ; preds = %36
%39 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 4
store i8 32, i8* %39
br label %40
40: ; preds = %38, %36
%41 = extractelement <8 x i1> %20, i64 5
br i1 %41, label %42, label %44
42: ; preds = %40
%43 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 5
store i8 32, i8* %43
br label %44
44: ; preds = %42, %40
%45 = extractelement <8 x i1> %20, i64 6
br i1 %45, label %46, label %48
46: ; preds = %44
%47 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 6
store i8 32, i8* %47
br label %48
48: ; preds = %46, %44
%49 = extractelement <8 x i1> %20, i64 7
br i1 %49, label %50, label %52
50: ; preds = %48
%51 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 7
store i8 32, i8* %51
br label %52
52: ; preds = %50, %48
%53 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 8
%54 = bitcast i8* %53 to <8 x i8>*
%55 = load <8 x i8>, <8 x i8>* %54
%56 = icmp eq <8 x i8> %55, <i8 10, i8 10, i8 10, i8 10, i8 10, i8 10, i8 10, i8 10>
%57 = extractelement <8 x i1> %56, i64 0
br i1 %57, label %58, label %60
58: ; preds = %52
%59 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 8
store i8 32, i8* %59
br label %60
60: ; preds = %58, %52
%61 = extractelement <8 x i1> %56, i64 1
br i1 %61, label %62, label %64
62: ; preds = %60
%63 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 9
store i8 32, i8* %63
br label %64
64: ; preds = %62, %60
%65 = extractelement <8 x i1> %56, i64 2
br i1 %65, label %66, label %68
66: ; preds = %64
%67 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 10
store i8 32, i8* %67
br label %68
68: ; preds = %66, %64
%69 = extractelement <8 x i1> %56, i64 3
br i1 %69, label %70, label %72
70: ; preds = %68
%71 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 11
store i8 32, i8* %71
br label %72
72: ; preds = %70, %68
%73 = extractelement <8 x i1> %56, i64 4
br i1 %73, label %74, label %76
74: ; preds = %72
%75 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 12
store i8 32, i8* %75
br label %76
76: ; preds = %74, %72
%77 = extractelement <8 x i1> %56, i64 5
br i1 %77, label %78, label %80
78: ; preds = %76
%79 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 13
store i8 32, i8* %79
br label %80
80: ; preds = %78, %76
%81 = extractelement <8 x i1> %56, i64 6
br i1 %81, label %82, label %84
82: ; preds = %80
%83 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 14
store i8 32, i8* %83
br label %84
84: ; preds = %82, %80
%85 = extractelement <8 x i1> %56, i64 7
br i1 %85, label %86, label %88
86: ; preds = %84
%87 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 15
store i8 32, i8* %87
br label %88
88: ; preds = %86, %84
%89 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 16
%90 = bitcast i8* %89 to <8 x i8>*
%91 = load <8 x i8>, <8 x i8>* %90
%92 = icmp eq <8 x i8> %91, <i8 10, i8 10, i8 10, i8 10, i8 10, i8 10, i8 10, i8 10>
%93 = extractelement <8 x i1> %92, i64 0
br i1 %93, label %94, label %96
94: ; preds = %88
%95 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 16
store i8 32, i8* %95
br label %96
96: ; preds = %94, %88
%97 = extractelement <8 x i1> %92, i64 1
br i1 %97, label %98, label %100
98: ; preds = %96
%99 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 17
store i8 32, i8* %99
br label %100
100: ; preds = %98, %96
%101 = extractelement <8 x i1> %92, i64 2
br i1 %101, label %102, label %104
102: ; preds = %100
%103 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 18
store i8 32, i8* %103
br label %104
104: ; preds = %102, %100
%105 = extractelement <8 x i1> %92, i64 3
br i1 %105, label %106, label %108
106: ; preds = %104
%107 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 19
store i8 32, i8* %107
br label %108
108: ; preds = %106, %104
%109 = extractelement <8 x i1> %92, i64 4
br i1 %109, label %110, label %112
110: ; preds = %108
%111 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 20
store i8 32, i8* %111
br label %112
112: ; preds = %110, %108
%113 = extractelement <8 x i1> %92, i64 5
br i1 %113, label %114, label %116
114: ; preds = %112
%115 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 21
store i8 32, i8* %115
br label %116
116: ; preds = %114, %112
%117 = extractelement <8 x i1> %92, i64 6
br i1 %117, label %118, label %120
118: ; preds = %116
%119 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 22
store i8 32, i8* %119
br label %120
120: ; preds = %118, %116
%121 = extractelement <8 x i1> %92, i64 7
br i1 %121, label %122, label %124
122: ; preds = %120
%123 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 23
store i8 32, i8* %123
br label %124
124: ; preds = %120, %122
%125 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 24
%126 = load i8, i8* %125
%127 = icmp eq i8 %126, 10
br i1 %127, label %128, label %129
128: ; preds = %124
store i8 32, i8* %125
br label %129
129: ; preds = %124, %128
%130 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 25
%131 = load i8, i8* %130
%132 = icmp eq i8 %131, 10
br i1 %132, label %133, label %134
133: ; preds = %129
store i8 32, i8* %130
br label %134
134: ; preds = %133, %129
%135 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 26
%136 = load i8, i8* %135
%137 = icmp eq i8 %136, 10
br i1 %137, label %138, label %139
138: ; preds = %134
store i8 32, i8* %135
br label %139
139: ; preds = %138, %134
%140 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 27
%141 = load i8, i8* %140
%142 = icmp eq i8 %141, 10
br i1 %142, label %143, label %144
143: ; preds = %139
store i8 32, i8* %140
br label %144
144: ; preds = %143, %139
%145 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 28
%146 = load i8, i8* %145
%147 = icmp eq i8 %146, 10
br i1 %147, label %148, label %149
148: ; preds = %144
store i8 32, i8* %145
br label %149
149: ; preds = %148, %144
%150 = getelementptr inbounds [30 x i8], [30 x i8]* %3, i64 0, i64 29
%151 = load i8, i8* %150
%152 = icmp eq i8 %151, 10
br i1 %152, label %153, label %154
153: ; preds = %149
store i8 32, i8* %150
br label %154
154: ; preds = %153, %149
%155 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.2, i64 0, i64 0))
%156 = load i32, i32* @stdin
%157 = call i32 @fgets(i8* %8, i32 30, i32 %156)
%158 = call i32 @strlen(i8* %8)
%159 = bitcast [30 x i8]* %4 to <8 x i8>*
%160 = load <8 x i8>, <8 x i8>* %159
%161 = icmp eq <8 x i8> %160, <i8 10, i8 10, i8 10, i8 10, i8 10, i8 10, i8 10, i8 10>
%162 = extractelement <8 x i1> %161, i64 0
br i1 %162, label %163, label %165
163: ; preds = %154
%164 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 0
store i8 44, i8* %164
br label %165
165: ; preds = %163, %154
%166 = extractelement <8 x i1> %161, i64 1
br i1 %166, label %167, label %169
167: ; preds = %165
%168 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 1
store i8 44, i8* %168
br label %169
169: ; preds = %167, %165
%170 = extractelement <8 x i1> %161, i64 2
br i1 %170, label %171, label %173
171: ; preds = %169
%172 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 2
store i8 44, i8* %172
br label %173
173: ; preds = %171, %169
%174 = extractelement <8 x i1> %161, i64 3
br i1 %174, label %175, label %177
175: ; preds = %173
%176 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 3
store i8 44, i8* %176
br label %177
177: ; preds = %175, %173
%178 = extractelement <8 x i1> %161, i64 4
br i1 %178, label %179, label %181
179: ; preds = %177
%180 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 4
store i8 44, i8* %180
br label %181
181: ; preds = %179, %177
%182 = extractelement <8 x i1> %161, i64 5
br i1 %182, label %183, label %185
183: ; preds = %181
%184 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 5
store i8 44, i8* %184
br label %185
185: ; preds = %183, %181
%186 = extractelement <8 x i1> %161, i64 6
br i1 %186, label %187, label %189
187: ; preds = %185
%188 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 6
store i8 44, i8* %188
br label %189
189: ; preds = %187, %185
%190 = extractelement <8 x i1> %161, i64 7
br i1 %190, label %191, label %193
191: ; preds = %189
%192 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 7
store i8 44, i8* %192
br label %193
193: ; preds = %191, %189
%194 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 8
%195 = bitcast i8* %194 to <8 x i8>*
%196 = load <8 x i8>, <8 x i8>* %195
%197 = icmp eq <8 x i8> %196, <i8 10, i8 10, i8 10, i8 10, i8 10, i8 10, i8 10, i8 10>
%198 = extractelement <8 x i1> %197, i64 0
br i1 %198, label %199, label %201
199: ; preds = %193
%200 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 8
store i8 44, i8* %200
br label %201
201: ; preds = %199, %193
%202 = extractelement <8 x i1> %197, i64 1
br i1 %202, label %203, label %205
203: ; preds = %201
%204 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 9
store i8 44, i8* %204
br label %205
205: ; preds = %203, %201
%206 = extractelement <8 x i1> %197, i64 2
br i1 %206, label %207, label %209
207: ; preds = %205
%208 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 10
store i8 44, i8* %208
br label %209
209: ; preds = %207, %205
%210 = extractelement <8 x i1> %197, i64 3
br i1 %210, label %211, label %213
211: ; preds = %209
%212 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 11
store i8 44, i8* %212
br label %213
213: ; preds = %211, %209
%214 = extractelement <8 x i1> %197, i64 4
br i1 %214, label %215, label %217
215: ; preds = %213
%216 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 12
store i8 44, i8* %216
br label %217
217: ; preds = %215, %213
%218 = extractelement <8 x i1> %197, i64 5
br i1 %218, label %219, label %221
219: ; preds = %217
%220 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 13
store i8 44, i8* %220
br label %221
221: ; preds = %219, %217
%222 = extractelement <8 x i1> %197, i64 6
br i1 %222, label %223, label %225
223: ; preds = %221
%224 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 14
store i8 44, i8* %224
br label %225
225: ; preds = %223, %221
%226 = extractelement <8 x i1> %197, i64 7
br i1 %226, label %227, label %229
227: ; preds = %225
%228 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 15
store i8 44, i8* %228
br label %229
229: ; preds = %227, %225
%230 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 16
%231 = bitcast i8* %230 to <8 x i8>*
%232 = load <8 x i8>, <8 x i8>* %231
%233 = icmp eq <8 x i8> %232, <i8 10, i8 10, i8 10, i8 10, i8 10, i8 10, i8 10, i8 10>
%234 = extractelement <8 x i1> %233, i64 0
br i1 %234, label %235, label %237
235: ; preds = %229
%236 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 16
store i8 44, i8* %236
br label %237
237: ; preds = %235, %229
%238 = extractelement <8 x i1> %233, i64 1
br i1 %238, label %239, label %241
239: ; preds = %237
%240 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 17
store i8 44, i8* %240
br label %241
241: ; preds = %239, %237
%242 = extractelement <8 x i1> %233, i64 2
br i1 %242, label %243, label %245
243: ; preds = %241
%244 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 18
store i8 44, i8* %244
br label %245
245: ; preds = %243, %241
%246 = extractelement <8 x i1> %233, i64 3
br i1 %246, label %247, label %249
247: ; preds = %245
%248 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 19
store i8 44, i8* %248
br label %249
249: ; preds = %247, %245
%250 = extractelement <8 x i1> %233, i64 4
br i1 %250, label %251, label %253
251: ; preds = %249
%252 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 20
store i8 44, i8* %252
br label %253
253: ; preds = %251, %249
%254 = extractelement <8 x i1> %233, i64 5
br i1 %254, label %255, label %257
255: ; preds = %253
%256 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 21
store i8 44, i8* %256
br label %257
257: ; preds = %255, %253
%258 = extractelement <8 x i1> %233, i64 6
br i1 %258, label %259, label %261
259: ; preds = %257
%260 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 22
store i8 44, i8* %260
br label %261
261: ; preds = %259, %257
%262 = extractelement <8 x i1> %233, i64 7
br i1 %262, label %263, label %265
263: ; preds = %261
%264 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 23
store i8 44, i8* %264
br label %265
265: ; preds = %261, %263
%266 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 24
%267 = load i8, i8* %266
%268 = icmp eq i8 %267, 10
br i1 %268, label %269, label %270
269: ; preds = %265
store i8 44, i8* %266
br label %270
270: ; preds = %265, %269
%271 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 25
%272 = load i8, i8* %271
%273 = icmp eq i8 %272, 10
br i1 %273, label %274, label %275
274: ; preds = %270
store i8 44, i8* %271
br label %275
275: ; preds = %274, %270
%276 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 26
%277 = load i8, i8* %276
%278 = icmp eq i8 %277, 10
br i1 %278, label %279, label %280
279: ; preds = %275
store i8 44, i8* %276
br label %280
280: ; preds = %279, %275
%281 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 27
%282 = load i8, i8* %281
%283 = icmp eq i8 %282, 10
br i1 %283, label %284, label %285
284: ; preds = %280
store i8 44, i8* %281
br label %285
285: ; preds = %284, %280
%286 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 28
%287 = load i8, i8* %286
%288 = icmp eq i8 %287, 10
br i1 %288, label %289, label %290
289: ; preds = %285
store i8 44, i8* %286
br label %290
290: ; preds = %289, %285
%291 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 29
%292 = load i8, i8* %291
%293 = icmp eq i8 %292, 10
br i1 %293, label %294, label %295
294: ; preds = %290
store i8 44, i8* %291
br label %295
295: ; preds = %294, %290
%296 = add i32 %12, 1
%297 = add i32 %296, %17
%298 = add i32 %297, %158
%299 = call i64 @calloc(i32 %298, i32 1)
%300 = inttoptr i64 %299 to i8*
%301 = icmp eq i64 %299, 0
br i1 %301, label %302, label %304
302: ; preds = %295
%303 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str, i64 0, i64 0))
br label %308
304: ; preds = %295
%305 = call i32 @strcpy(i8* %300, i8* %7)
%306 = call i32 @strcat(i8* %300, i8* %8)
%307 = call i32 @strcat(i8* %300, i8* %5)
br label %308
308: ; preds = %304, %302
%309 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i8* %300)
%310 = call i32 @free(i8* %300)
ret i32 0
}