// File: /workspace/github_c_makefile_star2_O0/FH0[P]tun_direct/lwip-2.1.2/src/core/raw.c
// Function: raw_netif_ip_addr_changed
void raw_netif_ip_addr_changed(const ip_addr_t *old_addr, const ip_addr_t *new_addr)
{
  struct raw_pcb *rpcb;

  if (!ip_addr_isany(old_addr) && !ip_addr_isany(new_addr)) {
    for (rpcb = raw_pcbs; rpcb != NULL; rpcb = rpcb->next) {
      /* PCB bound to current local interface address? */
      if (ip_addr_cmp(&rpcb->local_ip, old_addr)) {
        /* The PCB is bound to the old ipaddr and
         * is set to bound to the new one instead */
        ip_addr_copy(rpcb->local_ip, *new_addr);
      }
    }
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
cmpq $0x0, -0x8(%rbp)
jne 0xa3af
movb $0x1, %al
testb $0x1, %al
jne 0xa60c
jmp 0xa419
cmpq $0x0, -0x8(%rbp)
je 0xa3fe
movq -0x8(%rbp), %rax
movzbl 0x14(%rax), %eax
cmpl $0x6, %eax
jne 0xa3fe
movq -0x8(%rbp), %rax
cmpq $0x0, %rax
je 0xa60c
movq -0x8(%rbp), %rax
cmpl $0x0, (%rax)
jne 0xa419
movq -0x8(%rbp), %rax
cmpl $0x0, 0x4(%rax)
jne 0xa419
movq -0x8(%rbp), %rax
cmpl $0x0, 0x8(%rax)
jne 0xa419
movq -0x8(%rbp), %rax
cmpl $0x0, 0xc(%rax)
je 0xa60c
jmp 0xa419
movq -0x8(%rbp), %rax
cmpq $0x0, %rax
je 0xa60c
movq -0x8(%rbp), %rax
cmpl $0x0, (%rax)
je 0xa60c
cmpq $0x0, -0x10(%rbp)
jne 0xa42c
movb $0x1, %al
testb $0x1, %al
jne 0xa60c
jmp 0xa496
cmpq $0x0, -0x10(%rbp)
je 0xa47b
movq -0x10(%rbp), %rax
movzbl 0x14(%rax), %eax
cmpl $0x6, %eax
jne 0xa47b
movq -0x10(%rbp), %rax
cmpq $0x0, %rax
je 0xa60c
movq -0x10(%rbp), %rax
cmpl $0x0, (%rax)
jne 0xa496
movq -0x10(%rbp), %rax
cmpl $0x0, 0x4(%rax)
jne 0xa496
movq -0x10(%rbp), %rax
cmpl $0x0, 0x8(%rax)
jne 0xa496
movq -0x10(%rbp), %rax
cmpl $0x0, 0xc(%rax)
je 0xa60c
jmp 0xa496
movq -0x10(%rbp), %rax
cmpq $0x0, %rax
je 0xa60c
movq -0x10(%rbp), %rax
cmpl $0x0, (%rax)
je 0xa60c
movq 0x25453(%rip), %rax     # 0x2f8f0
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0xa60a
movq -0x18(%rbp), %rax
movzbl 0x14(%rax), %eax
movq -0x8(%rbp), %rcx
movzbl 0x14(%rcx), %ecx
cmpl %ecx, %eax
je 0xa4cf
xorl %eax, %eax
testb $0x1, %al
jne 0xa555
jmp 0xa5f7
movq -0x18(%rbp), %rax
movzbl 0x14(%rax), %eax
cmpl $0x6, %eax
jne 0xa543
movq -0x18(%rbp), %rax
movl (%rax), %eax
movq -0x8(%rbp), %rcx
cmpl (%rcx), %eax
jne 0xa5f7
movq -0x18(%rbp), %rax
movl 0x4(%rax), %eax
movq -0x8(%rbp), %rcx
cmpl 0x4(%rcx), %eax
jne 0xa5f7
movq -0x18(%rbp), %rax
movl 0x8(%rax), %eax
movq -0x8(%rbp), %rcx
cmpl 0x8(%rcx), %eax
jne 0xa5f7
movq -0x18(%rbp), %rax
movl 0xc(%rax), %eax
movq -0x8(%rbp), %rcx
cmpl 0xc(%rcx), %eax
jne 0xa5f7
movq -0x18(%rbp), %rax
movzbl 0x10(%rax), %eax
movq -0x8(%rbp), %rcx
movzbl 0x10(%rcx), %ecx
cmpl %ecx, %eax
je 0xa555
jmp 0xa5f7
movq -0x18(%rbp), %rax
movl (%rax), %eax
movq -0x8(%rbp), %rcx
cmpl (%rcx), %eax
jne 0xa5f7
jmp 0xa557
jmp 0xa559
movq -0x10(%rbp), %rax
movb 0x14(%rax), %cl
movq -0x18(%rbp), %rax
movb %cl, 0x14(%rax)
movq -0x10(%rbp), %rax
movzbl 0x14(%rax), %eax
cmpl $0x6, %eax
jne 0xa5bc
jmp 0xa576
movq -0x10(%rbp), %rax
movl (%rax), %ecx
movq -0x18(%rbp), %rax
movl %ecx, (%rax)
movq -0x10(%rbp), %rax
movl 0x4(%rax), %ecx
movq -0x18(%rbp), %rax
movl %ecx, 0x4(%rax)
movq -0x10(%rbp), %rax
movl 0x8(%rax), %ecx
movq -0x18(%rbp), %rax
movl %ecx, 0x8(%rax)
movq -0x10(%rbp), %rax
movl 0xc(%rax), %ecx
movq -0x18(%rbp), %rax
movl %ecx, 0xc(%rax)
movq -0x10(%rbp), %rax
movb 0x10(%rax), %cl
movq -0x18(%rbp), %rax
movb %cl, 0x10(%rax)
jmp 0xa5f3
movq -0x10(%rbp), %rax
movl (%rax), %ecx
movq -0x18(%rbp), %rax
movl %ecx, (%rax)
movq -0x18(%rbp), %rax
movl $0x0, 0xc(%rax)
movq -0x18(%rbp), %rax
movl $0x0, 0x8(%rax)
movq -0x18(%rbp), %rax
movl $0x0, 0x4(%rax)
movq -0x18(%rbp), %rax
movb $0x0, 0x10(%rax)
jmp 0xa5f3
jmp 0xa5f5
jmp 0xa5f7
jmp 0xa5f9
movq -0x18(%rbp), %rax
movq 0x38(%rax), %rax
movq %rax, -0x18(%rbp)
jmp 0xa4a1
jmp 0xa60c
popq %rbp
retq
nop