#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*/ assert(int);
int /*<<< orphan*/ fcitx_utf8_strncpy(char *, char const *, int);
int fcitx_utf8_strnlen(char const *, int);
int /*<<< orphan*/ fcitx_utils_get_ascii_part(char *);
int /*<<< orphan*/ fcitx_utils_get_ascii_partn(char *, int /*<<< orphan*/);
scalar_t__ memcmp(char *, char const *, int);
scalar_t__ strcmp(int /*<<< orphan*/, char *);
int /*<<< orphan*/ strlen(char *);
scalar_t__ strncmp(int /*<<< orphan*/, char *, int /*<<< orphan*/);
int main() {
  char buf[9];
  const char string[] = "\xe4\xbd\xa0\xe5\xa5\xbd\xe6\xb5"
                        "\x8b\xe8\xaf\x95\xe5\xb8\x8c\xe6";
  const char result[] = {'\xe4', '\xbd', '\xa0', '\xe5', '\xa5',
                         '\xbd', '\0',   '\0',   '\0'};
  fcitx_utf8_strncpy(buf, string, 9 - 1);
  buf[9 - 1] = 0;
  assert(memcmp(buf, result, 9) == 0);
  (void)(result);
  assert(fcitx_utf8_strnlen(string, 0) == 0);
  assert(fcitx_utf8_strnlen(string, 1) == 0);
  assert(fcitx_utf8_strnlen(string, 2) == 0);
  assert(fcitx_utf8_strnlen(string, 3) == 1);
  assert(fcitx_utf8_strnlen(string, 6) == 2);
  assert(fcitx_utf8_strnlen(string, 8) == 2);
  assert(fcitx_utf8_strnlen(string, 9) == 3);
  assert(strcmp(fcitx_utils_get_ascii_part("随便测几个例子"
                                           "ascii_part"),
                "ascii_part") == 0);
  assert(strcmp(fcitx_utils_get_ascii_part("ascii_part"), "ascii_part") == 0);
  assert(strcmp(fcitx_utils_get_ascii_part(""), "") == 0);
  assert(strcmp(fcitx_utils_get_ascii_part("一个有两段"
                                           "ascii"
                                           "的"),
                "") == 0);
  assert(strcmp(fcitx_utils_get_ascii_part("一个有两段"
                                           "ascii"
                                           "的"
                                           "ascii_part"),
                "ascii_part") == 0);
  assert(strncmp(fcitx_utils_get_ascii_partn("一个有两段"
                                             "ascii"
                                             "的"
                                             "ascii_part",
                                             strlen("一个有两段"
                                                    "ascii")),
                 "ascii", strlen("ascii")) == 0);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    0xe5a(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    0xe57(%rip),%rax
mov    %rax,-0x18(%rbp)
mov    0xe55(%rip),%al
mov    %al,-0x10(%rbp)
mov    0xe4c(%rip),%rax
mov    %rax,-0x29(%rbp)
mov    0xe4a(%rip),%al
mov    %al,-0x21(%rbp)
lea    -0xd(%rbp),%rdi
lea    -0x20(%rbp),%rsi
mov    $0x8,%edx
call   1050 <fcitx_utf8_strncpy@plt>
movb   $0x0,-0x5(%rbp)
lea    -0xd(%rbp),%rdi
lea    -0x29(%rbp),%rsi
mov    $0x9,%edx
call   1070 <memcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1090 <assert@plt>
lea    -0x20(%rbp),%rdi
xor    %esi,%esi
call   1060 <fcitx_utf8_strnlen@plt>
cmp    $0x0,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1090 <assert@plt>
lea    -0x20(%rbp),%rdi
mov    $0x1,%esi
call   1060 <fcitx_utf8_strnlen@plt>
cmp    $0x0,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1090 <assert@plt>
lea    -0x20(%rbp),%rdi
mov    $0x2,%esi
call   1060 <fcitx_utf8_strnlen@plt>
cmp    $0x0,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1090 <assert@plt>
lea    -0x20(%rbp),%rdi
mov    $0x3,%esi
call   1060 <fcitx_utf8_strnlen@plt>
cmp    $0x1,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1090 <assert@plt>
lea    -0x20(%rbp),%rdi
mov    $0x6,%esi
call   1060 <fcitx_utf8_strnlen@plt>
cmp    $0x2,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1090 <assert@plt>
lea    -0x20(%rbp),%rdi
mov    $0x8,%esi
call   1060 <fcitx_utf8_strnlen@plt>
cmp    $0x2,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1090 <assert@plt>
lea    -0x20(%rbp),%rdi
mov    $0x9,%esi
call   1060 <fcitx_utf8_strnlen@plt>
cmp    $0x3,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1090 <assert@plt>
lea    0xd39(%rip),%rdi
call   10b0 <fcitx_utils_get_ascii_part@plt>
mov    %eax,%edi
lea    0xd7a(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1090 <assert@plt>
lea    0xd5d(%rip),%rdi
call   10b0 <fcitx_utils_get_ascii_part@plt>
mov    %eax,%edi
lea    0xd4f(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1090 <assert@plt>
lea    0xd51(%rip),%rdi
call   10b0 <fcitx_utils_get_ascii_part@plt>
mov    %eax,%edi
lea    0xd43(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1090 <assert@plt>
lea    0xcd8(%rip),%rdi
call   10b0 <fcitx_utils_get_ascii_part@plt>
mov    %eax,%edi
lea    0xd18(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1090 <assert@plt>
lea    0xcc5(%rip),%rdi
call   10b0 <fcitx_utils_get_ascii_part@plt>
mov    %eax,%edi
lea    0xcce(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1090 <assert@plt>
lea    0xcbc(%rip),%rdi
call   1040 <strlen@plt>
mov    %eax,%esi
lea    0xc8c(%rip),%rdi
call   10a0 <fcitx_utils_get_ascii_partn@plt>
mov    %eax,-0x30(%rbp)
lea    0xcae(%rip),%rdi
call   1040 <strlen@plt>
mov    -0x30(%rbp),%edi
mov    %eax,%edx
lea    0xc9d(%rip),%rsi
call   1030 <strncmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1090 <assert@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
sub    $0x38,%rsp
movaps 0xe62(%rip),%xmm0
movaps %xmm0,0x20(%rsp)
movb   $0x0,0x30(%rsp)
movabs $0xbda5e5a0bde4,%rax
mov    %rax,0x8(%rsp)
movb   $0x0,0x10(%rsp)
lea    0x17(%rsp),%rbx
lea    0x20(%rsp),%r14
mov    %rbx,%rdi
mov    %r14,%rsi
mov    $0x8,%edx
call   1050 <fcitx_utf8_strncpy@plt>
movb   $0x0,0x1f(%rsp)
lea    0x8(%rsp),%rsi
mov    %rbx,%rdi
mov    $0x9,%edx
call   1070 <memcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1090 <assert@plt>
mov    %r14,%rdi
xor    %esi,%esi
call   1060 <fcitx_utf8_strnlen@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1090 <assert@plt>
mov    %r14,%rdi
mov    $0x1,%esi
call   1060 <fcitx_utf8_strnlen@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1090 <assert@plt>
mov    %r14,%rdi
mov    $0x2,%esi
call   1060 <fcitx_utf8_strnlen@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1090 <assert@plt>
mov    %r14,%rdi
mov    $0x3,%esi
call   1060 <fcitx_utf8_strnlen@plt>
xor    %edi,%edi
cmp    $0x1,%eax
sete   %dil
call   1090 <assert@plt>
mov    %r14,%rdi
mov    $0x6,%esi
call   1060 <fcitx_utf8_strnlen@plt>
xor    %edi,%edi
cmp    $0x2,%eax
sete   %dil
call   1090 <assert@plt>
mov    %r14,%rdi
mov    $0x8,%esi
call   1060 <fcitx_utf8_strnlen@plt>
xor    %edi,%edi
cmp    $0x2,%eax
sete   %dil
call   1090 <assert@plt>
mov    %r14,%rdi
mov    $0x9,%esi
call   1060 <fcitx_utf8_strnlen@plt>
xor    %edi,%edi
cmp    $0x3,%eax
sete   %dil
call   1090 <assert@plt>
lea    0xd61(%rip),%rdi
call   10b0 <fcitx_utils_get_ascii_part@plt>
lea    0xda4(%rip),%r14
mov    %eax,%edi
mov    %r14,%rsi
call   1080 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1090 <assert@plt>
mov    %r14,%rdi
call   10b0 <fcitx_utils_get_ascii_part@plt>
mov    %eax,%edi
mov    %r14,%rsi
call   1080 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1090 <assert@plt>
lea    0xd84(%rip),%rbx
mov    %rbx,%rdi
call   10b0 <fcitx_utils_get_ascii_part@plt>
mov    %eax,%edi
mov    %rbx,%rsi
call   1080 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1090 <assert@plt>
lea    0xd0f(%rip),%rdi
call   10b0 <fcitx_utils_get_ascii_part@plt>
mov    %eax,%edi
mov    %rbx,%rsi
call   1080 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1090 <assert@plt>
lea    0xd03(%rip),%rbx
mov    %rbx,%rdi
call   10b0 <fcitx_utils_get_ascii_part@plt>
mov    %eax,%edi
mov    %r14,%rsi
call   1080 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1090 <assert@plt>
lea    0xcfe(%rip),%rdi
call   1040 <strlen@plt>
mov    %rbx,%rdi
mov    %eax,%esi
call   10a0 <fcitx_utils_get_ascii_partn@plt>
mov    %eax,%ebx
lea    0xcf5(%rip),%r14
mov    %r14,%rdi
call   1040 <strlen@plt>
mov    %ebx,%edi
mov    %r14,%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1090 <assert@plt>
xor    %eax,%eax
add    $0x38,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@__const.main.string = [17 x i8] c"\E4\BD\A0\E5\A5\BD\E6\B5\8B\E8\AF\95\E5\B8\8C\E6\00"
@__const.main.result = [9 x i8] c"\E4\BD\A0\E5\A5\BD\00\00\00"
@.str = [32 x i8] c"\E9\9A\8F\E4\BE\BF\E6\B5\8B\E5\87\A0\E4\B8\AA\E4\BE\8B\E5\AD\90ascii_part\00"
@.str.1 = [11 x i8] c"ascii_part\00"
@.str.2 = [1 x i8] zeroinitializer
@.str.3 = [24 x i8] c"\E4\B8\80\E4\B8\AA\E6\9C\89\E4\B8\A4\E6\AE\B5ascii\E7\9A\84\00"
@.str.4 = [34 x i8] c"\E4\B8\80\E4\B8\AA\E6\9C\89\E4\B8\A4\E6\AE\B5ascii\E7\9A\84ascii_part\00"
@.str.5 = [21 x i8] c"\E4\B8\80\E4\B8\AA\E6\9C\89\E4\B8\A4\E6\AE\B5ascii\00"
@.str.6 = [6 x i8] c"ascii\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [9 x i8]
%3 = alloca [17 x i8]
%4 = alloca [9 x i8]
store i32 0, i32* %1
%5 = bitcast [17 x i8]* %3 to i8*
%6 = bitcast [9 x i8]* %4 to i8*
%7 = getelementptr inbounds [9 x i8], [9 x i8]* %2, i64 0, i64 0
%8 = getelementptr inbounds [17 x i8], [17 x i8]* %3, i64 0, i64 0
%9 = call i32 @fcitx_utf8_strncpy(i8* %7, i8* %8, i32 8)
%10 = getelementptr inbounds [9 x i8], [9 x i8]* %2, i64 0, i64 8
store i8 0, i8* %10
%11 = getelementptr inbounds [9 x i8], [9 x i8]* %2, i64 0, i64 0
%12 = getelementptr inbounds [9 x i8], [9 x i8]* %4, i64 0, i64 0
%13 = call i64 @memcmp(i8* %11, i8* %12, i32 9)
%14 = icmp eq i64 %13, 0
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 %15)
%17 = getelementptr inbounds [9 x i8], [9 x i8]* %4, i64 0, i64 0
%18 = getelementptr inbounds [17 x i8], [17 x i8]* %3, i64 0, i64 0
%19 = call i32 @fcitx_utf8_strnlen(i8* %18, i32 0)
%20 = icmp eq i32 %19, 0
%21 = zext i1 %20 to i32
%22 = call i32 @assert(i32 %21)
%23 = getelementptr inbounds [17 x i8], [17 x i8]* %3, i64 0, i64 0
%24 = call i32 @fcitx_utf8_strnlen(i8* %23, i32 1)
%25 = icmp eq i32 %24, 0
%26 = zext i1 %25 to i32
%27 = call i32 @assert(i32 %26)
%28 = getelementptr inbounds [17 x i8], [17 x i8]* %3, i64 0, i64 0
%29 = call i32 @fcitx_utf8_strnlen(i8* %28, i32 2)
%30 = icmp eq i32 %29, 0
%31 = zext i1 %30 to i32
%32 = call i32 @assert(i32 %31)
%33 = getelementptr inbounds [17 x i8], [17 x i8]* %3, i64 0, i64 0
%34 = call i32 @fcitx_utf8_strnlen(i8* %33, i32 3)
%35 = icmp eq i32 %34, 1
%36 = zext i1 %35 to i32
%37 = call i32 @assert(i32 %36)
%38 = getelementptr inbounds [17 x i8], [17 x i8]* %3, i64 0, i64 0
%39 = call i32 @fcitx_utf8_strnlen(i8* %38, i32 6)
%40 = icmp eq i32 %39, 2
%41 = zext i1 %40 to i32
%42 = call i32 @assert(i32 %41)
%43 = getelementptr inbounds [17 x i8], [17 x i8]* %3, i64 0, i64 0
%44 = call i32 @fcitx_utf8_strnlen(i8* %43, i32 8)
%45 = icmp eq i32 %44, 2
%46 = zext i1 %45 to i32
%47 = call i32 @assert(i32 %46)
%48 = getelementptr inbounds [17 x i8], [17 x i8]* %3, i64 0, i64 0
%49 = call i32 @fcitx_utf8_strnlen(i8* %48, i32 9)
%50 = icmp eq i32 %49, 3
%51 = zext i1 %50 to i32
%52 = call i32 @assert(i32 %51)
%53 = call i32 @fcitx_utils_get_ascii_part(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0))
%54 = call i64 @strcmp(i32 %53, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0))
%55 = icmp eq i64 %54, 0
%56 = zext i1 %55 to i32
%57 = call i32 @assert(i32 %56)
%58 = call i32 @fcitx_utils_get_ascii_part(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0))
%59 = call i64 @strcmp(i32 %58, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0))
%60 = icmp eq i64 %59, 0
%61 = zext i1 %60 to i32
%62 = call i32 @assert(i32 %61)
%63 = call i32 @fcitx_utils_get_ascii_part(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.2, i64 0, i64 0))
%64 = call i64 @strcmp(i32 %63, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.2, i64 0, i64 0))
%65 = icmp eq i64 %64, 0
%66 = zext i1 %65 to i32
%67 = call i32 @assert(i32 %66)
%68 = call i32 @fcitx_utils_get_ascii_part(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0))
%69 = call i64 @strcmp(i32 %68, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.2, i64 0, i64 0))
%70 = icmp eq i64 %69, 0
%71 = zext i1 %70 to i32
%72 = call i32 @assert(i32 %71)
%73 = call i32 @fcitx_utils_get_ascii_part(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.4, i64 0, i64 0))
%74 = call i64 @strcmp(i32 %73, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0))
%75 = icmp eq i64 %74, 0
%76 = zext i1 %75 to i32
%77 = call i32 @assert(i32 %76)
%78 = call i32 @strlen(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0))
%79 = call i32 @fcitx_utils_get_ascii_partn(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.4, i64 0, i64 0), i32 %78)
%80 = call i32 @strlen(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%81 = call i64 @strncmp(i32 %79, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i32 %80)
%82 = icmp eq i64 %81, 0
%83 = zext i1 %82 to i32
%84 = call i32 @assert(i32 %83)
ret i32 0
}

LLVM IR (-O2):
@__const.main.string = [17 x i8] c"\E4\BD\A0\E5\A5\BD\E6\B5\8B\E8\AF\95\E5\B8\8C\E6\00"
@__const.main.result = [9 x i8] c"\E4\BD\A0\E5\A5\BD\00\00\00"
@.str = [32 x i8] c"\E9\9A\8F\E4\BE\BF\E6\B5\8B\E5\87\A0\E4\B8\AA\E4\BE\8B\E5\AD\90ascii_part\00"
@.str.1 = [11 x i8] c"ascii_part\00"
@.str.2 = [1 x i8] zeroinitializer
@.str.3 = [24 x i8] c"\E4\B8\80\E4\B8\AA\E6\9C\89\E4\B8\A4\E6\AE\B5ascii\E7\9A\84\00"
@.str.4 = [34 x i8] c"\E4\B8\80\E4\B8\AA\E6\9C\89\E4\B8\A4\E6\AE\B5ascii\E7\9A\84ascii_part\00"
@.str.5 = [21 x i8] c"\E4\B8\80\E4\B8\AA\E6\9C\89\E4\B8\A4\E6\AE\B5ascii\00"
@.str.6 = [6 x i8] c"ascii\00"
define i32 @main() {
%1 = alloca [9 x i8]
%2 = alloca [17 x i8]
%3 = alloca [9 x i8]
%4 = getelementptr inbounds [9 x i8], [9 x i8]* %1, i64 0, i64 0
%5 = getelementptr inbounds [17 x i8], [17 x i8]* %2, i64 0, i64 0
%6 = getelementptr inbounds [9 x i8], [9 x i8]* %3, i64 0, i64 0
%7 = call i32 @fcitx_utf8_strncpy(i8* %4, i8* %5, i32 8)
%8 = getelementptr inbounds [9 x i8], [9 x i8]* %1, i64 0, i64 8
store i8 0, i8* %8
%9 = call i64 @memcmp(i8* %4, i8* %6, i32 9)
%10 = icmp eq i64 %9, 0
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 %11)
%13 = call i32 @fcitx_utf8_strnlen(i8* %5, i32 0)
%14 = icmp eq i32 %13, 0
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 %15)
%17 = call i32 @fcitx_utf8_strnlen(i8* %5, i32 1)
%18 = icmp eq i32 %17, 0
%19 = zext i1 %18 to i32
%20 = call i32 @assert(i32 %19)
%21 = call i32 @fcitx_utf8_strnlen(i8* %5, i32 2)
%22 = icmp eq i32 %21, 0
%23 = zext i1 %22 to i32
%24 = call i32 @assert(i32 %23)
%25 = call i32 @fcitx_utf8_strnlen(i8* %5, i32 3)
%26 = icmp eq i32 %25, 1
%27 = zext i1 %26 to i32
%28 = call i32 @assert(i32 %27)
%29 = call i32 @fcitx_utf8_strnlen(i8* %5, i32 6)
%30 = icmp eq i32 %29, 2
%31 = zext i1 %30 to i32
%32 = call i32 @assert(i32 %31)
%33 = call i32 @fcitx_utf8_strnlen(i8* %5, i32 8)
%34 = icmp eq i32 %33, 2
%35 = zext i1 %34 to i32
%36 = call i32 @assert(i32 %35)
%37 = call i32 @fcitx_utf8_strnlen(i8* %5, i32 9)
%38 = icmp eq i32 %37, 3
%39 = zext i1 %38 to i32
%40 = call i32 @assert(i32 %39)
%41 = call i32 @fcitx_utils_get_ascii_part(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0))
%42 = call i64 @strcmp(i32 %41, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0))
%43 = icmp eq i64 %42, 0
%44 = zext i1 %43 to i32
%45 = call i32 @assert(i32 %44)
%46 = call i32 @fcitx_utils_get_ascii_part(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0))
%47 = call i64 @strcmp(i32 %46, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0))
%48 = icmp eq i64 %47, 0
%49 = zext i1 %48 to i32
%50 = call i32 @assert(i32 %49)
%51 = call i32 @fcitx_utils_get_ascii_part(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.2, i64 0, i64 0))
%52 = call i64 @strcmp(i32 %51, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.2, i64 0, i64 0))
%53 = icmp eq i64 %52, 0
%54 = zext i1 %53 to i32
%55 = call i32 @assert(i32 %54)
%56 = call i32 @fcitx_utils_get_ascii_part(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0))
%57 = call i64 @strcmp(i32 %56, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.2, i64 0, i64 0))
%58 = icmp eq i64 %57, 0
%59 = zext i1 %58 to i32
%60 = call i32 @assert(i32 %59)
%61 = call i32 @fcitx_utils_get_ascii_part(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.4, i64 0, i64 0))
%62 = call i64 @strcmp(i32 %61, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0))
%63 = icmp eq i64 %62, 0
%64 = zext i1 %63 to i32
%65 = call i32 @assert(i32 %64)
%66 = call i32 @strlen(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0))
%67 = call i32 @fcitx_utils_get_ascii_partn(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.4, i64 0, i64 0), i32 %66)
%68 = call i32 @strlen(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%69 = call i64 @strncmp(i32 %67, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i32 %68)
%70 = icmp eq i64 %69, 0
%71 = zext i1 %70 to i32
%72 = call i32 @assert(i32 %71)
ret i32 0
}