// File: /workspace/github_cpp_makefile_star2_O1/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 0x44102d
movq %rsp, %rdi
leaq 0x68(%rsp), %rsi
callq 0x4c1d30
leaq 0x88(%rsp), %rbx
leaq 0x28(%rsp), %rdi
movq %rbx, %rsi
callq 0x4c1d30
movq (%rbx), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x441489
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x4440d0
leaq 0x78(%rsp), %rbp
movq -0x10(%rbp), %rdi
cmpq %rbp, %rdi
je 0x4414a4
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x4440d0
movq 0x28(%rsp), %r14
callq 0x4fc8e0
movq %rax, %rbx
movl (%rax), %r12d
movl $0x0, (%rax)
leaq 0x68(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x514210
movsd %xmm0, 0x20(%rsp)
cmpq %r14, (%r15)
je 0x441539
movl (%rbx), %eax
testl %eax, %eax
je 0x4414ec
cmpl $0x22, %eax
jne 0x4414ef
leaq 0x18f765(%rip), %rdi    # 0x5d0c4c
callq 0x4033d3
movl %r12d, (%rbx)
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x441506
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x4440d0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x441521
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x4440d0
movsd 0x20(%rsp), %xmm0
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x18f70c(%rip), %rdi    # 0x5d0c4c
callq 0x403323
movq %rax, %rbx
jmp 0x441651
cmpl $0x0, (%rbx)
jne 0x441555
movl %r12d, (%rbx)
movq %rax, %rdi
callq 0x444650
leaq 0x18fb4d(%rip), %rsi    # 0x5d10b1
leaq 0xa8(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x407ce4
leaq 0x18fb4a(%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 0x4415ab
movups (%rcx), %xmm0
movups %xmm0, (%r14)
jmp 0x4415b8
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 0x441d8d
leaq 0x68(%rsp), %rdi
callq 0x440975
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %rbp, %rdi
je 0x44160a
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x4440d0
jmp 0x44160a
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r14, %rdi
je 0x441626
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x4440d0
jmp 0x441626
movq %rax, %rbx
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x44164c
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x4440d0
jmp 0x44164c
movq %rax, %rbx
callq 0x4446c0
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x441668
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x4440d0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x441683
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x4440d0
movq %rbx, %rdi
callq 0x4f77a0
movq %rax, %rdi
callq 0x407dd1
nop