// File: TooruAkagi[P]GCIS_Index/gcis_uni_build.cpp
// Function: write74()
int write74(){
    FILE *fp;
    //unsigned char chr;
    fp = fopen(wname, "w"); // open file or return null
    fwrite(&loops, sizeof(int),1, fp); //0:loops
    fwrite(Sizelist, sizeof(int),11, fp); //0:定数
    fwrite(&dcs[1], sizeof(int), loops, fp); //1:dcs[1][2][3]...
    fwrite(&dc2s[1], sizeof(int), loops, fp); //2:dc2s
    fwrite(&ccs[1], sizeof(int), loops, fp); //1:dcs[1][2][3]...
    fwrite(&cc2s[1], sizeof(int), loops, fp); //2:dc2s
    fwrite(&exceptr[0], sizeof(int), loops+1, fp); //2:例外

    fwrite(D_3, sizeof(int), dc2s[loops]-Sizelist[2], fp); //5:D3
    fwrite(d2topsub, sizeof(int), Sizelist[5], fp); //3:D
    fwrite(k3sub, sizeof(int), Sizelist[3], fp); //3:D
    fwrite(NS, sizeof(unsigned int),Sizelist[0], fp); //7:NS
    //ここから2byte
    
    fwrite(D_3m, sizeof(unsigned short int), Sizelist[2]-Sizelist[1], fp); //5:D3
    fwrite(d2topsub2, sizeof(unsigned short int), Sizelist[6], fp); //3:D
    fwrite(k3sub2, sizeof(unsigned short int), Sizelist[4], fp); //3:D
    //ここから1byte
    fwrite(D_3s, sizeof(unsigned char), Sizelist[1], fp); //5:D3
    bfwrite(k,Sizelist[7],fp); //3:D
    bfwrite(k3,Sizelist[8],fp); //4:D_2
    bfwrite(d2under,Sizelist[10],fp); //3:D
    bfwrite(d2top,Sizelist[9],fp); //4:D_2
    fclose(fp); // open file or return null
    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq 0x3861(%rip), %rdi      # 0x61a0
leaq 0x177e(%rip), %rsi      # 0x40c4
callq 0x1100
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rcx
leaq 0x37d2(%rip), %rdi      # 0x612c
movl $0x4, %esi
movl $0x1, %edx
callq 0x11b0
movq -0x8(%rbp), %rcx
leaq 0x37cc(%rip), %rdi      # 0x6140
movl $0x4, %esi
movl $0xb, %edx
callq 0x11b0
movslq 0x37a2(%rip), %rdx      # 0x612c
movq -0x8(%rbp), %rcx
leaq 0x382b(%rip), %rdi      # 0x61c0
addq $0x4, %rdi
movl $0x4, %esi
callq 0x11b0
movslq 0x3782(%rip), %rdx      # 0x612c
movq -0x8(%rbp), %rcx
leaq 0x385b(%rip), %rdi      # 0x6210
addq $0x4, %rdi
movl $0x4, %esi
callq 0x11b0
movslq 0x3762(%rip), %rdx      # 0x612c
movq -0x8(%rbp), %rcx
leaq 0x388b(%rip), %rdi      # 0x6260
addq $0x4, %rdi
movl $0x4, %esi
callq 0x11b0
movslq 0x3742(%rip), %rdx      # 0x612c
movq -0x8(%rbp), %rcx
leaq 0x38bb(%rip), %rdi      # 0x62b0
addq $0x4, %rdi
movl $0x4, %esi
callq 0x11b0
movl 0x3723(%rip), %eax      # 0x612c
addl $0x1, %eax
movslq %eax, %rdx
movq -0x8(%rbp), %rcx
leaq 0x38e6(%rip), %rdi      # 0x6300
movl $0x4, %esi
callq 0x11b0
movq 0x395d(%rip), %rdi      # 0x6388
movslq 0x36fa(%rip), %rcx      # 0x612c
leaq 0x37d7(%rip), %rax      # 0x6210
movl (%rax,%rcx,4), %eax
subl 0x3706(%rip), %eax      # 0x6148
movslq %eax, %rdx
movq -0x8(%rbp), %rcx
movl $0x4, %esi
callq 0x11b0
movq 0x391e(%rip), %rdi      # 0x6378
movslq 0x36f3(%rip), %rdx      # 0x6154
movq -0x8(%rbp), %rcx
movl $0x4, %esi
callq 0x11b0
movq 0x390a(%rip), %rdi      # 0x6380
movslq 0x36cf(%rip), %rdx      # 0x614c
movq -0x8(%rbp), %rcx
movl $0x4, %esi
callq 0x11b0
movq 0x38c6(%rip), %rdi      # 0x6358
movslq 0x36a7(%rip), %rdx      # 0x6140
movq -0x8(%rbp), %rcx
movl $0x4, %esi
callq 0x11b0
movq 0x38c2(%rip), %rdi      # 0x6370
movl 0x3694(%rip), %eax      # 0x6148
subl 0x368a(%rip), %eax      # 0x6144
movslq %eax, %rdx
movq -0x8(%rbp), %rcx
movl $0x2, %esi
callq 0x11b0
movq 0x388e(%rip), %rdi      # 0x6360
movslq 0x367f(%rip), %rdx      # 0x6158
movq -0x8(%rbp), %rcx
movl $0x2, %esi
callq 0x11b0
movq 0x387a(%rip), %rdi      # 0x6368
movslq 0x365b(%rip), %rdx      # 0x6150
movq -0x8(%rbp), %rcx
movl $0x2, %esi
callq 0x11b0
movq 0x3886(%rip), %rdi      # 0x6390
movslq 0x3633(%rip), %rdx      # 0x6144
movq -0x8(%rbp), %rcx
movl $0x1, %esi
callq 0x11b0
movq 0x3872(%rip), %rdi      # 0x6398
movl 0x3630(%rip), %esi      # 0x615c
movq -0x8(%rbp), %rdx
callq 0x2790
movq 0x3864(%rip), %rdi      # 0x63a0
movl 0x361e(%rip), %esi      # 0x6160
movq -0x8(%rbp), %rdx
callq 0x2790
movq 0x3856(%rip), %rdi      # 0x63a8
movl 0x3610(%rip), %esi      # 0x6168
movq -0x8(%rbp), %rdx
callq 0x2790
movq 0x3848(%rip), %rdi      # 0x63b0
movl 0x35f6(%rip), %esi      # 0x6164
movq -0x8(%rbp), %rdx
callq 0x2790
movq -0x8(%rbp), %rdi
callq 0x10e0
xorl %eax, %eax
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)