#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*/ sscanf(char *, char *, char *, char *, char *, char *,
                          char *, char *, char *, char *, char *, char *);
int interpret_ds(char in_line[100], char xs[10], char ys[10], char zs[10],
                 char rs[6], char srns[6], char mols[6], char dens[6],
                 char res[6], char seq[6], char atom[6]) {
  sscanf(in_line, "%s %s %s %s %s %s %s %s %s %s", xs, ys, zs, rs, srns, mols,
         dens, res, seq, atom);
  return (1);
}


x86 assembly (clang, -O0):
<interpret_ds>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %rbx
sub    $0x68,%rsp
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x20(%rbp)
mov    %rsi,-0x28(%rbp)
mov    %rdx,-0x30(%rbp)
mov    %rcx,-0x38(%rbp)
mov    %r8,-0x40(%rbp)
mov    %r9,-0x48(%rbp)
mov    -0x20(%rbp),%rdi
mov    -0x28(%rbp),%rdx
mov    -0x30(%rbp),%rcx
mov    -0x38(%rbp),%r8
mov    -0x40(%rbp),%r9
mov    -0x48(%rbp),%r15
mov    0x10(%rbp),%r14
mov    0x18(%rbp),%rbx
mov    0x20(%rbp),%r11
mov    0x28(%rbp),%r10
mov    0x30(%rbp),%rax
lea    0xe84(%rip),%rsi
mov    %r15,(%rsp)
mov    %r14,0x8(%rsp)
mov    %rbx,0x10(%rsp)
mov    %r11,0x18(%rsp)
mov    %r10,0x20(%rsp)
mov    %rax,0x28(%rsp)
call   1030 <sscanf@plt>
mov    $0x1,%eax
add    $0x68,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<interpret_ds>:
sub    $0x38,%rsp
mov    %r8,%rax
mov    %rcx,%r8
mov    %rdx,%rcx
mov    %rsi,%rdx
movaps 0x40(%rsp),%xmm0
movaps 0x50(%rsp),%xmm1
mov    0x60(%rsp),%rsi
mov    %rsi,0x28(%rsp)
movups %xmm1,0x18(%rsp)
movups %xmm0,0x8(%rsp)
mov    %r9,(%rsp)
lea    0xeb7(%rip),%rsi
mov    %rax,%r9
call   1030 <sscanf@plt>
mov    $0x1,%eax
add    $0x38,%rsp
ret

LLVM IR (-O0):
@.str = [30 x i8] c"%s %s %s %s %s %s %s %s %s %s\00"
define i32 @interpret_ds(i8* %0, i8* %1, i8* %2, i8* %3, i8* %4, i8* %5, i8* %6, i8* %7, i8* %8, i8* %9, i8* %10) {
%12 = alloca i8*
%13 = alloca i8*
%14 = alloca i8*
%15 = alloca i8*
%16 = alloca i8*
%17 = alloca i8*
%18 = alloca i8*
%19 = alloca i8*
%20 = alloca i8*
%21 = alloca i8*
%22 = alloca i8*
store i8* %0, i8** %12
store i8* %1, i8** %13
store i8* %2, i8** %14
store i8* %3, i8** %15
store i8* %4, i8** %16
store i8* %5, i8** %17
store i8* %6, i8** %18
store i8* %7, i8** %19
store i8* %8, i8** %20
store i8* %9, i8** %21
store i8* %10, i8** %22
%23 = load i8*, i8** %12
%24 = load i8*, i8** %13
%25 = load i8*, i8** %14
%26 = load i8*, i8** %15
%27 = load i8*, i8** %16
%28 = load i8*, i8** %17
%29 = load i8*, i8** %18
%30 = load i8*, i8** %19
%31 = load i8*, i8** %20
%32 = load i8*, i8** %21
%33 = load i8*, i8** %22
%34 = call i32 @sscanf(i8* %23, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* %24, i8* %25, i8* %26, i8* %27, i8* %28, i8* %29, i8* %30, i8* %31, i8* %32, i8* %33)
ret i32 1
}

LLVM IR (-O2):
@.str = [30 x i8] c"%s %s %s %s %s %s %s %s %s %s\00"
define i32 @interpret_ds(i8* nocapture %0, i8* %1, i8* %2, i8* %3, i8* %4, i8* %5, i8* %6, i8* %7, i8* %8, i8* %9, i8* %10) {
%12 = tail call i32 @sscanf(i8* %0, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* %1, i8* %2, i8* %3, i8* %4, i8* %5, i8* %6, i8* %7, i8* %8, i8* %9, i8* %10)
ret i32 1
}