#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*/ arg_cat(char **, char const *, size_t *);
size_t strcspn(char const *, char *);
int /*<<< orphan*/ strncat(char *, char const *, size_t);
void arg_cat_optionv(char *dest, size_t ndest, const char *shortopts,
                     const char *longopts, const char *datatype, int optvalue,
                     const char *separator) {
  separator = separator ? separator : "";
  if (shortopts) {
    const char *c = shortopts;
    while (*c) {
      char shortopt[3];
      shortopt[0] = '-';
      shortopt[1] = *c;
      shortopt[2] = 0;
      arg_cat(&dest, shortopt, &ndest);
      if (*++c)
        arg_cat(&dest, separator, &ndest);
    }
  }
  if (shortopts && longopts)
    arg_cat(&dest, separator, &ndest);
  if (longopts) {
    const char *c = longopts;
    while (*c) {
      size_t ncspn;
      arg_cat(&dest, "--", &ndest);
      ncspn = strcspn(c, ",");
      strncat(dest, c, (ncspn < ndest) ? ncspn : ndest);
      c += ncspn;
      if (*c == ',') {
        arg_cat(&dest, separator, &ndest);
        c++;
      }
    }
  }
  if (datatype) {
    if (longopts)
      arg_cat(&dest, "=", &ndest);
    else if (shortopts)
      arg_cat(&dest, " ", &ndest);
    if (optvalue) {
      arg_cat(&dest, "[", &ndest);
      arg_cat(&dest, datatype, &ndest);
      arg_cat(&dest, "]", &ndest);
    } else
      arg_cat(&dest, datatype, &ndest);
  }
}


x86 assembly (clang, -O0):
<arg_cat_optionv>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9d,-0x2c(%rbp)
cmpq   $0x0,0x10(%rbp)
je     116c <arg_cat_optionv+0x3c>
mov    0x10(%rbp),%rax
mov    %rax,-0x58(%rbp)
jmp    117c <arg_cat_optionv+0x4c>
lea    0xe95(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    117c <arg_cat_optionv+0x4c>
mov    -0x58(%rbp),%rax
mov    %rax,0x10(%rbp)
cmpq   $0x0,-0x18(%rbp)
je     11fa <arg_cat_optionv+0xca>
mov    -0x18(%rbp),%rax
mov    %rax,-0x38(%rbp)
mov    -0x38(%rbp),%rax
cmpb   $0x0,(%rax)
je     11f5 <arg_cat_optionv+0xc5>
movb   $0x2d,-0x3b(%rbp)
mov    -0x38(%rbp),%rax
mov    (%rax),%al
mov    %al,-0x3a(%rbp)
movb   $0x0,-0x39(%rbp)
lea    -0x3b(%rbp),%rsi
lea    -0x8(%rbp),%rdi
lea    -0x10(%rbp),%rdx
call   1050 <arg_cat@plt>
mov    -0x38(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x38(%rbp)
cmpb   $0x0,0x1(%rax)
je     11f0 <arg_cat_optionv+0xc0>
mov    0x10(%rbp),%rsi
lea    -0x8(%rbp),%rdi
lea    -0x10(%rbp),%rdx
call   1050 <arg_cat@plt>
jmp    1197 <arg_cat_optionv+0x67>
jmp    11fa <arg_cat_optionv+0xca>
cmpq   $0x0,-0x18(%rbp)
je     1221 <arg_cat_optionv+0xf1>
cmpq   $0x0,-0x20(%rbp)
je     1221 <arg_cat_optionv+0xf1>
mov    0x10(%rbp),%rsi
lea    -0x8(%rbp),%rdi
lea    -0x10(%rbp),%rdx
call   1050 <arg_cat@plt>
cmpq   $0x0,-0x20(%rbp)
je     12f0 <arg_cat_optionv+0x1c0>
mov    -0x20(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    -0x48(%rbp),%rax
cmpb   $0x0,(%rax)
je     12eb <arg_cat_optionv+0x1bb>
lea    -0x8(%rbp),%rdi
lea    0xdb4(%rip),%rsi
lea    -0x10(%rbp),%rdx
call   1050 <arg_cat@plt>
mov    -0x48(%rbp),%rdi
lea    0xda3(%rip),%rsi
call   1040 <strcspn@plt>
mov    %rax,-0x50(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x68(%rbp)
mov    -0x48(%rbp),%rax
mov    %rax,-0x60(%rbp)
mov    -0x50(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    1294 <arg_cat_optionv+0x164>
mov    -0x50(%rbp),%rax
mov    %rax,-0x70(%rbp)
jmp    129c <arg_cat_optionv+0x16c>
mov    -0x10(%rbp),%rax
mov    %rax,-0x70(%rbp)
mov    -0x60(%rbp),%rsi
mov    -0x68(%rbp),%rdi
mov    -0x70(%rbp),%rdx
call   1030 <strncat@plt>
mov    -0x50(%rbp),%rax
add    -0x48(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    -0x48(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x2c,%eax
jne    12e6 <arg_cat_optionv+0x1b6>
mov    0x10(%rbp),%rsi
lea    -0x8(%rbp),%rdi
lea    -0x10(%rbp),%rdx
call   1050 <arg_cat@plt>
mov    -0x48(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x48(%rbp)
jmp    1234 <arg_cat_optionv+0x104>
jmp    12f0 <arg_cat_optionv+0x1c0>
cmpq   $0x0,-0x28(%rbp)
je     13a1 <arg_cat_optionv+0x271>
cmpq   $0x0,-0x20(%rbp)
je     131f <arg_cat_optionv+0x1ef>
lea    -0x8(%rbp),%rdi
lea    0xcf4(%rip),%rsi
lea    -0x10(%rbp),%rdx
call   1050 <arg_cat@plt>
jmp    1343 <arg_cat_optionv+0x213>
cmpq   $0x0,-0x18(%rbp)
je     133e <arg_cat_optionv+0x20e>
lea    -0x8(%rbp),%rdi
lea    0xcd2(%rip),%rsi
lea    -0x10(%rbp),%rdx
call   1050 <arg_cat@plt>
jmp    1343 <arg_cat_optionv+0x213>
cmpl   $0x0,-0x2c(%rbp)
je     138b <arg_cat_optionv+0x25b>
lea    -0x8(%rbp),%rdi
lea    0xcb1(%rip),%rsi
lea    -0x10(%rbp),%rdx
call   1050 <arg_cat@plt>
mov    -0x28(%rbp),%rsi
lea    -0x8(%rbp),%rdi
lea    -0x10(%rbp),%rdx
call   1050 <arg_cat@plt>
lea    -0x8(%rbp),%rdi
lea    0xc8e(%rip),%rsi
lea    -0x10(%rbp),%rdx
call   1050 <arg_cat@plt>
jmp    139c <arg_cat_optionv+0x26c>
mov    -0x28(%rbp),%rsi
lea    -0x8(%rbp),%rdi
lea    -0x10(%rbp),%rdx
call   1050 <arg_cat@plt>
jmp    13a1 <arg_cat_optionv+0x271>
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<arg_cat_optionv>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
mov    %r9d,0x2c(%rsp)
mov    %r8,%rbp
mov    %rcx,%r13
mov    0x70(%rsp),%rax
mov    %rdi,0x10(%rsp)
mov    %rsi,0x8(%rsp)
test   %rax,%rax
lea    0xea6(%rip),%rcx
cmovne %rax,%rcx
mov    %rcx,0x20(%rsp)
test   %rdx,%rdx
mov    %rdx,0x18(%rsp)
je     1200 <arg_cat_optionv+0xd0>
mov    (%rdx),%al
test   %al,%al
je     11dc <arg_cat_optionv+0xac>
mov    0x18(%rsp),%rcx
lea    0x1(%rcx),%rbx
lea    0x10(%rsp),%r15
lea    0x5(%rsp),%r14
lea    0x8(%rsp),%r12
nopw   0x0(%rax,%rax,1)
movb   $0x2d,0x5(%rsp)
mov    %al,0x6(%rsp)
movb   $0x0,0x7(%rsp)
mov    %r15,%rdi
mov    %r14,%rsi
mov    %r12,%rdx
call   1050 <arg_cat@plt>
cmpb   $0x0,(%rbx)
je     11dc <arg_cat_optionv+0xac>
mov    %r15,%rdi
mov    0x20(%rsp),%rsi
mov    %r12,%rdx
call   1050 <arg_cat@plt>
movzbl (%rbx),%eax
add    $0x1,%rbx
test   %al,%al
jne    11a0 <arg_cat_optionv+0x70>
test   %r13,%r13
je     12ae <arg_cat_optionv+0x17e>
lea    0x10(%rsp),%rdi
lea    0x8(%rsp),%rdx
mov    0x20(%rsp),%rsi
call   1050 <arg_cat@plt>
mov    0x18(%rsp),%rdx
jmp    1209 <arg_cat_optionv+0xd9>
test   %r13,%r13
je     134e <arg_cat_optionv+0x21e>
mov    $0x1,%cl
cmpb   $0x0,0x0(%r13)
je     12b5 <arg_cat_optionv+0x185>
mov    %rbp,0x30(%rsp)
lea    0x10(%rsp),%r14
lea    0x8(%rsp),%r15
lea    0xdd7(%rip),%r12
jmp    1237 <arg_cat_optionv+0x107>
xchg   %ax,%ax
mov    %rbp,%r13
test   %al,%al
je     1298 <arg_cat_optionv+0x168>
mov    %r14,%rdi
lea    0xdbf(%rip),%rsi
mov    %r15,%rdx
call   1050 <arg_cat@plt>
mov    %r13,%rdi
mov    %r12,%rsi
call   1040 <strcspn@plt>
mov    %rax,%rbx
mov    0x10(%rsp),%rdi
mov    0x8(%rsp),%rdx
cmp    %rdx,%rax
cmovb  %rax,%rdx
mov    %r13,%rsi
call   1030 <strncat@plt>
lea    (%rbx,%r13,1),%rbp
movzbl 0x0(%r13,%rbx,1),%eax
cmp    $0x2c,%al
jne    1230 <arg_cat_optionv+0x100>
mov    %r14,%rdi
mov    0x20(%rsp),%rsi
mov    %r15,%rdx
call   1050 <arg_cat@plt>
movzbl 0x1(%rbp),%eax
add    $0x1,%rbp
jmp    1230 <arg_cat_optionv+0x100>
mov    0x30(%rsp),%rbp
mov    0x18(%rsp),%rdx
mov    $0x1,%cl
test   %rbp,%rbp
jne    12be <arg_cat_optionv+0x18e>
jmp    133f <arg_cat_optionv+0x20f>
xor    %ecx,%ecx
mov    0x18(%rsp),%rdx
test   %rbp,%rbp
je     133f <arg_cat_optionv+0x20f>
test   %rdx,%rdx
setne  %al
or     %cl,%al
cmp    $0x1,%al
jne    12ed <arg_cat_optionv+0x1bd>
lea    0xd34(%rip),%rax
lea    0xd2f(%rip),%rsi
test   %cl,%cl
cmovne %rax,%rsi
lea    0x10(%rsp),%rdi
lea    0x8(%rsp),%rdx
call   1050 <arg_cat@plt>
cmpl   $0x0,0x2c(%rsp)
je     132d <arg_cat_optionv+0x1fd>
lea    0xd0e(%rip),%rsi
lea    0x10(%rsp),%rbx
lea    0x8(%rsp),%r14
mov    %rbx,%rdi
mov    %r14,%rdx
call   1050 <arg_cat@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    %r14,%rdx
call   1050 <arg_cat@plt>
lea    0xce6(%rip),%rsi
mov    %rbx,%rdi
mov    %r14,%rdx
jmp    133a <arg_cat_optionv+0x20a>
lea    0x10(%rsp),%rdi
lea    0x8(%rsp),%rdx
mov    %rbp,%rsi
call   1050 <arg_cat@plt>
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
xor    %ecx,%ecx
test   %rbp,%rbp
jne    12be <arg_cat_optionv+0x18e>
jmp    133f <arg_cat_optionv+0x20f>

LLVM IR (-O0):
@.str = [1 x i8] zeroinitializer
@.str.1 = [3 x i8] c"--\00"
@.str.2 = [2 x i8] c",\00"
@.str.3 = [2 x i8] c"=\00"
@.str.4 = [2 x i8] c" \00"
@.str.5 = [2 x i8] c"[\00"
@.str.6 = [2 x i8] c"]\00"
define void @arg_cat_optionv(i8* %0, i64 %1, i8* %2, i8* %3, i8* %4, i32 %5, i8* %6) {
%8 = alloca i8*
%9 = alloca i64
%10 = alloca i8*
%11 = alloca i8*
%12 = alloca i8*
%13 = alloca i32
%14 = alloca i8*
%15 = alloca i8*
%16 = alloca [3 x i8]
%17 = alloca i8*
%18 = alloca i64
store i8* %0, i8** %8
store i64 %1, i64* %9
store i8* %2, i8** %10
store i8* %3, i8** %11
store i8* %4, i8** %12
store i32 %5, i32* %13
store i8* %6, i8** %14
%19 = load i8*, i8** %14
%20 = icmp ne i8* %19, null
br i1 %20, label %21, label %23
21: ; preds = %7
%22 = load i8*, i8** %14
br label %24
23: ; preds = %7
br label %24
24: ; preds = %23, %21
%25 = phi i8* [ %22, %21 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %23 ]
store i8* %25, i8** %14
%26 = load i8*, i8** %10
%27 = icmp ne i8* %26, null
br i1 %27, label %28, label %51
28: ; preds = %24
%29 = load i8*, i8** %10
store i8* %29, i8** %15
br label %30
30: ; preds = %49, %28
%31 = load i8*, i8** %15
%32 = load i8, i8* %31
%33 = icmp ne i8 %32, 0
br i1 %33, label %34, label %50
34: ; preds = %30
%35 = getelementptr inbounds [3 x i8], [3 x i8]* %16, i64 0, i64 0
store i8 45, i8* %35
%36 = load i8*, i8** %15
%37 = load i8, i8* %36
%38 = getelementptr inbounds [3 x i8], [3 x i8]* %16, i64 0, i64 1
store i8 %37, i8* %38
%39 = getelementptr inbounds [3 x i8], [3 x i8]* %16, i64 0, i64 2
store i8 0, i8* %39
%40 = getelementptr inbounds [3 x i8], [3 x i8]* %16, i64 0, i64 0
%41 = call i32 @arg_cat(i8** %8, i8* %40, i64* %9)
%42 = load i8*, i8** %15
%43 = getelementptr inbounds i8, i8* %42, i32 1
store i8* %43, i8** %15
%44 = load i8, i8* %43
%45 = icmp ne i8 %44, 0
br i1 %45, label %46, label %49
46: ; preds = %34
%47 = load i8*, i8** %14
%48 = call i32 @arg_cat(i8** %8, i8* %47, i64* %9)
br label %49
49: ; preds = %46, %34
br label %30
50: ; preds = %30
br label %51
51: ; preds = %50, %24
%52 = load i8*, i8** %10
%53 = icmp ne i8* %52, null
br i1 %53, label %54, label %60
54: ; preds = %51
%55 = load i8*, i8** %11
%56 = icmp ne i8* %55, null
br i1 %56, label %57, label %60
57: ; preds = %54
%58 = load i8*, i8** %14
%59 = call i32 @arg_cat(i8** %8, i8* %58, i64* %9)
br label %60
60: ; preds = %57, %54, %51
%61 = load i8*, i8** %11
%62 = icmp ne i8* %61, null
br i1 %62, label %63, label %99
63: ; preds = %60
%64 = load i8*, i8** %11
store i8* %64, i8** %17
br label %65
65: ; preds = %97, %63
%66 = load i8*, i8** %17
%67 = load i8, i8* %66
%68 = icmp ne i8 %67, 0
br i1 %68, label %69, label %98
69: ; preds = %65
%70 = call i32 @arg_cat(i8** %8, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i64* %9)
%71 = load i8*, i8** %17
%72 = call i64 @strcspn(i8* %71, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
store i64 %72, i64* %18
%73 = load i8*, i8** %8
%74 = load i8*, i8** %17
%75 = load i64, i64* %18
%76 = load i64, i64* %9
%77 = icmp ult i64 %75, %76
br i1 %77, label %78, label %80
78: ; preds = %69
%79 = load i64, i64* %18
br label %82
80: ; preds = %69
%81 = load i64, i64* %9
br label %82
82: ; preds = %80, %78
%83 = phi i64 [ %79, %78 ], [ %81, %80 ]
%84 = call i32 @strncat(i8* %73, i8* %74, i64 %83)
%85 = load i64, i64* %18
%86 = load i8*, i8** %17
%87 = getelementptr inbounds i8, i8* %86, i64 %85
store i8* %87, i8** %17
%88 = load i8*, i8** %17
%89 = load i8, i8* %88
%90 = sext i8 %89 to i32
%91 = icmp eq i32 %90, 44
br i1 %91, label %92, label %97
92: ; preds = %82
%93 = load i8*, i8** %14
%94 = call i32 @arg_cat(i8** %8, i8* %93, i64* %9)
%95 = load i8*, i8** %17
%96 = getelementptr inbounds i8, i8* %95, i32 1
store i8* %96, i8** %17
br label %97
97: ; preds = %92, %82
br label %65
98: ; preds = %65
br label %99
99: ; preds = %98, %60
%100 = load i8*, i8** %12
%101 = icmp ne i8* %100, null
br i1 %101, label %102, label %125
102: ; preds = %99
%103 = load i8*, i8** %11
%104 = icmp ne i8* %103, null
br i1 %104, label %105, label %107
105: ; preds = %102
%106 = call i32 @arg_cat(i8** %8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i64* %9)
br label %113
107: ; preds = %102
%108 = load i8*, i8** %10
%109 = icmp ne i8* %108, null
br i1 %109, label %110, label %112
110: ; preds = %107
%111 = call i32 @arg_cat(i8** %8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0), i64* %9)
br label %112
112: ; preds = %110, %107
br label %113
113: ; preds = %112, %105
%114 = load i32, i32* %13
%115 = icmp ne i32 %114, 0
br i1 %115, label %116, label %121
116: ; preds = %113
%117 = call i32 @arg_cat(i8** %8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0), i64* %9)
%118 = load i8*, i8** %12
%119 = call i32 @arg_cat(i8** %8, i8* %118, i64* %9)
%120 = call i32 @arg_cat(i8** %8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0), i64* %9)
br label %124
121: ; preds = %113
%122 = load i8*, i8** %12
%123 = call i32 @arg_cat(i8** %8, i8* %122, i64* %9)
br label %124
124: ; preds = %121, %116
br label %125
125: ; preds = %124, %99
ret void
}

LLVM IR (-O2):
@.str = [1 x i8] zeroinitializer
@.str.1 = [3 x i8] c"--\00"
@.str.2 = [2 x i8] c",\00"
@.str.3 = [2 x i8] c"=\00"
@.str.4 = [2 x i8] c" \00"
@.str.5 = [2 x i8] c"[\00"
@.str.6 = [2 x i8] c"]\00"
define void @arg_cat_optionv(i8* %0, i64 %1, i8* %2, i8* %3, i8* %4, i32 %5, i8* %6) {
%8 = alloca i8*
%9 = alloca i64
%10 = alloca [3 x i8]
store i8* %0, i8** %8
store i64 %1, i64* %9
%11 = icmp eq i8* %6, null
%12 = select i1 %11, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), i8* %6
%13 = icmp eq i8* %2, null
br i1 %13, label %21, label %14
14: ; preds = %7
%15 = load i8, i8* %2
%16 = icmp eq i8 %15, 0
br i1 %16, label %35, label %17
17: ; preds = %14
%18 = getelementptr inbounds [3 x i8], [3 x i8]* %10, i64 0, i64 0
%19 = getelementptr inbounds [3 x i8], [3 x i8]* %10, i64 0, i64 1
%20 = getelementptr inbounds [3 x i8], [3 x i8]* %10, i64 0, i64 2
br label %23
21: ; preds = %7
%22 = icmp eq i8* %3, null
br i1 %22, label %62, label %39
23: ; preds = %17, %31
%24 = phi i8 [ %15, %17 ], [ %33, %31 ]
%25 = phi i8* [ %2, %17 ], [ %27, %31 ]
store i8 45, i8* %18
store i8 %24, i8* %19
store i8 0, i8* %20
%26 = call i32 @arg_cat(i8** %8, i8* %18, i64* %9)
%27 = getelementptr inbounds i8, i8* %25, i64 1
%28 = load i8, i8* %27
%29 = icmp eq i8 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %23
br label %35
31: ; preds = %23
%32 = call i32 @arg_cat(i8** %8, i8* %12, i64* %9)
%33 = load i8, i8* %27
%34 = icmp eq i8 %33, 0
br i1 %34, label %35, label %23
35: ; preds = %31, %30, %14
%36 = icmp eq i8* %3, null
br i1 %36, label %62, label %37
37: ; preds = %35
%38 = call i32 @arg_cat(i8** %8, i8* %12, i64* %9)
br label %39
39: ; preds = %21, %37
%40 = load i8, i8* %3
%41 = icmp eq i8 %40, 0
br i1 %41, label %62, label %42
42: ; preds = %39, %58
%43 = phi i8* [ %60, %58 ], [ %3, %39 ]
%44 = call i32 @arg_cat(i8** %8, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i64* %9)
%45 = call i64 @strcspn(i8* %43, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%46 = load i8*, i8** %8
%47 = load i64, i64* %9
%48 = icmp ult i64 %45, %47
%49 = select i1 %48, i64 %45, i64 %47
%50 = call i32 @strncat(i8* %46, i8* %43, i64 %49)
%51 = getelementptr inbounds i8, i8* %43, i64 %45
%52 = load i8, i8* %51
%53 = icmp eq i8 %52, 44
br i1 %53, label %54, label %58
54: ; preds = %42
%55 = call i32 @arg_cat(i8** %8, i8* %12, i64* %9)
%56 = getelementptr inbounds i8, i8* %51, i64 1
%57 = load i8, i8* %56
br label %58
58: ; preds = %54, %42
%59 = phi i8 [ %57, %54 ], [ %52, %42 ]
%60 = phi i8* [ %56, %54 ], [ %51, %42 ]
%61 = icmp eq i8 %59, 0
br i1 %61, label %62, label %42
62: ; preds = %58, %35, %39, %21
%63 = phi i1 [ false, %21 ], [ true, %39 ], [ false, %35 ], [ true, %58 ]
%64 = icmp eq i8* %4, null
br i1 %64, label %79, label %65
65: ; preds = %62
%66 = xor i1 %13, true
%67 = or i1 %63, %66
br i1 %67, label %68, label %71
68: ; preds = %65
%69 = select i1 %63, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0)
%70 = call i32 @arg_cat(i8** %8, i8* %69, i64* %9)
br label %71
71: ; preds = %65, %68
%72 = icmp eq i32 %5, 0
br i1 %72, label %77, label %73
73: ; preds = %71
%74 = call i32 @arg_cat(i8** %8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0), i64* %9)
%75 = call i32 @arg_cat(i8** %8, i8* %4, i64* %9)
%76 = call i32 @arg_cat(i8** %8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0), i64* %9)
br label %79
77: ; preds = %71
%78 = call i32 @arg_cat(i8** %8, i8* %4, i64* %9)
br label %79
79: ; preds = %73, %77, %62
ret void
}