#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);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ stderr;
void usage(void) {
  fprintf(stderr, "Usage: imagedelta [-SVfd] [-b blksize] [-D hashfunc] [-z "
                  "level] image1.ndz image2.ndz delta1to2.ndz\n"
                  "\n"
                  "Produce a delta image (delta1to2) containing the changes\n"
                  "necessary to get from image1 to image2.\n"
                  "\n"
                  "-S         Use signature files when computing differences.\n"
                  "-V         Verify consistency of image and signature.\n"
                  "-F         Generate a full-image signature for the delta.\n"
                  "-f         Force imagedelta to use a questionable sigfile.\n"
                  "-d         Enable debugging.\n"
                  "-D hfunc   Hash function to use (md5 or sha1).\n"
                  "-b blksize Size of hash blocks (512 <= size <= 32M).\n"
                  "-z level   Compression level (0 to 9).\n");
  exit(1);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
mov    0x2eb5(%rip),%rax
mov    (%rax),%edi
lea    0xecc(%rip),%rsi
call   1030 <fprintf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rax
mov    0x2eb8(%rip),%rax
mov    (%rax),%edi
lea    0xecf(%rip),%rsi
call   1030 <fprintf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [598 x i8] c"Usage: imagedelta [-SVfd] [-b blksize] [-D hashfunc] [-z level] image1.ndz image2.ndz delta1to2.ndz\0A\0AProduce a delta image (delta1to2) containing the changes\0Anecessary to get from image1 to image2.\0A\0A-S Use signature files when computing differences.\0A-V Verify consistency of image and signature.\0A-F Generate a full-image signature for the delta.\0A-f Force imagedelta to use a questionable sigfile.\0A-d Enable debugging.\0A-D hfunc Hash function to use (md5 or sha1).\0A-b blksize Size of hash blocks (512 <= size <= 32M).\0A-z level Compression level (0 to 9).\0A\00"
define void @usage() {
%1 = load i32, i32* @stderr
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([598 x i8], [598 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @exit(i32 1)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [598 x i8] c"Usage: imagedelta [-SVfd] [-b blksize] [-D hashfunc] [-z level] image1.ndz image2.ndz delta1to2.ndz\0A\0AProduce a delta image (delta1to2) containing the changes\0Anecessary to get from image1 to image2.\0A\0A-S Use signature files when computing differences.\0A-V Verify consistency of image and signature.\0A-F Generate a full-image signature for the delta.\0A-f Force imagedelta to use a questionable sigfile.\0A-d Enable debugging.\0A-D hfunc Hash function to use (md5 or sha1).\0A-b blksize Size of hash blocks (512 <= size <= 32M).\0A-z level Compression level (0 to 9).\0A\00"
define void @usage() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([598 x i8], [598 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 @exit(i32 1)
unreachable
}