#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 */
typedef int uint8_t;
typedef int uint32_t;

/* Variables and functions */
int getbe(int *, int /*<<< orphan*/ *, int);
int /*<<< orphan*/ memcpy(int *, int *, int);
int /*<<< orphan*/ memset(int *, int /*<<< orphan*/, int);
int /*<<< orphan*/ putbe(int *, int, int);
uint32_t ventrilo3_hdr_udp(uint32_t type, uint8_t *buff, uint8_t *pck) {
  uint8_t c;
  memset(buff, 0, 0x200);
  switch (type - 1) {
  case 0:
    c = 0xb4;
    break;
  case 1:
    c = 0x70;
    break;
  case 2:
    c = 0x24;
    break;
  case 3:
    c = 0xb8;
    break;
  case 4:
    c = 0x74;
    break;
  case 5:
    c = 0x5c;
    break;
  case 6:
    c = 0xd0;
    break;
  case 7:
    c = 0x08;
    break;
  case 8:
    c = 0x50;
    break;
  default:
    c = 0;
    break;
  }
  c += 0x10;
  putbe(buff + 8, type, 16);
  putbe(buff + 10, c, 16);
  buff[4] = 'U';
  buff[5] = 'D';
  buff[6] = 'C';
  buff[7] = 'L';
  buff[0xc] = 1;
  putbe(buff + 0x10, 0xb401, 32);
  putbe(buff + 0x14, getbe(pck + 0x14, NULL, 32), 32);
  putbe(buff + 0x18, getbe(pck + 0x18, NULL, 32), 32);
  putbe(buff + 0x1c, getbe(pck + 0x1c, NULL, 32), 32);
  putbe(buff + 0x20, getbe(pck + 0x20, NULL, 32), 32);
  putbe(buff + 0x24, getbe(pck + 0x28, NULL, 32), 32);
  buff[0x28] = pck[0x30];
  buff[0x29] = 0;
  buff[0x2a] = 0;
  buff[0x2b] = 0;
  putbe(buff + 0x2c, getbe(pck + 0x24, NULL, 16), 16);
  putbe(buff + 0x2e, 0, 16);
  putbe(buff + 0x30, getbe(pck + 0x14, NULL, 16), 16);
  memcpy(buff + 0x34, pck + 0x38, 16);
  memcpy(buff + 0x44, pck + 0x88, 32);
  buff[0x63] = 0;
  memcpy(buff + 0x64, pck + 0xa8, 32);
  buff[0x83] = 0;
  return (132);
}


x86 assembly (clang, -O0):
<ventrilo3_hdr_udp>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    -0x10(%rbp),%rdi
xor    %esi,%esi
mov    $0x200,%edx
call   1040 <memset@plt>
mov    -0x4(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,%ecx
mov    %rcx,-0x28(%rbp)
sub    $0x8,%eax
ja     11f8 <ventrilo3_hdr_udp+0xb8>
mov    -0x28(%rbp),%rax
lea    0xe7d(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
movl   $0xb4,-0x1c(%rbp)
jmp    11ff <ventrilo3_hdr_udp+0xbf>
movl   $0x70,-0x1c(%rbp)
jmp    11ff <ventrilo3_hdr_udp+0xbf>
movl   $0x24,-0x1c(%rbp)
jmp    11ff <ventrilo3_hdr_udp+0xbf>
movl   $0xb8,-0x1c(%rbp)
jmp    11ff <ventrilo3_hdr_udp+0xbf>
movl   $0x74,-0x1c(%rbp)
jmp    11ff <ventrilo3_hdr_udp+0xbf>
movl   $0x5c,-0x1c(%rbp)
jmp    11ff <ventrilo3_hdr_udp+0xbf>
movl   $0xd0,-0x1c(%rbp)
jmp    11ff <ventrilo3_hdr_udp+0xbf>
movl   $0x8,-0x1c(%rbp)
jmp    11ff <ventrilo3_hdr_udp+0xbf>
movl   $0x50,-0x1c(%rbp)
jmp    11ff <ventrilo3_hdr_udp+0xbf>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
add    $0x10,%eax
mov    %eax,-0x1c(%rbp)
mov    -0x10(%rbp),%rdi
add    $0x20,%rdi
mov    -0x4(%rbp),%esi
mov    $0x10,%edx
call   1030 <putbe@plt>
mov    -0x10(%rbp),%rdi
add    $0x28,%rdi
mov    -0x1c(%rbp),%esi
mov    $0x10,%edx
call   1030 <putbe@plt>
mov    -0x10(%rbp),%rax
movl   $0x55,0x10(%rax)
mov    -0x10(%rbp),%rax
movl   $0x44,0x14(%rax)
mov    -0x10(%rbp),%rax
movl   $0x43,0x18(%rax)
mov    -0x10(%rbp),%rax
movl   $0x4c,0x1c(%rax)
mov    -0x10(%rbp),%rax
movl   $0x1,0x30(%rax)
mov    -0x10(%rbp),%rdi
add    $0x40,%rdi
mov    $0xb401,%esi
mov    $0x20,%edx
call   1030 <putbe@plt>
mov    -0x10(%rbp),%rax
add    $0x50,%rax
mov    %rax,-0x60(%rbp)
mov    -0x18(%rbp),%rdi
add    $0x50,%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x20,%edx
call   1060 <getbe@plt>
mov    -0x60(%rbp),%rdi
mov    %eax,%esi
mov    $0x20,%edx
call   1030 <putbe@plt>
mov    -0x10(%rbp),%rax
add    $0x60,%rax
mov    %rax,-0x58(%rbp)
mov    -0x18(%rbp),%rdi
add    $0x60,%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x20,%edx
call   1060 <getbe@plt>
mov    -0x58(%rbp),%rdi
mov    %eax,%esi
mov    $0x20,%edx
call   1030 <putbe@plt>
mov    -0x10(%rbp),%rax
add    $0x70,%rax
mov    %rax,-0x50(%rbp)
mov    -0x18(%rbp),%rdi
add    $0x70,%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x20,%edx
call   1060 <getbe@plt>
mov    -0x50(%rbp),%rdi
mov    %eax,%esi
mov    $0x20,%edx
call   1030 <putbe@plt>
mov    -0x10(%rbp),%rax
add    $0x80,%rax
mov    %rax,-0x48(%rbp)
mov    -0x18(%rbp),%rdi
add    $0x80,%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x20,%edx
call   1060 <getbe@plt>
mov    -0x48(%rbp),%rdi
mov    %eax,%esi
mov    $0x20,%edx
call   1030 <putbe@plt>
mov    -0x10(%rbp),%rax
add    $0x90,%rax
mov    %rax,-0x40(%rbp)
mov    -0x18(%rbp),%rdi
add    $0xa0,%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x20,%edx
call   1060 <getbe@plt>
mov    -0x40(%rbp),%rdi
mov    %eax,%esi
mov    $0x20,%edx
call   1030 <putbe@plt>
mov    -0x18(%rbp),%rax
mov    0xc0(%rax),%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0xa0(%rax)
mov    -0x10(%rbp),%rax
movl   $0x0,0xa4(%rax)
mov    -0x10(%rbp),%rax
movl   $0x0,0xa8(%rax)
mov    -0x10(%rbp),%rax
movl   $0x0,0xac(%rax)
mov    -0x10(%rbp),%rax
add    $0xb0,%rax
mov    %rax,-0x38(%rbp)
mov    -0x18(%rbp),%rdi
add    $0x90,%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x10,%edx
call   1060 <getbe@plt>
mov    -0x38(%rbp),%rdi
mov    %eax,%esi
mov    $0x10,%edx
call   1030 <putbe@plt>
mov    -0x10(%rbp),%rdi
add    $0xb8,%rdi
xor    %esi,%esi
mov    $0x10,%edx
call   1030 <putbe@plt>
mov    -0x10(%rbp),%rax
add    $0xc0,%rax
mov    %rax,-0x30(%rbp)
mov    -0x18(%rbp),%rdi
add    $0x50,%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x10,%edx
call   1060 <getbe@plt>
mov    -0x30(%rbp),%rdi
mov    %eax,%esi
mov    $0x10,%edx
call   1030 <putbe@plt>
mov    -0x10(%rbp),%rdi
add    $0xd0,%rdi
mov    -0x18(%rbp),%rsi
add    $0xe0,%rsi
mov    $0x10,%edx
call   1050 <memcpy@plt>
mov    -0x10(%rbp),%rdi
add    $0x110,%rdi
mov    -0x18(%rbp),%rsi
add    $0x220,%rsi
mov    $0x20,%edx
call   1050 <memcpy@plt>
mov    -0x10(%rbp),%rax
movl   $0x0,0x18c(%rax)
mov    -0x10(%rbp),%rdi
add    $0x190,%rdi
mov    -0x18(%rbp),%rsi
add    $0x2a0,%rsi
mov    $0x20,%edx
call   1050 <memcpy@plt>
mov    -0x10(%rbp),%rax
movl   $0x0,0x20c(%rax)
mov    $0x84,%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ventrilo3_hdr_udp>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
mov    %rdx,%r14
mov    %rsi,%rbx
mov    %edi,%r15d
mov    %rsi,%rdi
xor    %esi,%esi
mov    $0x200,%edx
call   1040 <memset@plt>
lea    -0x1(%r15),%eax
mov    $0x10,%ebp
cmp    $0x8,%eax
ja     1179 <ventrilo3_hdr_udp+0x39>
cltq
lea    0xe9a(%rip),%rcx
mov    (%rcx,%rax,4),%ebp
lea    0x20(%rbx),%rdi
mov    %r15d,%esi
mov    $0x10,%edx
call   1030 <putbe@plt>
lea    0x28(%rbx),%rdi
mov    %ebp,%esi
mov    $0x10,%edx
call   1030 <putbe@plt>
movaps 0xe5f(%rip),%xmm0
movups %xmm0,0x10(%rbx)
movl   $0x1,0x30(%rbx)
lea    0x40(%rbx),%rdi
mov    $0xb401,%esi
mov    $0x20,%edx
call   1030 <putbe@plt>
lea    0x50(%rbx),%rbp
lea    0x50(%r14),%r15
mov    %r15,%rdi
xor    %esi,%esi
mov    $0x20,%edx
call   1060 <getbe@plt>
mov    %rbp,%rdi
mov    %eax,%esi
mov    $0x20,%edx
call   1030 <putbe@plt>
lea    0x60(%rbx),%rbp
lea    0x60(%r14),%rdi
xor    %esi,%esi
mov    $0x20,%edx
call   1060 <getbe@plt>
mov    %rbp,%rdi
mov    %eax,%esi
mov    $0x20,%edx
call   1030 <putbe@plt>
lea    0x70(%rbx),%rbp
lea    0x70(%r14),%rdi
xor    %esi,%esi
mov    $0x20,%edx
call   1060 <getbe@plt>
mov    %rbp,%rdi
mov    %eax,%esi
mov    $0x20,%edx
call   1030 <putbe@plt>
lea    0x80(%rbx),%rbp
lea    0x80(%r14),%rdi
xor    %esi,%esi
mov    $0x20,%edx
call   1060 <getbe@plt>
mov    %rbp,%rdi
mov    %eax,%esi
mov    $0x20,%edx
call   1030 <putbe@plt>
lea    0x90(%rbx),%rbp
lea    0xa0(%r14),%rdi
xor    %esi,%esi
mov    $0x20,%edx
call   1060 <getbe@plt>
mov    %rbp,%rdi
mov    %eax,%esi
mov    $0x20,%edx
call   1030 <putbe@plt>
mov    0xc0(%r14),%eax
mov    %eax,0xa0(%rbx)
movq   $0x0,0xa4(%rbx)
movl   $0x0,0xac(%rbx)
lea    0xb0(%rbx),%rbp
lea    0x90(%r14),%rdi
xor    %esi,%esi
mov    $0x10,%edx
call   1060 <getbe@plt>
mov    %rbp,%rdi
mov    %eax,%esi
mov    $0x10,%edx
call   1030 <putbe@plt>
lea    0xb8(%rbx),%rdi
xor    %esi,%esi
mov    $0x10,%edx
call   1030 <putbe@plt>
lea    0xc0(%rbx),%rbp
mov    %r15,%rdi
xor    %esi,%esi
mov    $0x10,%edx
call   1060 <getbe@plt>
mov    %rbp,%rdi
mov    %eax,%esi
mov    $0x10,%edx
call   1030 <putbe@plt>
lea    0xd0(%rbx),%rdi
lea    0xe0(%r14),%rsi
mov    $0x10,%edx
call   1050 <memcpy@plt>
lea    0x110(%rbx),%rdi
lea    0x220(%r14),%rsi
mov    $0x20,%edx
call   1050 <memcpy@plt>
movl   $0x0,0x18c(%rbx)
lea    0x190(%rbx),%rdi
add    $0x2a0,%r14
mov    %r14,%rsi
mov    $0x20,%edx
call   1050 <memcpy@plt>
movl   $0x0,0x20c(%rbx)
mov    $0x84,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define i32 @ventrilo3_hdr_udp(i32 %0, i32* %1, i32* %2) {
%4 = alloca i32
%5 = alloca i32*
%6 = alloca i32*
%7 = alloca i32
store i32 %0, i32* %4
store i32* %1, i32** %5
store i32* %2, i32** %6
%8 = load i32*, i32** %5
%9 = call i32 @memset(i32* %8, i32 0, i32 512)
%10 = load i32, i32* %4
%11 = sub nsw i32 %10, 1
switch i32 %11, label %21 [
i32 0, label %12
i32 1, label %13
i32 2, label %14
i32 3, label %15
i32 4, label %16
i32 5, label %17
i32 6, label %18
i32 7, label %19
i32 8, label %20
]
12: ; preds = %3
store i32 180, i32* %7
br label %22
13: ; preds = %3
store i32 112, i32* %7
br label %22
14: ; preds = %3
store i32 36, i32* %7
br label %22
15: ; preds = %3
store i32 184, i32* %7
br label %22
16: ; preds = %3
store i32 116, i32* %7
br label %22
17: ; preds = %3
store i32 92, i32* %7
br label %22
18: ; preds = %3
store i32 208, i32* %7
br label %22
19: ; preds = %3
store i32 8, i32* %7
br label %22
20: ; preds = %3
store i32 80, i32* %7
br label %22
21: ; preds = %3
store i32 0, i32* %7
br label %22
22: ; preds = %21, %20, %19, %18, %17, %16, %15, %14, %13, %12
%23 = load i32, i32* %7
%24 = add nsw i32 %23, 16
store i32 %24, i32* %7
%25 = load i32*, i32** %5
%26 = getelementptr inbounds i32, i32* %25, i64 8
%27 = load i32, i32* %4
%28 = call i32 @putbe(i32* %26, i32 %27, i32 16)
%29 = load i32*, i32** %5
%30 = getelementptr inbounds i32, i32* %29, i64 10
%31 = load i32, i32* %7
%32 = call i32 @putbe(i32* %30, i32 %31, i32 16)
%33 = load i32*, i32** %5
%34 = getelementptr inbounds i32, i32* %33, i64 4
store i32 85, i32* %34
%35 = load i32*, i32** %5
%36 = getelementptr inbounds i32, i32* %35, i64 5
store i32 68, i32* %36
%37 = load i32*, i32** %5
%38 = getelementptr inbounds i32, i32* %37, i64 6
store i32 67, i32* %38
%39 = load i32*, i32** %5
%40 = getelementptr inbounds i32, i32* %39, i64 7
store i32 76, i32* %40
%41 = load i32*, i32** %5
%42 = getelementptr inbounds i32, i32* %41, i64 12
store i32 1, i32* %42
%43 = load i32*, i32** %5
%44 = getelementptr inbounds i32, i32* %43, i64 16
%45 = call i32 @putbe(i32* %44, i32 46081, i32 32)
%46 = load i32*, i32** %5
%47 = getelementptr inbounds i32, i32* %46, i64 20
%48 = load i32*, i32** %6
%49 = getelementptr inbounds i32, i32* %48, i64 20
%50 = call i32 @getbe(i32* %49, i32* null, i32 32)
%51 = call i32 @putbe(i32* %47, i32 %50, i32 32)
%52 = load i32*, i32** %5
%53 = getelementptr inbounds i32, i32* %52, i64 24
%54 = load i32*, i32** %6
%55 = getelementptr inbounds i32, i32* %54, i64 24
%56 = call i32 @getbe(i32* %55, i32* null, i32 32)
%57 = call i32 @putbe(i32* %53, i32 %56, i32 32)
%58 = load i32*, i32** %5
%59 = getelementptr inbounds i32, i32* %58, i64 28
%60 = load i32*, i32** %6
%61 = getelementptr inbounds i32, i32* %60, i64 28
%62 = call i32 @getbe(i32* %61, i32* null, i32 32)
%63 = call i32 @putbe(i32* %59, i32 %62, i32 32)
%64 = load i32*, i32** %5
%65 = getelementptr inbounds i32, i32* %64, i64 32
%66 = load i32*, i32** %6
%67 = getelementptr inbounds i32, i32* %66, i64 32
%68 = call i32 @getbe(i32* %67, i32* null, i32 32)
%69 = call i32 @putbe(i32* %65, i32 %68, i32 32)
%70 = load i32*, i32** %5
%71 = getelementptr inbounds i32, i32* %70, i64 36
%72 = load i32*, i32** %6
%73 = getelementptr inbounds i32, i32* %72, i64 40
%74 = call i32 @getbe(i32* %73, i32* null, i32 32)
%75 = call i32 @putbe(i32* %71, i32 %74, i32 32)
%76 = load i32*, i32** %6
%77 = getelementptr inbounds i32, i32* %76, i64 48
%78 = load i32, i32* %77
%79 = load i32*, i32** %5
%80 = getelementptr inbounds i32, i32* %79, i64 40
store i32 %78, i32* %80
%81 = load i32*, i32** %5
%82 = getelementptr inbounds i32, i32* %81, i64 41
store i32 0, i32* %82
%83 = load i32*, i32** %5
%84 = getelementptr inbounds i32, i32* %83, i64 42
store i32 0, i32* %84
%85 = load i32*, i32** %5
%86 = getelementptr inbounds i32, i32* %85, i64 43
store i32 0, i32* %86
%87 = load i32*, i32** %5
%88 = getelementptr inbounds i32, i32* %87, i64 44
%89 = load i32*, i32** %6
%90 = getelementptr inbounds i32, i32* %89, i64 36
%91 = call i32 @getbe(i32* %90, i32* null, i32 16)
%92 = call i32 @putbe(i32* %88, i32 %91, i32 16)
%93 = load i32*, i32** %5
%94 = getelementptr inbounds i32, i32* %93, i64 46
%95 = call i32 @putbe(i32* %94, i32 0, i32 16)
%96 = load i32*, i32** %5
%97 = getelementptr inbounds i32, i32* %96, i64 48
%98 = load i32*, i32** %6
%99 = getelementptr inbounds i32, i32* %98, i64 20
%100 = call i32 @getbe(i32* %99, i32* null, i32 16)
%101 = call i32 @putbe(i32* %97, i32 %100, i32 16)
%102 = load i32*, i32** %5
%103 = getelementptr inbounds i32, i32* %102, i64 52
%104 = load i32*, i32** %6
%105 = getelementptr inbounds i32, i32* %104, i64 56
%106 = call i32 @memcpy(i32* %103, i32* %105, i32 16)
%107 = load i32*, i32** %5
%108 = getelementptr inbounds i32, i32* %107, i64 68
%109 = load i32*, i32** %6
%110 = getelementptr inbounds i32, i32* %109, i64 136
%111 = call i32 @memcpy(i32* %108, i32* %110, i32 32)
%112 = load i32*, i32** %5
%113 = getelementptr inbounds i32, i32* %112, i64 99
store i32 0, i32* %113
%114 = load i32*, i32** %5
%115 = getelementptr inbounds i32, i32* %114, i64 100
%116 = load i32*, i32** %6
%117 = getelementptr inbounds i32, i32* %116, i64 168
%118 = call i32 @memcpy(i32* %115, i32* %117, i32 32)
%119 = load i32*, i32** %5
%120 = getelementptr inbounds i32, i32* %119, i64 131
store i32 0, i32* %120
ret i32 132
}

LLVM IR (-O2):
@switch.table.ventrilo3_hdr_udp = [9 x i32] [i32 196, i32 128, i32 52, i32 200, i32 132, i32 108, i32 224, i32 24, i32 96]
define i32 @ventrilo3_hdr_udp(i32 %0, i32* %1, i32* %2) {
%4 = tail call i32 @memset(i32* %1, i32 0, i32 512)
%5 = add i32 %0, -1
%6 = icmp ult i32 %5, 9
br i1 %6, label %7, label %11
7: ; preds = %3
%8 = sext i32 %5 to i64
%9 = getelementptr inbounds [9 x i32], [9 x i32]* @switch.table.ventrilo3_hdr_udp, i64 0, i64 %8
%10 = load i32, i32* %9
br label %11
11: ; preds = %3, %7
%12 = phi i32 [ %10, %7 ], [ 16, %3 ]
%13 = getelementptr inbounds i32, i32* %1, i64 8
%14 = tail call i32 @putbe(i32* %13, i32 %0, i32 16)
%15 = getelementptr inbounds i32, i32* %1, i64 10
%16 = tail call i32 @putbe(i32* %15, i32 %12, i32 16)
%17 = getelementptr inbounds i32, i32* %1, i64 4
%18 = bitcast i32* %17 to <4 x i32>*
store <4 x i32> <i32 85, i32 68, i32 67, i32 76>, <4 x i32>* %18
%19 = getelementptr inbounds i32, i32* %1, i64 12
store i32 1, i32* %19
%20 = getelementptr inbounds i32, i32* %1, i64 16
%21 = tail call i32 @putbe(i32* %20, i32 46081, i32 32)
%22 = getelementptr inbounds i32, i32* %1, i64 20
%23 = getelementptr inbounds i32, i32* %2, i64 20
%24 = tail call i32 @getbe(i32* %23, i32* null, i32 32)
%25 = tail call i32 @putbe(i32* %22, i32 %24, i32 32)
%26 = getelementptr inbounds i32, i32* %1, i64 24
%27 = getelementptr inbounds i32, i32* %2, i64 24
%28 = tail call i32 @getbe(i32* %27, i32* null, i32 32)
%29 = tail call i32 @putbe(i32* %26, i32 %28, i32 32)
%30 = getelementptr inbounds i32, i32* %1, i64 28
%31 = getelementptr inbounds i32, i32* %2, i64 28
%32 = tail call i32 @getbe(i32* %31, i32* null, i32 32)
%33 = tail call i32 @putbe(i32* %30, i32 %32, i32 32)
%34 = getelementptr inbounds i32, i32* %1, i64 32
%35 = getelementptr inbounds i32, i32* %2, i64 32
%36 = tail call i32 @getbe(i32* %35, i32* null, i32 32)
%37 = tail call i32 @putbe(i32* %34, i32 %36, i32 32)
%38 = getelementptr inbounds i32, i32* %1, i64 36
%39 = getelementptr inbounds i32, i32* %2, i64 40
%40 = tail call i32 @getbe(i32* %39, i32* null, i32 32)
%41 = tail call i32 @putbe(i32* %38, i32 %40, i32 32)
%42 = getelementptr inbounds i32, i32* %2, i64 48
%43 = load i32, i32* %42
%44 = getelementptr inbounds i32, i32* %1, i64 40
store i32 %43, i32* %44
%45 = getelementptr inbounds i32, i32* %1, i64 41
store i32 0, i32* %45
%46 = getelementptr inbounds i32, i32* %1, i64 42
store i32 0, i32* %46
%47 = getelementptr inbounds i32, i32* %1, i64 43
store i32 0, i32* %47
%48 = getelementptr inbounds i32, i32* %1, i64 44
%49 = getelementptr inbounds i32, i32* %2, i64 36
%50 = tail call i32 @getbe(i32* %49, i32* null, i32 16)
%51 = tail call i32 @putbe(i32* %48, i32 %50, i32 16)
%52 = getelementptr inbounds i32, i32* %1, i64 46
%53 = tail call i32 @putbe(i32* %52, i32 0, i32 16)
%54 = getelementptr inbounds i32, i32* %1, i64 48
%55 = tail call i32 @getbe(i32* %23, i32* null, i32 16)
%56 = tail call i32 @putbe(i32* %54, i32 %55, i32 16)
%57 = getelementptr inbounds i32, i32* %1, i64 52
%58 = getelementptr inbounds i32, i32* %2, i64 56
%59 = tail call i32 @memcpy(i32* %57, i32* %58, i32 16)
%60 = getelementptr inbounds i32, i32* %1, i64 68
%61 = getelementptr inbounds i32, i32* %2, i64 136
%62 = tail call i32 @memcpy(i32* %60, i32* %61, i32 32)
%63 = getelementptr inbounds i32, i32* %1, i64 99
store i32 0, i32* %63
%64 = getelementptr inbounds i32, i32* %1, i64 100
%65 = getelementptr inbounds i32, i32* %2, i64 168
%66 = tail call i32 @memcpy(i32* %64, i32* %65, i32 32)
%67 = getelementptr inbounds i32, i32* %1, i64 131
store i32 0, i32* %67
ret i32 132
}