#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 */
scalar_t__ Verify(char *, int, char *, char *, double);
int VerifyFormattingRegression(void) {
  int nerrors = 0;
  nerrors += Verify("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                    "outputs/2022-01-22/02-19-57/repos/hypermail-project/"
                    "hypermail/refs/heads/master/src/trio/regression.c",
                    732, "5.000000e-01", "%e", 0.5);
  nerrors += Verify("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                    "outputs/2022-01-22/02-19-57/repos/hypermail-project/"
                    "hypermail/refs/heads/master/src/trio/regression.c",
                    734, "6.000000e-01", "%e", 0.6);
  nerrors += Verify("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                    "outputs/2022-01-22/02-19-57/repos/hypermail-project/"
                    "hypermail/refs/heads/master/src/trio/regression.c",
                    738, "7654321.0", "%#.8g", 7654320.99);
  return nerrors;
}


x86 assembly (clang, -O0):
<VerifyFormattingRegression>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xef2(%rip),%rdi
mov    $0x2dc,%esi
lea    0xf84(%rip),%rdx
lea    0xf8a(%rip),%rcx
movsd  0xecf(%rip),%xmm0
call   1030 <Verify@plt>
mov    %rax,%rcx
movslq -0x4(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x4(%rbp)
lea    0xebe(%rip),%rdi
mov    $0x2de,%esi
lea    0xf60(%rip),%rdx
lea    0xf56(%rip),%rcx
movsd  0xe93(%rip),%xmm0
call   1030 <Verify@plt>
mov    %rax,%rcx
movslq -0x4(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x4(%rbp)
lea    0xe8a(%rip),%rdi
mov    $0x2e2,%esi
lea    0xf39(%rip),%rdx
lea    0xf3c(%rip),%rcx
movsd  0xe57(%rip),%xmm0
call   1030 <Verify@plt>
mov    %rax,%rcx
movslq -0x4(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<VerifyFormattingRegression>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
lea    0xef9(%rip),%r14
lea    0xf90(%rip),%rdx
lea    0xf96(%rip),%r15
movsd  0xecb(%rip),%xmm0
mov    %r14,%rdi
mov    $0x2dc,%esi
mov    %r15,%rcx
call   1030 <Verify@plt>
mov    %rax,%r12
lea    0xf77(%rip),%rdx
movsd  0xeb1(%rip),%xmm0
mov    %r14,%rdi
mov    $0x2de,%esi
mov    %r15,%rcx
call   1030 <Verify@plt>
mov    %rax,%rbx
add    %r12d,%ebx
lea    0xf5f(%rip),%rdx
lea    0xf62(%rip),%rcx
movsd  0xe8d(%rip),%xmm0
mov    %r14,%rdi
mov    $0x2e2,%esi
call   1030 <Verify@plt>
add    %ebx,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [158 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/hypermail-project/hypermail/refs/heads/master/src/trio/regression.c\00"
@.str.1 = [13 x i8] c"5.000000e-01\00"
@.str.2 = [3 x i8] c"%e\00"
@.str.3 = [13 x i8] c"6.000000e-01\00"
@.str.4 = [10 x i8] c"7654321.0\00"
@.str.5 = [6 x i8] c"%#.8g\00"
define i32 @VerifyFormattingRegression() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i64 @Verify(i8* getelementptr inbounds ([158 x i8], [158 x i8]* @.str, i64 0, i64 0), i32 732, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), double 5.000000e-01)
%3 = load i32, i32* %1
%4 = sext i32 %3 to i64
%5 = add nsw i64 %4, %2
%6 = trunc i64 %5 to i32
store i32 %6, i32* %1
%7 = call i64 @Verify(i8* getelementptr inbounds ([158 x i8], [158 x i8]* @.str, i64 0, i64 0), i32 734, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), double 6.000000e-01)
%8 = load i32, i32* %1
%9 = sext i32 %8 to i64
%10 = add nsw i64 %9, %7
%11 = trunc i64 %10 to i32
store i32 %11, i32* %1
%12 = call i64 @Verify(i8* getelementptr inbounds ([158 x i8], [158 x i8]* @.str, i64 0, i64 0), i32 738, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double 0x415D32EC3F5C28F6)
%13 = load i32, i32* %1
%14 = sext i32 %13 to i64
%15 = add nsw i64 %14, %12
%16 = trunc i64 %15 to i32
store i32 %16, i32* %1
%17 = load i32, i32* %1
ret i32 %17
}

LLVM IR (-O2):
@.str = [158 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/hypermail-project/hypermail/refs/heads/master/src/trio/regression.c\00"
@.str.1 = [13 x i8] c"5.000000e-01\00"
@.str.2 = [3 x i8] c"%e\00"
@.str.3 = [13 x i8] c"6.000000e-01\00"
@.str.4 = [10 x i8] c"7654321.0\00"
@.str.5 = [6 x i8] c"%#.8g\00"
define i32 @VerifyFormattingRegression() {
%1 = tail call i64 @Verify(i8* getelementptr inbounds ([158 x i8], [158 x i8]* @.str, i64 0, i64 0), i32 732, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), double 5.000000e-01)
%2 = tail call i64 @Verify(i8* getelementptr inbounds ([158 x i8], [158 x i8]* @.str, i64 0, i64 0), i32 734, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), double 6.000000e-01)
%3 = add i64 %2, %1
%4 = tail call i64 @Verify(i8* getelementptr inbounds ([158 x i8], [158 x i8]* @.str, i64 0, i64 0), i32 738, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double 0x415D32EC3F5C28F6)
%5 = add i64 %3, %4
%6 = trunc i64 %5 to i32
ret i32 %6
}