// File: /workspace/github_c_makefile_star2_O3/sfeakes[P]unifi-motion/mongoose.c
// Function: mg_serve_http
void mg_serve_http(struct mg_connection *nc, struct http_message *hm,
                   struct mg_serve_http_opts opts) {
  char *path = NULL;
  struct mg_str *hdr, path_info;
  uint32_t remote_ip = ntohl(*(uint32_t *) &nc->sa.sin.sin_addr);

  if (mg_check_ip_acl(opts.ip_acl, remote_ip) != 1) {
    /* Not allowed to connect */
    mg_http_send_error(nc, 403, NULL);
    nc->flags |= MG_F_SEND_AND_CLOSE;
    return;
  }

#if MG_ENABLE_HTTP_URL_REWRITES
  if (mg_http_handle_forwarding(nc, hm, &opts)) {
    return;
  }

  if (mg_http_send_port_based_redirect(nc, hm, &opts)) {
    return;
  }
#endif

  if (opts.document_root == NULL) {
    opts.document_root = ".";
  }
  if (opts.per_directory_auth_file == NULL) {
    opts.per_directory_auth_file = ".htpasswd";
  }
  if (opts.enable_directory_listing == NULL) {
    opts.enable_directory_listing = "yes";
  }
  if (opts.cgi_file_pattern == NULL) {
    opts.cgi_file_pattern = "**.cgi$|**.php$";
  }
  if (opts.ssi_pattern == NULL) {
    opts.ssi_pattern = "**.shtml$|**.shtm$";
  }
  if (opts.index_files == NULL) {
    opts.index_files = "index.html,index.htm,index.shtml,index.cgi,index.php";
  }
  /* Normalize path - resolve "." and ".." (in-place). */
  if (!mg_normalize_uri_path(&hm->uri, &hm->uri)) {
    mg_http_send_error(nc, 400, NULL);
    return;
  }
  if (mg_uri_to_local_path(hm, &opts, &path, &path_info) == 0) {
    mg_http_send_error(nc, 404, NULL);
    return;
  }
  mg_send_http_file(nc, path, &path_info, hm, &opts);

  MG_FREE(path);
  path = NULL;

  /* Close connection for non-keep-alive requests */
  if (mg_vcmp(&hm->proto, "HTTP/1.1") != 0 ||
      ((hdr = mg_get_http_header(hm, "Connection")) != NULL &&
       mg_vcmp(hdr, "keep-alive") != 0)) {
#if 0
    nc->flags |= MG_F_SEND_AND_CLOSE;
#endif
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x35a8, %rsp           # imm = 0x35A8
movq %rsi, %rbx
movq %rdi, %r14
movl 0x2c(%rdi), %esi
bswapl %esi
movq 0x3618(%rsp), %rdi
callq 0x9385
cmpl $0x1, %eax
jne 0xeb91
movq %r14, 0x28(%rsp)
movq %rbx, 0x30(%rsp)
leaq 0x35e0(%rsp), %rax
movq 0x40(%rax), %r12
leaq 0x1390(%rsp), %rsi
leaq 0x390(%rsp), %rdx
movq %r12, %rdi
callq 0x76d5
testq %rax, %rax
je 0xea96
movq %rax, %r14
leaq 0x7bb2(%rip), %r15      # 0x16598
leaq 0x7bb3(%rip), %r13      # 0x165a0
leaq 0x1390(%rsp), %rbp
leaq 0x390(%rsp), %rbx
movq 0x1390(%rsp), %rdi
movq 0x1398(%rsp), %rsi
movq 0x30(%rsp), %rax
movq 0x30(%rax), %rdx
movq 0x38(%rax), %rcx
movq %rsi, %r8
callq 0x6d47
testl %eax, %eax
jne 0xea7c
movq 0x390(%rsp), %rdi
movq 0x398(%rsp), %rsi
movl $0x7, %ecx
movl $0x7, %r8d
movq %r15, %rdx
callq 0x6d47
testl %eax, %eax
je 0xed34
movq 0x390(%rsp), %rdi
movq 0x398(%rsp), %rsi
movl $0x8, %ecx
movl $0x8, %r8d
movq %r13, %rdx
callq 0x6d47
testl %eax, %eax
je 0xed34
movq %r14, %rdi
movq %rbp, %rsi
movq %rbx, %rdx
callq 0x76d5
movq %rax, %r14
testq %rax, %rax
jne 0xe9fd
movapd 0x6a62(%rip), %xmm0     # 0x15500
leaq 0x1391(%rsp), %rbx
movapd %xmm0, -0x1(%rbx)
xorpd %xmm0, %xmm0
leaq 0x390(%rsp), %r14
movapd %xmm0, (%r14)
movq 0x28(%rsp), %rbp
movq 0xc0(%rbp), %rax
movq 0x10(%rax), %rax
movq %rbp, %rdi
xorl %esi, %esi
movq %r14, %rdx
callq *0x78(%rax)
xorpd %xmm0, %xmm0
movupd %xmm0, (%rbx)
movl $0x0, 0xf(%rbx)
movzwl 0x2(%r14), %eax
rolw $0x8, %ax
movzwl %ax, %ecx
leaq 0x7900(%rip), %rdx      # 0x163f9
movl $0x13, %esi
movq %rbx, %rdi
xorl %eax, %eax
callq 0x31e0
leaq 0x190(%rsp), %rbx
leaq 0x60(%rsp), %r14
leaq 0x1390(%rsp), %r15
movq %r12, %r13
movq %r13, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x76d5
testq %rax, %rax
je 0xebad
movq %rax, %r13
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6b4a
testl %eax, %eax
jne 0xeb20
xorl %edi, %edi
callq 0x6b26
movq %rdx, %rcx
movq %rbp, %rdi
movl $0x12d, %esi            # imm = 0x12D
movq %rax, %rdx
callq 0xc8f6
movl 0x68(%rsp), %edx
movq 0x60(%rsp), %rcx
movq 0x30(%rsp), %rax
movq 0x30(%rax), %r9
movl %r9d, %r8d
notl %r8d
addl 0x40(%rax), %r8d
leaq 0x7a27(%rip), %rsi      # 0x165a9
movq %rbp, %rdi
xorl %eax, %eax
callq 0x7ff5
jmp 0xfc1b
movq %r14, %rdi
movl $0x193, %esi            # imm = 0x193
xorl %edx, %edx
callq 0xcb3c
orb $0x4, 0xc9(%r14)
jmp 0xfc1b
leaq 0x35e0(%rsp), %rcx
cmpq $0x0, (%rcx)
jne 0xebc5
leaq 0x6e4a(%rip), %rax      # 0x15a0c
movq %rax, (%rcx)
cmpq $0x0, 0x10(%rcx)
movq 0x30(%rsp), %rbx
jne 0xebdc
leaq 0x7344(%rip), %rax      # 0x15f1c
movq %rax, 0x10(%rcx)
cmpq $0x0, 0x28(%rcx)
jne 0xebee
leaq 0x733c(%rip), %rax      # 0x15f26
movq %rax, 0x28(%rcx)
cmpq $0x0, 0x60(%rcx)
jne 0xec00
leaq 0x732e(%rip), %rax      # 0x15f2a
movq %rax, 0x60(%rcx)
cmpq $0x0, 0x30(%rcx)
jne 0xec12
leaq 0x732c(%rip), %rax      # 0x15f3a
movq %rax, 0x30(%rcx)
cmpq $0x0, 0x8(%rcx)
jne 0xec24
leaq 0x732d(%rip), %rax      # 0x15f4d
movq %rax, 0x8(%rcx)
leaq 0x30(%rbx), %rdi
movq %rdi, 0x20(%rsp)
movq %rdi, %rsi
callq 0xb0e1
testl %eax, %eax
je 0xedf7
movq 0x30(%rbx), %r15
movq 0x38(%rbx), %rax
addq %r15, %rax
movq %rax, 0x40(%rsp)
leaq 0x727a(%rip), %rsi      # 0x15ece
movq %rbx, %rdi
callq 0xb896
movq %rax, %r14
leaq 0x1390(%rsp), %r13
leaq 0x390(%rsp), %rbp
movq %r12, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x76d5
testq %rax, %rax
je 0xed68
movq %rax, %r12
movq 0x1390(%rsp), %rdi
movq 0x1398(%rsp), %rsi
cmpq $0x2, %rsi
jb 0xecc6
cmpb $0x40, (%rdi)
jne 0xecc6
testq %r14, %r14
je 0xecd7
movq 0x8(%r14), %rdx
decq %rsi
cmpq %rsi, %rdx
jne 0xecd7
incq %rdi
movq (%r14), %rsi
callq 0x6bc6
testl %eax, %eax
jne 0xecd7
jmp 0xed18
movq 0x30(%rbx), %rdx
movq 0x38(%rbx), %rcx
callq 0x77c3
testl %eax, %eax
jg 0xecef
movq %r12, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x76d5
movq %rax, %r12
testq %rax, %rax
jne 0xec89
jmp 0xed68
movq 0x20(%rsp), %rcx
movq (%rcx), %rcx
movl %eax, %eax
leaq (%rcx,%rax), %r15
cmpb $0x2f, (%rcx,%rax)
je 0xed18
cmpq 0x40(%rsp), %r15
je 0xed18
cmpb $0x2f, -0x1(%r15)
jne 0xec6f
decq %r15
movq 0x390(%rsp), %rbx
testq %rbx, %rbx
movq 0x28(%rsp), %rbp
je 0xed6d
movq 0x398(%rsp), %r14
jmp 0xed83
movq 0x1390(%rsp), %rdx
movq 0x1398(%rsp), %rcx
movq 0x390(%rsp), %r8
movq 0x398(%rsp), %r9
movq 0x28(%rsp), %rdi
movq 0x30(%rsp), %rsi
callq 0xe19f
jmp 0xfc1b
movq 0x28(%rsp), %rbp
leaq 0x35e0(%rsp), %rax
movq (%rax), %rbx
movq %rbx, %rdi
callq 0x3180
movq %rax, %r14
testq %rbx, %rbx
je 0xfcbd
testq %r14, %r14
je 0xfcbd
movq 0x30(%rsp), %rax
movq 0x38(%rax), %r12
leaq (%r14,%r12), %rdi
incq %rdi
callq 0x33e0
testq %rax, %rax
je 0xf00a
movq %rax, %r13
movq %rax, %rbp
addq %r14, %rbp
incq %r15
movq %rax, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x3380
leaq -0x1(%rbp), %rbx
cmpb $0x2f, -0x1(%r13,%r14)
cmovneq %rbp, %rbx
movb $0x0, (%rbx)
cmpq 0x40(%rsp), %r15
movq %r13, %r14
jbe 0xee04
movq 0x40(%rsp), %r12
movq 0x28(%rsp), %rbp
jmp 0xefee
movq %rbp, %rdi
movl $0x190, %esi            # imm = 0x190
jmp 0xf06d
leaq (%r12,%rbp), %rax
incq %rax
movq %rax, 0x50(%rsp)
movl $0x1, %ebp
movl $0x1, 0x38(%rsp)
movq %rbx, 0x48(%rsp)
movq %r14, 0x20(%rsp)
movq 0x40(%rsp), %r12
testl %ebp, %ebp
movl $0x0, %ebp
je 0xee6b
movq %r14, %rdi
leaq 0x1390(%rsp), %rsi
callq 0x31b0
xorl %ebp, %ebp
testl %eax, %eax
sete %al
jne 0xee68
movl 0x13a8(%rsp), %ecx
movl $0xf000, %edx           # imm = 0xF000
andl %edx, %ecx
cmpl $0x8000, %ecx           # imm = 0x8000
je 0xefbb
movb %al, %bpl
cmpq %r12, %r15
jae 0xefc8
movq %r15, 0x390(%rsp)
xorl %edx, %edx
cmpb $0x2f, (%r15,%rdx)
je 0xeea2
leaq (%r15,%rdx), %rax
incq %rax
incq %rdx
cmpq %r12, %rax
jb 0xee7e
movq %rdx, 0x398(%rsp)
leaq (%r15,%rdx), %r13
jmp 0xeeba
movq %rdx, 0x398(%rsp)
leaq (%r15,%rdx), %r13
incq %r13
testq %rdx, %rdx
je 0xefa2
leaq 0x1(%rbx), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x3500
movl 0x398(%rsp), %esi
movl %ebx, %ecx
notl %ecx
addl 0x50(%rsp), %ecx
xorl %r14d, %r14d
movq %r12, %rdi
movq %r12, %rdx
xorl %r8d, %r8d
callq 0xcfc2
testl %eax, %eax
jle 0xefcd
movq %r12, 0x390(%rsp)
movl %eax, %eax
movq %rax, 0x398(%rsp)
leaq 0x390(%rsp), %r14
movq %r14, %rdi
leaq 0x6af7(%rip), %rsi      # 0x15a0c
callq 0x6b4a
testl %eax, %eax
je 0xef65
movq %r14, %rdi
leaq 0x6ae3(%rip), %rsi      # 0x15a0b
callq 0x6b4a
testl %eax, %eax
je 0xef6f
movb $0x2f, (%rbx)
movq 0x398(%rsp), %rax
testq %rax, %rax
je 0xef68
leaq (%r12,%rax), %rcx
movq 0x20(%rsp), %r14
movzbl (%r12), %edx
testl %edx, %edx
je 0xef90
cmpl $0x2f, %edx
je 0xef90
incq %r12
decq %rax
jne 0xef4a
movq %rcx, %r12
jmp 0xefa5
movq %rbx, %r12
movq 0x20(%rsp), %r14
jmp 0xefa5
movq 0x48(%rsp), %rax
cmpq %rax, %rbx
jbe 0xef9a
movq 0x20(%rsp), %r14
cmpb $0x2f, (%rbx)
je 0xef9f
decq %rbx
cmpq %rax, %rbx
ja 0xef7e
movq %rax, %rbx
jmp 0xef9f
movl $0x0, 0x38(%rsp)
jmp 0xefa5
movq 0x20(%rsp), %r14
movb $0x0, (%rbx)
movq %rbx, %r12
movq %r12, %rbx
movq %r13, %r15
movq 0x40(%rsp), %r12
cmpq %r12, %r13
jbe 0xee2c
jmp 0xefdf
cmpb $0x2f, -0x1(%r15)
leaq -0x1(%r15), %rax
cmoveq %rax, %r15
movl 0x38(%rsp), %r14d
movq %r15, %r13
movl %r14d, 0x38(%rsp)
movq 0x20(%rsp), %r14
movq 0x40(%rsp), %r12
movq %r13, %r15
cmpl $0x0, 0x38(%rsp)
movq 0x28(%rsp), %rbp
je 0xf002
cmpq %r12, %r15
cmovaq %r12, %r15
subq %r15, %r12
xorl %r13d, %r13d
movq 0x30(%rsp), %rbx
jmp 0xf01b
movq %r14, %rdi
callq 0x3060
xorl %r14d, %r14d
xorl %r15d, %r15d
xorl %r12d, %r12d
movq 0x30(%rsp), %rbx
movb $0x1, %r13b
leaq 0x763d(%rip), %rsi      # 0x1665f
leaq 0x65a5(%rip), %rdx      # 0x155ce
movl $0x3, %edi
callq 0x4447
testl %eax, %eax
je 0xf060
movl 0x38(%rbx), %esi
movq 0x30(%rbx), %rdx
testq %r14, %r14
leaq 0x77a5(%rip), %rcx      # 0x167ed
cmovneq %r14, %rcx
leaq 0x7621(%rip), %rdi      # 0x16674
movl %r12d, %r8d
movq %r15, %r9
xorl %eax, %eax
callq 0x4539
testb %r13b, %r13b
je 0xf079
movq %rbp, %rdi
movl $0x194, %esi            # imm = 0x194
xorl %edx, %edx
callq 0xcb3c
jmp 0xfc1b
leaq 0x100(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x31b0
testl %eax, %eax
sete %dl
movl 0x18(%rbx), %ecx
andl $0xf000, %ecx           # imm = 0xF000
cmpl $0x4000, %ecx           # imm = 0x4000
sete %cl
andb %dl, %cl
cmpb $0x1, %cl
movq %r12, 0x40(%rsp)
movl %eax, 0x48(%rsp)
movb %dl, 0x50(%rsp)
jne 0xf1a2
movb %cl, 0x38(%rsp)
leaq 0x35e0(%rsp), %rax
movq 0x8(%rax), %rbx
movq %r14, 0x20(%rsp)
movq %r14, %rdi
callq 0x3180
movq %rax, %r14
leaq 0x390(%rsp), %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x76d5
xorl %edi, %edi
testq %rax, %rax
je 0xf1a9
movq %rax, %r12
addq $0x2, %r14
xorl %edi, %edi
movq 0x398(%rsp), %rbx
leaq (%r14,%rbx), %rbp
movq %rbp, %rsi
callq 0x34a0
testq %rax, %rax
je 0xf1a7
movq 0x390(%rsp), %rcx
movq %rcx, (%rsp)
movq %rax, %r13
movq %rax, %rdi
movq %rbp, %rsi
leaq 0x75f2(%rip), %rdx      # 0x1672c
movq 0x20(%rsp), %rcx
movl $0x2f, %r8d
movl %ebx, %r9d
xorl %eax, %eax
callq 0x31e0
movq %r13, %rbx
movq %r13, %rdi
leaq 0x1390(%rsp), %rsi
callq 0x31b0
testl %eax, %eax
jne 0xf17f
movl 0x13a8(%rsp), %eax
movl $0xf000, %ecx           # imm = 0xF000
andl %ecx, %eax
cmpl $0x8000, %eax           # imm = 0x8000
je 0xf719
movq %r12, %rdi
leaq 0x390(%rsp), %rsi
xorl %edx, %edx
callq 0x76d5
movq %rax, %r12
testq %rax, %rax
movq %rbx, %rdi
jne 0xf101
jmp 0xf1a9
xorl %r13d, %r13d
jmp 0xf1f7
xorl %edi, %edi
callq 0x3060
xorl %ebx, %ebx
leaq 0x757e(%rip), %rsi      # 0x16735
leaq 0x6410(%rip), %rdx      # 0x155ce
movl $0x3, %edi
callq 0x4447
testl %eax, %eax
movq 0x20(%rsp), %r14
je 0xf1f0
testq %rbx, %rbx
leaq 0x7612(%rip), %rdx      # 0x167ed
cmovneq %rbx, %rdx
leaq 0x7562(%rip), %rdi      # 0x16748
movq %r14, %rsi
xorl %eax, %eax
callq 0x4539
movq %rbx, %r13
movb 0x38(%rsp), %cl
movzbl %cl, %ebp
leaq 0x35e0(%rsp), %rax
movq 0x60(%rax), %rbx
movq %rbx, %rdi
callq 0x3180
testq %r13, %r13
movq %r13, %rdx
cmoveq %r14, %rdx
movq %rbx, %rdi
movl %eax, %esi
movq %rdx, 0x38(%rsp)
callq 0x44fc
movl %eax, %r12d
leaq 0x745b(%rip), %rsi      # 0x1668c
leaq 0x6396(%rip), %rdx      # 0x155ce
movl $0x3, %edi
callq 0x4447
testl %eax, %eax
movq 0x30(%rsp), %rbx
je 0xf29c
xorl %r9d, %r9d
movb 0x50(%rsp), %al
movb %al, %r9b
xorl %eax, %eax
testl %r12d, %r12d
setg %al
testq %r13, %r13
movl 0x28(%rbx), %edx
movq 0x20(%rbx), %rcx
leaq 0x757f(%rip), %rsi      # 0x167ed
cmovneq %r13, %rsi
movq %rsi, 0x18(%rsp)
movl %eax, 0x10(%rsp)
movl %ebp, (%rsp)
movl $0x0, 0x8(%rsp)
leaq 0x7411(%rip), %rdi      # 0x1669e
movq 0x28(%rsp), %rsi
movq %r14, %r8
xorl %eax, %eax
callq 0x4539
movq %r13, 0x50(%rsp)
testl %ebp, %ebp
je 0xf2b8
movq 0x30(%rbx), %rcx
movq 0x38(%rbx), %rdx
cmpb $0x2f, -0x1(%rcx,%rdx)
jne 0xf63e
cmpq $0x0, 0x40(%rsp)
je 0xf2db
testl %r12d, %r12d
jg 0xf2db
movq 0x28(%rsp), %rdi
movl $0x1f5, %esi            # imm = 0x1F5
xorl %edx, %edx
callq 0xcb3c
jmp 0xfbd2
movq %r14, %rdi
movl %ebp, %r13d
callq 0x6b26
movq %r14, %rbp
leaq 0x35e0(%rsp), %r14
movq 0x18(%r14), %r8
movq 0x20(%r14), %r9
movl $0x1, (%rsp)
movq %rbx, %rdi
movq %rax, %rsi
movl %r13d, %ecx
callq 0x131da
testl %eax, %eax
je 0xf656
movq %rbp, %rdi
callq 0x6b26
movq 0x10(%r14), %r9
movq 0x18(%r14), %r8
movl $0x0, (%rsp)
movq %rbx, %rdi
movq %rax, %rsi
movl %r13d, %ecx
callq 0x131da
testl %eax, %eax
je 0xf656
movq %rbp, 0x20(%rsp)
testl %r12d, %r12d
jle 0xf6a1
leaq 0x7496(%rip), %rsi      # 0x167ee
leaq 0x626f(%rip), %rdx      # 0x155ce
movl $0x4, %edi
callq 0x4447
testl %eax, %eax
movq 0x28(%rsp), %r12
movq 0x38(%rsp), %rdx
je 0xf388
leaq 0x747e(%rip), %rdi      # 0x167fc
movq %r12, %rsi
xorl %eax, %eax
callq 0x4539
movq $0x0, 0x3598(%rsp)
movq %r12, 0x1390(%rsp)
leaq 0x7461(%rip), %rdi      # 0x16804
callq 0x3050
movq %rax, %rbx
testq %rax, %rax
jne 0xf3f1
movl 0x20(%r12), %edi
leaq 0x190(%rsp), %rbx
movl $0x10, (%rbx)
xorpd %xmm0, %xmm0
leaq 0x60(%rsp), %r14
movapd %xmm0, (%r14)
movq %r14, %rsi
movq %rbx, %rdx
callq 0x3560
movl $0x64, %edx
movq %r14, %rdi
movq %rbx, %rsi
movl $0x3, %ecx
callq 0xa911
leaq 0x7418(%rip), %rsi      # 0x16810
leaq 0x1390(%rsp), %r13
movq %r13, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x13d7a
leaq 0x35e0(%rsp), %rax
movq (%rax), %rbx
leaq 0x7400(%rip), %rsi      # 0x1681f
movq %r13, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x13d7a
leaq 0x73fb(%rip), %rsi      # 0x1682e
movq %r13, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x13d7a
leaq 0x73f8(%rip), %rsi      # 0x1683f
leaq 0x7407(%rip), %rdx      # 0x16855
leaq 0x70df(%rip), %rcx      # 0x16534
movq %r13, %rdi
xorl %eax, %eax
callq 0x13d7a
leaq 0x6bad(%rip), %rbx      # 0x16013
leaq 0x73f1(%rip), %rdx      # 0x1685e
movq %r13, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x13d7a
leaq 0x73f7(%rip), %rdx      # 0x16878
movq %r13, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x13d7a
leaq 0x73fc(%rip), %rdx      # 0x16891
movq %r13, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x13d7a
movq 0x30(%rsp), %rbp
movl 0x28(%rbp), %edx
movq 0x20(%rbp), %rcx
leaq 0x73f0(%rip), %rsi      # 0x168a5
movq %r13, %rdi
xorl %eax, %eax
callq 0x13d7a
movl 0x38(%rbp), %edx
movq 0x30(%rbp), %rcx
movq 0x70(%rbp), %r9
testq %r9, %r9
leaq 0x7319(%rip), %rax      # 0x167ed
leaq 0x6535(%rip), %r8       # 0x15a10
movq %rax, 0x48(%rsp)
cmoveq %rax, %r8
movq 0x68(%rbp), %rax
movq %rax, (%rsp)
leaq 0x73c6(%rip), %rsi      # 0x168b9
movq %r13, %rdi
xorl %eax, %eax
callq 0x13d7a
xorpd %xmm0, %xmm0
leaq 0x60(%rsp), %r14
movapd %xmm0, (%r14)
movq 0xc0(%r12), %rax
movq 0x10(%rax), %rax
movq %r12, %rdi
movl $0x4, %esi
movq %r14, %rdx
callq *0x78(%rax)
leaq 0x190(%rsp), %rbx
movl $0x64, %edx
movq %r14, %rdi
movq %rbx, %rsi
movl $0x5, %ecx
callq 0xa911
leaq 0x7387(%rip), %rsi      # 0x168d0
movq %r13, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x13d7a
xorpd %xmm0, %xmm0
movapd %xmm0, (%r14)
movq 0xc0(%r12), %rax
movq 0x10(%rax), %rax
leaq 0x60(%rsp), %r14
movq %r12, %rdi
xorl %esi, %esi
movq %r14, %rdx
callq *0x78(%rax)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x50(%rbx)
movapd %xmm0, 0x40(%rbx)
movapd %xmm0, 0x30(%rbx)
movapd %xmm0, 0x20(%rbx)
movapd %xmm0, 0x10(%rbx)
movapd %xmm0, (%rbx)
movl $0x0, 0x60(%rbx)
movzwl 0x2(%r14), %eax
rolw $0x8, %ax
movzwl %ax, %ecx
leaq 0x6e43(%rip), %rdx      # 0x163f9
movl $0x64, %esi
movq %rbx, %rdi
xorl %eax, %eax
callq 0x31e0
leaq 0x7313(%rip), %rsi      # 0x168df
movq %r13, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x13d7a
movq 0x30(%rbp), %rbx
movq 0x38(%rbp), %rax
addq %rbx, %rax
movq 0x40(%rsp), %r12
movq %r12, %rcx
notq %rcx
leaq (%rcx,%rax), %r14
cmpb $0x2f, (%rcx,%rax)
jne 0xf738
movq 0x38(%rsp), %r13
movq %r13, %rdi
movl $0x2f, %esi
callq 0x31f0
subl %ebx, %r14d
leaq 0x1(%rax), %r8
testq %rax, %rax
cmoveq %r13, %r8
leaq 0x72ca(%rip), %rsi      # 0x168ee
leaq 0x1390(%rsp), %rdi
movl %r14d, %edx
movq %rbx, %rcx
xorl %eax, %eax
callq 0x13d7a
jmp 0xf75f
leaq 0x7097(%rip), %rsi      # 0x166dc
movq 0x28(%rsp), %rdi
xorl %eax, %eax
callq 0x7ff5
jmp 0xfbd2
movq 0x18(%r14), %rbx
callq 0x4aab
cvttsd2si %xmm0, %rax
movq %rax, %rdx
sarq $0x3f, %rdx
subsd 0x5c95(%rip), %xmm0     # 0x15308
cvttsd2si %xmm0, %rcx
andq %rdx, %rcx
orq %rax, %rcx
leaq 0x70fa(%rip), %rsi      # 0x1677f
movq 0x28(%rsp), %rdi
movq %rbx, %rdx
movq 0x30(%rsp), %rbx
xorl %eax, %eax
callq 0x7ff5
movq %rbp, %r14
jmp 0xfbd2
cmpl $0x0, 0x48(%rsp)
leaq 0x35e0(%rsp), %r14
jne 0xf6cc
movq 0x10(%r14), %rsi
movq 0x58(%r14), %rdx
movq 0x20(%rsp), %rdi
xorl %ecx, %ecx
callq 0x13321
testl %eax, %eax
je 0xf9e9
movq 0x30(%rsp), %rax
leaq 0x20(%rax), %rbx
leaq 0x73a1(%rip), %rsi      # 0x16a7d
movq %rbx, %rdi
callq 0x6b4a
testl %eax, %eax
je 0xf9e9
leaq 0x631f(%rip), %rsi      # 0x15a12
movq %rbx, %rdi
callq 0x6b4a
testl %eax, %eax
je 0xf9e9
movq 0x28(%rsp), %rdi
movl $0x194, %esi            # imm = 0x194
xorl %edx, %edx
callq 0xcb3c
jmp 0xfbc8
leaq 0x100(%rsp), %rdi
leaq 0x1390(%rsp), %rsi
movl $0x90, %edx
callq 0x3380
jmp 0xf1b0
subl %ebx, %r14d
incl %r14d
leaq 0x71bd(%rip), %rsi      # 0x16902
leaq 0x1390(%rsp), %rdi
movl %r14d, %edx
movq %rbx, %rcx
xorl %eax, %eax
callq 0x13d7a
movq 0x38(%rsp), %r13
leaq 0x71ad(%rip), %rsi      # 0x16913
leaq 0x1390(%rsp), %rdi
movq %r13, %rdx
xorl %eax, %eax
callq 0x13d7a
testq %r12, %r12
je 0xf7b3
leaq 0x71a2(%rip), %rsi      # 0x16926
leaq 0x1390(%rsp), %rbx
movq %rbx, %rdi
movl %r12d, %edx
movq %r15, %rcx
xorl %eax, %eax
callq 0x13d7a
leaq 0x7192(%rip), %rsi      # 0x16935
movq %rbx, %rdi
movl %r12d, %edx
movq %r15, %rcx
xorl %eax, %eax
callq 0x13d7a
leaq 0x7190(%rip), %rsi      # 0x1694a
leaq 0x1390(%rsp), %rdi
xorl %eax, %eax
callq 0x13d7a
leaq 0x7184(%rip), %rsi      # 0x16954
movq 0x30(%rsp), %rbx
movq %rbx, %rdi
callq 0xb896
testq %rax, %rax
je 0xf7fe
movl 0x8(%rax), %edx
movq (%rax), %rcx
leaq 0x7172(%rip), %rsi      # 0x16961
leaq 0x1390(%rsp), %rdi
xorl %eax, %eax
callq 0x13d7a
movq 0x70(%rbx), %rdx
testq %rdx, %rdx
je 0xf821
movq 0x68(%rbx), %rcx
leaq 0x7161(%rip), %rsi      # 0x16973
leaq 0x1390(%rsp), %rdi
xorl %eax, %eax
callq 0x13d7a
leaq 0x6c3e(%rip), %rsi      # 0x16466
movq %rbx, %rdi
callq 0xb896
testq %rax, %rax
je 0xf851
movl 0x8(%rax), %edx
movq (%rax), %rcx
leaq 0x7143(%rip), %rsi      # 0x16985
leaq 0x1390(%rsp), %rdi
xorl %eax, %eax
callq 0x13d7a
leaq 0x7171(%rip), %rsi      # 0x169c9
leaq 0x1390(%rsp), %rbx
movq %rbx, %rdi
callq 0x13e63
leaq 0x712a(%rip), %rsi      # 0x16999
movq %rbx, %rdi
callq 0x13e63
leaq 0x711f(%rip), %rsi      # 0x1699d
movq %rbx, %rdi
callq 0x13e63
leaq 0x7115(%rip), %rsi      # 0x169a2
movq %rbx, %rdi
callq 0x13e63
leaq 0x710d(%rip), %rsi      # 0x169a9
movq %rbx, %rdi
callq 0x13e63
leaq 0x7106(%rip), %rsi      # 0x169b1
movq %rbx, %rdi
callq 0x13e63
leaq 0x7104(%rip), %rsi      # 0x169be
movq %rbx, %rdi
callq 0x13e63
movq 0x30(%rsp), %rax
movq 0x80(%rax), %rdx
testq %rdx, %rdx
je 0xf968
movq 0x30(%rsp), %rax
leaq 0x78(%rax), %r12
leaq 0x2f8(%rax), %rbp
leaq 0x70e0(%rip), %r13      # 0x169ce
movq %r12, %rax
xorl %r14d, %r14d
movq (%rax), %rcx
movq %r14, %rax
shlq $0x4, %rax
movl 0x8(%rbp,%rax), %r8d
movq (%rbp,%rax), %r9
leaq 0x1390(%rsp), %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x13d7a
movq %rax, %rbx
movzbl (%rbx), %r15d
cmpl $0x2d, %r15d
je 0xf934
testl %r15d, %r15d
je 0xf950
cmpl $0x3d, %r15d
jne 0xf93a
jmp 0xf950
movb $0x5f, (%rbx)
movb $0x5f, %r15b
callq 0x3030
movq (%rax), %rax
movzbl %r15b, %ecx
movb (%rax,%rcx,4), %al
movb %al, (%rbx)
incq %rbx
jmp 0xf91d
incq %r14
movq %r14, %rcx
shlq $0x4, %rcx
leaq (%r12,%rcx), %rax
movq 0x8(%r12,%rcx), %rdx
testq %rdx, %rdx
jne 0xf8f4
movslq 0x359c(%rsp), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x359c(%rsp)
movq $0x0, 0x3398(%rsp,%rax,8)
movslq 0x3598(%rsp), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x3598(%rsp)
movb $0x0, 0x1398(%rsp,%rax)
movq 0x38(%rsp), %r15
movq %r15, %rdi
movl $0x2f, %esi
callq 0x31f0
testq %rax, %rax
je 0xfa44
movq %rax, %rbx
movl %ebx, %ecx
subl %r15d, %ecx
leaq 0x629f(%rip), %rdx      # 0x15c69
leaq 0x390(%rsp), %rdi
movl $0x1000, %esi           # imm = 0x1000
movq %r15, %r8
xorl %eax, %eax
callq 0x31e0
incq %rbx
movq %rbx, %r15
jmp 0xfa4e
movq 0x30(%rsp), %rbx
leaq 0x20(%rbx), %rdi
leaq 0x6d1e(%rip), %rsi      # 0x16717
callq 0x6b4a
testl %eax, %eax
je 0xfc2d
testl %r13d, %r13d
je 0xfc57
cmpq $0x0, 0x50(%rsp)
jne 0xfc57
movq 0x28(%r14), %rdi
leaq 0x6500(%rip), %rsi      # 0x15f26
callq 0x3310
testl %eax, %eax
je 0xfca0
movq 0x28(%rsp), %rdi
movl $0x193, %esi            # imm = 0x193
xorl %edx, %edx
jmp 0xfc7c
movw $0x2e, 0x390(%rsp)
movq 0x28(%rsp), %rbx
leaq 0x35e0(%rsp), %r14
leaq 0x58(%rsp), %rdi
movl $0x1, %esi
callq 0xa15c
testl %eax, %eax
je 0xfbc1
leaq 0x68(%rsp), %rbx
movq %rbx, %rdi
callq 0x3350
movq $0x1, -0x8(%rbx)
movl $0x0, 0x80(%rbx)
leaq 0x60(%rsp), %rsi
movl $0x11, %edi
xorl %edx, %edx
callq 0x30f0
movq 0x68(%r14), %r14
movl 0x5c(%rsp), %r13d
callq 0x3630
testl %eax, %eax
je 0xfcdc
movq 0x30(%rsp), %rax
movq 0x18(%rax), %r12
subq 0x8(%rax), %r12
movq 0x28(%rsp), %rbp
addq 0x48(%rbp), %r12
movq 0x18(%rbp), %rdi
movl 0x58(%rsp), %esi
xorpd %xmm0, %xmm0
movapd %xmm0, 0x1a0(%rsp)
movapd %xmm0, 0x190(%rsp)
movapd 0x190(%rsp), %xmm0
movaps 0x1a0(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movupd %xmm0, (%rsp)
leaq 0x4089(%rip), %rdx      # 0x13b97
callq 0x9691
movq %rax, %rbx
movq 0x88(%rbp), %rax
testq %rax, %rax
jne 0xfb46
movl $0x1, %edi
movl $0x58, %esi
callq 0x3300
movq %rax, 0x88(%rbp)
leaq 0x35bf(%rip), %rcx      # 0x130fe
movq %rcx, 0x90(%rbp)
movq %rbx, 0x20(%rax)
movq %rbp, 0xa0(%rbx)
orb $0x10, 0xca(%rbp)
leaq 0x40(%rbp), %r14
testq %r12, %r12
setne %al
movq 0x48(%rbp), %rsi
cmpq %rsi, %r12
setb %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0xfbaf
movq 0x30(%rsp), %rax
movq 0x10(%rax), %r15
callq 0x4aab
cvttsd2si %xmm0, %rax
movq %rax, 0x70(%rbx)
movl 0xc8(%rbx), %eax
andl $0x2, %eax
movq 0xc0(%rbx), %rcx
movq 0x10(%rcx), %rcx
movslq %r12d, %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq *0x48(%rcx,%rax,4)
movq 0x48(%rbp), %rsi
movq %r14, %rdi
callq 0x6af6
movl %r13d, %edi
callq 0x3280
jmp 0xfbc8
orb $0x8, 0xc9(%rbx)
movq 0x30(%rsp), %rbx
movq 0x20(%rsp), %r14
movq 0x50(%rsp), %rdi
callq 0x3060
movq %r14, %rdi
callq 0x3060
leaq 0x40(%rbx), %rdi
leaq 0x6c99(%rip), %rsi      # 0x16888
callq 0x6b4a
testl %eax, %eax
jne 0xfc1b
leaq 0x60c4(%rip), %rsi      # 0x15cc3
movq %rbx, %rdi
callq 0xb896
testq %rax, %rax
je 0xfc1b
leaq 0x60bb(%rip), %rsi      # 0x15cce
movq %rax, %rdi
callq 0x6b4a
addq $0x35a8, %rsp           # imm = 0x35A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x63df(%rip), %rsi      # 0x16013
leaq 0x6e48(%rip), %rdx      # 0x16a83
movq 0x28(%rsp), %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x7ff5
orb $0x4, 0xc9(%r14)
jmp 0xfbcd
leaq 0x100(%rsp), %rsi
movq %rbx, %rdi
callq 0x1379e
testl %eax, %eax
je 0xfc86
leaq 0x6aad(%rip), %rdx      # 0x1671f
movq 0x28(%rsp), %rdi
movl $0x130, %esi            # imm = 0x130
callq 0xcb3c
jmp 0xfbcd
movq 0x28(%rsp), %rdi
movq 0x38(%rsp), %rsi
movq %rbx, %rdx
movq %r14, %rcx
callq 0x13a10
jmp 0xfbcd
movq 0x28(%rsp), %rdi
movq 0x20(%rsp), %rsi
movq %rbx, %rdx
movq %r14, %rcx
movq %rsi, %r14
callq 0x133cd
jmp 0xfbd2
leaq 0x690f(%rip), %rdi      # 0x165d3
leaq 0x5903(%rip), %rsi      # 0x155ce
leaq 0x6920(%rip), %rcx      # 0x165f2
movl $0x1e73, %edx           # imm = 0x1E73
callq 0x3220
leaq 0x3398(%rsp), %rbx
leaq 0x390(%rsp), %rdi
callq 0x3190
movl %r13d, %edi
xorl %esi, %esi
callq 0x31a0
movl %r13d, %edi
movl $0x1, %esi
callq 0x31a0
movl %r13d, %edi
callq 0x3280
movl $0x11, %edi
xorl %esi, %esi
callq 0x3390
testq %r14, %r14
jne 0xfd3c
movq %r15, %rdi
movq %r15, %rsi
xorl %edx, %edx
movq %rbx, %rcx
xorl %eax, %eax
callq 0x35d0
leaq 0x6ab3(%rip), %r14      # 0x167ed
jmp 0xfd5d
movq %r14, %rdi
movq %r14, %rsi
movq %r15, %rdx
xorl %ecx, %ecx
movq %rbx, %r8
xorl %eax, %eax
callq 0x35d0
leaq 0x78d2(%rip), %rax      # 0x1762a
movq %rax, 0x48(%rsp)
callq 0x30a0
movl (%rax), %edi
callq 0x3600
movq %rax, (%rsp)
leaq 0x6c6f(%rip), %rdx      # 0x169e3
leaq 0x190(%rsp), %rbx
movl $0x1f4, %esi            # imm = 0x1F4
movq %rbx, %rdi
movq %r14, %rcx
movq 0x48(%rsp), %r8
movq %r15, %r9
xorl %eax, %eax
callq 0x31e0
movq %rbx, %rdi
callq 0x3180
movl $0x1, %edi
movq %rbx, %rsi
movq %rax, %rdx
xorl %ecx, %ecx
callq 0x31c0
movl $0x1, %edi
callq 0x30d0