// File: /workspace/github_c_makefile_star2_O0/BernardTatin[P]s7sh/s7.c
// Function: let_equal_1
static bool let_equal_1(s7_scheme *sc, s7_pointer x, s7_pointer y, shared_info *ci, bool equivalent)
                {
                    s7_pointer ex, ey, px, py;
                    shared_info *nci = ci;
                    int32_t x_len, y_len;

                    if (!is_let(y))
                        return(false);

                    if ((x == sc->rootlet) || (y == sc->rootlet))
                        return(false);

                    if (ci)
                        equal_ref(sc, x, y, ci);

                    clear_symbol_list(sc);
                    for (x_len = 0, ex = x; is_let(T_Lid(ex)); ex = outlet(ex))
                        for (px = let_slots(ex); tis_slot(px); px = next_slot(px))
                            if (!symbol_is_in_list(sc, slot_symbol(px)))
                            {
                                add_symbol_to_list(sc, slot_symbol(px));
                                x_len++;
                            }

                    for (ey = y; is_let(T_Lid(ey)); ey = outlet(ey))
                        for (py = let_slots(ey); tis_slot(py); py = next_slot(py))
                            if (!symbol_is_in_list(sc, slot_symbol(py)))          /* symbol in y, not in x */
                                return(false);

                    for (y_len = 0, ey = y; is_let(T_Lid(ey)); ey = outlet(ey))
                        for (py = let_slots(ey); tis_slot(py); py = next_slot(py))
                            if (symbol_tag(slot_symbol(py)) != 0)
                            {
                                y_len++;
                                symbol_set_tag(slot_symbol(py), 0);
                            }

                    if (x_len != y_len)                                        /* symbol in x, not in y */
                        return(false);

                    if (!nci) nci = new_shared_info(sc);

                    for (ex = x; is_let(T_Lid(ex)); ex = outlet(ex))
                        for (px = let_slots(ex); tis_slot(px); px = next_slot(px))
                            if (symbol_tag(slot_symbol(px)) == 0)                  /* unshadowed */
                            {
                                symbol_set_tag(slot_symbol(px), sc->syms_tag);     /* values don't match */
                                if (((!equivalent) && (!slots_match(sc, px, y, nci))) ||
                                        ((equivalent) && (!slots_equivalent_match(sc, px, y, nci))))
                                    return(false);
                            }
                    return(true);
                }

// Assembly:
subq $0x78, %rsp
movb %r8b, %al
movq %rdi, 0x68(%rsp)
movq %rsi, 0x60(%rsp)
movq %rdx, 0x58(%rsp)
movq %rcx, 0x50(%rsp)
andb $0x1, %al
movb %al, 0x4f(%rsp)
movq 0x50(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x58(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x1c, %eax
je 0x1b74e2
movb $0x0, 0x77(%rsp)
jmp 0x1b7992
movq 0x60(%rsp), %rax
movq 0x68(%rsp), %rcx
cmpq 0x150(%rcx), %rax
je 0x1b7508
movq 0x58(%rsp), %rax
movq 0x68(%rsp), %rcx
cmpq 0x150(%rcx), %rax
jne 0x1b7512
movb $0x0, 0x77(%rsp)
jmp 0x1b7992
cmpq $0x0, 0x50(%rsp)
je 0x1b76a9
jmp 0x1b7520
movq 0x58(%rsp), %rax
movq (%rax), %rax
andq $0x20000, %rax          # imm = 0x20000
cmpq $0x0, %rax
je 0x1b7549
movq 0x50(%rsp), %rdi
movq 0x58(%rsp), %rsi
callq 0xd28c0
movl %eax, 0xc(%rsp)
jmp 0x1b7551
xorl %eax, %eax
movl %eax, 0xc(%rsp)
jmp 0x1b7551
movl 0xc(%rsp), %eax
movl %eax, 0x14(%rsp)
movq 0x60(%rsp), %rax
movq (%rax), %rax
andq $0x20000, %rax          # imm = 0x20000
cmpq $0x0, %rax
je 0x1b75bc
movq 0x50(%rsp), %rdi
movq 0x60(%rsp), %rsi
callq 0xd28c0
movl %eax, 0x10(%rsp)
cmpl $0x0, 0x14(%rsp)
je 0x1b759d
movl 0x10(%rsp), %eax
cmpl 0x14(%rsp), %eax
sete %al
andb $0x1, %al
movb %al, 0x77(%rsp)
jmp 0x1b7992
cmpl $0x0, 0x10(%rsp)
je 0x1b75b7
movq 0x50(%rsp), %rdi
movq 0x58(%rsp), %rsi
movl 0x10(%rsp), %edx
callq 0x1b6550
jmp 0x1b76a5
cmpl $0x0, 0x14(%rsp)
je 0x1b75db
movq 0x50(%rsp), %rdi
movq 0x60(%rsp), %rsi
movl 0x14(%rsp), %edx
callq 0x1b6550
jmp 0x1b76a3
movq 0x50(%rsp), %rax
movl 0xc(%rax), %eax
movq 0x50(%rsp), %rcx
cmpl 0x14(%rcx), %eax
jl 0x1b75f7
movq 0x50(%rsp), %rdi
callq 0xd24c0
movq 0x60(%rsp), %rax
movq (%rax), %rcx
orq $0x20000, %rcx          # imm = 0x20000
movq %rcx, (%rax)
movq 0x58(%rsp), %rax
movq (%rax), %rcx
orq $0x20000, %rcx          # imm = 0x20000
movq %rcx, (%rax)
movq 0x60(%rsp), %rdx
movq 0x50(%rsp), %rax
movq (%rax), %rax
movq 0x50(%rsp), %rcx
movslq 0xc(%rcx), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x50(%rsp), %rax
movl 0x10(%rax), %edx
addl $0x1, %edx
movl %edx, 0x10(%rax)
movq 0x50(%rsp), %rax
movq 0x20(%rax), %rax
movq 0x50(%rsp), %rsi
movl 0xc(%rsi), %ecx
movl %ecx, %edi
addl $0x1, %edi
movl %edi, 0xc(%rsi)
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movq 0x58(%rsp), %rdx
movq 0x50(%rsp), %rax
movq (%rax), %rax
movq 0x50(%rsp), %rcx
movslq 0xc(%rcx), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x50(%rsp), %rax
movl 0x10(%rax), %edx
movq 0x50(%rsp), %rax
movq 0x20(%rax), %rax
movq 0x50(%rsp), %rsi
movl 0xc(%rsi), %ecx
movl %ecx, %edi
addl $0x1, %edi
movl %edi, 0xc(%rsi)
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
jmp 0x1b76a5
jmp 0x1b76a7
jmp 0x1b76a9
movq 0x68(%rsp), %rdi
callq 0xdd1b0
movl $0x0, 0x1c(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0x40(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x1c, %eax
jne 0x1b776b
movq 0x40(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x30(%rsp)
cmpq $0x0, 0x30(%rsp)
je 0x1b7756
movq 0x30(%rsp), %rax
movq 0x8(%rax), %rax
movl 0x2c(%rax), %eax
movq 0x68(%rsp), %rcx
cmpl 0xa88(%rcx), %eax
jne 0x1b7726
movq 0x30(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rax
movq 0x20(%rax), %rax
movl 0xc(%rax), %eax
movq 0x68(%rsp), %rcx
cmpl 0xa8c(%rcx), %eax
je 0x1b7744
movq 0x68(%rsp), %rdi
movq 0x30(%rsp), %rax
movq 0x8(%rax), %rsi
callq 0xde160
movl 0x1c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1c(%rsp)
jmp 0x1b7746
movq 0x30(%rsp), %rax
movq 0x18(%rax), %rax
movq %rax, 0x30(%rsp)
jmp 0x1b76e4
jmp 0x1b7758
movq 0x40(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x40(%rsp)
jmp 0x1b76c5
movq 0x58(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0x38(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x1c, %eax
jne 0x1b7807
movq 0x38(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x28(%rsp)
cmpq $0x0, 0x28(%rsp)
je 0x1b77f2
movq 0x28(%rsp), %rax
movq 0x8(%rax), %rax
movl 0x2c(%rax), %eax
movq 0x68(%rsp), %rcx
cmpl 0xa88(%rcx), %eax
jne 0x1b77d6
movq 0x28(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rax
movq 0x20(%rax), %rax
movl 0xc(%rax), %eax
movq 0x68(%rsp), %rcx
cmpl 0xa8c(%rcx), %eax
je 0x1b77e0
movb $0x0, 0x77(%rsp)
jmp 0x1b7992
jmp 0x1b77e2
movq 0x28(%rsp), %rax
movq 0x18(%rax), %rax
movq %rax, 0x28(%rsp)
jmp 0x1b7794
jmp 0x1b77f4
movq 0x38(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x38(%rsp)
jmp 0x1b7775
movl $0x0, 0x18(%rsp)
movq 0x58(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0x38(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x1c, %eax
jne 0x1b788a
movq 0x38(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x28(%rsp)
cmpq $0x0, 0x28(%rsp)
je 0x1b7878
movq 0x28(%rsp), %rax
movq 0x8(%rax), %rax
cmpl $0x0, 0x2c(%rax)
je 0x1b7866
movl 0x18(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x18(%rsp)
movq 0x28(%rsp), %rax
movq 0x8(%rax), %rax
movl $0x0, 0x2c(%rax)
jmp 0x1b7868
movq 0x28(%rsp), %rax
movq 0x18(%rax), %rax
movq %rax, 0x28(%rsp)
jmp 0x1b7834
jmp 0x1b787a
movq 0x38(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x38(%rsp)
jmp 0x1b7819
movl 0x1c(%rsp), %eax
cmpl 0x18(%rsp), %eax
je 0x1b789e
movb $0x0, 0x77(%rsp)
jmp 0x1b7992
cmpq $0x0, 0x20(%rsp)
jne 0x1b78b5
movq 0x68(%rsp), %rdi
callq 0xd14f0
movq %rax, 0x20(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0x40(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x1c, %eax
jne 0x1b798d
movq 0x40(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x30(%rsp)
cmpq $0x0, 0x30(%rsp)
je 0x1b7978
movq 0x30(%rsp), %rax
movq 0x8(%rax), %rax
cmpl $0x0, 0x2c(%rax)
jne 0x1b7963
movq 0x68(%rsp), %rax
movl 0xa88(%rax), %ecx
movq 0x30(%rsp), %rax
movq 0x8(%rax), %rax
movl %ecx, 0x2c(%rax)
testb $0x1, 0x4f(%rsp)
jne 0x1b7936
movq 0x68(%rsp), %rdi
movq 0x30(%rsp), %rsi
movq 0x58(%rsp), %rdx
movq 0x20(%rsp), %rcx
callq 0x1b79a0
testb $0x1, %al
jne 0x1b7936
jmp 0x1b795a
testb $0x1, 0x4f(%rsp)
je 0x1b7961
movq 0x68(%rsp), %rdi
movq 0x30(%rsp), %rsi
movq 0x58(%rsp), %rdx
movq 0x20(%rsp), %rcx
callq 0x1b7a50
testb $0x1, %al
jne 0x1b7961
movb $0x0, 0x77(%rsp)
jmp 0x1b7992
jmp 0x1b7963
jmp 0x1b7965
movq 0x30(%rsp), %rax
movq 0x18(%rax), %rax
movq %rax, 0x30(%rsp)
jmp 0x1b78de
jmp 0x1b797a
movq 0x40(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x40(%rsp)
jmp 0x1b78bf
movb $0x1, 0x77(%rsp)
movb 0x77(%rsp), %al
andb $0x1, %al
addq $0x78, %rsp
retq
nopl (%rax)