// File: /workspace/github_cpp_makefile_star2_O1/Cell-veto[P]postlhc/tools.cpp
// Function: unsigned long read_arg<unsigned long>(char const**)
unsigned long read_arg (const char **argv)
{
    string kw, value;
    std::tie (kw, value) = int_pop_arg (argv);
    try
    {
        return std::stoul (value);
    }
    catch (...)
    {
        rt_error ("cannot convert value " + value + " for keyword " + kw);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdi, %rsi
leaq 0x38(%rsp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x18(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x68(%rsp), %rdi
callq 0x44102d
leaq 0x28(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x4c1d30
leaq 0x88(%rsp), %rbx
leaq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0x4c1d30
movq (%rbx), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x4411f2
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x4440d0
leaq 0x78(%rsp), %r13
movq -0x10(%r13), %rdi
cmpq %r13, %rdi
je 0x44120d
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x4440d0
movq 0x8(%rsp), %r15
callq 0x4fc8e0
movq %rax, %rbx
movl (%rax), %ebp
movl $0x0, (%rax)
leaq 0x68(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
movl $0xa, %edx
callq 0x5137d0
cmpq %r15, (%r12)
je 0x4412a6
movq %rax, %r14
movl (%rbx), %eax
testl %eax, %eax
je 0x441257
cmpl $0x22, %eax
jne 0x441259
leaq 0x18fff8(%rip), %rdi    # 0x5d124a
callq 0x4033d3
movl %ebp, (%rbx)
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x441275
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4440d0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x441291
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x4440d0
movq %r14, %rax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x18ff9d(%rip), %rdi    # 0x5d124a
callq 0x403323
movq %rax, %rbx
jmp 0x4413bf
cmpl $0x0, (%rbx)
jne 0x4412c1
movl %ebp, (%rbx)
movq %rax, %rdi
callq 0x444650
leaq 0x18fde1(%rip), %rsi    # 0x5d10b1
leaq 0xa8(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x407ce4
leaq 0x18fdde(%rip), %rsi    # 0x5d10c7
leaq 0xa8(%rsp), %rdi
callq 0x4c3490
leaq 0x58(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x441317
movups (%rcx), %xmm0
movups %xmm0, (%r14)
jmp 0x441324
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rdx
leaq 0x48(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x68(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x441d8d
leaq 0x68(%rsp), %rdi
callq 0x440975
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x441378
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x4440d0
jmp 0x441378
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r14, %rdi
je 0x441394
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x4440d0
jmp 0x441394
movq %rax, %rbx
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4413ba
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x4440d0
jmp 0x4413ba
movq %rax, %rbx
callq 0x4446c0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x4413db
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4440d0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x4413f7
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x4440d0
movq %rbx, %rdi
callq 0x4f77a0
movq %rax, %rdi
callq 0x407dd1