// File: /workspace/github_c_makefile_star2_O0/gplessis[P]dotdeb-redis/deps/lua/src/llex.c
// Function: read_string
static void read_string (LexState *ls, int del, SemInfo *seminfo) {
  save_and_next(ls);
  while (ls->current != del) {
    switch (ls->current) {
      case EOZ:
        luaX_lexerror(ls, "unfinished string", TK_EOS);
        continue;  /* to avoid warnings */
      case '\n':
      case '\r':
        luaX_lexerror(ls, "unfinished string", TK_STRING);
        continue;  /* to avoid warnings */
      case '\\': {
        int c;
        next(ls);  /* do not save the `\' */
        switch (ls->current) {
          case 'a': c = '\a'; break;
          case 'b': c = '\b'; break;
          case 'f': c = '\f'; break;
          case 'n': c = '\n'; break;
          case 'r': c = '\r'; break;
          case 't': c = '\t'; break;
          case 'v': c = '\v'; break;
          case '\n':  /* go through */
          case '\r': save(ls, '\n'); inclinenumber(ls); continue;
          case EOZ: continue;  /* will raise an error next loop */
          default: {
            if (!isdigit(ls->current))
              save_and_next(ls);  /* handles \\, \", \', and \? */
            else {  /* \xxx */
              int i = 0;
              c = 0;
              do {
                c = 10*c + (ls->current-'0');
                next(ls);
              } while (++i<3 && isdigit(ls->current));
              if (c > UCHAR_MAX)
                luaX_lexerror(ls, "escape sequence too large", TK_STRING);
              save(ls, c);
            }
            continue;
          }
        }
        save(ls, c);
        next(ls);
        continue;
      }
      default:
        save_and_next(ls);
    }
  }
  save_and_next(ls);  /* skip delimiter */
  seminfo->ts = luaX_newstring(ls, luaZ_buffer(ls->buff) + 1,
                                   luaZ_bufflen(ls->buff) - 2);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rax
movl (%rax), %esi
callq 0x1f200
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rcx
movq (%rcx), %rax
movq %rax, %rdx
addq $-0x1, %rdx
movq %rdx, (%rcx)
cmpq $0x0, %rax
jbe 0x1f8fc
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x8(%rcx)
movzbl (%rax), %eax
movl %eax, -0x24(%rbp)
jmp 0x1f90c
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rdi
callq 0x1a4e0
movl %eax, -0x24(%rbp)
movl -0x24(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, (%rax)
movq -0x8(%rbp), %rax
movl (%rax), %eax
cmpl -0xc(%rbp), %eax
je 0x1fcf1
movq -0x8(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x28(%rbp)
subl $-0x1, %eax
je 0x1f955
jmp 0x1f934
movl -0x28(%rbp), %eax
subl $0xa, %eax
je 0x1f96c
jmp 0x1f93e
movl -0x28(%rbp), %eax
subl $0xd, %eax
je 0x1f96c
jmp 0x1f948
movl -0x28(%rbp), %eax
subl $0x5c, %eax
je 0x1f983
jmp 0x1fc8a
movq -0x8(%rbp), %rdi
leaq 0xc997(%rip), %rsi      # 0x2c2f7
movl $0x11f, %edx            # imm = 0x11F
callq 0x1e500
jmp 0x1f915
movq -0x8(%rbp), %rdi
leaq 0xc980(%rip), %rsi      # 0x2c2f7
movl $0x11e, %edx            # imm = 0x11E
callq 0x1e500
jmp 0x1f915
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rcx
movq (%rcx), %rax
movq %rax, %rdx
addq $-0x1, %rdx
movq %rdx, (%rcx)
cmpq $0x0, %rax
jbe 0x1f9bd
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x8(%rcx)
movzbl (%rax), %eax
movl %eax, -0x2c(%rbp)
jmp 0x1f9cd
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rdi
callq 0x1a4e0
movl %eax, -0x2c(%rbp)
movl -0x2c(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, (%rax)
movq -0x8(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x30(%rbp)
subl $-0x1, %eax
je 0x1fabc
jmp 0x1f9ea
movl -0x30(%rbp), %eax
subl $0xa, %eax
je 0x1faa0
jmp 0x1f9f8
movl -0x30(%rbp), %eax
subl $0xd, %eax
je 0x1faa0
jmp 0x1fa06
movl -0x30(%rbp), %eax
subl $0x61, %eax
je 0x1fa4c
jmp 0x1fa10
movl -0x30(%rbp), %eax
subl $0x62, %eax
je 0x1fa58
jmp 0x1fa1a
movl -0x30(%rbp), %eax
subl $0x66, %eax
je 0x1fa64
jmp 0x1fa24
movl -0x30(%rbp), %eax
subl $0x6e, %eax
je 0x1fa70
jmp 0x1fa2e
movl -0x30(%rbp), %eax
subl $0x72, %eax
je 0x1fa7c
jmp 0x1fa38
movl -0x30(%rbp), %eax
subl $0x74, %eax
je 0x1fa88
jmp 0x1fa42
movl -0x30(%rbp), %eax
subl $0x76, %eax
je 0x1fa94
jmp 0x1fac1
movl $0x7, -0x1c(%rbp)
jmp 0x1fc26
movl $0x8, -0x1c(%rbp)
jmp 0x1fc26
movl $0xc, -0x1c(%rbp)
jmp 0x1fc26
movl $0xa, -0x1c(%rbp)
jmp 0x1fc26
movl $0xd, -0x1c(%rbp)
jmp 0x1fc26
movl $0x9, -0x1c(%rbp)
jmp 0x1fc26
movl $0xb, -0x1c(%rbp)
jmp 0x1fc26
movq -0x8(%rbp), %rdi
movl $0xa, %esi
callq 0x1f200
movq -0x8(%rbp), %rdi
callq 0x1f300
jmp 0x1f915
jmp 0x1f915
callq 0x5570
movq (%rax), %rax
movq -0x8(%rbp), %rcx
movslq (%rcx), %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x800, %eax            # imm = 0x800
cmpl $0x0, %eax
jne 0x1fb45
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rax
movl (%rax), %esi
callq 0x1f200
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rcx
movq (%rcx), %rax
movq %rax, %rdx
addq $-0x1, %rdx
movq %rdx, (%rcx)
cmpq $0x0, %rax
jbe 0x1fb27
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x8(%rcx)
movzbl (%rax), %eax
movl %eax, -0x34(%rbp)
jmp 0x1fb37
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rdi
callq 0x1a4e0
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, (%rax)
jmp 0x1fc21
movl $0x0, -0x20(%rbp)
movl $0x0, -0x1c(%rbp)
imull $0xa, -0x1c(%rbp), %eax
movq -0x8(%rbp), %rcx
movl (%rcx), %ecx
subl $0x30, %ecx
addl %ecx, %eax
movl %eax, -0x1c(%rbp)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rcx
movq (%rcx), %rax
movq %rax, %rdx
addq $-0x1, %rdx
movq %rdx, (%rcx)
cmpq $0x0, %rax
jbe 0x1fb9f
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x8(%rcx)
movzbl (%rax), %eax
movl %eax, -0x38(%rbp)
jmp 0x1fbaf
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rdi
callq 0x1a4e0
movl %eax, -0x38(%rbp)
movl -0x38(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, (%rax)
movl -0x20(%rbp), %ecx
addl $0x1, %ecx
movl %ecx, -0x20(%rbp)
xorl %eax, %eax
cmpl $0x3, %ecx
movb %al, -0x39(%rbp)
jge 0x1fbec
callq 0x5570
movq (%rax), %rax
movq -0x8(%rbp), %rcx
movslq (%rcx), %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x800, %eax            # imm = 0x800
cmpl $0x0, %eax
setne %al
movb %al, -0x39(%rbp)
movb -0x39(%rbp), %al
testb $0x1, %al
jne 0x1fb53
cmpl $0xff, -0x1c(%rbp)
jle 0x1fc15
movq -0x8(%rbp), %rdi
leaq 0xc6fe(%rip), %rsi      # 0x2c309
movl $0x11e, %edx            # imm = 0x11E
callq 0x1e500
movq -0x8(%rbp), %rdi
movl -0x1c(%rbp), %esi
callq 0x1f200
jmp 0x1f915
movq -0x8(%rbp), %rdi
movl -0x1c(%rbp), %esi
callq 0x1f200
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rcx
movq (%rcx), %rax
movq %rax, %rdx
addq $-0x1, %rdx
movq %rdx, (%rcx)
cmpq $0x0, %rax
jbe 0x1fc6c
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x8(%rcx)
movzbl (%rax), %eax
movl %eax, -0x40(%rbp)
jmp 0x1fc7c
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rdi
callq 0x1a4e0
movl %eax, -0x40(%rbp)
movl -0x40(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, (%rax)
jmp 0x1f915
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rax
movl (%rax), %esi
callq 0x1f200
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rcx
movq (%rcx), %rax
movq %rax, %rdx
addq $-0x1, %rdx
movq %rdx, (%rcx)
cmpq $0x0, %rax
jbe 0x1fcd3
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x8(%rcx)
movzbl (%rax), %eax
movl %eax, -0x44(%rbp)
jmp 0x1fce3
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rdi
callq 0x1a4e0
movl %eax, -0x44(%rbp)
movl -0x44(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, (%rax)
jmp 0x1f915
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rax
movl (%rax), %esi
callq 0x1f200
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rcx
movq (%rcx), %rax
movq %rax, %rdx
addq $-0x1, %rdx
movq %rdx, (%rcx)
cmpq $0x0, %rax
jbe 0x1fd3a
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x8(%rcx)
movzbl (%rax), %eax
movl %eax, -0x48(%rbp)
jmp 0x1fd4a
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rdi
callq 0x1a4e0
movl %eax, -0x48(%rbp)
movl -0x48(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, (%rax)
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0x48(%rax), %rax
movq (%rax), %rsi
addq $0x1, %rsi
movq -0x8(%rbp), %rax
movq 0x48(%rax), %rax
movq 0x8(%rax), %rdx
subq $0x2, %rdx
callq 0x1e650
movq %rax, %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
addq $0x50, %rsp
popq %rbp
retq
nopl (%rax,%rax)