// File: /workspace/github_c_makefile_star2_O1/Carton32[P]quectel-CM/mbim-cm.c
// Function: mbim_init
static int mbim_init(PROFILE_T *profile) {
    int retval;
    int t = 0;

    if (profile->proxy[0] && !strcmp(profile->proxy, LIBMBIM_PROXY)) {
        retval = mbim_proxy_configure(profile->qmichannel);
        if (retval) goto exit;
    }

    while (t++ < 10) {
        retval = mbim_open_device(4096);
        if (retval != ETIMEDOUT)
            break;
    }
    if (retval) goto exit;
    retval = mbim_device_caps_query(profile);
    if (retval) goto exit;
    mbim_update_state();
    retval = mbim_device_services_query();
    if (retval) goto exit;
    mbim_update_state();
    retval = mbim_set_radio_state(MBIMRadioOn);
    if (retval) goto exit;
    mbim_update_state();

    if (qmi_over_mbim_support) {
        if (!socketpair( AF_LOCAL, SOCK_STREAM, 0, qmi_over_mbim_sk)) {
            qmidev_send = qmi_over_mbim_qmidev_send;
#ifdef CONFIG_CELLINFO //by now, only this function need QMI OVER MBIM
            qmi_over_mbim_nas = qmi_over_mbim_get_client_id(QMUX_TYPE_NAS);
#endif
        }
    }

    return 0;

exit:
    return retval;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdi, 0x18(%rsp)
cmpb $0x0, 0x28(%rdi)
je 0x116b0
movq 0x18(%rsp), %rax
leaq 0x28(%rax), %rdi
leaq 0xce84(%rip), %rsi      # 0x1e527
callq 0x52a0
testl %eax, %eax
je 0x11993
movl $0xa, %r13d
leaq 0x10b48(%rip), %r14     # 0x22205
leaq 0x10b4c(%rip), %r12     # 0x22210
movq $0x0, 0x20(%rsp)
movq 0x188ec(%rip), %rax     # 0x29fc0
movq (%rax), %rbx
callq 0xeb2f
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
movq %r12, %rcx
xorl %eax, %eax
callq 0x52c0
leaq 0x195b2(%rip), %rax     # 0x2aca8
movq (%rax), %rbx
testq %rbx, %rbx
je 0x11716
callq 0xeb2f
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
movq %r12, %rcx
xorl %eax, %eax
callq 0x52c0
movl $0x10, %edi
callq 0x5360
testq %rax, %rax
je 0x11751
movq %rax, %rbp
movabsq $0x1000000001, %rax     # imm = 0x1000000001
movq %rax, (%rbp)
movl 0x18bcc(%rip), %eax     # 0x2a308
leal 0x1(%rax), %ecx
movl %ecx, 0x18bc3(%rip)     # 0x2a308
movl %eax, 0x8(%rbp)
movl $0x1000, 0xc(%rbp)      # imm = 0x1000
jmp 0x11753
xorl %ebp, %ebp
movq %rbp, %rdi
leaq 0x20(%rsp), %rsi
movl $0xbb8, %edx            # imm = 0xBB8
callq 0x10d09
movl %eax, %ebx
movq 0x20(%rsp), %rdi
xorl %r15d, %r15d
testq %rdi, %rdi
je 0x11793
movl (%rdi), %eax
movl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addl %ecx, %eax
cmpl $0x3, %eax
ja 0x11793
movl %eax, %eax
leaq 0x1107d(%rip), %rcx     # 0x22808
movq (%rcx,%rax,8), %rax
movl (%rdi,%rax), %r15d
movl %ebx, %eax
orl %r15d, %eax
sete %al
testq %rdi, %rdi
setne %r14b
andb %al, %r14b
je 0x117ac
jmp 0x1186e
testq %rdi, %rdi
je 0x117c3
xorl %esi, %esi
cmpl $0x0, 0x1a576(%rip)     # 0x2bd30
sete %sil
callq 0x10e8f
testq %rbp, %rbp
je 0x117d0
movq %rbp, %rdi
callq 0x5040
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x117e8
callq 0x5040
movq $0x0, 0x20(%rsp)
movq 0x187d1(%rip), %rax     # 0x29fc0
movq (%rax), %rbp
callq 0xeb2f
movl %r15d, (%rsp)
movq %rbp, %rdi
leaq 0xfb58(%rip), %rsi      # 0x2135d
movq %rax, %rdx
leaq 0x10a01(%rip), %r12     # 0x22210
movq %r12, %rcx
movl $0x69f, %r8d            # imm = 0x69F
movl %ebx, %r9d
xorl %eax, %eax
callq 0x52c0
leaq 0x1947f(%rip), %rax     # 0x2aca8
movq (%rax), %rbp
testq %rbp, %rbp
je 0x1185a
callq 0xeb2f
movl %r15d, (%rsp)
movq %rbp, %rdi
leaq 0xfb19(%rip), %rsi      # 0x2135d
movq %rax, %rdx
movq %r12, %rcx
movl $0x69f, %r8d            # imm = 0x69F
movl %ebx, %r9d
xorl %eax, %eax
callq 0x52c0
testl %r15d, %r15d
movl $0x22b8, %eax           # imm = 0x22B8
cmovel %eax, %r15d
testl %ebx, %ebx
cmovnel %ebx, %r15d
xorl %ebp, %ebp
testb %r14b, %r14b
je 0x118a1
movq 0x20(%rsp), %rax
movl 0xc(%rax), %r15d
testq %rbp, %rbp
je 0x11889
movq %rbp, %rdi
callq 0x5040
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x118a1
callq 0x5040
movq $0x0, 0x20(%rsp)
cmpl $0x6e, %r15d
jne 0x118bd
decl %r13d
leaq 0x10954(%rip), %r14     # 0x22205
jne 0x116c4
movl $0x6e, %r15d
testl %r15d, %r15d
jne 0x12399
movq $0x0, 0x10(%rsp)
movq 0x186ea(%rip), %rax     # 0x29fc0
movq (%rax), %rbx
callq 0xeb2f
leaq 0x10920(%rip), %rsi     # 0x22205
leaq 0x10935(%rip), %rcx     # 0x22221
xorl %r12d, %r12d
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x52c0
leaq 0x193a5(%rip), %rax     # 0x2aca8
movq (%rax), %rbx
testq %rbx, %rbx
je 0x1192b
callq 0xeb2f
leaq 0x108ee(%rip), %rsi     # 0x22205
leaq 0x10903(%rip), %rcx     # 0x22221
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x52c0
movl $0x1, %edi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x10b66
movq %rax, %r14
leaq 0x10(%rsp), %rbx
movq %rax, %rdi
movq %rbx, %rsi
movl $0x7530, %edx           # imm = 0x7530
callq 0x10d09
movl %eax, %ebp
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x1197a
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
addl (%rdi), %eax
cmpl $0x3, %eax
ja 0x1197a
movl %eax, %eax
leaq 0x10e96(%rip), %rcx     # 0x22808
movq (%rcx,%rax,8), %rax
movl (%rdi,%rax), %r12d
movl %ebp, %eax
orl %r12d, %eax
sete %al
testq %rdi, %rdi
setne %r13b
andb %al, %r13b
je 0x119b4
jmp 0x11a79
movq 0x18(%rsp), %rax
leaq 0x8a(%rax), %rdi
callq 0x1097c
movl %eax, %r15d
testl %eax, %eax
jne 0x12399
jmp 0x116b0
testq %rdi, %rdi
je 0x119cb
xorl %esi, %esi
cmpl $0x0, 0x1a36e(%rip)     # 0x2bd30
sete %sil
callq 0x10e8f
testq %r14, %r14
je 0x119d8
movq %r14, %rdi
callq 0x5040
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x119f0
callq 0x5040
movq $0x0, 0x10(%rsp)
movq 0x185c9(%rip), %rax     # 0x29fc0
movq (%rax), %rbx
callq 0xeb2f
movl %r12d, (%rsp)
leaq 0xf953(%rip), %rsi      # 0x2135d
leaq 0x10810(%rip), %rcx     # 0x22221
movq %rbx, %rdi
movq %rax, %rdx
movl $0x721, %r8d            # imm = 0x721
movl %ebp, %r9d
xorl %eax, %eax
callq 0x52c0
leaq 0x1927a(%rip), %rax     # 0x2aca8
movq (%rax), %rbx
testq %rbx, %rbx
je 0x11a63
callq 0xeb2f
movl %r12d, (%rsp)
leaq 0xf917(%rip), %rsi      # 0x2135d
leaq 0x107d4(%rip), %rcx     # 0x22221
movq %rbx, %rdi
movq %rax, %rdx
movl $0x721, %r8d            # imm = 0x721
movl %ebp, %r9d
xorl %eax, %eax
callq 0x52c0
testl %r12d, %r12d
movl $0x22b8, %r15d          # imm = 0x22B8
cmovnel %r12d, %r15d
testl %ebp, %ebp
cmovnel %ebp, %r15d
xorl %r14d, %r14d
testb %r13b, %r13b
je 0x11cbc
movq 0x10(%rsp), %r13
cmpl $0x0, 0x2c(%r13)
je 0x11c94
leaq 0x30(%r13), %r12
movl 0x58(%r13), %eax
testq %rax, %rax
je 0x11b37
movl 0x5c(%r13), %edx
testl %edx, %edx
je 0x11b37
movl %edx, %esi
shrl %esi
cmpl $0x1f, %esi
movl $0x1f, %ecx
cmovbl %esi, %ecx
cmpl $0x1, %edx
jne 0x11ac7
xorl %edx, %edx
jmp 0x11add
addq %r12, %rax
xorl %edx, %edx
movb (%rax,%rdx,2), %sil
movb %sil, 0x20(%rsp,%rdx)
incq %rdx
cmpq %rdx, %rcx
jne 0x11acc
movb $0x0, 0x20(%rsp,%rdx)
movq 0x184d7(%rip), %rax     # 0x29fc0
movq (%rax), %rbx
callq 0xeb2f
leaq 0x10740(%rip), %rsi     # 0x22238
leaq 0x20(%rsp), %rcx
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x52c0
leaq 0x19197(%rip), %rax     # 0x2aca8
movq (%rax), %rbx
testq %rbx, %rbx
je 0x11b37
callq 0xeb2f
leaq 0x10713(%rip), %rsi     # 0x22238
leaq 0x20(%rsp), %rcx
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x52c0
movl 0x60(%r13), %eax
testq %rax, %rax
je 0x11bf4
movl 0x64(%r13), %edx
testl %edx, %edx
je 0x11bf4
movl %edx, %esi
shrl %esi
cmpl $0x1f, %esi
movl $0x1f, %ecx
cmovbl %esi, %ecx
cmpl $0x1, %edx
jne 0x11b68
xorl %edx, %edx
jmp 0x11b7e
addq %r12, %rax
xorl %edx, %edx
movb (%rax,%rdx,2), %sil
movb %sil, 0x20(%rsp,%rdx)
incq %rdx
cmpq %rdx, %rcx
jne 0x11b6d
movb $0x0, 0x20(%rsp,%rdx)
movq 0x18(%rsp), %rdi
addq $0x216, %rdi            # imm = 0x216
leaq 0x20(%rsp), %rbx
movl $0x40, %edx
movq %rbx, %rsi
callq 0x5080
movq 0x18418(%rip), %rax     # 0x29fc0
movq (%rax), %r15
callq 0xeb2f
leaq 0x10698(%rip), %rsi     # 0x2224f
movq %r15, %rdi
movq %rax, %rdx
movq %rbx, %rcx
xorl %eax, %eax
callq 0x52c0
leaq 0x190da(%rip), %rax     # 0x2aca8
movq (%rax), %rbx
testq %rbx, %rbx
je 0x11bf4
callq 0xeb2f
leaq 0x1066d(%rip), %rsi     # 0x2224f
leaq 0x20(%rsp), %rcx
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x52c0
movl 0x68(%r13), %ecx
testq %rcx, %rcx
je 0x11c94
movl 0x6c(%r13), %edx
testl %edx, %edx
je 0x11c94
movl %edx, %esi
shrl %esi
cmpl $0x1f, %esi
movl $0x1f, %eax
cmovbl %esi, %eax
cmpl $0x1, %edx
jne 0x11c25
xorl %ecx, %ecx
jmp 0x11c3a
addq %rcx, %r12
xorl %ecx, %ecx
movb (%r12,%rcx,2), %dl
movb %dl, 0x20(%rsp,%rcx)
incq %rcx
cmpq %rcx, %rax
jne 0x11c2a
movb $0x0, 0x20(%rsp,%rcx)
movq 0x1837a(%rip), %rax     # 0x29fc0
movq (%rax), %rbx
callq 0xeb2f
leaq 0x10611(%rip), %rsi     # 0x22266
leaq 0x20(%rsp), %rcx
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x52c0
leaq 0x1903a(%rip), %rax     # 0x2aca8
movq (%rax), %rbx
testq %rbx, %rbx
je 0x11c94
callq 0xeb2f
leaq 0x105e4(%rip), %rsi     # 0x22266
leaq 0x20(%rsp), %rcx
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x52c0
testq %r14, %r14
je 0x11ca1
movq %r14, %rdi
callq 0x5040
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x11cb9
callq 0x5040
movq $0x0, 0x10(%rsp)
movl %ebp, %r15d
testl %r15d, %r15d
jne 0x12399
callq 0x15c62
movq $0x0, 0x10(%rsp)
movq 0x182e6(%rip), %rax     # 0x29fc0
movq (%rax), %rbx
callq 0xeb2f
leaq 0x1051c(%rip), %rsi     # 0x22205
leaq 0x10613(%rip), %rcx     # 0x22303
xorl %r12d, %r12d
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x52c0
leaq 0x18fa1(%rip), %rax     # 0x2aca8
movq (%rax), %rbx
testq %rbx, %rbx
je 0x11d2f
callq 0xeb2f
leaq 0x104ea(%rip), %rsi     # 0x22205
leaq 0x105e1(%rip), %rcx     # 0x22303
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x52c0
movl $0x10, %edi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x10b66
movq %rax, %r14
leaq 0x10(%rsp), %r15
movq %rax, %rdi
movq %r15, %rsi
movl $0x7530, %edx           # imm = 0x7530
callq 0x10d09
movl %eax, %r13d
movq (%r15), %rdi
testq %rdi, %rdi
je 0x11d7f
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
addl (%rdi), %eax
cmpl $0x3, %eax
ja 0x11d7f
movl %eax, %eax
leaq 0x10a91(%rip), %rcx     # 0x22808
movq (%rcx,%rax,8), %rax
movl (%rdi,%rax), %r12d
movl %r13d, %eax
orl %r12d, %eax
sete %al
testq %rdi, %rdi
setne %bpl
andb %al, %bpl
je 0x11d99
jmp 0x11e5f
testq %rdi, %rdi
je 0x11db0
xorl %esi, %esi
cmpl $0x0, 0x19f89(%rip)     # 0x2bd30
sete %sil
callq 0x10e8f
testq %r14, %r14
je 0x11dbd
movq %r14, %rdi
callq 0x5040
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x11dd5
callq 0x5040
movq $0x0, 0x10(%rsp)
movq 0x181e4(%rip), %rax     # 0x29fc0
movq (%rax), %r14
callq 0xeb2f
movl %r12d, (%rsp)
leaq 0xf56e(%rip), %rsi      # 0x2135d
leaq 0x1050d(%rip), %rcx     # 0x22303
movq %r14, %rdi
movq %rax, %rdx
movl $0x6f6, %r8d            # imm = 0x6F6
movl %r13d, %r9d
xorl %eax, %eax
callq 0x52c0
leaq 0x18e95(%rip), %rax     # 0x2aca8
movq (%rax), %r14
testq %r14, %r14
je 0x11e48
callq 0xeb2f
movl %r12d, (%rsp)
leaq 0xf532(%rip), %rsi      # 0x2135d
leaq 0x104d1(%rip), %rcx     # 0x22303
movq %r14, %rdi
movq %rax, %rdx
movl $0x6f6, %r8d            # imm = 0x6F6
movl %r13d, %r9d
xorl %eax, %eax
callq 0x52c0
testl %r12d, %r12d
movl $0x22b8, %r15d          # imm = 0x22B8
cmovnel %r12d, %r15d
testl %r13d, %r13d
cmovnel %r13d, %r15d
xorl %r14d, %r14d
testb %bpl, %bpl
je 0x120ff
movq 0x10(%rsp), %rdx
movb $0x1, %bpl
cmpl $0x0, 0x2c(%rdx)
je 0x11f40
cmpl $0x0, 0x30(%rdx)
je 0x11f40
movq %r14, 0x48(%rsp)
movl %r13d, 0x44(%rsp)
leaq 0x30(%rdx), %rsi
xorl %r13d, %r13d
movl $0x1, %r15d
xorl %r12d, %r12d
movq %rdx, 0x18(%rsp)
movl 0x38(%rdx,%r13,8), %ebp
movq %rsi, %r14
addq %rsi, %rbp
movq %rbp, %rdi
callq 0x15b55
leaq 0xf5e5(%rip), %rdi      # 0x214a2
leaq 0x19efc(%rip), %rbx     # 0x2bdc0
movq %rbx, %rsi
callq 0x5050
testl %eax, %eax
je 0x11ef4
movq %rbp, %rdi
callq 0x15b55
leaq 0xfda1(%rip), %rdi      # 0x21c80
movq %rbx, %rsi
callq 0x5050
testl %eax, %eax
jne 0x11f19
movb $0x1, 0x19ffe(%rip)     # 0x2bef0
jmp 0x11f19
movl 0x18(%rbp), %eax
testq %rax, %rax
je 0x11f19
xorl %ecx, %ecx
movq 0x18(%rsp), %rdx
movq %r14, %rsi
cmpl $0xf, 0x1c(%rbp,%rcx,4)
cmovel %r15d, %r12d
incq %rcx
cmpq %rcx, %rax
jne 0x11f06
jmp 0x11f21
movq 0x18(%rsp), %rdx
movq %r14, %rsi
incq %r13
movl (%rsi), %eax
cmpq %rax, %r13
jb 0x11ea3
testl %r12d, %r12d
sete %bpl
movl 0x44(%rsp), %r13d
movq 0x48(%rsp), %r14
testq %r14, %r14
je 0x11f4d
movq %r14, %rdi
callq 0x5040
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x11f65
callq 0x5040
movq $0x0, 0x10(%rsp)
testb %bpl, %bpl
je 0x11f72
movl %r13d, %r15d
jmp 0x120ff
movq $0x0, 0x20(%rsp)
leaq 0x54(%rsp), %rdx
movw $0x1, 0x1(%rdx)
movb $0x0, (%rdx)
movb $0x2, 0x3(%rdx)
xorl %r12d, %r12d
movl $0xf, %edi
xorl %esi, %esi
movl $0x4, %ecx
callq 0x10b66
testq %rax, %rax
je 0x11fc3
movq %rax, %r14
leaq 0xf4f2(%rip), %rdi      # 0x214a2
callq 0x10c1b
movups 0x19d78(%rip), %xmm0    # 0x2bd34
movups %xmm0, 0x14(%r14)
jmp 0x11fc6
xorl %r14d, %r14d
leaq 0x20(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
movl $0x7530, %edx           # imm = 0x7530
callq 0x10d09
movl %eax, %ebp
movq (%r15), %rdi
movl %r13d, %ebx
testq %rdi, %rdi
je 0x12005
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
addl (%rdi), %eax
cmpl $0x3, %eax
ja 0x12005
movl %eax, %eax
leaq 0x1080b(%rip), %rcx     # 0x22808
movq (%rcx,%rax,8), %rax
movl (%rdi,%rax), %r12d
movl %ebp, %eax
orl %r12d, %eax
sete %al
testq %rdi, %rdi
setne %r13b
andb %al, %r13b
jne 0x120d2
testq %rdi, %rdi
je 0x12034
xorl %esi, %esi
cmpl $0x0, 0x19d05(%rip)     # 0x2bd30
sete %sil
callq 0x10e8f
testq %r14, %r14
je 0x12041
movq %r14, %rdi
callq 0x5040
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x12059
callq 0x5040
movq $0x0, 0x20(%rsp)
movq 0x17f60(%rip), %rax     # 0x29fc0
movq (%rax), %r15
callq 0xeb2f
movl %r12d, (%rsp)
leaq 0xf2ea(%rip), %rsi      # 0x2135d
leaq 0x102a4(%rip), %rcx     # 0x2231e
xorl %r14d, %r14d
movq %r15, %rdi
movq %rax, %rdx
movl $0x6e1, %r8d            # imm = 0x6E1
movl %ebp, %r9d
xorl %eax, %eax
callq 0x52c0
leaq 0x18c0e(%rip), %rax     # 0x2aca8
movq (%rax), %r15
testq %r15, %r15
je 0x120d2
callq 0xeb2f
movl %r12d, (%rsp)
leaq 0xf2ab(%rip), %rsi      # 0x2135d
leaq 0x10265(%rip), %rcx     # 0x2231e
xorl %r14d, %r14d
movq %r15, %rdi
movq %rax, %rdx
movl $0x6e1, %r8d            # imm = 0x6E1
movl %ebp, %r9d
xorl %eax, %eax
callq 0x52c0
testb %r13b, %r13b
movl %ebx, %r15d
je 0x120ff
testq %r14, %r14
je 0x120e7
movq %r14, %rdi
callq 0x5040
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x120ff
callq 0x5040
movq $0x0, 0x20(%rsp)
testl %r15d, %r15d
jne 0x12399
callq 0x15c62
movq $0x0, 0x20(%rsp)
movl $0x1, 0x10(%rsp)
movq 0x17e9b(%rip), %rax     # 0x29fc0
movq (%rax), %rbx
callq 0xeb2f
leaq 0x10200(%rip), %rsi     # 0x22334
leaq 0x10208(%rip), %rcx     # 0x22343
xorl %ebp, %ebp
movq %rbx, %rdi
movq %rax, %rdx
movl $0x1, %r8d
xorl %eax, %eax
callq 0x52c0
leaq 0x18b51(%rip), %rax     # 0x2aca8
movq (%rax), %rbx
testq %rbx, %rbx
je 0x12185
callq 0xeb2f
leaq 0x101c9(%rip), %rsi     # 0x22334
leaq 0x101d1(%rip), %rcx     # 0x22343
movq %rbx, %rdi
movq %rax, %rdx
movl $0x1, %r8d
xorl %eax, %eax
callq 0x52c0
leaq 0x10(%rsp), %rdx
movl $0x3, %edi
movl $0x1, %esi
movl $0x4, %ecx
callq 0x10b66
movq %rax, %r14
leaq 0x20(%rsp), %r15
movq %rax, %rdi
movq %r15, %rsi
movl $0x7530, %edx           # imm = 0x7530
callq 0x10d09
movl %eax, %ebx
movq (%r15), %rdi
testq %rdi, %rdi
je 0x121dc
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
addl (%rdi), %eax
cmpl $0x3, %eax
ja 0x121dc
movl %eax, %eax
leaq 0x10633(%rip), %rcx     # 0x22808
movq (%rcx,%rax,8), %rax
movl (%rdi,%rax), %ebp
movl %ebx, %eax
orl %ebp, %eax
sete %al
testq %rdi, %rdi
setne %r12b
andb %al, %r12b
je 0x121f4
jmp 0x122b6
testq %rdi, %rdi
je 0x1220b
xorl %esi, %esi
cmpl $0x0, 0x19b2e(%rip)     # 0x2bd30
sete %sil
callq 0x10e8f
testq %r14, %r14
je 0x12218
movq %r14, %rdi
callq 0x5040
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x12230
callq 0x5040
movq $0x0, 0x20(%rsp)
movq 0x17d89(%rip), %rax     # 0x29fc0
movq (%rax), %r14
callq 0xeb2f
movl %ebp, (%rsp)
leaq 0xf114(%rip), %rsi      # 0x2135d
leaq 0x100f3(%rip), %rcx     # 0x22343
movq %r14, %rdi
movq %rax, %rdx
movl $0x756, %r8d            # imm = 0x756
movl %ebx, %r9d
xorl %eax, %eax
callq 0x52c0
leaq 0x18a3b(%rip), %rax     # 0x2aca8
movq (%rax), %r14
testq %r14, %r14
je 0x122a1
callq 0xeb2f
movl %ebp, (%rsp)
leaq 0xf0d9(%rip), %rsi      # 0x2135d
leaq 0x100b8(%rip), %rcx     # 0x22343
movq %r14, %rdi
movq %rax, %rdx
movl $0x756, %r8d            # imm = 0x756
movl %ebx, %r9d
xorl %eax, %eax
callq 0x52c0
testl %ebp, %ebp
movl $0x22b8, %r15d          # imm = 0x22B8
cmovnel %ebp, %r15d
testl %ebx, %ebx
cmovnel %ebx, %r15d
xorl %r14d, %r14d
testb %r12b, %r12b
je 0x12353
movq 0x20(%rsp), %r12
cmpl $0x0, 0x2c(%r12)
je 0x1232b
movq 0x17ced(%rip), %rax     # 0x29fc0
movq (%rax), %r15
callq 0xeb2f
movl 0x30(%r12), %ecx
movl 0x34(%r12), %r8d
leaq 0x1006c(%rip), %rsi     # 0x22358
movq %r15, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x52c0
leaq 0x189a8(%rip), %rax     # 0x2aca8
movq (%rax), %r15
testq %r15, %r15
je 0x1232b
callq 0xeb2f
movl 0x30(%r12), %ecx
movl 0x34(%r12), %r8d
leaq 0x1003a(%rip), %rsi     # 0x22358
movq %r15, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x52c0
testq %r14, %r14
je 0x12338
movq %r14, %rdi
callq 0x5040
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x12350
callq 0x5040
movq $0x0, 0x20(%rsp)
movl %ebx, %r15d
testl %r15d, %r15d
jne 0x12399
callq 0x15c62
xorl %r15d, %r15d
cmpb $0x1, 0x19b89(%rip)     # 0x2bef0
jne 0x12399
leaq 0x17f90(%rip), %rcx     # 0x2a300
xorl %r15d, %r15d
movl $0x1, %edi
movl $0x1, %esi
xorl %edx, %edx
callq 0x5300
testl %eax, %eax
jne 0x12399
leaq 0x2823(%rip), %rax      # 0x14bb2
leaq 0x18892(%rip), %rcx     # 0x2ac28
movq %rax, (%rcx)
movl %r15d, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq