x86
stringlengths 335
106k
| risc
stringlengths 139
103k
| source
stringclasses 1
value |
---|---|---|
.file "extr_zstd_zlibwrapper.c_ZWRAPD_finishWithErrorMsg.c"
.intel_syntax noprefix
.text
.globl Z_STREAM_ERROR
.bss
.align 4
.type Z_STREAM_ERROR, @object
.size Z_STREAM_ERROR, 4
Z_STREAM_ERROR:
.zero 4
.text
.type ZWRAPD_finishWithErrorMsg, @function
ZWRAPD_finishWithErrorMsg:
.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 rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -32[rbp]
mov QWORD PTR [rax], rdx
cmp QWORD PTR -8[rbp], 0
jne .L2
mov eax, DWORD PTR Z_STREAM_ERROR[rip]
jmp .L3
.L2:
mov rcx, QWORD PTR -24[rbp]
mov rax, QWORD PTR -8[rbp]
mov edx, 0
mov rsi, rcx
mov rdi, rax
call ZWRAPD_finishWithError@PLT
.L3:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size ZWRAPD_finishWithErrorMsg, .-ZWRAPD_finishWithErrorMsg
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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_zstd_zlibwrapper.c_ZWRAPD_finishWithErrorMsg.c"
.option pic
.text
.comm Z_STREAM_ERROR,4,4
.align 1
.type ZWRAPD_finishWithErrorMsg, @function
ZWRAPD_finishWithErrorMsg:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
addi s0,sp,48
sd a0,-40(s0)
sd a1,-48(s0)
ld a5,-40(s0)
ld a5,8(a5)
sd a5,-24(s0)
ld a5,-40(s0)
ld a4,-48(s0)
sd a4,0(a5)
ld a5,-24(s0)
bnez a5,.L2
la a5,Z_STREAM_ERROR
lw a5,0(a5)
j .L3
.L2:
li a2,0
ld a1,-40(s0)
ld a0,-24(s0)
call ZWRAPD_finishWithError@plt
mv a5,a0
.L3:
mv a0,a5
ld ra,40(sp)
ld s0,32(sp)
addi sp,sp,48
jr ra
.size ZWRAPD_finishWithErrorMsg, .-ZWRAPD_finishWithErrorMsg
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
anghabench
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_allocFunction.c"
.intel_syntax noprefix
.text
.type ZWRAP_allocFunction, @function
ZWRAP_allocFunction:
.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 rax, QWORD PTR -24[rbp]
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -16[rbp]
mov rcx, QWORD PTR 8[rax]
mov rax, QWORD PTR -32[rbp]
mov edx, eax
mov rax, QWORD PTR -16[rbp]
mov eax, DWORD PTR [rax]
mov esi, 1
mov edi, eax
call rcx
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size ZWRAP_allocFunction, .-ZWRAP_allocFunction
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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_zstd_zlibwrapper.c_ZWRAP_allocFunction.c"
.option pic
.text
.align 1
.type ZWRAP_allocFunction, @function
ZWRAP_allocFunction:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
addi s0,sp,48
sd a0,-40(s0)
sd a1,-48(s0)
ld a5,-40(s0)
sd a5,-32(s0)
ld a5,-32(s0)
ld a3,8(a5)
ld a5,-32(s0)
lw a5,0(a5)
ld a4,-48(s0)
sext.w a4,a4
mv a2,a4
li a1,1
mv a0,a5
jalr a3
sd a0,-24(s0)
ld a5,-24(s0)
mv a0,a5
ld ra,40(sp)
ld s0,32(sp)
addi sp,sp,48
jr ra
.size ZWRAP_allocFunction, .-ZWRAP_allocFunction
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
anghabench
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_createCCtx.c"
.intel_syntax noprefix
.text
.globl ZWRAP_allocFunction
.bss
.align 4
.type ZWRAP_allocFunction, @object
.size ZWRAP_allocFunction, 4
ZWRAP_allocFunction:
.zero 4
.globl ZWRAP_freeFunction
.align 4
.type ZWRAP_freeFunction, @object
.size ZWRAP_freeFunction, 4
ZWRAP_freeFunction:
.zero 4
.text
.type ZWRAP_createCCtx, @function
ZWRAP_createCCtx:
.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, 64
mov QWORD PTR -56[rbp], rdi
mov rax, QWORD PTR -56[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
je .L2
mov rax, QWORD PTR -56[rbp]
mov rax, QWORD PTR 16[rax]
test rax, rax
je .L2
mov rax, QWORD PTR -56[rbp]
mov rcx, QWORD PTR 8[rax]
mov rax, QWORD PTR -56[rbp]
mov eax, DWORD PTR [rax]
mov edx, 32
mov esi, 1
mov edi, eax
call rcx
mov QWORD PTR -40[rbp], rax
cmp QWORD PTR -40[rbp], 0
jne .L3
mov eax, 0
jmp .L4
.L3:
mov rax, QWORD PTR -40[rbp]
mov edx, 32
mov esi, 0
mov rdi, rax
call memset@PLT
mov rax, QWORD PTR -40[rbp]
lea rcx, 24[rax]
mov rax, QWORD PTR -56[rbp]
mov edx, 4
mov rsi, rax
mov rdi, rcx
call memcpy@PLT
mov QWORD PTR -32[rbp], 0
mov QWORD PTR -24[rbp], 0
mov QWORD PTR -16[rbp], 0
mov eax, DWORD PTR ZWRAP_allocFunction[rip]
cdqe
mov QWORD PTR -32[rbp], rax
mov eax, DWORD PTR ZWRAP_freeFunction[rip]
cdqe
mov QWORD PTR -24[rbp], rax
mov rax, QWORD PTR -40[rbp]
add rax, 24
mov QWORD PTR -32[rbp], rax
mov rcx, QWORD PTR -40[rbp]
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR -24[rbp]
mov QWORD PTR [rcx], rax
mov QWORD PTR 8[rcx], rdx
mov rax, QWORD PTR -16[rbp]
mov QWORD PTR 16[rcx], rax
jmp .L5
.L2:
mov esi, 32
mov edi, 1
call calloc@PLT
mov QWORD PTR -40[rbp], rax
cmp QWORD PTR -40[rbp], 0
jne .L5
mov eax, 0
jmp .L4
.L5:
mov rax, QWORD PTR -40[rbp]
.L4:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size ZWRAP_createCCtx, .-ZWRAP_createCCtx
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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_zstd_zlibwrapper.c_ZWRAP_createCCtx.c"
.option pic
.text
.comm ZWRAP_allocFunction,4,4
.comm ZWRAP_freeFunction,4,4
.align 1
.type ZWRAP_createCCtx, @function
ZWRAP_createCCtx:
addi sp,sp,-64
sd ra,56(sp)
sd s0,48(sp)
addi s0,sp,64
sd a0,-56(s0)
ld a5,-56(s0)
ld a5,8(a5)
beqz a5,.L2
ld a5,-56(s0)
ld a5,16(a5)
beqz a5,.L2
ld a5,-56(s0)
ld a4,8(a5)
ld a5,-56(s0)
lw a5,0(a5)
li a2,32
li a1,1
mv a0,a5
jalr a4
mv a5,a0
sd a5,-48(s0)
ld a5,-48(s0)
bnez a5,.L3
li a5,0
j .L4
.L3:
li a2,32
li a1,0
ld a0,-48(s0)
call memset@plt
ld a5,-48(s0)
addi a5,a5,24
li a2,4
ld a1,-56(s0)
mv a0,a5
call memcpy@plt
sd zero,-40(s0)
sd zero,-32(s0)
sd zero,-24(s0)
la a5,ZWRAP_allocFunction
lw a5,0(a5)
sd a5,-40(s0)
la a5,ZWRAP_freeFunction
lw a5,0(a5)
sd a5,-32(s0)
ld a5,-48(s0)
addi a5,a5,24
sd a5,-40(s0)
ld a5,-48(s0)
ld a4,-40(s0)
sd a4,0(a5)
ld a4,-32(s0)
sd a4,8(a5)
ld a4,-24(s0)
sd a4,16(a5)
j .L5
.L2:
li a1,32
li a0,1
call calloc@plt
mv a5,a0
sd a5,-48(s0)
ld a5,-48(s0)
bnez a5,.L5
li a5,0
j .L4
.L5:
ld a5,-48(s0)
.L4:
mv a0,a5
ld ra,56(sp)
ld s0,48(sp)
addi sp,sp,64
jr ra
.size ZWRAP_createCCtx, .-ZWRAP_createCCtx
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
anghabench
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_deflateReset_keepDict.c"
.intel_syntax noprefix
.text
.globl Z_OK
.bss
.align 4
.type Z_OK, @object
.size Z_OK, 4
Z_OK:
.zero 4
.globl g_ZWRAP_useZSTDcompression
.align 4
.type g_ZWRAP_useZSTDcompression, @object
.size g_ZWRAP_useZSTDcompression, 4
g_ZWRAP_useZSTDcompression:
.zero 4
.section .rodata
.align 8
.LC0:
.string "- ZWRAP_deflateReset_keepDict\n"
.text
.globl ZWRAP_deflateReset_keepDict
.type ZWRAP_deflateReset_keepDict, @function
ZWRAP_deflateReset_keepDict:
.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
lea rdi, .LC0[rip]
call LOG_WRAPPERC@PLT
mov eax, DWORD PTR g_ZWRAP_useZSTDcompression[rip]
test eax, eax
jne .L2
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call deflateReset@PLT
jmp .L3
.L2:
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 24[rax]
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
je .L4
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], 0
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR [rax], 0
.L4:
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR 16[rax], 0
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR 8[rax], 0
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR [rax], 0
mov eax, DWORD PTR Z_OK[rip]
.L3:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size ZWRAP_deflateReset_keepDict, .-ZWRAP_deflateReset_keepDict
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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_zstd_zlibwrapper.c_ZWRAP_deflateReset_keepDict.c"
.option pic
.text
.comm Z_OK,4,4
.comm g_ZWRAP_useZSTDcompression,4,4
.section .rodata
.align 3
.LC0:
.string "- ZWRAP_deflateReset_keepDict\n"
.text
.align 1
.globl ZWRAP_deflateReset_keepDict
.type ZWRAP_deflateReset_keepDict, @function
ZWRAP_deflateReset_keepDict:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
addi s0,sp,48
sd a0,-40(s0)
lla a0,.LC0
call LOG_WRAPPERC@plt
la a5,g_ZWRAP_useZSTDcompression
lw a5,0(a5)
bnez a5,.L2
ld a0,-40(s0)
call deflateReset@plt
mv a5,a0
j .L3
.L2:
ld a5,-40(s0)
ld a5,24(a5)
sd a5,-24(s0)
ld a5,-24(s0)
beqz a5,.L4
ld a5,-24(s0)
sd zero,8(a5)
ld a5,-24(s0)
sd zero,0(a5)
.L4:
ld a5,-40(s0)
sd zero,16(a5)
ld a5,-40(s0)
sd zero,8(a5)
ld a5,-40(s0)
sd zero,0(a5)
la a5,Z_OK
lw a5,0(a5)
.L3:
mv a0,a5
ld ra,40(sp)
ld s0,32(sp)
addi sp,sp,48
jr ra
.size ZWRAP_deflateReset_keepDict, .-ZWRAP_deflateReset_keepDict
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
anghabench
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_freeCCtx.c"
.intel_syntax noprefix
.text
.type ZWRAP_freeCCtx, @function
ZWRAP_freeCCtx:
.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 QWORD PTR -8[rbp], rdi
cmp QWORD PTR -8[rbp], 0
jne .L2
mov eax, 0
jmp .L3
.L2:
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 4[rax]
mov edi, eax
call ZSTD_freeCStream@PLT
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR [rax]
mov rax, QWORD PTR -8[rbp]
mov esi, edx
mov rdi, rax
call ZSTD_free@PLT
mov eax, 0
.L3:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size ZWRAP_freeCCtx, .-ZWRAP_freeCCtx
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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_zstd_zlibwrapper.c_ZWRAP_freeCCtx.c"
.option pic
.text
.align 1
.type ZWRAP_freeCCtx, @function
ZWRAP_freeCCtx:
addi sp,sp,-32
sd ra,24(sp)
sd s0,16(sp)
addi s0,sp,32
sd a0,-24(s0)
ld a5,-24(s0)
bnez a5,.L2
li a5,0
j .L3
.L2:
ld a5,-24(s0)
lw a5,4(a5)
mv a0,a5
call ZSTD_freeCStream@plt
ld a5,-24(s0)
lw a5,0(a5)
mv a1,a5
ld a0,-24(s0)
call ZSTD_free@plt
li a5,0
.L3:
mv a0,a5
ld ra,24(sp)
ld s0,16(sp)
addi sp,sp,32
jr ra
.size ZWRAP_freeCCtx, .-ZWRAP_freeCCtx
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
anghabench
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_freeDCtx.c"
.intel_syntax noprefix
.text
.type ZWRAP_freeDCtx, @function
ZWRAP_freeDCtx:
.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 QWORD PTR -8[rbp], rdi
cmp QWORD PTR -8[rbp], 0
jne .L2
mov eax, 0
jmp .L3
.L2:
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 16[rax]
mov edi, eax
call ZSTD_freeDStream@PLT
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR [rax]
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov esi, edx
mov rdi, rax
call ZSTD_free@PLT
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR [rax]
mov rax, QWORD PTR -8[rbp]
mov esi, edx
mov rdi, rax
call ZSTD_free@PLT
mov eax, 0
.L3:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size ZWRAP_freeDCtx, .-ZWRAP_freeDCtx
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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_zstd_zlibwrapper.c_ZWRAP_freeDCtx.c"
.option pic
.text
.align 1
.type ZWRAP_freeDCtx, @function
ZWRAP_freeDCtx:
addi sp,sp,-32
sd ra,24(sp)
sd s0,16(sp)
addi s0,sp,32
sd a0,-24(s0)
ld a5,-24(s0)
bnez a5,.L2
li a5,0
j .L3
.L2:
ld a5,-24(s0)
lw a5,16(a5)
mv a0,a5
call ZSTD_freeDStream@plt
ld a5,-24(s0)
ld a4,8(a5)
ld a5,-24(s0)
lw a5,0(a5)
mv a1,a5
mv a0,a4
call ZSTD_free@plt
ld a5,-24(s0)
lw a5,0(a5)
mv a1,a5
ld a0,-24(s0)
call ZSTD_free@plt
li a5,0
.L3:
mv a0,a5
ld ra,24(sp)
ld s0,16(sp)
addi sp,sp,32
jr ra
.size ZWRAP_freeDCtx, .-ZWRAP_freeDCtx
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
anghabench
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_freeFunction.c"
.intel_syntax noprefix
.text
.type ZWRAP_freeFunction, @function
ZWRAP_freeFunction:
.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 rax, QWORD PTR -24[rbp]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov rcx, QWORD PTR 8[rax]
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR [rax]
mov rdx, QWORD PTR -32[rbp]
mov rsi, rdx
mov edi, eax
call rcx
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size ZWRAP_freeFunction, .-ZWRAP_freeFunction
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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_zstd_zlibwrapper.c_ZWRAP_freeFunction.c"
.option pic
.text
.align 1
.type ZWRAP_freeFunction, @function
ZWRAP_freeFunction:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
addi s0,sp,48
sd a0,-40(s0)
sd a1,-48(s0)
ld a5,-40(s0)
sd a5,-24(s0)
ld a5,-24(s0)
ld a4,8(a5)
ld a5,-24(s0)
lw a5,0(a5)
ld a1,-48(s0)
mv a0,a5
jalr a4
nop
ld ra,40(sp)
ld s0,32(sp)
addi sp,sp,48
jr ra
.size ZWRAP_freeFunction, .-ZWRAP_freeFunction
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
anghabench
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_getDecompressionType.c"
.intel_syntax noprefix
.text
.globl g_ZWRAPdecompressionType
.bss
.align 4
.type g_ZWRAPdecompressionType, @object
.size g_ZWRAPdecompressionType, 4
g_ZWRAPdecompressionType:
.zero 4
.text
.globl ZWRAP_getDecompressionType
.type ZWRAP_getDecompressionType, @function
ZWRAP_getDecompressionType:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, DWORD PTR g_ZWRAPdecompressionType[rip]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size ZWRAP_getDecompressionType, .-ZWRAP_getDecompressionType
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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_zstd_zlibwrapper.c_ZWRAP_getDecompressionType.c"
.option pic
.text
.comm g_ZWRAPdecompressionType,4,4
.align 1
.globl ZWRAP_getDecompressionType
.type ZWRAP_getDecompressionType, @function
ZWRAP_getDecompressionType:
addi sp,sp,-16
sd s0,8(sp)
addi s0,sp,16
la a5,g_ZWRAPdecompressionType
lw a5,0(a5)
mv a0,a5
ld s0,8(sp)
addi sp,sp,16
jr ra
.size ZWRAP_getDecompressionType, .-ZWRAP_getDecompressionType
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
anghabench
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_inflateReset_keepDict.c"
.intel_syntax noprefix
.text
.globl ZWRAP_FORCE_ZLIB
.bss
.align 8
.type ZWRAP_FORCE_ZLIB, @object
.size ZWRAP_FORCE_ZLIB, 8
ZWRAP_FORCE_ZLIB:
.zero 8
.globl ZWRAP_useReset
.align 4
.type ZWRAP_useReset, @object
.size ZWRAP_useReset, 4
ZWRAP_useReset:
.zero 4
.globl Z_OK
.align 4
.type Z_OK, @object
.size Z_OK, 4
Z_OK:
.zero 4
.globl Z_STREAM_ERROR
.align 4
.type Z_STREAM_ERROR, @object
.size Z_STREAM_ERROR, 4
Z_STREAM_ERROR:
.zero 4
.globl g_ZWRAPdecompressionType
.align 8
.type g_ZWRAPdecompressionType, @object
.size g_ZWRAPdecompressionType, 8
g_ZWRAPdecompressionType:
.zero 8
.section .rodata
.align 8
.LC0:
.string "- ZWRAP_inflateReset_keepDict\n"
.text
.globl ZWRAP_inflateReset_keepDict
.type ZWRAP_inflateReset_keepDict, @function
ZWRAP_inflateReset_keepDict:
.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
lea rdi, .LC0[rip]
call LOG_WRAPPERD@PLT
mov rdx, QWORD PTR g_ZWRAPdecompressionType[rip]
mov rax, QWORD PTR ZWRAP_FORCE_ZLIB[rip]
cmp rdx, rax
je .L2
mov rax, QWORD PTR -24[rbp]
mov eax, DWORD PTR 24[rax]
test eax, eax
jne .L3
.L2:
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call inflateReset@PLT
jmp .L4
.L3:
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 16[rax]
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
jne .L5
mov eax, DWORD PTR Z_STREAM_ERROR[rip]
jmp .L4
.L5:
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call ZWRAP_initDCtx@PLT
mov edx, DWORD PTR ZWRAP_useReset[rip]
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR 8[rax], edx
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR [rax], 0
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR 8[rax], 0
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR [rax], 0
mov eax, DWORD PTR Z_OK[rip]
.L4:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size ZWRAP_inflateReset_keepDict, .-ZWRAP_inflateReset_keepDict
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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_zstd_zlibwrapper.c_ZWRAP_inflateReset_keepDict.c"
.option pic
.text
.comm ZWRAP_FORCE_ZLIB,8,8
.comm ZWRAP_useReset,4,4
.comm Z_OK,4,4
.comm Z_STREAM_ERROR,4,4
.comm g_ZWRAPdecompressionType,8,8
.section .rodata
.align 3
.LC0:
.string "- ZWRAP_inflateReset_keepDict\n"
.text
.align 1
.globl ZWRAP_inflateReset_keepDict
.type ZWRAP_inflateReset_keepDict, @function
ZWRAP_inflateReset_keepDict:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
addi s0,sp,48
sd a0,-40(s0)
lla a0,.LC0
call LOG_WRAPPERD@plt
la a5,g_ZWRAPdecompressionType
ld a4,0(a5)
la a5,ZWRAP_FORCE_ZLIB
ld a5,0(a5)
beq a4,a5,.L2
ld a5,-40(s0)
lw a5,24(a5)
bnez a5,.L3
.L2:
ld a0,-40(s0)
call inflateReset@plt
mv a5,a0
j .L4
.L3:
ld a5,-40(s0)
ld a5,16(a5)
sd a5,-24(s0)
ld a5,-24(s0)
bnez a5,.L5
la a5,Z_STREAM_ERROR
lw a5,0(a5)
j .L4
.L5:
ld a0,-24(s0)
call ZWRAP_initDCtx@plt
la a5,ZWRAP_useReset
lw a4,0(a5)
ld a5,-24(s0)
sw a4,8(a5)
ld a5,-24(s0)
sd zero,0(a5)
ld a5,-40(s0)
sd zero,8(a5)
ld a5,-40(s0)
sd zero,0(a5)
la a5,Z_OK
lw a5,0(a5)
.L4:
mv a0,a5
ld ra,40(sp)
ld s0,32(sp)
addi sp,sp,48
jr ra
.size ZWRAP_inflateReset_keepDict, .-ZWRAP_inflateReset_keepDict
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
anghabench
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_initDCtx.c"
.intel_syntax noprefix
.text
.type ZWRAP_initDCtx, @function
ZWRAP_initDCtx:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 16[rax], 0
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], 0
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR [rax], 0
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size ZWRAP_initDCtx, .-ZWRAP_initDCtx
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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_zstd_zlibwrapper.c_ZWRAP_initDCtx.c"
.option pic
.text
.align 1
.type ZWRAP_initDCtx, @function
ZWRAP_initDCtx:
addi sp,sp,-32
sd s0,24(sp)
addi s0,sp,32
sd a0,-24(s0)
ld a5,-24(s0)
sd zero,16(a5)
ld a5,-24(s0)
sd zero,8(a5)
ld a5,-24(s0)
sd zero,0(a5)
nop
ld s0,24(sp)
addi sp,sp,32
jr ra
.size ZWRAP_initDCtx, .-ZWRAP_initDCtx
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
anghabench
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_initializeCStream.c"
.intel_syntax noprefix
.text
.globl Z_OK
.bss
.align 4
.type Z_OK, @object
.size Z_OK, 4
Z_OK:
.zero 4
.globl Z_STREAM_ERROR
.align 4
.type Z_STREAM_ERROR, @object
.size Z_STREAM_ERROR, 4
Z_STREAM_ERROR:
.zero 4
.section .rodata
.LC0:
.string "- ZWRAP_initializeCStream=%p\n"
.align 8
.LC1:
.string "pledgedSrcSize=%d windowLog=%d chainLog=%d hashLog=%d searchLog=%d minMatch=%d strategy=%d\n"
.text
.type ZWRAP_initializeCStream, @function
ZWRAP_initializeCStream:
.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, 80
mov QWORD PTR -56[rbp], rdi
mov QWORD PTR -64[rbp], rsi
mov QWORD PTR -72[rbp], rdx
mov QWORD PTR -80[rbp], rcx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov rax, QWORD PTR -56[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call LOG_WRAPPERC@PLT
cmp QWORD PTR -56[rbp], 0
je .L2
mov rax, QWORD PTR -56[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
jne .L3
.L2:
mov eax, DWORD PTR Z_STREAM_ERROR[rip]
jmp .L4
.L3:
cmp QWORD PTR -80[rbp], 0
jne .L5
mov rax, QWORD PTR -56[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -80[rbp], rax
.L5:
mov rax, QWORD PTR -56[rbp]
mov esi, DWORD PTR 16[rax]
lea rax, -32[rbp]
mov rcx, QWORD PTR -72[rbp]
mov rdx, QWORD PTR -80[rbp]
mov rdi, rax
call ZSTD_getParams@PLT
mov esi, DWORD PTR -32[rbp]
mov ecx, DWORD PTR -28[rbp]
mov r9d, DWORD PTR -24[rbp]
mov r8d, DWORD PTR -20[rbp]
mov edx, DWORD PTR -16[rbp]
mov eax, DWORD PTR -12[rbp]
mov rdi, QWORD PTR -80[rbp]
push rsi
push rcx
mov ecx, edx
mov edx, eax
mov esi, edi
lea rdi, .LC1[rip]
mov eax, 0
call LOG_WRAPPERC@PLT
add rsp, 16
mov rax, QWORD PTR -56[rbp]
mov rax, QWORD PTR 8[rax]
mov rcx, QWORD PTR -80[rbp]
mov rdx, QWORD PTR -72[rbp]
mov rsi, QWORD PTR -64[rbp]
sub rsp, 8
push QWORD PTR -16[rbp]
push QWORD PTR -24[rbp]
push QWORD PTR -32[rbp]
mov rdi, rax
call ZSTD_initCStream_advanced@PLT
add rsp, 32
mov QWORD PTR -40[rbp], rax
mov rax, QWORD PTR -40[rbp]
mov rdi, rax
call ZSTD_isError@PLT
test rax, rax
je .L6
mov eax, DWORD PTR Z_STREAM_ERROR[rip]
jmp .L4
.L6:
mov eax, DWORD PTR Z_OK[rip]
.L4:
mov rdx, QWORD PTR -8[rbp]
sub rdx, QWORD PTR fs:40
je .L7
call __stack_chk_fail@PLT
.L7:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size ZWRAP_initializeCStream, .-ZWRAP_initializeCStream
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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_zstd_zlibwrapper.c_ZWRAP_initializeCStream.c"
.option pic
.text
.comm Z_OK,4,4
.comm Z_STREAM_ERROR,4,4
.section .rodata
.align 3
.LC0:
.string "- ZWRAP_initializeCStream=%p\n"
.align 3
.LC1:
.string "pledgedSrcSize=%d windowLog=%d chainLog=%d hashLog=%d searchLog=%d minMatch=%d strategy=%d\n"
.text
.align 1
.type ZWRAP_initializeCStream, @function
ZWRAP_initializeCStream:
addi sp,sp,-128
sd ra,120(sp)
sd s0,112(sp)
addi s0,sp,128
sd a0,-72(s0)
sd a1,-80(s0)
sd a2,-88(s0)
sd a3,-96(s0)
la a5,__stack_chk_guard
ld a5,0(a5)
sd a5,-24(s0)
ld a1,-72(s0)
lla a0,.LC0
call LOG_WRAPPERC@plt
ld a5,-72(s0)
beqz a5,.L2
ld a5,-72(s0)
ld a5,8(a5)
bnez a5,.L3
.L2:
la a5,Z_STREAM_ERROR
lw a5,0(a5)
j .L4
.L3:
ld a5,-96(s0)
bnez a5,.L5
ld a5,-72(s0)
ld a5,0(a5)
sd a5,-96(s0)
.L5:
ld a5,-72(s0)
lw a4,16(a5)
addi a5,s0,-48
ld a3,-88(s0)
ld a2,-96(s0)
mv a1,a4
mv a0,a5
call ZSTD_getParams@plt
ld a5,-96(s0)
sext.w a1,a5
lw a2,-28(s0)
lw a3,-32(s0)
lw a4,-36(s0)
lw a5,-40(s0)
lw a0,-44(s0)
lw a6,-48(s0)
mv a7,a6
mv a6,a0
lla a0,.LC1
call LOG_WRAPPERC@plt
ld a5,-72(s0)
ld a0,8(a5)
ld a5,-48(s0)
sd a5,-128(s0)
ld a5,-40(s0)
sd a5,-120(s0)
ld a5,-32(s0)
sd a5,-112(s0)
addi a5,s0,-128
ld a4,-96(s0)
mv a3,a5
ld a2,-88(s0)
ld a1,-80(s0)
call ZSTD_initCStream_advanced@plt
sd a0,-56(s0)
ld a0,-56(s0)
call ZSTD_isError@plt
mv a5,a0
beqz a5,.L6
la a5,Z_STREAM_ERROR
lw a5,0(a5)
j .L4
.L6:
la a5,Z_OK
lw a5,0(a5)
.L4:
mv a3,a5
la a5,__stack_chk_guard
ld a4,-24(s0)
ld a5,0(a5)
beq a4,a5,.L7
call __stack_chk_fail@plt
.L7:
mv a0,a3
ld ra,120(sp)
ld s0,112(sp)
addi sp,sp,128
jr ra
.size ZWRAP_initializeCStream, .-ZWRAP_initializeCStream
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
anghabench
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_isUsingZSTDcompression.c"
.intel_syntax noprefix
.text
.globl g_ZWRAP_useZSTDcompression
.bss
.align 4
.type g_ZWRAP_useZSTDcompression, @object
.size g_ZWRAP_useZSTDcompression, 4
g_ZWRAP_useZSTDcompression:
.zero 4
.text
.globl ZWRAP_isUsingZSTDcompression
.type ZWRAP_isUsingZSTDcompression, @function
ZWRAP_isUsingZSTDcompression:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, DWORD PTR g_ZWRAP_useZSTDcompression[rip]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size ZWRAP_isUsingZSTDcompression, .-ZWRAP_isUsingZSTDcompression
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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_zstd_zlibwrapper.c_ZWRAP_isUsingZSTDcompression.c"
.option pic
.text
.comm g_ZWRAP_useZSTDcompression,4,4
.align 1
.globl ZWRAP_isUsingZSTDcompression
.type ZWRAP_isUsingZSTDcompression, @function
ZWRAP_isUsingZSTDcompression:
addi sp,sp,-16
sd s0,8(sp)
addi s0,sp,16
la a5,g_ZWRAP_useZSTDcompression
lw a5,0(a5)
mv a0,a5
ld s0,8(sp)
addi sp,sp,16
jr ra
.size ZWRAP_isUsingZSTDcompression, .-ZWRAP_isUsingZSTDcompression
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
anghabench
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_isUsingZSTDdecompression.c"
.intel_syntax noprefix
.text
.globl ZWRAP_ZSTD_STREAM
.bss
.align 8
.type ZWRAP_ZSTD_STREAM, @object
.size ZWRAP_ZSTD_STREAM, 8
ZWRAP_ZSTD_STREAM:
.zero 8
.text
.globl ZWRAP_isUsingZSTDdecompression
.type ZWRAP_isUsingZSTDdecompression, @function
ZWRAP_isUsingZSTDdecompression:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
cmp QWORD PTR -8[rbp], 0
jne .L2
mov eax, 0
jmp .L3
.L2:
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR ZWRAP_ZSTD_STREAM[rip]
cmp rdx, rax
sete al
movzx eax, al
.L3:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size ZWRAP_isUsingZSTDdecompression, .-ZWRAP_isUsingZSTDdecompression
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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_zstd_zlibwrapper.c_ZWRAP_isUsingZSTDdecompression.c"
.option pic
.text
.comm ZWRAP_ZSTD_STREAM,8,8
.align 1
.globl ZWRAP_isUsingZSTDdecompression
.type ZWRAP_isUsingZSTDdecompression, @function
ZWRAP_isUsingZSTDdecompression:
addi sp,sp,-32
sd s0,24(sp)
addi s0,sp,32
sd a0,-24(s0)
ld a5,-24(s0)
bnez a5,.L2
li a5,0
j .L3
.L2:
ld a5,-24(s0)
ld a4,0(a5)
la a5,ZWRAP_ZSTD_STREAM
ld a5,0(a5)
sub a5,a4,a5
seqz a5,a5
andi a5,a5,0xff
sext.w a5,a5
.L3:
mv a0,a5
ld s0,24(sp)
addi sp,sp,32
jr ra
.size ZWRAP_isUsingZSTDdecompression, .-ZWRAP_isUsingZSTDdecompression
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
anghabench
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_setDecompressionType.c"
.intel_syntax noprefix
.text
.globl g_ZWRAPdecompressionType
.bss
.align 4
.type g_ZWRAPdecompressionType, @object
.size g_ZWRAPdecompressionType, 4
g_ZWRAPdecompressionType:
.zero 4
.text
.globl ZWRAP_setDecompressionType
.type ZWRAP_setDecompressionType, @function
ZWRAP_setDecompressionType:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -4[rbp], edi
mov eax, DWORD PTR -4[rbp]
mov DWORD PTR g_ZWRAPdecompressionType[rip], eax
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size ZWRAP_setDecompressionType, .-ZWRAP_setDecompressionType
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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_zstd_zlibwrapper.c_ZWRAP_setDecompressionType.c"
.option pic
.text
.comm g_ZWRAPdecompressionType,4,4
.align 1
.globl ZWRAP_setDecompressionType
.type ZWRAP_setDecompressionType, @function
ZWRAP_setDecompressionType:
addi sp,sp,-32
sd s0,24(sp)
addi s0,sp,32
mv a5,a0
sw a5,-20(s0)
la a5,g_ZWRAPdecompressionType
lw a4,-20(s0)
sw a4,0(a5)
nop
ld s0,24(sp)
addi sp,sp,32
jr ra
.size ZWRAP_setDecompressionType, .-ZWRAP_setDecompressionType
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
anghabench
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_setPledgedSrcSize.c"
.intel_syntax noprefix
.text
.globl ZWRAP_useInit
.bss
.align 4
.type ZWRAP_useInit, @object
.size ZWRAP_useInit, 4
ZWRAP_useInit:
.zero 4
.globl Z_OK
.align 4
.type Z_OK, @object
.size Z_OK, 4
Z_OK:
.zero 4
.globl Z_STREAM_ERROR
.align 4
.type Z_STREAM_ERROR, @object
.size Z_STREAM_ERROR, 4
Z_STREAM_ERROR:
.zero 4
.text
.globl ZWRAP_setPledgedSrcSize
.type ZWRAP_setPledgedSrcSize, @function
ZWRAP_setPledgedSrcSize:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
jne .L2
mov eax, DWORD PTR Z_STREAM_ERROR[rip]
jmp .L3
.L2:
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR -32[rbp]
mov QWORD PTR [rax], rdx
mov edx, DWORD PTR ZWRAP_useInit[rip]
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR 8[rax], edx
mov eax, DWORD PTR Z_OK[rip]
.L3:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size ZWRAP_setPledgedSrcSize, .-ZWRAP_setPledgedSrcSize
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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_zstd_zlibwrapper.c_ZWRAP_setPledgedSrcSize.c"
.option pic
.text
.comm ZWRAP_useInit,4,4
.comm Z_OK,4,4
.comm Z_STREAM_ERROR,4,4
.align 1
.globl ZWRAP_setPledgedSrcSize
.type ZWRAP_setPledgedSrcSize, @function
ZWRAP_setPledgedSrcSize:
addi sp,sp,-48
sd s0,40(sp)
addi s0,sp,48
sd a0,-40(s0)
sd a1,-48(s0)
ld a5,-40(s0)
ld a5,0(a5)
sd a5,-24(s0)
ld a5,-24(s0)
bnez a5,.L2
la a5,Z_STREAM_ERROR
lw a5,0(a5)
j .L3
.L2:
ld a5,-24(s0)
ld a4,-48(s0)
sd a4,0(a5)
la a5,ZWRAP_useInit
lw a4,0(a5)
ld a5,-24(s0)
sw a4,8(a5)
la a5,Z_OK
lw a5,0(a5)
.L3:
mv a0,a5
ld s0,40(sp)
addi sp,sp,48
jr ra
.size ZWRAP_setPledgedSrcSize, .-ZWRAP_setPledgedSrcSize
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
anghabench
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_useZSTDcompression.c"
.intel_syntax noprefix
.text
.globl g_ZWRAP_useZSTDcompression
.bss
.align 4
.type g_ZWRAP_useZSTDcompression, @object
.size g_ZWRAP_useZSTDcompression, 4
g_ZWRAP_useZSTDcompression:
.zero 4
.text
.globl ZWRAP_useZSTDcompression
.type ZWRAP_useZSTDcompression, @function
ZWRAP_useZSTDcompression:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -4[rbp], edi
mov eax, DWORD PTR -4[rbp]
mov DWORD PTR g_ZWRAP_useZSTDcompression[rip], eax
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size ZWRAP_useZSTDcompression, .-ZWRAP_useZSTDcompression
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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_zstd_zlibwrapper.c_ZWRAP_useZSTDcompression.c"
.option pic
.text
.comm g_ZWRAP_useZSTDcompression,4,4
.align 1
.globl ZWRAP_useZSTDcompression
.type ZWRAP_useZSTDcompression, @function
ZWRAP_useZSTDcompression:
addi sp,sp,-32
sd s0,24(sp)
addi s0,sp,32
mv a5,a0
sw a5,-20(s0)
la a5,g_ZWRAP_useZSTDcompression
lw a4,-20(s0)
sw a4,0(a5)
nop
ld s0,24(sp)
addi sp,sp,32
jr ra
.size ZWRAP_useZSTDcompression, .-ZWRAP_useZSTDcompression
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
anghabench
|
.file "extr_zstd_zlibwrapper.c_zstdVersion.c"
.intel_syntax noprefix
.text
.globl ZSTD_VERSION_STRING
.bss
.align 8
.type ZSTD_VERSION_STRING, @object
.size ZSTD_VERSION_STRING, 8
ZSTD_VERSION_STRING:
.zero 8
.text
.globl zstdVersion
.type zstdVersion, @function
zstdVersion:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov rax, QWORD PTR ZSTD_VERSION_STRING[rip]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size zstdVersion, .-zstdVersion
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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_zstd_zlibwrapper.c_zstdVersion.c"
.option pic
.text
.comm ZSTD_VERSION_STRING,8,8
.align 1
.globl zstdVersion
.type zstdVersion, @function
zstdVersion:
addi sp,sp,-16
sd s0,8(sp)
addi s0,sp,16
la a5,ZSTD_VERSION_STRING
ld a5,0(a5)
mv a0,a5
ld s0,8(sp)
addi sp,sp,16
jr ra
.size zstdVersion, .-zstdVersion
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0"
.section .note.GNU-stack,"",@progbits
|
anghabench
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.