// File: El-Duder1no[P]geometry/src/parse.cpp
// Function: enter(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
void enter(
        std::string text,
        std::string& figure,
        std::string& x,
        std::string& y,
        std::string& r)
{
    std::string obj, bracket;

    int lBracket, rBracket;
    lBracket = text.find("(");
    rBracket = text.find(")");

    int firstDelim, secondDelim;
    int xData, yData, rData;
    firstDelim = text.find(" ");
    secondDelim = text.find(", ", firstDelim);

    xData = firstDelim - lBracket - 1;
    yData = secondDelim - firstDelim - 1;
    rData = rBracket - secondDelim - 2;

    figure = text.substr(0, lBracket);

    x = text.substr(lBracket + 1, xData);
    y = text.substr(firstDelim + 1, yData);
    r = text.substr(secondDelim + 2, rData);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x140, %rsp            # imm = 0x140
movq %rdi, -0x128(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
leaq -0x48(%rbp), %rdi
callq 0x9980
leaq -0x68(%rbp), %rdi
callq 0x9980
movq -0x128(%rbp), %rdi
leaq 0x4fee(%rip), %rsi      # 0x55ab4
xorl %eax, %eax
movl %eax, %edx
movq %rdx, -0x120(%rbp)
callq 0x9d60
movq -0x128(%rbp), %rdi
movq -0x120(%rbp), %rdx
movl %eax, -0x6c(%rbp)
leaq 0x4afa(%rip), %rsi      # 0x555e8
callq 0x9d60
movq -0x128(%rbp), %rdi
movq -0x120(%rbp), %rdx
movl %eax, -0x70(%rbp)
leaq 0x4fac(%rip), %rsi      # 0x55ab7
callq 0x9d60
movq -0x128(%rbp), %rdi
movl %eax, -0x74(%rbp)
movslq -0x74(%rbp), %rdx
leaq 0x4f91(%rip), %rsi      # 0x55ab6
callq 0x9d60
movq -0x128(%rbp), %rsi
movq -0x120(%rbp), %rdx
movl %eax, -0x78(%rbp)
movl -0x74(%rbp), %ecx
movl -0x6c(%rbp), %eax
notl %eax
addl %ecx, %eax
movl %eax, -0x7c(%rbp)
movl -0x78(%rbp), %ecx
movl -0x74(%rbp), %eax
notl %eax
addl %ecx, %eax
movl %eax, -0x80(%rbp)
movl -0x70(%rbp), %eax
movl -0x78(%rbp), %ecx
subl %ecx, %eax
addl $-0x2, %eax
movl %eax, -0x84(%rbp)
movslq -0x6c(%rbp), %rcx
leaq -0xa8(%rbp), %rdi
callq 0x9610
jmp 0x50b78
movq -0x10(%rbp), %rdi
leaq -0xa8(%rbp), %rsi
movq %rsi, -0x130(%rbp)
callq 0x9820
movq -0x130(%rbp), %rdi
callq 0x9d88
movq -0x128(%rbp), %rsi
movl -0x6c(%rbp), %eax
incl %eax
movslq %eax, %rdx
movslq -0x7c(%rbp), %rcx
leaq -0xd8(%rbp), %rdi
callq 0x9610
jmp 0x50bbc
movq -0x18(%rbp), %rdi
leaq -0xd8(%rbp), %rsi
movq %rsi, -0x138(%rbp)
callq 0x9820
movq -0x138(%rbp), %rdi
callq 0x9d88
movq -0x128(%rbp), %rsi
movl -0x74(%rbp), %eax
incl %eax
movslq %eax, %rdx
movslq -0x80(%rbp), %rcx
leaq -0xf8(%rbp), %rdi
callq 0x9610
jmp 0x50c00
movq -0x20(%rbp), %rdi
leaq -0xf8(%rbp), %rsi
movq %rsi, -0x140(%rbp)
callq 0x9820
movq -0x140(%rbp), %rdi
callq 0x9d88
movq -0x128(%rbp), %rsi
movl -0x78(%rbp), %eax
addl $0x2, %eax
movslq %eax, %rdx
movslq -0x84(%rbp), %rcx
leaq -0x118(%rbp), %rdi
callq 0x9610
jmp 0x50c48
movq -0x28(%rbp), %rdi
leaq -0x118(%rbp), %rsi
callq 0x9820
leaq -0x118(%rbp), %rdi
callq 0x9d88
leaq -0x68(%rbp), %rdi
callq 0x9d88
leaq -0x48(%rbp), %rdi
callq 0x9d88
addq $0x140, %rsp            # imm = 0x140
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x9d88
leaq -0x48(%rbp), %rdi
callq 0x9d88
movq -0xb0(%rbp), %rdi
callq 0x9c00
nop