#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*/ assert_parse(int, char *);
void test() {
  assert_parse((1), "");
  assert_parse((1), "YQ==");
  assert_parse((1), "YXU=");
  assert_parse((1), "YXVy");
  assert_parse((1), "QVVSIFNBUkFG");
  assert_parse((1), "QVVSIEhFUlUgU0FSQUY=");
  assert_parse((0), "A");
  assert_parse((0), "A=");
  assert_parse((0), "A==");
  assert_parse((0), "AAA==");
  assert_parse((0), "aa==");
}


x86 assembly (clang, -O0):
<test>:
push   %rbp
mov    %rsp,%rbp
mov    $0x1,%edi
lea    0xf1b(%rip),%rsi
call   1030 <assert_parse@plt>
mov    $0x1,%edi
lea    0xecf(%rip),%rsi
call   1030 <assert_parse@plt>
mov    $0x1,%edi
lea    0xec3(%rip),%rsi
call   1030 <assert_parse@plt>
mov    $0x1,%edi
lea    0xeb7(%rip),%rsi
call   1030 <assert_parse@plt>
mov    $0x1,%edi
lea    0xeab(%rip),%rsi
call   1030 <assert_parse@plt>
mov    $0x1,%edi
lea    0xea7(%rip),%rsi
call   1030 <assert_parse@plt>
xor    %edi,%edi
lea    0xeae(%rip),%rsi
call   1030 <assert_parse@plt>
xor    %edi,%edi
lea    0xea2(%rip),%rsi
call   1030 <assert_parse@plt>
xor    %edi,%edi
lea    0xe99(%rip),%rsi
call   1030 <assert_parse@plt>
xor    %edi,%edi
lea    0xe89(%rip),%rsi
call   1030 <assert_parse@plt>
xor    %edi,%edi
lea    0xe81(%rip),%rsi
call   1030 <assert_parse@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<test>:
push   %rax
lea    0xf23(%rip),%rsi
mov    $0x1,%edi
call   1030 <assert_parse@plt>
lea    0xed7(%rip),%rsi
mov    $0x1,%edi
call   1030 <assert_parse@plt>
lea    0xecb(%rip),%rsi
mov    $0x1,%edi
call   1030 <assert_parse@plt>
lea    0xebf(%rip),%rsi
mov    $0x1,%edi
call   1030 <assert_parse@plt>
lea    0xeb3(%rip),%rsi
mov    $0x1,%edi
call   1030 <assert_parse@plt>
lea    0xeaf(%rip),%rsi
mov    $0x1,%edi
call   1030 <assert_parse@plt>
lea    0xeb3(%rip),%rsi
xor    %edi,%edi
call   1030 <assert_parse@plt>
lea    0xea7(%rip),%rsi
xor    %edi,%edi
call   1030 <assert_parse@plt>
lea    0xe9e(%rip),%rsi
xor    %edi,%edi
call   1030 <assert_parse@plt>
lea    0xe8e(%rip),%rsi
xor    %edi,%edi
call   1030 <assert_parse@plt>
lea    0xe86(%rip),%rsi
xor    %edi,%edi
pop    %rax
jmp    1030 <assert_parse@plt>

LLVM IR (-O0):
@.str = [1 x i8] zeroinitializer
@.str.1 = [5 x i8] c"YQ==\00"
@.str.2 = [5 x i8] c"YXU=\00"
@.str.3 = [5 x i8] c"YXVy\00"
@.str.4 = [13 x i8] c"QVVSIFNBUkFG\00"
@.str.5 = [21 x i8] c"QVVSIEhFUlUgU0FSQUY=\00"
@.str.6 = [2 x i8] c"A\00"
@.str.7 = [3 x i8] c"A=\00"
@.str.8 = [4 x i8] c"A==\00"
@.str.9 = [6 x i8] c"AAA==\00"
@.str.10 = [5 x i8] c"aa==\00"
define void @test() {
%1 = call i32 @assert_parse(i32 1, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @assert_parse(i32 1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @assert_parse(i32 1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @assert_parse(i32 1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @assert_parse(i32 1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @assert_parse(i32 1, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @assert_parse(i32 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @assert_parse(i32 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @assert_parse(i32 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @assert_parse(i32 0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @assert_parse(i32 0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [1 x i8] zeroinitializer
@.str.1 = [5 x i8] c"YQ==\00"
@.str.2 = [5 x i8] c"YXU=\00"
@.str.3 = [5 x i8] c"YXVy\00"
@.str.4 = [13 x i8] c"QVVSIFNBUkFG\00"
@.str.5 = [21 x i8] c"QVVSIEhFUlUgU0FSQUY=\00"
@.str.6 = [2 x i8] c"A\00"
@.str.7 = [3 x i8] c"A=\00"
@.str.8 = [4 x i8] c"A==\00"
@.str.9 = [6 x i8] c"AAA==\00"
@.str.10 = [5 x i8] c"aa==\00"
define void @test() {
%1 = tail call i32 @assert_parse(i32 1, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @assert_parse(i32 1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @assert_parse(i32 1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @assert_parse(i32 1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @assert_parse(i32 1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @assert_parse(i32 1, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @assert_parse(i32 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @assert_parse(i32 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @assert_parse(i32 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 @assert_parse(i32 0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%11 = tail call i32 @assert_parse(i32 0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
ret void
}