#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 usage(void) {
  printf("telemetrit type callsign receiver_callsign [content]\n");
  printf("type = data,label,unit,coef,bitsense\n");
  printf("\nexample for data:\n");
  printf("\ttelemetrit data NOCALL NOCALL-1 sequence_number A1 A2 A3 A4 A5 B1 "
         "B2 B3 B4 B5 B6 B7 B8\n");
  printf("unwanted telemetry data can be omitted starting from the left\n");
  printf("\nexample for label:\n");
  printf("\ttelemetrit label NOCALL NOCALL-1 A1 A2 A3 A4 A5 B1 B2 B3 B4 B5 B6 "
         "B7 B8\n");
  printf("unwanted labels can be omitted starting from the left\n");
  printf("\nexample for unit:\n");
  printf("\ttelemetrit unit NOCALL NOCALL-1 A1 A2 A3 A4 A5 B1 B2 B3 B4 B5 B6 "
         "B7 B8\n");
  printf("unwanted units can be omitted starting from the left\n");
  printf("\nexample for coef:\n");
  printf("\ttelemetrit coef NOCALL NOCALL-1 A1a A1b A1c A2a A2b A3a A3b A3c "
         "A4a A4b A4c A5a A5b A5c\n");
  printf("unwanted coefficients can be omitted starting from the left, they'll "
         "be set to 0\n");
  printf("\nexample for bitsense:\n");
  printf("\ttelemetrit bitsens NOCALL NOCALL-1 project_name B1 B2 B3 B4 B5 B6 "
         "B7 B8\n");
  printf("unwanted coefficients can be omitted starting from the right, "
         "they'll be set to 0\n");
  printf("Build Date: %s\n", "Mar 18 2022"
                             " "
                             "12:04:32");
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf0d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf25(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf2b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf76(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfa7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfae(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfea(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1013(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1019(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1054(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x107c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1082(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10ce(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1112(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x111c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1158(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x119d(%rip),%rdi
lea    0x11a6(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
push   %rax
lea    0xefd(%rip),%rdi
call   1030 <puts@plt>
lea    0xf26(%rip),%rdi
call   1030 <puts@plt>
lea    0xf3f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf46(%rip),%rdi
call   1030 <puts@plt>
lea    0xf92(%rip),%rdi
call   1030 <puts@plt>
lea    0xfc4(%rip),%rdi
call   1030 <puts@plt>
lea    0xfcc(%rip),%rdi
call   1030 <puts@plt>
lea    0x1009(%rip),%rdi
call   1030 <puts@plt>
lea    0x1033(%rip),%rdi
call   1030 <puts@plt>
lea    0x103a(%rip),%rdi
call   1030 <puts@plt>
lea    0x1076(%rip),%rdi
call   1030 <puts@plt>
lea    0x109f(%rip),%rdi
call   1030 <puts@plt>
lea    0x10a6(%rip),%rdi
call   1030 <puts@plt>
lea    0x10f3(%rip),%rdi
call   1030 <puts@plt>
lea    0x1138(%rip),%rdi
call   1030 <puts@plt>
lea    0x1143(%rip),%rdi
call   1030 <puts@plt>
lea    0x1180(%rip),%rdi
call   1030 <puts@plt>
lea    0xe0c(%rip),%rdi
lea    0xe15(%rip),%rsi
xor    %eax,%eax
pop    %rcx
jmp    1040 <printf@plt>

LLVM IR (-O0):
@.str = [54 x i8] c"telemetrit type callsign receiver_callsign [content]\0A\00"
@.str.1 = [38 x i8] c"type = data,label,unit,coef,bitsense\0A\00"
@.str.2 = [20 x i8] c"\0Aexample for data:\0A\00"
@.str.3 = [89 x i8] c"\09telemetrit data NOCALL NOCALL-1 sequence_number A1 A2 A3 A4 A5 B1 B2 B3 B4 B5 B6 B7 B8\0A\00"
@.str.4 = [63 x i8] c"unwanted telemetry data can be omitted starting from the left\0A\00"
@.str.5 = [21 x i8] c"\0Aexample for label:\0A\00"
@.str.6 = [74 x i8] c"\09telemetrit label NOCALL NOCALL-1 A1 A2 A3 A4 A5 B1 B2 B3 B4 B5 B6 B7 B8\0A\00"
@.str.7 = [55 x i8] c"unwanted labels can be omitted starting from the left\0A\00"
@.str.8 = [20 x i8] c"\0Aexample for unit:\0A\00"
@.str.9 = [73 x i8] c"\09telemetrit unit NOCALL NOCALL-1 A1 A2 A3 A4 A5 B1 B2 B3 B4 B5 B6 B7 B8\0A\00"
@.str.10 = [54 x i8] c"unwanted units can be omitted starting from the left\0A\00"
@.str.11 = [20 x i8] c"\0Aexample for coef:\0A\00"
@.str.12 = [90 x i8] c"\09telemetrit coef NOCALL NOCALL-1 A1a A1b A1c A2a A2b A3a A3b A3c A4a A4b A4c A5a A5b A5c\0A\00"
@.str.13 = [82 x i8] c"unwanted coefficients can be omitted starting from the left, they'll be set to 0\0A\00"
@.str.14 = [24 x i8] c"\0Aexample for bitsense:\0A\00"
@.str.15 = [74 x i8] c"\09telemetrit bitsens NOCALL NOCALL-1 project_name B1 B2 B3 B4 B5 B6 B7 B8\0A\00"
@.str.16 = [83 x i8] c"unwanted coefficients can be omitted starting from the right, they'll be set to 0\0A\00"
@.str.17 = [16 x i8] c"Build Date: %s\0A\00"
@.str.18 = [21 x i8] c"Mar 18 2022 12:04:32\00"
define void @usage() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([89 x i8], [89 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([90 x i8], [90 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.18, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.17 = [16 x i8] c"Build Date: %s\0A\00"
@.str.18 = [21 x i8] c"Mar 18 2022 12:04:32\00"
@str = [53 x i8] c"telemetrit type callsign receiver_callsign [content]\00"
@str.19 = [37 x i8] c"type = data,label,unit,coef,bitsense\00"
@str.20 = [19 x i8] c"\0Aexample for data:\00"
@str.21 = [88 x i8] c"\09telemetrit data NOCALL NOCALL-1 sequence_number A1 A2 A3 A4 A5 B1 B2 B3 B4 B5 B6 B7 B8\00"
@str.22 = [62 x i8] c"unwanted telemetry data can be omitted starting from the left\00"
@str.23 = [20 x i8] c"\0Aexample for label:\00"
@str.24 = [73 x i8] c"\09telemetrit label NOCALL NOCALL-1 A1 A2 A3 A4 A5 B1 B2 B3 B4 B5 B6 B7 B8\00"
@str.25 = [54 x i8] c"unwanted labels can be omitted starting from the left\00"
@str.26 = [19 x i8] c"\0Aexample for unit:\00"
@str.27 = [72 x i8] c"\09telemetrit unit NOCALL NOCALL-1 A1 A2 A3 A4 A5 B1 B2 B3 B4 B5 B6 B7 B8\00"
@str.28 = [53 x i8] c"unwanted units can be omitted starting from the left\00"
@str.29 = [19 x i8] c"\0Aexample for coef:\00"
@str.30 = [89 x i8] c"\09telemetrit coef NOCALL NOCALL-1 A1a A1b A1c A2a A2b A3a A3b A3c A4a A4b A4c A5a A5b A5c\00"
@str.31 = [81 x i8] c"unwanted coefficients can be omitted starting from the left, they'll be set to 0\00"
@str.32 = [23 x i8] c"\0Aexample for bitsense:\00"
@str.33 = [73 x i8] c"\09telemetrit bitsens NOCALL NOCALL-1 project_name B1 B2 B3 B4 B5 B6 B7 B8\00"
@str.34 = [82 x i8] c"unwanted coefficients can be omitted starting from the right, they'll be set to 0\00"
define void @usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.19, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.20, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([88 x i8], [88 x i8]* @str.21, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.22, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.23, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([73 x i8], [73 x i8]* @str.24, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.25, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.26, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.27, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.28, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.29, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([89 x i8], [89 x i8]* @str.30, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([81 x i8], [81 x i8]* @str.31, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.32, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([73 x i8], [73 x i8]* @str.33, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([82 x i8], [82 x i8]* @str.34, i64 0, i64 0))
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.18, i64 0, i64 0))
ret void
}