#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*/ BNCArbitrary();
int /*<<< orphan*/ BNCDigitDown();
int /*<<< orphan*/ BNCDigitLeft();
int /*<<< orphan*/ BNCDigitRight();
int /*<<< orphan*/ BNCDigitUp();
int /*<<< orphan*/ BNCDot();
int /*<<< orphan*/ BNCField();
int /*<<< orphan*/ BNCFieldLeft();
int /*<<< orphan*/ BNCFieldRight();
int /*<<< orphan*/ BNCFrontOnOff();
int /*<<< orphan*/ BNCFunction();
int /*<<< orphan*/ BNCHz();
int /*<<< orphan*/ BNCLCDEchoOnOff();
int /*<<< orphan*/ BNCMHz();
int /*<<< orphan*/ BNCMinus();
int /*<<< orphan*/ BNCMode();
int /*<<< orphan*/ BNCOffset();
int /*<<< orphan*/ BNCPulse();
int /*<<< orphan*/ BNCResetSine();
int /*<<< orphan*/ BNCSine();
int /*<<< orphan*/ BNCStatus();
int /*<<< orphan*/ BNCTrigger();
int /*<<< orphan*/ BNC_0();
int /*<<< orphan*/ BNC_1();
int /*<<< orphan*/ BNC_2();
int /*<<< orphan*/ BNC_3();
int /*<<< orphan*/ BNC_4();
int /*<<< orphan*/ BNC_5();
int /*<<< orphan*/ BNC_6();
int /*<<< orphan*/ BNC_7();
int /*<<< orphan*/ BNC_8();
int /*<<< orphan*/ BNC_9();
int /*<<< orphan*/ BNCkHz();
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ scanf(char *, int *);
int Manual() {
  int stat, command;
  char com1, data = 0xff;
  printf("0 -  Number 0 or power measure\n");
  printf("1 -  Number 1 or AM\n");
  printf("2 -  Number 2 or FM\n");
  printf("3 -  Number 3 or phase modulated\n");
  printf("4 -  Number 4 or sweep\n");
  printf("5 -  Number 5 or FSK\n");
  printf("6 -  Number 6 or burst\n");
  printf("7 -  Number 7 or SSB\n");
  printf("8 -  Number 8 or DTMF generator\n");
  printf("9 -  Number 9 or DTMF detection\n");
  printf("10 - MHz,   dBm \n");
  printf("11 - kHz,  Vp-p, Sec \n");
  printf("12 -  Hz, mvp-p,  ms\n");
  printf("13 - Offset \n");
  printf("14 - Trigger \n");
  printf("15 -  \n");
  printf("16 - decimal point or *  \n");
  printf("17 - - minus or # sign \n");
  printf("18 -  \n");
  printf("19 -  \n");
  printf("20 - Mode \n");
  printf("21 - Function \n");
  printf("22 - Sinewave \n");
  printf("23 - Pulse \n");
  printf("24 - Arbritary \n");
  printf("25 -  \n");
  printf("26 -  \n");
  printf("27 -  \n");
  printf("28 -  \n");
  printf("29 -  \n");
  printf("30 - reset to sinewave \n");
  printf("31 - \n");
  printf("32 - enable/disable front panel/knob (1/0) \n");
  printf("33 - enable/disable LCD echo to terminal (1/0) \n");
  printf("34 - \n");
  printf("35 - \n");
  printf("36 - \n");
  printf("37 - \n");
  printf("38 - Echo LCD terminal (1 = on, 0 = off) \n");
  printf("39 - \n");
  printf("40 - Move field left \n");
  printf("41 - Move field right \n");
  printf("42 - Move digit up \n");
  printf("43 - Move digit down \n");
  printf("44 - Move digit position left \n");
  printf("45 - Move digit position right \n");
  printf("46 - Field (couple with number 0-9) \n");
  printf("47 -  \n");
  printf("48 - Store or recall  \n");
  printf("49 - Clear or other \n");
  printf("\n");
  data = 0xff;
  printf("Enter the command ?\n");
  scanf("%i", &command);
  switch (command) {
  case 0:
    BNC_0();
    break;
  case 1:
    BNC_1();
    break;
  case 2:
    BNC_2();
    break;
  case 3:
    BNC_3();
    break;
  case 4:
    BNC_4();
    break;
  case 5:
    BNC_5();
    break;
  case 6:
    BNC_6();
    break;
  case 7:
    BNC_7();
    break;
  case 8:
    BNC_8();
    break;
  case 9:
    BNC_9();
    break;
  case 10:
    BNCMHz();
    break;
  case 11:
    BNCkHz();
    break;
  case 12:
    BNCHz();
    break;
  case 13:
    BNCOffset();
    break;
  case 14:
    BNCTrigger();
    break;
  case 16:
    BNCDot();
    break;
  case 17:
    BNCMinus();
    break;
  case 20:
    BNCMode();
    break;
  case 21:
    BNCFunction();
    break;
  case 22:
    BNCSine();
    break;
  case 23:
    BNCPulse();
    break;
  case 24:
    BNCArbitrary();
    break;
  case 30:
    BNCResetSine();
    break;
  case 32:
    BNCFrontOnOff();
    break;
  case 33:
    BNCLCDEchoOnOff();
    break;
  case 38:
    BNCStatus();
    break;
  case 40:
    BNCFieldLeft();
    break;
  case 41:
    BNCFieldRight();
    break;
  case 42:
    BNCDigitUp();
    break;
  case 43:
    BNCDigitDown();
    break;
  case 44:
    BNCDigitLeft();
    break;
  case 45:
    BNCDigitRight();
    break;
  case 46:
    BNCField();
    break;
  case 48:
    printf("not implemented\n");
    break;
  case 49:
    printf("not implemented\n");
    break;
  default:
    printf("Invalid command .... returning ....\n");
    break;
  }
  BNCStatus();
  return (stat);
}


x86 assembly (clang, -O0):
<Manual>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movb   $0xff,-0xa(%rbp)
lea    0xd85(%rip),%rdi
call   10a0 <printf@plt>
lea    0xd99(%rip),%rdi
call   10a0 <printf@plt>
lea    0xda2(%rip),%rdi
call   10a0 <printf@plt>
lea    0xdab(%rip),%rdi
call   10a0 <printf@plt>
lea    0xdc1(%rip),%rdi
call   10a0 <printf@plt>
lea    0xdcd(%rip),%rdi
call   10a0 <printf@plt>
lea    0xdd7(%rip),%rdi
call   10a0 <printf@plt>
lea    0xde3(%rip),%rdi
call   10a0 <printf@plt>
lea    0xded(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe02(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe17(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe1d(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe28(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe32(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe34(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe37(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe33(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe42(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe4f(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe4b(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe47(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe47(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe4b(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe4f(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe50(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe55(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe51(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe4d(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe49(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe45(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe41(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe4e(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe49(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe6a(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe8f(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe8a(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe85(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe80(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe7b(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe9a(%rip),%rdi
call   10a0 <printf@plt>
lea    0xe95(%rip),%rdi
call   10a0 <printf@plt>
lea    0xea0(%rip),%rdi
call   10a0 <printf@plt>
lea    0xeac(%rip),%rdi
call   10a0 <printf@plt>
lea    0xeb5(%rip),%rdi
call   10a0 <printf@plt>
lea    0xec0(%rip),%rdi
call   10a0 <printf@plt>
lea    0xed4(%rip),%rdi
call   10a0 <printf@plt>
lea    0xee9(%rip),%rdi
call   10a0 <printf@plt>
lea    0xf03(%rip),%rdi
call   10a0 <printf@plt>
lea    0xeff(%rip),%rdi
call   10a0 <printf@plt>
lea    0xf0b(%rip),%rdi
call   10a0 <printf@plt>
lea    0xcb4(%rip),%rdi
call   10a0 <printf@plt>
movb   $0xff,-0xa(%rbp)
lea    0xf05(%rip),%rdi
call   10a0 <printf@plt>
lea    0xf0e(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1170 <scanf@plt>
mov    -0x8(%rbp),%eax
mov    %rax,-0x18(%rbp)
sub    $0x31,%rax
ja     1793 <Manual+0x463>
mov    -0x18(%rbp),%rax
lea    0xa24(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    $0x0,%al
call   10e0 <BNC_0@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   11f0 <BNC_1@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   1100 <BNC_2@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   1210 <BNC_3@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   1110 <BNC_4@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   1240 <BNC_5@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   1130 <BNC_6@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   1250 <BNC_7@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   1120 <BNC_8@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   1230 <BNC_9@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   1040 <BNCMHz@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   10b0 <BNCkHz@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   1200 <BNCHz@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   11b0 <BNCOffset@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   1070 <BNCTrigger@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   1050 <BNCDot@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   10c0 <BNCMinus@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   1030 <BNCMode@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   11d0 <BNCFunction@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   1080 <BNCSine@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   1060 <BNCPulse@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   11c0 <BNCArbitrary@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   1140 <BNCResetSine@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   1160 <BNCFrontOnOff@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   11a0 <BNCLCDEchoOnOff@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   1190 <BNCStatus@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   1090 <BNCFieldLeft@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   10f0 <BNCFieldRight@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   1150 <BNCDigitUp@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   11e0 <BNCDigitDown@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   1220 <BNCDigitLeft@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   10d0 <BNCDigitRight@plt>
jmp    179f <Manual+0x46f>
mov    $0x0,%al
call   1180 <BNCField@plt>
jmp    179f <Manual+0x46f>
lea    0xd50(%rip),%rdi
call   10a0 <printf@plt>
jmp    179f <Manual+0x46f>
lea    0xd3f(%rip),%rdi
call   10a0 <printf@plt>
jmp    179f <Manual+0x46f>
lea    0xd3f(%rip),%rdi
call   10a0 <printf@plt>
mov    $0x0,%al
call   1190 <BNCStatus@plt>
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Manual>:
push   %rax
lea    0xd83(%rip),%rdi
call   1070 <puts@plt>
lea    0xd96(%rip),%rdi
call   1070 <puts@plt>
lea    0xd9e(%rip),%rdi
call   1070 <puts@plt>
lea    0xda6(%rip),%rdi
call   1070 <puts@plt>
lea    0xdbb(%rip),%rdi
call   1070 <puts@plt>
lea    0xdc6(%rip),%rdi
call   1070 <puts@plt>
lea    0xdcf(%rip),%rdi
call   1070 <puts@plt>
lea    0xdda(%rip),%rdi
call   1070 <puts@plt>
lea    0xde3(%rip),%rdi
call   1070 <puts@plt>
lea    0xdf7(%rip),%rdi
call   1070 <puts@plt>
lea    0xe0b(%rip),%rdi
call   1070 <puts@plt>
lea    0xe10(%rip),%rdi
call   1070 <puts@plt>
lea    0xe1a(%rip),%rdi
call   1070 <puts@plt>
lea    0xe23(%rip),%rdi
call   1070 <puts@plt>
lea    0xe24(%rip),%rdi
call   1070 <puts@plt>
lea    0xe26(%rip),%rdi
call   1070 <puts@plt>
lea    0xe21(%rip),%rdi
call   1070 <puts@plt>
lea    0xe2f(%rip),%rdi
call   1070 <puts@plt>
lea    0xe3b(%rip),%rdi
call   1070 <puts@plt>
lea    0xe36(%rip),%rdi
call   1070 <puts@plt>
lea    0xe31(%rip),%rdi
call   1070 <puts@plt>
lea    0xe30(%rip),%rdi
call   1070 <puts@plt>
lea    0xe33(%rip),%rdi
call   1070 <puts@plt>
lea    0xe36(%rip),%rdi
call   1070 <puts@plt>
lea    0xe36(%rip),%rdi
call   1070 <puts@plt>
lea    0xe3a(%rip),%rdi
call   1070 <puts@plt>
lea    0xe35(%rip),%rdi
call   1070 <puts@plt>
lea    0xe30(%rip),%rdi
call   1070 <puts@plt>
lea    0xe2b(%rip),%rdi
call   1070 <puts@plt>
lea    0xe26(%rip),%rdi
call   1070 <puts@plt>
lea    0xe21(%rip),%rdi
call   1070 <puts@plt>
lea    0xe2d(%rip),%rdi
call   1070 <puts@plt>
lea    0xe27(%rip),%rdi
call   1070 <puts@plt>
lea    0xe47(%rip),%rdi
call   1070 <puts@plt>
lea    0xe6b(%rip),%rdi
call   1070 <puts@plt>
lea    0xe65(%rip),%rdi
call   1070 <puts@plt>
lea    0xe5f(%rip),%rdi
call   1070 <puts@plt>
lea    0xe59(%rip),%rdi
call   1070 <puts@plt>
lea    0xe53(%rip),%rdi
call   1070 <puts@plt>
lea    0xe71(%rip),%rdi
call   1070 <puts@plt>
lea    0xe6b(%rip),%rdi
call   1070 <puts@plt>
lea    0xe75(%rip),%rdi
call   1070 <puts@plt>
lea    0xe80(%rip),%rdi
call   1070 <puts@plt>
lea    0xe88(%rip),%rdi
call   1070 <puts@plt>
lea    0xe92(%rip),%rdi
call   1070 <puts@plt>
lea    0xea5(%rip),%rdi
call   1070 <puts@plt>
lea    0xeb9(%rip),%rdi
call   1070 <puts@plt>
lea    0xed2(%rip),%rdi
call   1070 <puts@plt>
lea    0xecd(%rip),%rdi
call   1070 <puts@plt>
lea    0xed8(%rip),%rdi
call   1070 <puts@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
lea    0xed7(%rip),%rdi
call   1070 <puts@plt>
lea    0xb12(%rip),%rdi
lea    0x4(%rsp),%rsi
call   1180 <scanf@plt>
mov    0x4(%rsp),%eax
cmp    $0x31,%rax
ja     169e <Manual+0x35e>
lea    0xa2b(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xeb0(%rip),%rdi
jmp    16a5 <Manual+0x365>
xor    %eax,%eax
call   10f0 <BNC_0@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   1200 <BNC_1@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   1110 <BNC_2@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   1220 <BNC_3@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   1120 <BNC_4@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   1250 <BNC_5@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   1140 <BNC_6@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   1260 <BNC_7@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   1130 <BNC_8@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   1240 <BNC_9@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   1050 <BNCMHz@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   10c0 <BNCkHz@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   1210 <BNCHz@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   11c0 <BNCOffset@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   1090 <BNCTrigger@plt>
jmp    1758 <Manual+0x418>
lea    0xe00(%rip),%rdi
call   1070 <puts@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   1060 <BNCDot@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   10d0 <BNCMinus@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   1030 <BNCMode@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   11e0 <BNCFunction@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   10a0 <BNCSine@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   1080 <BNCPulse@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   11d0 <BNCArbitrary@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   1150 <BNCResetSine@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   1170 <BNCFrontOnOff@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   11b0 <BNCLCDEchoOnOff@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   11a0 <BNCStatus@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   10b0 <BNCFieldLeft@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   1100 <BNCFieldRight@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   1160 <BNCDigitUp@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   11f0 <BNCDigitDown@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   1230 <BNCDigitLeft@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   10e0 <BNCDigitRight@plt>
jmp    1758 <Manual+0x418>
xor    %eax,%eax
call   1190 <BNCField@plt>
xor    %eax,%eax
call   11a0 <BNCStatus@plt>
pop    %rcx
ret

LLVM IR (-O0):
@.str = [32 x i8] c"0 - Number 0 or power measure\0A\00"
@.str.1 = [21 x i8] c"1 - Number 1 or AM\0A\00"
@.str.2 = [21 x i8] c"2 - Number 2 or FM\0A\00"
@.str.3 = [34 x i8] c"3 - Number 3 or phase modulated\0A\00"
@.str.4 = [24 x i8] c"4 - Number 4 or sweep\0A\00"
@.str.5 = [22 x i8] c"5 - Number 5 or FSK\0A\00"
@.str.6 = [24 x i8] c"6 - Number 6 or burst\0A\00"
@.str.7 = [22 x i8] c"7 - Number 7 or SSB\0A\00"
@.str.8 = [33 x i8] c"8 - Number 8 or DTMF generator\0A\00"
@.str.9 = [33 x i8] c"9 - Number 9 or DTMF detection\0A\00"
@.str.10 = [18 x i8] c"10 - MHz, dBm \0A\00"
@.str.11 = [23 x i8] c"11 - kHz, Vp-p, Sec \0A\00"
@.str.12 = [22 x i8] c"12 - Hz, mvp-p, ms\0A\00"
@.str.13 = [14 x i8] c"13 - Offset \0A\00"
@.str.14 = [15 x i8] c"14 - Trigger \0A\00"
@.str.15 = [8 x i8] c"15 - \0A\00"
@.str.16 = [27 x i8] c"16 - decimal point or * \0A\00"
@.str.17 = [25 x i8] c"17 - - minus or # sign \0A\00"
@.str.18 = [8 x i8] c"18 - \0A\00"
@.str.19 = [8 x i8] c"19 - \0A\00"
@.str.20 = [12 x i8] c"20 - Mode \0A\00"
@.str.21 = [16 x i8] c"21 - Function \0A\00"
@.str.22 = [16 x i8] c"22 - Sinewave \0A\00"
@.str.23 = [13 x i8] c"23 - Pulse \0A\00"
@.str.24 = [17 x i8] c"24 - Arbritary \0A\00"
@.str.25 = [8 x i8] c"25 - \0A\00"
@.str.26 = [8 x i8] c"26 - \0A\00"
@.str.27 = [8 x i8] c"27 - \0A\00"
@.str.28 = [8 x i8] c"28 - \0A\00"
@.str.29 = [8 x i8] c"29 - \0A\00"
@.str.30 = [25 x i8] c"30 - reset to sinewave \0A\00"
@.str.31 = [7 x i8] c"31 - \0A\00"
@.str.32 = [45 x i8] c"32 - enable/disable front panel/knob (1/0) \0A\00"
@.str.33 = [49 x i8] c"33 - enable/disable LCD echo to terminal (1/0) \0A\00"
@.str.34 = [7 x i8] c"34 - \0A\00"
@.str.35 = [7 x i8] c"35 - \0A\00"
@.str.36 = [7 x i8] c"36 - \0A\00"
@.str.37 = [7 x i8] c"37 - \0A\00"
@.str.38 = [43 x i8] c"38 - Echo LCD terminal (1 = on, 0 = off) \0A\00"
@.str.39 = [7 x i8] c"39 - \0A\00"
@.str.40 = [23 x i8] c"40 - Move field left \0A\00"
@.str.41 = [24 x i8] c"41 - Move field right \0A\00"
@.str.42 = [21 x i8] c"42 - Move digit up \0A\00"
@.str.43 = [23 x i8] c"43 - Move digit down \0A\00"
@.str.44 = [32 x i8] c"44 - Move digit position left \0A\00"
@.str.45 = [33 x i8] c"45 - Move digit position right \0A\00"
@.str.46 = [38 x i8] c"46 - Field (couple with number 0-9) \0A\00"
@.str.47 = [8 x i8] c"47 - \0A\00"
@.str.48 = [24 x i8] c"48 - Store or recall \0A\00"
@.str.49 = [22 x i8] c"49 - Clear or other \0A\00"
@.str.50 = [2 x i8] c"\0A\00"
@.str.51 = [21 x i8] c"Enter the command ?\0A\00"
@.str.52 = [3 x i8] c"%i\00"
@.str.53 = [17 x i8] c"not implemented\0A\00"
@.str.54 = [37 x i8] c"Invalid command .... returning ....\0A\00"
define i32 @Manual() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i8
%4 = alloca i8
store i8 -1, i8* %4
%5 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.1, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.3, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.4, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.6, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.7, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.8, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.10, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.11, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.12, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.13, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.14, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.15, i64 0, i64 0))
%21 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.16, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.17, i64 0, i64 0))
%23 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.18, i64 0, i64 0))
%24 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.19, i64 0, i64 0))
%25 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.20, i64 0, i64 0))
%26 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.21, i64 0, i64 0))
%27 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.22, i64 0, i64 0))
%28 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.23, i64 0, i64 0))
%29 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.24, i64 0, i64 0))
%30 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.25, i64 0, i64 0))
%31 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.26, i64 0, i64 0))
%32 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.27, i64 0, i64 0))
%33 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.28, i64 0, i64 0))
%34 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.29, i64 0, i64 0))
%35 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.30, i64 0, i64 0))
%36 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.31, i64 0, i64 0))
%37 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.32, i64 0, i64 0))
%38 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.33, i64 0, i64 0))
%39 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.34, i64 0, i64 0))
%40 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.35, i64 0, i64 0))
%41 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.36, i64 0, i64 0))
%42 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.37, i64 0, i64 0))
%43 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.38, i64 0, i64 0))
%44 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.39, i64 0, i64 0))
%45 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.40, i64 0, i64 0))
%46 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.41, i64 0, i64 0))
%47 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.42, i64 0, i64 0))
%48 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.43, i64 0, i64 0))
%49 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.44, i64 0, i64 0))
%50 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.45, i64 0, i64 0))
%51 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.46, i64 0, i64 0))
%52 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.47, i64 0, i64 0))
%53 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.48, i64 0, i64 0))
%54 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.49, i64 0, i64 0))
%55 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.50, i64 0, i64 0))
store i8 -1, i8* %4
%56 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.51, i64 0, i64 0))
%57 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.52, i64 0, i64 0), i32* %2)
%58 = load i32, i32* %2
switch i32 %58, label %129 [
i32 0, label %59
i32 1, label %61
i32 2, label %63
i32 3, label %65
i32 4, label %67
i32 5, label %69
i32 6, label %71
i32 7, label %73
i32 8, label %75
i32 9, label %77
i32 10, label %79
i32 11, label %81
i32 12, label %83
i32 13, label %85
i32 14, label %87
i32 16, label %89
i32 17, label %91
i32 20, label %93
i32 21, label %95
i32 22, label %97
i32 23, label %99
i32 24, label %101
i32 30, label %103
i32 32, label %105
i32 33, label %107
i32 38, label %109
i32 40, label %111
i32 41, label %113
i32 42, label %115
i32 43, label %117
i32 44, label %119
i32 45, label %121
i32 46, label %123
i32 48, label %125
i32 49, label %127
]
59: ; preds = %0
%60 = call i32 (...) @BNC_0()
br label %131
61: ; preds = %0
%62 = call i32 (...) @BNC_1()
br label %131
63: ; preds = %0
%64 = call i32 (...) @BNC_2()
br label %131
65: ; preds = %0
%66 = call i32 (...) @BNC_3()
br label %131
67: ; preds = %0
%68 = call i32 (...) @BNC_4()
br label %131
69: ; preds = %0
%70 = call i32 (...) @BNC_5()
br label %131
71: ; preds = %0
%72 = call i32 (...) @BNC_6()
br label %131
73: ; preds = %0
%74 = call i32 (...) @BNC_7()
br label %131
75: ; preds = %0
%76 = call i32 (...) @BNC_8()
br label %131
77: ; preds = %0
%78 = call i32 (...) @BNC_9()
br label %131
79: ; preds = %0
%80 = call i32 (...) @BNCMHz()
br label %131
81: ; preds = %0
%82 = call i32 (...) @BNCkHz()
br label %131
83: ; preds = %0
%84 = call i32 (...) @BNCHz()
br label %131
85: ; preds = %0
%86 = call i32 (...) @BNCOffset()
br label %131
87: ; preds = %0
%88 = call i32 (...) @BNCTrigger()
br label %131
89: ; preds = %0
%90 = call i32 (...) @BNCDot()
br label %131
91: ; preds = %0
%92 = call i32 (...) @BNCMinus()
br label %131
93: ; preds = %0
%94 = call i32 (...) @BNCMode()
br label %131
95: ; preds = %0
%96 = call i32 (...) @BNCFunction()
br label %131
97: ; preds = %0
%98 = call i32 (...) @BNCSine()
br label %131
99: ; preds = %0
%100 = call i32 (...) @BNCPulse()
br label %131
101: ; preds = %0
%102 = call i32 (...) @BNCArbitrary()
br label %131
103: ; preds = %0
%104 = call i32 (...) @BNCResetSine()
br label %131
105: ; preds = %0
%106 = call i32 (...) @BNCFrontOnOff()
br label %131
107: ; preds = %0
%108 = call i32 (...) @BNCLCDEchoOnOff()
br label %131
109: ; preds = %0
%110 = call i32 (...) @BNCStatus()
br label %131
111: ; preds = %0
%112 = call i32 (...) @BNCFieldLeft()
br label %131
113: ; preds = %0
%114 = call i32 (...) @BNCFieldRight()
br label %131
115: ; preds = %0
%116 = call i32 (...) @BNCDigitUp()
br label %131
117: ; preds = %0
%118 = call i32 (...) @BNCDigitDown()
br label %131
119: ; preds = %0
%120 = call i32 (...) @BNCDigitLeft()
br label %131
121: ; preds = %0
%122 = call i32 (...) @BNCDigitRight()
br label %131
123: ; preds = %0
%124 = call i32 (...) @BNCField()
br label %131
125: ; preds = %0
%126 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.53, i64 0, i64 0))
br label %131
127: ; preds = %0
%128 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.53, i64 0, i64 0))
br label %131
129: ; preds = %0
%130 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.54, i64 0, i64 0))
br label %131
131: ; preds = %129, %127, %125, %123, %121, %119, %117, %115, %113, %111, %109, %107, %105, %103, %101, %99, %97, %95, %93, %91, %89, %87, %85, %83, %81, %79, %77, %75, %73, %71, %69, %67, %65, %63, %61, %59
%132 = call i32 (...) @BNCStatus()
%133 = load i32, i32* %1
ret i32 %133
}

LLVM IR (-O2):
@.str.52 = [3 x i8] c"%i\00"
@str = [31 x i8] c"0 - Number 0 or power measure\00"
@str.55 = [20 x i8] c"1 - Number 1 or AM\00"
@str.56 = [20 x i8] c"2 - Number 2 or FM\00"
@str.57 = [33 x i8] c"3 - Number 3 or phase modulated\00"
@str.58 = [23 x i8] c"4 - Number 4 or sweep\00"
@str.59 = [21 x i8] c"5 - Number 5 or FSK\00"
@str.60 = [23 x i8] c"6 - Number 6 or burst\00"
@str.61 = [21 x i8] c"7 - Number 7 or SSB\00"
@str.62 = [32 x i8] c"8 - Number 8 or DTMF generator\00"
@str.63 = [32 x i8] c"9 - Number 9 or DTMF detection\00"
@str.64 = [17 x i8] c"10 - MHz, dBm \00"
@str.65 = [22 x i8] c"11 - kHz, Vp-p, Sec \00"
@str.66 = [21 x i8] c"12 - Hz, mvp-p, ms\00"
@str.67 = [13 x i8] c"13 - Offset \00"
@str.68 = [14 x i8] c"14 - Trigger \00"
@str.69 = [7 x i8] c"15 - \00"
@str.70 = [26 x i8] c"16 - decimal point or * \00"
@str.71 = [24 x i8] c"17 - - minus or # sign \00"
@str.72 = [7 x i8] c"18 - \00"
@str.73 = [7 x i8] c"19 - \00"
@str.74 = [11 x i8] c"20 - Mode \00"
@str.75 = [15 x i8] c"21 - Function \00"
@str.76 = [15 x i8] c"22 - Sinewave \00"
@str.77 = [12 x i8] c"23 - Pulse \00"
@str.78 = [16 x i8] c"24 - Arbritary \00"
@str.79 = [7 x i8] c"25 - \00"
@str.80 = [7 x i8] c"26 - \00"
@str.81 = [7 x i8] c"27 - \00"
@str.82 = [7 x i8] c"28 - \00"
@str.83 = [7 x i8] c"29 - \00"
@str.84 = [24 x i8] c"30 - reset to sinewave \00"
@str.85 = [6 x i8] c"31 - \00"
@str.86 = [44 x i8] c"32 - enable/disable front panel/knob (1/0) \00"
@str.87 = [48 x i8] c"33 - enable/disable LCD echo to terminal (1/0) \00"
@str.88 = [6 x i8] c"34 - \00"
@str.89 = [6 x i8] c"35 - \00"
@str.90 = [6 x i8] c"36 - \00"
@str.91 = [6 x i8] c"37 - \00"
@str.92 = [42 x i8] c"38 - Echo LCD terminal (1 = on, 0 = off) \00"
@str.93 = [6 x i8] c"39 - \00"
@str.94 = [22 x i8] c"40 - Move field left \00"
@str.95 = [23 x i8] c"41 - Move field right \00"
@str.96 = [20 x i8] c"42 - Move digit up \00"
@str.97 = [22 x i8] c"43 - Move digit down \00"
@str.98 = [31 x i8] c"44 - Move digit position left \00"
@str.99 = [32 x i8] c"45 - Move digit position right \00"
@str.100 = [37 x i8] c"46 - Field (couple with number 0-9) \00"
@str.101 = [7 x i8] c"47 - \00"
@str.102 = [23 x i8] c"48 - Store or recall \00"
@str.103 = [21 x i8] c"49 - Clear or other \00"
@str.104 = [20 x i8] c"Enter the command ?\00"
@str.106 = [16 x i8] c"not implemented\00"
@str.107 = [36 x i8] c"Invalid command .... returning ....\00"
define i32 @Manual() {
%1 = alloca i32
%2 = bitcast i32* %1 to i8*
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.55, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.56, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.57, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.58, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.59, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.60, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.61, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.62, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.63, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.64, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.65, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.66, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @str.67, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str.68, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.69, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.70, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.71, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.72, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.73, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.74, i64 0, i64 0))
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.75, i64 0, i64 0))
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.76, i64 0, i64 0))
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str.77, i64 0, i64 0))
%27 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.78, i64 0, i64 0))
%28 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.79, i64 0, i64 0))
%29 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.80, i64 0, i64 0))
%30 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.81, i64 0, i64 0))
%31 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.82, i64 0, i64 0))
%32 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.83, i64 0, i64 0))
%33 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.84, i64 0, i64 0))
%34 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.85, i64 0, i64 0))
%35 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.86, i64 0, i64 0))
%36 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.87, i64 0, i64 0))
%37 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.88, i64 0, i64 0))
%38 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.89, i64 0, i64 0))
%39 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.90, i64 0, i64 0))
%40 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.91, i64 0, i64 0))
%41 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.92, i64 0, i64 0))
%42 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.93, i64 0, i64 0))
%43 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.94, i64 0, i64 0))
%44 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.95, i64 0, i64 0))
%45 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.96, i64 0, i64 0))
%46 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.97, i64 0, i64 0))
%47 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.98, i64 0, i64 0))
%48 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.99, i64 0, i64 0))
%49 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.100, i64 0, i64 0))
%50 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.101, i64 0, i64 0))
%51 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.102, i64 0, i64 0))
%52 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.103, i64 0, i64 0))
%53 = tail call i32 @putchar(i32 10)
%54 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.104, i64 0, i64 0))
%55 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.52, i64 0, i64 0), i32* %1)
%56 = load i32, i32* %1
switch i32 %56, label %127 [
i32 0, label %57
i32 1, label %59
i32 2, label %61
i32 3, label %63
i32 4, label %65
i32 5, label %67
i32 6, label %69
i32 7, label %71
i32 8, label %73
i32 9, label %75
i32 10, label %77
i32 11, label %79
i32 12, label %81
i32 13, label %83
i32 14, label %85
i32 16, label %87
i32 17, label %89
i32 20, label %91
i32 21, label %93
i32 22, label %95
i32 23, label %97
i32 24, label %99
i32 30, label %101
i32 32, label %103
i32 33, label %105
i32 38, label %107
i32 40, label %109
i32 41, label %111
i32 42, label %113
i32 43, label %115
i32 44, label %117
i32 45, label %119
i32 46, label %121
i32 48, label %123
i32 49, label %125
]
57: ; preds = %0
%58 = call i32 (...) @BNC_0()
br label %129
59: ; preds = %0
%60 = call i32 (...) @BNC_1()
br label %129
61: ; preds = %0
%62 = call i32 (...) @BNC_2()
br label %129
63: ; preds = %0
%64 = call i32 (...) @BNC_3()
br label %129
65: ; preds = %0
%66 = call i32 (...) @BNC_4()
br label %129
67: ; preds = %0
%68 = call i32 (...) @BNC_5()
br label %129
69: ; preds = %0
%70 = call i32 (...) @BNC_6()
br label %129
71: ; preds = %0
%72 = call i32 (...) @BNC_7()
br label %129
73: ; preds = %0
%74 = call i32 (...) @BNC_8()
br label %129
75: ; preds = %0
%76 = call i32 (...) @BNC_9()
br label %129
77: ; preds = %0
%78 = call i32 (...) @BNCMHz()
br label %129
79: ; preds = %0
%80 = call i32 (...) @BNCkHz()
br label %129
81: ; preds = %0
%82 = call i32 (...) @BNCHz()
br label %129
83: ; preds = %0
%84 = call i32 (...) @BNCOffset()
br label %129
85: ; preds = %0
%86 = call i32 (...) @BNCTrigger()
br label %129
87: ; preds = %0
%88 = call i32 (...) @BNCDot()
br label %129
89: ; preds = %0
%90 = call i32 (...) @BNCMinus()
br label %129
91: ; preds = %0
%92 = call i32 (...) @BNCMode()
br label %129
93: ; preds = %0
%94 = call i32 (...) @BNCFunction()
br label %129
95: ; preds = %0
%96 = call i32 (...) @BNCSine()
br label %129
97: ; preds = %0
%98 = call i32 (...) @BNCPulse()
br label %129
99: ; preds = %0
%100 = call i32 (...) @BNCArbitrary()
br label %129
101: ; preds = %0
%102 = call i32 (...) @BNCResetSine()
br label %129
103: ; preds = %0
%104 = call i32 (...) @BNCFrontOnOff()
br label %129
105: ; preds = %0
%106 = call i32 (...) @BNCLCDEchoOnOff()
br label %129
107: ; preds = %0
%108 = call i32 (...) @BNCStatus()
br label %129
109: ; preds = %0
%110 = call i32 (...) @BNCFieldLeft()
br label %129
111: ; preds = %0
%112 = call i32 (...) @BNCFieldRight()
br label %129
113: ; preds = %0
%114 = call i32 (...) @BNCDigitUp()
br label %129
115: ; preds = %0
%116 = call i32 (...) @BNCDigitDown()
br label %129
117: ; preds = %0
%118 = call i32 (...) @BNCDigitLeft()
br label %129
119: ; preds = %0
%120 = call i32 (...) @BNCDigitRight()
br label %129
121: ; preds = %0
%122 = call i32 (...) @BNCField()
br label %129
123: ; preds = %0
%124 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.106, i64 0, i64 0))
br label %129
125: ; preds = %0
%126 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.106, i64 0, i64 0))
br label %129
127: ; preds = %0
%128 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.107, i64 0, i64 0))
br label %129
129: ; preds = %127, %125, %123, %121, %119, %117, %115, %113, %111, %109, %107, %105, %103, %101, %99, %97, %95, %93, %91, %89, %87, %85, %83, %81, %79, %77, %75, %73, %71, %69, %67, %65, %63, %61, %59, %57
%130 = call i32 (...) @BNCStatus()
ret i32 undef
}