// File: /workspace/github_cpp_makefile_star2_O3/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 0x48a1(%rip), %rcx      # 0x71f8
movq 0x4892(%rip), %rax      # 0x71f0
movq %rcx, %rdx
subq %rax, %rdx
sarq $0x3, %rdx
movabsq $0x4ec4ec4ec4ec4ec5, %rsi # imm = 0x4EC4EC4EC4EC4EC5
imulq %rsi, %rdx
movq %rdx, 0x488b(%rip)      # 0x7208
cmpq %rax, %rcx
je 0x2b56
movsd 0x268a(%rip), %xmm0     # 0x5018
movsd %xmm0, -0x38(%rbp)
xorl %edx, %edx
leaq -0x58(%rbp), %r14
imulq $0x68, %rdx, %r12
movsd -0x38(%rbp), %xmm0
ucomisd 0x30(%rax,%r12), %xmm0
jbe 0x2b38
movq %rdx, -0x30(%rbp)
leaq (%rax,%r12), %rcx
movq (%rcx), %rbx
movq 0x8(%rcx), %r13
cmpq %r13, %rbx
je 0x2a5c
movq (%rbx), %rax
movq 0x481f(%rip), %rcx      # 0x71f0
movsd 0x30(%rcx,%r12), %xmm6
movsd 0x38(%rcx,%r12), %xmm0
movsd 0x40(%rcx,%r12), %xmm1
movq 0x47db(%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 0x475d(%rip), %xmm6     # 0x7170
movq %r14, %rdi
callq 0x24fc
movq -0x40(%rbp), %rdi
movq %r14, %rsi
callq 0x2772
movl %eax, %r15d
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0x2a3f
movq -0x48(%rbp), %rsi
subq %rdi, %rsi
callq 0x21a0
testb %r15b, %r15b
jne 0x2b10
addq $0x8, %rbx
cmpq %r13, %rbx
jne 0x29c7
movq 0x4794(%rip), %rax      # 0x71f0
movq 0x18(%rax,%r12), %rbx
movq 0x20(%rax,%r12), %r13
cmpq %r13, %rbx
je 0x2b00
movq (%rbx), %rax
movq 0x4777(%rip), %rcx      # 0x71f0
movsd 0x30(%rcx,%r12), %xmm6
movsd 0x38(%rcx,%r12), %xmm0
movsd 0x40(%rcx,%r12), %xmm1
movq 0x4733(%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 0x46b5(%rip), %xmm6     # 0x7170
movq %r14, %rdi
callq 0x24fc
movq -0x40(%rbp), %rdi
movq %r14, %rsi
callq 0x2772
movl %eax, %r15d
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0x2ae7
movq -0x48(%rbp), %rsi
subq %rdi, %rsi
callq 0x21a0
testb %r15b, %r15b
jne 0x2b10
addq $0x8, %rbx
cmpq %r13, %rbx
jne 0x2a6f
movq 0x46f0(%rip), %rax      # 0x71f0
movabsq $0x4ec4ec4ec4ec4ec5, %rsi # imm = 0x4EC4EC4EC4EC4EC5
movq -0x30(%rbp), %rdx
jmp 0x2b38
movq -0x30(%rbp), %rdx
movq %rdx, 0x46ed(%rip)      # 0x7208
movq 0x46ce(%rip), %rax      # 0x71f0
movsd 0x30(%rax,%r12), %xmm0
movsd %xmm0, -0x38(%rbp)
movabsq $0x4ec4ec4ec4ec4ec5, %rsi # imm = 0x4EC4EC4EC4EC4EC5
incq %rdx
movq 0x46b6(%rip), %rcx      # 0x71f8
subq %rax, %rcx
sarq $0x3, %rcx
imulq %rsi, %rcx
cmpq %rcx, %rdx
jb 0x2999
movq 0x4673(%rip), %rax      # 0x71d0
subq 0x4664(%rip), %rax      # 0x71c8
sarq $0x5, %rax
movq %rax, 0x4671(%rip)      # 0x71e0
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq