// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/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, 0x3b621(%rip)     # 0x565a8
je 0x1b17e
movq 0x18(%rbx), %rdi
callq 0x101c0
movq %rax, %rdi
movslq %edi, %r15
movq 0x38(%rbx), %rax
movq 0x40(%rbx), %rsi
leaq (%rsi,%r15), %rcx
addq %rcx, %rax
decq %rax
xorl %edx, %edx
divq %rsi
movq %rax, %r8
addq 0x30(%rbx), %rcx
movq %rcx, %rax
xorl %edx, %edx
divq %rsi
movl 0x48(%rbx), %ebp
cmpl %ebp, %r8d
jle 0x1afd1
movslq %r8d, %rcx
movq %rcx, 0x48(%rbx)
movq %r8, 0x20(%rsp)
movq %rdi, 0x28(%rsp)
movl 0x4(%rbx), %ecx
movl %ecx, 0xc(%rsp)
andq $0x0, 0x10(%rsp)
andl $0x0, 0x18(%rsp)
movl %ebp, %ecx
subl %eax, %ecx
jle 0x1b023
leaq 0x2707a(%rip), %rdx     # 0x42074
leaq 0x30(%rsp), %r13
pushq $0x40
popq %rsi
movq %r13, %rdi
xorl %eax, %eax
callq 0x10200
movq %r13, %rdi
callq 0x101c0
leaq 0x10(%rsp), %rdi
movq %r13, %rsi
movl %eax, %edx
callq 0x1ae54
cmpl $0x2, %ebp
pushq $0x1
popq %r14
cmovgel %ebp, %r14d
decl %r14d
movabsq $0x315b1b4b305b1b0d, %r12 # imm = 0x315B1B4B305B1B0D
leaq 0x30(%rsp), %r13
leaq 0x10(%rsp), %rbp
subl $0x1, %r14d
jb 0x1b06e
movq %r12, 0x30(%rsp)
movw $0x41, 0x38(%rsp)
movq %r13, %rdi
callq 0x101c0
movq %rbp, %rdi
movq %r13, %rsi
movl %eax, %edx
callq 0x1ae54
jmp 0x1b045
leaq 0x30(%rsp), %r13
movw $0x4b, 0x4(%r13)
movl $0x305b1b0d, (%r13)     # imm = 0x305B1B0D
movq %r13, %rdi
callq 0x101c0
leaq 0x10(%rsp), %rbp
movq %rbp, %rdi
movq %r13, %rsi
movl %eax, %edx
callq 0x1ae54
movq 0x18(%rbx), %r13
movq %r13, %rdi
callq 0x101c0
movq %rbp, %rdi
movq %r13, %rsi
movl %eax, %edx
callq 0x1ae54
movq 0x8(%rbx), %rsi
movl 0x38(%rbx), %edx
movq %rbp, %rdi
callq 0x1ae54
movq %rbp, %rdi
movq %rbx, %rsi
movq 0x28(%rsp), %r14
movl %r14d, %edx
callq 0x1ad3d
movq 0x28(%rbx), %rax
testq %rax, %rax
je 0x1b0f8
cmpq 0x38(%rbx), %rax
jne 0x1b0f8
addq %r15, %rax
xorl %edx, %edx
divq 0x40(%rbx)
testq %rdx, %rdx
je 0x1b2dc
movq 0x20(%rsp), %rax
movl %eax, %ecx
movq 0x28(%rbx), %rsi
movq 0x40(%rbx), %rdi
addq %rsi, %r15
addq %rdi, %r15
movq %r15, %rax
xorl %edx, %edx
divq %rdi
subl %eax, %ecx
jle 0x1b151
leaq 0x26f64(%rip), %rdx     # 0x42084
leaq 0x30(%rsp), %r15
pushq $0x40
popq %rsi
movq %r15, %rdi
xorl %eax, %eax
callq 0x10200
movq %r15, %rdi
callq 0x101c0
leaq 0x10(%rsp), %rdi
movq %r15, %rsi
movl %eax, %edx
callq 0x1ae54
movq 0x28(%rbx), %rsi
movq 0x40(%rbx), %rdi
addl %r14d, %esi
movl %esi, %eax
cltd
idivl %edi
testl %edx, %edx
je 0x1b284
movl %edx, %ecx
leaq 0x26f20(%rip), %rdx     # 0x4208a
leaq 0x30(%rsp), %rdi
pushq $0x40
popq %rsi
xorl %eax, %eax
callq 0x10200
jmp 0x1b28b
movq 0x18(%rbx), %rdi
callq 0x101c0
movq %rax, %rdx
movl 0x4(%rbx), %eax
movl %eax, 0xc(%rsp)
movq 0x38(%rbx), %rbp
movq 0x28(%rbx), %rax
movq 0x40(%rbx), %rcx
leaq (%rax,%rdx), %r13
movq %rdx, 0x28(%rsp)
leaq -0x1(%rcx), %r14
cmpq %r14, %r13
cmovbq %r13, %r14
subq %r14, %r13
subq %rax, %rbp
addq %r14, %rbp
cmpq %rbp, %rcx
cmovbq %rcx, %rbp
addq 0x8(%rbx), %r13
leaq 0x10(%rsp), %r15
andq $0x0, (%r15)
andl $0x0, 0x8(%r15)
subl %edx, %ebp
leaq 0x30(%rsp), %r12
movw $0xd, (%r12)
movq %r12, %rdi
callq 0x101c0
movq %r15, %rdi
movq %r12, %rsi
movl %eax, %edx
callq 0x1ae54
movq 0x18(%rbx), %r15
movq %r15, %rdi
callq 0x101c0
leaq 0x10(%rsp), %rdi
movq %r15, %rsi
movl %eax, %edx
callq 0x1ae54
leaq 0x10(%rsp), %rdi
movq %rdi, %r15
movq %r13, %rsi
movl %ebp, %edx
callq 0x1ae54
movq %r15, %rdi
movq %rbx, %rsi
movq 0x28(%rsp), %rdx
callq 0x1ad3d
movb $0x0, 0x4(%r12)
movl $0x4b305b1b, (%r12)     # imm = 0x4B305B1B
movq %r12, %rdi
callq 0x101c0
movq %r15, %rdi
movq %r12, %rsi
movl %eax, %edx
callq 0x1ae54
leaq 0x26e2d(%rip), %rdx     # 0x4208a
pushq $0x40
popq %rsi
movq %r12, %rdi
movl %r14d, %ecx
xorl %eax, %eax
callq 0x10200
movq %r12, %rdi
callq 0x101c0
movq %r15, %rdi
movq %r12, %rsi
movl %eax, %edx
callq 0x1ae54
jmp 0x1b2b2
movw $0xd, 0x30(%rsp)
leaq 0x30(%rsp), %r14
movq %r14, %rdi
callq 0x101c0
leaq 0x10(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
movl %eax, %edx
callq 0x1ae54
movq 0x28(%rbx), %rax
movq %rax, 0x30(%rbx)
movq (%r15), %rbx
movslq 0x8(%r15), %rdx
movl 0xc(%rsp), %edi
movq %rbx, %rsi
callq 0x10170
movq %rbx, %rdi
callq 0x10060
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x24efc(%rip), %rsi     # 0x401df
leaq 0x10(%rsp), %r13
pushq $0x1
popq %rdx
movq %r13, %rdi
callq 0x1ae54
leaq 0x30(%rsp), %rbp
movw $0xd, (%rbp)
movq %rbp, %rdi
callq 0x101c0
movq %r13, %rdi
movq %rbp, %rsi
movl %eax, %edx
callq 0x1ae54
movq 0x20(%rsp), %rax
leal 0x1(%rax), %ecx
cmpl 0x48(%rbx), %eax
jl 0x1b0ff
movslq %ecx, %rax
movq %rax, 0x48(%rbx)
jmp 0x1b0ff