#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */
struct target {
  int dummy;
};

/* Variables and functions */
char *copy_params(char **, int, int *);
scalar_t__ dump_long_long_int_from_mem(unsigned int, char **, struct target *);
scalar_t__ dump_long_long_unsigned_int_from_mem(unsigned int, char **,
                                                struct target *);
scalar_t__ dump_short_int_from_mem(unsigned int, char **, struct target *);
scalar_t__ dump_short_unsigned_int_from_mem(unsigned int, char **,
                                            struct target *);
scalar_t__ dump_unsigned_int_from_mem(unsigned int, char **, struct target *);
int /*<<< orphan*/ free_dumped_params(char **, int);
void *malloc(int);
int dump_iocb(int depth, unsigned int addr, char **dumped_params,
              struct target *target) {
  char **dumped_type_params;
  unsigned int arm_tracing_aio_data = addr;
  unsigned int arm_tracing_aio_key = addr + 8;
  unsigned int arm_tracing_aio_reserved1 = addr + 12;
  unsigned int arm_tracing_aio_lio_opcode = addr + 16;
  unsigned int arm_tracing_aio_reqprio = addr + 18;
  unsigned int arm_tracing_aio_fildes = addr + 20;
  unsigned int arm_tracing_aio_buf = addr + 24;
  unsigned int arm_tracing_aio_nbytes = addr + 32;
  unsigned int arm_tracing_aio_offset = addr + 40;
  unsigned int arm_tracing_aio_reserved2 = addr + 48;
  unsigned int arm_tracing_aio_flags = addr + 56;
  unsigned int arm_tracing_aio_resfd = addr + 60;
  int len = 0;
  if (depth < 0) {
    *dumped_params = malloc(0);
    return len;
  }
  dumped_type_params = malloc(12 * (sizeof(char *)));
  if (depth >= 0) {
    len += dump_long_long_unsigned_int_from_mem(arm_tracing_aio_data,
                                                &dumped_type_params[0], target);
    len += dump_unsigned_int_from_mem(arm_tracing_aio_key,
                                      &dumped_type_params[1], target);
    len += dump_unsigned_int_from_mem(arm_tracing_aio_reserved1,
                                      &dumped_type_params[2], target);
    len += dump_short_unsigned_int_from_mem(arm_tracing_aio_lio_opcode,
                                            &dumped_type_params[3], target);
    len += dump_short_int_from_mem(arm_tracing_aio_reqprio,
                                   &dumped_type_params[4], target);
    len += dump_unsigned_int_from_mem(arm_tracing_aio_fildes,
                                      &dumped_type_params[5], target);
    len += dump_long_long_unsigned_int_from_mem(arm_tracing_aio_buf,
                                                &dumped_type_params[6], target);
    len += dump_long_long_unsigned_int_from_mem(arm_tracing_aio_nbytes,
                                                &dumped_type_params[7], target);
    len += dump_long_long_int_from_mem(arm_tracing_aio_offset,
                                       &dumped_type_params[8], target);
    len += dump_long_long_unsigned_int_from_mem(arm_tracing_aio_reserved2,
                                                &dumped_type_params[9], target);
    len += dump_unsigned_int_from_mem(arm_tracing_aio_flags,
                                      &dumped_type_params[10], target);
    len += dump_unsigned_int_from_mem(arm_tracing_aio_resfd,
                                      &dumped_type_params[11], target);
  }
  *dumped_params = copy_params(dumped_type_params, 12, &len);
  free_dumped_params(dumped_type_params, 12);
  return len;
}


x86 assembly (clang, -O0):
<dump_iocb>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %edi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x2c(%rbp)
mov    -0xc(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x30(%rbp)
mov    -0xc(%rbp),%eax
add    $0xc,%eax
mov    %eax,-0x34(%rbp)
mov    -0xc(%rbp),%eax
add    $0x10,%eax
mov    %eax,-0x38(%rbp)
mov    -0xc(%rbp),%eax
add    $0x12,%eax
mov    %eax,-0x3c(%rbp)
mov    -0xc(%rbp),%eax
add    $0x14,%eax
mov    %eax,-0x40(%rbp)
mov    -0xc(%rbp),%eax
add    $0x18,%eax
mov    %eax,-0x44(%rbp)
mov    -0xc(%rbp),%eax
add    $0x20,%eax
mov    %eax,-0x48(%rbp)
mov    -0xc(%rbp),%eax
add    $0x28,%eax
mov    %eax,-0x4c(%rbp)
mov    -0xc(%rbp),%eax
add    $0x30,%eax
mov    %eax,-0x50(%rbp)
mov    -0xc(%rbp),%eax
add    $0x38,%eax
mov    %eax,-0x54(%rbp)
mov    -0xc(%rbp),%eax
add    $0x3c,%eax
mov    %eax,-0x58(%rbp)
movl   $0x0,-0x5c(%rbp)
cmpl   $0x0,-0x8(%rbp)
jge    122c <dump_iocb+0xac>
xor    %edi,%edi
call   1080 <malloc@plt>
mov    %rax,%rcx
mov    -0x18(%rbp),%rax
mov    %rcx,(%rax)
mov    -0x5c(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    13fc <dump_iocb+0x27c>
mov    $0x60,%edi
call   1080 <malloc@plt>
mov    %rax,-0x28(%rbp)
cmpl   $0x0,-0x8(%rbp)
jl     13cc <dump_iocb+0x24c>
mov    -0x2c(%rbp),%edi
mov    -0x28(%rbp),%rsi
mov    -0x20(%rbp),%rdx
call   1030 <dump_long_long_unsigned_int_from_mem@plt>
mov    %rax,%rcx
movslq -0x5c(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x5c(%rbp)
mov    -0x30(%rbp),%edi
mov    -0x28(%rbp),%rsi
add    $0x8,%rsi
mov    -0x20(%rbp),%rdx
call   1090 <dump_unsigned_int_from_mem@plt>
mov    %rax,%rcx
movslq -0x5c(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x5c(%rbp)
mov    -0x34(%rbp),%edi
mov    -0x28(%rbp),%rsi
add    $0x10,%rsi
mov    -0x20(%rbp),%rdx
call   1090 <dump_unsigned_int_from_mem@plt>
mov    %rax,%rcx
movslq -0x5c(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x5c(%rbp)
mov    -0x38(%rbp),%edi
mov    -0x28(%rbp),%rsi
add    $0x18,%rsi
mov    -0x20(%rbp),%rdx
call   10a0 <dump_short_unsigned_int_from_mem@plt>
mov    %rax,%rcx
movslq -0x5c(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x5c(%rbp)
mov    -0x3c(%rbp),%edi
mov    -0x28(%rbp),%rsi
add    $0x20,%rsi
mov    -0x20(%rbp),%rdx
call   1070 <dump_short_int_from_mem@plt>
mov    %rax,%rcx
movslq -0x5c(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x5c(%rbp)
mov    -0x40(%rbp),%edi
mov    -0x28(%rbp),%rsi
add    $0x28,%rsi
mov    -0x20(%rbp),%rdx
call   1090 <dump_unsigned_int_from_mem@plt>
mov    %rax,%rcx
movslq -0x5c(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x5c(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x28(%rbp),%rsi
add    $0x30,%rsi
mov    -0x20(%rbp),%rdx
call   1030 <dump_long_long_unsigned_int_from_mem@plt>
mov    %rax,%rcx
movslq -0x5c(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x5c(%rbp)
mov    -0x48(%rbp),%edi
mov    -0x28(%rbp),%rsi
add    $0x38,%rsi
mov    -0x20(%rbp),%rdx
call   1030 <dump_long_long_unsigned_int_from_mem@plt>
mov    %rax,%rcx
movslq -0x5c(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x5c(%rbp)
mov    -0x4c(%rbp),%edi
mov    -0x28(%rbp),%rsi
add    $0x40,%rsi
mov    -0x20(%rbp),%rdx
call   1050 <dump_long_long_int_from_mem@plt>
mov    %rax,%rcx
movslq -0x5c(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x5c(%rbp)
mov    -0x50(%rbp),%edi
mov    -0x28(%rbp),%rsi
add    $0x48,%rsi
mov    -0x20(%rbp),%rdx
call   1030 <dump_long_long_unsigned_int_from_mem@plt>
mov    %rax,%rcx
movslq -0x5c(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x5c(%rbp)
mov    -0x54(%rbp),%edi
mov    -0x28(%rbp),%rsi
add    $0x50,%rsi
mov    -0x20(%rbp),%rdx
call   1090 <dump_unsigned_int_from_mem@plt>
mov    %rax,%rcx
movslq -0x5c(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x5c(%rbp)
mov    -0x58(%rbp),%edi
mov    -0x28(%rbp),%rsi
add    $0x58,%rsi
mov    -0x20(%rbp),%rdx
call   1090 <dump_unsigned_int_from_mem@plt>
mov    %rax,%rcx
movslq -0x5c(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x5c(%rbp)
mov    -0x28(%rbp),%rdi
mov    $0xc,%esi
lea    -0x5c(%rbp),%rdx
call   1060 <copy_params@plt>
mov    %rax,%rcx
mov    -0x18(%rbp),%rax
mov    %rcx,(%rax)
mov    -0x28(%rbp),%rdi
mov    $0xc,%esi
call   1040 <free_dumped_params@plt>
mov    -0x5c(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<dump_iocb>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
mov    %rdx,%rbp
test   %edi,%edi
js     132b <dump_iocb+0x1ab>
mov    %rcx,%r12
mov    %esi,%r13d
lea    0x3c(%r13),%eax
mov    %eax,0x2c(%rsp)
lea    0x38(%r13),%eax
mov    %eax,0x28(%rsp)
lea    0x30(%r13),%eax
mov    %eax,0x24(%rsp)
lea    0x28(%r13),%eax
mov    %eax,0x20(%rsp)
lea    0x20(%r13),%eax
mov    %eax,0x1c(%rsp)
lea    0x18(%r13),%eax
mov    %eax,0x18(%rsp)
lea    0x14(%r13),%eax
mov    %eax,0x14(%rsp)
lea    0x12(%r13),%eax
mov    %eax,0x10(%rsp)
lea    0x10(%r13),%eax
mov    %eax,0xc(%rsp)
lea    0xc(%r13),%eax
mov    %eax,0x8(%rsp)
mov    %rbp,0x30(%rsp)
lea    0x8(%r13),%r14d
mov    $0x60,%edi
call   1080 <malloc@plt>
mov    %rax,%r15
mov    %r13d,%edi
mov    %rax,%rsi
mov    %r12,%rdx
call   1030 <dump_long_long_unsigned_int_from_mem@plt>
mov    %rax,%r13
lea    0x8(%r15),%rsi
mov    %r14d,%edi
mov    %r12,%rdx
call   1090 <dump_unsigned_int_from_mem@plt>
mov    %rax,%rbx
add    %r13d,%ebx
lea    0x10(%r15),%rsi
mov    0x8(%rsp),%edi
mov    %r12,%rdx
call   1090 <dump_unsigned_int_from_mem@plt>
mov    %rax,%rbp
add    %ebx,%ebp
lea    0x18(%r15),%rsi
mov    0xc(%rsp),%edi
mov    %r12,%rdx
call   10a0 <dump_short_unsigned_int_from_mem@plt>
mov    %rax,%rbx
add    %ebp,%ebx
lea    0x20(%r15),%rsi
mov    0x10(%rsp),%edi
mov    %r12,%rdx
call   1070 <dump_short_int_from_mem@plt>
mov    %rax,%rbp
add    %ebx,%ebp
lea    0x28(%r15),%rsi
mov    0x14(%rsp),%edi
mov    %r12,%rdx
call   1090 <dump_unsigned_int_from_mem@plt>
mov    %rax,%rbx
add    %ebp,%ebx
lea    0x30(%r15),%rsi
mov    0x18(%rsp),%edi
mov    %r12,%rdx
call   1030 <dump_long_long_unsigned_int_from_mem@plt>
mov    %rax,%rbp
add    %ebx,%ebp
lea    0x38(%r15),%rsi
mov    0x1c(%rsp),%edi
mov    %r12,%rdx
call   1030 <dump_long_long_unsigned_int_from_mem@plt>
mov    %rax,%rbx
add    %ebp,%ebx
lea    0x40(%r15),%rsi
mov    0x20(%rsp),%edi
mov    %r12,%rdx
call   1050 <dump_long_long_int_from_mem@plt>
mov    %rax,%rbp
add    %ebx,%ebp
lea    0x48(%r15),%rsi
mov    0x24(%rsp),%edi
mov    %r12,%rdx
call   1030 <dump_long_long_unsigned_int_from_mem@plt>
mov    %rax,%rbx
add    %ebp,%ebx
lea    0x50(%r15),%rsi
mov    0x28(%rsp),%edi
mov    %r12,%rdx
call   1090 <dump_unsigned_int_from_mem@plt>
mov    %rax,%rbp
add    %ebx,%ebp
lea    0x58(%r15),%rsi
mov    0x2c(%rsp),%edi
mov    %r12,%rdx
call   1090 <dump_unsigned_int_from_mem@plt>
add    %ebp,%eax
mov    %eax,0x4(%rsp)
lea    0x4(%rsp),%rdx
mov    %r15,%rdi
mov    $0xc,%esi
call   1060 <copy_params@plt>
mov    0x30(%rsp),%rcx
mov    %rax,(%rcx)
mov    %r15,%rdi
mov    $0xc,%esi
call   1040 <free_dumped_params@plt>
mov    0x4(%rsp),%ebx
jmp    1338 <dump_iocb+0x1b8>
xor    %ebx,%ebx
xor    %edi,%edi
call   1080 <malloc@plt>
mov    %rax,0x0(%rbp)
mov    %ebx,%eax
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.target = type { i32 }
define i32 @dump_iocb(i32 %0, i32 %1, i8** %2, %struct.target* %3) {
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i8**
%9 = alloca %struct.target*
%10 = alloca i8**
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca i32
%20 = alloca i32
%21 = alloca i32
%22 = alloca i32
%23 = alloca i32
store i32 %0, i32* %6
store i32 %1, i32* %7
store i8** %2, i8*** %8
store %struct.target* %3, %struct.target** %9
%24 = load i32, i32* %7
store i32 %24, i32* %11
%25 = load i32, i32* %7
%26 = add i32 %25, 8
store i32 %26, i32* %12
%27 = load i32, i32* %7
%28 = add i32 %27, 12
store i32 %28, i32* %13
%29 = load i32, i32* %7
%30 = add i32 %29, 16
store i32 %30, i32* %14
%31 = load i32, i32* %7
%32 = add i32 %31, 18
store i32 %32, i32* %15
%33 = load i32, i32* %7
%34 = add i32 %33, 20
store i32 %34, i32* %16
%35 = load i32, i32* %7
%36 = add i32 %35, 24
store i32 %36, i32* %17
%37 = load i32, i32* %7
%38 = add i32 %37, 32
store i32 %38, i32* %18
%39 = load i32, i32* %7
%40 = add i32 %39, 40
store i32 %40, i32* %19
%41 = load i32, i32* %7
%42 = add i32 %41, 48
store i32 %42, i32* %20
%43 = load i32, i32* %7
%44 = add i32 %43, 56
store i32 %44, i32* %21
%45 = load i32, i32* %7
%46 = add i32 %45, 60
store i32 %46, i32* %22
store i32 0, i32* %23
%47 = load i32, i32* %6
%48 = icmp slt i32 %47, 0
br i1 %48, label %49, label %53
49: ; preds = %4
%50 = call i8* @malloc(i32 0)
%51 = load i8**, i8*** %8
store i8* %50, i8** %51
%52 = load i32, i32* %23
store i32 %52, i32* %5
br label %174
53: ; preds = %4
%54 = call i8* @malloc(i32 96)
%55 = bitcast i8* %54 to i8**
store i8** %55, i8*** %10
%56 = load i32, i32* %6
%57 = icmp sge i32 %56, 0
br i1 %57, label %58, label %167
58: ; preds = %53
%59 = load i32, i32* %11
%60 = load i8**, i8*** %10
%61 = getelementptr inbounds i8*, i8** %60, i64 0
%62 = load %struct.target*, %struct.target** %9
%63 = call i64 @dump_long_long_unsigned_int_from_mem(i32 %59, i8** %61, %struct.target* %62)
%64 = load i32, i32* %23
%65 = sext i32 %64 to i64
%66 = add nsw i64 %65, %63
%67 = trunc i64 %66 to i32
store i32 %67, i32* %23
%68 = load i32, i32* %12
%69 = load i8**, i8*** %10
%70 = getelementptr inbounds i8*, i8** %69, i64 1
%71 = load %struct.target*, %struct.target** %9
%72 = call i64 @dump_unsigned_int_from_mem(i32 %68, i8** %70, %struct.target* %71)
%73 = load i32, i32* %23
%74 = sext i32 %73 to i64
%75 = add nsw i64 %74, %72
%76 = trunc i64 %75 to i32
store i32 %76, i32* %23
%77 = load i32, i32* %13
%78 = load i8**, i8*** %10
%79 = getelementptr inbounds i8*, i8** %78, i64 2
%80 = load %struct.target*, %struct.target** %9
%81 = call i64 @dump_unsigned_int_from_mem(i32 %77, i8** %79, %struct.target* %80)
%82 = load i32, i32* %23
%83 = sext i32 %82 to i64
%84 = add nsw i64 %83, %81
%85 = trunc i64 %84 to i32
store i32 %85, i32* %23
%86 = load i32, i32* %14
%87 = load i8**, i8*** %10
%88 = getelementptr inbounds i8*, i8** %87, i64 3
%89 = load %struct.target*, %struct.target** %9
%90 = call i64 @dump_short_unsigned_int_from_mem(i32 %86, i8** %88, %struct.target* %89)
%91 = load i32, i32* %23
%92 = sext i32 %91 to i64
%93 = add nsw i64 %92, %90
%94 = trunc i64 %93 to i32
store i32 %94, i32* %23
%95 = load i32, i32* %15
%96 = load i8**, i8*** %10
%97 = getelementptr inbounds i8*, i8** %96, i64 4
%98 = load %struct.target*, %struct.target** %9
%99 = call i64 @dump_short_int_from_mem(i32 %95, i8** %97, %struct.target* %98)
%100 = load i32, i32* %23
%101 = sext i32 %100 to i64
%102 = add nsw i64 %101, %99
%103 = trunc i64 %102 to i32
store i32 %103, i32* %23
%104 = load i32, i32* %16
%105 = load i8**, i8*** %10
%106 = getelementptr inbounds i8*, i8** %105, i64 5
%107 = load %struct.target*, %struct.target** %9
%108 = call i64 @dump_unsigned_int_from_mem(i32 %104, i8** %106, %struct.target* %107)
%109 = load i32, i32* %23
%110 = sext i32 %109 to i64
%111 = add nsw i64 %110, %108
%112 = trunc i64 %111 to i32
store i32 %112, i32* %23
%113 = load i32, i32* %17
%114 = load i8**, i8*** %10
%115 = getelementptr inbounds i8*, i8** %114, i64 6
%116 = load %struct.target*, %struct.target** %9
%117 = call i64 @dump_long_long_unsigned_int_from_mem(i32 %113, i8** %115, %struct.target* %116)
%118 = load i32, i32* %23
%119 = sext i32 %118 to i64
%120 = add nsw i64 %119, %117
%121 = trunc i64 %120 to i32
store i32 %121, i32* %23
%122 = load i32, i32* %18
%123 = load i8**, i8*** %10
%124 = getelementptr inbounds i8*, i8** %123, i64 7
%125 = load %struct.target*, %struct.target** %9
%126 = call i64 @dump_long_long_unsigned_int_from_mem(i32 %122, i8** %124, %struct.target* %125)
%127 = load i32, i32* %23
%128 = sext i32 %127 to i64
%129 = add nsw i64 %128, %126
%130 = trunc i64 %129 to i32
store i32 %130, i32* %23
%131 = load i32, i32* %19
%132 = load i8**, i8*** %10
%133 = getelementptr inbounds i8*, i8** %132, i64 8
%134 = load %struct.target*, %struct.target** %9
%135 = call i64 @dump_long_long_int_from_mem(i32 %131, i8** %133, %struct.target* %134)
%136 = load i32, i32* %23
%137 = sext i32 %136 to i64
%138 = add nsw i64 %137, %135
%139 = trunc i64 %138 to i32
store i32 %139, i32* %23
%140 = load i32, i32* %20
%141 = load i8**, i8*** %10
%142 = getelementptr inbounds i8*, i8** %141, i64 9
%143 = load %struct.target*, %struct.target** %9
%144 = call i64 @dump_long_long_unsigned_int_from_mem(i32 %140, i8** %142, %struct.target* %143)
%145 = load i32, i32* %23
%146 = sext i32 %145 to i64
%147 = add nsw i64 %146, %144
%148 = trunc i64 %147 to i32
store i32 %148, i32* %23
%149 = load i32, i32* %21
%150 = load i8**, i8*** %10
%151 = getelementptr inbounds i8*, i8** %150, i64 10
%152 = load %struct.target*, %struct.target** %9
%153 = call i64 @dump_unsigned_int_from_mem(i32 %149, i8** %151, %struct.target* %152)
%154 = load i32, i32* %23
%155 = sext i32 %154 to i64
%156 = add nsw i64 %155, %153
%157 = trunc i64 %156 to i32
store i32 %157, i32* %23
%158 = load i32, i32* %22
%159 = load i8**, i8*** %10
%160 = getelementptr inbounds i8*, i8** %159, i64 11
%161 = load %struct.target*, %struct.target** %9
%162 = call i64 @dump_unsigned_int_from_mem(i32 %158, i8** %160, %struct.target* %161)
%163 = load i32, i32* %23
%164 = sext i32 %163 to i64
%165 = add nsw i64 %164, %162
%166 = trunc i64 %165 to i32
store i32 %166, i32* %23
br label %167
167: ; preds = %58, %53
%168 = load i8**, i8*** %10
%169 = call i8* @copy_params(i8** %168, i32 12, i32* %23)
%170 = load i8**, i8*** %8
store i8* %169, i8** %170
%171 = load i8**, i8*** %10
%172 = call i32 @free_dumped_params(i8** %171, i32 12)
%173 = load i32, i32* %23
store i32 %173, i32* %5
br label %174
174: ; preds = %167, %49
%175 = load i32, i32* %5
ret i32 %175
}

LLVM IR (-O2):
%struct.target = type { i32 }
define i32 @dump_iocb(i32 %0, i32 %1, i8** nocapture writeonly %2, %struct.target* %3) {
%5 = alloca i32
%6 = bitcast i32* %5 to i8*
%7 = icmp slt i32 %0, 0
br i1 %7, label %8, label %10
8: ; preds = %4
%9 = tail call i8* @malloc(i32 0)
store i8* %9, i8** %2
br label %73
10: ; preds = %4
%11 = add i32 %1, 60
%12 = add i32 %1, 56
%13 = add i32 %1, 48
%14 = add i32 %1, 40
%15 = add i32 %1, 32
%16 = add i32 %1, 24
%17 = add i32 %1, 20
%18 = add i32 %1, 18
%19 = add i32 %1, 16
%20 = add i32 %1, 12
%21 = add i32 %1, 8
%22 = tail call dereferenceable_or_null(96) i8* @malloc(i32 96)
%23 = bitcast i8* %22 to i8**
%24 = tail call i64 @dump_long_long_unsigned_int_from_mem(i32 %1, i8** %23, %struct.target* %3)
%25 = trunc i64 %24 to i32
%26 = getelementptr inbounds i8*, i8** %23, i64 1
%27 = tail call i64 @dump_unsigned_int_from_mem(i32 %21, i8** %26, %struct.target* %3)
%28 = trunc i64 %27 to i32
%29 = add i32 %25, %28
%30 = getelementptr inbounds i8*, i8** %23, i64 2
%31 = tail call i64 @dump_unsigned_int_from_mem(i32 %20, i8** %30, %struct.target* %3)
%32 = trunc i64 %31 to i32
%33 = add i32 %29, %32
%34 = getelementptr inbounds i8*, i8** %23, i64 3
%35 = tail call i64 @dump_short_unsigned_int_from_mem(i32 %19, i8** %34, %struct.target* %3)
%36 = trunc i64 %35 to i32
%37 = add i32 %33, %36
%38 = getelementptr inbounds i8*, i8** %23, i64 4
%39 = tail call i64 @dump_short_int_from_mem(i32 %18, i8** %38, %struct.target* %3)
%40 = trunc i64 %39 to i32
%41 = add i32 %37, %40
%42 = getelementptr inbounds i8*, i8** %23, i64 5
%43 = tail call i64 @dump_unsigned_int_from_mem(i32 %17, i8** %42, %struct.target* %3)
%44 = trunc i64 %43 to i32
%45 = add i32 %41, %44
%46 = getelementptr inbounds i8*, i8** %23, i64 6
%47 = tail call i64 @dump_long_long_unsigned_int_from_mem(i32 %16, i8** %46, %struct.target* %3)
%48 = trunc i64 %47 to i32
%49 = add i32 %45, %48
%50 = getelementptr inbounds i8*, i8** %23, i64 7
%51 = tail call i64 @dump_long_long_unsigned_int_from_mem(i32 %15, i8** %50, %struct.target* %3)
%52 = trunc i64 %51 to i32
%53 = add i32 %49, %52
%54 = getelementptr inbounds i8*, i8** %23, i64 8
%55 = tail call i64 @dump_long_long_int_from_mem(i32 %14, i8** %54, %struct.target* %3)
%56 = trunc i64 %55 to i32
%57 = add i32 %53, %56
%58 = getelementptr inbounds i8*, i8** %23, i64 9
%59 = tail call i64 @dump_long_long_unsigned_int_from_mem(i32 %13, i8** %58, %struct.target* %3)
%60 = trunc i64 %59 to i32
%61 = add i32 %57, %60
%62 = getelementptr inbounds i8*, i8** %23, i64 10
%63 = tail call i64 @dump_unsigned_int_from_mem(i32 %12, i8** %62, %struct.target* %3)
%64 = trunc i64 %63 to i32
%65 = add i32 %61, %64
%66 = getelementptr inbounds i8*, i8** %23, i64 11
%67 = tail call i64 @dump_unsigned_int_from_mem(i32 %11, i8** %66, %struct.target* %3)
%68 = trunc i64 %67 to i32
%69 = add i32 %65, %68
store i32 %69, i32* %5
%70 = call i8* @copy_params(i8** %23, i32 12, i32* %5)
store i8* %70, i8** %2
%71 = call i32 @free_dumped_params(i8** %23, i32 12)
%72 = load i32, i32* %5
br label %73
73: ; preds = %10, %8
%74 = phi i32 [ %72, %10 ], [ 0, %8 ]
ret i32 %74
}