// File: /workspace/github_c_makefile_star2_O2/sonicse[P]dbf2mysql/dbf2mysql.c
// Function: do_inserts
void do_inserts(MYSQL *SQLsock, char *table, dbhead *dbh) {
    int result, i, j, nc = 0, h;
    field *fields;
    char *query, *vpos, *pos;
    char str[257], *cvt = NULL, *s;
    u_long val_len = 0;
    char *datafile = NULL;
    FILE *fconv, *tempfile = NULL;
    int quote_field;
    u_long val_used;
    int base_pos;

    /* Max Number of characters that can be stored before checking buffer size */
#define VAL_EXTRA 16

    if (convert != NULL) /* If specified conversion table */ {
        if ((fconv = fopen(convert, "rt")) == NULL)
            fprintf(stderr, "Cannot open convert file '%s'.\n", convert);
        else {
            nc = atoi(fgets(str, 256, fconv));
            if (verbose > 2)
                printf("Using conversion table '%s' with %d entries\n", convert, nc);
            if ((cvt = (char *) malloc(nc * 2 + 1)) == NULL) {
                fprintf(stderr, "Memory allocation error in do_inserts (cvt)\n");
                mysql_close(SQLsock);
                dbf_close(&dbh);
                exit(1);
            }
            for (i = 0, fgets(str, 256, fconv); (i < nc * 2) && (str != NULL); i++) {
                cvt[i++] = atoi(strtok(str, " \t"));
                cvt[i] = atoi(strtok(NULL, " \t"));
                fgets(str, 256, fconv);
            }
            cvt[i] = '\0';
        }
    }

    if (verbose > 2) {
        printf("Inserting records\n");
    }

    for (i = 0; i < dbh->db_nfields; i++) {
        switch (dbh->db_fields[i].db_type) {
            case 'M':
            case 'G':
                val_len += 2048;
                break;
            case 'T':
                val_len += 23;
                break;
            default:
                val_len += dbh->db_fields[i].db_flen * 2 + 3;
        }
    }

    if (!(query = (char *) malloc((express * 10) + 26 + strlen(table) + val_len + VAL_EXTRA))) {
        fprintf(stderr,
                "Memory allocation error in function do_inserts (query)\n");
        mysql_close(SQLsock);
        dbf_close(&dbh);
        exit(1);
    }
    if (!quick) {
        sprintf(query, "INSERT INTO `%s` VALUES (", table);
    } else
        if (express)
        strcat(query, "NULL,NULL,");
    else /* if specified -q create file for 'LOAD DATA' */ {
        datafile = tempnam("/tmp", "d2my");
        tempfile = fdopen(open(datafile, O_WRONLY | O_CREAT | O_EXCL,
                0600), "wt");
        if (tempfile == NULL || datafile == NULL) {
            fprintf(stderr, "Cannot open file '%s' for writing\n", datafile);
            return;
        }
        query[0] = '\0';
    }
    base_pos = strlen(query);

    if ((fields = dbf_build_record(dbh)) == (field *) DBF_ERROR) {
        fprintf(stderr, "Couldn't create memory structure for record\n");
        return;
    }

    for (i = 0; i < dbh->db_records; i++) {
        result = dbf_get_record(dbh, fields, i);
        if (result == DBF_VALID) {
            vpos = query + base_pos;
            val_used = 0;
            for (h = 0; h < dbh->db_nfields; h++) {
                /* if length of fieldname==0, skip it */
                if (!strlen(fields[h].db_name))
                    continue;
                if (fields[h].db_type == 'N' ||
                        fields[h].db_type == 'F' ||
                        fields[h].db_type == 'B' ||
                        fields[h].db_type == 'Y' ||
                        fields[h].db_type == 'I')
                    quote_field = 0;
                else
                    quote_field = 1;

                if (vpos != query + base_pos) {
                    *vpos++ = ',';
                    val_used++;
                }

                if (quick || quote_field) {
                    *vpos++ = '\'';
                    val_used++;
                }

                if (trim && quote_field) /* trim leading spaces */ {
                    for (pos = fields[h].db_contents; isspace(*pos) && (*pos != '\0');
                            pos++);
                    memmove(fields[h].db_contents, pos, strlen(pos) + 1);
                }
                if ((nc > 0) && (fields[h].db_type == 'C')) {
                    for (j = 0; fields[h].db_contents[j] != '\0'; j++) {
                        if ((s = strchr(cvt, fields[h].db_contents[j])) != NULL)
                            if ((s - cvt) % 2 == 0)
                                fields[h].db_contents[j] = s[1];
                    }
                }
                if (upper)
                    strtoupper(fields[h].db_contents);
                if (lower)
                    strtolower(fields[h].db_contents);

                for (pos = fields[h].db_contents; *pos; pos++) {
                    if (*pos == '\\' || *pos == '\'') {
                        *vpos++ = '\\';
                        val_used++;
                    }
                    *vpos++ = *pos;
                    val_used++;
                    if (val_used >= val_len) {
                        //			int	newsiz = (((val_used + strlen(pos) + VAL_EXTRA + base_pos + 4095)/4096)+1)*4096-16;
                        int newsiz = base_pos + val_used + strlen(pos) + VAL_EXTRA;
                        void *tmpptr = realloc(query, newsiz);
                        if (tmpptr == NULL) {
                            perror("out of memory in do_inserts");
                            mysql_close(SQLsock);
                            dbf_close(&dbh);
                            exit(1);
                        }
                        query = tmpptr;
                        vpos = query + base_pos + val_used;
                        val_len = newsiz - base_pos - VAL_EXTRA;
                    }
                }
                if (quote_field && !quick) {
                    *vpos++ = '\'';
                    val_used++;
                } else {
                    if (!fields[h].db_contents[0]) { /* Numeric field is null */
                        if (null_fields) {
                            strcpy(vpos, "NULL");
                            vpos += 4;
                            val_used += 4;
                        } else {
                            if (!quote_field) {
                                *vpos++ = '0';
                                val_used++;
                            }
                        }
                    }
                }
                if (quick) {
                    *vpos++ = '\'';
                    val_used++;
                }
            }
            if (!quick) {
                vpos[0] = ')'; /* End of values */
                vpos[1] = 0; /* End of query */
            } else
                vpos[0] = '\0';
            if ((verbose == 3) && ((i % 100) == 0)) {
                printf("Inserting record %d\n", i);
            }
            if (verbose > 3) {
                printf("Record %4d: %s\n", i, query);
            }

            if (!quick) {
                if (mysql_query(SQLsock, query) == -1) {
                    fprintf(stderr,
                            "Error sending INSERT in record %04d\n", i);
                    fprintf(stderr,
                            "Detailed report: %s\n",
                            mysql_error(SQLsock));
                    if (verbose > 1) {
                        fprintf(stderr, "%s\n", query);
                    }
                }
            } else {
                if (express)
                    fprintf(tempfile, "NULL,NULL,%s\n", query);
                else
                    fprintf(tempfile, "%s\n", query);
            }
        }
    }

    dbf_free_record(dbh, fields);

    free(query);
    if (nc > 0)
        free(cvt);

    if (quick) {
        fclose(tempfile);
        query = str;
        sprintf(query, "LOAD DATA LOCAL INFILE '%s' REPLACE INTO table %s fields terminated by ',' enclosed by ''''",
                datafile, table);
        if (verbose > 1) {
            fprintf(stderr, "%s\n", query);
        }
        if (mysql_query(SQLsock, query) == -1) {
            fprintf(stderr,
                    "Error sending LOAD DATA INFILE from file '%s'\n", datafile);
            fprintf(stderr,
                    "Detailed report: %s\n",
                    mysql_error(SQLsock));
        }
        if (unlink(datafile) == -1) {
            fprintf(stderr, "Error while removing temporary file '%s'.\n", datafile);
        }
        free(datafile);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x188, %rsp            # imm = 0x188
movq %rsi, 0x50(%rsp)
movq %rdi, %r15
movq %rdx, 0x18(%rsp)
movq 0x64af(%rip), %rdi      # 0x9268
testq %rdi, %rdi
movq %r15, 0x20(%rsp)
je 0x2ed3
leaq 0x35a7(%rip), %rsi      # 0x6375
callq 0x2220
testq %rax, %rax
je 0x34ff
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
movl $0x100, %esi            # imm = 0x100
movq %rax, %rdx
callq 0x2320
movq %rax, %rdi
callq 0x2300
movl %eax, %r14d
cmpl $0x3, 0x640a(%rip)      # 0x9210
jl 0x2e20
movq 0x6459(%rip), %rsi      # 0x9268
leaq 0x3582(%rip), %rdi      # 0x6398
movl %r14d, %edx
xorl %eax, %eax
callq 0x2050
leal 0x1(,%r14,2), %eax
movslq %eax, %rdi
callq 0x2280
movq %rax, 0x10(%rsp)
testq %rax, %rax
je 0x360f
movq %r14, 0x30(%rsp)
leal (%r14,%r14), %ebp
leaq 0x80(%rsp), %r12
movq %r12, %rdi
movl $0x100, %esi            # imm = 0x100
movq %rbx, %rdx
callq 0x2320
movslq %ebp, %rbp
xorl %r15d, %r15d
leaq 0x3586(%rip), %r13      # 0x63f2
movq 0x10(%rsp), %r14
cmpq %rbp, %r15
jge 0x2eba
movq %r12, %rdi
movq %r13, %rsi
callq 0x2310
movq %rax, %rdi
callq 0x2300
movb %al, (%r14,%r15)
xorl %edi, %edi
movq %r13, %rsi
callq 0x2310
movq %rax, %rdi
callq 0x2300
movb %al, 0x1(%r14,%r15)
movq %r12, %rdi
movl $0x100, %esi            # imm = 0x100
movq %rbx, %rdx
callq 0x2320
addq $0x2, %r15
jmp 0x2e71
movq 0x10(%rsp), %rax
movb $0x0, (%rax,%r15)
cmpl $0x0, 0x30(%rsp)
setg %al
movq %rax, 0x48(%rsp)
jmp 0x2ee5
movq $0x0, 0x10(%rsp)
movq $0x0, 0x48(%rsp)
cmpl $0x3, 0x6324(%rip)      # 0x9210
jl 0x2efa
leaq 0x3a16(%rip), %rdi      # 0x690b
callq 0x22f0
movq 0x18(%rsp), %rax
movzbl 0x32(%rax), %ecx
imulq $0xf, %rcx, %rcx
xorl %edx, %edx
pushq $0x17
popq %rsi
xorl %r12d, %r12d
cmpq %rdx, %rcx
je 0x2f51
movq 0x40(%rax), %r8
movzbl 0xb(%r8,%rdx), %r9d
movl $0x800, %edi            # imm = 0x800
cmpl $0x47, %r9d
je 0x2f48
cmpl $0x4d, %r9d
je 0x2f48
cmpl $0x54, %r9d
jne 0x2f3a
movq %rsi, %rdi
jmp 0x2f48
movzbl 0xc(%r8,%rdx), %edi
leaq 0x3(,%rdi,2), %rdi
addq %rdi, %r12
addq $0xf, %rdx
jmp 0x2f0f
movslq 0x62cc(%rip), %rbx      # 0x9224
imulq $0xa, %rbx, %r14
movq 0x50(%rsp), %rdi
callq 0x20d0
addq %r12, %rax
leaq (%r14,%rax), %rdi
addq $0x2a, %rdi
callq 0x2280
testq %rax, %rax
je 0x35fa
movq %rax, %r14
cmpl $0x0, 0x62a7(%rip)      # 0x9230
je 0x2fb9
testl %ebx, %ebx
je 0x2fe3
movq %r14, %rdi
callq 0x20d0
movabsq $0x4c554e2c4c4c554e, %rcx # imm = 0x4C554E2C4C4C554E
movq %rcx, (%r14,%rax)
movl $0x2c4c4c, 0x7(%r14,%rax) # imm = 0x2C4C4C
movq $0x0, 0x40(%rsp)
jmp 0x2fd8
leaq 0x346d(%rip), %rsi      # 0x642d
movq $0x0, 0x40(%rsp)
movq %r14, %rdi
movq 0x50(%rsp), %rdx
xorl %eax, %eax
callq 0x2080
movq $0x0, 0x38(%rsp)
jmp 0x303e
leaq 0x3468(%rip), %rdi      # 0x6452
leaq 0x3466(%rip), %rsi      # 0x6457
callq 0x2360
movq %rax, %rbx
movq %rax, %rdi
movl $0xc1, %esi
movl $0x180, %edx            # imm = 0x180
xorl %eax, %eax
callq 0x2150
leaq 0x3448(%rip), %rsi      # 0x645c
movl %eax, %edi
callq 0x21f0
movq %rbx, 0x40(%rsp)
testq %rbx, %rbx
je 0x35b0
movq %rax, %rcx
testq %rax, %rax
je 0x35b0
movq %rcx, 0x38(%rsp)
movb $0x0, (%r14)
movq %r14, %rdi
callq 0x20d0
movq %rax, %rbx
movq 0x18(%rsp), %rdi
callq 0x4e4b
cmpq $-0x1, %rax
je 0x34e1
movq %rax, %rbp
movslq %ebx, %rax
movq %rax, 0x58(%rsp)
xorl %r15d, %r15d
movq %rbp, 0x68(%rsp)
movq %rbx, 0x78(%rsp)
movq 0x18(%rsp), %rdi
cmpq %r15, 0x20(%rdi)
jbe 0x3434
movq %rbp, %rsi
movq %r15, %rdx
callq 0x464f
cmpl $0x20, %eax
jne 0x342c
movq %r15, 0x60(%rsp)
movq %r14, 0x30(%rsp)
movq 0x58(%rsp), %rax
leaq (%r14,%rax), %r13
xorl %ecx, %ecx
xorl %r15d, %r15d
movq 0x18(%rsp), %rax
movzbl 0x32(%rax), %eax
cmpq %rax, %rcx
jae 0x3328
movq %rcx, %rax
shlq $0x5, %rax
cmpb $0x0, (%rbp,%rax)
je 0x330c
movq %rcx, 0x70(%rsp)
addq %rbp, %rax
movq %rax, 0x28(%rsp)
movb 0xb(%rax), %cl
addb $-0x42, %cl
cmpb $0x18, %cl
setb 0xe(%rsp)
setae %sil
movl $0x7fef6e, %eax         # imm = 0x7FEF6E
shrl %cl, %eax
movl $0x801091, %r14d        # imm = 0x801091
shrl %cl, %r14d
movq 0x30(%rsp), %rcx
movq 0x58(%rsp), %rdx
addq %rdx, %rcx
cmpq %rcx, %r13
je 0x3120
movb $0x2c, (%r13)
incq %r13
incq %r15
orb %al, %sil
cmpl $0x0, 0x6106(%rip)      # 0x9230
sete %cl
movl %esi, %eax
notb %al
testb %cl, %al
movb %sil, 0xf(%rsp)
jne 0x3145
movb $0x27, (%r13)
incq %r13
incq %r15
cmpl $0x0, 0x60e0(%rip)      # 0x922c
sete %cl
orb %cl, %al
testb $0x1, %al
jne 0x319a
movq 0x28(%rsp), %rax
movq 0x18(%rax), %rbp
callq 0x2200
movq (%rax), %rax
leaq -0x1(%rbp), %rbx
movsbq 0x1(%rbx), %rcx
incq %rbx
testq %rcx, %rcx
je 0x3183
movzwl (%rax,%rcx,2), %ecx
andl $0x2000, %ecx           # imm = 0x2000
jne 0x316a
movq %rbx, %rdi
callq 0x20d0
leaq 0x1(%rax), %rdx
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x2340
cmpb $0x0, 0x48(%rsp)
movq 0x28(%rsp), %rax
je 0x31e6
cmpb $0x43, 0xb(%rax)
jne 0x31e6
xorl %ebx, %ebx
movq 0x18(%rax), %rbp
movsbl (%rbp,%rbx), %esi
testl %esi, %esi
je 0x31e6
movq 0x10(%rsp), %rdi
callq 0x20b0
testq %rax, %rax
je 0x31dc
movl %eax, %ecx
subl 0x10(%rsp), %ecx
testb $0x1, %cl
jne 0x31dc
movb 0x1(%rax), %al
movb %al, (%rbp,%rbx)
incq %rbx
movq 0x28(%rsp), %rax
jmp 0x31ae
cmpl $0x0, 0x6027(%rip)      # 0x9214
je 0x31fd
movq 0x18(%rax), %rdi
callq 0x51f0
movq 0x28(%rsp), %rax
cmpl $0x0, 0x6014(%rip)      # 0x9218
je 0x3214
movq 0x18(%rax), %rdi
callq 0x521b
movq 0x28(%rsp), %rax
andb %r14b, 0xe(%rsp)
movq 0x18(%rax), %rbp
movq 0x78(%rsp), %r14
movzbl (%rbp), %eax
cmpl $0x27, %eax
je 0x3236
cmpl $0x5c, %eax
je 0x3236
testl %eax, %eax
jne 0x3244
jmp 0x329b
movb $0x5c, (%r13)
incq %r13
incq %r15
movb (%rbp), %al
movb %al, (%r13)
incq %r15
cmpq %r12, %r15
jae 0x3255
incq %r13
jmp 0x3296
leaq (%r15,%r14), %r12
movq %rbp, %rdi
callq 0x20d0
movq %rax, %rbx
addq %r12, %rbx
leal 0x10(%rbx), %eax
movslq %eax, %rsi
movq 0x30(%rsp), %rdi
callq 0x2350
testq %rax, %rax
je 0x35d2
movq %rax, 0x30(%rsp)
movq %rax, %r13
addq 0x58(%rsp), %r13
addq %r15, %r13
subl %r14d, %ebx
movslq %ebx, %r12
incq %rbp
jmp 0x3222
cmpl $0x0, 0x5f8e(%rip)      # 0x9230
setne %al
orb %al, 0xe(%rsp)
je 0x32e3
movq 0x28(%rsp), %rax
movq 0x18(%rax), %rax
cmpb $0x0, (%rax)
movq 0x68(%rsp), %rbp
movq 0x70(%rsp), %rcx
jne 0x32f8
cmpl $0x0, 0x5f5e(%rip)      # 0x9228
je 0x3314
movb $0x0, 0x4(%r13)
movl $0x4c4c554e, (%r13)     # imm = 0x4C4C554E
addq $0x4, %r13
addq $0x4, %r15
jmp 0x32f8
movb $0x27, (%r13)
incq %r13
incq %r15
movq 0x68(%rsp), %rbp
movq 0x70(%rsp), %rcx
cmpl $0x0, 0x5f31(%rip)      # 0x9230
je 0x330c
movb $0x27, (%r13)
incq %r13
incq %r15
incq %rcx
jmp 0x30b0
testb $0x1, 0xf(%rsp)
jne 0x32f8
movb $0x30, (%r13)
incq %r13
incq %r15
jmp 0x32f8
cmpl $0x0, 0x5f01(%rip)      # 0x9230
je 0x3335
xorl %eax, %eax
jmp 0x333c
movb $0x0, 0x1(%r13)
movb $0x29, %al
movq 0x60(%rsp), %r15
movb %al, (%r13)
movl 0x5ec5(%rip), %ecx      # 0x9210
movl %ecx, %esi
xorl $0x3, %esi
movl %r15d, %eax
xorl %edx, %edx
pushq $0x64
popq %rdi
divl %edi
orl %esi, %edx
jne 0x3375
leaq 0x316b(%rip), %rdi      # 0x64d0
movl %r15d, %esi
xorl %eax, %eax
callq 0x2050
movl 0x5e9b(%rip), %ecx      # 0x9210
cmpl $0x4, %ecx
movq 0x30(%rsp), %r14
jl 0x3393
leaq 0x315f(%rip), %rdi      # 0x64e5
movl %r15d, %esi
movq %r14, %rdx
xorl %eax, %eax
callq 0x2050
cmpl $0x0, 0x5e96(%rip)      # 0x9230
je 0x33b3
cmpl $0x0, 0x5e81(%rip)      # 0x9224
je 0x3416
movq 0x38(%rsp), %rdi
leaq 0x3169(%rip), %rsi      # 0x651a
jmp 0x3422
movq 0x20(%rsp), %rdi
movq %r14, %rsi
callq 0x2130
cmpl $-0x1, %eax
jne 0x342c
movq 0x5c0c(%rip), %rbx      # 0x8fd8
movq (%rbx), %rdi
leaq 0x311f(%rip), %rsi      # 0x64f5
movl %r15d, %edx
xorl %eax, %eax
callq 0x22c0
movq (%rbx), %rbx
movq 0x20(%rsp), %rdi
callq 0x20c0
movq %rbx, %rdi
leaq 0x2f69(%rip), %rsi      # 0x6360
movq %rax, %rdx
xorl %eax, %eax
callq 0x22c0
cmpl $0x2, 0x5e08(%rip)      # 0x9210
jl 0x342c
movq 0x5bc7(%rip), %rax      # 0x8fd8
movq (%rax), %rdi
jmp 0x341b
movq 0x38(%rsp), %rdi
leaq 0x30cf(%rip), %rsi      # 0x64f1
movq %r14, %rdx
xorl %eax, %eax
callq 0x22c0
incq %r15
jmp 0x3075
movq %rbp, %rsi
callq 0x4f6c
movq %r14, %rdi
callq 0x2230
cmpb $0x0, 0x48(%rsp)
je 0x3455
movq 0x10(%rsp), %rdi
callq 0x2230
cmpl $0x0, 0x5dd4(%rip)      # 0x9230
movq 0x20(%rsp), %r14
movq 0x40(%rsp), %r15
je 0x34cf
movq 0x38(%rsp), %rdi
callq 0x21c0
leaq 0x30af(%rip), %rsi      # 0x6528
leaq 0x80(%rsp), %rdi
movq %r15, %rdx
movq 0x50(%rsp), %rcx
xorl %eax, %eax
callq 0x2080
cmpl $0x2, 0x5d79(%rip)      # 0x9210
jge 0x352c
leaq 0x80(%rsp), %rsi
movq %r14, %rdi
callq 0x2130
cmpl $-0x1, %eax
je 0x3551
movq %r15, %rdi
callq 0x20f0
cmpl $-0x1, %eax
je 0x3590
movq %r15, %rdi
callq 0x2230
addq $0x188, %rsp            # imm = 0x188
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x5af0(%rip), %rax      # 0x8fd8
movq (%rax), %rcx
leaq 0x2f90(%rip), %rdi      # 0x6482
pushq $0x2c
popq %rsi
pushq $0x1
popq %rdx
callq 0x23a0
jmp 0x34cf
movq 0x5ad2(%rip), %rax      # 0x8fd8
movq (%rax), %rdi
movq 0x5d58(%rip), %rdx      # 0x9268
leaq 0x2e61(%rip), %rsi      # 0x6378
movq $0x0, 0x10(%rsp)
xorl %eax, %eax
callq 0x22c0
jmp 0x2edc
movq 0x5aa5(%rip), %rax      # 0x8fd8
movq (%rax), %rdi
leaq 0x2fb4(%rip), %rsi      # 0x64f1
leaq 0x80(%rsp), %rdx
xorl %eax, %eax
callq 0x22c0
jmp 0x349d
movq 0x5a80(%rip), %rbx      # 0x8fd8
movq (%rbx), %rdi
leaq 0x3022(%rip), %rsi      # 0x6584
movq %r15, %rdx
xorl %eax, %eax
callq 0x22c0
movq (%rbx), %rbx
movq %r14, %rdi
callq 0x20c0
leaq 0x2de2(%rip), %rsi      # 0x6360
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x22c0
jmp 0x34b6
movq 0x5a41(%rip), %rax      # 0x8fd8
movq (%rax), %rdi
leaq 0x3012(%rip), %rsi      # 0x65b3
movq %r15, %rdx
xorl %eax, %eax
callq 0x22c0
jmp 0x34c7
movq 0x5a21(%rip), %rax      # 0x8fd8
movq (%rax), %rdi
leaq 0x2e9e(%rip), %rsi      # 0x645f
movq 0x40(%rsp), %rdx
xorl %eax, %eax
callq 0x22c0
jmp 0x34cf
leaq 0x2ed6(%rip), %rdi      # 0x64af
callq 0x2180
movq 0x20(%rsp), %rdi
callq 0x2290
leaq 0x18(%rsp), %rdi
callq 0x4310
pushq $0x1
popq %rdi
callq 0x2250
movq 0x59d7(%rip), %rax      # 0x8fd8
movq (%rax), %rcx
leaq 0x2dea(%rip), %rdi      # 0x63f5
pushq $0x37
jmp 0x3622
movq 0x59c2(%rip), %rax      # 0x8fd8
movq (%rax), %rcx
leaq 0x2da5(%rip), %rdi      # 0x63c5
pushq $0x2c
popq %rsi
pushq $0x1
popq %rdx
callq 0x23a0
jmp 0x35de