#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 EXIT_SUCCESS;
int /*<<< orphan*/ test_json_array_getKeyValuePairList();
int /*<<< orphan*/ test_json_array_getValueByPosition();
int /*<<< orphan*/ test_json_getBoolean();
int /*<<< orphan*/ test_json_getKey();
int /*<<< orphan*/ test_json_getKeyValuePair();
int /*<<< orphan*/ test_json_getKeyValuePairList();
int /*<<< orphan*/ test_json_getNull();
int /*<<< orphan*/ test_json_getNumber();
int /*<<< orphan*/ test_json_getString();
int /*<<< orphan*/ test_json_getValue();
int /*<<< orphan*/ test_json_getValueByJS();
int /*<<< orphan*/ test_json_number_toDouble();
int /*<<< orphan*/ test_json_object_getKeyValuePairList();
int /*<<< orphan*/ test_json_object_getValueByKey();
int /*<<< orphan*/ test_json_string_toString();
int /*<<< orphan*/ test_json_type_toString();
int /*<<< orphan*/ test_json_util_allocStringByInteger();
int /*<<< orphan*/ test_json_util_allocSubstring();
int /*<<< orphan*/ test_json_util_getNextCharacter();
int /*<<< orphan*/ test_json_util_stringComare();
int main() {
  test_json_type_toString();
  test_json_getString();
  test_json_getNumber();
  test_json_getBoolean();
  test_json_getNull();
  test_json_getValue();
  test_json_array_getValueByPosition();
  test_json_util_getNextCharacter();
  test_json_util_stringComare();
  test_json_getKeyValuePair();
  test_json_object_getValueByKey();
  test_json_getKey();
  test_json_getValueByJS();
  test_json_util_allocSubstring();
  test_json_object_getKeyValuePairList();
  test_json_util_allocStringByInteger();
  test_json_array_getKeyValuePairList();
  test_json_getKeyValuePairList();
  test_json_number_toDouble();
  test_json_string_toString();
  return EXIT_SUCCESS;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   1060 <test_json_type_toString@plt>
mov    $0x0,%al
call   1120 <test_json_getString@plt>
mov    $0x0,%al
call   1040 <test_json_getNumber@plt>
mov    $0x0,%al
call   1150 <test_json_getBoolean@plt>
mov    $0x0,%al
call   10d0 <test_json_getNull@plt>
mov    $0x0,%al
call   1070 <test_json_getValue@plt>
mov    $0x0,%al
call   1160 <test_json_array_getValueByPosition@plt>
mov    $0x0,%al
call   1090 <test_json_util_getNextCharacter@plt>
mov    $0x0,%al
call   10c0 <test_json_util_stringComare@plt>
mov    $0x0,%al
call   1110 <test_json_getKeyValuePair@plt>
mov    $0x0,%al
call   1050 <test_json_object_getValueByKey@plt>
mov    $0x0,%al
call   1030 <test_json_getKey@plt>
mov    $0x0,%al
call   10f0 <test_json_getValueByJS@plt>
mov    $0x0,%al
call   10e0 <test_json_util_allocSubstring@plt>
mov    $0x0,%al
call   1140 <test_json_object_getKeyValuePairList@plt>
mov    $0x0,%al
call   1130 <test_json_util_allocStringByInteger@plt>
mov    $0x0,%al
call   10b0 <test_json_array_getKeyValuePairList@plt>
mov    $0x0,%al
call   1100 <test_json_getKeyValuePairList@plt>
mov    $0x0,%al
call   10a0 <test_json_number_toDouble@plt>
mov    $0x0,%al
call   1080 <test_json_string_toString@plt>
mov    0x2cfe(%rip),%rax
mov    (%rax),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1060 <test_json_type_toString@plt>
xor    %eax,%eax
call   1120 <test_json_getString@plt>
xor    %eax,%eax
call   1040 <test_json_getNumber@plt>
xor    %eax,%eax
call   1150 <test_json_getBoolean@plt>
xor    %eax,%eax
call   10d0 <test_json_getNull@plt>
xor    %eax,%eax
call   1070 <test_json_getValue@plt>
xor    %eax,%eax
call   1160 <test_json_array_getValueByPosition@plt>
xor    %eax,%eax
call   1090 <test_json_util_getNextCharacter@plt>
xor    %eax,%eax
call   10c0 <test_json_util_stringComare@plt>
xor    %eax,%eax
call   1110 <test_json_getKeyValuePair@plt>
xor    %eax,%eax
call   1050 <test_json_object_getValueByKey@plt>
xor    %eax,%eax
call   1030 <test_json_getKey@plt>
xor    %eax,%eax
call   10f0 <test_json_getValueByJS@plt>
xor    %eax,%eax
call   10e0 <test_json_util_allocSubstring@plt>
xor    %eax,%eax
call   1140 <test_json_object_getKeyValuePairList@plt>
xor    %eax,%eax
call   1130 <test_json_util_allocStringByInteger@plt>
xor    %eax,%eax
call   10b0 <test_json_array_getKeyValuePairList@plt>
xor    %eax,%eax
call   1100 <test_json_getKeyValuePairList@plt>
xor    %eax,%eax
call   10a0 <test_json_number_toDouble@plt>
xor    %eax,%eax
call   1080 <test_json_string_toString@plt>
mov    0x2d0c(%rip),%rax
mov    (%rax),%eax
pop    %rcx
ret

LLVM IR (-O0):
@EXIT_SUCCESS = global i32 0
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (...) @test_json_type_toString()
%3 = call i32 (...) @test_json_getString()
%4 = call i32 (...) @test_json_getNumber()
%5 = call i32 (...) @test_json_getBoolean()
%6 = call i32 (...) @test_json_getNull()
%7 = call i32 (...) @test_json_getValue()
%8 = call i32 (...) @test_json_array_getValueByPosition()
%9 = call i32 (...) @test_json_util_getNextCharacter()
%10 = call i32 (...) @test_json_util_stringComare()
%11 = call i32 (...) @test_json_getKeyValuePair()
%12 = call i32 (...) @test_json_object_getValueByKey()
%13 = call i32 (...) @test_json_getKey()
%14 = call i32 (...) @test_json_getValueByJS()
%15 = call i32 (...) @test_json_util_allocSubstring()
%16 = call i32 (...) @test_json_object_getKeyValuePairList()
%17 = call i32 (...) @test_json_util_allocStringByInteger()
%18 = call i32 (...) @test_json_array_getKeyValuePairList()
%19 = call i32 (...) @test_json_getKeyValuePairList()
%20 = call i32 (...) @test_json_number_toDouble()
%21 = call i32 (...) @test_json_string_toString()
%22 = load i32, i32* @EXIT_SUCCESS
ret i32 %22
}

LLVM IR (-O2):
@EXIT_SUCCESS = global i32 0
define i32 @main() {
%1 = tail call i32 (...) @test_json_type_toString()
%2 = tail call i32 (...) @test_json_getString()
%3 = tail call i32 (...) @test_json_getNumber()
%4 = tail call i32 (...) @test_json_getBoolean()
%5 = tail call i32 (...) @test_json_getNull()
%6 = tail call i32 (...) @test_json_getValue()
%7 = tail call i32 (...) @test_json_array_getValueByPosition()
%8 = tail call i32 (...) @test_json_util_getNextCharacter()
%9 = tail call i32 (...) @test_json_util_stringComare()
%10 = tail call i32 (...) @test_json_getKeyValuePair()
%11 = tail call i32 (...) @test_json_object_getValueByKey()
%12 = tail call i32 (...) @test_json_getKey()
%13 = tail call i32 (...) @test_json_getValueByJS()
%14 = tail call i32 (...) @test_json_util_allocSubstring()
%15 = tail call i32 (...) @test_json_object_getKeyValuePairList()
%16 = tail call i32 (...) @test_json_util_allocStringByInteger()
%17 = tail call i32 (...) @test_json_array_getKeyValuePairList()
%18 = tail call i32 (...) @test_json_getKeyValuePairList()
%19 = tail call i32 (...) @test_json_number_toDouble()
%20 = tail call i32 (...) @test_json_string_toString()
%21 = load i32, i32* @EXIT_SUCCESS
ret i32 %21
}