#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, char *);
void showusage(FILE *fp, char *fn) {
  fprintf(
      fp,
      "Usage: %s <r0> <r1> <n> <a0> <a1> <t> <r2> <r3> 
 <id> <od> <h> <ct> "
      "\n"
      "r0 - inner radius\n"
      "r1 - outer radius\n"
      "n  - number of lumps (will be doubled if sloped,angled,or hill-shaped)\n"
      "a0 - beginning angle\n"
      "a1 - ending angle\n"
      "t  - thickness of curve\n"
      "r2 - ending inner radius(can be >,<, or = r0)\n"
      "r3 - ending outer radius(can be >,<, or = r1)\n"
      "s  - vertical slope from beginning to end\n"
      "id - vertical drop of curve's inner radius(inward angled)\n"
      "od - vertical drop of curve's outer radius(outward angled)\n"
      "h  - vertical drop for both ends of curve (hill)\n"
      "ct - zero will override default of constant thickness for angle/hill "
      "curves\n",
      fn);
  return;
}


x86 assembly (clang, -O0):
<showusage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rdx
lea    0xed1(%rip),%rsi
call   1030 <fprintf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<showusage>:
mov    %rsi,%rdx
lea    0xee6(%rip),%rsi
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@.str = [619 x i8] c"Usage: %s <r0> <r1> <n> <a0> <a1> <t> <r2> <r3> 
 <id> <od> <h> <ct> \0Ar0 - inner radius\0Ar1 - outer radius\0An - number of lumps (will be doubled if sloped,angled,or hill-shaped)\0Aa0 - beginning angle\0Aa1 - ending angle\0At - thickness of curve\0Ar2 - ending inner radius(can be >,<, or = r0)\0Ar3 - ending outer radius(can be >,<, or = r1)\0As - vertical slope from beginning to end\0Aid - vertical drop of curve's inner radius(inward angled)\0Aod - vertical drop of curve's outer radius(outward angled)\0Ah - vertical drop for both ends of curve (hill)\0Act - zero will override default of constant thickness for angle/hill curves\0A\00"
define void @showusage(i32* %0, i8* %1) {
%3 = alloca i32*
%4 = alloca i8*
store i32* %0, i32** %3
store i8* %1, i8** %4
%5 = load i32*, i32** %3
%6 = load i8*, i8** %4
%7 = call i32 @fprintf(i32* %5, i8* getelementptr inbounds ([619 x i8], [619 x i8]* @.str, i64 0, i64 0), i8* %6)
ret void
}

LLVM IR (-O2):
@.str = [619 x i8] c"Usage: %s <r0> <r1> <n> <a0> <a1> <t> <r2> <r3> 
 <id> <od> <h> <ct> \0Ar0 - inner radius\0Ar1 - outer radius\0An - number of lumps (will be doubled if sloped,angled,or hill-shaped)\0Aa0 - beginning angle\0Aa1 - ending angle\0At - thickness of curve\0Ar2 - ending inner radius(can be >,<, or = r0)\0Ar3 - ending outer radius(can be >,<, or = r1)\0As - vertical slope from beginning to end\0Aid - vertical drop of curve's inner radius(inward angled)\0Aod - vertical drop of curve's outer radius(outward angled)\0Ah - vertical drop for both ends of curve (hill)\0Act - zero will override default of constant thickness for angle/hill curves\0A\00"
define void @showusage(i32* nocapture %0, i8* %1) {
%3 = tail call i32 @fprintf(i32* %0, i8* getelementptr inbounds ([619 x i8], [619 x i8]* @.str, i64 0, i64 0), i8* %1)
ret void
}