#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*/ printf(char *);
void distcalc_help() {
  printf("\n*******************************************************\n\n");
  printf("\nProgram: distcalc -- ");
  printf("Calculates offsets between pairs of coordinates.\n\n");
  printf("Usage: distcalc -i\n");
  printf("       distcalc -c input_file [output_file]\n");
  printf("       distcalc -p input_file [output_file]\n\n");
  printf("Note that the output filename is optional for both the -c and -p ");
  printf("options.\n\n");
  printf("OPTIONS:\n");
  printf(" -i   Interactive mode.\n\n");
  printf(" -c   Compute a set of offsets from a given CENTRAL position in\n");
  printf("      batch mode.  For this option, the first line of the input\n");
  printf("      file contains the position of the central source.  All\n");
  printf("      other lines in the input file contain positions of the\n");
  printf("      sources for which offsets from the central source will.\n");
  printf("      be computed.\n");
  printf(
      "      Input file format: label ra_hr ra_min ra_sec dec_deg dec_amin ");
  printf("dec_asec\n\n");
  printf(" -p   Compute offsets between PAIRS of positions in batch mode.\n");
  printf("      For this file, each line of the input file contains the\n");
  printf("      two positions to be compared.\n");
  printf("      Input file format: label ra_1 dec_1 ra_2 dec_2\n");
  printf("       where ra_i has the format: ra_hr ra_min ra_sec\n");
  printf("       and dec_i has the format:  dec_deg dec_amin dec_asec.\n\n");
  printf("*******************************************************\n\n");
}


x86 assembly (clang, -O0):
<distcalc_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf14(%rip),%rdi
call   1030 <printf@plt>
lea    0xf1f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf46(%rip),%rdi
call   1030 <printf@plt>
lea    0xf4e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf6f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf91(%rip),%rdi
call   1030 <printf@plt>
lea    0xfc7(%rip),%rdi
call   1030 <printf@plt>
lea    0xfc6(%rip),%rdi
call   1030 <printf@plt>
lea    0xfc4(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd2(%rip),%rdi
call   1030 <printf@plt>
lea    0x1007(%rip),%rdi
call   1030 <printf@plt>
lea    0x103c(%rip),%rdi
call   1030 <printf@plt>
lea    0x106e(%rip),%rdi
call   1030 <printf@plt>
lea    0x10a0(%rip),%rdi
call   1030 <printf@plt>
lea    0x10d3(%rip),%rdi
call   1030 <printf@plt>
lea    0x10db(%rip),%rdi
call   1030 <printf@plt>
lea    0x1114(%rip),%rdi
call   1030 <printf@plt>
lea    0x1113(%rip),%rdi
call   1030 <printf@plt>
lea    0x1148(%rip),%rdi
call   1030 <printf@plt>
lea    0x117b(%rip),%rdi
call   1030 <printf@plt>
lea    0x1194(%rip),%rdi
call   1030 <printf@plt>
lea    0x11be(%rip),%rdi
call   1030 <printf@plt>
lea    0x11e9(%rip),%rdi
call   1030 <printf@plt>
lea    0xdc6(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<distcalc_help>:
push   %rax
lea    0xf76(%rip),%rdi
call   1030 <puts@plt>
lea    0xecc(%rip),%rdi
call   1040 <printf@plt>
lea    0xf98(%rip),%rdi
call   1030 <puts@plt>
lea    0xfbe(%rip),%rdi
call   1030 <puts@plt>
lea    0xfc5(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe5(%rip),%rdi
call   1030 <puts@plt>
lea    0xea7(%rip),%rdi
call   1040 <printf@plt>
lea    0xffa(%rip),%rdi
call   1030 <puts@plt>
lea    0xff8(%rip),%rdi
call   1030 <puts@plt>
lea    0xff5(%rip),%rdi
call   1030 <puts@plt>
lea    0x1002(%rip),%rdi
call   1030 <puts@plt>
lea    0x1036(%rip),%rdi
call   1030 <puts@plt>
lea    0x106a(%rip),%rdi
call   1030 <puts@plt>
lea    0x109b(%rip),%rdi
call   1030 <puts@plt>
lea    0x10cc(%rip),%rdi
call   1030 <puts@plt>
lea    0x10fe(%rip),%rdi
call   1030 <puts@plt>
lea    0xe71(%rip),%rdi
call   1040 <printf@plt>
lea    0x10f9(%rip),%rdi
call   1030 <puts@plt>
lea    0x10f7(%rip),%rdi
call   1030 <puts@plt>
lea    0x112b(%rip),%rdi
call   1030 <puts@plt>
lea    0x115d(%rip),%rdi
call   1030 <puts@plt>
lea    0x1175(%rip),%rdi
call   1030 <puts@plt>
lea    0x119e(%rip),%rdi
call   1030 <puts@plt>
lea    0x11c8(%rip),%rdi
call   1030 <puts@plt>
lea    0xe57(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [59 x i8] c"\0A*******************************************************\0A\0A\00"
@.str.1 = [23 x i8] c"\0AProgram: distcalc -- \00"
@.str.2 = [51 x i8] c"Calculates offsets between pairs of coordinates.\0A\0A\00"
@.str.3 = [20 x i8] c"Usage: distcalc -i\0A\00"
@.str.4 = [45 x i8] c" distcalc -c input_file [output_file]\0A\00"
@.str.5 = [46 x i8] c" distcalc -p input_file [output_file]\0A\0A\00"
@.str.6 = [66 x i8] c"Note that the output filename is optional for both the -c and -p \00"
@.str.7 = [11 x i8] c"options.\0A\0A\00"
@.str.8 = [10 x i8] c"OPTIONS:\0A\00"
@.str.9 = [26 x i8] c" -i Interactive mode.\0A\0A\00"
@.str.10 = [65 x i8] c" -c Compute a set of offsets from a given CENTRAL position in\0A\00"
@.str.11 = [65 x i8] c" batch mode. For this option, the first line of the input\0A\00"
@.str.12 = [62 x i8] c" file contains the position of the central source. All\0A\00"
@.str.13 = [62 x i8] c" other lines in the input file contain positions of the\0A\00"
@.str.14 = [63 x i8] c" sources for which offsets from the central source will.\0A\00"
@.str.15 = [20 x i8] c" be computed.\0A\00"
@.str.16 = [69 x i8] c" Input file format: label ra_hr ra_min ra_sec dec_deg dec_amin \00"
@.str.17 = [11 x i8] c"dec_asec\0A\0A\00"
@.str.18 = [65 x i8] c" -p Compute offsets between PAIRS of positions in batch mode.\0A\00"
@.str.19 = [63 x i8] c" For this file, each line of the input file contains the\0A\00"
@.str.20 = [37 x i8] c" two positions to be compared.\0A\00"
@.str.21 = [54 x i8] c" Input file format: label ra_1 dec_1 ra_2 dec_2\0A\00"
@.str.22 = [55 x i8] c" where ra_i has the format: ra_hr ra_min ra_sec\0A\00"
@.str.23 = [63 x i8] c" and dec_i has the format: dec_deg dec_amin dec_asec.\0A\0A\00"
@.str.24 = [58 x i8] c"*******************************************************\0A\0A\00"
define void @distcalc_help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.17, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.18, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.19, i64 0, i64 0))
%21 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.20, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.21, i64 0, i64 0))
%23 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.22, i64 0, i64 0))
%24 = call i32 @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.23, i64 0, i64 0))
%25 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.24, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.1 = [23 x i8] c"\0AProgram: distcalc -- \00"
@.str.6 = [66 x i8] c"Note that the output filename is optional for both the -c and -p \00"
@.str.16 = [69 x i8] c" Input file format: label ra_hr ra_min ra_sec dec_deg dec_amin \00"
@str = [58 x i8] c"\0A*******************************************************\0A\00"
@str.25 = [50 x i8] c"Calculates offsets between pairs of coordinates.\0A\00"
@str.26 = [19 x i8] c"Usage: distcalc -i\00"
@str.27 = [44 x i8] c" distcalc -c input_file [output_file]\00"
@str.28 = [45 x i8] c" distcalc -p input_file [output_file]\0A\00"
@str.29 = [10 x i8] c"options.\0A\00"
@str.30 = [9 x i8] c"OPTIONS:\00"
@str.31 = [25 x i8] c" -i Interactive mode.\0A\00"
@str.32 = [64 x i8] c" -c Compute a set of offsets from a given CENTRAL position in\00"
@str.33 = [64 x i8] c" batch mode. For this option, the first line of the input\00"
@str.34 = [61 x i8] c" file contains the position of the central source. All\00"
@str.35 = [61 x i8] c" other lines in the input file contain positions of the\00"
@str.36 = [62 x i8] c" sources for which offsets from the central source will.\00"
@str.37 = [19 x i8] c" be computed.\00"
@str.38 = [10 x i8] c"dec_asec\0A\00"
@str.39 = [64 x i8] c" -p Compute offsets between PAIRS of positions in batch mode.\00"
@str.40 = [62 x i8] c" For this file, each line of the input file contains the\00"
@str.41 = [36 x i8] c" two positions to be compared.\00"
@str.42 = [53 x i8] c" Input file format: label ra_1 dec_1 ra_2 dec_2\00"
@str.43 = [54 x i8] c" where ra_i has the format: ra_hr ra_min ra_sec\00"
@str.44 = [62 x i8] c" and dec_i has the format: dec_deg dec_amin dec_asec.\0A\00"
@str.45 = [57 x i8] c"*******************************************************\0A\00"
define void @distcalc_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.25, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.26, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.27, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.28, i64 0, i64 0))
%7 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.29, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.30, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.31, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.32, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.33, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.34, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.35, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.36, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.37, i64 0, i64 0))
%17 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @.str.16, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.38, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.39, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.40, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.41, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.42, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.43, i64 0, i64 0))
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.44, i64 0, i64 0))
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.45, i64 0, i64 0))
ret void
}