#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 *reg(int);
int /*<<< orphan*/ sprintf(char *, char *, char *, ...);
int /*<<< orphan*/ strcpy(char *, char *);
const char *nazg(int ALU, int A, int B) {
  static char buffer[50];
  switch (ALU) {
  case 0:
    if (B == 0)
      strcpy(buffer, reg(A));
    else if (A == 0)
      strcpy(buffer, reg(B));
    else
      sprintf(buffer, "%s+%s", reg(A), reg(B));
    break;
  case 1:
    sprintf(buffer, "%s-%s", reg(A), reg(B));
    break;
  case 2:
    sprintf(buffer, "%s&%s", reg(A), reg(B));
    break;
  case 3:
    sprintf(buffer, "%s|%s", reg(A), reg(B));
    break;
  case 4:
    sprintf(buffer, "%s^%s", reg(A), reg(B));
    break;
  case 5:
    return NULL;
  case 6:
    return NULL;
  case 7:
    switch (B) {
    case 0:
      sprintf(buffer, "~%s", reg(A));
      break;
    case 1:
      sprintf(buffer, ">>%s", reg(A));
      break;
    case 2:
      sprintf(buffer, "++%s", reg(A));
      break;
    case 3:
      sprintf(buffer, "--%s", reg(A));
      break;
    case 4:
      sprintf(buffer, "+%s", reg(A));
      break;
    case 5:
      sprintf(buffer, "-%s", reg(A));
      break;
    case 6:
      return NULL;
    case 7:
      return NULL;
    }
    break;
  }
  return buffer;
}


x86 assembly (clang, -O0):
<nazg>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %edi,-0xc(%rbp)
mov    %esi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    -0xc(%rbp),%eax
mov    %rax,-0x20(%rbp)
sub    $0x7,%rax
ja     13fc <nazg+0x2cc>
mov    -0x20(%rbp),%rax
lea    0xea3(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
cmpl   $0x0,-0x14(%rbp)
jne    118c <nazg+0x5c>
mov    -0x10(%rbp),%edi
call   1040 <reg@plt>
mov    %rax,%rsi
lea    0x2ece(%rip),%rdi
call   1030 <strcpy@plt>
jmp    11e7 <nazg+0xb7>
cmpl   $0x0,-0x10(%rbp)
jne    11b2 <nazg+0x82>
mov    -0x14(%rbp),%edi
call   1040 <reg@plt>
mov    %rax,%rsi
lea    0x2ea8(%rip),%rdi
call   1030 <strcpy@plt>
jmp    11e2 <nazg+0xb2>
mov    -0x10(%rbp),%edi
call   1040 <reg@plt>
mov    %rax,-0x28(%rbp)
mov    -0x14(%rbp),%edi
call   1040 <reg@plt>
mov    -0x28(%rbp),%rdx
mov    %rax,%rcx
lea    0x2e7c(%rip),%rdi
lea    0xe65(%rip),%rsi
mov    $0x0,%al
call   1050 <sprintf@plt>
jmp    11e7 <nazg+0xb7>
jmp    13fc <nazg+0x2cc>
mov    -0x10(%rbp),%edi
call   1040 <reg@plt>
mov    %rax,-0x30(%rbp)
mov    -0x14(%rbp),%edi
call   1040 <reg@plt>
mov    -0x30(%rbp),%rdx
mov    %rax,%rcx
lea    0x2e42(%rip),%rdi
lea    0xe31(%rip),%rsi
mov    $0x0,%al
call   1050 <sprintf@plt>
jmp    13fc <nazg+0x2cc>
mov    -0x10(%rbp),%edi
call   1040 <reg@plt>
mov    %rax,-0x38(%rbp)
mov    -0x14(%rbp),%edi
call   1040 <reg@plt>
mov    -0x38(%rbp),%rdx
mov    %rax,%rcx
lea    0x2e0d(%rip),%rdi
lea    0xe02(%rip),%rsi
mov    $0x0,%al
call   1050 <sprintf@plt>
jmp    13fc <nazg+0x2cc>
mov    -0x10(%rbp),%edi
call   1040 <reg@plt>
mov    %rax,-0x40(%rbp)
mov    -0x14(%rbp),%edi
call   1040 <reg@plt>
mov    -0x40(%rbp),%rdx
mov    %rax,%rcx
lea    0x2dd8(%rip),%rdi
lea    0xdd3(%rip),%rsi
mov    $0x0,%al
call   1050 <sprintf@plt>
jmp    13fc <nazg+0x2cc>
mov    -0x10(%rbp),%edi
call   1040 <reg@plt>
mov    %rax,-0x48(%rbp)
mov    -0x14(%rbp),%edi
call   1040 <reg@plt>
mov    -0x48(%rbp),%rdx
mov    %rax,%rcx
lea    0x2da3(%rip),%rdi
lea    0xda4(%rip),%rsi
mov    $0x0,%al
call   1050 <sprintf@plt>
jmp    13fc <nazg+0x2cc>
movq   $0x0,-0x8(%rbp)
jmp    1407 <nazg+0x2d7>
movq   $0x0,-0x8(%rbp)
jmp    1407 <nazg+0x2d7>
mov    -0x14(%rbp),%eax
mov    %rax,-0x50(%rbp)
sub    $0x7,%rax
ja     13f7 <nazg+0x2c7>
mov    -0x50(%rbp),%rax
lea    0xd2a(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    -0x10(%rbp),%edi
call   1040 <reg@plt>
mov    %rax,%rdx
lea    0x2d3f(%rip),%rdi
lea    0xd46(%rip),%rsi
mov    $0x0,%al
call   1050 <sprintf@plt>
jmp    13f7 <nazg+0x2c7>
mov    -0x10(%rbp),%edi
call   1040 <reg@plt>
mov    %rax,%rdx
lea    0x2d1a(%rip),%rdi
lea    0xd25(%rip),%rsi
mov    $0x0,%al
call   1050 <sprintf@plt>
jmp    13f7 <nazg+0x2c7>
mov    -0x10(%rbp),%edi
call   1040 <reg@plt>
mov    %rax,%rdx
lea    0x2cf5(%rip),%rdi
lea    0xd05(%rip),%rsi
mov    $0x0,%al
call   1050 <sprintf@plt>
jmp    13f7 <nazg+0x2c7>
mov    -0x10(%rbp),%edi
call   1040 <reg@plt>
mov    %rax,%rdx
lea    0x2cd0(%rip),%rdi
lea    0xce5(%rip),%rsi
mov    $0x0,%al
call   1050 <sprintf@plt>
jmp    13f7 <nazg+0x2c7>
mov    -0x10(%rbp),%edi
call   1040 <reg@plt>
mov    %rax,%rdx
lea    0x2cab(%rip),%rdi
lea    0xcbc(%rip),%rsi
mov    $0x0,%al
call   1050 <sprintf@plt>
jmp    13f7 <nazg+0x2c7>
mov    -0x10(%rbp),%edi
call   1040 <reg@plt>
mov    %rax,%rdx
lea    0x2c86(%rip),%rdi
lea    0xc9c(%rip),%rsi
mov    $0x0,%al
call   1050 <sprintf@plt>
jmp    13f7 <nazg+0x2c7>
movq   $0x0,-0x8(%rbp)
jmp    1407 <nazg+0x2d7>
movq   $0x0,-0x8(%rbp)
jmp    1407 <nazg+0x2d7>
jmp    13fc <nazg+0x2cc>
lea    0x2c4d(%rip),%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<nazg>:
push   %r14
push   %rbx
push   %rax
cmp    $0x7,%edi
ja     124c <nazg+0x11c>
mov    %edx,%ebx
xor    %eax,%eax
mov    %edi,%ecx
lea    0xeb6(%rip),%rdx
movslq (%rdx,%rcx,4),%rcx
add    %rdx,%rcx
jmp    *%rcx
test   %ebx,%ebx
je     125b <nazg+0x12b>
test   %esi,%esi
je     125f <nazg+0x12f>
mov    %esi,%edi
call   1040 <reg@plt>
mov    %rax,%r14
mov    %ebx,%edi
call   1040 <reg@plt>
lea    0x2ed5(%rip),%rdi
lea    0xebe(%rip),%rsi
jmp    123f <nazg+0x10f>
mov    %esi,%edi
call   1040 <reg@plt>
mov    %rax,%r14
mov    %ebx,%edi
call   1040 <reg@plt>
lea    0x2eb1(%rip),%rdi
lea    0xea0(%rip),%rsi
jmp    123f <nazg+0x10f>
mov    %esi,%edi
call   1040 <reg@plt>
mov    %rax,%r14
mov    %ebx,%edi
call   1040 <reg@plt>
lea    0x2e8d(%rip),%rdi
lea    0xe82(%rip),%rsi
jmp    123f <nazg+0x10f>
mov    %esi,%edi
call   1040 <reg@plt>
mov    %rax,%r14
mov    %ebx,%edi
call   1040 <reg@plt>
lea    0x2e6c(%rip),%rdi
lea    0xe67(%rip),%rsi
jmp    123f <nazg+0x10f>
cmp    $0x7,%ebx
ja     124c <nazg+0x11c>
xor    %eax,%eax
mov    %ebx,%ecx
lea    0xe23(%rip),%rdx
movslq (%rdx,%rcx,4),%rcx
add    %rdx,%rcx
jmp    *%rcx
mov    %esi,%edi
call   1040 <reg@plt>
lea    0x2e3c(%rip),%rdi
lea    0xe43(%rip),%rsi
jmp    12e8 <nazg+0x1b8>
mov    %esi,%edi
call   1040 <reg@plt>
mov    %rax,%r14
mov    %ebx,%edi
call   1040 <reg@plt>
lea    0x2e18(%rip),%rdi
lea    0xe19(%rip),%rsi
mov    %r14,%rdx
mov    %rax,%rcx
xor    %eax,%eax
call   1050 <sprintf@plt>
lea    0x2dfd(%rip),%rax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret
mov    %esi,%edi
jmp    1261 <nazg+0x131>
mov    %ebx,%edi
call   1040 <reg@plt>
lea    0x2de3(%rip),%rdi
mov    %rax,%rsi
call   1030 <strcpy@plt>
jmp    124c <nazg+0x11c>
mov    %esi,%edi
call   1040 <reg@plt>
lea    0x2dcb(%rip),%rdi
lea    0xdd6(%rip),%rsi
jmp    12e8 <nazg+0x1b8>
mov    %esi,%edi
call   1040 <reg@plt>
lea    0x2db4(%rip),%rdi
lea    0xdc4(%rip),%rsi
jmp    12e8 <nazg+0x1b8>
mov    %esi,%edi
call   1040 <reg@plt>
lea    0x2d9d(%rip),%rdi
lea    0xdb2(%rip),%rsi
jmp    12e8 <nazg+0x1b8>
mov    %esi,%edi
call   1040 <reg@plt>
lea    0x2d86(%rip),%rdi
lea    0xd97(%rip),%rsi
jmp    12e8 <nazg+0x1b8>
mov    %esi,%edi
call   1040 <reg@plt>
lea    0x2d6f(%rip),%rdi
lea    0xd85(%rip),%rsi
mov    %rax,%rdx
xor    %eax,%eax
call   1050 <sprintf@plt>
jmp    124c <nazg+0x11c>

LLVM IR (-O0):
@nazg.buffer = internal global [50 x i8] zeroinitializer
@.str = [6 x i8] c"%s+%s\00"
@.str.1 = [6 x i8] c"%s-%s\00"
@.str.2 = [6 x i8] c"%s&%s\00"
@.str.3 = [6 x i8] c"%s|%s\00"
@.str.4 = [6 x i8] c"%s^%s\00"
@.str.5 = [4 x i8] c"~%s\00"
@.str.6 = [5 x i8] c">>%s\00"
@.str.7 = [5 x i8] c"++%s\00"
@.str.8 = [5 x i8] c"--%s\00"
@.str.9 = [4 x i8] c"+%s\00"
@.str.10 = [4 x i8] c"-%s\00"
define i8* @nazg(i32 %0, i32 %1, i32 %2) {
%4 = alloca i8*
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
store i32 %0, i32* %5
store i32 %1, i32* %6
store i32 %2, i32* %7
%8 = load i32, i32* %5
switch i32 %8, label %86 [
i32 0, label %9
i32 1, label %31
i32 2, label %37
i32 3, label %43
i32 4, label %49
i32 5, label %55
i32 6, label %56
i32 7, label %57
]
9: ; preds = %3
%10 = load i32, i32* %7
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %9
%13 = load i32, i32* %6
%14 = call i8* @reg(i32 %13)
%15 = call i32 @strcpy(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8* %14)
br label %30
16: ; preds = %9
%17 = load i32, i32* %6
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %23
19: ; preds = %16
%20 = load i32, i32* %7
%21 = call i8* @reg(i32 %20)
%22 = call i32 @strcpy(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8* %21)
br label %29
23: ; preds = %16
%24 = load i32, i32* %6
%25 = call i8* @reg(i32 %24)
%26 = load i32, i32* %7
%27 = call i8* @reg(i32 %26)
%28 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i8* %25, i8* %27)
br label %29
29: ; preds = %23, %19
br label %30
30: ; preds = %29, %12
br label %86
31: ; preds = %3
%32 = load i32, i32* %6
%33 = call i8* @reg(i32 %32)
%34 = load i32, i32* %7
%35 = call i8* @reg(i32 %34)
%36 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %33, i8* %35)
br label %86
37: ; preds = %3
%38 = load i32, i32* %6
%39 = call i8* @reg(i32 %38)
%40 = load i32, i32* %7
%41 = call i8* @reg(i32 %40)
%42 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* %39, i8* %41)
br label %86
43: ; preds = %3
%44 = load i32, i32* %6
%45 = call i8* @reg(i32 %44)
%46 = load i32, i32* %7
%47 = call i8* @reg(i32 %46)
%48 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8* %45, i8* %47)
br label %86
49: ; preds = %3
%50 = load i32, i32* %6
%51 = call i8* @reg(i32 %50)
%52 = load i32, i32* %7
%53 = call i8* @reg(i32 %52)
%54 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* %51, i8* %53)
br label %86
55: ; preds = %3
store i8* null, i8** %4
br label %87
56: ; preds = %3
store i8* null, i8** %4
br label %87
57: ; preds = %3
%58 = load i32, i32* %7
switch i32 %58, label %85 [
i32 0, label %59
i32 1, label %63
i32 2, label %67
i32 3, label %71
i32 4, label %75
i32 5, label %79
i32 6, label %83
i32 7, label %84
]
59: ; preds = %57
%60 = load i32, i32* %6
%61 = call i8* @reg(i32 %60)
%62 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i8* %61)
br label %85
63: ; preds = %57
%64 = load i32, i32* %6
%65 = call i8* @reg(i32 %64)
%66 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* %65)
br label %85
67: ; preds = %57
%68 = load i32, i32* %6
%69 = call i8* @reg(i32 %68)
%70 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i8* %69)
br label %85
71: ; preds = %57
%72 = load i32, i32* %6
%73 = call i8* @reg(i32 %72)
%74 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* %73)
br label %85
75: ; preds = %57
%76 = load i32, i32* %6
%77 = call i8* @reg(i32 %76)
%78 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0), i8* %77)
br label %85
79: ; preds = %57
%80 = load i32, i32* %6
%81 = call i8* @reg(i32 %80)
%82 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8* %81)
br label %85
83: ; preds = %57
store i8* null, i8** %4
br label %87
84: ; preds = %57
store i8* null, i8** %4
br label %87
85: ; preds = %57, %79, %75, %71, %67, %63, %59
br label %86
86: ; preds = %3, %85, %49, %43, %37, %31, %30
store i8* getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8** %4
br label %87
87: ; preds = %86, %84, %83, %56, %55
%88 = load i8*, i8** %4
ret i8* %88
}

LLVM IR (-O2):
@nazg.buffer = internal global [50 x i8] zeroinitializer
@.str = [6 x i8] c"%s+%s\00"
@.str.1 = [6 x i8] c"%s-%s\00"
@.str.2 = [6 x i8] c"%s&%s\00"
@.str.3 = [6 x i8] c"%s|%s\00"
@.str.4 = [6 x i8] c"%s^%s\00"
@.str.5 = [4 x i8] c"~%s\00"
@.str.6 = [5 x i8] c">>%s\00"
@.str.7 = [5 x i8] c"++%s\00"
@.str.8 = [5 x i8] c"--%s\00"
@.str.9 = [4 x i8] c"+%s\00"
@.str.10 = [4 x i8] c"-%s\00"
define i8* @nazg(i32 %0, i32 %1, i32 %2) {
switch i32 %0, label %53 [
i32 0, label %4
i32 1, label %18
i32 2, label %22
i32 3, label %26
i32 4, label %30
i32 5, label %54
i32 6, label %54
i32 7, label %34
]
4: ; preds = %3
%5 = icmp eq i32 %2, 0
br i1 %5, label %6, label %9
6: ; preds = %4
%7 = tail call i8* @reg(i32 %1)
%8 = tail call i32 @strcpy(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8* %7)
br label %53
9: ; preds = %4
%10 = icmp eq i32 %1, 0
br i1 %10, label %11, label %14
11: ; preds = %9
%12 = tail call i8* @reg(i32 %2)
%13 = tail call i32 @strcpy(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8* %12)
br label %53
14: ; preds = %9
%15 = tail call i8* @reg(i32 %1)
%16 = tail call i8* @reg(i32 %2)
%17 = tail call i32 (i8*, i8*, i8*, ...) @sprintf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i8* %15, i8* %16)
br label %53
18: ; preds = %3
%19 = tail call i8* @reg(i32 %1)
%20 = tail call i8* @reg(i32 %2)
%21 = tail call i32 (i8*, i8*, i8*, ...) @sprintf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %19, i8* %20)
br label %53
22: ; preds = %3
%23 = tail call i8* @reg(i32 %1)
%24 = tail call i8* @reg(i32 %2)
%25 = tail call i32 (i8*, i8*, i8*, ...) @sprintf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* %23, i8* %24)
br label %53
26: ; preds = %3
%27 = tail call i8* @reg(i32 %1)
%28 = tail call i8* @reg(i32 %2)
%29 = tail call i32 (i8*, i8*, i8*, ...) @sprintf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8* %27, i8* %28)
br label %53
30: ; preds = %3
%31 = tail call i8* @reg(i32 %1)
%32 = tail call i8* @reg(i32 %2)
%33 = tail call i32 (i8*, i8*, i8*, ...) @sprintf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* %31, i8* %32)
br label %53
34: ; preds = %3
switch i32 %2, label %53 [
i32 0, label %35
i32 1, label %38
i32 2, label %41
i32 3, label %44
i32 4, label %47
i32 5, label %50
i32 6, label %54
i32 7, label %54
]
35: ; preds = %34
%36 = tail call i8* @reg(i32 %1)
%37 = tail call i32 (i8*, i8*, i8*, ...) @sprintf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i8* %36)
br label %53
38: ; preds = %34
%39 = tail call i8* @reg(i32 %1)
%40 = tail call i32 (i8*, i8*, i8*, ...) @sprintf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* %39)
br label %53
41: ; preds = %34
%42 = tail call i8* @reg(i32 %1)
%43 = tail call i32 (i8*, i8*, i8*, ...) @sprintf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i8* %42)
br label %53
44: ; preds = %34
%45 = tail call i8* @reg(i32 %1)
%46 = tail call i32 (i8*, i8*, i8*, ...) @sprintf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* %45)
br label %53
47: ; preds = %34
%48 = tail call i8* @reg(i32 %1)
%49 = tail call i32 (i8*, i8*, i8*, ...) @sprintf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0), i8* %48)
br label %53
50: ; preds = %34
%51 = tail call i8* @reg(i32 %1)
%52 = tail call i32 (i8*, i8*, i8*, ...) @sprintf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8* %51)
br label %53
53: ; preds = %35, %38, %41, %44, %47, %50, %34, %6, %14, %11, %3, %30, %26, %22, %18
br label %54
54: ; preds = %34, %34, %3, %3, %53
%55 = phi i8* [ getelementptr inbounds ([50 x i8], [50 x i8]* @nazg.buffer, i64 0, i64 0), %53 ], [ null, %3 ], [ null, %3 ], [ null, %34 ], [ null, %34 ]
ret i8* %55
}