// File: /workspace/github_c_makefile_star2_O2/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, %rbx
cmpq $0x0, 0x18(%rdi)
je 0x3897
movq (%rbx), %rax
movq %rax, 0x18(%rsp)
leaq 0x40(%rsp), %r14
leaq 0x30(%rsp), %r15
pushq $0x1c
popq %r13
pushq $0x1
popq %rbp
cmpl $0x0, 0x4ca6(%rip)      # 0x84b4
jne 0x3a79
xorl %ecx, %ecx
movl 0x4c94(%rip), %eax      # 0x84b0
cmpq %rax, %rcx
jae 0x3888
movl %ecx, 0x70(%rsp)
movq %rcx, 0x8(%rsp)
imulq $0x50, %rcx, %rax
movq 0x18(%rsp), %rcx
leaq (%rcx,%rax), %r12
addq $0x48, %r12
movq (%r12), %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x3eaa
testl %eax, %eax
jne 0x387e
movups 0x40(%rsp), %xmm0
leaq 0x74(%rsp), %rax
movups %xmm0, (%rax)
movq 0x30(%rsp), %rax
movq %rax, 0x84(%rsp)
movq 0x18(%rbx), %rcx
leaq 0x70(%rsp), %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x23c0
jmp 0x383b
movq 0x8(%rsp), %rcx
incq %rcx
jmp 0x3816
movl $0x3e8, %edi            # imm = 0x3E8
callq 0x2460
jmp 0x3807
movq (%rbx), %rax
movq %rax, 0x20(%rsp)
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(%rbx), %rdi
movq 0x10(%rbx), %rsi
leaq 0x10(%rsp), %rcx
callq 0x23f0
testl %eax, %eax
jns 0x38f4
leaq 0x1eb6(%rip), %rsi      # 0x5793
leaq 0x1983(%rip), %rdx      # 0x5267
leaq 0x1ebf(%rip), %rcx      # 0x57aa
movl %eax, %edi
xorl %eax, %eax
callq 0x3ee1
movq 0x10(%rsp), %r12
movq %r12, %rax
movl 0x4(%rax), %edi
movl 0x8(%rax), %esi
movl 0xc(%rax), %edx
callq 0x2480
movl %eax, 0x8(%rsp)
testl %eax, %eax
jns 0x3944
movq 0x10(%rsp), %rax
movq 0x28(%rax), %rax
movq %rax, 0x10(%rsp)
testq %rax, %rax
jne 0x38fc
leaq 0x1e8c(%rip), %rsi      # 0x57b8
leaq 0x1934(%rip), %rdx      # 0x5267
leaq 0x1e70(%rip), %rcx      # 0x57aa
pushq $0x2
popq %rdi
xorl %eax, %eax
callq 0x3ee1
movq 0x10(%rsp), %rbx
movl 0x10(%rbx), %r14d
movq %r14, %rdi
callq 0x22a0
movq 0x18(%rbx), %rsi
movq %rax, 0x18(%rsp)
movq %rax, %rdi
movq %r14, %r15
movq %r14, %rdx
callq 0x2290
movq %r12, %rdi
callq 0x2470
xorl %ebp, %ebp
pushq $0x4
popq %rsi
pushq $0x1
popq %rcx
movl 0x8(%rsp), %edi
movl $0x800, %edx            # imm = 0x800
xorl %eax, %eax
callq 0x20d0
testl %eax, %eax
jns 0x39b3
callq 0x2070
movl (%rax), %edi
leaq 0x1e2d(%rip), %rsi      # 0x57cb
leaq 0x18c2(%rip), %rdx      # 0x5267
leaq 0x1dfe(%rip), %rcx      # 0x57aa
xorl %eax, %eax
callq 0x3ee1
leaq 0x30(%rsp), %r12
leaq 0x28(%rsp), %r13
cmpl $0x0, 0x4af0(%rip)      # 0x84b4
jne 0x3a70
xorl %ebx, %ebx
movl 0x4ade(%rip), %eax      # 0x84b0
cmpq %rax, %rbx
jae 0x3a61
imulq $0x50, %rbx, %rax
movq 0x20(%rsp), %rcx
leaq (%rcx,%rax), %r14
addq $0x48, %r14
movq (%r14), %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x3eaa
testl %eax, %eax
jne 0x3a59
movl %ebp, %eax
imulq $0x1c, %rax, %rax
movl %ebx, 0x70(%rsp,%rax)
movups 0x30(%rsp), %xmm0
movups %xmm0, 0x74(%rsp,%rax)
movq 0x28(%rsp), %rcx
movq %rcx, 0x84(%rsp,%rax)
cmpl $0x31, %ebp
je 0x3a28
incl %ebp
jmp 0x39ec
xorl %ebp, %ebp
movl $0x578, %edx            # imm = 0x578
movl 0x8(%rsp), %edi
leaq 0x70(%rsp), %rsi
xorl %ecx, %ecx
movq 0x18(%rsp), %r8
movl %r15d, %r9d
callq 0x21b0
testl %eax, %eax
jns 0x39ec
leaq 0x1d88(%rip), %rdi      # 0x57da
callq 0x2340
jmp 0x39ec
incq %rbx
jmp 0x39cc
movl $0x3e8, %edi            # imm = 0x3E8
callq 0x2460
jmp 0x39bd
movl 0x8(%rsp), %edi
callq 0x21d0
xorl %eax, %eax
addq $0x5e8, %rsp            # imm = 0x5E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq