// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_subtract
static s7_pointer g_subtract(s7_scheme *sc, s7_pointer args)
    {
#define H_subtract "(- x1 ...) subtracts its trailing arguments from the first, or negates the first if only one it is given"
#define Q_subtract sc->pcl_n

        s7_pointer x, p;
        s7_int num_a, den_a;
        s7_double rl_a, im_a;

        x = car(args);
        p = cdr(args);

#if (!WITH_GMP)
        if (is_null(p))
        {
            if (!is_number(x))
                return(method_or_bust_with_type_one_arg(sc, x, sc->subtract_symbol, args, a_number_string));
            return(s7_negate(sc, x));
        }
#endif

        switch (type(x))
        {
            case T_INTEGER:
                num_a = integer(x);

SUBTRACT_INTEGERS:
#if WITH_GMP
                if ((num_a > s7_int32_max) ||
                        (num_a < s7_int32_min))
                    return(big_subtract(sc, cons(sc, s7_int_to_big_integer(sc, num_a), p)));
#endif
                x = car(p);
                p = cdr(p);

                switch (type(x))
                {
                    case T_INTEGER:
#if HAVE_OVERFLOW_CHECKS
                        if (subtract_overflow(num_a, integer(x), &den_a))
                        {
                            rl_a = (s7_double)num_a - (s7_double)integer(x);
                            if (is_null(p)) return(make_real(sc, rl_a));
                            goto SUBTRACT_REALS;
                        }
#else
                        den_a = num_a - integer(x);
                        if (den_a < 0)
                        {
                            if ((num_a > 0) && (integer(x) < 0))
                            {
                                rl_a = (s7_double)num_a - (s7_double)integer(x);
                                if (is_null(p)) return(make_real(sc, rl_a));
                                goto SUBTRACT_REALS;
                            }
                            /* (- most-positive-fixnum most-negative-fixnum) -> -1 (1.8446744073709551615E19) */
                        }
                        else
                        {
                            if ((num_a < 0) && (integer(x) > 0))
                            {
                                rl_a = (s7_double)num_a - (s7_double)integer(x);
                                if (is_null(p)) return(make_real(sc, rl_a));
                                goto SUBTRACT_REALS;
                            }
                            /* (- most-negative-fixnum most-positive-fixnum) -> 1 (-1.8446744073709551615E19) */
                        }
#endif
                        if (is_null(p)) return(make_integer(sc, den_a));
                        num_a = den_a;
                        goto SUBTRACT_INTEGERS;

                    case T_RATIO:
                        {
                            s7_int dn;
                            den_a = denominator(x);
#if HAVE_OVERFLOW_CHECKS
                            if ((multiply_overflow(num_a, den_a, &dn)) ||
                                    (subtract_overflow(dn, numerator(x), &dn)))
                            {
                                if (is_null(p)) return(make_real(sc, num_a - fraction(x)));
                                rl_a = (s7_double)num_a - fraction(x);
                                goto SUBTRACT_REALS;
                            }
#else
                            dn = (num_a * den_a) - numerator(x);
#endif
                            if (is_null(p)) return(s7_make_ratio(sc, dn, den_a));
                            num_a = dn;
                            if (reduce_fraction(&num_a, &den_a) == T_INTEGER)
                                goto SUBTRACT_INTEGERS;
                            goto SUBTRACT_RATIOS;
                        }

                    case T_REAL:
                        if (is_null(p)) return(make_real(sc, num_a - real(x)));
                        rl_a = (s7_double)num_a - real(x);
                        goto SUBTRACT_REALS;

                    case T_COMPLEX:
                        if (is_null(p)) return(s7_make_complex(sc, num_a - real_part(x), -imag_part(x)));
                        rl_a = (s7_double)num_a - real_part(x);
                        im_a = -imag_part(x);
                        goto SUBTRACT_COMPLEX;

                    default:
                        return(method_or_bust_with_type(sc, x, sc->subtract_symbol, cons_unchecked(sc, s7_make_integer(sc, num_a), cons(sc, x, p)), a_number_string, position_of(p, args) - 1));
                }
                break;

            case T_RATIO:
                num_a = numerator(x);
                den_a = denominator(x);
SUBTRACT_RATIOS:
#if WITH_GMP
                if ((num_a > s7_int32_max) ||
                        (den_a > s7_int32_max) ||
                        (num_a < s7_int32_min))
                    return(big_subtract(sc, cons(sc, s7_ratio_to_big_ratio(sc, num_a, den_a), p)));
#endif
                x = car(p);
                p = cdr(p);

                switch (type(x))
                {
                    case T_INTEGER:
#if HAVE_OVERFLOW_CHECKS
                        {
                            s7_int di;
                            if ((multiply_overflow(den_a, integer(x), &di)) ||
                                    (subtract_overflow(num_a, di, &di)))
                            {
                                if (is_null(p)) return(make_real(sc, ((long_double)num_a / (long_double)den_a) - integer(x)));
                                rl_a = ((long_double)num_a / (long_double)den_a) - integer(x);
                                goto SUBTRACT_REALS;
                            }
                            if (is_null(p)) return(s7_make_ratio(sc, di, den_a));
                            num_a = di;
                        }
#else
                        if (is_null(p)) return(s7_make_ratio(sc, num_a - (den_a * integer(x)), den_a));
                        num_a -= (den_a * integer(x));
#endif
                        if (reduce_fraction(&num_a, &den_a) == T_INTEGER)
                            goto SUBTRACT_INTEGERS;
                        goto SUBTRACT_RATIOS;

                    case T_RATIO:
                        {
                            s7_int d1, d2, n1, n2;
                            d1 = den_a;
                            n1 = num_a;
                            d2 = denominator(x);
                            n2 = numerator(x);
                            if (d1 == d2)                                     /* the easy case -- if overflow here, it matches the int32_t case */
                            {
                                if (is_null(p))
                                    return(s7_make_ratio(sc, n1 - n2, d1));
                                num_a -= n2;                  /* d1 can't be zero */
                            }
                            else
                            {
#if (!WITH_GMP) && HAVE_OVERFLOW_CHECKS
                                s7_int n1d2, n2d1;
                                if ((multiply_overflow(d1, d2, &den_a)) ||
                                        (multiply_overflow(n1, d2, &n1d2)) ||
                                        (multiply_overflow(n2, d1, &n2d1)) ||
                                        (subtract_overflow(n1d2, n2d1, &num_a)))
                                {
                                    if (is_null(p))
                                        return(make_real(sc, ((long_double)n1 / (long_double)d1) - ((long_double)n2 / (long_double)d2)));
                                    rl_a = ((long_double)n1 / (long_double)d1) - ((long_double)n2 / (long_double)d2);
                                    goto SUBTRACT_REALS;
                                }
#else
                                num_a = n1 * d2 - n2 * d1;
                                den_a = d1 * d2;
#endif
                                if (is_null(p))
                                    return(s7_make_ratio(sc, num_a, den_a));
                            }
                            if (reduce_fraction(&num_a, &den_a) == T_INTEGER)
                                goto SUBTRACT_INTEGERS;
                            goto SUBTRACT_RATIOS;
                        }

                    case T_REAL:
                        if (is_null(p)) return(make_real(sc, ((long_double)num_a / (long_double)den_a) - real(x)));
                        rl_a = ((long_double)num_a / (long_double)den_a) - real(x);
                        goto SUBTRACT_REALS;

                    case T_COMPLEX:
                        if (is_null(p)) return(s7_make_complex(sc, ((long_double)num_a / (long_double)den_a) - real_part(x), -imag_part(x)));
                        rl_a = ((long_double)num_a / (long_double)den_a) - real_part(x);
                        im_a = -imag_part(x);
                        goto SUBTRACT_COMPLEX;

                    default:
                        return(method_or_bust_with_type(sc, x, sc->subtract_symbol, cons_unchecked(sc, s7_make_ratio(sc, num_a, den_a), cons(sc, x, p)), a_number_string, position_of(p, args) - 1));
                }
                break;

            case T_REAL:
                rl_a = real(x);

SUBTRACT_REALS:
                x = car(p);
                p = cdr(p);

                switch (type(x))
                {
                    case T_INTEGER:
                        if (is_null(p)) return(make_real(sc, rl_a - integer(x)));
                        rl_a -= (s7_double)integer(x);
                        goto SUBTRACT_REALS;

                    case T_RATIO:
                        if (is_null(p)) return(make_real(sc, rl_a - fraction(x)));
                        rl_a -= (s7_double)fraction(x);
                        goto SUBTRACT_REALS;

                    case T_REAL:
                        if (is_null(p)) return(make_real(sc, rl_a - real(x)));
                        rl_a -= real(x);
                        goto SUBTRACT_REALS;

                    case T_COMPLEX:
                        if (is_null(p)) return(s7_make_complex(sc, rl_a - real_part(x), -imag_part(x)));
                        rl_a -= real_part(x);
                        im_a = -imag_part(x);
                        goto SUBTRACT_COMPLEX;

                    default:
                        return(method_or_bust_with_type(sc, x, sc->subtract_symbol, cons_unchecked(sc, make_real(sc, rl_a), cons(sc, x, p)), a_number_string, position_of(p, args) - 1));
                }
                break;

            case T_COMPLEX:
                rl_a = real_part(x);
                im_a = imag_part(x);

SUBTRACT_COMPLEX:
                x = car(p);
                p = cdr(p);

                switch (type(x))
                {
                    case T_INTEGER:
                        if (is_null(p)) return(s7_make_complex(sc, rl_a - integer(x), im_a));
                        rl_a -= (s7_double)integer(x);
                        goto SUBTRACT_COMPLEX;

                    case T_RATIO:
                        if (is_null(p)) return(s7_make_complex(sc, rl_a - fraction(x), im_a));
                        rl_a -= (s7_double)fraction(x);
                        goto SUBTRACT_COMPLEX;

                    case T_REAL:
                        if (is_null(p)) return(s7_make_complex(sc, rl_a - real(x), im_a));
                        rl_a -= real(x);
                        goto SUBTRACT_COMPLEX;

                    case T_COMPLEX:
                        if (is_null(p)) return(s7_make_complex(sc, rl_a - real_part(x), im_a - imag_part(x)));
                        rl_a -= real_part(x);
                        im_a -= imag_part(x);
                        if (im_a == 0.0)
                            goto SUBTRACT_REALS;
                        goto SUBTRACT_COMPLEX;

                    default:
                        return(method_or_bust_with_type(sc, x, sc->subtract_symbol, cons_unchecked(sc, s7_make_complex(sc, rl_a, im_a), cons(sc, x, p)), a_number_string, position_of(p, args) - 1));
                }
                break;

            default:
                return(method_or_bust_with_type(sc, x, sc->subtract_symbol, args, a_number_string, 1));
        }
        return(NULL); /* make the compiler happy */
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x158, %rsp            # imm = 0x158
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rsi), %rsi
movq 0x10(%r14), %rbp
movq 0x110(%rdi), %r12
movzbl (%rsi), %eax
cmpq %r12, %rbp
je 0x6a59c
addl $-0xb, %eax
cmpl $0x3, %eax
ja 0x6a785
leaq 0x9d5b9(%rip), %rcx     # 0x107ab4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x8(%rsi), %rax
movq %rax, 0x8(%rsp)
leaq 0x8(%rsp), %rcx
leaq 0x28(%rsp), %r13
movq 0x8(%rsp), %rsi
movq 0x8(%rbp), %r15
movq 0x10(%rbp), %rbp
movzbl (%r15), %eax
cmpl $0xb, %eax
jne 0x6a54a
movq 0x8(%r15), %rax
movq %rsi, %r15
subq %rax, %r15
jo 0x6aa9e
movq %r15, %rsi
cmpq %r12, %rbp
jne 0x6a51c
jmp 0x6ab56
cmpl $0xc, %eax
jne 0x6a7a4
movq 0x10(%r15), %rdx
movq %rdx, 0x28(%rsp)
movq %rsi, %rax
imulq %rdx, %rax
jo 0x6aee9
subq 0x8(%r15), %rax
jo 0x6aee9
cmpq %r12, %rbp
je 0x6af3c
movq %rax, 0x8(%rsp)
movq %rcx, %r15
movq %rcx, %rdi
movq %r13, %rsi
callq 0xfabb8
movq %r15, %rcx
cmpl $0xb, %eax
je 0x6a517
jmp 0x6a6ad
leaq 0xe03cd(%rip), %rcx     # 0x14a970
cmpb $0x0, (%rax,%rcx)
je 0x6a658
cmpq $0xd, %rax
je 0x6a8bc
cmpl $0xc, %eax
je 0x6a896
cmpl $0xb, %eax
jne 0x6a8f6
movq 0x8(%rsi), %r15
movl 0xe0455(%rip), %eax     # 0x14aa28
shlq $0x3f, %rax
cmpq %rax, %r15
jne 0x6ab53
movq 0x1588(%rbx), %rax
movq 0x8(%rax), %rax
movq 0x820(%rbx), %rcx
movslq 0x7dc(%rbx), %rdx
movq (%rcx,%rdx,8), %rcx
incl %edx
andl $0x7, %edx
movl %edx, 0x7dc(%rbx)
leaq 0xb10f3(%rip), %rdx     # 0x11b702
movq %rdx, 0x10(%rcx)
movq $0x25, 0x8(%rcx)
movq 0x1ef8(%rbx), %rdx
movq 0x10(%rdx), %rdx
movq %rax, 0x8(%rdx)
movq 0x10(%rdx), %rax
movq %rsi, 0x8(%rax)
movq 0x10(%rax), %rax
movq %rcx, 0x8(%rax)
movq 0x1948(%rbx), %r14
movq 0x1ef8(%rbx), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x38dfa
jmp 0x6aeb5
movq 0x1588(%rbx), %rdx
movq 0xead3a(%rip), %r8      # 0x1553a0
movq %rbx, %rdi
movq %r14, %rcx
addq $0x158, %rsp            # imm = 0x158
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xfa261
movsd 0x8(%rsi), %xmm0
jmp 0x6acde
movsd 0x8(%rsi), %xmm0
movsd 0x10(%rsi), %xmm1
jmp 0x6a7d8
movq 0x8(%rsi), %rax
movq %rax, 0x8(%rsp)
movq 0x10(%rsi), %rax
movq %rax, 0x28(%rsp)
leaq 0x9d410(%rip), %r13     # 0x107ac4
movq 0x8(%rbp), %r15
movq 0x10(%rbp), %rbp
movzbl (%r15), %eax
addl $-0xb, %eax
cmpl $0x3, %eax
ja 0x6abf8
movslq (%r13,%rax,4), %rax
addq %r13, %rax
jmpq *%rax
movq 0x28(%rsp), %rdx
movq 0x8(%r15), %rax
movq %rdx, %rcx
imulq %rax, %rcx
jo 0x6aab1
movq 0x8(%rsp), %rsi
subq %rcx, %rsi
jno 0x6a715
jmp 0x6aab1
movq 0x28(%rsp), %rdx
movq 0x8(%rsp), %rsi
movq 0x8(%r15), %rdi
movq 0x10(%r15), %r8
cmpq %r8, %rdx
jne 0x6a725
subq %rdi, %rsi
cmpq %r12, %rbp
je 0x6abad
movq %rsi, 0x8(%rsp)
jmp 0x6a768
movq %rdx, %rax
imulq %r8, %rax
movq %rax, 0x28(%rsp)
jo 0x6aafc
movq %rsi, %rcx
imulq %r8, %rcx
jo 0x6aafc
movq %rdi, %r9
imulq %rdx, %r9
jo 0x6aafc
subq %r9, %rcx
movq %rcx, 0x8(%rsp)
jo 0x6aafc
cmpq %r12, %rbp
je 0x6aeca
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0xfabb8
cmpl $0xb, %eax
jne 0x6a6b4
jmp 0x6a50d
movq 0x1588(%rbx), %rdx
movq 0xeac0d(%rip), %r8      # 0x1553a0
movq %rbx, %rdi
movq %r14, %rcx
movl $0x1, %r9d
jmp 0x6ae28
cmpl $0xd, %eax
je 0x6a9f9
cmpl $0xe, %eax
jne 0x6aa09
cvtsi2sd %rsi, %xmm0
subsd 0x8(%r15), %xmm0
movsd 0x10(%r15), %xmm1
xorpd 0x9f6e1(%rip), %xmm1    # 0x109eb0
cmpq %r12, %rbp
je 0x6a9e0
leaq 0x9d305(%rip), %rax     # 0x107ae4
xorpd %xmm3, %xmm3
movq 0x8(%rbp), %r15
movq 0x10(%rbp), %rbp
movzbl (%r15), %ecx
addl $-0xb, %ecx
cmpl $0x3, %ecx
ja 0x6a915
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
xorps %xmm2, %xmm2
cvtsi2sdq 0x8(%r15), %xmm2
jmp 0x6a815
movsd 0x8(%r15), %xmm2
cmpq %r12, %rbp
jne 0x6a85d
jmp 0x6a88d
cmpq %r12, %rbp
je 0x6a9aa
movq 0x8(%r15), %rcx
movq 0x10(%r15), %rdx
movq %rcx, 0x98(%rsp)
fildll 0x98(%rsp)
movq %rdx, 0x90(%rsp)
fildll 0x90(%rsp)
fdivrp %st, %st(1)
fstpl 0x88(%rsp)
movsd 0x88(%rsp), %xmm2
subsd %xmm2, %xmm0
jmp 0x6a7e3
subsd 0x8(%r15), %xmm0
subsd 0x10(%r15), %xmm1
cmpq %r12, %rbp
je 0x6a9e0
ucomisd %xmm3, %xmm1
jne 0x6a7e3
jp 0x6a7e3
jmp 0x6acde
subsd %xmm2, %xmm0
jmp 0x6a9e0
xorl %eax, %eax
subq 0x8(%rsi), %rax
movq 0x10(%rsi), %rdx
movq %rbx, %rdi
movq %rax, %rsi
addq $0x158, %rsp            # imm = 0x158
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xfa58d
movsd 0x8(%rsi), %xmm0
xorpd 0x9f5e7(%rip), %xmm0    # 0x109eb0
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x6ae99
movq %rbx, %rdi
movapd %xmm0, 0x10(%rsp)
callq 0xa550
movapd 0x10(%rsp), %xmm0
jmp 0x6ae92
movapd 0x9f5b2(%rip), %xmm2    # 0x109eb0
movsd 0x8(%rsi), %xmm0
movsd 0x10(%rsi), %xmm1
xorpd %xmm2, %xmm0
xorpd %xmm2, %xmm1
jmp 0x6a9e0
movq 0x1588(%rbx), %r12
movq %rbx, %rdi
callq 0xd387
movq %rax, %r13
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x6a946
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movl $0x200001, %edx         # imm = 0x200001
movq %rdx, (%rax)
movq %r15, 0x8(%rax)
movq %rbp, 0x10(%rax)
movq 0x90(%rbx), %rcx
leaq -0x8(%rcx), %rsi
movq %rsi, 0x90(%rbx)
movq -0x8(%rcx), %rcx
movq %rdx, (%rcx)
movq %r13, 0x8(%rcx)
movq %rax, 0x10(%rcx)
movq 0xeaa13(%rip), %r8      # 0x1553a0
xorl %r9d, %r9d
cmpq %r14, %rbp
je 0x6ae1f
movq 0x10(%r14), %r14
incl %r9d
cmpq %rbp, %r14
jne 0x6a999
jmp 0x6ae1f
movsd %xmm0, 0x70(%rsp)
movq 0x8(%r15), %rax
movq 0x10(%r15), %rcx
movq %rax, 0x80(%rsp)
fildll 0x80(%rsp)
movq %rcx, 0x78(%rsp)
fildll 0x78(%rsp)
fdivrp %st, %st(1)
fsubrl 0x70(%rsp)
fstpl 0x68(%rsp)
movsd 0x68(%rsp), %xmm0
movq %rbx, %rdi
addq $0x158, %rsp            # imm = 0x158
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xd387
cvtsi2sd %rsi, %xmm0
subsd 0x8(%r15), %xmm0
jmp 0x6acd5
movq 0x1588(%rbx), %r12
movq %rbx, %rdi
callq 0xd27e
movq %rax, %r13
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x6aa3a
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movl $0x200001, %edx         # imm = 0x200001
movq %rdx, (%rax)
movq %r15, 0x8(%rax)
movq %rbp, 0x10(%rax)
movq 0x90(%rbx), %rcx
leaq -0x8(%rcx), %rsi
movq %rsi, 0x90(%rbx)
movq -0x8(%rcx), %rcx
movq %rdx, (%rcx)
movq %r13, 0x8(%rcx)
movq %rax, 0x10(%rcx)
movq 0xea91f(%rip), %r8      # 0x1553a0
xorl %r9d, %r9d
cmpq %r14, %rbp
je 0x6ae1f
movq 0x10(%r14), %r14
incl %r9d
cmpq %rbp, %r14
jne 0x6aa8d
jmp 0x6ae1f
cvtsi2sd %rsi, %xmm0
cvtsi2sd %rax, %xmm1
subsd %xmm1, %xmm0
jmp 0x6acd5
movq 0x8(%rsp), %rcx
movq %rcx, 0xe8(%rsp)
fildll 0xe8(%rsp)
movq %rdx, 0xf0(%rsp)
fildll 0xf0(%rsp)
fdivrp %st, %st(1)
movq %rax, 0xf8(%rsp)
fildll 0xf8(%rsp)
fsubrp %st, %st(1)
fstpl 0xe0(%rsp)
movsd 0xe0(%rsp), %xmm0
jmp 0x6acd5
movq %rsi, 0x108(%rsp)
fildll 0x108(%rsp)
movq %rdx, 0x110(%rsp)
fildll 0x110(%rsp)
fdivrp %st, %st(1)
movq %rdi, 0x118(%rsp)
fildll 0x118(%rsp)
movq %r8, 0x120(%rsp)
fildll 0x120(%rsp)
fdivrp %st, %st(1)
fsubrp %st, %st(1)
fstpl 0x100(%rsp)
movsd 0x100(%rsp), %xmm0
jmp 0x6acd5
negq %r15
cmpq $0x7ff, %r15            # imm = 0x7FF
ja 0x6ab6f
leaq 0xdbdea(%rip), %rax     # 0x146950
movq (%rax,%r15,8), %r14
jmp 0x6aeb5
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x6ab8e
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %r14
movq $0xb, (%r14)
movq %r15, 0x8(%r14)
jmp 0x6aeb5
movq %rbx, %rdi
jmp 0x6aed3
movq 0x8(%rsp), %rax
movq %rax, 0x148(%rsp)
fildll 0x148(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x150(%rsp)
fildll 0x150(%rsp)
fdivrp %st, %st(1)
fsubl 0x8(%r15)
fstpl 0x140(%rsp)
movsd 0x140(%rsp), %xmm0
jmp 0x6a7c1
movq 0x1588(%rbx), %r12
movq 0x8(%rsp), %rsi
movq 0x28(%rsp), %rdx
movq %rbx, %rdi
callq 0xcfa8
movq %rax, %r13
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x6ac33
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movl $0x200001, %edx         # imm = 0x200001
movq %rdx, (%rax)
movq %r15, 0x8(%rax)
movq %rbp, 0x10(%rax)
movq 0x90(%rbx), %rcx
leaq -0x8(%rcx), %rsi
movq %rsi, 0x90(%rbx)
movq -0x8(%rcx), %rcx
movq %rdx, (%rcx)
movq %r13, 0x8(%rcx)
movq %rax, 0x10(%rcx)
movq 0xea726(%rip), %r8      # 0x1553a0
xorl %r9d, %r9d
cmpq %r14, %rbp
je 0x6ae1f
movq 0x10(%r14), %r14
incl %r9d
cmpq %rbp, %r14
jne 0x6ac86
jmp 0x6ae1f
movq 0x8(%rsp), %rax
movq %rax, 0x130(%rsp)
fildll 0x130(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x138(%rsp)
fildll 0x138(%rsp)
fdivrp %st, %st(1)
fsubl 0x8(%r15)
fstpl 0x128(%rsp)
movsd 0x128(%rsp), %xmm0
cmpq %r12, %rbp
je 0x6ae6e
leaq 0x9cdef(%rip), %rax     # 0x107ad4
jmp 0x6ad1a
cmpq %r12, %rbp
je 0x6ae3e
movq 0x8(%r15), %rcx
movq 0x10(%r15), %rdx
movq %rcx, 0x60(%rsp)
fildll 0x60(%rsp)
movq %rdx, 0x58(%rsp)
fildll 0x58(%rsp)
fdivrp %st, %st(1)
fstpl 0x50(%rsp)
movsd 0x50(%rsp), %xmm1
subsd %xmm1, %xmm0
movq 0x8(%rbp), %r15
movq 0x10(%rbp), %rbp
movzbl (%r15), %ecx
addl $-0xb, %ecx
cmpl $0x3, %ecx
ja 0x6ad56
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
xorps %xmm1, %xmm1
cvtsi2sdq 0x8(%r15), %xmm1
jmp 0x6ad48
movsd 0x8(%r15), %xmm1
cmpq %r12, %rbp
jne 0x6ad16
subsd %xmm1, %xmm0
jmp 0x6ae6e
movq 0x1588(%rbx), %r12
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x6ad88
movq %rbx, %rdi
movsd %xmm0, 0x10(%rsp)
callq 0xa550
movsd 0x10(%rsp), %xmm0
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %r13
movq $0xd, (%r13)
movsd %xmm0, 0x8(%r13)
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x6adc4
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movl $0x200001, %edx         # imm = 0x200001
movq %rdx, (%rax)
movq %r15, 0x8(%rax)
movq %rbp, 0x10(%rax)
movq 0x90(%rbx), %rcx
leaq -0x8(%rcx), %rsi
movq %rsi, 0x90(%rbx)
movq -0x8(%rcx), %rcx
movq %rdx, (%rcx)
movq %r13, 0x8(%rcx)
movq %rax, 0x10(%rcx)
movq 0xea595(%rip), %r8      # 0x1553a0
xorl %r9d, %r9d
cmpq %r14, %rbp
je 0x6ae1f
movq 0x10(%r14), %r14
incl %r9d
cmpq %rbp, %r14
jne 0x6ae13
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
addq $0x158, %rsp            # imm = 0x158
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xe659
movsd %xmm0, 0x38(%rsp)
movq 0x8(%r15), %rax
movq 0x10(%r15), %rcx
movq %rax, 0x48(%rsp)
fildll 0x48(%rsp)
movq %rcx, 0x40(%rsp)
fildll 0x40(%rsp)
fdivrp %st, %st(1)
fsubrl 0x38(%rsp)
fstpl 0x30(%rsp)
movsd 0x30(%rsp), %xmm0
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x6ae99
movq %rbx, %rdi
movsd %xmm0, 0x10(%rsp)
callq 0xa550
movsd 0x10(%rsp), %xmm0
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %r14
movq $0xd, (%r14)
movsd %xmm0, 0x8(%r14)
movq %r14, %rax
addq $0x158, %rsp            # imm = 0x158
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rdi
movq %rcx, %rsi
movq %rax, %rdx
addq $0x158, %rsp            # imm = 0x158
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xcfa8
cmpq %r12, %rbp
je 0x6af44
cvtsi2sd %rsi, %xmm0
movsd %xmm0, 0xc8(%rsp)
movq 0x8(%r15), %rax
movq %rax, 0xd8(%rsp)
fildll 0xd8(%rsp)
movq %rdx, 0xd0(%rsp)
fildll 0xd0(%rsp)
fdivrp %st, %st(1)
fsubrl 0xc8(%rsp)
fstpl 0xc0(%rsp)
movsd 0xc0(%rsp), %xmm0
jmp 0x6acde
movq %rbx, %rdi
movq %rax, %rsi
jmp 0x6aed3
movq %rsi, 0xa8(%rsp)
fildll 0xa8(%rsp)
movq 0x8(%r15), %rax
movq %rax, 0xb8(%rsp)
fildll 0xb8(%rsp)
movq %rdx, 0xb0(%rsp)
fildll 0xb0(%rsp)
fdivrp %st, %st(1)
fsubrp %st, %st(1)
fstpl 0xa0(%rsp)
movsd 0xa0(%rsp), %xmm0
jmp 0x6ae6e