#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 */
char *BinString(int, char *, int);
int SetMessageBit(int, int);
int /*<<< orphan*/ assert(int);
int /*<<< orphan*/ printf(char *, ...);
void TestSetMessageBit() {
  printf("\n-------------------------------------------------------------------"
         "---------\n");
  printf("  Test GetSetMessageBit()\n");
  printf("---------------------------------------------------------------------"
         "-------\n");
  {
    char resBuf[9], pixBuf[9], msgBuf[9];
    printf("Set msg (0x%02x)\"%s\" ", 0x01, BinString(0x01, msgBuf, 9));
    printf("in pix (0x%02x)\"%s\": ", 0xff, BinString(0xff, pixBuf, 9));
    printf("(0x%02x)\"%s\": ", 0xff, BinString(0xff, resBuf, 9));
    assert(SetMessageBit(0xff, 0x01) == 0xff);
    printf("[OK]\n");
  };
  {
    char resBuf[9], pixBuf[9], msgBuf[9];
    printf("Set msg (0x%02x)\"%s\" ", 0x00, BinString(0x00, msgBuf, 9));
    printf("in pix (0x%02x)\"%s\": ", 0xff, BinString(0xff, pixBuf, 9));
    printf("(0x%02x)\"%s\": ", 0xfe, BinString(0xfe, resBuf, 9));
    assert(SetMessageBit(0xff, 0x00) == 0xfe);
    printf("[OK]\n");
  };
  {
    char resBuf[9], pixBuf[9], msgBuf[9];
    printf("Set msg (0x%02x)\"%s\" ", 0x01, BinString(0x01, msgBuf, 9));
    printf("in pix (0x%02x)\"%s\": ", 0x00, BinString(0x00, pixBuf, 9));
    printf("(0x%02x)\"%s\": ", 0x01, BinString(0x01, resBuf, 9));
    assert(SetMessageBit(0x00, 0x01) == 0x01);
    printf("[OK]\n");
  };
  {
    char resBuf[9], pixBuf[9], msgBuf[9];
    printf("Set msg (0x%02x)\"%s\" ", 0x00, BinString(0x00, msgBuf, 9));
    printf("in pix (0x%02x)\"%s\": ", 0x00, BinString(0x00, pixBuf, 9));
    printf("(0x%02x)\"%s\": ", 0x00, BinString(0x00, resBuf, 9));
    assert(SetMessageBit(0x00, 0x00) == 0x00);
    printf("[OK]\n");
  };
  {
    char resBuf[9], pixBuf[9], msgBuf[9];
    printf("Set msg (0x%02x)\"%s\" ", 0x01, BinString(0x01, msgBuf, 9));
    printf("in pix (0x%02x)\"%s\": ", 0xdc, BinString(0xdc, pixBuf, 9));
    printf("(0x%02x)\"%s\": ", 0xdd, BinString(0xdd, resBuf, 9));
    assert(SetMessageBit(0xdc, 0x01) == 0xdd);
    printf("[OK]\n");
  };
  {
    char resBuf[9], pixBuf[9], msgBuf[9];
    printf("Set msg (0x%02x)\"%s\" ", 0x00, BinString(0x00, msgBuf, 9));
    printf("in pix (0x%02x)\"%s\": ", 0xdc, BinString(0xdc, pixBuf, 9));
    printf("(0x%02x)\"%s\": ", 0xdc, BinString(0xdc, resBuf, 9));
    assert(SetMessageBit(0xdc, 0x00) == 0xdc);
    printf("[OK]\n");
  };
  {
    char resBuf[9], pixBuf[9], msgBuf[9];
    printf("Set msg (0x%02x)\"%s\" ", 0x01, BinString(0x01, msgBuf, 9));
    printf("in pix (0x%02x)\"%s\": ", 0x66, BinString(0x66, pixBuf, 9));
    printf("(0x%02x)\"%s\": ", 0x67, BinString(0x67, resBuf, 9));
    assert(SetMessageBit(0x66, 0x01) == 0x67);
    printf("[OK]\n");
  };
  {
    char resBuf[9], pixBuf[9], msgBuf[9];
    printf("Set msg (0x%02x)\"%s\" ", 0x00, BinString(0x00, msgBuf, 9));
    printf("in pix (0x%02x)\"%s\": ", 0x66, BinString(0x66, pixBuf, 9));
    printf("(0x%02x)\"%s\": ", 0x66, BinString(0x66, resBuf, 9));
    assert(SetMessageBit(0x66, 0x00) == 0x66);
    printf("[OK]\n");
  };
  printf("---------------------------------------------------------------------"
         "-------\n");
  printf("  Done.\n");
  printf("---------------------------------------------------------------------"
         "-------\n\n");
}


x86 assembly (clang, -O0):
<TestSetMessageBit>:
push   %rbp
mov    %rsp,%rbp
sub    $0xe0,%rsp
lea    0xeae(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeef(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe93(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x1b(%rbp),%rsi
mov    $0x1,%edi
mov    $0x9,%edx
call   1050 <BinString@plt>
mov    %rax,%rdx
lea    0xed8(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x12(%rbp),%rsi
mov    $0xff,%edi
mov    $0x9,%edx
call   1050 <BinString@plt>
mov    %rax,%rdx
lea    0xec5(%rip),%rdi
mov    $0xff,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x9(%rbp),%rsi
mov    $0xff,%edi
mov    $0x9,%edx
call   1050 <BinString@plt>
mov    %rax,%rdx
lea    0xea3(%rip),%rdi
mov    $0xff,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0xff,%edi
mov    $0x1,%esi
call   1060 <SetMessageBit@plt>
cmp    $0xff,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xe7e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x36(%rbp),%rsi
xor    %edi,%edi
mov    $0x9,%edx
call   1050 <BinString@plt>
mov    %rax,%rdx
lea    0xe31(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x2d(%rbp),%rsi
mov    $0xff,%edi
mov    $0x9,%edx
call   1050 <BinString@plt>
mov    %rax,%rdx
lea    0xe21(%rip),%rdi
mov    $0xff,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x24(%rbp),%rsi
mov    $0xfe,%edi
mov    $0x9,%edx
call   1050 <BinString@plt>
mov    %rax,%rdx
lea    0xdff(%rip),%rdi
mov    $0xfe,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0xff,%edi
xor    %esi,%esi
call   1060 <SetMessageBit@plt>
cmp    $0xfe,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xddd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x51(%rbp),%rsi
mov    $0x1,%edi
mov    $0x9,%edx
call   1050 <BinString@plt>
mov    %rax,%rdx
lea    0xd8d(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x48(%rbp),%rsi
xor    %edi,%edi
mov    $0x9,%edx
call   1050 <BinString@plt>
mov    %rax,%rdx
lea    0xd7d(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x3f(%rbp),%rsi
mov    $0x1,%edi
mov    $0x9,%edx
call   1050 <BinString@plt>
mov    %rax,%rdx
lea    0xd5e(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %edi,%edi
mov    $0x1,%esi
call   1060 <SetMessageBit@plt>
cmp    $0x1,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xd3e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x6c(%rbp),%rsi
xor    %edi,%edi
mov    $0x9,%edx
call   1050 <BinString@plt>
mov    %rax,%rdx
lea    0xcf1(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x63(%rbp),%rsi
xor    %edi,%edi
mov    $0x9,%edx
call   1050 <BinString@plt>
mov    %rax,%rdx
lea    0xce4(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x5a(%rbp),%rsi
xor    %edi,%edi
mov    $0x9,%edx
call   1050 <BinString@plt>
mov    %rax,%rdx
lea    0xcc8(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %esi,%esi
mov    %esi,%edi
call   1060 <SetMessageBit@plt>
cmp    $0x0,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xcae(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x87(%rbp),%rsi
mov    $0x1,%edi
mov    $0x9,%edx
call   1050 <BinString@plt>
mov    %rax,%rdx
lea    0xc5b(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x7e(%rbp),%rsi
mov    $0xdc,%edi
mov    $0x9,%edx
call   1050 <BinString@plt>
mov    %rax,%rdx
lea    0xc48(%rip),%rdi
mov    $0xdc,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x75(%rbp),%rsi
mov    $0xdd,%edi
mov    $0x9,%edx
call   1050 <BinString@plt>
mov    %rax,%rdx
lea    0xc26(%rip),%rdi
mov    $0xdd,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0xdc,%edi
mov    $0x1,%esi
call   1060 <SetMessageBit@plt>
cmp    $0xdd,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xc01(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0xa2(%rbp),%rsi
xor    %edi,%edi
mov    $0x9,%edx
call   1050 <BinString@plt>
mov    %rax,%rdx
lea    0xbb1(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x99(%rbp),%rsi
mov    $0xdc,%edi
mov    $0x9,%edx
call   1050 <BinString@plt>
mov    %rax,%rdx
lea    0xb9e(%rip),%rdi
mov    $0xdc,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x90(%rbp),%rsi
mov    $0xdc,%edi
mov    $0x9,%edx
call   1050 <BinString@plt>
mov    %rax,%rdx
lea    0xb79(%rip),%rdi
mov    $0xdc,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0xdc,%edi
xor    %esi,%esi
call   1060 <SetMessageBit@plt>
cmp    $0xdc,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xb57(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0xbd(%rbp),%rsi
mov    $0x1,%edi
mov    $0x9,%edx
call   1050 <BinString@plt>
mov    %rax,%rdx
lea    0xb04(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0xb4(%rbp),%rsi
mov    $0x66,%edi
mov    $0x9,%edx
call   1050 <BinString@plt>
mov    %rax,%rdx
lea    0xaee(%rip),%rdi
mov    $0x66,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0xab(%rbp),%rsi
mov    $0x67,%edi
mov    $0x9,%edx
call   1050 <BinString@plt>
mov    %rax,%rdx
lea    0xac9(%rip),%rdi
mov    $0x67,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x66,%edi
mov    $0x1,%esi
call   1060 <SetMessageBit@plt>
cmp    $0x67,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xaa6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0xd8(%rbp),%rsi
xor    %edi,%edi
mov    $0x9,%edx
call   1050 <BinString@plt>
mov    %rax,%rdx
lea    0xa56(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0xcf(%rbp),%rsi
mov    $0x66,%edi
mov    $0x9,%edx
call   1050 <BinString@plt>
mov    %rax,%rdx
lea    0xa43(%rip),%rdi
mov    $0x66,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0xc6(%rbp),%rsi
mov    $0x66,%edi
mov    $0x9,%edx
call   1050 <BinString@plt>
mov    %rax,%rdx
lea    0xa1e(%rip),%rdi
mov    $0x66,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x66,%edi
xor    %esi,%esi
call   1060 <SetMessageBit@plt>
cmp    $0x66,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0x9fe(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x95b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x9e8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x9e3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0xe0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<TestSetMessageBit>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x20,%rsp
lea    0xec8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf0a(%rip),%rdi
call   1030 <puts@plt>
lea    0xeb1(%rip),%r14
mov    %r14,%rdi
call   1030 <puts@plt>
lea    0x5(%rsp),%rsi
mov    $0x1,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
lea    0xe61(%rip),%r15
mov    %r15,%rdi
mov    $0x1,%esi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe(%rsp),%rsi
mov    $0xff,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
lea    0xe4a(%rip),%r12
mov    %r12,%rdi
mov    $0xff,%esi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x17(%rsp),%rsi
mov    $0xff,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
lea    0xe24(%rip),%r13
mov    %r13,%rdi
mov    $0xff,%esi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xff,%edi
mov    $0x1,%esi
call   1070 <SetMessageBit@plt>
xor    %edi,%edi
cmp    $0xff,%eax
sete   %dil
call   1050 <assert@plt>
lea    0xe63(%rip),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0x5(%rsp),%rsi
xor    %edi,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %r15,%rdi
xor    %esi,%esi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe(%rsp),%rsi
mov    $0xff,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %r12,%rdi
mov    $0xff,%esi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x17(%rsp),%rsi
mov    $0xfe,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %r13,%rdi
mov    $0xfe,%esi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xff,%edi
xor    %esi,%esi
call   1070 <SetMessageBit@plt>
xor    %edi,%edi
cmp    $0xfe,%eax
sete   %dil
call   1050 <assert@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0x5(%rsp),%rsi
mov    $0x1,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %r15,%rdi
mov    $0x1,%esi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe(%rsp),%rsi
xor    %edi,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %r12,%rdi
xor    %esi,%esi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x17(%rsp),%rsi
mov    $0x1,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %r13,%rdi
mov    $0x1,%esi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
xor    %edi,%edi
mov    $0x1,%esi
call   1070 <SetMessageBit@plt>
xor    %edi,%edi
cmp    $0x1,%eax
sete   %dil
call   1050 <assert@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0x5(%rsp),%rsi
xor    %edi,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %r15,%rdi
xor    %esi,%esi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe(%rsp),%rsi
xor    %edi,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %r12,%rdi
xor    %esi,%esi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x17(%rsp),%rsi
xor    %edi,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %r13,%rdi
xor    %esi,%esi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
xor    %edi,%edi
xor    %esi,%esi
call   1070 <SetMessageBit@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1050 <assert@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0x5(%rsp),%rsi
mov    $0x1,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %r15,%rdi
mov    $0x1,%esi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe(%rsp),%rsi
mov    $0xdc,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %r12,%rdi
mov    $0xdc,%esi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x17(%rsp),%rsi
mov    $0xdd,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %r13,%rdi
mov    $0xdd,%esi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xdc,%edi
mov    $0x1,%esi
call   1070 <SetMessageBit@plt>
xor    %edi,%edi
cmp    $0xdd,%eax
sete   %dil
call   1050 <assert@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0x5(%rsp),%rsi
xor    %edi,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %r15,%rdi
xor    %esi,%esi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe(%rsp),%rsi
mov    $0xdc,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %r12,%rdi
mov    $0xdc,%esi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x17(%rsp),%rsi
mov    $0xdc,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %r13,%rdi
mov    $0xdc,%esi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xdc,%edi
xor    %esi,%esi
call   1070 <SetMessageBit@plt>
xor    %edi,%edi
cmp    $0xdc,%eax
sete   %dil
call   1050 <assert@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0x5(%rsp),%rsi
mov    $0x1,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %r15,%rdi
mov    $0x1,%esi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe(%rsp),%rsi
mov    $0x66,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %r12,%rdi
mov    $0x66,%esi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x17(%rsp),%rsi
mov    $0x67,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %r13,%rdi
mov    $0x67,%esi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x66,%edi
mov    $0x1,%esi
call   1070 <SetMessageBit@plt>
xor    %edi,%edi
cmp    $0x67,%eax
sete   %dil
call   1050 <assert@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0x5(%rsp),%rsi
xor    %edi,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %r15,%rdi
xor    %esi,%esi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe(%rsp),%rsi
mov    $0x66,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %r12,%rdi
mov    $0x66,%esi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x17(%rsp),%rsi
mov    $0x66,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %r13,%rdi
mov    $0x66,%esi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x66,%edi
xor    %esi,%esi
call   1070 <SetMessageBit@plt>
xor    %edi,%edi
cmp    $0x66,%eax
sete   %dil
call   1050 <assert@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
mov    %r14,%rdi
call   1030 <puts@plt>
lea    0xa67(%rip),%rdi
call   1030 <puts@plt>
lea    0xa63(%rip),%rdi
call   1030 <puts@plt>
add    $0x20,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [79 x i8] c"\0A----------------------------------------------------------------------------\0A\00"
@.str.1 = [27 x i8] c" Test GetSetMessageBit()\0A\00"
@.str.2 = [78 x i8] c"----------------------------------------------------------------------------\0A\00"
@.str.3 = [22 x i8] c"Set msg (0x%02x)\22%s\22 \00"
@.str.4 = [22 x i8] c"in pix (0x%02x)\22%s\22: \00"
@.str.5 = [15 x i8] c"(0x%02x)\22%s\22: \00"
@.str.6 = [6 x i8] c"[OK]\0A\00"
@.str.7 = [9 x i8] c" Done.\0A\00"
@.str.8 = [79 x i8] c"----------------------------------------------------------------------------\0A\0A\00"
define void @TestSetMessageBit() {
%1 = alloca [9 x i8]
%2 = alloca [9 x i8]
%3 = alloca [9 x i8]
%4 = alloca [9 x i8]
%5 = alloca [9 x i8]
%6 = alloca [9 x i8]
%7 = alloca [9 x i8]
%8 = alloca [9 x i8]
%9 = alloca [9 x i8]
%10 = alloca [9 x i8]
%11 = alloca [9 x i8]
%12 = alloca [9 x i8]
%13 = alloca [9 x i8]
%14 = alloca [9 x i8]
%15 = alloca [9 x i8]
%16 = alloca [9 x i8]
%17 = alloca [9 x i8]
%18 = alloca [9 x i8]
%19 = alloca [9 x i8]
%20 = alloca [9 x i8]
%21 = alloca [9 x i8]
%22 = alloca [9 x i8]
%23 = alloca [9 x i8]
%24 = alloca [9 x i8]
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str, i64 0, i64 0))
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0))
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.2, i64 0, i64 0))
%28 = getelementptr inbounds [9 x i8], [9 x i8]* %3, i64 0, i64 0
%29 = call i8* @BinString(i32 1, i8* %28, i32 9)
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i32 1, i8* %29)
%31 = getelementptr inbounds [9 x i8], [9 x i8]* %2, i64 0, i64 0
%32 = call i8* @BinString(i32 255, i8* %31, i32 9)
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0), i32 255, i8* %32)
%34 = getelementptr inbounds [9 x i8], [9 x i8]* %1, i64 0, i64 0
%35 = call i8* @BinString(i32 255, i8* %34, i32 9)
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i32 255, i8* %35)
%37 = call i32 @SetMessageBit(i32 255, i32 1)
%38 = icmp eq i32 %37, 255
%39 = zext i1 %38 to i32
%40 = call i32 @assert(i32 %39)
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%42 = getelementptr inbounds [9 x i8], [9 x i8]* %6, i64 0, i64 0
%43 = call i8* @BinString(i32 0, i8* %42, i32 9)
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i32 0, i8* %43)
%45 = getelementptr inbounds [9 x i8], [9 x i8]* %5, i64 0, i64 0
%46 = call i8* @BinString(i32 255, i8* %45, i32 9)
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0), i32 255, i8* %46)
%48 = getelementptr inbounds [9 x i8], [9 x i8]* %4, i64 0, i64 0
%49 = call i8* @BinString(i32 254, i8* %48, i32 9)
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i32 254, i8* %49)
%51 = call i32 @SetMessageBit(i32 255, i32 0)
%52 = icmp eq i32 %51, 254
%53 = zext i1 %52 to i32
%54 = call i32 @assert(i32 %53)
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%56 = getelementptr inbounds [9 x i8], [9 x i8]* %9, i64 0, i64 0
%57 = call i8* @BinString(i32 1, i8* %56, i32 9)
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i32 1, i8* %57)
%59 = getelementptr inbounds [9 x i8], [9 x i8]* %8, i64 0, i64 0
%60 = call i8* @BinString(i32 0, i8* %59, i32 9)
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0), i32 0, i8* %60)
%62 = getelementptr inbounds [9 x i8], [9 x i8]* %7, i64 0, i64 0
%63 = call i8* @BinString(i32 1, i8* %62, i32 9)
%64 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i32 1, i8* %63)
%65 = call i32 @SetMessageBit(i32 0, i32 1)
%66 = icmp eq i32 %65, 1
%67 = zext i1 %66 to i32
%68 = call i32 @assert(i32 %67)
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%70 = getelementptr inbounds [9 x i8], [9 x i8]* %12, i64 0, i64 0
%71 = call i8* @BinString(i32 0, i8* %70, i32 9)
%72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i32 0, i8* %71)
%73 = getelementptr inbounds [9 x i8], [9 x i8]* %11, i64 0, i64 0
%74 = call i8* @BinString(i32 0, i8* %73, i32 9)
%75 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0), i32 0, i8* %74)
%76 = getelementptr inbounds [9 x i8], [9 x i8]* %10, i64 0, i64 0
%77 = call i8* @BinString(i32 0, i8* %76, i32 9)
%78 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i32 0, i8* %77)
%79 = call i32 @SetMessageBit(i32 0, i32 0)
%80 = icmp eq i32 %79, 0
%81 = zext i1 %80 to i32
%82 = call i32 @assert(i32 %81)
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%84 = getelementptr inbounds [9 x i8], [9 x i8]* %15, i64 0, i64 0
%85 = call i8* @BinString(i32 1, i8* %84, i32 9)
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i32 1, i8* %85)
%87 = getelementptr inbounds [9 x i8], [9 x i8]* %14, i64 0, i64 0
%88 = call i8* @BinString(i32 220, i8* %87, i32 9)
%89 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0), i32 220, i8* %88)
%90 = getelementptr inbounds [9 x i8], [9 x i8]* %13, i64 0, i64 0
%91 = call i8* @BinString(i32 221, i8* %90, i32 9)
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i32 221, i8* %91)
%93 = call i32 @SetMessageBit(i32 220, i32 1)
%94 = icmp eq i32 %93, 221
%95 = zext i1 %94 to i32
%96 = call i32 @assert(i32 %95)
%97 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%98 = getelementptr inbounds [9 x i8], [9 x i8]* %18, i64 0, i64 0
%99 = call i8* @BinString(i32 0, i8* %98, i32 9)
%100 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i32 0, i8* %99)
%101 = getelementptr inbounds [9 x i8], [9 x i8]* %17, i64 0, i64 0
%102 = call i8* @BinString(i32 220, i8* %101, i32 9)
%103 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0), i32 220, i8* %102)
%104 = getelementptr inbounds [9 x i8], [9 x i8]* %16, i64 0, i64 0
%105 = call i8* @BinString(i32 220, i8* %104, i32 9)
%106 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i32 220, i8* %105)
%107 = call i32 @SetMessageBit(i32 220, i32 0)
%108 = icmp eq i32 %107, 220
%109 = zext i1 %108 to i32
%110 = call i32 @assert(i32 %109)
%111 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%112 = getelementptr inbounds [9 x i8], [9 x i8]* %21, i64 0, i64 0
%113 = call i8* @BinString(i32 1, i8* %112, i32 9)
%114 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i32 1, i8* %113)
%115 = getelementptr inbounds [9 x i8], [9 x i8]* %20, i64 0, i64 0
%116 = call i8* @BinString(i32 102, i8* %115, i32 9)
%117 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0), i32 102, i8* %116)
%118 = getelementptr inbounds [9 x i8], [9 x i8]* %19, i64 0, i64 0
%119 = call i8* @BinString(i32 103, i8* %118, i32 9)
%120 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i32 103, i8* %119)
%121 = call i32 @SetMessageBit(i32 102, i32 1)
%122 = icmp eq i32 %121, 103
%123 = zext i1 %122 to i32
%124 = call i32 @assert(i32 %123)
%125 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%126 = getelementptr inbounds [9 x i8], [9 x i8]* %24, i64 0, i64 0
%127 = call i8* @BinString(i32 0, i8* %126, i32 9)
%128 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i32 0, i8* %127)
%129 = getelementptr inbounds [9 x i8], [9 x i8]* %23, i64 0, i64 0
%130 = call i8* @BinString(i32 102, i8* %129, i32 9)
%131 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0), i32 102, i8* %130)
%132 = getelementptr inbounds [9 x i8], [9 x i8]* %22, i64 0, i64 0
%133 = call i8* @BinString(i32 102, i8* %132, i32 9)
%134 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i32 102, i8* %133)
%135 = call i32 @SetMessageBit(i32 102, i32 0)
%136 = icmp eq i32 %135, 102
%137 = zext i1 %136 to i32
%138 = call i32 @assert(i32 %137)
%139 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%140 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.2, i64 0, i64 0))
%141 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0))
%142 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.8, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.3 = [22 x i8] c"Set msg (0x%02x)\22%s\22 \00"
@.str.4 = [22 x i8] c"in pix (0x%02x)\22%s\22: \00"
@.str.5 = [15 x i8] c"(0x%02x)\22%s\22: \00"
@str = [78 x i8] c"\0A----------------------------------------------------------------------------\00"
@str.9 = [26 x i8] c" Test GetSetMessageBit()\00"
@str.18 = [5 x i8] c"[OK]\00"
@str.19 = [77 x i8] c"----------------------------------------------------------------------------\00"
@str.20 = [8 x i8] c" Done.\00"
@str.21 = [78 x i8] c"----------------------------------------------------------------------------\0A\00"
define void @TestSetMessageBit() {
%1 = alloca [9 x i8]
%2 = alloca [9 x i8]
%3 = alloca [9 x i8]
%4 = alloca [9 x i8]
%5 = alloca [9 x i8]
%6 = alloca [9 x i8]
%7 = alloca [9 x i8]
%8 = alloca [9 x i8]
%9 = alloca [9 x i8]
%10 = alloca [9 x i8]
%11 = alloca [9 x i8]
%12 = alloca [9 x i8]
%13 = alloca [9 x i8]
%14 = alloca [9 x i8]
%15 = alloca [9 x i8]
%16 = alloca [9 x i8]
%17 = alloca [9 x i8]
%18 = alloca [9 x i8]
%19 = alloca [9 x i8]
%20 = alloca [9 x i8]
%21 = alloca [9 x i8]
%22 = alloca [9 x i8]
%23 = alloca [9 x i8]
%24 = alloca [9 x i8]
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str, i64 0, i64 0))
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.9, i64 0, i64 0))
%27 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.19, i64 0, i64 0))
%28 = getelementptr inbounds [9 x i8], [9 x i8]* %1, i64 0, i64 0
%29 = getelementptr inbounds [9 x i8], [9 x i8]* %2, i64 0, i64 0
%30 = getelementptr inbounds [9 x i8], [9 x i8]* %3, i64 0, i64 0
%31 = call i8* @BinString(i32 1, i8* %30, i32 9)
%32 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i32 1, i8* %31)
%33 = call i8* @BinString(i32 255, i8* %29, i32 9)
%34 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0), i32 255, i8* %33)
%35 = call i8* @BinString(i32 255, i8* %28, i32 9)
%36 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i32 255, i8* %35)
%37 = call i32 @SetMessageBit(i32 255, i32 1)
%38 = icmp eq i32 %37, 255
%39 = zext i1 %38 to i32
%40 = call i32 @assert(i32 %39)
%41 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str.18, i64 0, i64 0))
%42 = getelementptr inbounds [9 x i8], [9 x i8]* %4, i64 0, i64 0
%43 = getelementptr inbounds [9 x i8], [9 x i8]* %5, i64 0, i64 0
%44 = getelementptr inbounds [9 x i8], [9 x i8]* %6, i64 0, i64 0
%45 = call i8* @BinString(i32 0, i8* %44, i32 9)
%46 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i32 0, i8* %45)
%47 = call i8* @BinString(i32 255, i8* %43, i32 9)
%48 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0), i32 255, i8* %47)
%49 = call i8* @BinString(i32 254, i8* %42, i32 9)
%50 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i32 254, i8* %49)
%51 = call i32 @SetMessageBit(i32 255, i32 0)
%52 = icmp eq i32 %51, 254
%53 = zext i1 %52 to i32
%54 = call i32 @assert(i32 %53)
%55 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str.18, i64 0, i64 0))
%56 = getelementptr inbounds [9 x i8], [9 x i8]* %7, i64 0, i64 0
%57 = getelementptr inbounds [9 x i8], [9 x i8]* %8, i64 0, i64 0
%58 = getelementptr inbounds [9 x i8], [9 x i8]* %9, i64 0, i64 0
%59 = call i8* @BinString(i32 1, i8* %58, i32 9)
%60 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i32 1, i8* %59)
%61 = call i8* @BinString(i32 0, i8* %57, i32 9)
%62 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0), i32 0, i8* %61)
%63 = call i8* @BinString(i32 1, i8* %56, i32 9)
%64 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i32 1, i8* %63)
%65 = call i32 @SetMessageBit(i32 0, i32 1)
%66 = icmp eq i32 %65, 1
%67 = zext i1 %66 to i32
%68 = call i32 @assert(i32 %67)
%69 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str.18, i64 0, i64 0))
%70 = getelementptr inbounds [9 x i8], [9 x i8]* %10, i64 0, i64 0
%71 = getelementptr inbounds [9 x i8], [9 x i8]* %11, i64 0, i64 0
%72 = getelementptr inbounds [9 x i8], [9 x i8]* %12, i64 0, i64 0
%73 = call i8* @BinString(i32 0, i8* %72, i32 9)
%74 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i32 0, i8* %73)
%75 = call i8* @BinString(i32 0, i8* %71, i32 9)
%76 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0), i32 0, i8* %75)
%77 = call i8* @BinString(i32 0, i8* %70, i32 9)
%78 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i32 0, i8* %77)
%79 = call i32 @SetMessageBit(i32 0, i32 0)
%80 = icmp eq i32 %79, 0
%81 = zext i1 %80 to i32
%82 = call i32 @assert(i32 %81)
%83 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str.18, i64 0, i64 0))
%84 = getelementptr inbounds [9 x i8], [9 x i8]* %13, i64 0, i64 0
%85 = getelementptr inbounds [9 x i8], [9 x i8]* %14, i64 0, i64 0
%86 = getelementptr inbounds [9 x i8], [9 x i8]* %15, i64 0, i64 0
%87 = call i8* @BinString(i32 1, i8* %86, i32 9)
%88 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i32 1, i8* %87)
%89 = call i8* @BinString(i32 220, i8* %85, i32 9)
%90 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0), i32 220, i8* %89)
%91 = call i8* @BinString(i32 221, i8* %84, i32 9)
%92 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i32 221, i8* %91)
%93 = call i32 @SetMessageBit(i32 220, i32 1)
%94 = icmp eq i32 %93, 221
%95 = zext i1 %94 to i32
%96 = call i32 @assert(i32 %95)
%97 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str.18, i64 0, i64 0))
%98 = getelementptr inbounds [9 x i8], [9 x i8]* %16, i64 0, i64 0
%99 = getelementptr inbounds [9 x i8], [9 x i8]* %17, i64 0, i64 0
%100 = getelementptr inbounds [9 x i8], [9 x i8]* %18, i64 0, i64 0
%101 = call i8* @BinString(i32 0, i8* %100, i32 9)
%102 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i32 0, i8* %101)
%103 = call i8* @BinString(i32 220, i8* %99, i32 9)
%104 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0), i32 220, i8* %103)
%105 = call i8* @BinString(i32 220, i8* %98, i32 9)
%106 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i32 220, i8* %105)
%107 = call i32 @SetMessageBit(i32 220, i32 0)
%108 = icmp eq i32 %107, 220
%109 = zext i1 %108 to i32
%110 = call i32 @assert(i32 %109)
%111 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str.18, i64 0, i64 0))
%112 = getelementptr inbounds [9 x i8], [9 x i8]* %19, i64 0, i64 0
%113 = getelementptr inbounds [9 x i8], [9 x i8]* %20, i64 0, i64 0
%114 = getelementptr inbounds [9 x i8], [9 x i8]* %21, i64 0, i64 0
%115 = call i8* @BinString(i32 1, i8* %114, i32 9)
%116 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i32 1, i8* %115)
%117 = call i8* @BinString(i32 102, i8* %113, i32 9)
%118 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0), i32 102, i8* %117)
%119 = call i8* @BinString(i32 103, i8* %112, i32 9)
%120 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i32 103, i8* %119)
%121 = call i32 @SetMessageBit(i32 102, i32 1)
%122 = icmp eq i32 %121, 103
%123 = zext i1 %122 to i32
%124 = call i32 @assert(i32 %123)
%125 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str.18, i64 0, i64 0))
%126 = getelementptr inbounds [9 x i8], [9 x i8]* %22, i64 0, i64 0
%127 = getelementptr inbounds [9 x i8], [9 x i8]* %23, i64 0, i64 0
%128 = getelementptr inbounds [9 x i8], [9 x i8]* %24, i64 0, i64 0
%129 = call i8* @BinString(i32 0, i8* %128, i32 9)
%130 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i32 0, i8* %129)
%131 = call i8* @BinString(i32 102, i8* %127, i32 9)
%132 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0), i32 102, i8* %131)
%133 = call i8* @BinString(i32 102, i8* %126, i32 9)
%134 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i32 102, i8* %133)
%135 = call i32 @SetMessageBit(i32 102, i32 0)
%136 = icmp eq i32 %135, 102
%137 = zext i1 %136 to i32
%138 = call i32 @assert(i32 %137)
%139 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str.18, i64 0, i64 0))
%140 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.19, i64 0, i64 0))
%141 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str.20, i64 0, i64 0))
%142 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str.21, i64 0, i64 0))
ret void
}