#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ assert(int);
int strlen(char const *const);
int /*<<< orphan*/ strncpy(char *, char const *const, int);
int strtol(char const *const, int /*<<< orphan*/ *, int);
void toc_uuid(const char *const uuid, int *A1, int *A2, int *B, int *C, int *D,
              int *E1, int *E2, int *E3) {
  if (strlen(uuid) <= 4) {
    *A1 = 0x0946;
    *A2 = strtol(uuid, NULL, 16);
    *B = 0x4C7F;
    *C = 0x11D1;
    *D = 0x8222;
    *E1 = 0x4445;
    *E2 = 0x5354;
    *E3 = 0x0000;
  } else {
    char buf[5];
    buf[4] = 0;
    strncpy(buf, uuid + 0, 4);
    assert((buf[4] == 0) && (strlen(buf) == 4));
    *A1 = strtol(buf, NULL, 16);
    strncpy(buf, uuid + 4, 4);
    assert((buf[4] == 0) && (strlen(buf) == 4));
    *A2 = strtol(buf, NULL, 16);
    strncpy(buf, uuid + 9, 4);
    assert((buf[4] == 0) && (strlen(buf) == 4));
    *B = strtol(buf, NULL, 16);
    strncpy(buf, uuid + 14, 4);
    assert((buf[4] == 0) && (strlen(buf) == 4));
    *C = strtol(buf, NULL, 16);
    strncpy(buf, uuid + 19, 4);
    assert((buf[4] == 0) && (strlen(buf) == 4));
    *D = strtol(buf, NULL, 16);
    strncpy(buf, uuid + 24, 4);
    assert((buf[4] == 0) && (strlen(buf) == 4));
    *E1 = strtol(buf, NULL, 16);
    strncpy(buf, uuid + 28, 4);
    assert((buf[4] == 0) && (strlen(buf) == 4));
    *E2 = strtol(buf, NULL, 16);
    strncpy(buf, uuid + 32, 4);
    assert((buf[4] == 0) && (strlen(buf) == 4));
    *E3 = strtol(buf, NULL, 16);
  }
}


x86 assembly (clang, -O0):
<toc_uuid>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
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    %r9,-0x30(%rbp)
mov    -0x8(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x4,%eax
jg     11e3 <toc_uuid+0xa3>
mov    -0x10(%rbp),%rax
movl   $0x946,(%rax)
mov    -0x8(%rbp),%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x10,%edx
call   1060 <strtol@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x20(%rbp),%rax
movl   $0x4c7f,(%rax)
mov    -0x28(%rbp),%rax
movl   $0x11d1,(%rax)
mov    -0x30(%rbp),%rax
movl   $0x8222,(%rax)
mov    0x10(%rbp),%rax
movl   $0x4445,(%rax)
mov    0x18(%rbp),%rax
movl   $0x5354,(%rax)
mov    0x20(%rbp),%rax
movl   $0x0,(%rax)
jmp    14eb <toc_uuid+0x3ab>
movb   $0x0,-0x31(%rbp)
lea    -0x35(%rbp),%rdi
mov    -0x8(%rbp),%rsi
mov    $0x4,%edx
call   1030 <strncpy@plt>
movsbl -0x31(%rbp),%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x36(%rbp)
jne    121d <toc_uuid+0xdd>
lea    -0x35(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x4,%eax
sete   %al
mov    %al,-0x36(%rbp)
mov    -0x36(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1050 <assert@plt>
lea    -0x35(%rbp),%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x10,%edx
call   1060 <strtol@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,(%rax)
lea    -0x35(%rbp),%rdi
mov    -0x8(%rbp),%rsi
add    $0x4,%rsi
mov    $0x4,%edx
call   1030 <strncpy@plt>
movsbl -0x31(%rbp),%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x37(%rbp)
jne    127e <toc_uuid+0x13e>
lea    -0x35(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x4,%eax
sete   %al
mov    %al,-0x37(%rbp)
mov    -0x37(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1050 <assert@plt>
lea    -0x35(%rbp),%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x10,%edx
call   1060 <strtol@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
lea    -0x35(%rbp),%rdi
mov    -0x8(%rbp),%rsi
add    $0x9,%rsi
mov    $0x4,%edx
call   1030 <strncpy@plt>
movsbl -0x31(%rbp),%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x38(%rbp)
jne    12df <toc_uuid+0x19f>
lea    -0x35(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x4,%eax
sete   %al
mov    %al,-0x38(%rbp)
mov    -0x38(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1050 <assert@plt>
lea    -0x35(%rbp),%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x10,%edx
call   1060 <strtol@plt>
mov    %eax,%ecx
mov    -0x20(%rbp),%rax
mov    %ecx,(%rax)
lea    -0x35(%rbp),%rdi
mov    -0x8(%rbp),%rsi
add    $0xe,%rsi
mov    $0x4,%edx
call   1030 <strncpy@plt>
movsbl -0x31(%rbp),%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x39(%rbp)
jne    1340 <toc_uuid+0x200>
lea    -0x35(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x4,%eax
sete   %al
mov    %al,-0x39(%rbp)
mov    -0x39(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1050 <assert@plt>
lea    -0x35(%rbp),%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x10,%edx
call   1060 <strtol@plt>
mov    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,(%rax)
lea    -0x35(%rbp),%rdi
mov    -0x8(%rbp),%rsi
add    $0x13,%rsi
mov    $0x4,%edx
call   1030 <strncpy@plt>
movsbl -0x31(%rbp),%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x3a(%rbp)
jne    13a1 <toc_uuid+0x261>
lea    -0x35(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x4,%eax
sete   %al
mov    %al,-0x3a(%rbp)
mov    -0x3a(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1050 <assert@plt>
lea    -0x35(%rbp),%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x10,%edx
call   1060 <strtol@plt>
mov    %eax,%ecx
mov    -0x30(%rbp),%rax
mov    %ecx,(%rax)
lea    -0x35(%rbp),%rdi
mov    -0x8(%rbp),%rsi
add    $0x18,%rsi
mov    $0x4,%edx
call   1030 <strncpy@plt>
movsbl -0x31(%rbp),%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x3b(%rbp)
jne    1402 <toc_uuid+0x2c2>
lea    -0x35(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x4,%eax
sete   %al
mov    %al,-0x3b(%rbp)
mov    -0x3b(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1050 <assert@plt>
lea    -0x35(%rbp),%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x10,%edx
call   1060 <strtol@plt>
mov    %eax,%ecx
mov    0x10(%rbp),%rax
mov    %ecx,(%rax)
lea    -0x35(%rbp),%rdi
mov    -0x8(%rbp),%rsi
add    $0x1c,%rsi
mov    $0x4,%edx
call   1030 <strncpy@plt>
movsbl -0x31(%rbp),%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x3c(%rbp)
jne    1463 <toc_uuid+0x323>
lea    -0x35(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x4,%eax
sete   %al
mov    %al,-0x3c(%rbp)
mov    -0x3c(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1050 <assert@plt>
lea    -0x35(%rbp),%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x10,%edx
call   1060 <strtol@plt>
mov    %eax,%ecx
mov    0x18(%rbp),%rax
mov    %ecx,(%rax)
lea    -0x35(%rbp),%rdi
mov    -0x8(%rbp),%rsi
add    $0x20,%rsi
mov    $0x4,%edx
call   1030 <strncpy@plt>
movsbl -0x31(%rbp),%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x3d(%rbp)
jne    14c4 <toc_uuid+0x384>
lea    -0x35(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x4,%eax
sete   %al
mov    %al,-0x3d(%rbp)
mov    -0x3d(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1050 <assert@plt>
lea    -0x35(%rbp),%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x10,%edx
call   1060 <strtol@plt>
mov    %eax,%ecx
mov    0x20(%rbp),%rax
mov    %ecx,(%rax)
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<toc_uuid>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %r9,%r13
mov    %r8,%r14
mov    %rcx,%r15
mov    %rdx,%r12
mov    %rsi,%rbp
mov    %rdi,%rbx
call   1040 <strlen@plt>
cmp    $0x4,%eax
jg     11c0 <toc_uuid+0x80>
movl   $0x946,0x0(%rbp)
mov    %rbx,%rdi
xor    %esi,%esi
mov    $0x10,%edx
call   1060 <strtol@plt>
mov    %eax,(%r12)
movl   $0x4c7f,(%r15)
movl   $0x11d1,(%r14)
movl   $0x8222,0x0(%r13)
mov    0x50(%rsp),%rax
movl   $0x4445,(%rax)
mov    0x58(%rsp),%rax
movl   $0x5354,(%rax)
mov    0x60(%rsp),%rax
movl   $0x0,(%rax)
jmp    1455 <toc_uuid+0x315>
mov    %r12,0x8(%rsp)
mov    %r15,0x10(%rsp)
mov    %r14,%r12
movb   $0x0,0x7(%rsp)
lea    0x3(%rsp),%rdi
mov    %rbx,%rsi
mov    $0x4,%edx
call   1030 <strncpy@plt>
xor    %r14d,%r14d
cmpb   $0x0,0x7(%rsp)
mov    $0x0,%edi
jne    1206 <toc_uuid+0xc6>
lea    0x3(%rsp),%rdi
call   1040 <strlen@plt>
xor    %edi,%edi
cmp    $0x4,%eax
sete   %dil
call   1050 <assert@plt>
lea    0x3(%rsp),%r15
mov    %r15,%rdi
xor    %esi,%esi
mov    $0x10,%edx
call   1060 <strtol@plt>
mov    %eax,0x0(%rbp)
lea    0x4(%rbx),%rsi
mov    %r15,%rdi
mov    $0x4,%edx
call   1030 <strncpy@plt>
cmpb   $0x0,0x7(%rsp)
jne    124e <toc_uuid+0x10e>
lea    0x3(%rsp),%rdi
call   1040 <strlen@plt>
xor    %r14d,%r14d
cmp    $0x4,%eax
sete   %r14b
mov    %r14d,%edi
call   1050 <assert@plt>
xor    %r14d,%r14d
lea    0x3(%rsp),%rbp
mov    %rbp,%rdi
xor    %esi,%esi
mov    $0x10,%edx
call   1060 <strtol@plt>
mov    0x8(%rsp),%rcx
mov    %eax,(%rcx)
lea    0x9(%rbx),%rsi
mov    %rbp,%rdi
mov    $0x4,%edx
call   1030 <strncpy@plt>
cmpb   $0x0,0x7(%rsp)
mov    $0x0,%edi
mov    0x10(%rsp),%r15
jne    12a9 <toc_uuid+0x169>
lea    0x3(%rsp),%rdi
call   1040 <strlen@plt>
xor    %edi,%edi
cmp    $0x4,%eax
sete   %dil
call   1050 <assert@plt>
lea    0x3(%rsp),%rbp
mov    %rbp,%rdi
xor    %esi,%esi
mov    $0x10,%edx
call   1060 <strtol@plt>
mov    %eax,(%r15)
lea    0xe(%rbx),%rsi
mov    %rbp,%rdi
mov    $0x4,%edx
call   1030 <strncpy@plt>
cmpb   $0x0,0x7(%rsp)
mov    0x58(%rsp),%r15
jne    12f6 <toc_uuid+0x1b6>
lea    0x3(%rsp),%rdi
call   1040 <strlen@plt>
xor    %r14d,%r14d
cmp    $0x4,%eax
sete   %r14b
mov    %r14d,%edi
call   1050 <assert@plt>
xor    %r14d,%r14d
lea    0x3(%rsp),%rbp
mov    %rbp,%rdi
xor    %esi,%esi
mov    $0x10,%edx
call   1060 <strtol@plt>
mov    %eax,(%r12)
lea    0x13(%rbx),%rsi
mov    %rbp,%rdi
mov    $0x4,%edx
call   1030 <strncpy@plt>
cmpb   $0x0,0x7(%rsp)
mov    $0x0,%edi
mov    0x50(%rsp),%r12
jne    134e <toc_uuid+0x20e>
lea    0x3(%rsp),%rdi
call   1040 <strlen@plt>
xor    %edi,%edi
cmp    $0x4,%eax
sete   %dil
call   1050 <assert@plt>
lea    0x3(%rsp),%rbp
mov    %rbp,%rdi
xor    %esi,%esi
mov    $0x10,%edx
call   1060 <strtol@plt>
mov    %eax,0x0(%r13)
lea    0x18(%rbx),%rsi
mov    %rbp,%rdi
mov    $0x4,%edx
call   1030 <strncpy@plt>
cmpb   $0x0,0x7(%rsp)
jne    1397 <toc_uuid+0x257>
lea    0x3(%rsp),%rdi
call   1040 <strlen@plt>
xor    %r14d,%r14d
cmp    $0x4,%eax
sete   %r14b
mov    %r14d,%edi
call   1050 <assert@plt>
xor    %r14d,%r14d
lea    0x3(%rsp),%rbp
mov    %rbp,%rdi
xor    %esi,%esi
mov    $0x10,%edx
call   1060 <strtol@plt>
mov    %eax,(%r12)
lea    0x1c(%rbx),%rsi
mov    %rbp,%rdi
mov    $0x4,%edx
call   1030 <strncpy@plt>
cmpb   $0x0,0x7(%rsp)
mov    $0x0,%edi
jne    13ea <toc_uuid+0x2aa>
lea    0x3(%rsp),%rdi
call   1040 <strlen@plt>
xor    %edi,%edi
cmp    $0x4,%eax
sete   %dil
call   1050 <assert@plt>
lea    0x3(%rsp),%rbp
mov    %rbp,%rdi
xor    %esi,%esi
mov    $0x10,%edx
call   1060 <strtol@plt>
mov    %eax,(%r15)
add    $0x20,%rbx
mov    %rbp,%rdi
mov    %rbx,%rsi
mov    $0x4,%edx
call   1030 <strncpy@plt>
cmpb   $0x0,0x7(%rsp)
jne    1435 <toc_uuid+0x2f5>
lea    0x3(%rsp),%rdi
call   1040 <strlen@plt>
xor    %r14d,%r14d
cmp    $0x4,%eax
sete   %r14b
mov    %r14d,%edi
call   1050 <assert@plt>
lea    0x3(%rsp),%rdi
xor    %esi,%esi
mov    $0x10,%edx
call   1060 <strtol@plt>
mov    0x60(%rsp),%rcx
mov    %eax,(%rcx)
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @toc_uuid(i8* %0, i32* %1, i32* %2, i32* %3, i32* %4, i32* %5, i32* %6, i32* %7, i32* %8) {
%10 = alloca i8*
%11 = alloca i32*
%12 = alloca i32*
%13 = alloca i32*
%14 = alloca i32*
%15 = alloca i32*
%16 = alloca i32*
%17 = alloca i32*
%18 = alloca i32*
%19 = alloca [5 x i8]
store i8* %0, i8** %10
store i32* %1, i32** %11
store i32* %2, i32** %12
store i32* %3, i32** %13
store i32* %4, i32** %14
store i32* %5, i32** %15
store i32* %6, i32** %16
store i32* %7, i32** %17
store i32* %8, i32** %18
%20 = load i8*, i8** %10
%21 = call i32 @strlen(i8* %20)
%22 = icmp sle i32 %21, 4
br i1 %22, label %23, label %34
23: ; preds = %9
%24 = load i32*, i32** %11
store i32 2374, i32* %24
%25 = load i8*, i8** %10
%26 = call i32 @strtol(i8* %25, i32* null, i32 16)
%27 = load i32*, i32** %12
store i32 %26, i32* %27
%28 = load i32*, i32** %13
store i32 19583, i32* %28
%29 = load i32*, i32** %14
store i32 4561, i32* %29
%30 = load i32*, i32** %15
store i32 33314, i32* %30
%31 = load i32*, i32** %16
store i32 17477, i32* %31
%32 = load i32*, i32** %17
store i32 21332, i32* %32
%33 = load i32*, i32** %18
store i32 0, i32* %33
br label %188
34: ; preds = %9
%35 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 4
store i8 0, i8* %35
%36 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 0
%37 = load i8*, i8** %10
%38 = getelementptr inbounds i8, i8* %37, i64 0
%39 = call i32 @strncpy(i8* %36, i8* %38, i32 4)
%40 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 4
%41 = load i8, i8* %40
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %48
44: ; preds = %34
%45 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 0
%46 = call i32 @strlen(i8* %45)
%47 = icmp eq i32 %46, 4
br label %48
48: ; preds = %44, %34
%49 = phi i1 [ false, %34 ], [ %47, %44 ]
%50 = zext i1 %49 to i32
%51 = call i32 @assert(i32 %50)
%52 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 0
%53 = call i32 @strtol(i8* %52, i32* null, i32 16)
%54 = load i32*, i32** %11
store i32 %53, i32* %54
%55 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 0
%56 = load i8*, i8** %10
%57 = getelementptr inbounds i8, i8* %56, i64 4
%58 = call i32 @strncpy(i8* %55, i8* %57, i32 4)
%59 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 4
%60 = load i8, i8* %59
%61 = sext i8 %60 to i32
%62 = icmp eq i32 %61, 0
br i1 %62, label %63, label %67
63: ; preds = %48
%64 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 0
%65 = call i32 @strlen(i8* %64)
%66 = icmp eq i32 %65, 4
br label %67
67: ; preds = %63, %48
%68 = phi i1 [ false, %48 ], [ %66, %63 ]
%69 = zext i1 %68 to i32
%70 = call i32 @assert(i32 %69)
%71 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 0
%72 = call i32 @strtol(i8* %71, i32* null, i32 16)
%73 = load i32*, i32** %12
store i32 %72, i32* %73
%74 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 0
%75 = load i8*, i8** %10
%76 = getelementptr inbounds i8, i8* %75, i64 9
%77 = call i32 @strncpy(i8* %74, i8* %76, i32 4)
%78 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 4
%79 = load i8, i8* %78
%80 = sext i8 %79 to i32
%81 = icmp eq i32 %80, 0
br i1 %81, label %82, label %86
82: ; preds = %67
%83 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 0
%84 = call i32 @strlen(i8* %83)
%85 = icmp eq i32 %84, 4
br label %86
86: ; preds = %82, %67
%87 = phi i1 [ false, %67 ], [ %85, %82 ]
%88 = zext i1 %87 to i32
%89 = call i32 @assert(i32 %88)
%90 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 0
%91 = call i32 @strtol(i8* %90, i32* null, i32 16)
%92 = load i32*, i32** %13
store i32 %91, i32* %92
%93 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 0
%94 = load i8*, i8** %10
%95 = getelementptr inbounds i8, i8* %94, i64 14
%96 = call i32 @strncpy(i8* %93, i8* %95, i32 4)
%97 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 4
%98 = load i8, i8* %97
%99 = sext i8 %98 to i32
%100 = icmp eq i32 %99, 0
br i1 %100, label %101, label %105
101: ; preds = %86
%102 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 0
%103 = call i32 @strlen(i8* %102)
%104 = icmp eq i32 %103, 4
br label %105
105: ; preds = %101, %86
%106 = phi i1 [ false, %86 ], [ %104, %101 ]
%107 = zext i1 %106 to i32
%108 = call i32 @assert(i32 %107)
%109 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 0
%110 = call i32 @strtol(i8* %109, i32* null, i32 16)
%111 = load i32*, i32** %14
store i32 %110, i32* %111
%112 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 0
%113 = load i8*, i8** %10
%114 = getelementptr inbounds i8, i8* %113, i64 19
%115 = call i32 @strncpy(i8* %112, i8* %114, i32 4)
%116 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 4
%117 = load i8, i8* %116
%118 = sext i8 %117 to i32
%119 = icmp eq i32 %118, 0
br i1 %119, label %120, label %124
120: ; preds = %105
%121 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 0
%122 = call i32 @strlen(i8* %121)
%123 = icmp eq i32 %122, 4
br label %124
124: ; preds = %120, %105
%125 = phi i1 [ false, %105 ], [ %123, %120 ]
%126 = zext i1 %125 to i32
%127 = call i32 @assert(i32 %126)
%128 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 0
%129 = call i32 @strtol(i8* %128, i32* null, i32 16)
%130 = load i32*, i32** %15
store i32 %129, i32* %130
%131 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 0
%132 = load i8*, i8** %10
%133 = getelementptr inbounds i8, i8* %132, i64 24
%134 = call i32 @strncpy(i8* %131, i8* %133, i32 4)
%135 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 4
%136 = load i8, i8* %135
%137 = sext i8 %136 to i32
%138 = icmp eq i32 %137, 0
br i1 %138, label %139, label %143
139: ; preds = %124
%140 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 0
%141 = call i32 @strlen(i8* %140)
%142 = icmp eq i32 %141, 4
br label %143
143: ; preds = %139, %124
%144 = phi i1 [ false, %124 ], [ %142, %139 ]
%145 = zext i1 %144 to i32
%146 = call i32 @assert(i32 %145)
%147 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 0
%148 = call i32 @strtol(i8* %147, i32* null, i32 16)
%149 = load i32*, i32** %16
store i32 %148, i32* %149
%150 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 0
%151 = load i8*, i8** %10
%152 = getelementptr inbounds i8, i8* %151, i64 28
%153 = call i32 @strncpy(i8* %150, i8* %152, i32 4)
%154 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 4
%155 = load i8, i8* %154
%156 = sext i8 %155 to i32
%157 = icmp eq i32 %156, 0
br i1 %157, label %158, label %162
158: ; preds = %143
%159 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 0
%160 = call i32 @strlen(i8* %159)
%161 = icmp eq i32 %160, 4
br label %162
162: ; preds = %158, %143
%163 = phi i1 [ false, %143 ], [ %161, %158 ]
%164 = zext i1 %163 to i32
%165 = call i32 @assert(i32 %164)
%166 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 0
%167 = call i32 @strtol(i8* %166, i32* null, i32 16)
%168 = load i32*, i32** %17
store i32 %167, i32* %168
%169 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 0
%170 = load i8*, i8** %10
%171 = getelementptr inbounds i8, i8* %170, i64 32
%172 = call i32 @strncpy(i8* %169, i8* %171, i32 4)
%173 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 4
%174 = load i8, i8* %173
%175 = sext i8 %174 to i32
%176 = icmp eq i32 %175, 0
br i1 %176, label %177, label %181
177: ; preds = %162
%178 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 0
%179 = call i32 @strlen(i8* %178)
%180 = icmp eq i32 %179, 4
br label %181
181: ; preds = %177, %162
%182 = phi i1 [ false, %162 ], [ %180, %177 ]
%183 = zext i1 %182 to i32
%184 = call i32 @assert(i32 %183)
%185 = getelementptr inbounds [5 x i8], [5 x i8]* %19, i64 0, i64 0
%186 = call i32 @strtol(i8* %185, i32* null, i32 16)
%187 = load i32*, i32** %18
store i32 %186, i32* %187
br label %188
188: ; preds = %181, %23
ret void
}

LLVM IR (-O2):
define void @toc_uuid(i8* %0, i32* nocapture writeonly %1, i32* nocapture writeonly %2, i32* nocapture writeonly %3, i32* nocapture writeonly %4, i32* nocapture writeonly %5, i32* nocapture writeonly %6, i32* nocapture writeonly %7, i32* nocapture writeonly %8) {
%10 = alloca [5 x i8]
%11 = tail call i32 @strlen(i8* %0)
%12 = icmp slt i32 %11, 5
br i1 %12, label %13, label %15
13: ; preds = %9
store i32 2374, i32* %1
%14 = tail call i32 @strtol(i8* nocapture %0, i32* null, i32 16)
store i32 %14, i32* %2
store i32 19583, i32* %3
store i32 4561, i32* %4
store i32 33314, i32* %5
store i32 17477, i32* %6
store i32 21332, i32* %7
store i32 0, i32* %8
br label %113
15: ; preds = %9
%16 = getelementptr inbounds [5 x i8], [5 x i8]* %10, i64 0, i64 0
%17 = getelementptr inbounds [5 x i8], [5 x i8]* %10, i64 0, i64 4
store i8 0, i8* %17
%18 = call i32 @strncpy(i8* %16, i8* %0, i32 4)
%19 = load i8, i8* %17
%20 = icmp eq i8 %19, 0
br i1 %20, label %21, label %25
21: ; preds = %15
%22 = call i32 @strlen(i8* %16)
%23 = icmp eq i32 %22, 4
%24 = zext i1 %23 to i32
br label %25
25: ; preds = %21, %15
%26 = phi i32 [ 0, %15 ], [ %24, %21 ]
%27 = call i32 @assert(i32 %26)
%28 = call i32 @strtol(i8* nocapture %16, i32* null, i32 16)
store i32 %28, i32* %1
%29 = getelementptr inbounds i8, i8* %0, i64 4
%30 = call i32 @strncpy(i8* %16, i8* %29, i32 4)
%31 = load i8, i8* %17
%32 = icmp eq i8 %31, 0
br i1 %32, label %33, label %37
33: ; preds = %25
%34 = call i32 @strlen(i8* %16)
%35 = icmp eq i32 %34, 4
%36 = zext i1 %35 to i32
br label %37
37: ; preds = %33, %25
%38 = phi i32 [ 0, %25 ], [ %36, %33 ]
%39 = call i32 @assert(i32 %38)
%40 = call i32 @strtol(i8* nocapture %16, i32* null, i32 16)
store i32 %40, i32* %2
%41 = getelementptr inbounds i8, i8* %0, i64 9
%42 = call i32 @strncpy(i8* %16, i8* %41, i32 4)
%43 = load i8, i8* %17
%44 = icmp eq i8 %43, 0
br i1 %44, label %45, label %49
45: ; preds = %37
%46 = call i32 @strlen(i8* %16)
%47 = icmp eq i32 %46, 4
%48 = zext i1 %47 to i32
br label %49
49: ; preds = %45, %37
%50 = phi i32 [ 0, %37 ], [ %48, %45 ]
%51 = call i32 @assert(i32 %50)
%52 = call i32 @strtol(i8* nocapture %16, i32* null, i32 16)
store i32 %52, i32* %3
%53 = getelementptr inbounds i8, i8* %0, i64 14
%54 = call i32 @strncpy(i8* %16, i8* %53, i32 4)
%55 = load i8, i8* %17
%56 = icmp eq i8 %55, 0
br i1 %56, label %57, label %61
57: ; preds = %49
%58 = call i32 @strlen(i8* %16)
%59 = icmp eq i32 %58, 4
%60 = zext i1 %59 to i32
br label %61
61: ; preds = %57, %49
%62 = phi i32 [ 0, %49 ], [ %60, %57 ]
%63 = call i32 @assert(i32 %62)
%64 = call i32 @strtol(i8* nocapture %16, i32* null, i32 16)
store i32 %64, i32* %4
%65 = getelementptr inbounds i8, i8* %0, i64 19
%66 = call i32 @strncpy(i8* %16, i8* %65, i32 4)
%67 = load i8, i8* %17
%68 = icmp eq i8 %67, 0
br i1 %68, label %69, label %73
69: ; preds = %61
%70 = call i32 @strlen(i8* %16)
%71 = icmp eq i32 %70, 4
%72 = zext i1 %71 to i32
br label %73
73: ; preds = %69, %61
%74 = phi i32 [ 0, %61 ], [ %72, %69 ]
%75 = call i32 @assert(i32 %74)
%76 = call i32 @strtol(i8* nocapture %16, i32* null, i32 16)
store i32 %76, i32* %5
%77 = getelementptr inbounds i8, i8* %0, i64 24
%78 = call i32 @strncpy(i8* %16, i8* %77, i32 4)
%79 = load i8, i8* %17
%80 = icmp eq i8 %79, 0
br i1 %80, label %81, label %85
81: ; preds = %73
%82 = call i32 @strlen(i8* %16)
%83 = icmp eq i32 %82, 4
%84 = zext i1 %83 to i32
br label %85
85: ; preds = %81, %73
%86 = phi i32 [ 0, %73 ], [ %84, %81 ]
%87 = call i32 @assert(i32 %86)
%88 = call i32 @strtol(i8* nocapture %16, i32* null, i32 16)
store i32 %88, i32* %6
%89 = getelementptr inbounds i8, i8* %0, i64 28
%90 = call i32 @strncpy(i8* %16, i8* %89, i32 4)
%91 = load i8, i8* %17
%92 = icmp eq i8 %91, 0
br i1 %92, label %93, label %97
93: ; preds = %85
%94 = call i32 @strlen(i8* %16)
%95 = icmp eq i32 %94, 4
%96 = zext i1 %95 to i32
br label %97
97: ; preds = %93, %85
%98 = phi i32 [ 0, %85 ], [ %96, %93 ]
%99 = call i32 @assert(i32 %98)
%100 = call i32 @strtol(i8* nocapture %16, i32* null, i32 16)
store i32 %100, i32* %7
%101 = getelementptr inbounds i8, i8* %0, i64 32
%102 = call i32 @strncpy(i8* %16, i8* %101, i32 4)
%103 = load i8, i8* %17
%104 = icmp eq i8 %103, 0
br i1 %104, label %105, label %109
105: ; preds = %97
%106 = call i32 @strlen(i8* %16)
%107 = icmp eq i32 %106, 4
%108 = zext i1 %107 to i32
br label %109
109: ; preds = %105, %97
%110 = phi i32 [ 0, %97 ], [ %108, %105 ]
%111 = call i32 @assert(i32 %110)
%112 = call i32 @strtol(i8* nocapture %16, i32* null, i32 16)
store i32 %112, i32* %8
br label %113
113: ; preds = %109, %13
ret void
}