#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 */
typedef unsigned long long macaddr;
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ snprintf(char *, int, char *, unsigned long long);
int /*<<< orphan*/ writebssidmd5(int /*<<< orphan*/ *, unsigned long long);
int /*<<< orphan*/ writebssidwps(int /*<<< orphan*/ *, unsigned long long);
int /*<<< orphan*/ writepsk(int /*<<< orphan*/ *, char *);
void writebssid(FILE *fhout, unsigned long long int macaddr) {
  static char pskstring[64] = {};
  snprintf(pskstring, 64, "0%012llx", macaddr);
  writepsk(fhout, pskstring);
  snprintf(pskstring, 64, "2%012llx", macaddr);
  writepsk(fhout, pskstring);
  snprintf(pskstring, 64, "m%012llx", macaddr);
  writepsk(fhout, pskstring);
  snprintf(pskstring, 64, "555A5053%08llX", macaddr & 0xffffffff);
  writepsk(fhout, pskstring);
  snprintf(pskstring, 64, "8747%06llx", macaddr & 0xffffff);
  writepsk(fhout, pskstring);
  snprintf(pskstring, 64, "%012llx", macaddr);
  writepsk(fhout, pskstring);
  snprintf(pskstring, 64, "%011llx", macaddr & 0xfffffffffff);
  writepsk(fhout, pskstring);
  snprintf(pskstring, 64, "%010llx", macaddr & 0xffffffffff);
  writepsk(fhout, pskstring);
  snprintf(pskstring, 64, "%09llx", macaddr & 0xfffffffff);
  writepsk(fhout, pskstring);
  snprintf(pskstring, 64, "%08llx", macaddr & 0xffffffff);
  writepsk(fhout, pskstring);
  snprintf(pskstring, 64, "%011llx", (macaddr >> 4) & 0xfffffffffff);
  writepsk(fhout, pskstring);
  snprintf(pskstring, 64, "%010llx", (macaddr >> 8) & 0xffffffffff);
  writepsk(fhout, pskstring);
  snprintf(pskstring, 64, "%09llx", (macaddr >> 12) & 0xfffffffff);
  writepsk(fhout, pskstring);
  snprintf(pskstring, 64, "%08llx", (macaddr >> 16) & 0xffffffff);
  writepsk(fhout, pskstring);
  snprintf(pskstring, 64, "%010lld", (macaddr)&0xffffff);
  writepsk(fhout, pskstring);
  writebssidmd5(fhout, macaddr);
  writebssidwps(fhout, macaddr);
  return;
}


x86 assembly (clang, -O0):
<writebssid>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x10(%rbp),%rcx
lea    0x2ef5(%rip),%rdi
mov    $0x40,%esi
lea    0xe99(%rip),%rdx
call   1040 <snprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x2ed9(%rip),%rsi
call   1050 <writepsk@plt>
mov    -0x10(%rbp),%rcx
lea    0x2ec9(%rip),%rdi
mov    $0x40,%esi
lea    0xe76(%rip),%rdx
call   1040 <snprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x2ead(%rip),%rsi
call   1050 <writepsk@plt>
mov    -0x10(%rbp),%rcx
lea    0x2e9d(%rip),%rdi
mov    $0x40,%esi
lea    0xe53(%rip),%rdx
call   1040 <snprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x2e81(%rip),%rsi
call   1050 <writepsk@plt>
movabs $0xffffffff,%rcx
and    -0x10(%rbp),%rcx
lea    0x2e67(%rip),%rdi
mov    $0x40,%esi
lea    0xe26(%rip),%rdx
call   1040 <snprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x2e4b(%rip),%rsi
call   1050 <writepsk@plt>
mov    -0x10(%rbp),%rcx
and    $0xffffff,%rcx
lea    0x2e34(%rip),%rdi
mov    $0x40,%esi
lea    0xe02(%rip),%rdx
call   1040 <snprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x2e18(%rip),%rsi
call   1050 <writepsk@plt>
mov    -0x10(%rbp),%rcx
lea    0x2e08(%rip),%rdi
mov    $0x40,%esi
lea    0xdad(%rip),%rdx
call   1040 <snprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x2dec(%rip),%rsi
call   1050 <writepsk@plt>
movabs $0xfffffffffff,%rcx
and    -0x10(%rbp),%rcx
lea    0x2dd2(%rip),%rdi
mov    $0x40,%esi
lea    0xdab(%rip),%rdx
call   1040 <snprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x2db6(%rip),%rsi
call   1050 <writepsk@plt>
movabs $0xffffffffff,%rcx
and    -0x10(%rbp),%rcx
lea    0x2d9c(%rip),%rdi
mov    $0x40,%esi
lea    0xd7d(%rip),%rdx
call   1040 <snprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x2d80(%rip),%rsi
call   1050 <writepsk@plt>
movabs $0xfffffffff,%rcx
and    -0x10(%rbp),%rcx
lea    0x2d66(%rip),%rdi
mov    $0x40,%esi
lea    0xd4f(%rip),%rdx
call   1040 <snprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x2d4a(%rip),%rsi
call   1050 <writepsk@plt>
movabs $0xffffffff,%rcx
and    -0x10(%rbp),%rcx
lea    0x2d30(%rip),%rdi
mov    $0x40,%esi
lea    0xd20(%rip),%rdx
call   1040 <snprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x2d14(%rip),%rsi
call   1050 <writepsk@plt>
mov    -0x10(%rbp),%rcx
shr    $0x4,%rcx
movabs $0xfffffffffff,%rax
and    %rax,%rcx
lea    0x2cf3(%rip),%rdi
mov    $0x40,%esi
lea    0xccc(%rip),%rdx
call   1040 <snprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x2cd7(%rip),%rsi
call   1050 <writepsk@plt>
mov    -0x10(%rbp),%rcx
shr    $0x8,%rcx
movabs $0xffffffffff,%rax
and    %rax,%rcx
lea    0x2cb6(%rip),%rdi
mov    $0x40,%esi
lea    0xc97(%rip),%rdx
call   1040 <snprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x2c9a(%rip),%rsi
call   1050 <writepsk@plt>
mov    -0x10(%rbp),%rcx
shr    $0xc,%rcx
movabs $0xfffffffff,%rax
and    %rax,%rcx
lea    0x2c79(%rip),%rdi
mov    $0x40,%esi
lea    0xc62(%rip),%rdx
call   1040 <snprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x2c5d(%rip),%rsi
call   1050 <writepsk@plt>
mov    -0x10(%rbp),%rcx
shr    $0x10,%rcx
movabs $0xffffffff,%rax
and    %rax,%rcx
lea    0x2c3c(%rip),%rdi
mov    $0x40,%esi
lea    0xc2c(%rip),%rdx
call   1040 <snprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x2c20(%rip),%rsi
call   1050 <writepsk@plt>
mov    -0x10(%rbp),%rcx
and    $0xffffff,%rcx
lea    0x2c09(%rip),%rdi
mov    $0x40,%esi
lea    0xc00(%rip),%rdx
call   1040 <snprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x2bed(%rip),%rsi
call   1050 <writepsk@plt>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   1060 <writebssidmd5@plt>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   1030 <writebssidwps@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<writebssid>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rsi,%r14
mov    %rdi,%rbx
lea    0x2ef8(%rip),%r15
lea    0xea1(%rip),%rdx
mov    %r15,%rdi
mov    $0x40,%esi
mov    %r14,%rcx
call   1040 <snprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1050 <writepsk@plt>
lea    0xe88(%rip),%rdx
mov    %r15,%rdi
mov    $0x40,%esi
mov    %r14,%rcx
call   1040 <snprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1050 <writepsk@plt>
lea    0xe6f(%rip),%rdx
mov    %r15,%rdi
mov    $0x40,%esi
mov    %r14,%rcx
call   1040 <snprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1050 <writepsk@plt>
mov    %r14d,%r13d
lea    0xe53(%rip),%rdx
mov    %r15,%rdi
mov    $0x40,%esi
mov    %r13,%rcx
call   1040 <snprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1050 <writepsk@plt>
mov    %r14d,%r12d
and    $0xffffff,%r12d
lea    0xe36(%rip),%rdx
mov    %r15,%rdi
mov    $0x40,%esi
mov    %r12,%rcx
call   1040 <snprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1050 <writepsk@plt>
lea    0xdeb(%rip),%rdx
mov    %r15,%rdi
mov    $0x40,%esi
mov    %r14,%rcx
call   1040 <snprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1050 <writepsk@plt>
movabs $0xfffffffffff,%rax
mov    %r14,%rcx
and    %rax,%rcx
lea    0xded(%rip),%rbp
mov    %r15,%rdi
mov    $0x40,%esi
mov    %rbp,%rdx
call   1040 <snprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1050 <writepsk@plt>
movabs $0xffffffffff,%rax
mov    %r14,%rcx
and    %rax,%rcx
lea    0xdc3(%rip),%rdx
mov    %r15,%rdi
mov    $0x40,%esi
call   1040 <snprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1050 <writepsk@plt>
movabs $0xfffffffff,%rax
mov    %r14,%rcx
and    %rax,%rcx
lea    0xd9c(%rip),%rdx
mov    %r15,%rdi
mov    $0x40,%esi
call   1040 <snprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1050 <writepsk@plt>
lea    0xd84(%rip),%rdx
mov    %r15,%rdi
mov    $0x40,%esi
mov    %r13,%rcx
call   1040 <snprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1050 <writepsk@plt>
mov    %r14,%rcx
shr    $0x4,%rcx
movabs $0xfffffffffff,%rax
and    %rax,%rcx
mov    %r15,%rdi
mov    $0x40,%esi
mov    %rbp,%rdx
call   1040 <snprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1050 <writepsk@plt>
mov    %r14,%rcx
shr    $0x8,%rcx
movabs $0xffffffffff,%rax
and    %rax,%rcx
mov    %r15,%rdi
mov    $0x40,%esi
lea    0xd08(%rip),%rdx
call   1040 <snprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1050 <writepsk@plt>
mov    %r14,%rcx
shr    $0xc,%rcx
movabs $0xfffffffff,%rax
and    %rax,%rcx
mov    %r15,%rdi
mov    $0x40,%esi
lea    0xcdd(%rip),%rdx
call   1040 <snprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1050 <writepsk@plt>
mov    %r14,%rax
shr    $0x10,%rax
mov    %eax,%ecx
mov    %r15,%rdi
mov    $0x40,%esi
lea    0xcbc(%rip),%rdx
call   1040 <snprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1050 <writepsk@plt>
lea    0xcac(%rip),%rdx
mov    %r15,%rdi
mov    $0x40,%esi
mov    %r12,%rcx
call   1040 <snprintf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1050 <writepsk@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1060 <writebssidmd5@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <writebssidwps@plt>

LLVM IR (-O0):
@writebssid.pskstring = internal global [64 x i8] zeroinitializer
@.str = [9 x i8] c"0%012llx\00"
@.str.1 = [9 x i8] c"2%012llx\00"
@.str.2 = [9 x i8] c"m%012llx\00"
@.str.3 = [15 x i8] c"555A5053%08llX\00"
@.str.4 = [11 x i8] c"8747%06llx\00"
@.str.5 = [8 x i8] c"%012llx\00"
@.str.6 = [8 x i8] c"%011llx\00"
@.str.7 = [8 x i8] c"%010llx\00"
@.str.8 = [7 x i8] c"%09llx\00"
@.str.9 = [7 x i8] c"%08llx\00"
@.str.10 = [8 x i8] c"%010lld\00"
define void @writebssid(i32* %0, i64 %1) {
%3 = alloca i32*
%4 = alloca i64
store i32* %0, i32** %3
store i64 %1, i64* %4
%5 = load i64, i64* %4
%6 = call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i64 %5)
%7 = load i32*, i32** %3
%8 = call i32 @writepsk(i32* %7, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%9 = load i64, i64* %4
%10 = call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i64 %9)
%11 = load i32*, i32** %3
%12 = call i32 @writepsk(i32* %11, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%13 = load i64, i64* %4
%14 = call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i64 %13)
%15 = load i32*, i32** %3
%16 = call i32 @writepsk(i32* %15, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%17 = load i64, i64* %4
%18 = and i64 %17, 4294967295
%19 = call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i64 %18)
%20 = load i32*, i32** %3
%21 = call i32 @writepsk(i32* %20, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%22 = load i64, i64* %4
%23 = and i64 %22, 16777215
%24 = call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i64 %23)
%25 = load i32*, i32** %3
%26 = call i32 @writepsk(i32* %25, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%27 = load i64, i64* %4
%28 = call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i64 %27)
%29 = load i32*, i32** %3
%30 = call i32 @writepsk(i32* %29, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%31 = load i64, i64* %4
%32 = and i64 %31, 17592186044415
%33 = call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), i64 %32)
%34 = load i32*, i32** %3
%35 = call i32 @writepsk(i32* %34, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%36 = load i64, i64* %4
%37 = and i64 %36, 1099511627775
%38 = call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i64 %37)
%39 = load i32*, i32** %3
%40 = call i32 @writepsk(i32* %39, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%41 = load i64, i64* %4
%42 = and i64 %41, 68719476735
%43 = call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0), i64 %42)
%44 = load i32*, i32** %3
%45 = call i32 @writepsk(i32* %44, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%46 = load i64, i64* %4
%47 = and i64 %46, 4294967295
%48 = call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0), i64 %47)
%49 = load i32*, i32** %3
%50 = call i32 @writepsk(i32* %49, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%51 = load i64, i64* %4
%52 = lshr i64 %51, 4
%53 = and i64 %52, 17592186044415
%54 = call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), i64 %53)
%55 = load i32*, i32** %3
%56 = call i32 @writepsk(i32* %55, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%57 = load i64, i64* %4
%58 = lshr i64 %57, 8
%59 = and i64 %58, 1099511627775
%60 = call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i64 %59)
%61 = load i32*, i32** %3
%62 = call i32 @writepsk(i32* %61, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%63 = load i64, i64* %4
%64 = lshr i64 %63, 12
%65 = and i64 %64, 68719476735
%66 = call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0), i64 %65)
%67 = load i32*, i32** %3
%68 = call i32 @writepsk(i32* %67, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%69 = load i64, i64* %4
%70 = lshr i64 %69, 16
%71 = and i64 %70, 4294967295
%72 = call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0), i64 %71)
%73 = load i32*, i32** %3
%74 = call i32 @writepsk(i32* %73, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%75 = load i64, i64* %4
%76 = and i64 %75, 16777215
%77 = call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0), i64 %76)
%78 = load i32*, i32** %3
%79 = call i32 @writepsk(i32* %78, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%80 = load i32*, i32** %3
%81 = load i64, i64* %4
%82 = call i32 @writebssidmd5(i32* %80, i64 %81)
%83 = load i32*, i32** %3
%84 = load i64, i64* %4
%85 = call i32 @writebssidwps(i32* %83, i64 %84)
ret void
}

LLVM IR (-O2):
@writebssid.pskstring = internal global [64 x i8] zeroinitializer
@.str = [9 x i8] c"0%012llx\00"
@.str.1 = [9 x i8] c"2%012llx\00"
@.str.2 = [9 x i8] c"m%012llx\00"
@.str.3 = [15 x i8] c"555A5053%08llX\00"
@.str.4 = [11 x i8] c"8747%06llx\00"
@.str.5 = [8 x i8] c"%012llx\00"
@.str.6 = [8 x i8] c"%011llx\00"
@.str.7 = [8 x i8] c"%010llx\00"
@.str.8 = [7 x i8] c"%09llx\00"
@.str.9 = [7 x i8] c"%08llx\00"
@.str.10 = [8 x i8] c"%010lld\00"
define void @writebssid(i32* %0, i64 %1) {
%3 = tail call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i64 %1)
%4 = tail call i32 @writepsk(i32* %0, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%5 = tail call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i64 %1)
%6 = tail call i32 @writepsk(i32* %0, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%7 = tail call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i64 %1)
%8 = tail call i32 @writepsk(i32* %0, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%9 = and i64 %1, 4294967295
%10 = tail call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i64 %9)
%11 = tail call i32 @writepsk(i32* %0, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%12 = and i64 %1, 16777215
%13 = tail call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i64 %12)
%14 = tail call i32 @writepsk(i32* %0, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%15 = tail call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i64 %1)
%16 = tail call i32 @writepsk(i32* %0, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%17 = and i64 %1, 17592186044415
%18 = tail call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), i64 %17)
%19 = tail call i32 @writepsk(i32* %0, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%20 = and i64 %1, 1099511627775
%21 = tail call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i64 %20)
%22 = tail call i32 @writepsk(i32* %0, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%23 = and i64 %1, 68719476735
%24 = tail call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0), i64 %23)
%25 = tail call i32 @writepsk(i32* %0, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%26 = tail call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0), i64 %9)
%27 = tail call i32 @writepsk(i32* %0, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%28 = lshr i64 %1, 4
%29 = and i64 %28, 17592186044415
%30 = tail call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), i64 %29)
%31 = tail call i32 @writepsk(i32* %0, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%32 = lshr i64 %1, 8
%33 = and i64 %32, 1099511627775
%34 = tail call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i64 %33)
%35 = tail call i32 @writepsk(i32* %0, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%36 = lshr i64 %1, 12
%37 = and i64 %36, 68719476735
%38 = tail call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0), i64 %37)
%39 = tail call i32 @writepsk(i32* %0, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%40 = lshr i64 %1, 16
%41 = and i64 %40, 4294967295
%42 = tail call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0), i64 %41)
%43 = tail call i32 @writepsk(i32* %0, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%44 = tail call i32 @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0), i64 %12)
%45 = tail call i32 @writepsk(i32* %0, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @writebssid.pskstring, i64 0, i64 0))
%46 = tail call i32 @writebssidmd5(i32* %0, i64 %1)
%47 = tail call i32 @writebssidwps(i32* %0, i64 %1)
ret void
}