// File: Alcaro[P]bridges/arlib/bmlparse.cpp
// Function: bml_size_white(cstring const&)
static size_t bml_size_white(const cstring& data)
{
	size_t i = 0;
	while (i < data.length() && (data[i]==' ' || data[i]=='\t')) i++;
	if (i < data.length() && data[i]=='#') return data.length();
	if (i+1 < data.length() && data[i]=='/' && data[i+1]=='/') return data.length();
	else return i;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x100, %rsp            # imm = 0x100
movq %rdi, -0xb0(%rbp)
movq $0x0, -0xb8(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rdi
callq 0x5cc0
movsbl %al, %eax
cmpl $0x0, %eax
jl 0x9378
movq -0xc0(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rdi
callq 0x5cc0
movsbl %al, %eax
xorl $0xf, %eax
movzbl %al, %eax
movl %eax, -0x54(%rbp)
jmp 0x9385
movq -0xc0(%rbp), %rax
movl 0x8(%rax), %eax
movl %eax, -0x54(%rbp)
movq -0xc8(%rbp), %rcx
movl -0x54(%rbp), %eax
movl %eax, %edx
xorl %eax, %eax
cmpq %rdx, %rcx
movb %al, -0xc9(%rbp)
jae 0x93f3
movq -0xb0(%rbp), %rdi
movq -0xb8(%rbp), %rax
movl %eax, %esi
callq 0xa1c0
movsbl %al, %ecx
movb $0x1, %al
cmpl $0x20, %ecx
movb %al, -0xca(%rbp)
je 0x93e7
movq -0xb0(%rbp), %rdi
movq -0xb8(%rbp), %rax
movl %eax, %esi
callq 0xa1c0
movsbl %al, %eax
cmpl $0x9, %eax
sete %al
movb %al, -0xca(%rbp)
movb -0xca(%rbp), %al
movb %al, -0xc9(%rbp)
movb -0xc9(%rbp), %al
testb $0x1, %al
jne 0x93ff
jmp 0x9416
movq -0xb8(%rbp), %rax
addq $0x1, %rax
movq %rax, -0xb8(%rbp)
jmp 0x931d
movq -0xb8(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rdi
callq 0x5cc0
movsbl %al, %eax
cmpl $0x0, %eax
jl 0x9471
movq -0xd8(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rdi
callq 0x5cc0
movsbl %al, %eax
xorl $0xf, %eax
movzbl %al, %eax
movl %eax, -0x64(%rbp)
jmp 0x947e
movq -0xd8(%rbp), %rax
movl 0x8(%rax), %eax
movl %eax, -0x64(%rbp)
movq -0xe0(%rbp), %rax
movl -0x64(%rbp), %ecx
cmpq %rcx, %rax
jae 0x9517
movq -0xb0(%rbp), %rdi
movq -0xb8(%rbp), %rax
movl %eax, %esi
callq 0xa1c0
movsbl %al, %eax
cmpl $0x23, %eax
jne 0x9517
movq -0xb0(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0xe8(%rbp)
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rdi
callq 0x5cc0
movsbl %al, %eax
cmpl $0x0, %eax
jl 0x94fb
movq -0xe8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
callq 0x5cc0
movsbl %al, %eax
xorl $0xf, %eax
movzbl %al, %eax
movl %eax, -0x74(%rbp)
jmp 0x9508
movq -0xe8(%rbp), %rax
movl 0x8(%rax), %eax
movl %eax, -0x74(%rbp)
movl -0x74(%rbp), %eax
movq %rax, -0xa8(%rbp)
jmp 0x966a
movq -0xb8(%rbp), %rax
addq $0x1, %rax
movq %rax, -0xf8(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rdi
callq 0x5cc0
movsbl %al, %eax
cmpl $0x0, %eax
jl 0x957f
movq -0xf0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
callq 0x5cc0
movsbl %al, %eax
xorl $0xf, %eax
movzbl %al, %eax
movl %eax, -0x84(%rbp)
jmp 0x958f
movq -0xf0(%rbp), %rax
movl 0x8(%rax), %eax
movl %eax, -0x84(%rbp)
movq -0xf8(%rbp), %rax
movl -0x84(%rbp), %ecx
cmpq %rcx, %rax
jae 0x965c
movq -0xb0(%rbp), %rdi
movq -0xb8(%rbp), %rax
movl %eax, %esi
callq 0xa1c0
movsbl %al, %eax
cmpl $0x2f, %eax
jne 0x965c
movq -0xb0(%rbp), %rdi
movq -0xb8(%rbp), %rax
addq $0x1, %rax
movl %eax, %esi
callq 0xa1c0
movsbl %al, %eax
cmpl $0x2f, %eax
jne 0x965c
movq -0xb0(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x100(%rbp)
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rdi
callq 0x5cc0
movsbl %al, %eax
cmpl $0x0, %eax
jl 0x963d
movq -0x100(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x5cc0
movsbl %al, %eax
xorl $0xf, %eax
movzbl %al, %eax
movl %eax, -0x94(%rbp)
jmp 0x964d
movq -0x100(%rbp), %rax
movl 0x8(%rax), %eax
movl %eax, -0x94(%rbp)
movl -0x94(%rbp), %eax
movq %rax, -0xa8(%rbp)
jmp 0x966a
movq -0xb8(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0xa8(%rbp), %rax
addq $0x100, %rsp            # imm = 0x100
popq %rbp
retq
nopw (%rax,%rax)