#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*/ test_str_center();
int /*<<< orphan*/ test_str_endswith();
int /*<<< orphan*/ test_str_escape();
int /*<<< orphan*/ test_str_is_alnum();
int /*<<< orphan*/ test_str_is_alpha();
int /*<<< orphan*/ test_str_is_digit();
int /*<<< orphan*/ test_str_is_lower_case();
int /*<<< orphan*/ test_str_is_upper_case();
int /*<<< orphan*/ test_str_prepend();
int /*<<< orphan*/ test_str_slice();
int /*<<< orphan*/ test_str_startswith();
int /*<<< orphan*/ test_str_to_camel_case();
int /*<<< orphan*/ test_str_to_capitalize_case();
int /*<<< orphan*/ test_str_to_lower_case();
int /*<<< orphan*/ test_str_to_swap_case();
int /*<<< orphan*/ test_str_to_title_case();
int /*<<< orphan*/ test_str_to_upper_case();
void test_str() {
  test_str_to_upper_case();
  test_str_to_lower_case();
  test_str_to_title_case();
  test_str_to_capitalize_case();
  test_str_to_swap_case();
  test_str_to_camel_case();
  test_str_startswith();
  test_str_endswith();
  test_str_center();
  test_str_is_alpha();
  test_str_is_alnum();
  test_str_is_digit();
  test_str_is_lower_case();
  test_str_is_upper_case();
  test_str_slice();
  test_str_prepend();
  test_str_escape();
}


x86 assembly (clang, -O0):
<test_str>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1100 <test_str_to_upper_case@plt>
mov    $0x0,%al
call   1040 <test_str_to_lower_case@plt>
mov    $0x0,%al
call   1090 <test_str_to_title_case@plt>
mov    $0x0,%al
call   1110 <test_str_to_capitalize_case@plt>
mov    $0x0,%al
call   10d0 <test_str_to_swap_case@plt>
mov    $0x0,%al
call   1130 <test_str_to_camel_case@plt>
mov    $0x0,%al
call   10e0 <test_str_startswith@plt>
mov    $0x0,%al
call   10b0 <test_str_endswith@plt>
mov    $0x0,%al
call   1080 <test_str_center@plt>
mov    $0x0,%al
call   1050 <test_str_is_alpha@plt>
mov    $0x0,%al
call   1120 <test_str_is_alnum@plt>
mov    $0x0,%al
call   1060 <test_str_is_digit@plt>
mov    $0x0,%al
call   1030 <test_str_is_lower_case@plt>
mov    $0x0,%al
call   10c0 <test_str_is_upper_case@plt>
mov    $0x0,%al
call   10a0 <test_str_slice@plt>
mov    $0x0,%al
call   10f0 <test_str_prepend@plt>
mov    $0x0,%al
call   1070 <test_str_escape@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_str>:
push   %rax
xor    %eax,%eax
call   1100 <test_str_to_upper_case@plt>
xor    %eax,%eax
call   1040 <test_str_to_lower_case@plt>
xor    %eax,%eax
call   1090 <test_str_to_title_case@plt>
xor    %eax,%eax
call   1110 <test_str_to_capitalize_case@plt>
xor    %eax,%eax
call   10d0 <test_str_to_swap_case@plt>
xor    %eax,%eax
call   1130 <test_str_to_camel_case@plt>
xor    %eax,%eax
call   10e0 <test_str_startswith@plt>
xor    %eax,%eax
call   10b0 <test_str_endswith@plt>
xor    %eax,%eax
call   1080 <test_str_center@plt>
xor    %eax,%eax
call   1050 <test_str_is_alpha@plt>
xor    %eax,%eax
call   1120 <test_str_is_alnum@plt>
xor    %eax,%eax
call   1060 <test_str_is_digit@plt>
xor    %eax,%eax
call   1030 <test_str_is_lower_case@plt>
xor    %eax,%eax
call   10c0 <test_str_is_upper_case@plt>
xor    %eax,%eax
call   10a0 <test_str_slice@plt>
xor    %eax,%eax
call   10f0 <test_str_prepend@plt>
xor    %eax,%eax
pop    %rcx
jmp    1070 <test_str_escape@plt>

LLVM IR (-O0):
define void @test_str() {
%1 = call i32 (...) @test_str_to_upper_case()
%2 = call i32 (...) @test_str_to_lower_case()
%3 = call i32 (...) @test_str_to_title_case()
%4 = call i32 (...) @test_str_to_capitalize_case()
%5 = call i32 (...) @test_str_to_swap_case()
%6 = call i32 (...) @test_str_to_camel_case()
%7 = call i32 (...) @test_str_startswith()
%8 = call i32 (...) @test_str_endswith()
%9 = call i32 (...) @test_str_center()
%10 = call i32 (...) @test_str_is_alpha()
%11 = call i32 (...) @test_str_is_alnum()
%12 = call i32 (...) @test_str_is_digit()
%13 = call i32 (...) @test_str_is_lower_case()
%14 = call i32 (...) @test_str_is_upper_case()
%15 = call i32 (...) @test_str_slice()
%16 = call i32 (...) @test_str_prepend()
%17 = call i32 (...) @test_str_escape()
ret void
}

LLVM IR (-O2):
define void @test_str() {
%1 = tail call i32 (...) @test_str_to_upper_case()
%2 = tail call i32 (...) @test_str_to_lower_case()
%3 = tail call i32 (...) @test_str_to_title_case()
%4 = tail call i32 (...) @test_str_to_capitalize_case()
%5 = tail call i32 (...) @test_str_to_swap_case()
%6 = tail call i32 (...) @test_str_to_camel_case()
%7 = tail call i32 (...) @test_str_startswith()
%8 = tail call i32 (...) @test_str_endswith()
%9 = tail call i32 (...) @test_str_center()
%10 = tail call i32 (...) @test_str_is_alpha()
%11 = tail call i32 (...) @test_str_is_alnum()
%12 = tail call i32 (...) @test_str_is_digit()
%13 = tail call i32 (...) @test_str_is_lower_case()
%14 = tail call i32 (...) @test_str_is_upper_case()
%15 = tail call i32 (...) @test_str_slice()
%16 = tail call i32 (...) @test_str_prepend()
%17 = tail call i32 (...) @test_str_escape()
ret void
}