// File: /workspace/github_c_makefile_star2_O1/igaw[P]jitterdebugger/jitterdebugger.c
// Function: store_samples
static void *store_samples(void *arg)
{
	struct record_data *rec = arg;
	if (rec->fd)
		store_file(rec);
	else
		store_network(rec);

	return NULL;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x5e8, %rsp            # imm = 0x5E8
movq %rdi, %rcx
cmpq $0x0, 0x18(%rdi)
je 0x3aa7
movq %rcx, 0x18(%rsp)
movq (%rcx), %rax
movq %rax, 0x10(%rsp)
cmpl $0x0, 0x4aea(%rip)      # 0x84b4
jne 0x3cd7
leaq 0x40(%rsp), %r14
leaq 0x28(%rsp), %rbx
movq 0x18(%rsp), %r13
cmpl $0x0, 0x4aca(%rip)      # 0x84b0
je 0x3a8b
xorl %ecx, %ecx
movl %ecx, 0x70(%rsp)
movq %rcx, 0x20(%rsp)
leaq (%rcx,%rcx,4), %rbp
shlq $0x4, %rbp
movq 0x10(%rsp), %rax
movq 0x48(%rax,%rbp), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x4146
testl %eax, %eax
leaq 0x74(%rsp), %r12
movq %r14, %r15
leaq 0x70(%rsp), %r14
jne 0x3a71
movq 0x10(%rsp), %rax
addq %rax, %rbp
addq $0x48, %rbp
movups 0x40(%rsp), %xmm0
movups %xmm0, (%r12)
movq 0x28(%rsp), %rax
movq %rax, 0x84(%rsp)
movq 0x18(%r13), %rcx
movl $0x1c, %esi
movl $0x1, %edx
movq %r14, %rdi
callq 0x23d0
movq (%rbp), %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x4146
testl %eax, %eax
je 0x3a31
movq 0x20(%rsp), %rcx
incq %rcx
movl 0x4a31(%rip), %eax      # 0x84b0
cmpq %rax, %rcx
movq %r15, %r14
jb 0x39ee
movl $0x3e8, %edi            # imm = 0x3E8
callq 0x2470
cmpl $0x0, 0x4a18(%rip)      # 0x84b4
je 0x39df
jmp 0x3cd7
movq (%rcx), %r14
xorps %xmm0, %xmm0
leaq 0x40(%rsp), %rdx
movaps %xmm0, (%rdx)
movaps %xmm0, 0x10(%rdx)
movaps %xmm0, 0x20(%rdx)
movabsq $0x1100000002, %rax     # imm = 0x1100000002
movq %rax, 0x8(%rdx)
movq 0x8(%rcx), %rdi
movq 0x10(%rcx), %rsi
leaq 0x8(%rsp), %rcx
callq 0x2400
testl %eax, %eax
jns 0x3aff
leaq 0x1c7b(%rip), %rsi      # 0x5763
leaq 0x1748(%rip), %rdx      # 0x5237
leaq 0x1c84(%rip), %rcx      # 0x577a
movl %eax, %edi
xorl %eax, %eax
callq 0x4184
movq 0x8(%rsp), %r15
movq 0x8(%rsp), %rax
movl 0x4(%rax), %edi
movl 0x8(%rax), %esi
movl 0xc(%rax), %edx
callq 0x2490
movl %eax, %ebp
testl %eax, %eax
jns 0x3b30
movq 0x8(%rsp), %rax
movq 0x28(%rax), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
jne 0x3b04
testl %ebp, %ebp
jns 0x3b55
leaq 0x1c4d(%rip), %rsi      # 0x5788
leaq 0x16f5(%rip), %rdx      # 0x5237
leaq 0x1c31(%rip), %rcx      # 0x577a
movl $0x2, %edi
xorl %eax, %eax
callq 0x4184
movq %r14, 0x10(%rsp)
movq 0x8(%rsp), %rbx
movl 0x10(%rbx), %r12d
movq %r12, %rdi
callq 0x22b0
movq 0x18(%rbx), %rsi
movq %rax, 0x18(%rsp)
movq %rax, %rdi
movq %r12, %rdx
callq 0x22a0
movl 0x10(%rbx), %eax
movl %eax, 0x20(%rsp)
movq %r15, %rdi
callq 0x2480
movl %ebp, %edi
movl $0x4, %esi
movl $0x800, %edx            # imm = 0x800
movl $0x1, %ecx
xorl %eax, %eax
callq 0x20e0
testl %eax, %eax
jns 0x3bcd
callq 0x2070
movl (%rax), %edi
leaq 0x1be3(%rip), %rsi      # 0x579b
leaq 0x1678(%rip), %rdx      # 0x5237
leaq 0x1bb4(%rip), %rcx      # 0x577a
xorl %eax, %eax
callq 0x4184
cmpl $0x0, 0x48e0(%rip)      # 0x84b4
jne 0x3cd0
xorl %r13d, %r13d
leaq 0x38(%rsp), %r12
cmpl $0x0, 0x48c7(%rip)      # 0x84b0
je 0x3cb9
xorl %ebx, %ebx
movl %ebp, %r15d
leaq (%rbx,%rbx,4), %r14
shlq $0x4, %r14
movq 0x10(%rsp), %rbp
movq 0x48(%rbp,%r14), %rdi
leaq 0x28(%rsp), %rsi
movq %r12, %rdx
callq 0x4146
testl %eax, %eax
je 0x3c2d
movl %r15d, %ebp
incq %rbx
movl 0x488d(%rip), %eax      # 0x84b0
cmpq %rax, %rbx
jb 0x3bf1
jmp 0x3cb9
addq %rbp, %r14
addq $0x48, %r14
movl %r15d, %ebp
movq 0x18(%rsp), %r15
movl %r13d, %eax
leaq (%rax,%rax,8), %rcx
leaq (%rcx,%rcx,2), %rcx
addq %rax, %rcx
movl %ebx, 0x70(%rsp,%rcx)
movups 0x28(%rsp), %xmm0
movups %xmm0, 0x74(%rsp,%rcx)
movq 0x38(%rsp), %rax
movq %rax, 0x84(%rsp,%rcx)
cmpl $0x31, %r13d
je 0x3c70
incl %r13d
jmp 0x3c92
xorl %r13d, %r13d
movl $0x578, %edx            # imm = 0x578
movl %ebp, %edi
leaq 0x70(%rsp), %rsi
xorl %ecx, %ecx
movq %r15, %r8
movl 0x20(%rsp), %r9d
callq 0x21c0
testl %eax, %eax
js 0x3cab
movq (%r14), %rdi
leaq 0x28(%rsp), %rsi
movq %r12, %rdx
callq 0x4146
testl %eax, %eax
je 0x3c3c
jmp 0x3c1a
leaq 0x1af8(%rip), %rdi      # 0x57aa
callq 0x2350
jmp 0x3c92
movl $0x3e8, %edi            # imm = 0x3E8
callq 0x2470
cmpl $0x0, 0x47ea(%rip)      # 0x84b4
je 0x3be2
movl %ebp, %edi
callq 0x21e0
xorl %eax, %eax
addq $0x5e8, %rsp            # imm = 0x5E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq