// File: sundale[P]gcode/rs274ngc/interp_check.cc
// Function: Interp::check_items(block_struct*, setup_struct*)
int Interp::check_items(block_pointer block,     //!< pointer to a block to be checked
                       setup_pointer settings)  //!< pointer to machine settings
{

  CHP(check_g_codes(block, settings));
  CHP(check_m_codes(block));
  CHP(check_other_codes(block));
  return INTERP_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
callq 0x102c0
movl %eax, -0x24(%rbp)
cmpl $0x0, -0x24(%rbp)
je 0x14127
jmp 0x1406c
movq 0x72eed(%rip), %rax     # 0x86f60
cmpl $0x31, 0xd670(%rax)
jge 0x1411c
movq 0x72ed9(%rip), %rax     # 0x86f60
movslq 0xd670(%rax), %rax
movq 0x72ecb(%rip), %rdi     # 0x86f60
addq $0xc6d0, %rdi           # imm = 0xC6D0
imulq $0x50, %rax, %rax
addq %rax, %rdi
leaq 0x64951(%rip), %rsi     # 0x789fb
movl $0x50, %edx
callq 0x10840
movq 0x72ea5(%rip), %rax     # 0x86f60
movslq 0xd670(%rax), %rcx
movq 0x72e97(%rip), %rax     # 0x86f60
addq $0xc6d0, %rax           # imm = 0xC6D0
imulq $0x50, %rcx, %rcx
addq %rcx, %rax
movb $0x0, 0x4f(%rax)
movq 0x72e7f(%rip), %rax     # 0x86f60
movl 0xd670(%rax), %ecx
addl $0x1, %ecx
movq 0x72e6f(%rip), %rax     # 0x86f60
movl %ecx, 0xd670(%rax)
movq 0x72e62(%rip), %rax     # 0x86f60
movslq 0xd670(%rax), %rcx
movq 0x72e54(%rip), %rax     # 0x86f60
addq $0xc6d0, %rax           # imm = 0xC6D0
imulq $0x50, %rcx, %rcx
addq %rcx, %rax
movb $0x0, (%rax)
movl -0x24(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x142e3
jmp 0x14129
jmp 0x1412b
movq -0x38(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x11a00
movl %eax, -0x28(%rbp)
cmpl $0x0, -0x28(%rbp)
je 0x14202
jmp 0x14147
movq 0x72e12(%rip), %rax     # 0x86f60
cmpl $0x31, 0xd670(%rax)
jge 0x141f7
movq 0x72dfe(%rip), %rax     # 0x86f60
movslq 0xd670(%rax), %rax
movq 0x72df0(%rip), %rdi     # 0x86f60
addq $0xc6d0, %rdi           # imm = 0xC6D0
imulq $0x50, %rax, %rax
addq %rax, %rdi
leaq 0x64876(%rip), %rsi     # 0x789fb
movl $0x50, %edx
callq 0x10840
movq 0x72dca(%rip), %rax     # 0x86f60
movslq 0xd670(%rax), %rcx
movq 0x72dbc(%rip), %rax     # 0x86f60
addq $0xc6d0, %rax           # imm = 0xC6D0
imulq $0x50, %rcx, %rcx
addq %rcx, %rax
movb $0x0, 0x4f(%rax)
movq 0x72da4(%rip), %rax     # 0x86f60
movl 0xd670(%rax), %ecx
addl $0x1, %ecx
movq 0x72d94(%rip), %rax     # 0x86f60
movl %ecx, 0xd670(%rax)
movq 0x72d87(%rip), %rax     # 0x86f60
movslq 0xd670(%rax), %rcx
movq 0x72d79(%rip), %rax     # 0x86f60
addq $0xc6d0, %rax           # imm = 0xC6D0
imulq $0x50, %rcx, %rcx
addq %rcx, %rax
movb $0x0, (%rax)
movl -0x28(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x142e3
jmp 0x14204
jmp 0x14206
movq -0x38(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x105b0
movl %eax, -0x2c(%rbp)
cmpl $0x0, -0x2c(%rbp)
je 0x142da
jmp 0x14222
movq 0x72d37(%rip), %rax     # 0x86f60
cmpl $0x31, 0xd670(%rax)
jge 0x142d2
movq 0x72d23(%rip), %rax     # 0x86f60
movslq 0xd670(%rax), %rax
movq 0x72d15(%rip), %rdi     # 0x86f60
addq $0xc6d0, %rdi           # imm = 0xC6D0
imulq $0x50, %rax, %rax
addq %rax, %rdi
leaq 0x6479b(%rip), %rsi     # 0x789fb
movl $0x50, %edx
callq 0x10840
movq 0x72cef(%rip), %rax     # 0x86f60
movslq 0xd670(%rax), %rcx
movq 0x72ce1(%rip), %rax     # 0x86f60
addq $0xc6d0, %rax           # imm = 0xC6D0
imulq $0x50, %rcx, %rcx
addq %rcx, %rax
movb $0x0, 0x4f(%rax)
movq 0x72cc9(%rip), %rax     # 0x86f60
movl 0xd670(%rax), %ecx
addl $0x1, %ecx
movq 0x72cb9(%rip), %rax     # 0x86f60
movl %ecx, 0xd670(%rax)
movq 0x72cac(%rip), %rax     # 0x86f60
movslq 0xd670(%rax), %rcx
movq 0x72c9e(%rip), %rax     # 0x86f60
addq $0xc6d0, %rax           # imm = 0xC6D0
imulq $0x50, %rcx, %rcx
addq %rcx, %rax
movb $0x0, (%rax)
movl -0x2c(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x142e3
jmp 0x142dc
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax)