#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ fgets(char *, int, int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ stdin;
size_t strcspn(char *, char *);
int strlen(char *);
int main() {
  char mensagem[200];
  printf("Digite a mensagem: ");
  fgets(mensagem, 200, stdin);
  mensagem[strcspn(mensagem, "\n")] = 0;
  int tamanho = strlen(mensagem);
  char vetor_binario[tamanho * 8 + 1];
  vetor_binario[tamanho * 8 + 1] = '\0';
  for (int i = 0; i < tamanho; i++) {
    for (int j = 7; j >= 0; j--) {
      vetor_binario[i * 8 + (7 - j)] = ((mensagem[i] >> j) & 1) + '0';
    }
  }
  printf("%s", vetor_binario);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x100,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xea7(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2e81(%rip),%rax
mov    (%rax),%edx
lea    -0xd0(%rbp),%rdi
mov    %rdi,-0x100(%rbp)
mov    $0xc8,%esi
call   1060 <fgets@plt>
mov    -0x100(%rbp),%rdi
lea    0xe85(%rip),%rsi
call   1050 <strcspn@plt>
mov    -0x100(%rbp),%rdi
movb   $0x0,-0xd0(%rbp,%rax,1)
call   1030 <strlen@plt>
mov    %eax,-0xd4(%rbp)
mov    -0xd4(%rbp),%ecx
mov    %ecx,%eax
lea    0x1(,%rax,8),%eax
mov    %eax,%ecx
mov    %rsp,%rax
mov    %rax,-0xe0(%rbp)
mov    %rcx,%rdx
add    $0xf,%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rax
sub    %rdx,%rax
mov    %rax,-0xf8(%rbp)
mov    %rax,%rsp
mov    %rcx,-0xe8(%rbp)
mov    -0xd4(%rbp),%ecx
shl    $0x3,%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movb   $0x0,(%rax,%rcx,1)
movl   $0x0,-0xec(%rbp)
mov    -0xec(%rbp),%eax
cmp    -0xd4(%rbp),%eax
jge    12a2 <main+0x162>
movl   $0x7,-0xf0(%rbp)
cmpl   $0x0,-0xf0(%rbp)
jl     1289 <main+0x149>
mov    -0xf8(%rbp),%rax
movslq -0xec(%rbp),%rcx
movsbl -0xd0(%rbp,%rcx,1),%edx
ff
mov    -0xf0(%rbp),%ecx
sar    %cl,%edx
mov    %edx,%ecx
and    $0x1,%ecx
add    $0x30,%ecx
mov    %cl,%dl
mov    -0xec(%rbp),%ecx
shl    $0x3,%ecx
mov    $0x7,%esi
sub    -0xf0(%rbp),%esi
add    %esi,%ecx
movslq %ecx,%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0xf0(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0xf0(%rbp)
jmp    1224 <main+0xe4>
jmp    128e <main+0x14e>
mov    -0xec(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xec(%rbp)
jmp    1208 <main+0xc8>
mov    -0xf8(%rbp),%rsi
lea    0xd66(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0xe0(%rbp),%rax
mov    %rax,%rsp
mov    -0x4(%rbp),%eax
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %r14
push   %rbx
sub    $0x110,%rsp
lea    0xf0b(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2e85(%rip),%rax
mov    (%rax),%edx
lea    -0x120(%rbp),%rbx
mov    %rbx,%rdi
mov    $0xc8,%esi
call   1060 <fgets@plt>
lea    0xef4(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcspn@plt>
movb   $0x0,-0x120(%rbp,%rax,1)
mov    %rbx,%rdi
call   1030 <strlen@plt>
mov    %rsp,%r14
lea    0x0(,%rax,8),%ecx
movslq %ecx,%rcx
lea    0x1(%rcx),%rdx
mov    %edx,%edx
mov    %rsp,%rsi
add    $0xf,%rdx
and    $0xfffffffffffffff0,%rdx
sub    %rdx,%rsi
mov    %rsi,%rsp
movb   $0x0,0x1(%rcx,%rsi,1)
test   %eax,%eax
jle    196f <main+0x82f>
mov    %eax,%ecx
cmp    $0x8,%eax
jae    11d7 <main+0x97>
xor    %eax,%eax
jmp    18f0 <main+0x7b0>
cmp    $0x10,%eax
jae    11e3 <main+0xa3>
xor    %eax,%eax
jmp    1664 <main+0x524>
mov    %ecx,%eax
and    $0xfffffff0,%eax
xor    %edx,%edx
nopw   0x0(%rax,%rax,1)
movdqa -0x120(%rbp,%rdx,1),%xmm4
ff ff
movdqa %xmm4,%xmm14
psrlw  $0x7,%xmm14
movdqa 0xdf4(%rip),%xmm0
pand   %xmm0,%xmm14
movdqa 0xdf7(%rip),%xmm1
por    %xmm1,%xmm14
movdqa %xmm4,%xmm2
psrlw  $0x6,%xmm2
pand   %xmm0,%xmm2
por    %xmm1,%xmm2
movdqa %xmm2,%xmm10
movdqa %xmm2,-0x30(%rbp)
movdqa %xmm4,%xmm11
psrlw  $0x5,%xmm11
pand   %xmm0,%xmm11
por    %xmm1,%xmm11
movdqa %xmm4,%xmm12
psrlw  $0x4,%xmm12
pand   %xmm0,%xmm12
por    %xmm1,%xmm12
movdqa %xmm4,%xmm8
psrlw  $0x3,%xmm8
pand   %xmm0,%xmm8
por    %xmm1,%xmm8
movdqa %xmm4,%xmm9
psrlw  $0x2,%xmm9
pand   %xmm0,%xmm9
por    %xmm1,%xmm9
movdqa %xmm4,%xmm7
psrlw  $0x1,%xmm7
pand   %xmm0,%xmm7
por    %xmm1,%xmm7
pand   %xmm0,%xmm4
por    %xmm1,%xmm4
movdqa %xmm7,%xmm15
punpcklbw %xmm4,%xmm15
pshuflw $0x60,%xmm15,%xmm0
pshufd $0x60,%xmm0,%xmm0
movdqa 0xd5d(%rip),%xmm1
movdqa %xmm1,%xmm5
pandn  %xmm0,%xmm5
movdqa %xmm8,%xmm6
punpcklbw %xmm9,%xmm6
pshuflw $0xd4,%xmm6,%xmm0
pshufd $0x60,%xmm0,%xmm0
pand   %xmm1,%xmm0
por    %xmm5,%xmm0
pshufd $0xed,%xmm0,%xmm2
movdqa %xmm11,%xmm5
punpcklbw %xmm12,%xmm5
pshuflw $0x60,%xmm5,%xmm0
pshufd $0xd4,%xmm0,%xmm0
movdqa 0xd28(%rip),%xmm3
movdqa %xmm3,%xmm13
pandn  %xmm0,%xmm13
movdqa %xmm14,%xmm0
punpcklbw %xmm10,%xmm0
pshufd $0x0,%xmm0,%xmm10
pshufhw $0x55,%xmm10,%xmm1
pand   %xmm3,%xmm1
por    %xmm13,%xmm1
pshufd $0xe8,%xmm1,%xmm1
punpckldq %xmm2,%xmm1
movdqa %xmm1,-0x50(%rbp)
pshuflw $0xe8,%xmm15,%xmm1
pshufd $0x60,%xmm1,%xmm10
movdqa 0xccd(%rip),%xmm3
movdqa %xmm3,%xmm1
pandn  %xmm10,%xmm1
pshuflw $0xf6,%xmm6,%xmm2
pshufd $0x60,%xmm2,%xmm2
pand   %xmm3,%xmm2
movdqa %xmm3,%xmm13
por    %xmm1,%xmm2
pshufd $0xed,%xmm2,%xmm10
pshuflw $0xe8,%xmm5,%xmm2
pshufd $0xd4,%xmm2,%xmm2
movdqa 0xca5(%rip),%xmm3
movdqa %xmm3,%xmm1
pandn  %xmm2,%xmm1
pshufd $0x55,%xmm0,%xmm2
pshufhw $0x55,%xmm2,%xmm2
pand   %xmm3,%xmm2
por    %xmm1,%xmm2
pshufd $0xe8,%xmm2,%xmm1
punpckldq %xmm10,%xmm1
movdqa %xmm1,-0x40(%rbp)
pshufhw $0x60,%xmm15,%xmm1
pshufd $0xe8,%xmm1,%xmm10
movdqa %xmm13,%xmm1
pandn  %xmm10,%xmm1
pshufhw $0xd4,%xmm6,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pand   %xmm13,%xmm2
por    %xmm1,%xmm2
pshufhw $0x60,%xmm5,%xmm1
pshufd $0xf6,%xmm1,%xmm10
movdqa %xmm3,%xmm1
movdqa %xmm3,%xmm13
pandn  %xmm10,%xmm1
pshufd $0xaa,%xmm0,%xmm3
pshufhw $0x55,%xmm3,%xmm3
pand   %xmm13,%xmm3
por    %xmm1,%xmm3
pshufd $0xed,%xmm2,%xmm1
pshufd $0xe8,%xmm3,%xmm2
punpckldq %xmm1,%xmm2
movdqa %xmm2,-0x20(%rbp)
pshufhw $0xe8,%xmm15,%xmm1
pshufd $0xe8,%xmm1,%xmm1
movdqa 0xbf0(%rip),%xmm10
movdqa %xmm10,%xmm2
pandn  %xmm1,%xmm2
pshufhw $0xf6,%xmm6,%xmm1
pshufd $0xe8,%xmm1,%xmm1
pand   %xmm10,%xmm1
por    %xmm2,%xmm1
pshufhw $0xe8,%xmm5,%xmm2
pshufd $0xf6,%xmm2,%xmm2
movdqa %xmm13,%xmm3
pandn  %xmm2,%xmm3
pshufd $0xff,%xmm0,%xmm0
pshufhw $0x55,%xmm0,%xmm0
pand   %xmm13,%xmm0
por    %xmm3,%xmm0
pshufd $0xed,%xmm1,%xmm1
pshufd $0xe8,%xmm0,%xmm15
punpckldq %xmm1,%xmm15
punpckhbw %xmm4,%xmm7
pshuflw $0x60,%xmm7,%xmm0
pshufd $0x60,%xmm0,%xmm0
movdqa %xmm10,%xmm1
pandn  %xmm0,%xmm1
punpckhbw %xmm9,%xmm8
pshuflw $0xd4,%xmm8,%xmm0
pshufd $0x60,%xmm0,%xmm0
pand   %xmm10,%xmm0
por    %xmm1,%xmm0
pshufd $0xed,%xmm0,%xmm0
punpckhbw %xmm12,%xmm11
pshuflw $0x60,%xmm11,%xmm1
pshufd $0xd4,%xmm1,%xmm1
movdqa %xmm13,%xmm2
pandn  %xmm1,%xmm2
punpckhbw -0x30(%rbp),%xmm14
pshufd $0x0,%xmm14,%xmm1
pshufhw $0x55,%xmm1,%xmm1
pand   %xmm13,%xmm1
por    %xmm2,%xmm1
pshufd $0xe8,%xmm1,%xmm1
punpckldq %xmm0,%xmm1
pshuflw $0xe8,%xmm7,%xmm0
pshufd $0x60,%xmm0,%xmm0
movdqa %xmm10,%xmm2
pandn  %xmm0,%xmm2
pshuflw $0xf6,%xmm8,%xmm0
pshufd $0x60,%xmm0,%xmm0
pand   %xmm10,%xmm0
por    %xmm2,%xmm0
pshufd $0xed,%xmm0,%xmm2
pshuflw $0xe8,%xmm11,%xmm0
pshufd $0xd4,%xmm0,%xmm0
movdqa %xmm13,%xmm3
pandn  %xmm0,%xmm3
pshufd $0x55,%xmm14,%xmm0
pshufhw $0x55,%xmm0,%xmm0
pand   %xmm13,%xmm0
por    %xmm3,%xmm0
pshufd $0xe8,%xmm0,%xmm0
punpckldq %xmm2,%xmm0
pshufhw $0x60,%xmm7,%xmm2
pshufd $0xe8,%xmm2,%xmm2
movdqa %xmm10,%xmm3
pandn  %xmm2,%xmm3
pshufhw $0xd4,%xmm8,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pand   %xmm10,%xmm2
por    %xmm3,%xmm2
pshufhw $0x60,%xmm11,%xmm3
pshufd $0xf6,%xmm3,%xmm3
movdqa %xmm13,%xmm4
pandn  %xmm3,%xmm4
pshufd $0xaa,%xmm14,%xmm3
pshufhw $0x55,%xmm3,%xmm3
pand   %xmm13,%xmm3
por    %xmm4,%xmm3
pshufd $0xed,%xmm2,%xmm2
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm2,%xmm3
pshufhw $0xe8,%xmm7,%xmm2
pshufd $0xe8,%xmm2,%xmm2
movdqa %xmm10,%xmm4
pandn  %xmm2,%xmm4
pshufhw $0xf6,%xmm8,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pand   %xmm10,%xmm2
por    %xmm4,%xmm2
pshufhw $0xe8,%xmm11,%xmm4
pshufd $0xf6,%xmm4,%xmm4
movdqa %xmm13,%xmm5
pandn  %xmm4,%xmm5
pshufd $0xff,%xmm14,%xmm4
pshufhw $0x55,%xmm4,%xmm4
pand   %xmm13,%xmm4
por    %xmm5,%xmm4
pshufd $0xed,%xmm2,%xmm2
pshufd $0xe8,%xmm4,%xmm4
punpckldq %xmm2,%xmm4
movdqa %xmm4,0x70(%rsi,%rdx,8)
movdqa %xmm3,0x60(%rsi,%rdx,8)
movdqa %xmm0,0x50(%rsi,%rdx,8)
movdqa %xmm1,0x40(%rsi,%rdx,8)
movdqa %xmm15,0x30(%rsi,%rdx,8)
movaps -0x20(%rbp),%xmm0
movaps %xmm0,0x20(%rsi,%rdx,8)
movaps -0x40(%rbp),%xmm0
movaps %xmm0,0x10(%rsi,%rdx,8)
movdqa -0x50(%rbp),%xmm0
movdqa %xmm0,(%rsi,%rdx,8)
add    $0x10,%rdx
cmp    %rdx,%rax
jne    11f0 <main+0xb0>
cmp    %rcx,%rax
je     196f <main+0x82f>
test   $0x8,%cl
je     18f0 <main+0x7b0>
mov    %rax,%rdx
mov    %ecx,%eax
and    $0xfffffff8,%eax
movdqa 0x98b(%rip),%xmm8
movdqa 0x9c2(%rip),%xmm11
movdqa 0x9c9(%rip),%xmm10
movdqa 0x9c0(%rip),%xmm9
movdqa 0x987(%rip),%xmm12
movdqa 0x98e(%rip),%xmm13
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movq   -0x120(%rbp,%rdx,1),%xmm2
ff ff
movdqa %xmm2,%xmm6
psrlw  $0x7,%xmm6
pand   %xmm8,%xmm6
por    %xmm11,%xmm6
movdqa %xmm2,%xmm0
psrlw  $0x6,%xmm0
pand   %xmm10,%xmm0
por    %xmm11,%xmm0
punpcklbw %xmm0,%xmm6
movdqa %xmm2,%xmm7
psrlw  $0x5,%xmm7
pand   %xmm10,%xmm7
por    %xmm11,%xmm7
movdqa %xmm2,%xmm0
psrlw  $0x4,%xmm0
pand   %xmm10,%xmm0
por    %xmm11,%xmm0
punpcklbw %xmm0,%xmm7
movdqa %xmm2,%xmm0
psrlw  $0x3,%xmm0
pand   %xmm10,%xmm0
por    %xmm11,%xmm0
movdqa %xmm2,%xmm1
psrlw  $0x2,%xmm1
pand   %xmm10,%xmm1
por    %xmm11,%xmm1
punpcklbw %xmm1,%xmm0
movdqa %xmm2,%xmm3
psrlw  $0x1,%xmm3
pand   %xmm10,%xmm3
por    %xmm11,%xmm3
pand   %xmm9,%xmm2
por    %xmm11,%xmm2
punpcklbw %xmm2,%xmm3
pshuflw $0x60,%xmm3,%xmm1
pshufd $0x60,%xmm1,%xmm1
movdqa %xmm12,%xmm2
pandn  %xmm1,%xmm2
pshuflw $0xd4,%xmm0,%xmm1
pshufd $0x60,%xmm1,%xmm1
pand   %xmm12,%xmm1
por    %xmm2,%xmm1
pshufd $0xed,%xmm1,%xmm1
pshuflw $0x60,%xmm7,%xmm2
pshufd $0xd4,%xmm2,%xmm2
movdqa %xmm13,%xmm5
pandn  %xmm2,%xmm5
pshufd $0x0,%xmm6,%xmm2
pshufhw $0x55,%xmm2,%xmm2
pand   %xmm13,%xmm2
por    %xmm5,%xmm2
pshufd $0xe8,%xmm2,%xmm14
punpckldq %xmm1,%xmm14
pshuflw $0xe8,%xmm3,%xmm1
pshufd $0x60,%xmm1,%xmm1
movdqa %xmm12,%xmm5
pandn  %xmm1,%xmm5
pshuflw $0xf6,%xmm0,%xmm1
pshufd $0x60,%xmm1,%xmm1
pand   %xmm12,%xmm1
por    %xmm5,%xmm1
pshufd $0xed,%xmm1,%xmm5
pshuflw $0xe8,%xmm7,%xmm1
pshufd $0xd4,%xmm1,%xmm1
movdqa %xmm13,%xmm4
pandn  %xmm1,%xmm4
pshufd $0x55,%xmm6,%xmm1
pshufhw $0x55,%xmm1,%xmm1
pand   %xmm13,%xmm1
por    %xmm4,%xmm1
pshufd $0xe8,%xmm1,%xmm1
punpckldq %xmm5,%xmm1
pshufhw $0x60,%xmm3,%xmm4
pshufd $0xe8,%xmm4,%xmm4
movdqa %xmm12,%xmm5
pandn  %xmm4,%xmm5
pshufhw $0xd4,%xmm0,%xmm4
pshufd $0xe8,%xmm4,%xmm4
pand   %xmm12,%xmm4
por    %xmm5,%xmm4
pshufd $0xed,%xmm4,%xmm4
pshufhw $0x60,%xmm7,%xmm5
pshufd $0xf6,%xmm5,%xmm5
movdqa %xmm13,%xmm2
pandn  %xmm5,%xmm2
pshufd $0xaa,%xmm6,%xmm5
pshufhw $0x55,%xmm5,%xmm5
pand   %xmm13,%xmm5
por    %xmm2,%xmm5
pshufd $0xe8,%xmm5,%xmm2
punpckldq %xmm4,%xmm2
pshufhw $0xe8,%xmm3,%xmm3
pshufd $0xe8,%xmm3,%xmm3
movdqa %xmm12,%xmm4
pandn  %xmm3,%xmm4
pshufhw $0xf6,%xmm0,%xmm0
pshufd $0xe8,%xmm0,%xmm0
pand   %xmm12,%xmm0
por    %xmm4,%xmm0
pshufd $0xed,%xmm0,%xmm0
pshufhw $0xe8,%xmm7,%xmm3
pshufd $0xf6,%xmm3,%xmm3
movdqa %xmm13,%xmm4
pandn  %xmm3,%xmm4
pshufd $0xff,%xmm6,%xmm3
pshufhw $0x55,%xmm3,%xmm3
pand   %xmm13,%xmm3
por    %xmm4,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm0,%xmm3
movdqu %xmm3,0x30(%rsi,%rdx,8)
movdqu %xmm2,0x20(%rsi,%rdx,8)
movdqu %xmm1,0x10(%rsi,%rdx,8)
movdqu %xmm14,(%rsi,%rdx,8)
add    $0x8,%rdx
cmp    %rdx,%rax
jne    16b0 <main+0x570>
cmp    %rcx,%rax
je     196f <main+0x82f>
movzbl -0x120(%rbp,%rax,1),%ebx
ff
mov    %ebx,%edx
shr    $0x7,%dl
or     $0x30,%dl
mov    %dl,(%rsi,%rax,8)
mov    %ebx,%edx
shr    $0x6,%dl
and    $0x1,%dl
or     $0x30,%dl
mov    %dl,0x1(%rsi,%rax,8)
mov    %ebx,%edx
shr    $0x5,%dl
and    $0x1,%dl
or     $0x30,%dl
mov    %dl,0x2(%rsi,%rax,8)
mov    %ebx,%edx
shr    $0x4,%dl
and    $0x1,%dl
or     $0x30,%dl
mov    %dl,0x3(%rsi,%rax,8)
mov    %ebx,%edx
shr    $0x3,%dl
and    $0x1,%dl
or     $0x30,%dl
mov    %dl,0x4(%rsi,%rax,8)
mov    %ebx,%edx
shr    $0x2,%dl
and    $0x1,%dl
or     $0x30,%dl
mov    %dl,0x5(%rsi,%rax,8)
mov    %ebx,%edx
shr    %dl
and    $0x1,%dl
or     $0x30,%dl
mov    %dl,0x6(%rsi,%rax,8)
and    $0x1,%bl
or     $0x30,%bl
mov    %bl,0x7(%rsi,%rax,8)
add    $0x1,%rax
cmp    %rax,%rcx
jne    18f0 <main+0x7b0>
lea    0x700(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r14,%rsp
xor    %eax,%eax
lea    -0x10(%rbp),%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

LLVM IR (-O0):
@.str = [20 x i8] c"Digite a mensagem: \00"
@stdin = global i32 0
@.str.1 = [2 x i8] c"\0A\00"
@.str.2 = [3 x i8] c"%s\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [200 x i8]
%3 = alloca i32
%4 = alloca i8*
%5 = alloca i64
%6 = alloca i32
%7 = alloca i32
store i32 0, i32* %1
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0))
%9 = getelementptr inbounds [200 x i8], [200 x i8]* %2, i64 0, i64 0
%10 = load i32, i32* @stdin
%11 = call i32 @fgets(i8* %9, i32 200, i32 %10)
%12 = getelementptr inbounds [200 x i8], [200 x i8]* %2, i64 0, i64 0
%13 = call i64 @strcspn(i8* %12, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%14 = getelementptr inbounds [200 x i8], [200 x i8]* %2, i64 0, i64 %13
store i8 0, i8* %14
%15 = getelementptr inbounds [200 x i8], [200 x i8]* %2, i64 0, i64 0
%16 = call i32 @strlen(i8* %15)
store i32 %16, i32* %3
%17 = load i32, i32* %3
%18 = mul nsw i32 %17, 8
%19 = add nsw i32 %18, 1
%20 = zext i32 %19 to i64
%21 = call i8* @llvm.stacksave()
store i8* %21, i8** %4
%22 = alloca i8, i64 %20
store i64 %20, i64* %5
%23 = load i32, i32* %3
%24 = mul nsw i32 %23, 8
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, i8* %22, i64 %26
store i8 0, i8* %27
store i32 0, i32* %6
br label %28
28: ; preds = %58, %0
%29 = load i32, i32* %6
%30 = load i32, i32* %3
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %61
32: ; preds = %28
store i32 7, i32* %7
br label %33
33: ; preds = %54, %32
%34 = load i32, i32* %7
%35 = icmp sge i32 %34, 0
br i1 %35, label %36, label %57
36: ; preds = %33
%37 = load i32, i32* %6
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [200 x i8], [200 x i8]* %2, i64 0, i64 %38
%40 = load i8, i8* %39
%41 = sext i8 %40 to i32
%42 = load i32, i32* %7
%43 = ashr i32 %41, %42
%44 = and i32 %43, 1
%45 = add nsw i32 %44, 48
%46 = trunc i32 %45 to i8
%47 = load i32, i32* %6
%48 = mul nsw i32 %47, 8
%49 = load i32, i32* %7
%50 = sub nsw i32 7, %49
%51 = add nsw i32 %48, %50
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, i8* %22, i64 %52
store i8 %46, i8* %53
br label %54
54: ; preds = %36
%55 = load i32, i32* %7
%56 = add nsw i32 %55, -1
store i32 %56, i32* %7
br label %33
57: ; preds = %33
br label %58
58: ; preds = %57
%59 = load i32, i32* %6
%60 = add nsw i32 %59, 1
store i32 %60, i32* %6
br label %28
61: ; preds = %28
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* %22)
%63 = load i8*, i8** %4
%64 = load i32, i32* %1
ret i32 %64
}

LLVM IR (-O2):
@.str = [20 x i8] c"Digite a mensagem: \00"
@stdin = global i32 0
@.str.1 = [2 x i8] c"\0A\00"
@.str.2 = [3 x i8] c"%s\00"
define i32 @main() {
%1 = alloca [200 x i8]
%2 = getelementptr inbounds [200 x i8], [200 x i8]* %1, i64 0, i64 0
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0))
%4 = load i32, i32* @stdin
%5 = call i32 @fgets(i8* %2, i32 200, i32 %4)
%6 = call i64 @strcspn(i8* %2, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%7 = getelementptr inbounds [200 x i8], [200 x i8]* %1, i64 0, i64 %6
store i8 0, i8* %7
%8 = call i32 @strlen(i8* %2)
%9 = shl nsw i32 %8, 3
%10 = or i32 %9, 1
%11 = zext i32 %10 to i64
%12 = call i8* @llvm.stacksave()
%13 = alloca i8, i64 %11
%14 = sext i32 %10 to i64
%15 = getelementptr inbounds i8, i8* %13, i64 %14
store i8 0, i8* %15
%16 = icmp sgt i32 %8, 0
br i1 %16, label %17, label %162
17: ; preds = %0
%18 = zext i32 %8 to i64
%19 = icmp ult i32 %8, 8
br i1 %19, label %116, label %20
20: ; preds = %17
%21 = icmp ult i32 %8, 16
br i1 %21, label %70, label %22
22: ; preds = %20
%23 = and i64 %18, 4294967280
%24 = getelementptr inbounds i8, i8* %13, i64 -7
br label %25
25: ; preds = %25, %22
%26 = phi i64 [ 0, %22 ], [ %63, %25 ]
%27 = getelementptr inbounds [200 x i8], [200 x i8]* %1, i64 0, i64 %26
%28 = bitcast i8* %27 to <16 x i8>*
%29 = load <16 x i8>, <16 x i8>* %28
%30 = shl nsw i64 %26, 3
%31 = or i64 %30, 7
%32 = lshr <16 x i8> %29, <i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7>
%33 = or <16 x i8> %32, <i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48>
%34 = lshr <16 x i8> %29, <i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6>
%35 = and <16 x i8> %34, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
%36 = or <16 x i8> %35, <i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48>
%37 = lshr <16 x i8> %29, <i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5>
%38 = and <16 x i8> %37, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
%39 = or <16 x i8> %38, <i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48>
%40 = lshr <16 x i8> %29, <i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4>
%41 = and <16 x i8> %40, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
%42 = or <16 x i8> %41, <i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48>
%43 = lshr <16 x i8> %29, <i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3>
%44 = and <16 x i8> %43, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
%45 = or <16 x i8> %44, <i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48>
%46 = lshr <16 x i8> %29, <i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2>
%47 = and <16 x i8> %46, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
%48 = or <16 x i8> %47, <i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48>
%49 = lshr <16 x i8> %29, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
%50 = and <16 x i8> %49, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
%51 = or <16 x i8> %50, <i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48>
%52 = and <16 x i8> %29, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
%53 = or <16 x i8> %52, <i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48>
%54 = getelementptr inbounds i8, i8* %24, i64 %31
%55 = bitcast i8* %54 to <128 x i8>*
%56 = shufflevector <16 x i8> %33, <16 x i8> %36, <32 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31>
%57 = shufflevector <16 x i8> %39, <16 x i8> %42, <32 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31>
%58 = shufflevector <16 x i8> %45, <16 x i8> %48, <32 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31>
%59 = shufflevector <16 x i8> %51, <16 x i8> %53, <32 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31>
%60 = shufflevector <32 x i8> %56, <32 x i8> %57, <64 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31, i32 32, i32 33, i32 34, i32 35, i32 36, i32 37, i32 38, i32 39, i32 40, i32 41, i32 42, i32 43, i32 44, i32 45, i32 46, i32 47, i32 48, i32 49, i32 50, i32 51, i32 52, i32 53, i32 54, i32 55, i32 56, i32 57, i32 58, i32 59, i32 60, i32 61, i32 62, i32 63>
%61 = shufflevector <32 x i8> %58, <32 x i8> %59, <64 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31, i32 32, i32 33, i32 34, i32 35, i32 36, i32 37, i32 38, i32 39, i32 40, i32 41, i32 42, i32 43, i32 44, i32 45, i32 46, i32 47, i32 48, i32 49, i32 50, i32 51, i32 52, i32 53, i32 54, i32 55, i32 56, i32 57, i32 58, i32 59, i32 60, i32 61, i32 62, i32 63>
%62 = shufflevector <64 x i8> %60, <64 x i8> %61, <128 x i32> <i32 0, i32 16, i32 32, i32 48, i32 64, i32 80, i32 96, i32 112, i32 1, i32 17, i32 33, i32 49, i32 65, i32 81, i32 97, i32 113, i32 2, i32 18, i32 34, i32 50, i32 66, i32 82, i32 98, i32 114, i32 3, i32 19, i32 35, i32 51, i32 67, i32 83, i32 99, i32 115, i32 4, i32 20, i32 36, i32 52, i32 68, i32 84, i32 100, i32 116, i32 5, i32 21, i32 37, i32 53, i32 69, i32 85, i32 101, i32 117, i32 6, i32 22, i32 38, i32 54, i32 70, i32 86, i32 102, i32 118, i32 7, i32 23, i32 39, i32 55, i32 71, i32 87, i32 103, i32 119, i32 8, i32 24, i32 40, i32 56, i32 72, i32 88, i32 104, i32 120, i32 9, i32 25, i32 41, i32 57, i32 73, i32 89, i32 105, i32 121, i32 10, i32 26, i32 42, i32 58, i32 74, i32 90, i32 106, i32 122, i32 11, i32 27, i32 43, i32 59, i32 75, i32 91, i32 107, i32 123, i32 12, i32 28, i32 44, i32 60, i32 76, i32 92, i32 108, i32 124, i32 13, i32 29, i32 45, i32 61, i32 77, i32 93, i32 109, i32 125, i32 14, i32 30, i32 46, i32 62, i32 78, i32 94, i32 110, i32 126, i32 15, i32 31, i32 47, i32 63, i32 79, i32 95, i32 111, i32 127>
store <128 x i8> %62, <128 x i8>* %55
%63 = add nuw i64 %26, 16
%64 = icmp eq i64 %63, %23
br i1 %64, label %65, label %25
65: ; preds = %25
%66 = icmp eq i64 %23, %18
br i1 %66, label %162, label %67
67: ; preds = %65
%68 = and i64 %18, 8
%69 = icmp eq i64 %68, 0
br i1 %69, label %116, label %70
70: ; preds = %20, %67
%71 = phi i64 [ %23, %67 ], [ 0, %20 ]
%72 = and i64 %18, 4294967288
%73 = getelementptr inbounds i8, i8* %13, i64 -7
br label %74
74: ; preds = %74, %70
%75 = phi i64 [ %71, %70 ], [ %112, %74 ]
%76 = getelementptr inbounds [200 x i8], [200 x i8]* %1, i64 0, i64 %75
%77 = bitcast i8* %76 to <8 x i8>*
%78 = load <8 x i8>, <8 x i8>* %77
%79 = shl nsw i64 %75, 3
%80 = or i64 %79, 7
%81 = lshr <8 x i8> %78, <i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7>
%82 = or <8 x i8> %81, <i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48>
%83 = lshr <8 x i8> %78, <i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6>
%84 = and <8 x i8> %83, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
%85 = or <8 x i8> %84, <i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48>
%86 = lshr <8 x i8> %78, <i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5>
%87 = and <8 x i8> %86, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
%88 = or <8 x i8> %87, <i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48>
%89 = lshr <8 x i8> %78, <i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4>
%90 = and <8 x i8> %89, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
%91 = or <8 x i8> %90, <i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48>
%92 = lshr <8 x i8> %78, <i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3>
%93 = and <8 x i8> %92, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
%94 = or <8 x i8> %93, <i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48>
%95 = lshr <8 x i8> %78, <i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2>
%96 = and <8 x i8> %95, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
%97 = or <8 x i8> %96, <i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48>
%98 = lshr <8 x i8> %78, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
%99 = and <8 x i8> %98, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
%100 = or <8 x i8> %99, <i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48>
%101 = and <8 x i8> %78, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
%102 = or <8 x i8> %101, <i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48>
%103 = getelementptr inbounds i8, i8* %73, i64 %80
%104 = bitcast i8* %103 to <64 x i8>*
%105 = shufflevector <8 x i8> %82, <8 x i8> %85, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15>
%106 = shufflevector <8 x i8> %88, <8 x i8> %91, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15>
%107 = shufflevector <8 x i8> %94, <8 x i8> %97, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15>
%108 = shufflevector <8 x i8> %100, <8 x i8> %102, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15>
%109 = shufflevector <16 x i8> %105, <16 x i8> %106, <32 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31>
%110 = shufflevector <16 x i8> %107, <16 x i8> %108, <32 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31>
%111 = shufflevector <32 x i8> %109, <32 x i8> %110, <64 x i32> <i32 0, i32 8, i32 16, i32 24, i32 32, i32 40, i32 48, i32 56, i32 1, i32 9, i32 17, i32 25, i32 33, i32 41, i32 49, i32 57, i32 2, i32 10, i32 18, i32 26, i32 34, i32 42, i32 50, i32 58, i32 3, i32 11, i32 19, i32 27, i32 35, i32 43, i32 51, i32 59, i32 4, i32 12, i32 20, i32 28, i32 36, i32 44, i32 52, i32 60, i32 5, i32 13, i32 21, i32 29, i32 37, i32 45, i32 53, i32 61, i32 6, i32 14, i32 22, i32 30, i32 38, i32 46, i32 54, i32 62, i32 7, i32 15, i32 23, i32 31, i32 39, i32 47, i32 55, i32 63>
store <64 x i8> %111, <64 x i8>* %104
%112 = add nuw i64 %75, 8
%113 = icmp eq i64 %112, %72
br i1 %113, label %114, label %74
114: ; preds = %74
%115 = icmp eq i64 %72, %18
br i1 %115, label %162, label %116
116: ; preds = %17, %67, %114
%117 = phi i64 [ 0, %17 ], [ %23, %67 ], [ %72, %114 ]
br label %118
118: ; preds = %116, %118
%119 = phi i64 [ %160, %118 ], [ %117, %116 ]
%120 = getelementptr inbounds [200 x i8], [200 x i8]* %1, i64 0, i64 %119
%121 = load i8, i8* %120
%122 = shl nsw i64 %119, 3
%123 = or i64 %122, 7
%124 = lshr i8 %121, 7
%125 = or i8 %124, 48
%126 = getelementptr inbounds i8, i8* %13, i64 %122
store i8 %125, i8* %126
%127 = lshr i8 %121, 6
%128 = and i8 %127, 1
%129 = or i8 %128, 48
%130 = or i64 %122, 1
%131 = getelementptr inbounds i8, i8* %13, i64 %130
store i8 %129, i8* %131
%132 = lshr i8 %121, 5
%133 = and i8 %132, 1
%134 = or i8 %133, 48
%135 = or i64 %122, 2
%136 = getelementptr inbounds i8, i8* %13, i64 %135
store i8 %134, i8* %136
%137 = lshr i8 %121, 4
%138 = and i8 %137, 1
%139 = or i8 %138, 48
%140 = or i64 %122, 3
%141 = getelementptr inbounds i8, i8* %13, i64 %140
store i8 %139, i8* %141
%142 = lshr i8 %121, 3
%143 = and i8 %142, 1
%144 = or i8 %143, 48
%145 = or i64 %122, 4
%146 = getelementptr inbounds i8, i8* %13, i64 %145
store i8 %144, i8* %146
%147 = lshr i8 %121, 2
%148 = and i8 %147, 1
%149 = or i8 %148, 48
%150 = or i64 %122, 5
%151 = getelementptr inbounds i8, i8* %13, i64 %150
store i8 %149, i8* %151
%152 = lshr i8 %121, 1
%153 = and i8 %152, 1
%154 = or i8 %153, 48
%155 = or i64 %122, 6
%156 = getelementptr inbounds i8, i8* %13, i64 %155
store i8 %154, i8* %156
%157 = and i8 %121, 1
%158 = or i8 %157, 48
%159 = getelementptr inbounds i8, i8* %13, i64 %123
store i8 %158, i8* %159
%160 = add nuw nsw i64 %119, 1
%161 = icmp eq i64 %160, %18
br i1 %161, label %162, label %118
162: ; preds = %118, %65, %114, %0
%163 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* %13)
ret i32 0
}