#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*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *);
void display_help(void) {
  printf("Usage: fsstresstest [OPTION]\n"
         "\n"
         "  -h, --maxsimhours    LOOP1: Maximum simulation time (hours), "
         "default 4000\n"
         "  -z, --totaltestsize  LOOP2: Total amount of data to write in test "
         "(MBytes), default 500\n"
         "  -m, --maxfilesize    LOOP3: Max file size (MBytes), default 10\n"
         "  -s, --size           LOOP4: Data size to write (bytes), default "
         "528*60\n"
         "  -t, --delay          Delay time between writes (ms), default 0\n"
         "  -r, --noremount      Don't remount the SD card in sync mode\n"
         "  -d, --testdir        test directory, default SD card "
         "/media/mmcblk0p1\n"
         "  -v, --verifyfile     create verification file\n"
         "  -f, --stoponfail     Stop test on data verify failure\n"
         "  -g, --skipverify     Don't verify files\n");
  exit(0);
}


x86 assembly (clang, -O0):
<display_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
xor    %edi,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<display_help>:
push   %rax
lea    0xed8(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@.str = [680 x i8] c"Usage: fsstresstest [OPTION]\0A\0A -h, --maxsimhours LOOP1: Maximum simulation time (hours), default 4000\0A -z, --totaltestsize LOOP2: Total amount of data to write in test (MBytes), default 500\0A -m, --maxfilesize LOOP3: Max file size (MBytes), default 10\0A -s, --size LOOP4: Data size to write (bytes), default 528*60\0A -t, --delay Delay time between writes (ms), default 0\0A -r, --noremount Don't remount the SD card in sync mode\0A -d, --testdir test directory, default SD card /media/mmcblk0p1\0A -v, --verifyfile create verification file\0A -f, --stoponfail Stop test on data verify failure\0A -g, --skipverify Don't verify files\0A\00"
define void @display_help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([680 x i8], [680 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@str = [679 x i8] c"Usage: fsstresstest [OPTION]\0A\0A -h, --maxsimhours LOOP1: Maximum simulation time (hours), default 4000\0A -z, --totaltestsize LOOP2: Total amount of data to write in test (MBytes), default 500\0A -m, --maxfilesize LOOP3: Max file size (MBytes), default 10\0A -s, --size LOOP4: Data size to write (bytes), default 528*60\0A -t, --delay Delay time between writes (ms), default 0\0A -r, --noremount Don't remount the SD card in sync mode\0A -d, --testdir test directory, default SD card /media/mmcblk0p1\0A -v, --verifyfile create verification file\0A -f, --stoponfail Stop test on data verify failure\0A -g, --skipverify Don't verify files\00"
define void @display_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([679 x i8], [679 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @exit(i32 0)
unreachable
}