int ph_unknown_determine_target(void *handler, struct sockaddr_in *addr) {
  msg_work(81,
           "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
           "2022-01-22/02-19-57/repos/tumi8/trumanbox/refs/heads/master/src/"
           "protocols/unknown.c",
           __PRETTY_FUNCTION__, __func__, 3, "determine target in udp");
  return 0;
}


x86 assembly (clang, -O0):
<ph_unknown_determine_target>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    $0x51,%edi
lea    0xed4(%rip),%rsi
lea    0xf61(%rip),%rdx
lea    0xf98(%rip),%rcx
mov    $0x3,%r8d
lea    0xfa7(%rip),%r9
mov    $0x0,%al
call   1030 <msg_work@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ph_unknown_determine_target>:
push   %rax
lea    0xee8(%rip),%rsi
lea    0xf75(%rip),%rdx
lea    0xfac(%rip),%rcx
lea    0xfc1(%rip),%r9
mov    $0x51,%edi
mov    $0x3,%r8d
xor    %eax,%eax
call   1030 <msg_work@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
%struct.sockaddr_in = type opaque
@.str = [148 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/tumi8/trumanbox/refs/heads/master/src/protocols/unknown.c\00"
@__PRETTY_FUNCTION__.ph_unknown_determine_target = [62 x i8] c"int ph_unknown_determine_target(void *, struct sockaddr_in *)\00"
@__func__.ph_unknown_determine_target = [28 x i8] c"ph_unknown_determine_target\00"
@.str.1 = [24 x i8] c"determine target in udp\00"
define i32 @ph_unknown_determine_target(i8* %0, %struct.sockaddr_in* %1) {
%3 = alloca i8*
%4 = alloca %struct.sockaddr_in*
store i8* %0, i8** %3
store %struct.sockaddr_in* %1, %struct.sockaddr_in** %4
%5 = call i32 (i32, i8*, i8*, i8*, i32, i8*, ...) bitcast (i32 (...)* @msg_work to i32 (i32, i8*, i8*, i8*, i32, i8*, ...)*)(i32 81, i8* getelementptr inbounds ([148 x i8], [148 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([62 x i8], [62 x i8]* @__PRETTY_FUNCTION__.ph_unknown_determine_target, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @__func__.ph_unknown_determine_target, i64 0, i64 0), i32 3, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.1, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
%struct.sockaddr_in = type opaque
@.str = [148 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/tumi8/trumanbox/refs/heads/master/src/protocols/unknown.c\00"
@__PRETTY_FUNCTION__.ph_unknown_determine_target = [62 x i8] c"int ph_unknown_determine_target(void *, struct sockaddr_in *)\00"
@__func__.ph_unknown_determine_target = [28 x i8] c"ph_unknown_determine_target\00"
@.str.1 = [24 x i8] c"determine target in udp\00"
define i32 @ph_unknown_determine_target(i8* nocapture readnone %0, %struct.sockaddr_in* nocapture readnone %1) {
%3 = tail call i32 (i32, i8*, i8*, i8*, i32, i8*, ...) bitcast (i32 (...)* @msg_work to i32 (i32, i8*, i8*, i8*, i32, i8*, ...)*)(i32 81, i8* getelementptr inbounds ([148 x i8], [148 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([62 x i8], [62 x i8]* @__PRETTY_FUNCTION__.ph_unknown_determine_target, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @__func__.ph_unknown_determine_target, i64 0, i64 0), i32 3, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.1, i64 0, i64 0))
ret i32 0
}