#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_ts27010_ringbuf_alloc();
int /*<<< orphan*/ test_ts27010_ringbuf_consume();
int /*<<< orphan*/ test_ts27010_ringbuf_free();
int /*<<< orphan*/ test_ts27010_ringbuf_level();
int /*<<< orphan*/ test_ts27010_ringbuf_peek();
int /*<<< orphan*/ test_ts27010_ringbuf_push();
int /*<<< orphan*/ test_ts27010_ringbuf_read();
int /*<<< orphan*/ test_ts27010_ringbuf_room();
int /*<<< orphan*/ test_ts27010_ringbuf_write();
void test_ts27010_usb_ringbuf(void) {
  test_ts27010_ringbuf_alloc();
  test_ts27010_ringbuf_free();
  test_ts27010_ringbuf_level();
  test_ts27010_ringbuf_room();
  test_ts27010_ringbuf_peek();
  test_ts27010_ringbuf_read();
  test_ts27010_ringbuf_consume();
  test_ts27010_ringbuf_push();
  test_ts27010_ringbuf_write();
}


x86 assembly (clang, -O0):
<test_ts27010_usb_ringbuf>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1060 <test_ts27010_ringbuf_alloc@plt>
mov    $0x0,%al
call   1080 <test_ts27010_ringbuf_free@plt>
mov    $0x0,%al
call   1030 <test_ts27010_ringbuf_level@plt>
mov    $0x0,%al
call   10a0 <test_ts27010_ringbuf_room@plt>
mov    $0x0,%al
call   1050 <test_ts27010_ringbuf_peek@plt>
mov    $0x0,%al
call   1090 <test_ts27010_ringbuf_read@plt>
mov    $0x0,%al
call   10b0 <test_ts27010_ringbuf_consume@plt>
mov    $0x0,%al
call   1070 <test_ts27010_ringbuf_push@plt>
mov    $0x0,%al
call   1040 <test_ts27010_ringbuf_write@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_ts27010_usb_ringbuf>:
push   %rax
xor    %eax,%eax
call   1060 <test_ts27010_ringbuf_alloc@plt>
xor    %eax,%eax
call   1080 <test_ts27010_ringbuf_free@plt>
xor    %eax,%eax
call   1030 <test_ts27010_ringbuf_level@plt>
xor    %eax,%eax
call   10a0 <test_ts27010_ringbuf_room@plt>
xor    %eax,%eax
call   1050 <test_ts27010_ringbuf_peek@plt>
xor    %eax,%eax
call   1090 <test_ts27010_ringbuf_read@plt>
xor    %eax,%eax
call   10b0 <test_ts27010_ringbuf_consume@plt>
xor    %eax,%eax
call   1070 <test_ts27010_ringbuf_push@plt>
xor    %eax,%eax
pop    %rcx
jmp    1040 <test_ts27010_ringbuf_write@plt>

LLVM IR (-O0):
define void @test_ts27010_usb_ringbuf() {
%1 = call i32 (...) @test_ts27010_ringbuf_alloc()
%2 = call i32 (...) @test_ts27010_ringbuf_free()
%3 = call i32 (...) @test_ts27010_ringbuf_level()
%4 = call i32 (...) @test_ts27010_ringbuf_room()
%5 = call i32 (...) @test_ts27010_ringbuf_peek()
%6 = call i32 (...) @test_ts27010_ringbuf_read()
%7 = call i32 (...) @test_ts27010_ringbuf_consume()
%8 = call i32 (...) @test_ts27010_ringbuf_push()
%9 = call i32 (...) @test_ts27010_ringbuf_write()
ret void
}

LLVM IR (-O2):
define void @test_ts27010_usb_ringbuf() {
%1 = tail call i32 (...) @test_ts27010_ringbuf_alloc()
%2 = tail call i32 (...) @test_ts27010_ringbuf_free()
%3 = tail call i32 (...) @test_ts27010_ringbuf_level()
%4 = tail call i32 (...) @test_ts27010_ringbuf_room()
%5 = tail call i32 (...) @test_ts27010_ringbuf_peek()
%6 = tail call i32 (...) @test_ts27010_ringbuf_read()
%7 = tail call i32 (...) @test_ts27010_ringbuf_consume()
%8 = tail call i32 (...) @test_ts27010_ringbuf_push()
%9 = tail call i32 (...) @test_ts27010_ringbuf_write()
ret void
}