#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);
int /*<<< orphan*/ printf(char *);
void show_fwids(void) {
  printf("List of known firmware identifiers:\n");
  printf("Manufacturer\t\tProduct\t\tIdentifier\n");
  printf("=====================================================\n");
  printf("Conceptronic\t\tCHD2WLANU\tLLM_RUS001\n");
  printf("Pearl\t\t\tPE6643\t\tQueen\n");
  printf("Micronica\t\tMGB100\t\tQueen\n");
  printf("LevelOne\t\tWAP-0007\tDDC_RUS001\n");
  printf("SMC\t\t\tWAPS-G\t\tSMC_RUS001\n");
  printf("OvisLink (AirLive)\tWMU-6\t\tOVS_RUS001\n");
  printf("SafeCom SWSAPUR-5\tFMW\t\tSafeco_RPS001\n");
  exit(1);
}


x86 assembly (clang, -O0):
<show_fwids>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
lea    0xeee(%rip),%rdi
call   1030 <printf@plt>
lea    0xf05(%rip),%rdi
call   1030 <printf@plt>
lea    0xf30(%rip),%rdi
call   1030 <printf@plt>
lea    0xf48(%rip),%rdi
call   1030 <printf@plt>
lea    0xf53(%rip),%rdi
call   1030 <printf@plt>
lea    0xf61(%rip),%rdi
call   1030 <printf@plt>
lea    0xf74(%rip),%rdi
call   1030 <printf@plt>
lea    0xf82(%rip),%rdi
call   1030 <printf@plt>
lea    0xf9c(%rip),%rdi
call   1030 <printf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<show_fwids>:
push   %rax
lea    0xed8(%rip),%rdi
call   1030 <puts@plt>
lea    0xef0(%rip),%rdi
call   1030 <puts@plt>
lea    0xf06(%rip),%rdi
call   1030 <puts@plt>
lea    0xf30(%rip),%rdi
call   1030 <puts@plt>
lea    0xf47(%rip),%rdi
call   1030 <puts@plt>
lea    0xf51(%rip),%rdi
call   1030 <puts@plt>
lea    0xf5e(%rip),%rdi
call   1030 <puts@plt>
lea    0xf70(%rip),%rdi
call   1030 <puts@plt>
lea    0xf7d(%rip),%rdi
call   1030 <puts@plt>
lea    0xf96(%rip),%rdi
call   1030 <puts@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@.str = [37 x i8] c"List of known firmware identifiers:\0A\00"
@.str.1 = [35 x i8] c"Manufacturer\09\09Product\09\09Identifier\0A\00"
@.str.2 = [55 x i8] c"=====================================================\0A\00"
@.str.3 = [36 x i8] c"Conceptronic\09\09CHD2WLANU\09LLM_RUS001\0A\00"
@.str.4 = [23 x i8] c"Pearl\09\09\09PE6643\09\09Queen\0A\00"
@.str.5 = [26 x i8] c"Micronica\09\09MGB100\09\09Queen\0A\00"
@.str.6 = [31 x i8] c"LevelOne\09\09WAP-0007\09DDC_RUS001\0A\00"
@.str.7 = [26 x i8] c"SMC\09\09\09WAPS-G\09\09SMC_RUS001\0A\00"
@.str.8 = [38 x i8] c"OvisLink (AirLive)\09WMU-6\09\09OVS_RUS001\0A\00"
@.str.9 = [38 x i8] c"SafeCom SWSAPUR-5\09FMW\09\09Safeco_RPS001\0A\00"
define void @show_fwids() {
%1 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @exit(i32 1)
unreachable
}

LLVM IR (-O2):
@str = [36 x i8] c"List of known firmware identifiers:\00"
@str.10 = [34 x i8] c"Manufacturer\09\09Product\09\09Identifier\00"
@str.11 = [54 x i8] c"=====================================================\00"
@str.12 = [35 x i8] c"Conceptronic\09\09CHD2WLANU\09LLM_RUS001\00"
@str.13 = [22 x i8] c"Pearl\09\09\09PE6643\09\09Queen\00"
@str.14 = [25 x i8] c"Micronica\09\09MGB100\09\09Queen\00"
@str.15 = [30 x i8] c"LevelOne\09\09WAP-0007\09DDC_RUS001\00"
@str.16 = [25 x i8] c"SMC\09\09\09WAPS-G\09\09SMC_RUS001\00"
@str.17 = [37 x i8] c"OvisLink (AirLive)\09WMU-6\09\09OVS_RUS001\00"
@str.18 = [37 x i8] c"SafeCom SWSAPUR-5\09FMW\09\09Safeco_RPS001\00"
define void @show_fwids() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.10, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.11, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.12, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.13, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.14, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.15, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.16, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.17, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.18, i64 0, i64 0))
%11 = tail call i32 @exit(i32 1)
unreachable
}