#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 */
struct bitfield {
  int dummy;
};

/* Variables and functions */
int /*<<< orphan*/ bfdel(struct bitfield *);
int bfpopcount(struct bitfield *);
int /*<<< orphan*/ free(char *);
char *malloc(int);
int /*<<< orphan*/ printf(char *, ...);
int rand();
int /*<<< orphan*/ srand(unsigned int);
struct bitfield *str2bf(char *);
int strlen(char *);
scalar_t__ time(int /*<<< orphan*/ *);
int main() {
  srand((unsigned)time(NULL));
  int i;
  int len = 80;
  char *msg = "Testing bfpopcount()";
  char *failed = "[FAIL]";
  char *passed = "[PASS]";
  int dots = len - strlen(msg) - 6;
  printf("%s", msg);
  for (i = 0; i < dots; i++)
    printf(".");
  char *input_char = malloc((len + 1) * sizeof(char));
  for (i = 0; i < len; i++) {
    if (rand() % 2)
      input_char[i] = '1';
    else
      input_char[i] = '0';
  }
  input_char[len] = '\0';
  int count_s = 0;
  for (i = 0; i < len; i++)
    if (input_char[i] == '1')
      count_s++;
  struct bitfield *input = str2bf(input_char);
  free(input_char);
  int count_b = bfpopcount(input);
  bfdel(input);
  if (count_s != count_b) {
    printf("%s\n", failed);
    return 1;
  }
  printf("%s\n", passed);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
xor    %eax,%eax
mov    %eax,%edi
call   1070 <time@plt>
mov    %eax,%edi
call   1060 <srand@plt>
movl   $0x50,-0xc(%rbp)
lea    0xe33(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0xe3d(%rip),%rax
mov    %rax,-0x20(%rbp)
lea    0xe39(%rip),%rax
mov    %rax,-0x28(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x50(%rbp)
mov    -0x18(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,%ecx
mov    -0x50(%rbp),%eax
sub    %ecx,%eax
sub    $0x6,%eax
mov    %eax,-0x2c(%rbp)
mov    -0x18(%rbp),%rsi
lea    0xe15(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x8(%rbp)
mov    -0x8(%rbp),%eax
cmp    -0x2c(%rbp),%eax
jge    1244 <main+0xa4>
lea    0xdf7(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    121c <main+0x7c>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
cltq
shl    $0x0,%rax
mov    %eax,%edi
call   1080 <malloc@plt>
mov    %rax,-0x38(%rbp)
movl   $0x0,-0x8(%rbp)
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    12b6 <main+0x116>
mov    $0x0,%al
call   10c0 <rand@plt>
mov    $0x2,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
je     1297 <main+0xf7>
mov    -0x38(%rbp),%rax
movslq -0x8(%rbp),%rcx
movb   $0x31,(%rax,%rcx,1)
jmp    12a3 <main+0x103>
mov    -0x38(%rbp),%rax
movslq -0x8(%rbp),%rcx
movb   $0x30,(%rax,%rcx,1)
jmp    12a8 <main+0x108>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1262 <main+0xc2>
mov    -0x38(%rbp),%rax
movslq -0xc(%rbp),%rcx
movb   $0x0,(%rax,%rcx,1)
movl   $0x0,-0x3c(%rbp)
movl   $0x0,-0x8(%rbp)
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    130d <main+0x16d>
mov    -0x38(%rbp),%rax
movslq -0x8(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x31,%eax
jne    12fa <main+0x15a>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    12ff <main+0x15f>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    12d0 <main+0x130>
mov    -0x38(%rbp),%rdi
call   10a0 <str2bf@plt>
mov    %rax,-0x48(%rbp)
mov    -0x38(%rbp),%rdi
call   1030 <free@plt>
mov    -0x48(%rbp),%rdi
call   1090 <bfpopcount@plt>
mov    %eax,-0x4c(%rbp)
mov    -0x48(%rbp),%rdi
call   10b0 <bfdel@plt>
mov    -0x3c(%rbp),%eax
cmp    -0x4c(%rbp),%eax
je     1362 <main+0x1c2>
mov    -0x20(%rbp),%rsi
lea    0xcd9(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x1,-0x4(%rbp)
jmp    137b <main+0x1db>
mov    -0x28(%rbp),%rsi
lea    0xcbb(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
xor    %edi,%edi
call   1090 <time@plt>
mov    %eax,%edi
call   1080 <srand@plt>
lea    0xe44(%rip),%r14
mov    %r14,%rdi
call   1060 <strlen@plt>
mov    %eax,%ebx
mov    $0x4a,%ebp
sub    %eax,%ebp
lea    0xe4f(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1070 <printf@plt>
test   %ebp,%ebp
jle    121e <main+0x5e>
add    $0xffffffb6,%ebx
cs nopw 0x0(%rax,%rax,1)
nop
mov    $0x2e,%edi
call   1040 <putchar@plt>
inc    %ebx
jne    1210 <main+0x50>
mov    $0x51,%edi
call   10a0 <malloc@plt>
mov    %rax,%rbx
xor    %ebp,%ebp
nopl   (%rax)
xor    %eax,%eax
call   10e0 <rand@plt>
and    $0x1,%al
or     $0x30,%al
mov    %al,(%rbx,%rbp,1)
add    $0x1,%rbp
cmp    $0x50,%rbp
jne    1230 <main+0x70>
movb   $0x0,0x50(%rbx)
movd   (%rbx),%xmm2
movdqa 0xda8(%rip),%xmm0
pcmpeqb %xmm0,%xmm2
punpcklbw %xmm2,%xmm2
punpcklwd %xmm2,%xmm2
movdqa 0xda4(%rip),%xmm1
pand   %xmm1,%xmm2
movd   0x4(%rbx),%xmm3
pcmpeqb %xmm0,%xmm3
punpcklbw %xmm3,%xmm3
punpcklwd %xmm3,%xmm3
pand   %xmm1,%xmm3
paddd  %xmm2,%xmm3
movd   0x8(%rbx),%xmm4
pcmpeqb %xmm0,%xmm4
punpcklbw %xmm4,%xmm4
punpcklwd %xmm4,%xmm4
pand   %xmm1,%xmm4
movd   0xc(%rbx),%xmm2
pcmpeqb %xmm0,%xmm2
punpcklbw %xmm2,%xmm2
punpcklwd %xmm2,%xmm2
pand   %xmm1,%xmm2
paddd  %xmm4,%xmm2
paddd  %xmm3,%xmm2
movd   0x10(%rbx),%xmm3
pcmpeqb %xmm0,%xmm3
punpcklbw %xmm3,%xmm3
punpcklwd %xmm3,%xmm3
pand   %xmm1,%xmm3
movd   0x14(%rbx),%xmm4
pcmpeqb %xmm0,%xmm4
punpcklbw %xmm4,%xmm4
punpcklwd %xmm4,%xmm4
pand   %xmm1,%xmm4
paddd  %xmm3,%xmm4
movd   0x18(%rbx),%xmm3
pcmpeqb %xmm0,%xmm3
punpcklbw %xmm3,%xmm3
punpcklwd %xmm3,%xmm3
pand   %xmm1,%xmm3
paddd  %xmm4,%xmm3
paddd  %xmm2,%xmm3
movd   0x1c(%rbx),%xmm2
pcmpeqb %xmm0,%xmm2
punpcklbw %xmm2,%xmm2
punpcklwd %xmm2,%xmm2
pand   %xmm1,%xmm2
movd   0x20(%rbx),%xmm4
pcmpeqb %xmm0,%xmm4
punpcklbw %xmm4,%xmm4
punpcklwd %xmm4,%xmm4
pand   %xmm1,%xmm4
paddd  %xmm2,%xmm4
movd   0x24(%rbx),%xmm5
pcmpeqb %xmm0,%xmm5
punpcklbw %xmm5,%xmm5
punpcklwd %xmm5,%xmm5
pand   %xmm1,%xmm5
paddd  %xmm4,%xmm5
movd   0x28(%rbx),%xmm2
pcmpeqb %xmm0,%xmm2
punpcklbw %xmm2,%xmm2
punpcklwd %xmm2,%xmm2
pand   %xmm1,%xmm2
paddd  %xmm5,%xmm2
paddd  %xmm3,%xmm2
movd   0x2c(%rbx),%xmm3
pcmpeqb %xmm0,%xmm3
punpcklbw %xmm3,%xmm3
punpcklwd %xmm3,%xmm3
pand   %xmm1,%xmm3
movd   0x30(%rbx),%xmm4
pcmpeqb %xmm0,%xmm4
punpcklbw %xmm4,%xmm4
punpcklwd %xmm4,%xmm4
pand   %xmm1,%xmm4
paddd  %xmm3,%xmm4
movd   0x34(%rbx),%xmm3
pcmpeqb %xmm0,%xmm3
punpcklbw %xmm3,%xmm3
punpcklwd %xmm3,%xmm3
pand   %xmm1,%xmm3
paddd  %xmm4,%xmm3
movd   0x38(%rbx),%xmm4
pcmpeqb %xmm0,%xmm4
punpcklbw %xmm4,%xmm4
punpcklwd %xmm4,%xmm4
pand   %xmm1,%xmm4
paddd  %xmm3,%xmm4
movd   0x3c(%rbx),%xmm3
pcmpeqb %xmm0,%xmm3
punpcklbw %xmm3,%xmm3
punpcklwd %xmm3,%xmm3
pand   %xmm1,%xmm3
paddd  %xmm4,%xmm3
paddd  %xmm2,%xmm3
movd   0x40(%rbx),%xmm2
pcmpeqb %xmm0,%xmm2
punpcklbw %xmm2,%xmm2
punpcklwd %xmm2,%xmm2
pand   %xmm1,%xmm2
movd   0x44(%rbx),%xmm4
pcmpeqb %xmm0,%xmm4
punpcklbw %xmm4,%xmm4
punpcklwd %xmm4,%xmm4
pand   %xmm1,%xmm4
paddd  %xmm2,%xmm4
movd   0x48(%rbx),%xmm2
pcmpeqb %xmm0,%xmm2
punpcklbw %xmm2,%xmm2
punpcklwd %xmm2,%xmm2
pand   %xmm1,%xmm2
paddd  %xmm4,%xmm2
movd   0x4c(%rbx),%xmm4
pcmpeqb %xmm0,%xmm4
punpcklbw %xmm4,%xmm4
punpcklwd %xmm4,%xmm4
pand   %xmm1,%xmm4
paddd  %xmm2,%xmm4
paddd  %xmm3,%xmm4
pshufd $0xee,%xmm4,%xmm0
paddd  %xmm4,%xmm0
pshufd $0x55,%xmm0,%xmm1
paddd  %xmm0,%xmm1
movd   %xmm1,%r15d
mov    %rbx,%rdi
call   10c0 <str2bf@plt>
mov    %rax,%r14
mov    %rbx,%rdi
call   1030 <free@plt>
mov    %r14,%rdi
call   10b0 <bfpopcount@plt>
mov    %eax,%ebx
mov    %r14,%rdi
call   10d0 <bfdel@plt>
xor    %ebp,%ebp
cmp    %ebx,%r15d
setne  %bpl
lea    0xba5(%rip),%rax
lea    0xb97(%rip),%rdi
cmove  %rax,%rdi
call   1050 <puts@plt>
mov    %ebp,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.bitfield = type { i32 }
@.str = [21 x i8] c"Testing bfpopcount()\00"
@.str.1 = [7 x i8] c"[FAIL]\00"
@.str.2 = [7 x i8] c"[PASS]\00"
@.str.3 = [3 x i8] c"%s\00"
@.str.4 = [2 x i8] c".\00"
@.str.5 = [4 x i8] c"%s\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i8*
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca i32
%8 = alloca i8*
%9 = alloca i32
%10 = alloca %struct.bitfield*
%11 = alloca i32
store i32 0, i32* %1
%12 = call i64 @time(i32* null)
%13 = trunc i64 %12 to i32
%14 = call i32 @srand(i32 %13)
store i32 80, i32* %3
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i8** %4
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i8** %5
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8** %6
%15 = load i32, i32* %3
%16 = load i8*, i8** %4
%17 = call i32 @strlen(i8* %16)
%18 = sub nsw i32 %15, %17
%19 = sub nsw i32 %18, 6
store i32 %19, i32* %7
%20 = load i8*, i8** %4
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* %20)
store i32 0, i32* %2
br label %22
22: ; preds = %28, %0
%23 = load i32, i32* %2
%24 = load i32, i32* %7
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %31
26: ; preds = %22
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
br label %28
28: ; preds = %26
%29 = load i32, i32* %2
%30 = add nsw i32 %29, 1
store i32 %30, i32* %2
br label %22
31: ; preds = %22
%32 = load i32, i32* %3
%33 = add nsw i32 %32, 1
%34 = sext i32 %33 to i64
%35 = mul i64 %34, 1
%36 = trunc i64 %35 to i32
%37 = call i8* @malloc(i32 %36)
store i8* %37, i8** %8
store i32 0, i32* %2
br label %38
38: ; preds = %57, %31
%39 = load i32, i32* %2
%40 = load i32, i32* %3
%41 = icmp slt i32 %39, %40
br i1 %41, label %42, label %60
42: ; preds = %38
%43 = call i32 (...) @rand()
%44 = srem i32 %43, 2
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %51
46: ; preds = %42
%47 = load i8*, i8** %8
%48 = load i32, i32* %2
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, i8* %47, i64 %49
store i8 49, i8* %50
br label %56
51: ; preds = %42
%52 = load i8*, i8** %8
%53 = load i32, i32* %2
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, i8* %52, i64 %54
store i8 48, i8* %55
br label %56
56: ; preds = %51, %46
br label %57
57: ; preds = %56
%58 = load i32, i32* %2
%59 = add nsw i32 %58, 1
store i32 %59, i32* %2
br label %38
60: ; preds = %38
%61 = load i8*, i8** %8
%62 = load i32, i32* %3
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i8, i8* %61, i64 %63
store i8 0, i8* %64
store i32 0, i32* %9
store i32 0, i32* %2
br label %65
65: ; preds = %81, %60
%66 = load i32, i32* %2
%67 = load i32, i32* %3
%68 = icmp slt i32 %66, %67
br i1 %68, label %69, label %84
69: ; preds = %65
%70 = load i8*, i8** %8
%71 = load i32, i32* %2
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, i8* %70, i64 %72
%74 = load i8, i8* %73
%75 = sext i8 %74 to i32
%76 = icmp eq i32 %75, 49
br i1 %76, label %77, label %80
77: ; preds = %69
%78 = load i32, i32* %9
%79 = add nsw i32 %78, 1
store i32 %79, i32* %9
br label %80
80: ; preds = %77, %69
br label %81
81: ; preds = %80
%82 = load i32, i32* %2
%83 = add nsw i32 %82, 1
store i32 %83, i32* %2
br label %65
84: ; preds = %65
%85 = load i8*, i8** %8
%86 = call %struct.bitfield* @str2bf(i8* %85)
store %struct.bitfield* %86, %struct.bitfield** %10
%87 = load i8*, i8** %8
%88 = call i32 @free(i8* %87)
%89 = load %struct.bitfield*, %struct.bitfield** %10
%90 = call i32 @bfpopcount(%struct.bitfield* %89)
store i32 %90, i32* %11
%91 = load %struct.bitfield*, %struct.bitfield** %10
%92 = call i32 @bfdel(%struct.bitfield* %91)
%93 = load i32, i32* %9
%94 = load i32, i32* %11
%95 = icmp ne i32 %93, %94
br i1 %95, label %96, label %99
96: ; preds = %84
%97 = load i8*, i8** %5
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i8* %97)
store i32 1, i32* %1
br label %102
99: ; preds = %84
%100 = load i8*, i8** %6
%101 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i8* %100)
store i32 0, i32* %1
br label %102
102: ; preds = %99, %96
%103 = load i32, i32* %1
ret i32 %103
}

LLVM IR (-O2):
%struct.bitfield = type { i32 }
@.str = [21 x i8] c"Testing bfpopcount()\00"
@.str.1 = [7 x i8] c"[FAIL]\00"
@.str.2 = [7 x i8] c"[PASS]\00"
@.str.3 = [3 x i8] c"%s\00"
define i32 @main() {
%1 = tail call i64 @time(i32* null)
%2 = trunc i64 %1 to i32
%3 = tail call i32 @srand(i32 %2)
%4 = tail call i32 @strlen(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
%5 = sub i32 74, %4
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
%7 = icmp sgt i32 %5, 0
br i1 %7, label %8, label %13
8: ; preds = %0, %8
%9 = phi i32 [ %11, %8 ], [ 0, %0 ]
%10 = tail call i32 @putchar(i32 46)
%11 = add nuw nsw i32 %9, 1
%12 = icmp eq i32 %11, %5
br i1 %12, label %13, label %8
13: ; preds = %8, %0
%14 = tail call dereferenceable_or_null(81) i8* @malloc(i32 81)
br label %15
15: ; preds = %13, %15
%16 = phi i64 [ 0, %13 ], [ %22, %15 ]
%17 = tail call i32 (...) @rand()
%18 = and i32 %17, 1
%19 = icmp eq i32 %18, 0
%20 = select i1 %19, i8 48, i8 49
%21 = getelementptr inbounds i8, i8* %14, i64 %16
store i8 %20, i8* %21
%22 = add nuw nsw i64 %16, 1
%23 = icmp eq i64 %22, 80
br i1 %23, label %24, label %15
24: ; preds = %15
%25 = getelementptr inbounds i8, i8* %14, i64 80
store i8 0, i8* %25
%26 = bitcast i8* %14 to <4 x i8>*
%27 = load <4 x i8>, <4 x i8>* %26
%28 = icmp eq <4 x i8> %27, <i8 49, i8 49, i8 49, i8 49>
%29 = zext <4 x i1> %28 to <4 x i32>
%30 = getelementptr inbounds i8, i8* %14, i64 4
%31 = bitcast i8* %30 to <4 x i8>*
%32 = load <4 x i8>, <4 x i8>* %31
%33 = icmp eq <4 x i8> %32, <i8 49, i8 49, i8 49, i8 49>
%34 = zext <4 x i1> %33 to <4 x i32>
%35 = add nuw nsw <4 x i32> %29, %34
%36 = getelementptr inbounds i8, i8* %14, i64 8
%37 = bitcast i8* %36 to <4 x i8>*
%38 = load <4 x i8>, <4 x i8>* %37
%39 = icmp eq <4 x i8> %38, <i8 49, i8 49, i8 49, i8 49>
%40 = zext <4 x i1> %39 to <4 x i32>
%41 = add nuw nsw <4 x i32> %35, %40
%42 = getelementptr inbounds i8, i8* %14, i64 12
%43 = bitcast i8* %42 to <4 x i8>*
%44 = load <4 x i8>, <4 x i8>* %43
%45 = icmp eq <4 x i8> %44, <i8 49, i8 49, i8 49, i8 49>
%46 = zext <4 x i1> %45 to <4 x i32>
%47 = add nuw nsw <4 x i32> %41, %46
%48 = getelementptr inbounds i8, i8* %14, i64 16
%49 = bitcast i8* %48 to <4 x i8>*
%50 = load <4 x i8>, <4 x i8>* %49
%51 = icmp eq <4 x i8> %50, <i8 49, i8 49, i8 49, i8 49>
%52 = zext <4 x i1> %51 to <4 x i32>
%53 = add nuw nsw <4 x i32> %47, %52
%54 = getelementptr inbounds i8, i8* %14, i64 20
%55 = bitcast i8* %54 to <4 x i8>*
%56 = load <4 x i8>, <4 x i8>* %55
%57 = icmp eq <4 x i8> %56, <i8 49, i8 49, i8 49, i8 49>
%58 = zext <4 x i1> %57 to <4 x i32>
%59 = add nuw nsw <4 x i32> %53, %58
%60 = getelementptr inbounds i8, i8* %14, i64 24
%61 = bitcast i8* %60 to <4 x i8>*
%62 = load <4 x i8>, <4 x i8>* %61
%63 = icmp eq <4 x i8> %62, <i8 49, i8 49, i8 49, i8 49>
%64 = zext <4 x i1> %63 to <4 x i32>
%65 = add nuw nsw <4 x i32> %59, %64
%66 = getelementptr inbounds i8, i8* %14, i64 28
%67 = bitcast i8* %66 to <4 x i8>*
%68 = load <4 x i8>, <4 x i8>* %67
%69 = icmp eq <4 x i8> %68, <i8 49, i8 49, i8 49, i8 49>
%70 = zext <4 x i1> %69 to <4 x i32>
%71 = add <4 x i32> %65, %70
%72 = getelementptr inbounds i8, i8* %14, i64 32
%73 = bitcast i8* %72 to <4 x i8>*
%74 = load <4 x i8>, <4 x i8>* %73
%75 = icmp eq <4 x i8> %74, <i8 49, i8 49, i8 49, i8 49>
%76 = zext <4 x i1> %75 to <4 x i32>
%77 = add <4 x i32> %71, %76
%78 = getelementptr inbounds i8, i8* %14, i64 36
%79 = bitcast i8* %78 to <4 x i8>*
%80 = load <4 x i8>, <4 x i8>* %79
%81 = icmp eq <4 x i8> %80, <i8 49, i8 49, i8 49, i8 49>
%82 = zext <4 x i1> %81 to <4 x i32>
%83 = add <4 x i32> %77, %82
%84 = getelementptr inbounds i8, i8* %14, i64 40
%85 = bitcast i8* %84 to <4 x i8>*
%86 = load <4 x i8>, <4 x i8>* %85
%87 = icmp eq <4 x i8> %86, <i8 49, i8 49, i8 49, i8 49>
%88 = zext <4 x i1> %87 to <4 x i32>
%89 = add <4 x i32> %83, %88
%90 = getelementptr inbounds i8, i8* %14, i64 44
%91 = bitcast i8* %90 to <4 x i8>*
%92 = load <4 x i8>, <4 x i8>* %91
%93 = icmp eq <4 x i8> %92, <i8 49, i8 49, i8 49, i8 49>
%94 = zext <4 x i1> %93 to <4 x i32>
%95 = add <4 x i32> %89, %94
%96 = getelementptr inbounds i8, i8* %14, i64 48
%97 = bitcast i8* %96 to <4 x i8>*
%98 = load <4 x i8>, <4 x i8>* %97
%99 = icmp eq <4 x i8> %98, <i8 49, i8 49, i8 49, i8 49>
%100 = zext <4 x i1> %99 to <4 x i32>
%101 = add <4 x i32> %95, %100
%102 = getelementptr inbounds i8, i8* %14, i64 52
%103 = bitcast i8* %102 to <4 x i8>*
%104 = load <4 x i8>, <4 x i8>* %103
%105 = icmp eq <4 x i8> %104, <i8 49, i8 49, i8 49, i8 49>
%106 = zext <4 x i1> %105 to <4 x i32>
%107 = add <4 x i32> %101, %106
%108 = getelementptr inbounds i8, i8* %14, i64 56
%109 = bitcast i8* %108 to <4 x i8>*
%110 = load <4 x i8>, <4 x i8>* %109
%111 = icmp eq <4 x i8> %110, <i8 49, i8 49, i8 49, i8 49>
%112 = zext <4 x i1> %111 to <4 x i32>
%113 = add <4 x i32> %107, %112
%114 = getelementptr inbounds i8, i8* %14, i64 60
%115 = bitcast i8* %114 to <4 x i8>*
%116 = load <4 x i8>, <4 x i8>* %115
%117 = icmp eq <4 x i8> %116, <i8 49, i8 49, i8 49, i8 49>
%118 = zext <4 x i1> %117 to <4 x i32>
%119 = add <4 x i32> %113, %118
%120 = getelementptr inbounds i8, i8* %14, i64 64
%121 = bitcast i8* %120 to <4 x i8>*
%122 = load <4 x i8>, <4 x i8>* %121
%123 = icmp eq <4 x i8> %122, <i8 49, i8 49, i8 49, i8 49>
%124 = zext <4 x i1> %123 to <4 x i32>
%125 = add <4 x i32> %119, %124
%126 = getelementptr inbounds i8, i8* %14, i64 68
%127 = bitcast i8* %126 to <4 x i8>*
%128 = load <4 x i8>, <4 x i8>* %127
%129 = icmp eq <4 x i8> %128, <i8 49, i8 49, i8 49, i8 49>
%130 = zext <4 x i1> %129 to <4 x i32>
%131 = add <4 x i32> %125, %130
%132 = getelementptr inbounds i8, i8* %14, i64 72
%133 = bitcast i8* %132 to <4 x i8>*
%134 = load <4 x i8>, <4 x i8>* %133
%135 = icmp eq <4 x i8> %134, <i8 49, i8 49, i8 49, i8 49>
%136 = zext <4 x i1> %135 to <4 x i32>
%137 = add <4 x i32> %131, %136
%138 = getelementptr inbounds i8, i8* %14, i64 76
%139 = bitcast i8* %138 to <4 x i8>*
%140 = load <4 x i8>, <4 x i8>* %139
%141 = icmp eq <4 x i8> %140, <i8 49, i8 49, i8 49, i8 49>
%142 = zext <4 x i1> %141 to <4 x i32>
%143 = add <4 x i32> %137, %142
%144 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %143)
%145 = tail call %struct.bitfield* @str2bf(i8* %14)
%146 = tail call i32 @free(i8* %14)
%147 = tail call i32 @bfpopcount(%struct.bitfield* %145)
%148 = tail call i32 @bfdel(%struct.bitfield* %145)
%149 = icmp eq i32 %144, %147
%150 = select i1 %149, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0)
%151 = xor i1 %149, true
%152 = zext i1 %151 to i32
%153 = tail call i32 @puts(i8* dereferenceable(1) %150)
ret i32 %152
}