#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 */
struct t_hashtable {
  int dummy;
};

/* Variables and functions */
int /*<<< orphan*/ hashtable_compute_length_keys_cb(void *,
                                                    struct t_hashtable *,
                                                    void const *, void const *);
int /*<<< orphan*/ hashtable_compute_length_values_cb(void *,
                                                      struct t_hashtable *,
                                                      void const *,
                                                      void const *);
void hashtable_compute_length_keys_values_cb(void *data,
                                             struct t_hashtable *hashtable,
                                             const void *key,
                                             const void *value) {
  hashtable_compute_length_keys_cb(data, hashtable, key, value);
  hashtable_compute_length_values_cb(data, hashtable, key, value);
}


x86 assembly (clang, -O0):
<hashtable_compute_length_keys_values_cb>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x18(%rbp),%rdx
mov    -0x20(%rbp),%rcx
call   1030 <hashtable_compute_length_keys_cb@plt>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x18(%rbp),%rdx
mov    -0x20(%rbp),%rcx
call   1040 <hashtable_compute_length_values_cb@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<hashtable_compute_length_keys_values_cb>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
mov    %rcx,%r14
mov    %rdx,%r15
mov    %rsi,%r12
mov    %rdi,%rbx
call   1030 <hashtable_compute_length_keys_cb@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
mov    %r15,%rdx
mov    %r14,%rcx
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
jmp    1040 <hashtable_compute_length_values_cb@plt>

LLVM IR (-O0):
%struct.t_hashtable = type { i32 }
define void @hashtable_compute_length_keys_values_cb(i8* %0, %struct.t_hashtable* %1, i8* %2, i8* %3) {
%5 = alloca i8*
%6 = alloca %struct.t_hashtable*
%7 = alloca i8*
%8 = alloca i8*
store i8* %0, i8** %5
store %struct.t_hashtable* %1, %struct.t_hashtable** %6
store i8* %2, i8** %7
store i8* %3, i8** %8
%9 = load i8*, i8** %5
%10 = load %struct.t_hashtable*, %struct.t_hashtable** %6
%11 = load i8*, i8** %7
%12 = load i8*, i8** %8
%13 = call i32 @hashtable_compute_length_keys_cb(i8* %9, %struct.t_hashtable* %10, i8* %11, i8* %12)
%14 = load i8*, i8** %5
%15 = load %struct.t_hashtable*, %struct.t_hashtable** %6
%16 = load i8*, i8** %7
%17 = load i8*, i8** %8
%18 = call i32 @hashtable_compute_length_values_cb(i8* %14, %struct.t_hashtable* %15, i8* %16, i8* %17)
ret void
}

LLVM IR (-O2):
%struct.t_hashtable = type { i32 }
define void @hashtable_compute_length_keys_values_cb(i8* %0, %struct.t_hashtable* %1, i8* %2, i8* %3) {
%5 = tail call i32 @hashtable_compute_length_keys_cb(i8* %0, %struct.t_hashtable* %1, i8* %2, i8* %3)
%6 = tail call i32 @hashtable_compute_length_values_cb(i8* %0, %struct.t_hashtable* %1, i8* %2, i8* %3)
ret void
}