x86
stringlengths 335
88.6k
| arm
stringlengths 349
86.1k
|
---|---|
.file "extr_appimagetoolnoglib.c_main.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "Warning: binreloc failed to initialize (error code %d)\n"
.section .rodata.str1.1,"aMS",@progbits,1
.LC1:
.string "This tool is located at %s\n"
.section .rodata.str1.8
.align 8
.LC2:
.string "%s from the AppImage %s should be dumped to stdout\n"
.section .rodata.str1.1
.LC3:
.string "To be implemented"
.section .rodata.str1.8
.align 8
.LC4:
.string "Original SOURCE = %s\nOriginal DESTINATION = %s\n"
.section .rodata.str1.1
.LC5:
.string ".AppImage"
.section .rodata.str1.8
.align 8
.LC6:
.string "DESTINATION not specified, so assuming %s\n"
.section .rodata.str1.1
.LC7:
.string "%s should be packaged as %s\n"
.LC8:
.string "Generating squashfs...\n"
.LC9:
.string ".temp"
.LC10:
.string "sfs_mksquashfs error"
.LC11:
.string "Generating AppImage...\n"
.LC12:
.string "rb"
.section .rodata.str1.8
.align 8
.LC13:
.string "Not able to open the tempfile for reading, aborting"
.section .rodata.str1.1
.LC14:
.string "w"
.section .rodata.str1.8
.align 8
.LC15:
.string "Not able to open the destination file for writing, aborting"
.align 8
.LC16:
.string "Size of the embedded runtime: %d bytes\n"
.align 8
.LC17:
.string "Size of the embedded runtime is too large, aborting"
.align 8
.LC18:
.string "Not able to write padding to destination file, aborting"
.align 8
.LC19:
.string "Marking the AppImage as executable...\n"
.align 8
.LC20:
.string "Could not set executable bit, aborting"
.align 8
.LC21:
.string "Could not delete the tempfile, aborting"
.section .rodata.str1.1
.LC22:
.string "Success\n"
.section .rodata.str1.8
.align 8
.LC23:
.string "%s is a file, assuming it is an AppImage and should be unpacked\n"
.section .text.startup,"ax",@progbits
.p2align 4
.globl main
.type main, @function
main:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
push r15
push r14
push r13
.cfi_offset 15, -24
.cfi_offset 14, -32
.cfi_offset 13, -40
mov r13, rsi
push r12
.cfi_offset 12, -48
mov r12d, edi
lea rdi, -100[rbp]
push rbx
sub rsp, 88
.cfi_offset 3, -56
mov rax, QWORD PTR fs:40
mov QWORD PTR -56[rbp], rax
xor eax, eax
call br_init@PLT
test rax, rax
je .L46
.L2:
xor edi, edi
call br_find_exe_dir@PLT
lea rdi, .LC1[rip]
mov rsi, rax
xor eax, eax
call printf@PLT
xor r8d, r8d
xor ecx, ecx
lea r9, -96[rbp]
mov rdx, r13
mov esi, r12d
lea rdi, argp[rip]
mov QWORD PTR -72[rbp], 0
mov QWORD PTR -80[rbp], 0
mov QWORD PTR -96[rbp], 0
call argp_parse@PLT
cmp QWORD PTR -72[rbp], 0
jne .L47
.L3:
mov rdx, QWORD PTR -96[rbp]
test rdx, rdx
je .L4
mov rax, QWORD PTR -88[rbp]
mov edi, DWORD PTR stdout[rip]
lea rsi, .LC2[rip]
mov rcx, QWORD PTR [rax]
xor eax, eax
call fprintf@PLT
lea rdi, .LC3[rip]
call die@PLT
.L4:
cmp QWORD PTR -80[rbp], 0
jne .L48
.L5:
mov rax, QWORD PTR -88[rbp]
mov rdi, QWORD PTR [rax]
call is_directory@PLT
test rax, rax
jne .L49
.L6:
mov rax, QWORD PTR -88[rbp]
mov rdi, QWORD PTR [rax]
call is_regular_file@PLT
test rax, rax
jne .L50
.L21:
mov rax, QWORD PTR -56[rbp]
sub rax, QWORD PTR fs:40
jne .L51
lea rsp, -40[rbp]
xor eax, eax
pop rbx
pop r12
pop r13
pop r14
pop r15
pop rbp
.cfi_remember_state
.cfi_def_cfa 7, 8
ret
.L46:
.cfi_restore_state
mov esi, DWORD PTR -100[rbp]
lea rdi, .LC0[rip]
call printf@PLT
jmp .L2
.L50:
mov rax, QWORD PTR -88[rbp]
mov edi, DWORD PTR stdout[rip]
lea rsi, .LC23[rip]
mov rdx, QWORD PTR [rax]
xor eax, eax
call fprintf@PLT
lea rdi, .LC3[rip]
call die@PLT
jmp .L21
.L49:
movsx rax, DWORD PTR PATH_MAX[rip]
mov QWORD PTR -120[rbp], rsp
mov rcx, rsp
add rax, 15
mov rdx, rax
and rax, -4096
and rdx, -16
sub rcx, rax
.L7:
cmp rsp, rcx
je .L8
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
jmp .L7
.L48:
mov rax, QWORD PTR -88[rbp]
mov edi, DWORD PTR stdout[rip]
lea rsi, .LC4[rip]
mov rcx, QWORD PTR 8[rax]
mov rdx, QWORD PTR [rax]
xor eax, eax
call fprintf@PLT
jmp .L5
.L47:
mov rax, QWORD PTR -88[rbp]
mov rdi, QWORD PTR [rax]
call sfs_ls@PLT
xor edi, edi
call exit@PLT
jmp .L3
.L8:
and edx, 4095
sub rsp, rdx
test rdx, rdx
jne .L52
.L9:
mov rax, QWORD PTR -88[rbp]
mov rsi, rsp
mov r12, rsp
mov rdi, QWORD PTR [rax]
call realpath@PLT
mov rax, QWORD PTR -88[rbp]
mov r15, QWORD PTR 8[rax]
test r15, r15
jne .L10
lea rsi, .LC5[rip]
mov rdi, rsp
call br_strcat@PLT
mov rdi, rax
call basename@PLT
mov edi, DWORD PTR stdout[rip]
lea rsi, .LC6[rip]
mov rdx, rax
mov r15, rax
xor eax, eax
call fprintf@PLT
mov rax, QWORD PTR -88[rbp]
.L10:
mov rdx, QWORD PTR [rax]
mov edi, DWORD PTR stdout[rip]
mov rcx, r15
xor eax, eax
lea rsi, .LC7[rip]
call fprintf@PLT
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC8[rip]
xor eax, eax
call fprintf@PLT
lea rsi, .LC9[rip]
mov rdi, r15
call br_strcat@PLT
mov rdi, r12
mov rsi, rax
mov r14, rax
call sfs_mksquashfs@PLT
test eax, eax
jne .L53
.L11:
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC11[rip]
xor eax, eax
call fprintf@PLT
lea rsi, .LC12[rip]
mov rdi, r14
call fopen@PLT
mov r12, rax
test rax, rax
je .L54
.L12:
lea rsi, .LC14[rip]
mov rdi, r15
call fopen@PLT
mov r13, rax
test rax, rax
je .L55
.L13:
cmp QWORD PTR -80[rbp], 0
mov ebx, DWORD PTR runtime_len[rip]
mov r8, QWORD PTR runtime[rip]
jne .L56
.L14:
cmp ebx, 114686
jg .L57
.L15:
mov esi, ebx
mov rdi, r8
mov rcx, r13
mov edx, 1
call fwrite@PLT
mov rdi, r13
call fileno@PLT
mov esi, 131072
mov edi, eax
call ftruncate@PLT
test rax, rax
jne .L58
.L16:
mov edx, DWORD PTR SEEK_END[rip]
xor esi, esi
mov rdi, r13
lea rbx, -101[rbp]
call fseek@PLT
jmp .L17
.p2align 4,,10
.p2align 3
.L18:
mov rcx, r12
mov edx, 1
mov esi, 1
mov rdi, rbx
call fread@PLT
mov rcx, r13
mov edx, 1
mov rdi, rbx
mov esi, 1
call fwrite@PLT
.L17:
mov rdi, r12
call feof@PLT
test eax, eax
je .L18
mov rdi, r12
call fclose@PLT
mov rdi, r13
call fclose@PLT
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC19[rip]
xor eax, eax
call fprintf@PLT
mov esi, 493
mov rdi, r15
call chmod@PLT
test rax, rax
js .L59
.L19:
mov rdi, r14
call unlink@PLT
test rax, rax
jne .L60
.L20:
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC22[rip]
xor eax, eax
call fprintf@PLT
mov rsp, QWORD PTR -120[rbp]
jmp .L6
.L58:
lea rdi, .LC18[rip]
call die@PLT
jmp .L16
.L60:
lea rdi, .LC21[rip]
call die@PLT
jmp .L20
.L57:
lea rdi, .LC17[rip]
mov QWORD PTR -128[rbp], r8
call die@PLT
mov r8, QWORD PTR -128[rbp]
jmp .L15
.L56:
mov esi, ebx
lea rdi, .LC16[rip]
xor eax, eax
mov QWORD PTR -128[rbp], r8
call printf@PLT
mov r8, QWORD PTR -128[rbp]
jmp .L14
.L53:
lea rdi, .LC10[rip]
call die@PLT
jmp .L11
.L59:
lea rdi, .LC20[rip]
call puts@PLT
mov edi, 1
call exit@PLT
jmp .L19
.L55:
lea rdi, .LC15[rip]
call die@PLT
jmp .L13
.L54:
lea rdi, .LC13[rip]
call die@PLT
jmp .L12
.L52:
or QWORD PTR -8[rsp+rdx], 0
jmp .L9
.L51:
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 runtime_len
.align 4
.type runtime_len, @object
.size runtime_len, 4
runtime_len:
.zero 4
.globl runtime
.align 8
.type runtime, @object
.size runtime, 8
runtime:
.zero 8
.globl argp
.align 4
.type argp, @object
.size argp, 4
argp:
.zero 4
.globl SEEK_END
.align 4
.type SEEK_END, @object
.size SEEK_END, 4
SEEK_END:
.zero 4
.globl PATH_MAX
.align 4
.type PATH_MAX, @object
.size PATH_MAX, 4
PATH_MAX:
.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_appimagetoolnoglib.c_main.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "Warning: binreloc failed to initialize (error code "
.ascii "%d)\012\000"
.align 2
.LC1:
.ascii "This tool is located at %s\012\000"
.align 2
.LC2:
.ascii "%s from the AppImage %s should be dumped to stdout\012"
.ascii "\000"
.align 2
.LC3:
.ascii "To be implemented\000"
.align 2
.LC4:
.ascii "Original SOURCE = %s\012Original DESTINATION = %s\012"
.ascii "\000"
.align 2
.LC5:
.ascii ".AppImage\000"
.align 2
.LC6:
.ascii "DESTINATION not specified, so assuming %s\012\000"
.align 2
.LC7:
.ascii "%s should be packaged as %s\012\000"
.align 2
.LC8:
.ascii "Generating squashfs...\012\000"
.align 2
.LC9:
.ascii ".temp\000"
.align 2
.LC10:
.ascii "sfs_mksquashfs error\000"
.align 2
.LC11:
.ascii "Generating AppImage...\012\000"
.align 2
.LC12:
.ascii "rb\000"
.align 2
.LC13:
.ascii "Not able to open the tempfile for reading, aborting"
.ascii "\000"
.align 2
.LC14:
.ascii "w\000"
.align 2
.LC15:
.ascii "Not able to open the destination file for writing, "
.ascii "aborting\000"
.align 2
.LC16:
.ascii "Size of the embedded runtime: %d bytes\012\000"
.align 2
.LC17:
.ascii "Size of the embedded runtime is too large, aborting"
.ascii "\000"
.align 2
.LC18:
.ascii "Not able to write padding to destination file, abor"
.ascii "ting\000"
.align 2
.LC19:
.ascii "Marking the AppImage as executable...\012\000"
.align 2
.LC20:
.ascii "Could not set executable bit, aborting\000"
.align 2
.LC21:
.ascii "Could not delete the tempfile, aborting\000"
.align 2
.LC22:
.ascii "Success\012\000"
.align 2
.LC23:
.ascii "%s is a file, assuming it is an AppImage and should"
.ascii " be unpacked\012\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC24:
.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 = 40
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
add fp, sp, #32
sub sp, sp, #52
ldr r3, .L65
mov r5, r0
sub r0, fp, #60
mov r6, r1
ldr r3, [r3]
str r3, [fp, #-40]
mov r3,#0
bl br_init
cmp r0, #0
beq .L51
.L2:
mov r4, #0
mov r0, r4
bl br_find_exe_dir
mov r1, r0
ldr r0, .L65+4
bl printf
sub r0, fp, #56
str r4, [fp, #-44]
str r4, [fp, #-48]
str r4, [fp, #-56]
mov r3, r4
str r0, [sp, #4]
mov r2, r6
mov r1, r5
ldr r0, .L65+8
str r4, [sp]
bl argp_parse
ldr r3, [fp, #-44]
cmp r3, r4
bne .L52
.L3:
ldr r2, [fp, #-56]
cmp r2, #0
beq .L4
ldr r3, [fp, #-52]
ldr r4, .L65+12
ldr r3, [r3]
ldr r0, [r4]
ldr r1, .L65+16
bl fprintf
ldr r0, .L65+20
bl die
.L4:
ldr r2, [fp, #-48]
ldr r3, [fp, #-52]
cmp r2, #0
ldr r0, [r3]
bne .L53
.L5:
bl is_directory
cmp r0, #0
bne .L54
.L6:
ldr r3, [fp, #-52]
ldr r0, [r3]
bl is_regular_file
cmp r0, #0
bne .L55
.L18:
ldr r3, .L65
ldr r2, [r3]
ldr r3, [fp, #-40]
eors r2, r3, r2
mov r3, #0
bne .L56
mov r0, #0
sub sp, fp, #32
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L51:
ldr r1, [fp, #-60]
ldr r0, .L65+24
bl printf
b .L2
.L55:
ldr r2, [fp, #-52]
ldr r3, .L65+12
ldr r2, [r2]
ldr r0, [r3]
ldr r1, .L65+28
bl fprintf
ldr r0, .L65+20
bl die
b .L18
.L54:
ldr r3, .L65+32
ldr r2, [fp, #-52]
ldr r3, [r3]
mov r8, sp
add r3, r3, #7
bic r3, r3, #7
sub sp, sp, r3
add r5, sp, #8
mov r1, r5
ldr r0, [r2]
bl realpath
ldr r3, [fp, #-52]
ldr r6, [r3, #4]
cmp r6, #0
beq .L48
ldr r4, .L65+12
.L7:
ldr r7, .L65+36
ldr r2, [r3]
ldr r1, .L65+40
mov r3, r6
ldr r0, [r4]
bl fprintf
ldr r1, .L65+44
ldr r0, [r7]
bl fprintf
ldr r1, .L65+48
mov r0, r6
bl br_strcat
mov r9, r0
mov r0, r5
mov r1, r9
bl sfs_mksquashfs
cmp r0, #0
bne .L57
.L8:
ldr r1, .L65+52
ldr r0, [r7]
bl fprintf
mov r0, r9
ldr r1, .L65+56
bl fopen
subs r4, r0, #0
beq .L58
.L9:
mov r0, r6
ldr r1, .L65+60
bl fopen
subs r5, r0, #0
beq .L59
.L10:
ldr r1, [fp, #-48]
ldr r2, .L65+64
ldr r3, .L65+68
cmp r1, #0
ldr r10, [r2]
ldr r3, [r3]
bne .L60
.L11:
ldr r2, .L65+72
cmp r10, r2
bgt .L61
.L12:
mov r1, r10
mov r2, #1
mov r0, r3
mov r3, r5
bl fwrite
mov r0, r5
bl fileno
mov r1, #131072
bl ftruncate
cmp r0, #0
bne .L62
.L13:
ldr r3, .L65+76
mov r1, #0
mov r0, r5
ldr r2, [r3]
bl fseek
b .L14
.L15:
mov r2, #1
mov r3, r4
mov r1, r2
sub r0, fp, #61
bl fread
mov r2, #1
mov r3, r5
mov r1, r2
sub r0, fp, #61
bl fwrite
.L14:
mov r0, r4
bl feof
cmp r0, #0
beq .L15
mov r0, r4
bl fclose
mov r0, r5
bl fclose
ldr r1, .L65+80
ldr r0, [r7]
bl fprintf
mov r0, r6
ldr r1, .L65+84
bl chmod
cmp r0, #0
blt .L63
.L16:
mov r0, r9
bl unlink
cmp r0, #0
bne .L64
.L17:
ldr r0, [r7]
ldr r1, .L65+88
bl fprintf
mov sp, r8
b .L6
.L53:
ldr r4, .L65+12
mov r2, r0
ldr r3, [r3, #4]
ldr r0, [r4]
ldr r1, .L65+92
bl fprintf
ldr r3, [fp, #-52]
ldr r0, [r3]
b .L5
.L52:
ldr r3, [fp, #-52]
ldr r0, [r3]
bl sfs_ls
mov r0, r4
bl exit
b .L3
.L57:
ldr r0, .L65+96
bl die
b .L8
.L64:
ldr r0, .L65+100
bl die
b .L17
.L62:
ldr r0, .L65+104
bl die
b .L13
.L61:
ldr r0, .L65+108
str r3, [fp, #-72]
bl die
ldr r3, [fp, #-72]
b .L12
.L60:
mov r1, r10
ldr r0, .L65+112
str r3, [fp, #-72]
bl printf
ldr r3, [fp, #-72]
b .L11
.L63:
ldr r0, .L65+116
bl puts
mov r0, #1
bl exit
b .L16
.L48:
ldr r1, .L65+120
mov r0, r5
bl br_strcat
bl basename
ldr r4, .L65+12
mov r2, r0
mov r6, r0
ldr r1, .L65+124
ldr r0, [r4]
bl fprintf
ldr r3, [fp, #-52]
b .L7
.L59:
ldr r0, .L65+128
bl die
b .L10
.L58:
ldr r0, .L65+132
bl die
b .L9
.L56:
bl __stack_chk_fail
.L66:
.align 2
.L65:
.word .LC24
.word .LC1
.word argp
.word stdout
.word .LC2
.word .LC3
.word .LC0
.word .LC23
.word PATH_MAX
.word stderr
.word .LC7
.word .LC8
.word .LC9
.word .LC11
.word .LC12
.word .LC14
.word runtime_len
.word runtime
.word 114686
.word SEEK_END
.word .LC19
.word 493
.word .LC22
.word .LC4
.word .LC10
.word .LC21
.word .LC18
.word .LC17
.word .LC16
.word .LC20
.word .LC5
.word .LC6
.word .LC15
.word .LC13
.size main, .-main
.comm stdout,4,4
.comm stderr,4,4
.comm runtime_len,4,4
.comm runtime,4,4
.comm argp,4,4
.comm SEEK_END,4,4
.comm PATH_MAX,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_appimagetoolnoglib.c_parse_opt.c"
.intel_syntax noprefix
.text
.p2align 4
.type parse_opt, @function
parse_opt:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
sub edi, 100
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
sub rsp, 24
.cfi_def_cfa_offset 48
mov r12, QWORD PTR 8[rdx]
cmp edi, 29
ja .L2
mov rbp, rdx
lea rdx, .L4[rip]
movsx rax, DWORD PTR [rdx+rdi*4]
add rax, rdx
notrack jmp rax
.section .rodata
.align 4
.align 4
.L4:
.long .L8-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L7-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L6-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L5-.L4
.long .L3-.L4
.text
.p2align 4,,10
.p2align 3
.L2:
mov r12d, DWORD PTR ARGP_ERR_UNKNOWN[rip]
.L1:
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 24
mov eax, r12d
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
mov QWORD PTR 8[r12], rsi
xor r12d, r12d
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 24
mov eax, r12d
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
mov DWORD PTR 4[r12], 1
xor r12d, r12d
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 24
mov eax, r12d
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
mov DWORD PTR [r12], 1
xor r12d, r12d
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 24
mov eax, r12d
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov eax, DWORD PTR 0[rbp]
xor r12d, r12d
test eax, eax
jg .L1
mov rdi, rbp
call argp_usage@PLT
jmp .L1
.p2align 4,,10
.p2align 3
.L3:
movsx rax, DWORD PTR 0[rbp]
cmp eax, 2
jg .L14
.L10:
mov rdx, QWORD PTR 16[r12]
xor r12d, r12d
mov QWORD PTR [rdx+rax*8], rsi
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 24
mov eax, r12d
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L14:
.cfi_restore_state
mov rdi, rbp
mov QWORD PTR 8[rsp], rsi
call argp_usage@PLT
movsx rax, DWORD PTR 0[rbp]
mov rsi, QWORD PTR 8[rsp]
jmp .L10
.cfi_endproc
.LFE0:
.size parse_opt, .-parse_opt
.globl ARGP_ERR_UNKNOWN
.bss
.align 4
.type ARGP_ERR_UNKNOWN, @object
.size ARGP_ERR_UNKNOWN, 4
ARGP_ERR_UNKNOWN:
.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_appimagetoolnoglib.c_parse_opt.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type parse_opt, %function
parse_opt:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r5, lr}
sub r0, r0, #100
ldr r5, [r2, #4]
sub sp, sp, #8
cmp r0, #29
ldrls pc, [pc, r0, asl #2]
b .L2
.L4:
.word .L8
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L7
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L6
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L2
.word .L5
.word .L3
.L2:
ldr r3, .L15
ldr r0, [r3]
.L1:
add sp, sp, #8
@ sp needed
pop {r5, pc}
.L8:
mov r0, #0
str r1, [r5, #8]
add sp, sp, #8
@ sp needed
pop {r5, pc}
.L7:
mov r3, #1
mov r0, #0
str r3, [r5, #4]
add sp, sp, #8
@ sp needed
pop {r5, pc}
.L6:
mov r3, #1
mov r0, #0
str r3, [r5]
add sp, sp, #8
@ sp needed
pop {r5, pc}
.L5:
ldr r3, [r2]
cmp r3, #0
movgt r0, #0
bgt .L1
mov r0, r2
bl argp_usage
mov r0, #0
b .L1
.L3:
ldr r3, [r2]
cmp r3, #2
bgt .L14
.L10:
mov r0, #0
ldr r2, [r5, #12]
str r1, [r2, r3, lsl #2]
add sp, sp, #8
@ sp needed
pop {r5, pc}
.L14:
mov r0, r2
str r1, [sp, #4]
str r2, [sp]
bl argp_usage
ldr r2, [sp]
ldr r1, [sp, #4]
ldr r3, [r2]
b .L10
.L16:
.align 2
.L15:
.word ARGP_ERR_UNKNOWN
.size parse_opt, .-parse_opt
.comm ARGP_ERR_UNKNOWN,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_appimagetoolnoglib.c_sfs_ls.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "sqfs_open_image error"
.LC1:
.string "sqfs_traverse_open error"
.LC2:
.string "%s\n"
.LC3:
.string "sqfs_traverse_next error"
.text
.p2align 4
.globl sfs_ls
.type sfs_ls, @function
sfs_ls:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov rsi, rdi
xor edx, edx
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
sub rsp, 48
.cfi_def_cfa_offset 80
mov rax, QWORD PTR fs:40
mov QWORD PTR 40[rsp], rax
mov rax, QWORD PTR SQFS_OK[rip]
lea r12, 4[rsp]
mov rdi, r12
mov QWORD PTR 8[rsp], rax
call sqfs_open_image@PLT
mov QWORD PTR 8[rsp], rax
test rax, rax
jne .L18
.L2:
mov rdi, r12
lea rbp, 16[rsp]
call sqfs_inode_root@PLT
mov rsi, r12
mov rdi, rbp
mov edx, eax
call sqfs_traverse_open@PLT
mov QWORD PTR 8[rsp], rax
test rax, rax
jne .L19
.L3:
lea rbx, 8[rsp]
lea r12, .LC2[rip]
jmp .L5
.p2align 4,,10
.p2align 3
.L6:
mov eax, DWORD PTR 24[rsp]
test eax, eax
je .L20
.L5:
mov rsi, rbx
mov rdi, rbp
call sqfs_traverse_next@PLT
test rax, rax
jne .L6
cmp QWORD PTR 8[rsp], 0
jne .L21
.L7:
mov rdi, rbp
call sqfs_traverse_close@PLT
mov edi, DWORD PTR 4[rsp]
call sqfs_fd_close@PLT
mov rax, QWORD PTR 40[rsp]
sub rax, QWORD PTR fs:40
jne .L22
add rsp, 48
.cfi_remember_state
.cfi_def_cfa_offset 32
xor eax, eax
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
.L20:
.cfi_restore_state
mov rsi, QWORD PTR 16[rsp]
mov rdi, r12
call printf@PLT
jmp .L5
.p2align 4,,10
.p2align 3
.L18:
lea rdi, .LC0[rip]
call die@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L21:
lea rdi, .LC3[rip]
call die@PLT
jmp .L7
.p2align 4,,10
.p2align 3
.L19:
lea rdi, .LC1[rip]
call die@PLT
jmp .L3
.L22:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size sfs_ls, .-sfs_ls
.globl SQFS_OK
.bss
.align 8
.type SQFS_OK, @object
.size SQFS_OK, 8
SQFS_OK:
.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_appimagetoolnoglib.c_sfs_ls.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "sqfs_open_image error\000"
.align 2
.LC1:
.ascii "sqfs_traverse_open error\000"
.align 2
.LC2:
.ascii "%s\012\000"
.align 2
.LC3:
.ascii "sqfs_traverse_next error\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC4:
.word __stack_chk_guard
.text
.align 2
.global sfs_ls
.syntax unified
.arm
.fpu softvfp
.type sfs_ls, %function
sfs_ls:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r3, .L26
sub sp, sp, #24
ldr r3, [r3]
ldr ip, .L26+4
mov r1, r0
mov r2, #0
add r0, sp, #8
ldr ip, [ip]
str ip, [sp, #20]
mov ip,#0
str r3, [sp, #4]
bl sqfs_open_image
cmp r0, #0
str r0, [sp, #4]
bne .L21
.L2:
add r0, sp, #8
bl sqfs_inode_root
add r1, sp, #8
mov r2, r0
add r0, sp, #12
bl sqfs_traverse_open
cmp r0, #0
str r0, [sp, #4]
bne .L22
.L3:
ldr r4, .L26+8
b .L5
.L6:
ldr r3, [sp, #16]
cmp r3, #0
beq .L23
.L5:
add r1, sp, #4
add r0, sp, #12
bl sqfs_traverse_next
cmp r0, #0
bne .L6
ldr r3, [sp, #4]
cmp r3, #0
bne .L24
.L7:
add r0, sp, #12
bl sqfs_traverse_close
ldr r0, [sp, #8]
bl sqfs_fd_close
ldr r3, .L26+4
ldr r2, [r3]
ldr r3, [sp, #20]
eors r2, r3, r2
mov r3, #0
bne .L25
mov r0, #0
add sp, sp, #24
@ sp needed
pop {r4, pc}
.L23:
mov r0, r4
ldr r1, [sp, #12]
bl printf
b .L5
.L21:
ldr r0, .L26+12
bl die
b .L2
.L24:
ldr r0, .L26+16
bl die
b .L7
.L22:
ldr r0, .L26+20
bl die
b .L3
.L25:
bl __stack_chk_fail
.L27:
.align 2
.L26:
.word SQFS_OK
.word .LC4
.word .LC2
.word .LC0
.word .LC3
.word .LC1
.size sfs_ls, .-sfs_ls
.comm SQFS_OK,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_appimagetoolnoglib.c_sfs_mksquashfs.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "-noappend"
.LC1:
.string "-root-owned"
.LC2:
.string "mksquashfs"
.LC3:
.string "execlp"
.text
.p2align 4
.globl sfs_mksquashfs
.type sfs_mksquashfs, @function
sfs_mksquashfs:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
mov r13, rsi
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12, rdi
sub rsp, 24
.cfi_def_cfa_offset 48
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
call getpid@PLT
call fork@PLT
cmp eax, -1
je .L1
test eax, eax
jle .L3
lea rsi, 4[rsp]
xor edx, edx
mov edi, eax
call waitpid@PLT
xor eax, eax
.L1:
mov rcx, QWORD PTR 8[rsp]
sub rcx, QWORD PTR fs:40
jne .L10
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.L3:
.cfi_restore_state
sub rsp, 8
.cfi_def_cfa_offset 56
mov rdx, r12
lea rsi, .LC2[rip]
mov rcx, r13
push 0
.cfi_def_cfa_offset 64
mov rdi, rsi
lea r9, .LC0[rip]
lea r8, .LC1[rip]
call execlp@PLT
lea rdi, .LC3[rip]
call perror@PLT
pop rax
.cfi_def_cfa_offset 56
mov eax, -1
pop rdx
.cfi_def_cfa_offset 48
jmp .L1
.L10:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size sfs_mksquashfs, .-sfs_mksquashfs
.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_appimagetoolnoglib.c_sfs_mksquashfs.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "mksquashfs\000"
.align 2
.LC1:
.ascii "-noappend\000"
.align 2
.LC2:
.ascii "-root-owned\000"
.align 2
.LC3:
.ascii "execlp\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC4:
.word __stack_chk_guard
.text
.align 2
.global sfs_mksquashfs
.syntax unified
.arm
.fpu softvfp
.type sfs_mksquashfs, %function
sfs_mksquashfs:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, lr}
ldr r3, .L11
sub sp, sp, #28
ldr r3, [r3]
str r3, [sp, #20]
mov r3,#0
mov r5, r1
mov r4, r0
bl getpid
bl fork
cmn r0, #1
mov r3, r0
beq .L1
cmp r0, #0
ble .L3
mov r2, #0
add r1, sp, #16
bl waitpid
mov r3, #0
.L1:
ldr r2, .L11
ldr r1, [r2]
ldr r2, [sp, #20]
eors r1, r2, r1
mov r2, #0
bne .L10
mov r0, r3
add sp, sp, #28
@ sp needed
pop {r4, r5, pc}
.L3:
mov lr, #0
ldr ip, .L11+4
ldr r1, .L11+8
ldr r0, .L11+12
mov r3, r5
stm sp, {r0, ip, lr}
mov r2, r4
mov r0, r1
bl execlp
ldr r0, .L11+16
bl perror
mvn r3, #0
b .L1
.L10:
bl __stack_chk_fail
.L12:
.align 2
.L11:
.word .LC4
.word .LC1
.word .LC0
.word .LC2
.word .LC3
.size sfs_mksquashfs, .-sfs_mksquashfs
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_binreloc.c__br_find_exe.c"
.intel_syntax noprefix
.text
.p2align 4
.type _br_find_exe, @function
_br_find_exe:
.LFB0:
.cfi_startproc
endbr64
test rdi, rdi
je .L2
mov eax, DWORD PTR BR_INIT_ERROR_DISABLED[rip]
mov DWORD PTR [rdi], eax
.L2:
xor eax, eax
ret
.cfi_endproc
.LFE0:
.size _br_find_exe, .-_br_find_exe
.globl SSIZE_MAX
.bss
.align 4
.type SSIZE_MAX, @object
.size SSIZE_MAX, 4
SSIZE_MAX:
.zero 4
.globl PATH_MAX
.align 4
.type PATH_MAX, @object
.size PATH_MAX, 4
PATH_MAX:
.zero 4
.globl BR_INIT_ERROR_READ_MAPS
.align 4
.type BR_INIT_ERROR_READ_MAPS, @object
.size BR_INIT_ERROR_READ_MAPS, 4
BR_INIT_ERROR_READ_MAPS:
.zero 4
.globl BR_INIT_ERROR_OPEN_MAPS
.align 4
.type BR_INIT_ERROR_OPEN_MAPS, @object
.size BR_INIT_ERROR_OPEN_MAPS, 4
BR_INIT_ERROR_OPEN_MAPS:
.zero 4
.globl BR_INIT_ERROR_NOMEM
.align 4
.type BR_INIT_ERROR_NOMEM, @object
.size BR_INIT_ERROR_NOMEM, 4
BR_INIT_ERROR_NOMEM:
.zero 4
.globl BR_INIT_ERROR_INVALID_MAPS
.align 4
.type BR_INIT_ERROR_INVALID_MAPS, @object
.size BR_INIT_ERROR_INVALID_MAPS, 4
BR_INIT_ERROR_INVALID_MAPS:
.zero 4
.globl BR_INIT_ERROR_DISABLED
.align 4
.type BR_INIT_ERROR_DISABLED, @object
.size BR_INIT_ERROR_DISABLED, 4
BR_INIT_ERROR_DISABLED:
.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_binreloc.c__br_find_exe.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type _br_find_exe, %function
_br_find_exe:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
cmp r0, #0
ldrne r3, .L7
ldrne r3, [r3]
strne r3, [r0]
mov r0, #0
bx lr
.L8:
.align 2
.L7:
.word BR_INIT_ERROR_DISABLED
.size _br_find_exe, .-_br_find_exe
.comm SSIZE_MAX,4,4
.comm PATH_MAX,4,4
.comm BR_INIT_ERROR_READ_MAPS,4,4
.comm BR_INIT_ERROR_OPEN_MAPS,4,4
.comm BR_INIT_ERROR_NOMEM,4,4
.comm BR_INIT_ERROR_INVALID_MAPS,4,4
.comm BR_INIT_ERROR_DISABLED,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_binreloc.c__br_find_exe_for_symbol.c"
.intel_syntax noprefix
.text
.p2align 4
.type _br_find_exe_for_symbol, @function
_br_find_exe_for_symbol:
.LFB0:
.cfi_startproc
endbr64
test rsi, rsi
je .L2
mov eax, DWORD PTR BR_INIT_ERROR_DISABLED[rip]
mov DWORD PTR [rsi], eax
.L2:
xor eax, eax
ret
.cfi_endproc
.LFE0:
.size _br_find_exe_for_symbol, .-_br_find_exe_for_symbol
.globl SIZE
.bss
.align 4
.type SIZE, @object
.size SIZE, 4
SIZE:
.zero 4
.globl BR_INIT_ERROR_DISABLED
.align 4
.type BR_INIT_ERROR_DISABLED, @object
.size BR_INIT_ERROR_DISABLED, 4
BR_INIT_ERROR_DISABLED:
.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_binreloc.c__br_find_exe_for_symbol.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type _br_find_exe_for_symbol, %function
_br_find_exe_for_symbol:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
cmp r1, #0
ldrne r3, .L7
mov r0, #0
ldrne r3, [r3]
strne r3, [r1]
bx lr
.L8:
.align 2
.L7:
.word BR_INIT_ERROR_DISABLED
.size _br_find_exe_for_symbol, .-_br_find_exe_for_symbol
.comm SIZE,4,4
.comm BR_INIT_ERROR_DISABLED,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_binreloc.c_br_strndup.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string ""
.text
.p2align 4
.type br_strndup, @function
br_strndup:
.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
test rdi, rdi
je .L4
mov rbp, rdi
mov rbx, rsi
call strlen@PLT
test rax, rax
je .L7
cmp rax, rbx
lea rdi, 1[rax]
cmovbe rbx, rax
call malloc@PLT
mov rsi, rbp
mov r12, rax
mov rdx, rbx
mov rdi, rax
call memcpy@PLT
mov BYTE PTR [r12+rbx], 0
.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
.L7:
.cfi_restore_state
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
lea rdi, .LC0[rip]
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp strdup@PLT
.p2align 4,,10
.p2align 3
.L4:
.cfi_restore_state
xor r12d, r12d
jmp .L1
.cfi_endproc
.LFE0:
.size br_strndup, .-br_strndup
.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_binreloc.c_br_strndup.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type br_strndup, %function
br_strndup:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
subs r5, r0, #0
beq .L1
mov r4, r1
bl strlen
cmp r0, #0
beq .L7
cmp r0, r4
movcc r4, r0
add r0, r0, #1
bl malloc
mov r1, r5
mov r2, r4
mov r5, r0
bl memcpy
mov r3, #0
strb r3, [r5, r4]
.L1:
mov r0, r5
pop {r4, r5, r6, pc}
.L7:
ldr r0, .L8
pop {r4, r5, r6, lr}
b strdup
.L9:
.align 2
.L8:
.word .LC0
.size br_strndup, .-br_strndup
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_binreloc.c_dJyi14798182285183_br_build_path.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "/"
.text
.p2align 4
.globl br_build_path
.type br_build_path, @function
br_build_path:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rsi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
sub rsp, 8
.cfi_def_cfa_offset 32
call strlen@PLT
test rax, rax
je .L2
cmp BYTE PTR -1[rbp+rax], 47
jne .L8
.L2:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rsi, r12
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp br_strcat@PLT
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
mov rdi, rbp
lea rsi, .LC0[rip]
call br_strcat@PLT
mov rsi, r12
mov rbp, rax
mov rdi, rax
call br_strcat@PLT
mov rdi, rbp
mov r12, rax
call free@PLT
add rsp, 8
.cfi_def_cfa_offset 24
mov rax, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size br_build_path, .-br_build_path
.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_binreloc.c_dJyi14798182285183_br_build_path.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "/\000"
.text
.align 2
.global br_build_path
.syntax unified
.arm
.fpu softvfp
.type br_build_path, %function
br_build_path:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r1
mov r4, r0
bl strlen
cmp r0, #0
beq .L2
add r0, r4, r0
ldrb r3, [r0, #-1] @ zero_extendqisi2
cmp r3, #47
bne .L11
.L2:
mov r1, r5
mov r0, r4
pop {r4, r5, r6, lr}
b br_strcat
.L11:
mov r0, r4
ldr r1, .L14
bl br_strcat
mov r1, r5
mov r4, r0
bl br_strcat
mov r3, r0
mov r0, r4
mov r4, r3
bl free
mov r0, r4
pop {r4, r5, r6, pc}
.L15:
.align 2
.L14:
.word .LC0
.size br_build_path, .-br_build_path
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_binreloc.c_dJyi14798182285183_br_dirname.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "."
.LC1:
.string "/"
.text
.p2align 4
.globl br_dirname
.type br_dirname, @function
br_dirname:
.LFB0:
.cfi_startproc
endbr64
test rdi, rdi
je .L7
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov esi, 47
mov rbp, rdi
call strrchr@PLT
test rax, rax
je .L3
cmp rbp, rax
jb .L4
jmp .L5
.p2align 4,,10
.p2align 3
.L6:
sub rax, 1
cmp rbp, rax
je .L5
.L4:
cmp BYTE PTR [rax], 47
je .L6
.L5:
sub rax, rbp
mov rdi, rbp
lea esi, 1[rax]
call br_strndup@PLT
cmp BYTE PTR [rax], 0
je .L15
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L15:
.cfi_restore_state
mov rdi, rax
call free@PLT
lea rdi, .LC1[rip]
pop rbp
.cfi_restore 6
.cfi_def_cfa_offset 8
jmp strdup@PLT
.p2align 4,,10
.p2align 3
.L7:
xor eax, eax
ret
.p2align 4,,10
.p2align 3
.L3:
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
lea rdi, .LC0[rip]
pop rbp
.cfi_restore 6
.cfi_def_cfa_offset 8
jmp strdup@PLT
.cfi_endproc
.LFE0:
.size br_dirname, .-br_dirname
.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_binreloc.c_dJyi14798182285183_br_dirname.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii ".\000"
.align 2
.LC1:
.ascii "/\000"
.text
.align 2
.global br_dirname
.syntax unified
.arm
.fpu softvfp
.type br_dirname, %function
br_dirname:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
subs r4, r0, #0
beq .L1
mov r1, #47
bl strrchr
subs r1, r0, #0
beq .L3
cmp r4, r1
bcs .L4
mov r3, r1
b .L5
.L6:
cmp r3, r4
mov r1, r3
beq .L4
.L5:
ldrb r2, [r3] @ zero_extendqisi2
mov r1, r3
cmp r2, #47
sub r3, r3, #1
beq .L6
.L4:
sub r1, r1, r4
mov r0, r4
add r1, r1, #1
bl br_strndup
ldrb r3, [r0] @ zero_extendqisi2
mov r4, r0
cmp r3, #0
beq .L11
.L1:
mov r0, r4
pop {r4, pc}
.L11:
bl free
pop {r4, lr}
ldr r0, .L12
b strdup
.L3:
ldr r0, .L12+4
pop {r4, lr}
b strdup
.L13:
.align 2
.L12:
.word .LC1
.word .LC0
.size br_dirname, .-br_dirname
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_binreloc.c_dJyi14798182285183_br_find_bin_dir.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "bin"
.text
.p2align 4
.globl br_find_bin_dir
.type br_find_bin_dir, @function
br_find_bin_dir:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rdi
xor edi, edi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
sub rsp, 8
.cfi_def_cfa_offset 32
call br_find_prefix@PLT
test rax, rax
je .L7
mov rbp, rax
lea rsi, .LC0[rip]
mov rdi, rax
call br_build_path@PLT
mov rdi, rbp
mov r12, rax
call free@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rax, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
test r12, r12
je .L4
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp strdup@PLT
.p2align 4,,10
.p2align 3
.L4:
.cfi_restore_state
xor r12d, r12d
add rsp, 8
.cfi_def_cfa_offset 24
mov rax, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size br_find_bin_dir, .-br_find_bin_dir
.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_binreloc.c_dJyi14798182285183_br_find_bin_dir.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "bin\000"
.text
.align 2
.global br_find_bin_dir
.syntax unified
.arm
.fpu softvfp
.type br_find_bin_dir, %function
br_find_bin_dir:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
mov r0, #0
bl br_find_prefix
subs r5, r0, #0
beq .L7
ldr r1, .L8
bl br_build_path
mov r4, r0
mov r0, r5
bl free
.L1:
mov r0, r4
pop {r4, r5, r6, pc}
.L7:
cmp r4, #0
beq .L1
mov r0, r4
pop {r4, r5, r6, lr}
b strdup
.L9:
.align 2
.L8:
.word .LC0
.size br_find_bin_dir, .-br_find_bin_dir
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_binreloc.c_dJyi14798182285183_br_find_data_dir.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "share"
.text
.p2align 4
.globl br_find_data_dir
.type br_find_data_dir, @function
br_find_data_dir:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rdi
xor edi, edi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
sub rsp, 8
.cfi_def_cfa_offset 32
call br_find_prefix@PLT
test rax, rax
je .L7
mov rbp, rax
lea rsi, .LC0[rip]
mov rdi, rax
call br_build_path@PLT
mov rdi, rbp
mov r12, rax
call free@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rax, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
test r12, r12
je .L4
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp strdup@PLT
.p2align 4,,10
.p2align 3
.L4:
.cfi_restore_state
xor r12d, r12d
add rsp, 8
.cfi_def_cfa_offset 24
mov rax, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size br_find_data_dir, .-br_find_data_dir
.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_binreloc.c_dJyi14798182285183_br_find_data_dir.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "share\000"
.text
.align 2
.global br_find_data_dir
.syntax unified
.arm
.fpu softvfp
.type br_find_data_dir, %function
br_find_data_dir:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
mov r0, #0
bl br_find_prefix
subs r5, r0, #0
beq .L7
ldr r1, .L8
bl br_build_path
mov r4, r0
mov r0, r5
bl free
.L1:
mov r0, r4
pop {r4, r5, r6, pc}
.L7:
cmp r4, #0
beq .L1
mov r0, r4
pop {r4, r5, r6, lr}
b strdup
.L9:
.align 2
.L8:
.word .LC0
.size br_find_data_dir, .-br_find_data_dir
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_binreloc.c_dJyi14798182285183_br_find_etc_dir.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "etc"
.text
.p2align 4
.globl br_find_etc_dir
.type br_find_etc_dir, @function
br_find_etc_dir:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rdi
xor edi, edi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
sub rsp, 8
.cfi_def_cfa_offset 32
call br_find_prefix@PLT
test rax, rax
je .L7
mov rbp, rax
lea rsi, .LC0[rip]
mov rdi, rax
call br_build_path@PLT
mov rdi, rbp
mov r12, rax
call free@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rax, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
test r12, r12
je .L4
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp strdup@PLT
.p2align 4,,10
.p2align 3
.L4:
.cfi_restore_state
xor r12d, r12d
add rsp, 8
.cfi_def_cfa_offset 24
mov rax, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size br_find_etc_dir, .-br_find_etc_dir
.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_binreloc.c_dJyi14798182285183_br_find_etc_dir.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "etc\000"
.text
.align 2
.global br_find_etc_dir
.syntax unified
.arm
.fpu softvfp
.type br_find_etc_dir, %function
br_find_etc_dir:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
mov r0, #0
bl br_find_prefix
subs r5, r0, #0
beq .L7
ldr r1, .L8
bl br_build_path
mov r4, r0
mov r0, r5
bl free
.L1:
mov r0, r4
pop {r4, r5, r6, pc}
.L7:
cmp r4, #0
beq .L1
mov r0, r4
pop {r4, r5, r6, lr}
b strdup
.L9:
.align 2
.L8:
.word .LC0
.size br_find_etc_dir, .-br_find_etc_dir
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_binreloc.c_dJyi14798182285183_br_find_exe.c"
.intel_syntax noprefix
.text
.p2align 4
.globl br_find_exe
.type br_find_exe, @function
br_find_exe:
.LFB0:
.cfi_startproc
endbr64
mov r8, QWORD PTR exe[rip]
test r8, r8
je .L6
mov rdi, r8
.L4:
jmp strdup@PLT
.p2align 4,,10
.p2align 3
.L6:
test rdi, rdi
jne .L4
xor eax, eax
ret
.cfi_endproc
.LFE0:
.size br_find_exe, .-br_find_exe
.globl exe
.bss
.align 8
.type exe, @object
.size exe, 8
exe:
.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_binreloc.c_dJyi14798182285183_br_find_exe.c"
.text
.align 2
.global br_find_exe
.syntax unified
.arm
.fpu softvfp
.type br_find_exe, %function
br_find_exe:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r2, .L7
mov r3, r0
ldr r2, [r2]
cmp r2, #0
movne r0, r2
beq .L6
b strdup
.L6:
cmp r3, #0
bxeq lr
b strdup
.L8:
.align 2
.L7:
.word exe
.size br_find_exe, .-br_find_exe
.comm exe,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_binreloc.c_dJyi14798182285183_br_find_exe_dir.c"
.intel_syntax noprefix
.text
.p2align 4
.globl br_find_exe_dir
.type br_find_exe_dir, @function
br_find_exe_dir:
.LFB0:
.cfi_startproc
endbr64
mov r8, QWORD PTR exe[rip]
test r8, r8
je .L5
mov rdi, r8
jmp br_dirname@PLT
.p2align 4,,10
.p2align 3
.L5:
test rdi, rdi
je .L3
jmp strdup@PLT
.p2align 4,,10
.p2align 3
.L3:
xor eax, eax
ret
.cfi_endproc
.LFE0:
.size br_find_exe_dir, .-br_find_exe_dir
.globl exe
.bss
.align 8
.type exe, @object
.size exe, 8
exe:
.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_binreloc.c_dJyi14798182285183_br_find_exe_dir.c"
.text
.align 2
.global br_find_exe_dir
.syntax unified
.arm
.fpu softvfp
.type br_find_exe_dir, %function
br_find_exe_dir:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r2, .L6
ldr r2, [r2]
cmp r2, #0
beq .L5
mov r0, r2
b br_dirname
.L5:
cmp r0, #0
bxeq lr
b strdup
.L7:
.align 2
.L6:
.word exe
.size br_find_exe_dir, .-br_find_exe_dir
.comm exe,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_binreloc.c_dJyi14798182285183_br_find_lib_dir.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "lib"
.text
.p2align 4
.globl br_find_lib_dir
.type br_find_lib_dir, @function
br_find_lib_dir:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rdi
xor edi, edi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
sub rsp, 8
.cfi_def_cfa_offset 32
call br_find_prefix@PLT
test rax, rax
je .L7
mov rbp, rax
lea rsi, .LC0[rip]
mov rdi, rax
call br_build_path@PLT
mov rdi, rbp
mov r12, rax
call free@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rax, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
test r12, r12
je .L4
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp strdup@PLT
.p2align 4,,10
.p2align 3
.L4:
.cfi_restore_state
xor r12d, r12d
add rsp, 8
.cfi_def_cfa_offset 24
mov rax, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size br_find_lib_dir, .-br_find_lib_dir
.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_binreloc.c_dJyi14798182285183_br_find_lib_dir.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "lib\000"
.text
.align 2
.global br_find_lib_dir
.syntax unified
.arm
.fpu softvfp
.type br_find_lib_dir, %function
br_find_lib_dir:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
mov r0, #0
bl br_find_prefix
subs r5, r0, #0
beq .L7
ldr r1, .L8
bl br_build_path
mov r4, r0
mov r0, r5
bl free
.L1:
mov r0, r4
pop {r4, r5, r6, pc}
.L7:
cmp r4, #0
beq .L1
mov r0, r4
pop {r4, r5, r6, lr}
b strdup
.L9:
.align 2
.L8:
.word .LC0
.size br_find_lib_dir, .-br_find_lib_dir
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_binreloc.c_dJyi14798182285183_br_find_libexec_dir.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "libexec"
.text
.p2align 4
.globl br_find_libexec_dir
.type br_find_libexec_dir, @function
br_find_libexec_dir:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rdi
xor edi, edi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
sub rsp, 8
.cfi_def_cfa_offset 32
call br_find_prefix@PLT
test rax, rax
je .L7
mov rbp, rax
lea rsi, .LC0[rip]
mov rdi, rax
call br_build_path@PLT
mov rdi, rbp
mov r12, rax
call free@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rax, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
test r12, r12
je .L4
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp strdup@PLT
.p2align 4,,10
.p2align 3
.L4:
.cfi_restore_state
xor r12d, r12d
add rsp, 8
.cfi_def_cfa_offset 24
mov rax, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size br_find_libexec_dir, .-br_find_libexec_dir
.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_binreloc.c_dJyi14798182285183_br_find_libexec_dir.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "libexec\000"
.text
.align 2
.global br_find_libexec_dir
.syntax unified
.arm
.fpu softvfp
.type br_find_libexec_dir, %function
br_find_libexec_dir:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
mov r0, #0
bl br_find_prefix
subs r5, r0, #0
beq .L7
ldr r1, .L8
bl br_build_path
mov r4, r0
mov r0, r5
bl free
.L1:
mov r0, r4
pop {r4, r5, r6, pc}
.L7:
cmp r4, #0
beq .L1
mov r0, r4
pop {r4, r5, r6, lr}
b strdup
.L9:
.align 2
.L8:
.word .LC0
.size br_find_libexec_dir, .-br_find_libexec_dir
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_binreloc.c_dJyi14798182285183_br_find_locale_dir.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "locale"
.text
.p2align 4
.globl br_find_locale_dir
.type br_find_locale_dir, @function
br_find_locale_dir:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rdi
xor edi, edi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
sub rsp, 8
.cfi_def_cfa_offset 32
call br_find_data_dir@PLT
test rax, rax
je .L7
mov rbp, rax
lea rsi, .LC0[rip]
mov rdi, rax
call br_build_path@PLT
mov rdi, rbp
mov r12, rax
call free@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rax, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
test r12, r12
je .L4
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp strdup@PLT
.p2align 4,,10
.p2align 3
.L4:
.cfi_restore_state
xor r12d, r12d
add rsp, 8
.cfi_def_cfa_offset 24
mov rax, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size br_find_locale_dir, .-br_find_locale_dir
.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_binreloc.c_dJyi14798182285183_br_find_locale_dir.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "locale\000"
.text
.align 2
.global br_find_locale_dir
.syntax unified
.arm
.fpu softvfp
.type br_find_locale_dir, %function
br_find_locale_dir:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
mov r0, #0
bl br_find_data_dir
subs r5, r0, #0
beq .L7
ldr r1, .L8
bl br_build_path
mov r4, r0
mov r0, r5
bl free
.L1:
mov r0, r4
pop {r4, r5, r6, pc}
.L7:
cmp r4, #0
beq .L1
mov r0, r4
pop {r4, r5, r6, lr}
b strdup
.L9:
.align 2
.L8:
.word .LC0
.size br_find_locale_dir, .-br_find_locale_dir
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_binreloc.c_dJyi14798182285183_br_find_prefix.c"
.intel_syntax noprefix
.text
.p2align 4
.globl br_find_prefix
.type br_find_prefix, @function
br_find_prefix:
.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
sub rsp, 8
.cfi_def_cfa_offset 32
mov r8, QWORD PTR exe[rip]
test r8, r8
je .L7
mov rdi, r8
call br_dirname@PLT
mov rbp, rax
mov rdi, rax
call br_dirname@PLT
mov rdi, rbp
mov r12, rax
call free@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rax, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
test rdi, rdi
je .L4
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp strdup@PLT
.p2align 4,,10
.p2align 3
.L4:
.cfi_restore_state
xor r12d, r12d
add rsp, 8
.cfi_def_cfa_offset 24
mov rax, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size br_find_prefix, .-br_find_prefix
.globl exe
.bss
.align 8
.type exe, @object
.size exe, 8
exe:
.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_binreloc.c_dJyi14798182285183_br_find_prefix.c"
.text
.align 2
.global br_find_prefix
.syntax unified
.arm
.fpu softvfp
.type br_find_prefix, %function
br_find_prefix:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r2, .L8
push {r4, lr}
ldr r2, [r2]
cmp r2, #0
beq .L7
mov r0, r2
bl br_dirname
mov r4, r0
bl br_dirname
mov r3, r0
mov r0, r4
mov r4, r3
bl free
mov r0, r4
pop {r4, pc}
.L7:
cmp r0, #0
beq .L4
pop {r4, lr}
b strdup
.L4:
mov r4, r0
mov r0, r4
pop {r4, pc}
.L9:
.align 2
.L8:
.word exe
.size br_find_prefix, .-br_find_prefix
.comm exe,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_binreloc.c_dJyi14798182285183_br_find_sbin_dir.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "sbin"
.text
.p2align 4
.globl br_find_sbin_dir
.type br_find_sbin_dir, @function
br_find_sbin_dir:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rdi
xor edi, edi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
sub rsp, 8
.cfi_def_cfa_offset 32
call br_find_prefix@PLT
test rax, rax
je .L7
mov rbp, rax
lea rsi, .LC0[rip]
mov rdi, rax
call br_build_path@PLT
mov rdi, rbp
mov r12, rax
call free@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rax, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
test r12, r12
je .L4
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp strdup@PLT
.p2align 4,,10
.p2align 3
.L4:
.cfi_restore_state
xor r12d, r12d
add rsp, 8
.cfi_def_cfa_offset 24
mov rax, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size br_find_sbin_dir, .-br_find_sbin_dir
.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_binreloc.c_dJyi14798182285183_br_find_sbin_dir.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "sbin\000"
.text
.align 2
.global br_find_sbin_dir
.syntax unified
.arm
.fpu softvfp
.type br_find_sbin_dir, %function
br_find_sbin_dir:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
mov r0, #0
bl br_find_prefix
subs r5, r0, #0
beq .L7
ldr r1, .L8
bl br_build_path
mov r4, r0
mov r0, r5
bl free
.L1:
mov r0, r4
pop {r4, r5, r6, pc}
.L7:
cmp r4, #0
beq .L1
mov r0, r4
pop {r4, r5, r6, lr}
b strdup
.L9:
.align 2
.L8:
.word .LC0
.size br_find_sbin_dir, .-br_find_sbin_dir
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_binreloc.c_dJyi14798182285183_br_init.c"
.intel_syntax noprefix
.text
.p2align 4
.globl br_init
.type br_init, @function
br_init:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
call _br_find_exe@PLT
test rax, rax
mov QWORD PTR exe[rip], rax
setne al
add rsp, 8
.cfi_def_cfa_offset 8
movzx eax, al
ret
.cfi_endproc
.LFE0:
.size br_init, .-br_init
.globl exe
.bss
.align 8
.type exe, @object
.size exe, 8
exe:
.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_binreloc.c_dJyi14798182285183_br_init.c"
.text
.align 2
.global br_init
.syntax unified
.arm
.fpu softvfp
.type br_init, %function
br_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl _br_find_exe
mov r3, r0
ldr r2, .L4
subs r0, r0, #0
movne r0, #1
str r3, [r2]
pop {r4, pc}
.L5:
.align 2
.L4:
.word exe
.size br_init, .-br_init
.comm exe,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_binreloc.c_dJyi14798182285183_br_init_lib.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string ""
.text
.p2align 4
.globl br_init_lib
.type br_init_lib, @function
br_init_lib:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov rsi, rdi
lea rdi, .LC0[rip]
call _br_find_exe_for_symbol@PLT
test rax, rax
mov QWORD PTR exe[rip], rax
setne al
add rsp, 8
.cfi_def_cfa_offset 8
movzx eax, al
ret
.cfi_endproc
.LFE0:
.size br_init_lib, .-br_init_lib
.globl exe
.bss
.align 8
.type exe, @object
.size exe, 8
exe:
.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_binreloc.c_dJyi14798182285183_br_init_lib.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "\000"
.text
.align 2
.global br_init_lib
.syntax unified
.arm
.fpu softvfp
.type br_init_lib, %function
br_init_lib:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, r0
push {r4, lr}
ldr r0, .L4
bl _br_find_exe_for_symbol
mov r3, r0
ldr r2, .L4+4
subs r0, r0, #0
movne r0, #1
str r3, [r2]
pop {r4, pc}
.L5:
.align 2
.L4:
.word .LC0
.word exe
.size br_init_lib, .-br_init_lib
.comm exe,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_binreloc.c_dJyi14798182285183_br_strcat.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string ""
.text
.p2align 4
.globl br_strcat
.type br_strcat, @function
br_strcat:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
lea r15, .LC0[rip]
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
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
mov rbp, rsi
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
xor ebx, ebx
sub rsp, 8
.cfi_def_cfa_offset 64
test rdi, rdi
je .L2
mov r15, rdi
call strlen@PLT
mov rbx, rax
.L2:
test rbp, rbp
je .L5
mov rdi, rbp
call strlen@PLT
mov r13, rax
.L3:
lea r14, [rbx+r13]
lea rdi, 1[r14]
call malloc@PLT
mov rdx, rbx
mov rsi, r15
mov r12, rax
mov rdi, rax
call memcpy@PLT
lea rdi, [r12+rbx]
mov rdx, r13
mov rsi, rbp
call memcpy@PLT
mov BYTE PTR [r12+r14], 0
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 56
mov rax, r12
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
.L5:
.cfi_restore_state
xor r13d, r13d
lea rbp, .LC0[rip]
jmp .L3
.cfi_endproc
.LFE0:
.size br_strcat, .-br_strcat
.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_binreloc.c_dJyi14798182285183_br_strcat.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "\000"
.text
.align 2
.global br_strcat
.syntax unified
.arm
.fpu softvfp
.type br_strcat, %function
br_strcat:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
subs r6, r0, #0
mov r4, r1
beq .L4
bl strlen
cmp r4, #0
mov r7, r0
beq .L5
.L8:
mov r0, r4
bl strlen
mov r8, r0
.L3:
add r9, r8, r7
add r0, r9, #1
bl malloc
mov r5, r0
mov r1, r6
mov r2, r7
bl memcpy
mov r2, r8
mov r1, r4
add r0, r5, r7
bl memcpy
mov r3, #0
mov r0, r5
strb r3, [r5, r9]
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L4:
cmp r4, #0
mov r7, r6
ldr r6, .L9
bne .L8
.L5:
mov r8, r4
ldr r4, .L9
b .L3
.L10:
.align 2
.L9:
.word .LC0
.size br_strcat, .-br_strcat
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_digest.c_main.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "Usage: %s file offset length\n"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC1:
.string "If no offset and length are provided, the ELF section '%s' is skipped\n\n"
.align 8
.LC2:
.string "Calculate a sha256 of a file except a skipped area from offset to offset+length bytes\n"
.align 8
.LC3:
.string "which is replaced with 0x00 during checksum calculation.\n"
.align 8
.LC4:
.string "This is useful when a signature is placed in the skipped area.\n"
.section .rodata.str1.1
.LC5:
.string "not existing file: %s\n"
.LC6:
.string ".sha256_sig"
.section .rodata.str1.8
.align 8
.LC7:
.string "Skipping ELF section %s with offset %lu, length %lu\n"
.align 8
.LC8:
.string "offset+length cannot be less than the file size\n"
.section .rodata.str1.1
.LC9:
.string "%s\n"
.section .text.startup,"ax",@progbits
.p2align 4
.globl main
.type main, @function
main:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rsi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov ebx, edi
sub rsp, 32
.cfi_def_cfa_offset 64
mov rax, QWORD PTR fs:40
mov QWORD PTR 24[rsp], rax
xor eax, eax
cmp edi, 1
jle .L16
mov QWORD PTR 8[rsp], 0
mov rbp, QWORD PTR 8[rsi]
lea rsi, 4[rsp]
mov QWORD PTR 16[rsp], 0
mov rdi, rbp
call stat@PLT
test rax, rax
js .L3
.L5:
cmp ebx, 3
jle .L4
cmp ebx, 4
je .L17
mov edi, 1
call exit@PLT
mov rcx, QWORD PTR 16[rsp]
.L7:
mov rdx, QWORD PTR 8[rsp]
movsx rsi, DWORD PTR 4[rsp]
lea rax, [rdx+rcx]
cmp rsi, rax
jb .L18
.L9:
lea rsi, buffer.0[rip]
mov rdi, rbp
call sha256_file@PLT
lea rsi, buffer.0[rip]
lea rdi, .LC9[rip]
mov r12d, eax
call printf@PLT
mov rax, QWORD PTR 24[rsp]
sub rax, QWORD PTR fs:40
jne .L19
add rsp, 32
.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
.L17:
.cfi_restore_state
mov rdi, QWORD PTR 16[r12]
call atoi@PLT
mov rdi, QWORD PTR 24[r12]
mov QWORD PTR 8[rsp], rax
call atoi@PLT
mov QWORD PTR 16[rsp], rax
mov rcx, rax
jmp .L7
.L16:
mov rdx, QWORD PTR [rsi]
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC0[rip]
call fprintf@PLT
mov rdx, QWORD PTR segment_name[rip]
mov edi, DWORD PTR stderr[rip]
xor eax, eax
lea rsi, .LC1[rip]
call fprintf@PLT
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC2[rip]
xor eax, eax
call fprintf@PLT
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC3[rip]
xor eax, eax
call fprintf@PLT
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC4[rip]
xor eax, eax
call fprintf@PLT
mov edi, 1
call exit@PLT
mov rbp, QWORD PTR 8[r12]
lea rsi, 4[rsp]
mov QWORD PTR 8[rsp], 0
mov QWORD PTR 16[rsp], 0
mov rdi, rbp
call stat@PLT
test rax, rax
js .L3
.L4:
lea rcx, 16[rsp]
lea rdx, 8[rsp]
mov rdi, rbp
lea rsi, .LC6[rip]
call appimage_get_elf_section_offset_and_length@PLT
mov rcx, QWORD PTR 16[rsp]
test rcx, rcx
je .L7
mov r8, rcx
mov rdx, QWORD PTR segment_name[rip]
xor eax, eax
mov rcx, QWORD PTR 8[rsp]
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC7[rip]
call fprintf@PLT
mov rcx, QWORD PTR 16[rsp]
jmp .L7
.L18:
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC8[rip]
xor eax, eax
call fprintf@PLT
mov edi, 1
call exit@PLT
mov rcx, QWORD PTR 16[rsp]
mov rdx, QWORD PTR 8[rsp]
jmp .L9
.L3:
mov edi, DWORD PTR stderr[rip]
mov rdx, rbp
lea rsi, .LC5[rip]
xor eax, eax
call fprintf@PLT
mov edi, 1
call exit@PLT
jmp .L5
.L19:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size main, .-main
.local buffer.0
.comm buffer.0,65,32
.globl stderr
.bss
.align 4
.type stderr, @object
.size stderr, 4
stderr:
.zero 4
.globl segment_name
.align 8
.type segment_name, @object
.size segment_name, 8
segment_name:
.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_digest.c_main.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "Usage: %s file offset length\012\000"
.align 2
.LC1:
.ascii "If no offset and length are provided, the ELF secti"
.ascii "on '%s' is skipped\012\012\000"
.align 2
.LC2:
.ascii "Calculate a sha256 of a file except a skipped area "
.ascii "from offset to offset+length bytes\012\000"
.align 2
.LC3:
.ascii "which is replaced with 0x00 during checksum calcula"
.ascii "tion.\012\000"
.align 2
.LC4:
.ascii "This is useful when a signature is placed in the sk"
.ascii "ipped area.\012\000"
.align 2
.LC5:
.ascii "not existing file: %s\012\000"
.align 2
.LC6:
.ascii ".sha256_sig\000"
.align 2
.LC7:
.ascii "Skipping ELF section %s with offset %lu, length %lu"
.ascii "\012\000"
.align 2
.LC8:
.ascii "offset+length cannot be less than the file size\012"
.ascii "\000"
.align 2
.LC9:
.ascii "%s\012\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC10:
.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 = 16
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, lr}
ldr r3, .L21
sub sp, sp, #28
cmp r0, #1
mov r4, r0
mov r5, r1
ldr r3, [r3]
str r3, [sp, #20]
mov r3,#0
ble .L16
mov r3, #0
ldr r6, [r1, #4]
add r1, sp, #16
mov r0, r6
str r3, [sp, #8]
str r3, [sp, #12]
bl stat
cmp r0, #0
blt .L17
.L5:
cmp r4, #3
ble .L4
cmp r4, #4
beq .L18
mov r0, #1
bl exit
ldr r3, [sp, #12]
.L7:
ldr r2, [sp, #8]
ldr r1, [sp, #16]
add r0, r2, r3
cmp r0, r1
bhi .L19
.L9:
ldr r1, .L21+4
mov r0, r6
bl sha256_file
ldr r1, .L21+4
mov r4, r0
ldr r0, .L21+8
bl printf
ldr r3, .L21
ldr r2, [r3]
ldr r3, [sp, #20]
eors r2, r3, r2
mov r3, #0
bne .L20
mov r0, r4
add sp, sp, #28
@ sp needed
pop {r4, r5, r6, r7, pc}
.L18:
ldr r0, [r5, #8]
bl atoi
mov r3, r0
ldr r0, [r5, #12]
str r3, [sp, #8]
bl atoi
mov r3, r0
str r0, [sp, #12]
b .L7
.L16:
ldr r7, .L21+12
ldr r2, [r1]
ldr r0, [r7]
ldr r1, .L21+16
bl fprintf
ldr r3, .L21+20
ldr r1, .L21+24
ldr r2, [r3]
ldr r0, [r7]
bl fprintf
ldr r1, .L21+28
ldr r0, [r7]
bl fprintf
ldr r1, .L21+32
ldr r0, [r7]
bl fprintf
ldr r1, .L21+36
ldr r0, [r7]
bl fprintf
mov r0, #1
bl exit
mov r3, #0
ldr r6, [r5, #4]
add r1, sp, #16
mov r0, r6
str r3, [sp, #8]
str r3, [sp, #12]
bl stat
cmp r0, #0
blt .L3
.L4:
add r3, sp, #12
mov r0, r6
ldr r1, .L21+40
add r2, sp, #8
bl appimage_get_elf_section_offset_and_length
ldr r3, [sp, #12]
cmp r3, #0
beq .L7
ldr r1, .L21+12
ldr r2, .L21+20
str r3, [sp]
ldr r0, [r1]
ldr r3, [sp, #8]
ldr r2, [r2]
ldr r1, .L21+44
bl fprintf
ldr r3, [sp, #12]
b .L7
.L19:
ldr r3, .L21+12
ldr r1, .L21+48
ldr r0, [r3]
bl fprintf
mov r0, #1
bl exit
ldr r2, [sp, #8]
ldr r3, [sp, #12]
b .L9
.L17:
ldr r7, .L21+12
.L3:
mov r2, r6
ldr r0, [r7]
ldr r1, .L21+52
bl fprintf
mov r0, #1
bl exit
b .L5
.L20:
bl __stack_chk_fail
.L22:
.align 2
.L21:
.word .LC10
.word .LANCHOR0
.word .LC9
.word stderr
.word .LC0
.word segment_name
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.word .LC6
.word .LC7
.word .LC8
.word .LC5
.size main, .-main
.comm stderr,4,4
.comm segment_name,4,4
.bss
.align 2
.set .LANCHOR0,. + 0
.type buffer.4236, %object
.size buffer.4236, 65
buffer.4236:
.space 65
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_digest.c_sha256_file.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "rb"
.section .rodata
.LC1:
.string ""
.string ""
.section .rodata.str1.1
.LC2:
.string "%02x"
.text
.p2align 4
.globl sha256_file
.type sha256_file, @function
sha256_file:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
push r15
push r14
push r13
push r12
push rbx
.cfi_offset 15, -24
.cfi_offset 14, -32
.cfi_offset 13, -40
.cfi_offset 12, -48
.cfi_offset 3, -56
mov ebx, 1
sub rsp, 56
mov QWORD PTR -88[rbp], rsi
lea rsi, .LC0[rip]
mov DWORD PTR -76[rbp], edx
mov DWORD PTR -72[rbp], ecx
mov rax, QWORD PTR fs:40
mov QWORD PTR -56[rbp], rax
xor eax, eax
call fopen@PLT
test rax, rax
je .L1
mov r13, rax
movsx rax, DWORD PTR SHA256_DIGEST_LENGTH[rip]
mov rcx, rsp
lea rax, 15[0+rax*4]
mov rdx, rax
and rax, -4096
sub rcx, rax
and rdx, -16
cmp rsp, rcx
je .L4
.L28:
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
cmp rsp, rcx
jne .L28
.L4:
and edx, 4095
sub rsp, rdx
test rdx, rdx
jne .L29
.L5:
lea r14, -60[rbp]
mov r15, rsp
mov rdi, r14
call SHA256_Init@PLT
mov edi, 1048576
call malloc@PLT
mov r12, rax
test rax, rax
je .L30
xor ebx, ebx
cmp DWORD PTR -76[rbp], 1048576
mov edx, 1048576
jg .L7
jmp .L31
.p2align 4,,10
.p2align 3
.L9:
xor eax, eax
mov rsi, r12
mov rdi, r14
add ebx, edx
call SHA256_Update@PLT
mov edx, DWORD PTR -76[rbp]
mov eax, 1048576
sub edx, ebx
cmp edx, 1048576
cmovg edx, eax
.L7:
mov rcx, r13
mov esi, 1
mov rdi, r12
call fread@PLT
mov edx, eax
test eax, eax
jne .L9
.L8:
mov ebx, DWORD PTR -72[rbp]
mov esi, DWORD PTR -76[rbp]
mov rdi, r13
mov edx, DWORD PTR SEEK_SET[rip]
add esi, ebx
call fseek@PLT
test ebx, ebx
jle .L12
xor ebx, ebx
.p2align 4,,10
.p2align 3
.L11:
mov edx, 1
mov rdi, r14
xor eax, eax
add ebx, 1
lea rsi, .LC1[rip]
call SHA256_Update@PLT
cmp DWORD PTR -72[rbp], ebx
jne .L11
jmp .L12
.p2align 4,,10
.p2align 3
.L13:
mov edx, ebx
mov rsi, r12
mov rdi, r14
xor eax, eax
call SHA256_Update@PLT
.L12:
mov rcx, r13
mov edx, 1048576
mov esi, 1
mov rdi, r12
call fread@PLT
mov ebx, eax
test eax, eax
jne .L13
mov rsi, r14
mov rdi, r15
call SHA256_Final@PLT
mov eax, DWORD PTR SHA256_DIGEST_LENGTH[rip]
test eax, eax
jle .L14
mov rcx, QWORD PTR -88[rbp]
xor r14d, r14d
.p2align 4,,10
.p2align 3
.L15:
mov edx, DWORD PTR [r15+r14*4]
mov rdi, rcx
mov QWORD PTR -72[rbp], rcx
add r14, 1
lea rsi, .LC2[rip]
call sprintf@PLT
mov rcx, QWORD PTR -72[rbp]
add rcx, 2
cmp DWORD PTR SHA256_DIGEST_LENGTH[rip], r14d
jg .L15
.L14:
mov rax, QWORD PTR -88[rbp]
mov rdi, r13
mov BYTE PTR 64[rax], 0
call fclose@PLT
mov rdi, r12
call free@PLT
.L1:
mov rax, QWORD PTR -56[rbp]
sub rax, QWORD PTR fs:40
jne .L32
lea rsp, -40[rbp]
mov eax, ebx
pop rbx
pop r12
pop r13
pop r14
pop r15
pop rbp
.cfi_remember_state
.cfi_def_cfa 7, 8
ret
.p2align 4,,10
.p2align 3
.L31:
.cfi_restore_state
mov edx, DWORD PTR -76[rbp]
mov rcx, r13
mov esi, 1
mov rdi, rax
call fread@PLT
mov rsi, r12
mov rdi, r14
mov edx, eax
xor eax, eax
call SHA256_Update@PLT
jmp .L8
.p2align 4,,10
.p2align 3
.L29:
or QWORD PTR -8[rsp+rdx], 0
jmp .L5
.L30:
mov rdi, r13
call fclose@PLT
mov ebx, DWORD PTR ENOMEM[rip]
jmp .L1
.L32:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size sha256_file, .-sha256_file
.globl SHA256_DIGEST_LENGTH
.bss
.align 4
.type SHA256_DIGEST_LENGTH, @object
.size SHA256_DIGEST_LENGTH, 4
SHA256_DIGEST_LENGTH:
.zero 4
.globl SEEK_SET
.align 4
.type SEEK_SET, @object
.size SEEK_SET, 4
SEEK_SET:
.zero 4
.globl ENOMEM
.align 4
.type ENOMEM, @object
.size ENOMEM, 4
ENOMEM:
.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_digest.c_sha256_file.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "rb\000"
.align 2
.LC2:
.ascii "%02x\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC3:
.word __stack_chk_guard
.text
.align 2
.global sha256_file
.syntax unified
.arm
.fpu softvfp
.type sha256_file, %function
sha256_file:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
mov ip, r1
add fp, sp, #32
sub sp, sp, #20
mov r8, r3
ldr r3, .L22
str ip, [fp, #-48]
ldr r1, .L22+4
mov r9, r2
ldr r3, [r3]
str r3, [fp, #-40]
mov r3,#0
bl fopen
subs r5, r0, #0
moveq r7, #1
beq .L1
ldr r10, .L22+8
sub r0, fp, #44
ldr r3, [r10]
lsl r3, r3, #2
add r3, r3, #7
bic r3, r3, #7
sub sp, sp, r3
bl SHA256_Init
mov r0, #1048576
bl malloc
subs r4, r0, #0
mov r6, sp
beq .L20
cmp r9, #1048576
movgt r2, #1048576
movgt r7, #0
bgt .L4
mov r2, r9
mov r1, #1
mov r3, r5
bl fread
mov r1, r4
mov r2, r0
sub r0, fp, #44
bl SHA256_Update
.L5:
ldr r3, .L22+12
mov r0, r5
ldr r2, [r3]
add r1, r9, r8
bl fseek
cmp r8, #0
ble .L9
mov r7, #0
ldr r9, .L22+16
.L8:
mov r2, #1
mov r1, r9
add r7, r7, #1
sub r0, fp, #44
bl SHA256_Update
cmp r8, r7
bne .L8
b .L9
.L6:
add r7, r7, r2
mov r1, r4
sub r0, fp, #44
bl SHA256_Update
sub r2, r9, r7
cmp r2, #1048576
movge r2, #1048576
.L4:
mov r3, r5
mov r1, #1
mov r0, r4
bl fread
subs r2, r0, #0
bne .L6
b .L5
.L10:
mov r2, r7
mov r1, r4
sub r0, fp, #44
bl SHA256_Update
.L9:
mov r3, r5
mov r2, #1048576
mov r1, #1
mov r0, r4
bl fread
subs r7, r0, #0
bne .L10
mov r0, r6
sub r1, fp, #44
bl SHA256_Final
ldr r3, [r10]
cmp r3, #0
ble .L11
mov r8, r7
ldr r9, [fp, #-48]
ldr r1, .L22+20
sub r6, r6, #4
.L12:
mov r0, r9
ldr r2, [r6, #4]!
bl sprintf
ldr r3, [r10]
add r8, r8, #1
cmp r3, r8
ldr r1, .L22+20
add r9, r9, #2
bgt .L12
.L11:
mov r3, #0
ldr r2, [fp, #-48]
mov r0, r5
strb r3, [r2, #64]
bl fclose
mov r0, r4
bl free
.L1:
ldr r3, .L22
ldr r2, [r3]
ldr r3, [fp, #-40]
eors r2, r3, r2
mov r3, #0
bne .L21
mov r0, r7
sub sp, fp, #32
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L21:
bl __stack_chk_fail
.L20:
mov r0, r5
bl fclose
ldr r3, .L22+24
ldr r7, [r3]
b .L1
.L23:
.align 2
.L22:
.word .LC3
.word .LC0
.word SHA256_DIGEST_LENGTH
.word SEEK_SET
.word .LANCHOR0
.word .LC2
.word ENOMEM
.size sha256_file, .-sha256_file
.comm SHA256_DIGEST_LENGTH,4,4
.comm SEEK_SET,4,4
.comm ENOMEM,4,4
.section .rodata
.align 2
.set .LANCHOR0,. + 0
.LC1:
.ascii "\000\000"
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_digest_md5.c_compare_byte_buffers.c"
.intel_syntax noprefix
.text
.p2align 4
.globl compare_byte_buffers
.type compare_byte_buffers, @function
compare_byte_buffers:
.LFB0:
.cfi_startproc
endbr64
test rdx, rdx
je .L4
xor eax, eax
jmp .L3
.p2align 4,,10
.p2align 3
.L8:
add rax, 1
cmp rdx, rax
je .L4
.L3:
movzx ecx, BYTE PTR [rsi+rax]
cmp BYTE PTR [rdi+rax], cl
je .L8
xor eax, eax
ret
.p2align 4,,10
.p2align 3
.L4:
mov eax, 1
ret
.cfi_endproc
.LFE0:
.size compare_byte_buffers, .-compare_byte_buffers
.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_digest_md5.c_compare_byte_buffers.c"
.text
.align 2
.global compare_byte_buffers
.syntax unified
.arm
.fpu softvfp
.type compare_byte_buffers, %function
compare_byte_buffers:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
cmp r2, #0
beq .L4
add r2, r0, r2
sub ip, r2, #1
sub r0, r0, #1
sub r1, r1, #1
b .L3
.L8:
cmp r0, ip
beq .L4
.L3:
ldrb r2, [r0, #1]! @ zero_extendqisi2
ldrb r3, [r1, #1]! @ zero_extendqisi2
cmp r2, r3
beq .L8
mov r0, #0
bx lr
.L4:
mov r0, #1
bx lr
.size compare_byte_buffers, .-compare_byte_buffers
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_digest_md5.c_main.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "Usage: %s <my.AppImage>\n"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC1:
.string "Calculate AppImage MD5 digest, and compare it to embedded value (if available)"
.align 8
.LC2:
.string "No such file or directory: %s\n"
.align 8
.LC3:
.string "Could not calculate MD5 digest\n"
.section .rodata.str1.1
.LC4:
.string "calculated: %s\n"
.section .rodata.str1.8
.align 8
.LC5:
.string "Could not find %s section in file\n"
.align 8
.LC6:
.string "Invalid section length for section %s: expected %d bytes, found %lu bytes\n"
.section .rodata.str1.1
.LC7:
.string "r"
.section .rodata.str1.8
.align 8
.LC8:
.string "Failed to open AppImage for writing"
.align 8
.LC9:
.string "Failed to read embedded digest: failed to seek to offset\n"
.align 8
.LC10:
.string "Failed to read embedded digest: read invalid amount of bytes from file\n"
.section .rodata.str1.1
.LC11:
.string " embedded: %s\n"
.LC12:
.string "Digests match"
.LC13:
.string "Digests don't match!"
.section .text.startup,"ax",@progbits
.p2align 4
.globl main
.type main, @function
main:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
mov rbx, rsi
sub rsp, 72
.cfi_def_cfa_offset 112
mov rax, QWORD PTR fs:40
mov QWORD PTR 56[rsp], rax
xor eax, eax
cmp edi, 2
je .L2
mov rsi, QWORD PTR [rsi]
lea rdi, .LC0[rip]
call printf@PLT
mov edi, 10
call putchar@PLT
lea rdi, .LC1[rip]
call puts@PLT
.L2:
mov r12, QWORD PTR 8[rbx]
mov esi, DWORD PTR G_FILE_TEST_IS_REGULAR[rip]
mov rdi, r12
call g_file_test@PLT
test eax, eax
je .L23
lea r13, 16[rsp]
mov rdi, r12
mov rsi, r13
call appimage_type2_digest_md5@PLT
test eax, eax
je .L24
mov esi, 16
mov rdi, r13
call appimage_hexlify@PLT
lea rdi, .LC4[rip]
mov rsi, rax
mov rbp, rax
xor eax, eax
call printf@PLT
mov rdi, rbp
call free@PLT
lea rcx, 8[rsp]
mov rdx, rsp
mov rdi, r12
lea rsi, section_name.0[rip]
mov QWORD PTR [rsp], 0
mov QWORD PTR 8[rsp], 0
call appimage_get_elf_section_offset_and_length@PLT
test eax, eax
je .L6
cmp QWORD PTR [rsp], 0
je .L6
mov r8, QWORD PTR 8[rsp]
test r8, r8
je .L6
cmp r8, 15
jbe .L25
lea rsi, .LC7[rip]
mov rdi, r12
call fopen@PLT
mov rbp, rax
test rax, rax
je .L26
mov rsi, QWORD PTR [rsp]
mov edx, DWORD PTR SEEK_SET[rip]
mov rdi, rax
call fseek@PLT
lea rsi, .LC9[rip]
test rax, rax
jne .L21
lea r12, 32[rsp]
mov rcx, rbp
mov edx, 16
mov esi, 1
mov rdi, r12
call fread@PLT
cmp eax, 16
jne .L27
mov rdi, rbp
call fclose@PLT
mov esi, 16
mov rdi, r12
call appimage_hexlify@PLT
lea rdi, .LC11[rip]
mov rsi, rax
mov rbp, rax
xor eax, eax
call printf@PLT
mov rdi, rbp
call free@PLT
mov edx, 16
mov rsi, r12
mov rdi, r13
call compare_byte_buffers@PLT
test rax, rax
je .L12
lea rdi, .LC12[rip]
call puts@PLT
xor eax, eax
jmp .L1
.L24:
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC3[rip]
call fprintf@PLT
mov eax, 1
.L1:
mov rcx, QWORD PTR 56[rsp]
sub rcx, QWORD PTR fs:40
jne .L28
add rsp, 72
.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
.L6:
.cfi_restore_state
mov edi, DWORD PTR stderr[rip]
lea rdx, section_name.0[rip]
lea rsi, .LC5[rip]
xor eax, eax
call fprintf@PLT
mov eax, 1
jmp .L1
.L23:
mov edi, DWORD PTR stderr[rip]
mov rdx, r12
lea rsi, .LC2[rip]
call fprintf@PLT
mov eax, 1
jmp .L1
.L27:
lea rsi, .LC10[rip]
.L21:
mov edi, DWORD PTR stderr[rip]
xor eax, eax
call fprintf@PLT
mov rdi, rbp
call fclose@PLT
mov eax, 1
jmp .L1
.L25:
mov edi, DWORD PTR stderr[rip]
mov ecx, 16
lea rdx, section_name.0[rip]
xor eax, eax
lea rsi, .LC6[rip]
call fprintf@PLT
mov eax, 1
jmp .L1
.L26:
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC8[rip]
xor eax, eax
call fprintf@PLT
mov eax, 1
jmp .L1
.L12:
lea rdi, .LC13[rip]
xor eax, eax
call printf@PLT
mov eax, 1
jmp .L1
.L28:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.align 8
.type section_name.0, @object
.size section_name.0, 12
section_name.0:
.string ".digest_md5"
.globl stderr
.bss
.align 4
.type stderr, @object
.size stderr, 4
stderr:
.zero 4
.globl SEEK_SET
.align 4
.type SEEK_SET, @object
.size SEEK_SET, 4
SEEK_SET:
.zero 4
.globl G_FILE_TEST_IS_REGULAR
.align 4
.type G_FILE_TEST_IS_REGULAR, @object
.size G_FILE_TEST_IS_REGULAR, 4
G_FILE_TEST_IS_REGULAR:
.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_digest_md5.c_main.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "Usage: %s <my.AppImage>\012\000"
.align 2
.LC1:
.ascii "Calculate AppImage MD5 digest, and compare it to em"
.ascii "bedded value (if available)\000"
.align 2
.LC2:
.ascii "No such file or directory: %s\012\000"
.align 2
.LC3:
.ascii "Could not calculate MD5 digest\012\000"
.align 2
.LC4:
.ascii "calculated: %s\012\000"
.align 2
.LC5:
.ascii "Could not find %s section in file\012\000"
.align 2
.LC6:
.ascii "Invalid section length for section %s: expected %d "
.ascii "bytes, found %lu bytes\012\000"
.align 2
.LC7:
.ascii "r\000"
.align 2
.LC8:
.ascii "Failed to open AppImage for writing\000"
.align 2
.LC9:
.ascii "Failed to read embedded digest: failed to seek to o"
.ascii "ffset\012\000"
.align 2
.LC10:
.ascii "Failed to read embedded digest: read invalid amount"
.ascii " of bytes from file\012\000"
.align 2
.LC11:
.ascii " embedded: %s\012\000"
.align 2
.LC12:
.ascii "Digests match\000"
.align 2
.LC13:
.ascii "Digests don't match!\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC14:
.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 = 48
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r3, .L32
sub sp, sp, #56
cmp r0, #2
mov r4, r1
ldr r3, [r3]
str r3, [sp, #52]
mov r3,#0
beq .L2
ldr r1, [r1]
ldr r0, .L32+4
bl printf
mov r0, #10
bl putchar
ldr r0, .L32+8
bl puts
.L2:
ldr r4, [r4, #4]
ldr r3, .L32+12
mov r0, r4
ldr r1, [r3]
bl g_file_test
cmp r0, #0
beq .L26
mov r0, r4
add r1, sp, #20
bl appimage_type2_digest_md5
cmp r0, #0
beq .L27
mov r1, #16
add r0, sp, #20
bl appimage_hexlify
mov r5, r0
ldr r0, .L32+16
mov r1, r5
bl printf
mov r0, r5
bl free
mov ip, #0
mov r0, r4
ldr r1, .L32+20
add r3, sp, #16
add r2, sp, #12
str ip, [sp, #12]
str ip, [sp, #16]
bl appimage_get_elf_section_offset_and_length
cmp r0, #0
beq .L6
ldr r3, [sp, #12]
cmp r3, #0
beq .L6
ldr r3, [sp, #16]
cmp r3, #0
beq .L6
cmp r3, #15
bls .L28
mov r0, r4
ldr r1, .L32+24
bl fopen
subs r5, r0, #0
beq .L29
ldr r3, .L32+28
ldr r1, [sp, #12]
ldr r2, [r3]
bl fseek
subs r4, r0, #0
bne .L30
mov r3, r5
mov r2, #16
mov r1, #1
add r0, sp, #36
bl fread
cmp r0, #16
mov r6, r0
beq .L11
ldr r3, .L32+32
ldr r1, .L32+36
.L24:
ldr r0, [r3]
bl fprintf
mov r0, r5
bl fclose
mov r4, #1
b .L1
.L27:
ldr r3, .L32+32
ldr r1, .L32+40
ldr r0, [r3]
bl fprintf
mov r4, #1
.L1:
ldr r3, .L32
ldr r2, [r3]
ldr r3, [sp, #52]
eors r2, r3, r2
mov r3, #0
bne .L31
mov r0, r4
add sp, sp, #56
@ sp needed
pop {r4, r5, r6, pc}
.L6:
ldr r3, .L32+32
ldr r2, .L32+20
ldr r0, [r3]
ldr r1, .L32+44
bl fprintf
mov r4, #1
b .L1
.L26:
ldr r3, .L32+32
mov r2, r4
ldr r0, [r3]
ldr r1, .L32+48
bl fprintf
mov r4, #1
b .L1
.L28:
ldr r2, .L32+32
str r3, [sp]
ldr r0, [r2]
mov r3, #16
ldr r2, .L32+20
ldr r1, .L32+52
bl fprintf
mov r4, #1
b .L1
.L11:
mov r0, r5
bl fclose
mov r1, r6
add r0, sp, #36
bl appimage_hexlify
mov r5, r0
ldr r0, .L32+56
mov r1, r5
bl printf
mov r0, r5
bl free
mov r2, r6
add r1, sp, #36
add r0, sp, #20
bl compare_byte_buffers
cmp r0, #0
beq .L12
ldr r0, .L32+60
bl puts
b .L1
.L30:
ldr r3, .L32+32
ldr r1, .L32+64
b .L24
.L29:
ldr r3, .L32+32
ldr r1, .L32+68
ldr r0, [r3]
bl fprintf
mov r4, #1
b .L1
.L12:
ldr r0, .L32+72
bl printf
mov r4, #1
b .L1
.L31:
bl __stack_chk_fail
.L33:
.align 2
.L32:
.word .LC14
.word .LC0
.word .LC1
.word G_FILE_TEST_IS_REGULAR
.word .LC4
.word .LANCHOR0
.word .LC7
.word SEEK_SET
.word stderr
.word .LC10
.word .LC3
.word .LC5
.word .LC2
.word .LC6
.word .LC11
.word .LC12
.word .LC9
.word .LC8
.word .LC13
.size main, .-main
.comm stderr,4,4
.comm SEEK_SET,4,4
.comm G_FILE_TEST_IS_REGULAR,4,4
.section .rodata
.align 2
.set .LANCHOR0,. + 0
.type section_name.4252, %object
.size section_name.4252, 12
section_name.4252:
.ascii ".digest_md5\000"
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_notify.c_notify.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "\n%s\n"
.LC1:
.string "libnotify.so.3"
.LC2:
.string "libnotify.so.4"
.LC3:
.string "libnotify.so.5"
.LC4:
.string "libnotify.so.6"
.LC5:
.string "libnotify.so.7"
.LC6:
.string "libnotify.so.8"
.LC7:
.string "Failed to open libnotify.\n"
.LC8:
.string "notify_init"
.LC9:
.string "AppImage"
.LC10:
.string "notify_notification_new"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC11:
.string "notify_notification_set_timeout"
.section .rodata.str1.1
.LC12:
.string "notify_notification_show"
.text
.p2align 4
.globl notify
.type notify, @function
notify:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
mov r14d, edx
push r13
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
mov r13, rsi
push r12
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
mov r12, rdi
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
sub rsp, 8
.cfi_def_cfa_offset 48
mov edi, DWORD PTR stdin[rip]
call fileno@PLT
mov edi, eax
call isatty@PLT
mov rsi, r12
lea rdi, .LC0[rip]
test rax, rax
mov eax, 0
je .L2
call printf@PLT
mov rdi, r13
call puts@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 40
xor eax, eax
pop rbp
.cfi_def_cfa_offset 32
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
call printf@PLT
mov rdi, r13
call puts@PLT
mov esi, DWORD PTR RTLD_LAZY[rip]
lea rdi, .LC1[rip]
call dlopen@PLT
mov rbp, rax
test rax, rax
je .L11
.L4:
lea rsi, .LC8[rip]
mov rdi, rbp
call dlsym@PLT
test rax, rax
je .L9
lea rdi, .LC9[rip]
call rax
lea rsi, .LC10[rip]
mov rdi, rbp
call dlsym@PLT
test rax, rax
je .L9
mov rdi, r12
xor ecx, ecx
xor edx, edx
mov rsi, r13
call rax
lea rsi, .LC11[rip]
mov rdi, rbp
mov r12, rax
call dlsym@PLT
test rax, rax
je .L9
mov esi, r14d
mov rdi, r12
call rax
mov rdi, rbp
lea rsi, .LC12[rip]
call dlsym@PLT
mov rdi, r12
xor esi, esi
call rax
mov rdi, rbp
call dlclose@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 40
xor eax, eax
pop rbp
.cfi_def_cfa_offset 32
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L11:
.cfi_restore_state
mov esi, DWORD PTR RTLD_LAZY[rip]
lea rdi, .LC2[rip]
call dlopen@PLT
mov rbp, rax
test rax, rax
jne .L4
mov esi, DWORD PTR RTLD_LAZY[rip]
lea rdi, .LC3[rip]
call dlopen@PLT
mov rbp, rax
test rax, rax
jne .L4
mov esi, DWORD PTR RTLD_LAZY[rip]
lea rdi, .LC4[rip]
call dlopen@PLT
mov rbp, rax
test rax, rax
jne .L4
mov esi, DWORD PTR RTLD_LAZY[rip]
lea rdi, .LC5[rip]
call dlopen@PLT
mov rbp, rax
test rax, rax
jne .L4
mov esi, DWORD PTR RTLD_LAZY[rip]
lea rdi, .LC6[rip]
call dlopen@PLT
mov rbp, rax
test rax, rax
jne .L4
lea rdi, .LC7[rip]
call puts@PLT
jmp .L4
.p2align 4,,10
.p2align 3
.L9:
mov rdi, rbp
call dlclose@PLT
add rsp, 8
.cfi_def_cfa_offset 40
mov eax, 1
pop rbp
.cfi_def_cfa_offset 32
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size notify, .-notify
.globl stdin
.bss
.align 4
.type stdin, @object
.size stdin, 4
stdin:
.zero 4
.globl RTLD_LAZY
.align 4
.type RTLD_LAZY, @object
.size RTLD_LAZY, 4
RTLD_LAZY:
.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_notify.c_notify.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "\012%s\012\000"
.align 2
.LC1:
.ascii "libnotify.so.3\000"
.align 2
.LC2:
.ascii "libnotify.so.4\000"
.align 2
.LC3:
.ascii "libnotify.so.5\000"
.align 2
.LC4:
.ascii "libnotify.so.6\000"
.align 2
.LC5:
.ascii "libnotify.so.7\000"
.align 2
.LC6:
.ascii "libnotify.so.8\000"
.align 2
.LC7:
.ascii "Failed to open libnotify.\012\000"
.align 2
.LC8:
.ascii "notify_init\000"
.align 2
.LC9:
.ascii "AppImage\000"
.align 2
.LC10:
.ascii "notify_notification_new\000"
.align 2
.LC11:
.ascii "notify_notification_set_timeout\000"
.align 2
.LC12:
.ascii "notify_notification_show\000"
.text
.align 2
.global notify
.syntax unified
.arm
.fpu softvfp
.type notify, %function
notify:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L12
push {r4, r5, r6, r7, r8, r9, r10, lr}
mov r6, r0
ldr r0, [r3]
mov r7, r1
mov r8, r2
bl fileno
bl isatty
subs r5, r0, #0
mov r1, r6
ldr r0, .L12+4
beq .L2
mov r5, #0
bl printf
mov r0, r7
bl puts
mov r0, r5
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
ldr r9, .L12+8
bl printf
mov r0, r7
bl puts
ldr r1, [r9]
ldr r0, .L12+12
bl dlopen
subs r4, r0, #0
beq .L11
.L4:
mov r0, r4
ldr r1, .L12+16
bl dlsym
subs r3, r0, #0
beq .L9
ldr r0, .L12+20
blx r3
mov r0, r4
ldr r1, .L12+24
bl dlsym
subs r9, r0, #0
beq .L9
mov r3, #0
mov r1, r7
mov r2, r3
mov r0, r6
blx r9
ldr r1, .L12+28
mov r6, r0
mov r0, r4
bl dlsym
subs r3, r0, #0
beq .L9
mov r1, r8
mov r0, r6
blx r3
mov r0, r4
ldr r1, .L12+32
bl dlsym
mov r1, #0
mov r3, r0
mov r0, r6
blx r3
mov r0, r4
bl dlclose
mov r0, r5
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
ldr r1, [r9]
ldr r0, .L12+36
bl dlopen
subs r4, r0, #0
bne .L4
ldr r1, [r9]
ldr r0, .L12+40
bl dlopen
subs r4, r0, #0
bne .L4
ldr r1, [r9]
ldr r0, .L12+44
bl dlopen
subs r4, r0, #0
bne .L4
ldr r1, [r9]
ldr r0, .L12+48
bl dlopen
subs r4, r0, #0
bne .L4
ldr r1, [r9]
ldr r0, .L12+52
bl dlopen
subs r4, r0, #0
bne .L4
ldr r0, .L12+56
bl puts
b .L4
.L9:
mov r5, #1
mov r0, r4
bl dlclose
mov r0, r5
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L13:
.align 2
.L12:
.word stdin
.word .LC0
.word RTLD_LAZY
.word .LC1
.word .LC8
.word .LC9
.word .LC10
.word .LC11
.word .LC12
.word .LC2
.word .LC3
.word .LC4
.word .LC5
.word .LC6
.word .LC7
.size notify, .-notify
.comm stdin,4,4
.comm RTLD_LAZY,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_runtime.c_build_mount_point.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "TARGET_APPIMAGE"
.LC1:
.string "/.mount_"
.LC2:
.string "XXXXXX"
.text
.p2align 4
.globl build_mount_point
.type build_mount_point, @function
build_mount_point:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
mov r14, rdx
push r13
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
mov r13, rsi
push r12
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
mov r12, rcx
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
mov rbp, rdi
lea rdi, .LC0[rip]
push rbx
.cfi_def_cfa_offset 48
.cfi_offset 3, -48
call getenv@PLT
test rax, rax
je .L2
mov rdi, rax
call basename@PLT
mov r13, rax
.L3:
mov rdi, r13
mov ebx, 6
call strlen@PLT
mov rsi, r14
mov rdi, rbp
cmp rax, 6
cmovbe rbx, rax
call strcpy@PLT
lea rdi, 0[rbp+r12]
mov edx, 8
lea rsi, .LC1[rip]
call strncpy@PLT
lea rdi, 8[rbp+r12]
mov edx, ebx
mov rsi, r13
call strncpy@PLT
add rbx, r12
mov edx, 6
lea rsi, .LC2[rip]
lea rdi, 8[rbp+rbx]
call strncpy@PLT
mov BYTE PTR 14[rbp+rbx], 0
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 40
pop rbp
.cfi_def_cfa_offset 32
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
mov rdi, r13
call basename@PLT
mov r13, rax
jmp .L3
.cfi_endproc
.LFE0:
.size build_mount_point, .-build_mount_point
.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_runtime.c_build_mount_point.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "TARGET_APPIMAGE\000"
.align 2
.LC1:
.ascii "/.mount_\000"
.align 2
.LC2:
.ascii "XXXXXX\000"
.text
.align 2
.global build_mount_point
.syntax unified
.arm
.fpu softvfp
.type build_mount_point, %function
build_mount_point:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r4, r0
ldr r0, .L7
mov r5, r3
mov r6, r1
mov r8, r2
bl getenv
cmp r0, #0
moveq r0, r6
bl basename
mov r7, r0
bl strlen
cmp r0, #6
movcc r6, r0
movcs r6, #6
mov r1, r8
mov r0, r4
bl strcpy
add r0, r4, r5
mov r2, #8
ldr r1, .L7+4
bl memcpy
add r0, r5, #8
mov r1, r7
mov r2, r6
add r5, r6, r5
add r0, r4, r0
bl strncpy
add r0, r5, #8
mov r2, #6
ldr r1, .L7+8
add r0, r4, r0
bl memcpy
mov r3, #0
add r4, r4, r5
strb r3, [r4, #14]
pop {r4, r5, r6, r7, r8, pc}
.L8:
.align 2
.L7:
.word .LC0
.word .LC1
.word .LC2
.size build_mount_point, .-build_mount_point
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_runtime.c_die.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%s\n"
.text
.p2align 4
.type die, @function
die:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov rdx, rdi
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC0[rip]
call fprintf@PLT
mov edi, DWORD PTR EXIT_EXECERROR[rip]
add rsp, 8
.cfi_def_cfa_offset 8
jmp exit@PLT
.cfi_endproc
.LFE0:
.size die, .-die
.globl stderr
.bss
.align 4
.type stderr, @object
.size stderr, 4
stderr:
.zero 4
.globl EXIT_EXECERROR
.align 4
.type EXIT_EXECERROR, @object
.size EXIT_EXECERROR, 4
EXIT_EXECERROR:
.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_runtime.c_die.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type die, %function
die:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L4
push {r4, lr}
mov r2, r0
ldr r1, .L4+4
ldr r0, [r3]
bl fprintf
pop {r4, lr}
ldr r3, .L4+8
ldr r0, [r3]
b exit
.L5:
.align 2
.L4:
.word stderr
.word .LC0
.word EXIT_EXECERROR
.size die, .-die
.comm stderr,4,4
.comm EXIT_EXECERROR,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_runtime.c_fuse_mounted.c"
.intel_syntax noprefix
.text
.p2align 4
.globl fuse_mounted
.type fuse_mounted, @function
fuse_mounted:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 24
.cfi_def_cfa_offset 32
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
call getpid@PLT
mov ecx, DWORD PTR keepalive_pipe[rip]
mov edx, DWORD PTR write_pipe_thread[rip]
xor esi, esi
lea rdi, 4[rsp]
mov DWORD PTR fuse_pid[rip], eax
call pthread_create@PLT
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L5
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.L5:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size fuse_mounted, .-fuse_mounted
.globl write_pipe_thread
.bss
.align 4
.type write_pipe_thread, @object
.size write_pipe_thread, 4
write_pipe_thread:
.zero 4
.globl keepalive_pipe
.align 4
.type keepalive_pipe, @object
.size keepalive_pipe, 4
keepalive_pipe:
.zero 4
.globl fuse_pid
.align 4
.type fuse_pid, @object
.size fuse_pid, 4
fuse_pid:
.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_runtime.c_fuse_mounted.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global fuse_mounted
.syntax unified
.arm
.fpu softvfp
.type fuse_mounted, %function
fuse_mounted:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
str lr, [sp, #-4]!
ldr r3, .L6
sub sp, sp, #12
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
bl getpid
mov lr, r0
ldr r3, .L6+4
ldr r2, .L6+8
ldr ip, .L6+12
ldr r3, [r3]
ldr r2, [r2]
mov r1, #0
mov r0, sp
str lr, [ip]
bl pthread_create
ldr r3, .L6
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L5
add sp, sp, #12
@ sp needed
ldr pc, [sp], #4
.L5:
bl __stack_chk_fail
.L7:
.align 2
.L6:
.word .LC0
.word keepalive_pipe
.word write_pipe_thread
.word fuse_pid
.size fuse_mounted, .-fuse_mounted
.comm write_pipe_thread,4,4
.comm keepalive_pipe,4,4
.comm fuse_pid,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_runtime.c_getArg.c"
.intel_syntax noprefix
.text
.p2align 4
.globl getArg
.type getArg, @function
getArg:
.LFB0:
.cfi_startproc
endbr64
mov rcx, rsi
mov esi, edx
cmp edi, 1
jle .L5
lea edx, -2[rdi]
lea rax, 8[rcx]
lea rcx, 16[rcx+rdx*8]
jmp .L4
.p2align 4,,10
.p2align 3
.L3:
add rax, 8
cmp rax, rcx
je .L5
.L4:
mov rdx, QWORD PTR [rax]
cmp BYTE PTR [rdx], 45
jne .L3
cmp BYTE PTR 1[rdx], sil
jne .L3
lea rax, 2[rdx]
ret
.p2align 4,,10
.p2align 3
.L5:
xor eax, eax
ret
.cfi_endproc
.LFE0:
.size getArg, .-getArg
.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_runtime.c_getArg.c"
.text
.align 2
.global getArg
.syntax unified
.arm
.fpu softvfp
.type getArg, %function
getArg:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
cmp r0, #1
ble .L5
mov r3, #1
str lr, [sp, #-4]!
b .L4
.L3:
cmp r0, r3
beq .L12
.L4:
ldr ip, [r1, #4]!
add r3, r3, #1
ldrb lr, [ip] @ zero_extendqisi2
cmp lr, #45
bne .L3
ldrb lr, [ip, #1] @ zero_extendqisi2
cmp lr, r2
bne .L3
add r0, ip, #2
ldr pc, [sp], #4
.L12:
mov r0, #0
ldr pc, [sp], #4
.L5:
mov r0, #0
bx lr
.size getArg, .-getArg
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_runtime.c_is_writable_directory.c"
.intel_syntax noprefix
.text
.p2align 4
.globl is_writable_directory
.type is_writable_directory, @function
is_writable_directory:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, DWORD PTR W_OK[rip]
call access@PLT
test rax, rax
sete al
add rsp, 8
.cfi_def_cfa_offset 8
movzx eax, al
ret
.cfi_endproc
.LFE0:
.size is_writable_directory, .-is_writable_directory
.globl W_OK
.bss
.align 4
.type W_OK, @object
.size W_OK, 4
W_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_runtime.c_is_writable_directory.c"
.text
.align 2
.global is_writable_directory
.syntax unified
.arm
.fpu softvfp
.type is_writable_directory, %function
is_writable_directory:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L4
push {r4, lr}
ldr r1, [r3]
bl access
clz r0, r0
lsr r0, r0, #5
pop {r4, pc}
.L5:
.align 2
.L4:
.word W_OK
.size is_writable_directory, .-is_writable_directory
.comm W_OK,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_runtime.c_mkdir_p.c"
.intel_syntax noprefix
.text
.p2align 4
.globl mkdir_p
.type mkdir_p, @function
mkdir_p:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
push r13
push r12
.cfi_offset 13, -24
.cfi_offset 12, -32
mov r12, rdi
push rbx
sub rsp, 24
.cfi_offset 3, -40
mov rax, QWORD PTR fs:40
mov QWORD PTR -40[rbp], rax
xor eax, eax
call strlen@PLT
movsx rcx, DWORD PTR PATH_MAX[rip]
mov rdi, rsp
mov rdx, rax
lea rax, 15[rcx]
mov rsi, rax
and rax, -4096
sub rdi, rax
and rsi, -16
cmp rsp, rdi
je .L3
.L24:
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
cmp rsp, rdi
jne .L24
.L3:
and esi, 4095
sub rsp, rsi
test rsi, rsi
jne .L25
.L4:
sub rcx, 1
mov r13, rsp
mov QWORD PTR errno[rip], 0
cmp rcx, rdx
jb .L26
mov rsi, r12
mov rdi, rsp
lea rbx, 1[rsp]
call strcpy@PLT
movzx eax, BYTE PTR 1[rsp]
test al, al
jne .L7
jmp .L11
.p2align 4,,10
.p2align 3
.L9:
movzx eax, BYTE PTR 1[rbx]
add rbx, 1
test al, al
je .L11
.L7:
cmp al, 47
jne .L9
mov esi, DWORD PTR S_IRWXU[rip]
mov rdi, r13
mov BYTE PTR [rbx], 0
call mkdir@PLT
test rax, rax
je .L10
mov rax, QWORD PTR EEXIST[rip]
cmp QWORD PTR errno[rip], rax
jne .L13
.L10:
mov BYTE PTR [rbx], 47
movzx eax, BYTE PTR 1[rbx]
add rbx, 1
test al, al
jne .L7
.p2align 4,,10
.p2align 3
.L11:
mov esi, DWORD PTR S_IRWXU[rip]
mov rdi, r13
call mkdir@PLT
test rax, rax
je .L1
mov rax, QWORD PTR EEXIST[rip]
cmp QWORD PTR errno[rip], rax
setne al
movzx eax, al
neg eax
.L1:
mov rdx, QWORD PTR -40[rbp]
sub rdx, QWORD PTR fs:40
jne .L27
lea rsp, -24[rbp]
pop rbx
pop r12
pop r13
pop rbp
.cfi_remember_state
.cfi_def_cfa 7, 8
ret
.L25:
.cfi_restore_state
or QWORD PTR -8[rsp+rsi], 0
jmp .L4
.L13:
mov eax, -1
jmp .L1
.L26:
mov rax, QWORD PTR ENAMETOOLONG[rip]
mov QWORD PTR errno[rip], rax
mov eax, -1
jmp .L1
.L27:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size mkdir_p, .-mkdir_p
.globl errno
.bss
.align 8
.type errno, @object
.size errno, 8
errno:
.zero 8
.globl S_IRWXU
.align 4
.type S_IRWXU, @object
.size S_IRWXU, 4
S_IRWXU:
.zero 4
.globl PATH_MAX
.align 4
.type PATH_MAX, @object
.size PATH_MAX, 4
PATH_MAX:
.zero 4
.globl ENAMETOOLONG
.align 8
.type ENAMETOOLONG, @object
.size ENAMETOOLONG, 8
ENAMETOOLONG:
.zero 8
.globl EEXIST
.align 8
.type EEXIST, @object
.size EEXIST, 8
EEXIST:
.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_runtime.c_mkdir_p.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global mkdir_p
.syntax unified
.arm
.fpu softvfp
.type mkdir_p, %function
mkdir_p:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
add fp, sp, #32
sub sp, sp, #12
ldr r3, .L25
mov r4, r0
ldr r3, [r3]
str r3, [fp, #-40]
mov r3,#0
bl strlen
mov r5, #0
ldr r3, .L25+4
ldr r7, .L25+8
ldr r3, [r3]
str r5, [r7]
add r2, r3, #7
sub r3, r3, #1
bic r2, r2, #7
cmp r3, r0
sub sp, sp, r2
bcc .L22
mov r1, r4
mov r0, sp
bl strcpy
ldrb r3, [sp, #1] @ zero_extendqisi2
ldr r6, .L25+12
cmp r3, #0
mov r10, sp
ldr r1, [r6]
add r4, sp, #1
beq .L4
mov r8, #47
ldr r9, .L25+16
b .L7
.L5:
ldrb r3, [r4, #1]! @ zero_extendqisi2
cmp r3, #0
beq .L4
.L7:
cmp r3, #47
bne .L5
mov r0, r10
strb r5, [r4]
bl mkdir
cmp r0, #0
beq .L6
ldr r2, [r7]
ldr r3, [r9]
cmp r2, r3
bne .L9
.L6:
strb r8, [r4]
ldrb r3, [r4, #1]! @ zero_extendqisi2
ldr r1, [r6]
cmp r3, #0
bne .L7
.L4:
mov r0, r10
bl mkdir
cmp r0, #0
bne .L23
.L1:
ldr r3, .L25
ldr r2, [r3]
ldr r3, [fp, #-40]
eors r2, r3, r2
mov r3, #0
bne .L24
sub sp, fp, #32
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L23:
ldr r3, .L25+16
ldr r0, [r7]
ldr r3, [r3]
subs r0, r0, r3
mvnne r0, #0
b .L1
.L9:
mvn r0, #0
b .L1
.L22:
ldr r3, .L25+20
mvn r0, #0
ldr r3, [r3]
str r3, [r7]
b .L1
.L24:
bl __stack_chk_fail
.L26:
.align 2
.L25:
.word .LC0
.word PATH_MAX
.word errno
.word S_IRWXU
.word EEXIST
.word ENAMETOOLONG
.size mkdir_p, .-mkdir_p
.comm errno,4,4
.comm S_IRWXU,4,4
.comm PATH_MAX,4,4
.comm ENAMETOOLONG,4,4
.comm EEXIST,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_runtime.c_portable_option.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "appimage-portable-%s"
.LC1:
.string "%s.%s"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC2:
.string "Portable %s directory created at %s\n"
.align 8
.LC3:
.string "Error creating portable %s directory at %s: %s\n"
.text
.p2align 4
.globl portable_option
.type portable_option, @function
portable_option:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
push r15
.cfi_offset 15, -24
mov r15, rsi
lea rsi, .LC0[rip]
push r14
.cfi_offset 14, -32
lea r14, -80[rbp]
push r13
.cfi_offset 13, -40
mov r13, rdx
push r12
.cfi_offset 12, -48
mov r12, rdi
mov rdi, r14
sub rsp, 48
mov rax, QWORD PTR fs:40
mov QWORD PTR -40[rbp], rax
xor eax, eax
call sprintf@PLT
test r12, r12
je .L1
mov rsi, r14
mov rdi, r12
call strcmp@PLT
test rax, rax
je .L22
.L1:
mov rax, QWORD PTR -40[rbp]
sub rax, QWORD PTR fs:40
jne .L23
lea rsp, -32[rbp]
pop r12
pop r13
pop r14
pop r15
pop rbp
.cfi_remember_state
.cfi_def_cfa 7, 8
ret
.p2align 4,,10
.p2align 3
.L22:
.cfi_restore_state
movsx rax, DWORD PTR PATH_MAX[rip]
mov rcx, rsp
mov r12, rsp
mov r8, rax
add rax, 15
mov rsi, rax
mov rdx, rax
and rsi, -4096
and rdx, -16
sub rcx, rsi
cmp rsp, rcx
je .L6
.L24:
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
cmp rsp, rcx
jne .L24
.L6:
and edx, 4095
sub rsp, rdx
test rdx, rdx
jne .L25
.L7:
mov rdx, rax
mov rcx, rsp
and rax, -4096
mov r14, rsp
and rdx, -16
sub rcx, rax
.L8:
cmp rsp, rcx
je .L9
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
jmp .L8
.p2align 4,,10
.p2align 3
.L25:
or QWORD PTR -8[rsp+rdx], 0
jmp .L7
.p2align 4,,10
.p2align 3
.L9:
and edx, 4095
sub rsp, rdx
test rdx, rdx
je .L10
or QWORD PTR -8[rsp+rdx], 0
.L10:
mov edx, r8d
mov rsi, rsp
mov rdi, r15
call readlink@PLT
mov rdi, r14
mov rcx, r13
mov rdx, rsp
mov BYTE PTR [rsp+rax], 0
lea rsi, .LC1[rip]
xor eax, eax
call sprintf@PLT
mov esi, DWORD PTR S_IRWXU[rip]
mov rdi, r14
call mkdir@PLT
test eax, eax
jne .L11
mov edi, DWORD PTR stderr[rip]
mov rcx, r14
mov rdx, r13
lea rsi, .LC2[rip]
call fprintf@PLT
.L12:
xor edi, edi
call exit@PLT
mov rsp, r12
jmp .L1
.L11:
mov edi, DWORD PTR errno[rip]
call strerror@PLT
mov edi, DWORD PTR stderr[rip]
mov rcx, r14
mov rdx, r13
mov r8, rax
lea rsi, .LC3[rip]
xor eax, eax
call fprintf@PLT
jmp .L12
.L23:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size portable_option, .-portable_option
.globl stderr
.bss
.align 4
.type stderr, @object
.size stderr, 4
stderr:
.zero 4
.globl errno
.align 4
.type errno, @object
.size errno, 4
errno:
.zero 4
.globl S_IRWXU
.align 4
.type S_IRWXU, @object
.size S_IRWXU, 4
S_IRWXU:
.zero 4
.globl PATH_MAX
.align 4
.type PATH_MAX, @object
.size PATH_MAX, 4
PATH_MAX:
.zero 4
.globl EXIT_FAILURE
.align 4
.type EXIT_FAILURE, @object
.size EXIT_FAILURE, 4
EXIT_FAILURE:
.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_runtime.c_portable_option.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "appimage-portable-%s\000"
.align 2
.LC1:
.ascii "%s.%s\000"
.align 2
.LC2:
.ascii "Portable %s directory created at %s\012\000"
.align 2
.LC3:
.ascii "Error creating portable %s directory at %s: %s\012\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC4:
.word __stack_chk_guard
.text
.align 2
.global portable_option
.syntax unified
.arm
.fpu softvfp
.type portable_option, %function
portable_option:
@ args = 0, pretend = 0, frame = 40
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, fp, lr}
add fp, sp, #24
sub sp, sp, #52
mov r4, r0
ldr r3, .L14
mov r6, r1
sub r0, fp, #64
ldr r1, .L14+4
ldr r3, [r3]
str r3, [fp, #-32]
mov r3,#0
mov r5, r2
bl sprintf
cmp r4, #0
beq .L1
mov r0, r4
sub r1, fp, #64
bl strcmp
subs r4, r0, #0
beq .L11
.L1:
ldr r3, .L14
ldr r2, [r3]
ldr r3, [fp, #-32]
eors r2, r3, r2
mov r3, #0
bne .L12
sub sp, fp, #24
@ sp needed
pop {r4, r5, r6, r7, r8, fp, pc}
.L11:
ldr r3, .L14+8
mov r7, sp
ldr r2, [r3]
mov r0, r6
add r3, r2, #7
bic r3, r3, #7
sub sp, sp, r3
add r8, sp, #8
sub sp, sp, r3
add r6, sp, #8
mov r1, r6
bl readlink
mov r2, r6
mov r3, r5
ldr r1, .L14+12
strb r4, [r6, r0]
mov r0, r8
bl sprintf
ldr r3, .L14+16
mov r0, r8
ldr r1, [r3]
bl mkdir
cmp r0, #0
beq .L13
ldr r2, .L14+20
ldr r3, .L14+24
ldr r0, [r2]
ldr r4, [r3]
bl strerror
mov r2, r0
mov r3, r8
str r2, [sp]
mov r0, r4
mov r2, r5
ldr r1, .L14+28
bl fprintf
.L4:
mov r0, #0
bl exit
mov sp, r7
b .L1
.L13:
ldr r1, .L14+24
mov r3, r8
mov r2, r5
ldr r0, [r1]
ldr r1, .L14+32
bl fprintf
b .L4
.L12:
bl __stack_chk_fail
.L15:
.align 2
.L14:
.word .LC4
.word .LC0
.word PATH_MAX
.word .LC1
.word S_IRWXU
.word errno
.word stderr
.word .LC3
.word .LC2
.size portable_option, .-portable_option
.comm stderr,4,4
.comm errno,4,4
.comm S_IRWXU,4,4
.comm PATH_MAX,4,4
.comm EXIT_FAILURE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_runtime.c_print_help.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.ascii "AppImage options:\n\n --appimage-extract [<pattern>] Extra"
.ascii "ct content from embedded filesystem image\n "
.ascii " If pattern is passed, only extract matching"
.ascii " files\n --appimage-help Print this help\n "
.ascii " --appimage-mount Mount embedded filesystem i"
.ascii "mage and print\n mount poin"
.ascii "t and wait for kill with Ctrl-C\n --appimage-offset "
.ascii " Print byte offset to start of embedded\n "
.ascii " filesystem image\n --appimage-portable"
.ascii "-home Create a portable home folder to use as $HOME\n"
.ascii " --appimage-portable-config Create a portable config f"
.ascii "older to use as\n $XDG_CONF"
.ascii "IG_HOME\n --appimage-signature Print digital sig"
.ascii "nature embedded in AppImage\n --appimage-updateinfo[rmation"
.ascii "] Print update info embedded in AppImage\n --appimage-vers"
.ascii "ion Print version of AppImageKit\n\nPortable ho"
.ascii "me:\n\n If you would like the application contained inside "
.ascii "this AppImage to store its\n data alongside this AppImage r"
.ascii "ather than in your home directory, then you can\n place a d"
.ascii "irectory named\n\n %s.home\n\n Or you can invoke this AppI"
.ascii "mage with the --appimage-"
.string "portable-home option,\n which will create this directory for you. As long as the directory exists\n and is neither moved nor renamed, the application contained inside this\n AppImage to store its data in this directory rather than in your home\n directory\n"
.text
.p2align 4
.globl print_help
.type print_help, @function
print_help:
.LFB0:
.cfi_startproc
endbr64
mov rdx, rdi
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC0[rip]
jmp fprintf@PLT
.cfi_endproc
.LFE0:
.size print_help, .-print_help
.globl stderr
.bss
.align 4
.type stderr, @object
.size stderr, 4
stderr:
.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_runtime.c_print_help.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "AppImage options:\012\012 --appimage-extract [<pat"
.ascii "tern>] Extract content from embedded filesystem im"
.ascii "age\012 If pattern"
.ascii " is passed, only extract matching files\012 --appi"
.ascii "mage-help Print this help\012 --ap"
.ascii "pimage-mount Mount embedded filesyst"
.ascii "em image and print\012 "
.ascii " mount point and wait for kill with Ctrl-C\012 "
.ascii " --appimage-offset Print byte offset "
.ascii "to start of embedded\012 "
.ascii " filesystem image\012 --appimage-portable-ho"
.ascii "me Create a portable home folder to use as $"
.ascii "HOME\012 --appimage-portable-config Create a "
.ascii "portable config folder to use as\012 "
.ascii " $XDG_CONFIG_HOME\012 --appimage"
.ascii "-signature Print digital signature embed"
.ascii "ded in AppImage\012 --appimage-updateinfo[rmation]"
.ascii " Print update info embedded in AppImage\012 --app"
.ascii "image-version Print version of AppImag"
.ascii "eKit\012\012Portable home:\012\012 If you would li"
.ascii "ke the application contained inside this AppImage t"
.ascii "o store its\012 data alongside this AppImage rathe"
.ascii "r than in your home directory, then you can\012 pl"
.ascii "ace a directory named\012\012 %s.home\012\012 Or "
.ascii "you can invoke this AppImage with the --appimage-po"
.ascii "rtable-home option,\012 which will create this dir"
.ascii "ectory for you. As long as the directory exists\012"
.ascii " and is neither moved nor renamed, the application"
.ascii " contained inside this\012 AppImage to store its d"
.ascii "ata in this directory rather than in your home\012 "
.ascii " directory\012\000"
.text
.align 2
.global print_help
.syntax unified
.arm
.fpu softvfp
.type print_help, %function
print_help:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
mov r2, r0
ldr r1, .L3+4
ldr r0, [r3]
b fprintf
.L4:
.align 2
.L3:
.word stderr
.word .LC0
.size print_help, .-print_help
.comm stderr,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_runtime.c_private_sqfs_stat.c"
.intel_syntax noprefix
.text
.p2align 4
.globl private_sqfs_stat
.type private_sqfs_stat, @function
private_sqfs_stat:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12, rdi
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rbp, rsi
xor esi, esi
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
mov rbx, rdx
mov edx, 56
mov rdi, rbx
sub rsp, 24
.cfi_def_cfa_offset 64
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
call memset@PLT
mov eax, DWORD PTR 32[rbp]
mov edi, DWORD PTR 12[rbp]
mov DWORD PTR 48[rbx], eax
mov eax, DWORD PTR 8[rbp]
mov DWORD PTR 28[rbx], edi
mov DWORD PTR 36[rbx], eax
mov DWORD PTR 40[rbx], eax
mov DWORD PTR 44[rbx], eax
call S_ISREG@PLT
test rax, rax
je .L2
mov edx, DWORD PTR 28[rbp]
test edx, edx
lea eax, 511[rdx]
mov DWORD PTR [rbx], edx
cmovns eax, edx
sar eax, 9
mov DWORD PTR 4[rbx], eax
.L3:
mov eax, DWORD PTR [r12]
mov r13, rsp
mov esi, DWORD PTR 4[rbp]
mov rdi, r12
mov rdx, r13
mov DWORD PTR 24[rbx], eax
call sqfs_id_get@PLT
test rax, rax
jne .L1
mov rax, QWORD PTR [rsp]
mov esi, DWORD PTR 0[rbp]
mov rdx, r13
mov rdi, r12
mov QWORD PTR 16[rbx], rax
call sqfs_id_get@PLT
mov rdx, QWORD PTR [rsp]
test rax, rax
cmove rax, QWORD PTR SQFS_OK[rip]
mov QWORD PTR 8[rbx], rdx
.L1:
mov rcx, QWORD PTR 8[rsp]
sub rcx, QWORD PTR fs:40
jne .L13
add rsp, 24
.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
.L2:
.cfi_restore_state
mov edi, DWORD PTR 28[rbx]
call S_ISBLK@PLT
test rax, rax
jne .L5
mov edi, DWORD PTR 28[rbx]
call S_ISCHR@PLT
test rax, rax
jne .L5
mov edi, DWORD PTR 28[rbx]
call S_ISLNK@PLT
test rax, rax
je .L3
mov eax, DWORD PTR 16[rbp]
mov DWORD PTR [rbx], eax
jmp .L3
.p2align 4,,10
.p2align 3
.L5:
mov esi, DWORD PTR 20[rbp]
mov edi, DWORD PTR 24[rbp]
call sqfs_makedev@PLT
mov DWORD PTR 32[rbx], eax
jmp .L3
.L13:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size private_sqfs_stat, .-private_sqfs_stat
.globl SQFS_OK
.bss
.align 8
.type SQFS_OK, @object
.size SQFS_OK, 8
SQFS_OK:
.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_runtime.c_private_sqfs_stat.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global private_sqfs_stat
.syntax unified
.arm
.fpu softvfp
.type private_sqfs_stat, %function
private_sqfs_stat:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r2
mov r5, r1
ldr r3, .L14
sub sp, sp, #8
mov r2, #44
mov r1, #0
mov r6, r0
mov r0, r4
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
bl memset
ldr r0, [r5, #12]
ldr r2, [r5, #32]
ldr r3, [r5, #8]
str r0, [r4, #20]
str r2, [r4, #40]
str r3, [r4, #28]
str r3, [r4, #32]
str r3, [r4, #36]
bl S_ISREG
cmp r0, #0
beq .L2
ldr r2, [r5, #28]
add r3, r2, #508
cmp r2, #0
add r3, r3, #3
movge r3, r2
asr r3, r3, #9
stm r4, {r2, r3}
.L3:
ldr r3, [r6]
mov r2, sp
mov r0, r6
ldr r1, [r5, #4]
str r3, [r4, #16]
bl sqfs_id_get
cmp r0, #0
bne .L1
ldr r3, [sp]
ldr r1, [r5]
mov r2, sp
str r3, [r4, #12]
mov r0, r6
bl sqfs_id_get
ldr r3, [sp]
cmp r0, #0
str r3, [r4, #8]
ldreq r3, .L14+4
ldreq r0, [r3]
.L1:
ldr r3, .L14
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L13
add sp, sp, #8
@ sp needed
pop {r4, r5, r6, pc}
.L2:
ldr r0, [r4, #20]
bl S_ISBLK
cmp r0, #0
bne .L5
ldr r0, [r4, #20]
bl S_ISCHR
cmp r0, #0
bne .L5
ldr r0, [r4, #20]
bl S_ISLNK
cmp r0, #0
ldrne r3, [r5, #16]
strne r3, [r4]
b .L3
.L5:
ldr r1, [r5, #20]
ldr r0, [r5, #24]
bl sqfs_makedev
str r0, [r4, #24]
b .L3
.L13:
bl __stack_chk_fail
.L15:
.align 2
.L14:
.word .LC0
.word SQFS_OK
.size private_sqfs_stat, .-private_sqfs_stat
.comm SQFS_OK,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_runtime.c_rm_recursive.c"
.intel_syntax noprefix
.text
.p2align 4
.globl rm_recursive
.type rm_recursive, @function
rm_recursive:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
xor edx, edx
mov ecx, DWORD PTR FTW_DEPTH[rip]
lea rsi, rm_recursive_callback[rip]
or ecx, DWORD PTR FTW_MOUNT[rip]
or ecx, DWORD PTR FTW_PHYS[rip]
call nftw@PLT
test eax, eax
sete al
add rsp, 8
.cfi_def_cfa_offset 8
movzx eax, al
ret
.cfi_endproc
.LFE0:
.size rm_recursive, .-rm_recursive
.globl rm_recursive_callback
.bss
.align 4
.type rm_recursive_callback, @object
.size rm_recursive_callback, 4
rm_recursive_callback:
.zero 4
.globl FTW_PHYS
.align 4
.type FTW_PHYS, @object
.size FTW_PHYS, 4
FTW_PHYS:
.zero 4
.globl FTW_MOUNT
.align 4
.type FTW_MOUNT, @object
.size FTW_MOUNT, 4
FTW_MOUNT:
.zero 4
.globl FTW_DEPTH
.align 4
.type FTW_DEPTH, @object
.size FTW_DEPTH, 4
FTW_DEPTH:
.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_runtime.c_rm_recursive.c"
.text
.align 2
.global rm_recursive
.syntax unified
.arm
.fpu softvfp
.type rm_recursive, %function
rm_recursive:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r2, .L4
ldr r3, .L4+4
ldr r1, .L4+8
ldr r2, [r2]
ldr r3, [r3]
ldr r1, [r1]
orr r3, r2, r3
orr r3, r3, r1
mov r2, #0
push {r4, lr}
ldr r1, .L4+12
bl nftw
clz r0, r0
lsr r0, r0, #5
pop {r4, pc}
.L5:
.align 2
.L4:
.word FTW_DEPTH
.word FTW_MOUNT
.word FTW_PHYS
.word rm_recursive_callback
.size rm_recursive, .-rm_recursive
.comm rm_recursive_callback,4,4
.comm FTW_PHYS,4,4
.comm FTW_MOUNT,4,4
.comm FTW_DEPTH,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_runtime.c_rm_recursive_callback.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%s: ftw error: %s\n"
.LC1:
.string "Failed to remove %s: %s\n"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC2:
.string "Failed to remove directory %s: %s\n"
.section .rodata.str1.1
.LC3:
.string "Unexpected fts_info\n"
.text
.p2align 4
.globl rm_recursive_callback
.type rm_recursive_callback, @function
rm_recursive_callback:
.LFB0:
.cfi_startproc
endbr64
add edx, -128
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
cmp edx, 6
ja .L2
lea rcx, .L4[rip]
mov r12, rdi
movsx rax, DWORD PTR [rcx+rdx*4]
add rax, rcx
notrack jmp rax
.section .rodata
.align 4
.align 4
.L4:
.long .L7-.L4
.long .L7-.L4
.long .L5-.L4
.long .L7-.L4
.long .L6-.L4
.long .L5-.L4
.long .L10-.L4
.text
.p2align 4,,10
.p2align 3
.L7:
call remove@PLT
test eax, eax
jne .L8
.L10:
xor eax, eax
pop r12
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov edi, DWORD PTR errno[rip]
call strerror@PLT
mov edi, DWORD PTR stderr[rip]
mov rdx, r12
lea rsi, .LC0[rip]
mov rcx, rax
xor eax, eax
call fprintf@PLT
mov eax, 1
.L1:
pop r12
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
call rmdir@PLT
test eax, eax
je .L10
mov edi, DWORD PTR errno[rip]
call strerror@PLT
mov edi, DWORD PTR stderr[rip]
mov rdx, r12
lea rsi, .LC2[rip]
mov rcx, rax
xor eax, eax
call fprintf@PLT
xor eax, eax
jmp .L1
.L2:
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC3[rip]
xor eax, eax
call fprintf@PLT
mov eax, 1
pop r12
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
mov edi, DWORD PTR errno[rip]
call strerror@PLT
mov edi, DWORD PTR stderr[rip]
mov rdx, r12
lea rsi, .LC1[rip]
mov rcx, rax
xor eax, eax
call fprintf@PLT
xor eax, eax
jmp .L1
.cfi_endproc
.LFE0:
.size rm_recursive_callback, .-rm_recursive_callback
.globl stderr
.bss
.align 4
.type stderr, @object
.size stderr, 4
stderr:
.zero 4
.globl errno
.align 4
.type errno, @object
.size errno, 4
errno:
.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_runtime.c_rm_recursive_callback.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s: ftw error: %s\012\000"
.align 2
.LC1:
.ascii "Failed to remove %s: %s\012\000"
.align 2
.LC2:
.ascii "Failed to remove directory %s: %s\012\000"
.align 2
.LC3:
.ascii "Unexpected fts_info\012\000"
.text
.align 2
.global rm_recursive_callback
.syntax unified
.arm
.fpu softvfp
.type rm_recursive_callback, %function
rm_recursive_callback:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
sub r3, r2, #128
push {r4, r5, r6, lr}
mov r4, r0
cmp r3, #6
ldrls pc, [pc, r3, asl #2]
b .L2
.L4:
.word .L7
.word .L7
.word .L5
.word .L7
.word .L6
.word .L5
.word .L10
.L7:
bl remove
cmp r0, #0
bne .L8
.L10:
mov r0, #0
pop {r4, r5, r6, pc}
.L5:
ldr r3, .L16
ldr r2, .L16+4
ldr r0, [r3]
ldr r5, [r2]
bl strerror
mov r2, r4
mov r3, r0
ldr r1, .L16+8
mov r0, r5
bl fprintf
mov r0, #1
pop {r4, r5, r6, pc}
.L6:
bl rmdir
cmp r0, #0
beq .L10
ldr r3, .L16
ldr r2, .L16+4
ldr r0, [r3]
ldr r5, [r2]
bl strerror
mov r2, r4
mov r3, r0
ldr r1, .L16+12
mov r0, r5
bl fprintf
mov r0, #0
pop {r4, r5, r6, pc}
.L8:
ldr r3, .L16
ldr r2, .L16+4
ldr r0, [r3]
ldr r5, [r2]
bl strerror
mov r2, r4
mov r3, r0
ldr r1, .L16+16
mov r0, r5
bl fprintf
mov r0, #0
pop {r4, r5, r6, pc}
.L2:
ldr r3, .L16+4
ldr r1, .L16+20
ldr r0, [r3]
bl fprintf
mov r0, #1
pop {r4, r5, r6, pc}
.L17:
.align 2
.L16:
.word errno
.word stderr
.word .LC0
.word .LC2
.word .LC1
.word .LC3
.size rm_recursive_callback, .-rm_recursive_callback
.comm stderr,4,4
.comm errno,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_runtime.c_startsWith.c"
.intel_syntax noprefix
.text
.p2align 4
.globl startsWith
.type startsWith, @function
startsWith:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12, rsi
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rbp, rdi
call strlen@PLT
mov rdi, r12
mov r13, rax
call strlen@PLT
mov r8, rax
xor eax, eax
cmp r13, r8
jbe .L7
pop rbp
.cfi_remember_state
.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
.L7:
.cfi_restore_state
mov rdx, r13
mov rsi, r12
mov rdi, rbp
call strncmp@PLT
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
test rax, rax
pop r13
.cfi_def_cfa_offset 8
sete al
movzx eax, al
ret
.cfi_endproc
.LFE0:
.size startsWith, .-startsWith
.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_runtime.c_startsWith.c"
.text
.align 2
.global startsWith
.syntax unified
.arm
.fpu softvfp
.type startsWith, %function
startsWith:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r1
mov r6, r0
bl strlen
mov r5, r0
mov r0, r4
bl strlen
cmp r5, r0
bhi .L3
mov r2, r5
mov r1, r4
mov r0, r6
bl strncmp
clz r0, r0
lsr r0, r0, #5
pop {r4, r5, r6, pc}
.L3:
mov r0, #0
pop {r4, r5, r6, pc}
.size startsWith, .-startsWith
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_runtime.c_write_pipe_thread.c"
.intel_syntax noprefix
.text
.p2align 4
.type write_pipe_thread, @function
write_pipe_thread:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov edx, 32
mov esi, 120
sub rsp, 48
.cfi_def_cfa_offset 64
mov rax, QWORD PTR fs:40
mov QWORD PTR 40[rsp], rax
xor eax, eax
mov rbx, rsp
mov rdi, rbx
call memset@PLT
.p2align 4,,10
.p2align 3
.L2:
mov rax, QWORD PTR keepalive_pipe[rip]
mov edx, 32
mov rsi, rbx
mov edi, DWORD PTR 4[rax]
call write@PLT
cmp eax, -1
jne .L2
mov esi, DWORD PTR SIGTERM[rip]
mov edi, DWORD PTR fuse_pid[rip]
call kill@PLT
mov rax, QWORD PTR 40[rsp]
sub rax, QWORD PTR fs:40
jne .L7
add rsp, 48
.cfi_remember_state
.cfi_def_cfa_offset 16
xor eax, eax
pop rbx
.cfi_def_cfa_offset 8
ret
.L7:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size write_pipe_thread, .-write_pipe_thread
.globl keepalive_pipe
.bss
.align 8
.type keepalive_pipe, @object
.size keepalive_pipe, 8
keepalive_pipe:
.zero 8
.globl fuse_pid
.align 4
.type fuse_pid, @object
.size fuse_pid, 4
fuse_pid:
.zero 4
.globl SIGTERM
.align 4
.type SIGTERM, @object
.size SIGTERM, 4
SIGTERM:
.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_runtime.c_write_pipe_thread.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type write_pipe_thread, %function
write_pipe_thread:
@ args = 0, pretend = 0, frame = 40
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r3, .L8
sub sp, sp, #40
mov r2, #32
mov r1, #120
add r0, sp, #4
ldr r3, [r3]
str r3, [sp, #36]
mov r3,#0
bl memset
ldr r4, .L8+4
.L2:
ldr r3, [r4]
mov r2, #32
ldr r0, [r3, #4]
add r1, sp, #4
bl write
cmn r0, #1
bne .L2
ldr r2, .L8+8
ldr r3, .L8+12
ldr r1, [r2]
ldr r0, [r3]
bl kill
ldr r3, .L8
ldr r2, [r3]
ldr r3, [sp, #36]
eors r2, r3, r2
mov r3, #0
bne .L7
mov r0, #0
add sp, sp, #40
@ sp needed
pop {r4, pc}
.L7:
bl __stack_chk_fail
.L9:
.align 2
.L8:
.word .LC0
.word keepalive_pipe
.word SIGTERM
.word fuse_pid
.size write_pipe_thread, .-write_pipe_thread
.comm keepalive_pipe,4,4
.comm fuse_pid,4,4
.comm SIGTERM,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_validate.c_main.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "Usage: %s Signed.AppImage\n"
.LC1:
.string ".sha256_sig"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC2:
.string "Failed to read .sha256_sig section"
.align 8
.LC3:
.string "Skipping ELF section %s with offset %lu, length %lu\n"
.align 8
.LC4:
.string "ELF section %s not found, is the file signed?\n"
.section .rodata.str1.1
.LC5:
.string ".digest"
.LC6:
.string "/tmp/"
.LC7:
.string ".sig"
.LC8:
.string "r"
.LC9:
.string "w"
.section .rodata.str1.8
.align 8
.LC10:
.string "Not able to open the signature file for writing, aborting"
.section .rodata.str1.1
.LC11:
.string "%c"
.section .rodata.str1.8
.align 8
.LC12:
.string "offset+length cannot be less than the file size\n"
.section .rodata.str1.1
.LC13:
.string "Error opening digestfile"
.LC14:
.string "%s"
.LC15:
.string "Error writing digestfile"
.LC16:
.string "gpg2"
.LC17:
.string "%s --verify %s %s"
.LC18:
.string "%s\n"
.LC19:
.string "gpg2 command did not succeed"
.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
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
mov rbx, rsi
sub rsp, 1096
.cfi_def_cfa_offset 1152
mov rax, QWORD PTR fs:40
mov QWORD PTR 1080[rsp], rax
xor eax, eax
cmp edi, 1
jle .L20
.L2:
mov r14, QWORD PTR 8[rbx]
lea rcx, 40[rsp]
lea rdx, 32[rsp]
mov QWORD PTR 32[rsp], 0
mov QWORD PTR 40[rsp], 0
lea rsi, .LC1[rip]
mov rdi, r14
call appimage_get_elf_section_offset_and_length@PLT
test eax, eax
je .L21
.L3:
mov r8, QWORD PTR 40[rsp]
mov rdx, QWORD PTR segment_name[rip]
mov edi, DWORD PTR stderr[rip]
test r8, r8
je .L4
mov rcx, QWORD PTR 32[rsp]
lea rsi, .LC3[rip]
xor eax, eax
call fprintf@PLT
.L5:
xor edx, edx
lea rsi, .LC5[rip]
mov rdi, r14
call g_strconcat@PLT
mov rdi, rax
call basename@PLT
xor edx, edx
lea rdi, .LC6[rip]
mov rsi, rax
call g_strconcat@PLT
xor edx, edx
lea rsi, .LC7[rip]
mov rdi, r14
mov r13, rax
call g_strconcat@PLT
mov rdi, rax
call basename@PLT
xor edx, edx
lea rdi, .LC6[rip]
mov rsi, rax
call g_strconcat@PLT
mov rdi, QWORD PTR 40[rsp]
mov rbx, rax
mov QWORD PTR [rsp], rax
call malloc@PLT
lea rsi, .LC8[rip]
mov rdi, r14
mov rbp, rax
call fopen@PLT
mov edx, DWORD PTR SEEK_SET[rip]
mov rsi, QWORD PTR 32[rsp]
mov rdi, rax
mov r12, rax
call fseek@PLT
mov rsi, QWORD PTR 40[rsp]
mov rcx, r12
mov rdi, rbp
mov edx, 4
call fread@PLT
mov rdi, r12
call fclose@PLT
lea rsi, .LC9[rip]
mov rdi, rbx
call fopen@PLT
mov QWORD PTR 8[rsp], rax
test rax, rax
je .L22
.L6:
xor r15d, r15d
cmp QWORD PTR 40[rsp], 0
mov r12d, DWORD PTR 8[rsp]
lea rbx, .LC11[rip]
je .L11
.p2align 4,,10
.p2align 3
.L10:
mov edx, DWORD PTR 0[rbp+r15*4]
mov rsi, rbx
mov edi, r12d
xor eax, eax
add r15, 1
call fprintf@PLT
cmp QWORD PTR 40[rsp], r15
ja .L10
.L11:
mov rdi, QWORD PTR 8[rsp]
call fclose@PLT
mov rdi, rbp
call free@PLT
lea rsi, 28[rsp]
mov rdi, r14
call stat@PLT
mov rdx, QWORD PTR 32[rsp]
mov rcx, QWORD PTR 40[rsp]
movsx rsi, DWORD PTR 28[rsp]
lea rax, [rdx+rcx]
cmp rsi, rax
jb .L23
.L9:
lea rsi, buffer.0[rip]
mov rdi, r14
call sha256_file@PLT
lea rdi, buffer.0[rip]
call puts@PLT
lea rsi, .LC9[rip]
mov rdi, r13
call fopen@PLT
mov rbp, rax
test rax, rax
je .L24
.L12:
lea rsi, .LC14[rip]
lea rdx, buffer.0[rip]
mov edi, ebp
xor eax, eax
call fprintf@PLT
mov rdi, rbp
call fclose@PLT
mov esi, DWORD PTR G_FILE_TEST_IS_REGULAR[rip]
mov rdi, r13
call g_file_test@PLT
test eax, eax
je .L25
.L13:
lea rdi, .LC16[rip]
lea rbp, 48[rsp]
call g_find_program_in_path@PLT
mov rcx, QWORD PTR [rsp]
mov r8, r13
mov rdi, rbp
mov rdx, rax
lea rsi, .LC17[rip]
call sprintf@PLT
mov edi, DWORD PTR stderr[rip]
mov rdx, rbp
xor eax, eax
lea rsi, .LC18[rip]
call fprintf@PLT
mov rdi, rbp
lea rsi, .LC8[rip]
call popen@PLT
mov rbp, rax
test rax, rax
je .L26
.L14:
mov rdi, rbp
call pclose@PLT
mov edi, eax
call WEXITSTATUS@PLT
mov rdi, r13
mov r12d, eax
call unlink@PLT
mov rdi, QWORD PTR [rsp]
call unlink@PLT
mov rax, QWORD PTR 1080[rsp]
sub rax, QWORD PTR fs:40
jne .L27
add rsp, 1096
.cfi_remember_state
.cfi_def_cfa_offset 56
mov eax, r12d
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
.L4:
.cfi_restore_state
lea rsi, .LC4[rip]
xor eax, eax
call fprintf@PLT
mov edi, 1
call exit@PLT
jmp .L5
.L21:
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC2[rip]
call fprintf@PLT
mov edi, 1
call exit@PLT
jmp .L3
.L25:
lea rdi, .LC15[rip]
call puts@PLT
mov edi, 1
call exit@PLT
jmp .L13
.L23:
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC12[rip]
xor eax, eax
call fprintf@PLT
mov edi, 1
call exit@PLT
mov rcx, QWORD PTR 40[rsp]
mov rdx, QWORD PTR 32[rsp]
jmp .L9
.L20:
mov rdx, QWORD PTR [rsi]
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC0[rip]
call fprintf@PLT
mov edi, 1
call exit@PLT
jmp .L2
.L22:
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC10[rip]
call fprintf@PLT
mov edi, 1
call exit@PLT
jmp .L6
.L26:
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC19[rip]
xor eax, eax
call fprintf@PLT
jmp .L14
.L24:
lea rdi, .LC13[rip]
call puts@PLT
mov edi, 1
call exit@PLT
jmp .L12
.L27:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size main, .-main
.local buffer.0
.comm buffer.0,65,32
.globl stderr
.bss
.align 4
.type stderr, @object
.size stderr, 4
stderr:
.zero 4
.globl segment_name
.align 8
.type segment_name, @object
.size segment_name, 8
segment_name:
.zero 8
.globl SEEK_SET
.align 4
.type SEEK_SET, @object
.size SEEK_SET, 4
SEEK_SET:
.zero 4
.globl G_FILE_TEST_IS_REGULAR
.align 4
.type G_FILE_TEST_IS_REGULAR, @object
.size G_FILE_TEST_IS_REGULAR, 4
G_FILE_TEST_IS_REGULAR:
.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_validate.c_main.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "Usage: %s Signed.AppImage\012\000"
.align 2
.LC1:
.ascii ".sha256_sig\000"
.align 2
.LC2:
.ascii "Failed to read .sha256_sig section\000"
.align 2
.LC3:
.ascii "Skipping ELF section %s with offset %lu, length %lu"
.ascii "\012\000"
.align 2
.LC4:
.ascii "ELF section %s not found, is the file signed?\012\000"
.align 2
.LC5:
.ascii ".digest\000"
.align 2
.LC6:
.ascii "/tmp/\000"
.align 2
.LC7:
.ascii ".sig\000"
.align 2
.LC8:
.ascii "r\000"
.align 2
.LC9:
.ascii "w\000"
.align 2
.LC10:
.ascii "Not able to open the signature file for writing, ab"
.ascii "orting\000"
.align 2
.LC11:
.ascii "%c\000"
.align 2
.LC12:
.ascii "offset+length cannot be less than the file size\012"
.ascii "\000"
.align 2
.LC13:
.ascii "Error opening digestfile\000"
.align 2
.LC14:
.ascii "%s\000"
.align 2
.LC15:
.ascii "Error writing digestfile\000"
.align 2
.LC16:
.ascii "gpg2\000"
.align 2
.LC17:
.ascii "%s --verify %s %s\000"
.align 2
.LC18:
.ascii "%s\012\000"
.align 2
.LC19:
.ascii "gpg2 command did not succeed\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC20:
.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 = 1048
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
ldr r3, .L28
sub sp, sp, #1056
sub sp, sp, #4
ldr r3, [r3]
str r3, [sp, #1052]
mov r3,#0
ldr r3, .L28+4
cmp r0, #1
mov r4, r1
str r3, [sp, #12]
ble .L18
.L2:
mov ip, #0
ldr r8, [r4, #4]
ldr r1, .L28+8
mov r0, r8
add r3, sp, #20
add r2, sp, #16
str ip, [sp, #16]
str ip, [sp, #20]
bl appimage_get_elf_section_offset_and_length
cmp r0, #0
beq .L21
.L3:
ldr r3, [sp, #20]
ldr r2, .L28+12
ldr r1, [sp, #12]
cmp r3, #0
ldr r2, [r2]
ldr r0, [r1]
beq .L4
str r3, [sp]
ldr r1, .L28+16
ldr r3, [sp, #16]
bl fprintf
.L5:
mov r2, #0
ldr r1, .L28+20
mov r0, r8
bl g_strconcat
bl basename
mov r2, #0
mov r1, r0
ldr r0, .L28+24
bl g_strconcat
mov r2, #0
ldr r1, .L28+28
mov r7, r0
mov r0, r8
bl g_strconcat
bl basename
mov r2, #0
mov r1, r0
ldr r0, .L28+24
bl g_strconcat
mov r9, r0
ldr r0, [sp, #20]
bl malloc
ldr r1, .L28+32
mov r10, r0
mov r0, r8
bl fopen
mov r4, r0
ldr r3, .L28+36
ldr r1, [sp, #16]
ldr r2, [r3]
bl fseek
mov r3, r4
mov r2, #4
ldr r1, [sp, #20]
mov r0, r10
bl fread
mov r0, r4
bl fclose
mov r0, r9
ldr r1, .L28+40
bl fopen
subs r6, r0, #0
beq .L22
.L6:
ldr r3, [sp, #20]
cmp r3, #0
beq .L11
mov r4, #0
ldr fp, .L28+44
sub r5, r10, #4
.L10:
mov r1, fp
mov r0, r6
ldr r2, [r5, #4]!
bl fprintf
ldr r3, [sp, #20]
add r4, r4, #1
cmp r3, r4
bhi .L10
.L11:
mov r0, r6
bl fclose
mov r0, r10
bl free
add r1, sp, #24
mov r0, r8
bl stat
ldr r2, [sp, #16]
ldr r3, [sp, #20]
ldr r1, [sp, #24]
add r0, r2, r3
cmp r0, r1
bhi .L23
.L9:
ldr r1, .L28+48
mov r0, r8
bl sha256_file
ldr r0, .L28+48
bl puts
mov r0, r7
ldr r1, .L28+40
bl fopen
subs r4, r0, #0
beq .L24
.L12:
ldr r2, .L28+48
ldr r1, .L28+52
mov r0, r4
bl fprintf
mov r0, r4
bl fclose
ldr r3, .L28+56
mov r0, r7
ldr r1, [r3]
bl g_file_test
cmp r0, #0
beq .L25
.L13:
ldr r0, .L28+60
bl g_find_program_in_path
add r3, sp, #28
mov r2, r0
ldr r1, .L28+64
mov r0, r3
str r3, [sp, #8]
str r7, [sp]
mov r3, r9
bl sprintf
ldr r3, [sp, #12]
ldr r2, [sp, #8]
ldr r1, .L28+68
ldr r0, [r3]
bl fprintf
ldr r0, [sp, #8]
ldr r1, .L28+32
bl popen
subs r4, r0, #0
beq .L26
.L14:
mov r0, r4
bl pclose
bl WEXITSTATUS
mov r4, r0
mov r0, r7
bl unlink
mov r0, r9
bl unlink
ldr r3, .L28
ldr r2, [r3]
ldr r3, [sp, #1052]
eors r2, r3, r2
mov r3, #0
bne .L27
mov r0, r4
add sp, sp, #1056
add sp, sp, #4
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
ldr r1, .L28+72
bl fprintf
mov r0, #1
bl exit
b .L5
.L21:
ldr r3, [sp, #12]
ldr r1, .L28+76
ldr r0, [r3]
bl fprintf
mov r0, #1
bl exit
b .L3
.L25:
ldr r0, .L28+80
bl puts
mov r0, #1
bl exit
b .L13
.L23:
ldr r3, [sp, #12]
ldr r1, .L28+84
ldr r0, [r3]
bl fprintf
mov r0, #1
bl exit
ldr r2, [sp, #16]
ldr r3, [sp, #20]
b .L9
.L18:
ldr r2, [r1]
ldr r0, [r3]
ldr r1, .L28+88
bl fprintf
mov r0, #1
bl exit
b .L2
.L22:
ldr r3, [sp, #12]
ldr r1, .L28+92
ldr r0, [r3]
bl fprintf
mov r0, #1
bl exit
b .L6
.L26:
ldr r3, [sp, #12]
ldr r1, .L28+96
ldr r0, [r3]
bl fprintf
b .L14
.L24:
ldr r0, .L28+100
bl puts
mov r0, #1
bl exit
b .L12
.L27:
bl __stack_chk_fail
.L29:
.align 2
.L28:
.word .LC20
.word stderr
.word .LC1
.word segment_name
.word .LC3
.word .LC5
.word .LC6
.word .LC7
.word .LC8
.word SEEK_SET
.word .LC9
.word .LC11
.word .LANCHOR0
.word .LC14
.word G_FILE_TEST_IS_REGULAR
.word .LC16
.word .LC17
.word .LC18
.word .LC4
.word .LC2
.word .LC15
.word .LC12
.word .LC0
.word .LC10
.word .LC19
.word .LC13
.size main, .-main
.comm stderr,4,4
.comm segment_name,4,4
.comm SEEK_SET,4,4
.comm G_FILE_TEST_IS_REGULAR,4,4
.bss
.align 2
.set .LANCHOR0,. + 0
.type buffer.4290, %object
.size buffer.4290, 65
buffer.4290:
.space 65
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_validate.c_sha256_file.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "rb"
.section .rodata
.LC1:
.string ""
.string ""
.section .rodata.str1.1
.LC2:
.string "%02x"
.text
.p2align 4
.globl sha256_file
.type sha256_file, @function
sha256_file:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
push r15
push r14
.cfi_offset 15, -24
.cfi_offset 14, -32
mov r14d, 1
push r13
push r12
push rbx
sub rsp, 40
.cfi_offset 13, -40
.cfi_offset 12, -48
.cfi_offset 3, -56
mov QWORD PTR -80[rbp], rsi
lea rsi, .LC0[rip]
mov DWORD PTR -72[rbp], edx
mov DWORD PTR -68[rbp], ecx
mov rax, QWORD PTR fs:40
mov QWORD PTR -56[rbp], rax
xor eax, eax
call fopen@PLT
test rax, rax
je .L1
mov r12, rax
movsx rax, DWORD PTR SHA256_DIGEST_LENGTH[rip]
mov rcx, rsp
lea rax, 15[0+rax*4]
mov rdx, rax
and rax, -4096
sub rcx, rax
and rdx, -16
cmp rsp, rcx
je .L4
.L28:
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
cmp rsp, rcx
jne .L28
.L4:
and edx, 4095
sub rsp, rdx
test rdx, rdx
jne .L29
.L5:
lea r13, -60[rbp]
mov r15, rsp
mov rdi, r13
call SHA256_Init@PLT
mov edi, 1048576
call malloc@PLT
mov rbx, rax
test rax, rax
je .L30
xor r14d, r14d
cmp DWORD PTR -72[rbp], 1048576
mov edx, 1048576
jg .L7
jmp .L31
.p2align 4,,10
.p2align 3
.L9:
xor eax, eax
mov rsi, rbx
mov rdi, r13
add r14d, edx
call SHA256_Update@PLT
mov edx, DWORD PTR -72[rbp]
mov eax, 1048576
sub edx, r14d
cmp edx, 1048576
cmovg edx, eax
.L7:
mov rcx, r12
mov esi, 1
mov rdi, rbx
call fread@PLT
mov edx, eax
test eax, eax
jne .L9
.L8:
mov r14d, DWORD PTR -68[rbp]
mov esi, DWORD PTR -72[rbp]
mov rdi, r12
mov edx, DWORD PTR SEEK_SET[rip]
add esi, r14d
call fseek@PLT
test r14d, r14d
jle .L12
xor r14d, r14d
.p2align 4,,10
.p2align 3
.L11:
mov edx, 1
mov rdi, r13
xor eax, eax
add r14d, 1
lea rsi, .LC1[rip]
call SHA256_Update@PLT
cmp DWORD PTR -68[rbp], r14d
jne .L11
jmp .L12
.p2align 4,,10
.p2align 3
.L13:
mov edx, r14d
mov rsi, rbx
mov rdi, r13
xor eax, eax
call SHA256_Update@PLT
.L12:
mov rcx, r12
mov edx, 1048576
mov esi, 1
mov rdi, rbx
call fread@PLT
mov r14d, eax
test eax, eax
jne .L13
mov rsi, r13
mov rdi, r15
call SHA256_Final@PLT
mov eax, DWORD PTR SHA256_DIGEST_LENGTH[rip]
test eax, eax
jle .L14
mov rbx, QWORD PTR -80[rbp]
xor r13d, r13d
.p2align 4,,10
.p2align 3
.L15:
mov edx, DWORD PTR [r15+r13*4]
mov rdi, rbx
add r13, 1
add rbx, 2
lea rsi, .LC2[rip]
call sprintf@PLT
cmp DWORD PTR SHA256_DIGEST_LENGTH[rip], r13d
jg .L15
.L14:
mov rax, QWORD PTR -80[rbp]
mov rdi, r12
mov BYTE PTR 64[rax], 0
call fclose@PLT
.L1:
mov rax, QWORD PTR -56[rbp]
sub rax, QWORD PTR fs:40
jne .L32
lea rsp, -40[rbp]
mov eax, r14d
pop rbx
pop r12
pop r13
pop r14
pop r15
pop rbp
.cfi_remember_state
.cfi_def_cfa 7, 8
ret
.p2align 4,,10
.p2align 3
.L31:
.cfi_restore_state
mov edx, DWORD PTR -72[rbp]
mov rcx, r12
mov esi, 1
mov rdi, rax
call fread@PLT
mov rsi, rbx
mov rdi, r13
mov edx, eax
xor eax, eax
call SHA256_Update@PLT
jmp .L8
.p2align 4,,10
.p2align 3
.L29:
or QWORD PTR -8[rsp+rdx], 0
jmp .L5
.L30:
mov rdi, r12
call fclose@PLT
mov r14d, DWORD PTR ENOMEM[rip]
jmp .L1
.L32:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size sha256_file, .-sha256_file
.globl SHA256_DIGEST_LENGTH
.bss
.align 4
.type SHA256_DIGEST_LENGTH, @object
.size SHA256_DIGEST_LENGTH, 4
SHA256_DIGEST_LENGTH:
.zero 4
.globl SEEK_SET
.align 4
.type SEEK_SET, @object
.size SEEK_SET, 4
SEEK_SET:
.zero 4
.globl ENOMEM
.align 4
.type ENOMEM, @object
.size ENOMEM, 4
ENOMEM:
.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_validate.c_sha256_file.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "rb\000"
.align 2
.LC2:
.ascii "%02x\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC3:
.word __stack_chk_guard
.text
.align 2
.global sha256_file
.syntax unified
.arm
.fpu softvfp
.type sha256_file, %function
sha256_file:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
mov ip, r1
add fp, sp, #32
sub sp, sp, #20
mov r8, r3
ldr r3, .L22
str ip, [fp, #-48]
ldr r1, .L22+4
mov r9, r2
ldr r3, [r3]
str r3, [fp, #-40]
mov r3,#0
bl fopen
subs r5, r0, #0
moveq r7, #1
beq .L1
ldr r10, .L22+8
sub r0, fp, #44
ldr r3, [r10]
lsl r3, r3, #2
add r3, r3, #7
bic r3, r3, #7
sub sp, sp, r3
bl SHA256_Init
mov r0, #1048576
bl malloc
subs r4, r0, #0
mov r6, sp
beq .L20
cmp r9, #1048576
movgt r2, #1048576
movgt r7, #0
bgt .L4
mov r2, r9
mov r1, #1
mov r3, r5
bl fread
mov r1, r4
mov r2, r0
sub r0, fp, #44
bl SHA256_Update
.L5:
ldr r3, .L22+12
mov r0, r5
ldr r2, [r3]
add r1, r9, r8
bl fseek
cmp r8, #0
ble .L9
mov r7, #0
ldr r9, .L22+16
.L8:
mov r2, #1
mov r1, r9
add r7, r7, #1
sub r0, fp, #44
bl SHA256_Update
cmp r8, r7
bne .L8
b .L9
.L6:
add r7, r7, r2
mov r1, r4
sub r0, fp, #44
bl SHA256_Update
sub r2, r9, r7
cmp r2, #1048576
movge r2, #1048576
.L4:
mov r3, r5
mov r1, #1
mov r0, r4
bl fread
subs r2, r0, #0
bne .L6
b .L5
.L10:
mov r2, r7
mov r1, r4
sub r0, fp, #44
bl SHA256_Update
.L9:
mov r3, r5
mov r2, #1048576
mov r1, #1
mov r0, r4
bl fread
subs r7, r0, #0
bne .L10
mov r0, r6
sub r1, fp, #44
bl SHA256_Final
ldr r3, [r10]
cmp r3, #0
ble .L11
mov r4, r7
ldr r8, [fp, #-48]
ldr r9, .L22+20
sub r6, r6, #4
.L12:
mov r0, r8
mov r1, r9
ldr r2, [r6, #4]!
bl sprintf
ldr r3, [r10]
add r4, r4, #1
cmp r3, r4
add r8, r8, #2
bgt .L12
.L11:
mov r3, #0
ldr r2, [fp, #-48]
mov r0, r5
strb r3, [r2, #64]
bl fclose
.L1:
ldr r3, .L22
ldr r2, [r3]
ldr r3, [fp, #-40]
eors r2, r3, r2
mov r3, #0
bne .L21
mov r0, r7
sub sp, fp, #32
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L21:
bl __stack_chk_fail
.L20:
mov r0, r5
bl fclose
ldr r3, .L22+24
ldr r7, [r3]
b .L1
.L23:
.align 2
.L22:
.word .LC3
.word .LC0
.word SHA256_DIGEST_LENGTH
.word SEEK_SET
.word .LANCHOR0
.word .LC2
.word ENOMEM
.size sha256_file, .-sha256_file
.comm SHA256_DIGEST_LENGTH,4,4
.comm SEEK_SET,4,4
.comm ENOMEM,4,4
.section .rodata
.align 2
.set .LANCHOR0,. + 0
.LC1:
.ascii "\000\000"
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_eboot.c_copy_raw.c"
.intel_syntax noprefix
.text
.p2align 4
.globl copy_raw
.type copy_raw, @function
copy_raw:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov ecx, edi
or ecx, esi
mov rbp, rsp
.cfi_def_cfa_register 6
push r15
push r14
push r13
push r12
push rbx
sub rsp, 40
.cfi_offset 15, -24
.cfi_offset 14, -32
.cfi_offset 13, -40
.cfi_offset 12, -48
.cfi_offset 3, -56
mov rax, QWORD PTR fs:40
mov QWORD PTR -56[rbp], rax
xor eax, eax
and ecx, 1
mov eax, 1
je .L20
.L1:
mov rcx, QWORD PTR -56[rbp]
sub rcx, QWORD PTR fs:40
jne .L21
lea rsp, -40[rbp]
pop rbx
pop r12
pop r13
pop r14
pop r15
pop rbp
.cfi_remember_state
.cfi_def_cfa 7, 8
ret
.p2align 4,,10
.p2align 3
.L20:
.cfi_restore_state
movsx rax, DWORD PTR FLASH_SECTOR_SIZE[rip]
mov r12d, esi
mov rsi, rsp
mov rbx, rax
lea rax, 15[0+rax*4]
mov rcx, rax
and rax, -4096
sub rsi, rax
and rcx, -16
cmp rsp, rsi
je .L4
.L22:
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
cmp rsp, rsi
jne .L22
.L4:
and ecx, 4095
sub rsp, rcx
test rcx, rcx
je .L5
or QWORD PTR -8[rsp+rcx], 0
.L5:
mov eax, ebx
sub edi, r12d
lea r13d, -1[rbx+rdx]
mov r15, rsp
neg eax
mov DWORD PTR -68[rbp], edi
and r13d, eax
jne .L6
jmp .L7
.p2align 4,,10
.p2align 3
.L23:
mov edx, ebx
mov rsi, r15
mov edi, r14d
call SPIRead@PLT
test rax, rax
jne .L11
mov edx, ebx
mov rsi, r15
mov edi, r12d
call SPIWrite@PLT
test rax, rax
jne .L12
add r12d, ebx
sub r13d, ebx
je .L7
.L6:
mov eax, DWORD PTR -68[rbp]
lea r14d, [rax+r12]
mov eax, r12d
cdq
idiv ebx
mov edi, eax
call SPIEraseSector@PLT
test rax, rax
je .L23
mov eax, 2
jmp .L1
.p2align 4,,10
.p2align 3
.L7:
xor eax, eax
jmp .L1
.p2align 4,,10
.p2align 3
.L11:
mov eax, 3
jmp .L1
.p2align 4,,10
.p2align 3
.L12:
mov eax, 4
jmp .L1
.L21:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size copy_raw, .-copy_raw
.globl FLASH_SECTOR_SIZE
.bss
.align 4
.type FLASH_SECTOR_SIZE, @object
.size FLASH_SECTOR_SIZE, 4
FLASH_SECTOR_SIZE:
.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_eboot.c_copy_raw.c"
.text
.global __aeabi_idiv
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global copy_raw
.syntax unified
.arm
.fpu softvfp
.type copy_raw, %function
copy_raw:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, fp, lr}
add fp, sp, #24
sub sp, sp, #12
orr r3, r0, r1
tst r3, #1
ldr r3, .L17
movne r0, #1
ldr r3, [r3]
str r3, [fp, #-32]
mov r3,#0
beq .L14
.L1:
ldr r3, .L17
ldr r2, [r3]
ldr r3, [fp, #-32]
eors r2, r3, r2
mov r3, #0
bne .L15
sub sp, fp, #24
@ sp needed
pop {r4, r5, r6, r7, r8, fp, pc}
.L14:
ldr r3, .L17+4
ldr r4, [r3]
lsl r3, r4, #2
add r2, r4, r2
add r3, r3, #7
sub r6, r2, #1
bic r3, r3, #7
rsb r2, r4, #0
sub sp, sp, r3
ands r6, r6, r2
mov r8, sp
beq .L4
mov r5, r1
sub r7, r0, r1
b .L3
.L16:
mov r2, r4
mov r1, r8
bl SPIRead
cmp r0, #0
bne .L8
mov r2, r4
mov r1, r8
mov r0, r5
bl SPIWrite
cmp r0, #0
bne .L9
subs r6, r6, r4
add r5, r5, r4
beq .L4
.L3:
mov r1, r4
mov r0, r5
bl __aeabi_idiv
bl SPIEraseSector
cmp r0, #0
add r0, r7, r5
beq .L16
mov r0, #2
b .L1
.L4:
mov r0, #0
b .L1
.L8:
mov r0, #3
b .L1
.L9:
mov r0, #4
b .L1
.L15:
bl __stack_chk_fail
.L18:
.align 2
.L17:
.word .LC0
.word FLASH_SECTOR_SIZE
.size copy_raw, .-copy_raw
.comm FLASH_SECTOR_SIZE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_eboot.c_main.c"
.intel_syntax noprefix
.text
.section .text.startup,"ax",@progbits
.p2align 4
.globl main
.type main, @function
main:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
xor edi, edi
sub rsp, 32
.cfi_def_cfa_offset 48
mov rax, QWORD PTR fs:40
mov QWORD PTR 24[rsp], rax
xor eax, eax
call print_version@PLT
mov rdi, rsp
call eboot_command_read@PLT
test rax, rax
jne .L2
call eboot_command_clear@PLT
mov edi, 64
call ets_putc@PLT
.L3:
mov rax, QWORD PTR [rsp]
cmp rax, QWORD PTR ACTION_COPY_RAW[rip]
je .L12
.L4:
cmp QWORD PTR ACTION_LOAD_APP[rip], rax
je .L13
.L8:
jmp .L8
.L2:
mov rax, QWORD PTR ACTION_LOAD_APP[rip]
mov edi, 126
mov QWORD PTR [rsp], rax
mov rax, QWORD PTR 8[rsp]
mov QWORD PTR [rax], 0
call ets_putc@PLT
jmp .L3
.L13:
mov edi, 108
call ets_putc@PLT
mov edi, 100
call ets_putc@PLT
mov edi, 10
call ets_putc@PLT
mov rax, QWORD PTR 8[rsp]
mov rdi, QWORD PTR [rax]
call load_app_from_flash_raw@PLT
mov edi, 101
mov ebx, eax
call ets_putc@PLT
mov edi, 58
call ets_putc@PLT
lea edi, 48[rbx]
movsx edi, dil
call ets_putc@PLT
mov edi, 10
call ets_putc@PLT
jmp .L8
.L12:
mov edi, 99
call ets_putc@PLT
mov edi, 112
call ets_putc@PLT
mov edi, 58
call ets_putc@PLT
xor eax, eax
call ets_wdt_disable@PLT
mov rax, QWORD PTR 8[rsp]
mov rdx, QWORD PTR 16[rax]
mov rsi, QWORD PTR 8[rax]
mov rdi, QWORD PTR [rax]
call copy_raw@PLT
mov ebx, eax
xor eax, eax
call ets_wdt_enable@PLT
lea edi, 48[rbx]
movsx edi, dil
call ets_putc@PLT
mov edi, 10
call ets_putc@PLT
test ebx, ebx
jne .L10
mov rax, QWORD PTR ACTION_LOAD_APP[rip]
mov QWORD PTR [rsp], rax
mov rax, QWORD PTR 8[rsp]
mov rdx, QWORD PTR 8[rax]
mov QWORD PTR [rax], rdx
.L10:
mov rax, QWORD PTR [rsp]
jmp .L4
.cfi_endproc
.LFE0:
.size main, .-main
.globl SWRST
.bss
.align 4
.type SWRST, @object
.size SWRST, 4
SWRST:
.zero 4
.globl ACTION_LOAD_APP
.align 8
.type ACTION_LOAD_APP, @object
.size ACTION_LOAD_APP, 8
ACTION_LOAD_APP:
.zero 8
.globl ACTION_COPY_RAW
.align 8
.type ACTION_COPY_RAW, @object
.size ACTION_COPY_RAW, 8
ACTION_COPY_RAW:
.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_eboot.c_main.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.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 = 16
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, lr}
ldr r3, .L14
sub sp, sp, #20
mov r0, #0
ldr r3, [r3]
str r3, [sp, #12]
mov r3,#0
bl print_version
add r0, sp, #4
bl eboot_command_read
cmp r0, #0
bne .L2
bl eboot_command_clear
mov r0, #64
bl ets_putc
ldr r4, .L14+4
.L3:
ldr r2, .L14+8
ldr r3, [sp, #4]
ldr r2, [r2]
cmp r3, r2
beq .L12
.L4:
ldr r2, [r4]
cmp r2, r3
beq .L13
.L8:
b .L8
.L2:
mov r2, #0
ldr r4, .L14+4
ldr r3, [sp, #8]
ldr r1, [r4]
mov r0, #126
str r1, [sp, #4]
str r2, [r3]
bl ets_putc
b .L3
.L12:
mov r0, #99
bl ets_putc
mov r0, #112
bl ets_putc
mov r0, #58
bl ets_putc
bl ets_wdt_disable
ldr r3, [sp, #8]
ldm r3, {r0, r1, r2}
bl copy_raw
mov r5, r0
bl ets_wdt_enable
add r0, r5, #48
and r0, r0, #255
bl ets_putc
mov r0, #10
bl ets_putc
cmp r5, #0
ldreq r3, [sp, #8]
ldreq r1, [r4]
ldreq r2, [r3, #4]
streq r1, [sp, #4]
streq r2, [r3]
ldr r3, [sp, #4]
b .L4
.L13:
mov r0, #108
bl ets_putc
mov r0, #100
bl ets_putc
mov r0, #10
bl ets_putc
ldr r3, [sp, #8]
ldr r0, [r3]
bl load_app_from_flash_raw
mov r4, r0
mov r0, #101
bl ets_putc
mov r0, #58
bl ets_putc
add r0, r4, #48
and r0, r0, #255
bl ets_putc
mov r0, #10
bl ets_putc
b .L8
.L15:
.align 2
.L14:
.word .LC0
.word ACTION_LOAD_APP
.word ACTION_COPY_RAW
.size main, .-main
.comm SWRST,4,4
.comm ACTION_LOAD_APP,4,4
.comm ACTION_COPY_RAW,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_eboot.c_print_version.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "v%08x\n"
.string ""
.string ""
.text
.p2align 4
.globl print_version
.type print_version, @function
print_version:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 56
.cfi_def_cfa_offset 64
add rdi, 8
mov edx, 8
mov rax, QWORD PTR fs:40
mov QWORD PTR 40[rsp], rax
xor eax, eax
lea rsi, 8[rsp]
call SPIRead@PLT
mov r8, rax
mov eax, 1
test r8, r8
jne .L1
movabs rax, 11511455032694
mov rsi, QWORD PTR 8[rsp]
lea rdi, 16[rsp]
mov QWORD PTR 16[rsp], rax
mov rax, QWORD PTR .LC0[rip+8]
mov QWORD PTR 24[rsp], rax
call ets_printf@PLT
xor eax, eax
.L1:
mov rcx, QWORD PTR 40[rsp]
sub rcx, QWORD PTR fs:40
jne .L8
add rsp, 56
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.L8:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size print_version, .-print_version
.globl APP_START_OFFSET
.section .rodata
.align 8
.type APP_START_OFFSET, @object
.size APP_START_OFFSET, 8
APP_START_OFFSET:
.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_eboot.c_print_version.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global print_version
.syntax unified
.arm
.fpu softvfp
.type print_version, %function
print_version:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r3, .L8
sub sp, sp, #16
ldr r3, [r3]
mov r2, #4
add r0, r0, r3
ldr r3, .L8+4
mov r1, sp
add r0, r0, #8
ldr r3, [r3]
str r3, [sp, #12]
mov r3,#0
bl SPIRead
subs r4, r0, #0
movne r4, #1
bne .L1
ldr r2, .L8+8
ldr r3, .L8+12
ldr r1, [sp]
add r0, sp, #4
stmib sp, {r2, r3}
bl ets_printf
.L1:
ldr r3, .L8+4
ldr r2, [r3]
ldr r3, [sp, #12]
eors r2, r3, r2
mov r3, #0
bne .L7
mov r0, r4
add sp, sp, #16
@ sp needed
pop {r4, pc}
.L7:
bl __stack_chk_fail
.L9:
.align 2
.L8:
.word APP_START_OFFSET
.word .LC0
.word 942679414
.word 2680
.size print_version, .-print_version
.comm APP_START_OFFSET,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_eboot_command.c_crc_update.c"
.intel_syntax noprefix
.text
.p2align 4
.globl crc_update
.type crc_update, @function
crc_update:
.LFB0:
.cfi_startproc
endbr64
mov eax, edi
mov r11, rsi
mov r10, rdx
test rdx, rdx
je .L2
xor r9d, r9d
.p2align 4,,10
.p2align 3
.L7:
mov r8d, DWORD PTR [r11+r9*4]
mov edi, 8
mov esi, 128
.p2align 4,,10
.p2align 3
.L6:
mov edx, eax
not edx
mov ecx, edx
mov edx, eax
shr ecx, 31
and edx, -2147483648
test r8d, esi
cmovne edx, ecx
add eax, eax
mov ecx, eax
xor ecx, 79764919
test edx, edx
cmovne eax, ecx
sar esi
sub edi, 1
jne .L6
add r9, 1
cmp r9, r10
jne .L7
.L2:
ret
.cfi_endproc
.LFE0:
.size crc_update, .-crc_update
.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_eboot_command.c_crc_update.c"
.text
.align 2
.global crc_update
.syntax unified
.arm
.fpu softvfp
.type crc_update, %function
crc_update:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
cmp r2, #0
bxeq lr
push {r4, r5, lr}
ldr r4, .L21
sub r5, r2, #1
.L7:
mov r2, #8
mov r3, #128
ldr lr, [r1], #4
.L6:
tst lr, r3
mvnne ip, r0
andeq ip, r0, #-2147483648
lsrne ip, ip, #31
cmp ip, #0
lsl r0, r0, #1
eorne r0, r0, r4
subs r2, r2, #1
asr r3, r3, #1
bne .L6
sub r5, r5, #1
cmn r5, #1
bne .L7
pop {r4, r5, pc}
.L22:
.align 2
.L21:
.word 79764919
.size crc_update, .-crc_update
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_flash.c_SPIEraseAreaEx.c"
.intel_syntax noprefix
.text
.p2align 4
.globl SPIEraseAreaEx
.type SPIEraseAreaEx, @function
SPIEraseAreaEx:
.LFB0:
.cfi_startproc
endbr64
mov ecx, DWORD PTR FLASH_SECTOR_SIZE[rip]
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
xor r14d, r14d
push r13
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
cmp ecx, 1
push r12
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
setne r14b
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
push rbx
.cfi_def_cfa_offset 48
.cfi_offset 3, -48
and r14d, edi
jne .L1
mov eax, DWORD PTR FLASH_BLOCK_SIZE[rip]
cdq
idiv ecx
mov r13d, eax
mov eax, edi
cdq
idiv ecx
mov ebx, eax
lea eax, -1[rcx+rsi]
cdq
idiv ecx
lea r12d, [rax+rbx]
cmp ebx, r12d
jge .L5
lea ebp, -1[r13]
jmp .L20
.p2align 4,,10
.p2align 3
.L22:
mov edi, ebx
call SPIEraseSector@PLT
test rax, rax
jne .L9
add ebx, 1
cmp r12d, ebx
je .L5
.L20:
test ebx, ebp
jne .L22
jmp .L5
.p2align 4,,10
.p2align 3
.L6:
mov eax, ebp
cdq
idiv r13d
mov edi, eax
call SPIEraseBlock@PLT
test rax, rax
jne .L11
.L5:
mov ebp, ebx
add ebx, r13d
cmp ebx, r12d
jle .L6
cmp ebp, r12d
jl .L7
jmp .L1
.p2align 4,,10
.p2align 3
.L23:
add ebp, 1
cmp r12d, ebp
je .L1
.L7:
mov edi, ebp
call SPIEraseSector@PLT
test rax, rax
je .L23
mov r14d, 4
.L1:
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 40
mov eax, r14d
pop rbp
.cfi_def_cfa_offset 32
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L11:
.cfi_restore_state
mov r14d, 3
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 40
pop rbp
.cfi_def_cfa_offset 32
mov eax, r14d
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L9:
.cfi_restore_state
mov r14d, 2
pop rbx
.cfi_def_cfa_offset 40
pop rbp
.cfi_def_cfa_offset 32
mov eax, r14d
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size SPIEraseAreaEx, .-SPIEraseAreaEx
.globl FLASH_SECTOR_SIZE
.bss
.align 4
.type FLASH_SECTOR_SIZE, @object
.size FLASH_SECTOR_SIZE, 4
FLASH_SECTOR_SIZE:
.zero 4
.globl FLASH_BLOCK_SIZE
.align 4
.type FLASH_BLOCK_SIZE, @object
.size FLASH_BLOCK_SIZE, 4
FLASH_BLOCK_SIZE:
.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_flash.c_SPIEraseAreaEx.c"
.text
.global __aeabi_idiv
.align 2
.global SPIEraseAreaEx
.syntax unified
.arm
.fpu softvfp
.type SPIEraseAreaEx, %function
SPIEraseAreaEx:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r2, .L25
push {r4, r5, r6, r7, r8, lr}
ldr r6, [r2]
cmp r6, #1
moveq r8, #0
andne r8, r0, #1
cmp r8, #0
bne .L1
ldr r3, .L25+4
mov r4, r0
mov r5, r1
ldr r0, [r3]
mov r1, r6
bl __aeabi_idiv
mov r1, r6
mov r7, r0
mov r0, r4
bl __aeabi_idiv
mov r4, r0
add r0, r6, r5
mov r1, r6
sub r0, r0, #1
bl __aeabi_idiv
add r6, r0, r4
cmp r4, r6
bge .L5
sub r5, r7, #1
b .L20
.L22:
mov r0, r4
bl SPIEraseSector
cmp r0, #0
add r4, r4, #1
bne .L9
cmp r6, r4
beq .L10
.L20:
tst r4, r5
bne .L22
b .L5
.L6:
mov r1, r7
mov r0, r5
bl __aeabi_idiv
bl SPIEraseBlock
cmp r0, #0
bne .L23
.L5:
mov r5, r4
add r4, r4, r7
cmp r4, r6
ble .L6
cmp r5, r6
blt .L7
b .L1
.L24:
cmp r6, r5
beq .L1
.L7:
mov r0, r5
bl SPIEraseSector
cmp r0, #0
add r5, r5, #1
beq .L24
mov r8, #4
.L1:
mov r0, r8
pop {r4, r5, r6, r7, r8, pc}
.L23:
mov r8, #3
mov r0, r8
pop {r4, r5, r6, r7, r8, pc}
.L9:
mov r8, #2
mov r0, r8
pop {r4, r5, r6, r7, r8, pc}
.L10:
mov r4, r6
b .L5
.L26:
.align 2
.L25:
.word FLASH_SECTOR_SIZE
.word FLASH_BLOCK_SIZE
.size SPIEraseAreaEx, .-SPIEraseAreaEx
.comm FLASH_SECTOR_SIZE,4,4
.comm FLASH_BLOCK_SIZE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gdbstub.c_gdbstub_has_putc1_control.c"
.intel_syntax noprefix
.text
.p2align 4
.globl gdbstub_has_putc1_control
.type gdbstub_has_putc1_control, @function
gdbstub_has_putc1_control:
.LFB0:
.cfi_startproc
endbr64
xor eax, eax
ret
.cfi_endproc
.LFE0:
.size gdbstub_has_putc1_control, .-gdbstub_has_putc1_control
.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_gdbstub.c_gdbstub_has_putc1_control.c"
.text
.align 2
.global gdbstub_has_putc1_control
.syntax unified
.arm
.fpu softvfp
.type gdbstub_has_putc1_control, %function
gdbstub_has_putc1_control:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r0, #0
bx lr
.size gdbstub_has_putc1_control, .-gdbstub_has_putc1_control
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gdbstub.c_gdbstub_has_uart_isr_control.c"
.intel_syntax noprefix
.text
.p2align 4
.globl gdbstub_has_uart_isr_control
.type gdbstub_has_uart_isr_control, @function
gdbstub_has_uart_isr_control:
.LFB0:
.cfi_startproc
endbr64
xor eax, eax
ret
.cfi_endproc
.LFE0:
.size gdbstub_has_uart_isr_control, .-gdbstub_has_uart_isr_control
.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_gdbstub.c_gdbstub_has_uart_isr_control.c"
.text
.align 2
.global gdbstub_has_uart_isr_control
.syntax unified
.arm
.fpu softvfp
.type gdbstub_has_uart_isr_control, %function
gdbstub_has_uart_isr_control:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r0, #0
bx lr
.size gdbstub_has_uart_isr_control, .-gdbstub_has_uart_isr_control
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_memmove1.c_fill.c"
.intel_syntax noprefix
.text
.p2align 4
.globl fill
.type fill, @function
fill:
.LFB0:
.cfi_startproc
endbr64
mov edx, DWORD PTR MAX[rip]
test edx, edx
je .L1
xor esi, esi
.p2align 4,,10
.p2align 3
.L3:
lea rax, 10[rsi]
movsx rcx, edx
xor edx, edx
div rcx
mov BYTE PTR [rdi+rsi], dl
mov edx, DWORD PTR MAX[rip]
add rsi, 1
lea eax, [rdx+rdx*2]
cdqe
cmp rax, rsi
ja .L3
.L1:
ret
.cfi_endproc
.LFE0:
.size fill, .-fill
.globl MAX
.bss
.align 4
.type MAX, @object
.size MAX, 4
MAX:
.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_memmove1.c_fill.c"
.text
.global __aeabi_uidivmod
.align 2
.global fill
.syntax unified
.arm
.fpu softvfp
.type fill, %function
fill:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r6, .L10
ldr r1, [r6]
cmp r1, #0
popeq {r4, r5, r6, pc}
mov r4, #0
sub r5, r0, #1
.L3:
add r0, r4, #10
bl __aeabi_uidivmod
strb r1, [r5, #1]!
ldr r1, [r6]
add r4, r4, #1
add r3, r1, r1, lsl #1
cmp r3, r4
bhi .L3
pop {r4, r5, r6, pc}
.L11:
.align 2
.L10:
.word MAX
.size fill, .-fill
.comm MAX,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_memmove1.c_mymemmove.c"
.intel_syntax noprefix
.text
.p2align 4
.globl mymemmove
.type mymemmove, @function
mymemmove:
.LFB0:
.cfi_startproc
endbr64
lea rax, -1[rdx]
cmp rsi, rdi
ja .L2
lea rcx, [rsi+rdx]
cmp rdi, rcx
jnb .L2
cmp rsi, rdi
je .L2
test rdx, rdx
je .L1
.p2align 4,,10
.p2align 3
.L7:
movzx edx, BYTE PTR [rsi+rax]
mov BYTE PTR [rdi+rax], dl
sub rax, 1
jnb .L7
.L1:
ret
.p2align 4,,10
.p2align 3
.L2:
xor eax, eax
test rdx, rdx
je .L1
.p2align 4,,10
.p2align 3
.L5:
movzx ecx, BYTE PTR [rsi+rax]
mov BYTE PTR [rdi+rax], cl
add rax, 1
cmp rdx, rax
jne .L5
ret
.cfi_endproc
.LFE0:
.size mymemmove, .-mymemmove
.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_memmove1.c_mymemmove.c"
.text
.align 2
.global mymemmove
.syntax unified
.arm
.fpu softvfp
.type mymemmove, %function
mymemmove:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
cmp r1, r0
bhi .L2
add r3, r1, r2
cmp r1, r0
cmpne r3, r0
bhi .L3
.L2:
cmp r2, #0
bxeq lr
sub r0, r0, #1
add r2, r1, r2
.L5:
ldrb r3, [r1], #1 @ zero_extendqisi2
cmp r1, r2
strb r3, [r0, #1]!
bne .L5
bx lr
.L3:
cmp r2, #0
add r0, r0, r2
bxeq lr
.L7:
ldrb r2, [r3, #-1]! @ zero_extendqisi2
cmp r1, r3
strb r2, [r0, #-1]!
bne .L7
bx lr
.size mymemmove, .-mymemmove
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_strcmp-1.c_strcmp_main.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "\nFailed: after %s of %u bytes with src_align %u and dst_align %u, dest after %d bytes is modified for %d bytes, return value is %d, expected 0.\n"
.align 8
.LC1:
.string "\nFailed: after %s of %u bytes with src_align %u and dst_align %u, dest after %d bytes is modified for %d bytes, return value is %d, expected negative.\n"
.align 8
.LC2:
.string "\nFailed: after %s of %u bytes with src_align %u and dst_align %u, dest after %d bytes is modified for %d bytes, return value is %d, expected positive.\n"
.align 8
.LC3:
.string "\nFailed: expected positive, return %d\n"
.align 8
.LC4:
.string "\nFailed: expected negative, return %d\n"
.section .rodata.str1.1,"aMS",@progbits,1
.LC5:
.string "ERROR. FAILED.\n"
.LC6:
.string "ok\n"
.text
.p2align 4
.globl strcmp_main
.type strcmp_main, @function
strcmp_main:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
push r15
push r14
push r13
push r12
push rbx
sub rsp, 88
.cfi_offset 15, -24
.cfi_offset 14, -32
.cfi_offset 13, -40
.cfi_offset 12, -48
.cfi_offset 3, -56
mov rax, QWORD PTR fs:40
mov QWORD PTR -56[rbp], rax
xor eax, eax
movsx rax, DWORD PTR BUFF_SIZE[rip]
mov rcx, rsp
add rax, 15
mov rsi, rax
mov rdx, rax
and rsi, -4096
and rdx, -16
sub rcx, rsi
cmp rsp, rcx
je .L3
.L71:
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
cmp rsp, rcx
jne .L71
.L3:
and edx, 4095
sub rsp, rdx
test rdx, rdx
jne .L72
.L4:
mov rdx, rax
mov rcx, rsp
and rax, -4096
mov r15, rsp
sub rcx, rax
and rdx, -16
cmp rsp, rcx
je .L6
.L73:
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
cmp rsp, rcx
jne .L73
.L6:
mov rax, rdx
and eax, 4095
sub rsp, rax
test rax, rax
jne .L74
.L7:
mov edi, DWORD PTR rand_seed[rip]
mov r14, rsp
call srand@PLT
mov DWORD PTR -112[rbp], 0
mov rax, r14
mov r14, r15
mov r15, rax
.L8:
mov eax, DWORD PTR -112[rbp]
mov DWORD PTR -80[rbp], 0
mov QWORD PTR -120[rbp], rax
sub rax, 1
mov QWORD PTR -128[rbp], rax
mov rax, r15
mov r15, r14
mov r14, rax
.L34:
mov edx, DWORD PTR MAX_BLOCK_SIZE[rip]
mov eax, DWORD PTR MAX_DIFF[rip]
mov ebx, 1
test edx, edx
je .L29
.L32:
lea edx, [rax+rbx]
cmp edx, 1
jbe .L27
lea edi, -1[rbx]
mov DWORD PTR -72[rbp], 1
mov DWORD PTR -76[rbp], edi
.L30:
mov ecx, DWORD PTR MAX_LEN[rip]
mov DWORD PTR -108[rbp], -1
mov DWORD PTR -68[rbp], 0
test ecx, ecx
je .L25
.p2align 4,,10
.p2align 3
.L28:
mov edx, ebx
add rdx, QWORD PTR -128[rbp]
cmp DWORD PTR MAX_ZEROS[rip], 1
mov r13d, 1
mov QWORD PTR -104[rbp], rdx
jg .L24
jmp .L26
.p2align 4,,10
.p2align 3
.L9:
add r13, 1
cmp DWORD PTR MAX_ZEROS[rip], r13d
jle .L26
.L24:
cmp DWORD PTR -76[rbp], eax
ja .L9
movsx rcx, DWORD PTR BUFF_SIZE[rip]
xor edx, edx
test ecx, ecx
jle .L14
.p2align 4,,10
.p2align 3
.L13:
mov eax, edx
mov esi, edx
imul rax, rax, 1321528399
shr rax, 35
imul eax, eax, 26
sub esi, eax
lea eax, 65[rsi]
mov BYTE PTR [r15+rdx], al
mov BYTE PTR [r14+rdx], al
add rdx, 1
cmp rdx, rcx
jne .L13
.L14:
xor edi, edi
call delay@PLT
mov ecx, DWORD PTR -80[rbp]
mov rax, QWORD PTR -120[rbp]
mov edx, ebx
lea r9, [r14+rcx]
lea r12, [r15+rax]
mov QWORD PTR -96[rbp], rcx
mov rdi, r9
mov rsi, r12
mov QWORD PTR -88[rbp], r9
call memcpy@PLT
mov rax, QWORD PTR -104[rbp]
xor esi, esi
mov rdx, r13
lea rdi, [r15+rax]
call memset@PLT
mov rcx, QWORD PTR -96[rbp]
mov eax, DWORD PTR -72[rbp]
mov r9, QWORD PTR -88[rbp]
lea rdi, -1[rcx+rax]
mov ecx, DWORD PTR -68[rbp]
add rdi, r14
test ecx, ecx
jle .L75
mov ecx, DWORD PTR -108[rbp]
mov esi, 120
mov QWORD PTR -96[rbp], r9
lea rdx, 1[rcx]
mov QWORD PTR -88[rbp], rcx
call memset@PLT
mov rcx, QWORD PTR -88[rbp]
mov r9, QWORD PTR -96[rbp]
mov rdi, r12
mov BYTE PTR 1[rax+rcx], 0
mov rsi, r9
call strcmp@PLT
.L40:
test eax, eax
jns .L68
.L23:
add r13, 1
cmp DWORD PTR MAX_ZEROS[rip], r13d
mov eax, DWORD PTR MAX_DIFF[rip]
jg .L24
.L26:
add DWORD PTR -68[rbp], 1
mov edi, DWORD PTR -68[rbp]
add DWORD PTR -108[rbp], 1
cmp DWORD PTR MAX_LEN[rip], edi
ja .L28
lea edx, [rbx+rax]
.L25:
add DWORD PTR -72[rbp], 1
mov ecx, DWORD PTR -72[rbp]
sub DWORD PTR -76[rbp], 1
cmp edx, ecx
ja .L30
.L27:
add ebx, 1
cmp DWORD PTR MAX_BLOCK_SIZE[rip], ebx
jnb .L32
.L29:
add DWORD PTR -80[rbp], 1
mov eax, DWORD PTR MAX_OFFSET[rip]
mov ebx, DWORD PTR -80[rbp]
cmp eax, ebx
jnb .L34
mov rbx, r14
add DWORD PTR -112[rbp], 1
mov r14, r15
mov r15, rbx
mov ebx, DWORD PTR -112[rbp]
cmp eax, ebx
jnb .L8
mov rax, r15
mov r15, r14
mov DWORD PTR [r15], 1128415681
mov rsi, rax
mov rdi, r15
mov r14, rax
mov BYTE PTR 4[r15], 0
mov DWORD PTR [rax], 1128415553
mov BYTE PTR 4[rax], 0
call strcmp@PLT
mov esi, eax
test eax, eax
jle .L76
.L35:
mov BYTE PTR [r15], 1
mov rsi, r14
mov rdi, r15
mov BYTE PTR [r14], -126
call strcmp@PLT
mov esi, eax
test eax, eax
js .L36
lea rdi, .LC4[rip]
xor eax, eax
call print_error@PLT
.L36:
mov BYTE PTR [r15], 68
mov rsi, r14
mov rdi, r15
mov BYTE PTR [r14], 68
mov BYTE PTR 3[r15], -63
mov BYTE PTR 3[r14], 65
call strcmp@PLT
mov esi, eax
test eax, eax
jle .L77
.L37:
mov BYTE PTR 3[r15], 1
mov rsi, r14
mov rdi, r15
mov BYTE PTR 3[r14], -126
call strcmp@PLT
mov esi, eax
test eax, eax
js .L38
lea rdi, .LC4[rip]
xor eax, eax
call print_error@PLT
.L38:
cmp QWORD PTR errors[rip], 0
jne .L78
.L39:
lea rdi, .LC6[rip]
call printf@PLT
mov rax, QWORD PTR -56[rbp]
sub rax, QWORD PTR fs:40
jne .L79
lea rsp, -40[rbp]
pop rbx
pop r12
pop r13
pop r14
pop r15
pop rbp
.cfi_remember_state
.cfi_def_cfa 7, 8
ret
.L72:
.cfi_restore_state
or QWORD PTR -8[rsp+rdx], 0
jmp .L4
.p2align 4,,10
.p2align 3
.L68:
push rax
mov eax, DWORD PTR -68[rbp]
lea rdi, .LC1[rip]
mov edx, ebx
mov esi, DWORD PTR testname[rip]
mov r9d, DWORD PTR -72[rbp]
mov r8d, DWORD PTR -80[rbp]
mov ecx, DWORD PTR -112[rbp]
push rax
xor eax, eax
call print_error@PLT
pop rsi
mov eax, DWORD PTR MAX_DIFF[rip]
pop rdi
jmp .L9
.p2align 4,,10
.p2align 3
.L75:
mov BYTE PTR [rdi], 0
mov rsi, r9
mov rdi, r12
call strcmp@PLT
cmp DWORD PTR -72[rbp], ebx
jne .L17
mov edx, DWORD PTR -68[rbp]
test edx, edx
jne .L40
test eax, eax
je .L23
mov edx, DWORD PTR -72[rbp]
mov r8d, DWORD PTR -80[rbp]
push rax
lea rdi, .LC0[rip]
mov ecx, DWORD PTR -112[rbp]
mov esi, DWORD PTR testname[rip]
push 0
xor eax, eax
mov r9d, edx
call print_error@PLT
pop r11
mov eax, DWORD PTR MAX_DIFF[rip]
pop r12
jmp .L9
.L78:
lea rdi, .LC5[rip]
call printf@PLT
xor eax, eax
call abort@PLT
jmp .L39
.L77:
lea rdi, .LC3[rip]
xor eax, eax
call print_error@PLT
jmp .L37
.L76:
lea rdi, .LC3[rip]
xor eax, eax
call print_error@PLT
jmp .L35
.L74:
or QWORD PTR -8[rsp+rax], 0
jmp .L7
.L17:
ja .L40
mov r10d, DWORD PTR -68[rbp]
test r10d, r10d
jne .L40
test eax, eax
jg .L23
push rax
mov r9d, DWORD PTR -72[rbp]
mov edx, ebx
lea rdi, .LC2[rip]
mov r8d, DWORD PTR -80[rbp]
mov ecx, DWORD PTR -112[rbp]
push 0
xor eax, eax
mov esi, DWORD PTR testname[rip]
call print_error@PLT
pop r8
mov eax, DWORD PTR MAX_DIFF[rip]
pop r9
jmp .L9
.L79:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size strcmp_main, .-strcmp_main
.globl testname
.bss
.align 4
.type testname, @object
.size testname, 4
testname:
.zero 4
.globl rand_seed
.align 4
.type rand_seed, @object
.size rand_seed, 4
rand_seed:
.zero 4
.globl errors
.align 8
.type errors, @object
.size errors, 8
errors:
.zero 8
.globl MAX_ZEROS
.align 4
.type MAX_ZEROS, @object
.size MAX_ZEROS, 4
MAX_ZEROS:
.zero 4
.globl MAX_OFFSET
.align 4
.type MAX_OFFSET, @object
.size MAX_OFFSET, 4
MAX_OFFSET:
.zero 4
.globl MAX_LEN
.align 4
.type MAX_LEN, @object
.size MAX_LEN, 4
MAX_LEN:
.zero 4
.globl MAX_DIFF
.align 4
.type MAX_DIFF, @object
.size MAX_DIFF, 4
MAX_DIFF:
.zero 4
.globl MAX_BLOCK_SIZE
.align 4
.type MAX_BLOCK_SIZE, @object
.size MAX_BLOCK_SIZE, 4
MAX_BLOCK_SIZE:
.zero 4
.globl BUFF_SIZE
.align 4
.type BUFF_SIZE, @object
.size BUFF_SIZE, 4
BUFF_SIZE:
.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_strcmp-1.c_strcmp_main.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "\012Failed: after %s of %u bytes with src_align %u "
.ascii "and dst_align %u, dest after %d bytes is modified f"
.ascii "or %d bytes, return value is %d, expected 0.\012\000"
.align 2
.LC1:
.ascii "\012Failed: after %s of %u bytes with src_align %u "
.ascii "and dst_align %u, dest after %d bytes is modified f"
.ascii "or %d bytes, return value is %d, expected negative."
.ascii "\012\000"
.align 2
.LC2:
.ascii "\012Failed: after %s of %u bytes with src_align %u "
.ascii "and dst_align %u, dest after %d bytes is modified f"
.ascii "or %d bytes, return value is %d, expected positive."
.ascii "\012\000"
.align 2
.LC3:
.ascii "\012Failed: expected positive, return %d\012\000"
.align 2
.LC4:
.ascii "\012Failed: expected negative, return %d\012\000"
.align 2
.LC5:
.ascii "ERROR. FAILED.\012\000"
.align 2
.LC6:
.ascii "ok\012\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC7:
.word __stack_chk_guard
.text
.align 2
.global strcmp_main
.syntax unified
.arm
.fpu softvfp
.type strcmp_main, %function
strcmp_main:
@ args = 0, pretend = 0, frame = 64
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
add fp, sp, #32
sub sp, sp, #84
ldr r3, .L62
ldr r2, .L62+4
ldr r3, [r3]
ldr r0, [r2]
add r3, r3, #7
bic r3, r3, #7
sub sp, sp, r3
add r4, sp, #16
sub sp, sp, r3
ldr r3, .L62+8
str r4, [fp, #-80]
ldr r3, [r3]
str r3, [fp, #-40]
mov r3,#0
add r3, sp, #16
str r3, [fp, #-72]
bl srand
mov r3, #0
ldr r9, .L62+12
str r4, [fp, #-60]
str r3, [fp, #-84]
.L2:
mvn r3, #0
str r3, [fp, #-88]
ldr r3, [fp, #-60]
ldr r10, [fp, #-72]
add r3, r3, #1
str r3, [fp, #-96]
.L29:
ldr r3, .L62+16
ldr r2, [fp, #-88]
ldr r3, [r3]
str r2, [fp, #-100]
cmp r3, #0
add r3, r2, #1
str r3, [fp, #-88]
beq .L24
ldr r3, [fp, #-96]
mov r8, r10
str r3, [fp, #-92]
ldr r3, [fp, #-60]
str r3, [fp, #-76]
mov r3, #1
str r3, [fp, #-52]
.L27:
ldr r3, .L62+20
ldr r1, [fp, #-52]
ldr r2, [r3]
add r3, r2, r1
cmp r3, #1
bls .L22
sub r1, r1, #1
str r1, [fp, #-48]
mov r1, #1
ldr r10, .L62+24
str r8, [fp, #-68]
str r1, [fp, #-64]
.L25:
ldr r1, .L62+28
ldr r1, [r1]
cmp r1, #0
beq .L20
mov r3, #0
ldr r5, [fp, #-68]
str r3, [fp, #-56]
.L23:
ldr r3, [r10]
cmp r3, #1
ble .L21
mov r7, #1
ldr r3, [fp, #-72]
ldr r4, [fp, #-92]
sub r6, r7, r3
b .L19
.L3:
ldr r3, [r10]
add r7, r7, #1
cmp r3, r7
add r4, r4, #1
ble .L21
.L19:
ldr r3, [fp, #-48]
cmp r2, r3
bcc .L3
ldr r3, .L62
ldr r0, [r3]
cmp r0, #0
ble .L7
ldr r3, [fp, #-72]
ldr r2, [fp, #-80]
sub r0, r0, #1
sub r1, r2, #1
add r0, r3, r0
sub r2, r3, #1
.L6:
add r3, r6, r2
umull lr, ip, r9, r3
lsr ip, ip, #3
add lr, ip, ip, lsl #1
add ip, ip, lr, lsl #2
sub r3, r3, ip, lsl #1
add r3, r3, #65
and r3, r3, #255
strb r3, [r2, #1]!
cmp r2, r0
strb r3, [r1, #1]!
bne .L6
.L7:
mov r0, #0
bl delay
ldr r2, [fp, #-52]
mov r0, r8
ldr r1, [fp, #-60]
bl memcpy
mov r2, #0
ldr r3, [fp, #-76]
.L5:
strb r2, [r3], #1
cmp r3, r4
bne .L5
ldr r3, [fp, #-56]
cmp r3, #0
ldr r3, [fp, #-68]
ble .L8
mov r2, #120
.L9:
strb r2, [r3], #1
cmp r3, r5
bne .L9
mov r3, #0
mov r1, r8
ldr r0, [fp, #-60]
strb r3, [r5]
bl strcmp
.L17:
cmp r0, #0
blt .L56
ldr r3, [fp, #-56]
ldr r1, .L62+32
str r3, [sp, #8]
ldr r3, [fp, #-64]
str r0, [sp, #12]
str r3, [sp, #4]
ldr r3, [fp, #-88]
ldr r2, [fp, #-52]
str r3, [sp]
ldr r1, [r1]
ldr r3, [fp, #-84]
ldr r0, .L62+36
bl print_error
.L56:
ldr r3, .L62+20
ldr r2, [r3]
b .L3
.L21:
ldr r3, .L62+28
ldr r1, [fp, #-56]
ldr r3, [r3]
add r1, r1, #1
cmp r3, r1
str r1, [fp, #-56]
add r5, r5, #1
bhi .L23
ldr r3, [fp, #-52]
add r3, r3, r2
.L20:
ldr r1, [fp, #-64]
add r1, r1, #1
str r1, [fp, #-64]
cmp r3, r1
ldr r1, [fp, #-68]
add r1, r1, #1
str r1, [fp, #-68]
ldr r1, [fp, #-48]
sub r1, r1, #1
str r1, [fp, #-48]
bhi .L25
.L22:
ldr r3, .L62+16
ldr r2, [fp, #-52]
ldr r3, [r3]
add r2, r2, #1
cmp r3, r2
ldr r3, [fp, #-92]
str r2, [fp, #-52]
add r3, r3, #1
str r3, [fp, #-92]
ldr r3, [fp, #-76]
add r3, r3, #1
str r3, [fp, #-76]
bcs .L27
mov r10, r8
.L24:
ldr r3, .L62+40
ldr r2, [fp, #-100]
ldr r3, [r3]
add r2, r2, #2
cmp r3, r2
add r10, r10, #1
bcs .L29
ldr r2, [fp, #-84]
add r2, r2, #1
cmp r3, r2
ldr r3, [fp, #-96]
str r2, [fp, #-84]
str r3, [fp, #-60]
bcs .L2
mov r3, #65
mov r0, #66
mov ip, #67
mov r2, #0
mvn lr, #62
ldr r1, [fp, #-72]
ldr r4, [fp, #-80]
strb r0, [r1, #2]
strb r3, [r1, #1]
strb r3, [r1]
strb r0, [r4, #2]
strb ip, [r1, #3]
strb r2, [r1, #4]
mov r0, r4
strb r3, [r4, #1]
strb ip, [r4, #3]
strb r2, [r4, #4]
strb lr, [r4]
bl strcmp
subs r1, r0, #0
ble .L58
.L30:
mov r2, #1
mvn r3, #125
ldr r1, [fp, #-72]
ldr r0, [fp, #-80]
strb r3, [r1]
strb r2, [r0]
bl strcmp
subs r1, r0, #0
blt .L31
ldr r0, .L62+44
bl print_error
.L31:
mov r3, #68
mvn ip, #62
mov r2, #65
ldr lr, [fp, #-80]
ldr r4, [fp, #-72]
mov r0, lr
mov r1, r4
strb r3, [lr]
strb r3, [r4]
strb ip, [lr, #3]
strb r2, [r4, #3]
bl strcmp
subs r1, r0, #0
ble .L59
.L32:
mov r2, #1
mvn r3, #125
ldr r1, [fp, #-72]
ldr r0, [fp, #-80]
strb r3, [r1, #3]
strb r2, [r0, #3]
bl strcmp
subs r1, r0, #0
blt .L33
ldr r0, .L62+44
bl print_error
.L33:
ldr r3, .L62+48
ldr r3, [r3]
cmp r3, #0
bne .L60
.L34:
ldr r0, .L62+52
bl printf
ldr r3, .L62+8
ldr r2, [r3]
ldr r3, [fp, #-40]
eors r2, r3, r2
mov r3, #0
bne .L61
sub sp, fp, #32
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
ldr r3, [fp, #-68]
mov r1, r8
strb r2, [r3]
ldr r0, [fp, #-60]
bl strcmp
ldr r2, [fp, #-64]
ldr r1, [fp, #-52]
cmp r2, r1
bne .L11
ldr r2, [fp, #-56]
cmp r2, #0
bne .L17
cmp r0, #0
beq .L56
ldr r3, [fp, #-56]
ldr r2, [fp, #-64]
str r3, [sp, #8]
ldr r3, [fp, #-88]
ldr r1, .L62+32
str r0, [sp, #12]
str r2, [sp, #4]
str r3, [sp]
ldr r1, [r1]
ldr r3, [fp, #-84]
ldr r0, .L62+56
bl print_error
ldr r3, .L62+20
ldr r2, [r3]
b .L3
.L59:
ldr r0, .L62+60
bl print_error
b .L32
.L60:
ldr r0, .L62+64
bl printf
bl abort
b .L34
.L58:
ldr r0, .L62+60
bl print_error
b .L30
.L61:
bl __stack_chk_fail
.L11:
bhi .L17
ldr r2, [fp, #-56]
cmp r2, #0
bne .L17
cmp r0, #0
bgt .L56
ldr r3, [fp, #-64]
ldr r1, .L62+32
str r3, [sp, #4]
ldr r3, [fp, #-88]
str r0, [sp, #12]
str r2, [sp, #8]
str r3, [sp]
ldr r2, [fp, #-52]
ldr r3, [fp, #-84]
ldr r1, [r1]
ldr r0, .L62+68
bl print_error
ldr r3, .L62+20
ldr r2, [r3]
b .L3
.L63:
.align 2
.L62:
.word BUFF_SIZE
.word rand_seed
.word .LC7
.word 1321528399
.word MAX_BLOCK_SIZE
.word MAX_DIFF
.word MAX_ZEROS
.word MAX_LEN
.word testname
.word .LC1
.word MAX_OFFSET
.word .LC4
.word errors
.word .LC6
.word .LC0
.word .LC3
.word .LC5
.word .LC2
.size strcmp_main, .-strcmp_main
.comm testname,4,4
.comm rand_seed,4,4
.comm errors,4,4
.comm MAX_ZEROS,4,4
.comm MAX_OFFSET,4,4
.comm MAX_LEN,4,4
.comm MAX_DIFF,4,4
.comm MAX_BLOCK_SIZE,4,4
.comm BUFF_SIZE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_tstring.c_eprintf.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "Failure at line %d, result is <%.*s>, should be <%s> of size %d\n"
.align 8
.LC1:
.string "Failure at line %d, result is <%s>, should be <%s>\n"
.text
.p2align 4
.globl eprintf
.type eprintf, @function
eprintf:
.LFB0:
.cfi_startproc
endbr64
mov r8, rdx
mov edx, ecx
test ecx, ecx
je .L2
mov r9d, ecx
xor eax, eax
mov rcx, rsi
mov esi, edi
lea rdi, .LC0[rip]
jmp printf@PLT
.p2align 4,,10
.p2align 3
.L2:
mov rdx, rsi
mov rcx, r8
mov esi, edi
xor eax, eax
lea rdi, .LC1[rip]
jmp printf@PLT
.cfi_endproc
.LFE0:
.size eprintf, .-eprintf
.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_tstring.c_eprintf.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "Failure at line %d, result is <%.*s>, should be <%s"
.ascii "> of size %d\012\000"
.align 2
.LC1:
.ascii "Failure at line %d, result is <%s>, should be <%s>\012"
.ascii "\000"
.text
.align 2
.global eprintf
.syntax unified
.arm
.fpu softvfp
.type eprintf, %function
eprintf:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
subs ip, r3, #0
mov r3, r2
beq .L2
str lr, [sp, #-4]!
sub sp, sp, #12
stm sp, {r3, ip}
mov r2, ip
mov r3, r1
mov r1, r0
ldr r0, .L9
bl printf
add sp, sp, #12
@ sp needed
ldr pc, [sp], #4
.L2:
mov r2, r1
mov r1, r0
ldr r0, .L9+4
b printf
.L10:
.align 2
.L9:
.word .LC0
.word .LC1
.size eprintf, .-eprintf
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_tstring.c_mycopy.c"
.intel_syntax noprefix
.text
.p2align 4
.globl mycopy
.type mycopy, @function
mycopy:
.LFB0:
.cfi_startproc
endbr64
test edx, edx
jle .L1
movsx rcx, edx
xor eax, eax
.p2align 4,,10
.p2align 3
.L3:
movzx edx, BYTE PTR [rsi+rax]
mov BYTE PTR [rdi+rax], dl
add rax, 1
cmp rax, rcx
jne .L3
.L1:
ret
.cfi_endproc
.LFE0:
.size mycopy, .-mycopy
.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_tstring.c_mycopy.c"
.text
.align 2
.global mycopy
.syntax unified
.arm
.fpu softvfp
.type mycopy, %function
mycopy:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
cmp r2, #0
bxle lr
sub r1, r1, #1
add r2, r1, r2
sub r0, r0, #1
.L3:
ldrb r3, [r1, #1]! @ zero_extendqisi2
cmp r1, r2
strb r3, [r0, #1]!
bne .L3
bx lr
.size mycopy, .-mycopy
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_tstring.c_myset.c"
.intel_syntax noprefix
.text
.p2align 4
.globl myset
.type myset, @function
myset:
.LFB0:
.cfi_startproc
endbr64
test edx, edx
jle .L1
movsx rdx, edx
movsx esi, sil
jmp memset@PLT
.p2align 4,,10
.p2align 3
.L1:
ret
.cfi_endproc
.LFE0:
.size myset, .-myset
.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_tstring.c_myset.c"
.text
.align 2
.global myset
.syntax unified
.arm
.fpu softvfp
.type myset, %function
myset:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
cmp r2, #0
bxle lr
sub r0, r0, #1
add r2, r0, r2
.L3:
strb r1, [r0, #1]!
cmp r0, r2
bne .L3
bx lr
.size myset, .-myset
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_md5.c_Decode.c"
.intel_syntax noprefix
.text
.p2align 4
.type Decode, @function
Decode:
.LFB0:
.cfi_startproc
endbr64
mov r8, rdi
mov edi, edx
test edx, edx
jle .L1
xor edx, edx
.p2align 4,,10
.p2align 3
.L3:
mov eax, DWORD PTR 8[rsi+rdx*8]
mov ecx, DWORD PTR 16[rsi+rdx*8]
sal eax, 8
sal ecx, 16
or eax, ecx
mov ecx, DWORD PTR 24[rsi+rdx*8]
or eax, DWORD PTR [rsi+rdx*8]
sal ecx, 24
or eax, ecx
mov DWORD PTR [r8+rdx], eax
add rdx, 4
cmp edi, edx
jg .L3
.L1:
ret
.cfi_endproc
.LFE0:
.size Decode, .-Decode
.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_md5.c_Decode.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type Decode, %function
Decode:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
cmp r2, #0
bxle lr
str lr, [sp, #-4]!
sub r2, r2, #1
bic r2, r2, #3
add r2, r0, r2
sub r0, r0, #4
.L3:
ldr r3, [r1, #8]
ldr ip, [r1, #4]
ldr lr, [r1]
lsl r3, r3, #16
orr r3, r3, ip, lsl #8
ldr ip, [r1, #12]
orr r3, r3, lr
orr r3, r3, ip, lsl #24
str r3, [r0, #4]!
cmp r2, r0
add r1, r1, #16
bne .L3
ldr pc, [sp], #4
.size Decode, .-Decode
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_md5.c_Encode.c"
.intel_syntax noprefix
.text
.p2align 4
.type Encode, @function
Encode:
.LFB0:
.cfi_startproc
endbr64
mov r8, rsi
mov esi, edx
test edx, edx
jle .L1
xor eax, eax
.p2align 4,,10
.p2align 3
.L3:
mov edx, DWORD PTR [r8+rax]
movzx ecx, dl
mov QWORD PTR [rdi+rax*8], rcx
movzx ecx, dh
mov QWORD PTR 8[rdi+rax*8], rcx
mov ecx, edx
shr edx, 24
sar ecx, 16
mov QWORD PTR 24[rdi+rax*8], rdx
movzx ecx, cl
mov QWORD PTR 16[rdi+rax*8], rcx
add rax, 4
cmp esi, eax
jg .L3
.L1:
ret
.cfi_endproc
.LFE0:
.size Encode, .-Encode
.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_md5.c_Encode.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type Encode, %function
Encode:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
cmp r2, #0
bxle lr
sub r2, r2, #1
push {r4, lr}
bic lr, r2, #3
add lr, r1, lr
sub ip, r1, #4
.L3:
ldr r3, [ip, #4]!
asr r1, r3, #8
asr r2, r3, #16
and r4, r3, #255
and r1, r1, #255
and r2, r2, #255
lsr r3, r3, #24
cmp lr, ip
stmib r0, {r1, r2}
str r4, [r0]
str r3, [r0, #12]
add r0, r0, #16
bne .L3
pop {r4, pc}
.size Encode, .-Encode
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_md5.c_MD5Transform.c"
.intel_syntax noprefix
.text
.p2align 4
.type MD5Transform, @function
MD5Transform:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov r10, rdi
mov rbp, rsp
.cfi_def_cfa_register 6
push r15
push r14
push r13
push r12
push rbx
sub rsp, 40
.cfi_offset 15, -24
.cfi_offset 14, -32
.cfi_offset 13, -40
.cfi_offset 12, -48
.cfi_offset 3, -56
mov r14, QWORD PTR [rdi]
mov r13, QWORD PTR 8[rdi]
mov rax, QWORD PTR fs:40
mov QWORD PTR -56[rbp], rax
xor eax, eax
movsx rax, DWORD PTR MD5_SIZE[rip]
mov rcx, rsp
mov r12, QWORD PTR 16[rdi]
mov rbx, QWORD PTR 24[rdi]
lea rax, 15[0+rax*8]
mov rdx, rax
and rax, -4096
sub rcx, rax
and rdx, -16
cmp rsp, rcx
je .L3
.L11:
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
cmp rsp, rcx
jne .L11
.L3:
and edx, 4095
sub rsp, rdx
test rdx, rdx
jne .L12
.L4:
lea rdi, 7[rsp]
mov edx, 64
mov QWORD PTR -72[rbp], r10
mov r15, rdi
and rdi, -8
call Decode@PLT
sub rsp, 8
shr r15, 3
mov rcx, rbx
push -680876936
mov rdx, r12
mov rsi, r13
mov rdi, r14
mov r9d, DWORD PTR S11[rip]
mov r8, QWORD PTR 0[0+r15*8]
call FF@PLT
mov rcx, r12
mov rdx, r13
mov rsi, r14
mov r8, QWORD PTR 8[0+r15*8]
mov r9d, DWORD PTR S12[rip]
mov rdi, rbx
mov DWORD PTR [rsp], -389564586
call FF@PLT
mov rcx, r13
mov rdx, r14
mov rsi, rbx
mov r8, QWORD PTR 16[0+r15*8]
mov r9d, DWORD PTR S13[rip]
mov rdi, r12
mov DWORD PTR [rsp], 606105819
call FF@PLT
mov rcx, r14
mov rdx, rbx
mov rsi, r12
mov r8, QWORD PTR 24[0+r15*8]
mov r9d, DWORD PTR S14[rip]
mov rdi, r13
mov DWORD PTR [rsp], -1044525330
call FF@PLT
mov rcx, rbx
mov rdx, r12
mov rsi, r13
mov r8, QWORD PTR 32[0+r15*8]
mov r9d, DWORD PTR S11[rip]
mov rdi, r14
mov DWORD PTR [rsp], -176418897
call FF@PLT
mov rcx, r12
mov rdx, r13
mov rsi, r14
mov r8, QWORD PTR 40[0+r15*8]
mov r9d, DWORD PTR S12[rip]
mov rdi, rbx
mov DWORD PTR [rsp], 1200080426
call FF@PLT
mov rcx, r13
mov rdx, r14
mov rsi, rbx
mov r8, QWORD PTR 48[0+r15*8]
mov r9d, DWORD PTR S13[rip]
mov rdi, r12
mov DWORD PTR [rsp], -1473231341
call FF@PLT
mov rcx, r14
mov rdx, rbx
mov rsi, r12
mov r8, QWORD PTR 56[0+r15*8]
mov r9d, DWORD PTR S14[rip]
mov rdi, r13
mov DWORD PTR [rsp], -45705983
call FF@PLT
mov rcx, rbx
mov rdx, r12
mov rsi, r13
mov r8, QWORD PTR 64[0+r15*8]
mov r9d, DWORD PTR S11[rip]
mov rdi, r14
mov DWORD PTR [rsp], 1770035416
call FF@PLT
mov rcx, r12
mov rdx, r13
mov rsi, r14
mov r8, QWORD PTR 72[0+r15*8]
mov r9d, DWORD PTR S12[rip]
mov rdi, rbx
mov DWORD PTR [rsp], -1958414417
call FF@PLT
mov rcx, r13
mov rdx, r14
mov rsi, rbx
mov r8, QWORD PTR 80[0+r15*8]
mov r9d, DWORD PTR S13[rip]
mov rdi, r12
mov DWORD PTR [rsp], -42063
call FF@PLT
mov rcx, r14
mov rdx, rbx
mov rsi, r12
mov r8, QWORD PTR 88[0+r15*8]
mov r9d, DWORD PTR S14[rip]
mov rdi, r13
mov DWORD PTR [rsp], -1990404162
call FF@PLT
mov rcx, rbx
mov rdx, r12
mov rsi, r13
mov r8, QWORD PTR 96[0+r15*8]
mov r9d, DWORD PTR S11[rip]
mov rdi, r14
mov DWORD PTR [rsp], 1804603682
call FF@PLT
mov rcx, r12
mov rdx, r13
mov rsi, r14
mov r8, QWORD PTR 104[0+r15*8]
mov r9d, DWORD PTR S12[rip]
mov rdi, rbx
mov DWORD PTR [rsp], -40341101
call FF@PLT
mov rcx, r13
mov rdx, r14
mov rsi, rbx
mov r8, QWORD PTR 112[0+r15*8]
mov r9d, DWORD PTR S13[rip]
mov rdi, r12
mov DWORD PTR [rsp], -1502002290
call FF@PLT
mov rcx, r14
mov rdx, rbx
mov rsi, r12
mov r8, QWORD PTR 120[0+r15*8]
mov r9d, DWORD PTR S14[rip]
mov rdi, r13
mov DWORD PTR [rsp], 1236535329
call FF@PLT
mov rcx, rbx
mov rdx, r12
mov rsi, r13
mov r8, QWORD PTR 8[0+r15*8]
mov r9d, DWORD PTR S21[rip]
mov rdi, r14
mov DWORD PTR [rsp], -165796510
call GG@PLT
mov rcx, r12
mov rdx, r13
mov rsi, r14
mov r8, QWORD PTR 48[0+r15*8]
mov r9d, DWORD PTR S22[rip]
mov rdi, rbx
mov DWORD PTR [rsp], -1069501632
call GG@PLT
mov rcx, r13
mov rdx, r14
mov rsi, rbx
mov r8, QWORD PTR 88[0+r15*8]
mov r9d, DWORD PTR S23[rip]
mov rdi, r12
mov DWORD PTR [rsp], 643717713
call GG@PLT
mov rcx, r14
mov rdx, rbx
mov rsi, r12
mov r9d, DWORD PTR S24[rip]
mov r8, QWORD PTR 0[0+r15*8]
mov rdi, r13
mov DWORD PTR [rsp], -373897302
call GG@PLT
mov rcx, rbx
mov rdx, r12
mov rsi, r13
mov r8, QWORD PTR 40[0+r15*8]
mov r9d, DWORD PTR S21[rip]
mov rdi, r14
mov DWORD PTR [rsp], -701558691
call GG@PLT
mov rcx, r12
mov rdx, r13
mov rsi, r14
mov r8, QWORD PTR 80[0+r15*8]
mov r9d, DWORD PTR S22[rip]
mov rdi, rbx
mov DWORD PTR [rsp], 38016083
call GG@PLT
mov rcx, r13
mov rdx, r14
mov rsi, rbx
mov r8, QWORD PTR 120[0+r15*8]
mov r9d, DWORD PTR S23[rip]
mov rdi, r12
mov DWORD PTR [rsp], -660478335
call GG@PLT
mov rcx, r14
mov rdx, rbx
mov rsi, r12
mov r8, QWORD PTR 32[0+r15*8]
mov r9d, DWORD PTR S24[rip]
mov rdi, r13
mov DWORD PTR [rsp], -405537848
call GG@PLT
mov rcx, rbx
mov rdx, r12
mov rsi, r13
mov r8, QWORD PTR 72[0+r15*8]
mov r9d, DWORD PTR S21[rip]
mov rdi, r14
mov DWORD PTR [rsp], 568446438
call GG@PLT
mov rcx, r12
mov rdx, r13
mov rsi, r14
mov r8, QWORD PTR 112[0+r15*8]
mov r9d, DWORD PTR S22[rip]
mov rdi, rbx
mov DWORD PTR [rsp], -1019803690
call GG@PLT
mov rcx, r13
mov rdx, r14
mov rsi, rbx
mov r8, QWORD PTR 24[0+r15*8]
mov r9d, DWORD PTR S23[rip]
mov rdi, r12
mov DWORD PTR [rsp], -187363961
call GG@PLT
mov rcx, r14
mov rdx, rbx
mov rsi, r12
mov r8, QWORD PTR 64[0+r15*8]
mov r9d, DWORD PTR S24[rip]
mov rdi, r13
mov DWORD PTR [rsp], 1163531501
call GG@PLT
mov rcx, rbx
mov rdx, r12
mov rsi, r13
mov r8, QWORD PTR 104[0+r15*8]
mov r9d, DWORD PTR S21[rip]
mov rdi, r14
mov DWORD PTR [rsp], -1444681467
call GG@PLT
mov rcx, r12
mov rdx, r13
mov rsi, r14
mov r8, QWORD PTR 16[0+r15*8]
mov r9d, DWORD PTR S22[rip]
mov rdi, rbx
mov DWORD PTR [rsp], -51403784
call GG@PLT
mov rcx, r13
mov rdx, r14
mov rsi, rbx
mov r8, QWORD PTR 56[0+r15*8]
mov r9d, DWORD PTR S23[rip]
mov rdi, r12
mov DWORD PTR [rsp], 1735328473
call GG@PLT
mov rcx, r14
mov rdx, rbx
mov rsi, r12
mov r8, QWORD PTR 96[0+r15*8]
mov r9d, DWORD PTR S24[rip]
mov rdi, r13
mov DWORD PTR [rsp], -1926607734
call GG@PLT
mov rcx, rbx
mov rdx, r12
mov rsi, r13
mov r8, QWORD PTR 40[0+r15*8]
mov r9d, DWORD PTR S31[rip]
mov rdi, r14
mov DWORD PTR [rsp], -378558
call HH@PLT
mov rcx, r12
mov rdx, r13
mov rsi, r14
mov r8, QWORD PTR 64[0+r15*8]
mov r9d, DWORD PTR S32[rip]
mov rdi, rbx
mov DWORD PTR [rsp], -2022574463
call HH@PLT
mov rcx, r13
mov rdx, r14
mov rsi, rbx
mov r8, QWORD PTR 88[0+r15*8]
mov r9d, DWORD PTR S33[rip]
mov rdi, r12
mov DWORD PTR [rsp], 1839030562
call HH@PLT
mov rcx, r14
mov rdx, rbx
mov rsi, r12
mov r8, QWORD PTR 112[0+r15*8]
mov r9d, DWORD PTR S34[rip]
mov rdi, r13
mov DWORD PTR [rsp], -35309556
call HH@PLT
mov rcx, rbx
mov rdx, r12
mov rsi, r13
mov r8, QWORD PTR 8[0+r15*8]
mov r9d, DWORD PTR S31[rip]
mov rdi, r14
mov DWORD PTR [rsp], -1530992060
call HH@PLT
mov rcx, r12
mov rdx, r13
mov rsi, r14
mov r8, QWORD PTR 32[0+r15*8]
mov r9d, DWORD PTR S32[rip]
mov rdi, rbx
mov DWORD PTR [rsp], 1272893353
call HH@PLT
mov rcx, r13
mov rdx, r14
mov rsi, rbx
mov r8, QWORD PTR 56[0+r15*8]
mov r9d, DWORD PTR S33[rip]
mov rdi, r12
mov DWORD PTR [rsp], -155497632
call HH@PLT
mov rcx, r14
mov rdx, rbx
mov rsi, r12
mov r8, QWORD PTR 80[0+r15*8]
mov r9d, DWORD PTR S34[rip]
mov rdi, r13
mov DWORD PTR [rsp], -1094730640
call HH@PLT
mov rcx, rbx
mov rdx, r12
mov rsi, r13
mov r8, QWORD PTR 104[0+r15*8]
mov r9d, DWORD PTR S31[rip]
mov rdi, r14
mov DWORD PTR [rsp], 681279174
call HH@PLT
mov rcx, r12
mov rdx, r13
mov rsi, r14
mov r9d, DWORD PTR S32[rip]
mov r8, QWORD PTR 0[0+r15*8]
mov rdi, rbx
mov DWORD PTR [rsp], -358537222
call HH@PLT
mov rcx, r13
mov rdx, r14
mov rsi, rbx
mov r8, QWORD PTR 24[0+r15*8]
mov r9d, DWORD PTR S33[rip]
mov rdi, r12
mov DWORD PTR [rsp], -722521979
call HH@PLT
mov rcx, r14
mov rdx, rbx
mov rsi, r12
mov r8, QWORD PTR 48[0+r15*8]
mov r9d, DWORD PTR S34[rip]
mov rdi, r13
mov DWORD PTR [rsp], 76029189
call HH@PLT
mov rcx, rbx
mov rdx, r12
mov rsi, r13
mov r8, QWORD PTR 72[0+r15*8]
mov r9d, DWORD PTR S31[rip]
mov rdi, r14
mov DWORD PTR [rsp], -640364487
call HH@PLT
mov rcx, r12
mov rdx, r13
mov rsi, r14
mov r8, QWORD PTR 96[0+r15*8]
mov r9d, DWORD PTR S32[rip]
mov rdi, rbx
mov DWORD PTR [rsp], -421815835
call HH@PLT
mov rcx, r13
mov rdx, r14
mov rsi, rbx
mov r8, QWORD PTR 120[0+r15*8]
mov r9d, DWORD PTR S33[rip]
mov rdi, r12
mov DWORD PTR [rsp], 530742520
call HH@PLT
mov rcx, r14
mov rdx, rbx
mov rsi, r12
mov r8, QWORD PTR 16[0+r15*8]
mov r9d, DWORD PTR S34[rip]
mov rdi, r13
mov DWORD PTR [rsp], -995338651
call HH@PLT
mov rcx, rbx
mov rdx, r12
mov rsi, r13
mov r9d, DWORD PTR S41[rip]
mov r8, QWORD PTR 0[0+r15*8]
mov rdi, r14
mov DWORD PTR [rsp], -198630844
call II@PLT
mov rcx, r12
mov rdx, r13
mov rsi, r14
mov r8, QWORD PTR 56[0+r15*8]
mov r9d, DWORD PTR S42[rip]
mov rdi, rbx
mov DWORD PTR [rsp], 1126891415
call II@PLT
mov rcx, r13
mov rdx, r14
mov rsi, rbx
mov r8, QWORD PTR 112[0+r15*8]
mov r9d, DWORD PTR S43[rip]
mov rdi, r12
mov DWORD PTR [rsp], -1416354905
call II@PLT
mov rcx, r14
mov rdx, rbx
mov rsi, r12
mov r8, QWORD PTR 40[0+r15*8]
mov r9d, DWORD PTR S44[rip]
mov rdi, r13
mov DWORD PTR [rsp], -57434055
call II@PLT
mov rcx, rbx
mov rdx, r12
mov rsi, r13
mov r8, QWORD PTR 96[0+r15*8]
mov r9d, DWORD PTR S41[rip]
mov rdi, r14
mov DWORD PTR [rsp], 1700485571
call II@PLT
mov rcx, r12
mov rdx, r13
mov rsi, r14
mov r8, QWORD PTR 24[0+r15*8]
mov r9d, DWORD PTR S42[rip]
mov rdi, rbx
mov DWORD PTR [rsp], -1894986606
call II@PLT
mov rcx, r13
mov rdx, r14
mov rsi, rbx
mov r8, QWORD PTR 80[0+r15*8]
mov r9d, DWORD PTR S43[rip]
mov rdi, r12
mov DWORD PTR [rsp], -1051523
call II@PLT
mov rcx, r14
mov rdx, rbx
mov rsi, r12
mov r8, QWORD PTR 8[0+r15*8]
mov r9d, DWORD PTR S44[rip]
mov rdi, r13
mov DWORD PTR [rsp], -2054922799
call II@PLT
mov rcx, rbx
mov rdx, r12
mov rsi, r13
mov r8, QWORD PTR 64[0+r15*8]
mov r9d, DWORD PTR S41[rip]
mov rdi, r14
mov DWORD PTR [rsp], 1873313359
call II@PLT
mov rcx, r12
mov rdx, r13
mov rsi, r14
mov r8, QWORD PTR 120[0+r15*8]
mov r9d, DWORD PTR S42[rip]
mov rdi, rbx
mov DWORD PTR [rsp], -30611744
call II@PLT
mov rcx, r13
mov rdx, r14
mov rsi, rbx
mov r8, QWORD PTR 48[0+r15*8]
mov r9d, DWORD PTR S43[rip]
mov rdi, r12
mov DWORD PTR [rsp], -1560198380
call II@PLT
mov rcx, r14
mov rdx, rbx
mov rsi, r12
mov r8, QWORD PTR 104[0+r15*8]
mov r9d, DWORD PTR S44[rip]
mov rdi, r13
mov DWORD PTR [rsp], 1309151649
call II@PLT
mov rcx, rbx
mov rdx, r12
mov rsi, r13
mov r8, QWORD PTR 32[0+r15*8]
mov r9d, DWORD PTR S41[rip]
mov rdi, r14
mov DWORD PTR [rsp], -145523070
call II@PLT
mov rcx, r12
mov rdx, r13
mov rsi, r14
mov r8, QWORD PTR 88[0+r15*8]
mov r9d, DWORD PTR S42[rip]
mov rdi, rbx
mov DWORD PTR [rsp], -1120210379
call II@PLT
mov rcx, r13
mov rdx, r14
mov rsi, rbx
mov r8, QWORD PTR 16[0+r15*8]
mov r9d, DWORD PTR S43[rip]
mov rdi, r12
mov DWORD PTR [rsp], 718787259
call II@PLT
mov rdx, rbx
mov rcx, r14
mov rsi, r12
mov r8, QWORD PTR 72[0+r15*8]
mov r9d, DWORD PTR S44[rip]
mov rdi, r13
mov DWORD PTR [rsp], -343485551
call II@PLT
mov r10, QWORD PTR -72[rbp]
add QWORD PTR [r10], r14
add QWORD PTR 8[r10], r13
add QWORD PTR 16[r10], r12
add QWORD PTR 24[r10], rbx
pop rax
pop rdx
mov rax, QWORD PTR -56[rbp]
sub rax, QWORD PTR fs:40
jne .L13
lea rsp, -40[rbp]
pop rbx
pop r12
pop r13
pop r14
pop r15
pop rbp
.cfi_remember_state
.cfi_def_cfa 7, 8
ret
.p2align 4,,10
.p2align 3
.L12:
.cfi_restore_state
or QWORD PTR -8[rsp+rdx], 0
jmp .L4
.L13:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size MD5Transform, .-MD5Transform
.globl S44
.bss
.align 4
.type S44, @object
.size S44, 4
S44:
.zero 4
.globl S43
.align 4
.type S43, @object
.size S43, 4
S43:
.zero 4
.globl S42
.align 4
.type S42, @object
.size S42, 4
S42:
.zero 4
.globl S41
.align 4
.type S41, @object
.size S41, 4
S41:
.zero 4
.globl S34
.align 4
.type S34, @object
.size S34, 4
S34:
.zero 4
.globl S33
.align 4
.type S33, @object
.size S33, 4
S33:
.zero 4
.globl S32
.align 4
.type S32, @object
.size S32, 4
S32:
.zero 4
.globl S31
.align 4
.type S31, @object
.size S31, 4
S31:
.zero 4
.globl S24
.align 4
.type S24, @object
.size S24, 4
S24:
.zero 4
.globl S23
.align 4
.type S23, @object
.size S23, 4
S23:
.zero 4
.globl S22
.align 4
.type S22, @object
.size S22, 4
S22:
.zero 4
.globl S21
.align 4
.type S21, @object
.size S21, 4
S21:
.zero 4
.globl S14
.align 4
.type S14, @object
.size S14, 4
S14:
.zero 4
.globl S13
.align 4
.type S13, @object
.size S13, 4
S13:
.zero 4
.globl S12
.align 4
.type S12, @object
.size S12, 4
S12:
.zero 4
.globl S11
.align 4
.type S11, @object
.size S11, 4
S11:
.zero 4
.globl MD5_SIZE
.align 4
.type MD5_SIZE, @object
.size MD5_SIZE, 4
MD5_SIZE:
.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_md5.c_MD5Transform.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type MD5Transform, %function
MD5Transform:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
add fp, sp, #32
sub sp, sp, #36
mov ip, r0
ldr r3, .L6
ldr r10, .L6+4
ldr r3, [r3]
mov r2, #64
ldm ip, {r4, r5, r6}
lsl r3, r3, #2
add r3, r3, #7
bic r3, r3, #7
sub sp, sp, r3
add r8, sp, #16
ldr r3, .L6+8
mov r0, r8
ldr r7, [ip, #12]
ldr r3, [r3]
str r3, [fp, #-40]
mov r3,#0
str ip, [fp, #-48]
bl Decode
ldr r3, [r10]
ldr r2, .L6+12
str r3, [sp, #4]
str r2, [sp, #8]
ldr r3, [r8]
mov r2, r6
mov r1, r5
mov r0, r4
str r3, [sp]
mov r3, r7
bl FF
ldr r3, .L6+16
ldr r2, .L6+20
ldr r3, [r3]
str r2, [sp, #8]
str r3, [sp, #4]
ldr r3, [r8, #4]
mov r2, r5
mov r1, r4
mov r0, r7
str r3, [sp]
mov r3, r6
bl FF
ldr r1, .L6+24
ldr r2, .L6+28
ldr r3, [r1]
str r2, [sp, #8]
str r3, [sp, #4]
ldr r3, [r8, #8]
ldr r9, .L6+32
mov r2, r4
mov r1, r7
mov r0, r6
str r3, [sp]
mov r3, r5
bl FF
ldr r3, [r9]
ldr r2, .L6+36
str r3, [sp, #4]
str r2, [sp, #8]
ldr r2, [r8, #12]
mov r3, r4
mov r1, r6
mov r0, r5
str r2, [sp]
mov r2, r7
bl FF
ldr r3, [r10]
ldr r2, .L6+40
str r3, [sp, #4]
str r2, [sp, #8]
ldr r2, [r8, #16]
mov r3, r7
mov r1, r5
mov r0, r4
str r2, [sp]
mov r2, r6
bl FF
ldr r3, .L6+16
ldr r2, .L6+44
ldr r3, [r3]
str r2, [sp, #8]
str r3, [sp, #4]
ldr r2, [r8, #20]
mov r3, r6
mov r1, r4
mov r0, r7
str r2, [sp]
mov r2, r5
bl FF
ldr r1, .L6+24
ldr r2, .L6+48
ldr r3, [r1]
str r2, [sp, #8]
str r3, [sp, #4]
ldr r2, [r8, #24]
mov r3, r5
mov r1, r7
mov r0, r6
str r2, [sp]
mov r2, r4
bl FF
ldr r3, [r9]
ldr r2, .L6+52
str r3, [sp, #4]
str r2, [sp, #8]
ldr r2, [r8, #28]
mov r3, r4
mov r1, r6
mov r0, r5
str r2, [sp]
mov r2, r7
bl FF
ldr r3, [r10]
ldr r2, .L6+56
str r3, [sp, #4]
str r2, [sp, #8]
ldr r2, [r8, #32]
mov r3, r7
mov r1, r5
mov r0, r4
str r2, [sp]
mov r2, r6
bl FF
ldr r3, .L6+16
ldr r2, .L6+60
ldr r3, [r3]
str r2, [sp, #8]
str r3, [sp, #4]
ldr r2, [r8, #36]
mov r3, r6
mov r1, r4
mov r0, r7
str r2, [sp]
mov r2, r5
bl FF
ldr r1, .L6+24
ldr r2, .L6+64
ldr r3, [r1]
str r2, [sp, #8]
str r3, [sp, #4]
ldr r2, [r8, #40]
mov r3, r5
mov r1, r7
mov r0, r6
str r2, [sp]
mov r2, r4
bl FF
ldr r3, [r9]
ldr r2, .L6+68
str r3, [sp, #4]
str r2, [sp, #8]
ldr r2, [r8, #44]
mov r3, r4
mov r1, r6
mov r0, r5
str r2, [sp]
mov r2, r7
bl FF
ldr r2, [r10]
ldr r3, .L6+72
mov r1, r5
stmib sp, {r2, r3}
ldr r2, [r8, #48]
mov r3, r7
mov r0, r4
str r2, [sp]
mov r2, r6
bl FF
ldr r3, .L6+16
mov r1, r4
ldr r2, [r3]
ldr r3, .L6+76
mov r0, r7
stmib sp, {r2, r3}
ldr r2, [r8, #52]
mov r3, r6
str r2, [sp]
mov r2, r5
bl FF
ldr r1, .L6+24
ldr r3, .L6+80
ldr r2, [r1]
mov r0, r6
stmib sp, {r2, r3}
ldr r3, [r8, #56]
mov r1, r7
mov r2, r4
str r3, [sp]
mov r3, r5
bl FF
ldr r2, [r9]
ldr r3, .L6+84
ldr r10, .L6+88
stmib sp, {r2, r3}
ldr r3, [r8, #60]
mov r2, r7
mov r1, r6
mov r0, r5
str r3, [sp]
mov r3, r4
bl FF
ldr r3, [r10]
ldr r2, .L6+92
str r3, [sp, #4]
str r2, [sp, #8]
ldr r2, [r8, #4]
mov r3, r7
mov r1, r5
mov r0, r4
str r2, [sp]
mov r2, r6
bl GG
ldr r3, .L6+96
ldr r2, .L6+100
ldr r3, [r3]
str r2, [sp, #8]
str r3, [sp, #4]
ldr r3, [r8, #24]
mov r2, r5
mov r1, r4
mov r0, r7
str r3, [sp]
mov r3, r6
bl GG
ldr r1, .L6+104
ldr r2, .L6+108
ldr r3, [r1]
str r2, [sp, #8]
str r3, [sp, #4]
ldr r3, [r8, #44]
ldr r9, .L6+112
mov r1, r7
mov r2, r4
mov r0, r6
str r3, [sp]
mov r3, r5
bl GG
ldr r3, [r9]
ldr r2, .L6+116
str r3, [sp, #4]
str r2, [sp, #8]
ldr r3, [r8]
mov r2, r7
mov r1, r6
mov r0, r5
str r3, [sp]
mov r3, r4
bl GG
ldr r2, [r10]
ldr r3, .L6+120
mov r1, r5
stmib sp, {r2, r3}
ldr r2, [r8, #20]
mov r3, r7
mov r0, r4
str r2, [sp]
mov r2, r6
bl GG
ldr r3, .L6+96
mov r1, r4
ldr r2, [r3]
ldr r3, .L6+124
mov r0, r7
stmib sp, {r2, r3}
ldr r3, [r8, #40]
mov r2, r5
str r3, [sp]
mov r3, r6
bl GG
ldr r1, .L6+104
ldr r3, .L6+128
ldr r2, [r1]
mov r0, r6
stmib sp, {r2, r3}
ldr r3, [r8, #60]
mov r1, r7
mov r2, r4
str r3, [sp]
mov r3, r5
bl GG
ldr r2, [r9]
ldr r3, .L6+132
mov r1, r6
stmib sp, {r2, r3}
ldr r3, [r8, #16]
mov r2, r7
mov r0, r5
str r3, [sp]
mov r3, r4
bl GG
ldr r2, [r10]
ldr r3, .L6+136
mov r1, r5
stmib sp, {r2, r3}
ldr r2, [r8, #36]
mov r3, r7
mov r0, r4
str r2, [sp]
mov r2, r6
bl GG
ldr r3, .L6+96
mov r1, r4
ldr r2, [r3]
ldr r3, .L6+140
mov r0, r7
stmib sp, {r2, r3}
ldr r3, [r8, #56]
mov r2, r5
str r3, [sp]
mov r3, r6
bl GG
ldr r1, .L6+104
ldr r3, .L6+144
ldr r2, [r1]
mov r0, r6
stmib sp, {r2, r3}
ldr r3, [r8, #12]
mov r1, r7
mov r2, r4
str r3, [sp]
mov r3, r5
bl GG
ldr r2, [r9]
ldr r3, .L6+148
mov r1, r6
stmib sp, {r2, r3}
ldr r3, [r8, #32]
mov r2, r7
mov r0, r5
str r3, [sp]
mov r3, r4
bl GG
ldr r2, [r10]
ldr r3, .L6+152
mov r1, r5
stmib sp, {r2, r3}
ldr r2, [r8, #52]
mov r3, r7
mov r0, r4
str r2, [sp]
mov r2, r6
bl GG
ldr r3, .L6+96
mov r1, r4
ldr r2, [r3]
ldr r3, .L6+156
mov r0, r7
stmib sp, {r2, r3}
ldr r3, [r8, #8]
mov r2, r5
str r3, [sp]
mov r3, r6
bl GG
ldr r1, .L6+104
ldr r3, .L6+160
ldr r2, [r1]
mov r0, r6
stmib sp, {r2, r3}
ldr r3, [r8, #28]
mov r1, r7
mov r2, r4
str r3, [sp]
mov r3, r5
bl GG
ldr r2, [r9]
ldr r3, .L6+164
ldr r10, .L6+168
stmib sp, {r2, r3}
ldr r3, [r8, #48]
mov r2, r7
mov r1, r6
mov r0, r5
str r3, [sp]
mov r3, r4
bl GG
ldr r3, [r10]
ldr r2, .L6+172
str r3, [sp, #4]
str r2, [sp, #8]
ldr r2, [r8, #20]
mov r3, r7
mov r1, r5
mov r0, r4
str r2, [sp]
mov r2, r6
bl HH
ldr r3, .L6+176
ldr r2, .L6+180
ldr r3, [r3]
str r2, [sp, #8]
str r3, [sp, #4]
ldr r3, [r8, #32]
mov r2, r5
mov r1, r4
mov r0, r7
str r3, [sp]
mov r3, r6
bl HH
ldr r1, .L6+184
ldr r2, .L6+188
ldr r3, [r1]
str r2, [sp, #8]
str r3, [sp, #4]
ldr r3, [r8, #44]
ldr r9, .L6+192
mov r1, r7
mov r2, r4
mov r0, r6
str r3, [sp]
mov r3, r5
bl HH
ldr r3, [r9]
ldr r2, .L6+196
str r3, [sp, #4]
str r2, [sp, #8]
ldr r3, [r8, #56]
mov r2, r7
mov r1, r6
mov r0, r5
str r3, [sp]
mov r3, r4
bl HH
ldr r2, [r10]
ldr r3, .L6+200
mov r1, r5
stmib sp, {r2, r3}
ldr r2, [r8, #4]
mov r3, r7
mov r0, r4
str r2, [sp]
mov r2, r6
bl HH
ldr r3, .L6+176
mov r1, r4
ldr r2, [r3]
ldr r3, .L6+204
mov r0, r7
stmib sp, {r2, r3}
ldr r3, [r8, #16]
mov r2, r5
str r3, [sp]
mov r3, r6
bl HH
ldr r1, .L6+184
ldr r3, .L6+208
ldr r2, [r1]
mov r0, r6
stmib sp, {r2, r3}
ldr r3, [r8, #28]
mov r1, r7
mov r2, r4
str r3, [sp]
mov r3, r5
bl HH
ldr r2, [r9]
ldr r3, .L6+212
mov r1, r6
stmib sp, {r2, r3}
ldr r3, [r8, #40]
mov r2, r7
mov r0, r5
str r3, [sp]
mov r3, r4
bl HH
ldr r2, [r10]
ldr r3, .L6+216
mov r1, r5
stmib sp, {r2, r3}
ldr r2, [r8, #52]
mov r3, r7
mov r0, r4
str r2, [sp]
mov r2, r6
bl HH
ldr r3, .L6+176
mov r1, r4
ldr r2, [r3]
ldr r3, .L6+220
mov r0, r7
stmib sp, {r2, r3}
ldr r3, [r8]
mov r2, r5
str r3, [sp]
mov r3, r6
bl HH
ldr r1, .L6+184
ldr r3, .L6+224
ldr r2, [r1]
mov r0, r6
stmib sp, {r2, r3}
ldr r3, [r8, #12]
mov r1, r7
mov r2, r4
str r3, [sp]
mov r3, r5
bl HH
ldr r2, [r9]
ldr r3, .L6+228
mov r1, r6
stmib sp, {r2, r3}
ldr r3, [r8, #24]
mov r2, r7
mov r0, r5
str r3, [sp]
mov r3, r4
bl HH
ldr r2, [r10]
ldr r3, .L6+232
mov r1, r5
stmib sp, {r2, r3}
ldr r2, [r8, #36]
mov r3, r7
mov r0, r4
str r2, [sp]
mov r2, r6
bl HH
ldr r3, .L6+176
mov r1, r4
ldr r2, [r3]
ldr r3, .L6+236
mov r0, r7
stmib sp, {r2, r3}
ldr r3, [r8, #48]
mov r2, r5
str r3, [sp]
mov r3, r6
bl HH
ldr r1, .L6+184
ldr r3, .L6+240
ldr r2, [r1]
mov r0, r6
stmib sp, {r2, r3}
ldr r2, [r8, #60]
mov r3, r5
mov r1, r7
str r2, [sp]
mov r2, r4
bl HH
ldr r2, [r9]
ldr r3, .L6+244
ldr r10, .L6+248
stmib sp, {r2, r3}
ldr r3, [r8, #8]
mov r2, r7
mov r1, r6
mov r0, r5
str r3, [sp]
mov r3, r4
bl HH
ldr r3, [r10]
ldr r2, .L6+252
str r3, [sp, #4]
str r2, [sp, #8]
ldr r3, [r8]
mov r2, r6
mov r1, r5
mov r0, r4
str r3, [sp]
mov r3, r7
bl II
ldr r3, .L6+256
ldr r2, .L6+260
ldr r3, [r3]
str r2, [sp, #8]
str r3, [sp, #4]
ldr r3, [r8, #28]
mov r2, r5
mov r1, r4
mov r0, r7
str r3, [sp]
mov r3, r6
bl II
ldr r1, .L6+264
ldr r2, .L6+268
ldr r3, [r1]
str r2, [sp, #8]
str r3, [sp, #4]
ldr r3, [r8, #56]
ldr r9, .L6+272
mov r2, r4
mov r1, r7
mov r0, r6
str r3, [sp]
mov r3, r5
bl II
ldr r3, [r9]
ldr r2, .L6+276
str r3, [sp, #4]
str r2, [sp, #8]
ldr r2, [r8, #20]
mov r3, r4
mov r1, r6
mov r0, r5
str r2, [sp]
mov r2, r7
bl II
ldr r3, [r10]
ldr r2, .L6+280
str r3, [sp, #4]
str r2, [sp, #8]
ldr r2, [r8, #48]
mov r3, r7
mov r1, r5
mov r0, r4
str r2, [sp]
mov r2, r6
bl II
ldr r3, .L6+256
ldr r2, .L6+284
ldr r3, [r3]
str r2, [sp, #8]
str r3, [sp, #4]
ldr r2, [r8, #12]
mov r3, r6
mov r1, r4
mov r0, r7
str r2, [sp]
mov r2, r5
bl II
ldr r1, .L6+264
ldr r2, .L6+288
ldr r3, [r1]
str r2, [sp, #8]
str r3, [sp, #4]
ldr r2, [r8, #40]
mov r3, r5
mov r1, r7
mov r0, r6
str r2, [sp]
mov r2, r4
bl II
ldr r3, [r9]
ldr r2, .L6+292
str r3, [sp, #4]
str r2, [sp, #8]
ldr r2, [r8, #4]
mov r3, r4
mov r1, r6
mov r0, r5
str r2, [sp]
mov r2, r7
bl II
ldr r3, [r10]
ldr r2, .L6+296
str r3, [sp, #4]
str r2, [sp, #8]
ldr r2, [r8, #32]
mov r3, r7
mov r1, r5
mov r0, r4
str r2, [sp]
mov r2, r6
bl II
ldr r3, .L6+256
ldr r2, .L6+300
ldr r3, [r3]
str r2, [sp, #8]
str r3, [sp, #4]
ldr r2, [r8, #60]
mov r3, r6
mov r1, r4
mov r0, r7
str r2, [sp]
mov r2, r5
bl II
ldr r1, .L6+264
ldr r2, .L6+304
ldr r3, [r1]
str r2, [sp, #8]
str r3, [sp, #4]
ldr r2, [r8, #24]
mov r3, r5
mov r1, r7
mov r0, r6
str r2, [sp]
mov r2, r4
bl II
ldr r3, [r9]
ldr r2, .L6+308
str r3, [sp, #4]
str r2, [sp, #8]
ldr r2, [r8, #52]
mov r3, r4
mov r1, r6
mov r0, r5
str r2, [sp]
mov r2, r7
bl II
ldr r2, [r10]
ldr r3, .L6+312
mov r1, r5
stmib sp, {r2, r3}
ldr r2, [r8, #16]
mov r3, r7
mov r0, r4
str r2, [sp]
mov r2, r6
bl II
ldr r3, .L6+256
mov r1, r4
ldr r2, [r3]
ldr r3, .L6+316
mov r0, r7
stmib sp, {r2, r3}
ldr r2, [r8, #44]
mov r3, r6
str r2, [sp]
mov r2, r5
bl II
ldr r1, .L6+264
ldr r3, .L6+320
ldr r2, [r1]
mov r0, r6
stmib sp, {r2, r3}
ldr r2, [r8, #8]
mov r3, r5
mov r1, r7
str r2, [sp]
mov r2, r4
bl II
ldr r2, [r9]
ldr r3, .L6+324
mov r1, r6
stmib sp, {r2, r3}
ldr r2, [r8, #36]
mov r3, r4
mov r0, r5
str r2, [sp]
mov r2, r7
bl II
ldr ip, [fp, #-48]
ldr r2, [ip, #4]
ldr r3, [ip]
ldr r0, [ip, #12]
ldr r1, [ip, #8]
add r5, r2, r5
add r4, r3, r4
add r7, r0, r7
add r6, r1, r6
stm ip, {r4, r5, r6, r7}
ldr r3, .L6+8
ldr r2, [r3]
ldr r3, [fp, #-40]
eors r2, r3, r2
mov r3, #0
bne .L5
sub sp, fp, #32
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
bl __stack_chk_fail
.L7:
.align 2
.L6:
.word MD5_SIZE
.word S11
.word .LC0
.word -680876936
.word S12
.word -389564586
.word S13
.word 606105819
.word S14
.word -1044525330
.word -176418897
.word 1200080426
.word -1473231341
.word -45705983
.word 1770035416
.word -1958414417
.word -42063
.word -1990404162
.word 1804603682
.word -40341101
.word -1502002290
.word 1236535329
.word S21
.word -165796510
.word S22
.word -1069501632
.word S23
.word 643717713
.word S24
.word -373897302
.word -701558691
.word 38016083
.word -660478335
.word -405537848
.word 568446438
.word -1019803690
.word -187363961
.word 1163531501
.word -1444681467
.word -51403784
.word 1735328473
.word -1926607734
.word S31
.word -378558
.word S32
.word -2022574463
.word S33
.word 1839030562
.word S34
.word -35309556
.word -1530992060
.word 1272893353
.word -155497632
.word -1094730640
.word 681279174
.word -358537222
.word -722521979
.word 76029189
.word -640364487
.word -421815835
.word 530742520
.word -995338651
.word S41
.word -198630844
.word S42
.word 1126891415
.word S43
.word -1416354905
.word S44
.word -57434055
.word 1700485571
.word -1894986606
.word -1051523
.word -2054922799
.word 1873313359
.word -30611744
.word -1560198380
.word 1309151649
.word -145523070
.word -1120210379
.word 718787259
.word -343485551
.size MD5Transform, .-MD5Transform
.comm S44,4,4
.comm S43,4,4
.comm S42,4,4
.comm S41,4,4
.comm S34,4,4
.comm S33,4,4
.comm S32,4,4
.comm S31,4,4
.comm S24,4,4
.comm S23,4,4
.comm S22,4,4
.comm S21,4,4
.comm S14,4,4
.comm S13,4,4
.comm S12,4,4
.comm S11,4,4
.comm MD5_SIZE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_noniso.c_atof.c"
.intel_syntax noprefix
.text
.p2align 4
.globl atof
.type atof, @function
atof:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 24
.cfi_def_cfa_offset 32
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
mov rsi, rsp
call strtod@PLT
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L5
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.L5:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size atof, .-atof
.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_noniso.c_atof.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global atof
.syntax unified
.arm
.fpu softvfp
.type atof, %function
atof:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
str lr, [sp, #-4]!
ldr r3, .L6
sub sp, sp, #12
mov r1, sp
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
bl strtod
ldr r3, .L6
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L5
add sp, sp, #12
@ sp needed
ldr pc, [sp], #4
.L5:
bl __stack_chk_fail
.L7:
.align 2
.L6:
.word .LC0
.size atof, .-atof
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_noniso.c_atoi.c"
.intel_syntax noprefix
.text
.p2align 4
.globl atoi
.type atoi, @function
atoi:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
call atol@PLT
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size atoi, .-atoi
.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_noniso.c_atoi.c"
.text
.align 2
.global atoi
.syntax unified
.arm
.fpu softvfp
.type atoi, %function
atoi:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
b atol
.size atoi, .-atoi
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_noniso.c_atol.c"
.intel_syntax noprefix
.text
.p2align 4
.globl atol
.type atol, @function
atol:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 24
.cfi_def_cfa_offset 32
mov edx, 10
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
mov rsi, rsp
call strtol@PLT
mov rcx, QWORD PTR 8[rsp]
sub rcx, QWORD PTR fs:40
jne .L5
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.L5:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size atol, .-atol
.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_noniso.c_atol.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global atol
.syntax unified
.arm
.fpu softvfp
.type atol, %function
atol:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
str lr, [sp, #-4]!
ldr r3, .L6
sub sp, sp, #12
mov r2, #10
mov r1, sp
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
bl strtol
ldr r3, .L6
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L5
add sp, sp, #12
@ sp needed
ldr pc, [sp], #4
.L5:
bl __stack_chk_fail
.L7:
.align 2
.L6:
.word .LC0
.size atol, .-atol
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_noniso.c_itoa.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "0123456789abcdef"
.text
.p2align 4
.globl itoa
.type itoa, @function
itoa:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
lea eax, -2[rdx]
mov r12, rsi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 8
.cfi_def_cfa_offset 32
cmp eax, 14
ja .L10
cmp edx, 10
jne .L11
mov eax, edi
mov rbx, rsi
lea r8, .LC0[rip]
mov esi, 3435973837
sar eax, 31
mov ecx, eax
xor ecx, edi
sub ecx, eax
.p2align 4,,10
.p2align 3
.L5:
mov ecx, ecx
mov rax, rcx
imul rcx, rsi
movsx rdx, eax
mov r9d, eax
imul rdx, rdx, 1717986919
sar r9d, 31
shr rcx, 35
sar rdx, 34
sub edx, r9d
lea edx, [rdx+rdx*4]
add edx, edx
sub eax, edx
cdqe
movzx eax, BYTE PTR [r8+rax]
mov BYTE PTR [rbx], al
mov rax, rbx
add rbx, 1
test ecx, ecx
jne .L5
test edi, edi
jns .L6
mov BYTE PTR [rbx], 45
lea rbx, 2[rax]
.L6:
mov rsi, rbx
mov rdi, r12
call reverse@PLT
mov BYTE PTR [rbx], 0
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rax, r12
pop rbx
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L11:
.cfi_restore_state
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp utoa@PLT
.p2align 4,,10
.p2align 3
.L10:
.cfi_restore_state
mov BYTE PTR [rsi], 0
add rsp, 8
.cfi_def_cfa_offset 24
mov rax, r12
pop rbx
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size itoa, .-itoa
.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_noniso.c_itoa.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "0123456789abcdef\000"
.text
.align 2
.global itoa
.syntax unified
.arm
.fpu softvfp
.type itoa, %function
itoa:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
sub ip, r2, #2
cmp ip, #14
movhi r3, #0
push {r4, r5, r6, r7, r8, lr}
mov r5, r1
strbhi r3, [r1]
bhi .L1
cmp r2, #10
bne .L10
eor r3, r0, r0, asr #31
mov lr, r0
mov r4, r1
sub r3, r3, r0, asr #31
ldr r6, .L11
ldr r0, .L11+4
ldr r1, .L11+8
.L5:
smull r2, r7, r1, r3
asr r2, r3, #31
umull r8, ip, r0, r3
rsb r2, r2, r7, asr #2
add r2, r2, r2, lsl #2
sub r3, r3, r2, lsl #1
ldrb r2, [r6, r3] @ zero_extendqisi2
lsrs r3, ip, #3
strb r2, [r4]
mov r2, r4
add r4, r4, #1
bne .L5
cmp lr, #0
movlt r3, #45
strblt r3, [r4]
addlt r4, r2, #2
mov r1, r4
mov r0, r5
bl reverse
mov r3, #0
strb r3, [r4]
.L1:
mov r0, r5
pop {r4, r5, r6, r7, r8, pc}
.L10:
pop {r4, r5, r6, r7, r8, lr}
b utoa
.L12:
.align 2
.L11:
.word .LC0
.word -858993459
.word 1717986919
.size itoa, .-itoa
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_noniso.c_reverse.c"
.intel_syntax noprefix
.text
.p2align 4
.globl reverse
.type reverse, @function
reverse:
.LFB0:
.cfi_startproc
endbr64
jmp .L5
.p2align 4,,10
.p2align 3
.L3:
movzx edx, BYTE PTR [rdi]
movzx eax, BYTE PTR [rsi]
add rdi, 1
mov BYTE PTR [rsi], dl
mov BYTE PTR -1[rdi], al
.L5:
sub rsi, 1
cmp rdi, rsi
jb .L3
ret
.cfi_endproc
.LFE0:
.size reverse, .-reverse
.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_noniso.c_reverse.c"
.text
.align 2
.global reverse
.syntax unified
.arm
.fpu softvfp
.type reverse, %function
reverse:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
sub r1, r1, #1
cmp r0, r1
bxcs lr
.L3:
ldrb r3, [r1] @ zero_extendqisi2
ldrb r2, [r0] @ zero_extendqisi2
strb r2, [r1], #-1
strb r3, [r0], #1
cmp r0, r1
bcc .L3
bx lr
.size reverse, .-reverse
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_noniso.c_utoa.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "0123456789abcdef"
.text
.p2align 4
.globl utoa
.type utoa, @function
utoa:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov ecx, edx
sub edx, 2
mov eax, edi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov r12, rsi
mov rbx, rsi
lea rdi, .LC0[rip]
sub rsp, 8
.cfi_def_cfa_offset 32
cmp edx, 14
ja .L10
.p2align 4,,10
.p2align 3
.L2:
xor edx, edx
mov esi, eax
add rbx, 1
div ecx
mov edx, edx
movzx edx, BYTE PTR [rdi+rdx]
mov BYTE PTR -1[rbx], dl
cmp ecx, esi
jbe .L2
mov rsi, rbx
mov rdi, r12
call reverse@PLT
mov BYTE PTR [rbx], 0
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rax, r12
pop rbx
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L10:
.cfi_restore_state
mov BYTE PTR [rsi], 0
add rsp, 8
.cfi_def_cfa_offset 24
mov rax, r12
pop rbx
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size utoa, .-utoa
.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_noniso.c_utoa.c"
.text
.global __aeabi_uidivmod
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "0123456789abcdef\000"
.text
.align 2
.global utoa
.syntax unified
.arm
.fpu softvfp
.type utoa, %function
utoa:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
sub r3, r2, #2
cmp r3, #14
movhi r3, #0
push {r4, r5, r6, r7, r8, lr}
mov r8, r1
strbhi r3, [r1]
bhi .L3
mov r5, r2
mov r4, r0
mov r6, r1
ldr r7, .L8
.L2:
mov r0, r4
mov r1, r5
bl __aeabi_uidivmod
ldrb r3, [r7, r1] @ zero_extendqisi2
cmp r5, r4
strb r3, [r6], #1
mov r4, r0
bls .L2
mov r1, r6
mov r0, r8
bl reverse
mov r3, #0
strb r3, [r6]
.L3:
mov r0, r8
pop {r4, r5, r6, r7, r8, pc}
.L9:
.align 2
.L8:
.word .LC0
.size utoa, .-utoa
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_tcpip.c_mem_free_callback.c"
.intel_syntax noprefix
.text
.p2align 4
.globl mem_free_callback
.type mem_free_callback, @function
mem_free_callback:
.LFB0:
.cfi_startproc
endbr64
mov rsi, rdi
mov edi, DWORD PTR mem_free[rip]
xor edx, edx
jmp tcpip_callback_with_block@PLT
.cfi_endproc
.LFE0:
.size mem_free_callback, .-mem_free_callback
.globl mem_free
.bss
.align 4
.type mem_free, @object
.size mem_free, 4
mem_free:
.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_tcpip.c_mem_free_callback.c"
.text
.align 2
.global mem_free_callback
.syntax unified
.arm
.fpu softvfp
.type mem_free_callback, %function
mem_free_callback:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
mov r1, r0
mov r2, #0
ldr r0, [r3]
b tcpip_callback_with_block
.L4:
.align 2
.L3:
.word mem_free
.size mem_free_callback, .-mem_free_callback
.comm mem_free,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_tcpip.c_pbuf_free_callback.c"
.intel_syntax noprefix
.text
.p2align 4
.globl pbuf_free_callback
.type pbuf_free_callback, @function
pbuf_free_callback:
.LFB0:
.cfi_startproc
endbr64
mov rsi, rdi
mov edi, DWORD PTR pbuf_free_int[rip]
xor edx, edx
jmp tcpip_callback_with_block@PLT
.cfi_endproc
.LFE0:
.size pbuf_free_callback, .-pbuf_free_callback
.globl pbuf_free_int
.bss
.align 4
.type pbuf_free_int, @object
.size pbuf_free_int, 4
pbuf_free_int:
.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_tcpip.c_pbuf_free_callback.c"
.text
.align 2
.global pbuf_free_callback
.syntax unified
.arm
.fpu softvfp
.type pbuf_free_callback, %function
pbuf_free_callback:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
mov r1, r0
mov r2, #0
ldr r0, [r3]
b tcpip_callback_with_block
.L4:
.align 2
.L3:
.word pbuf_free_int
.size pbuf_free_callback, .-pbuf_free_callback
.comm pbuf_free_int,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_tcpip.c_pbuf_free_int.c"
.intel_syntax noprefix
.text
.p2align 4
.type pbuf_free_int, @function
pbuf_free_int:
.LFB0:
.cfi_startproc
endbr64
jmp pbuf_free@PLT
.cfi_endproc
.LFE0:
.size pbuf_free_int, .-pbuf_free_int
.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_tcpip.c_pbuf_free_int.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type pbuf_free_int, %function
pbuf_free_int:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
b pbuf_free
.size pbuf_free_int, .-pbuf_free_int
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_tcpip.c_tcpip_callback_with_block.c"
.intel_syntax noprefix
.text
.p2align 4
.globl tcpip_callback_with_block
.type tcpip_callback_with_block, @function
tcpip_callback_with_block:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12d, edi
lea rdi, mbox[rip]
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rbp, rsi
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
mov rbx, rdx
sub rsp, 8
.cfi_def_cfa_offset 48
call sys_mbox_valid@PLT
mov r8, rax
mov rax, QWORD PTR ERR_VAL[rip]
test r8, r8
jne .L11
.L1:
add rsp, 8
.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
.L11:
.cfi_restore_state
mov edi, DWORD PTR MEMP_TCPIP_MSG_API[rip]
call memp_malloc@PLT
mov r13, rax
test rax, rax
je .L9
mov eax, DWORD PTR TCPIP_MSG_CALLBACK[rip]
mov DWORD PTR 8[r13], r12d
mov rsi, r13
lea rdi, mbox[rip]
mov QWORD PTR 0[r13], rbp
mov DWORD PTR 16[r13], eax
test rbx, rbx
jne .L12
call sys_mbox_trypost@PLT
mov r8, rax
mov rax, QWORD PTR ERR_OK[rip]
cmp r8, rax
je .L1
mov edi, DWORD PTR MEMP_TCPIP_MSG_API[rip]
mov rsi, r13
call memp_free@PLT
.L9:
mov rax, QWORD PTR ERR_MEM[rip]
add rsp, 8
.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
.L12:
.cfi_restore_state
call sys_mbox_post@PLT
mov rax, QWORD PTR ERR_OK[rip]
jmp .L1
.cfi_endproc
.LFE0:
.size tcpip_callback_with_block, .-tcpip_callback_with_block
.globl mbox
.bss
.align 4
.type mbox, @object
.size mbox, 4
mbox:
.zero 4
.globl TCPIP_MSG_CALLBACK
.align 4
.type TCPIP_MSG_CALLBACK, @object
.size TCPIP_MSG_CALLBACK, 4
TCPIP_MSG_CALLBACK:
.zero 4
.globl MEMP_TCPIP_MSG_API
.align 4
.type MEMP_TCPIP_MSG_API, @object
.size MEMP_TCPIP_MSG_API, 4
MEMP_TCPIP_MSG_API:
.zero 4
.globl ERR_VAL
.align 8
.type ERR_VAL, @object
.size ERR_VAL, 8
ERR_VAL:
.zero 8
.globl ERR_OK
.align 8
.type ERR_OK, @object
.size ERR_OK, 8
ERR_OK:
.zero 8
.globl ERR_MEM
.align 8
.type ERR_MEM, @object
.size ERR_MEM, 8
ERR_MEM:
.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_tcpip.c_tcpip_callback_with_block.c"
.text
.align 2
.global tcpip_callback_with_block
.syntax unified
.arm
.fpu softvfp
.type tcpip_callback_with_block, %function
tcpip_callback_with_block:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r7, r0
ldr r0, .L12
mov r6, r1
mov r4, r2
bl sys_mbox_valid
cmp r0, #0
bne .L10
ldr r3, .L12+4
ldr r0, [r3]
pop {r4, r5, r6, r7, r8, pc}
.L10:
ldr r8, .L12+8
ldr r0, [r8]
bl memp_malloc
subs r5, r0, #0
beq .L8
ldr r3, .L12+12
cmp r4, #0
ldr r3, [r3]
mov r1, r5
ldr r0, .L12
str r7, [r5, #4]
str r3, [r5, #8]
str r6, [r5]
bne .L11
bl sys_mbox_trypost
mov r3, r0
ldr r2, .L12+16
ldr r0, [r2]
cmp r3, r0
popeq {r4, r5, r6, r7, r8, pc}
mov r1, r5
ldr r0, [r8]
bl memp_free
.L8:
ldr r3, .L12+20
ldr r0, [r3]
pop {r4, r5, r6, r7, r8, pc}
.L11:
bl sys_mbox_post
ldr r3, .L12+16
ldr r0, [r3]
pop {r4, r5, r6, r7, r8, pc}
.L13:
.align 2
.L12:
.word mbox
.word ERR_VAL
.word MEMP_TCPIP_MSG_API
.word TCPIP_MSG_CALLBACK
.word ERR_OK
.word ERR_MEM
.size tcpip_callback_with_block, .-tcpip_callback_with_block
.comm mbox,4,4
.comm TCPIP_MSG_CALLBACK,4,4
.comm MEMP_TCPIP_MSG_API,4,4
.comm ERR_VAL,4,4
.comm ERR_OK,4,4
.comm ERR_MEM,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_tcpip.c_tcpip_input.c"
.intel_syntax noprefix
.text
.p2align 4
.globl tcpip_input
.type tcpip_input, @function
tcpip_input:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rsi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbx, rdi
lea rdi, mbox[rip]
call sys_mbox_valid@PLT
mov r8, rax
mov rax, QWORD PTR ERR_VAL[rip]
test r8, r8
jne .L9
.L1:
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
.L9:
.cfi_restore_state
mov edi, DWORD PTR MEMP_TCPIP_MSG_INPKT[rip]
call memp_malloc@PLT
mov rbp, rax
test rax, rax
jne .L3
.L7:
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rax, QWORD PTR ERR_MEM[rip]
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
mov eax, DWORD PTR TCPIP_MSG_INPKT[rip]
mov QWORD PTR 8[rbp], rbx
mov rsi, rbp
lea rdi, mbox[rip]
mov QWORD PTR 0[rbp], r12
mov DWORD PTR 16[rbp], eax
call sys_mbox_trypost@PLT
mov r8, rax
mov rax, QWORD PTR ERR_OK[rip]
cmp r8, rax
je .L1
mov edi, DWORD PTR MEMP_TCPIP_MSG_INPKT[rip]
mov rsi, rbp
call memp_free@PLT
jmp .L7
.cfi_endproc
.LFE0:
.size tcpip_input, .-tcpip_input
.globl mbox
.bss
.align 4
.type mbox, @object
.size mbox, 4
mbox:
.zero 4
.globl TCPIP_MSG_INPKT
.align 4
.type TCPIP_MSG_INPKT, @object
.size TCPIP_MSG_INPKT, 4
TCPIP_MSG_INPKT:
.zero 4
.globl TCPIP_DEBUG
.align 4
.type TCPIP_DEBUG, @object
.size TCPIP_DEBUG, 4
TCPIP_DEBUG:
.zero 4
.globl NETIF_FLAG_ETHERNET
.align 4
.type NETIF_FLAG_ETHERNET, @object
.size NETIF_FLAG_ETHERNET, 4
NETIF_FLAG_ETHERNET:
.zero 4
.globl NETIF_FLAG_ETHARP
.align 4
.type NETIF_FLAG_ETHARP, @object
.size NETIF_FLAG_ETHARP, 4
NETIF_FLAG_ETHARP:
.zero 4
.globl MEMP_TCPIP_MSG_INPKT
.align 4
.type MEMP_TCPIP_MSG_INPKT, @object
.size MEMP_TCPIP_MSG_INPKT, 4
MEMP_TCPIP_MSG_INPKT:
.zero 4
.globl ERR_VAL
.align 8
.type ERR_VAL, @object
.size ERR_VAL, 8
ERR_VAL:
.zero 8
.globl ERR_OK
.align 8
.type ERR_OK, @object
.size ERR_OK, 8
ERR_OK:
.zero 8
.globl ERR_MEM
.align 8
.type ERR_MEM, @object
.size ERR_MEM, 8
ERR_MEM:
.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_tcpip.c_tcpip_input.c"
.text
.align 2
.global tcpip_input
.syntax unified
.arm
.fpu softvfp
.type tcpip_input, %function
tcpip_input:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r5, r0
ldr r0, .L9
mov r4, r1
bl sys_mbox_valid
cmp r0, #0
bne .L8
ldr r3, .L9+4
ldr r0, [r3]
pop {r4, r5, r6, r7, r8, pc}
.L8:
ldr r7, .L9+8
ldr r0, [r7]
bl memp_malloc
subs r6, r0, #0
bne .L3
.L6:
ldr r3, .L9+12
ldr r0, [r3]
pop {r4, r5, r6, r7, r8, pc}
.L3:
ldr r3, .L9+16
mov r1, r6
ldr r3, [r3]
ldr r0, .L9
str r3, [r6, #8]
str r5, [r6, #4]
str r4, [r6]
bl sys_mbox_trypost
mov r3, r0
ldr r2, .L9+20
ldr r0, [r2]
cmp r3, r0
popeq {r4, r5, r6, r7, r8, pc}
mov r1, r6
ldr r0, [r7]
bl memp_free
b .L6
.L10:
.align 2
.L9:
.word mbox
.word ERR_VAL
.word MEMP_TCPIP_MSG_INPKT
.word ERR_MEM
.word TCPIP_MSG_INPKT
.word ERR_OK
.size tcpip_input, .-tcpip_input
.comm mbox,4,4
.comm TCPIP_MSG_INPKT,4,4
.comm TCPIP_DEBUG,4,4
.comm NETIF_FLAG_ETHERNET,4,4
.comm NETIF_FLAG_ETHARP,4,4
.comm MEMP_TCPIP_MSG_INPKT,4,4
.comm ERR_VAL,4,4
.comm ERR_OK,4,4
.comm ERR_MEM,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_espconn_buf.c_ringbuf_buffer_size.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ringbuf_buffer_size
.type ringbuf_buffer_size, @function
ringbuf_buffer_size:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR [rdi]
ret
.cfi_endproc
.LFE0:
.size ringbuf_buffer_size, .-ringbuf_buffer_size
.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_espconn_buf.c_ringbuf_buffer_size.c"
.text
.align 2
.global ringbuf_buffer_size
.syntax unified
.arm
.fpu softvfp
.type ringbuf_buffer_size, %function
ringbuf_buffer_size:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r0, [r0]
bx lr
.size ringbuf_buffer_size, .-ringbuf_buffer_size
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_espconn_buf.c_ringbuf_bytes_free.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ringbuf_bytes_free
.type ringbuf_bytes_free, @function
ringbuf_bytes_free:
.LFB0:
.cfi_startproc
endbr64
mov rdx, QWORD PTR 8[rdi]
mov rcx, QWORD PTR [rdi]
mov rax, rdx
sub rax, rcx
sub rax, 1
cmp rcx, rdx
jge .L9
ret
.p2align 4,,10
.p2align 3
.L9:
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
call ringbuf_capacity@PLT
sub rax, QWORD PTR [rbx]
add rax, QWORD PTR 8[rbx]
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size ringbuf_bytes_free, .-ringbuf_bytes_free
.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_espconn_buf.c_ringbuf_bytes_free.c"
.text
.align 2
.global ringbuf_bytes_free
.syntax unified
.arm
.fpu softvfp
.type ringbuf_bytes_free, %function
ringbuf_bytes_free:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldm r0, {r2, r3}
cmp r2, r3
bge .L9
sub r0, r3, r2
sub r0, r0, #1
bx lr
.L9:
push {r4, lr}
mov r4, r0
bl ringbuf_capacity
ldr r3, [r4]
ldr r2, [r4, #4]
sub r3, r3, r2
sub r0, r0, r3
pop {r4, pc}
.size ringbuf_bytes_free, .-ringbuf_bytes_free
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_espconn_buf.c_ringbuf_bytes_used.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ringbuf_bytes_used
.type ringbuf_bytes_used, @function
ringbuf_bytes_used:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 8
.cfi_def_cfa_offset 32
call ringbuf_capacity@PLT
mov rdi, rbp
mov rbx, rax
call ringbuf_bytes_free@PLT
add rsp, 8
.cfi_def_cfa_offset 24
mov r8, rax
mov rax, rbx
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
sub rax, r8
ret
.cfi_endproc
.LFE0:
.size ringbuf_bytes_used, .-ringbuf_bytes_used
.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_espconn_buf.c_ringbuf_bytes_used.c"
.text
.align 2
.global ringbuf_bytes_used
.syntax unified
.arm
.fpu softvfp
.type ringbuf_bytes_used, %function
ringbuf_bytes_used:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r0
bl ringbuf_capacity
mov r4, r0
mov r0, r5
bl ringbuf_bytes_free
sub r0, r4, r0
pop {r4, r5, r6, pc}
.size ringbuf_bytes_used, .-ringbuf_bytes_used
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_espconn_buf.c_ringbuf_capacity.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ringbuf_capacity
.type ringbuf_capacity, @function
ringbuf_capacity:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
call ringbuf_buffer_size@PLT
add rsp, 8
.cfi_def_cfa_offset 8
sub rax, 1
ret
.cfi_endproc
.LFE0:
.size ringbuf_capacity, .-ringbuf_capacity
.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_espconn_buf.c_ringbuf_capacity.c"
.text
.align 2
.global ringbuf_capacity
.syntax unified
.arm
.fpu softvfp
.type ringbuf_capacity, %function
ringbuf_capacity:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl ringbuf_buffer_size
sub r0, r0, #1
pop {r4, pc}
.size ringbuf_capacity, .-ringbuf_capacity
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_espconn_buf.c_ringbuf_findchr.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ringbuf_findchr
.type ringbuf_findchr, @function
ringbuf_findchr:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
mov r15, rdi
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
mov r13, rdx
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, 24
.cfi_def_cfa_offset 80
mov DWORD PTR 12[rsp], esi
jmp .L4
.p2align 4,,10
.p2align 3
.L8:
mov r14, QWORD PTR [r15]
mov rbx, QWORD PTR 8[r15]
mov rdi, r15
call ringbuf_buffer_size@PLT
xor edx, edx
xor edi, edi
sub rbx, r14
movsx rcx, eax
sar rbx, 2
add rbx, r13
mov rax, rbx
div rcx
lea rbx, [r14+rdx*4]
cmp rbp, rbx
seta dil
call lwIP_ASSERT@PLT
mov rdi, rbp
mov rsi, r12
sub rdi, rbx
sub rsi, r13
sar rdi, 2
call LWIP_MIN@PLT
mov esi, DWORD PTR 12[rsp]
mov rdi, rbx
mov rdx, rax
mov rbp, rax
call memchr@PLT
test rax, rax
jne .L7
add r13, rbp
.L4:
mov rdi, r15
call ringbuf_end@PLT
mov rdi, r15
mov rbp, rax
call ringbuf_bytes_used@PLT
mov r12, rax
cmp rax, r13
ja .L8
.L1:
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 56
mov rax, r12
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
.L7:
.cfi_restore_state
sub rax, rbx
sar rax, 2
lea r12, [rax+r13]
jmp .L1
.cfi_endproc
.LFE0:
.size ringbuf_findchr, .-ringbuf_findchr
.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_espconn_buf.c_ringbuf_findchr.c"
.text
.global __aeabi_uidivmod
.align 2
.global ringbuf_findchr
.syntax unified
.arm
.fpu softvfp
.type ringbuf_findchr, %function
ringbuf_findchr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
mov r10, r0
mov r9, r1
mov r8, r2
b .L4
.L8:
mov r0, r10
ldm r10, {r6, r7}
bl ringbuf_buffer_size
sub r7, r7, r6
add r7, r8, r7, asr #2
mov r1, r0
mov r0, r7
bl __aeabi_uidivmod
add r6, r6, r1, lsl #2
cmp r5, r6
movls r0, #0
movhi r0, #1
bl lwIP_ASSERT
sub r0, r5, r6
sub r1, r4, r8
asr r0, r0, #2
bl LWIP_MIN
mov r5, r0
mov r1, r9
mov r0, r6
mov r2, r5
bl memchr
cmp r0, #0
bne .L7
add r8, r8, r5
.L4:
mov r0, r10
bl ringbuf_end
mov r5, r0
mov r0, r10
bl ringbuf_bytes_used
cmp r0, r8
mov r4, r0
bhi .L8
mov r0, r4
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
sub r0, r0, r6
add r4, r8, r0, asr #2
mov r0, r4
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.size ringbuf_findchr, .-ringbuf_findchr
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_espconn_buf.c_ringbuf_free.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ringbuf_free
.type ringbuf_free, @function
ringbuf_free:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
xor edi, edi
test rbx, rbx
je .L2
xor edi, edi
cmp QWORD PTR [rbx], 0
setne dil
.L2:
call lwIP_ASSERT@PLT
mov rax, QWORD PTR [rbx]
mov rdi, QWORD PTR [rax]
call os_free@PLT
mov rdi, QWORD PTR [rbx]
call os_free@PLT
mov QWORD PTR [rbx], 0
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size ringbuf_free, .-ringbuf_free
.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_espconn_buf.c_ringbuf_free.c"
.text
.align 2
.global ringbuf_free
.syntax unified
.arm
.fpu softvfp
.type ringbuf_free, %function
ringbuf_free:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
subs r4, r0, #0
moveq r0, r4
beq .L2
ldr r0, [r4]
subs r0, r0, #0
movne r0, #1
.L2:
bl lwIP_ASSERT
ldr r3, [r4]
ldr r0, [r3]
bl os_free
ldr r0, [r4]
bl os_free
mov r3, #0
str r3, [r4]
pop {r4, pc}
.size ringbuf_free, .-ringbuf_free
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_espconn_buf.c_ringbuf_head.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ringbuf_head
.type ringbuf_head, @function
ringbuf_head:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR [rdi]
ret
.cfi_endproc
.LFE0:
.size ringbuf_head, .-ringbuf_head
.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_espconn_buf.c_ringbuf_head.c"
.text
.align 2
.global ringbuf_head
.syntax unified
.arm
.fpu softvfp
.type ringbuf_head, %function
ringbuf_head:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r0, [r0]
bx lr
.size ringbuf_head, .-ringbuf_head
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_espconn_buf.c_ringbuf_is_empty.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ringbuf_is_empty
.type ringbuf_is_empty, @function
ringbuf_is_empty:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 8
.cfi_def_cfa_offset 32
call ringbuf_bytes_free@PLT
mov rdi, rbp
mov rbx, rax
call ringbuf_capacity@PLT
cmp rbx, rax
sete al
add rsp, 8
.cfi_def_cfa_offset 24
movzx eax, al
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size ringbuf_is_empty, .-ringbuf_is_empty
.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_espconn_buf.c_ringbuf_is_empty.c"
.text
.align 2
.global ringbuf_is_empty
.syntax unified
.arm
.fpu softvfp
.type ringbuf_is_empty, %function
ringbuf_is_empty:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r0
bl ringbuf_bytes_free
mov r4, r0
mov r0, r5
bl ringbuf_capacity
sub r0, r4, r0
clz r0, r0
lsr r0, r0, #5
pop {r4, r5, r6, pc}
.size ringbuf_is_empty, .-ringbuf_is_empty
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_espconn_buf.c_ringbuf_is_full.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ringbuf_is_full
.type ringbuf_is_full, @function
ringbuf_is_full:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
call ringbuf_bytes_free@PLT
test rax, rax
sete al
add rsp, 8
.cfi_def_cfa_offset 8
movzx eax, al
ret
.cfi_endproc
.LFE0:
.size ringbuf_is_full, .-ringbuf_is_full
.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_espconn_buf.c_ringbuf_is_full.c"
.text
.align 2
.global ringbuf_is_full
.syntax unified
.arm
.fpu softvfp
.type ringbuf_is_full, %function
ringbuf_is_full:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl ringbuf_bytes_free
clz r0, r0
lsr r0, r0, #5
pop {r4, pc}
.size ringbuf_is_full, .-ringbuf_is_full
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_espconn_buf.c_ringbuf_memcpy_from.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ringbuf_memcpy_from
.type ringbuf_memcpy_from, @function
ringbuf_memcpy_from:
.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
mov r14, rdi
mov rdi, rsi
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
mov r13, rdx
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
mov rbx, rsi
sub rsp, 24
.cfi_def_cfa_offset 80
call ringbuf_bytes_used@PLT
mov rcx, rax
mov QWORD PTR 8[rsp], rax
xor eax, eax
cmp rcx, r13
jb .L1
mov rdi, rbx
call ringbuf_end@PLT
mov r12, rax
test r13, r13
je .L3
xor ebp, ebp
jmp .L5
.p2align 4,,10
.p2align 3
.L4:
cmp r13, rbp
je .L3
.L5:
xor edi, edi
cmp QWORD PTR [rbx], r12
setb dil
call lwIP_ASSERT@PLT
mov rsi, r13
mov rdi, r12
sub rdi, QWORD PTR [rbx]
sub rsi, rbp
call LWIP_MIN@PLT
mov rsi, QWORD PTR [rbx]
lea rdi, [r14+rbp]
mov rdx, rax
mov r15, rax
call os_memcpy@PLT
mov rax, QWORD PTR [rbx]
add rbp, r15
add rax, r15
mov QWORD PTR [rbx], rax
cmp rax, r12
jne .L4
mov rax, QWORD PTR 8[rbx]
mov QWORD PTR [rbx], rax
cmp r13, rbp
jne .L5
.L3:
mov rdi, rbx
call ringbuf_bytes_used@PLT
xor edi, edi
add r13, rax
cmp r13, QWORD PTR 8[rsp]
sete dil
call lwIP_ASSERT@PLT
mov rax, QWORD PTR [rbx]
.L1:
add rsp, 24
.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 ringbuf_memcpy_from, .-ringbuf_memcpy_from
.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_espconn_buf.c_ringbuf_memcpy_from.c"
.text
.align 2
.global ringbuf_memcpy_from
.syntax unified
.arm
.fpu softvfp
.type ringbuf_memcpy_from, %function
ringbuf_memcpy_from:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
mov r9, r0
mov r0, r1
mov r8, r2
mov r4, r1
bl ringbuf_bytes_used
cmp r0, r8
bcc .L6
mov r10, r0
mov r0, r4
bl ringbuf_end
cmp r8, #0
mov r7, r0
beq .L3
mov r6, #0
.L5:
ldr r0, [r4]
cmp r0, r7
movcs r0, #0
movcc r0, #1
bl lwIP_ASSERT
ldr r0, [r4]
sub r1, r8, r6
sub r0, r7, r0
bl LWIP_MIN
mov r5, r0
mov r2, r0
ldr r1, [r4]
add r0, r9, r6
bl os_memcpy
ldr r2, [r4]
add r6, r6, r5
add r5, r2, r5
cmp r5, r7
ldreq r3, [r4, #4]
str r5, [r4]
streq r3, [r4]
cmp r8, r6
bne .L5
.L3:
mov r0, r4
bl ringbuf_bytes_used
add r0, r0, r8
sub r0, r0, r10
clz r0, r0
lsr r0, r0, #5
bl lwIP_ASSERT
ldr r0, [r4]
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
mov r0, #0
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.size ringbuf_memcpy_from, .-ringbuf_memcpy_from
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_espconn_buf.c_ringbuf_memcpy_into.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ringbuf_memcpy_into
.type ringbuf_memcpy_into, @function
ringbuf_memcpy_into:
.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
mov r14, rsi
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
mov r13, rdx
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
xor ebp, ebp
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
mov rbx, rdi
sub rsp, 24
.cfi_def_cfa_offset 80
call ringbuf_end@PLT
mov rdi, rbx
mov r12, rax
call ringbuf_bytes_free@PLT
mov QWORD PTR 8[rsp], rax
mov rax, QWORD PTR [rbx]
test r13, r13
jne .L5
jmp .L1
.p2align 4,,10
.p2align 3
.L4:
cmp r13, rbp
je .L9
.L5:
xor edi, edi
cmp r12, rax
seta dil
call lwIP_ASSERT@PLT
mov rsi, r13
mov rdi, r12
sub rdi, QWORD PTR [rbx]
sub rsi, rbp
call LWIP_MIN@PLT
mov rdi, QWORD PTR [rbx]
lea rsi, [r14+rbp]
mov rdx, rax
mov r15, rax
call os_memcpy@PLT
mov rax, QWORD PTR [rbx]
add rbp, r15
add rax, r15
mov QWORD PTR [rbx], rax
cmp rax, r12
jne .L4
mov rax, QWORD PTR 8[rbx]
mov QWORD PTR [rbx], rax
cmp r13, rbp
jne .L5
.L9:
cmp QWORD PTR 8[rsp], r13
jb .L10
.L1:
add rsp, 24
.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
.L10:
.cfi_restore_state
mov rsi, rax
mov rdi, rbx
call ringbuf_nextp@PLT
mov rdi, rbx
mov DWORD PTR 16[rbx], eax
call ringbuf_is_full@PLT
mov edi, eax
call lwIP_ASSERT@PLT
mov rax, QWORD PTR [rbx]
add rsp, 24
.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 ringbuf_memcpy_into, .-ringbuf_memcpy_into
.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_espconn_buf.c_ringbuf_memcpy_into.c"
.text
.align 2
.global ringbuf_memcpy_into
.syntax unified
.arm
.fpu softvfp
.type ringbuf_memcpy_into, %function
ringbuf_memcpy_into:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
mov r7, r2
mov r10, r0
mov r8, r1
bl ringbuf_end
mov r6, r0
mov r0, r10
bl ringbuf_bytes_free
cmp r7, #0
beq .L8
mov r5, #0
mov r9, r0
ldr r0, [r10]
.L5:
cmp r6, r0
movls r0, #0
movhi r0, #1
bl lwIP_ASSERT
ldr r0, [r10]
sub r1, r7, r5
sub r0, r6, r0
bl LWIP_MIN
mov r4, r0
mov r2, r0
add r1, r8, r5
ldr r0, [r10]
bl os_memcpy
ldr r3, [r10]
add r5, r5, r4
add r0, r3, r4
cmp r0, r6
str r0, [r10]
ldreq r0, [r10, #4]
streq r0, [r10]
cmp r7, r5
bne .L5
cmp r9, r7
popcs {r4, r5, r6, r7, r8, r9, r10, pc}
mov r1, r0
mov r0, r10
bl ringbuf_nextp
mov r3, r0
mov r0, r10
str r3, [r10, #8]
bl ringbuf_is_full
bl lwIP_ASSERT
.L8:
ldr r0, [r10]
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.size ringbuf_memcpy_into, .-ringbuf_memcpy_into
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_espconn_buf.c_ringbuf_memset.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ringbuf_memset
.type ringbuf_memset, @function
ringbuf_memset:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
xor r15d, r15d
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
mov r14d, esi
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
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
mov rbx, rdx
sub rsp, 24
.cfi_def_cfa_offset 80
call ringbuf_end@PLT
mov rdi, rbp
mov r12, rax
call ringbuf_buffer_size@PLT
mov edi, ebx
mov rsi, rax
call LWIP_MIN@PLT
mov rdi, rbp
mov r13, rax
call ringbuf_bytes_free@PLT
mov QWORD PTR 8[rsp], rax
test r13, r13
jne .L4
jmp .L1
.p2align 4,,10
.p2align 3
.L3:
cmp r13, r15
je .L9
.L4:
xor edi, edi
cmp QWORD PTR 0[rbp], r12
setb dil
call lwIP_ASSERT@PLT
mov rsi, r13
mov rdi, r12
sub rdi, QWORD PTR 0[rbp]
sub rsi, r15
sar rdi, 2
call LWIP_MIN@PLT
mov rdi, QWORD PTR 0[rbp]
mov esi, r14d
mov rdx, rax
mov rbx, rax
call os_memset@PLT
mov rax, QWORD PTR 0[rbp]
add r15, rbx
lea rax, [rax+rbx*4]
mov QWORD PTR 0[rbp], rax
cmp rax, r12
jne .L3
mov rax, QWORD PTR 16[rbp]
mov QWORD PTR 0[rbp], rax
cmp r13, r15
jne .L4
.L9:
cmp QWORD PTR 8[rsp], r15
jb .L10
.L1:
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 56
mov rax, r15
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
.L10:
.cfi_restore_state
mov rsi, QWORD PTR 0[rbp]
mov rdi, rbp
call ringbuf_nextp@PLT
mov rdi, rbp
mov DWORD PTR 8[rbp], eax
call ringbuf_is_full@PLT
mov edi, eax
call lwIP_ASSERT@PLT
jmp .L1
.cfi_endproc
.LFE0:
.size ringbuf_memset, .-ringbuf_memset
.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_espconn_buf.c_ringbuf_memset.c"
.text
.align 2
.global ringbuf_memset
.syntax unified
.arm
.fpu softvfp
.type ringbuf_memset, %function
ringbuf_memset:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
mov r5, r2
mov r4, r0
mov r8, r1
bl ringbuf_end
mov r6, r0
mov r0, r4
bl ringbuf_buffer_size
mov r1, r0
mov r0, r5
bl LWIP_MIN
mov r7, r0
mov r0, r4
bl ringbuf_bytes_free
cmp r7, #0
beq .L5
mov r9, r0
mov r10, #0
.L4:
ldr r0, [r4]
cmp r0, r6
movcs r0, #0
movcc r0, #1
bl lwIP_ASSERT
ldr r0, [r4]
sub r1, r7, r10
sub r0, r6, r0
asr r0, r0, #2
bl LWIP_MIN
mov r5, r0
mov r2, r0
mov r1, r8
ldr r0, [r4]
bl os_memset
ldr r2, [r4]
add r10, r10, r5
add r5, r2, r5, lsl #2
cmp r5, r6
ldreq r3, [r4, #8]
str r5, [r4]
streq r3, [r4]
cmp r7, r10
bne .L4
cmp r9, r10
bcs .L1
ldr r1, [r4]
mov r0, r4
bl ringbuf_nextp
mov r3, r0
mov r0, r4
str r3, [r4, #4]
bl ringbuf_is_full
bl lwIP_ASSERT
.L1:
mov r0, r10
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
mov r10, r7
mov r0, r10
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.size ringbuf_memset, .-ringbuf_memset
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_espconn_buf.c_ringbuf_new.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ringbuf_new
.type ringbuf_new, @function
ringbuf_new:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor r12d, r12d
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov rbx, rdi
mov edi, 4
sub rsp, 8
.cfi_def_cfa_offset 32
call os_zalloc@PLT
test rax, rax
jne .L8
.L1:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rax, r12
pop rbx
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
lea rdi, 1[rbx]
mov r12, rax
mov QWORD PTR [rax], rdi
call os_zalloc@PLT
mov rdi, r12
mov QWORD PTR 8[r12], rax
test rax, rax
je .L3
call ringbuf_reset@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rax, r12
pop rbx
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
call os_free@PLT
xor r12d, r12d
jmp .L1
.cfi_endproc
.LFE0:
.size ringbuf_new, .-ringbuf_new
.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_espconn_buf.c_ringbuf_new.c"
.text
.align 2
.global ringbuf_new
.syntax unified
.arm
.fpu softvfp
.type ringbuf_new, %function
ringbuf_new:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r0
mov r0, #4
bl os_zalloc
subs r4, r0, #0
bne .L7
.L1:
mov r0, r4
pop {r4, r5, r6, pc}
.L7:
add r0, r5, #1
str r0, [r4]
bl os_zalloc
mov r5, r0
cmp r5, #0
mov r0, r4
str r5, [r4, #4]
beq .L3
bl ringbuf_reset
mov r0, r4
pop {r4, r5, r6, pc}
.L3:
bl os_free
mov r4, r5
b .L1
.size ringbuf_new, .-ringbuf_new
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_espconn_buf.c_ringbuf_nextp.c"
.intel_syntax noprefix
.text
.p2align 4
.type ringbuf_nextp, @function
ringbuf_nextp:
.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 rbp, rdi
xor edi, edi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbx, rsi
cmp QWORD PTR 0[rbp], rsi
jbe .L7
.L2:
call lwIP_ASSERT@PLT
mov rdi, rbp
mov r12, QWORD PTR 0[rbp]
call ringbuf_buffer_size@PLT
movsx rcx, eax
lea rax, 4[rbx]
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
sub rax, r12
sar rax, 2
cqo
idiv rcx
lea rax, [r12+rdx*4]
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
mov rdi, rbp
call ringbuf_end@PLT
xor edi, edi
cmp rbx, rax
setb dil
jmp .L2
.cfi_endproc
.LFE0:
.size ringbuf_nextp, .-ringbuf_nextp
.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_espconn_buf.c_ringbuf_nextp.c"
.text
.global __aeabi_idivmod
.align 2
.syntax unified
.arm
.fpu softvfp
.type ringbuf_nextp, %function
ringbuf_nextp:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r0]
push {r4, r5, r6, lr}
cmp r3, r1
mov r5, r0
mov r4, r1
movhi r0, #0
bls .L6
.L2:
bl lwIP_ASSERT
mov r0, r5
ldr r5, [r5]
bl ringbuf_buffer_size
mov r1, r0
add r0, r4, #4
sub r0, r0, r5
asr r0, r0, #2
bl __aeabi_idivmod
add r0, r5, r1, lsl #2
pop {r4, r5, r6, pc}
.L6:
bl ringbuf_end
cmp r4, r0
movcs r0, #0
movcc r0, #1
b .L2
.size ringbuf_nextp, .-ringbuf_nextp
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_espconn_buf.c_ringbuf_reset.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ringbuf_reset
.type ringbuf_reset, @function
ringbuf_reset:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR [rdi]
mov DWORD PTR 4[rdi], eax
mov DWORD PTR 8[rdi], eax
ret
.cfi_endproc
.LFE0:
.size ringbuf_reset, .-ringbuf_reset
.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_espconn_buf.c_ringbuf_reset.c"
.text
.align 2
.global ringbuf_reset
.syntax unified
.arm
.fpu softvfp
.type ringbuf_reset, %function
ringbuf_reset:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, [r0]
str r3, [r0, #4]
str r3, [r0, #8]
bx lr
.size ringbuf_reset, .-ringbuf_reset
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_espconn_buf.c_ringbuf_tail.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ringbuf_tail
.type ringbuf_tail, @function
ringbuf_tail:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR [rdi]
ret
.cfi_endproc
.LFE0:
.size ringbuf_tail, .-ringbuf_tail
.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_espconn_buf.c_ringbuf_tail.c"
.text
.align 2
.global ringbuf_tail
.syntax unified
.arm
.fpu softvfp
.type ringbuf_tail, %function
ringbuf_tail:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r0, [r0]
bx lr
.size ringbuf_tail, .-ringbuf_tail
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_def.c_lwip_htonl.c"
.intel_syntax noprefix
.text
.p2align 4
.globl lwip_htonl
.type lwip_htonl, @function
lwip_htonl:
.LFB0:
.cfi_startproc
endbr64
mov eax, edi
bswap eax
ret
.cfi_endproc
.LFE0:
.size lwip_htonl, .-lwip_htonl
.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_def.c_lwip_htonl.c"
.text
.align 2
.global lwip_htonl
.syntax unified
.arm
.fpu softvfp
.type lwip_htonl, %function
lwip_htonl:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
eor r3, r0, r0, ror #16
lsr r3, r3, #8
bic r3, r3, #65280
eor r0, r3, r0, ror #8
bx lr
.size lwip_htonl, .-lwip_htonl
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_def.c_lwip_htons.c"
.intel_syntax noprefix
.text
.p2align 4
.globl lwip_htons
.type lwip_htons, @function
lwip_htons:
.LFB0:
.cfi_startproc
endbr64
mov eax, edi
sal edi, 8
movzx edi, di
movzx eax, ah
or eax, edi
ret
.cfi_endproc
.LFE0:
.size lwip_htons, .-lwip_htons
.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_def.c_lwip_htons.c"
.text
.align 2
.global lwip_htons
.syntax unified
.arm
.fpu softvfp
.type lwip_htons, %function
lwip_htons:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
lsl r2, r0, #16
and r0, r3, r0, lsl #8
orr r0, r0, r2, lsr #24
bx lr
.L4:
.align 2
.L3:
.word 65535
.size lwip_htons, .-lwip_htons
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_def.c_lwip_ntohl.c"
.intel_syntax noprefix
.text
.p2align 4
.globl lwip_ntohl
.type lwip_ntohl, @function
lwip_ntohl:
.LFB0:
.cfi_startproc
endbr64
jmp lwip_htonl@PLT
.cfi_endproc
.LFE0:
.size lwip_ntohl, .-lwip_ntohl
.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_def.c_lwip_ntohl.c"
.text
.align 2
.global lwip_ntohl
.syntax unified
.arm
.fpu softvfp
.type lwip_ntohl, %function
lwip_ntohl:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
b lwip_htonl
.size lwip_ntohl, .-lwip_ntohl
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_def.c_lwip_ntohs.c"
.intel_syntax noprefix
.text
.p2align 4
.globl lwip_ntohs
.type lwip_ntohs, @function
lwip_ntohs:
.LFB0:
.cfi_startproc
endbr64
jmp lwip_htons@PLT
.cfi_endproc
.LFE0:
.size lwip_ntohs, .-lwip_ntohs
.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_def.c_lwip_ntohs.c"
.text
.align 2
.global lwip_ntohs
.syntax unified
.arm
.fpu softvfp
.type lwip_ntohs, %function
lwip_ntohs:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
b lwip_htons
.size lwip_ntohs, .-lwip_ntohs
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_init.c_lwip_init.c"
.intel_syntax noprefix
.text
.p2align 4
.globl lwip_init
.type lwip_init, @function
lwip_init:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov eax, DWORD PTR TCP_MSS[rip]
mov DWORD PTR MEMP_NUM_TCP_PCB[rip], 5
mov DWORD PTR TCP_MAXRTX[rip], 12
mov DWORD PTR TCP_SYNMAXRTX[rip], 6
sal eax, 2
mov DWORD PTR TCP_WND[rip], eax
xor eax, eax
call lwip_sanity_check@PLT
xor eax, eax
call stats_init@PLT
xor eax, eax
call sys_init@PLT
xor eax, eax
call memp_init@PLT
xor eax, eax
call pbuf_init@PLT
xor eax, eax
call netif_init@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
jmp ip_init@PLT
.cfi_endproc
.LFE0:
.size lwip_init, .-lwip_init
.globl _bss_end
.bss
.align 4
.type _bss_end, @object
.size _bss_end, 4
_bss_end:
.zero 4
.globl TCP_WND
.align 4
.type TCP_WND, @object
.size TCP_WND, 4
TCP_WND:
.zero 4
.globl TCP_SYNMAXRTX
.align 4
.type TCP_SYNMAXRTX, @object
.size TCP_SYNMAXRTX, 4
TCP_SYNMAXRTX:
.zero 4
.globl TCP_MSS
.align 4
.type TCP_MSS, @object
.size TCP_MSS, 4
TCP_MSS:
.zero 4
.globl TCP_MAXRTX
.align 4
.type TCP_MAXRTX, @object
.size TCP_MAXRTX, 4
TCP_MAXRTX:
.zero 4
.globl MEMP_NUM_TCP_PCB
.align 4
.type MEMP_NUM_TCP_PCB, @object
.size MEMP_NUM_TCP_PCB, 4
MEMP_NUM_TCP_PCB:
.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_init.c_lwip_init.c"
.text
.align 2
.global lwip_init
.syntax unified
.arm
.fpu softvfp
.type lwip_init, %function
lwip_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r2, #6
mov lr, #5
mov r0, #12
ldr r3, .L4
ldr r1, .L4+4
ldr r3, [r3]
ldr ip, .L4+8
lsl r3, r3, #2
str r3, [r1]
ldr r1, .L4+12
ldr r3, .L4+16
str lr, [ip]
str r0, [r1]
str r2, [r3]
bl lwip_sanity_check
bl stats_init
bl sys_init
bl memp_init
bl pbuf_init
bl netif_init
pop {r4, lr}
b ip_init
.L5:
.align 2
.L4:
.word TCP_MSS
.word TCP_WND
.word MEMP_NUM_TCP_PCB
.word TCP_MAXRTX
.word TCP_SYNMAXRTX
.size lwip_init, .-lwip_init
.comm _bss_end,4,4
.comm TCP_WND,4,4
.comm TCP_SYNMAXRTX,4,4
.comm TCP_MSS,4,4
.comm TCP_MAXRTX,4,4
.comm MEMP_NUM_TCP_PCB,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_memp.c_memp_free.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "memp_free: mem properly aligned"
.text
.p2align 4
.globl memp_free
.type memp_free, @function
memp_free:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov rbx, rsi
sub rsp, 8
.cfi_def_cfa_offset 32
mov edi, DWORD PTR old_level[rip]
call SYS_ARCH_DECL_PROTECT@PLT
test rbx, rbx
je .L1
mov eax, ebx
xor esi, esi
lea rdi, .LC0[rip]
cdq
idiv DWORD PTR MEM_ALIGNMENT[rip]
test edx, edx
sete sil
call LWIP_ASSERT@PLT
mov edi, DWORD PTR old_level[rip]
sub rbx, QWORD PTR MEMP_SIZE[rip]
sar rbx, 2
call SYS_ARCH_PROTECT@PLT
mov edi, DWORD PTR used[rip]
mov rsi, rbp
call MEMP_STATS_DEC@PLT
mov rax, QWORD PTR memp_tab[rip]
mov edi, DWORD PTR old_level[rip]
mov QWORD PTR [rax+rbp*8], rbx
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
jmp SYS_ARCH_UNPROTECT@PLT
.p2align 4,,10
.p2align 3
.L1:
.cfi_restore_state
add rsp, 8
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size memp_free, .-memp_free
.globl used
.bss
.align 4
.type used, @object
.size used, 4
used:
.zero 4
.globl old_level
.align 4
.type old_level, @object
.size old_level, 4
old_level:
.zero 4
.globl memp_tab
.align 8
.type memp_tab, @object
.size memp_tab, 8
memp_tab:
.zero 8
.globl MEM_ALIGNMENT
.align 4
.type MEM_ALIGNMENT, @object
.size MEM_ALIGNMENT, 4
MEM_ALIGNMENT:
.zero 4
.globl MEMP_SIZE
.align 8
.type MEMP_SIZE, @object
.size MEMP_SIZE, 8
MEMP_SIZE:
.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_memp.c_memp_free.c"
.text
.global __aeabi_idivmod
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "memp_free: mem properly aligned\000"
.text
.align 2
.global memp_free
.syntax unified
.arm
.fpu softvfp
.type memp_free, %function
memp_free:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r1
ldr r6, .L5
mov r5, r0
ldr r0, [r6]
bl SYS_ARCH_DECL_PROTECT
cmp r4, #0
popeq {r4, r5, r6, pc}
ldr r3, .L5+4
mov r0, r4
ldr r1, [r3]
bl __aeabi_idivmod
clz r1, r1
ldr r0, .L5+8
lsr r1, r1, #5
bl LWIP_ASSERT
ldr r3, .L5+12
ldr r0, [r6]
ldr r1, [r3]
sub r4, r4, r1
bl SYS_ARCH_PROTECT
ldr r3, .L5+16
mov r1, r5
ldr r0, [r3]
bl MEMP_STATS_DEC
ldr r3, .L5+20
asr r4, r4, #2
ldr r3, [r3]
ldr r0, [r6]
ldr r2, [r3, r5, lsl #2]
str r2, [r4]
str r4, [r3, r5, lsl #2]
pop {r4, r5, r6, lr}
b SYS_ARCH_UNPROTECT
.L6:
.align 2
.L5:
.word old_level
.word MEM_ALIGNMENT
.word .LC0
.word MEMP_SIZE
.word used
.word memp_tab
.size memp_free, .-memp_free
.comm used,4,4
.comm old_level,4,4
.comm memp_tab,4,4
.comm MEM_ALIGNMENT,4,4
.comm MEMP_SIZE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_memp.c_memp_init.c"
.intel_syntax noprefix
.text
.p2align 4
.globl memp_init
.type memp_init, @function
memp_init:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
xor ebx, ebx
sub rsp, 8
.cfi_def_cfa_offset 48
cmp QWORD PTR MEMP_MAX[rip], 0
je .L5
.p2align 4,,10
.p2align 3
.L2:
mov edi, DWORD PTR used[rip]
xor edx, edx
mov rsi, rbx
call MEMP_STATS_AVAIL@PLT
mov edi, DWORD PTR max[rip]
xor edx, edx
mov rsi, rbx
call MEMP_STATS_AVAIL@PLT
mov edi, DWORD PTR err[rip]
xor edx, edx
mov rsi, rbx
call MEMP_STATS_AVAIL@PLT
mov rax, QWORD PTR memp_num[rip]
mov edi, DWORD PTR avail[rip]
mov rsi, rbx
mov rdx, QWORD PTR [rax+rbx*8]
add rbx, 1
call MEMP_STATS_AVAIL@PLT
cmp QWORD PTR MEMP_MAX[rip], rbx
ja .L2
.L5:
mov edi, DWORD PTR memp_memory[rip]
call LWIP_MEM_ALIGN@PLT
mov r11, QWORD PTR MEMP_MAX[rip]
mov r10, rax
test r11, r11
je .L1
mov rbx, QWORD PTR memp_num[rip]
movsx r12, DWORD PTR MEMP_SIZE[rip]
xor r9d, r9d
mov rbp, QWORD PTR memp_sizes[rip]
mov r8, QWORD PTR memp_tab[rip]
.p2align 4,,10
.p2align 3
.L8:
mov r13, QWORD PTR [rbx+r9*8]
mov QWORD PTR [r8], 0
test r13, r13
je .L6
movsx rdi, DWORD PTR 0[rbp+r9*4]
mov rax, r10
xor ecx, ecx
xor edx, edx
add rdi, r12
sal rdi, 2
jmp .L7
.p2align 4,,10
.p2align 3
.L10:
mov rax, rsi
.L7:
add rdx, 1
mov QWORD PTR [rax], rcx
lea rsi, [rax+rdi]
mov rcx, rax
mov QWORD PTR [r8], rax
cmp rdx, r13
jne .L10
imul rdx, rdi
add r10, rdx
.L6:
add r9, 1
add r8, 8
cmp r9, r11
jne .L8
.L1:
add rsp, 8
.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
.cfi_endproc
.LFE0:
.size memp_init, .-memp_init
.globl used
.bss
.align 4
.type used, @object
.size used, 4
used:
.zero 4
.globl memp_tab
.align 8
.type memp_tab, @object
.size memp_tab, 8
memp_tab:
.zero 8
.globl memp_sizes
.align 8
.type memp_sizes, @object
.size memp_sizes, 8
memp_sizes:
.zero 8
.globl memp_num
.align 8
.type memp_num, @object
.size memp_num, 8
memp_num:
.zero 8
.globl memp_memory
.align 4
.type memp_memory, @object
.size memp_memory, 4
memp_memory:
.zero 4
.globl memp_bases
.align 8
.type memp_bases, @object
.size memp_bases, 8
memp_bases:
.zero 8
.globl max
.align 4
.type max, @object
.size max, 4
max:
.zero 4
.globl err
.align 4
.type err, @object
.size err, 4
err:
.zero 4
.globl avail
.align 4
.type avail, @object
.size avail, 4
avail:
.zero 4
.globl MEMP_SIZE
.align 4
.type MEMP_SIZE, @object
.size MEMP_SIZE, 4
MEMP_SIZE:
.zero 4
.globl MEMP_SANITY_REGION_AFTER_ALIGNED
.align 4
.type MEMP_SANITY_REGION_AFTER_ALIGNED, @object
.size MEMP_SANITY_REGION_AFTER_ALIGNED, 4
MEMP_SANITY_REGION_AFTER_ALIGNED:
.zero 4
.globl MEMP_MAX
.align 8
.type MEMP_MAX, @object
.size MEMP_MAX, 8
MEMP_MAX:
.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_memp.c_memp_init.c"
.text
.align 2
.global memp_init
.syntax unified
.arm
.fpu softvfp
.type memp_init, %function
memp_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
ldr r10, .L19
ldr r3, [r10]
cmp r3, #0
beq .L5
mov r4, #0
ldr r9, .L19+4
ldr r8, .L19+8
ldr r7, .L19+12
ldr r6, .L19+16
ldr r5, .L19+20
.L2:
mov r1, r4
mov r2, #0
ldr r0, [r9]
bl MEMP_STATS_AVAIL
mov r1, r4
mov r2, #0
ldr r0, [r8]
bl MEMP_STATS_AVAIL
mov r1, r4
mov r2, #0
ldr r0, [r7]
bl MEMP_STATS_AVAIL
ldr r3, [r6]
mov r1, r4
ldr r2, [r3, r4, lsl #2]
ldr r0, [r5]
bl MEMP_STATS_AVAIL
ldr r3, [r10]
add r4, r4, #1
cmp r3, r4
bhi .L2
.L5:
ldr r3, .L19+24
ldr r0, [r3]
bl LWIP_MEM_ALIGN
ldr r3, [r10]
cmp r3, #0
popeq {r4, r5, r6, r7, r8, r9, r10, pc}
mov r9, #0
ldr r2, .L19+28
ldr ip, .L19+16
ldr r4, [r2]
ldr r1, .L19+32
ldr r2, .L19+36
ldr r7, [ip]
add r3, r4, r3, lsl #2
ldr r10, [r1]
ldr r6, [r2]
sub r8, r3, #4
sub r4, r4, #4
sub r7, r7, #4
.L8:
ldr r5, [r7, #4]!
str r9, [r4, #4]!
cmp r5, #0
beq .L6
mov r1, #0
ldr lr, [r6]
mov r2, r1
add lr, r10, lr
mov r3, r0
lsl lr, lr, #2
b .L7
.L10:
mov r3, ip
.L7:
add r2, r2, #1
cmp r2, r5
str r1, [r3]
add ip, r3, lr
mov r1, r3
str r3, [r4]
bne .L10
mla r0, r2, lr, r0
.L6:
cmp r4, r8
add r6, r6, #4
bne .L8
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L20:
.align 2
.L19:
.word MEMP_MAX
.word used
.word max
.word err
.word memp_num
.word avail
.word memp_memory
.word memp_tab
.word MEMP_SIZE
.word memp_sizes
.size memp_init, .-memp_init
.comm used,4,4
.comm memp_tab,4,4
.comm memp_sizes,4,4
.comm memp_num,4,4
.comm memp_memory,4,4
.comm memp_bases,4,4
.comm max,4,4
.comm err,4,4
.comm avail,4,4
.comm MEMP_SIZE,4,4
.comm MEMP_SANITY_REGION_AFTER_ALIGNED,4,4
.comm MEMP_MAX,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_netif.c_netif_add.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "No init function given"
.LC1:
.string " netmask "
.LC2:
.string " gw "
.LC3:
.string "\n"
.text
.p2align 4
.globl netif_add
.type netif_add, @function
netif_add:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
mov r15, r8
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
mov r14, rsi
xor esi, esi
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
mov r13, rdx
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
mov r12, rcx
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
mov rbp, r9
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
mov rbx, rdi
lea rdi, .LC0[rip]
sub rsp, 8
.cfi_def_cfa_offset 64
test r9, r9
setne sil
call LWIP_ASSERT@PLT
lea rdi, 136[rbx]
call ip_addr_set_zero@PLT
lea rdi, 132[rbx]
call ip_addr_set_zero@PLT
lea rdi, 128[rbx]
call ip_addr_set_zero@PLT
mov QWORD PTR 56[rbx], r15
mov rcx, r12
mov rsi, r14
mov rax, QWORD PTR netifnum.0[rip]
mov DWORD PTR [rbx], 0
mov rdi, rbx
lea rdx, 1[rax]
mov QWORD PTR 48[rbx], rax
mov eax, DWORD PTR 64[rsp]
mov QWORD PTR netifnum.0[rip], rdx
mov rdx, r13
mov DWORD PTR 40[rbx], eax
call netif_set_addr@PLT
mov rdi, rbx
call rbp
mov r8, rax
xor eax, eax
cmp r8, QWORD PTR ERR_OK[rip]
jne .L1
mov rax, QWORD PTR netif_list[rip]
mov QWORD PTR netif_list[rip], rbx
mov QWORD PTR 16[rbx], rax
xor eax, eax
call snmp_inc_iflist@PLT
mov rax, QWORD PTR 8[rbx]
mov edi, DWORD PTR NETIF_DEBUG[rip]
movsx rsi, DWORD PTR 4[rax]
call LWIP_DEBUGF@PLT
mov edi, DWORD PTR NETIF_DEBUG[rip]
mov rsi, r14
call ip_addr_debug_print@PLT
mov edi, DWORD PTR NETIF_DEBUG[rip]
lea rsi, .LC1[rip]
call LWIP_DEBUGF@PLT
mov edi, DWORD PTR NETIF_DEBUG[rip]
mov rsi, r13
call ip_addr_debug_print@PLT
mov edi, DWORD PTR NETIF_DEBUG[rip]
lea rsi, .LC2[rip]
call LWIP_DEBUGF@PLT
mov edi, DWORD PTR NETIF_DEBUG[rip]
mov rsi, r12
call ip_addr_debug_print@PLT
mov edi, DWORD PTR NETIF_DEBUG[rip]
lea rsi, .LC3[rip]
call LWIP_DEBUGF@PLT
mov rax, rbx
.L1:
add rsp, 8
.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 netif_add, .-netif_add
.local netifnum.0
.comm netifnum.0,8,8
.globl netif_list
.bss
.align 8
.type netif_list, @object
.size netif_list, 8
netif_list:
.zero 8
.globl NETIF_FLAG_IGMP
.align 4
.type NETIF_FLAG_IGMP, @object
.size NETIF_FLAG_IGMP, 4
NETIF_FLAG_IGMP:
.zero 4
.globl NETIF_DEBUG
.align 4
.type NETIF_DEBUG, @object
.size NETIF_DEBUG, 4
NETIF_DEBUG:
.zero 4
.globl ERR_OK
.align 8
.type ERR_OK, @object
.size ERR_OK, 8
ERR_OK:
.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_netif.c_netif_add.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "No init function given\000"
.align 2
.LC1:
.ascii " netmask \000"
.align 2
.LC2:
.ascii " gw \000"
.align 2
.LC3:
.ascii "\012\000"
.text
.align 2
.global netif_add
.syntax unified
.arm
.fpu softvfp
.type netif_add, %function
netif_add:
@ args = 12, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
mov r9, #0
mov r4, r0
mov r6, r2
mov r5, r3
mov r7, r1
ldr r8, [sp, #44]
ldr r0, .L6
subs r1, r8, r9
movne r1, #1
ldr fp, [sp, #40]
ldr r10, [sp, #48]
bl LWIP_ASSERT
add r0, r4, #72
bl ip_addr_set_zero
add r0, r4, #68
bl ip_addr_set_zero
add r0, r4, #64
bl ip_addr_set_zero
ldr ip, .L6+4
mov r3, r5
ldr r0, [ip]
mov r2, r6
str r0, [r4, #24]
add r0, r0, #1
str r0, [ip]
mov r1, r7
mov r0, r4
str fp, [r4, #28]
str r10, [r4, #20]
str r9, [r4]
bl netif_set_addr
mov r0, r4
blx r8
ldr r3, .L6+8
ldr r3, [r3]
cmp r0, r3
bne .L3
ldr r3, .L6+12
ldr r8, .L6+16
ldr r2, [r3]
str r4, [r3]
str r2, [r4, #8]
bl snmp_inc_iflist
ldr r3, [r4, #4]
ldr r0, [r8]
ldr r1, [r3, #4]
bl LWIP_DEBUGF
mov r1, r7
ldr r0, [r8]
bl ip_addr_debug_print
ldr r0, [r8]
ldr r1, .L6+20
bl LWIP_DEBUGF
mov r1, r6
ldr r0, [r8]
bl ip_addr_debug_print
ldr r0, [r8]
ldr r1, .L6+24
bl LWIP_DEBUGF
mov r1, r5
ldr r0, [r8]
bl ip_addr_debug_print
ldr r0, [r8]
ldr r1, .L6+28
bl LWIP_DEBUGF
mov r0, r4
pop {r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L3:
mov r0, r9
pop {r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
.align 2
.L6:
.word .LC0
.word .LANCHOR0
.word ERR_OK
.word netif_list
.word NETIF_DEBUG
.word .LC1
.word .LC2
.word .LC3
.size netif_add, .-netif_add
.comm netif_list,4,4
.comm NETIF_FLAG_IGMP,4,4
.comm NETIF_DEBUG,4,4
.comm ERR_OK,4,4
.bss
.align 2
.set .LANCHOR0,. + 0
.type netifnum.4256, %object
.size netifnum.4256, 4
netifnum.4256:
.space 4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_netif.c_netif_find.c"
.intel_syntax noprefix
.text
.p2align 4
.globl netif_find
.type netif_find, @function
netif_find:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
test rdi, rdi
je .L6
movzx eax, BYTE PTR 2[rdi]
mov r12, QWORD PTR netif_list[rip]
movsx rsi, BYTE PTR 1[rdi]
sub eax, 48
test r12, r12
jne .L5
jmp .L3
.p2align 4,,10
.p2align 3
.L4:
mov r12, QWORD PTR 16[r12]
test r12, r12
je .L3
.L5:
cmp BYTE PTR [r12], al
jne .L4
mov rdx, QWORD PTR 8[r12]
movzx ecx, BYTE PTR [rdx]
cmp BYTE PTR [rdi], cl
jne .L4
cmp BYTE PTR 1[rdx], sil
jne .L4
mov edi, DWORD PTR NETIF_DEBUG[rip]
call LWIP_DEBUGF@PLT
jmp .L1
.p2align 4,,10
.p2align 3
.L3:
mov edi, DWORD PTR NETIF_DEBUG[rip]
xor r12d, r12d
call LWIP_DEBUGF@PLT
.L1:
mov rax, r12
pop r12
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.L6:
.cfi_restore_state
xor r12d, r12d
jmp .L1
.cfi_endproc
.LFE0:
.size netif_find, .-netif_find
.globl netif_list
.bss
.align 8
.type netif_list, @object
.size netif_list, 8
netif_list:
.zero 8
.globl NETIF_DEBUG
.align 4
.type NETIF_DEBUG, @object
.size NETIF_DEBUG, 4
NETIF_DEBUG:
.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_netif.c_netif_find.c"
.text
.align 2
.global netif_find
.syntax unified
.arm
.fpu softvfp
.type netif_find, %function
netif_find:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
cmp r0, #0
push {r4, lr}
beq .L6
ldr r3, .L13
ldrb r2, [r0, #2] @ zero_extendqisi2
ldr r4, [r3]
sub r2, r2, #48
cmp r4, #0
ldrb r1, [r0, #1] @ zero_extendqisi2
and r2, r2, #255
bne .L5
b .L3
.L4:
ldr r4, [r4, #8]
cmp r4, #0
beq .L3
.L5:
ldrb r3, [r4] @ zero_extendqisi2
cmp r3, r2
bne .L4
ldr r3, [r4, #4]
ldrb lr, [r0] @ zero_extendqisi2
ldrb ip, [r3] @ zero_extendqisi2
cmp lr, ip
bne .L4
ldrb r3, [r3, #1] @ zero_extendqisi2
cmp r3, r1
bne .L4
ldr r3, .L13+4
ldr r0, [r3]
bl LWIP_DEBUGF
b .L1
.L3:
ldr r3, .L13+4
mov r4, #0
ldr r0, [r3]
bl LWIP_DEBUGF
.L1:
mov r0, r4
pop {r4, pc}
.L6:
mov r4, r0
b .L1
.L14:
.align 2
.L13:
.word netif_list
.word NETIF_DEBUG
.size netif_find, .-netif_find
.comm netif_list,4,4
.comm NETIF_DEBUG,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_netif.c_netif_init.c"
.intel_syntax noprefix
.text
.p2align 4
.globl netif_init
.type netif_init, @function
netif_init:
.LFB0:
.cfi_startproc
endbr64
ret
.cfi_endproc
.LFE0:
.size netif_init, .-netif_init
.globl tcpip_input
.bss
.align 4
.type tcpip_input, @object
.size tcpip_input, 4
tcpip_input:
.zero 4
.globl netif_loopif_init
.align 4
.type netif_loopif_init, @object
.size netif_loopif_init, 4
netif_loopif_init:
.zero 4
.globl loop_netif
.align 4
.type loop_netif, @object
.size loop_netif, 4
loop_netif:
.zero 4
.globl ip_input
.align 4
.type ip_input, @object
.size ip_input, 4
ip_input:
.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_netif.c_netif_init.c"
.text
.align 2
.global netif_init
.syntax unified
.arm
.fpu softvfp
.type netif_init, %function
netif_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
bx lr
.size netif_init, .-netif_init
.comm tcpip_input,4,4
.comm netif_loopif_init,4,4
.comm loop_netif,4,4
.comm ip_input,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_netif.c_netif_remove.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "netif_remove: removed netif\n"
.text
.p2align 4
.globl netif_remove
.type netif_remove, @function
netif_remove:
.LFB0:
.cfi_startproc
endbr64
test rdi, rdi
je .L16
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
call netif_is_up@PLT
test rax, rax
jne .L20
.L4:
mov rdi, rbx
call snmp_delete_ipaddridx_tree@PLT
mov rax, QWORD PTR netif_list[rip]
cmp rax, rbx
jne .L5
mov rax, QWORD PTR 8[rbx]
mov QWORD PTR netif_list[rip], rax
xor eax, eax
call snmp_dec_iflist@PLT
cmp QWORD PTR netif_default[rip], rbx
je .L21
.L9:
mov edi, DWORD PTR NETIF_DEBUG[rip]
lea rsi, .LC0[rip]
pop rbx
.cfi_remember_state
.cfi_restore 3
.cfi_def_cfa_offset 8
jmp LWIP_DEBUGF@PLT
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
mov rdx, QWORD PTR 8[rax]
cmp rdx, rbx
je .L22
mov rax, rdx
.L5:
test rax, rax
jne .L7
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L20:
.cfi_restore_state
mov rdi, rbx
call netif_set_down@PLT
jmp .L4
.p2align 4,,10
.p2align 3
.L22:
mov rdx, QWORD PTR 8[rbx]
mov QWORD PTR 8[rax], rdx
xor eax, eax
call snmp_dec_iflist@PLT
cmp QWORD PTR netif_default[rip], rbx
jne .L9
.L21:
xor edi, edi
call netif_set_default@PLT
jmp .L9
.p2align 4,,10
.p2align 3
.L16:
.cfi_def_cfa_offset 8
.cfi_restore 3
ret
.cfi_endproc
.LFE0:
.size netif_remove, .-netif_remove
.globl netif_list
.bss
.align 8
.type netif_list, @object
.size netif_list, 8
netif_list:
.zero 8
.globl netif_default
.align 8
.type netif_default, @object
.size netif_default, 8
netif_default:
.zero 8
.globl NETIF_FLAG_IGMP
.align 4
.type NETIF_FLAG_IGMP, @object
.size NETIF_FLAG_IGMP, 4
NETIF_FLAG_IGMP:
.zero 4
.globl NETIF_DEBUG
.align 4
.type NETIF_DEBUG, @object
.size NETIF_DEBUG, 4
NETIF_DEBUG:
.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_netif.c_netif_remove.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "netif_remove: removed netif\012\000"
.text
.align 2
.global netif_remove
.syntax unified
.arm
.fpu softvfp
.type netif_remove, %function
netif_remove:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
subs r4, r0, #0
popeq {r4, pc}
bl netif_is_up
cmp r0, #0
bne .L18
.L4:
mov r0, r4
bl snmp_delete_ipaddridx_tree
ldr r2, .L20
ldr r3, [r2]
cmp r3, r4
bne .L5
ldr r3, [r4, #4]
str r3, [r2]
b .L6
.L10:
mov r3, r2
.L5:
cmp r3, #0
popeq {r4, pc}
ldr r2, [r3, #4]
cmp r2, r4
bne .L10
ldr r2, [r4, #4]
str r2, [r3, #4]
.L6:
bl snmp_dec_iflist
ldr r3, .L20+4
ldr r3, [r3]
cmp r3, r4
beq .L19
.L9:
pop {r4, lr}
ldr r3, .L20+8
ldr r1, .L20+12
ldr r0, [r3]
b LWIP_DEBUGF
.L18:
mov r0, r4
bl netif_set_down
b .L4
.L19:
mov r0, #0
bl netif_set_default
b .L9
.L21:
.align 2
.L20:
.word netif_list
.word netif_default
.word NETIF_DEBUG
.word .LC0
.size netif_remove, .-netif_remove
.comm netif_list,4,4
.comm netif_default,4,4
.comm NETIF_FLAG_IGMP,4,4
.comm NETIF_DEBUG,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_netif.c_netif_set_addr.c"
.intel_syntax noprefix
.text
.p2align 4
.globl netif_set_addr
.type netif_set_addr, @function
netif_set_addr:
.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, rdi
call netif_set_ipaddr@PLT
mov rsi, r13
mov rdi, rbp
call netif_set_netmask@PLT
mov rsi, r12
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp netif_set_gw@PLT
.cfi_endproc
.LFE0:
.size netif_set_addr, .-netif_set_addr
.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_netif.c_netif_set_addr.c"
.text
.align 2
.global netif_set_addr
.syntax unified
.arm
.fpu softvfp
.type netif_set_addr, %function
netif_set_addr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r6, r2
mov r4, r0
mov r5, r3
bl netif_set_ipaddr
mov r1, r6
mov r0, r4
bl netif_set_netmask
mov r1, r5
mov r0, r4
pop {r4, r5, r6, lr}
b netif_set_gw
.size netif_set_addr, .-netif_set_addr
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_netif.c_netif_set_default.c"
.intel_syntax noprefix
.text
.p2align 4
.globl netif_set_default
.type netif_set_default, @function
netif_set_default:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
test rdi, rdi
je .L6
mov rbx, rdi
mov rsi, rdi
mov edi, 1
call snmp_insert_iprteidx_tree@PLT
mov rax, QWORD PTR [rbx]
mov QWORD PTR netif_default[rip], rbx
mov edi, DWORD PTR NETIF_DEBUG[rip]
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
movsx rsi, BYTE PTR 1[rax]
jmp LWIP_DEBUGF@PLT
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
xor esi, esi
mov edi, 1
call snmp_delete_iprteidx_tree@PLT
mov edi, DWORD PTR NETIF_DEBUG[rip]
mov esi, 39
pop rbx
.cfi_def_cfa_offset 8
mov QWORD PTR netif_default[rip], 0
jmp LWIP_DEBUGF@PLT
.cfi_endproc
.LFE0:
.size netif_set_default, .-netif_set_default
.globl netif_default
.bss
.align 8
.type netif_default, @object
.size netif_default, 8
netif_default:
.zero 8
.globl NETIF_DEBUG
.align 4
.type NETIF_DEBUG, @object
.size NETIF_DEBUG, 4
NETIF_DEBUG:
.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_netif.c_netif_set_default.c"
.text
.align 2
.global netif_set_default
.syntax unified
.arm
.fpu softvfp
.type netif_set_default, %function
netif_set_default:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
subs r4, r0, #0
mov r1, r4
mov r0, #1
beq .L6
bl snmp_insert_iprteidx_tree
ldr r1, .L7
ldr r2, [r4]
ldr r3, .L7+4
str r4, [r1]
ldrb r1, [r2, #1] @ zero_extendqisi2
ldr r0, [r3]
pop {r4, lr}
b LWIP_DEBUGF
.L6:
bl snmp_delete_iprteidx_tree
ldr r2, .L7
ldr r3, .L7+4
str r4, [r2]
mov r1, #39
pop {r4, lr}
ldr r0, [r3]
b LWIP_DEBUGF
.L8:
.align 2
.L7:
.word netif_default
.word NETIF_DEBUG
.size netif_set_default, .-netif_set_default
.comm netif_default,4,4
.comm NETIF_DEBUG,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_netif.c_netif_set_down.c"
.intel_syntax noprefix
.text
.p2align 4
.globl netif_set_down
.type netif_set_down, @function
netif_set_down:
.LFB0:
.cfi_startproc
endbr64
test rdi, rdi
je .L1
mov edx, DWORD PTR [rdi]
mov eax, DWORD PTR NETIF_FLAG_UP[rip]
test edx, eax
jne .L10
.L1:
ret
.p2align 4,,10
.p2align 3
.L10:
not eax
and eax, edx
mov DWORD PTR [rdi], eax
jmp NETIF_STATUS_CALLBACK@PLT
.cfi_endproc
.LFE0:
.size netif_set_down, .-netif_set_down
.globl NETIF_FLAG_UP
.bss
.align 4
.type NETIF_FLAG_UP, @object
.size NETIF_FLAG_UP, 4
NETIF_FLAG_UP:
.zero 4
.globl NETIF_FLAG_ETHARP
.align 4
.type NETIF_FLAG_ETHARP, @object
.size NETIF_FLAG_ETHARP, 4
NETIF_FLAG_ETHARP:
.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_netif.c_netif_set_down.c"
.text
.align 2
.global netif_set_down
.syntax unified
.arm
.fpu softvfp
.type netif_set_down, %function
netif_set_down:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
subs r3, r0, #0
bxeq lr
ldr r1, .L10
ldr r2, [r3]
ldr r1, [r1]
tst r2, r1
bxeq lr
bic r2, r2, r1
str r2, [r3]
b NETIF_STATUS_CALLBACK
.L11:
.align 2
.L10:
.word NETIF_FLAG_UP
.size netif_set_down, .-netif_set_down
.comm NETIF_FLAG_UP,4,4
.comm NETIF_FLAG_ETHARP,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_netif.c_netif_set_link_down.c"
.intel_syntax noprefix
.text
.p2align 4
.globl netif_set_link_down
.type netif_set_link_down, @function
netif_set_link_down:
.LFB0:
.cfi_startproc
endbr64
mov edx, DWORD PTR [rdi]
mov eax, DWORD PTR NETIF_FLAG_LINK_UP[rip]
test edx, eax
jne .L4
ret
.p2align 4,,10
.p2align 3
.L4:
not eax
and eax, edx
mov DWORD PTR [rdi], eax
jmp NETIF_LINK_CALLBACK@PLT
.cfi_endproc
.LFE0:
.size netif_set_link_down, .-netif_set_link_down
.globl NETIF_FLAG_LINK_UP
.bss
.align 4
.type NETIF_FLAG_LINK_UP, @object
.size NETIF_FLAG_LINK_UP, 4
NETIF_FLAG_LINK_UP:
.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_netif.c_netif_set_link_down.c"
.text
.align 2
.global netif_set_link_down
.syntax unified
.arm
.fpu softvfp
.type netif_set_link_down, %function
netif_set_link_down:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r1, .L4
ldr r2, [r0]
ldr r1, [r1]
tst r2, r1
bxeq lr
bic r2, r2, r1
str r2, [r0]
b NETIF_LINK_CALLBACK
.L5:
.align 2
.L4:
.word NETIF_FLAG_LINK_UP
.size netif_set_link_down, .-netif_set_link_down
.comm NETIF_FLAG_LINK_UP,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
Subsets and Splits