#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*/ TEST_straight_segments_same_speed();
int /*<<< orphan*/ TEST_straight_segments_speed_change();
int /*<<< orphan*/ printf(char *, char *);
int main() {
  printf("RUN (%s)\n",
         "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
         "2022-01-22/02-19-57/repos/magister1318/beagleg/refs/heads/master/"
         "gcode-machine-control_test.c");
  TEST_straight_segments_same_speed();
  TEST_straight_segments_speed_change();
  printf("PASS (%s)\n",
         "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
         "2022-01-22/02-19-57/repos/magister1318/beagleg/refs/heads/master/"
         "gcode-machine-control_test.c");
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
lea    0xec5(%rip),%rdi
lea    0xec8(%rip),%rsi
call   1030 <printf@plt>
mov    $0x0,%al
call   1040 <TEST_straight_segments_same_speed@plt>
mov    $0x0,%al
call   1050 <TEST_straight_segments_speed_change@plt>
lea    0xf4c(%rip),%rdi
lea    0xea7(%rip),%rsi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
lea    0xec8(%rip),%rdi
lea    0xecb(%rip),%rbx
mov    %rbx,%rsi
call   1030 <printf@plt>
xor    %eax,%eax
call   1040 <TEST_straight_segments_same_speed@plt>
xor    %eax,%eax
call   1050 <TEST_straight_segments_speed_change@plt>
lea    0xf4c(%rip),%rdi
mov    %rbx,%rsi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [10 x i8] c"RUN (%s)\0A\00"
@.str.1 = [158 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/magister1318/beagleg/refs/heads/master/gcode-machine-control_test.c\00"
@.str.2 = [11 x i8] c"PASS (%s)\0A\00"
define i32 @main() {
%1 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([158 x i8], [158 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 (...) @TEST_straight_segments_same_speed()
%3 = call i32 (...) @TEST_straight_segments_speed_change()
%4 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([158 x i8], [158 x i8]* @.str.1, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [10 x i8] c"RUN (%s)\0A\00"
@.str.1 = [158 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/magister1318/beagleg/refs/heads/master/gcode-machine-control_test.c\00"
@.str.2 = [11 x i8] c"PASS (%s)\0A\00"
define i32 @main() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([158 x i8], [158 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 (...) @TEST_straight_segments_same_speed()
%3 = tail call i32 (...) @TEST_straight_segments_speed_change()
%4 = tail call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([158 x i8], [158 x i8]* @.str.1, i64 0, i64 0))
ret i32 0
}