// File: /workspace/github_cpp_makefile_star2_O3/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 0x43fc39
leaq 0x28(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x4c0980
leaq 0x88(%rsp), %rbx
leaq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0x4c0980
movq (%rbx), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x43fdfb
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x442d20
leaq 0x78(%rsp), %r13
movq -0x10(%r13), %rdi
cmpq %r13, %rdi
je 0x43fe16
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x442d20
movq 0x8(%rsp), %r15
callq 0x4fb530
movq %rax, %rbx
movl (%rax), %ebp
movl $0x0, (%rax)
leaq 0x68(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
movl $0xa, %edx
callq 0x512420
cmpq %r15, (%r12)
je 0x43feaf
movq %rax, %r14
movl (%rbx), %eax
testl %eax, %eax
je 0x43fe60
cmpl $0x22, %eax
jne 0x43fe62
leaq 0x19056f(%rip), %rdi    # 0x5d03ca
callq 0x4033c7
movl %ebp, (%rbx)
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x43fe7e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x442d20
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x43fe9a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x442d20
movq %r14, %rax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x190514(%rip), %rdi    # 0x5d03ca
callq 0x403317
movq %rax, %rbx
jmp 0x43ffc8
cmpl $0x0, (%rbx)
jne 0x43feca
movl %ebp, (%rbx)
movq %rax, %rdi
callq 0x4432a0
leaq 0x190358(%rip), %rsi    # 0x5d0231
leaq 0xa8(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x407c44
leaq 0x190355(%rip), %rsi    # 0x5d0247
leaq 0xa8(%rsp), %rdi
callq 0x4c20e0
leaq 0x58(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x43ff20
movups (%rcx), %xmm0
movups %xmm0, (%r14)
jmp 0x43ff2d
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 0x440993
leaq 0x68(%rsp), %rdi
callq 0x43f581
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x43ff81
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x442d20
jmp 0x43ff81
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r14, %rdi
je 0x43ff9d
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x442d20
jmp 0x43ff9d
movq %rax, %rbx
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x43ffc3
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x442d20
jmp 0x43ffc3
movq %rax, %rbx
callq 0x443310
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x43ffe4
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x442d20
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x440000
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x442d20
movq %rbx, %rdi
callq 0x4f63f0
movq %rax, %rdi
callq 0x407d31