#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*/ memset(int *, int /*<<< orphan*/, int);
void init_seqnt_map(int *seqnt_map) {
  memset(seqnt_map, 0, sizeof(int) * 58);
  seqnt_map['A' - 'A'] = 0;
  seqnt_map['C' - 'A'] = 1;
  seqnt_map['H' - 'A'] = 2;
  seqnt_map['B' - 'A'] = 3;
  seqnt_map['R' - 'A'] = 4;
  seqnt_map['K' - 'A'] = 5;
  seqnt_map['S' - 'A'] = 6;
  seqnt_map['W' - 'A'] = 7;
  seqnt_map['c' - 'A'] = 8;
  seqnt_map['t' - 'A'] = 9;
  seqnt_map['N' - 'A'] = 10;
  seqnt_map['X' - 'A'] = 10;
  seqnt_map['g' - 'A'] = 11;
  seqnt_map['a' - 'A'] = 12;
  seqnt_map['M' - 'A'] = 15;
  seqnt_map['Y' - 'A'] = 16;
  seqnt_map['V' - 'A'] = 17;
  seqnt_map['D' - 'A'] = 18;
  seqnt_map['G' - 'A'] = 19;
  seqnt_map['T' - 'A'] = 20;
  seqnt_map['U' - 'A'] = 20;
}


x86 assembly (clang, -O0):
<init_seqnt_map>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
xor    %esi,%esi
mov    $0xe8,%edx
call   1030 <memset@plt>
mov    -0x8(%rbp),%rax
movl   $0x0,(%rax)
mov    -0x8(%rbp),%rax
movl   $0x1,0x8(%rax)
mov    -0x8(%rbp),%rax
movl   $0x2,0x1c(%rax)
mov    -0x8(%rbp),%rax
movl   $0x3,0x4(%rax)
mov    -0x8(%rbp),%rax
movl   $0x4,0x44(%rax)
mov    -0x8(%rbp),%rax
movl   $0x5,0x28(%rax)
mov    -0x8(%rbp),%rax
movl   $0x6,0x48(%rax)
mov    -0x8(%rbp),%rax
movl   $0x7,0x58(%rax)
mov    -0x8(%rbp),%rax
movl   $0x8,0x88(%rax)
mov    -0x8(%rbp),%rax
movl   $0x9,0xcc(%rax)
mov    -0x8(%rbp),%rax
movl   $0xa,0x34(%rax)
mov    -0x8(%rbp),%rax
movl   $0xa,0x5c(%rax)
mov    -0x8(%rbp),%rax
movl   $0xb,0x98(%rax)
mov    -0x8(%rbp),%rax
movl   $0xc,0x80(%rax)
mov    -0x8(%rbp),%rax
movl   $0xf,0x30(%rax)
mov    -0x8(%rbp),%rax
movl   $0x10,0x60(%rax)
mov    -0x8(%rbp),%rax
movl   $0x11,0x54(%rax)
mov    -0x8(%rbp),%rax
movl   $0x12,0xc(%rax)
mov    -0x8(%rbp),%rax
movl   $0x13,0x18(%rax)
mov    -0x8(%rbp),%rax
movl   $0x14,0x4c(%rax)
mov    -0x8(%rbp),%rax
movl   $0x14,0x50(%rax)
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<init_seqnt_map>:
push   %rbx
mov    %rdi,%rbx
xor    %esi,%esi
mov    $0xe8,%edx
call   1030 <memset@plt>
movl   $0x5,0x28(%rbx)
movl   $0x8,0x88(%rbx)
movl   $0x9,0xcc(%rbx)
movl   $0xb,0x98(%rbx)
movl   $0xc,0x80(%rbx)
movabs $0xa0000000f,%rax
mov    %rax,0x30(%rbx)
movaps 0xe9c(%rip),%xmm0
movups %xmm0,0x54(%rbx)
movaps 0xea1(%rip),%xmm0
movups %xmm0,(%rbx)
movabs $0x200000013,%rax
mov    %rax,0x18(%rbx)
movaps 0xe99(%rip),%xmm0
movups %xmm0,0x44(%rbx)
pop    %rbx
ret

LLVM IR (-O0):
define void @init_seqnt_map(i32* %0) {
%2 = alloca i32*
store i32* %0, i32** %2
%3 = load i32*, i32** %2
%4 = call i32 @memset(i32* %3, i32 0, i32 232)
%5 = load i32*, i32** %2
%6 = getelementptr inbounds i32, i32* %5, i64 0
store i32 0, i32* %6
%7 = load i32*, i32** %2
%8 = getelementptr inbounds i32, i32* %7, i64 2
store i32 1, i32* %8
%9 = load i32*, i32** %2
%10 = getelementptr inbounds i32, i32* %9, i64 7
store i32 2, i32* %10
%11 = load i32*, i32** %2
%12 = getelementptr inbounds i32, i32* %11, i64 1
store i32 3, i32* %12
%13 = load i32*, i32** %2
%14 = getelementptr inbounds i32, i32* %13, i64 17
store i32 4, i32* %14
%15 = load i32*, i32** %2
%16 = getelementptr inbounds i32, i32* %15, i64 10
store i32 5, i32* %16
%17 = load i32*, i32** %2
%18 = getelementptr inbounds i32, i32* %17, i64 18
store i32 6, i32* %18
%19 = load i32*, i32** %2
%20 = getelementptr inbounds i32, i32* %19, i64 22
store i32 7, i32* %20
%21 = load i32*, i32** %2
%22 = getelementptr inbounds i32, i32* %21, i64 34
store i32 8, i32* %22
%23 = load i32*, i32** %2
%24 = getelementptr inbounds i32, i32* %23, i64 51
store i32 9, i32* %24
%25 = load i32*, i32** %2
%26 = getelementptr inbounds i32, i32* %25, i64 13
store i32 10, i32* %26
%27 = load i32*, i32** %2
%28 = getelementptr inbounds i32, i32* %27, i64 23
store i32 10, i32* %28
%29 = load i32*, i32** %2
%30 = getelementptr inbounds i32, i32* %29, i64 38
store i32 11, i32* %30
%31 = load i32*, i32** %2
%32 = getelementptr inbounds i32, i32* %31, i64 32
store i32 12, i32* %32
%33 = load i32*, i32** %2
%34 = getelementptr inbounds i32, i32* %33, i64 12
store i32 15, i32* %34
%35 = load i32*, i32** %2
%36 = getelementptr inbounds i32, i32* %35, i64 24
store i32 16, i32* %36
%37 = load i32*, i32** %2
%38 = getelementptr inbounds i32, i32* %37, i64 21
store i32 17, i32* %38
%39 = load i32*, i32** %2
%40 = getelementptr inbounds i32, i32* %39, i64 3
store i32 18, i32* %40
%41 = load i32*, i32** %2
%42 = getelementptr inbounds i32, i32* %41, i64 6
store i32 19, i32* %42
%43 = load i32*, i32** %2
%44 = getelementptr inbounds i32, i32* %43, i64 19
store i32 20, i32* %44
%45 = load i32*, i32** %2
%46 = getelementptr inbounds i32, i32* %45, i64 20
store i32 20, i32* %46
ret void
}

LLVM IR (-O2):
define void @init_seqnt_map(i32* %0) {
%2 = tail call i32 @memset(i32* %0, i32 0, i32 232)
%3 = getelementptr inbounds i32, i32* %0, i64 7
store i32 2, i32* %3
%4 = getelementptr inbounds i32, i32* %0, i64 17
%5 = getelementptr inbounds i32, i32* %0, i64 10
store i32 5, i32* %5
%6 = getelementptr inbounds i32, i32* %0, i64 34
store i32 8, i32* %6
%7 = getelementptr inbounds i32, i32* %0, i64 51
store i32 9, i32* %7
%8 = getelementptr inbounds i32, i32* %0, i64 13
store i32 10, i32* %8
%9 = getelementptr inbounds i32, i32* %0, i64 38
store i32 11, i32* %9
%10 = getelementptr inbounds i32, i32* %0, i64 32
store i32 12, i32* %10
%11 = getelementptr inbounds i32, i32* %0, i64 12
store i32 15, i32* %11
%12 = getelementptr inbounds i32, i32* %0, i64 21
%13 = bitcast i32* %12 to <4 x i32>*
store <4 x i32> <i32 17, i32 7, i32 10, i32 16>, <4 x i32>* %13
%14 = bitcast i32* %0 to <4 x i32>*
store <4 x i32> <i32 0, i32 3, i32 1, i32 18>, <4 x i32>* %14
%15 = getelementptr inbounds i32, i32* %0, i64 6
store i32 19, i32* %15
%16 = bitcast i32* %4 to <4 x i32>*
store <4 x i32> <i32 4, i32 6, i32 20, i32 20>, <4 x i32>* %16
ret void
}