#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: imageundelta [-SVfd] [-b blksize] [-D hashfunc] [-z level] "
      "base.ndz delta.ndz newimage.ndz\n"
      "\n"
      "Produce a new full image (newimage) by combining a base image\n"
      "(base) and a delta image (delta).\n"
      "\n"
      "-S         Use sigfile for delta to optimize image creation.\n"
      "-V         Verify consistency of delta and signature.\n"
      "-f         Force imagedelta to use a questionable sigfile.\n"
      "-d         Enable debugging.\n"
      "-D hfunc   Hash function to use (md5 or sha1) for new sigfile.\n"
      "-b blksize Size of hash blocks (512 <= size <= 32M) for new sigfile.\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 = [571 x i8] c"Usage: imageundelta [-SVfd] [-b blksize] [-D hashfunc] [-z level] base.ndz delta.ndz newimage.ndz\0A\0AProduce a new full image (newimage) by combining a base image\0A(base) and a delta image (delta).\0A\0A-S Use sigfile for delta to optimize image creation.\0A-V Verify consistency of delta and signature.\0A-f Force imagedelta to use a questionable sigfile.\0A-d Enable debugging.\0A-D hfunc Hash function to use (md5 or sha1) for new sigfile.\0A-b blksize Size of hash blocks (512 <= size <= 32M) for new sigfile.\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 ([571 x i8], [571 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @exit(i32 1)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [571 x i8] c"Usage: imageundelta [-SVfd] [-b blksize] [-D hashfunc] [-z level] base.ndz delta.ndz newimage.ndz\0A\0AProduce a new full image (newimage) by combining a base image\0A(base) and a delta image (delta).\0A\0A-S Use sigfile for delta to optimize image creation.\0A-V Verify consistency of delta and signature.\0A-f Force imagedelta to use a questionable sigfile.\0A-d Enable debugging.\0A-D hfunc Hash function to use (md5 or sha1) for new sigfile.\0A-b blksize Size of hash blocks (512 <= size <= 32M) for new sigfile.\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 ([571 x i8], [571 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 @exit(i32 1)
unreachable
}