// File: romkatv[P]hcproxy/src/event_loop.cc
// Function: hcproxy::EventLoop::Modify(hcproxy::EventHandler*, int)
void EventLoop::Modify(EventHandler* eh, int events) {
  CHECK(eh);
  CHECK(eh->event_loop_ == this);
  CHECK(std::this_thread::get_id() == loop_.get_id());
  epoll_.Modify(eh->fd_, events, eh);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq -0x10(%rbp), %rax
movb $0x0, -0x39(%rbp)
cmpq $0x0, %rax
je 0x33354
jmp 0x333da
leaq 0xb2081(%rip), %rsi     # 0xe53dc
leaq -0x38(%rbp), %rdi
movq %rdi, -0xc8(%rbp)
movl $0x4d, %edx
movl $0x3, %ecx
callq 0x194b0
movq -0xc8(%rbp), %rdi
movb $0x1, -0x39(%rbp)
callq 0x194e0
movq %rax, -0xc0(%rbp)
jmp 0x3338e
movq -0xc0(%rbp), %rdi
leaq 0xb207f(%rip), %rsi     # 0xe541b
callq 0x19450
movq %rax, -0xd0(%rbp)
jmp 0x333aa
movq -0xd0(%rbp), %rdi
leaq 0xb5fd3(%rip), %rsi     # 0xe938b
callq 0x19450
movq %rax, -0xd8(%rbp)
jmp 0x333c6
movq -0xd8(%rbp), %rsi
leaq -0x4d(%rbp), %rdi
callq 0x194f0
jmp 0x333d8
jmp 0x333da
testb $0x1, -0x39(%rbp)
jne 0x333e2
jmp 0x33406
leaq -0x38(%rbp), %rdi
callq 0x19500
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
testb $0x1, -0x39(%rbp)
jne 0x334ba
jmp 0x334c3
movq -0xb8(%rbp), %rcx
movq -0x10(%rbp), %rax
movq 0x28(%rax), %rax
movb $0x0, -0x71(%rbp)
cmpq %rcx, %rax
jne 0x33423
jmp 0x334a9
leaq 0xb1fb2(%rip), %rsi     # 0xe53dc
leaq -0x70(%rbp), %rdi
movq %rdi, -0xe8(%rbp)
movl $0x4e, %edx
movl $0x3, %ecx
callq 0x194b0
movq -0xe8(%rbp), %rdi
movb $0x1, -0x71(%rbp)
callq 0x194e0
movq %rax, -0xe0(%rbp)
jmp 0x3345d
movq -0xe0(%rbp), %rdi
leaq 0xb1ff1(%rip), %rsi     # 0xe545c
callq 0x1bfe0
movq %rax, -0xf0(%rbp)
jmp 0x33479
movq -0xf0(%rbp), %rdi
leaq 0xb5f04(%rip), %rsi     # 0xe938b
callq 0x19450
movq %rax, -0xf8(%rbp)
jmp 0x33495
movq -0xf8(%rbp), %rsi
leaq -0x72(%rbp), %rdi
callq 0x194f0
jmp 0x334a7
jmp 0x334a9
testb $0x1, -0x71(%rbp)
jne 0x334b1
jmp 0x334e3
leaq -0x70(%rbp), %rdi
callq 0x19500
leaq -0x38(%rbp), %rdi
callq 0x19500
jmp 0x33622
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
testb $0x1, -0x71(%rbp)
jne 0x335cb
jmp 0x335d4
callq 0x342e0
movq -0xb8(%rbp), %rdi
movq %rax, -0x80(%rbp)
addq $0x50, %rdi
callq 0x34310
movq %rax, -0x88(%rbp)
movq -0x80(%rbp), %rdi
movq -0x88(%rbp), %rsi
callq 0x27c50
movb $0x0, -0xa9(%rbp)
testb $0x1, %al
jne 0x33520
jmp 0x33525
jmp 0x335b4
leaq 0xb1eb0(%rip), %rsi     # 0xe53dc
leaq -0xa8(%rbp), %rdi
movq %rdi, -0x108(%rbp)
movl $0x4f, %edx
movl $0x3, %ecx
callq 0x194b0
movq -0x108(%rbp), %rdi
movb $0x1, -0xa9(%rbp)
callq 0x194e0
movq %rax, -0x100(%rbp)
jmp 0x33565
movq -0x100(%rbp), %rdi
leaq 0xb1ebc(%rip), %rsi     # 0xe542f
callq 0x34330
movq %rax, -0x110(%rbp)
jmp 0x33581
movq -0x110(%rbp), %rdi
leaq 0xb5dfc(%rip), %rsi     # 0xe938b
callq 0x19450
movq %rax, -0x118(%rbp)
jmp 0x3359d
movq -0x118(%rbp), %rsi
leaq -0xaa(%rbp), %rdi
callq 0x194f0
jmp 0x335b2
jmp 0x335b4
testb $0x1, -0xa9(%rbp)
jne 0x335bf
jmp 0x335ed
leaq -0xa8(%rbp), %rdi
callq 0x19500
leaq -0x70(%rbp), %rdi
callq 0x19500
jmp 0x33622
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
testb $0x1, -0xa9(%rbp)
jne 0x33614
jmp 0x33620
movq -0xb8(%rbp), %rdi
addq $0x8, %rdi
movq -0x10(%rbp), %rax
movl 0x18(%rax), %esi
movl -0x14(%rbp), %edx
movq -0x10(%rbp), %rcx
callq 0x2c3e0
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
leaq -0xa8(%rbp), %rdi
callq 0x19500
jmp 0x33622
movq -0x48(%rbp), %rdi
callq 0xe1080
nopl (%rax,%rax)