int test_ft_strcpy() {
  char *src;
  char dest[10];
  printf("%s\n", __func__ + 5);
  _it("should copy the string src to dst (including '\\0')");
  src = "";
  ft_strcpy(dest, src);
  do {
    _begin_assert();
    if (strcmp(dest, src)) {
      _fail_test();
      do {
        _color(31);
        printf("\nfailure in %s() line %d\n", __func__, 86);
        _color(0);
      } while (0);
      printf("expected \"%s\" to equal \"%s\"\n\n", (char *)dest, (char *)src);
      return 1;
    }
  } while (0);
  src = "abcdef";
  ft_strcpy(dest, src);
  do {
    _begin_assert();
    if (strcmp(dest, src)) {
      _fail_test();
      do {
        _color(31);
        printf("\nfailure in %s() line %d\n", __func__, 90);
        _color(0);
      } while (0);
      printf("expected \"%s\" to equal \"%s\"\n\n", (char *)dest, (char *)src);
      return 1;
    }
  } while (0);
  _it("should return dst");
  src = "";
  do {
    _begin_assert();
    if (dest != ft_strcpy(dest, src)) {
      _fail_test();
      do {
        _color(31);
        printf("\nfailure in %s() line %d\n", __func__, 95);
        _color(0);
      } while (0);
      printf("expected %p to equal %p\n\n", dest, ft_strcpy(dest, src));
      return 1;
    }
  } while (0);
  src = "abcdef";
  do {
    _begin_assert();
    if (dest != ft_strcpy(dest, src)) {
      _fail_test();
      do {
        _color(31);
        printf("\nfailure in %s() line %d\n", __func__, 98);
        _color(0);
      } while (0);
      printf("expected %p to equal %p\n\n", dest, ft_strcpy(dest, src));
      return 1;
    }
  } while (0);
  do {
    _close_pending();
    printf("\n");
    return (0);
  } while (0);
}


x86 assembly (clang, -O0):
<test_ft_strcpy>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
lea    0xe71(%rip),%rdi
lea    0xe6e(%rip),%rsi
add    $0x5,%rsi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0xe6b(%rip),%rdi
mov    $0x0,%al
call   1090 <_it@plt>
lea    0xec7(%rip),%rax
mov    %rax,-0x10(%rbp)
lea    -0x1a(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    $0x0,%al
call   1030 <ft_strcpy@plt>
mov    $0x0,%al
call   1040 <_begin_assert@plt>
lea    -0x1a(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
je     123e <test_ft_strcpy+0xbe>
mov    $0x0,%al
call   10a0 <_fail_test@plt>
mov    $0x1f,%edi
mov    $0x0,%al
call   1080 <_color@plt>
lea    0xe46(%rip),%rdi
lea    0xdfd(%rip),%rsi
mov    $0x56,%edx
mov    $0x0,%al
call   1060 <printf@plt>
xor    %edi,%edi
mov    $0x0,%al
call   1080 <_color@plt>
lea    -0x1a(%rbp),%rsi
mov    -0x10(%rbp),%rdx
lea    0xe35(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1460 <test_ft_strcpy+0x2e0>
jmp    1243 <test_ft_strcpy+0xc3>
lea    0xe34(%rip),%rax
mov    %rax,-0x10(%rbp)
lea    -0x1a(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    $0x0,%al
call   1030 <ft_strcpy@plt>
mov    $0x0,%al
call   1040 <_begin_assert@plt>
lea    -0x1a(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
je     12d2 <test_ft_strcpy+0x152>
mov    $0x0,%al
call   10a0 <_fail_test@plt>
mov    $0x1f,%edi
mov    $0x0,%al
call   1080 <_color@plt>
lea    0xdb2(%rip),%rdi
lea    0xd69(%rip),%rsi
mov    $0x5a,%edx
mov    $0x0,%al
call   1060 <printf@plt>
xor    %edi,%edi
mov    $0x0,%al
call   1080 <_color@plt>
lea    -0x1a(%rbp),%rsi
mov    -0x10(%rbp),%rdx
lea    0xda1(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1460 <test_ft_strcpy+0x2e0>
jmp    12d7 <test_ft_strcpy+0x157>
lea    0xda7(%rip),%rdi
mov    $0x0,%al
call   1090 <_it@plt>
lea    0xd91(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    $0x0,%al
call   1040 <_begin_assert@plt>
lea    -0x1a(%rbp),%rax
mov    %rax,-0x28(%rbp)
lea    -0x1a(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    $0x0,%al
call   1030 <ft_strcpy@plt>
mov    %eax,%ecx
mov    -0x28(%rbp),%rax
movslq %ecx,%rcx
cmp    %rcx,%rax
je     138d <test_ft_strcpy+0x20d>
mov    $0x0,%al
call   10a0 <_fail_test@plt>
mov    $0x1f,%edi
mov    $0x0,%al
call   1080 <_color@plt>
lea    0xd0c(%rip),%rdi
lea    0xcc3(%rip),%rsi
mov    $0x5f,%edx
mov    $0x0,%al
call   1060 <printf@plt>
xor    %edi,%edi
mov    $0x0,%al
call   1080 <_color@plt>
lea    -0x1a(%rbp),%rax
mov    %rax,-0x30(%rbp)
lea    -0x1a(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    $0x0,%al
call   1030 <ft_strcpy@plt>
mov    -0x30(%rbp),%rsi
mov    %eax,%edx
lea    0xd1d(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1460 <test_ft_strcpy+0x2e0>
jmp    1392 <test_ft_strcpy+0x212>
lea    0xce5(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    $0x0,%al
call   1040 <_begin_assert@plt>
lea    -0x1a(%rbp),%rax
mov    %rax,-0x38(%rbp)
lea    -0x1a(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    $0x0,%al
call   1030 <ft_strcpy@plt>
mov    %eax,%ecx
mov    -0x38(%rbp),%rax
movslq %ecx,%rcx
cmp    %rcx,%rax
je     143a <test_ft_strcpy+0x2ba>
mov    $0x0,%al
call   10a0 <_fail_test@plt>
mov    $0x1f,%edi
mov    $0x0,%al
call   1080 <_color@plt>
lea    0xc5f(%rip),%rdi
lea    0xc16(%rip),%rsi
mov    $0x62,%edx
mov    $0x0,%al
call   1060 <printf@plt>
xor    %edi,%edi
mov    $0x0,%al
call   1080 <_color@plt>
lea    -0x1a(%rbp),%rax
mov    %rax,-0x40(%rbp)
lea    -0x1a(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    $0x0,%al
call   1030 <ft_strcpy@plt>
mov    -0x40(%rbp),%rsi
mov    %eax,%edx
lea    0xc70(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1460 <test_ft_strcpy+0x2e0>
jmp    143f <test_ft_strcpy+0x2bf>
jmp    1444 <test_ft_strcpy+0x2c4>
mov    $0x0,%al
call   1050 <_close_pending@plt>
lea    0xc2a(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_ft_strcpy>:
push   %rbp
push   %rbx
sub    $0x18,%rsp
lea    0xe68(%rip),%rdi
call   1060 <puts@plt>
lea    0xe66(%rip),%rdi
xor    %eax,%eax
call   10a0 <_it@plt>
lea    0xec2(%rip),%rsi
lea    0xe(%rsp),%rdi
xor    %eax,%eax
call   1040 <ft_strcpy@plt>
xor    %eax,%eax
call   1050 <_begin_assert@plt>
cmpb   $0x0,0xe(%rsp)
je     1217 <test_ft_strcpy+0x87>
xor    %eax,%eax
call   10b0 <_fail_test@plt>
mov    $0x1f,%edi
xor    %eax,%eax
call   1090 <_color@plt>
lea    0xe57(%rip),%rdi
lea    0xe0e(%rip),%rsi
mov    $0x56,%edx
xor    %eax,%eax
call   1080 <printf@plt>
xor    %edi,%edi
xor    %eax,%eax
call   1090 <_color@plt>
lea    0xe4e(%rip),%rdi
lea    0xe64(%rip),%rdx
jmp    128e <test_ft_strcpy+0xfe>
lea    0xe5c(%rip),%rsi
lea    0xe(%rsp),%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <ft_strcpy@plt>
xor    %eax,%eax
call   1050 <_begin_assert@plt>
mov    $0x64636261,%eax
xor    0xe(%rsp),%eax
mov    $0x666564,%ecx
xor    0x11(%rsp),%ecx
or     %eax,%ecx
je     12a8 <test_ft_strcpy+0x118>
xor    %eax,%eax
call   10b0 <_fail_test@plt>
mov    $0x1f,%edi
xor    %eax,%eax
call   1090 <_color@plt>
lea    0xdde(%rip),%rdi
lea    0xd95(%rip),%rsi
mov    $0x5a,%edx
xor    %eax,%eax
call   1080 <printf@plt>
xor    %edi,%edi
xor    %eax,%eax
call   1090 <_color@plt>
lea    0xdd5(%rip),%rdi
lea    0xdec(%rip),%rdx
lea    0xe(%rsp),%rsi
xor    %eax,%eax
call   1080 <printf@plt>
mov    $0x1,%ebp
mov    %ebp,%eax
add    $0x18,%rsp
pop    %rbx
pop    %rbp
ret
lea    0xdd2(%rip),%rdi
xor    %eax,%eax
call   10a0 <_it@plt>
xor    %eax,%eax
call   1050 <_begin_assert@plt>
lea    0xdb5(%rip),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <ft_strcpy@plt>
cltq
cmp    %rax,%rbx
je     1314 <test_ft_strcpy+0x184>
xor    %eax,%eax
call   10b0 <_fail_test@plt>
mov    $0x1f,%edi
xor    %eax,%eax
call   1090 <_color@plt>
lea    0xd53(%rip),%rdi
lea    0xd0a(%rip),%rsi
mov    $0x5f,%edx
xor    %eax,%eax
call   1080 <printf@plt>
xor    %edi,%edi
xor    %eax,%eax
call   1090 <_color@plt>
lea    0xd67(%rip),%rsi
jmp    1372 <test_ft_strcpy+0x1e2>
xor    %ebp,%ebp
xor    %eax,%eax
call   1050 <_begin_assert@plt>
lea    0xd56(%rip),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <ft_strcpy@plt>
cltq
cmp    %rax,%rbx
je     1399 <test_ft_strcpy+0x209>
xor    %eax,%eax
call   10b0 <_fail_test@plt>
mov    $0x1f,%edi
xor    %eax,%eax
call   1090 <_color@plt>
lea    0xcf3(%rip),%rdi
lea    0xcaa(%rip),%rsi
mov    $0x62,%edx
xor    %eax,%eax
call   1080 <printf@plt>
xor    %edi,%edi
xor    %eax,%eax
call   1090 <_color@plt>
lea    0xd08(%rip),%rsi
lea    0xe(%rsp),%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <ft_strcpy@plt>
lea    0xd0b(%rip),%rdi
mov    %rbx,%rsi
mov    %eax,%edx
xor    %eax,%eax
call   1080 <printf@plt>
jmp    129a <test_ft_strcpy+0x10a>
xor    %eax,%eax
call   1070 <_close_pending@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
jmp    129f <test_ft_strcpy+0x10f>

LLVM IR (-O0):
@.str = [4 x i8] c"%s\0A\00"
@__func__.test_ft_strcpy = [15 x i8] c"test_ft_strcpy\00"
@.str.1 = [51 x i8] c"should copy the string src to dst (including '\\0')\00"
@.str.2 = [1 x i8] zeroinitializer
@.str.3 = [26 x i8] c"\0Afailure in %s() line %d\0A\00"
@.str.4 = [30 x i8] c"expected \22%s\22 to equal \22%s\22\0A\0A\00"
@.str.5 = [7 x i8] c"abcdef\00"
@.str.6 = [18 x i8] c"should return dst\00"
@.str.7 = [26 x i8] c"expected %p to equal %p\0A\0A\00"
@.str.8 = [2 x i8] c"\0A\00"
define i32 @test_ft_strcpy() {
%1 = alloca i32
%2 = alloca i8*
%3 = alloca [10 x i8]
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @__func__.test_ft_strcpy, i64 0, i64 5))
%5 = call i32 (i8*, ...) bitcast (i32 (...)* @_it to i32 (i8*, ...)*)(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.1, i64 0, i64 0))
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.2, i64 0, i64 0), i8** %2
%6 = getelementptr inbounds [10 x i8], [10 x i8]* %3, i64 0, i64 0
%7 = load i8*, i8** %2
%8 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @ft_strcpy to i32 (i8*, i8*, ...)*)(i8* %6, i8* %7)
br label %9
9: ; preds = %0
%10 = call i32 (...) @_begin_assert()
%11 = getelementptr inbounds [10 x i8], [10 x i8]* %3, i64 0, i64 0
%12 = load i8*, i8** %2
%13 = call i32 @strcmp(i8* %11, i8* %12)
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %25
15: ; preds = %9
%16 = call i32 (...) @_fail_test()
br label %17
17: ; preds = %15
%18 = call i32 (i32, ...) bitcast (i32 (...)* @_color to i32 (i32, ...)*)(i32 31)
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @__func__.test_ft_strcpy, i64 0, i64 0), i32 86)
%20 = call i32 (i32, ...) bitcast (i32 (...)* @_color to i32 (i32, ...)*)(i32 0)
br label %21
21: ; preds = %17
%22 = getelementptr inbounds [10 x i8], [10 x i8]* %3, i64 0, i64 0
%23 = load i8*, i8** %2
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0), i8* %22, i8* %23)
store i32 1, i32* %1
br label %98
25: ; preds = %9
br label %26
26: ; preds = %25
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), i8** %2
%27 = getelementptr inbounds [10 x i8], [10 x i8]* %3, i64 0, i64 0
%28 = load i8*, i8** %2
%29 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @ft_strcpy to i32 (i8*, i8*, ...)*)(i8* %27, i8* %28)
br label %30
30: ; preds = %26
%31 = call i32 (...) @_begin_assert()
%32 = getelementptr inbounds [10 x i8], [10 x i8]* %3, i64 0, i64 0
%33 = load i8*, i8** %2
%34 = call i32 @strcmp(i8* %32, i8* %33)
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %46
36: ; preds = %30
%37 = call i32 (...) @_fail_test()
br label %38
38: ; preds = %36
%39 = call i32 (i32, ...) bitcast (i32 (...)* @_color to i32 (i32, ...)*)(i32 31)
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @__func__.test_ft_strcpy, i64 0, i64 0), i32 90)
%41 = call i32 (i32, ...) bitcast (i32 (...)* @_color to i32 (i32, ...)*)(i32 0)
br label %42
42: ; preds = %38
%43 = getelementptr inbounds [10 x i8], [10 x i8]* %3, i64 0, i64 0
%44 = load i8*, i8** %2
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0), i8* %43, i8* %44)
store i32 1, i32* %1
br label %98
46: ; preds = %30
br label %47
47: ; preds = %46
%48 = call i32 (i8*, ...) bitcast (i32 (...)* @_it to i32 (i8*, ...)*)(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0))
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.2, i64 0, i64 0), i8** %2
br label %49
49: ; preds = %47
%50 = call i32 (...) @_begin_assert()
%51 = getelementptr inbounds [10 x i8], [10 x i8]* %3, i64 0, i64 0
%52 = getelementptr inbounds [10 x i8], [10 x i8]* %3, i64 0, i64 0
%53 = load i8*, i8** %2
%54 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @ft_strcpy to i32 (i8*, i8*, ...)*)(i8* %52, i8* %53)
%55 = sext i32 %54 to i64
%56 = inttoptr i64 %55 to i8*
%57 = icmp ne i8* %51, %56
br i1 %57, label %58, label %70
58: ; preds = %49
%59 = call i32 (...) @_fail_test()
br label %60
60: ; preds = %58
%61 = call i32 (i32, ...) bitcast (i32 (...)* @_color to i32 (i32, ...)*)(i32 31)
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @__func__.test_ft_strcpy, i64 0, i64 0), i32 95)
%63 = call i32 (i32, ...) bitcast (i32 (...)* @_color to i32 (i32, ...)*)(i32 0)
br label %64
64: ; preds = %60
%65 = getelementptr inbounds [10 x i8], [10 x i8]* %3, i64 0, i64 0
%66 = getelementptr inbounds [10 x i8], [10 x i8]* %3, i64 0, i64 0
%67 = load i8*, i8** %2
%68 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @ft_strcpy to i32 (i8*, i8*, ...)*)(i8* %66, i8* %67)
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.7, i64 0, i64 0), i8* %65, i32 %68)
store i32 1, i32* %1
br label %98
70: ; preds = %49
br label %71
71: ; preds = %70
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), i8** %2
br label %72
72: ; preds = %71
%73 = call i32 (...) @_begin_assert()
%74 = getelementptr inbounds [10 x i8], [10 x i8]* %3, i64 0, i64 0
%75 = getelementptr inbounds [10 x i8], [10 x i8]* %3, i64 0, i64 0
%76 = load i8*, i8** %2
%77 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @ft_strcpy to i32 (i8*, i8*, ...)*)(i8* %75, i8* %76)
%78 = sext i32 %77 to i64
%79 = inttoptr i64 %78 to i8*
%80 = icmp ne i8* %74, %79
br i1 %80, label %81, label %93
81: ; preds = %72
%82 = call i32 (...) @_fail_test()
br label %83
83: ; preds = %81
%84 = call i32 (i32, ...) bitcast (i32 (...)* @_color to i32 (i32, ...)*)(i32 31)
%85 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @__func__.test_ft_strcpy, i64 0, i64 0), i32 98)
%86 = call i32 (i32, ...) bitcast (i32 (...)* @_color to i32 (i32, ...)*)(i32 0)
br label %87
87: ; preds = %83
%88 = getelementptr inbounds [10 x i8], [10 x i8]* %3, i64 0, i64 0
%89 = getelementptr inbounds [10 x i8], [10 x i8]* %3, i64 0, i64 0
%90 = load i8*, i8** %2
%91 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @ft_strcpy to i32 (i8*, i8*, ...)*)(i8* %89, i8* %90)
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.7, i64 0, i64 0), i8* %88, i32 %91)
store i32 1, i32* %1
br label %98
93: ; preds = %72
br label %94
94: ; preds = %93
br label %95
95: ; preds = %94
%96 = call i32 (...) @_close_pending()
%97 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
store i32 0, i32* %1
br label %98
98: ; preds = %21, %42, %64, %87, %95
%99 = load i32, i32* %1
ret i32 %99
}

LLVM IR (-O2):
@__func__.test_ft_strcpy = [15 x i8] c"test_ft_strcpy\00"
@.str.1 = [51 x i8] c"should copy the string src to dst (including '\\0')\00"
@.str.2 = [1 x i8] zeroinitializer
@.str.3 = [26 x i8] c"\0Afailure in %s() line %d\0A\00"
@.str.4 = [30 x i8] c"expected \22%s\22 to equal \22%s\22\0A\0A\00"
@.str.5 = [7 x i8] c"abcdef\00"
@.str.6 = [18 x i8] c"should return dst\00"
@.str.7 = [26 x i8] c"expected %p to equal %p\0A\0A\00"
define i32 @test_ft_strcpy() {
%1 = alloca [10 x i8]
%2 = getelementptr inbounds [10 x i8], [10 x i8]* %1, i64 0, i64 0
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @__func__.test_ft_strcpy, i64 0, i64 5))
%4 = tail call i32 (i8*, ...) bitcast (i32 (...)* @_it to i32 (i8*, ...)*)(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.1, i64 0, i64 0))
%5 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @ft_strcpy to i32 (i8*, i8*, ...)*)(i8* %2, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.2, i64 0, i64 0))
%6 = call i32 (...) @_begin_assert()
%7 = load i8, i8* %2
%8 = icmp eq i8 %7, 0
br i1 %8, label %15, label %9
9: ; preds = %0
%10 = call i32 (...) @_fail_test()
%11 = call i32 (i32, ...) bitcast (i32 (...)* @_color to i32 (i32, ...)*)(i32 31)
%12 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @__func__.test_ft_strcpy, i64 0, i64 0), i32 86)
%13 = call i32 (i32, ...) bitcast (i32 (...)* @_color to i32 (i32, ...)*)(i32 0)
%14 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0), i8* %2, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.2, i64 0, i64 0))
br label %56
15: ; preds = %0
%16 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @ft_strcpy to i32 (i8*, i8*, ...)*)(i8* %2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
%17 = call i32 (...) @_begin_assert()
%18 = call i32 @bcmp(i8* dereferenceable(7) %2, i8* dereferenceable(7) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), i64 7)
%19 = icmp eq i32 %18, 0
br i1 %19, label %26, label %20
20: ; preds = %15
%21 = call i32 (...) @_fail_test()
%22 = call i32 (i32, ...) bitcast (i32 (...)* @_color to i32 (i32, ...)*)(i32 31)
%23 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @__func__.test_ft_strcpy, i64 0, i64 0), i32 90)
%24 = call i32 (i32, ...) bitcast (i32 (...)* @_color to i32 (i32, ...)*)(i32 0)
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0), i8* %2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
br label %56
26: ; preds = %15
%27 = call i32 (i8*, ...) bitcast (i32 (...)* @_it to i32 (i8*, ...)*)(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0))
%28 = call i32 (...) @_begin_assert()
%29 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @ft_strcpy to i32 (i8*, i8*, ...)*)(i8* %2, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.2, i64 0, i64 0))
%30 = sext i32 %29 to i64
%31 = inttoptr i64 %30 to i8*
%32 = icmp eq i8* %2, %31
br i1 %32, label %40, label %33
33: ; preds = %26
%34 = call i32 (...) @_fail_test()
%35 = call i32 (i32, ...) bitcast (i32 (...)* @_color to i32 (i32, ...)*)(i32 31)
%36 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @__func__.test_ft_strcpy, i64 0, i64 0), i32 95)
%37 = call i32 (i32, ...) bitcast (i32 (...)* @_color to i32 (i32, ...)*)(i32 0)
%38 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @ft_strcpy to i32 (i8*, i8*, ...)*)(i8* %2, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.2, i64 0, i64 0))
%39 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.7, i64 0, i64 0), i8* %2, i32 %38)
br label %56
40: ; preds = %26
%41 = call i32 (...) @_begin_assert()
%42 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @ft_strcpy to i32 (i8*, i8*, ...)*)(i8* %2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
%43 = sext i32 %42 to i64
%44 = inttoptr i64 %43 to i8*
%45 = icmp eq i8* %2, %44
br i1 %45, label %53, label %46
46: ; preds = %40
%47 = call i32 (...) @_fail_test()
%48 = call i32 (i32, ...) bitcast (i32 (...)* @_color to i32 (i32, ...)*)(i32 31)
%49 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @__func__.test_ft_strcpy, i64 0, i64 0), i32 98)
%50 = call i32 (i32, ...) bitcast (i32 (...)* @_color to i32 (i32, ...)*)(i32 0)
%51 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @ft_strcpy to i32 (i8*, i8*, ...)*)(i8* %2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
%52 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.7, i64 0, i64 0), i8* %2, i32 %51)
br label %56
53: ; preds = %40
%54 = call i32 (...) @_close_pending()
%55 = call i32 @putchar(i32 10)
br label %56
56: ; preds = %53, %46, %33, %20, %9
%57 = phi i32 [ 1, %9 ], [ 1, %20 ], [ 1, %33 ], [ 1, %46 ], [ 0, %53 ]
ret i32 %57
}