// File: /workspace/github_c_makefile_star2_O2/haxlang[P]hax/haxParse.c
// Function: Hax_Backslash
char
Hax_Backslash(
    char *src,			/* Points to the backslash character of
				 * a backslash sequence. */
    int *readPtr		/* Fill in with number of characters read
				 * from src, unless NULL. */)
{
    char *p = src+1;
    char result;
    int count;

    count = 2;

    switch (*p) {
	case 'b':
	    result = '\b';
	    break;
	case 'e':
	    result = 033;
	    break;
	case 'f':
	    result = '\f';
	    break;
	case 'n':
	    result = '\n';
	    break;
	case 'r':
	    result = '\r';
	    break;
	case 't':
	    result = '\t';
	    break;
	case 'v':
	    result = '\v';
	    break;
	case 'C':
	    p++;
	    if (isspace(*p) || (*p == 0)) {
		result = 'C';
		count = 1;
		break;
	    }
	    count = 3;
	    if (*p == 'M') {
		p++;
		if (isspace(*p) || (*p == 0)) {
		    result = 'M' & 037;
		    break;
		}
		count = 4;
		result = (*p & 037) | '\200';
		break;
	    }
	    count = 3;
	    result = *p & 037;
	    break;
	case 'M':
	    p++;
	    if (isspace(*p) || (*p == 0)) {
		result = 'M';
		count = 1;
		break;
	    }
	    count = 3;
	    result = *p + '\200';
	    break;
	case '}':
	case '{':
	case ']':
	case '[':
	case '$':
	case ' ':
	case ';':
	case '"':
	case '\\':
	    result = *p;
	    break;
	case '\n':
	    result = 0;
	    break;
	default:
	    if (isdigit(*p)) {
		result = *p - '0';
		p++;
		if (!isdigit(*p)) {
		    break;
		}
		count = 3;
		result = (result << 3) + (*p - '0');
		p++;
		if (!isdigit(*p)) {
		    break;
		}
		count = 4;
		result = (result << 3) + (*p - '0');
		break;
	    }
	    result = '\\';
	    count = 1;
	    break;
    }

    if (readPtr != NULL) {
	*readPtr = count;
    }
    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movb 0x1(%rdi), %bpl
movzbl %bpl, %eax
pushq $0x2
popq %r15
leal -0x20(%rax), %ecx
cmpl $0x2d, %ecx
jbe 0xe41e
leal -0x5b(%rax), %ecx
cmpl $0xb, %ecx
jbe 0xe47b
leal -0x72(%rax), %ecx
cmpl $0xb, %ecx
ja 0xe493
leaq 0x69d7(%rip), %rax      # 0x14de4
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movb $0xd, %bpl
jmp 0xe58a
movl $0x8000015, %edx        # imm = 0x8000015
btq %rcx, %rdx
jb 0xe58a
cmpq $0x23, %rcx
je 0xe4ed
cmpq $0x2d, %rcx
jne 0xe3ee
callq 0x4660
movq (%rax), %rax
movsbq 0x2(%r14), %rcx
testq %rcx, %rcx
sete %dl
movb 0x1(%rax,%rcx,2), %al
andb $0x20, %al
shrb $0x5, %al
orb %dl, %al
addl $-0x80, %ecx
movzbl %cl, %ecx
testb %al, %al
pushq $0x4d
popq %rbp
cmovel %ecx, %ebp
xorb $0x1, %al
movzbl %al, %eax
leal 0x1(,%rax,2), %r15d
jmp 0xe58a
leaq 0x6932(%rip), %rax      # 0x14db4
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movb $0x8, %bpl
jmp 0xe58a
cmpl $0xa, %eax
je 0xe541
cmpl $0x6e, %eax
jne 0xe4a9
movb $0xa, %bpl
jmp 0xe58a
movsbq %bpl, %r12
callq 0x4660
movq (%rax), %rax
testb $0x8, 0x1(%rax,%r12,2)
jne 0xe545
pushq $0x1
popq %r15
movb $0x5c, %bpl
jmp 0xe58a
movb $0xc, %bpl
jmp 0xe58a
movb $0x1b, %bpl
jmp 0xe58a
movb $0xb, %bpl
jmp 0xe58a
movb $0x9, %bpl
jmp 0xe58a
callq 0x4660
movsbq 0x2(%r14), %rcx
pushq $0x1
popq %r15
movb $0x43, %bpl
testq %rcx, %rcx
je 0xe58a
movq (%rax), %rax
movzwl (%rax,%rcx,2), %edx
andl $0x2000, %edx           # imm = 0x2000
jne 0xe58a
cmpb $0x4d, %cl
jne 0xe570
movsbq 0x3(%r14), %rcx
pushq $0x3
popq %r15
movb $0xd, %bpl
testq %rcx, %rcx
je 0xe58a
movzwl (%rax,%rcx,2), %eax
andl $0x2000, %eax           # imm = 0x2000
jne 0xe58a
andb $0x1f, %cl
orb $-0x80, %cl
pushq $0x4
jmp 0xe575
xorl %ebp, %ebp
jmp 0xe58a
addb $-0x30, %bpl
movsbq 0x2(%r14), %rcx
testb $0x8, 0x1(%rax,%rcx,2)
je 0xe58a
shlb $0x3, %bpl
addb %cl, %bpl
addb $-0x30, %bpl
movsbq 0x3(%r14), %rcx
testb $0x8, 0x1(%rax,%rcx,2)
jne 0xe57b
pushq $0x3
jmp 0xe588
andb $0x1f, %cl
pushq $0x3
popq %r15
movl %ecx, %ebp
jmp 0xe58a
shlb $0x3, %bpl
addb %cl, %bpl
addb $-0x30, %bpl
pushq $0x4
popq %r15
testq %rbx, %rbx
je 0xe592
movl %r15d, (%rbx)
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq