source_filename = "test"
target datalayout = "e-p:32:32-f64:32:64-f80:32-n8:16:32-S128"

@global_var_d0.1 = constant i32 -8189205

define i32 @function_0(i32 %arg1) local_unnamed_addr {
dec_label_pc_0:
  %eax.global-to-local = alloca i32, align 4
  %ebx.global-to-local = alloca i32, align 4
  %edi.global-to-local = alloca i32, align 4
  %edx.global-to-local = alloca i32, align 4
  %esi.global-to-local = alloca i32, align 4
  %v0_3 = load i32, i32* %eax.global-to-local, align 4
  %v0_4 = load i32, i32* %edx.global-to-local, align 4
  %v0_5 = load i32, i32* %ebx.global-to-local, align 4
  %v0_6 = load i32, i32* %esi.global-to-local, align 4
  %v0_7 = load i32, i32* %edi.global-to-local, align 4
  store i32 %arg1, i32* %esi.global-to-local, align 4
  %v1_b = add i32 %arg1, 48
  %v2_b = inttoptr i32 %v1_b to i32*
  %v3_b = load i32, i32* %v2_b, align 4
  store i32 %v3_b, i32* %edi.global-to-local, align 4
  %v1_e = add i32 %arg1, ptrtoint (i32* @global_var_d0.1 to i32)
  %v2_e = inttoptr i32 %v1_e to i32*
  %v3_e = load i32, i32* %v2_e, align 4
  %v4_e = add i32 %v3_e, 1
  store i32 %v4_e, i32* %v2_e, align 4
  %v0_14 = load i32, i32* %esi.global-to-local, align 4
  %v1_14 = add i32 %v0_14, ptrtoint (i32* @global_var_d0.1 to i32)
  %v2_14 = inttoptr i32 %v1_14 to i32*
  %v3_14 = load i32, i32* %v2_14, align 4
  store i32 %v3_14, i32* %eax.global-to-local, align 4
  %v1_1c = urem i32 %v3_14, 16
  store i32 %v1_1c, i32* %edx.global-to-local, align 4
  %v0_20 = load i32, i32* %edi.global-to-local, align 4
  %v1_20 = add i32 %v0_20, -12
  %v2_20 = inttoptr i32 %v1_20 to i32*
  %v3_20 = load i32, i32* %v2_20, align 4
  store i32 %v3_20, i32* %eax.global-to-local, align 4
  %v1_232 = add nsw i32 %v1_1c, -1
  store i32 %v1_232, i32* %edx.global-to-local, align 4
  %v7_275 = icmp sgt i32 %v1_232, 0
  br i1 %v7_275, label %dec_label_pc_29, label %dec_label_pc_2d

dec_label_pc_29:                                  ; preds = %dec_label_pc_0, %dec_label_pc_29
  %v1_238 = phi i32 [ %v1_23, %dec_label_pc_29 ], [ %v1_232, %dec_label_pc_0 ]
  %v0_297 = phi i32 [ %v2_29, %dec_label_pc_29 ], [ %v3_20, %dec_label_pc_0 ]
  %v2_29 = sdiv i32 %v0_297, 2
  %v1_23 = add i32 %v1_238, -1
  %v7_27 = icmp sgt i32 %v1_23, 0
  br i1 %v7_27, label %dec_label_pc_29, label %dec_label_pc_23.dec_label_pc_2d_crit_edge

dec_label_pc_23.dec_label_pc_2d_crit_edge:        ; preds = %dec_label_pc_29
  store i32 %v2_29, i32* %eax.global-to-local, align 4
  store i32 0, i32* %edx.global-to-local, align 4
  br label %dec_label_pc_2d

dec_label_pc_2d:                                  ; preds = %dec_label_pc_23.dec_label_pc_2d_crit_edge, %dec_label_pc_0
  %v0_29.lcssa = phi i32 [ %v2_29, %dec_label_pc_23.dec_label_pc_2d_crit_edge ], [ %v3_20, %dec_label_pc_0 ]
  %v1_2d = urem i32 %v0_29.lcssa, 2
  %v2_2d = icmp eq i32 %v1_2d, 0
  store i32 %v1_2d, i32* %eax.global-to-local, align 4
  %v1_30 = icmp eq i1 %v2_2d, false
  br i1 %v1_30, label %dec_label_pc_92, label %dec_label_pc_32

dec_label_pc_32:                                  ; preds = %dec_label_pc_2d
  %v1_32 = add i32 %v0_20, -16
  %v2_32 = inttoptr i32 %v1_32 to i32*
  %v3_32 = load i32, i32* %v2_32, align 4
  store i32 %v3_32, i32* %edi.global-to-local, align 4
  %v5_38 = icmp slt i32 %v3_32, 1
  br i1 %v5_38, label %dec_label_pc_3a, label %dec_label_pc_41

dec_label_pc_3a:                                  ; preds = %dec_label_pc_32
  store i32 1, i32* %edi.global-to-local, align 4
  br label %dec_label_pc_4b

dec_label_pc_41:                                  ; preds = %dec_label_pc_32
  %v7_44 = icmp sgt i32 %v3_32, 6
  br i1 %v7_44, label %dec_label_pc_46, label %dec_label_pc_4b

dec_label_pc_46:                                  ; preds = %dec_label_pc_41
  store i32 6, i32* %edi.global-to-local, align 4
  br label %dec_label_pc_4b

dec_label_pc_4b:                                  ; preds = %dec_label_pc_41, %dec_label_pc_46, %dec_label_pc_3a
  %v1_4b = phi i32 [ %v3_32, %dec_label_pc_41 ], [ 6, %dec_label_pc_46 ], [ 1, %dec_label_pc_3a ]
  %v2_4b = mul i32 %v1_4b, 4
  %v3_4b = add i32 %v0_14, 72
  %v4_4b = add i32 %v3_4b, %v2_4b
  store i32 %v4_4b, i32* %edi.global-to-local, align 4
  %v1_4f = inttoptr i32 %v4_4b to i32*
  %v2_4f = load i32, i32* %v1_4f, align 4
  %v10_4f = icmp slt i32 %v2_4f, 0
  %v2_52 = icmp eq i1 %v10_4f, false
  br i1 %v2_52, label %dec_label_pc_59, label %dec_label_pc_54

dec_label_pc_54:                                  ; preds = %dec_label_pc_4b
  %v1_54 = or i32 %v1_2d, -2147483648
  store i32 %v1_54, i32* %eax.global-to-local, align 4
  br label %dec_label_pc_59

dec_label_pc_59:                                  ; preds = %dec_label_pc_54, %dec_label_pc_4b
  %v0_59 = phi i32 [ %v1_54, %dec_label_pc_54 ], [ %v1_2d, %dec_label_pc_4b ]
  store i32 %v0_59, i32* %v1_4f, align 4
  %v0_5b = load i32, i32* %esi.global-to-local, align 4
  %v1_5b = add i32 %v0_5b, 48
  %v2_5b = inttoptr i32 %v1_5b to i32*
  %v3_5b = load i32, i32* %v2_5b, align 4
  store i32 %v3_5b, i32* %edi.global-to-local, align 4
  store i32 1, i32* %eax.global-to-local, align 4
  %v1_61 = add i32 %v3_5b, -20
  %v2_61 = inttoptr i32 %v1_61 to i32*
  %v3_61 = load i32, i32* %v2_61, align 4
  store i32 %v3_61, i32* %edi.global-to-local, align 4
  %v5_67 = icmp slt i32 %v3_61, 1
  br i1 %v5_67, label %dec_label_pc_69, label %dec_label_pc_70

dec_label_pc_69:                                  ; preds = %dec_label_pc_59
  store i32 1, i32* %edi.global-to-local, align 4
  br label %dec_label_pc_7a

dec_label_pc_70:                                  ; preds = %dec_label_pc_59
  %v7_73 = icmp sgt i32 %v3_61, 6
  br i1 %v7_73, label %dec_label_pc_75, label %dec_label_pc_7a

dec_label_pc_75:                                  ; preds = %dec_label_pc_70
  store i32 6, i32* %edi.global-to-local, align 4
  br label %dec_label_pc_7a

dec_label_pc_7a:                                  ; preds = %dec_label_pc_70, %dec_label_pc_75, %dec_label_pc_69
  %v1_7a = phi i32 [ %v3_61, %dec_label_pc_70 ], [ 6, %dec_label_pc_75 ], [ 1, %dec_label_pc_69 ]
  %v2_7a = mul i32 %v1_7a, 4
  %v3_7a = add i32 %v0_5b, 72
  %v4_7a = add i32 %v3_7a, %v2_7a
  store i32 %v4_7a, i32* %edi.global-to-local, align 4
  %v1_7e = inttoptr i32 %v4_7a to i32*
  %v2_7e = load i32, i32* %v1_7e, align 4
  %v10_7e = icmp slt i32 %v2_7e, 0
  %v2_81 = icmp eq i1 %v10_7e, false
  br i1 %v2_81, label %dec_label_pc_ea, label %dec_label_pc_83

dec_label_pc_83:                                  ; preds = %dec_label_pc_7a
  store i32 -2147483647, i32* %eax.global-to-local, align 4
  br label %dec_label_pc_ea

dec_label_pc_92:                                  ; preds = %dec_label_pc_2d
  store i32 0, i32* %eax.global-to-local, align 4
  %v1_94 = add i32 %v0_20, -20
  %v2_94 = inttoptr i32 %v1_94 to i32*
  %v3_94 = load i32, i32* %v2_94, align 4
  store i32 %v3_94, i32* %edi.global-to-local, align 4
  %v5_9a = icmp slt i32 %v3_94, 1
  br i1 %v5_9a, label %dec_label_pc_9c, label %dec_label_pc_a3

dec_label_pc_9c:                                  ; preds = %dec_label_pc_92
  store i32 1, i32* %edi.global-to-local, align 4
  br label %dec_label_pc_ad

dec_label_pc_a3:                                  ; preds = %dec_label_pc_92
  %v7_a6 = icmp sgt i32 %v3_94, 6
  br i1 %v7_a6, label %dec_label_pc_a8, label %dec_label_pc_ad

dec_label_pc_a8:                                  ; preds = %dec_label_pc_a3
  store i32 6, i32* %edi.global-to-local, align 4
  br label %dec_label_pc_ad

dec_label_pc_ad:                                  ; preds = %dec_label_pc_a3, %dec_label_pc_a8, %dec_label_pc_9c
  %v1_ad = phi i32 [ %v3_94, %dec_label_pc_a3 ], [ 6, %dec_label_pc_a8 ], [ 1, %dec_label_pc_9c ]
  %v2_ad = mul i32 %v1_ad, 4
  %v3_ad = add i32 %v0_14, 72
  %v4_ad = add i32 %v3_ad, %v2_ad
  store i32 %v4_ad, i32* %edi.global-to-local, align 4
  %v1_b1 = inttoptr i32 %v4_ad to i32*
  %v2_b1 = load i32, i32* %v1_b1, align 4
  %v10_b1 = icmp slt i32 %v2_b1, 0
  %v2_b4 = icmp eq i1 %v10_b1, false
  br i1 %v2_b4, label %dec_label_pc_bb, label %dec_label_pc_b6

dec_label_pc_b6:                                  ; preds = %dec_label_pc_ad
  store i32 -2147483648, i32* %eax.global-to-local, align 4
  br label %dec_label_pc_bb

dec_label_pc_bb:                                  ; preds = %dec_label_pc_b6, %dec_label_pc_ad
  %v0_bb = phi i32 [ -2147483648, %dec_label_pc_b6 ], [ 0, %dec_label_pc_ad ]
  store i32 %v0_bb, i32* %v1_b1, align 4
  %v0_bd = load i32, i32* %esi.global-to-local, align 4
  %v1_bd = add i32 %v0_bd, 48
  %v2_bd = inttoptr i32 %v1_bd to i32*
  %v3_bd = load i32, i32* %v2_bd, align 4
  store i32 %v3_bd, i32* %edi.global-to-local, align 4
  store i32 1, i32* %eax.global-to-local, align 4
  %v1_c3 = add i32 %v3_bd, -16
  %v2_c3 = inttoptr i32 %v1_c3 to i32*
  %v3_c3 = load i32, i32* %v2_c3, align 4
  store i32 %v3_c3, i32* %edi.global-to-local, align 4
  %v5_c9 = icmp slt i32 %v3_c3, 1
  br i1 %v5_c9, label %dec_label_pc_cb, label %dec_label_pc_d2

dec_label_pc_cb:                                  ; preds = %dec_label_pc_bb
  store i32 1, i32* %edi.global-to-local, align 4
  br label %dec_label_pc_dc

dec_label_pc_d2:                                  ; preds = %dec_label_pc_bb
  %v7_d5 = icmp sgt i32 %v3_c3, 6
  br i1 %v7_d5, label %dec_label_pc_d7, label %dec_label_pc_dc

dec_label_pc_d7:                                  ; preds = %dec_label_pc_d2
  store i32 6, i32* %edi.global-to-local, align 4
  br label %dec_label_pc_dc

dec_label_pc_dc:                                  ; preds = %dec_label_pc_d2, %dec_label_pc_d7, %dec_label_pc_cb
  %v1_dc = phi i32 [ %v3_c3, %dec_label_pc_d2 ], [ 6, %dec_label_pc_d7 ], [ 1, %dec_label_pc_cb ]
  %v2_dc = mul i32 %v1_dc, 4
  %v3_dc = add i32 %v0_bd, 72
  %v4_dc = add i32 %v3_dc, %v2_dc
  store i32 %v4_dc, i32* %edi.global-to-local, align 4
  %v1_e0 = inttoptr i32 %v4_dc to i32*
  %v2_e0 = load i32, i32* %v1_e0, align 4
  %v10_e0 = icmp slt i32 %v2_e0, 0
  %v2_e3 = icmp eq i1 %v10_e0, false
  br i1 %v2_e3, label %dec_label_pc_ea, label %dec_label_pc_e5

dec_label_pc_e5:                                  ; preds = %dec_label_pc_dc
  store i32 -2147483647, i32* %eax.global-to-local, align 4
  br label %dec_label_pc_ea

dec_label_pc_ea:                                  ; preds = %dec_label_pc_7a, %dec_label_pc_83, %dec_label_pc_e5, %dec_label_pc_dc
  %v2_ea.pre-phi = phi i32* [ %v1_7e, %dec_label_pc_7a ], [ %v1_7e, %dec_label_pc_83 ], [ %v1_e0, %dec_label_pc_e5 ], [ %v1_e0, %dec_label_pc_dc ]
  %v0_ea = phi i32 [ 1, %dec_label_pc_7a ], [ -2147483647, %dec_label_pc_83 ], [ -2147483647, %dec_label_pc_e5 ], [ 1, %dec_label_pc_dc ]
  store i32 %v0_ea, i32* %v2_ea.pre-phi, align 4
  store i32 %v0_7, i32* %edi.global-to-local, align 4
  store i32 %v0_6, i32* %esi.global-to-local, align 4
  store i32 %v0_5, i32* %ebx.global-to-local, align 4
  store i32 %v0_4, i32* %edx.global-to-local, align 4
  store i32 %v0_3, i32* %eax.global-to-local, align 4
  ret i32 %v0_3
}
