#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*/ HECMW_vis_print_exit(char *);
int /*<<< orphan*/ sprintf(char *, char *, int);
scalar_t__ transform_hex(char);
int change_int_order(int n) {
  char c_buf[10], newc_buf[10], changed_buf[10], changed2_buf[10];
  int i, m, digit;
  sprintf(c_buf, "%x", n);
  m = 0;
  for (i = 0; i < 8; i++) {
    if (c_buf[i] == '\0')
      break;
    else
      m++;
  }
  if (m > 8)
    HECMW_vis_print_exit("there is something wrong for the unsigned short int");
  for (i = 0; i < 8 - m; i++)
    newc_buf[i] = '0';
  for (i = 0; i < m; i++)
    newc_buf[8 - m + i] = c_buf[i];
  newc_buf[8] = '\0';
  for (i = 0; i < 4; i++)
    changed_buf[i] = newc_buf[i + 4];
  for (i = 0; i < 4; i++)
    changed_buf[i + 4] = newc_buf[i];
  changed2_buf[0] = changed_buf[2];
  changed2_buf[1] = changed_buf[3];
  changed2_buf[2] = changed_buf[0];
  changed2_buf[3] = changed_buf[1];
  changed2_buf[4] = changed_buf[6];
  changed2_buf[5] = changed_buf[7];
  changed2_buf[6] = changed_buf[4];
  changed2_buf[7] = changed_buf[5];
  changed2_buf[8] = '\0';
  digit = 0;
  for (i = 0; i < 8; i++) {
    digit *= 16;
    digit += transform_hex(changed2_buf[i]);
  }
  return (digit);
}


x86 assembly (clang, -O0):
<change_int_order>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %edi,-0x4(%rbp)
lea    -0xe(%rbp),%rdi
mov    -0x4(%rbp),%edx
lea    0xeb7(%rip),%rsi
call   1040 <sprintf@plt>
movl   $0x0,-0x34(%rbp)
movl   $0x0,-0x30(%rbp)
cmpl   $0x8,-0x30(%rbp)
jge    1199 <change_int_order+0x69>
movslq -0x30(%rbp),%rax
movsbl -0xe(%rbp,%rax,1),%eax
cmp    $0x0,%eax
jne    117d <change_int_order+0x4d>
jmp    1199 <change_int_order+0x69>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    118b <change_int_order+0x5b>
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    115c <change_int_order+0x2c>
cmpl   $0x8,-0x34(%rbp)
jle    11af <change_int_order+0x7f>
lea    0xe59(%rip),%rdi
call   1030 <HECMW_vis_print_exit@plt>
movl   $0x0,-0x30(%rbp)
mov    -0x30(%rbp),%eax
mov    $0x8,%ecx
sub    -0x34(%rbp),%ecx
cmp    %ecx,%eax
jge    11e0 <change_int_order+0xb0>
movslq -0x30(%rbp),%rax
movb   $0x30,-0x18(%rbp,%rax,1)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    11b6 <change_int_order+0x86>
movl   $0x0,-0x30(%rbp)
mov    -0x30(%rbp),%eax
cmp    -0x34(%rbp),%eax
jge    121a <change_int_order+0xea>
movslq -0x30(%rbp),%rax
mov    -0xe(%rbp,%rax,1),%cl
mov    $0x8,%eax
sub    -0x34(%rbp),%eax
add    -0x30(%rbp),%eax
cltq
mov    %cl,-0x18(%rbp,%rax,1)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    11e7 <change_int_order+0xb7>
movb   $0x0,-0x10(%rbp)
movl   $0x0,-0x30(%rbp)
cmpl   $0x4,-0x30(%rbp)
jge    1251 <change_int_order+0x121>
mov    -0x30(%rbp),%eax
add    $0x4,%eax
cltq
mov    -0x18(%rbp,%rax,1),%cl
movslq -0x30(%rbp),%rax
mov    %cl,-0x22(%rbp,%rax,1)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    1225 <change_int_order+0xf5>
movl   $0x0,-0x30(%rbp)
cmpl   $0x4,-0x30(%rbp)
jge    1284 <change_int_order+0x154>
movslq -0x30(%rbp),%rax
mov    -0x18(%rbp,%rax,1),%cl
mov    -0x30(%rbp),%eax
add    $0x4,%eax
cltq
mov    %cl,-0x22(%rbp,%rax,1)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    1258 <change_int_order+0x128>
mov    -0x20(%rbp),%al
mov    %al,-0x2c(%rbp)
mov    -0x1f(%rbp),%al
mov    %al,-0x2b(%rbp)
mov    -0x22(%rbp),%al
mov    %al,-0x2a(%rbp)
mov    -0x21(%rbp),%al
mov    %al,-0x29(%rbp)
mov    -0x1c(%rbp),%al
mov    %al,-0x28(%rbp)
mov    -0x1b(%rbp),%al
mov    %al,-0x27(%rbp)
mov    -0x1e(%rbp),%al
mov    %al,-0x26(%rbp)
mov    -0x1d(%rbp),%al
mov    %al,-0x25(%rbp)
movb   $0x0,-0x24(%rbp)
movl   $0x0,-0x38(%rbp)
movl   $0x0,-0x30(%rbp)
cmpl   $0x8,-0x30(%rbp)
jge    1302 <change_int_order+0x1d2>
mov    -0x38(%rbp),%eax
shl    $0x4,%eax
mov    %eax,-0x38(%rbp)
movslq -0x30(%rbp),%rax
movsbl -0x2c(%rbp,%rax,1),%edi
call   1050 <transform_hex@plt>
mov    %rax,%rcx
movslq -0x38(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x38(%rbp)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    12c6 <change_int_order+0x196>
mov    -0x38(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<change_int_order>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %edi,%edx
lea    0xea9(%rip),%rsi
lea    0x12(%rsp),%rdi
call   1050 <sprintf@plt>
cmpb   $0x0,0x12(%rsp)
je     11a5 <change_int_order+0x65>
cmpb   $0x0,0x13(%rsp)
je     11b6 <change_int_order+0x76>
cmpb   $0x0,0x14(%rsp)
je     11bd <change_int_order+0x7d>
cmpb   $0x0,0x15(%rsp)
je     11c4 <change_int_order+0x84>
cmpb   $0x0,0x16(%rsp)
je     11cb <change_int_order+0x8b>
cmpb   $0x0,0x17(%rsp)
je     11d2 <change_int_order+0x92>
cmpb   $0x0,0x18(%rsp)
je     11d9 <change_int_order+0x99>
mov    $0x8,%ebx
cmpb   $0x0,0x19(%rsp)
jne    11f4 <change_int_order+0xb4>
mov    $0x7,%ebx
jmp    11de <change_int_order+0x9e>
movabs $0x3030303030303030,%rax
30 30 30
mov    %rax,0x8(%rsp)
jmp    120f <change_int_order+0xcf>
mov    $0x1,%ebx
jmp    11de <change_int_order+0x9e>
mov    $0x2,%ebx
jmp    11de <change_int_order+0x9e>
mov    $0x3,%ebx
jmp    11de <change_int_order+0x9e>
mov    $0x4,%ebx
jmp    11de <change_int_order+0x9e>
mov    $0x5,%ebx
jmp    11de <change_int_order+0x9e>
mov    $0x6,%ebx
mov    $0x8,%edx
sub    %ebx,%edx
lea    0x8(%rsp),%rdi
mov    $0x30,%esi
call   1030 <memset@plt>
mov    $0x8,%eax
sub    %ebx,%eax
lea    (%rsp,%rax,1),%rdi
add    $0x8,%rdi
mov    %ebx,%edx
lea    0x12(%rsp),%rsi
call   1040 <memcpy@plt>
movsbl 0xc(%rsp),%ebp
movsbl 0xd(%rsp),%r12d
movsbl 0xe(%rsp),%edi
movsbl 0xf(%rsp),%r14d
movsbl 0x8(%rsp),%eax
mov    %eax,0x20(%rsp)
movsbl 0x9(%rsp),%eax
mov    %eax,0x24(%rsp)
movsbl 0xa(%rsp),%r13d
movsbl 0xb(%rsp),%eax
mov    %eax,0x1c(%rsp)
call   1060 <transform_hex@plt>
mov    %rax,%r15
shl    $0x4,%r15d
mov    %r14d,%edi
call   1060 <transform_hex@plt>
mov    %rax,%rbx
add    %r15d,%ebx
shl    $0x4,%ebx
mov    %ebp,%edi
call   1060 <transform_hex@plt>
mov    %rax,%rbp
add    %ebx,%ebp
shl    $0x4,%ebp
mov    %r12d,%edi
call   1060 <transform_hex@plt>
mov    %rax,%rbx
add    %ebp,%ebx
shl    $0x4,%ebx
mov    %r13d,%edi
call   1060 <transform_hex@plt>
mov    %rax,%rbp
add    %ebx,%ebp
shl    $0x4,%ebp
mov    0x1c(%rsp),%edi
call   1060 <transform_hex@plt>
mov    %rax,%rbx
add    %ebp,%ebx
shl    $0x4,%ebx
mov    0x20(%rsp),%edi
call   1060 <transform_hex@plt>
mov    %rax,%rbp
add    %ebx,%ebp
shl    $0x4,%ebp
mov    0x24(%rsp),%edi
call   1060 <transform_hex@plt>
add    %ebp,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [3 x i8] c"%x\00"
@.str.1 = [52 x i8] c"there is something wrong for the unsigned short int\00"
define i32 @change_int_order(i32 %0) {
%2 = alloca i32
%3 = alloca [10 x i8]
%4 = alloca [10 x i8]
%5 = alloca [10 x i8]
%6 = alloca [10 x i8]
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
store i32 %0, i32* %2
%10 = getelementptr inbounds [10 x i8], [10 x i8]* %3, i64 0, i64 0
%11 = load i32, i32* %2
%12 = call i32 @sprintf(i8* %10, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %11)
store i32 0, i32* %8
store i32 0, i32* %7
br label %13
13: ; preds = %28, %1
%14 = load i32, i32* %7
%15 = icmp slt i32 %14, 8
br i1 %15, label %16, label %31
16: ; preds = %13
%17 = load i32, i32* %7
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [10 x i8], [10 x i8]* %3, i64 0, i64 %18
%20 = load i8, i8* %19
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %16
br label %31
24: ; preds = %16
%25 = load i32, i32* %8
%26 = add nsw i32 %25, 1
store i32 %26, i32* %8
br label %27
27: ; preds = %24
br label %28
28: ; preds = %27
%29 = load i32, i32* %7
%30 = add nsw i32 %29, 1
store i32 %30, i32* %7
br label %13
31: ; preds = %23, %13
%32 = load i32, i32* %8
%33 = icmp sgt i32 %32, 8
br i1 %33, label %34, label %36
34: ; preds = %31
%35 = call i32 @HECMW_vis_print_exit(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.1, i64 0, i64 0))
br label %36
36: ; preds = %34, %31
store i32 0, i32* %7
br label %37
37: ; preds = %46, %36
%38 = load i32, i32* %7
%39 = load i32, i32* %8
%40 = sub nsw i32 8, %39
%41 = icmp slt i32 %38, %40
br i1 %41, label %42, label %49
42: ; preds = %37
%43 = load i32, i32* %7
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [10 x i8], [10 x i8]* %4, i64 0, i64 %44
store i8 48, i8* %45
br label %46
46: ; preds = %42
%47 = load i32, i32* %7
%48 = add nsw i32 %47, 1
store i32 %48, i32* %7
br label %37
49: ; preds = %37
store i32 0, i32* %7
br label %50
50: ; preds = %65, %49
%51 = load i32, i32* %7
%52 = load i32, i32* %8
%53 = icmp slt i32 %51, %52
br i1 %53, label %54, label %68
54: ; preds = %50
%55 = load i32, i32* %7
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [10 x i8], [10 x i8]* %3, i64 0, i64 %56
%58 = load i8, i8* %57
%59 = load i32, i32* %8
%60 = sub nsw i32 8, %59
%61 = load i32, i32* %7
%62 = add nsw i32 %60, %61
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [10 x i8], [10 x i8]* %4, i64 0, i64 %63
store i8 %58, i8* %64
br label %65
65: ; preds = %54
%66 = load i32, i32* %7
%67 = add nsw i32 %66, 1
store i32 %67, i32* %7
br label %50
68: ; preds = %50
%69 = getelementptr inbounds [10 x i8], [10 x i8]* %4, i64 0, i64 8
store i8 0, i8* %69
store i32 0, i32* %7
br label %70
70: ; preds = %82, %68
%71 = load i32, i32* %7
%72 = icmp slt i32 %71, 4
br i1 %72, label %73, label %85
73: ; preds = %70
%74 = load i32, i32* %7
%75 = add nsw i32 %74, 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [10 x i8], [10 x i8]* %4, i64 0, i64 %76
%78 = load i8, i8* %77
%79 = load i32, i32* %7
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [10 x i8], [10 x i8]* %5, i64 0, i64 %80
store i8 %78, i8* %81
br label %82
82: ; preds = %73
%83 = load i32, i32* %7
%84 = add nsw i32 %83, 1
store i32 %84, i32* %7
br label %70
85: ; preds = %70
store i32 0, i32* %7
br label %86
86: ; preds = %98, %85
%87 = load i32, i32* %7
%88 = icmp slt i32 %87, 4
br i1 %88, label %89, label %101
89: ; preds = %86
%90 = load i32, i32* %7
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [10 x i8], [10 x i8]* %4, i64 0, i64 %91
%93 = load i8, i8* %92
%94 = load i32, i32* %7
%95 = add nsw i32 %94, 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds [10 x i8], [10 x i8]* %5, i64 0, i64 %96
store i8 %93, i8* %97
br label %98
98: ; preds = %89
%99 = load i32, i32* %7
%100 = add nsw i32 %99, 1
store i32 %100, i32* %7
br label %86
101: ; preds = %86
%102 = getelementptr inbounds [10 x i8], [10 x i8]* %5, i64 0, i64 2
%103 = load i8, i8* %102
%104 = getelementptr inbounds [10 x i8], [10 x i8]* %6, i64 0, i64 0
store i8 %103, i8* %104
%105 = getelementptr inbounds [10 x i8], [10 x i8]* %5, i64 0, i64 3
%106 = load i8, i8* %105
%107 = getelementptr inbounds [10 x i8], [10 x i8]* %6, i64 0, i64 1
store i8 %106, i8* %107
%108 = getelementptr inbounds [10 x i8], [10 x i8]* %5, i64 0, i64 0
%109 = load i8, i8* %108
%110 = getelementptr inbounds [10 x i8], [10 x i8]* %6, i64 0, i64 2
store i8 %109, i8* %110
%111 = getelementptr inbounds [10 x i8], [10 x i8]* %5, i64 0, i64 1
%112 = load i8, i8* %111
%113 = getelementptr inbounds [10 x i8], [10 x i8]* %6, i64 0, i64 3
store i8 %112, i8* %113
%114 = getelementptr inbounds [10 x i8], [10 x i8]* %5, i64 0, i64 6
%115 = load i8, i8* %114
%116 = getelementptr inbounds [10 x i8], [10 x i8]* %6, i64 0, i64 4
store i8 %115, i8* %116
%117 = getelementptr inbounds [10 x i8], [10 x i8]* %5, i64 0, i64 7
%118 = load i8, i8* %117
%119 = getelementptr inbounds [10 x i8], [10 x i8]* %6, i64 0, i64 5
store i8 %118, i8* %119
%120 = getelementptr inbounds [10 x i8], [10 x i8]* %5, i64 0, i64 4
%121 = load i8, i8* %120
%122 = getelementptr inbounds [10 x i8], [10 x i8]* %6, i64 0, i64 6
store i8 %121, i8* %122
%123 = getelementptr inbounds [10 x i8], [10 x i8]* %5, i64 0, i64 5
%124 = load i8, i8* %123
%125 = getelementptr inbounds [10 x i8], [10 x i8]* %6, i64 0, i64 7
store i8 %124, i8* %125
%126 = getelementptr inbounds [10 x i8], [10 x i8]* %6, i64 0, i64 8
store i8 0, i8* %126
store i32 0, i32* %9
store i32 0, i32* %7
br label %127
127: ; preds = %142, %101
%128 = load i32, i32* %7
%129 = icmp slt i32 %128, 8
br i1 %129, label %130, label %145
130: ; preds = %127
%131 = load i32, i32* %9
%132 = mul nsw i32 %131, 16
store i32 %132, i32* %9
%133 = load i32, i32* %7
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds [10 x i8], [10 x i8]* %6, i64 0, i64 %134
%136 = load i8, i8* %135
%137 = call i64 @transform_hex(i8 signext %136)
%138 = load i32, i32* %9
%139 = sext i32 %138 to i64
%140 = add nsw i64 %139, %137
%141 = trunc i64 %140 to i32
store i32 %141, i32* %9
br label %142
142: ; preds = %130
%143 = load i32, i32* %7
%144 = add nsw i32 %143, 1
store i32 %144, i32* %7
br label %127
145: ; preds = %127
%146 = load i32, i32* %9
ret i32 %146
}

LLVM IR (-O2):
@.str = [3 x i8] c"%x\00"
define i32 @change_int_order(i32 %0) {
%2 = alloca [10 x i8]
%3 = getelementptr inbounds [10 x i8], [10 x i8]* %2, i64 0, i64 0
%4 = alloca [10 x i8]
%5 = getelementptr inbounds [10 x i8], [10 x i8]* %4, i64 0, i64 0
%6 = getelementptr inbounds [10 x i8], [10 x i8]* %2, i64 0, i64 0
%7 = getelementptr inbounds [10 x i8], [10 x i8]* %4, i64 0, i64 0
%8 = call i32 @sprintf(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %0)
%9 = load i8, i8* %6
%10 = icmp eq i8 %9, 0
br i1 %10, label %43, label %11
11: ; preds = %1
%12 = getelementptr inbounds [10 x i8], [10 x i8]* %2, i64 0, i64 1
%13 = load i8, i8* %12
%14 = icmp eq i8 %13, 0
br i1 %14, label %39, label %15
15: ; preds = %11
%16 = getelementptr inbounds [10 x i8], [10 x i8]* %2, i64 0, i64 2
%17 = load i8, i8* %16
%18 = icmp eq i8 %17, 0
br i1 %18, label %39, label %19
19: ; preds = %15
%20 = getelementptr inbounds [10 x i8], [10 x i8]* %2, i64 0, i64 3
%21 = load i8, i8* %20
%22 = icmp eq i8 %21, 0
br i1 %22, label %39, label %23
23: ; preds = %19
%24 = getelementptr inbounds [10 x i8], [10 x i8]* %2, i64 0, i64 4
%25 = load i8, i8* %24
%26 = icmp eq i8 %25, 0
br i1 %26, label %39, label %27
27: ; preds = %23
%28 = getelementptr inbounds [10 x i8], [10 x i8]* %2, i64 0, i64 5
%29 = load i8, i8* %28
%30 = icmp eq i8 %29, 0
br i1 %30, label %39, label %31
31: ; preds = %27
%32 = getelementptr inbounds [10 x i8], [10 x i8]* %2, i64 0, i64 6
%33 = load i8, i8* %32
%34 = icmp eq i8 %33, 0
br i1 %34, label %39, label %35
35: ; preds = %31
%36 = getelementptr inbounds [10 x i8], [10 x i8]* %2, i64 0, i64 7
%37 = load i8, i8* %36
%38 = icmp eq i8 %37, 0
br i1 %38, label %39, label %45
39: ; preds = %11, %15, %19, %23, %27, %31, %35
%40 = phi i32 [ 7, %35 ], [ 6, %31 ], [ 5, %27 ], [ 4, %23 ], [ 3, %19 ], [ 2, %15 ], [ 1, %11 ]
%41 = sub nuw nsw i32 8, %40
%42 = zext i32 %41 to i64
br label %45
43: ; preds = %1
%44 = bitcast [10 x i8]* %4 to i64*
store i64 3472328296227680304, i64* %44
br label %51
45: ; preds = %35, %39
%46 = phi i32 [ %40, %39 ], [ 8, %35 ]
%47 = sub nuw nsw i32 8, %46
%48 = zext i32 %47 to i64
%49 = getelementptr [10 x i8], [10 x i8]* %4, i64 0, i64 %48
%50 = zext i32 %46 to i64
br label %51
51: ; preds = %43, %45
%52 = getelementptr inbounds [10 x i8], [10 x i8]* %4, i64 0, i64 4
%53 = load i8, i8* %52
%54 = getelementptr inbounds [10 x i8], [10 x i8]* %4, i64 0, i64 5
%55 = load i8, i8* %54
%56 = getelementptr inbounds [10 x i8], [10 x i8]* %4, i64 0, i64 6
%57 = load i8, i8* %56
%58 = getelementptr inbounds [10 x i8], [10 x i8]* %4, i64 0, i64 7
%59 = load i8, i8* %58
%60 = load i8, i8* %7
%61 = getelementptr inbounds [10 x i8], [10 x i8]* %4, i64 0, i64 1
%62 = load i8, i8* %61
%63 = getelementptr inbounds [10 x i8], [10 x i8]* %4, i64 0, i64 2
%64 = load i8, i8* %63
%65 = getelementptr inbounds [10 x i8], [10 x i8]* %4, i64 0, i64 3
%66 = load i8, i8* %65
%67 = tail call i64 @transform_hex(i8 signext %57)
%68 = trunc i64 %67 to i32
%69 = shl nsw i32 %68, 4
%70 = tail call i64 @transform_hex(i8 signext %59)
%71 = trunc i64 %70 to i32
%72 = add i32 %69, %71
%73 = shl nsw i32 %72, 4
%74 = tail call i64 @transform_hex(i8 signext %53)
%75 = trunc i64 %74 to i32
%76 = add i32 %73, %75
%77 = shl nsw i32 %76, 4
%78 = tail call i64 @transform_hex(i8 signext %55)
%79 = trunc i64 %78 to i32
%80 = add i32 %77, %79
%81 = shl nsw i32 %80, 4
%82 = tail call i64 @transform_hex(i8 signext %64)
%83 = trunc i64 %82 to i32
%84 = add i32 %81, %83
%85 = shl nsw i32 %84, 4
%86 = tail call i64 @transform_hex(i8 signext %66)
%87 = trunc i64 %86 to i32
%88 = add i32 %85, %87
%89 = shl nsw i32 %88, 4
%90 = tail call i64 @transform_hex(i8 signext %60)
%91 = trunc i64 %90 to i32
%92 = add i32 %89, %91
%93 = shl nsw i32 %92, 4
%94 = tail call i64 @transform_hex(i8 signext %62)
%95 = trunc i64 %94 to i32
%96 = add i32 %93, %95
ret i32 %96
}