// File: /workspace/github_c_makefile_star2_O1/janet-lang[P]janet/build/c/shell.c
// Function: janet_line_get
void janet_line_get(const char *p, JanetBuffer *buffer) {
    gbl_prompt = p;
    buffer->count = 0;
    gbl_historyi = 0;
    if (check_simpleline(buffer)) return;
    FILE *out = janet_dynfile("err", stderr);
    if (line()) {
        norawmode();
        fputc('\n', out);
        return;
    }
    fflush(stdin);
    norawmode();
    fputc('\n', out);
    janet_buffer_ensure(buffer, gbl_len + 1, 2);
    memcpy(buffer->data, gbl_buf, gbl_len);
    buffer->data[gbl_len] = '\n';
    buffer->count = gbl_len + 1;
    replacehistory();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rsi, %rbp
movq %rdi, %r12
movq %fs:0x0, %rax
movq %rax, %r13
movq %rax, %r15
movq %r12, -0x1af8(%rax)
xorl %ecx, %ecx
movl %ecx, 0x10(%rbp)
movl %ecx, -0x1460(%rax)
xorl %edi, %edi
callq 0x161c0
testl %eax, %eax
je 0x5851d
leaq 0x55ee0(%rip), %rdi     # 0xae3c4
callq 0x16040
testq %rax, %rax
je 0x58514
movq %rax, %r12
xorl %ebx, %ebx
leaq 0x6f856(%rip), %r14     # 0xc7d50
movq (%rbx,%r14), %rsi
movq %r12, %rdi
callq 0x165d0
testl %eax, %eax
je 0x5851d
addq $0x8, %rbx
cmpq $0x18, %rbx
jne 0x584fa
callq 0x5955c
testl %eax, %eax
je 0x58536
movq %rbp, %rdi
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x594eb
movq %rbp, 0x70(%rsp)
leaq -0x1af8(%r15), %rbx
movq 0x6faa7(%rip), %rax     # 0xc7ff0
movq (%rax), %rsi
leaq 0x5155c(%rip), %rdi     # 0xa9aaf
callq 0x26013
movq %rax, 0x88(%rsp)
callq 0x59609
movl %eax, %ecx
movq %r13, %rax
movl %ecx, -0x1af0(%r13)
leaq -0x1aec(%r13), %rbp
xorl %ecx, %ecx
movl %ecx, (%rbp)
movq %rax, %r14
movl %ecx, -0x145c(%rax)
movq %rax, %r12
movl %ecx, -0x1010(%rax)
movq (%rbx), %rax
cmpb $0x0, (%rax)
je 0x585a7
xorl %ecx, %ecx
cmpb $0x0, 0x1(%rax,%rcx)
leaq 0x1(%rcx), %rcx
jne 0x58599
movl %ecx, (%rbp)
leaq -0x1450(%r13), %rdi
movb $0x0, (%rdi)
movq %rdi, 0x10(%rsp)
callq 0x59df2
movq %r13, %rdx
testq %rax, %rax
movq %r13, 0x58(%rsp)
je 0x5863c
movq %rax, %r13
movq %r14, 0x28(%rsp)
movq %rdx, %rax
movq %rax, %rcx
movslq -0x1784(%rax), %r14
leaq -0x1780(%rdx), %rax
cmpq $0x63, %r14
jg 0x585fd
leaq -0x1784(%rcx), %rcx
leal 0x1(%r14), %edx
movl %edx, (%rcx)
movq %r13, (%rax,%r14,8)
jmp 0x5860c
movq 0x318(%rax), %rdi
callq 0x160b0
decl %r14d
testl %r14d, %r14d
movq 0x58(%rsp), %r15
jle 0x58630
leaq -0x1780(%r15), %rsi
movl %r14d, %edx
leaq -0x1778(%r15), %rdi
shlq $0x3, %rdx
callq 0x16950
movq %r13, -0x1780(%r15)
movq 0x28(%rsp), %r14
movq (%rbx), %rsi
movslq (%rbp), %rdx
movl $0x1, %edi
callq 0x16250
cmpq $-0x1, %rax
movq 0x70(%rsp), %rbp
je 0x590db
leaq -0x145c(%r14), %r14
leaq -0x1010(%r12), %r12
movq 0x58(%rsp), %rcx
leaq -0x1050(%rcx), %rax
movq %rax, 0x50(%rsp)
leaq -0x104c(%rcx), %rax
movq %rax, 0x80(%rsp)
leaq -0x1790(%rcx), %rax
movq %rax, 0x68(%rsp)
leaq -0x1008(%rcx), %rax
movq %rax, 0x40(%rsp)
leaq -0x1000(%rcx), %rax
movq %rax, 0x38(%rsp)
leaq -0x100c(%rcx), %rax
movq %rax, 0x48(%rsp)
leaq -0x1788(%rcx), %rax
movq %rax, 0x90(%rsp)
movq 0x10(%rsp), %rax
incq %rax
movq %rax, 0x78(%rsp)
leaq 0x1f(%rsp), %r13
movq %r14, 0x20(%rsp)
movq %r12, 0x60(%rsp)
movl $0x1, %edx
xorl %edi, %edi
movq %r13, %rsi
callq 0x16530
movq %rax, %r15
testl %r15d, %r15d
jns 0x58707
callq 0x16120
cmpl $0x4, (%rax)
je 0x586e6
testl %r15d, %r15d
jle 0x58963
movb 0x1f(%rsp), %al
movzbl %al, %ecx
leal -0x1(%rcx), %edx
cmpl $0x1a, %edx
ja 0x58742
leaq 0x55bfa(%rip), %rsi     # 0xae320
movslq (%rsi,%rdx,4), %rcx
addq %rsi, %rcx
jmpq *%rcx
movl (%r12), %eax
testl %eax, %eax
jle 0x58fa1
decl %eax
jmp 0x58f98
cmpl $0x7f, %ecx
jne 0x58799
movslq (%r12), %rbx
testq %rbx, %rbx
jle 0x58fa1
movq 0x10(%rsp), %r15
leaq (%r15,%rbx), %rsi
leaq (%r15,%rbx), %rdi
decq %rdi
movq 0x20(%rsp), %rax
movslq (%rax), %r14
movq %r14, %rdx
subq %rbx, %rdx
callq 0x16950
leal -0x1(%rbx), %eax
movl %eax, (%r12)
leaq -0x1(%r14), %rax
movq 0x20(%rsp), %rcx
movl %eax, (%rcx)
movb $0x0, -0x1(%r15,%r14)
movq 0x20(%rsp), %r14
jmp 0x58f9c
cmpb $0x20, %al
jb 0x58fa1
movsbl %al, %edi
movl $0x1, %esi
callq 0x596d7
testl %eax, %eax
jne 0x58963
jmp 0x58fa1
movl $0x1, %edx
xorl %edi, %edi
leaq 0xb(%rsp), %rsi
callq 0x16530
cmpq $-0x1, %rax
je 0x58fa1
movzbl 0xb(%rsp), %eax
cmpl $0x61, %eax
jle 0x58db8
cmpl $0x65, %eax
jg 0x58e56
cmpl $0x62, %eax
je 0x590ca
cmpl $0x64, %eax
jne 0x58fa1
movslq (%r12), %r12
movl (%r14), %r14d
cmpl %r14d, %r12d
jge 0x58874
callq 0x16c60
movq %rax, %r15
movq 0x10(%rsp), %rax
leaq (%rax,%r12), %rbx
addq %r12, %rax
incq %rax
movq %rax, 0x30(%rsp)
movq (%r15), %rax
movq 0x10(%rsp), %rcx
movsbq (%rcx,%r12), %rcx
testb $0x20, 0x1(%rax,%rcx,2)
je 0x58874
cmpl %r12d, %r14d
je 0x5886f
movl %r14d, %eax
subl %r12d, %eax
movslq %eax, %rdx
movq %rbx, %rdi
movq 0x30(%rsp), %rsi
callq 0x16950
movslq %r14d, %rax
leaq -0x1(%rax), %r14
movq 0x20(%rsp), %rcx
movl %r14d, (%rcx)
movq 0x10(%rsp), %rcx
movb $0x0, -0x1(%rcx,%rax)
cmpl %r14d, %r12d
jl 0x58827
movq 0x20(%rsp), %rax
movl (%rax), %r14d
cmpl %r14d, %r12d
jge 0x58f19
callq 0x16c60
movq %rax, %r15
movq 0x10(%rsp), %rax
leaq (%rax,%r12), %rbx
addq %r12, %rax
incq %rax
movq %rax, 0x30(%rsp)
movq (%r15), %rax
movq 0x10(%rsp), %rcx
movsbq (%rcx,%r12), %rcx
testb $0x20, 0x1(%rax,%rcx,2)
jne 0x58f19
cmpl %r12d, %r14d
je 0x588ed
movl %r14d, %eax
subl %r12d, %eax
movslq %eax, %rdx
movq %rbx, %rdi
movq 0x30(%rsp), %rsi
callq 0x16950
movslq %r14d, %rax
leaq -0x1(%rax), %r14
movq 0x20(%rsp), %rcx
movl %r14d, (%rcx)
movq 0x10(%rsp), %rcx
movb $0x0, -0x1(%rcx,%rax)
cmpl %r14d, %r12d
jl 0x588a1
jmp 0x58f19
cmpl $0x0, (%r14)
je 0x5895e
movl $0x1, %edi
callq 0x59958
jmp 0x58fa1
callq 0x598f2
movq 0x50(%rsp), %rax
cmpl $0x0, (%rax)
je 0x5893f
xorl %edi, %edi
movl $0x1, %esi
movq 0x80(%rsp), %rdx
callq 0x16990
cmpl $-0x1, %eax
je 0x5893f
movq 0x50(%rsp), %rax
movl $0x0, (%rax)
callq 0x16260
movl %eax, %edi
movl $0x2, %esi
callq 0x166f0
movq 0x90(%rsp), %rax
movl $0x1, (%rax)
callq 0x598f2
xorl %eax, %eax
movl $0xffffffff, 0x28(%rsp) # imm = 0xFFFFFFFF
jmp 0x58fa3
movslq (%r12), %rax
movq 0x10(%rsp), %rbx
leaq (%rbx,%rax), %rsi
movslq (%r14), %r15
subq %rax, %r15
movq %rbx, %rdi
movq %r15, %rdx
callq 0x16950
movl %r15d, (%r14)
movb $0x0, (%rbx,%r15)
movl $0x0, (%r12)
jmp 0x58f9c
movl $0x7, %edx
movl $0x1, %edi
leaq 0x55ab2(%rip), %rsi     # 0xae468
callq 0x16250
testq %rax, %rax
jg 0x58f9c
jmp 0x59260
callq 0x598f2
movq 0x50(%rsp), %rax
cmpl $0x0, (%rax)
je 0x589fc
xorl %edi, %edi
movl $0x1, %esi
movq 0x80(%rsp), %rdx
callq 0x16990
cmpl $-0x1, %eax
je 0x589fc
movq 0x50(%rsp), %rax
movl $0x0, (%rax)
callq 0x16260
movl %eax, %edi
movl $0x13, %esi
callq 0x166f0
callq 0x5955c
jmp 0x58f9c
movslq (%r12), %rax
movq 0x10(%rsp), %rcx
movb $0x0, (%rcx,%rax)
movl %eax, (%r14)
jmp 0x58f9c
movq 0x68(%rsp), %rax
cmpq $0x0, (%rax)
je 0x58f9c
movl (%r12), %ebx
movslq %ebx, %r14
movq 0x10(%rsp), %rax
movzbl (%rax,%r14), %edi
callq 0x59e30
testl %eax, %eax
je 0x58a70
addq 0x78(%rsp), %r14
movzbl (%r14), %edi
callq 0x59e30
incl %ebx
incq %r14
testl %eax, %eax
jne 0x58a5a
movl %ebx, (%r12)
callq 0x59ece
movq %rax, %rdi
movl %edx, %esi
callq 0x24b3c
movq %rax, %rdi
movabsq $-0x5800000000000, %rsi # imm = 0xFFFA800000000000
callq 0x1b639
movq 0x68(%rsp), %rcx
movq (%rcx), %rdi
movq %rax, %rsi
callq 0x20329
movq %rax, %r15
shrq $0x2f, %rax
cmpl $0x1fff9, %eax          # imm = 0x1FFF9
movq 0x20(%rsp), %r14
jne 0x58f9c
movq %r15, %rdi
callq 0x1f147
movq %rax, %r12
leaq 0x55077(%rip), %rdi     # 0xadb41
callq 0x1b640
movq %rax, %rdi
movabsq $-0x5000000000000, %rsi # imm = 0xFFFB000000000000
callq 0x1b639
movq %r12, %rdi
movq 0x60(%rsp), %r12
movq %rax, %rsi
callq 0x20329
movq %rax, %rcx
movabsq $-0x800000000000, %rdx  # imm = 0xFFFF800000000000
andq %rdx, %rcx
movabsq $-0x6000000000000, %rdx # imm = 0xFFFA000000000000
cmpq %rdx, %rcx
jne 0x58f9c
movq %rax, %rdi
movq 0x48(%rsp), %rsi
movq %r15, %rdx
callq 0x18401
jmp 0x58f9c
callq 0x598f2
movl $0x0, 0x28(%rsp)
xorl %eax, %eax
jmp 0x58fa3
movq 0x68(%rsp), %rax
movq (%rax), %r14
testq %r14, %r14
je 0x58d9b
movl (%r12), %ebx
movslq %ebx, %r15
movq 0x10(%rsp), %rax
movzbl (%rax,%r15), %edi
callq 0x59e30
testl %eax, %eax
je 0x58b83
addq 0x78(%rsp), %r15
movzbl (%r15), %edi
callq 0x59e30
incl %ebx
incq %r15
testl %eax, %eax
jne 0x58b6d
movl %ebx, (%r12)
callq 0x59ece
testl %edx, %edx
je 0x58f19
movq %rax, %r12
movl %edx, %r15d
movq 0x40(%rsp), %rax
movl $0x0, (%rax)
movslq 0x14(%r14), %rbx
testq %rbx, %rbx
jle 0x58bf7
movq 0x20(%r14), %rbp
shlq $0x4, %rbx
addq %rbp, %rbx
movq (%rbp), %rdi
movq %rdi, %rax
movabsq $-0x800000000000, %rcx  # imm = 0xFFFF800000000000
andq %rcx, %rax
movabsq $-0x5800000000000, %rcx # imm = 0xFFFA800000000000
cmpq %rcx, %rax
jne 0x58bee
callq 0x1f147
movl -0x8(%rax), %ecx
movq %r12, %rdi
movl %r15d, %esi
movq %rax, %rdx
callq 0x5a23e
addq $0x10, %rbp
cmpq %rbx, %rbp
jb 0x58bb5
movq 0x28(%r14), %r14
testq %r14, %r14
jne 0x58ba1
movq %r12, %rdi
movl %r15d, %esi
leaq 0x50c1e(%rip), %rdx     # 0xa982b
movl $0x5, %ecx
callq 0x5a23e
movq %r12, %rdi
movl %r15d, %esi
leaq 0x55138(%rip), %rdx     # 0xadd5c
movl $0x3, %ecx
callq 0x5a23e
movq %r12, %rdi
movl %r15d, %esi
leaq 0x54e02(%rip), %rdx     # 0xada3d
movl $0x2, %ecx
callq 0x5a23e
movq %r12, %rdi
movl %r15d, %esi
leaq 0x5488d(%rip), %rdx     # 0xad4df
movl $0x2, %ecx
callq 0x5a23e
movq %r12, %rdi
movl %r15d, %esi
leaq 0x55114(%rip), %rdx     # 0xadd7d
movl $0x2, %ecx
callq 0x5a23e
movq %r12, %rdi
movl %r15d, %esi
leaq 0x55128(%rip), %rdx     # 0xadda8
movl $0xa, %ecx
callq 0x5a23e
movq %r12, %rdi
movl %r15d, %esi
leaq 0x55150(%rip), %rdx     # 0xadde7
movl $0x5, %ecx
callq 0x5a23e
movq %r12, %rdi
movl %r15d, %esi
leaq 0x551c3(%rip), %rdx     # 0xade71
movl $0x3, %ecx
callq 0x5a23e
movq %r12, %rdi
movl %r15d, %esi
leaq 0x55223(%rip), %rdx     # 0xadee8
movl $0x6, %ecx
callq 0x5a23e
movq %r12, %rdi
movl %r15d, %esi
leaq 0x547f5(%rip), %rdx     # 0xad4d1
movl $0x7, %ecx
callq 0x5a23e
movq %r12, %rdi
movl %r15d, %esi
leaq 0x54d55(%rip), %rdx     # 0xada48
movl $0x3, %ecx
callq 0x5a23e
movq %r12, %rdi
movl %r15d, %esi
leaq 0x5521d(%rip), %rdx     # 0xadf27
movl $0x5, %ecx
callq 0x5a23e
movq %r12, %rdi
movl %r15d, %esi
leaq 0x54d1f(%rip), %rdx     # 0xada40
movl $0x7, %ecx
callq 0x5a23e
movq 0x40(%rsp), %rax
movl (%rax), %eax
testq %rax, %rax
je 0x58e72
movq 0x38(%rsp), %r9
movq (%r9), %r14
movl 0x8(%r9), %r12d
testl %eax, %eax
jle 0x58e78
xorl %ecx, %ecx
movq %rcx, %rdx
shlq $0x4, %rdx
movl 0x8(%r9,%rdx), %esi
cmpl %r12d, %esi
cmovll %esi, %r12d
testl %r12d, %r12d
jle 0x58d86
movq (%r9,%rdx), %rdx
movl %r12d, %esi
xorl %edi, %edi
movb (%r14,%rdi), %r8b
cmpb (%rdx,%rdi), %r8b
jne 0x58d8b
incq %rdi
cmpq %rdi, %rsi
jne 0x58d72
jmp 0x58d8e
xorl %r12d, %r12d
jmp 0x58d8e
movl %edi, %r12d
incq %rcx
cmpq %rax, %rcx
jne 0x58d51
jmp 0x58e78
movl $0x20, %edi
xorl %esi, %esi
callq 0x596d7
movl $0x20, %edi
xorl %esi, %esi
callq 0x596d7
jmp 0x58f19
cmpl $0x2c, %eax
je 0x58ee4
cmpl $0x2e, %eax
je 0x58eee
cmpl $0x5b, %eax
jne 0x58fa1
movl $0x1, %edx
xorl %edi, %edi
leaq 0xc(%rsp), %rsi
callq 0x16530
cmpq $-0x1, %rax
je 0x58fa1
movzbl 0xc(%rsp), %eax
leal -0x30(%rax), %ecx
cmpb $0x9, %cl
ja 0x58f2a
movl $0x1, %edx
xorl %edi, %edi
leaq 0xd(%rsp), %rsi
callq 0x16530
cmpq $-0x1, %rax
je 0x58fa1
movzbl 0xd(%rsp), %eax
cmpl $0x3b, %eax
je 0x59087
cmpl $0x7e, %eax
jne 0x58fa1
movzbl 0xc(%rsp), %eax
cmpl $0x34, %eax
je 0x58f7c
cmpl $0x33, %eax
je 0x588fd
cmpl $0x31, %eax
je 0x58998
jmp 0x58fa1
cmpl $0x66, %eax
je 0x590c0
cmpl $0x7f, %eax
jne 0x58fa1
callq 0x59ac1
jmp 0x58fa1
xorl %r14d, %r14d
xorl %r12d, %r12d
movl %r12d, %ebx
subl %r15d, %ebx
jle 0x58e9b
movslq %r15d, %rax
addq %rax, %r14
xorl %ebp, %ebp
movsbl (%r14,%rbp), %edi
xorl %esi, %esi
callq 0x596d7
incq %rbp
cmpl %ebp, %ebx
jne 0x58e88
cmpl %r15d, %r12d
movq 0x70(%rsp), %rbp
je 0x58eaf
movq 0x48(%rsp), %rax
cmpl $0x0, (%rax)
je 0x58f19
movq 0x40(%rsp), %rax
movslq (%rax), %rax
testq %rax, %rax
movq 0x38(%rsp), %rsi
jle 0x58ef8
shlq $0x4, %rax
xorl %ecx, %ecx
xorl %r15d, %r15d
movl 0x8(%rsi,%rcx), %edx
cmpl %r15d, %edx
cmovgl %edx, %r15d
addq $0x10, %rcx
cmpq %rcx, %rax
jne 0x58eca
addl $0x4, %r15d
jmp 0x58efe
movl $0x64, %edi
jmp 0x58f86
movl $0xffffff9c, %edi       # imm = 0xFFFFFF9C
jmp 0x58f86
movl $0x4, %r15d
callq 0x59609
movl %eax, %r12d
callq 0x598f2
movq 0x40(%rsp), %rax
cmpl $0x1, (%rax)
jg 0x58fb0
callq 0x597d8
movq 0x20(%rsp), %r14
movq 0x60(%rsp), %r12
jmp 0x58fa1
cmpb $0x4f, 0xb(%rsp)
jne 0x58f5d
movl $0x1, %edx
xorl %edi, %edi
leaq 0xc(%rsp), %rsi
callq 0x16530
cmpq $-0x1, %rax
je 0x58fa1
movzbl 0xc(%rsp), %eax
cmpl $0x46, %eax
je 0x58f7c
cmpl $0x48, %eax
je 0x58998
jmp 0x58fa1
addl $-0x41, %eax
cmpl $0x7, %eax
ja 0x58fa1
leaq 0x55420(%rip), %rcx     # 0xae38c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x1, %edi
jmp 0x58f86
movl (%r14), %eax
jmp 0x58f98
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x599df
jmp 0x58fa1
movl (%r12), %eax
cmpl (%r14), %eax
je 0x58fa1
incl %eax
movl %eax, (%r12)
callq 0x597d8
movb $0x1, %al
testb %al, %al
jne 0x586e6
jmp 0x590d4
movl %r12d, %eax
cltd
idivl %r15d
cmpl $0x1, %eax
adcl $0x0, %eax
movl %eax, 0x30(%rsp)
xorl %r14d, %r14d
xorl %r12d, %r12d
movq 0x38(%rsp), %rcx
testl %r12d, %r12d
jne 0x58ff1
movq 0x6f018(%rip), %rax     # 0xc7ff0
movq (%rax), %rsi
movl $0xa, %edi
callq 0x165c0
movq 0x38(%rsp), %rcx
movq 0x48(%rsp), %rax
incl (%rax)
movq %r14, %rax
shlq $0x4, %rax
movq (%rcx,%rax), %rdi
movl 0x8(%rcx,%rax), %ebp
movq 0x6efe9(%rip), %rax     # 0xc7ff0
movq (%rax), %rsi
callq 0x163f0
movl %r15d, %ebx
subl %ebp, %ebx
movq 0x6efd5(%rip), %rbp     # 0xc7ff0
jle 0x5902f
movq (%rbp), %rsi
movl $0x20, %edi
callq 0x165c0
decl %ebx
jne 0x5901d
incl %r12d
movl %r12d, %eax
cltd
idivl 0x30(%rsp)
incq %r14
movq 0x40(%rsp), %rax
movslq (%rax), %rax
movl %edx, %r12d
cmpq %rax, %r14
movq 0x70(%rsp), %rbp
movq 0x38(%rsp), %rcx
jl 0x58fcc
movq 0x6ef8e(%rip), %rbx     # 0xc7ff0
movq (%rbx), %rdi
movq 0x48(%rsp), %rax
movl (%rax), %edx
leaq 0x553aa(%rip), %rsi     # 0xae41d
xorl %eax, %eax
callq 0x16600
movq (%rbx), %rdi
callq 0x16790
jmp 0x58f19
movl $0x2, %edx
xorl %edi, %edi
leaq 0xe(%rsp), %rsi
callq 0x16530
cmpq $-0x1, %rax
je 0x58fa1
cmpb $0x35, 0xe(%rsp)
jne 0x58fa1
movzbl 0xf(%rsp), %eax
cmpl $0x44, %eax
je 0x590ca
cmpl $0x43, %eax
jne 0x58fa1
callq 0x59bfc
jmp 0x58fa1
callq 0x59cb2
jmp 0x58fa1
cmpl $0x0, 0x28(%rsp)
je 0x59134
movq 0x58(%rsp), %rax
cmpl $0x0, -0x1050(%rax)
je 0x59111
movq %rax, %r14
leaq -0x104c(%rax), %rdx
xorl %edi, %edi
movl $0x1, %esi
callq 0x16990
cmpl $-0x1, %eax
je 0x59111
leaq -0x1050(%r14), %rax
movl $0x0, (%rax)
movl $0xa, %edi
movq 0x88(%rsp), %rsi
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x164f0
movq 0x6ee55(%rip), %rax     # 0xc7f90
movq (%rax), %rdi
callq 0x16790
movq 0x58(%rsp), %rbx
movq %rbx, %rax
cmpl $0x0, -0x1050(%rax)
je 0x5917c
movq %rax, %r15
leaq -0x104c(%rbx), %rdx
xorl %edi, %edi
movl $0x1, %esi
callq 0x16990
cmpl $-0x1, %eax
je 0x5917c
leaq -0x1050(%r15), %rax
movl $0x0, (%rax)
movl $0xa, %edi
movq 0x88(%rsp), %rsi
callq 0x164f0
movl (%r14), %esi
incl %esi
movq %rbp, %rdi
movl $0x2, %edx
callq 0x1c416
movq 0x18(%rbp), %rdi
movslq (%r14), %r15
movq 0x10(%rsp), %rsi
movq %r15, %rdx
callq 0x16690
leal 0x1(%r15), %eax
movq 0x18(%rbp), %rcx
movb $0xa, (%rcx,%r15)
movl %eax, 0x10(%rbp)
testq %r15, %r15
je 0x5920e
cmpl $0x2, -0x1784(%rbx)
jl 0x591e7
movq -0x1778(%rbx), %rsi
movq 0x10(%rsp), %rdi
callq 0x165d0
testl %eax, %eax
je 0x5920e
movq 0x10(%rsp), %rdi
callq 0x59df2
testq %rax, %rax
je 0x5924e
movq %rax, %r14
movq -0x1780(%rbx), %rdi
callq 0x160b0
movq %r14, -0x1780(%rbx)
jmp 0x5924e
movq %rbx, %rax
movq %rax, %r14
movq -0x1780(%rax), %rdi
callq 0x160b0
leaq -0x1784(%rbx), %rbx
movl (%rbx), %r15d
cmpl $0x2, %r15d
jl 0x59248
leaq -0x1780(%r14), %rdi
leaq 0x8(%rdi), %rsi
leal -0x1(%r15), %edx
shlq $0x3, %rdx
callq 0x16950
decl %r15d
movl %r15d, (%rbx)
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x1, %edi
callq 0x16aa0