// File: /workspace/github_cpp_makefile_star2_O1/fiveseven-lambda[P]michaelis-menten/a.cpp
// Function: object::edge::find(Vector<short> const&)
void edge::find(const Vector<short> &p){
		focused = edges.size();
		double min = std::numeric_limits<double>::max();
		for(std::size_t i = 0; i < edges.size(); ++i){
			if(min > edges[i].k && [&]() -> bool {
				for(std::size_t j : edges[i].from){
					if(in_polygon(p, bezier(edges[i].mid, node::nodes[j].p, edges[i].pre, edges[i].k * scale))){
						return true;
					}
				}
				for(std::size_t j : edges[i].to){
					if(in_polygon(p, bezier(edges[i].mid, node::nodes[j].p, edges[i].post, edges[i].k * scale))){
						return true;
					}
				}
				return false;
			}()){
				focused = i;
				min = edges[i].k;
			}
		}
		node::focused = node::nodes.size();
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, -0x40(%rbp)
movq 0x48c5(%rip), %rcx      # 0x71f8
movq 0x48b6(%rip), %rax      # 0x71f0
movq %rcx, %rdx
subq %rax, %rdx
sarq $0x3, %rdx
movabsq $0x4ec4ec4ec4ec4ec5, %rsi # imm = 0x4EC4EC4EC4EC4EC5
imulq %rsi, %rdx
movq %rdx, 0x48af(%rip)      # 0x7208
cmpq %rax, %rcx
je 0x2b4a
movsd 0x26ae(%rip), %xmm0     # 0x5018
movsd %xmm0, -0x30(%rbp)
xorl %esi, %esi
movq %rsi, -0x38(%rbp)
imulq $0x68, %rsi, %r12
movsd -0x30(%rbp), %xmm0
ucomisd 0x30(%rax,%r12), %xmm0
jbe 0x2b17
addq %r12, %rax
movq (%rax), %rbx
movq 0x8(%rax), %r13
cmpq %r13, %rbx
je 0x2a3f
xorl %r14d, %r14d
movq (%rbx), %rax
movq 0x4845(%rip), %rcx      # 0x71f0
movsd 0x30(%rcx,%r12), %xmm6
movsd 0x38(%rcx,%r12), %xmm0
movsd 0x40(%rcx,%r12), %xmm1
movq 0x4801(%rip), %rdx      # 0x71c8
shlq $0x5, %rax
movsd 0x10(%rdx,%rax), %xmm2
movsd 0x18(%rdx,%rax), %xmm3
movsd 0x48(%rcx,%r12), %xmm4
movsd 0x50(%rcx,%r12), %xmm5
mulsd 0x4783(%rip), %xmm6     # 0x7170
leaq -0x58(%rbp), %r15
movq %r15, %rdi
callq 0x24fc
movq -0x40(%rbp), %rdi
movq %r15, %rsi
callq 0x2748
movl %eax, %r15d
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0x2a1d
movq -0x48(%rbp), %rsi
subq %rdi, %rsi
callq 0x21a0
testb %r15b, %r15b
jne 0x2a35
addq $0x8, %rbx
cmpq %r13, %rbx
sete %r14b
jne 0x29a1
jmp 0x2a3f
testb $0x1, %r14b
je 0x2af9
movq 0x47aa(%rip), %rax      # 0x71f0
movq 0x18(%rax,%r12), %r13
movq 0x20(%rax,%r12), %rbx
cmpq %rbx, %r13
setne %r14b
je 0x2af3
movb $0x1, %r14b
movq (%r13), %rax
movq 0x4785(%rip), %rcx      # 0x71f0
movsd 0x30(%rcx,%r12), %xmm6
movsd 0x38(%rcx,%r12), %xmm0
movsd 0x40(%rcx,%r12), %xmm1
movq 0x4741(%rip), %rdx      # 0x71c8
shlq $0x5, %rax
movsd 0x10(%rdx,%rax), %xmm2
movsd 0x18(%rdx,%rax), %xmm3
movsd 0x58(%rcx,%r12), %xmm4
movsd 0x60(%rcx,%r12), %xmm5
mulsd 0x46c3(%rip), %xmm6     # 0x7170
leaq -0x58(%rbp), %r15
movq %r15, %rdi
callq 0x24fc
movq -0x40(%rbp), %rdi
movq %r15, %rsi
callq 0x2748
movl %eax, %r15d
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0x2add
movq -0x48(%rbp), %rsi
subq %rdi, %rsi
callq 0x21a0
testb %r15b, %r15b
jne 0x2af3
addq $0x8, %r13
cmpq %rbx, %r13
setne %r14b
jne 0x2a60
testb $0x1, %r14b
je 0x2b17
movq -0x38(%rbp), %rax
movq %rax, 0x4704(%rip)      # 0x7208
movq 0x46e5(%rip), %rax      # 0x71f0
movsd 0x30(%rax,%r12), %xmm0
movsd %xmm0, -0x30(%rbp)
movq -0x38(%rbp), %rsi
incq %rsi
movq 0x46d3(%rip), %rcx      # 0x71f8
movq 0x46c4(%rip), %rax      # 0x71f0
subq %rax, %rcx
sarq $0x3, %rcx
movabsq $0x4ec4ec4ec4ec4ec5, %rdx # imm = 0x4EC4EC4EC4EC4EC5
imulq %rdx, %rcx
cmpq %rcx, %rsi
jb 0x2971
movq 0x467f(%rip), %rax      # 0x71d0
subq 0x4670(%rip), %rax      # 0x71c8
sarq $0x5, %rax
movq %rax, 0x467d(%rip)      # 0x71e0
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq