#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*/ _assert_string_equal(char *, int, char *, char *);
int /*<<< orphan*/ _assert_string_not_equal(char *, int, char *, char *);
void these_strings_should_match() {
  _assert_string_equal("/scratch/repos/new/home/jordi_armengol_estape/"
                       "c-scraper/outputs/2022-01-22/02-19-57/repos/jedediah/"
                       "gospel/refs/heads/master/cgreen/samples/sample.c",
                       26, "Hello", "Hello");
  _assert_string_not_equal(
      "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
      "2022-01-22/02-19-57/repos/jedediah/gospel/refs/heads/master/cgreen/"
      "samples/sample.c",
      27, "Hello", "Hello");
}


x86 assembly (clang, -O0):
<these_strings_should_match>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
mov    $0x1a,%esi
lea    0xf5d(%rip),%rcx
mov    %rcx,%rdx
call   1030 <_assert_string_equal@plt>
lea    0xeba(%rip),%rdi
mov    $0x1b,%esi
lea    0xf42(%rip),%rcx
mov    %rcx,%rdx
call   1040 <_assert_string_not_equal@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<these_strings_should_match>:
push   %r14
push   %rbx
push   %rax
lea    0xed5(%rip),%r14
lea    0xf62(%rip),%rbx
mov    %r14,%rdi
mov    $0x1a,%esi
mov    %rbx,%rdx
mov    %rbx,%rcx
call   1030 <_assert_string_equal@plt>
mov    %r14,%rdi
mov    $0x1b,%esi
mov    %rbx,%rdx
mov    %rbx,%rcx
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1040 <_assert_string_not_equal@plt>

LLVM IR (-O0):
@.str = [148 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/jedediah/gospel/refs/heads/master/cgreen/samples/sample.c\00"
@.str.1 = [6 x i8] c"Hello\00"
define void @these_strings_should_match() {
%1 = call i32 @_assert_string_equal(i8* getelementptr inbounds ([148 x i8], [148 x i8]* @.str, i64 0, i64 0), i32 26, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 @_assert_string_not_equal(i8* getelementptr inbounds ([148 x i8], [148 x i8]* @.str, i64 0, i64 0), i32 27, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [148 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/jedediah/gospel/refs/heads/master/cgreen/samples/sample.c\00"
@.str.1 = [6 x i8] c"Hello\00"
define void @these_strings_should_match() {
%1 = tail call i32 @_assert_string_equal(i8* getelementptr inbounds ([148 x i8], [148 x i8]* @.str, i64 0, i64 0), i32 26, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @_assert_string_not_equal(i8* getelementptr inbounds ([148 x i8], [148 x i8]* @.str, i64 0, i64 0), i32 27, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
ret void
}