#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 */
scalar_t__ _is_sep(char const, char const *);
void _skip_word(const char **data, const char *sep) {
  while (**data && _is_sep(**data, sep) == 0)
    (*data)++;
  if (_is_sep(**data, sep))
    (*data)++;
}


x86 assembly (clang, -O0):
<_skip_word>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movsbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x11(%rbp)
je     1157 <_skip_word+0x47>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
mov    (%rax),%al
mov    -0x10(%rbp),%rsi
movsbl %al,%edi
call   1030 <_is_sep@plt>
cmp    $0x0,%rax
sete   %al
mov    %al,-0x11(%rbp)
mov    -0x11(%rbp),%al
test   $0x1,%al
jne    1167 <_skip_word+0x57>
jmp    117a <_skip_word+0x6a>
mov    -0x8(%rbp),%rax
mov    (%rax),%rcx
add    $0x1,%rcx
mov    %rcx,(%rax)
jmp    1120 <_skip_word+0x10>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
mov    (%rax),%al
mov    -0x10(%rbp),%rsi
movsbl %al,%edi
call   1030 <_is_sep@plt>
cmp    $0x0,%rax
je     11a7 <_skip_word+0x97>
mov    -0x8(%rbp),%rax
mov    (%rax),%rcx
add    $0x1,%rcx
mov    %rcx,(%rax)
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<_skip_word>:
push   %r14
push   %rbx
push   %rax
mov    %rsi,%r14
mov    %rdi,%rbx
mov    (%rdi),%rax
mov    (%rax),%al
test   %al,%al
je     1152 <_skip_word+0x42>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movsbl %al,%edi
mov    %r14,%rsi
call   1030 <_is_sep@plt>
mov    (%rbx),%rcx
test   %rax,%rax
jne    1156 <_skip_word+0x46>
lea    0x1(%rcx),%rax
mov    %rax,(%rbx)
movzbl 0x1(%rcx),%eax
test   %al,%al
jne    1130 <_skip_word+0x20>
xor    %eax,%eax
jmp    1158 <_skip_word+0x48>
mov    (%rcx),%al
movsbl %al,%edi
mov    %r14,%rsi
call   1030 <_is_sep@plt>
test   %rax,%rax
je     116c <_skip_word+0x5c>
addq   $0x1,(%rbx)
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
define void @_skip_word(i8** %0, i8* %1) {
%3 = alloca i8**
%4 = alloca i8*
store i8** %0, i8*** %3
store i8* %1, i8** %4
br label %5
5: ; preds = %20, %2
%6 = load i8**, i8*** %3
%7 = load i8*, i8** %6
%8 = load i8, i8* %7
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %18
11: ; preds = %5
%12 = load i8**, i8*** %3
%13 = load i8*, i8** %12
%14 = load i8, i8* %13
%15 = load i8*, i8** %4
%16 = call i64 @_is_sep(i8 signext %14, i8* %15)
%17 = icmp eq i64 %16, 0
br label %18
18: ; preds = %11, %5
%19 = phi i1 [ false, %5 ], [ %17, %11 ]
br i1 %19, label %20, label %24
20: ; preds = %18
%21 = load i8**, i8*** %3
%22 = load i8*, i8** %21
%23 = getelementptr inbounds i8, i8* %22, i32 1
store i8* %23, i8** %21
br label %5
24: ; preds = %18
%25 = load i8**, i8*** %3
%26 = load i8*, i8** %25
%27 = load i8, i8* %26
%28 = load i8*, i8** %4
%29 = call i64 @_is_sep(i8 signext %27, i8* %28)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %35
31: ; preds = %24
%32 = load i8**, i8*** %3
%33 = load i8*, i8** %32
%34 = getelementptr inbounds i8, i8* %33, i32 1
store i8* %34, i8** %32
br label %35
35: ; preds = %31, %24
ret void
}

LLVM IR (-O2):
define void @_skip_word(i8** nocapture %0, i8* %1) {
%3 = load i8*, i8** %0
%4 = load i8, i8* %3
%5 = icmp eq i8 %4, 0
br i1 %5, label %17, label %6
6: ; preds = %2, %13
%7 = phi i8 [ %15, %13 ], [ %4, %2 ]
%8 = tail call i64 @_is_sep(i8 signext %7, i8* %1)
%9 = icmp eq i64 %8, 0
%10 = load i8*, i8** %0
br i1 %9, label %13, label %11
11: ; preds = %6
%12 = load i8, i8* %10
br label %17
13: ; preds = %6
%14 = getelementptr inbounds i8, i8* %10, i64 1
store i8* %14, i8** %0
%15 = load i8, i8* %14
%16 = icmp eq i8 %15, 0
br i1 %16, label %17, label %6
17: ; preds = %13, %11, %2
%18 = phi i8 [ 0, %2 ], [ %12, %11 ], [ 0, %13 ]
%19 = tail call i64 @_is_sep(i8 signext %18, i8* %1)
%20 = icmp eq i64 %19, 0
br i1 %20, label %24, label %21
21: ; preds = %17
%22 = load i8*, i8** %0
%23 = getelementptr inbounds i8, i8* %22, i64 1
store i8* %23, i8** %0
br label %24
24: ; preds = %21, %17
ret void
}