// File: /workspace/github_cpp_makefile_star2_O1/cjxgm[P]libgpp/src/libgpp.cpp
// Function: (anonymous namespace)::Preprocessor::arithm_eval(int, int)
char *arithm_eval(int pos1, int pos2) {
            // first define the defined(...) operator
            auto i = find_ident("defined", strlen("defined"));
            if (i >= 0)
                warning("the defined(...) macro is already defined");
            else {
                newmacro("defined", strlen("defined"), 1);
                macros[nmacros].macrolen = 0;
                macros[nmacros].macrotext = XX malloc(1);
                macros[nmacros].macrotext[0] = 0;
                macros[nmacros].nnamedargs = -2; // trademark of the defined(...) macro
                nmacros++;
            }
            // process the text in a usual way
            auto s = process_text(C->buf + pos1, pos2 - pos1, FLAG_META);
            // undefine the defined(...) operator
            if (i < 0) {
                i = find_ident("defined", strlen("defined"));
                if ((i < 0) || (macros[i].nnamedargs != -2))
                    warning("the defined(...) macro was redefined in expression");
                else
                    delete_macro(i);
            }

            if (!do_arithm_eval(s, 0, strlen(s), &i))
                return s; // couldn't compute

            free(s);
            auto result = std::to_string(i);
            return my_strdup(result.data());
        }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %rbx
leaq 0x2247(%rip), %rsi      # 0x8bb2
movl $0x7, %edx
callq 0x64ea
movl %eax, %r15d
movl %eax, (%rsp)
testl %eax, %eax
jns 0x6b34
leaq 0x2228(%rip), %rsi      # 0x8bb2
movq %rbx, %rdi
movl $0x7, %edx
callq 0x6652
movq 0x8(%rbx), %r12
movslq 0x10(%rbx), %r13
movl %ebp, 0x4(%rsp)
movl %r14d, %ebp
leaq (,%r13,2), %r14
addq %r13, %r14
shlq $0x4, %r14
movl $0x0, 0x18(%r12,%r14)
movl $0x1, %edi
callq 0x2180
movq %rax, 0x8(%r12,%r14)
movb $0x0, (%rax)
movl $0xfffffffe, 0x1c(%r12,%r14) # imm = 0xFFFFFFFE
movl %ebp, %r14d
movl 0x4(%rsp), %ebp
leal 0x1(%r13), %eax
movl %eax, 0x10(%rbx)
movq 0x20(%rbx), %rax
movslq %r14d, %rcx
movq (%rax), %rsi
addq %rcx, %rsi
subl %ecx, %ebp
movq %rbx, %rdi
movl %ebp, %edx
xorl %ecx, %ecx
callq 0x5c56
movq %rax, %r14
testl %r15d, %r15d
jns 0x6a4c
leaq 0x21a1(%rip), %rsi      # 0x8bb2
movq %rbx, %rdi
movl $0x7, %edx
callq 0x64ea
movl %eax, (%rsp)
testl %eax, %eax
js 0x6b3e
movq 0x8(%rbx), %rcx
movl %eax, %edx
leaq (%rdx,%rdx,2), %rdx
shlq $0x4, %rdx
cmpl $-0x2, 0x1c(%rcx,%rdx)
jne 0x6b3e
movq %rbx, %rdi
movl %eax, %esi
callq 0x6574
movq %r14, %rdi
callq 0x2070
movq %rsp, %rcx
movq %r14, %rdi
xorl %esi, %esi
movl %eax, %edx
callq 0x6fbf
testl %eax, %eax
je 0x6b22
movq %r14, %rdi
callq 0x2170
movl (%rsp), %r14d
movl %r14d, %ebx
negl %ebx
cmovsl %r14d, %ebx
movl $0x1, %ebp
cmpl $0xa, %ebx
jb 0x6ace
movl $0x4, %ebp
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebx, %ecx
cmpl $0x63, %ecx
jbe 0x6ac7
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x6acc
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x6ace
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %ebp
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x6a96
addl $-0x3, %ebp
jmp 0x6ace
addl $-0x2, %ebp
jmp 0x6ace
decl %ebp
shrl $0x1f, %r14d
movl %r14d, %esi
addl %ebp, %esi
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movl $0x2d, %edx
callq 0x2160
movq (%r15), %rdi
addq %r14, %rdi
movl %ebp, %esi
movl %ebx, %edx
callq 0x7dea
movq (%r15), %rdi
callq 0x2f86
movq %rax, %r14
movq (%r15), %rdi
cmpq %r12, %rdi
je 0x6b22
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2140
movq %r14, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x2358
jmp 0x69e7
callq 0x2377
jmp 0x6a4c