#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 btk_help_node(void) {
  printf("COMMAND\n");
  printf("\n");
  printf("   node - interface with a bitcoin node.\n");
  printf("\n");
  printf("SYNOPSIS\n");
  printf("\n");
  printf("   btk node [-h <hostname>] [OPTIONS]\n");
  printf("\n");
  printf("DESCRIPTION\n");
  printf("\n");
  printf("   The node command connects to and sends a bitcoin 'version' "
         "command to a\n");
  printf("   remote bitcoin node. It then dumps the response data to standard "
         "output in\n");
  printf("   JSON format. Bitcoin's version information contains the bitcoin "
         "protocol\n");
  printf("   version, available services, current block height, user agent "
         "string, and\n");
  printf("   more.\n");
  printf("\n");
  printf("   The node command will connect on the standard bitcoin port of "
         "8333. If the\n");
  printf("   -T option is specified it will attempt to connect on port 18333 "
         "for TESTNET\n");
  printf("   nodes. If the -p option is specified, the port number that is "
         "specified as\n");
  printf("   its argument will override both of these defaults.\n");
  printf("\n");
  printf("   See OPTIONS for more info.\n");
  printf("\n");
  printf("OPTIONS\n");
  printf("\n");
  printf("   -h <hostname>\n");
  printf("      Specify the remote host to connect to. This is a required "
         "option.\n");
  printf("\n");
  printf("   -p <port number>\n");
  printf("      Specify the port number to connect to.\n");
  printf("\n");
  printf("   -T\n");
  printf(
      "      This option is required if the remote host is a TESTNET node.\n");
  printf("\n");
  printf("See https://github.com/bartobri/bitcoin-toolkit for examples.\n");
  printf("See 'btk help' to read about other commands.\n");
  printf("\n");
}


x86 assembly (clang, -O0):
<btk_help_node>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0x12bf(%rip),%rdi
call   1030 <printf@plt>
lea    0xed6(%rip),%rdi
call   1030 <printf@plt>
lea    0x12a7(%rip),%rdi
call   1030 <printf@plt>
lea    0xee8(%rip),%rdi
call   1030 <printf@plt>
lea    0x128f(%rip),%rdi
call   1030 <printf@plt>
lea    0xeda(%rip),%rdi
call   1030 <printf@plt>
lea    0x1277(%rip),%rdi
call   1030 <printf@plt>
lea    0xee9(%rip),%rdi
call   1030 <printf@plt>
lea    0x125f(%rip),%rdi
call   1030 <printf@plt>
lea    0xede(%rip),%rdi
call   1030 <printf@plt>
lea    0xf1e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf61(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa2(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe4(%rip),%rdi
call   1030 <printf@plt>
lea    0x1217(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd6(%rip),%rdi
call   1030 <printf@plt>
lea    0x1019(%rip),%rdi
call   1030 <printf@plt>
lea    0x105d(%rip),%rdi
call   1030 <printf@plt>
lea    0x10a0(%rip),%rdi
call   1030 <printf@plt>
lea    0x11db(%rip),%rdi
call   1030 <printf@plt>
lea    0x10bf(%rip),%rdi
call   1030 <printf@plt>
lea    0x11c3(%rip),%rdi
call   1030 <printf@plt>
lea    0x10c6(%rip),%rdi
call   1030 <printf@plt>
lea    0x11ab(%rip),%rdi
call   1030 <printf@plt>
lea    0x10b7(%rip),%rdi
call   1030 <printf@plt>
lea    0x10bd(%rip),%rdi
call   1030 <printf@plt>
lea    0x1187(%rip),%rdi
call   1030 <printf@plt>
lea    0x10ee(%rip),%rdi
call   1030 <printf@plt>
lea    0x10f7(%rip),%rdi
call   1030 <printf@plt>
lea    0x1163(%rip),%rdi
call   1030 <printf@plt>
lea    0x110d(%rip),%rdi
call   1030 <printf@plt>
lea    0x1108(%rip),%rdi
call   1030 <printf@plt>
lea    0x113f(%rip),%rdi
call   1030 <printf@plt>
lea    0x1135(%rip),%rdi
call   1030 <printf@plt>
lea    0x1168(%rip),%rdi
call   1030 <printf@plt>
lea    0x111b(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<btk_help_node>:
push   %rax
lea    0xed8(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xeca(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xedd(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xed0(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xee0(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xed6(%rip),%rdi
call   1040 <puts@plt>
lea    0xf15(%rip),%rdi
call   1040 <puts@plt>
lea    0xf57(%rip),%rdi
call   1040 <puts@plt>
lea    0xf97(%rip),%rdi
call   1040 <puts@plt>
lea    0xfd8(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xfcb(%rip),%rdi
call   1040 <puts@plt>
lea    0x100d(%rip),%rdi
call   1040 <puts@plt>
lea    0x1050(%rip),%rdi
call   1040 <puts@plt>
lea    0x1092(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x10b2(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x10ba(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x10ac(%rip),%rdi
call   1040 <puts@plt>
lea    0x10b1(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x10e3(%rip),%rdi
call   1040 <puts@plt>
lea    0x10eb(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x1102(%rip),%rdi
call   1040 <puts@plt>
lea    0x10fc(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x112a(%rip),%rdi
call   1040 <puts@plt>
lea    0x115c(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
pop    %rax
jmp    1030 <putchar@plt>

LLVM IR (-O0):
@.str = [9 x i8] c"COMMAND\0A\00"
@.str.1 = [2 x i8] c"\0A\00"
@.str.2 = [42 x i8] c" node - interface with a bitcoin node.\0A\00"
@.str.3 = [10 x i8] c"SYNOPSIS\0A\00"
@.str.4 = [39 x i8] c" btk node [-h <hostname>] [OPTIONS]\0A\00"
@.str.5 = [13 x i8] c"DESCRIPTION\0A\00"
@.str.6 = [76 x i8] c" The node command connects to and sends a bitcoin 'version' command to a\0A\00"
@.str.7 = [79 x i8] c" remote bitcoin node. It then dumps the response data to standard output in\0A\00"
@.str.8 = [77 x i8] c" JSON format. Bitcoin's version information contains the bitcoin protocol\0A\00"
@.str.9 = [78 x i8] c" version, available services, current block height, user agent string, and\0A\00"
@.str.10 = [10 x i8] c" more.\0A\00"
@.str.11 = [79 x i8] c" The node command will connect on the standard bitcoin port of 8333. If the\0A\00"
@.str.12 = [80 x i8] c" -T option is specified it will attempt to connect on port 18333 for TESTNET\0A\00"
@.str.13 = [79 x i8] c" nodes. If the -p option is specified, the port number that is specified as\0A\00"
@.str.14 = [55 x i8] c" its argument will override both of these defaults.\0A\00"
@.str.15 = [31 x i8] c" See OPTIONS for more info.\0A\00"
@.str.16 = [9 x i8] c"OPTIONS\0A\00"
@.str.17 = [18 x i8] c" -h <hostname>\0A\00"
@.str.18 = [73 x i8] c" Specify the remote host to connect to. This is a required option.\0A\00"
@.str.19 = [21 x i8] c" -p <port number>\0A\00"
@.str.20 = [46 x i8] c" Specify the port number to connect to.\0A\00"
@.str.21 = [7 x i8] c" -T\0A\00"
@.str.22 = [69 x i8] c" This option is required if the remote host is a TESTNET node.\0A\00"
@.str.23 = [63 x i8] c"See https://github.com/bartobri/bitcoin-toolkit for examples.\0A\00"
@.str.24 = [46 x i8] c"See 'btk help' to read about other commands.\0A\00"
define void @btk_help_node() {
%1 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.4, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.6, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.7, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.8, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.9, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.10, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.11, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.12, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.13, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.14, i64 0, i64 0))
%21 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.15, i64 0, i64 0))
%23 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%24 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.16, i64 0, i64 0))
%25 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%26 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.17, i64 0, i64 0))
%27 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.18, i64 0, i64 0))
%28 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%29 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.19, i64 0, i64 0))
%30 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.20, i64 0, i64 0))
%31 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%32 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.21, i64 0, i64 0))
%33 = call i32 @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.22, i64 0, i64 0))
%34 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%35 = call i32 @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.23, i64 0, i64 0))
%36 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.24, i64 0, i64 0))
%37 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [8 x i8] c"COMMAND\00"
@str.25 = [41 x i8] c" node - interface with a bitcoin node.\00"
@str.26 = [9 x i8] c"SYNOPSIS\00"
@str.27 = [38 x i8] c" btk node [-h <hostname>] [OPTIONS]\00"
@str.28 = [12 x i8] c"DESCRIPTION\00"
@str.29 = [75 x i8] c" The node command connects to and sends a bitcoin 'version' command to a\00"
@str.30 = [78 x i8] c" remote bitcoin node. It then dumps the response data to standard output in\00"
@str.31 = [76 x i8] c" JSON format. Bitcoin's version information contains the bitcoin protocol\00"
@str.32 = [77 x i8] c" version, available services, current block height, user agent string, and\00"
@str.33 = [9 x i8] c" more.\00"
@str.34 = [78 x i8] c" The node command will connect on the standard bitcoin port of 8333. If the\00"
@str.35 = [79 x i8] c" -T option is specified it will attempt to connect on port 18333 for TESTNET\00"
@str.36 = [78 x i8] c" nodes. If the -p option is specified, the port number that is specified as\00"
@str.37 = [54 x i8] c" its argument will override both of these defaults.\00"
@str.38 = [30 x i8] c" See OPTIONS for more info.\00"
@str.39 = [8 x i8] c"OPTIONS\00"
@str.40 = [17 x i8] c" -h <hostname>\00"
@str.41 = [72 x i8] c" Specify the remote host to connect to. This is a required option.\00"
@str.42 = [20 x i8] c" -p <port number>\00"
@str.43 = [45 x i8] c" Specify the port number to connect to.\00"
@str.44 = [6 x i8] c" -T\00"
@str.45 = [68 x i8] c" This option is required if the remote host is a TESTNET node.\00"
@str.46 = [62 x i8] c"See https://github.com/bartobri/bitcoin-toolkit for examples.\00"
@str.47 = [45 x i8] c"See 'btk help' to read about other commands.\00"
define void @btk_help_node() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @putchar(i32 10)
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.25, i64 0, i64 0))
%4 = tail call i32 @putchar(i32 10)
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.26, i64 0, i64 0))
%6 = tail call i32 @putchar(i32 10)
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.27, i64 0, i64 0))
%8 = tail call i32 @putchar(i32 10)
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str.28, i64 0, i64 0))
%10 = tail call i32 @putchar(i32 10)
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.29, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str.30, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @str.31, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.32, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.33, i64 0, i64 0))
%16 = tail call i32 @putchar(i32 10)
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str.34, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.35, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str.36, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.37, i64 0, i64 0))
%21 = tail call i32 @putchar(i32 10)
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.38, i64 0, i64 0))
%23 = tail call i32 @putchar(i32 10)
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str.39, i64 0, i64 0))
%25 = tail call i32 @putchar(i32 10)
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.40, i64 0, i64 0))
%27 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.41, i64 0, i64 0))
%28 = tail call i32 @putchar(i32 10)
%29 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.42, i64 0, i64 0))
%30 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.43, i64 0, i64 0))
%31 = tail call i32 @putchar(i32 10)
%32 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.44, i64 0, i64 0))
%33 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.45, i64 0, i64 0))
%34 = tail call i32 @putchar(i32 10)
%35 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.46, i64 0, i64 0))
%36 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.47, i64 0, i64 0))
%37 = tail call i32 @putchar(i32 10)
ret void
}