#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 /*<<< orphan*/ var;

/* Variables and functions */
int atoi(char *);
int /*<<< orphan*/ trap_Cvar_VariableStringBuffer(char *, char *, int);
float UI_CalcWeight(void) {
  float weight = 0;
  float weapon_weight = 0;
  int primary;
  int secondary;
  int priammo;
  int secammo;
  int kevlar;
  int helmet;
  char var[1024];
  trap_Cvar_VariableStringBuffer("inven_helmet", var, sizeof(var));
  helmet = atoi(var);
  trap_Cvar_VariableStringBuffer("inven_kevlar", var, sizeof(var));
  kevlar = atoi(var);
  trap_Cvar_VariableStringBuffer("inven_primary", var, sizeof(var));
  primary = atoi(var);
  trap_Cvar_VariableStringBuffer("inven_secondary", var, sizeof(var));
  secondary = atoi(var);
  trap_Cvar_VariableStringBuffer("inven_ammo_primary", var, sizeof(var));
  priammo = atoi(var);
  trap_Cvar_VariableStringBuffer("inven_ammo_secondary", var, sizeof(var));
  secammo = atoi(var);
  switch (primary) {
  case 15:
    weapon_weight = 19;
    break;
  case 16:
    weapon_weight = 20;
    break;
  case 14:
    weapon_weight = 15;
    break;
  case 12:
    weapon_weight = 20;
    break;
  case 22:
    weapon_weight = 32;
    break;
  case 21:
    weapon_weight = 24;
    break;
  case 19:
    weapon_weight = 20;
    break;
  case 23:
    weapon_weight = 21;
    break;
  case 20:
    weapon_weight = 16;
    break;
  case 24:
    weapon_weight = 17;
    break;
  case 17:
    weapon_weight = 18;
    break;
  case 18:
    weapon_weight = 15;
    break;
  default:
    weapon_weight = 15;
    break;
  }
  weight += weapon_weight;
  switch (secondary) {
  case 11:
  case 10:
    weapon_weight = 9;
    break;
  case 8:
    weapon_weight = 7;
    break;
  case 6:
    weapon_weight = 6;
    break;
  case 7:
    weapon_weight = 6;
    break;
  case 9:
    weapon_weight = 5;
    break;
  default:
    weapon_weight = 6;
    break;
  }
  weight += weapon_weight;
  weight += (priammo + secammo) / 2;
  if (kevlar) {
    weight += 6.5;
  }
  if (helmet) {
    weight += 6;
  }
  if (weight > 200) {
    weight = 200;
  }
  return weight;
}


x86 assembly (clang, -O0):
<UI_CalcWeight>:
push   %rbp
mov    %rsp,%rbp
sub    $0x440,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x8(%rbp)
lea    0xf4c(%rip),%rdi
lea    -0x420(%rbp),%rsi
mov    %rsi,-0x430(%rbp)
mov    $0x400,%edx
mov    %edx,-0x434(%rbp)
call   1030 <trap_Cvar_VariableStringBuffer@plt>
mov    -0x430(%rbp),%rdi
call   1040 <atoi@plt>
mov    -0x434(%rbp),%edx
mov    -0x430(%rbp),%rsi
mov    %eax,-0x20(%rbp)
lea    0xf18(%rip),%rdi
call   1030 <trap_Cvar_VariableStringBuffer@plt>
mov    -0x430(%rbp),%rdi
call   1040 <atoi@plt>
mov    -0x434(%rbp),%edx
mov    -0x430(%rbp),%rsi
mov    %eax,-0x1c(%rbp)
lea    0xefd(%rip),%rdi
call   1030 <trap_Cvar_VariableStringBuffer@plt>
mov    -0x430(%rbp),%rdi
call   1040 <atoi@plt>
mov    -0x434(%rbp),%edx
mov    -0x430(%rbp),%rsi
mov    %eax,-0xc(%rbp)
lea    0xee3(%rip),%rdi
call   1030 <trap_Cvar_VariableStringBuffer@plt>
mov    -0x430(%rbp),%rdi
call   1040 <atoi@plt>
mov    -0x434(%rbp),%edx
mov    -0x430(%rbp),%rsi
mov    %eax,-0x10(%rbp)
lea    0xecb(%rip),%rdi
call   1030 <trap_Cvar_VariableStringBuffer@plt>
mov    -0x430(%rbp),%rdi
call   1040 <atoi@plt>
mov    -0x434(%rbp),%edx
mov    -0x430(%rbp),%rsi
mov    %eax,-0x14(%rbp)
lea    0xeb6(%rip),%rdi
call   1030 <trap_Cvar_VariableStringBuffer@plt>
mov    -0x430(%rbp),%rdi
call   1040 <atoi@plt>
mov    %eax,-0x18(%rbp)
mov    -0xc(%rbp),%eax
add    $0xfffffff4,%eax
mov    %eax,%ecx
mov    %rcx,-0x428(%rbp)
sub    $0xc,%eax
ja     133c <UI_CalcWeight+0x21c>
mov    -0x428(%rbp),%rax
lea    0xde5(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
movss  0xdb4(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
jmp    1349 <UI_CalcWeight+0x229>
movss  0xd96(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
jmp    1349 <UI_CalcWeight+0x229>
movss  0xd70(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
jmp    1349 <UI_CalcWeight+0x229>
movss  0xd72(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
jmp    1349 <UI_CalcWeight+0x229>
movss  0xd68(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
jmp    1349 <UI_CalcWeight+0x229>
movss  0xd52(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
jmp    1349 <UI_CalcWeight+0x229>
movss  0xd3c(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
jmp    1349 <UI_CalcWeight+0x229>
movss  0xd26(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
jmp    1349 <UI_CalcWeight+0x229>
movss  0xd10(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
jmp    1349 <UI_CalcWeight+0x229>
movss  0xcfa(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
jmp    1349 <UI_CalcWeight+0x229>
movss  0xce4(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
jmp    1349 <UI_CalcWeight+0x229>
movss  0xcce(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
jmp    1349 <UI_CalcWeight+0x229>
movss  0xcbc(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
movss  -0x8(%rbp),%xmm1
movss  -0x4(%rbp),%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x4(%rbp)
mov    -0x10(%rbp),%eax
add    $0xfffffffa,%eax
mov    %eax,%ecx
mov    %rcx,-0x440(%rbp)
sub    $0x5,%eax
ja     13e5 <UI_CalcWeight+0x2c5>
mov    -0x440(%rbp),%rax
lea    0xcf2(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
movss  0xc9d(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
jmp    13f2 <UI_CalcWeight+0x2d2>
movss  0xc87(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
jmp    13f2 <UI_CalcWeight+0x2d2>
movss  0xc71(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
jmp    13f2 <UI_CalcWeight+0x2d2>
movss  0xc5f(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
jmp    13f2 <UI_CalcWeight+0x2d2>
movss  0xc49(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
jmp    13f2 <UI_CalcWeight+0x2d2>
movss  0xc3b(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
movss  -0x8(%rbp),%xmm0
addss  -0x4(%rbp),%xmm0
movss  %xmm0,-0x4(%rbp)
mov    -0x14(%rbp),%eax
add    -0x18(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
cvtsi2ss %eax,%xmm0
addss  -0x4(%rbp),%xmm0
movss  %xmm0,-0x4(%rbp)
cmpl   $0x0,-0x1c(%rbp)
je     1445 <UI_CalcWeight+0x325>
movss  -0x4(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xc00(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x4(%rbp)
cmpl   $0x0,-0x20(%rbp)
je     1461 <UI_CalcWeight+0x341>
movss  0xbd1(%rip),%xmm0
addss  -0x4(%rbp),%xmm0
movss  %xmm0,-0x4(%rbp)
movss  -0x4(%rbp),%xmm0
movss  0xbc6(%rip),%xmm1
ucomiss %xmm1,%xmm0
jbe    1484 <UI_CalcWeight+0x364>
movss  0xbb5(%rip),%xmm0
movss  %xmm0,-0x4(%rbp)
movss  -0x4(%rbp),%xmm0
add    $0x440,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<UI_CalcWeight>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x408,%rsp
lea    0xed8(%rip),%rdi
mov    %rsp,%rbx
mov    %rbx,%rsi
mov    $0x400,%edx
call   1030 <trap_Cvar_VariableStringBuffer@plt>
mov    %rbx,%rdi
call   1040 <atoi@plt>
mov    %eax,%r14d
lea    0xec3(%rip),%rdi
mov    %rbx,%rsi
mov    $0x400,%edx
call   1030 <trap_Cvar_VariableStringBuffer@plt>
mov    %rbx,%rdi
call   1040 <atoi@plt>
mov    %eax,%r15d
lea    0xeb1(%rip),%rdi
mov    %rbx,%rsi
mov    $0x400,%edx
call   1030 <trap_Cvar_VariableStringBuffer@plt>
mov    %rbx,%rdi
call   1040 <atoi@plt>
mov    %eax,%ebp
lea    0xea1(%rip),%rdi
mov    %rbx,%rsi
mov    $0x400,%edx
call   1030 <trap_Cvar_VariableStringBuffer@plt>
mov    %rbx,%rdi
call   1040 <atoi@plt>
mov    %eax,%r13d
lea    0xe92(%rip),%rdi
mov    %rbx,%rsi
mov    $0x400,%edx
call   1030 <trap_Cvar_VariableStringBuffer@plt>
mov    %rbx,%rdi
call   1040 <atoi@plt>
mov    %eax,%r12d
lea    0xe86(%rip),%rdi
mov    %rbx,%rsi
mov    $0x400,%edx
call   1030 <trap_Cvar_VariableStringBuffer@plt>
mov    %rbx,%rdi
call   1040 <atoi@plt>
add    $0xfffffff4,%ebp
cmp    $0xc,%ebp
ja     1203 <UI_CalcWeight+0xe3>
movslq %ebp,%rcx
lea    0xe74(%rip),%rdx
movss  (%rdx,%rcx,4),%xmm0
jmp    120b <UI_CalcWeight+0xeb>
movss  0xdf5(%rip),%xmm0
add    $0xfffffffa,%r13d
cmp    $0x5,%r13d
ja     1226 <UI_CalcWeight+0x106>
movslq %r13d,%rcx
lea    0xe85(%rip),%rdx
movss  (%rdx,%rcx,4),%xmm2
jmp    122e <UI_CalcWeight+0x10e>
movss  0xdd6(%rip),%xmm2
add    %r12d,%eax
mov    %eax,%ecx
shr    $0x1f,%ecx
add    %eax,%ecx
sar    %ecx
cvtsi2ss %ecx,%xmm1
addss  %xmm2,%xmm0
addss  %xmm0,%xmm1
test   %r15d,%r15d
je     1253 <UI_CalcWeight+0x133>
addss  0xdb5(%rip),%xmm1
test   %r14d,%r14d
je     1260 <UI_CalcWeight+0x140>
addss  0xda4(%rip),%xmm1
movss  0xda4(%rip),%xmm0
minss  %xmm1,%xmm0
add    $0x408,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [13 x i8] c"inven_helmet\00"
@.str.1 = [13 x i8] c"inven_kevlar\00"
@.str.2 = [14 x i8] c"inven_primary\00"
@.str.3 = [16 x i8] c"inven_secondary\00"
@.str.4 = [19 x i8] c"inven_ammo_primary\00"
@.str.5 = [21 x i8] c"inven_ammo_secondary\00"
define float @UI_CalcWeight() {
%1 = alloca float
%2 = alloca float
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca [1024 x i8]
store float 0.000000e+00, float* %1
store float 0.000000e+00, float* %2
%10 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%11 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8* %10, i32 1024)
%12 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%13 = call i32 @atoi(i8* %12)
store i32 %13, i32* %8
%14 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%15 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8* %14, i32 1024)
%16 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%17 = call i32 @atoi(i8* %16)
store i32 %17, i32* %7
%18 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%19 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0), i8* %18, i32 1024)
%20 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%21 = call i32 @atoi(i8* %20)
store i32 %21, i32* %3
%22 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%23 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0), i8* %22, i32 1024)
%24 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%25 = call i32 @atoi(i8* %24)
store i32 %25, i32* %4
%26 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%27 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0), i8* %26, i32 1024)
%28 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%29 = call i32 @atoi(i8* %28)
store i32 %29, i32* %5
%30 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%31 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0), i8* %30, i32 1024)
%32 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%33 = call i32 @atoi(i8* %32)
store i32 %33, i32* %6
%34 = load i32, i32* %3
switch i32 %34, label %47 [
i32 15, label %35
i32 16, label %36
i32 14, label %37
i32 12, label %38
i32 22, label %39
i32 21, label %40
i32 19, label %41
i32 23, label %42
i32 20, label %43
i32 24, label %44
i32 17, label %45
i32 18, label %46
]
35: ; preds = %0
store float 1.900000e+01, float* %2
br label %48
36: ; preds = %0
store float 2.000000e+01, float* %2
br label %48
37: ; preds = %0
store float 1.500000e+01, float* %2
br label %48
38: ; preds = %0
store float 2.000000e+01, float* %2
br label %48
39: ; preds = %0
store float 3.200000e+01, float* %2
br label %48
40: ; preds = %0
store float 2.400000e+01, float* %2
br label %48
41: ; preds = %0
store float 2.000000e+01, float* %2
br label %48
42: ; preds = %0
store float 2.100000e+01, float* %2
br label %48
43: ; preds = %0
store float 1.600000e+01, float* %2
br label %48
44: ; preds = %0
store float 1.700000e+01, float* %2
br label %48
45: ; preds = %0
store float 1.800000e+01, float* %2
br label %48
46: ; preds = %0
store float 1.500000e+01, float* %2
br label %48
47: ; preds = %0
store float 1.500000e+01, float* %2
br label %48
48: ; preds = %47, %46, %45, %44, %43, %42, %41, %40, %39, %38, %37, %36, %35
%49 = load float, float* %2
%50 = load float, float* %1
%51 = fadd float %50, %49
store float %51, float* %1
%52 = load i32, i32* %4
switch i32 %52, label %58 [
i32 11, label %53
i32 10, label %53
i32 8, label %54
i32 6, label %55
i32 7, label %56
i32 9, label %57
]
53: ; preds = %48, %48
store float 9.000000e+00, float* %2
br label %59
54: ; preds = %48
store float 7.000000e+00, float* %2
br label %59
55: ; preds = %48
store float 6.000000e+00, float* %2
br label %59
56: ; preds = %48
store float 6.000000e+00, float* %2
br label %59
57: ; preds = %48
store float 5.000000e+00, float* %2
br label %59
58: ; preds = %48
store float 6.000000e+00, float* %2
br label %59
59: ; preds = %58, %57, %56, %55, %54, %53
%60 = load float, float* %2
%61 = load float, float* %1
%62 = fadd float %61, %60
store float %62, float* %1
%63 = load i32, i32* %5
%64 = load i32, i32* %6
%65 = add nsw i32 %63, %64
%66 = sdiv i32 %65, 2
%67 = sitofp i32 %66 to float
%68 = load float, float* %1
%69 = fadd float %68, %67
store float %69, float* %1
%70 = load i32, i32* %7
%71 = icmp ne i32 %70, 0
br i1 %71, label %72, label %77
72: ; preds = %59
%73 = load float, float* %1
%74 = fpext float %73 to double
%75 = fadd double %74, 6.500000e+00
%76 = fptrunc double %75 to float
store float %76, float* %1
br label %77
77: ; preds = %72, %59
%78 = load i32, i32* %8
%79 = icmp ne i32 %78, 0
br i1 %79, label %80, label %83
80: ; preds = %77
%81 = load float, float* %1
%82 = fadd float %81, 6.000000e+00
store float %82, float* %1
br label %83
83: ; preds = %80, %77
%84 = load float, float* %1
%85 = fcmp ogt float %84, 2.000000e+02
br i1 %85, label %86, label %87
86: ; preds = %83
store float 2.000000e+02, float* %1
br label %87
87: ; preds = %86, %83
%88 = load float, float* %1
ret float %88
}

LLVM IR (-O2):
@.str = [13 x i8] c"inven_helmet\00"
@.str.1 = [13 x i8] c"inven_kevlar\00"
@.str.2 = [14 x i8] c"inven_primary\00"
@.str.3 = [16 x i8] c"inven_secondary\00"
@.str.4 = [19 x i8] c"inven_ammo_primary\00"
@.str.5 = [21 x i8] c"inven_ammo_secondary\00"
@switch.table.UI_CalcWeight = [13 x float] [float 2.000000e+01, float 1.500000e+01, float 1.500000e+01, float 1.900000e+01, float 2.000000e+01, float 1.800000e+01, float 1.500000e+01, float 2.000000e+01, float 1.600000e+01, float 2.400000e+01, float 3.200000e+01, float 2.100000e+01, float 1.700000e+01]
@switch.table.UI_CalcWeight.6 = [6 x float] [float 6.000000e+00, float 6.000000e+00, float 7.000000e+00, float 5.000000e+00, float 9.000000e+00, float 9.000000e+00]
define float @UI_CalcWeight() {
%1 = alloca [1024 x i8]
%2 = getelementptr inbounds [1024 x i8], [1024 x i8]* %1, i64 0, i64 0
%3 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8* %2, i32 1024)
%4 = call i32 @atoi(i8* %2)
%5 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8* %2, i32 1024)
%6 = call i32 @atoi(i8* %2)
%7 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0), i8* %2, i32 1024)
%8 = call i32 @atoi(i8* %2)
%9 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0), i8* %2, i32 1024)
%10 = call i32 @atoi(i8* %2)
%11 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0), i8* %2, i32 1024)
%12 = call i32 @atoi(i8* %2)
%13 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0), i8* %2, i32 1024)
%14 = call i32 @atoi(i8* %2)
%15 = add i32 %8, -12
%16 = icmp ult i32 %15, 13
br i1 %16, label %17, label %21
17: ; preds = %0
%18 = sext i32 %15 to i64
%19 = getelementptr inbounds [13 x float], [13 x float]* @switch.table.UI_CalcWeight, i64 0, i64 %18
%20 = load float, float* %19
br label %21
21: ; preds = %0, %17
%22 = phi float [ %20, %17 ], [ 1.500000e+01, %0 ]
%23 = add i32 %10, -6
%24 = icmp ult i32 %23, 6
br i1 %24, label %25, label %29
25: ; preds = %21
%26 = sext i32 %23 to i64
%27 = getelementptr inbounds [6 x float], [6 x float]* @switch.table.UI_CalcWeight.6, i64 0, i64 %26
%28 = load float, float* %27
br label %29
29: ; preds = %21, %25
%30 = phi float [ %28, %25 ], [ 6.000000e+00, %21 ]
%31 = fadd float %22, %30
%32 = add nsw i32 %14, %12
%33 = sdiv i32 %32, 2
%34 = sitofp i32 %33 to float
%35 = fadd float %31, %34
%36 = icmp eq i32 %6, 0
%37 = fadd float %35, 6.500000e+00
%38 = select i1 %36, float %35, float %37
%39 = icmp eq i32 %4, 0
%40 = fadd float %38, 6.000000e+00
%41 = select i1 %39, float %38, float %40
%42 = fcmp ogt float %41, 2.000000e+02
%43 = select i1 %42, float 2.000000e+02, float %41
ret float %43
}