// File: /workspace/github_c_makefile_star2_O0/jech[P]dht/dht.c
// Function: send_pong
int
send_pong(const struct sockaddr *sa, int salen,
          const unsigned char *tid, int tid_len)
{
    char buf[512];
    int i = 0, rc;
    rc = snprintf(buf + i, 512 - i, "d1:rd2:id20:"); INC(i, rc, 512);
    COPY(buf, i, myid, 20, 512);
    rc = snprintf(buf + i, 512 - i, "e1:t%d:", tid_len); INC(i, rc, 512);
    COPY(buf, i, tid, tid_len, 512);
    ADD_V(buf, i, 512);
    rc = snprintf(buf + i, 512 - i, "1:y1:re"); INC(i, rc, 512);
    return dht_send(buf, i, 0, sa, salen);

 fail:
    errno = ENOSPC;
    return -1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x240, %rsp            # imm = 0x240
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq %rdx, -0x20(%rbp)
movl %ecx, -0x24(%rbp)
movl $0x0, -0x234(%rbp)
leaq -0x230(%rbp), %rdi
movslq -0x234(%rbp), %rax
addq %rax, %rdi
movl $0x200, %eax            # imm = 0x200
subl -0x234(%rbp), %eax
movslq %eax, %rsi
leaq 0x4aa1(%rip), %rdx      # 0xc9aa
movb $0x0, %al
callq 0x2120
movl %eax, -0x238(%rbp)
cmpl $0x0, -0x238(%rbp)
jl 0x7f32
movl -0x234(%rbp), %eax
addl -0x238(%rbp), %eax
cmpl $0x200, %eax            # imm = 0x200
jle 0x7f37
jmp 0x812a
movl -0x238(%rbp), %eax
addl -0x234(%rbp), %eax
movl %eax, -0x234(%rbp)
movl -0x234(%rbp), %eax
addl $0x14, %eax
cmpl $0x200, %eax            # imm = 0x200
jle 0x7f5e
jmp 0x812a
movslq -0x234(%rbp), %rax
movq 0x8cc4(%rip), %rcx      # 0x10c30
movq %rcx, -0x230(%rbp,%rax)
movq 0x8cbd(%rip), %rcx      # 0x10c38
movq %rcx, -0x228(%rbp,%rax)
movl 0x8cb7(%rip), %ecx      # 0x10c40
movl %ecx, -0x220(%rbp,%rax)
movl -0x234(%rbp), %eax
addl $0x14, %eax
movl %eax, -0x234(%rbp)
leaq -0x230(%rbp), %rdi
movslq -0x234(%rbp), %rax
addq %rax, %rdi
movl $0x200, %eax            # imm = 0x200
subl -0x234(%rbp), %eax
movslq %eax, %rsi
movl -0x24(%rbp), %ecx
leaq 0x4996(%rip), %rdx      # 0xc95e
movb $0x0, %al
callq 0x2120
movl %eax, -0x238(%rbp)
cmpl $0x0, -0x238(%rbp)
jl 0x7ff1
movl -0x234(%rbp), %eax
addl -0x238(%rbp), %eax
cmpl $0x200, %eax            # imm = 0x200
jle 0x7ff6
jmp 0x812a
movl -0x238(%rbp), %eax
addl -0x234(%rbp), %eax
movl %eax, -0x234(%rbp)
cmpl $0x0, -0x24(%rbp)
jl 0x801e
movl -0x234(%rbp), %eax
addl -0x24(%rbp), %eax
cmpl $0x200, %eax            # imm = 0x200
jle 0x8023
jmp 0x812a
leaq -0x230(%rbp), %rdi
movslq -0x234(%rbp), %rax
addq %rax, %rdi
movq -0x20(%rbp), %rsi
movslq -0x24(%rbp), %rdx
callq 0x2200
movl -0x24(%rbp), %eax
addl -0x234(%rbp), %eax
movl %eax, -0x234(%rbp)
cmpl $0x0, 0x8c25(%rip)      # 0x10c7c
je 0x80a5
movslq -0x234(%rbp), %rax
addq $0x9, %rax
cmpq $0x200, %rax            # imm = 0x200
jbe 0x8071
jmp 0x812a
movslq -0x234(%rbp), %rax
movq 0x8bf1(%rip), %rcx      # 0x10c70
movq %rcx, -0x230(%rbp,%rax)
movb 0x8beb(%rip), %cl       # 0x10c78
movb %cl, -0x228(%rbp,%rax)
movslq -0x234(%rbp), %rax
addq $0x9, %rax
movl %eax, -0x234(%rbp)
leaq -0x230(%rbp), %rdi
movslq -0x234(%rbp), %rax
addq %rax, %rdi
movl $0x200, %eax            # imm = 0x200
subl -0x234(%rbp), %eax
movslq %eax, %rsi
leaq 0x48ec(%rip), %rdx      # 0xc9b7
movb $0x0, %al
callq 0x2120
movl %eax, -0x238(%rbp)
cmpl $0x0, -0x238(%rbp)
jl 0x80f4
movl -0x234(%rbp), %eax
addl -0x238(%rbp), %eax
cmpl $0x200, %eax            # imm = 0x200
jle 0x80f6
jmp 0x812a
movl -0x238(%rbp), %eax
addl -0x234(%rbp), %eax
movl %eax, -0x234(%rbp)
leaq -0x230(%rbp), %rdi
movslq -0x234(%rbp), %rsi
movq -0x10(%rbp), %rcx
movl -0x14(%rbp), %r8d
xorl %edx, %edx
callq 0xa110
movl %eax, -0x4(%rbp)
jmp 0x813c
callq 0x2060
movl $0x1c, (%rax)
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
movl -0x4(%rbp), %eax
addq $0x240, %rsp            # imm = 0x240
popq %rbp
retq
nopl (%rax,%rax)