#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*/ Axle_Delete(int, int);
int /*<<< orphan*/ CarList_Change();
int /*<<< orphan*/ Car_GetCarAcceleration(int);
int Car_GetCarAxlesNum(int /*<<< orphan*/);
int /*<<< orphan*/ Car_GetCarAxlesSpace(int, int);
int /*<<< orphan*/ Car_GetCarAxlesType(int, int);
int Car_GetCarAxlesWeight(int, int);
int /*<<< orphan*/ Car_GetCarOverload(int);
int /*<<< orphan*/ Car_GetCarSpeed(int);
int /*<<< orphan*/ Car_Insert(int);
int /*<<< orphan*/ Car_SetCarAcceleration(int, int /*<<< orphan*/);
int /*<<< orphan*/ Car_SetCarAxlesSpace(int, int, int /*<<< orphan*/);
int /*<<< orphan*/ Car_SetCarAxlesType(int, int, int /*<<< orphan*/);
int /*<<< orphan*/ Car_SetCarAxlesWeight(int, int, int);
int /*<<< orphan*/ Car_SetCarOverload(int, int /*<<< orphan*/);
int /*<<< orphan*/ Car_SetCarSpeed(int, int /*<<< orphan*/);
int /*<<< orphan*/ Finishing();
void ModfiyCarAxlesByWeight(int cn, int InputWeight) {
  int i = 0, j = 0, k = 0, c = 0;
  int tempWeight = 0;
  int carnum = cn;
  c = Car_GetCarAxlesNum(0);
  for (i = 0; i < c; i++) {
    if (carnum == cn) {
      tempWeight += Car_GetCarAxlesWeight(cn, i);
    }
    if (tempWeight >= InputWeight && carnum == cn) {
      Car_SetCarAxlesWeight(
          cn, i, Car_GetCarAxlesWeight(cn, i) - (tempWeight - InputWeight));
      carnum = cn + 1;
      Car_Insert(carnum);
      Car_SetCarOverload(carnum, Car_GetCarOverload(cn));
      Car_SetCarSpeed(carnum, Car_GetCarSpeed(cn));
      if (tempWeight - InputWeight != 0) {
        Car_SetCarAcceleration(carnum, Car_GetCarAcceleration(cn));
        Car_SetCarAxlesWeight(carnum, j, tempWeight - InputWeight);
        Car_SetCarAxlesType(carnum, j, Car_GetCarAxlesType(cn, i));
        Car_SetCarAxlesSpace(carnum, j, Car_GetCarAxlesSpace(cn, i));
        j++;
      }
      k = i + 1;
    } else if (carnum == cn + 1) {
      Car_SetCarAxlesWeight(carnum, j, Car_GetCarAxlesWeight(cn, k));
      Car_SetCarAxlesType(carnum, j, Car_GetCarAxlesType(cn, k));
      Car_SetCarAxlesSpace(carnum, j, Car_GetCarAxlesSpace(cn, k));
      Axle_Delete(cn, k);
      j++;
    }
  }
  Finishing();
  CarList_Change();
}


x86 assembly (clang, -O0):
<ModfiyCarAxlesByWeight>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
movl   $0x0,-0xc(%rbp)
movl   $0x0,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
mov    -0x4(%rbp),%eax
mov    %eax,-0x20(%rbp)
xor    %edi,%edi
call   1030 <Car_GetCarAxlesNum@plt>
mov    %eax,-0x18(%rbp)
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    1446 <ModfiyCarAxlesByWeight+0x236>
mov    -0x20(%rbp),%eax
cmp    -0x4(%rbp),%eax
jne    1281 <ModfiyCarAxlesByWeight+0x71>
mov    -0x4(%rbp),%edi
mov    -0xc(%rbp),%esi
call   10b0 <Car_GetCarAxlesWeight@plt>
add    -0x1c(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x8(%rbp),%eax
jl     139d <ModfiyCarAxlesByWeight+0x18d>
mov    -0x20(%rbp),%eax
cmp    -0x4(%rbp),%eax
jne    139d <ModfiyCarAxlesByWeight+0x18d>
mov    -0x4(%rbp),%eax
mov    %eax,-0x30(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x2c(%rbp)
mov    -0x4(%rbp),%edi
mov    -0xc(%rbp),%esi
call   10b0 <Car_GetCarAxlesWeight@plt>
mov    -0x30(%rbp),%edi
mov    -0x2c(%rbp),%esi
mov    %eax,%edx
mov    -0x1c(%rbp),%eax
sub    -0x8(%rbp),%eax
sub    %eax,%edx
call   1110 <Car_SetCarAxlesWeight@plt>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%edi
call   10d0 <Car_Insert@plt>
mov    -0x20(%rbp),%eax
mov    %eax,-0x28(%rbp)
mov    -0x4(%rbp),%edi
call   1080 <Car_GetCarOverload@plt>
mov    -0x28(%rbp),%edi
mov    %eax,%esi
call   10e0 <Car_SetCarOverload@plt>
mov    -0x20(%rbp),%eax
mov    %eax,-0x24(%rbp)
mov    -0x4(%rbp),%edi
call   1040 <Car_GetCarSpeed@plt>
mov    -0x24(%rbp),%edi
mov    %eax,%esi
call   1090 <Car_SetCarSpeed@plt>
mov    -0x1c(%rbp),%eax
sub    -0x8(%rbp),%eax
cmp    $0x0,%eax
je     138f <ModfiyCarAxlesByWeight+0x17f>
mov    -0x20(%rbp),%eax
mov    %eax,-0x44(%rbp)
mov    -0x4(%rbp),%edi
call   10f0 <Car_GetCarAcceleration@plt>
mov    -0x44(%rbp),%edi
mov    %eax,%esi
call   1120 <Car_SetCarAcceleration@plt>
mov    -0x20(%rbp),%edi
mov    -0x10(%rbp),%esi
mov    -0x1c(%rbp),%edx
sub    -0x8(%rbp),%edx
call   1110 <Car_SetCarAxlesWeight@plt>
mov    -0x20(%rbp),%eax
mov    %eax,-0x40(%rbp)
mov    -0x10(%rbp),%eax
mov    %eax,-0x3c(%rbp)
mov    -0x4(%rbp),%edi
mov    -0xc(%rbp),%esi
call   1060 <Car_GetCarAxlesType@plt>
mov    -0x40(%rbp),%edi
mov    -0x3c(%rbp),%esi
mov    %eax,%edx
call   1070 <Car_SetCarAxlesType@plt>
mov    -0x20(%rbp),%eax
mov    %eax,-0x38(%rbp)
mov    -0x10(%rbp),%eax
mov    %eax,-0x34(%rbp)
mov    -0x4(%rbp),%edi
mov    -0xc(%rbp),%esi
call   10a0 <Car_GetCarAxlesSpace@plt>
mov    -0x38(%rbp),%edi
mov    -0x34(%rbp),%esi
mov    %eax,%edx
call   1130 <Car_SetCarAxlesSpace@plt>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1433 <ModfiyCarAxlesByWeight+0x223>
mov    -0x20(%rbp),%eax
mov    -0x4(%rbp),%ecx
add    $0x1,%ecx
cmp    %ecx,%eax
jne    142e <ModfiyCarAxlesByWeight+0x21e>
mov    -0x20(%rbp),%eax
mov    %eax,-0x5c(%rbp)
mov    -0x10(%rbp),%eax
mov    %eax,-0x58(%rbp)
mov    -0x4(%rbp),%edi
mov    -0x14(%rbp),%esi
call   10b0 <Car_GetCarAxlesWeight@plt>
mov    -0x5c(%rbp),%edi
mov    -0x58(%rbp),%esi
mov    %eax,%edx
call   1110 <Car_SetCarAxlesWeight@plt>
mov    -0x20(%rbp),%eax
mov    %eax,-0x54(%rbp)
mov    -0x10(%rbp),%eax
mov    %eax,-0x50(%rbp)
mov    -0x4(%rbp),%edi
mov    -0x14(%rbp),%esi
call   1060 <Car_GetCarAxlesType@plt>
mov    -0x54(%rbp),%edi
mov    -0x50(%rbp),%esi
mov    %eax,%edx
call   1070 <Car_SetCarAxlesType@plt>
mov    -0x20(%rbp),%eax
mov    %eax,-0x4c(%rbp)
mov    -0x10(%rbp),%eax
mov    %eax,-0x48(%rbp)
mov    -0x4(%rbp),%edi
mov    -0x14(%rbp),%esi
call   10a0 <Car_GetCarAxlesSpace@plt>
mov    -0x4c(%rbp),%edi
mov    -0x48(%rbp),%esi
mov    %eax,%edx
call   1130 <Car_SetCarAxlesSpace@plt>
mov    -0x4(%rbp),%edi
mov    -0x14(%rbp),%esi
call   1050 <Axle_Delete@plt>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    1433 <ModfiyCarAxlesByWeight+0x223>
jmp    1438 <ModfiyCarAxlesByWeight+0x228>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1258 <ModfiyCarAxlesByWeight+0x48>
mov    $0x0,%al
call   10c0 <Finishing@plt>
mov    $0x0,%al
call   1100 <CarList_Change@plt>
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ModfiyCarAxlesByWeight>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %esi,0x10(%rsp)
mov    %edi,%r15d
xor    %ebx,%ebx
xor    %edi,%edi
call   1030 <Car_GetCarAxlesNum@plt>
test   %eax,%eax
jle    13df <ModfiyCarAxlesByWeight+0x1cf>
mov    %eax,%r14d
lea    0x1(%r15),%eax
mov    %eax,0x8(%rsp)
mov    %r15d,%r12d
movl   $0x0,0xc(%rsp)
movl   $0x0,(%rsp)
xor    %ebp,%ebp
mov    %r14d,0x4(%rsp)
jmp    1280 <ModfiyCarAxlesByWeight+0x70>
nopl   0x0(%rax)
mov    0x4(%rsp),%r14d
mov    %r12d,%eax
lea    0x1(%rbp),%ecx
mov    %ecx,0xc(%rsp)
mov    %r13d,%r12d
add    $0x1,%ebp
mov    %eax,%ebx
cmp    %ebp,%r14d
je     13df <ModfiyCarAxlesByWeight+0x1cf>
cmp    %r15d,%r12d
jne    12b0 <ModfiyCarAxlesByWeight+0xa0>
mov    %r15d,%edi
mov    %ebp,%esi
call   10b0 <Car_GetCarAxlesWeight@plt>
add    %ebx,%eax
mov    %eax,%r14d
sub    0x10(%rsp),%r14d
jge    1330 <ModfiyCarAxlesByWeight+0x120>
mov    0x4(%rsp),%r14d
jmp    12b2 <ModfiyCarAxlesByWeight+0xa2>
cs nopw 0x0(%rax,%rax,1)
mov    %ebx,%eax
mov    0x8(%rsp),%r13d
cmp    %r13d,%r12d
jne    1272 <ModfiyCarAxlesByWeight+0x62>
mov    %r15d,%edi
mov    0xc(%rsp),%r12d
mov    %r12d,%esi
mov    %eax,0x14(%rsp)
call   10b0 <Car_GetCarAxlesWeight@plt>
mov    %r13d,%edi
mov    (%rsp),%ebx
mov    %ebx,%esi
mov    %eax,%edx
call   1110 <Car_SetCarAxlesWeight@plt>
mov    %r15d,%edi
mov    %r12d,%esi
call   1060 <Car_GetCarAxlesType@plt>
mov    %r13d,%edi
mov    %ebx,%esi
mov    %eax,%edx
call   1070 <Car_SetCarAxlesType@plt>
mov    %r15d,%edi
mov    %r12d,%esi
call   10a0 <Car_GetCarAxlesSpace@plt>
mov    %r13d,%edi
mov    %ebx,%esi
mov    %eax,%edx
call   1130 <Car_SetCarAxlesSpace@plt>
mov    %r15d,%edi
mov    %r12d,%esi
call   1050 <Axle_Delete@plt>
mov    0x14(%rsp),%eax
add    $0x1,%ebx
mov    %ebx,(%rsp)
jmp    126f <ModfiyCarAxlesByWeight+0x5f>
nopw   0x0(%rax,%rax,1)
mov    %eax,%r12d
mov    %r15d,%edi
mov    %ebp,%esi
call   10b0 <Car_GetCarAxlesWeight@plt>
sub    %r14d,%eax
mov    %r15d,%edi
mov    %ebp,%esi
mov    %eax,%edx
call   1110 <Car_SetCarAxlesWeight@plt>
mov    0x8(%rsp),%r13d
mov    %r13d,%edi
call   10d0 <Car_Insert@plt>
mov    %r15d,%edi
call   1080 <Car_GetCarOverload@plt>
mov    %r13d,%edi
mov    %eax,%esi
call   10e0 <Car_SetCarOverload@plt>
mov    %r15d,%edi
call   1040 <Car_GetCarSpeed@plt>
mov    %r13d,%edi
mov    %eax,%esi
call   1090 <Car_SetCarSpeed@plt>
test   %r14d,%r14d
je     1260 <ModfiyCarAxlesByWeight+0x50>
mov    %r15d,%edi
call   10f0 <Car_GetCarAcceleration@plt>
mov    %r13d,%edi
mov    %eax,%esi
call   1120 <Car_SetCarAcceleration@plt>
mov    %r13d,%edi
mov    (%rsp),%ebx
mov    %ebx,%esi
mov    %r14d,%edx
call   1110 <Car_SetCarAxlesWeight@plt>
mov    %r15d,%edi
mov    %ebp,%esi
call   1060 <Car_GetCarAxlesType@plt>
mov    %r13d,%edi
mov    %ebx,%esi
mov    %eax,%edx
call   1070 <Car_SetCarAxlesType@plt>
mov    %r15d,%edi
mov    %ebp,%esi
call   10a0 <Car_GetCarAxlesSpace@plt>
mov    %r13d,%edi
mov    %ebx,%esi
mov    %eax,%edx
call   1130 <Car_SetCarAxlesSpace@plt>
add    $0x1,%ebx
mov    %ebx,(%rsp)
jmp    1260 <ModfiyCarAxlesByWeight+0x50>
xor    %eax,%eax
call   10c0 <Finishing@plt>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1100 <CarList_Change@plt>

LLVM IR (-O0):
define void @ModfiyCarAxlesByWeight(i32 %0, i32 %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
store i32 %0, i32* %3
store i32 %1, i32* %4
store i32 0, i32* %5
store i32 0, i32* %6
store i32 0, i32* %7
store i32 0, i32* %8
store i32 0, i32* %9
%11 = load i32, i32* %3
store i32 %11, i32* %10
%12 = call i32 @Car_GetCarAxlesNum(i32 0)
store i32 %12, i32* %8
store i32 0, i32* %5
br label %13
13: ; preds = %121, %2
%14 = load i32, i32* %5
%15 = load i32, i32* %8
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %124
17: ; preds = %13
%18 = load i32, i32* %10
%19 = load i32, i32* %3
%20 = icmp eq i32 %18, %19
br i1 %20, label %21, label %27
21: ; preds = %17
%22 = load i32, i32* %3
%23 = load i32, i32* %5
%24 = call i32 @Car_GetCarAxlesWeight(i32 %22, i32 %23)
%25 = load i32, i32* %9
%26 = add nsw i32 %25, %24
store i32 %26, i32* %9
br label %27
27: ; preds = %21, %17
%28 = load i32, i32* %9
%29 = load i32, i32* %4
%30 = icmp sge i32 %28, %29
br i1 %30, label %31, label %90
31: ; preds = %27
%32 = load i32, i32* %10
%33 = load i32, i32* %3
%34 = icmp eq i32 %32, %33
br i1 %34, label %35, label %90
35: ; preds = %31
%36 = load i32, i32* %3
%37 = load i32, i32* %5
%38 = load i32, i32* %3
%39 = load i32, i32* %5
%40 = call i32 @Car_GetCarAxlesWeight(i32 %38, i32 %39)
%41 = load i32, i32* %9
%42 = load i32, i32* %4
%43 = sub nsw i32 %41, %42
%44 = sub nsw i32 %40, %43
%45 = call i32 @Car_SetCarAxlesWeight(i32 %36, i32 %37, i32 %44)
%46 = load i32, i32* %3
%47 = add nsw i32 %46, 1
store i32 %47, i32* %10
%48 = load i32, i32* %10
%49 = call i32 @Car_Insert(i32 %48)
%50 = load i32, i32* %10
%51 = load i32, i32* %3
%52 = call i32 @Car_GetCarOverload(i32 %51)
%53 = call i32 @Car_SetCarOverload(i32 %50, i32 %52)
%54 = load i32, i32* %10
%55 = load i32, i32* %3
%56 = call i32 @Car_GetCarSpeed(i32 %55)
%57 = call i32 @Car_SetCarSpeed(i32 %54, i32 %56)
%58 = load i32, i32* %9
%59 = load i32, i32* %4
%60 = sub nsw i32 %58, %59
%61 = icmp ne i32 %60, 0
br i1 %61, label %62, label %87
62: ; preds = %35
%63 = load i32, i32* %10
%64 = load i32, i32* %3
%65 = call i32 @Car_GetCarAcceleration(i32 %64)
%66 = call i32 @Car_SetCarAcceleration(i32 %63, i32 %65)
%67 = load i32, i32* %10
%68 = load i32, i32* %6
%69 = load i32, i32* %9
%70 = load i32, i32* %4
%71 = sub nsw i32 %69, %70
%72 = call i32 @Car_SetCarAxlesWeight(i32 %67, i32 %68, i32 %71)
%73 = load i32, i32* %10
%74 = load i32, i32* %6
%75 = load i32, i32* %3
%76 = load i32, i32* %5
%77 = call i32 @Car_GetCarAxlesType(i32 %75, i32 %76)
%78 = call i32 @Car_SetCarAxlesType(i32 %73, i32 %74, i32 %77)
%79 = load i32, i32* %10
%80 = load i32, i32* %6
%81 = load i32, i32* %3
%82 = load i32, i32* %5
%83 = call i32 @Car_GetCarAxlesSpace(i32 %81, i32 %82)
%84 = call i32 @Car_SetCarAxlesSpace(i32 %79, i32 %80, i32 %83)
%85 = load i32, i32* %6
%86 = add nsw i32 %85, 1
store i32 %86, i32* %6
br label %87
87: ; preds = %62, %35
%88 = load i32, i32* %5
%89 = add nsw i32 %88, 1
store i32 %89, i32* %7
br label %120
90: ; preds = %31, %27
%91 = load i32, i32* %10
%92 = load i32, i32* %3
%93 = add nsw i32 %92, 1
%94 = icmp eq i32 %91, %93
br i1 %94, label %95, label %119
95: ; preds = %90
%96 = load i32, i32* %10
%97 = load i32, i32* %6
%98 = load i32, i32* %3
%99 = load i32, i32* %7
%100 = call i32 @Car_GetCarAxlesWeight(i32 %98, i32 %99)
%101 = call i32 @Car_SetCarAxlesWeight(i32 %96, i32 %97, i32 %100)
%102 = load i32, i32* %10
%103 = load i32, i32* %6
%104 = load i32, i32* %3
%105 = load i32, i32* %7
%106 = call i32 @Car_GetCarAxlesType(i32 %104, i32 %105)
%107 = call i32 @Car_SetCarAxlesType(i32 %102, i32 %103, i32 %106)
%108 = load i32, i32* %10
%109 = load i32, i32* %6
%110 = load i32, i32* %3
%111 = load i32, i32* %7
%112 = call i32 @Car_GetCarAxlesSpace(i32 %110, i32 %111)
%113 = call i32 @Car_SetCarAxlesSpace(i32 %108, i32 %109, i32 %112)
%114 = load i32, i32* %3
%115 = load i32, i32* %7
%116 = call i32 @Axle_Delete(i32 %114, i32 %115)
%117 = load i32, i32* %6
%118 = add nsw i32 %117, 1
store i32 %118, i32* %6
br label %119
119: ; preds = %95, %90
br label %120
120: ; preds = %119, %87
br label %121
121: ; preds = %120
%122 = load i32, i32* %5
%123 = add nsw i32 %122, 1
store i32 %123, i32* %5
br label %13
124: ; preds = %13
%125 = call i32 (...) @Finishing()
%126 = call i32 (...) @CarList_Change()
ret void
}

LLVM IR (-O2):
define void @ModfiyCarAxlesByWeight(i32 %0, i32 %1) {
%3 = tail call i32 @Car_GetCarAxlesNum(i32 0)
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %60
5: ; preds = %2
%6 = add nsw i32 %0, 1
br label %7
7: ; preds = %5, %53
%8 = phi i32 [ %0, %5 ], [ %57, %53 ]
%9 = phi i32 [ 0, %5 ], [ %54, %53 ]
%10 = phi i32 [ 0, %5 ], [ %56, %53 ]
%11 = phi i32 [ 0, %5 ], [ %55, %53 ]
%12 = phi i32 [ 0, %5 ], [ %58, %53 ]
%13 = icmp eq i32 %8, %0
br i1 %13, label %14, label %41
14: ; preds = %7
%15 = tail call i32 @Car_GetCarAxlesWeight(i32 %0, i32 %12)
%16 = add nsw i32 %15, %9
%17 = icmp slt i32 %16, %1
br i1 %17, label %41, label %18
18: ; preds = %14
%19 = tail call i32 @Car_GetCarAxlesWeight(i32 %0, i32 %12)
%20 = sub nsw i32 %16, %1
%21 = sub nsw i32 %19, %20
%22 = tail call i32 @Car_SetCarAxlesWeight(i32 %0, i32 %12, i32 %21)
%23 = tail call i32 @Car_Insert(i32 %6)
%24 = tail call i32 @Car_GetCarOverload(i32 %0)
%25 = tail call i32 @Car_SetCarOverload(i32 %6, i32 %24)
%26 = tail call i32 @Car_GetCarSpeed(i32 %0)
%27 = tail call i32 @Car_SetCarSpeed(i32 %6, i32 %26)
%28 = icmp eq i32 %20, 0
br i1 %28, label %38, label %29
29: ; preds = %18
%30 = tail call i32 @Car_GetCarAcceleration(i32 %0)
%31 = tail call i32 @Car_SetCarAcceleration(i32 %6, i32 %30)
%32 = tail call i32 @Car_SetCarAxlesWeight(i32 %6, i32 %11, i32 %20)
%33 = tail call i32 @Car_GetCarAxlesType(i32 %0, i32 %12)
%34 = tail call i32 @Car_SetCarAxlesType(i32 %6, i32 %11, i32 %33)
%35 = tail call i32 @Car_GetCarAxlesSpace(i32 %0, i32 %12)
%36 = tail call i32 @Car_SetCarAxlesSpace(i32 %6, i32 %11, i32 %35)
%37 = add nsw i32 %11, 1
br label %38
38: ; preds = %29, %18
%39 = phi i32 [ %37, %29 ], [ %11, %18 ]
%40 = add nuw nsw i32 %12, 1
br label %53
41: ; preds = %7, %14
%42 = phi i32 [ %16, %14 ], [ %9, %7 ]
%43 = icmp eq i32 %8, %6
br i1 %43, label %44, label %53
44: ; preds = %41
%45 = tail call i32 @Car_GetCarAxlesWeight(i32 %0, i32 %10)
%46 = tail call i32 @Car_SetCarAxlesWeight(i32 %6, i32 %11, i32 %45)
%47 = tail call i32 @Car_GetCarAxlesType(i32 %0, i32 %10)
%48 = tail call i32 @Car_SetCarAxlesType(i32 %6, i32 %11, i32 %47)
%49 = tail call i32 @Car_GetCarAxlesSpace(i32 %0, i32 %10)
%50 = tail call i32 @Car_SetCarAxlesSpace(i32 %6, i32 %11, i32 %49)
%51 = tail call i32 @Axle_Delete(i32 %0, i32 %10)
%52 = add nsw i32 %11, 1
br label %53
53: ; preds = %38, %44, %41
%54 = phi i32 [ %16, %38 ], [ %42, %44 ], [ %42, %41 ]
%55 = phi i32 [ %39, %38 ], [ %52, %44 ], [ %11, %41 ]
%56 = phi i32 [ %40, %38 ], [ %10, %44 ], [ %10, %41 ]
%57 = phi i32 [ %6, %38 ], [ %6, %44 ], [ %8, %41 ]
%58 = add nuw nsw i32 %12, 1
%59 = icmp eq i32 %58, %3
br i1 %59, label %60, label %7
60: ; preds = %53, %2
%61 = tail call i32 (...) @Finishing()
%62 = tail call i32 (...) @CarList_Change()
ret void
}