// File: /workspace/github_c_makefile_star2_O3/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 $0x88, %rsp
movq %rdi, %rbx
cmpl $0x0, 0x3a0b2(%rip)     # 0x5a5a8
movq %rdi, 0x20(%rsp)
je 0x2061e
movq 0x18(%rbx), %rdi
callq 0x101c0
movq %rax, 0x10(%rsp)
movslq %eax, %r12
movq 0x38(%rbx), %rax
movq 0x40(%rbx), %rsi
leaq (%rsi,%r12), %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), %r15d
cmpl %r15d, %edi
jle 0x2054a
movslq %edi, %rcx
movq %rcx, 0x48(%rbx)
movq %rdi, 0x18(%rsp)
movl 0x4(%rbx), %ecx
movl %ecx, 0x30(%rsp)
movl %r15d, %ecx
subl %eax, %ecx
jle 0x205af
leaq 0x26fc0(%rip), %rdx     # 0x47524
xorl %ebp, %ebp
leaq 0x40(%rsp), %r14
movl $0x40, %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x10200
movq %r14, %rdi
callq 0x101c0
movq %rax, %rbx
movslq %ebx, %r14
movq %r14, %rdi
callq 0x10450
testq %rax, %rax
je 0x205af
movq %rax, %r13
leaq 0x40(%rsp), %rsi
movq %rax, %rdi
movq %r14, %rdx
callq 0x10400
movl %ebx, %ebp
movq %r13, %r14
jmp 0x205b2
xorl %r14d, %r14d
cmpl $0x2, %r15d
movq %r12, 0x28(%rsp)
jl 0x2065a
decl %r15d
leaq 0x40(%rsp), %r13
movabsq $0x315b1b4b305b1b0d, %rax # imm = 0x315B1B4B305B1B0D
movq %rax, 0x40(%rsp)
movw $0x41, 0x48(%rsp)
movq %r13, %rdi
callq 0x101c0
movq %rax, %r12
leal (%rax,%rbp), %ebx
movslq %ebx, %rsi
movq %r14, %rdi
callq 0x104b0
testq %rax, %rax
je 0x20613
movq %rax, %r14
movslq %ebp, %rdi
addq %rax, %rdi
movslq %r12d, %rdx
movq %r13, %rsi
callq 0x10400
jmp 0x20615
movl %ebp, %ebx
movl %ebx, %ebp
decl %r15d
jne 0x205c9
jmp 0x2065c
movq 0x18(%rbx), %rdi
movq %rdi, 0x10(%rsp)
callq 0x101c0
movq %rax, %rbp
movq 0x8(%rbx), %rdi
movq 0x38(%rbx), %r14
movq 0x28(%rbx), %rsi
addq %rax, %rsi
movq 0x40(%rbx), %rax
cmpq %rax, %rsi
jae 0x2079a
movq %rdi, 0x38(%rsp)
movq %rsi, 0x30(%rsp)
jmp 0x207bf
movl %ebp, %ebx
movq %r14, (%rsp)
movl %ebx, 0x8(%rsp)
leaq 0x40(%rsp), %rdi
movl $0x305b1b0d, (%rdi)     # imm = 0x305B1B0D
movw $0x4b, 0x4(%rdi)
callq 0x101c0
movq %rax, %r12
leal (%rax,%rbx), %r15d
movslq %r15d, %rsi
movq %r14, %rdi
callq 0x104b0
testq %rax, %rax
je 0x206b5
movq %rax, %rbp
movslq %ebx, %rdi
addq %rax, %rdi
movslq %r12d, %rdx
leaq 0x40(%rsp), %rsi
callq 0x10400
movq %rbp, (%rsp)
movl %r15d, 0x8(%rsp)
movq %rbp, %r14
jmp 0x206b8
movl %ebx, %r15d
movq 0x20(%rsp), %rax
movq 0x18(%rax), %rbp
movq %rbp, %rdi
callq 0x101c0
movq %rax, %r12
leal (%rax,%r15), %ebx
movslq %ebx, %rsi
movq %r14, %rdi
callq 0x104b0
testq %rax, %rax
je 0x20701
movq %rax, %r14
movslq %r15d, %rdi
addq %rax, %rdi
movslq %r12d, %rdx
movq %rbp, %rsi
callq 0x10400
movq %r14, (%rsp)
movl %ebx, 0x8(%rsp)
movq %r14, %rdi
jmp 0x20707
movq %r14, %rdi
movl %r15d, %ebx
movq 0x20(%rsp), %rax
movq 0x8(%rax), %rbp
movq 0x38(%rax), %r12
leal (%r12,%rbx), %r15d
movslq %r15d, %rsi
callq 0x104b0
testq %rax, %rax
je 0x20742
movq %rax, %r14
movslq %ebx, %rdi
addq %rax, %rdi
movslq %r12d, %rdx
movq %rbp, %rsi
callq 0x10400
movq %r14, (%rsp)
movl %r15d, 0x8(%rsp)
movq %rsp, %rdi
movq 0x20(%rsp), %rbx
movq %rbx, %rsi
movq 0x10(%rsp), %rbp
movl %ebp, %edx
callq 0x20299
movq 0x28(%rbx), %rax
testq %rax, %rax
je 0x20789
cmpq 0x38(%rbx), %rax
movq 0x28(%rsp), %r12
movq 0x18(%rsp), %rcx
jne 0x20784
addq %r12, %rax
xorl %edx, %edx
divq 0x40(%rbx)
testq %rdx, %rdx
je 0x20978
jmp 0x20a0e
movq 0x18(%rsp), %rax
movl %eax, %ecx
movq 0x28(%rsp), %r12
jmp 0x20a0e
leaq -0x1(%rsi), %rcx
leaq -0x1(%rax), %rdx
cmpq %rdx, %rcx
cmovbq %rcx, %rdx
subq %rsi, %r14
subq %rdx, %rsi
addq %rsi, %rdi
movq %rdi, 0x38(%rsp)
addq %rdx, %r14
movq %rdx, 0x30(%rsp)
movl 0x4(%rbx), %ecx
movl %ecx, 0x18(%rsp)
addq %rbp, %r14
cmpq %r14, %rax
cmovbq %rax, %r14
movq $0x0, (%rsp)
movl $0x0, 0x8(%rsp)
leaq 0x40(%rsp), %rdi
movw $0xd, (%rdi)
callq 0x101c0
movq %rax, %r12
movslq %r12d, %r13
movq %r13, %rdi
callq 0x10450
movq %rax, %r15
testq %rax, %rax
je 0x20820
leaq 0x40(%rsp), %rsi
movq %r15, %rdi
movq %r13, %rdx
callq 0x10400
movq %r15, (%rsp)
movl %r12d, 0x8(%rsp)
jmp 0x20823
xorl %r12d, %r12d
movq 0x10(%rsp), %rdi
movq %rbp, 0x28(%rsp)
subq %rbp, %r14
callq 0x101c0
movq %rax, %r13
leal (%rax,%r12), %ebx
movslq %ebx, %rsi
movq %r15, %rdi
callq 0x104b0
testq %rax, %rax
je 0x2086f
movq %rax, %rbp
movslq %r12d, %rdi
addq %rax, %rdi
movslq %r13d, %rdx
movq 0x10(%rsp), %rsi
callq 0x10400
movq %rbp, (%rsp)
movl %ebx, 0x8(%rsp)
movq %rbp, %r15
jmp 0x20872
movl %r12d, %ebx
leal (%r14,%rbx), %ebp
movslq %ebp, %rsi
movq %r15, %rdi
callq 0x104b0
testq %rax, %rax
je 0x208a4
movq %rax, %r15
movslq %ebx, %rdi
addq %rax, %rdi
movslq %r14d, %rdx
movq 0x38(%rsp), %rsi
callq 0x10400
movq %r15, (%rsp)
movl %ebp, 0x8(%rsp)
movq %rsp, %r13
movq %r13, %rdi
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
callq 0x20299
leaq 0x40(%rsp), %rdi
movb $0x0, 0x4(%rdi)
movl $0x4b305b1b, (%rdi)     # imm = 0x4B305B1B
callq 0x101c0
movq %rax, %r12
movq (%r13), %r15
movl 0x8(%r13), %ebp
leal (%rax,%rbp), %r14d
movslq %r14d, %rbx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x104b0
movslq %ebp, %rdi
testq %rax, %rax
je 0x2090a
movq %rax, %r13
addq %rax, %rdi
movslq %r12d, %rdx
leaq 0x40(%rsp), %rsi
callq 0x10400
movq %r13, %r15
jmp 0x20910
movq %rdi, %rbx
movl %ebp, %r14d
leaq 0x26c23(%rip), %rdx     # 0x4753a
leaq 0x40(%rsp), %r12
movl $0x40, %esi
movq %r12, %rdi
movq 0x30(%rsp), %rcx
xorl %eax, %eax
callq 0x10200
movq %r12, %rdi
callq 0x101c0
movq %rax, %r12
addl %r14d, %eax
movslq %eax, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x104b0
testq %rax, %rax
je 0x2096c
movq %rax, %r13
addq %rax, %rbx
movslq %r12d, %rdx
leaq 0x40(%rsp), %rsi
movq %rbx, %rdi
callq 0x10400
movq %r13, %r15
jmp 0x2096f
movq %rbx, %r14
movl 0x18(%rsp), %edi
jmp 0x20b0c
movq (%rsp), %r13
movl 0x8(%rsp), %ebx
movslq %ebx, %r15
leaq 0x1(%r15), %r14
movq %r13, %rdi
movq %r14, %rsi
callq 0x104b0
testq %rax, %rax
je 0x209ab
movb $0xa, (%rax,%r15)
movq %rax, (%rsp)
movl %r14d, 0x8(%rsp)
movl %r14d, %ebx
movq %rax, %r13
leaq 0x40(%rsp), %rdi
movw $0xd, (%rdi)
callq 0x101c0
movq %rax, %rbp
leal (%rax,%rbx), %r15d
movslq %r15d, %rsi
movq %r13, %rdi
callq 0x104b0
testq %rax, %rax
je 0x209f0
movq %rax, %r14
movslq %ebx, %rdi
addq %rax, %rdi
movslq %ebp, %rdx
leaq 0x40(%rsp), %rsi
callq 0x10400
movq %r14, (%rsp)
movl %r15d, 0x8(%rsp)
movq 0x18(%rsp), %rax
leal 0x1(%rax), %ecx
movq 0x20(%rsp), %rbx
cmpl 0x48(%rbx), %eax
jl 0x20a09
movslq %ecx, %rax
movq %rax, 0x48(%rbx)
movq 0x10(%rsp), %rbp
addq 0x28(%rbx), %r12
movq 0x40(%rbx), %rsi
addq %rsi, %r12
movq %r12, %rax
xorl %edx, %edx
divq %rsi
subl %eax, %ecx
jle 0x20a86
leaq 0x26b08(%rip), %rdx     # 0x47534
leaq 0x40(%rsp), %r14
movl $0x40, %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x10200
movq %r14, %rdi
callq 0x101c0
movq %rax, %r13
movq (%rsp), %rdi
movslq 0x8(%rsp), %r12
movslq %r13d, %r15
addq %r12, %r15
movq %r15, %rsi
callq 0x104b0
testq %rax, %rax
je 0x20a86
movq %rax, %r14
addq %rax, %r12
movslq %r13d, %rdx
leaq 0x40(%rsp), %rsi
movq %r12, %rdi
callq 0x10400
movq %r14, (%rsp)
movl %r15d, 0x8(%rsp)
addl 0x28(%rbx), %ebp
movl %ebp, %eax
cltd
idivl 0x40(%rbx)
testl %edx, %edx
je 0x20aaf
movl %edx, %ecx
leaq 0x26a9e(%rip), %rdx     # 0x4753a
leaq 0x40(%rsp), %rdi
movl $0x40, %esi
xorl %eax, %eax
callq 0x10200
jmp 0x20ab6
movw $0xd, 0x40(%rsp)
leaq 0x40(%rsp), %rdi
callq 0x101c0
movq %rax, %r13
movq (%rsp), %r15
movslq 0x8(%rsp), %r12
movslq %r13d, %r14
addq %r12, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x104b0
testq %rax, %rax
je 0x20afd
movq %rax, %rbp
addq %rax, %r12
movslq %r13d, %rdx
leaq 0x40(%rsp), %rsi
movq %r12, %rdi
callq 0x10400
movq %rbp, %r15
jmp 0x20b00
movq %r12, %r14
movq 0x28(%rbx), %rax
movq %rax, 0x30(%rbx)
movl 0x30(%rsp), %edi
movq %r15, %rsi
movq %r14, %rdx
callq 0x10170
movq %r15, %rdi
callq 0x10060
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq