#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*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ stderr;
void usage() {
  fprintf(
      stderr,
      "usage:  sign [-v] [options]\n\n"
      "  sign [-v] -c <file> [-u user] [-h hash]: add clearsign signature\n"
      "  sign [-v] -d <file> [-u user] [-h hash]: create detached signature\n"
      "  sign [-v] -r <file> [-u user] [-h hash]: add signature block to rpm\n"
      "  sign [-v] -a <file> [-u user] [-h hash]: add signature block to "
      "appimage\n"
      "  sign [-v] -k [-u user] [-h hash]: print key id\n"
      "  sign [-v] -p [-u user] [-h hash]: print public key\n"
      "  sign [-v] -g <type> <expire> <name> <email>: generate keys\n"
      "  sign [-v] -x <expire> <pubkey>: extend pubkey\n"
      "  sign [-v] -C <pubkey>: create certificate\n"
      "  sign [-v] -t: test connection to signd server\n"
      "\n");
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
mov    0x2ec5(%rip),%rax
mov    (%rax),%edi
lea    0xedc(%rip),%rsi
call   1030 <fprintf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
mov    0x2ec9(%rip),%rax
mov    (%rax),%edi
lea    0xee0(%rip),%rsi
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [615 x i8] c"usage: sign [-v] [options]\0A\0A sign [-v] -c <file> [-u user] [-h hash]: add clearsign signature\0A sign [-v] -d <file> [-u user] [-h hash]: create detached signature\0A sign [-v] -r <file> [-u user] [-h hash]: add signature block to rpm\0A sign [-v] -a <file> [-u user] [-h hash]: add signature block to appimage\0A sign [-v] -k [-u user] [-h hash]: print key id\0A sign [-v] -p [-u user] [-h hash]: print public key\0A sign [-v] -g <type> <expire> <name> <email>: generate keys\0A sign [-v] -x <expire> <pubkey>: extend pubkey\0A sign [-v] -C <pubkey>: create certificate\0A sign [-v] -t: test connection to signd server\0A\0A\00"
define void @usage() {
%1 = load i32, i32* @stderr
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([615 x i8], [615 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [615 x i8] c"usage: sign [-v] [options]\0A\0A sign [-v] -c <file> [-u user] [-h hash]: add clearsign signature\0A sign [-v] -d <file> [-u user] [-h hash]: create detached signature\0A sign [-v] -r <file> [-u user] [-h hash]: add signature block to rpm\0A sign [-v] -a <file> [-u user] [-h hash]: add signature block to appimage\0A sign [-v] -k [-u user] [-h hash]: print key id\0A sign [-v] -p [-u user] [-h hash]: print public key\0A sign [-v] -g <type> <expire> <name> <email>: generate keys\0A sign [-v] -x <expire> <pubkey>: extend pubkey\0A sign [-v] -C <pubkey>: create certificate\0A sign [-v] -t: test connection to signd server\0A\0A\00"
define void @usage() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([615 x i8], [615 x i8]* @.str, i64 0, i64 0))
ret void
}