#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*/ dump_contact_body_test(char *, unsigned char,
                                          unsigned char *, int, int, char,
                                          char *);
int /*<<< orphan*/ dump_route_body_test(char *, unsigned char, unsigned char *,
                                        int, int, char, char *);
int /*<<< orphan*/ dump_standard_hdr_test(char *, unsigned char,
                                          unsigned char *, int, int);
int /*<<< orphan*/ dump_to_body_test(char *, unsigned char, unsigned char *,
                                     int, int, char);
int /*<<< orphan*/ dump_via_body_test(char *, unsigned char, unsigned char *,
                                      int, int, char);
int /*<<< orphan*/ memcpy(short *, unsigned char *, int);
short ntohs(short);
int dump_headers_test(char *msg, int msglen, unsigned char *payload, int len,
                      char type, int fd, char segregationLevel) {
  char *hdr_start_ptr;
  short int start_idx;
  memcpy(&start_idx, payload, 2);
  start_idx = ntohs(start_idx);
  hdr_start_ptr = &msg[start_idx];
  switch (type) {
  case 'f':
  case 't':
  case 'o':
  case 'p':
    dump_to_body_test(hdr_start_ptr, payload[(0 + 2)],
                      &payload[(((0 + 2) + 2) + 1)], len - (((0 + 2) + 2) + 1),
                      fd, segregationLevel);
    break;
  case 'm':
    dump_contact_body_test(hdr_start_ptr, payload[(0 + 2)],
                           &payload[(((0 + 2) + 2) + 1)],
                           len - (((0 + 2) + 2) + 1), fd, segregationLevel, "");
    break;
  case 'r':
  case 'R':
    dump_route_body_test(hdr_start_ptr, payload[(0 + 2)],
                         &payload[(((0 + 2) + 2) + 1)],
                         len - (((0 + 2) + 2) + 1), fd, segregationLevel, "");
    break;
  case 'l':
    dump_standard_hdr_test(hdr_start_ptr, payload[(0 + 2)],
                           &payload[(((0 + 2) + 2) + 1)],
                           len - (((0 + 2) + 2) + 1), fd);
    break;
  case 'v':
    dump_via_body_test(hdr_start_ptr, payload[(0 + 2)],
                       &payload[(((0 + 2) + 2) + 1)], len - (((0 + 2) + 2) + 1),
                       fd, segregationLevel);
    break;
  case 'A':
    dump_standard_hdr_test(hdr_start_ptr, payload[(0 + 2)],
                           &payload[(((0 + 2) + 2) + 1)],
                           len - (((0 + 2) + 2) + 1), fd);
    break;
  case 'c':
    dump_standard_hdr_test(hdr_start_ptr, payload[(0 + 2)],
                           &payload[(((0 + 2) + 2) + 1)],
                           len - (((0 + 2) + 2) + 1), fd);
    break;
  case 'S':
    dump_standard_hdr_test(hdr_start_ptr, payload[(0 + 2)],
                           &payload[(((0 + 2) + 2) + 1)],
                           len - (((0 + 2) + 2) + 1), fd);
    break;
  case 'P':
    dump_standard_hdr_test(hdr_start_ptr, payload[(0 + 2)],
                           &payload[(((0 + 2) + 2) + 1)],
                           len - (((0 + 2) + 2) + 1), fd);
    break;
  case 'a':
    dump_standard_hdr_test(hdr_start_ptr, payload[(0 + 2)],
                           &payload[(((0 + 2) + 2) + 1)],
                           len - (((0 + 2) + 2) + 1), fd);
    break;
  case 'h':
  case 'H':
  case 'z':
    dump_standard_hdr_test(hdr_start_ptr, payload[(0 + 2)],
                           &payload[(((0 + 2) + 2) + 1)],
                           len - (((0 + 2) + 2) + 1), fd);
    break;
  default:
    return 1;
  }
  return 1;
}


x86 assembly (clang, -O0):
<dump_headers_test>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %r8b,%al
mov    0x10(%rbp),%r8b
mov    %rdi,-0x10(%rbp)
mov    %esi,-0x14(%rbp)
mov    %rdx,-0x20(%rbp)
mov    %ecx,-0x24(%rbp)
mov    %al,-0x25(%rbp)
mov    %r9d,-0x2c(%rbp)
mov    -0x20(%rbp),%rsi
lea    -0x3a(%rbp),%rdi
mov    $0x2,%edx
call   1070 <memcpy@plt>
movswl -0x3a(%rbp),%edi
call   1080 <ntohs@plt>
mov    %ax,-0x3a(%rbp)
mov    -0x10(%rbp),%rax
movswq -0x3a(%rbp),%rcx
add    %rcx,%rax
mov    %rax,-0x38(%rbp)
movsbl -0x25(%rbp),%eax
add    $0xffffffbf,%eax
mov    %eax,%ecx
mov    %rcx,-0x48(%rbp)
sub    $0x39,%eax
ja     13e9 <dump_headers_test+0x279>
mov    -0x48(%rbp),%rax
lea    0xe1c(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    -0x38(%rbp),%rdi
mov    -0x20(%rbp),%rax
mov    0x2(%rax),%al
mov    -0x20(%rbp),%rdx
add    $0x5,%rdx
mov    -0x24(%rbp),%ecx
sub    $0x5,%ecx
mov    -0x2c(%rbp),%r8d
movzbl %al,%esi
movsbl 0x10(%rbp),%r9d
call   1040 <dump_to_body_test@plt>
jmp    13f5 <dump_headers_test+0x285>
mov    -0x38(%rbp),%rdi
mov    -0x20(%rbp),%rax
mov    0x2(%rax),%sil
mov    -0x20(%rbp),%rdx
add    $0x5,%rdx
mov    -0x24(%rbp),%ecx
sub    $0x5,%ecx
mov    -0x2c(%rbp),%r8d
lea    0xea7(%rip),%rax
movzbl %sil,%esi
movsbl 0x10(%rbp),%r9d
mov    %rax,(%rsp)
call   1050 <dump_contact_body_test@plt>
jmp    13f5 <dump_headers_test+0x285>
mov    -0x38(%rbp),%rdi
mov    -0x20(%rbp),%rax
mov    0x2(%rax),%sil
mov    -0x20(%rbp),%rdx
add    $0x5,%rdx
mov    -0x24(%rbp),%ecx
sub    $0x5,%ecx
mov    -0x2c(%rbp),%r8d
lea    0xe6b(%rip),%rax
movzbl %sil,%esi
movsbl 0x10(%rbp),%r9d
mov    %rax,(%rsp)
call   1090 <dump_route_body_test@plt>
jmp    13f5 <dump_headers_test+0x285>
mov    -0x38(%rbp),%rdi
mov    -0x20(%rbp),%rax
mov    0x2(%rax),%al
mov    -0x20(%rbp),%rdx
add    $0x5,%rdx
mov    -0x24(%rbp),%ecx
sub    $0x5,%ecx
mov    -0x2c(%rbp),%r8d
movzbl %al,%esi
call   1030 <dump_standard_hdr_test@plt>
jmp    13f5 <dump_headers_test+0x285>
mov    -0x38(%rbp),%rdi
mov    -0x20(%rbp),%rax
mov    0x2(%rax),%al
mov    -0x20(%rbp),%rdx
add    $0x5,%rdx
mov    -0x24(%rbp),%ecx
sub    $0x5,%ecx
mov    -0x2c(%rbp),%r8d
movzbl %al,%esi
movsbl 0x10(%rbp),%r9d
call   1060 <dump_via_body_test@plt>
jmp    13f5 <dump_headers_test+0x285>
mov    -0x38(%rbp),%rdi
mov    -0x20(%rbp),%rax
mov    0x2(%rax),%al
mov    -0x20(%rbp),%rdx
add    $0x5,%rdx
mov    -0x24(%rbp),%ecx
sub    $0x5,%ecx
mov    -0x2c(%rbp),%r8d
movzbl %al,%esi
call   1030 <dump_standard_hdr_test@plt>
jmp    13f5 <dump_headers_test+0x285>
mov    -0x38(%rbp),%rdi
mov    -0x20(%rbp),%rax
mov    0x2(%rax),%al
mov    -0x20(%rbp),%rdx
add    $0x5,%rdx
mov    -0x24(%rbp),%ecx
sub    $0x5,%ecx
mov    -0x2c(%rbp),%r8d
movzbl %al,%esi
call   1030 <dump_standard_hdr_test@plt>
jmp    13f5 <dump_headers_test+0x285>
mov    -0x38(%rbp),%rdi
mov    -0x20(%rbp),%rax
mov    0x2(%rax),%al
mov    -0x20(%rbp),%rdx
add    $0x5,%rdx
mov    -0x24(%rbp),%ecx
sub    $0x5,%ecx
mov    -0x2c(%rbp),%r8d
movzbl %al,%esi
call   1030 <dump_standard_hdr_test@plt>
jmp    13f5 <dump_headers_test+0x285>
mov    -0x38(%rbp),%rdi
mov    -0x20(%rbp),%rax
mov    0x2(%rax),%al
mov    -0x20(%rbp),%rdx
add    $0x5,%rdx
mov    -0x24(%rbp),%ecx
sub    $0x5,%ecx
mov    -0x2c(%rbp),%r8d
movzbl %al,%esi
call   1030 <dump_standard_hdr_test@plt>
jmp    13f5 <dump_headers_test+0x285>
mov    -0x38(%rbp),%rdi
mov    -0x20(%rbp),%rax
mov    0x2(%rax),%al
mov    -0x20(%rbp),%rdx
add    $0x5,%rdx
mov    -0x24(%rbp),%ecx
sub    $0x5,%ecx
mov    -0x2c(%rbp),%r8d
movzbl %al,%esi
call   1030 <dump_standard_hdr_test@plt>
jmp    13f5 <dump_headers_test+0x285>
mov    -0x38(%rbp),%rdi
mov    -0x20(%rbp),%rax
mov    0x2(%rax),%al
mov    -0x20(%rbp),%rdx
add    $0x5,%rdx
mov    -0x24(%rbp),%ecx
sub    $0x5,%ecx
mov    -0x2c(%rbp),%r8d
movzbl %al,%esi
call   1030 <dump_standard_hdr_test@plt>
jmp    13f5 <dump_headers_test+0x285>
movl   $0x1,-0x4(%rbp)
jmp    13fc <dump_headers_test+0x28c>
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<dump_headers_test>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x10,%rsp
mov    %r9d,%r14d
mov    %r8d,%ebp
mov    %ecx,%r15d
mov    %rdx,%rbx
mov    %rdi,%r12
lea    0xe(%rsp),%rdi
mov    %rdx,%rsi
mov    $0x2,%edx
call   1070 <memcpy@plt>
movswl 0xe(%rsp),%edi
call   1080 <ntohs@plt>
mov    %ax,0xe(%rsp)
add    $0xffffffbf,%ebp
cmp    $0x39,%ebp
ja     1295 <dump_headers_test+0x125>
mov    0x40(%rsp),%cl
movswq %ax,%rax
add    %rax,%r12
lea    0xe36(%rip),%rax
movslq (%rax,%rbp,4),%rdx
add    %rax,%rdx
jmp    *%rdx
movzbl 0x2(%rbx),%esi
add    $0x5,%rbx
add    $0xfffffffb,%r15d
mov    %r12,%rdi
mov    %rbx,%rdx
mov    %r15d,%ecx
mov    %r14d,%r8d
call   1030 <dump_standard_hdr_test@plt>
jmp    1295 <dump_headers_test+0x125>
movzbl 0x2(%rbx),%esi
add    $0x5,%rbx
add    $0xfffffffb,%r15d
movsbl %cl,%r9d
mov    %r12,%rdi
mov    %rbx,%rdx
mov    %r15d,%ecx
mov    %r14d,%r8d
call   1040 <dump_to_body_test@plt>
jmp    1295 <dump_headers_test+0x125>
movzbl 0x2(%rbx),%esi
add    $0x5,%rbx
add    $0xfffffffb,%r15d
lea    0xebd(%rip),%rax
mov    %rax,(%rsp)
movsbl %cl,%r9d
mov    %r12,%rdi
mov    %rbx,%rdx
mov    %r15d,%ecx
mov    %r14d,%r8d
call   1090 <dump_route_body_test@plt>
jmp    1295 <dump_headers_test+0x125>
movzbl 0x2(%rbx),%esi
add    $0x5,%rbx
add    $0xfffffffb,%r15d
lea    0xe8f(%rip),%rax
mov    %rax,(%rsp)
movsbl %cl,%r9d
mov    %r12,%rdi
mov    %rbx,%rdx
mov    %r15d,%ecx
mov    %r14d,%r8d
call   1050 <dump_contact_body_test@plt>
jmp    1295 <dump_headers_test+0x125>
movzbl 0x2(%rbx),%esi
add    $0x5,%rbx
add    $0xfffffffb,%r15d
movsbl %cl,%r9d
mov    %r12,%rdi
mov    %rbx,%rdx
mov    %r15d,%ecx
mov    %r14d,%r8d
call   1060 <dump_via_body_test@plt>
mov    $0x1,%eax
add    $0x10,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [1 x i8] zeroinitializer
define i32 @dump_headers_test(i8* %0, i32 %1, i8* %2, i32 %3, i8 signext %4, i32 %5, i8 signext %6) {
%8 = alloca i32
%9 = alloca i8*
%10 = alloca i32
%11 = alloca i8*
%12 = alloca i32
%13 = alloca i8
%14 = alloca i32
%15 = alloca i8
%16 = alloca i8*
%17 = alloca i16
store i8* %0, i8** %9
store i32 %1, i32* %10
store i8* %2, i8** %11
store i32 %3, i32* %12
store i8 %4, i8* %13
store i32 %5, i32* %14
store i8 %6, i8* %15
%18 = load i8*, i8** %11
%19 = call i32 @memcpy(i16* %17, i8* %18, i32 2)
%20 = load i16, i16* %17
%21 = call signext i16 @ntohs(i16 signext %20)
store i16 %21, i16* %17
%22 = load i8*, i8** %9
%23 = load i16, i16* %17
%24 = sext i16 %23 to i64
%25 = getelementptr inbounds i8, i8* %22, i64 %24
store i8* %25, i8** %16
%26 = load i8, i8* %13
%27 = sext i8 %26 to i32
switch i32 %27, label %153 [
i32 102, label %28
i32 116, label %28
i32 111, label %28
i32 112, label %28
i32 109, label %40
i32 114, label %52
i32 82, label %52
i32 108, label %64
i32 118, label %75
i32 65, label %87
i32 99, label %98
i32 83, label %109
i32 80, label %120
i32 97, label %131
i32 104, label %142
i32 72, label %142
i32 122, label %142
]
28: ; preds = %7, %7, %7, %7
%29 = load i8*, i8** %16
%30 = load i8*, i8** %11
%31 = getelementptr inbounds i8, i8* %30, i64 2
%32 = load i8, i8* %31
%33 = load i8*, i8** %11
%34 = getelementptr inbounds i8, i8* %33, i64 5
%35 = load i32, i32* %12
%36 = sub nsw i32 %35, 5
%37 = load i32, i32* %14
%38 = load i8, i8* %15
%39 = call i32 @dump_to_body_test(i8* %29, i8 zeroext %32, i8* %34, i32 %36, i32 %37, i8 signext %38)
br label %154
40: ; preds = %7
%41 = load i8*, i8** %16
%42 = load i8*, i8** %11
%43 = getelementptr inbounds i8, i8* %42, i64 2
%44 = load i8, i8* %43
%45 = load i8*, i8** %11
%46 = getelementptr inbounds i8, i8* %45, i64 5
%47 = load i32, i32* %12
%48 = sub nsw i32 %47, 5
%49 = load i32, i32* %14
%50 = load i8, i8* %15
%51 = call i32 @dump_contact_body_test(i8* %41, i8 zeroext %44, i8* %46, i32 %48, i32 %49, i8 signext %50, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
br label %154
52: ; preds = %7, %7
%53 = load i8*, i8** %16
%54 = load i8*, i8** %11
%55 = getelementptr inbounds i8, i8* %54, i64 2
%56 = load i8, i8* %55
%57 = load i8*, i8** %11
%58 = getelementptr inbounds i8, i8* %57, i64 5
%59 = load i32, i32* %12
%60 = sub nsw i32 %59, 5
%61 = load i32, i32* %14
%62 = load i8, i8* %15
%63 = call i32 @dump_route_body_test(i8* %53, i8 zeroext %56, i8* %58, i32 %60, i32 %61, i8 signext %62, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
br label %154
64: ; preds = %7
%65 = load i8*, i8** %16
%66 = load i8*, i8** %11
%67 = getelementptr inbounds i8, i8* %66, i64 2
%68 = load i8, i8* %67
%69 = load i8*, i8** %11
%70 = getelementptr inbounds i8, i8* %69, i64 5
%71 = load i32, i32* %12
%72 = sub nsw i32 %71, 5
%73 = load i32, i32* %14
%74 = call i32 @dump_standard_hdr_test(i8* %65, i8 zeroext %68, i8* %70, i32 %72, i32 %73)
br label %154
75: ; preds = %7
%76 = load i8*, i8** %16
%77 = load i8*, i8** %11
%78 = getelementptr inbounds i8, i8* %77, i64 2
%79 = load i8, i8* %78
%80 = load i8*, i8** %11
%81 = getelementptr inbounds i8, i8* %80, i64 5
%82 = load i32, i32* %12
%83 = sub nsw i32 %82, 5
%84 = load i32, i32* %14
%85 = load i8, i8* %15
%86 = call i32 @dump_via_body_test(i8* %76, i8 zeroext %79, i8* %81, i32 %83, i32 %84, i8 signext %85)
br label %154
87: ; preds = %7
%88 = load i8*, i8** %16
%89 = load i8*, i8** %11
%90 = getelementptr inbounds i8, i8* %89, i64 2
%91 = load i8, i8* %90
%92 = load i8*, i8** %11
%93 = getelementptr inbounds i8, i8* %92, i64 5
%94 = load i32, i32* %12
%95 = sub nsw i32 %94, 5
%96 = load i32, i32* %14
%97 = call i32 @dump_standard_hdr_test(i8* %88, i8 zeroext %91, i8* %93, i32 %95, i32 %96)
br label %154
98: ; preds = %7
%99 = load i8*, i8** %16
%100 = load i8*, i8** %11
%101 = getelementptr inbounds i8, i8* %100, i64 2
%102 = load i8, i8* %101
%103 = load i8*, i8** %11
%104 = getelementptr inbounds i8, i8* %103, i64 5
%105 = load i32, i32* %12
%106 = sub nsw i32 %105, 5
%107 = load i32, i32* %14
%108 = call i32 @dump_standard_hdr_test(i8* %99, i8 zeroext %102, i8* %104, i32 %106, i32 %107)
br label %154
109: ; preds = %7
%110 = load i8*, i8** %16
%111 = load i8*, i8** %11
%112 = getelementptr inbounds i8, i8* %111, i64 2
%113 = load i8, i8* %112
%114 = load i8*, i8** %11
%115 = getelementptr inbounds i8, i8* %114, i64 5
%116 = load i32, i32* %12
%117 = sub nsw i32 %116, 5
%118 = load i32, i32* %14
%119 = call i32 @dump_standard_hdr_test(i8* %110, i8 zeroext %113, i8* %115, i32 %117, i32 %118)
br label %154
120: ; preds = %7
%121 = load i8*, i8** %16
%122 = load i8*, i8** %11
%123 = getelementptr inbounds i8, i8* %122, i64 2
%124 = load i8, i8* %123
%125 = load i8*, i8** %11
%126 = getelementptr inbounds i8, i8* %125, i64 5
%127 = load i32, i32* %12
%128 = sub nsw i32 %127, 5
%129 = load i32, i32* %14
%130 = call i32 @dump_standard_hdr_test(i8* %121, i8 zeroext %124, i8* %126, i32 %128, i32 %129)
br label %154
131: ; preds = %7
%132 = load i8*, i8** %16
%133 = load i8*, i8** %11
%134 = getelementptr inbounds i8, i8* %133, i64 2
%135 = load i8, i8* %134
%136 = load i8*, i8** %11
%137 = getelementptr inbounds i8, i8* %136, i64 5
%138 = load i32, i32* %12
%139 = sub nsw i32 %138, 5
%140 = load i32, i32* %14
%141 = call i32 @dump_standard_hdr_test(i8* %132, i8 zeroext %135, i8* %137, i32 %139, i32 %140)
br label %154
142: ; preds = %7, %7, %7
%143 = load i8*, i8** %16
%144 = load i8*, i8** %11
%145 = getelementptr inbounds i8, i8* %144, i64 2
%146 = load i8, i8* %145
%147 = load i8*, i8** %11
%148 = getelementptr inbounds i8, i8* %147, i64 5
%149 = load i32, i32* %12
%150 = sub nsw i32 %149, 5
%151 = load i32, i32* %14
%152 = call i32 @dump_standard_hdr_test(i8* %143, i8 zeroext %146, i8* %148, i32 %150, i32 %151)
br label %154
153: ; preds = %7
store i32 1, i32* %8
br label %155
154: ; preds = %142, %131, %120, %109, %98, %87, %75, %64, %52, %40, %28
store i32 1, i32* %8
br label %155
155: ; preds = %154, %153
%156 = load i32, i32* %8
ret i32 %156
}

LLVM IR (-O2):
@.str = [1 x i8] zeroinitializer
define i32 @dump_headers_test(i8* %0, i32 %1, i8* %2, i32 %3, i8 signext %4, i32 %5, i8 signext %6) {
%8 = alloca i16
%9 = bitcast i16* %8 to i8*
%10 = call i32 @memcpy(i16* %8, i8* %2, i32 2)
%11 = load i16, i16* %8
%12 = call signext i16 @ntohs(i16 signext %11)
store i16 %12, i16* %8
%13 = sext i16 %12 to i64
%14 = getelementptr inbounds i8, i8* %0, i64 %13
%15 = sext i8 %4 to i32
switch i32 %15, label %82 [
i32 102, label %16
i32 116, label %16
i32 111, label %16
i32 112, label %16
i32 109, label %22
i32 114, label %28
i32 82, label %28
i32 108, label %34
i32 118, label %40
i32 65, label %46
i32 99, label %52
i32 83, label %58
i32 80, label %64
i32 97, label %70
i32 104, label %76
i32 72, label %76
i32 122, label %76
]
16: ; preds = %7, %7, %7, %7
%17 = getelementptr inbounds i8, i8* %2, i64 2
%18 = load i8, i8* %17
%19 = getelementptr inbounds i8, i8* %2, i64 5
%20 = add nsw i32 %3, -5
%21 = call i32 @dump_to_body_test(i8* %14, i8 zeroext %18, i8* %19, i32 %20, i32 %5, i8 signext %6)
br label %82
22: ; preds = %7
%23 = getelementptr inbounds i8, i8* %2, i64 2
%24 = load i8, i8* %23
%25 = getelementptr inbounds i8, i8* %2, i64 5
%26 = add nsw i32 %3, -5
%27 = call i32 @dump_contact_body_test(i8* %14, i8 zeroext %24, i8* %25, i32 %26, i32 %5, i8 signext %6, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
br label %82
28: ; preds = %7, %7
%29 = getelementptr inbounds i8, i8* %2, i64 2
%30 = load i8, i8* %29
%31 = getelementptr inbounds i8, i8* %2, i64 5
%32 = add nsw i32 %3, -5
%33 = call i32 @dump_route_body_test(i8* %14, i8 zeroext %30, i8* %31, i32 %32, i32 %5, i8 signext %6, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
br label %82
34: ; preds = %7
%35 = getelementptr inbounds i8, i8* %2, i64 2
%36 = load i8, i8* %35
%37 = getelementptr inbounds i8, i8* %2, i64 5
%38 = add nsw i32 %3, -5
%39 = call i32 @dump_standard_hdr_test(i8* %14, i8 zeroext %36, i8* %37, i32 %38, i32 %5)
br label %82
40: ; preds = %7
%41 = getelementptr inbounds i8, i8* %2, i64 2
%42 = load i8, i8* %41
%43 = getelementptr inbounds i8, i8* %2, i64 5
%44 = add nsw i32 %3, -5
%45 = call i32 @dump_via_body_test(i8* %14, i8 zeroext %42, i8* %43, i32 %44, i32 %5, i8 signext %6)
br label %82
46: ; preds = %7
%47 = getelementptr inbounds i8, i8* %2, i64 2
%48 = load i8, i8* %47
%49 = getelementptr inbounds i8, i8* %2, i64 5
%50 = add nsw i32 %3, -5
%51 = call i32 @dump_standard_hdr_test(i8* %14, i8 zeroext %48, i8* %49, i32 %50, i32 %5)
br label %82
52: ; preds = %7
%53 = getelementptr inbounds i8, i8* %2, i64 2
%54 = load i8, i8* %53
%55 = getelementptr inbounds i8, i8* %2, i64 5
%56 = add nsw i32 %3, -5
%57 = call i32 @dump_standard_hdr_test(i8* %14, i8 zeroext %54, i8* %55, i32 %56, i32 %5)
br label %82
58: ; preds = %7
%59 = getelementptr inbounds i8, i8* %2, i64 2
%60 = load i8, i8* %59
%61 = getelementptr inbounds i8, i8* %2, i64 5
%62 = add nsw i32 %3, -5
%63 = call i32 @dump_standard_hdr_test(i8* %14, i8 zeroext %60, i8* %61, i32 %62, i32 %5)
br label %82
64: ; preds = %7
%65 = getelementptr inbounds i8, i8* %2, i64 2
%66 = load i8, i8* %65
%67 = getelementptr inbounds i8, i8* %2, i64 5
%68 = add nsw i32 %3, -5
%69 = call i32 @dump_standard_hdr_test(i8* %14, i8 zeroext %66, i8* %67, i32 %68, i32 %5)
br label %82
70: ; preds = %7
%71 = getelementptr inbounds i8, i8* %2, i64 2
%72 = load i8, i8* %71
%73 = getelementptr inbounds i8, i8* %2, i64 5
%74 = add nsw i32 %3, -5
%75 = call i32 @dump_standard_hdr_test(i8* %14, i8 zeroext %72, i8* %73, i32 %74, i32 %5)
br label %82
76: ; preds = %7, %7, %7
%77 = getelementptr inbounds i8, i8* %2, i64 2
%78 = load i8, i8* %77
%79 = getelementptr inbounds i8, i8* %2, i64 5
%80 = add nsw i32 %3, -5
%81 = call i32 @dump_standard_hdr_test(i8* %14, i8 zeroext %78, i8* %79, i32 %80, i32 %5)
br label %82
82: ; preds = %16, %22, %28, %34, %40, %46, %52, %58, %64, %70, %76, %7
ret i32 1
}