#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*/ aeiou(unsigned int *, int, unsigned int, unsigned int,
                         unsigned int, unsigned int, unsigned int);
int /*<<< orphan*/ three(unsigned int *, int, unsigned int);
void aeiou_h(unsigned int *wide, int count, unsigned int a, unsigned int e,
             unsigned int i, unsigned int o, unsigned int u, unsigned int h) {
  if (wide[count + 1] == 'h') {
    three(wide, count, h);
  } else {
    aeiou(wide, count, a, e, i, o, u);
  }
}


x86 assembly (clang, -O0):
<aeiou_h>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    0x18(%rbp),%eax
mov    0x10(%rbp),%eax
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
mov    %ecx,-0x14(%rbp)
mov    %r8d,-0x18(%rbp)
mov    %r9d,-0x1c(%rbp)
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
cmpl   $0x68,(%rax,%rcx,4)
jne    116e <aeiou_h+0x4e>
mov    -0x8(%rbp),%rdi
mov    -0xc(%rbp),%esi
mov    0x18(%rbp),%edx
call   1040 <three@plt>
jmp    118e <aeiou_h+0x6e>
mov    -0x8(%rbp),%rdi
mov    -0xc(%rbp),%esi
mov    -0x10(%rbp),%edx
mov    -0x14(%rbp),%ecx
mov    -0x18(%rbp),%r8d
mov    -0x1c(%rbp),%r9d
mov    0x10(%rbp),%eax
mov    %eax,(%rsp)
call   1030 <aeiou@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<aeiou_h>:
movslq %esi,%rax
cmpl   $0x68,0x4(%rdi,%rax,4)
jne    1133 <aeiou_h+0x13>
mov    0x10(%rsp),%edx
jmp    1040 <three@plt>
jmp    1030 <aeiou@plt>

LLVM IR (-O0):
define void @aeiou_h(i32* %0, i32 %1, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6, i32 %7) {
%9 = alloca i32*
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
store i32* %0, i32** %9
store i32 %1, i32* %10
store i32 %2, i32* %11
store i32 %3, i32* %12
store i32 %4, i32* %13
store i32 %5, i32* %14
store i32 %6, i32* %15
store i32 %7, i32* %16
%17 = load i32*, i32** %9
%18 = load i32, i32* %10
%19 = add nsw i32 %18, 1
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, i32* %17, i64 %20
%22 = load i32, i32* %21
%23 = icmp eq i32 %22, 104
br i1 %23, label %24, label %29
24: ; preds = %8
%25 = load i32*, i32** %9
%26 = load i32, i32* %10
%27 = load i32, i32* %16
%28 = call i32 @three(i32* %25, i32 %26, i32 %27)
br label %38
29: ; preds = %8
%30 = load i32*, i32** %9
%31 = load i32, i32* %10
%32 = load i32, i32* %11
%33 = load i32, i32* %12
%34 = load i32, i32* %13
%35 = load i32, i32* %14
%36 = load i32, i32* %15
%37 = call i32 @aeiou(i32* %30, i32 %31, i32 %32, i32 %33, i32 %34, i32 %35, i32 %36)
br label %38
38: ; preds = %29, %24
ret void
}

LLVM IR (-O2):
define void @aeiou_h(i32* %0, i32 %1, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6, i32 %7) {
%9 = add nsw i32 %1, 1
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i32, i32* %0, i64 %10
%12 = load i32, i32* %11
%13 = icmp eq i32 %12, 104
br i1 %13, label %14, label %16
14: ; preds = %8
%15 = tail call i32 @three(i32* %0, i32 %1, i32 %7)
br label %18
16: ; preds = %8
%17 = tail call i32 @aeiou(i32* %0, i32 %1, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6)
br label %18
18: ; preds = %16, %14
ret void
}