#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 fn_sq_ch_69_ch_113_ch_117_ch_105_ch_118_ch_97_ch_108_ch_101_ch_110_ch_116_ch_68_ch_97_ch_116_ch_97_ch_80_ch_114_ch_111_ch_112_ch_101_ch_114_ch_116_ch_105_ch_101_ch_115(
    char const *);
int fn_al_sq_ch_69_ch_113_ch_117_ch_105_ch_118_ch_97_ch_108_ch_101_ch_110_ch_116_ch_68_ch_97_ch_116_ch_97_ch_80_ch_114_ch_111_ch_112_ch_101_ch_114_ch_116_ch_105_ch_101_ch_115(
    const char *text) {
  int pos = 0;
  pos =
      fn_sq_ch_69_ch_113_ch_117_ch_105_ch_118_ch_97_ch_108_ch_101_ch_110_ch_116_ch_68_ch_97_ch_116_ch_97_ch_80_ch_114_ch_111_ch_112_ch_101_ch_114_ch_116_ch_105_ch_101_ch_115(
          text);
  if (pos != -1)
    return pos;
  return -1;
}


x86 assembly (clang, -O0):
<fn_al_sq_ch_69_ch_113_ch_117_ch_105_ch_118_ch_97_ch_108_ch_101_ch_110_ch_116_ch_68_ch_97_ch_116_ch_97_ch_80_ch_114_ch_111_ch_112_ch_101_ch_114_ch_116_ch_105_ch_101_ch_115>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
call   1030 <fn_sq_ch_69_ch_113_ch_117_ch_105_ch_118_ch_97_ch_108_ch_101_ch_110_ch_116_ch_68_ch_97_ch_116_ch_97_ch_80_ch_114_ch_111_ch_112_ch_101_ch_114_ch_116_ch_105_ch_101_ch_115@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0xffffffff,-0x14(%rbp)
je     1144 <fn_al_sq_ch_69_ch_113_ch_117_ch_105_ch_118_ch_97_ch_108_ch_101_ch_110_ch_116_ch_68_ch_97_ch_116_ch_97_ch_80_ch_114_ch_111_ch_112_ch_101_ch_114_ch_116_ch_105_ch_101_ch_115+0x34>
mov    -0x14(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    114b <fn_al_sq_ch_69_ch_113_ch_117_ch_105_ch_118_ch_97_ch_108_ch_101_ch_110_ch_116_ch_68_ch_97_ch_116_ch_97_ch_80_ch_114_ch_111_ch_112_ch_101_ch_114_ch_116_ch_105_ch_101_ch_115+0x3b>
movl   $0xffffffff,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<fn_al_sq_ch_69_ch_113_ch_117_ch_105_ch_118_ch_97_ch_108_ch_101_ch_110_ch_116_ch_68_ch_97_ch_116_ch_97_ch_80_ch_114_ch_111_ch_112_ch_101_ch_114_ch_116_ch_105_ch_101_ch_115>:
jmp    1030 <fn_sq_ch_69_ch_113_ch_117_ch_105_ch_118_ch_97_ch_108_ch_101_ch_110_ch_116_ch_68_ch_97_ch_116_ch_97_ch_80_ch_114_ch_111_ch_112_ch_101_ch_114_ch_116_ch_105_ch_101_ch_115@plt>

LLVM IR (-O0):
define i32 @fn_al_sq_ch_69_ch_113_ch_117_ch_105_ch_118_ch_97_ch_108_ch_101_ch_110_ch_116_ch_68_ch_97_ch_116_ch_97_ch_80_ch_114_ch_111_ch_112_ch_101_ch_114_ch_116_ch_105_ch_101_ch_115(i8* %0) {
%2 = alloca i32
%3 = alloca i8*
%4 = alloca i32
store i8* %0, i8** %3
store i32 0, i32* %4
%5 = load i8*, i8** %3
%6 = call i32 @fn_sq_ch_69_ch_113_ch_117_ch_105_ch_118_ch_97_ch_108_ch_101_ch_110_ch_116_ch_68_ch_97_ch_116_ch_97_ch_80_ch_114_ch_111_ch_112_ch_101_ch_114_ch_116_ch_105_ch_101_ch_115(i8* %5)
store i32 %6, i32* %4
%7 = load i32, i32* %4
%8 = icmp ne i32 %7, -1
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = load i32, i32* %4
store i32 %10, i32* %2
br label %12
11: ; preds = %1
store i32 -1, i32* %2
br label %12
12: ; preds = %11, %9
%13 = load i32, i32* %2
ret i32 %13
}

LLVM IR (-O2):
define i32 @fn_al_sq_ch_69_ch_113_ch_117_ch_105_ch_118_ch_97_ch_108_ch_101_ch_110_ch_116_ch_68_ch_97_ch_116_ch_97_ch_80_ch_114_ch_111_ch_112_ch_101_ch_114_ch_116_ch_105_ch_101_ch_115(i8* %0) {
%2 = tail call i32 @fn_sq_ch_69_ch_113_ch_117_ch_105_ch_118_ch_97_ch_108_ch_101_ch_110_ch_116_ch_68_ch_97_ch_116_ch_97_ch_80_ch_114_ch_111_ch_112_ch_101_ch_114_ch_116_ch_105_ch_101_ch_115(i8* %0)
ret i32 %2
}