// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
incq %rax
movq %rax, -0x18(%rbp)
movl $0x2, -0x20(%rbp)
movq -0x18(%rbp), %rax
movsbl (%rax), %eax
addl $-0xa, %eax
movl %eax, %ecx
movq %rcx, -0x28(%rbp)
subl $0x73, %eax
ja 0x15317
movq -0x28(%rbp), %rax
leaq 0x9e9a(%rip), %rcx      # 0x1f020
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movb $0x8, -0x19(%rbp)
jmp 0x153eb
movb $0x1b, -0x19(%rbp)
jmp 0x153eb
movb $0xc, -0x19(%rbp)
jmp 0x153eb
movb $0xa, -0x19(%rbp)
jmp 0x153eb
movb $0xd, -0x19(%rbp)
jmp 0x153eb
movb $0x9, -0x19(%rbp)
jmp 0x153eb
movb $0xb, -0x19(%rbp)
jmp 0x153eb
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
callq 0x4630
movq (%rax), %rax
movq -0x18(%rbp), %rcx
movsbl (%rcx), %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x2000, %eax           # imm = 0x2000
cmpl $0x0, %eax
jne 0x15206
movq -0x18(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
jne 0x15216
movb $0x43, -0x19(%rbp)
movl $0x1, -0x20(%rbp)
jmp 0x153eb
movl $0x3, -0x20(%rbp)
movq -0x18(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x4d, %eax
jne 0x15286
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
callq 0x4630
movq (%rax), %rax
movq -0x18(%rbp), %rcx
movsbl (%rcx), %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x2000, %eax           # imm = 0x2000
cmpl $0x0, %eax
jne 0x15261
movq -0x18(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
jne 0x1526a
movb $0xd, -0x19(%rbp)
jmp 0x153eb
movl $0x4, -0x20(%rbp)
movq -0x18(%rbp), %rax
movsbl (%rax), %eax
andl $0x1f, %eax
orl $-0x80, %eax
movb %al, -0x19(%rbp)
jmp 0x153eb
movl $0x3, -0x20(%rbp)
movq -0x18(%rbp), %rax
movsbl (%rax), %eax
andl $0x1f, %eax
movb %al, -0x19(%rbp)
jmp 0x153eb
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
callq 0x4630
movq (%rax), %rax
movq -0x18(%rbp), %rcx
movsbl (%rcx), %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x2000, %eax           # imm = 0x2000
cmpl $0x0, %eax
jne 0x152d7
movq -0x18(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
jne 0x152e7
movb $0x4d, -0x19(%rbp)
movl $0x1, -0x20(%rbp)
jmp 0x153eb
movl $0x3, -0x20(%rbp)
movq -0x18(%rbp), %rax
movsbl (%rax), %eax
addl $-0x80, %eax
movb %al, -0x19(%rbp)
jmp 0x153eb
movq -0x18(%rbp), %rax
movb (%rax), %al
movb %al, -0x19(%rbp)
jmp 0x153eb
movb $0x0, -0x19(%rbp)
jmp 0x153eb
callq 0x4630
movq (%rax), %rax
movq -0x18(%rbp), %rcx
movsbl (%rcx), %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x800, %eax            # imm = 0x800
cmpl $0x0, %eax
je 0x153e0
movq -0x18(%rbp), %rax
movsbl (%rax), %eax
subl $0x30, %eax
movb %al, -0x19(%rbp)
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
callq 0x4630
movq (%rax), %rax
movq -0x18(%rbp), %rcx
movsbl (%rcx), %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x800, %eax            # imm = 0x800
cmpl $0x0, %eax
jne 0x15376
jmp 0x153eb
movl $0x3, -0x20(%rbp)
movsbl -0x19(%rbp), %eax
shll $0x3, %eax
movq -0x18(%rbp), %rcx
movsbl (%rcx), %ecx
subl $0x30, %ecx
addl %ecx, %eax
movb %al, -0x19(%rbp)
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
callq 0x4630
movq (%rax), %rax
movq -0x18(%rbp), %rcx
movsbl (%rcx), %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x800, %eax            # imm = 0x800
cmpl $0x0, %eax
jne 0x153c1
jmp 0x153eb
movl $0x4, -0x20(%rbp)
movsbl -0x19(%rbp), %eax
shll $0x3, %eax
movq -0x18(%rbp), %rcx
movsbl (%rcx), %ecx
subl $0x30, %ecx
addl %ecx, %eax
movb %al, -0x19(%rbp)
jmp 0x153eb
movb $0x5c, -0x19(%rbp)
movl $0x1, -0x20(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0x153fb
movl -0x20(%rbp), %ecx
movq -0x10(%rbp), %rax
movl %ecx, (%rax)
movb -0x19(%rbp), %al
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)