// File: /workspace/github_cpp_makefile_star2_O3/Cell-veto[P]postlhc/tools.cpp
// Function: double read_arg<double>(char const**)
double read_arg (const char **argv)
{
    string kw, value;
    std::tie (kw, value) = int_pop_arg (argv);
    try
    {
        return std::stod (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 0x10(%rsp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
movq %rax, -0x8(%r13)
movb %al, (%r13)
leaq 0x68(%rsp), %rdi
callq 0x43fc39
movq %rsp, %rdi
leaq 0x68(%rsp), %rsi
callq 0x4c0980
leaq 0x88(%rsp), %rbx
leaq 0x28(%rsp), %rdi
movq %rbx, %rsi
callq 0x4c0980
movq (%rbx), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x440092
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x442d20
leaq 0x78(%rsp), %rbp
movq -0x10(%rbp), %rdi
cmpq %rbp, %rdi
je 0x4400ad
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x442d20
movq 0x28(%rsp), %r14
callq 0x4fb530
movq %rax, %rbx
movl (%rax), %r12d
movl $0x0, (%rax)
leaq 0x68(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x512e60
movsd %xmm0, 0x20(%rsp)
cmpq %r14, (%r15)
je 0x440142
movl (%rbx), %eax
testl %eax, %eax
je 0x4400f5
cmpl $0x22, %eax
jne 0x4400f8
leaq 0x18fc98(%rip), %rdi    # 0x5cfd88
callq 0x4033c7
movl %r12d, (%rbx)
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x44010f
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x442d20
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x44012a
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x442d20
movsd 0x20(%rsp), %xmm0
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x18fc3f(%rip), %rdi    # 0x5cfd88
callq 0x403317
movq %rax, %rbx
jmp 0x44025a
cmpl $0x0, (%rbx)
jne 0x44015e
movl %r12d, (%rbx)
movq %rax, %rdi
callq 0x4432a0
leaq 0x1900c4(%rip), %rsi    # 0x5d0231
leaq 0xa8(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x407c44
leaq 0x1900c1(%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 0x4401b4
movups (%rcx), %xmm0
movups %xmm0, (%r14)
jmp 0x4401c1
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
movq %rsp, %rdx
callq 0x440993
leaq 0x68(%rsp), %rdi
callq 0x43f581
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %rbp, %rdi
je 0x440213
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x442d20
jmp 0x440213
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r14, %rdi
je 0x44022f
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x442d20
jmp 0x44022f
movq %rax, %rbx
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x440255
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x442d20
jmp 0x440255
movq %rax, %rbx
callq 0x443310
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x440271
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x442d20
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x44028c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x442d20
movq %rbx, %rdi
callq 0x4f63f0
movq %rax, %rdi
callq 0x407d31