#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 GetFileMethod(char *);
char *GetProfileValue(char *);
int /*<<< orphan*/ sprintf(char *, char *, char *, char *, char *, char *, ...);
int /*<<< orphan*/ strcmp(char *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
int strlen(char *);
int /*<<< orphan*/ strncpy(char *, char *, int);
void MakeExtractCommandLine(char *command_line, char *path, char *file,
                            char *cmd) {
  int l;
  char cat_path[1024 + 1];
  int compress_method;
  compress_method = GetFileMethod(path);
  l = strlen(path);
  if (compress_method == 8) {
    (void)sprintf(command_line, "%s '%s' '%s' %s", GetProfileValue("ZOOEXPAND"),
                  path, file, cmd);
  } else if (compress_method == 9) {
    (void)sprintf(command_line, "%s '%s' '%s' %s", GetProfileValue("LHAEXPAND"),
                  path, file, cmd);
  } else if (compress_method == 11) {
    (void)sprintf(command_line, "%s '%s' '%s' %s", GetProfileValue("ZIPEXPAND"),
                  path, file, cmd);
  } else if (compress_method == 10) {
    (void)sprintf(command_line, "%s '%s' '%s' %s", GetProfileValue("ARCEXPAND"),
                  path, file, cmd);
  } else if (compress_method == 12) {
    if (!strcmp(GetProfileValue("RPMEXPAND"), "builtin")) {
      (void)sprintf(command_line,
                    "(TF=/tmp/ytree.$$; mkdir $TF; rpm2cpio '%s' | (cd $TF; "
                    "cpio --no-absolute-filenames -i -d '%s'); cat \"$TF/%s\"; "
                    "cd /tmp; rm -rf $TF; exit 0) %s",
                    path, (*file == '/') ? &file[1] : file, file, cmd);
    } else {
      (void)sprintf(command_line, "%s '%s' '%s' %s",
                    GetProfileValue("RPMEXPAND"), path, file, cmd);
    }
  } else if (compress_method == 18) {
    (void)sprintf(command_line, "%s '%s' '%s' %s", GetProfileValue("RAREXPAND"),
                  path, file, cmd);
  } else if (compress_method == 1) {
    (void)sprintf(command_line, "%s < '%s' | %s '%s' %s",
                  GetProfileValue("MELT"), path, GetProfileValue("TAREXPAND"),
                  file, cmd);
  } else if (compress_method == 2) {
    (void)strncpy(cat_path, path, l - 2);
    (void)strcpy(&cat_path[l - 2], "*");
    (void)sprintf(command_line, "%s %s | %s | %s '%s' %s",
                  GetProfileValue("CAT"), cat_path, GetProfileValue("MELT"),
                  GetProfileValue("TAREXPAND"), file, cmd);
  } else if (compress_method == 3) {
    (void)sprintf(command_line, "%s < %s | %s '%s' %s",
                  GetProfileValue("UNCOMPRESS"), path,
                  GetProfileValue("TAREXPAND"), file, cmd);
  } else if (compress_method == 4) {
    (void)strncpy(cat_path, path, l - 2);
    (void)strcpy(&cat_path[l - 2], "*");
    (void)sprintf(command_line, "%s %s | %s | %s '%s' %s",
                  GetProfileValue("CAT"), cat_path,
                  GetProfileValue("UNCOMPRESS"), GetProfileValue("TAREXPAND"),
                  file, cmd);
  } else if (compress_method == 5) {
    (void)sprintf(command_line, "%s < '%s' | %s '%s' %s",
                  GetProfileValue("GNUUNZIP"), path,
                  GetProfileValue("TAREXPAND"), file, cmd);
  } else if (compress_method == 7) {
    (void)strncpy(cat_path, path, l - 2);
    (void)strcpy(&cat_path[l - 2], "*");
    (void)sprintf(command_line, "%s %s | %s | %s '%s' %s",
                  GetProfileValue("CAT"), cat_path, GetProfileValue("GNUUNZIP"),
                  GetProfileValue("TAREXPAND"), file, cmd);
  } else if (compress_method == 6) {
    (void)sprintf(command_line, "%s < '%s' | %s '%s' %s",
                  GetProfileValue("BUNZIP"), path, GetProfileValue("TAREXPAND"),
                  file, cmd);
  } else {
    (void)sprintf(command_line, "%s '%s' < '%s' %s",
                  GetProfileValue("TAREXPAND"), file, path, cmd);
  }
}


x86 assembly (clang, -O0):
<MakeExtractCommandLine>:
push   %rbp
mov    %rsp,%rbp
sub    $0x560,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    -0x10(%rbp),%rdi
call   1040 <GetFileMethod@plt>
mov    %eax,-0x434(%rbp)
mov    -0x10(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,-0x24(%rbp)
cmpl   $0x8,-0x434(%rbp)
jne    11f3 <MakeExtractCommandLine+0x83>
mov    -0x8(%rbp),%rax
mov    %rax,-0x440(%rbp)
lea    0xe4b(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    -0x440(%rbp),%rdi
mov    %rax,%rdx
mov    -0x10(%rbp),%rcx
mov    -0x18(%rbp),%r8
mov    -0x20(%rbp),%r9
lea    0xe19(%rip),%rsi
mov    $0x0,%al
call   1090 <sprintf@plt>
jmp    18d5 <MakeExtractCommandLine+0x765>
cmpl   $0x9,-0x434(%rbp)
jne    1240 <MakeExtractCommandLine+0xd0>
mov    -0x8(%rbp),%rax
mov    %rax,-0x448(%rbp)
lea    0xe08(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    -0x448(%rbp),%rdi
mov    %rax,%rdx
mov    -0x10(%rbp),%rcx
mov    -0x18(%rbp),%r8
mov    -0x20(%rbp),%r9
lea    0xdcc(%rip),%rsi
mov    $0x0,%al
call   1090 <sprintf@plt>
jmp    18d0 <MakeExtractCommandLine+0x760>
cmpl   $0xb,-0x434(%rbp)
jne    128d <MakeExtractCommandLine+0x11d>
mov    -0x8(%rbp),%rax
mov    %rax,-0x450(%rbp)
lea    0xdc5(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    -0x450(%rbp),%rdi
mov    %rax,%rdx
mov    -0x10(%rbp),%rcx
mov    -0x18(%rbp),%r8
mov    -0x20(%rbp),%r9
lea    0xd7f(%rip),%rsi
mov    $0x0,%al
call   1090 <sprintf@plt>
jmp    18cb <MakeExtractCommandLine+0x75b>
cmpl   $0xa,-0x434(%rbp)
jne    12da <MakeExtractCommandLine+0x16a>
mov    -0x8(%rbp),%rax
mov    %rax,-0x458(%rbp)
lea    0xd82(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    -0x458(%rbp),%rdi
mov    %rax,%rdx
mov    -0x10(%rbp),%rcx
mov    -0x18(%rbp),%r8
mov    -0x20(%rbp),%r9
lea    0xd32(%rip),%rsi
mov    $0x0,%al
call   1090 <sprintf@plt>
jmp    18c6 <MakeExtractCommandLine+0x756>
cmpl   $0xc,-0x434(%rbp)
jne    13c0 <MakeExtractCommandLine+0x250>
lea    0xd4a(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    %rax,%rdi
lea    0xd45(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%eax
jne    1380 <MakeExtractCommandLine+0x210>
mov    -0x8(%rbp),%rax
mov    %rax,-0x468(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x460(%rbp)
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x2f,%eax
jne    1345 <MakeExtractCommandLine+0x1d5>
mov    -0x18(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x470(%rbp)
jmp    1350 <MakeExtractCommandLine+0x1e0>
mov    -0x18(%rbp),%rax
mov    %rax,-0x470(%rbp)
mov    -0x460(%rbp),%rdx
mov    -0x468(%rbp),%rdi
mov    -0x470(%rbp),%rcx
mov    -0x18(%rbp),%r8
mov    -0x20(%rbp),%r9
lea    0xcd6(%rip),%rsi
mov    $0x0,%al
call   1090 <sprintf@plt>
jmp    13bb <MakeExtractCommandLine+0x24b>
mov    -0x8(%rbp),%rax
mov    %rax,-0x478(%rbp)
lea    0xca6(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    -0x478(%rbp),%rdi
mov    %rax,%rdx
mov    -0x10(%rbp),%rcx
mov    -0x18(%rbp),%r8
mov    -0x20(%rbp),%r9
lea    0xc4c(%rip),%rsi
mov    $0x0,%al
call   1090 <sprintf@plt>
jmp    18c1 <MakeExtractCommandLine+0x751>
cmpl   $0x12,-0x434(%rbp)
jne    140d <MakeExtractCommandLine+0x29d>
mov    -0x8(%rbp),%rax
mov    %rax,-0x480(%rbp)
lea    0xcfa(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    -0x480(%rbp),%rdi
mov    %rax,%rdx
mov    -0x10(%rbp),%rcx
mov    -0x18(%rbp),%r8
mov    -0x20(%rbp),%r9
lea    0xbff(%rip),%rsi
mov    $0x0,%al
call   1090 <sprintf@plt>
jmp    18bc <MakeExtractCommandLine+0x74c>
cmpl   $0x1,-0x434(%rbp)
jne    1486 <MakeExtractCommandLine+0x316>
mov    -0x8(%rbp),%rax
mov    %rax,-0x498(%rbp)
lea    0xcce(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    %rax,-0x490(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x488(%rbp)
lea    0xcb5(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    -0x498(%rbp),%rdi
mov    -0x490(%rbp),%rdx
mov    -0x488(%rbp),%rcx
mov    %rax,%r8
mov    -0x18(%rbp),%r9
mov    -0x20(%rbp),%rax
lea    0xc6d(%rip),%rsi
mov    %rax,(%rsp)
mov    $0x0,%al
call   1090 <sprintf@plt>
jmp    18b7 <MakeExtractCommandLine+0x747>
cmpl   $0x2,-0x434(%rbp)
jne    1555 <MakeExtractCommandLine+0x3e5>
lea    -0x430(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x24(%rbp),%edx
sub    $0x2,%edx
call   1030 <strncpy@plt>
mov    -0x24(%rbp),%eax
sub    $0x2,%eax
cltq
lea    -0x430(%rbp),%rdi
add    %rax,%rdi
lea    0xc47(%rip),%rsi
call   1050 <strcpy@plt>
mov    -0x8(%rbp),%rax
mov    %rax,-0x4b8(%rbp)
lea    0xc4a(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    %rax,-0x4b0(%rbp)
lea    -0x430(%rbp),%rax
mov    %rax,-0x4a8(%rbp)
lea    0xc00(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    %rax,-0x4a0(%rbp)
lea    0xbf2(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    -0x4b8(%rbp),%rdi
mov    -0x4b0(%rbp),%rdx
mov    -0x4a8(%rbp),%rcx
mov    -0x4a0(%rbp),%r8
mov    %rax,%r9
mov    -0x18(%rbp),%r10
mov    -0x20(%rbp),%rax
lea    0xbcb(%rip),%rsi
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
mov    $0x0,%al
call   1090 <sprintf@plt>
jmp    18b2 <MakeExtractCommandLine+0x742>
cmpl   $0x3,-0x434(%rbp)
jne    15ce <MakeExtractCommandLine+0x45e>
mov    -0x8(%rbp),%rax
mov    %rax,-0x4d0(%rbp)
lea    0xbc8(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    %rax,-0x4c8(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x4c0(%rbp)
lea    0xb6d(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    -0x4d0(%rbp),%rdi
mov    -0x4c8(%rbp),%rdx
mov    -0x4c0(%rbp),%rcx
mov    %rax,%r8
mov    -0x18(%rbp),%r9
mov    -0x20(%rbp),%rax
lea    0xb69(%rip),%rsi
mov    %rax,(%rsp)
mov    $0x0,%al
call   1090 <sprintf@plt>
jmp    18ad <MakeExtractCommandLine+0x73d>
cmpl   $0x4,-0x434(%rbp)
jne    169d <MakeExtractCommandLine+0x52d>
lea    -0x430(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x24(%rbp),%edx
sub    $0x2,%edx
call   1030 <strncpy@plt>
mov    -0x24(%rbp),%eax
sub    $0x2,%eax
cltq
lea    -0x430(%rbp),%rdi
add    %rax,%rdi
lea    0xaff(%rip),%rsi
call   1050 <strcpy@plt>
mov    -0x8(%rbp),%rax
mov    %rax,-0x4f0(%rbp)
lea    0xb02(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    %rax,-0x4e8(%rbp)
lea    -0x430(%rbp),%rax
mov    %rax,-0x4e0(%rbp)
lea    0xafa(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    %rax,-0x4d8(%rbp)
lea    0xaaa(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    -0x4f0(%rbp),%rdi
mov    -0x4e8(%rbp),%rdx
mov    -0x4e0(%rbp),%rcx
mov    -0x4d8(%rbp),%r8
mov    %rax,%r9
mov    -0x18(%rbp),%r10
mov    -0x20(%rbp),%rax
lea    0xa83(%rip),%rsi
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
mov    $0x0,%al
call   1090 <sprintf@plt>
jmp    18a8 <MakeExtractCommandLine+0x738>
cmpl   $0x5,-0x434(%rbp)
jne    1716 <MakeExtractCommandLine+0x5a6>
mov    -0x8(%rbp),%rax
mov    %rax,-0x508(%rbp)
lea    0xa8b(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    %rax,-0x500(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x4f8(%rbp)
lea    0xa25(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    -0x508(%rbp),%rdi
mov    -0x500(%rbp),%rdx
mov    -0x4f8(%rbp),%rcx
mov    %rax,%r8
mov    -0x18(%rbp),%r9
mov    -0x20(%rbp),%rax
lea    0x9dd(%rip),%rsi
mov    %rax,(%rsp)
mov    $0x0,%al
call   1090 <sprintf@plt>
jmp    18a3 <MakeExtractCommandLine+0x733>
cmpl   $0x7,-0x434(%rbp)
jne    17e5 <MakeExtractCommandLine+0x675>
lea    -0x430(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x24(%rbp),%edx
sub    $0x2,%edx
call   1030 <strncpy@plt>
mov    -0x24(%rbp),%eax
sub    $0x2,%eax
cltq
lea    -0x430(%rbp),%rdi
add    %rax,%rdi
lea    0x9b7(%rip),%rsi
call   1050 <strcpy@plt>
mov    -0x8(%rbp),%rax
mov    %rax,-0x528(%rbp)
lea    0x9ba(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    %rax,-0x520(%rbp)
lea    -0x430(%rbp),%rax
mov    %rax,-0x518(%rbp)
lea    0x9bd(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    %rax,-0x510(%rbp)
lea    0x962(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    -0x528(%rbp),%rdi
mov    -0x520(%rbp),%rdx
mov    -0x518(%rbp),%rcx
mov    -0x510(%rbp),%r8
mov    %rax,%r9
mov    -0x18(%rbp),%r10
mov    -0x20(%rbp),%rax
lea    0x93b(%rip),%rsi
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
mov    $0x0,%al
call   1090 <sprintf@plt>
jmp    189e <MakeExtractCommandLine+0x72e>
cmpl   $0x6,-0x434(%rbp)
jne    185e <MakeExtractCommandLine+0x6ee>
mov    -0x8(%rbp),%rax
mov    %rax,-0x540(%rbp)
lea    0x94c(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    %rax,-0x538(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x530(%rbp)
lea    0x8dd(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    -0x540(%rbp),%rdi
mov    -0x538(%rbp),%rdx
mov    -0x530(%rbp),%rcx
mov    %rax,%r8
mov    -0x18(%rbp),%r9
mov    -0x20(%rbp),%rax
lea    0x895(%rip),%rsi
mov    %rax,(%rsp)
mov    $0x0,%al
call   1090 <sprintf@plt>
jmp    1899 <MakeExtractCommandLine+0x729>
mov    -0x8(%rbp),%rax
mov    %rax,-0x548(%rbp)
lea    0x88f(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    -0x548(%rbp),%rdi
mov    %rax,%rdx
mov    -0x18(%rbp),%rcx
mov    -0x10(%rbp),%r8
mov    -0x20(%rbp),%r9
lea    0x8c5(%rip),%rsi
mov    $0x0,%al
call   1090 <sprintf@plt>
jmp    189e <MakeExtractCommandLine+0x72e>
jmp    18a3 <MakeExtractCommandLine+0x733>
jmp    18a8 <MakeExtractCommandLine+0x738>
jmp    18ad <MakeExtractCommandLine+0x73d>
jmp    18b2 <MakeExtractCommandLine+0x742>
jmp    18b7 <MakeExtractCommandLine+0x747>
jmp    18bc <MakeExtractCommandLine+0x74c>
jmp    18c1 <MakeExtractCommandLine+0x751>
jmp    18c6 <MakeExtractCommandLine+0x756>
jmp    18cb <MakeExtractCommandLine+0x75b>
jmp    18d0 <MakeExtractCommandLine+0x760>
jmp    18d5 <MakeExtractCommandLine+0x765>
add    $0x560,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<MakeExtractCommandLine>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x418,%rsp
mov    %rcx,%r15
mov    %rdx,%r14
mov    %rsi,%r13
mov    %rdi,%r12
mov    %rsi,%rdi
call   1040 <GetFileMethod@plt>
mov    %eax,%ebp
mov    %r13,%rdi
call   1060 <strlen@plt>
add    $0xffffffff,%ebp
cmp    $0x11,%ebp
ja     139c <MakeExtractCommandLine+0x22c>
mov    %eax,%ebx
lea    0xe4c(%rip),%rax
movslq (%rax,%rbp,4),%rcx
add    %rax,%rcx
jmp    *%rcx
lea    0xf7e(%rip),%rdi
jmp    1291 <MakeExtractCommandLine+0x121>
lea    -0x2(%rbx),%edx
lea    0x10(%rsp),%rbp
mov    %rbp,%rdi
mov    %r13,%rsi
call   1030 <strncpy@plt>
movslq %ebx,%rax
lea    (%rax,%rbp,1),%rdi
add    $0xfffffffffffffffe,%rdi
mov    %rbp,%r13
lea    0xf60(%rip),%rsi
call   1050 <strcpy@plt>
lea    0xf6e(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    %rax,%rbx
lea    0xf36(%rip),%rdi
jmp    1304 <MakeExtractCommandLine+0x194>
lea    0xf6c(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    %rax,%rbx
lea    0xf20(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    %r15,(%rsp)
lea    0xf38(%rip),%rsi
jmp    12b0 <MakeExtractCommandLine+0x140>
lea    -0x2(%rbx),%edx
lea    0x10(%rsp),%rbp
mov    %rbp,%rdi
mov    %r13,%rsi
call   1030 <strncpy@plt>
movslq %ebx,%rax
lea    (%rax,%rbp,1),%rdi
add    $0xfffffffffffffffe,%rdi
mov    %rbp,%r13
lea    0xef0(%rip),%rsi
call   1050 <strcpy@plt>
lea    0xefe(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    %rax,%rbx
lea    0xf08(%rip),%rdi
jmp    1304 <MakeExtractCommandLine+0x194>
lea    0xf07(%rip),%rdi
jmp    1291 <MakeExtractCommandLine+0x121>
lea    0xf07(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    %rax,%rbx
lea    0xea7(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    %r15,(%rsp)
lea    0xe7b(%rip),%rsi
mov    %r12,%rdi
mov    %rbx,%rdx
mov    %r13,%rcx
mov    %rax,%r8
mov    %r14,%r9
jmp    1337 <MakeExtractCommandLine+0x1c7>
lea    -0x2(%rbx),%edx
lea    0x10(%rsp),%rbp
mov    %rbp,%rdi
mov    %r13,%rsi
call   1030 <strncpy@plt>
movslq %ebx,%rax
lea    (%rax,%rbp,1),%rdi
add    $0xfffffffffffffffe,%rdi
mov    %rbp,%r13
lea    0xe68(%rip),%rsi
call   1050 <strcpy@plt>
lea    0xe76(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    %rax,%rbx
lea    0xe8b(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    %rax,%rbp
lea    0xe34(%rip),%rdi
call   1070 <GetProfileValue@plt>
mov    %r15,0x8(%rsp)
mov    %r14,(%rsp)
lea    0xe2b(%rip),%rsi
mov    %r12,%rdi
mov    %rbx,%rdx
mov    %r13,%rcx
mov    %rbp,%r8
mov    %rax,%r9
xor    %eax,%eax
call   1090 <sprintf@plt>
add    $0x418,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xd01(%rip),%rdi
jmp    13c4 <MakeExtractCommandLine+0x254>
lea    0xd02(%rip),%rdi
jmp    13c4 <MakeExtractCommandLine+0x254>
lea    0xd0d(%rip),%rdi
jmp    13c4 <MakeExtractCommandLine+0x254>
lea    0xcfa(%rip),%rdi
jmp    13c4 <MakeExtractCommandLine+0x254>
lea    0xd05(%rip),%rdi
call   1070 <GetProfileValue@plt>
lea    0xd03(%rip),%rsi
mov    %rax,%rdi
call   1080 <strcmp@plt>
test   %eax,%eax
je     13f7 <MakeExtractCommandLine+0x287>
lea    0xce6(%rip),%rdi
jmp    13c4 <MakeExtractCommandLine+0x254>
lea    0xda4(%rip),%rdi
call   1070 <GetProfileValue@plt>
lea    0xdf0(%rip),%rsi
mov    %r12,%rdi
mov    %rax,%rdx
mov    %r14,%rcx
mov    %r13,%r8
jmp    13dc <MakeExtractCommandLine+0x26c>
lea    0xd5d(%rip),%rdi
call   1070 <GetProfileValue@plt>
lea    0xc78(%rip),%rsi
mov    %r12,%rdi
mov    %rax,%rdx
mov    %r13,%rcx
mov    %r14,%r8
mov    %r15,%r9
xor    %eax,%eax
add    $0x418,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1090 <sprintf@plt>
xor    %ecx,%ecx
cmpb   $0x2f,(%r14)
sete   %cl
add    %r14,%rcx
lea    0xc88(%rip),%rsi
mov    %r12,%rdi
mov    %r13,%rdx
jmp    13d9 <MakeExtractCommandLine+0x269>

LLVM IR (-O0):
@.str = [16 x i8] c"%s '%s' '%s' %s\00"
@.str.1 = [10 x i8] c"ZOOEXPAND\00"
@.str.2 = [10 x i8] c"LHAEXPAND\00"
@.str.3 = [10 x i8] c"ZIPEXPAND\00"
@.str.4 = [10 x i8] c"ARCEXPAND\00"
@.str.5 = [10 x i8] c"RPMEXPAND\00"
@.str.6 = [8 x i8] c"builtin\00"
@.str.7 = [143 x i8] c"(TF=/tmp/ytree.$$; mkdir $TF; rpm2cpio '%s' | (cd $TF; cpio --no-absolute-filenames -i -d '%s'); cat \22$TF/%s\22; cd /tmp; rm -rf $TF; exit 0) %s\00"
@.str.8 = [10 x i8] c"RAREXPAND\00"
@.str.9 = [23 x i8] c"%s < '%s' | %s '%s' %s\00"
@.str.10 = [5 x i8] c"MELT\00"
@.str.11 = [10 x i8] c"TAREXPAND\00"
@.str.12 = [2 x i8] c"*\00"
@.str.13 = [24 x i8] c"%s %s | %s | %s '%s' %s\00"
@.str.14 = [4 x i8] c"CAT\00"
@.str.15 = [21 x i8] c"%s < %s | %s '%s' %s\00"
@.str.16 = [11 x i8] c"UNCOMPRESS\00"
@.str.17 = [9 x i8] c"GNUUNZIP\00"
@.str.18 = [7 x i8] c"BUNZIP\00"
@.str.19 = [18 x i8] c"%s '%s' < '%s' %s\00"
define void @MakeExtractCommandLine(i8* %0, i8* %1, i8* %2, i8* %3) {
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca i32
%10 = alloca [1025 x i8]
%11 = alloca i32
store i8* %0, i8** %5
store i8* %1, i8** %6
store i8* %2, i8** %7
store i8* %3, i8** %8
%12 = load i8*, i8** %6
%13 = call i32 @GetFileMethod(i8* %12)
store i32 %13, i32* %11
%14 = load i8*, i8** %6
%15 = call i32 @strlen(i8* %14)
store i32 %15, i32* %9
%16 = load i32, i32* %11
%17 = icmp eq i32 %16, 8
br i1 %17, label %18, label %25
18: ; preds = %4
%19 = load i8*, i8** %5
%20 = call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%21 = load i8*, i8** %6
%22 = load i8*, i8** %7
%23 = load i8*, i8** %8
%24 = call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* %19, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8* %20, i8* %21, i8* %22, i8* %23)
br label %226
25: ; preds = %4
%26 = load i32, i32* %11
%27 = icmp eq i32 %26, 9
br i1 %27, label %28, label %35
28: ; preds = %25
%29 = load i8*, i8** %5
%30 = call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
%31 = load i8*, i8** %6
%32 = load i8*, i8** %7
%33 = load i8*, i8** %8
%34 = call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* %29, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8* %30, i8* %31, i8* %32, i8* %33)
br label %225
35: ; preds = %25
%36 = load i32, i32* %11
%37 = icmp eq i32 %36, 11
br i1 %37, label %38, label %45
38: ; preds = %35
%39 = load i8*, i8** %5
%40 = call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
%41 = load i8*, i8** %6
%42 = load i8*, i8** %7
%43 = load i8*, i8** %8
%44 = call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* %39, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8* %40, i8* %41, i8* %42, i8* %43)
br label %224
45: ; preds = %35
%46 = load i32, i32* %11
%47 = icmp eq i32 %46, 10
br i1 %47, label %48, label %55
48: ; preds = %45
%49 = load i8*, i8** %5
%50 = call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
%51 = load i8*, i8** %6
%52 = load i8*, i8** %7
%53 = load i8*, i8** %8
%54 = call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* %49, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8* %50, i8* %51, i8* %52, i8* %53)
br label %223
55: ; preds = %45
%56 = load i32, i32* %11
%57 = icmp eq i32 %56, 12
br i1 %57, label %58, label %87
58: ; preds = %55
%59 = call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%60 = call i32 @strcmp(i8* %59, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
%61 = icmp ne i32 %60, 0
br i1 %61, label %79, label %62
62: ; preds = %58
%63 = load i8*, i8** %5
%64 = load i8*, i8** %6
%65 = load i8*, i8** %7
%66 = load i8, i8* %65
%67 = sext i8 %66 to i32
%68 = icmp eq i32 %67, 47
br i1 %68, label %69, label %72
69: ; preds = %62
%70 = load i8*, i8** %7
%71 = getelementptr inbounds i8, i8* %70, i64 1
br label %74
72: ; preds = %62
%73 = load i8*, i8** %7
br label %74
74: ; preds = %72, %69
%75 = phi i8* [ %71, %69 ], [ %73, %72 ]
%76 = load i8*, i8** %7
%77 = load i8*, i8** %8
%78 = call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* %63, i8* getelementptr inbounds ([143 x i8], [143 x i8]* @.str.7, i64 0, i64 0), i8* %64, i8* %75, i8* %76, i8* %77)
br label %86
79: ; preds = %58
%80 = load i8*, i8** %5
%81 = call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%82 = load i8*, i8** %6
%83 = load i8*, i8** %7
%84 = load i8*, i8** %8
%85 = call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* %80, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8* %81, i8* %82, i8* %83, i8* %84)
br label %86
86: ; preds = %79, %74
br label %222
87: ; preds = %55
%88 = load i32, i32* %11
%89 = icmp eq i32 %88, 18
br i1 %89, label %90, label %97
90: ; preds = %87
%91 = load i8*, i8** %5
%92 = call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.8, i64 0, i64 0))
%93 = load i8*, i8** %6
%94 = load i8*, i8** %7
%95 = load i8*, i8** %8
%96 = call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* %91, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8* %92, i8* %93, i8* %94, i8* %95)
br label %221
97: ; preds = %87
%98 = load i32, i32* %11
%99 = icmp eq i32 %98, 1
br i1 %99, label %100, label %108
100: ; preds = %97
%101 = load i8*, i8** %5
%102 = call i8* @GetProfileValue(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%103 = load i8*, i8** %6
%104 = call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%105 = load i8*, i8** %7
%106 = load i8*, i8** %8
%107 = call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* %101, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.9, i64 0, i64 0), i8* %102, i8* %103, i8* %104, i8* %105, i8* %106)
br label %220
108: ; preds = %97
%109 = load i32, i32* %11
%110 = icmp eq i32 %109, 2
br i1 %110, label %111, label %130
111: ; preds = %108
%112 = getelementptr inbounds [1025 x i8], [1025 x i8]* %10, i64 0, i64 0
%113 = load i8*, i8** %6
%114 = load i32, i32* %9
%115 = sub nsw i32 %114, 2
%116 = call i32 @strncpy(i8* %112, i8* %113, i32 %115)
%117 = load i32, i32* %9
%118 = sub nsw i32 %117, 2
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds [1025 x i8], [1025 x i8]* %10, i64 0, i64 %119
%121 = call i32 @strcpy(i8* %120, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
%122 = load i8*, i8** %5
%123 = call i8* @GetProfileValue(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0))
%124 = getelementptr inbounds [1025 x i8], [1025 x i8]* %10, i64 0, i64 0
%125 = call i8* @GetProfileValue(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%126 = call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%127 = load i8*, i8** %7
%128 = load i8*, i8** %8
%129 = call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* %122, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.13, i64 0, i64 0), i8* %123, i8* %124, i8* %125, i8* %126, i8* %127, i8* %128)
br label %219
130: ; preds = %108
%131 = load i32, i32* %11
%132 = icmp eq i32 %131, 3
br i1 %132, label %133, label %141
133: ; preds = %130
%134 = load i8*, i8** %5
%135 = call i8* @GetProfileValue(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.16, i64 0, i64 0))
%136 = load i8*, i8** %6
%137 = call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%138 = load i8*, i8** %7
%139 = load i8*, i8** %8
%140 = call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* %134, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.15, i64 0, i64 0), i8* %135, i8* %136, i8* %137, i8* %138, i8* %139)
br label %218
141: ; preds = %130
%142 = load i32, i32* %11
%143 = icmp eq i32 %142, 4
br i1 %143, label %144, label %163
144: ; preds = %141
%145 = getelementptr inbounds [1025 x i8], [1025 x i8]* %10, i64 0, i64 0
%146 = load i8*, i8** %6
%147 = load i32, i32* %9
%148 = sub nsw i32 %147, 2
%149 = call i32 @strncpy(i8* %145, i8* %146, i32 %148)
%150 = load i32, i32* %9
%151 = sub nsw i32 %150, 2
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds [1025 x i8], [1025 x i8]* %10, i64 0, i64 %152
%154 = call i32 @strcpy(i8* %153, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
%155 = load i8*, i8** %5
%156 = call i8* @GetProfileValue(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0))
%157 = getelementptr inbounds [1025 x i8], [1025 x i8]* %10, i64 0, i64 0
%158 = call i8* @GetProfileValue(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.16, i64 0, i64 0))
%159 = call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%160 = load i8*, i8** %7
%161 = load i8*, i8** %8
%162 = call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* %155, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.13, i64 0, i64 0), i8* %156, i8* %157, i8* %158, i8* %159, i8* %160, i8* %161)
br label %217
163: ; preds = %141
%164 = load i32, i32* %11
%165 = icmp eq i32 %164, 5
br i1 %165, label %166, label %174
166: ; preds = %163
%167 = load i8*, i8** %5
%168 = call i8* @GetProfileValue(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.17, i64 0, i64 0))
%169 = load i8*, i8** %6
%170 = call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%171 = load i8*, i8** %7
%172 = load i8*, i8** %8
%173 = call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* %167, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.9, i64 0, i64 0), i8* %168, i8* %169, i8* %170, i8* %171, i8* %172)
br label %216
174: ; preds = %163
%175 = load i32, i32* %11
%176 = icmp eq i32 %175, 7
br i1 %176, label %177, label %196
177: ; preds = %174
%178 = getelementptr inbounds [1025 x i8], [1025 x i8]* %10, i64 0, i64 0
%179 = load i8*, i8** %6
%180 = load i32, i32* %9
%181 = sub nsw i32 %180, 2
%182 = call i32 @strncpy(i8* %178, i8* %179, i32 %181)
%183 = load i32, i32* %9
%184 = sub nsw i32 %183, 2
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds [1025 x i8], [1025 x i8]* %10, i64 0, i64 %185
%187 = call i32 @strcpy(i8* %186, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
%188 = load i8*, i8** %5
%189 = call i8* @GetProfileValue(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0))
%190 = getelementptr inbounds [1025 x i8], [1025 x i8]* %10, i64 0, i64 0
%191 = call i8* @GetProfileValue(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.17, i64 0, i64 0))
%192 = call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%193 = load i8*, i8** %7
%194 = load i8*, i8** %8
%195 = call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* %188, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.13, i64 0, i64 0), i8* %189, i8* %190, i8* %191, i8* %192, i8* %193, i8* %194)
br label %215
196: ; preds = %174
%197 = load i32, i32* %11
%198 = icmp eq i32 %197, 6
br i1 %198, label %199, label %207
199: ; preds = %196
%200 = load i8*, i8** %5
%201 = call i8* @GetProfileValue(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.18, i64 0, i64 0))
%202 = load i8*, i8** %6
%203 = call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%204 = load i8*, i8** %7
%205 = load i8*, i8** %8
%206 = call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* %200, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.9, i64 0, i64 0), i8* %201, i8* %202, i8* %203, i8* %204, i8* %205)
br label %214
207: ; preds = %196
%208 = load i8*, i8** %5
%209 = call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%210 = load i8*, i8** %7
%211 = load i8*, i8** %6
%212 = load i8*, i8** %8
%213 = call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* %208, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.19, i64 0, i64 0), i8* %209, i8* %210, i8* %211, i8* %212)
br label %214
214: ; preds = %207, %199
br label %215
215: ; preds = %214, %177
br label %216
216: ; preds = %215, %166
br label %217
217: ; preds = %216, %144
br label %218
218: ; preds = %217, %133
br label %219
219: ; preds = %218, %111
br label %220
220: ; preds = %219, %100
br label %221
221: ; preds = %220, %90
br label %222
222: ; preds = %221, %86
br label %223
223: ; preds = %222, %48
br label %224
224: ; preds = %223, %38
br label %225
225: ; preds = %224, %28
br label %226
226: ; preds = %225, %18
ret void
}

LLVM IR (-O2):
@.str = [16 x i8] c"%s '%s' '%s' %s\00"
@.str.1 = [10 x i8] c"ZOOEXPAND\00"
@.str.2 = [10 x i8] c"LHAEXPAND\00"
@.str.3 = [10 x i8] c"ZIPEXPAND\00"
@.str.4 = [10 x i8] c"ARCEXPAND\00"
@.str.5 = [10 x i8] c"RPMEXPAND\00"
@.str.6 = [8 x i8] c"builtin\00"
@.str.7 = [143 x i8] c"(TF=/tmp/ytree.$$; mkdir $TF; rpm2cpio '%s' | (cd $TF; cpio --no-absolute-filenames -i -d '%s'); cat \22$TF/%s\22; cd /tmp; rm -rf $TF; exit 0) %s\00"
@.str.8 = [10 x i8] c"RAREXPAND\00"
@.str.9 = [23 x i8] c"%s < '%s' | %s '%s' %s\00"
@.str.10 = [5 x i8] c"MELT\00"
@.str.11 = [10 x i8] c"TAREXPAND\00"
@.str.12 = [2 x i8] c"*\00"
@.str.13 = [24 x i8] c"%s %s | %s | %s '%s' %s\00"
@.str.14 = [4 x i8] c"CAT\00"
@.str.15 = [21 x i8] c"%s < %s | %s '%s' %s\00"
@.str.16 = [11 x i8] c"UNCOMPRESS\00"
@.str.17 = [9 x i8] c"GNUUNZIP\00"
@.str.18 = [7 x i8] c"BUNZIP\00"
@.str.19 = [18 x i8] c"%s '%s' < '%s' %s\00"
define void @MakeExtractCommandLine(i8* nocapture writeonly %0, i8* %1, i8* %2, i8* %3) {
%5 = alloca [1025 x i8]
%6 = getelementptr inbounds [1025 x i8], [1025 x i8]* %5, i64 0, i64 0
%7 = tail call i32 @GetFileMethod(i8* %1)
%8 = tail call i32 @strlen(i8* %1)
switch i32 %7, label %83 [
i32 8, label %9
i32 9, label %12
i32 11, label %15
i32 10, label %18
i32 12, label %21
i32 18, label %34
i32 1, label %37
i32 2, label %41
i32 3, label %51
i32 4, label %55
i32 5, label %65
i32 7, label %69
i32 6, label %79
]
9: ; preds = %4
%10 = tail call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%11 = tail call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8* %10, i8* %1, i8* %2, i8* %3)
br label %86
12: ; preds = %4
%13 = tail call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
%14 = tail call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8* %13, i8* %1, i8* %2, i8* %3)
br label %86
15: ; preds = %4
%16 = tail call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
%17 = tail call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8* %16, i8* %1, i8* %2, i8* %3)
br label %86
18: ; preds = %4
%19 = tail call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
%20 = tail call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8* %19, i8* %1, i8* %2, i8* %3)
br label %86
21: ; preds = %4
%22 = tail call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%23 = tail call i32 @strcmp(i8* dereferenceable(1) %22, i8* dereferenceable(8) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %31
25: ; preds = %21
%26 = load i8, i8* %2
%27 = icmp eq i8 %26, 47
%28 = zext i1 %27 to i64
%29 = getelementptr i8, i8* %2, i64 %28
%30 = tail call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([143 x i8], [143 x i8]* @.str.7, i64 0, i64 0), i8* %1, i8* %29, i8* %2, i8* %3)
br label %86
31: ; preds = %21
%32 = tail call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%33 = tail call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8* %32, i8* %1, i8* %2, i8* %3)
br label %86
34: ; preds = %4
%35 = tail call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.8, i64 0, i64 0))
%36 = tail call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8* %35, i8* %1, i8* %2, i8* %3)
br label %86
37: ; preds = %4
%38 = tail call i8* @GetProfileValue(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%39 = tail call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%40 = tail call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.9, i64 0, i64 0), i8* %38, i8* %1, i8* %39, i8* %2, i8* %3)
br label %86
41: ; preds = %4
%42 = add nsw i32 %8, -2
%43 = call i32 @strncpy(i8* %6, i8* %1, i32 %42)
%44 = sext i32 %42 to i64
%45 = getelementptr inbounds [1025 x i8], [1025 x i8]* %5, i64 0, i64 %44
%46 = call i32 @strcpy(i8* %45, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
%47 = call i8* @GetProfileValue(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0))
%48 = call i8* @GetProfileValue(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%49 = call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%50 = call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.13, i64 0, i64 0), i8* %47, i8* %6, i8* %48, i8* %49, i8* %2, i8* %3)
br label %86
51: ; preds = %4
%52 = tail call i8* @GetProfileValue(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.16, i64 0, i64 0))
%53 = tail call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%54 = tail call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.15, i64 0, i64 0), i8* %52, i8* %1, i8* %53, i8* %2, i8* %3)
br label %86
55: ; preds = %4
%56 = add nsw i32 %8, -2
%57 = call i32 @strncpy(i8* %6, i8* %1, i32 %56)
%58 = sext i32 %56 to i64
%59 = getelementptr inbounds [1025 x i8], [1025 x i8]* %5, i64 0, i64 %58
%60 = call i32 @strcpy(i8* %59, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
%61 = call i8* @GetProfileValue(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0))
%62 = call i8* @GetProfileValue(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.16, i64 0, i64 0))
%63 = call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%64 = call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.13, i64 0, i64 0), i8* %61, i8* %6, i8* %62, i8* %63, i8* %2, i8* %3)
br label %86
65: ; preds = %4
%66 = tail call i8* @GetProfileValue(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.17, i64 0, i64 0))
%67 = tail call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%68 = tail call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.9, i64 0, i64 0), i8* %66, i8* %1, i8* %67, i8* %2, i8* %3)
br label %86
69: ; preds = %4
%70 = add nsw i32 %8, -2
%71 = call i32 @strncpy(i8* %6, i8* %1, i32 %70)
%72 = sext i32 %70 to i64
%73 = getelementptr inbounds [1025 x i8], [1025 x i8]* %5, i64 0, i64 %72
%74 = call i32 @strcpy(i8* %73, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
%75 = call i8* @GetProfileValue(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0))
%76 = call i8* @GetProfileValue(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.17, i64 0, i64 0))
%77 = call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%78 = call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.13, i64 0, i64 0), i8* %75, i8* %6, i8* %76, i8* %77, i8* %2, i8* %3)
br label %86
79: ; preds = %4
%80 = tail call i8* @GetProfileValue(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.18, i64 0, i64 0))
%81 = tail call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%82 = tail call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.9, i64 0, i64 0), i8* %80, i8* %1, i8* %81, i8* %2, i8* %3)
br label %86
83: ; preds = %4
%84 = tail call i8* @GetProfileValue(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%85 = tail call i32 (i8*, i8*, i8*, i8*, i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.19, i64 0, i64 0), i8* %84, i8* %2, i8* %1, i8* %3)
br label %86
86: ; preds = %12, %18, %34, %41, %55, %69, %83, %79, %65, %51, %37, %25, %31, %15, %9
ret void
}