#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*/ s_test_long_eq_(int, int, char *, char *, int);
void s_lib_test() {
  int i;
  i = ((5 > 20) ? 5 : ((10 < 20) ? 10 : 20));
  s_test_long_eq_(i, 10, "SET_IN_RANGE:1",
                  "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                  "outputs/2022-01-22/02-19-57/repos/kujirahand/sakuramml-c/"
                  "refs/heads/master/src/k_test.c",
                  9);
  i = ((5 > 3) ? 5 : ((10 < 3) ? 10 : 3));
  s_test_long_eq_(i, 5, "SET_IN_RANGE:2",
                  "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                  "outputs/2022-01-22/02-19-57/repos/kujirahand/sakuramml-c/"
                  "refs/heads/master/src/k_test.c",
                  11);
  i = ((0 > 10) ? 0 : ((10 < 10) ? 10 : 10));
  s_test_long_eq_(i, 10, "SET_IN_RANGE:3",
                  "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                  "outputs/2022-01-22/02-19-57/repos/kujirahand/sakuramml-c/"
                  "refs/heads/master/src/k_test.c",
                  13);
}


x86 assembly (clang, -O0):
<s_lib_test>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0xa,-0x4(%rbp)
mov    -0x4(%rbp),%edi
mov    $0xa,%esi
lea    0xed2(%rip),%rdx
lea    0xeda(%rip),%rcx
mov    $0x9,%r8d
call   1030 <s_test_long_eq_@plt>
movl   $0x5,-0x4(%rbp)
mov    -0x4(%rbp),%edi
mov    $0x5,%esi
lea    0xf49(%rip),%rdx
lea    0xeb2(%rip),%rcx
mov    $0xb,%r8d
call   1030 <s_test_long_eq_@plt>
movl   $0xa,-0x4(%rbp)
mov    -0x4(%rbp),%edi
mov    $0xa,%esi
lea    0xf30(%rip),%rdx
lea    0xe8a(%rip),%rcx
mov    $0xd,%r8d
call   1030 <s_test_long_eq_@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<s_lib_test>:
push   %rbx
lea    0xee8(%rip),%rdx
lea    0xef0(%rip),%rbx
mov    $0xa,%edi
mov    $0xa,%esi
mov    %rbx,%rcx
mov    $0x9,%r8d
call   1030 <s_test_long_eq_@plt>
lea    0xf61(%rip),%rdx
mov    $0x5,%edi
mov    $0x5,%esi
mov    %rbx,%rcx
mov    $0xb,%r8d
call   1030 <s_test_long_eq_@plt>
lea    0xf51(%rip),%rdx
mov    $0xa,%edi
mov    $0xa,%esi
mov    %rbx,%rcx
mov    $0xd,%r8d
pop    %rbx
jmp    1030 <s_test_long_eq_@plt>

LLVM IR (-O0):
@.str = [15 x i8] c"SET_IN_RANGE:1\00"
@.str.1 = [144 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/kujirahand/sakuramml-c/refs/heads/master/src/k_test.c\00"
@.str.2 = [15 x i8] c"SET_IN_RANGE:2\00"
@.str.3 = [15 x i8] c"SET_IN_RANGE:3\00"
define void @s_lib_test() {
%1 = alloca i32
store i32 10, i32* %1
%2 = load i32, i32* %1
%3 = call i32 @s_test_long_eq_(i32 %2, i32 10, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([144 x i8], [144 x i8]* @.str.1, i64 0, i64 0), i32 9)
store i32 5, i32* %1
%4 = load i32, i32* %1
%5 = call i32 @s_test_long_eq_(i32 %4, i32 5, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([144 x i8], [144 x i8]* @.str.1, i64 0, i64 0), i32 11)
store i32 10, i32* %1
%6 = load i32, i32* %1
%7 = call i32 @s_test_long_eq_(i32 %6, i32 10, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([144 x i8], [144 x i8]* @.str.1, i64 0, i64 0), i32 13)
ret void
}

LLVM IR (-O2):
@.str = [15 x i8] c"SET_IN_RANGE:1\00"
@.str.1 = [144 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/kujirahand/sakuramml-c/refs/heads/master/src/k_test.c\00"
@.str.2 = [15 x i8] c"SET_IN_RANGE:2\00"
@.str.3 = [15 x i8] c"SET_IN_RANGE:3\00"
define void @s_lib_test() {
%1 = tail call i32 @s_test_long_eq_(i32 10, i32 10, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([144 x i8], [144 x i8]* @.str.1, i64 0, i64 0), i32 9)
%2 = tail call i32 @s_test_long_eq_(i32 5, i32 5, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([144 x i8], [144 x i8]* @.str.1, i64 0, i64 0), i32 11)
%3 = tail call i32 @s_test_long_eq_(i32 10, i32 10, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([144 x i8], [144 x i8]* @.str.1, i64 0, i64 0), i32 13)
ret void
}