x86
stringlengths 335
106k
| arm
stringlengths 349
104k
|
---|---|
.file "extr_test.c_parse_args.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "--%s is a required argument but is not set\n"
.section .rodata.str1.1,"aMS",@progbits,1
.LC1:
.string "\n"
.text
.p2align 4
.type parse_args, @function
parse_args:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov ebp, edi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbx, rsi
sub rsp, 16
.cfi_def_cfa_offset 48
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
mov DWORD PTR 4[rsp], 0
lea r12, 4[rsp]
.L8:
mov rcx, QWORD PTR long_options[rip]
mov r8, r12
mov rsi, rbx
mov edi, ebp
mov edx, DWORD PTR short_options[rip]
call getopt_long@PLT
mov ecx, eax
cmp eax, -1
je .L2
mov rsi, QWORD PTR nargs[rip]
test rsi, rsi
je .L4
mov rax, QWORD PTR long_extras[rip]
xor edx, edx
.L9:
cmp DWORD PTR [rax], ecx
je .L30
.L7:
add rdx, 1
add rax, 24
cmp rdx, rsi
jne .L9
.L4:
xor eax, eax
mov r12d, 1
call print_help@PLT
.L1:
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L31
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 32
mov eax, r12d
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L30:
.cfi_restore_state
mov rdi, QWORD PTR 16[rax]
test rdi, rdi
je .L7
mov rax, QWORD PTR optarg[rip]
mov QWORD PTR [rdi], rax
jmp .L8
.p2align 4,,10
.p2align 3
.L2:
xor ebx, ebx
xor r12d, r12d
cmp QWORD PTR nargs[rip], 0
jne .L5
jmp .L6
.p2align 4,,10
.p2align 3
.L11:
add rbx, 1
cmp QWORD PTR nargs[rip], rbx
jbe .L32
.L5:
mov rdx, QWORD PTR long_extras[rip]
lea rax, [rbx+rbx*2]
mov rdi, QWORD PTR required_option[rip]
lea rax, [rdx+rax*8]
cmp QWORD PTR 8[rax], rdi
jne .L11
mov rax, QWORD PTR 16[rax]
test rax, rax
je .L11
cmp QWORD PTR [rax], 0
jne .L11
mov rax, QWORD PTR long_options[rip]
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC0[rip]
mov r12d, 1
mov rdx, QWORD PTR [rax+rbx*8]
xor eax, eax
add rbx, 1
call fprintf@PLT
cmp QWORD PTR nargs[rip], rbx
ja .L5
.p2align 4,,10
.p2align 3
.L32:
test r12d, r12d
jne .L33
.L6:
xor r12d, r12d
jmp .L1
.L33:
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC1[rip]
xor eax, eax
call fprintf@PLT
xor eax, eax
call print_help@PLT
jmp .L1
.L31:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size parse_args, .-parse_args
.globl stderr
.bss
.align 4
.type stderr, @object
.size stderr, 4
stderr:
.zero 4
.globl short_options
.align 4
.type short_options, @object
.size short_options, 4
short_options:
.zero 4
.globl required_option
.align 8
.type required_option, @object
.size required_option, 8
required_option:
.zero 8
.globl optarg
.align 8
.type optarg, @object
.size optarg, 8
optarg:
.zero 8
.globl nargs
.align 8
.type nargs, @object
.size nargs, 8
nargs:
.zero 8
.globl long_options
.align 8
.type long_options, @object
.size long_options, 8
long_options:
.zero 8
.globl long_extras
.align 8
.type long_extras, @object
.size long_extras, 8
long_extras:
.zero 8
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_test.c_parse_args.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "--%s is a required argument but is not set\012\000"
.align 2
.LC1:
.ascii "\012\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC2:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type parse_args, %function
parse_args:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
mov r3, #0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
mov r4, r0
mov fp, r1
ldr r2, .L33
sub sp, sp, #20
ldr r6, .L33+4
ldr r8, .L33+8
ldr r5, .L33+12
ldr r9, .L33+16
ldr r10, .L33+20
ldr r2, [r2]
str r2, [sp, #12]
mov r2,#0
add r7, sp, #8
str r3, [sp, #8]
.L8:
str r7, [sp]
mov r1, fp
mov r0, r4
ldr r3, [r6]
ldr r2, [r8]
bl getopt_long
cmn r0, #1
beq .L2
ldr ip, [r5]
cmp ip, #0
beq .L4
mov r2, #0
ldr r3, [r9]
add r3, r3, #8
.L9:
ldr r1, [r3, #-8]
cmp r1, r0
beq .L29
.L7:
add r2, r2, #1
cmp r2, ip
add r3, r3, #12
bne .L9
.L4:
bl print_help
mov r8, #1
.L1:
ldr r3, .L33
ldr r2, [r3]
ldr r3, [sp, #12]
eors r2, r3, r2
mov r3, #0
bne .L30
mov r0, r8
add sp, sp, #20
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L29:
ldr r1, [r3]
cmp r1, #0
beq .L7
ldr r3, [r10]
str r3, [r1]
b .L8
.L2:
ldr r3, [r5]
cmp r3, #0
beq .L6
mov r4, #0
ldr fp, .L33+16
mov r7, r4
mov r8, r4
ldr r9, .L33+24
ldr r10, .L33+28
ldr r1, .L33+32
b .L5
.L11:
ldr r3, [r5]
add r7, r7, #1
cmp r3, r7
add r4, r4, #12
bls .L31
.L5:
ldr r3, [fp]
ldr r2, [r9]
add r3, r3, r4
ldr r0, [r3, #4]
cmp r0, r2
bne .L11
ldr r3, [r3, #8]
cmp r3, #0
beq .L11
ldr r3, [r3]
cmp r3, #0
bne .L11
ldr r3, [r6]
ldr r0, [r10]
ldr r2, [r3, r7, lsl #2]
bl fprintf
mov r8, #1
ldr r1, .L33+32
b .L11
.L31:
cmp r8, #0
bne .L32
.L6:
mov r8, #0
b .L1
.L32:
ldr r3, .L33+28
ldr r1, .L33+36
ldr r0, [r3]
bl fprintf
bl print_help
b .L1
.L30:
bl __stack_chk_fail
.L34:
.align 2
.L33:
.word .LC2
.word long_options
.word short_options
.word nargs
.word long_extras
.word optarg
.word required_option
.word stderr
.word .LC0
.word .LC1
.size parse_args, .-parse_args
.comm stderr,4,4
.comm short_options,4,4
.comm required_option,4,4
.comm optarg,4,4
.comm nargs,4,4
.comm long_options,4,4
.comm long_extras,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_test.c_required_message.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string ""
.LC1:
.string "[optional]"
.LC2:
.string "[required]"
.text
.p2align 4
.type required_message, @function
required_message:
.LFB0:
.cfi_startproc
endbr64
lea rax, .LC1[rip]
cmp edi, 129
je .L10
lea rax, .LC0[rip]
cmp edi, 130
je .L10
lea rax, .LC2[rip]
cmp edi, 128
je .L10
sub rsp, 8
.cfi_def_cfa_offset 16
xor edi, edi
call assert@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L10:
ret
.cfi_endproc
.LFE0:
.size required_message, .-required_message
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_test.c_required_message.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type required_message, %function
required_message:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
sub r0, r0, #128
cmp r0, #2
bhi .L2
ldr r3, .L8
ldr r0, [r3, r0, lsl #2]
bx lr
.L2:
push {r4, lr}
mov r0, #0
bl assert
mov r0, #0
pop {r4, pc}
.L9:
.align 2
.L8:
.word .LANCHOR0
.size required_message, .-required_message
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "[required]\000"
.align 2
.LC1:
.ascii "[optional]\000"
.align 2
.LC2:
.ascii "\000"
.section .rodata
.align 2
.set .LANCHOR0,. + 0
.type CSWTCH.1, %object
.size CSWTCH.1, 12
CSWTCH.1:
.word .LC0
.word .LC1
.word .LC2
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_test.c_run_all.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "Method"
.LC1:
.string "Config"
.LC2:
.string "Data"
.LC3:
.string "Total compressed size\n"
.LC4:
.string "%s\n"
.LC5:
.string "%llu\n"
.text
.p2align 4
.type run_all, @function
run_all:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
lea rcx, .LC0[rip]
lea rdx, .LC1[rip]
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
lea rsi, .LC2[rip]
mov r14, rdi
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
sub rsp, 8
.cfi_def_cfa_offset 64
call tprint_names@PLT
lea rsi, .LC3[rip]
mov rdi, r14
xor eax, eax
call tprintf@PLT
mov rax, QWORD PTR methods[rip]
mov rax, QWORD PTR [rax]
test rax, rax
je .L2
xor r12d, r12d
jmp .L19
.p2align 4,,10
.p2align 3
.L5:
mov rax, QWORD PTR methods[rip]
add r12, 8
mov rax, QWORD PTR [rax+r12]
test rax, rax
je .L2
.L19:
mov rsi, QWORD PTR g_method[rip]
test rsi, rsi
je .L6
mov rdi, QWORD PTR [rax]
call strcmp@PLT
test rax, rax
jne .L5
.L6:
mov rax, QWORD PTR data[rip]
xor ebp, ebp
mov rdx, QWORD PTR [rax]
test rdx, rdx
jne .L4
jmp .L5
.p2align 4,,10
.p2align 3
.L10:
mov rax, QWORD PTR data[rip]
add rbp, 8
mov rdx, QWORD PTR [rax+rbp]
test rdx, rdx
je .L5
.L4:
mov rsi, QWORD PTR g_data[rip]
test rsi, rsi
je .L11
mov rdi, QWORD PTR [rdx]
call strcmp@PLT
test rax, rax
jne .L10
mov rax, QWORD PTR data[rip]
.L11:
mov rdi, QWORD PTR [rax+rbp]
mov rax, QWORD PTR methods[rip]
xor ebx, ebx
mov rax, QWORD PTR [rax+r12]
call [QWORD PTR 24[rax]]
mov r13, rax
mov rax, QWORD PTR configs[rip]
mov rdx, QWORD PTR [rax]
test rdx, rdx
jne .L8
jmp .L9
.p2align 4,,10
.p2align 3
.L36:
call result_get_error_string@PLT
lea rsi, .LC4[rip]
mov rdi, r14
mov rdx, rax
xor eax, eax
call tprintf@PLT
.L18:
mov rdi, r14
call tflush@PLT
.L16:
mov rax, QWORD PTR configs[rip]
add rbx, 8
mov rdx, QWORD PTR [rax+rbx]
test rdx, rdx
je .L9
.L8:
mov rsi, QWORD PTR g_config[rip]
test rsi, rsi
je .L15
mov rdi, QWORD PTR [rdx]
call strcmp@PLT
mov r8, rax
mov rax, QWORD PTR configs[rip]
test r8, r8
jne .L16
.L15:
mov rdx, QWORD PTR data[rip]
mov rdi, QWORD PTR [rax+rbx]
mov rsi, QWORD PTR [rdx+rbp]
call config_skip_data@PLT
test rax, rax
jne .L16
mov rax, QWORD PTR configs[rip]
mov rdi, r13
mov rsi, QWORD PTR [rax+rbx]
mov rax, QWORD PTR methods[rip]
mov rax, QWORD PTR [rax+r12]
call [QWORD PTR 16[rax]]
mov edi, eax
mov r15d, eax
call result_is_skip@PLT
test rax, rax
jne .L16
mov rax, QWORD PTR methods[rip]
mov rdi, r14
mov rcx, QWORD PTR [rax+r12]
mov rax, QWORD PTR configs[rip]
mov rdx, QWORD PTR [rax+rbx]
mov rax, QWORD PTR data[rip]
mov rcx, QWORD PTR [rcx]
mov rax, QWORD PTR [rax+rbp]
mov rdx, QWORD PTR [rdx]
mov rsi, QWORD PTR [rax]
call tprint_names@PLT
mov edi, r15d
call result_is_error@PLT
mov edi, r15d
test rax, rax
jne .L36
call result_get_data@PLT
lea rsi, .LC5[rip]
mov rdi, r14
mov rdx, rax
xor eax, eax
call tprintf@PLT
jmp .L18
.p2align 4,,10
.p2align 3
.L9:
mov rax, QWORD PTR methods[rip]
mov rdi, r13
mov rax, QWORD PTR [rax+r12]
call [QWORD PTR 8[rax]]
jmp .L10
.L2:
add rsp, 8
.cfi_def_cfa_offset 56
xor eax, eax
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size run_all, .-run_all
.globl methods
.bss
.align 8
.type methods, @object
.size methods, 8
methods:
.zero 8
.globl g_method
.align 8
.type g_method, @object
.size g_method, 8
g_method:
.zero 8
.globl g_data
.align 8
.type g_data, @object
.size g_data, 8
g_data:
.zero 8
.globl g_config
.align 8
.type g_config, @object
.size g_config, 8
g_config:
.zero 8
.globl data
.align 8
.type data, @object
.size data, 8
data:
.zero 8
.globl configs
.align 8
.type configs, @object
.size configs, 8
configs:
.zero 8
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_test.c_run_all.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "Method\000"
.align 2
.LC1:
.ascii "Config\000"
.align 2
.LC2:
.ascii "Data\000"
.align 2
.LC3:
.ascii "Total compressed size\012\000"
.align 2
.LC4:
.ascii "%s\012\000"
.align 2
.LC5:
.ascii "%llu\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type run_all, %function
run_all:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
mov r10, r0
ldr r3, .L36
ldr r2, .L36+4
ldr r1, .L36+8
sub sp, sp, #12
ldr fp, .L36+12
bl tprint_names
mov r0, r10
ldr r1, .L36+16
bl tprintf
ldr r4, [fp]
ldr r3, [r4]
cmp r3, #0
beq .L32
mov r2, #0
ldr r8, .L36+20
ldr r6, .L36+24
str r2, [sp, #4]
b .L2
.L5:
ldr r3, [sp, #4]
add r3, r3, #4
str r3, [sp, #4]
ldr r3, [r4, r3]
cmp r3, #0
beq .L32
.L2:
ldr r2, .L36+28
ldr r1, [r2]
cmp r1, #0
beq .L6
ldr r0, [r3]
bl strcmp
cmp r0, #0
bne .L5
.L6:
ldr r3, [r8]
ldr r5, [r3]
cmp r5, #0
movne r7, #0
bne .L4
b .L5
.L8:
ldr r3, [r8]
add r7, r7, #4
ldr r5, [r3, r7]
cmp r5, #0
beq .L5
.L4:
ldr r3, .L36+32
ldr r1, [r3]
cmp r1, #0
beq .L7
ldr r0, [r5]
bl strcmp
cmp r0, #0
bne .L8
.L7:
ldr r3, [sp, #4]
mov r0, r5
ldr r3, [r4, r3]
ldr r3, [r3, #12]
blx r3
ldr r3, [r6]
mov r9, r0
ldr r5, [r3]
cmp r5, #0
movne r4, #0
bne .L9
b .L15
.L35:
bl result_get_error_string
mov r2, r0
mov r3, r1
mov r0, r10
ldr r1, .L36+36
bl tprintf
.L14:
mov r0, r10
bl tflush
.L11:
ldr r3, [r6]
add r4, r4, #4
ldr r5, [r3, r4]
cmp r5, #0
beq .L15
.L9:
ldr r3, .L36+40
ldr r1, [r3]
cmp r1, #0
beq .L10
ldr r0, [r5]
bl strcmp
cmp r0, #0
bne .L11
.L10:
ldr r3, [r8]
mov r0, r5
ldr r1, [r3, r7]
bl config_skip_data
cmp r0, #0
bne .L11
ldr r1, [sp, #4]
ldr r3, [fp]
ldr r2, [r6]
ldr r3, [r3, r1]
mov r0, r9
ldr r1, [r2, r4]
ldr r3, [r3, #8]
blx r3
mov r5, r0
bl result_is_skip
cmp r0, #0
bne .L11
ldr r0, [sp, #4]
ldr r3, [fp]
ldr r2, [r6]
ldr r1, [r8]
ldr r3, [r3, r0]
ldr r2, [r2, r4]
ldr r1, [r1, r7]
ldr r3, [r3]
ldr r2, [r2]
ldr r1, [r1]
mov r0, r10
bl tprint_names
mov r0, r5
bl result_is_error
cmp r0, #0
mov r0, r5
bne .L35
bl result_get_data
ldr r1, .L36+44
mov r2, r0
asr r3, r0, #31
mov r0, r10
bl tprintf
b .L14
.L15:
ldr r3, [fp]
ldr r2, [sp, #4]
mov r0, r9
ldr r3, [r3, r2]
ldr r3, [r3, #4]
blx r3
ldr r4, [fp]
b .L8
.L32:
mov r0, #0
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L37:
.align 2
.L36:
.word .LC0
.word .LC1
.word .LC2
.word methods
.word .LC3
.word data
.word configs
.word g_method
.word g_data
.word .LC4
.word g_config
.word .LC5
.size run_all, .-run_all
.comm methods,4,4
.comm g_method,4,4
.comm g_data,4,4
.comm g_config,4,4
.comm data,4,4
.comm configs,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_test.c_tprint_names.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string ""
.LC1:
.string "%s, %*s%s, %*s%s, %*s"
.text
.p2align 4
.globl tprint_names
.type tprint_names, @function
tprint_names:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
mov r13, rdi
mov rdi, rsi
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
mov r12, rsi
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
mov rbp, rcx
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
mov rbx, rdx
sub rsp, 24
.cfi_def_cfa_offset 80
mov r14d, DWORD PTR g_max_name_len[rip]
call strlen@PLT
mov rdi, rbx
mov ecx, r14d
mov r14d, DWORD PTR g_max_name_len[rip]
sub ecx, eax
mov DWORD PTR 12[rsp], ecx
call strlen@PLT
mov rdi, rbp
mov r15d, DWORD PTR g_max_name_len[rip]
sub r14d, eax
call strlen@PLT
sub rsp, 8
.cfi_def_cfa_offset 88
mov r9, rbx
mov rdx, r12
lea r8, .LC0[rip]
sub r15d, eax
mov rdi, r13
push r8
.cfi_def_cfa_offset 96
lea rsi, .LC1[rip]
push r15
.cfi_def_cfa_offset 104
push rbp
.cfi_def_cfa_offset 112
push r8
.cfi_def_cfa_offset 120
push r14
.cfi_def_cfa_offset 128
mov ecx, DWORD PTR 60[rsp]
call tprintf@PLT
add rsp, 72
.cfi_def_cfa_offset 56
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size tprint_names, .-tprint_names
.globl g_max_name_len
.bss
.align 4
.type g_max_name_len, @object
.size g_max_name_len, 4
g_max_name_len:
.zero 4
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_test.c_tprint_names.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s, %*s%s, %*s%s, %*s\000"
.align 2
.LC1:
.ascii "\000"
.text
.align 2
.global tprint_names
.syntax unified
.arm
.fpu softvfp
.type tprint_names, %function
tprint_names:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
mov r5, r1
ldr r1, .L4
sub sp, sp, #32
mov r8, r0
mov r0, r5
ldr r10, [r1]
mov r7, r2
mov r6, r3
bl strlen
mov r9, r0
mov r0, r7
bl strlen
mov r4, r0
mov r0, r6
bl strlen
ldr r1, .L4+4
sub ip, r10, r0
sub r4, r10, r4
str r1, [sp, #24]
str r1, [sp, #12]
str r1, [sp]
mov r2, r5
mov r0, r8
ldr r1, .L4+8
str r7, [sp, #4]
str r4, [sp, #8]
str r6, [sp, #16]
sub r3, r10, r9
str ip, [sp, #20]
bl tprintf
add sp, sp, #32
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
.align 2
.L4:
.word g_max_name_len
.word .LC1
.word .LC0
.size tprint_names, .-tprint_names
.comm g_max_name_len,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zwrapbench.c_BMK_SetBlockSize.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "using blocks of size %u KB \n"
.text
.p2align 4
.globl BMK_SetBlockSize
.type BMK_SetBlockSize, @function
BMK_SetBlockSize:
.LFB0:
.cfi_startproc
endbr64
mov rdx, rdi
mov QWORD PTR g_blockSize[rip], rdi
lea rsi, .LC0[rip]
mov edi, 2
shr rdx, 10
jmp DISPLAYLEVEL@PLT
.cfi_endproc
.LFE0:
.size BMK_SetBlockSize, .-BMK_SetBlockSize
.globl g_blockSize
.bss
.align 8
.type g_blockSize, @object
.size g_blockSize, 8
g_blockSize:
.zero 8
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zwrapbench.c_BMK_SetBlockSize.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "using blocks of size %u KB \012\000"
.text
.align 2
.global BMK_SetBlockSize
.syntax unified
.arm
.fpu softvfp
.type BMK_SetBlockSize, %function
BMK_SetBlockSize:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r3, r0
ldr ip, .L3
lsr r2, r0, #10
ldr r1, .L3+4
mov r0, #2
str r3, [ip]
b DISPLAYLEVEL
.L4:
.align 2
.L3:
.word g_blockSize
.word .LC0
.size BMK_SetBlockSize, .-BMK_SetBlockSize
.comm g_blockSize,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zwrapbench.c_BMK_SetNbIterations.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "- test >= %u seconds per compression / decompression -\n"
.text
.p2align 4
.globl BMK_SetNbIterations
.type BMK_SetNbIterations, @function
BMK_SetNbIterations:
.LFB0:
.cfi_startproc
endbr64
mov DWORD PTR g_nbIterations[rip], edi
mov edx, edi
lea rsi, .LC0[rip]
mov edi, 3
jmp DISPLAYLEVEL@PLT
.cfi_endproc
.LFE0:
.size BMK_SetNbIterations, .-BMK_SetNbIterations
.globl g_nbIterations
.bss
.align 4
.type g_nbIterations, @object
.size g_nbIterations, 4
g_nbIterations:
.zero 4
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zwrapbench.c_BMK_SetNbIterations.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "- test >= %u seconds per compression / decompressio"
.ascii "n -\012\000"
.text
.align 2
.global BMK_SetNbIterations
.syntax unified
.arm
.fpu softvfp
.type BMK_SetNbIterations, %function
BMK_SetNbIterations:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r2, r0
ldr r3, .L3
mov r0, #3
ldr r1, .L3+4
str r2, [r3]
b DISPLAYLEVEL
.L4:
.align 2
.L3:
.word g_nbIterations
.word .LC0
.size BMK_SetNbIterations, .-BMK_SetNbIterations
.comm g_nbIterations,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zwrapbench.c_BMK_benchCLevel.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "bench %s %s: input %u bytes, %u seconds, %u KB blocks\n"
.align 8
.LC1:
.string "benchmarking zstd %s (using ZSTD_CStream)\n"
.section .rodata.str1.1,"aMS",@progbits,1
.LC2:
.string "\n"
.LC3:
.string "benchmarking zlib %s\n"
.section .rodata.str1.8
.align 8
.LC4:
.string "benchmarking zlib %s (zlibWrapper not reusing a context)\n"
.align 8
.LC5:
.string "benchmarking zlib %s (using zlibWrapper)\n"
.align 8
.LC6:
.string "benchmarking zlib %s (zlib not reusing a context)\n"
.align 8
.LC7:
.string "benchmarking zstd %s (zlibWrapper not reusing a context)\n"
.align 8
.LC8:
.string "benchmarking zstd %s (using zlibWrapper)\n"
.align 8
.LC9:
.string "benchmarking zstd %s (using ZSTD_CCtx)\n"
.text
.p2align 4
.type BMK_benchCLevel, @function
BMK_benchCLevel:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
mov r13, r9
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
mov r12, rdi
mov rdi, rdx
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
mov rbp, rsi
mov esi, 92
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
mov rbx, rdx
sub rsp, 40
.cfi_def_cfa_offset 96
mov rax, QWORD PTR 112[rsp]
mov r14d, DWORD PTR 96[rsp]
mov DWORD PTR 20[rsp], ecx
mov DWORD PTR 16[rsp], r8d
mov r15, QWORD PTR 104[rsp]
mov QWORD PTR 8[rsp], rax
call strrchr@PLT
mov r10d, DWORD PTR 16[rsp]
test rax, rax
je .L42
.L2:
lea rbx, 1[rax]
.L3:
cmp DWORD PTR g_displayLevel[rip], 1
je .L43
.L4:
mov eax, DWORD PTR 20[rsp]
mov esi, DWORD PTR ZSTD_VERSION_STRING[rip]
lea rdi, .LC1[rip]
cmp r10d, eax
cmovl r10d, eax
xor eax, eax
mov DWORD PTR 16[rsp], r10d
call DISPLAY@PLT
mov eax, DWORD PTR 20[rsp]
cmp eax, DWORD PTR 16[rsp]
jg .L5
mov QWORD PTR 24[rsp], r15
mov r15d, r14d
mov r14d, eax
.p2align 4,,10
.p2align 3
.L6:
mov eax, DWORD PTR BMK_ZSTD_STREAM[rip]
sub rsp, 8
.cfi_def_cfa_offset 104
mov ecx, r14d
mov r9d, r15d
mov r8, r13
mov rdx, rbx
mov rsi, rbp
mov rdi, r12
push rax
.cfi_def_cfa_offset 112
add r14d, 1
push QWORD PTR 24[rsp]
.cfi_def_cfa_offset 120
push QWORD PTR 48[rsp]
.cfi_def_cfa_offset 128
call BMK_benchMem@PLT
add rsp, 32
.cfi_def_cfa_offset 96
cmp DWORD PTR 16[rsp], r14d
jge .L6
mov esi, DWORD PTR ZSTD_VERSION_STRING[rip]
lea rdi, .LC9[rip]
xor eax, eax
mov r14d, r15d
mov r15, QWORD PTR 24[rsp]
call DISPLAY@PLT
mov ecx, DWORD PTR 20[rsp]
mov QWORD PTR 24[rsp], r15
mov r15d, r14d
mov r14d, ecx
.p2align 4,,10
.p2align 3
.L8:
mov eax, DWORD PTR BMK_ZSTD[rip]
sub rsp, 8
.cfi_def_cfa_offset 104
mov ecx, r14d
mov r9d, r15d
mov r8, r13
mov rdx, rbx
mov rsi, rbp
mov rdi, r12
push rax
.cfi_def_cfa_offset 112
add r14d, 1
push QWORD PTR 24[rsp]
.cfi_def_cfa_offset 120
push QWORD PTR 48[rsp]
.cfi_def_cfa_offset 128
call BMK_benchMem@PLT
add rsp, 32
.cfi_def_cfa_offset 96
cmp DWORD PTR 16[rsp], r14d
jge .L8
mov esi, DWORD PTR ZSTD_VERSION_STRING[rip]
lea rdi, .LC8[rip]
xor eax, eax
mov r14d, r15d
mov r15, QWORD PTR 24[rsp]
call DISPLAY@PLT
mov ecx, DWORD PTR 20[rsp]
mov QWORD PTR 24[rsp], r15
mov r15d, r14d
mov r14d, ecx
.p2align 4,,10
.p2align 3
.L10:
mov eax, DWORD PTR BMK_ZWRAP_ZSTD_REUSE[rip]
sub rsp, 8
.cfi_def_cfa_offset 104
mov ecx, r14d
mov r9d, r15d
mov r8, r13
mov rdx, rbx
mov rsi, rbp
mov rdi, r12
push rax
.cfi_def_cfa_offset 112
add r14d, 1
push QWORD PTR 24[rsp]
.cfi_def_cfa_offset 120
push QWORD PTR 48[rsp]
.cfi_def_cfa_offset 128
call BMK_benchMem@PLT
add rsp, 32
.cfi_def_cfa_offset 96
cmp DWORD PTR 16[rsp], r14d
jge .L10
mov esi, DWORD PTR ZSTD_VERSION_STRING[rip]
lea rdi, .LC7[rip]
xor eax, eax
mov r14d, r15d
mov r15, QWORD PTR 24[rsp]
call DISPLAY@PLT
mov ecx, DWORD PTR 20[rsp]
mov QWORD PTR 24[rsp], r15
mov r15d, r14d
mov r14d, ecx
.p2align 4,,10
.p2align 3
.L12:
mov eax, DWORD PTR BMK_ZWRAP_ZSTD[rip]
sub rsp, 8
.cfi_def_cfa_offset 104
mov ecx, r14d
mov r9d, r15d
mov r8, r13
mov rdx, rbx
mov rsi, rbp
mov rdi, r12
push rax
.cfi_def_cfa_offset 112
add r14d, 1
push QWORD PTR 24[rsp]
.cfi_def_cfa_offset 120
push QWORD PTR 48[rsp]
.cfi_def_cfa_offset 128
call BMK_benchMem@PLT
add rsp, 32
.cfi_def_cfa_offset 96
cmp DWORD PTR 16[rsp], r14d
jge .L12
mov r14d, r15d
mov r15, QWORD PTR 24[rsp]
.L21:
mov eax, DWORD PTR 16[rsp]
cmp DWORD PTR Z_BEST_COMPRESSION[rip], eax
lea rdi, .LC2[rip]
cmovle eax, DWORD PTR Z_BEST_COMPRESSION[rip]
mov DWORD PTR 16[rsp], eax
xor eax, eax
call DISPLAY@PLT
mov esi, DWORD PTR ZLIB_VERSION[rip]
lea rdi, .LC3[rip]
xor eax, eax
call DISPLAY@PLT
mov edx, DWORD PTR 20[rsp]
mov eax, DWORD PTR 16[rsp]
cmp edx, eax
jg .L13
mov QWORD PTR 24[rsp], r15
mov r15d, r14d
mov r14d, edx
.p2align 4,,10
.p2align 3
.L14:
mov eax, DWORD PTR BMK_ZLIB_REUSE[rip]
sub rsp, 8
.cfi_def_cfa_offset 104
mov ecx, r14d
mov r9d, r15d
mov r8, r13
mov rdx, rbx
mov rsi, rbp
mov rdi, r12
push rax
.cfi_def_cfa_offset 112
add r14d, 1
push QWORD PTR 24[rsp]
.cfi_def_cfa_offset 120
push QWORD PTR 48[rsp]
.cfi_def_cfa_offset 128
call BMK_benchMem@PLT
add rsp, 32
.cfi_def_cfa_offset 96
cmp DWORD PTR 16[rsp], r14d
jge .L14
mov esi, DWORD PTR ZLIB_VERSION[rip]
lea rdi, .LC6[rip]
xor eax, eax
mov r14d, r15d
mov r15, QWORD PTR 24[rsp]
call DISPLAY@PLT
mov ecx, DWORD PTR 20[rsp]
mov QWORD PTR 24[rsp], r15
mov r15d, r14d
mov r14d, ecx
.p2align 4,,10
.p2align 3
.L16:
mov eax, DWORD PTR BMK_ZLIB[rip]
sub rsp, 8
.cfi_def_cfa_offset 104
mov ecx, r14d
mov r9d, r15d
mov r8, r13
mov rdx, rbx
mov rsi, rbp
mov rdi, r12
push rax
.cfi_def_cfa_offset 112
add r14d, 1
push QWORD PTR 24[rsp]
.cfi_def_cfa_offset 120
push QWORD PTR 48[rsp]
.cfi_def_cfa_offset 128
call BMK_benchMem@PLT
add rsp, 32
.cfi_def_cfa_offset 96
cmp DWORD PTR 16[rsp], r14d
jge .L16
mov esi, DWORD PTR ZLIB_VERSION[rip]
lea rdi, .LC5[rip]
xor eax, eax
mov r14d, r15d
mov r15, QWORD PTR 24[rsp]
call DISPLAY@PLT
mov ecx, DWORD PTR 20[rsp]
mov QWORD PTR 24[rsp], r15
mov r15d, r14d
mov r14d, ecx
.p2align 4,,10
.p2align 3
.L18:
mov eax, DWORD PTR BMK_ZWRAP_ZLIB_REUSE[rip]
sub rsp, 8
.cfi_def_cfa_offset 104
mov ecx, r14d
mov r9d, r15d
mov r8, r13
mov rdx, rbx
mov rsi, rbp
mov rdi, r12
push rax
.cfi_def_cfa_offset 112
add r14d, 1
push QWORD PTR 24[rsp]
.cfi_def_cfa_offset 120
push QWORD PTR 48[rsp]
.cfi_def_cfa_offset 128
call BMK_benchMem@PLT
add rsp, 32
.cfi_def_cfa_offset 96
cmp DWORD PTR 16[rsp], r14d
jge .L18
mov r14d, r15d
mov esi, DWORD PTR ZLIB_VERSION[rip]
mov r15, QWORD PTR 24[rsp]
xor eax, eax
lea rdi, .LC4[rip]
call DISPLAY@PLT
mov QWORD PTR 24[rsp], r15
mov r15d, r14d
mov r14d, DWORD PTR 20[rsp]
.p2align 4,,10
.p2align 3
.L20:
mov eax, DWORD PTR BMK_ZWRAP_ZLIB[rip]
sub rsp, 8
.cfi_def_cfa_offset 104
mov ecx, r14d
mov r9d, r15d
mov r8, r13
mov rdx, rbx
mov rsi, rbp
mov rdi, r12
push rax
.cfi_def_cfa_offset 112
add r14d, 1
push QWORD PTR 24[rsp]
.cfi_def_cfa_offset 120
push QWORD PTR 48[rsp]
.cfi_def_cfa_offset 128
call BMK_benchMem@PLT
add rsp, 32
.cfi_def_cfa_offset 96
cmp DWORD PTR 16[rsp], r14d
jge .L20
add rsp, 40
.cfi_remember_state
.cfi_def_cfa_offset 56
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L43:
.cfi_restore_state
mov eax, DWORD PTR g_additionalParam[rip]
test eax, eax
jne .L4
mov edx, DWORD PTR ZSTD_GIT_COMMIT_STRING[rip]
mov esi, DWORD PTR ZSTD_VERSION_STRING[rip]
mov ecx, ebp
xor eax, eax
mov r9d, DWORD PTR g_blockSize[rip]
mov r8d, DWORD PTR g_nbIterations[rip]
mov DWORD PTR 16[rsp], r10d
lea rdi, .LC0[rip]
sar r9d, 10
call DISPLAY@PLT
mov r10d, DWORD PTR 16[rsp]
jmp .L4
.p2align 4,,10
.p2align 3
.L42:
mov esi, 47
mov rdi, rbx
call strrchr@PLT
mov r10d, DWORD PTR 16[rsp]
test rax, rax
je .L3
jmp .L2
.p2align 4,,10
.p2align 3
.L5:
mov esi, DWORD PTR ZSTD_VERSION_STRING[rip]
lea rdi, .LC9[rip]
xor eax, eax
call DISPLAY@PLT
mov esi, DWORD PTR ZSTD_VERSION_STRING[rip]
lea rdi, .LC8[rip]
xor eax, eax
call DISPLAY@PLT
mov esi, DWORD PTR ZSTD_VERSION_STRING[rip]
lea rdi, .LC7[rip]
xor eax, eax
call DISPLAY@PLT
jmp .L21
.p2align 4,,10
.p2align 3
.L13:
mov esi, DWORD PTR ZLIB_VERSION[rip]
lea rdi, .LC6[rip]
xor eax, eax
call DISPLAY@PLT
mov esi, DWORD PTR ZLIB_VERSION[rip]
lea rdi, .LC5[rip]
xor eax, eax
call DISPLAY@PLT
mov esi, DWORD PTR ZLIB_VERSION[rip]
add rsp, 40
.cfi_def_cfa_offset 56
xor eax, eax
pop rbx
.cfi_def_cfa_offset 48
lea rdi, .LC4[rip]
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
jmp DISPLAY@PLT
.cfi_endproc
.LFE0:
.size BMK_benchCLevel, .-BMK_benchCLevel
.globl g_nbIterations
.bss
.align 4
.type g_nbIterations, @object
.size g_nbIterations, 4
g_nbIterations:
.zero 4
.globl g_displayLevel
.align 4
.type g_displayLevel, @object
.size g_displayLevel, 4
g_displayLevel:
.zero 4
.globl g_blockSize
.align 4
.type g_blockSize, @object
.size g_blockSize, 4
g_blockSize:
.zero 4
.globl g_additionalParam
.align 4
.type g_additionalParam, @object
.size g_additionalParam, 4
g_additionalParam:
.zero 4
.globl Z_BEST_COMPRESSION
.align 4
.type Z_BEST_COMPRESSION, @object
.size Z_BEST_COMPRESSION, 4
Z_BEST_COMPRESSION:
.zero 4
.globl ZSTD_VERSION_STRING
.align 4
.type ZSTD_VERSION_STRING, @object
.size ZSTD_VERSION_STRING, 4
ZSTD_VERSION_STRING:
.zero 4
.globl ZSTD_GIT_COMMIT_STRING
.align 4
.type ZSTD_GIT_COMMIT_STRING, @object
.size ZSTD_GIT_COMMIT_STRING, 4
ZSTD_GIT_COMMIT_STRING:
.zero 4
.globl ZLIB_VERSION
.align 4
.type ZLIB_VERSION, @object
.size ZLIB_VERSION, 4
ZLIB_VERSION:
.zero 4
.globl SET_REALTIME_PRIORITY
.align 4
.type SET_REALTIME_PRIORITY, @object
.size SET_REALTIME_PRIORITY, 4
SET_REALTIME_PRIORITY:
.zero 4
.globl BMK_ZWRAP_ZSTD_REUSE
.align 4
.type BMK_ZWRAP_ZSTD_REUSE, @object
.size BMK_ZWRAP_ZSTD_REUSE, 4
BMK_ZWRAP_ZSTD_REUSE:
.zero 4
.globl BMK_ZWRAP_ZSTD
.align 4
.type BMK_ZWRAP_ZSTD, @object
.size BMK_ZWRAP_ZSTD, 4
BMK_ZWRAP_ZSTD:
.zero 4
.globl BMK_ZWRAP_ZLIB_REUSE
.align 4
.type BMK_ZWRAP_ZLIB_REUSE, @object
.size BMK_ZWRAP_ZLIB_REUSE, 4
BMK_ZWRAP_ZLIB_REUSE:
.zero 4
.globl BMK_ZWRAP_ZLIB
.align 4
.type BMK_ZWRAP_ZLIB, @object
.size BMK_ZWRAP_ZLIB, 4
BMK_ZWRAP_ZLIB:
.zero 4
.globl BMK_ZSTD_STREAM
.align 4
.type BMK_ZSTD_STREAM, @object
.size BMK_ZSTD_STREAM, 4
BMK_ZSTD_STREAM:
.zero 4
.globl BMK_ZSTD
.align 4
.type BMK_ZSTD, @object
.size BMK_ZSTD, 4
BMK_ZSTD:
.zero 4
.globl BMK_ZLIB_REUSE
.align 4
.type BMK_ZLIB_REUSE, @object
.size BMK_ZLIB_REUSE, 4
BMK_ZLIB_REUSE:
.zero 4
.globl BMK_ZLIB
.align 4
.type BMK_ZLIB, @object
.size BMK_ZLIB, 4
BMK_ZLIB:
.zero 4
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zwrapbench.c_BMK_benchCLevel.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "bench %s %s: input %u bytes, %u seconds, %u KB bloc"
.ascii "ks\012\000"
.align 2
.LC1:
.ascii "benchmarking zstd %s (using ZSTD_CStream)\012\000"
.align 2
.LC2:
.ascii "\012\000"
.align 2
.LC3:
.ascii "benchmarking zlib %s\012\000"
.align 2
.LC4:
.ascii "benchmarking zlib %s (zlibWrapper not reusing a con"
.ascii "text)\012\000"
.align 2
.LC5:
.ascii "benchmarking zlib %s (using zlibWrapper)\012\000"
.align 2
.LC6:
.ascii "benchmarking zlib %s (zlib not reusing a context)\012"
.ascii "\000"
.align 2
.LC7:
.ascii "benchmarking zstd %s (zlibWrapper not reusing a con"
.ascii "text)\012\000"
.align 2
.LC8:
.ascii "benchmarking zstd %s (using zlibWrapper)\012\000"
.align 2
.LC9:
.ascii "benchmarking zstd %s (using ZSTD_CCtx)\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type BMK_benchCLevel, %function
BMK_benchCLevel:
@ args = 20, pretend = 0, frame = 24
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
sub sp, sp, #52
str r3, [sp, #40]
ldr r3, [sp, #96]
mov r6, r0
str r3, [sp, #28]
ldr r3, [sp, #100]
mov r5, r1
mov r0, r2
mov r1, #92
mov r4, r2
ldr r10, [sp, #88]
ldr fp, [sp, #92]
ldr r7, [sp, #104]
str r3, [sp, #32]
bl strrchr
cmp r0, #0
beq .L42
.L2:
add r4, r0, #1
.L3:
ldr r3, .L44
ldr r2, .L44+4
ldr r3, [r3]
ldr r1, [r2]
cmp r3, #1
beq .L43
.L4:
ldr r8, [sp, #40]
ldr r0, .L44+8
cmp r10, r8
movge r9, r10
movlt r9, r8
str r9, [sp, #44]
bl DISPLAY
cmp r8, r9
mov r3, r9
bgt .L5
add r3, r3, #1
ldr r9, .L44+12
str r3, [sp, #36]
.L6:
ldr r2, [sp, #32]
ldr r3, [r9]
str r2, [sp, #8]
ldr r2, [sp, #28]
str r3, [sp, #16]
str r2, [sp, #4]
mov r3, r8
mov r2, r4
mov r1, r5
mov r0, r6
str r7, [sp, #12]
str fp, [sp]
bl BMK_benchMem
ldr r3, [sp, #36]
mov r10, r8
add r8, r8, #1
cmp r8, r3
bne .L6
ldr r3, .L44+4
ldr r0, .L44+16
ldr r1, [r3]
bl DISPLAY
ldr r8, .L44+20
ldr r9, [sp, #40]
.L8:
ldr r2, [sp, #32]
ldr r3, [r8]
str r2, [sp, #8]
ldr r2, [sp, #28]
str r3, [sp, #16]
str r2, [sp, #4]
mov r3, r9
mov r2, r4
mov r1, r5
mov r0, r6
str r7, [sp, #12]
str fp, [sp]
bl BMK_benchMem
cmp r10, r9
add r9, r9, #1
bne .L8
ldr r3, .L44+4
ldr r0, .L44+24
ldr r1, [r3]
bl DISPLAY
ldr r8, .L44+28
ldr r9, [sp, #40]
.L10:
ldr r2, [sp, #32]
ldr r3, [r8]
str r2, [sp, #8]
ldr r2, [sp, #28]
str r3, [sp, #16]
str r2, [sp, #4]
mov r3, r9
mov r2, r4
mov r1, r5
mov r0, r6
str r7, [sp, #12]
str fp, [sp]
bl BMK_benchMem
cmp r9, r10
add r9, r9, #1
bne .L10
ldr r3, .L44+4
ldr r0, .L44+32
ldr r1, [r3]
bl DISPLAY
ldr r8, .L44+36
ldr r9, [sp, #40]
.L12:
ldr r2, [sp, #32]
ldr r3, [r8]
str r2, [sp, #8]
ldr r2, [sp, #28]
str r3, [sp, #16]
str r2, [sp, #4]
mov r3, r9
mov r2, r4
mov r1, r5
mov r0, r6
str r7, [sp, #12]
str fp, [sp]
bl BMK_benchMem
cmp r10, r9
add r9, r9, #1
bne .L12
.L21:
ldr r3, .L44+40
ldr r0, .L44+44
ldr r10, [r3]
ldr r3, [sp, #44]
cmp r3, r10
movlt r8, r3
movge r8, r10
bl DISPLAY
ldr r3, .L44+48
ldr r0, .L44+52
ldr r1, [r3]
bl DISPLAY
ldr r9, [sp, #40]
cmp r9, r8
bgt .L13
add r3, r8, #1
ldr r10, .L44+56
str r3, [sp, #36]
.L14:
ldr r2, [sp, #32]
ldr r3, [r10]
str r2, [sp, #8]
ldr r2, [sp, #28]
str r3, [sp, #16]
str r2, [sp, #4]
mov r3, r9
mov r2, r4
mov r1, r5
mov r0, r6
str r7, [sp, #12]
str fp, [sp]
bl BMK_benchMem
ldr r3, [sp, #36]
mov r8, r9
add r9, r9, #1
cmp r9, r3
bne .L14
ldr r3, .L44+48
ldr r0, .L44+60
ldr r1, [r3]
bl DISPLAY
ldr r9, .L44+64
ldr r10, [sp, #40]
.L16:
ldr r2, [sp, #32]
ldr r3, [r9]
str r2, [sp, #8]
ldr r2, [sp, #28]
str r3, [sp, #16]
str r2, [sp, #4]
mov r3, r10
mov r2, r4
mov r1, r5
mov r0, r6
str r7, [sp, #12]
str fp, [sp]
bl BMK_benchMem
cmp r8, r10
add r10, r10, #1
bne .L16
ldr r3, .L44+48
ldr r0, .L44+68
ldr r1, [r3]
bl DISPLAY
ldr r9, .L44+72
ldr r10, [sp, #40]
.L18:
ldr r2, [sp, #32]
ldr r3, [r9]
str r2, [sp, #8]
ldr r2, [sp, #28]
str r3, [sp, #16]
str r2, [sp, #4]
mov r3, r10
mov r2, r4
mov r1, r5
mov r0, r6
str r7, [sp, #12]
str fp, [sp]
bl BMK_benchMem
cmp r8, r10
add r10, r10, #1
bne .L18
ldr r3, .L44+48
ldr r0, .L44+76
ldr r1, [r3]
bl DISPLAY
ldr r9, .L44+80
ldr r10, [sp, #40]
.L20:
ldr r2, [sp, #32]
ldr r3, [r9]
str r2, [sp, #8]
ldr r2, [sp, #28]
str r3, [sp, #16]
str r2, [sp, #4]
mov r3, r10
mov r2, r4
mov r1, r5
mov r0, r6
str r7, [sp, #12]
str fp, [sp]
bl BMK_benchMem
cmp r8, r10
add r10, r10, #1
bne .L20
add sp, sp, #52
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L43:
ldr r3, .L44+84
ldr r3, [r3]
cmp r3, #0
bne .L4
ldr r3, .L44+88
ldr r2, .L44+92
ldr r3, [r3]
ldr r0, [r2]
asr r3, r3, #10
stm sp, {r0, r3}
ldr r2, .L44+96
mov r3, r5
ldr r2, [r2]
ldr r0, .L44+100
bl DISPLAY
ldr r3, .L44+4
ldr r1, [r3]
b .L4
.L42:
mov r1, #47
mov r0, r4
bl strrchr
cmp r0, #0
beq .L3
b .L2
.L5:
ldr r3, .L44+4
ldr r0, .L44+16
mov r8, r3
ldr r1, [r3]
bl DISPLAY
ldr r1, [r8]
ldr r0, .L44+24
bl DISPLAY
ldr r1, [r8]
ldr r0, .L44+32
bl DISPLAY
b .L21
.L13:
ldr r3, .L44+48
ldr r0, .L44+60
mov r4, r3
ldr r1, [r3]
bl DISPLAY
ldr r1, [r4]
ldr r0, .L44+68
bl DISPLAY
ldr r1, [r4]
ldr r0, .L44+76
add sp, sp, #52
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
b DISPLAY
.L45:
.align 2
.L44:
.word g_displayLevel
.word ZSTD_VERSION_STRING
.word .LC1
.word BMK_ZSTD_STREAM
.word .LC9
.word BMK_ZSTD
.word .LC8
.word BMK_ZWRAP_ZSTD_REUSE
.word .LC7
.word BMK_ZWRAP_ZSTD
.word Z_BEST_COMPRESSION
.word .LC2
.word ZLIB_VERSION
.word .LC3
.word BMK_ZLIB_REUSE
.word .LC6
.word BMK_ZLIB
.word .LC5
.word BMK_ZWRAP_ZLIB_REUSE
.word .LC4
.word BMK_ZWRAP_ZLIB
.word g_additionalParam
.word g_blockSize
.word g_nbIterations
.word ZSTD_GIT_COMMIT_STRING
.word .LC0
.size BMK_benchCLevel, .-BMK_benchCLevel
.comm g_nbIterations,4,4
.comm g_displayLevel,4,4
.comm g_blockSize,4,4
.comm g_additionalParam,4,4
.comm Z_BEST_COMPRESSION,4,4
.comm ZSTD_VERSION_STRING,4,4
.comm ZSTD_GIT_COMMIT_STRING,4,4
.comm ZLIB_VERSION,4,4
.comm SET_REALTIME_PRIORITY,4,4
.comm BMK_ZWRAP_ZSTD_REUSE,4,4
.comm BMK_ZWRAP_ZSTD,4,4
.comm BMK_ZWRAP_ZLIB_REUSE,4,4
.comm BMK_ZWRAP_ZLIB,4,4
.comm BMK_ZSTD_STREAM,4,4
.comm BMK_ZSTD,4,4
.comm BMK_ZLIB_REUSE,4,4
.comm BMK_ZLIB,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zwrapbench.c_BMK_benchFiles.c"
.intel_syntax noprefix
.text
.p2align 4
.globl BMK_benchFiles
.type BMK_benchFiles, @function
BMK_benchFiles:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
test esi, esi
jne .L2
pxor xmm0, xmm0
mov esi, r8d
mov edi, ecx
cvtsi2sd xmm0, QWORD PTR g_compressibilityDefault[rip]
divsd xmm0, QWORD PTR .LC0[rip]
call BMK_syntheticTest@PLT
xor eax, eax
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
call BMK_benchFileTable@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size BMK_benchFiles, .-BMK_benchFiles
.globl g_compressibilityDefault
.bss
.align 8
.type g_compressibilityDefault, @object
.size g_compressibilityDefault, 8
g_compressibilityDefault:
.zero 8
.section .rodata.cst8,"aM",@progbits,8
.align 8
.LC0:
.long 0
.long 1079574528
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zwrapbench.c_BMK_benchFiles.c"
.text
.global __aeabi_i2d
.global __aeabi_ddiv
.align 2
.global BMK_benchFiles
.syntax unified
.arm
.fpu softvfp
.type BMK_benchFiles, %function
BMK_benchFiles:
@ args = 4, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
cmp r1, #0
sub sp, sp, #8
bne .L2
mov r4, r3
ldr r3, .L6
ldr r0, [r3]
bl __aeabi_i2d
mov r2, #0
ldr r3, .L6+4
bl __aeabi_ddiv
mov r2, r0
mov r3, r1
mov r0, r4
ldr r1, [sp, #16]
bl BMK_syntheticTest
mov r0, #0
add sp, sp, #8
@ sp needed
pop {r4, pc}
.L2:
ldr ip, [sp, #16]
str ip, [sp]
bl BMK_benchFileTable
mov r0, #0
add sp, sp, #8
@ sp needed
pop {r4, pc}
.L7:
.align 2
.L6:
.word g_compressibilityDefault
.word 1079574528
.size BMK_benchFiles, .-BMK_benchFiles
.comm g_compressibilityDefault,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zwrapbench.c_BMK_loadFiles.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "no data to bench"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC1:
.string "Ignoring %s directory... \n"
.align 8
.LC2:
.string "Cannot determine size of %s ... \n"
.section .rodata.str1.1
.LC3:
.string "rb"
.LC4:
.string "impossible to open file %s"
.LC5:
.string "Loading %s... \r"
.LC6:
.string "could not read %s"
.text
.p2align 4
.type BMK_loadFiles, @function
BMK_loadFiles:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
xor r14d, r14d
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
xor r13d, r13d
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
sub rsp, 72
.cfi_def_cfa_offset 128
mov QWORD PTR 40[rsp], rdi
mov QWORD PTR 48[rsp], rsi
mov QWORD PTR 16[rsp], rdx
mov QWORD PTR 24[rsp], rcx
mov DWORD PTR 12[rsp], r8d
mov QWORD PTR 32[rsp], 0
test r8d, r8d
jne .L2
jmp .L9
.p2align 4,,10
.p2align 3
.L3:
cmp QWORD PTR UTIL_FILESIZE_UNKNOWN[rip], rbx
mov rdi, QWORD PTR [r12]
je .L20
lea rsi, .LC3[rip]
call fopen@PLT
mov r15, rax
test rax, rax
je .L21
.L6:
mov rdx, QWORD PTR [r12]
lea rsi, .LC5[rip]
mov edi, 2
call DISPLAYUPDATE@PLT
mov rax, QWORD PTR 48[rsp]
sub rax, r14
cmp rax, rbx
jnb .L7
mov DWORD PTR 12[rsp], r13d
mov rbx, rax
.L7:
mov rax, QWORD PTR 40[rsp]
mov rcx, r15
mov rdx, rbx
mov esi, 1
lea rdi, [rax+r14]
call fread@PLT
mov rcx, rax
cmp rbx, rax
je .L8
mov rdx, QWORD PTR [r12]
mov QWORD PTR 56[rsp], rax
mov edi, 11
xor eax, eax
lea rsi, .LC6[rip]
call EXM_THROW@PLT
mov rcx, QWORD PTR 56[rsp]
.L8:
mov QWORD PTR 0[rbp], rbx
mov rdi, r15
add r14, rcx
add QWORD PTR 32[rsp], rbx
call fclose@PLT
.L4:
add r13d, 1
cmp DWORD PTR 12[rsp], r13d
jbe .L22
.L2:
mov rax, QWORD PTR 24[rsp]
mov ebp, r13d
sal rbp, 3
lea r12, [rax+rbp]
mov rdi, QWORD PTR [r12]
call UTIL_getFileSize@PLT
mov rdi, QWORD PTR [r12]
mov rbx, rax
call UTIL_isDirectory@PLT
add rbp, QWORD PTR 16[rsp]
test rax, rax
je .L3
mov rdx, QWORD PTR [r12]
lea rsi, .LC1[rip]
mov edi, 2
add r13d, 1
call DISPLAYLEVEL@PLT
mov QWORD PTR 0[rbp], 0
cmp DWORD PTR 12[rsp], r13d
ja .L2
.p2align 4,,10
.p2align 3
.L22:
cmp QWORD PTR 32[rsp], 0
je .L9
add rsp, 72
.cfi_remember_state
.cfi_def_cfa_offset 56
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L20:
.cfi_restore_state
mov rdx, rdi
lea rsi, .LC2[rip]
mov edi, 2
call DISPLAYLEVEL@PLT
mov QWORD PTR 0[rbp], 0
jmp .L4
.p2align 4,,10
.p2align 3
.L21:
mov rdx, QWORD PTR [r12]
lea rsi, .LC4[rip]
mov edi, 10
xor eax, eax
call EXM_THROW@PLT
jmp .L6
.p2align 4,,10
.p2align 3
.L9:
add rsp, 72
.cfi_def_cfa_offset 56
lea rsi, .LC0[rip]
mov edi, 12
xor eax, eax
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
jmp EXM_THROW@PLT
.cfi_endproc
.LFE0:
.size BMK_loadFiles, .-BMK_loadFiles
.globl UTIL_FILESIZE_UNKNOWN
.bss
.align 8
.type UTIL_FILESIZE_UNKNOWN, @object
.size UTIL_FILESIZE_UNKNOWN, 8
UTIL_FILESIZE_UNKNOWN:
.zero 8
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zwrapbench.c_BMK_loadFiles.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "no data to bench\000"
.align 2
.LC1:
.ascii "Ignoring %s directory... \012\000"
.align 2
.LC2:
.ascii "Cannot determine size of %s ... \012\000"
.align 2
.LC3:
.ascii "rb\000"
.align 2
.LC4:
.ascii "impossible to open file %s\000"
.align 2
.LC5:
.ascii "Loading %s... \015\000"
.align 2
.LC6:
.ascii "could not read %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type BMK_loadFiles, %function
BMK_loadFiles:
@ args = 4, pretend = 0, frame = 16
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
sub sp, sp, #20
ldr r9, [sp, #56]
str r0, [sp, #4]
cmp r9, #0
str r1, [sp, #8]
str r2, [sp]
beq .L10
mov r6, #0
ldr fp, .L20
mov r10, r6
mov r8, r6
sub r5, r3, #4
b .L9
.L3:
ldr r3, [fp]
ldr r0, [r5]
cmp r3, r4
beq .L17
ldr r1, .L20+4
bl fopen
subs r7, r0, #0
beq .L18
.L6:
ldr r2, [r5]
ldr r1, .L20+8
mov r0, #2
bl DISPLAYUPDATE
ldr r3, [sp, #8]
ldr r0, [sp, #4]
sub r3, r3, r8
cmp r3, r4
movcc r4, r3
mov r1, #1
mov r3, r7
mov r2, r4
add r0, r0, r8
movcc r9, r6
bl fread
cmp r4, r0
mov r3, r0
beq .L8
str r0, [sp, #12]
ldr r2, [r5]
mov r0, #11
ldr r1, .L20+12
bl EXM_THROW
ldr r3, [sp, #12]
.L8:
ldr r2, [sp]
mov r0, r7
str r4, [r2, r6, lsl #2]
add r8, r8, r3
add r10, r10, r4
bl fclose
.L4:
add r6, r6, #1
cmp r9, r6
bls .L19
.L9:
ldr r0, [r5, #4]!
bl UTIL_getFileSize
mov r4, r0
ldr r0, [r5]
bl UTIL_isDirectory
subs r7, r0, #0
beq .L3
ldr r2, [r5]
mov r0, #2
ldr r1, .L20+16
bl DISPLAYLEVEL
mov r3, #0
ldr r2, [sp]
str r3, [r2, r6, lsl #2]
add r6, r6, #1
cmp r9, r6
bhi .L9
.L19:
cmp r10, #0
beq .L10
add sp, sp, #20
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L17:
mov r2, r0
ldr r1, .L20+20
mov r0, #2
bl DISPLAYLEVEL
ldr r3, [sp]
str r7, [r3, r6, lsl #2]
b .L4
.L18:
ldr r2, [r5]
ldr r1, .L20+24
mov r0, #10
bl EXM_THROW
b .L6
.L10:
mov r0, #12
ldr r1, .L20+28
add sp, sp, #20
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
b EXM_THROW
.L21:
.align 2
.L20:
.word UTIL_FILESIZE_UNKNOWN
.word .LC3
.word .LC5
.word .LC6
.word .LC1
.word .LC2
.word .LC4
.word .LC0
.size BMK_loadFiles, .-BMK_loadFiles
.comm UTIL_FILESIZE_UNKNOWN,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zwrapbench.c_BMK_setAdditionalParam.c"
.intel_syntax noprefix
.text
.p2align 4
.globl BMK_setAdditionalParam
.type BMK_setAdditionalParam, @function
BMK_setAdditionalParam:
.LFB0:
.cfi_startproc
endbr64
mov DWORD PTR g_additionalParam[rip], edi
ret
.cfi_endproc
.LFE0:
.size BMK_setAdditionalParam, .-BMK_setAdditionalParam
.globl g_additionalParam
.bss
.align 4
.type g_additionalParam, @object
.size g_additionalParam, 4
g_additionalParam:
.zero 4
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zwrapbench.c_BMK_setAdditionalParam.c"
.text
.align 2
.global BMK_setAdditionalParam
.syntax unified
.arm
.fpu softvfp
.type BMK_setAdditionalParam, %function
BMK_setAdditionalParam:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
str r0, [r3]
bx lr
.L4:
.align 2
.L3:
.word g_additionalParam
.size BMK_setAdditionalParam, .-BMK_setAdditionalParam
.comm g_additionalParam,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zwrapbench.c_BMK_setNotificationLevel.c"
.intel_syntax noprefix
.text
.p2align 4
.globl BMK_setNotificationLevel
.type BMK_setNotificationLevel, @function
BMK_setNotificationLevel:
.LFB0:
.cfi_startproc
endbr64
mov DWORD PTR g_displayLevel[rip], edi
ret
.cfi_endproc
.LFE0:
.size BMK_setNotificationLevel, .-BMK_setNotificationLevel
.globl g_displayLevel
.bss
.align 4
.type g_displayLevel, @object
.size g_displayLevel, 4
g_displayLevel:
.zero 4
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zwrapbench.c_BMK_setNotificationLevel.c"
.text
.align 2
.global BMK_setNotificationLevel
.syntax unified
.arm
.fpu softvfp
.type BMK_setNotificationLevel, %function
BMK_setNotificationLevel:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
str r0, [r3]
bx lr
.L4:
.align 2
.L3:
.word g_displayLevel
.size BMK_setNotificationLevel, .-BMK_setNotificationLevel
.comm g_displayLevel,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zwrapbench.c_BMK_syntheticTest.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "not enough memory"
.LC3:
.string "Synthetic %2u%%"
.text
.p2align 4
.type BMK_syntheticTest, @function
BMK_syntheticTest:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
movq r13, xmm0
pxor xmm0, xmm0
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12d, edi
mov edi, 10000000
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
mov ebx, esi
sub rsp, 56
.cfi_def_cfa_offset 96
mov rax, QWORD PTR fs:40
mov QWORD PTR 40[rsp], rax
xor eax, eax
mov DWORD PTR 32[rsp], 0
mov QWORD PTR 8[rsp], 10000000
movups XMMWORD PTR 16[rsp], xmm0
call malloc@PLT
mov rbp, rax
test rax, rax
je .L7
mov esi, 10000000
.L2:
xor edx, edx
pxor xmm1, xmm1
movq xmm0, r13
mov rdi, rbp
call RDG_genBuffer@PLT
movq xmm0, r13
lea r13, 16[rsp]
lea rdx, .LC3[rip]
mulsd xmm0, QWORD PTR .LC2[rip]
mov esi, 20
mov rdi, r13
cvttsd2si rcx, xmm0
call snprintf@PLT
sub rsp, 8
.cfi_def_cfa_offset 104
mov rdi, rbp
mov r8d, ebx
push 0
.cfi_def_cfa_offset 112
mov ecx, r12d
mov rdx, r13
push 0
.cfi_def_cfa_offset 120
push 1
.cfi_def_cfa_offset 128
mov rsi, QWORD PTR 40[rsp]
lea r9, 40[rsp]
call BMK_benchCLevel@PLT
add rsp, 32
.cfi_def_cfa_offset 96
mov rdi, rbp
call free@PLT
mov rax, QWORD PTR 40[rsp]
sub rax, QWORD PTR fs:40
jne .L8
add rsp, 56
.cfi_remember_state
.cfi_def_cfa_offset 40
pop rbx
.cfi_def_cfa_offset 32
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.L7:
.cfi_restore_state
lea rsi, .LC0[rip]
mov edi, 21
call EXM_THROW@PLT
mov rsi, QWORD PTR 8[rsp]
jmp .L2
.L8:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size BMK_syntheticTest, .-BMK_syntheticTest
.section .rodata.cst8,"aM",@progbits,8
.align 8
.LC2:
.long 0
.long 1079574528
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zwrapbench.c_BMK_syntheticTest.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "not enough memory\000"
.global __aeabi_dmul
.global __aeabi_d2uiz
.align 2
.LC1:
.ascii "Synthetic %2u%%\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC2:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type BMK_syntheticTest, %function
BMK_syntheticTest:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 0, uses_anonymous_args = 0
mov ip, #0
push {r4, r5, r6, r7, r8, r9, lr}
ldr r5, .L9
mov r7, r3
ldr r3, .L9+4
sub sp, sp, #60
mov r8, r0
mov r0, r5
ldr r3, [r3]
str r3, [sp, #52]
mov r3,#0
mov r9, r1
mov r6, r2
str ip, [sp, #32]
str ip, [sp, #36]
str ip, [sp, #40]
str ip, [sp, #44]
str ip, [sp, #48]
str r5, [sp, #28]
bl malloc
subs r4, r0, #0
movne r1, r5
beq .L7
.L2:
mov r5, #0
mov r2, #0
mov r3, #0
mov r0, r4
stm sp, {r2-r3}
str r5, [sp, #8]
mov r2, r6
mov r3, r7
bl RDG_genBuffer
mov r2, #0
ldr r3, .L9+8
mov r0, r6
mov r1, r7
bl __aeabi_dmul
bl __aeabi_d2uiz
mov r1, #20
mov r3, r0
ldr r2, .L9+12
add r0, sp, #32
bl snprintf
mov r0, #1
add r1, sp, #28
mov r3, r8
add r2, sp, #32
str r0, [sp, #8]
str r1, [sp, #4]
mov r0, r4
ldr r1, [sp, #28]
str r5, [sp, #16]
str r5, [sp, #12]
str r9, [sp]
bl BMK_benchCLevel
mov r0, r4
bl free
ldr r3, .L9+4
ldr r2, [r3]
ldr r3, [sp, #52]
eors r2, r3, r2
mov r3, #0
bne .L8
add sp, sp, #60
@ sp needed
pop {r4, r5, r6, r7, r8, r9, pc}
.L7:
ldr r1, .L9+16
mov r0, #21
bl EXM_THROW
ldr r1, [sp, #28]
b .L2
.L8:
bl __stack_chk_fail
.L10:
.align 2
.L9:
.word 10000000
.word .LC2
.word 1079574528
.word .LC1
.word .LC0
.size BMK_syntheticTest, .-BMK_syntheticTest
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zwrapbench.c_badusage.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "Incorrect parameters\n"
.text
.p2align 4
.type badusage, @function
badusage:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
lea rsi, .LC0[rip]
mov rbp, rdi
mov edi, 1
call DISPLAYLEVEL@PLT
mov eax, DWORD PTR g_displayLevel[rip]
test eax, eax
jle .L2
mov rdi, rbp
call usage@PLT
.L2:
mov eax, 1
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size badusage, .-badusage
.globl g_displayLevel
.bss
.align 4
.type g_displayLevel, @object
.size g_displayLevel, 4
g_displayLevel:
.zero 4
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zwrapbench.c_badusage.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "Incorrect parameters\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type badusage, %function
badusage:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r1, .L5
mov r4, r0
mov r0, #1
bl DISPLAYLEVEL
ldr r3, .L5+4
ldr r3, [r3]
cmp r3, #0
ble .L2
mov r0, r4
bl usage
.L2:
mov r0, #1
pop {r4, pc}
.L6:
.align 2
.L5:
.word .LC0
.word g_displayLevel
.size badusage, .-badusage
.comm g_displayLevel,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zwrapbench.c_main.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "zstd: %s \n"
.LC1:
.string "--version"
.LC2:
.string "--help"
.LC3:
.string "--verbose"
.LC4:
.string "--quiet"
.section .text.startup,"ax",@progbits
.p2align 4
.globl main
.type main, @function
main:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
mov r12, rsi
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
mov ebx, edi
sal edi, 3
sub rsp, 56
.cfi_def_cfa_offset 112
mov rax, QWORD PTR fs:40
mov QWORD PTR 40[rsp], rax
mov eax, DWORD PTR ZSTDCLI_CLEVEL_DEFAULT[rip]
mov DWORD PTR 16[rsp], eax
call malloc@PLT
mov r14, QWORD PTR [r12]
mov rbp, rax
test rax, rax
je .L57
.L2:
mov eax, DWORD PTR stderr[rip]
mov rdi, r14
mov DWORD PTR displayOut[rip], eax
call strlen@PLT
cdqe
test rax, rax
jne .L5
jmp .L3
.p2align 4,,10
.p2align 3
.L4:
sub rax, 1
je .L3
.L5:
cmp BYTE PTR [r14+rax], 47
jne .L4
add rax, 1
.L3:
add rax, r14
mov QWORD PTR 8[rsp], rax
cmp ebx, 1
jle .L6
lea eax, -2[rbx]
lea rdx, 8[r12]
xor ebx, ebx
xor r15d, r15d
lea r13, 16[r12+rax*8]
xor r12d, r12d
mov DWORD PTR 20[rsp], 1
xor r14d, r14d
mov QWORD PTR [rsp], r12
mov r12, rbp
mov rbp, r13
mov r13d, ebx
mov DWORD PTR 24[rsp], 0
mov rbx, rdx
jmp .L32
.p2align 4,,10
.p2align 3
.L59:
cmp BYTE PTR [rax], 45
jne .L38
cmp BYTE PTR 1[rax], 45
jne .L38
cmp BYTE PTR 2[rax], 0
jne .L38
mov r14d, 1
.L31:
add rbx, 8
cmp rbp, rbx
je .L58
.L32:
mov rax, QWORD PTR [rbx]
mov QWORD PTR 32[rsp], rax
test rax, rax
je .L31
test r14d, r14d
je .L59
.L8:
test r13d, r13d
jne .L37
mov edx, r15d
add rbx, 8
add r15d, 1
mov QWORD PTR [r12+rdx*8], rax
cmp rbp, rbx
jne .L32
.L58:
movsx rsi, DWORD PTR WELCOME_MESSAGE[rip]
mov edi, 3
xor eax, eax
mov rbp, r12
mov r12, QWORD PTR [rsp]
call DISPLAYLEVEL@PLT
mov edi, DWORD PTR g_displayLevel[rip]
call BMK_setNotificationLevel@PLT
mov r8d, DWORD PTR 20[rsp]
mov rdx, r12
mov esi, r15d
mov ecx, DWORD PTR 16[rsp]
mov rdi, rbp
call BMK_benchFiles@PLT
mov eax, DWORD PTR 24[rsp]
test eax, eax
je .L33
xor eax, eax
call waitEnter@PLT
.L33:
xor edi, edi
call free@PLT
mov rdi, rbp
call free@PLT
mov rax, QWORD PTR 40[rsp]
sub rax, QWORD PTR fs:40
jne .L60
add rsp, 56
.cfi_remember_state
.cfi_def_cfa_offset 56
xor eax, eax
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L38:
.cfi_restore_state
mov ecx, 10
mov rsi, rax
lea rdi, .LC1[rip]
repz cmpsb
seta dl
sbb dl, 0
test dl, dl
je .L61
.L10:
mov ecx, 7
mov rsi, rax
lea rdi, .LC2[rip]
repz cmpsb
seta dl
sbb dl, 0
test dl, dl
je .L62
.L11:
mov ecx, 10
lea rdi, .LC3[rip]
mov rsi, rax
repz cmpsb
seta dl
sbb dl, 0
test dl, dl
je .L63
mov ecx, 8
lea rdi, .LC4[rip]
mov rsi, rax
repz cmpsb
seta dl
sbb dl, 0
test dl, dl
je .L64
cmp BYTE PTR [rax], 45
jne .L8
lea rdx, 1[rax]
mov QWORD PTR 32[rsp], rdx
movzx eax, BYTE PTR 1[rax]
test al, al
je .L31
mov DWORD PTR 28[rsp], r14d
.p2align 4,,10
.p2align 3
.L30:
sub eax, 66
cmp al, 52
ja .L14
lea rcx, .L16[rip]
movzx eax, al
movsx rax, DWORD PTR [rcx+rax*4]
add rax, rcx
notrack jmp rax
.section .rodata
.align 4
.align 4
.L16:
.long .L25-.L16
.long .L14-.L16
.long .L24-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L20-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L23-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L22-.L16
.long .L14-.L16
.long .L14-.L16
.long .L21-.L16
.long .L14-.L16
.long .L14-.L16
.long .L20-.L16
.long .L19-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L18-.L16
.long .L17-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L14-.L16
.long .L15-.L16
.section .text.startup
.p2align 4,,10
.p2align 3
.L37:
mov QWORD PTR [rsp], rax
xor r13d, r13d
jmp .L31
.p2align 4,,10
.p2align 3
.L63:
add DWORD PTR g_displayLevel[rip], 1
xor r14d, r14d
jmp .L31
.p2align 4,,10
.p2align 3
.L62:
mov eax, DWORD PTR stdout[rip]
mov rdi, QWORD PTR 8[rsp]
mov DWORD PTR displayOut[rip], eax
call usage@PLT
mov edi, eax
call CLEAN_RETURN@PLT
mov rax, QWORD PTR 32[rsp]
jmp .L11
.p2align 4,,10
.p2align 3
.L61:
mov eax, DWORD PTR stdout[rip]
movsx rdi, DWORD PTR WELCOME_MESSAGE[rip]
mov DWORD PTR displayOut[rip], eax
xor eax, eax
call DISPLAY@PLT
xor edi, edi
call CLEAN_RETURN@PLT
mov rax, QWORD PTR 32[rsp]
jmp .L10
.L64:
sub DWORD PTR g_displayLevel[rip], 1
xor r14d, r14d
jmp .L31
.L57:
mov edi, DWORD PTR errno[rip]
call strerror@PLT
lea rdi, .LC0[rip]
mov esi, eax
xor eax, eax
call DISPLAY@PLT
mov edi, 1
call exit@PLT
jmp .L2
.L14:
mov rdi, QWORD PTR 8[rsp]
call badusage@PLT
mov edi, eax
call CLEAN_RETURN@PLT
.p2align 4,,10
.p2align 3
.L26:
mov rdx, QWORD PTR 32[rsp]
movzx eax, BYTE PTR [rdx]
test al, al
jne .L30
mov r14d, DWORD PTR 28[rsp]
jmp .L31
.L23:
mov eax, DWORD PTR stdout[rip]
movsx rdi, DWORD PTR WELCOME_MESSAGE[rip]
mov DWORD PTR displayOut[rip], eax
xor eax, eax
call DISPLAY@PLT
xor edi, edi
call CLEAN_RETURN@PLT
.L20:
mov eax, DWORD PTR stdout[rip]
mov rdi, QWORD PTR 8[rsp]
mov DWORD PTR displayOut[rip], eax
call usage@PLT
mov edi, eax
call CLEAN_RETURN@PLT
.L24:
add QWORD PTR 32[rsp], 1
mov r13d, 1
jmp .L26
.L25:
add rdx, 1
lea rdi, 32[rsp]
mov QWORD PTR 32[rsp], rdx
call readU32FromChar@PLT
mov r14, rax
mov rax, QWORD PTR 32[rsp]
movsx edi, BYTE PTR [rax]
call toupper@PLT
cmp al, 75
je .L65
.L27:
mov rax, QWORD PTR 32[rsp]
movsx edi, BYTE PTR [rax]
call toupper@PLT
cmp al, 77
je .L66
.L28:
mov rax, QWORD PTR 32[rsp]
movsx edi, BYTE PTR [rax]
call toupper@PLT
cmp al, 66
je .L67
.L29:
mov edi, DWORD PTR g_displayLevel[rip]
call BMK_setNotificationLevel@PLT
mov rdi, r14
call BMK_SetBlockSize@PLT
jmp .L26
.L15:
add rdx, 1
add DWORD PTR g_displayLevel[rip], 1
mov QWORD PTR 32[rsp], rdx
jmp .L26
.L17:
add rdx, 1
sub DWORD PTR g_displayLevel[rip], 1
mov QWORD PTR 32[rsp], rdx
jmp .L26
.L18:
lea rax, 1[rdx]
mov QWORD PTR 32[rsp], rax
movzx eax, BYTE PTR 1[rdx]
sub eax, 48
cmp al, 9
jbe .L68
mov DWORD PTR 24[rsp], 1
jmp .L26
.L19:
add rdx, 1
lea rdi, 32[rsp]
mov QWORD PTR 32[rsp], rdx
call readU32FromChar@PLT
mov edi, DWORD PTR g_displayLevel[rip]
mov r14, rax
call BMK_setNotificationLevel@PLT
mov rdi, r14
call BMK_SetNbIterations@PLT
jmp .L26
.L21:
add rdx, 1
lea rdi, 32[rsp]
mov QWORD PTR 32[rsp], rdx
call readU32FromChar@PLT
mov DWORD PTR 20[rsp], eax
jmp .L26
.L22:
add rdx, 1
lea rdi, 32[rsp]
mov QWORD PTR 32[rsp], rdx
call readU32FromChar@PLT
mov DWORD PTR 16[rsp], eax
jmp .L26
.L6:
movsx rsi, DWORD PTR WELCOME_MESSAGE[rip]
mov edi, 3
xor eax, eax
call DISPLAYLEVEL@PLT
mov edi, DWORD PTR g_displayLevel[rip]
call BMK_setNotificationLevel@PLT
mov ecx, DWORD PTR 16[rsp]
xor edx, edx
xor esi, esi
mov r8d, 1
mov rdi, rbp
call BMK_benchFiles@PLT
jmp .L33
.L67:
add QWORD PTR 32[rsp], 1
jmp .L29
.L66:
add QWORD PTR 32[rsp], 1
sal r14, 20
jmp .L28
.L65:
add QWORD PTR 32[rsp], 1
sal r14, 10
jmp .L27
.L68:
lea rdi, 32[rsp]
call readU32FromChar@PLT
mov rdi, rax
call BMK_setAdditionalParam@PLT
jmp .L26
.L60:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size main, .-main
.globl stdout
.bss
.align 4
.type stdout, @object
.size stdout, 4
stdout:
.zero 4
.globl stderr
.align 4
.type stderr, @object
.size stderr, 4
stderr:
.zero 4
.globl g_displayLevel
.align 4
.type g_displayLevel, @object
.size g_displayLevel, 4
g_displayLevel:
.zero 4
.globl errno
.align 4
.type errno, @object
.size errno, 4
errno:
.zero 4
.globl displayOut
.align 4
.type displayOut, @object
.size displayOut, 4
displayOut:
.zero 4
.globl ZSTDCLI_CLEVEL_DEFAULT
.align 4
.type ZSTDCLI_CLEVEL_DEFAULT, @object
.size ZSTDCLI_CLEVEL_DEFAULT, 4
ZSTDCLI_CLEVEL_DEFAULT:
.zero 4
.globl WELCOME_MESSAGE
.align 4
.type WELCOME_MESSAGE, @object
.size WELCOME_MESSAGE, 4
WELCOME_MESSAGE:
.zero 4
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zwrapbench.c_main.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "zstd: %s \012\000"
.align 2
.LC1:
.ascii "--version\000"
.align 2
.LC2:
.ascii "--help\000"
.align 2
.LC3:
.ascii "--verbose\000"
.align 2
.LC4:
.ascii "--quiet\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC5:
.word __stack_chk_guard
.section .text.startup,"ax",%progbits
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
ldr r3, .L68
ldr r2, .L68+4
ldr r3, [r3]
lsl r4, r0, #2
sub sp, sp, #44
mov r6, r0
mov r0, r4
mov r10, r1
ldr r2, [r2]
str r2, [sp, #36]
mov r2,#0
str r3, [sp, #12]
bl malloc
subs r7, r0, #0
ldr r8, [r10]
beq .L60
.L2:
ldr r3, .L68+8
ldr r2, .L68+12
ldr r3, [r3]
mov r0, r8
str r3, [r2]
bl strlen
subs r3, r0, #0
beq .L3
add r2, r3, #1
add r2, r8, r2
b .L5
.L4:
subs r3, r3, #1
beq .L3
.L5:
ldrb r1, [r2, #-1]! @ zero_extendqisi2
cmp r1, #47
bne .L4
add r3, r3, #1
.L3:
add r3, r8, r3
cmp r6, #1
str r3, [sp, #24]
ble .L6
mov r8, #0
mov r3, #1
sub r2, r10, #4
mov r5, r8
mov r6, r8
mov r9, r8
str r8, [sp, #20]
str r3, [sp, #16]
add r4, r2, r4
b .L32
.L62:
ldrb r2, [fp] @ zero_extendqisi2
cmp r2, #45
bne .L39
ldrb r2, [fp, #1] @ zero_extendqisi2
cmp r2, #45
bne .L39
ldrb r2, [fp, #2] @ zero_extendqisi2
cmp r2, #0
moveq r6, #1
bne .L39
.L31:
cmp r4, r10
beq .L61
.L32:
ldr fp, [r10, #4]!
cmp fp, #0
str fp, [sp, #32]
beq .L31
cmp r6, #0
beq .L62
.L8:
cmp r9, #0
streq fp, [r7, r5, lsl #2]
movne r8, fp
movne r9, #0
addeq r5, r5, #1
cmp r4, r10
bne .L32
.L61:
ldr r3, .L68+16
mov r0, #3
ldr r1, [r3]
bl DISPLAYLEVEL
ldr r3, .L68+20
ldr r0, [r3]
bl BMK_setNotificationLevel
ldr r3, [sp, #16]
mov r2, r8
str r3, [sp]
mov r1, r5
ldr r3, [sp, #12]
mov r0, r7
bl BMK_benchFiles
ldr r3, [sp, #20]
cmp r3, #0
beq .L33
bl waitEnter
.L33:
mov r0, #0
bl free
mov r0, r7
bl free
ldr r3, .L68+4
ldr r2, [r3]
ldr r3, [sp, #36]
eors r2, r3, r2
mov r3, #0
bne .L63
mov r0, #0
add sp, sp, #44
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L39:
mov r0, fp
ldr r1, .L68+24
bl strcmp
subs r2, r0, #0
beq .L64
.L10:
mov r0, fp
ldr r1, .L68+28
bl strcmp
cmp r0, #0
beq .L65
.L11:
mov r0, fp
ldr r1, .L68+32
bl strcmp
cmp r0, #0
beq .L66
mov r0, fp
ldr r1, .L68+36
bl strcmp
cmp r0, #0
beq .L67
ldrb r2, [fp] @ zero_extendqisi2
cmp r2, #45
bne .L8
add r1, fp, #1
str r1, [sp, #32]
ldrb r2, [fp, #1] @ zero_extendqisi2
cmp r2, #0
beq .L31
str r4, [sp, #28]
ldr r4, [sp, #24]
.L30:
sub r2, r2, #66
cmp r2, #52
ldrls pc, [pc, r2, asl #2]
b .L14
.L16:
.word .L25
.word .L14
.word .L24
.word .L14
.word .L14
.word .L14
.word .L20
.word .L14
.word .L14
.word .L14
.word .L14
.word .L14
.word .L14
.word .L14
.word .L14
.word .L14
.word .L14
.word .L14
.word .L14
.word .L14
.word .L23
.word .L14
.word .L14
.word .L14
.word .L14
.word .L14
.word .L14
.word .L14
.word .L14
.word .L14
.word .L14
.word .L14
.word .L22
.word .L14
.word .L14
.word .L21
.word .L14
.word .L14
.word .L20
.word .L19
.word .L14
.word .L14
.word .L14
.word .L14
.word .L14
.word .L14
.word .L18
.word .L17
.word .L14
.word .L14
.word .L14
.word .L14
.word .L15
.L66:
ldr r3, .L68+20
mov r6, r0
ldr r2, [r3]
add r2, r2, #1
str r2, [r3]
b .L31
.L65:
ldr r3, .L68+40
ldr r0, [sp, #24]
ldr r2, [r3]
ldr r3, .L68+12
str r2, [r3]
bl usage
bl CLEAN_RETURN
ldr fp, [sp, #32]
b .L11
.L64:
ldr r3, .L68+40
str r2, [sp, #28]
ldr r1, [r3]
ldr r3, .L68+16
ldr r0, [r3]
ldr r3, .L68+12
str r1, [r3]
bl DISPLAY
ldr r2, [sp, #28]
mov r0, r2
bl CLEAN_RETURN
ldr fp, [sp, #32]
b .L10
.L67:
ldr r3, .L68+20
mov r6, r0
ldr r2, [r3]
sub r2, r2, #1
str r2, [r3]
b .L31
.L14:
mov r0, r4
bl badusage
bl CLEAN_RETURN
ldr r1, [sp, #32]
.L26:
ldrb r2, [r1] @ zero_extendqisi2
cmp r2, #0
bne .L30
ldr r4, [sp, #28]
b .L31
.L23:
ldr r2, .L68+16
ldr r3, .L68+40
ldr r0, [r2]
ldr r3, [r3]
ldr r2, .L68+12
str r3, [r2]
bl DISPLAY
mov r0, #0
bl CLEAN_RETURN
.L20:
ldr r3, .L68+40
ldr r2, .L68+12
ldr r3, [r3]
mov r0, r4
str r3, [r2]
bl usage
bl CLEAN_RETURN
.L24:
mov r9, #1
ldr r1, [sp, #32]
add r1, r1, r9
str r1, [sp, #32]
b .L26
.L25:
add r1, r1, #1
add r0, sp, #32
str r1, [sp, #32]
bl readU32FromChar
ldr r3, [sp, #32]
mov fp, r0
ldrb r0, [r3] @ zero_extendqisi2
bl toupper
ldr r1, [sp, #32]
cmp r0, #75
addeq r1, r1, #1
streq r1, [sp, #32]
ldrb r0, [r1] @ zero_extendqisi2
lsleq fp, fp, #10
bl toupper
ldr r1, [sp, #32]
cmp r0, #77
addeq r1, r1, #1
streq r1, [sp, #32]
ldrb r0, [r1] @ zero_extendqisi2
lsleq fp, fp, #20
bl toupper
cmp r0, #66
ldreq r3, [sp, #32]
addeq r3, r3, #1
streq r3, [sp, #32]
ldr r3, .L68+20
ldr r0, [r3]
bl BMK_setNotificationLevel
mov r0, fp
bl BMK_SetBlockSize
ldr r1, [sp, #32]
b .L26
.L15:
ldr r2, .L68+20
add r1, r1, #1
ldr r3, [r2]
str r1, [sp, #32]
add r3, r3, #1
str r3, [r2]
b .L26
.L17:
ldr r2, .L68+20
add r1, r1, #1
ldr r3, [r2]
str r1, [sp, #32]
sub r3, r3, #1
str r3, [r2]
b .L26
.L18:
add r2, r1, #1
str r2, [sp, #32]
ldrb r3, [r1, #1] @ zero_extendqisi2
sub r3, r3, #48
cmp r3, #9
movhi r3, #1
movhi r1, r2
strhi r3, [sp, #20]
bhi .L26
add r0, sp, #32
bl readU32FromChar
bl BMK_setAdditionalParam
ldr r1, [sp, #32]
b .L26
.L19:
add r1, r1, #1
add r0, sp, #32
str r1, [sp, #32]
bl readU32FromChar
mov fp, r0
ldr r3, .L68+20
ldr r0, [r3]
bl BMK_setNotificationLevel
mov r0, fp
bl BMK_SetNbIterations
ldr r1, [sp, #32]
b .L26
.L21:
add r1, r1, #1
add r0, sp, #32
str r1, [sp, #32]
bl readU32FromChar
ldr r1, [sp, #32]
str r0, [sp, #16]
b .L26
.L22:
add r1, r1, #1
add r0, sp, #32
str r1, [sp, #32]
bl readU32FromChar
ldr r1, [sp, #32]
str r0, [sp, #12]
b .L26
.L6:
ldr r3, .L68+16
mov r0, #3
ldr r1, [r3]
bl DISPLAYLEVEL
ldr r3, .L68+20
ldr r0, [r3]
bl BMK_setNotificationLevel
mov r1, #1
mov r2, #0
str r1, [sp]
mov r0, r7
mov r1, r2
ldr r3, [sp, #12]
bl BMK_benchFiles
b .L33
.L60:
ldr r3, .L68+44
ldr r0, [r3]
bl strerror
mov r1, r0
ldr r0, .L68+48
bl DISPLAY
mov r0, #1
bl exit
b .L2
.L63:
bl __stack_chk_fail
.L69:
.align 2
.L68:
.word ZSTDCLI_CLEVEL_DEFAULT
.word .LC5
.word stderr
.word displayOut
.word WELCOME_MESSAGE
.word g_displayLevel
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.word stdout
.word errno
.word .LC0
.size main, .-main
.comm stdout,4,4
.comm stderr,4,4
.comm g_displayLevel,4,4
.comm errno,4,4
.comm displayOut,4,4
.comm ZSTDCLI_CLEVEL_DEFAULT,4,4
.comm WELCOME_MESSAGE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zwrapbench.c_readU32FromChar.c"
.intel_syntax noprefix
.text
.p2align 4
.type readU32FromChar, @function
readU32FromChar:
.LFB0:
.cfi_startproc
endbr64
mov rdx, QWORD PTR [rdi]
movsx eax, BYTE PTR [rdx]
lea ecx, -48[rax]
cmp cl, 9
ja .L4
add rdx, 1
xor r8d, r8d
.p2align 4,,10
.p2align 3
.L3:
lea ecx, [r8+r8*4]
mov QWORD PTR [rdi], rdx
add rdx, 1
lea r8d, -48[rax+rcx*2]
movsx eax, BYTE PTR -1[rdx]
lea ecx, -48[rax]
cmp cl, 9
jbe .L3
mov eax, r8d
ret
.p2align 4,,10
.p2align 3
.L4:
xor r8d, r8d
mov eax, r8d
ret
.cfi_endproc
.LFE0:
.size readU32FromChar, .-readU32FromChar
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zwrapbench.c_readU32FromChar.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type readU32FromChar, %function
readU32FromChar:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, [r0]
mov ip, r0
ldrb r2, [r3] @ zero_extendqisi2
mov r0, #0
sub r1, r2, #48
cmp r1, #9
bxhi lr
.L3:
add r3, r3, #1
str r3, [ip]
add r0, r0, r0, lsl #2
add r0, r2, r0, lsl #1
ldrb r2, [r3] @ zero_extendqisi2
sub r0, r0, #48
sub r1, r2, #48
cmp r1, #9
bls .L3
bx lr
.size readU32FromChar, .-readU32FromChar
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zwrapbench.c_usage.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "Usage :\n"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC1:
.string " %s [args] [FILE(s)] [-o file]\n"
.section .rodata.str1.1
.LC2:
.string "\n"
.LC3:
.string "FILE : a filename\n"
.section .rodata.str1.8
.align 8
.LC4:
.string " with no FILE, or when FILE is - , read standard input\n"
.section .rodata.str1.1
.LC5:
.string "Arguments :\n"
.section .rodata.str1.8
.align 8
.LC6:
.string " -D file: use `file` as Dictionary \n"
.align 8
.LC7:
.string " -h/-H : display help/long help and exit\n"
.align 8
.LC8:
.string " -V : display Version number and exit\n"
.align 8
.LC9:
.string " -v : verbose mode; specify multiple times to increase log level (default:%d)\n"
.align 8
.LC10:
.string " -q : suppress warnings; specify twice to suppress errors too\n"
.section .rodata.str1.1
.LC11:
.string "Benchmark arguments :\n"
.section .rodata.str1.8
.align 8
.LC12:
.string " -b# : benchmark file(s), using # compression level (default : %d) \n"
.align 8
.LC13:
.string " -e# : test all compression levels from -bX to # (default: %d)\n"
.align 8
.LC14:
.string " -i# : minimum evaluation time in seconds (default : 3s)\n"
.align 8
.LC15:
.string " -B# : cut file into independent blocks of size # (default: no block)\n"
.text
.p2align 4
.type usage, @function
usage:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
mov rdi, QWORD PTR WELCOME_MESSAGE[rip]
xor eax, eax
call DISPLAY@PLT
lea rdi, .LC0[rip]
xor eax, eax
call DISPLAY@PLT
mov rsi, rbp
lea rdi, .LC1[rip]
xor eax, eax
call DISPLAY@PLT
lea rdi, .LC2[rip]
xor eax, eax
call DISPLAY@PLT
lea rdi, .LC3[rip]
xor eax, eax
call DISPLAY@PLT
lea rdi, .LC4[rip]
xor eax, eax
call DISPLAY@PLT
lea rdi, .LC5[rip]
xor eax, eax
call DISPLAY@PLT
lea rdi, .LC6[rip]
xor eax, eax
call DISPLAY@PLT
lea rdi, .LC7[rip]
xor eax, eax
call DISPLAY@PLT
lea rdi, .LC8[rip]
xor eax, eax
call DISPLAY@PLT
mov esi, DWORD PTR DEFAULT_DISPLAY_LEVEL[rip]
lea rdi, .LC9[rip]
xor eax, eax
call DISPLAY@PLT
lea rdi, .LC10[rip]
xor eax, eax
call DISPLAY@PLT
lea rdi, .LC2[rip]
xor eax, eax
call DISPLAY@PLT
lea rdi, .LC11[rip]
xor eax, eax
call DISPLAY@PLT
mov esi, DWORD PTR ZSTDCLI_CLEVEL_DEFAULT[rip]
lea rdi, .LC12[rip]
xor eax, eax
call DISPLAY@PLT
mov esi, DWORD PTR ZSTDCLI_CLEVEL_DEFAULT[rip]
lea rdi, .LC13[rip]
xor eax, eax
call DISPLAY@PLT
xor eax, eax
lea rdi, .LC14[rip]
call DISPLAY@PLT
lea rdi, .LC15[rip]
xor eax, eax
call DISPLAY@PLT
xor eax, eax
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size usage, .-usage
.globl ZSTDCLI_CLEVEL_DEFAULT
.bss
.align 4
.type ZSTDCLI_CLEVEL_DEFAULT, @object
.size ZSTDCLI_CLEVEL_DEFAULT, 4
ZSTDCLI_CLEVEL_DEFAULT:
.zero 4
.globl WELCOME_MESSAGE
.align 8
.type WELCOME_MESSAGE, @object
.size WELCOME_MESSAGE, 8
WELCOME_MESSAGE:
.zero 8
.globl DEFAULT_DISPLAY_LEVEL
.align 4
.type DEFAULT_DISPLAY_LEVEL, @object
.size DEFAULT_DISPLAY_LEVEL, 4
DEFAULT_DISPLAY_LEVEL:
.zero 4
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zwrapbench.c_usage.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "Usage :\012\000"
.align 2
.LC1:
.ascii " %s [args] [FILE(s)] [-o file]\012\000"
.align 2
.LC2:
.ascii "\012\000"
.align 2
.LC3:
.ascii "FILE : a filename\012\000"
.align 2
.LC4:
.ascii " with no FILE, or when FILE is - , read st"
.ascii "andard input\012\000"
.align 2
.LC5:
.ascii "Arguments :\012\000"
.align 2
.LC6:
.ascii " -D file: use `file` as Dictionary \012\000"
.align 2
.LC7:
.ascii " -h/-H : display help/long help and exit\012\000"
.align 2
.LC8:
.ascii " -V : display Version number and exit\012\000"
.align 2
.LC9:
.ascii " -v : verbose mode; specify multiple times to i"
.ascii "ncrease log level (default:%d)\012\000"
.align 2
.LC10:
.ascii " -q : suppress warnings; specify twice to suppr"
.ascii "ess errors too\012\000"
.align 2
.LC11:
.ascii "Benchmark arguments :\012\000"
.align 2
.LC12:
.ascii " -b# : benchmark file(s), using # compression le"
.ascii "vel (default : %d) \012\000"
.align 2
.LC13:
.ascii " -e# : test all compression levels from -bX to #"
.ascii " (default: %d)\012\000"
.align 2
.LC14:
.ascii " -i# : minimum evaluation time in seconds (defau"
.ascii "lt : 3s)\012\000"
.align 2
.LC15:
.ascii " -B# : cut file into independent blocks of size "
.ascii "# (default: no block)\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type usage, %function
usage:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
ldr r3, .L4
ldr r5, .L4+4
ldr r0, [r3]
bl DISPLAY
ldr r0, .L4+8
bl DISPLAY
mov r1, r4
ldr r0, .L4+12
bl DISPLAY
mov r0, r5
bl DISPLAY
ldr r0, .L4+16
bl DISPLAY
ldr r0, .L4+20
bl DISPLAY
ldr r0, .L4+24
bl DISPLAY
ldr r0, .L4+28
bl DISPLAY
ldr r0, .L4+32
bl DISPLAY
ldr r0, .L4+36
bl DISPLAY
ldr r3, .L4+40
ldr r0, .L4+44
ldr r1, [r3]
bl DISPLAY
ldr r0, .L4+48
bl DISPLAY
ldr r4, .L4+52
mov r0, r5
bl DISPLAY
ldr r0, .L4+56
bl DISPLAY
ldr r1, [r4]
ldr r0, .L4+60
bl DISPLAY
ldr r1, [r4]
ldr r0, .L4+64
bl DISPLAY
ldr r0, .L4+68
bl DISPLAY
ldr r0, .L4+72
bl DISPLAY
mov r0, #0
pop {r4, r5, r6, pc}
.L5:
.align 2
.L4:
.word WELCOME_MESSAGE
.word .LC2
.word .LC0
.word .LC1
.word .LC3
.word .LC4
.word .LC5
.word .LC6
.word .LC7
.word .LC8
.word DEFAULT_DISPLAY_LEVEL
.word .LC9
.word .LC10
.word ZSTDCLI_CLEVEL_DEFAULT
.word .LC11
.word .LC12
.word .LC13
.word .LC14
.word .LC15
.size usage, .-usage
.comm ZSTDCLI_CLEVEL_DEFAULT,4,4
.comm WELCOME_MESSAGE,4,4
.comm DEFAULT_DISPLAY_LEVEL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zwrapbench.c_waitEnter.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "Press enter to continue...\n"
.text
.p2align 4
.type waitEnter, @function
waitEnter:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
lea rdi, .LC0[rip]
call DISPLAY@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
jmp getchar@PLT
.cfi_endproc
.LFE0:
.size waitEnter, .-waitEnter
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zwrapbench.c_waitEnter.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "Press enter to continue...\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type waitEnter, %function
waitEnter:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r0, .L4
bl DISPLAY
pop {r4, lr}
b getchar
.L5:
.align 2
.L4:
.word .LC0
.size waitEnter, .-waitEnter
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_zlibwrapper.c_ZWRAPC_finishWithError.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "- ZWRAPC_finishWithError=%d\n"
.text
.p2align 4
.type ZWRAPC_finishWithError, @function
ZWRAPC_finishWithError:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12d, edx
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
lea rdi, .LC0[rip]
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbx, rsi
mov esi, edx
call LOG_WRAPPERC@PLT
test rbp, rbp
je .L2
mov rdi, rbp
call ZWRAP_freeCCtx@PLT
.L2:
test rbx, rbx
je .L3
mov QWORD PTR [rbx], 0
.L3:
test r12d, r12d
cmove r12d, DWORD PTR Z_STREAM_ERROR[rip]
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
mov eax, r12d
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size ZWRAPC_finishWithError, .-ZWRAPC_finishWithError
.globl Z_STREAM_ERROR
.bss
.align 4
.type Z_STREAM_ERROR, @object
.size Z_STREAM_ERROR, 4
Z_STREAM_ERROR:
.zero 4
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zstd_zlibwrapper.c_ZWRAPC_finishWithError.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "- ZWRAPC_finishWithError=%d\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ZWRAPC_finishWithError, %function
ZWRAPC_finishWithError:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r6, r0
mov r5, r1
ldr r0, .L13
mov r1, r2
mov r4, r2
bl LOG_WRAPPERC
cmp r6, #0
beq .L2
mov r0, r6
bl ZWRAP_freeCCtx
.L2:
cmp r5, #0
movne r3, #0
strne r3, [r5]
cmp r4, #0
ldreq r3, .L13+4
ldreq r4, [r3]
mov r0, r4
pop {r4, r5, r6, pc}
.L14:
.align 2
.L13:
.word .LC0
.word Z_STREAM_ERROR
.size ZWRAPC_finishWithError, .-ZWRAPC_finishWithError
.comm Z_STREAM_ERROR,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_zlibwrapper.c_ZWRAPC_finishWithErrorMsg.c"
.intel_syntax noprefix
.text
.p2align 4
.type ZWRAPC_finishWithErrorMsg, @function
ZWRAPC_finishWithErrorMsg:
.LFB0:
.cfi_startproc
endbr64
mov r8, rdi
mov rdi, QWORD PTR 8[rdi]
mov QWORD PTR [r8], rsi
test rdi, rdi
jne .L7
mov eax, DWORD PTR Z_STREAM_ERROR[rip]
ret
.p2align 4,,10
.p2align 3
.L7:
xor edx, edx
mov rsi, r8
jmp ZWRAPC_finishWithError@PLT
.cfi_endproc
.LFE0:
.size ZWRAPC_finishWithErrorMsg, .-ZWRAPC_finishWithErrorMsg
.globl Z_STREAM_ERROR
.bss
.align 4
.type Z_STREAM_ERROR, @object
.size Z_STREAM_ERROR, 4
Z_STREAM_ERROR:
.zero 4
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zstd_zlibwrapper.c_ZWRAPC_finishWithErrorMsg.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ZWRAPC_finishWithErrorMsg, %function
ZWRAPC_finishWithErrorMsg:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r3, r0
ldr r0, [r0, #4]
str r1, [r3]
cmp r0, #0
bne .L2
ldr r3, .L6
ldr r0, [r3]
bx lr
.L2:
mov r1, r3
mov r2, #0
b ZWRAPC_finishWithError
.L7:
.align 2
.L6:
.word Z_STREAM_ERROR
.size ZWRAPC_finishWithErrorMsg, .-ZWRAPC_finishWithErrorMsg
.comm Z_STREAM_ERROR,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_zlibwrapper.c_ZWRAPD_finishWithError.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "- ZWRAPD_finishWithError=%d\n"
.text
.p2align 4
.type ZWRAPD_finishWithError, @function
ZWRAPD_finishWithError:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12d, edx
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
lea rdi, .LC0[rip]
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbx, rsi
mov esi, edx
call LOG_WRAPPERD@PLT
mov rdi, rbp
call ZWRAP_freeDCtx@PLT
test r12d, r12d
cmove r12d, DWORD PTR Z_STREAM_ERROR[rip]
mov QWORD PTR [rbx], 0
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
mov eax, r12d
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size ZWRAPD_finishWithError, .-ZWRAPD_finishWithError
.globl Z_STREAM_ERROR
.bss
.align 4
.type Z_STREAM_ERROR, @object
.size Z_STREAM_ERROR, 4
Z_STREAM_ERROR:
.zero 4
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zstd_zlibwrapper.c_ZWRAPD_finishWithError.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "- ZWRAPD_finishWithError=%d\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ZWRAPD_finishWithError, %function
ZWRAPD_finishWithError:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r6, r0
mov r5, r1
ldr r0, .L5
mov r1, r2
mov r4, r2
bl LOG_WRAPPERD
mov r0, r6
bl ZWRAP_freeDCtx
mov r3, #0
cmp r4, r3
str r3, [r5]
ldreq r3, .L5+4
ldreq r4, [r3]
mov r0, r4
pop {r4, r5, r6, pc}
.L6:
.align 2
.L5:
.word .LC0
.word Z_STREAM_ERROR
.size ZWRAPD_finishWithError, .-ZWRAPD_finishWithError
.comm Z_STREAM_ERROR,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_zlibwrapper.c_ZWRAPD_finishWithErrorMsg.c"
.intel_syntax noprefix
.text
.p2align 4
.type ZWRAPD_finishWithErrorMsg, @function
ZWRAPD_finishWithErrorMsg:
.LFB0:
.cfi_startproc
endbr64
mov r8, rdi
mov rdi, QWORD PTR 8[rdi]
mov QWORD PTR [r8], rsi
test rdi, rdi
jne .L7
mov eax, DWORD PTR Z_STREAM_ERROR[rip]
ret
.p2align 4,,10
.p2align 3
.L7:
xor edx, edx
mov rsi, r8
jmp ZWRAPD_finishWithError@PLT
.cfi_endproc
.LFE0:
.size ZWRAPD_finishWithErrorMsg, .-ZWRAPD_finishWithErrorMsg
.globl Z_STREAM_ERROR
.bss
.align 4
.type Z_STREAM_ERROR, @object
.size Z_STREAM_ERROR, 4
Z_STREAM_ERROR:
.zero 4
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zstd_zlibwrapper.c_ZWRAPD_finishWithErrorMsg.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ZWRAPD_finishWithErrorMsg, %function
ZWRAPD_finishWithErrorMsg:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r3, r0
ldr r0, [r0, #4]
str r1, [r3]
cmp r0, #0
bne .L2
ldr r3, .L6
ldr r0, [r3]
bx lr
.L2:
mov r1, r3
mov r2, #0
b ZWRAPD_finishWithError
.L7:
.align 2
.L6:
.word Z_STREAM_ERROR
.size ZWRAPD_finishWithErrorMsg, .-ZWRAPD_finishWithErrorMsg
.comm Z_STREAM_ERROR,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_allocFunction.c"
.intel_syntax noprefix
.text
.p2align 4
.type ZWRAP_allocFunction, @function
ZWRAP_allocFunction:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR 8[rdi]
mov rdx, rsi
mov edi, DWORD PTR [rdi]
mov esi, 1
jmp rax
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zstd_zlibwrapper.c_ZWRAP_allocFunction.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ZWRAP_allocFunction, %function
ZWRAP_allocFunction:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r2, r1
ldm r0, {r0, r3}
mov r1, #1
bx r3
.size ZWRAP_allocFunction, .-ZWRAP_allocFunction
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_createCCtx.c"
.intel_syntax noprefix
.text
.p2align 4
.type ZWRAP_createCCtx, @function
ZWRAP_createCCtx:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rax, QWORD PTR 8[rdi]
test rax, rax
je .L2
cmp QWORD PTR 16[rdi], 0
mov rbp, rdi
je .L2
mov edi, DWORD PTR [rdi]
mov edx, 32
mov esi, 1
call rax
mov r12, rax
test rax, rax
je .L5
mov edx, 32
xor esi, esi
lea rbx, 24[r12]
mov rdi, rax
call memset@PLT
mov edx, 4
mov rsi, rbp
mov rdi, rbx
call memcpy@PLT
movsx rax, DWORD PTR ZWRAP_freeFunction[rip]
mov QWORD PTR [r12], rbx
mov QWORD PTR 16[r12], 0
mov QWORD PTR 8[r12], rax
.L1:
mov rax, r12
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
mov esi, 32
mov edi, 1
call calloc@PLT
mov r12, rax
test rax, rax
jne .L1
.L5:
xor r12d, r12d
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
mov rax, r12
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size ZWRAP_createCCtx, .-ZWRAP_createCCtx
.globl ZWRAP_freeFunction
.bss
.align 4
.type ZWRAP_freeFunction, @object
.size ZWRAP_freeFunction, 4
ZWRAP_freeFunction:
.zero 4
.globl ZWRAP_allocFunction
.align 4
.type ZWRAP_allocFunction, @object
.size ZWRAP_allocFunction, 4
ZWRAP_allocFunction:
.zero 4
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zstd_zlibwrapper.c_ZWRAP_createCCtx.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ZWRAP_createCCtx, %function
ZWRAP_createCCtx:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r3, [r0, #4]
sub sp, sp, #16
cmp r3, #0
beq .L2
ldr r2, [r0, #8]
mov r5, r0
cmp r2, #0
beq .L2
mov r2, #20
mov r1, #1
ldr r0, [r0]
blx r3
subs r4, r0, #0
beq .L5
add r6, r4, #16
mov r2, #20
mov r1, #0
bl memset
mov r1, r5
mov r0, r6
mov r2, #4
bl memcpy
mov r3, #0
ldr r2, .L17
str r3, [sp, #12]
ldr r2, [r2]
str r6, [sp]
stmib sp, {r2, r3}
add r3, sp, #16
ldmdb r3, {r0, r1, r2, r3}
stm r4, {r0, r1, r2, r3}
mov r0, r4
add sp, sp, #16
@ sp needed
pop {r4, r5, r6, pc}
.L2:
mov r1, #20
mov r0, #1
bl calloc
subs r4, r0, #0
beq .L5
mov r0, r4
add sp, sp, #16
@ sp needed
pop {r4, r5, r6, pc}
.L5:
mov r4, #0
mov r0, r4
add sp, sp, #16
@ sp needed
pop {r4, r5, r6, pc}
.L18:
.align 2
.L17:
.word ZWRAP_freeFunction
.size ZWRAP_createCCtx, .-ZWRAP_createCCtx
.comm ZWRAP_freeFunction,4,4
.comm ZWRAP_allocFunction,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_deflateReset_keepDict.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "- ZWRAP_deflateReset_keepDict\n"
.text
.p2align 4
.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, rdi
lea rdi, .LC0[rip]
call LOG_WRAPPERC@PLT
mov eax, DWORD PTR g_ZWRAP_useZSTDcompression[rip]
test eax, eax
je .L9
mov rax, QWORD PTR 24[rbp]
test rax, rax
je .L3
mov QWORD PTR 8[rax], 0
mov QWORD PTR [rax], 0
.L3:
mov QWORD PTR 16[rbp], 0
mov eax, DWORD PTR Z_OK[rip]
mov QWORD PTR 8[rbp], 0
mov QWORD PTR 0[rbp], 0
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L9:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 8
jmp deflateReset@PLT
.cfi_endproc
.LFE0:
.size ZWRAP_deflateReset_keepDict, .-ZWRAP_deflateReset_keepDict
.globl g_ZWRAP_useZSTDcompression
.bss
.align 4
.type g_ZWRAP_useZSTDcompression, @object
.size g_ZWRAP_useZSTDcompression, 4
g_ZWRAP_useZSTDcompression:
.zero 4
.globl Z_OK
.align 4
.type Z_OK, @object
.size Z_OK, 4
Z_OK:
.zero 4
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zstd_zlibwrapper.c_ZWRAP_deflateReset_keepDict.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "- ZWRAP_deflateReset_keepDict\012\000"
.text
.align 2
.global ZWRAP_deflateReset_keepDict
.syntax unified
.arm
.fpu softvfp
.type ZWRAP_deflateReset_keepDict, %function
ZWRAP_deflateReset_keepDict:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r0, .L10
bl LOG_WRAPPERC
ldr r3, .L10+4
ldr r3, [r3]
cmp r3, #0
beq .L9
ldr r3, [r4, #12]
cmp r3, #0
movne r2, #0
strne r2, [r3, #4]
strne r2, [r3]
mov r3, #0
ldr r2, .L10+8
str r3, [r4, #8]
ldr r0, [r2]
str r3, [r4, #4]
str r3, [r4]
pop {r4, pc}
.L9:
mov r0, r4
pop {r4, lr}
b deflateReset
.L11:
.align 2
.L10:
.word .LC0
.word g_ZWRAP_useZSTDcompression
.word Z_OK
.size ZWRAP_deflateReset_keepDict, .-ZWRAP_deflateReset_keepDict
.comm g_ZWRAP_useZSTDcompression,4,4
.comm Z_OK,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_freeCCtx.c"
.intel_syntax noprefix
.text
.p2align 4
.type ZWRAP_freeCCtx, @function
ZWRAP_freeCCtx:
.LFB0:
.cfi_startproc
endbr64
test rdi, rdi
je .L7
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
mov edi, DWORD PTR 4[rdi]
call ZSTD_freeCStream@PLT
mov esi, DWORD PTR 0[rbp]
mov rdi, rbp
call ZSTD_free@PLT
xor eax, eax
pop rbp
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore 6
xor eax, eax
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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zstd_zlibwrapper.c_ZWRAP_freeCCtx.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ZWRAP_freeCCtx, %function
ZWRAP_freeCCtx:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
subs r4, r0, #0
beq .L2
ldr r0, [r4, #4]
bl ZSTD_freeCStream
mov r0, r4
ldr r1, [r4]
bl ZSTD_free
.L2:
mov r0, #0
pop {r4, pc}
.size ZWRAP_freeCCtx, .-ZWRAP_freeCCtx
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_freeDCtx.c"
.intel_syntax noprefix
.text
.p2align 4
.type ZWRAP_freeDCtx, @function
ZWRAP_freeDCtx:
.LFB0:
.cfi_startproc
endbr64
test rdi, rdi
je .L7
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
mov edi, DWORD PTR 16[rdi]
call ZSTD_freeDStream@PLT
mov rdi, QWORD PTR 8[rbp]
mov esi, DWORD PTR 0[rbp]
call ZSTD_free@PLT
mov esi, DWORD PTR 0[rbp]
mov rdi, rbp
call ZSTD_free@PLT
xor eax, eax
pop rbp
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore 6
xor eax, eax
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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zstd_zlibwrapper.c_ZWRAP_freeDCtx.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ZWRAP_freeDCtx, %function
ZWRAP_freeDCtx:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
subs r4, r0, #0
beq .L2
ldr r0, [r4, #8]
bl ZSTD_freeDStream
ldr r1, [r4]
ldr r0, [r4, #4]
bl ZSTD_free
mov r0, r4
ldr r1, [r4]
bl ZSTD_free
.L2:
mov r0, #0
pop {r4, pc}
.size ZWRAP_freeDCtx, .-ZWRAP_freeDCtx
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_freeFunction.c"
.intel_syntax noprefix
.text
.p2align 4
.type ZWRAP_freeFunction, @function
ZWRAP_freeFunction:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR 8[rdi]
mov edi, DWORD PTR [rdi]
jmp rax
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zstd_zlibwrapper.c_ZWRAP_freeFunction.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ZWRAP_freeFunction, %function
ZWRAP_freeFunction:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldm r0, {r0, r3}
bx r3
.size ZWRAP_freeFunction, .-ZWRAP_freeFunction
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_getDecompressionType.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ZWRAP_getDecompressionType
.type ZWRAP_getDecompressionType, @function
ZWRAP_getDecompressionType:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR g_ZWRAPdecompressionType[rip]
ret
.cfi_endproc
.LFE0:
.size ZWRAP_getDecompressionType, .-ZWRAP_getDecompressionType
.globl g_ZWRAPdecompressionType
.bss
.align 4
.type g_ZWRAPdecompressionType, @object
.size g_ZWRAPdecompressionType, 4
g_ZWRAPdecompressionType:
.zero 4
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zstd_zlibwrapper.c_ZWRAP_getDecompressionType.c"
.text
.align 2
.global ZWRAP_getDecompressionType
.syntax unified
.arm
.fpu softvfp
.type ZWRAP_getDecompressionType, %function
ZWRAP_getDecompressionType:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
ldr r0, [r3]
bx lr
.L4:
.align 2
.L3:
.word g_ZWRAPdecompressionType
.size ZWRAP_getDecompressionType, .-ZWRAP_getDecompressionType
.comm g_ZWRAPdecompressionType,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_inflateReset_keepDict.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "- ZWRAP_inflateReset_keepDict\n"
.text
.p2align 4
.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, rdi
lea rdi, .LC0[rip]
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 8
.cfi_def_cfa_offset 32
call LOG_WRAPPERD@PLT
mov rax, QWORD PTR ZWRAP_FORCE_ZLIB[rip]
cmp QWORD PTR g_ZWRAPdecompressionType[rip], rax
je .L2
mov eax, DWORD PTR 24[rbp]
test eax, eax
je .L2
mov rbx, QWORD PTR 16[rbp]
mov eax, DWORD PTR Z_STREAM_ERROR[rip]
test rbx, rbx
jne .L8
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
mov rdi, rbx
call ZWRAP_initDCtx@PLT
mov eax, DWORD PTR ZWRAP_useReset[rip]
mov QWORD PTR [rbx], 0
mov DWORD PTR 8[rbx], eax
mov eax, DWORD PTR Z_OK[rip]
mov QWORD PTR 8[rbp], 0
mov QWORD PTR 0[rbp], 0
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
add rsp, 8
.cfi_def_cfa_offset 24
mov rdi, rbp
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp inflateReset@PLT
.cfi_endproc
.LFE0:
.size ZWRAP_inflateReset_keepDict, .-ZWRAP_inflateReset_keepDict
.globl g_ZWRAPdecompressionType
.bss
.align 8
.type g_ZWRAPdecompressionType, @object
.size g_ZWRAPdecompressionType, 8
g_ZWRAPdecompressionType:
.zero 8
.globl Z_STREAM_ERROR
.align 4
.type Z_STREAM_ERROR, @object
.size Z_STREAM_ERROR, 4
Z_STREAM_ERROR:
.zero 4
.globl Z_OK
.align 4
.type Z_OK, @object
.size Z_OK, 4
Z_OK:
.zero 4
.globl ZWRAP_useReset
.align 4
.type ZWRAP_useReset, @object
.size ZWRAP_useReset, 4
ZWRAP_useReset:
.zero 4
.globl ZWRAP_FORCE_ZLIB
.align 8
.type ZWRAP_FORCE_ZLIB, @object
.size ZWRAP_FORCE_ZLIB, 8
ZWRAP_FORCE_ZLIB:
.zero 8
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zstd_zlibwrapper.c_ZWRAP_inflateReset_keepDict.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "- ZWRAP_inflateReset_keepDict\012\000"
.text
.align 2
.global ZWRAP_inflateReset_keepDict
.syntax unified
.arm
.fpu softvfp
.type ZWRAP_inflateReset_keepDict, %function
ZWRAP_inflateReset_keepDict:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
ldr r0, .L8
bl LOG_WRAPPERD
ldr r2, .L8+4
ldr r3, .L8+8
ldr r2, [r2]
ldr r3, [r3]
cmp r2, r3
beq .L2
ldr r3, [r4, #12]
cmp r3, #0
beq .L2
ldr r5, [r4, #8]
cmp r5, #0
bne .L4
ldr r3, .L8+12
ldr r0, [r3]
pop {r4, r5, r6, pc}
.L4:
mov r0, r5
bl ZWRAP_initDCtx
mov r3, #0
ldr r2, .L8+16
ldr r1, .L8+20
ldr r2, [r2]
ldr r0, [r1]
str r2, [r5, #4]
str r3, [r5]
str r3, [r4, #4]
str r3, [r4]
pop {r4, r5, r6, pc}
.L2:
mov r0, r4
pop {r4, r5, r6, lr}
b inflateReset
.L9:
.align 2
.L8:
.word .LC0
.word g_ZWRAPdecompressionType
.word ZWRAP_FORCE_ZLIB
.word Z_STREAM_ERROR
.word ZWRAP_useReset
.word Z_OK
.size ZWRAP_inflateReset_keepDict, .-ZWRAP_inflateReset_keepDict
.comm g_ZWRAPdecompressionType,4,4
.comm Z_STREAM_ERROR,4,4
.comm Z_OK,4,4
.comm ZWRAP_useReset,4,4
.comm ZWRAP_FORCE_ZLIB,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_initDCtx.c"
.intel_syntax noprefix
.text
.p2align 4
.type ZWRAP_initDCtx, @function
ZWRAP_initDCtx:
.LFB0:
.cfi_startproc
endbr64
mov QWORD PTR 16[rdi], 0
mov QWORD PTR 8[rdi], 0
mov QWORD PTR [rdi], 0
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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zstd_zlibwrapper.c_ZWRAP_initDCtx.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ZWRAP_initDCtx, %function
ZWRAP_initDCtx:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r3, #0
str r3, [r0, #8]
str r3, [r0, #4]
str r3, [r0]
bx lr
.size ZWRAP_initDCtx, .-ZWRAP_initDCtx
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_initializeCStream.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "- ZWRAP_initializeCStream=%p\n"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC1:
.string "pledgedSrcSize=%d windowLog=%d chainLog=%d hashLog=%d searchLog=%d minMatch=%d strategy=%d\n"
.text
.p2align 4
.type ZWRAP_initializeCStream, @function
ZWRAP_initializeCStream:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
mov r13, rdx
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12, rcx
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rbp, rsi
mov rsi, rdi
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
mov rbx, rdi
lea rdi, .LC0[rip]
sub rsp, 40
.cfi_def_cfa_offset 80
mov rax, QWORD PTR fs:40
mov QWORD PTR 24[rsp], rax
xor eax, eax
call LOG_WRAPPERC@PLT
test rbx, rbx
je .L2
cmp QWORD PTR 8[rbx], 0
je .L2
test r12, r12
je .L13
.L5:
mov esi, DWORD PTR 16[rbx]
mov rdi, rsp
mov rcx, r13
mov rdx, r12
call ZSTD_getParams@PLT
mov eax, DWORD PTR [rsp]
mov esi, r12d
lea rdi, .LC1[rip]
push rax
.cfi_def_cfa_offset 88
mov eax, DWORD PTR 12[rsp]
push rax
.cfi_def_cfa_offset 96
mov r9d, DWORD PTR 24[rsp]
xor eax, eax
mov r8d, DWORD PTR 28[rsp]
mov ecx, DWORD PTR 32[rsp]
mov edx, DWORD PTR 36[rsp]
call LOG_WRAPPERC@PLT
pop rax
.cfi_def_cfa_offset 88
push QWORD PTR 24[rsp]
.cfi_def_cfa_offset 96
mov rcx, r12
mov rdi, QWORD PTR 8[rbx]
push QWORD PTR 24[rsp]
.cfi_def_cfa_offset 104
mov rdx, r13
mov rsi, rbp
push QWORD PTR 24[rsp]
.cfi_def_cfa_offset 112
call ZSTD_initCStream_advanced@PLT
add rsp, 32
.cfi_def_cfa_offset 80
mov rdi, rax
call ZSTD_isError@PLT
test rax, rax
mov eax, DWORD PTR Z_STREAM_ERROR[rip]
cmove eax, DWORD PTR Z_OK[rip]
.L1:
mov rdx, QWORD PTR 24[rsp]
sub rdx, QWORD PTR fs:40
jne .L14
add rsp, 40
.cfi_remember_state
.cfi_def_cfa_offset 40
pop rbx
.cfi_def_cfa_offset 32
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L13:
.cfi_restore_state
mov r12, QWORD PTR [rbx]
jmp .L5
.p2align 4,,10
.p2align 3
.L2:
mov eax, DWORD PTR Z_STREAM_ERROR[rip]
jmp .L1
.L14:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size ZWRAP_initializeCStream, .-ZWRAP_initializeCStream
.globl Z_STREAM_ERROR
.bss
.align 4
.type Z_STREAM_ERROR, @object
.size Z_STREAM_ERROR, 4
Z_STREAM_ERROR:
.zero 4
.globl Z_OK
.align 4
.type Z_OK, @object
.size Z_OK, 4
Z_OK:
.zero 4
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zstd_zlibwrapper.c_ZWRAP_initializeCStream.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "- ZWRAP_initializeCStream=%p\012\000"
.align 2
.LC1:
.ascii "pledgedSrcSize=%d windowLog=%d chainLog=%d hashLog="
.ascii "%d searchLog=%d minMatch=%d strategy=%d\012\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC2:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ZWRAP_initializeCStream, %function
ZWRAP_initializeCStream:
@ args = 8, pretend = 0, frame = 32
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r4, r0
ldr r3, .L15
sub sp, sp, #64
mov r8, r1
add r7, sp, #88
ldmia r7, {r6-r7}
mov r1, r0
ldr r0, .L15+4
mov r5, r2
ldr r3, [r3]
str r3, [sp, #60]
mov r3,#0
bl LOG_WRAPPERC
cmp r4, #0
beq .L12
ldr r3, [r4, #8]
cmp r3, #0
beq .L12
orrs r3, r6, r7
ldmiaeq r4, {r6-r7}
.L5:
str r5, [sp]
mov r2, r6
mov r3, r7
ldr r1, [r4, #12]
add r0, sp, #36
bl ZSTD_getParams
add r0, sp, #36
ldm r0, {r0, r1, r2, r3}
str r0, [sp, #12]
str r1, [sp, #8]
str r2, [sp, #4]
mov r1, r6
ldr r2, [sp, #56]
str r3, [sp]
ldr r0, .L15+8
ldr r3, [sp, #52]
bl LOG_WRAPPERC
mov ip, sp
str r6, [sp, #24]
str r7, [sp, #28]
add lr, sp, #40
ldmia lr!, {r0, r1, r2, r3}
stmia ip!, {r0, r1, r2, r3}
ldr r3, [lr]
mov r2, r5
str r3, [ip]
mov r1, r8
ldr r3, [sp, #36]
ldr r0, [r4, #8]
bl ZSTD_initCStream_advanced
bl ZSTD_isError
cmp r0, #0
ldreq r3, .L15+12
ldreq r0, [r3]
beq .L1
.L12:
ldr r3, .L15+16
ldr r0, [r3]
.L1:
ldr r3, .L15
ldr r2, [r3]
ldr r3, [sp, #60]
eors r2, r3, r2
mov r3, #0
bne .L14
add sp, sp, #64
@ sp needed
pop {r4, r5, r6, r7, r8, pc}
.L14:
bl __stack_chk_fail
.L16:
.align 2
.L15:
.word .LC2
.word .LC0
.word .LC1
.word Z_OK
.word Z_STREAM_ERROR
.size ZWRAP_initializeCStream, .-ZWRAP_initializeCStream
.comm Z_STREAM_ERROR,4,4
.comm Z_OK,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_isUsingZSTDcompression.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ZWRAP_isUsingZSTDcompression
.type ZWRAP_isUsingZSTDcompression, @function
ZWRAP_isUsingZSTDcompression:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR g_ZWRAP_useZSTDcompression[rip]
ret
.cfi_endproc
.LFE0:
.size ZWRAP_isUsingZSTDcompression, .-ZWRAP_isUsingZSTDcompression
.globl g_ZWRAP_useZSTDcompression
.bss
.align 4
.type g_ZWRAP_useZSTDcompression, @object
.size g_ZWRAP_useZSTDcompression, 4
g_ZWRAP_useZSTDcompression:
.zero 4
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zstd_zlibwrapper.c_ZWRAP_isUsingZSTDcompression.c"
.text
.align 2
.global ZWRAP_isUsingZSTDcompression
.syntax unified
.arm
.fpu softvfp
.type ZWRAP_isUsingZSTDcompression, %function
ZWRAP_isUsingZSTDcompression:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
ldr r0, [r3]
bx lr
.L4:
.align 2
.L3:
.word g_ZWRAP_useZSTDcompression
.size ZWRAP_isUsingZSTDcompression, .-ZWRAP_isUsingZSTDcompression
.comm g_ZWRAP_useZSTDcompression,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_isUsingZSTDdecompression.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ZWRAP_isUsingZSTDdecompression
.type ZWRAP_isUsingZSTDdecompression, @function
ZWRAP_isUsingZSTDdecompression:
.LFB0:
.cfi_startproc
endbr64
test rdi, rdi
je .L3
mov rax, QWORD PTR ZWRAP_ZSTD_STREAM[rip]
cmp QWORD PTR [rdi], rax
sete al
movzx eax, al
ret
.p2align 4,,10
.p2align 3
.L3:
xor eax, eax
ret
.cfi_endproc
.LFE0:
.size ZWRAP_isUsingZSTDdecompression, .-ZWRAP_isUsingZSTDdecompression
.globl ZWRAP_ZSTD_STREAM
.bss
.align 8
.type ZWRAP_ZSTD_STREAM, @object
.size ZWRAP_ZSTD_STREAM, 8
ZWRAP_ZSTD_STREAM:
.zero 8
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zstd_zlibwrapper.c_ZWRAP_isUsingZSTDdecompression.c"
.text
.align 2
.global ZWRAP_isUsingZSTDdecompression
.syntax unified
.arm
.fpu softvfp
.type ZWRAP_isUsingZSTDdecompression, %function
ZWRAP_isUsingZSTDdecompression:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
cmp r0, #0
bxeq lr
ldr r3, .L5
ldr r0, [r0]
ldr r3, [r3]
sub r0, r0, r3
clz r0, r0
lsr r0, r0, #5
bx lr
.L6:
.align 2
.L5:
.word ZWRAP_ZSTD_STREAM
.size ZWRAP_isUsingZSTDdecompression, .-ZWRAP_isUsingZSTDdecompression
.comm ZWRAP_ZSTD_STREAM,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_setDecompressionType.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ZWRAP_setDecompressionType
.type ZWRAP_setDecompressionType, @function
ZWRAP_setDecompressionType:
.LFB0:
.cfi_startproc
endbr64
mov DWORD PTR g_ZWRAPdecompressionType[rip], edi
ret
.cfi_endproc
.LFE0:
.size ZWRAP_setDecompressionType, .-ZWRAP_setDecompressionType
.globl g_ZWRAPdecompressionType
.bss
.align 4
.type g_ZWRAPdecompressionType, @object
.size g_ZWRAPdecompressionType, 4
g_ZWRAPdecompressionType:
.zero 4
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zstd_zlibwrapper.c_ZWRAP_setDecompressionType.c"
.text
.align 2
.global ZWRAP_setDecompressionType
.syntax unified
.arm
.fpu softvfp
.type ZWRAP_setDecompressionType, %function
ZWRAP_setDecompressionType:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
str r0, [r3]
bx lr
.L4:
.align 2
.L3:
.word g_ZWRAPdecompressionType
.size ZWRAP_setDecompressionType, .-ZWRAP_setDecompressionType
.comm g_ZWRAPdecompressionType,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_setPledgedSrcSize.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ZWRAP_setPledgedSrcSize
.type ZWRAP_setPledgedSrcSize, @function
ZWRAP_setPledgedSrcSize:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR [rdi]
test rax, rax
je .L5
mov edx, DWORD PTR ZWRAP_useInit[rip]
mov QWORD PTR [rax], rsi
mov DWORD PTR 8[rax], edx
mov eax, DWORD PTR Z_OK[rip]
ret
.p2align 4,,10
.p2align 3
.L5:
mov eax, DWORD PTR Z_STREAM_ERROR[rip]
ret
.cfi_endproc
.LFE0:
.size ZWRAP_setPledgedSrcSize, .-ZWRAP_setPledgedSrcSize
.globl Z_STREAM_ERROR
.bss
.align 4
.type Z_STREAM_ERROR, @object
.size Z_STREAM_ERROR, 4
Z_STREAM_ERROR:
.zero 4
.globl Z_OK
.align 4
.type Z_OK, @object
.size Z_OK, 4
Z_OK:
.zero 4
.globl ZWRAP_useInit
.align 4
.type ZWRAP_useInit, @object
.size ZWRAP_useInit, 4
ZWRAP_useInit:
.zero 4
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zstd_zlibwrapper.c_ZWRAP_setPledgedSrcSize.c"
.text
.align 2
.global ZWRAP_setPledgedSrcSize
.syntax unified
.arm
.fpu softvfp
.type ZWRAP_setPledgedSrcSize, %function
ZWRAP_setPledgedSrcSize:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r1, [r0]
cmp r1, #0
ldrne ip, .L5
ldreq r3, .L5+4
ldrne ip, [ip]
ldreq r0, [r3]
ldrne r0, .L5+8
ldrne r0, [r0]
stmne r1, {r2, r3, ip}
bx lr
.L6:
.align 2
.L5:
.word ZWRAP_useInit
.word Z_STREAM_ERROR
.word Z_OK
.size ZWRAP_setPledgedSrcSize, .-ZWRAP_setPledgedSrcSize
.comm Z_STREAM_ERROR,4,4
.comm Z_OK,4,4
.comm ZWRAP_useInit,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_zlibwrapper.c_ZWRAP_useZSTDcompression.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ZWRAP_useZSTDcompression
.type ZWRAP_useZSTDcompression, @function
ZWRAP_useZSTDcompression:
.LFB0:
.cfi_startproc
endbr64
mov DWORD PTR g_ZWRAP_useZSTDcompression[rip], edi
ret
.cfi_endproc
.LFE0:
.size ZWRAP_useZSTDcompression, .-ZWRAP_useZSTDcompression
.globl g_ZWRAP_useZSTDcompression
.bss
.align 4
.type g_ZWRAP_useZSTDcompression, @object
.size g_ZWRAP_useZSTDcompression, 4
g_ZWRAP_useZSTDcompression:
.zero 4
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zstd_zlibwrapper.c_ZWRAP_useZSTDcompression.c"
.text
.align 2
.global ZWRAP_useZSTDcompression
.syntax unified
.arm
.fpu softvfp
.type ZWRAP_useZSTDcompression, %function
ZWRAP_useZSTDcompression:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
str r0, [r3]
bx lr
.L4:
.align 2
.L3:
.word g_ZWRAP_useZSTDcompression
.size ZWRAP_useZSTDcompression, .-ZWRAP_useZSTDcompression
.comm g_ZWRAP_useZSTDcompression,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_zlibwrapper.c_zstdVersion.c"
.intel_syntax noprefix
.text
.p2align 4
.globl zstdVersion
.type zstdVersion, @function
zstdVersion:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR ZSTD_VERSION_STRING[rip]
ret
.cfi_endproc
.LFE0:
.size zstdVersion, .-zstdVersion
.globl ZSTD_VERSION_STRING
.bss
.align 8
.type ZSTD_VERSION_STRING, @object
.size ZSTD_VERSION_STRING, 8
ZSTD_VERSION_STRING:
.zero 8
.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:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_zstd_zlibwrapper.c_zstdVersion.c"
.text
.align 2
.global zstdVersion
.syntax unified
.arm
.fpu softvfp
.type zstdVersion, %function
zstdVersion:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
ldr r0, [r3]
bx lr
.L4:
.align 2
.L3:
.word ZSTD_VERSION_STRING
.size zstdVersion, .-zstdVersion
.comm ZSTD_VERSION_STRING,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
Subsets and Splits