#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*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ stderr;
void fec_license(void) {
  fprintf(
      stderr,
      "   wifibroadcast and its FEC code are free software\n"
      "\n"
      "   you can redistribute wifibroadcast core functionality and/or\n"
      "   it them under the terms of the GNU General Public License as\n"
      "   published by the Free Software Foundation; either version 2 of\n"
      "   the License.\n"
      "\n"
      "   This program is distributed in the hope that it will be useful,\n"
      "   but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
      "   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n"
      "   GNU General Public License for more details.\n"
      "\n"
      "   You should have received a copy of the GNU General Public License\n"
      "   along with this program; see the file COPYING.\n"
      "   If not, write to the Free Software Foundation, Inc.,\n"
      "   59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
      "\n"
      "the FEC code is covered by the following license:\n"
      "fec.c -- forward error correction based on Vandermonde matrices\n"
      "980624\n"
      "(C) 1997-98 Luigi Rizzo (luigi@iet.unipi.it)\n"
      "(C) 2001 Alain Knaff (alain@knaff.lu)\n"
      "\n"
      "Portions derived from code by Phil Karn (karn@ka9q.ampr.org),\n"
      "Robert Morelos-Zaragoza (robert@spectra.eng.hawaii.edu) and Hari\n"
      "Thirumoorthy (harit@spectra.eng.hawaii.edu), Aug 1995\n"
      "\n"
      "Redistribution and use in source and binary forms, with or without\n"
      "modification, are permitted provided that the following conditions\n"
      "are met:\n"
      "\n"
      "1. Redistributions of source code must retain the above copyright\n"
      "   notice, this list of conditions and the following disclaimer.\n"
      "2. Redistributions in binary form must reproduce the above\n"
      "   copyright notice, this list of conditions and the following\n"
      "   disclaimer in the documentation and/or other materials\n"
      "   provided with the distribution.\n"
      "\n"
      "THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND\n"
      "ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\n"
      "THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n"
      "PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS\n"
      "BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n"
      "OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n"
      "PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,\n"
      "OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n"
      "THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n"
      "TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n"
      "OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\n"
      "OF SUCH DAMAGE.\n");
  exit(0);
}


x86 assembly (clang, -O0):
<fec_license>:
push   %rbp
mov    %rsp,%rbp
mov    0x2eb5(%rip),%rax
mov    (%rax),%edi
lea    0xecc(%rip),%rsi
call   1030 <fprintf@plt>
xor    %edi,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<fec_license>:
push   %rax
mov    0x2eb8(%rip),%rax
mov    (%rax),%edi
lea    0xecf(%rip),%rsi
call   1030 <fprintf@plt>
xor    %edi,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [2332 x i8] c" wifibroadcast and its FEC code are free software\0A\0A you can redistribute wifibroadcast core functionality and/or\0A it them under the terms of the GNU General Public License as\0A published by the Free Software Foundation; either version 2 of\0A the License.\0A\0A This program is distributed in the hope that it will be useful,\0A but WITHOUT ANY WARRANTY; without even the implied warranty of\0A MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\0A GNU General Public License for more details.\0A\0A You should have received a copy of the GNU General Public License\0A along with this program; see the file COPYING.\0A If not, write to the Free Software Foundation, Inc.,\0A 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\0A\0Athe FEC code is covered by the following license:\0Afec.c -- forward error correction based on Vandermonde matrices\0A980624\0A(C) 1997-98 Luigi Rizzo (luigi@iet.unipi.it)\0A(C) 2001 Alain Knaff (alain@knaff.lu)\0A\0APortions derived from code by Phil Karn (karn@ka9q.ampr.org),\0ARobert Morelos-Zaragoza (robert@spectra.eng.hawaii.edu) and Hari\0AThirumoorthy (harit@spectra.eng.hawaii.edu), Aug 1995\0A\0ARedistribution and use in source and binary forms, with or without\0Amodification, are permitted provided that the following conditions\0Aare met:\0A\0A1. Redistributions of source code must retain the above copyright\0A notice, this list of conditions and the following disclaimer.\0A2. Redistributions in binary form must reproduce the above\0A copyright notice, this list of conditions and the following\0A disclaimer in the documentation and/or other materials\0A provided with the distribution.\0A\0ATHIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND\0AANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\0ATHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\0APARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS\0ABE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\0AOR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\0APROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,\0AOR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\0ATHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\0ATORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\0AOF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\0AOF SUCH DAMAGE.\0A\00"
define void @fec_license() {
%1 = load i32, i32* @stderr
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([2332 x i8], [2332 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [2332 x i8] c" wifibroadcast and its FEC code are free software\0A\0A you can redistribute wifibroadcast core functionality and/or\0A it them under the terms of the GNU General Public License as\0A published by the Free Software Foundation; either version 2 of\0A the License.\0A\0A This program is distributed in the hope that it will be useful,\0A but WITHOUT ANY WARRANTY; without even the implied warranty of\0A MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\0A GNU General Public License for more details.\0A\0A You should have received a copy of the GNU General Public License\0A along with this program; see the file COPYING.\0A If not, write to the Free Software Foundation, Inc.,\0A 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\0A\0Athe FEC code is covered by the following license:\0Afec.c -- forward error correction based on Vandermonde matrices\0A980624\0A(C) 1997-98 Luigi Rizzo (luigi@iet.unipi.it)\0A(C) 2001 Alain Knaff (alain@knaff.lu)\0A\0APortions derived from code by Phil Karn (karn@ka9q.ampr.org),\0ARobert Morelos-Zaragoza (robert@spectra.eng.hawaii.edu) and Hari\0AThirumoorthy (harit@spectra.eng.hawaii.edu), Aug 1995\0A\0ARedistribution and use in source and binary forms, with or without\0Amodification, are permitted provided that the following conditions\0Aare met:\0A\0A1. Redistributions of source code must retain the above copyright\0A notice, this list of conditions and the following disclaimer.\0A2. Redistributions in binary form must reproduce the above\0A copyright notice, this list of conditions and the following\0A disclaimer in the documentation and/or other materials\0A provided with the distribution.\0A\0ATHIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND\0AANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\0ATHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\0APARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS\0ABE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\0AOR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\0APROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,\0AOR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\0ATHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\0ATORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\0AOF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\0AOF SUCH DAMAGE.\0A\00"
define void @fec_license() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([2332 x i8], [2332 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 @exit(i32 0)
unreachable
}