// File: /workspace/github_c_makefile_star2_O0/BernardTatin[P]s7sh/s7.c
// Function: object_out_1
static void object_out_1(s7_scheme *sc, s7_pointer obj, s7_pointer strport, use_write_t choice)
    {
        if (sc->object_out_locked)
            object_to_port_with_circle_check(sc, T_Any(obj), strport, choice, sc->circle_info);
        else
        {
            shared_info *ci;
            ci = make_shared_info(sc, T_Any(obj), choice != P_READABLE);
            if (ci)
            {
                sc->object_out_locked = true;
                if (choice == P_READABLE)
                    cyclic_out(sc, obj, strport, ci);
                else object_to_port_with_circle_check(sc, obj, strport, choice, ci);
                sc->object_out_locked = false;
            }
            else object_to_port(sc, obj, strport, choice, NULL);
        }
    }

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movl %ecx, 0x1c(%rsp)
movq 0x30(%rsp), %rax
testb $0x1, 0x24b(%rax)
je 0xd00de
jmp 0xd002b
movq 0x28(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x30(%rsp), %rax
cmpq $0x0, 0x6c0(%rax)
je 0xd00a1
movq 0x10(%rsp), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x151e3b(%rip), %rax    # 0x221e90
testb $0x1, (%rax,%rcx)
je 0xd00a1
movq 0x10(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x15, %eax
jne 0xd007b
movq 0x10(%rsp), %rax
movzwl 0x6(%rax), %eax
andl $0x100, %eax            # imm = 0x100
cmpl $0x0, %eax
jne 0xd00a1
movq 0x30(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq 0x20(%rsp), %rdx
movl 0x1c(%rsp), %ecx
movq 0x30(%rsp), %rax
movq 0x6c0(%rax), %r8
callq 0xd0220
jmp 0xd00d7
movq 0x10(%rsp), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x151e1e(%rip), %rax    # 0x221ed0
movq (%rax,%rcx,8), %rax
movq 0x30(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq 0x20(%rsp), %rdx
movl 0x1c(%rsp), %ecx
movq 0x30(%rsp), %r8
movq 0x6c0(%r8), %r8
callq *%rax
jmp 0xd00d9
jmp 0xd0210
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
cmpl $0x2, 0x1c(%rsp)
setne %al
movzbl %al, %edx
andl $0x1, %edx
callq 0xd05f0
movq %rax, 0x8(%rsp)
cmpq $0x0, 0x8(%rsp)
je 0xd01e1
movq 0x30(%rsp), %rax
movb $0x1, 0x24b(%rax)
cmpl $0x2, 0x1c(%rsp)
jne 0xd013d
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq 0x8(%rsp), %rcx
callq 0xd0b50
jmp 0xd01d3
jmp 0xd013f
movq 0x28(%rsp), %rax
movq %rax, (%rsp)
cmpq $0x0, 0x8(%rsp)
je 0xd01a2
movq (%rsp), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x151d30(%rip), %rax    # 0x221e90
testb $0x1, (%rax,%rcx)
je 0xd01a2
movq (%rsp), %rax
movzbl (%rax), %eax
cmpl $0x15, %eax
jne 0xd0184
movq (%rsp), %rax
movzwl 0x6(%rax), %eax
andl $0x100, %eax            # imm = 0x100
cmpl $0x0, %eax
jne 0xd01a2
movq 0x30(%rsp), %rdi
movq (%rsp), %rsi
movq 0x20(%rsp), %rdx
movl 0x1c(%rsp), %ecx
movq 0x8(%rsp), %r8
callq 0xd0220
jmp 0xd01cf
movq (%rsp), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x151d1e(%rip), %rax    # 0x221ed0
movq (%rax,%rcx,8), %rax
movq 0x30(%rsp), %rdi
movq (%rsp), %rsi
movq 0x20(%rsp), %rdx
movl 0x1c(%rsp), %ecx
movq 0x8(%rsp), %r8
callq *%rax
jmp 0xd01d1
jmp 0xd01d3
movq 0x30(%rsp), %rax
movb $0x0, 0x24b(%rax)
jmp 0xd020e
movq 0x28(%rsp), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x151cde(%rip), %rax    # 0x221ed0
movq (%rax,%rcx,8), %rax
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq 0x20(%rsp), %rdx
movl 0x1c(%rsp), %ecx
xorl %r8d, %r8d
callq *%rax
jmp 0xd0210
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)