#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 const *, char const *, char *,
                                        int);
scalar_t__ get_status_code_string(int);
void get_status_code_string_test(void **state) {
  _assert_string_equal(
      (const char *)(get_status_code_string(0)),
      (const char *)("Address not found"),
      "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
      "2022-01-22/02-19-57/repos/BellerophonMobile/xmp3/refs/heads/master/deps/"
      "cmockery/src/example/assert_macro_test.c",
      28);
  _assert_string_equal(
      (const char *)(get_status_code_string(1)),
      (const char *)("Connection timed out"),
      "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
      "2022-01-22/02-19-57/repos/BellerophonMobile/xmp3/refs/heads/master/deps/"
      "cmockery/src/example/assert_macro_test.c",
      29);
}


x86 assembly (clang, -O0):
<get_status_code_string_test>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
xor    %edi,%edi
call   1040 <get_status_code_string@plt>
mov    %rax,%rdi
lea    0xec3(%rip),%rsi
lea    0xece(%rip),%rdx
mov    $0x1c,%ecx
call   1030 <_assert_string_equal@plt>
mov    $0x1,%edi
call   1040 <get_status_code_string@plt>
mov    %rax,%rdi
lea    0xf61(%rip),%rsi
lea    0xea9(%rip),%rdx
mov    $0x1d,%ecx
call   1030 <_assert_string_equal@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<get_status_code_string_test>:
push   %rbx
xor    %edi,%edi
call   1040 <get_status_code_string@plt>
lea    0xed1(%rip),%rsi
lea    0xedc(%rip),%rbx
mov    %rax,%rdi
mov    %rbx,%rdx
mov    $0x1c,%ecx
call   1030 <_assert_string_equal@plt>
mov    $0x1,%edi
call   1040 <get_status_code_string@plt>
lea    0xf6c(%rip),%rsi
mov    %rax,%rdi
mov    %rbx,%rdx
mov    $0x1d,%ecx
pop    %rbx
jmp    1030 <_assert_string_equal@plt>

LLVM IR (-O0):
@.str = [18 x i8] c"Address not found\00"
@.str.1 = [177 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/BellerophonMobile/xmp3/refs/heads/master/deps/cmockery/src/example/assert_macro_test.c\00"
@.str.2 = [21 x i8] c"Connection timed out\00"
define void @get_status_code_string_test(i8** %0) {
%2 = alloca i8**
store i8** %0, i8*** %2
%3 = call i64 @get_status_code_string(i32 0)
%4 = inttoptr i64 %3 to i8*
%5 = call i32 @_assert_string_equal(i8* %4, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([177 x i8], [177 x i8]* @.str.1, i64 0, i64 0), i32 28)
%6 = call i64 @get_status_code_string(i32 1)
%7 = inttoptr i64 %6 to i8*
%8 = call i32 @_assert_string_equal(i8* %7, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([177 x i8], [177 x i8]* @.str.1, i64 0, i64 0), i32 29)
ret void
}

LLVM IR (-O2):
@.str = [18 x i8] c"Address not found\00"
@.str.1 = [177 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/BellerophonMobile/xmp3/refs/heads/master/deps/cmockery/src/example/assert_macro_test.c\00"
@.str.2 = [21 x i8] c"Connection timed out\00"
define void @get_status_code_string_test(i8** nocapture readnone %0) {
%2 = tail call i64 @get_status_code_string(i32 0)
%3 = inttoptr i64 %2 to i8*
%4 = tail call i32 @_assert_string_equal(i8* %3, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([177 x i8], [177 x i8]* @.str.1, i64 0, i64 0), i32 28)
%5 = tail call i64 @get_status_code_string(i32 1)
%6 = inttoptr i64 %5 to i8*
%7 = tail call i32 @_assert_string_equal(i8* %6, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([177 x i8], [177 x i8]* @.str.1, i64 0, i64 0), i32 29)
ret void
}