// File: /workspace/github_c_makefile_star2_O3/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 0x3aa9
movq %rcx, 0x18(%rsp)
movq (%rcx), %rax
movq %rax, 0x8(%rsp)
cmpl $0x0, 0x4ae8(%rip)      # 0x84b4
jne 0x3cd0
leaq 0x40(%rsp), %r14
leaq 0x28(%rsp), %rbx
movq 0x18(%rsp), %r13
cmpl $0x0, 0x4ac8(%rip)      # 0x84b0
je 0x3a8d
xorl %ecx, %ecx
movl %ecx, 0x70(%rsp)
movq %rcx, 0x20(%rsp)
leaq (%rcx,%rcx,4), %rbp
shlq $0x4, %rbp
movq 0x8(%rsp), %rax
movq 0x48(%rax,%rbp), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x414e
testl %eax, %eax
leaq 0x74(%rsp), %r12
movq %r14, %r15
leaq 0x70(%rsp), %r14
jne 0x3a73
movq 0x8(%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 0x23c0
movq (%rbp), %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x414e
testl %eax, %eax
je 0x3a33
movq 0x20(%rsp), %rcx
incq %rcx
movl 0x4a2f(%rip), %eax      # 0x84b0
cmpq %rax, %rcx
movq %r15, %r14
jb 0x39f0
movl $0x3e8, %edi            # imm = 0x3E8
callq 0x2460
cmpl $0x0, 0x4a16(%rip)      # 0x84b4
je 0x39e1
jmp 0x3cd0
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 0x10(%rsp), %rcx
callq 0x23f0
testl %eax, %eax
jns 0x3b01
leaq 0x1ca9(%rip), %rsi      # 0x5793
leaq 0x1776(%rip), %rdx      # 0x5267
leaq 0x1cb2(%rip), %rcx      # 0x57aa
movl %eax, %edi
xorl %eax, %eax
callq 0x418c
movq 0x10(%rsp), %r12
movq %r12, %rax
movl 0x4(%rax), %edi
movl 0x8(%rax), %esi
movl 0xc(%rax), %edx
callq 0x2480
movl %eax, %r15d
testl %eax, %eax
jns 0x3b52
movq 0x10(%rsp), %rax
movq 0x28(%rax), %rax
movq %rax, 0x10(%rsp)
testq %rax, %rax
jne 0x3b09
leaq 0x1c80(%rip), %rsi      # 0x57b8
leaq 0x1728(%rip), %rdx      # 0x5267
leaq 0x1c64(%rip), %rcx      # 0x57aa
movl $0x2, %edi
xorl %eax, %eax
callq 0x418c
movq %r14, 0x8(%rsp)
movq 0x10(%rsp), %rbx
movl 0x10(%rbx), %r14d
movq %r14, %rdi
callq 0x22a0
movq 0x18(%rbx), %rsi
movq %rax, 0x20(%rsp)
movq %rax, %rdi
movq %r14, 0x18(%rsp)
movq %r14, %rdx
callq 0x2290
movq %r12, %rdi
callq 0x2470
movl %r15d, %edi
movl $0x4, %esi
movl $0x800, %edx            # imm = 0x800
movl $0x1, %ecx
xorl %eax, %eax
callq 0x20d0
testl %eax, %eax
jns 0x3bc9
callq 0x2070
movl (%rax), %edi
leaq 0x1c17(%rip), %rsi      # 0x57cb
leaq 0x16ac(%rip), %rdx      # 0x5267
leaq 0x1be8(%rip), %rcx      # 0x57aa
xorl %eax, %eax
callq 0x418c
cmpl $0x0, 0x48e4(%rip)      # 0x84b4
jne 0x3cc8
xorl %ebp, %ebp
leaq 0x38(%rsp), %r13
cmpl $0x0, 0x48cc(%rip)      # 0x84b0
je 0x3cb1
xorl %ebx, %ebx
movl %r15d, %r12d
leaq (%rbx,%rbx,4), %r14
shlq $0x4, %r14
movq 0x8(%rsp), %r15
movq 0x48(%r15,%r14), %rdi
leaq 0x28(%rsp), %rsi
movq %r13, %rdx
callq 0x414e
testl %eax, %eax
je 0x3c28
movl %r12d, %r15d
incq %rbx
movl 0x4892(%rip), %eax      # 0x84b0
cmpq %rax, %rbx
jb 0x3bec
jmp 0x3cb1
addq %r15, %r14
addq $0x48, %r14
movl %r12d, %r15d
movq 0x18(%rsp), %r12
movl %ebp, %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, %ebp
je 0x3c68
incl %ebp
jmp 0x3c8a
xorl %ebp, %ebp
movl $0x578, %edx            # imm = 0x578
movl %r15d, %edi
leaq 0x70(%rsp), %rsi
xorl %ecx, %ecx
movq 0x20(%rsp), %r8
movl %r12d, %r9d
callq 0x21b0
testl %eax, %eax
js 0x3ca3
movq (%r14), %rdi
leaq 0x28(%rsp), %rsi
movq %r13, %rdx
callq 0x414e
testl %eax, %eax
je 0x3c37
jmp 0x3c15
leaq 0x1b30(%rip), %rdi      # 0x57da
callq 0x2340
jmp 0x3c8a
movl $0x3e8, %edi            # imm = 0x3E8
callq 0x2460
cmpl $0x0, 0x47f2(%rip)      # 0x84b4
je 0x3bdd
movl %r15d, %edi
callq 0x21d0
xorl %eax, %eax
addq $0x5e8, %rsp            # imm = 0x5E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq