.file "main.c" .text .section .rodata.str1.1,"aMS",@progbits,1 .LC1: .string " NETWORK PORT: %d \n" .text .p2align 4 .globl Loader .type Loader, @function Loader: .LFB23: .cfi_startproc pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 movq %rsp, %rbp .cfi_def_cfa_register 6 subq $32, %rsp 1: call mcount movl $16, %edx movl $640, %esi movl $1280, %edi movl .LC0(%rip), %eax movsbl wide(%rip), %ecx movl %eax, -31(%rbp) call createWin movl $16, %edx movl $640, %esi movsbl wide(%rip), %ecx movl $1280, %edi call createRender xorl %eax, %eax call InitTimeCounter xorl %eax, %eax call textureLoader xorl %eax, %eax call loadTexture xorl %eax, %eax call glewStatus movl $5799, %esi movl $.LC1, %edi xorl %eax, %eax call printf xorl %eax, %eax call init_Cord movsbl -30(%rbp), %esi movsbl -31(%rbp), %edi call make_Cord xorl %eax, %eax call print_info leaq -32(%rbp), %rdi call print_path leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE23: .size Loader, .-Loader .p2align 4 .globl Flysimu .type Flysimu, @function Flysimu: .LFB24: .cfi_startproc pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 movq %rsp, %rbp .cfi_def_cfa_register 6 1: call mcount xorl %eax, %eax call initGrid movss .LC2(%rip), %xmm0 call pointGrid movl $640, %esi movl $1280, %edi call Landscape movss .LC2(%rip), %xmm0 call motorGrid xorl %eax, %eax call Motor xorl %eax, %eax call Cockpit xorl %eax, %eax call Terminal movl $640, %esi movl $1280, %edi call perspective xorl %eax, %eax call loadFont call eventloop xorl %eax, %eax call CalculateFPS movss .LC2(%rip), %xmm0 popq %rbp .cfi_def_cfa 7, 8 jmp UpdateTimeCounter .cfi_endproc .LFE24: .size Flysimu, .-Flysimu .section .rodata.str1.1 .LC3: .string " SERVER READY ..." .LC4: .string " TCP-SERVER: SOCKET" .LC5: .string " TCP-SERVER: BIND" .LC6: .string " TCP-SERVER: LISTEN" .LC7: .string " TCP-SERVER: ACCEPT" .text .p2align 4 .globl Server .type Server, @function Server: .LFB25: .cfi_startproc pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 movq %rsp, %rbp .cfi_def_cfa_register 6 1: call mcount movl $.LC3, %edi call puts xorl %edx, %edx movl $1, %esi movl $2, %edi call socket movl $.LC4, %edi movl %eax, server1(%rip) call puts movl $5799, %edx xorl %esi, %esi movl $server1, %edi call net_bind movl $.LC5, %edi call puts movl $server1, %edi call net_listen movl $.LC6, %edi call puts movl $server2, %esi movl $server1, %edi call net_accept movl $.LC7, %edi call puts cmpb $0, fgrid(%rip) jne .L5 .L10: jmp .L10 .p2align 4,,10 .p2align 3 .L5: xorl %eax, %eax call initGrid movss .LC2(%rip), %xmm0 call pointGrid movl $640, %esi movl $1280, %edi call Landscape movss .LC2(%rip), %xmm0 call motorGrid xorl %eax, %eax call Motor xorl %eax, %eax call Cockpit xorl %eax, %eax call Terminal movl $640, %esi movl $1280, %edi call perspective xorl %eax, %eax call loadFont call eventloop xorl %eax, %eax call CalculateFPS movss .LC2(%rip), %xmm0 call UpdateTimeCounter cmpb $0, fgrid(%rip) jne .L5 jmp .L10 .cfi_endproc .LFE25: .size Server, .-Server .section .rodata.str1.1 .LC8: .string " CLIENT READY ..." .LC9: .string " SERVER IP: " .LC10: .string " TCP-CLIENT: SOCKET" .LC11: .string " TCP-CLIENT: CONNECT" .text .p2align 4 .globl Client .type Client, @function Client: .LFB26: .cfi_startproc pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 movq %rsp, %rbp .cfi_def_cfa_register 6 subq $32, %rsp 1: call mcount movl $.LC8, %edi call puts movl $.LC9, %edi xorl %eax, %eax call printf movq stdin(%rip), %rdx movl $25, %esi leaq -32(%rbp), %rdi call fgets xorl %edx, %edx movl $1, %esi movl $2, %edi call socket movl $.LC10, %edi movl %eax, client1(%rip) call puts movl $5799, %edx leaq -32(%rbp), %rsi movl $client1, %edi call net_connect movl $.LC11, %edi call puts cmpb $0, fgrid(%rip) jne .L12 .L17: jmp .L17 .p2align 4,,10 .p2align 3 .L12: xorl %eax, %eax call initGrid movss .LC2(%rip), %xmm0 call pointGrid movl $640, %esi movl $1280, %edi call Landscape movss .LC2(%rip), %xmm0 call motorGrid xorl %eax, %eax call Motor xorl %eax, %eax call Cockpit xorl %eax, %eax call Terminal movl $640, %esi movl $1280, %edi call perspective xorl %eax, %eax call loadFont call eventloop xorl %eax, %eax call CalculateFPS movss .LC2(%rip), %xmm0 call UpdateTimeCounter cmpb $0, fgrid(%rip) jne .L12 jmp .L17 .cfi_endproc .LFE26: .size Client, .-Client .section .text.startup,"ax",@progbits .p2align 4 .globl main .type main, @function main: .LFB27: .cfi_startproc pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 movq %rsp, %rbp .cfi_def_cfa_register 6 pushq %r14 pushq %r13 pushq %r12 pushq %rbx .cfi_offset 14, -24 .cfi_offset 13, -32 .cfi_offset 12, -40 .cfi_offset 3, -48 1: call mcount movl %edi, %r12d movq %rsi, %rbx testl %edi, %edi jle .L19 movslq %edi, %rax leaq (%rsi,%rax,8), %r13 .p2align 4,,10 .p2align 3 .L20: movq (%rbx), %rcx xorl %r14d, %r14d movzbl (%rcx), %eax testb %al, %al jle .L32 .p2align 4,,10 .p2align 3 .L31: subl $67, %eax cmpb $51, %al ja .L21 movzbl %al, %eax jmp *.L23(,%rax,8) .section .rodata .align 8 .align 4 .L23: .quad .L29 .quad .L21 .quad .L21 .quad .L28 .quad .L27 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L26 .quad .L21 .quad .L21 .quad .L21 .quad .L25 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L24 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L21 .quad .L22 .section .text.startup .p2align 4,,10 .p2align 3 .L24: movl %r12d, %edi movb $1, fhelp(%rip) call help_Desk .L37: movq (%rbx), %rcx .L21: addq $1, %r14 movsbl (%rcx,%r14), %edx movl %edx, %eax cmpl %r14d, %edx jg .L31 .L32: addq $8, %rbx cmpq %rbx, %r13 jne .L20 .L19: popq %rbx xorl %eax, %eax popq %r12 popq %r13 popq %r14 popq %rbp .cfi_remember_state .cfi_def_cfa 7, 8 ret .p2align 4,,10 .p2align 3 .L22: .cfi_restore_state xorl %eax, %eax movb $1, fversion(%rip) addq $1, %r14 call version movq (%rbx), %rcx movsbl (%rcx,%r14), %edx movl %edx, %eax cmpl %r14d, %edx jg .L31 jmp .L32 .p2align 4,,10 .p2align 3 .L25: xorl %eax, %eax movb $1, fwindow(%rip) addq $1, %r14 movb $1, fgrid(%rip) call Loader movq (%rbx), %rcx movsbl (%rcx,%r14), %edx movl %edx, %eax cmpl %r14d, %edx jg .L31 jmp .L32 .p2align 4,,10 .p2align 3 .L27: movb $1, fgrid(%rip) .p2align 4,,10 .p2align 3 .L30: xorl %eax, %eax call initGrid movss .LC2(%rip), %xmm0 call pointGrid movl $640, %esi movl $1280, %edi call Landscape movss .LC2(%rip), %xmm0 call motorGrid xorl %eax, %eax call Motor xorl %eax, %eax call Cockpit xorl %eax, %eax call Terminal movl $640, %esi movl $1280, %edi call perspective xorl %eax, %eax call loadFont call eventloop xorl %eax, %eax call CalculateFPS movss .LC2(%rip), %xmm0 call UpdateTimeCounter cmpb $0, fgrid(%rip) jne .L30 jmp .L37 .p2align 4,,10 .p2align 3 .L28: addq $1, %r14 movb $1, wide(%rip) movsbl (%rcx,%r14), %edx movl %edx, %eax cmpl %r14d, %edx jg .L31 jmp .L32 .L26: xorl %eax, %eax movb $1, fserver(%rip) call Server .L29: xorl %eax, %eax movb $1, fclient(%rip) call Client .cfi_endproc .LFE27: .size main, .-main .globl wide .bss .type wide, @object .size wide, 1 wide: .zero 1 .globl fhelp .type fhelp, @object .size fhelp, 1 fhelp: .zero 1 .globl fversion .type fversion, @object .size fversion, 1 fversion: .zero 1 .globl fclient .type fclient, @object .size fclient, 1 fclient: .zero 1 .globl fserver .type fserver, @object .size fserver, 1 fserver: .zero 1 .globl fgrid .type fgrid, @object .size fgrid, 1 fgrid: .zero 1 .globl fwindow .type fwindow, @object .size fwindow, 1 fwindow: .zero 1 .globl client1 .align 4 .type client1, @object .size client1, 4 client1: .zero 4 .globl server2 .align 4 .type server2, @object .size server2, 4 server2: .zero 4 .globl server1 .align 4 .type server1, @object .size server1, 4 server1: .zero 4 .globl BPP .section .rodata .align 4 .type BPP, @object .size BPP, 4 BPP: .long 16 .globl height .align 4 .type height, @object .size height, 4 height: .long 640 .globl width .align 4 .type width, @object .size width, 4 width: .long 1280 .section .rodata.cst4,"aM",@progbits,4 .align 4 .LC0: .byte 0 .byte 0 .byte 24 .byte 4 .align 4 .LC2: .long 925353388 .ident "GCC: (GNU) 12.2.1 20220819 (Red Hat 12.2.1-2)" .section .note.GNU-stack,"",@progbits