// File: /workspace/github_c_makefile_star2_O1/erikdubbelboer[P]discnt/deps/linenoise/linenoise.c
// Function: refreshLine
static void refreshLine(struct linenoiseState *l) {
    if (mlmode)
        refreshMultiLine(l);
    else
        refreshSingleLine(l);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdi, %rbx
cmpl $0x0, 0x32cef(%rip)     # 0x4cce0
je 0x1a11b
movq 0x18(%rbx), %rdi
callq 0xc1b0
movq %rax, 0x10(%rsp)
movslq %eax, %rcx
movq 0x38(%rbx), %rax
movq 0x40(%rbx), %rsi
movq %rcx, 0x20(%rsp)
addq %rsi, %rcx
addq %rcx, %rax
decq %rax
xorl %edx, %edx
divq %rsi
movq %rax, %rdi
addq 0x30(%rbx), %rcx
xorl %ebp, %ebp
movq %rcx, %rax
xorl %edx, %edx
divq %rsi
movl 0x48(%rbx), %r14d
cmpl %r14d, %edi
jle 0x1a044
movslq %edi, %rcx
movq %rcx, 0x48(%rbx)
movq %rdi, 0x8(%rsp)
movl 0x4(%rbx), %ecx
movl %ecx, 0x18(%rsp)
movl %r14d, %ecx
subl %eax, %ecx
movq %rbx, 0x28(%rsp)
jle 0x1a0ae
leaq 0x221f5(%rip), %rdx     # 0x3c258
xorl %ebp, %ebp
leaq 0x30(%rsp), %r15
movl $0x40, %esi
movq %r15, %rdi
xorl %eax, %eax
callq 0xc1f0
movq %r15, %rdi
callq 0xc1b0
movq %rax, %rbx
movslq %ebx, %r12
movq %r12, %rdi
callq 0xc3f0
testq %rax, %rax
je 0x1a0ae
movq %rax, %r15
leaq 0x30(%rsp), %rsi
movq %rax, %rdi
movq %r12, %rdx
callq 0xc3a0
movl %ebx, %ebp
movq %r15, %r12
jmp 0x1a0b1
xorl %r12d, %r12d
cmpl $0x2, %r14d
jl 0x1a157
decl %r14d
leaq 0x30(%rsp), %rbx
movabsq $0x315b1b4b305b1b0d, %rax # imm = 0x315B1B4B305B1B0D
movq %rax, 0x30(%rsp)
movw $0x41, 0x38(%rsp)
movq %rbx, %rdi
callq 0xc1b0
movq %rax, %r13
leal (%rax,%rbp), %r15d
movslq %r15d, %rsi
movq %r12, %rdi
callq 0xc450
testq %rax, %rax
je 0x1a10e
movq %rax, %r12
movslq %ebp, %rdi
addq %rax, %rdi
movslq %r13d, %rdx
movq %rbx, %rsi
callq 0xc3a0
jmp 0x1a111
movl %ebp, %r15d
movl %r15d, %ebp
decl %r14d
jne 0x1a0c3
jmp 0x1a15a
movq 0x18(%rbx), %rdi
movq %rdi, 0x20(%rsp)
callq 0xc1b0
movq %rax, %r14
movq 0x8(%rbx), %rdi
movq 0x38(%rbx), %r12
movq 0x40(%rbx), %rax
movq 0x28(%rbx), %rsi
addq %r14, %rsi
cmpq %rax, %rsi
jae 0x1a2c0
movq %rdi, 0x10(%rsp)
movq %rsi, 0x18(%rsp)
jmp 0x1a2e5
movl %ebp, %r15d
leaq 0x30(%rsp), %rdi
movw $0x4b, 0x4(%rdi)
movl $0x305b1b0d, (%rdi)     # imm = 0x305B1B0D
callq 0xc1b0
movq %rax, %r13
leal (%rax,%r15), %ebx
movslq %ebx, %rsi
movq %r12, %rdi
callq 0xc450
testq %rax, %rax
je 0x1a1a2
movq %rax, %rbp
movslq %r15d, %rdi
addq %rax, %rdi
movslq %r13d, %rdx
leaq 0x30(%rsp), %rsi
callq 0xc3a0
movq %rbp, %r12
jmp 0x1a1a5
movl %r15d, %ebx
movq 0x28(%rsp), %r15
movq 0x18(%r15), %rbp
movq %rbp, %rdi
callq 0xc1b0
movq %rax, %r13
leal (%rax,%rbx), %r14d
movslq %r14d, %rsi
movq %r12, %rdi
callq 0xc450
testq %rax, %rax
je 0x1a1e3
movq %rax, %r12
movslq %ebx, %rdi
addq %rax, %rdi
movslq %r13d, %rdx
movq %rbp, %rsi
callq 0xc3a0
jmp 0x1a1e6
movl %ebx, %r14d
movq 0x8(%r15), %rbp
movq 0x38(%r15), %rbx
leal (%rbx,%r14), %r13d
movslq %r13d, %rsi
movq %r12, %rdi
callq 0xc450
testq %rax, %rax
je 0x1a218
movq %rax, %r12
movslq %r14d, %rdi
addq %rax, %rdi
movslq %ebx, %rdx
movq %rbp, %rsi
callq 0xc3a0
jmp 0x1a21b
movl %r14d, %r13d
movq 0x28(%r15), %rax
testq %rax, %rax
movq 0x20(%rsp), %r14
je 0x1a241
cmpq 0x38(%r15), %rax
jne 0x1a241
addq %r14, %rax
xorl %edx, %edx
divq 0x40(%r15)
testq %rdx, %rdx
je 0x1a4fb
movq 0x8(%rsp), %rax
movl %eax, %ecx
addq 0x28(%r15), %r14
movq 0x40(%r15), %rsi
addq %rsi, %r14
movq %r14, %rax
xorl %edx, %edx
divq %rsi
subl %eax, %ecx
jle 0x1a2bb
leaq 0x22008(%rip), %rdx     # 0x3c26e
leaq 0x30(%rsp), %r14
movl $0x40, %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0xc1f0
movq %r14, %rdi
callq 0xc1b0
movq %rax, %r14
leal (%rax,%r13), %ebx
movslq %ebx, %rsi
movq %r12, %rdi
callq 0xc450
movq %r13, %rcx
testq %rax, %rax
je 0x1a334
movq %rax, %r13
movslq %ecx, %rdi
addq %rax, %rdi
movslq %r14d, %rdx
leaq 0x30(%rsp), %rsi
callq 0xc3a0
movq %r13, %r12
jmp 0x1a336
movl %r13d, %ebx
jmp 0x1a336
leaq -0x1(%rsi), %rcx
leaq -0x1(%rax), %rdx
cmpq %rdx, %rcx
cmovbq %rcx, %rdx
subq %rsi, %r12
subq %rdx, %rsi
addq %rsi, %rdi
movq %rdi, 0x10(%rsp)
addq %rdx, %r12
movq %rdx, 0x18(%rsp)
movl 0x4(%rbx), %ecx
movl %ecx, 0x28(%rsp)
addq %r14, %r12
cmpq %r12, %rax
cmovbq %rax, %r12
leaq 0x30(%rsp), %rdi
movw $0xd, (%rdi)
callq 0xc1b0
movq %rax, %rbx
movslq %ebx, %r15
movq %r15, %rdi
callq 0xc3f0
testq %rax, %rax
je 0x1a3c4
movq %rax, %r13
leaq 0x30(%rsp), %rsi
movq %rax, %rdi
movq %r15, %rdx
callq 0xc3a0
jmp 0x1a3c9
movl %ecx, %ebx
movq 0x10(%rsp), %rax
addl 0x28(%r15), %eax
cltd
idivl 0x40(%r15)
testl %edx, %edx
je 0x1a364
movl %edx, %ecx
leaq 0x21f23(%rip), %rdx     # 0x3c274
leaq 0x30(%rsp), %rdi
movl $0x40, %esi
xorl %eax, %eax
callq 0xc1f0
jmp 0x1a36b
movw $0xd, 0x30(%rsp)
leaq 0x30(%rsp), %rdi
callq 0xc1b0
movq %rax, %r14
leal (%rbx,%rax), %ebp
movslq %ebp, %rsi
movq %r12, %rdi
callq 0xc450
testq %rax, %rax
je 0x1a3a3
movq %rax, %r12
movslq %ebx, %rdi
addq %rax, %rdi
movslq %r14d, %rdx
leaq 0x30(%rsp), %rsi
callq 0xc3a0
jmp 0x1a3a5
movl %ebx, %ebp
movq 0x28(%r15), %rax
movq %rax, 0x30(%r15)
movslq %ebp, %rdx
movl 0x18(%rsp), %edi
movq %r12, %rsi
callq 0xc170
movq %r12, %rdi
jmp 0x1a4e7
xorl %ebx, %ebx
xorl %r13d, %r13d
subq %r14, %r12
leal (%r14,%rbx), %ebp
movslq %ebp, %rsi
movq %r13, %rdi
callq 0xc450
testq %rax, %rax
je 0x1a3fb
movq %rax, %r15
movslq %ebx, %rdi
addq %rax, %rdi
movslq %r14d, %rdx
movq 0x20(%rsp), %rsi
callq 0xc3a0
movq %r15, %r13
jmp 0x1a3fd
movl %ebx, %ebp
leal (%r12,%rbp), %r14d
movslq %r14d, %rsi
movq %r13, %rdi
callq 0xc450
testq %rax, %rax
je 0x1a42c
movq %rax, %rbx
movslq %ebp, %rdi
addq %rax, %rdi
movslq %r12d, %rdx
movq 0x10(%rsp), %rsi
callq 0xc3a0
movq %rbx, %r13
jmp 0x1a42f
movl %ebp, %r14d
leaq 0x30(%rsp), %rdi
movb $0x0, 0x4(%rdi)
movl $0x4b305b1b, (%rdi)     # imm = 0x4B305B1B
callq 0xc1b0
movq %rax, %rbx
leal (%rax,%r14), %r15d
movslq %r15d, %rsi
movq %r13, %rdi
callq 0xc450
testq %rax, %rax
je 0x1a475
movq %rax, %r12
movslq %r14d, %rdi
addq %rax, %rdi
movslq %ebx, %rdx
leaq 0x30(%rsp), %rsi
callq 0xc3a0
movq %r12, %r13
jmp 0x1a478
movl %r14d, %r15d
leaq 0x21df5(%rip), %rdx     # 0x3c274
leaq 0x30(%rsp), %rbx
movl $0x40, %esi
movq %rbx, %rdi
movq 0x18(%rsp), %rcx
xorl %eax, %eax
callq 0xc1f0
movq %rbx, %rdi
callq 0xc1b0
movq %rax, %rbx
leal (%rax,%r15), %ebp
movslq %ebp, %rsi
movq %r13, %rdi
callq 0xc450
testq %rax, %rax
je 0x1a4d2
movq %rax, %r14
movslq %r15d, %rdi
addq %rax, %rdi
movslq %ebx, %rdx
leaq 0x30(%rsp), %rsi
callq 0xc3a0
movq %r14, %r13
jmp 0x1a4d5
movl %r15d, %ebp
movslq %ebp, %rdx
movl 0x28(%rsp), %edi
movq %r13, %rsi
callq 0xc170
movq %r13, %rdi
callq 0xc060
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leal 0x1(%r13), %ebx
movslq %ebx, %rsi
movq %r12, %rdi
callq 0xc450
testq %rax, %rax
je 0x1a51b
movslq %r13d, %rcx
movb $0xa, (%rax,%rcx)
movq %rax, %r12
jmp 0x1a51e
movl %r13d, %ebx
leaq 0x30(%rsp), %rdi
movw $0xd, (%rdi)
callq 0xc1b0
movq %rax, %r13
addl %ebx, %eax
movq %rax, 0x70(%rsp)
movslq %eax, %rsi
movq %r12, %rdi
callq 0xc450
testq %rax, %rax
je 0x1a567
movq %rax, %rbp
movslq %ebx, %rdi
addq %rax, %rdi
movslq %r13d, %rdx
leaq 0x30(%rsp), %rsi
callq 0xc3a0
movq %rbp, %r12
movq 0x70(%rsp), %r13
jmp 0x1a56a
movl %ebx, %r13d
movq 0x8(%rsp), %rax
leal 0x1(%rax), %ecx
cmpl 0x48(%r15), %eax
jl 0x1a248
movslq %ecx, %rax
movq %rax, 0x48(%r15)
jmp 0x1a248