// File: /workspace/github_cpp_makefile_star2_O1/rfotino[P]consolite-compiler/src/syntax.cpp
// Function: GotoStatement::parse(Tokenizer*)
bool GotoStatement::parse(Tokenizer *tokenizer) {
  _lineNum = tokenizer->peekNext().line();
  // Make sure the first token is the "goto" keyword.
  if (!_expect(tokenizer, "goto")) {
    return false;
  }
  // Get the label.
  AtomToken labelToken = tokenizer->getNext();
  if (labelToken.str().empty()) {
    _error("Unexpected EOF.", labelToken.line());
    return false;
  } else if (!isValidName(labelToken.str())) {
    _error("Invalid label name in goto statement.", labelToken.line());
    return false;
  }
  _label = labelToken.str();
  // Get the trailing ";" token.
  if (!_expect(tokenizer, ";")) {
    return false;
  }
  return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x28(%rsp), %r15
movq %r15, %rdi
callq 0x33270
movl 0x8(%r15), %eax
movl %eax, 0x8(%r14)
leaq 0x2891e(%rip), %r13     # 0x46ce0
movq %r13, (%r15)
movq 0x10(%r15), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x1e3e0
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x72c0
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x189d2(%rip), %rsi     # 0x36dc2
leaq 0x189cf(%rip), %rdx     # 0x36dc6
leaq 0x28(%rsp), %rdi
callq 0xc0a4
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
movl $0x1, %edx
callq 0x3494f
movl %eax, %ebp
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x1e42c
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x72c0
testb %bpl, %bpl
je 0x1e55a
leaq 0x28(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x32f76
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x10(%r15), %rsi
movq 0x18(%r15), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0xc014
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %r15
cmpq %r12, %rdi
je 0x1e480
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x72c0
leaq 0x8(%rsp), %rdi
testq %r15, %r15
je 0x1e561
movq %r12, (%rdi)
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
addq %rsi, %rdx
callq 0xc014
leaq 0x8(%rsp), %rdi
callq 0x33f07
movl %eax, %ebp
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x1e4c6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x72c0
leaq 0x8(%rsp), %rdi
testb %bpl, %bpl
je 0x1e587
movq %r12, (%rdi)
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
addq %rsi, %rdx
callq 0xc014
addq $0x10, %r14
leaq 0x8(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x7370
movq (%r15), %rdi
cmpq %r12, %rdi
je 0x1e512
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x72c0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x186a0(%rip), %rsi     # 0x36bc1
leaq 0x1869a(%rip), %rdx     # 0x36bc2
callq 0xc0a4
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
movl $0x1, %edx
callq 0x3494f
movl %eax, %ebx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x1e5c4
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x72c0
jmp 0x1e5c4
xorl %ebx, %ebx
jmp 0x1e5e5
movq %r12, (%rdi)
leaq 0x1846c(%rip), %rsi     # 0x369d7
leaq 0x18474(%rip), %rdx     # 0x369e6
callq 0xc0a4
movl 0x30(%rsp), %esi
leaq 0x8(%rsp), %rdi
callq 0x34811
jmp 0x1e5ab
movq %r12, (%rdi)
leaq 0x18a88(%rip), %rsi     # 0x37019
leaq 0x18aa6(%rip), %rdx     # 0x3703e
callq 0xc0a4
movl 0x30(%rsp), %esi
leaq 0x8(%rsp), %rdi
callq 0x34811
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x1e5c2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x72c0
xorl %ebx, %ebx
leaq 0x48(%rsp), %rax
movq %r13, 0x28(%rsp)
movq 0x38(%rsp), %rdi
cmpq %rax, %rdi
je 0x1e5e5
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x72c0
movl %ebx, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1e604
jmp 0x1e604
jmp 0x1e622
jmp 0x1e622
jmp 0x1e622
jmp 0x1e604
jmp 0x1e622
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x1e625
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x72c0
jmp 0x1e625
jmp 0x1e622
movq %rax, %rbx
movq %r13, 0x28(%rsp)
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x1e65f
movq 0x48(%rsp), %rsi
jmp 0x1e652
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x1e65f
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x72c0
jmp 0x1e65f
movq %rax, %rbx
movq %rbx, %rdi
callq 0x74f0
nop