{"name": "qemu_eventfd", "code": "__int64 __fastcall qemu_eventfd ( int * @@a1@@ ) { __int64 @@result@@ ; int @@fd@@ ; @@fd@@ = eventfd ( Number , Number ) ; if ( @@fd@@ < Number ) { if ( * _errno_location ( ) == Number ) @@result@@ = qemu_pipe ( @@a1@@ ) ; else @@result@@ = Number ; } else { * @@a1@@ = @@fd@@ ; qemu_set_cloexec ( ( unsigned int ) @@fd@@ ) ; @@a1@@ [ Number ] = dup ( @@fd@@ ) ; if ( @@a1@@ [ Number ] == Number ) { close ( @@fd@@ ) ; @@result@@ = Number ; } else { qemu_set_cloexec ( ( unsigned int ) @@a1@@ [ Number ] ) ; @@result@@ = Number L ; } } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "int"}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}]}