x86
stringlengths
335
106k
risc
stringlengths
139
102k
.file "extr_dm-thin.c_cell_visit_release.c" .intel_syntax noprefix .text .type cell_visit_release, @function cell_visit_release: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 32 mov QWORD PTR -8[rbp], rdi mov QWORD PTR -16[rbp], rsi mov QWORD PTR -24[rbp], rdx mov QWORD PTR -32[rbp], rcx mov rax, QWORD PTR -8[rbp] mov eax, DWORD PTR [rax] mov rcx, QWORD PTR -32[rbp] mov rdx, QWORD PTR -24[rbp] mov rsi, QWORD PTR -16[rbp] mov edi, eax call dm_cell_visit_release@PLT mov rax, QWORD PTR -8[rbp] mov eax, DWORD PTR [rax] mov rdx, QWORD PTR -32[rbp] mov rsi, rdx mov edi, eax call dm_bio_prison_free_cell@PLT nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size cell_visit_release, .-cell_visit_release .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.file "extr_dm-thin.c_cell_visit_release.c" .option pic .text .align 1 .type cell_visit_release, @function cell_visit_release: addi sp,sp,-48 sd ra,40(sp) sd s0,32(sp) addi s0,sp,48 sd a0,-24(s0) sd a1,-32(s0) sd a2,-40(s0) sd a3,-48(s0) ld a5,-24(s0) lw a5,0(a5) ld a3,-48(s0) ld a2,-40(s0) ld a1,-32(s0) mv a0,a5 call dm_cell_visit_release@plt ld a5,-24(s0) lw a5,0(a5) ld a1,-48(s0) mv a0,a5 call dm_bio_prison_free_cell@plt nop ld ra,40(sp) ld s0,32(sp) addi sp,sp,48 jr ra .size cell_visit_release, .-cell_visit_release .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
.file "extr_file_stream_transforms.c_rfopen.c" .intel_syntax noprefix .text .comm RETRO_VFS_FILE_ACCESS_HINT_NONE,4,4 .comm RETRO_VFS_FILE_ACCESS_READ,4,4 .comm RETRO_VFS_FILE_ACCESS_READ_WRITE,4,4 .comm RETRO_VFS_FILE_ACCESS_UPDATE_EXISTING,4,4 .comm RETRO_VFS_FILE_ACCESS_WRITE,4,4 .comm RETRO_VFS_SEEK_POSITION_END,4,4 .globl rfopen .type rfopen, @function rfopen: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 32 mov QWORD PTR -24[rbp], rdi mov QWORD PTR -32[rbp], rsi mov QWORD PTR -8[rbp], 0 mov eax, DWORD PTR RETRO_VFS_FILE_ACCESS_READ[rip] mov DWORD PTR -16[rbp], eax mov DWORD PTR -12[rbp], 0 mov rax, QWORD PTR -32[rbp] mov esi, 114 mov rdi, rax call strchr@PLT test rax, rax je .L2 mov eax, DWORD PTR RETRO_VFS_FILE_ACCESS_READ[rip] mov DWORD PTR -16[rbp], eax mov rax, QWORD PTR -32[rbp] mov esi, 43 mov rdi, rax call strchr@PLT test rax, rax je .L3 mov edx, DWORD PTR RETRO_VFS_FILE_ACCESS_READ_WRITE[rip] mov eax, DWORD PTR RETRO_VFS_FILE_ACCESS_UPDATE_EXISTING[rip] or eax, edx mov DWORD PTR -16[rbp], eax jmp .L3 .L2: mov rax, QWORD PTR -32[rbp] mov esi, 119 mov rdi, rax call strchr@PLT test rax, rax je .L4 mov eax, DWORD PTR RETRO_VFS_FILE_ACCESS_WRITE[rip] mov DWORD PTR -16[rbp], eax mov rax, QWORD PTR -32[rbp] mov esi, 43 mov rdi, rax call strchr@PLT test rax, rax je .L3 mov eax, DWORD PTR RETRO_VFS_FILE_ACCESS_READ_WRITE[rip] mov DWORD PTR -16[rbp], eax jmp .L3 .L4: mov rax, QWORD PTR -32[rbp] mov esi, 97 mov rdi, rax call strchr@PLT test rax, rax je .L3 mov edx, DWORD PTR RETRO_VFS_FILE_ACCESS_WRITE[rip] mov eax, DWORD PTR RETRO_VFS_FILE_ACCESS_UPDATE_EXISTING[rip] or eax, edx mov DWORD PTR -16[rbp], eax mov DWORD PTR -12[rbp], 1 mov rax, QWORD PTR -32[rbp] mov esi, 43 mov rdi, rax call strchr@PLT test rax, rax je .L3 mov edx, DWORD PTR RETRO_VFS_FILE_ACCESS_READ_WRITE[rip] mov eax, DWORD PTR RETRO_VFS_FILE_ACCESS_UPDATE_EXISTING[rip] or eax, edx mov DWORD PTR -16[rbp], eax .L3: mov edx, DWORD PTR RETRO_VFS_FILE_ACCESS_HINT_NONE[rip] mov ecx, DWORD PTR -16[rbp] mov rax, QWORD PTR -24[rbp] mov esi, ecx mov rdi, rax call filestream_open@PLT mov QWORD PTR -8[rbp], rax cmp QWORD PTR -8[rbp], 0 je .L5 cmp DWORD PTR -12[rbp], 0 je .L5 mov edx, DWORD PTR RETRO_VFS_SEEK_POSITION_END[rip] mov rax, QWORD PTR -8[rbp] mov esi, 0 mov rdi, rax call filestream_seek@PLT .L5: mov rax, QWORD PTR -8[rbp] leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size rfopen, .-rfopen .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.file "extr_file_stream_transforms.c_rfopen.c" .option pic .text .comm RETRO_VFS_FILE_ACCESS_HINT_NONE,4,4 .comm RETRO_VFS_FILE_ACCESS_READ,4,4 .comm RETRO_VFS_FILE_ACCESS_READ_WRITE,4,4 .comm RETRO_VFS_FILE_ACCESS_UPDATE_EXISTING,4,4 .comm RETRO_VFS_FILE_ACCESS_WRITE,4,4 .comm RETRO_VFS_SEEK_POSITION_END,4,4 .align 1 .globl rfopen .type rfopen, @function rfopen: addi sp,sp,-48 sd ra,40(sp) sd s0,32(sp) addi s0,sp,48 sd a0,-40(s0) sd a1,-48(s0) sd zero,-24(s0) la a5,RETRO_VFS_FILE_ACCESS_READ lw a5,0(a5) sw a5,-32(s0) sw zero,-28(s0) li a1,114 ld a0,-48(s0) call strchr@plt mv a5,a0 beqz a5,.L2 la a5,RETRO_VFS_FILE_ACCESS_READ lw a5,0(a5) sw a5,-32(s0) li a1,43 ld a0,-48(s0) call strchr@plt mv a5,a0 beqz a5,.L3 la a5,RETRO_VFS_FILE_ACCESS_READ_WRITE lw a4,0(a5) la a5,RETRO_VFS_FILE_ACCESS_UPDATE_EXISTING lw a5,0(a5) or a5,a4,a5 sw a5,-32(s0) j .L3 .L2: li a1,119 ld a0,-48(s0) call strchr@plt mv a5,a0 beqz a5,.L4 la a5,RETRO_VFS_FILE_ACCESS_WRITE lw a5,0(a5) sw a5,-32(s0) li a1,43 ld a0,-48(s0) call strchr@plt mv a5,a0 beqz a5,.L3 la a5,RETRO_VFS_FILE_ACCESS_READ_WRITE lw a5,0(a5) sw a5,-32(s0) j .L3 .L4: li a1,97 ld a0,-48(s0) call strchr@plt mv a5,a0 beqz a5,.L3 la a5,RETRO_VFS_FILE_ACCESS_WRITE lw a4,0(a5) la a5,RETRO_VFS_FILE_ACCESS_UPDATE_EXISTING lw a5,0(a5) or a5,a4,a5 sw a5,-32(s0) li a5,1 sw a5,-28(s0) li a1,43 ld a0,-48(s0) call strchr@plt mv a5,a0 beqz a5,.L3 la a5,RETRO_VFS_FILE_ACCESS_READ_WRITE lw a4,0(a5) la a5,RETRO_VFS_FILE_ACCESS_UPDATE_EXISTING lw a5,0(a5) or a5,a4,a5 sw a5,-32(s0) .L3: la a5,RETRO_VFS_FILE_ACCESS_HINT_NONE lw a4,0(a5) lw a5,-32(s0) mv a2,a4 mv a1,a5 ld a0,-40(s0) call filestream_open@plt sd a0,-24(s0) ld a5,-24(s0) beqz a5,.L5 lw a5,-28(s0) sext.w a5,a5 beqz a5,.L5 la a5,RETRO_VFS_SEEK_POSITION_END lw a5,0(a5) mv a2,a5 li a1,0 ld a0,-24(s0) call filestream_seek@plt .L5: ld a5,-24(s0) mv a0,a5 ld ra,40(sp) ld s0,32(sp) addi sp,sp,48 jr ra .size rfopen, .-rfopen .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits
.file "extr_open.c_test_worktree_open__repository_through_workdir.c" .intel_syntax noprefix .text .comm COMMON_REPO,4,4 .comm WORKTREE_REPO,4,4 .globl test_worktree_open__repository_through_workdir .type test_worktree_open__repository_through_workdir, @function test_worktree_open__repository_through_workdir: .LFB0: .cfi_startproc endbr64 push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 sub rsp, 16 mov rax, QWORD PTR fs:40 mov QWORD PTR -8[rbp], rax xor eax, eax mov edx, DWORD PTR WORKTREE_REPO[rip] lea rax, -16[rbp] mov esi, edx mov rdi, rax call git_repository_open@PLT mov edi, eax call cl_git_pass@PLT mov edx, DWORD PTR WORKTREE_REPO[rip] mov ecx, DWORD PTR COMMON_REPO[rip] mov rax, QWORD PTR -16[rbp] mov esi, ecx mov rdi, rax call assert_worktree_valid@PLT mov rax, QWORD PTR -16[rbp] mov rdi, rax call git_repository_free@PLT nop mov rax, QWORD PTR -8[rbp] xor rax, QWORD PTR fs:40 je .L2 call __stack_chk_fail@PLT .L2: leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size test_worktree_open__repository_through_workdir, .-test_worktree_open__repository_through_workdir .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4:
.file "extr_open.c_test_worktree_open__repository_through_workdir.c" .option pic .text .comm COMMON_REPO,4,4 .comm WORKTREE_REPO,4,4 .align 1 .globl test_worktree_open__repository_through_workdir .type test_worktree_open__repository_through_workdir, @function test_worktree_open__repository_through_workdir: addi sp,sp,-32 sd ra,24(sp) sd s0,16(sp) addi s0,sp,32 la a5,__stack_chk_guard ld a5,0(a5) sd a5,-24(s0) la a5,WORKTREE_REPO lw a4,0(a5) addi a5,s0,-32 mv a1,a4 mv a0,a5 call git_repository_open@plt mv a5,a0 mv a0,a5 call cl_git_pass@plt ld a4,-32(s0) la a5,COMMON_REPO lw a3,0(a5) la a5,WORKTREE_REPO lw a5,0(a5) mv a2,a5 mv a1,a3 mv a0,a4 call assert_worktree_valid@plt ld a5,-32(s0) mv a0,a5 call git_repository_free@plt nop la a5,__stack_chk_guard ld a4,-24(s0) ld a5,0(a5) beq a4,a5,.L2 call __stack_chk_fail@plt .L2: ld ra,24(sp) ld s0,16(sp) addi sp,sp,32 jr ra .size test_worktree_open__repository_through_workdir, .-test_worktree_open__repository_through_workdir .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0" .section .note.GNU-stack,"",@progbits