x86
stringlengths 322
23.7M
| arm
stringlengths 336
24.4M
|
---|---|
.file "378679.c"
.intel_syntax noprefix
.text
.section .rodata
.align 8
.LC0:
.string "\nCalculadora de funcao de segundo grau"
.align 8
.LC1:
.string "\n(Considere a equacao como ax2 + bx + c = y)"
.LC2:
.string "\nDigite o (a) da equacao: "
.LC3:
.string "%lf"
.LC4:
.string "\nDigite o (b) da equacao: "
.LC5:
.string "\nDigite o (c) da equacao: "
.LC6:
.string "\nDigite o (x) da equacao: "
.LC8:
.string "\nPara essa equacao o Y e %f\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, 48
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 rdi, .LC1[rip]
mov eax, 0
call printf@PLT
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
lea rax, -48[rbp]
mov rsi, rax
lea rdi, .LC3[rip]
mov eax, 0
call __isoc99_scanf@PLT
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
lea rax, -40[rbp]
mov rsi, rax
lea rdi, .LC3[rip]
mov eax, 0
call __isoc99_scanf@PLT
lea rdi, .LC5[rip]
mov eax, 0
call printf@PLT
lea rax, -32[rbp]
mov rsi, rax
lea rdi, .LC3[rip]
mov eax, 0
call __isoc99_scanf@PLT
lea rdi, .LC6[rip]
mov eax, 0
call printf@PLT
lea rax, -24[rbp]
mov rsi, rax
lea rdi, .LC3[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov rax, QWORD PTR -24[rbp]
movsd xmm0, QWORD PTR .LC7[rip]
movapd xmm1, xmm0
movq xmm0, rax
call pow@PLT
movsd xmm1, QWORD PTR -48[rbp]
mulsd xmm1, xmm0
movsd xmm2, QWORD PTR -40[rbp]
movsd xmm0, QWORD PTR -24[rbp]
mulsd xmm0, xmm2
addsd xmm1, xmm0
movsd xmm0, QWORD PTR -32[rbp]
addsd xmm0, xmm1
movsd QWORD PTR -16[rbp], xmm0
mov rax, QWORD PTR -16[rbp]
movq xmm0, rax
lea rdi, .LC8[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
.LFE6:
.size main, .-main
.section .rodata
.align 8
.LC7:
.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 "378679.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "\012Calculadora de funcao de segundo grau\000"
.align 2
.LC1:
.ascii "\012(Considere a equacao como ax2 + bx + c = y)\000"
.align 2
.LC2:
.ascii "\012Digite o (a) da equacao: \000"
.align 2
.LC3:
.ascii "%lf\000"
.align 2
.LC4:
.ascii "\012Digite o (b) da equacao: \000"
.align 2
.LC5:
.ascii "\012Digite o (c) da equacao: \000"
.align 2
.LC6:
.ascii "\012Digite o (x) da equacao: \000"
.global __aeabi_dmul
.global __aeabi_dadd
.align 2
.LC7:
.ascii "\012Para essa equacao o Y e %f\012\000"
.align 2
.LC8:
.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 {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
ldr r0, .L4+4
bl printf
ldr r0, .L4+8
bl printf
ldr r0, .L4+12
bl printf
sub r3, fp, #60
mov r1, r3
ldr r0, .L4+16
bl __isoc99_scanf
ldr r0, .L4+20
bl printf
sub r3, fp, #52
mov r1, r3
ldr r0, .L4+16
bl __isoc99_scanf
ldr r0, .L4+24
bl printf
sub r3, fp, #44
mov r1, r3
ldr r0, .L4+16
bl __isoc99_scanf
ldr r0, .L4+28
bl printf
sub r3, fp, #36
mov r1, r3
ldr r0, .L4+16
bl __isoc99_scanf
sub r1, fp, #36
ldmia r1, {r0-r1}
mov r2, #0
mov r3, #1073741824
bl pow
sub r3, fp, #60
ldmia r3, {r2-r3}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r1, fp, #52
ldmia r1, {r0-r1}
sub r3, fp, #36
ldmia r3, {r2-r3}
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
sub r3, fp, #44
ldmia r3, {r2-r3}
bl __aeabi_dadd
mov r2, r0
mov r3, r1
str r2, [fp, #-28]
str r3, [fp, #-24]
sub r3, fp, #28
ldmia r3, {r2-r3}
ldr r0, .L4+32
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 .LC8
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.word .LC5
.word .LC6
.word .LC7
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "720191.c"
.intel_syntax noprefix
.text
.globl global_x
.bss
.align 32
.type global_x, @object
.size global_x, 48
global_x:
.zero 48
.globl global_retval
.align 4
.type global_retval, @object
.size global_retval, 4
global_retval:
.zero 4
.globl global_f
.align 8
.type global_f, @object
.size global_f, 8
global_f:
.zero 8
.globl global_grad
.align 32
.type global_grad, @object
.size global_grad, 48
global_grad:
.zero 48
.section .rodata
.LC0:
.string "r"
.LC1:
.string "x.in"
.LC3:
.string "%lf,"
.LC4:
.string "w"
.LC5:
.string "g.out"
.LC6:
.string "%d\n"
.LC7:
.string "%.17g\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, 160
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC0[rip]
lea rdi, .LC1[rip]
call fopen@PLT
mov QWORD PTR -128[rbp], rax
pxor xmm0, xmm0
movsd QWORD PTR -136[rbp], xmm0
mov DWORD PTR -152[rbp], 0
jmp .L2
.L3:
mov eax, DWORD PTR -152[rbp]
lea edx, 1[rax]
mov DWORD PTR -152[rbp], edx
movsd xmm0, QWORD PTR -136[rbp]
cdqe
lea rdx, 0[0+rax*8]
lea rax, global_x[rip]
movsd QWORD PTR [rdx+rax], xmm0
.L2:
lea rdx, -136[rbp]
mov rax, QWORD PTR -128[rbp]
lea rsi, .LC3[rip]
mov rdi, rax
mov eax, 0
call __isoc99_fscanf@PLT
test eax, eax
jg .L3
mov rax, QWORD PTR -128[rbp]
mov rdi, rax
call fclose@PLT
mov DWORD PTR -152[rbp], 0
jmp .L4
.L5:
mov eax, DWORD PTR -152[rbp]
cdqe
lea rdx, 0[0+rax*8]
lea rax, global_x[rip]
movsd xmm0, QWORD PTR [rdx+rax]
mov eax, DWORD PTR -152[rbp]
cdqe
movsd QWORD PTR -112[rbp+rax*8], xmm0
add DWORD PTR -152[rbp], 1
.L4:
cmp DWORD PTR -152[rbp], 5
jle .L5
movsd xmm0, QWORD PTR -104[rbp]
movsd xmm2, QWORD PTR -112[rbp]
movapd xmm1, xmm0
subsd xmm1, xmm2
movsd xmm0, QWORD PTR -72[rbp]
movsd xmm2, QWORD PTR -88[rbp]
subsd xmm0, xmm2
mulsd xmm0, xmm1
movsd xmm1, QWORD PTR -80[rbp]
movsd xmm3, QWORD PTR -88[rbp]
movapd xmm2, xmm1
subsd xmm2, xmm3
movsd xmm1, QWORD PTR -96[rbp]
movsd xmm3, QWORD PTR -112[rbp]
subsd xmm1, xmm3
mulsd xmm2, xmm1
movapd xmm1, xmm0
subsd xmm1, xmm2
pxor xmm0, xmm0
comisd xmm0, xmm1
jbe .L6
movsd xmm0, QWORD PTR -104[rbp]
movsd QWORD PTR -144[rbp], xmm0
movsd xmm0, QWORD PTR -96[rbp]
movsd QWORD PTR -104[rbp], xmm0
movsd xmm0, QWORD PTR -144[rbp]
movsd QWORD PTR -96[rbp], xmm0
movsd xmm0, QWORD PTR -80[rbp]
movsd QWORD PTR -144[rbp], xmm0
movsd xmm0, QWORD PTR -72[rbp]
movsd QWORD PTR -80[rbp], xmm0
movsd xmm0, QWORD PTR -144[rbp]
movsd QWORD PTR -72[rbp], xmm0
.L6:
lea rdx, -112[rbp]
lea rcx, -64[rbp]
lea rax, -144[rbp]
mov rsi, rcx
mov rdi, rax
call g_fcn@PLT
mov DWORD PTR -148[rbp], eax
mov eax, DWORD PTR -148[rbp]
mov DWORD PTR global_retval[rip], eax
movsd xmm0, QWORD PTR -144[rbp]
movsd QWORD PTR global_f[rip], xmm0
mov DWORD PTR -152[rbp], 0
jmp .L8
.L9:
mov eax, DWORD PTR -152[rbp]
cdqe
movsd xmm0, QWORD PTR -64[rbp+rax*8]
mov eax, DWORD PTR -152[rbp]
cdqe
lea rdx, 0[0+rax*8]
lea rax, global_grad[rip]
movsd QWORD PTR [rdx+rax], xmm0
add DWORD PTR -152[rbp], 1
.L8:
cmp DWORD PTR -152[rbp], 5
jle .L9
lea rsi, .LC4[rip]
lea rdi, .LC5[rip]
call fopen@PLT
mov QWORD PTR -120[rbp], rax
mov edx, DWORD PTR -148[rbp]
mov rax, QWORD PTR -120[rbp]
lea rsi, .LC6[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov DWORD PTR -152[rbp], 0
jmp .L10
.L11:
mov eax, DWORD PTR -152[rbp]
cdqe
mov rdx, QWORD PTR -64[rbp+rax*8]
mov rax, QWORD PTR -120[rbp]
movq xmm0, rdx
lea rsi, .LC7[rip]
mov rdi, rax
mov eax, 1
call fprintf@PLT
add DWORD PTR -152[rbp], 1
.L10:
cmp DWORD PTR -152[rbp], 5
jle .L11
mov rax, QWORD PTR -120[rbp]
mov rdi, rax
call fclose@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
.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 "720191.c"
.text
.comm global_x,48,8
.comm global_retval,4,4
.comm global_f,8,8
.comm global_grad,48,8
.section .rodata
.align 2
.LC0:
.ascii "r\000"
.align 2
.LC1:
.ascii "x.in\000"
.align 2
.LC2:
.ascii "%lf,\000"
.global __aeabi_dsub
.global __aeabi_dmul
.global __aeabi_dcmplt
.align 2
.LC3:
.ascii "w\000"
.align 2
.LC4:
.ascii "g.out\000"
.align 2
.LC5:
.ascii "%d\012\000"
.align 2
.LC6:
.ascii "%.17g\012\000"
.align 2
.LC7:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 136
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, r6, r7, fp, lr}
add fp, sp, #20
sub sp, sp, #136
ldr r3, .L15
ldr r3, [r3]
str r3, [fp, #-24]
mov r3,#0
ldr r1, .L15+4
ldr r0, .L15+8
bl fopen
str r0, [fp, #-152]
mov r2, #0
mov r3, #0
str r2, [fp, #-132]
str r3, [fp, #-128]
mov r3, #0
str r3, [fp, #-156]
b .L2
.L3:
ldr r1, [fp, #-156]
add r3, r1, #1
str r3, [fp, #-156]
sub r3, fp, #132
ldmia r3, {r2-r3}
ldr r0, .L15+12
lsl r1, r1, #3
add r1, r0, r1
stm r1, {r2-r3}
.L2:
sub r3, fp, #132
mov r2, r3
ldr r1, .L15+16
ldr r0, [fp, #-152]
bl __isoc99_fscanf
mov r3, r0
cmp r3, #0
bgt .L3
ldr r0, [fp, #-152]
bl fclose
mov r3, #0
str r3, [fp, #-156]
b .L4
.L5:
ldr r2, .L15+12
ldr r3, [fp, #-156]
lsl r3, r3, #3
add r3, r2, r3
ldmia r3, {r2-r3}
ldr r1, [fp, #-156]
lsl r1, r1, #3
sub r0, fp, #20
add r1, r0, r1
sub r1, r1, #104
stm r1, {r2-r3}
ldr r3, [fp, #-156]
add r3, r3, #1
str r3, [fp, #-156]
.L4:
ldr r3, [fp, #-156]
cmp r3, #5
ble .L5
sub r1, fp, #116
ldmia r1, {r0-r1}
sub r3, fp, #124
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
sub r1, fp, #84
ldmia r1, {r0-r1}
sub r3, fp, #100
ldmia r3, {r2-r3}
bl __aeabi_dsub
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
sub r1, fp, #92
ldmia r1, {r0-r1}
sub r3, fp, #100
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
sub r1, fp, #108
ldmia r1, {r0-r1}
sub r3, fp, #124
ldmia r3, {r2-r3}
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
mov r2, #0
mov r3, #0
bl __aeabi_dcmplt
mov r3, r0
cmp r3, #0
beq .L6
sub r3, fp, #116
ldmia r3, {r2-r3}
str r2, [fp, #-140]
str r3, [fp, #-136]
sub r3, fp, #108
ldmia r3, {r2-r3}
str r2, [fp, #-116]
str r3, [fp, #-112]
sub r3, fp, #140
ldmia r3, {r2-r3}
str r2, [fp, #-108]
str r3, [fp, #-104]
sub r3, fp, #92
ldmia r3, {r2-r3}
str r2, [fp, #-140]
str r3, [fp, #-136]
sub r3, fp, #84
ldmia r3, {r2-r3}
str r2, [fp, #-92]
str r3, [fp, #-88]
sub r3, fp, #140
ldmia r3, {r2-r3}
str r2, [fp, #-84]
str r3, [fp, #-80]
.L6:
sub r2, fp, #124
sub r1, fp, #76
sub r3, fp, #140
mov r0, r3
bl g_fcn
str r0, [fp, #-148]
ldr r2, .L15+20
ldr r3, [fp, #-148]
str r3, [r2]
sub r3, fp, #140
ldmia r3, {r2-r3}
ldr r1, .L15+24
stm r1, {r2-r3}
mov r3, #0
str r3, [fp, #-156]
b .L8
.L9:
ldr r3, [fp, #-156]
lsl r3, r3, #3
sub r2, fp, #20
add r3, r2, r3
sub r3, r3, #56
ldmia r3, {r2-r3}
ldr r0, .L15+28
ldr r1, [fp, #-156]
lsl r1, r1, #3
add r1, r0, r1
stm r1, {r2-r3}
ldr r3, [fp, #-156]
add r3, r3, #1
str r3, [fp, #-156]
.L8:
ldr r3, [fp, #-156]
cmp r3, #5
ble .L9
ldr r1, .L15+32
ldr r0, .L15+36
bl fopen
str r0, [fp, #-144]
ldr r2, [fp, #-148]
ldr r1, .L15+40
ldr r0, [fp, #-144]
bl fprintf
mov r3, #0
str r3, [fp, #-156]
b .L10
.L11:
ldr r3, [fp, #-156]
lsl r3, r3, #3
sub r2, fp, #20
add r3, r2, r3
sub r3, r3, #56
ldmia r3, {r2-r3}
ldr r1, .L15+44
ldr r0, [fp, #-144]
bl fprintf
ldr r3, [fp, #-156]
add r3, r3, #1
str r3, [fp, #-156]
.L10:
ldr r3, [fp, #-156]
cmp r3, #5
ble .L11
ldr r0, [fp, #-144]
bl fclose
mov r3, #0
ldr r2, .L15
ldr r1, [r2]
ldr r2, [fp, #-24]
eors r1, r2, r1
mov r2, #0
beq .L13
bl __stack_chk_fail
.L13:
mov r0, r3
sub sp, fp, #20
@ sp needed
pop {r4, r5, r6, r7, fp, pc}
.L16:
.align 2
.L15:
.word .LC7
.word .LC0
.word .LC1
.word global_x
.word .LC2
.word global_retval
.word global_f
.word global_grad
.word .LC3
.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 "514616.c"
.intel_syntax noprefix
.text
.globl crc16
.type crc16, @function
crc16:
.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 WORD PTR -10[rbp], -1
mov eax, DWORD PTR -28[rbp]
mov DWORD PTR -4[rbp], eax
jmp .L2
.L5:
mov rax, QWORD PTR -24[rbp]
lea rdx, 1[rax]
mov QWORD PTR -24[rbp], rdx
movzx eax, BYTE PTR [rax]
mov BYTE PTR -11[rbp], al
mov DWORD PTR -8[rbp], 0
jmp .L3
.L4:
movzx eax, WORD PTR -10[rbp]
shr ax
mov ecx, eax
movzx edx, WORD PTR -10[rbp]
movzx eax, BYTE PTR -11[rbp]
xor eax, edx
and eax, 1
cdqe
lea rdx, [rax+rax]
lea rax, poly.0[rip]
movzx eax, WORD PTR [rdx+rax]
xor eax, ecx
mov WORD PTR -10[rbp], ax
shr BYTE PTR -11[rbp]
add DWORD PTR -8[rbp], 1
.L3:
cmp DWORD PTR -8[rbp], 7
jle .L4
sub DWORD PTR -4[rbp], 1
.L2:
cmp DWORD PTR -4[rbp], 0
jg .L5
movzx eax, WORD PTR -10[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size crc16, .-crc16
.data
.align 2
.type poly.0, @object
.size poly.0, 4
poly.0:
.value 0
.value -24575
.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 "514616.c"
.text
.align 2
.global crc16
.syntax unified
.arm
.fpu softvfp
.type crc16, %function
crc16:
@ 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]
mvn r3, #0
strh r3, [fp, #-14] @ movhi
ldr r3, [fp, #-28]
str r3, [fp, #-8]
b .L2
.L5:
ldr r3, [fp, #-24]
add r2, r3, #1
str r2, [fp, #-24]
ldrb r3, [r3]
strb r3, [fp, #-15]
mov r3, #0
str r3, [fp, #-12]
b .L3
.L4:
ldrh r3, [fp, #-14]
lsr r3, r3, #1
lsl r3, r3, #16
lsr r2, r3, #16
ldrh r1, [fp, #-14]
ldrb r3, [fp, #-15] @ zero_extendqisi2
eor r3, r3, r1
and r3, r3, #1
ldr r1, .L7
lsl r3, r3, #1
add r3, r1, r3
ldrh r3, [r3]
eor r3, r3, r2
strh r3, [fp, #-14] @ movhi
ldrb r3, [fp, #-15] @ zero_extendqisi2
lsr r3, r3, #1
strb r3, [fp, #-15]
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L3:
ldr r3, [fp, #-12]
cmp r3, #7
ble .L4
ldr r3, [fp, #-8]
sub r3, r3, #1
str r3, [fp, #-8]
.L2:
ldr r3, [fp, #-8]
cmp r3, #0
bgt .L5
ldrh r3, [fp, #-14]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L8:
.align 2
.L7:
.word poly.4198
.size crc16, .-crc16
.data
.align 2
.type poly.4198, %object
.size poly.4198, 4
poly.4198:
.short 0
.short -24575
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "435133.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, 48
mov DWORD PTR -36[rbp], edi
mov QWORD PTR -48[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -24[rbp], 17
mov DWORD PTR -28[rbp], 0
.L4:
mov BYTE PTR -1[rbp], 65
add DWORD PTR -28[rbp], 1
mov eax, DWORD PTR -28[rbp]
cmp eax, DWORD PTR -24[rbp]
jg .L8
jmp .L4
.L8:
nop
mov eax, 0
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
.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 "435133.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 = 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, .L9
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #17
str r3, [fp, #-24]
mov r3, #0
str r3, [fp, #-28]
.L4:
mov r3, #65
strb r3, [fp, #-3]
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
ldr r2, [fp, #-28]
ldr r3, [fp, #-24]
cmp r2, r3
bgt .L8
b .L4
.L8:
nop
mov r3, #0
ldr r2, .L9
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}
.L10:
.align 2
.L9:
.word .LC0
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "695627.c"
.intel_syntax noprefix
.text
.globl remove
.type remove, @function
remove:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call remove_file@PLT
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size remove, .-remove
.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 "695627.c"
.text
.align 2
.global remove
.syntax unified
.arm
.fpu softvfp
.type remove, %function
remove:
@ 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 remove_file
mov r3, r0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size remove, .-remove
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "856134.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "in pendfunc1, x is %d\n"
.text
.globl pendfunc1
.type pendfunc1, @function
pendfunc1:
.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
mov eax, DWORD PTR -20[rbp]
add eax, 4
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -20[rbp]
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size pendfunc1, .-pendfunc1
.globl pendfunc
.type pendfunc, @function
pendfunc:
.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 eax, DWORD PTR -4[rbp]
mov edi, eax
call pendfunc1
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size pendfunc, .-pendfunc
.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 "856134.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "in pendfunc1, x is %d\012\000"
.text
.align 2
.global pendfunc1
.syntax unified
.arm
.fpu softvfp
.type pendfunc1, %function
pendfunc1:
@ 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]
add r3, r3, #4
str r3, [fp, #-8]
ldr r1, [fp, #-16]
ldr r0, .L2
bl printf
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L3:
.align 2
.L2:
.word .LC0
.size pendfunc1, .-pendfunc1
.align 2
.global pendfunc
.syntax unified
.arm
.fpu softvfp
.type pendfunc, %function
pendfunc:
@ 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 pendfunc1
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size pendfunc, .-pendfunc
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "261756.c"
.intel_syntax noprefix
.text
.globl check_args
.type check_args, @function
check_args:
.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], 8
jne .L2
mov eax, 8
jmp .L3
.L2:
cmp DWORD PTR -4[rbp], 4
jne .L4
mov eax, 1
jmp .L3
.L4:
cmp DWORD PTR -4[rbp], 4
jne .L5
mov eax, 1
jmp .L3
.L5:
cmp DWORD PTR -4[rbp], 4
jne .L6
mov eax, 1
jmp .L3
.L6:
cmp DWORD PTR -4[rbp], 4
jne .L7
mov eax, 1
jmp .L3
.L7:
cmp DWORD PTR -4[rbp], 4
jne .L8
mov eax, 1
jmp .L3
.L8:
cmp DWORD PTR -4[rbp], 4
jne .L9
mov eax, 1
jmp .L3
.L9:
cmp DWORD PTR -4[rbp], 4
jne .L10
mov eax, 1
jmp .L3
.L10:
cmp DWORD PTR -4[rbp], 4
jne .L11
mov eax, 1
jmp .L3
.L11:
cmp DWORD PTR -4[rbp], 4
jne .L12
mov eax, 1
jmp .L3
.L12:
mov eax, 0
.L3:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size check_args, .-check_args
.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 "261756.c"
.text
.align 2
.global check_args
.syntax unified
.arm
.fpu softvfp
.type check_args, %function
check_args:
@ 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, #8
bne .L2
mov r3, #8
b .L3
.L2:
ldr r3, [fp, #-8]
cmp r3, #4
bne .L4
mov r3, #1
b .L3
.L4:
ldr r3, [fp, #-8]
cmp r3, #4
bne .L5
mov r3, #1
b .L3
.L5:
ldr r3, [fp, #-8]
cmp r3, #4
bne .L6
mov r3, #1
b .L3
.L6:
ldr r3, [fp, #-8]
cmp r3, #4
bne .L7
mov r3, #1
b .L3
.L7:
ldr r3, [fp, #-8]
cmp r3, #4
bne .L8
mov r3, #1
b .L3
.L8:
ldr r3, [fp, #-8]
cmp r3, #4
bne .L9
mov r3, #1
b .L3
.L9:
ldr r3, [fp, #-8]
cmp r3, #4
bne .L10
mov r3, #1
b .L3
.L10:
ldr r3, [fp, #-8]
cmp r3, #4
bne .L11
mov r3, #1
b .L3
.L11:
ldr r3, [fp, #-8]
cmp r3, #4
bne .L12
mov r3, #1
b .L3
.L12:
mov r3, #0
.L3:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size check_args, .-check_args
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "498422.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 "498422.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "638336.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "wc"
.LC1:
.string "-w"
.LC2:
.string "fork"
.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 DWORD PTR -68[rbp], edi
mov QWORD PTR -80[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
cmp DWORD PTR -68[rbp], 2
jne .L2
lea rax, .LC0[rip]
mov QWORD PTR -48[rbp], rax
lea rax, .LC1[rip]
mov QWORD PTR -40[rbp], rax
mov rax, QWORD PTR -80[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -32[rbp], rax
mov QWORD PTR -24[rbp], 0
call fork@PLT
mov DWORD PTR -52[rbp], eax
cmp DWORD PTR -52[rbp], 0
jns .L3
lea rdi, .LC2[rip]
call perror@PLT
mov edi, 1
call exit@PLT
.L3:
cmp DWORD PTR -52[rbp], 0
jne .L4
mov rax, QWORD PTR -48[rbp]
lea rdx, -48[rbp]
mov rsi, rdx
mov rdi, rax
call execvp@PLT
jmp .L2
.L4:
mov edi, 0
call wait@PLT
mov eax, 0
jmp .L5
.L2:
mov eax, 0
.L5:
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
.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 "638336.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "wc\000"
.align 2
.LC1:
.ascii "-w\000"
.align 2
.LC2:
.ascii "fork\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 = 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, .L7
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, [fp, #-32]
cmp r3, #2
bne .L2
ldr r3, .L7+4
str r3, [fp, #-24]
ldr r3, .L7+8
str r3, [fp, #-20]
ldr r3, [fp, #-36]
ldr r3, [r3, #4]
str r3, [fp, #-16]
mov r3, #0
str r3, [fp, #-12]
bl fork
mov r3, r0
str r3, [fp, #-28]
ldr r3, [fp, #-28]
cmp r3, #0
bge .L3
ldr r0, .L7+12
bl perror
mov r0, #1
bl exit
.L3:
ldr r3, [fp, #-28]
cmp r3, #0
bne .L4
ldr r3, [fp, #-24]
sub r2, fp, #24
mov r1, r2
mov r0, r3
bl execvp
b .L2
.L4:
mov r0, #0
bl wait
mov r3, #0
b .L5
.L2:
mov r3, #0
.L5:
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 .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 "556657.c"
.intel_syntax noprefix
.text
.globl Softmax
.type Softmax, @function
Softmax:
.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 QWORD PTR -48[rbp], rcx
mov DWORD PTR -12[rbp], 0
mov rax, QWORD PTR -24[rbp]
movss xmm0, DWORD PTR [rax]
movss DWORD PTR -8[rbp], xmm0
mov DWORD PTR -16[rbp], 1
jmp .L2
.L5:
mov eax, DWORD PTR -16[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movss xmm0, DWORD PTR [rax]
comiss xmm0, DWORD PTR -8[rbp]
jbe .L3
mov eax, DWORD PTR -16[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movss xmm0, DWORD PTR [rax]
movss DWORD PTR -8[rbp], xmm0
.L3:
add DWORD PTR -16[rbp], 1
.L2:
cmp DWORD PTR -16[rbp], 999
jle .L5
pxor xmm0, xmm0
movss DWORD PTR -4[rbp], xmm0
mov DWORD PTR -16[rbp], 0
jmp .L6
.L7:
mov eax, DWORD PTR -16[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movss xmm0, DWORD PTR [rax]
subss xmm0, DWORD PTR -8[rbp]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movq xmm0, rax
call exp@PLT
mov eax, DWORD PTR -16[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
cvtsd2ss xmm0, xmm0
movss DWORD PTR [rax], xmm0
mov eax, DWORD PTR -16[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movss xmm0, DWORD PTR [rax]
movss xmm1, DWORD PTR -4[rbp]
addss xmm0, xmm1
movss DWORD PTR -4[rbp], xmm0
add DWORD PTR -16[rbp], 1
.L6:
cmp DWORD PTR -16[rbp], 999
jle .L7
mov DWORD PTR -16[rbp], 0
jmp .L8
.L9:
mov eax, DWORD PTR -16[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movss xmm0, DWORD PTR [rax]
mov eax, DWORD PTR -16[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
divss xmm0, DWORD PTR -4[rbp]
movss DWORD PTR [rax], xmm0
add DWORD PTR -16[rbp], 1
.L8:
cmp DWORD PTR -16[rbp], 999
jle .L9
mov DWORD PTR -16[rbp], 0
jmp .L10
.L13:
mov eax, DWORD PTR -16[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movss xmm0, DWORD PTR [rax]
pxor xmm1, xmm1
ucomiss xmm0, xmm1
jp .L16
pxor xmm1, xmm1
comiss xmm0, xmm1
je .L11
.L16:
mov eax, DWORD PTR -16[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -40[rbp]
add rdx, rax
mov eax, DWORD PTR -12[rbp]
mov DWORD PTR [rdx], eax
mov eax, DWORD PTR -16[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rdx, rax
mov eax, DWORD PTR -16[rbp]
cdqe
lea rcx, 0[0+rax*4]
mov rax, QWORD PTR -48[rbp]
add rax, rcx
movss xmm0, DWORD PTR [rdx]
movss DWORD PTR [rax], xmm0
.L11:
add DWORD PTR -12[rbp], 1
add DWORD PTR -16[rbp], 1
.L10:
cmp DWORD PTR -16[rbp], 999
jle .L13
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size Softmax, .-Softmax
.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 "556657.c"
.text
.global __aeabi_fcmplt
.global __aeabi_fsub
.global __aeabi_f2d
.global __aeabi_d2f
.global __aeabi_fadd
.global __aeabi_fdiv
.global __aeabi_fcmpeq
.align 2
.global Softmax
.syntax unified
.arm
.fpu softvfp
.type Softmax, %function
Softmax:
@ 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]
mov r3, #0
str r3, [fp, #-24]
ldr r3, [fp, #-32]
ldr r3, [r3] @ float
str r3, [fp, #-20] @ float
mov r3, #1
str r3, [fp, #-28]
b .L2
.L5:
ldr r3, [fp, #-28]
lsl r3, r3, #2
ldr r2, [fp, #-32]
add r3, r2, r3
ldr r3, [r3] @ float
mov r1, r3
ldr r0, [fp, #-20] @ float
bl __aeabi_fcmplt
mov r3, r0
cmp r3, #0
beq .L3
ldr r3, [fp, #-28]
lsl r3, r3, #2
ldr r2, [fp, #-32]
add r3, r2, r3
ldr r3, [r3] @ float
str r3, [fp, #-20] @ float
.L3:
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L2:
ldr r3, [fp, #-28]
cmp r3, #1000
blt .L5
mov r3, #0
str r3, [fp, #-16] @ float
mov r3, #0
str r3, [fp, #-28]
b .L6
.L7:
ldr r3, [fp, #-28]
lsl r3, r3, #2
ldr r2, [fp, #-32]
add r3, r2, r3
ldr r3, [r3] @ float
ldr r1, [fp, #-20] @ float
mov r0, r3
bl __aeabi_fsub
mov r3, r0
mov r0, r3
bl __aeabi_f2d
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl exp
mov r2, r0
mov r3, r1
ldr r1, [fp, #-28]
lsl r1, r1, #2
ldr r0, [fp, #-32]
add r4, r0, r1
mov r0, r2
mov r1, r3
bl __aeabi_d2f
mov r3, r0
str r3, [r4] @ float
ldr r3, [fp, #-28]
lsl r3, r3, #2
ldr r2, [fp, #-32]
add r3, r2, r3
ldr r3, [r3] @ float
mov r1, r3
ldr r0, [fp, #-16] @ float
bl __aeabi_fadd
mov r3, r0
str r3, [fp, #-16] @ float
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L6:
ldr r3, [fp, #-28]
cmp r3, #1000
blt .L7
mov r3, #0
str r3, [fp, #-28]
b .L8
.L9:
ldr r3, [fp, #-28]
lsl r3, r3, #2
ldr r2, [fp, #-32]
add r3, r2, r3
ldr r0, [r3] @ float
ldr r3, [fp, #-28]
lsl r3, r3, #2
ldr r2, [fp, #-32]
add r4, r2, r3
ldr r1, [fp, #-16] @ float
bl __aeabi_fdiv
mov r3, r0
str r3, [r4] @ float
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L8:
ldr r3, [fp, #-28]
cmp r3, #1000
blt .L9
mov r3, #0
str r3, [fp, #-28]
b .L10
.L13:
ldr r3, [fp, #-28]
lsl r3, r3, #2
ldr r2, [fp, #-32]
add r3, r2, r3
ldr r3, [r3] @ float
mov r1, #0
mov r0, r3
bl __aeabi_fcmpeq
mov r3, r0
cmp r3, #0
bne .L11
ldr r3, [fp, #-28]
lsl r3, r3, #2
ldr r2, [fp, #-40]
add r3, r2, r3
ldr r2, [fp, #-24]
str r2, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
ldr r2, [fp, #-32]
add r2, r2, r3
ldr r3, [fp, #-28]
lsl r3, r3, #2
ldr r1, [fp, #-44]
add r3, r1, r3
ldr r2, [r2] @ float
str r2, [r3] @ float
.L11:
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L10:
ldr r3, [fp, #-28]
cmp r3, #1000
blt .L13
nop
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.size Softmax, .-Softmax
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "763313.c"
.intel_syntax noprefix
.text
.section .rodata
.align 8
.LC0:
.string "Bitte geben sie eine ganze Zahl \"a\" ein: "
.LC1:
.string "%i"
.align 8
.LC2:
.string "Bitte geben sie eine nat\303\274rliche Zahl \"n\" ein: "
.LC3:
.string "a*2^n = %i*2^%i = %i\n"
.LC4:
.string "a*2^-n = %i*2^-%i = %i"
.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
mov rax, QWORD PTR stdout[rip]
mov esi, 0
mov rdi, rax
call setbuf@PLT
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
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 rax, -20[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov edx, DWORD PTR -24[rbp]
mov eax, DWORD PTR -20[rbp]
mov ecx, eax
sal edx, cl
mov eax, edx
mov DWORD PTR -16[rbp], eax
mov edx, DWORD PTR -24[rbp]
mov eax, DWORD PTR -20[rbp]
mov ecx, eax
sar edx, cl
mov eax, edx
mov DWORD PTR -12[rbp], eax
mov edx, DWORD PTR -20[rbp]
mov eax, DWORD PTR -24[rbp]
mov ecx, DWORD PTR -16[rbp]
mov esi, eax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
mov edx, DWORD PTR -20[rbp]
mov eax, DWORD PTR -24[rbp]
mov ecx, DWORD PTR -12[rbp]
mov esi, eax
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
mov eax, 0
mov rsi, QWORD PTR -8[rbp]
sub rsi, 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 "763313.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "Bitte geben sie eine ganze Zahl \"a\" ein: \000"
.align 2
.LC1:
.ascii "%i\000"
.align 2
.LC2:
.ascii "Bitte geben sie eine nat\303\274rliche Zahl \"n\" e"
.ascii "in: \000"
.align 2
.LC3:
.ascii "a*2^n = %i*2^%i = %i\012\000"
.align 2
.LC4:
.ascii "a*2^-n = %i*2^-%i = %i\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, .L4
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, .L4+4
ldr r3, [r3]
mov r1, #0
mov r0, r3
bl setbuf
ldr r0, .L4+8
bl printf
sub r3, fp, #24
mov r1, r3
ldr r0, .L4+12
bl __isoc99_scanf
ldr r0, .L4+16
bl printf
sub r3, fp, #20
mov r1, r3
ldr r0, .L4+12
bl __isoc99_scanf
ldr r2, [fp, #-24]
ldr r3, [fp, #-20]
lsl r3, r2, r3
str r3, [fp, #-16]
ldr r2, [fp, #-24]
ldr r3, [fp, #-20]
asr r3, r2, r3
str r3, [fp, #-12]
ldr r1, [fp, #-24]
ldr r2, [fp, #-20]
ldr r3, [fp, #-16]
ldr r0, .L4+20
bl printf
ldr r1, [fp, #-24]
ldr r2, [fp, #-20]
ldr r3, [fp, #-12]
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 .LC5
.word stdout
.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 "627331.c"
.intel_syntax noprefix
.text
.section .rodata
.LC1:
.string "%d"
.LC2:
.string "\n"
.LC3:
.string "%lf\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
movsd QWORD PTR -16[rbp], xmm0
lea rax, -32[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov DWORD PTR -20[rbp], eax
mov DWORD PTR -24[rbp], 0
jmp .L2
.L3:
lea rdi, .LC2[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov DWORD PTR -20[rbp], eax
lea rax, -28[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -28[rbp]
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, QWORD PTR -16[rbp]
addsd xmm0, xmm1
movsd QWORD PTR -16[rbp], xmm0
add DWORD PTR -24[rbp], 1
.L2:
mov eax, DWORD PTR -32[rbp]
cmp DWORD PTR -24[rbp], eax
jl .L3
mov eax, DWORD PTR -32[rbp]
pxor xmm1, xmm1
cvtsi2sd xmm1, eax
movsd xmm0, QWORD PTR -16[rbp]
divsd xmm0, xmm1
movsd QWORD PTR -16[rbp], xmm0
mov rax, QWORD PTR -16[rbp]
movq xmm0, rax
lea rdi, .LC3[rip]
mov eax, 1
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
.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 "627331.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "%d\000"
.align 2
.LC1:
.ascii "\012\000"
.global __aeabi_i2d
.global __aeabi_dadd
.global __aeabi_ddiv
.align 2
.LC2:
.ascii "%lf\012\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 = 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 r2, #0
mov r3, #0
str r2, [fp, #-20]
str r3, [fp, #-16]
sub r3, fp, #36
mov r1, r3
ldr r0, .L6+4
bl __isoc99_scanf
str r0, [fp, #-24]
mov r3, #0
str r3, [fp, #-28]
b .L2
.L3:
ldr r0, .L6+8
bl __isoc99_scanf
str r0, [fp, #-24]
sub r3, fp, #32
mov r1, r3
ldr r0, .L6+4
bl __isoc99_scanf
str r0, [fp, #-24]
ldr r3, [fp, #-32]
mov r0, r3
bl __aeabi_i2d
mov r2, r0
mov r3, r1
sub r1, fp, #20
ldmia r1, {r0-r1}
bl __aeabi_dadd
mov r2, r0
mov r3, r1
str r2, [fp, #-20]
str r3, [fp, #-16]
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L2:
ldr r3, [fp, #-36]
ldr r2, [fp, #-28]
cmp r2, r3
blt .L3
ldr r3, [fp, #-36]
mov r0, r3
bl __aeabi_i2d
mov r2, r0
mov r3, r1
sub r1, fp, #20
ldmia r1, {r0-r1}
bl __aeabi_ddiv
mov r2, r0
mov r3, r1
str r2, [fp, #-20]
str r3, [fp, #-16]
sub r3, fp, #20
ldmia r3, {r2-r3}
ldr r0, .L6+12
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 .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 "260595.c"
.intel_syntax noprefix
.text
.globl alloc_square_matrix
.type alloc_square_matrix, @function
alloc_square_matrix:
.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, 40
.cfi_offset 3, -24
mov DWORD PTR -36[rbp], edi
mov eax, DWORD PTR -36[rbp]
cdqe
sal rax, 3
mov rdi, rax
call malloc@PLT
mov QWORD PTR -24[rbp], rax
mov DWORD PTR -28[rbp], 0
jmp .L2
.L3:
mov eax, DWORD PTR -36[rbp]
cdqe
sal rax, 2
mov edx, DWORD PTR -28[rbp]
movsx rdx, edx
lea rcx, 0[0+rdx*8]
mov rdx, QWORD PTR -24[rbp]
lea rbx, [rcx+rdx]
mov rdi, rax
call malloc@PLT
mov QWORD PTR [rbx], rax
add DWORD PTR -28[rbp], 1
.L2:
mov eax, DWORD PTR -28[rbp]
cmp eax, DWORD PTR -36[rbp]
jl .L3
mov rax, QWORD PTR -24[rbp]
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size alloc_square_matrix, .-alloc_square_matrix
.globl unalloc_square_matrix
.type unalloc_square_matrix, @function
unalloc_square_matrix:
.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 DWORD PTR -28[rbp], esi
mov DWORD PTR -4[rbp], 0
jmp .L6
.L7:
mov eax, DWORD PTR -4[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
mov rdi, rax
call free@PLT
add DWORD PTR -4[rbp], 1
.L6:
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -28[rbp]
jl .L7
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call free@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size unalloc_square_matrix, .-unalloc_square_matrix
.section .rodata
.LC0:
.string "r"
.align 8
.LC1:
.string "Error while reading the matrix.\n"
.LC2:
.string "%d\n"
.LC3:
.string "%d"
.text
.globl read_square_matrix
.type read_square_matrix, @function
read_square_matrix:
.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 -40[rbp]
lea rsi, .LC0[rip]
mov rdi, rax
call fopen@PLT
mov QWORD PTR -16[rbp], rax
cmp QWORD PTR -16[rbp], 0
jne .L9
mov rax, QWORD PTR stderr[rip]
mov rcx, rax
mov edx, 32
mov esi, 1
lea rdi, .LC1[rip]
call fwrite@PLT
mov edi, 1
call exit@PLT
.L9:
mov rdx, QWORD PTR -48[rbp]
mov rax, QWORD PTR -16[rbp]
lea rsi, .LC2[rip]
mov rdi, rax
mov eax, 0
call __isoc99_fscanf@PLT
mov rax, QWORD PTR -48[rbp]
mov eax, DWORD PTR [rax]
mov edi, eax
call alloc_square_matrix
mov QWORD PTR -8[rbp], rax
mov DWORD PTR -24[rbp], 0
jmp .L10
.L13:
mov DWORD PTR -20[rbp], 0
jmp .L11
.L12:
mov eax, DWORD PTR -24[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -8[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -20[rbp]
cdqe
sal rax, 2
add rdx, rax
mov rax, QWORD PTR -16[rbp]
lea rsi, .LC3[rip]
mov rdi, rax
mov eax, 0
call __isoc99_fscanf@PLT
add DWORD PTR -20[rbp], 1
.L11:
mov rax, QWORD PTR -48[rbp]
mov eax, DWORD PTR [rax]
cmp DWORD PTR -20[rbp], eax
jl .L12
add DWORD PTR -24[rbp], 1
.L10:
mov rax, QWORD PTR -48[rbp]
mov eax, DWORD PTR [rax]
cmp DWORD PTR -24[rbp], eax
jl .L13
mov rax, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size read_square_matrix, .-read_square_matrix
.section .rodata
.LC4:
.string "w"
.align 8
.LC5:
.string "Error while writing the matrix.\n"
.LC6:
.string "%d "
.text
.globl write_square_matrix
.type write_square_matrix, @function
write_square_matrix:
.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 -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov QWORD PTR -40[rbp], rdx
mov rax, QWORD PTR -40[rbp]
lea rsi, .LC4[rip]
mov rdi, rax
call fopen@PLT
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
jne .L16
mov rax, QWORD PTR stderr[rip]
mov rcx, rax
mov edx, 32
mov esi, 1
lea rdi, .LC5[rip]
call fwrite@PLT
mov edi, 1
call exit@PLT
.L16:
mov edx, DWORD PTR -28[rbp]
mov rax, QWORD PTR -8[rbp]
lea rsi, .LC2[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov DWORD PTR -16[rbp], 0
jmp .L17
.L20:
mov DWORD PTR -12[rbp], 0
jmp .L18
.L19:
mov eax, DWORD PTR -16[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 -12[rbp]
cdqe
sal rax, 2
add rax, rdx
mov edx, DWORD PTR [rax]
mov rax, QWORD PTR -8[rbp]
lea rsi, .LC6[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
add DWORD PTR -12[rbp], 1
.L18:
mov eax, DWORD PTR -12[rbp]
cmp eax, DWORD PTR -28[rbp]
jl .L19
mov rax, QWORD PTR -8[rbp]
mov rsi, rax
mov edi, 10
call fputc@PLT
add DWORD PTR -16[rbp], 1
.L17:
mov eax, DWORD PTR -16[rbp]
cmp eax, DWORD PTR -28[rbp]
jl .L20
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size write_square_matrix, .-write_square_matrix
.section .rodata
.LC7:
.string ""
.text
.globl print_square_matrix
.type print_square_matrix, @function
print_square_matrix:
.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
mov DWORD PTR -8[rbp], 0
jmp .L22
.L25:
mov DWORD PTR -4[rbp], 0
jmp .L23
.L24:
mov eax, DWORD PTR -8[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 -4[rbp]
cdqe
sal rax, 2
add rax, rdx
mov eax, DWORD PTR [rax]
mov esi, eax
lea rdi, .LC6[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -4[rbp], 1
.L23:
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -28[rbp]
jl .L24
lea rdi, .LC7[rip]
call puts@PLT
add DWORD PTR -8[rbp], 1
.L22:
mov eax, DWORD PTR -8[rbp]
cmp eax, DWORD PTR -28[rbp]
jl .L25
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size print_square_matrix, .-print_square_matrix
.globl mult_square_matrix
.type mult_square_matrix, @function
mult_square_matrix:
.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, 64
mov QWORD PTR -40[rbp], rdi
mov QWORD PTR -48[rbp], rsi
mov DWORD PTR -52[rbp], edx
mov eax, DWORD PTR -52[rbp]
mov edi, eax
call alloc_square_matrix
mov QWORD PTR -8[rbp], rax
mov DWORD PTR -24[rbp], 0
jmp .L27
.L32:
mov DWORD PTR -20[rbp], 0
jmp .L28
.L31:
mov DWORD PTR -16[rbp], 0
mov DWORD PTR -12[rbp], 0
jmp .L29
.L30:
mov eax, DWORD PTR -24[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -40[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -12[rbp]
cdqe
sal rax, 2
add rax, rdx
mov edx, DWORD PTR [rax]
mov eax, DWORD PTR -12[rbp]
cdqe
lea rcx, 0[0+rax*8]
mov rax, QWORD PTR -48[rbp]
add rax, rcx
mov rcx, QWORD PTR [rax]
mov eax, DWORD PTR -20[rbp]
cdqe
sal rax, 2
add rax, rcx
mov eax, DWORD PTR [rax]
imul eax, edx
add DWORD PTR -16[rbp], eax
add DWORD PTR -12[rbp], 1
.L29:
mov eax, DWORD PTR -12[rbp]
cmp eax, DWORD PTR -52[rbp]
jl .L30
mov eax, DWORD PTR -24[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -8[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -20[rbp]
cdqe
sal rax, 2
add rdx, rax
mov eax, DWORD PTR -16[rbp]
mov DWORD PTR [rdx], eax
add DWORD PTR -20[rbp], 1
.L28:
mov eax, DWORD PTR -20[rbp]
cmp eax, DWORD PTR -52[rbp]
jl .L31
add DWORD PTR -24[rbp], 1
.L27:
mov eax, DWORD PTR -24[rbp]
cmp eax, DWORD PTR -52[rbp]
jl .L32
mov rax, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size mult_square_matrix, .-mult_square_matrix
.section .rodata
.align 8
.LC8:
.string "Usage: %s <matrix1.txt> <matrix2.txt> <outfile.txt>\n"
.align 8
.LC9:
.string "Error: the matrices must have the same\torder!\n"
.LC11:
.string "Execution time: %lf s\n"
.text
.globl main
.type main, @function
main:
.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, 80
mov DWORD PTR -68[rbp], edi
mov QWORD PTR -80[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
cmp DWORD PTR -68[rbp], 4
je .L35
mov rax, QWORD PTR -80[rbp]
mov rax, QWORD PTR [rax]
mov rsi, rax
lea rdi, .LC8[rip]
mov eax, 0
call printf@PLT
mov edi, 0
call exit@PLT
.L35:
call clock@PLT
mov QWORD PTR -48[rbp], rax
mov rax, QWORD PTR -80[rbp]
add rax, 8
mov rax, QWORD PTR [rax]
lea rdx, -56[rbp]
mov rsi, rdx
mov rdi, rax
call read_square_matrix
mov QWORD PTR -40[rbp], rax
mov rax, QWORD PTR -80[rbp]
add rax, 16
mov rax, QWORD PTR [rax]
lea rdx, -52[rbp]
mov rsi, rdx
mov rdi, rax
call read_square_matrix
mov QWORD PTR -32[rbp], rax
mov edx, DWORD PTR -56[rbp]
mov eax, DWORD PTR -52[rbp]
cmp edx, eax
je .L36
mov rax, QWORD PTR stderr[rip]
mov rcx, rax
mov edx, 46
mov esi, 1
lea rdi, .LC9[rip]
call fwrite@PLT
mov edi, 1
call exit@PLT
.L36:
mov edx, DWORD PTR -56[rbp]
mov rcx, QWORD PTR -32[rbp]
mov rax, QWORD PTR -40[rbp]
mov rsi, rcx
mov rdi, rax
call mult_square_matrix
mov QWORD PTR -24[rbp], rax
mov rax, QWORD PTR -80[rbp]
add rax, 24
mov rdx, QWORD PTR [rax]
mov ecx, DWORD PTR -56[rbp]
mov rax, QWORD PTR -24[rbp]
mov esi, ecx
mov rdi, rax
call write_square_matrix
call clock@PLT
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -16[rbp]
sub rax, QWORD PTR -48[rbp]
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
movsd xmm1, QWORD PTR .LC10[rip]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
lea rdi, .LC11[rip]
mov eax, 1
call printf@PLT
mov edx, DWORD PTR -56[rbp]
mov rax, QWORD PTR -40[rbp]
mov esi, edx
mov rdi, rax
call unalloc_square_matrix
mov edx, DWORD PTR -56[rbp]
mov rax, QWORD PTR -32[rbp]
mov esi, edx
mov rdi, rax
call unalloc_square_matrix
mov edx, DWORD PTR -56[rbp]
mov rax, QWORD PTR -24[rbp]
mov esi, edx
mov rdi, rax
call unalloc_square_matrix
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L38
call __stack_chk_fail@PLT
.L38:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE12:
.size main, .-main
.section .rodata
.align 8
.LC10:
.long 0
.long 1093567616
.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 "260595.c"
.text
.align 2
.global alloc_square_matrix
.syntax unified
.arm
.fpu softvfp
.type alloc_square_matrix, %function
alloc_square_matrix:
@ 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]
ldr r3, [fp, #-24]
lsl r3, r3, #2
mov r0, r3
bl malloc
mov r3, r0
str r3, [fp, #-16]
mov r3, #0
str r3, [fp, #-20]
b .L2
.L3:
ldr r3, [fp, #-24]
lsl r1, r3, #2
ldr r3, [fp, #-20]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r4, r2, r3
mov r0, r1
bl malloc
mov r3, r0
str r3, [r4]
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L2:
ldr r2, [fp, #-20]
ldr r3, [fp, #-24]
cmp r2, r3
blt .L3
ldr r3, [fp, #-16]
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.size alloc_square_matrix, .-alloc_square_matrix
.align 2
.global unalloc_square_matrix
.syntax unified
.arm
.fpu softvfp
.type unalloc_square_matrix, %function
unalloc_square_matrix:
@ 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]
mov r3, #0
str r3, [fp, #-8]
b .L6
.L7:
ldr r3, [fp, #-8]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r3, [r3]
mov r0, r3
bl free
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L6:
ldr r2, [fp, #-8]
ldr r3, [fp, #-20]
cmp r2, r3
blt .L7
ldr r0, [fp, #-16]
bl free
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size unalloc_square_matrix, .-unalloc_square_matrix
.section .rodata
.align 2
.LC0:
.ascii "r\000"
.align 2
.LC1:
.ascii "Error while reading the matrix.\012\000"
.align 2
.LC2:
.ascii "%d\012\000"
.align 2
.LC3:
.ascii "%d\000"
.text
.align 2
.global read_square_matrix
.syntax unified
.arm
.fpu softvfp
.type read_square_matrix, %function
read_square_matrix:
@ 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 r1, .L15
ldr r0, [fp, #-24]
bl fopen
str r0, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #0
bne .L9
ldr r3, .L15+4
ldr r3, [r3]
mov r2, #32
mov r1, #1
ldr r0, .L15+8
bl fwrite
mov r0, #1
bl exit
.L9:
ldr r2, [fp, #-28]
ldr r1, .L15+12
ldr r0, [fp, #-12]
bl __isoc99_fscanf
ldr r3, [fp, #-28]
ldr r3, [r3]
mov r0, r3
bl alloc_square_matrix
str r0, [fp, #-8]
mov r3, #0
str r3, [fp, #-20]
b .L10
.L13:
mov r3, #0
str r3, [fp, #-16]
b .L11
.L12:
ldr r3, [fp, #-20]
lsl r3, r3, #2
ldr r2, [fp, #-8]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-16]
lsl r3, r3, #2
add r3, r2, r3
mov r2, r3
ldr r1, .L15+16
ldr r0, [fp, #-12]
bl __isoc99_fscanf
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L11:
ldr r3, [fp, #-28]
ldr r3, [r3]
ldr r2, [fp, #-16]
cmp r2, r3
blt .L12
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L10:
ldr r3, [fp, #-28]
ldr r3, [r3]
ldr r2, [fp, #-20]
cmp r2, r3
blt .L13
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L16:
.align 2
.L15:
.word .LC0
.word stderr
.word .LC1
.word .LC2
.word .LC3
.size read_square_matrix, .-read_square_matrix
.section .rodata
.align 2
.LC4:
.ascii "w\000"
.align 2
.LC5:
.ascii "Error while writing the matrix.\012\000"
.align 2
.LC6:
.ascii "%d \000"
.text
.align 2
.global write_square_matrix
.syntax unified
.arm
.fpu softvfp
.type write_square_matrix, %function
write_square_matrix:
@ 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]
ldr r1, .L23
ldr r0, [fp, #-32]
bl fopen
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
bne .L18
ldr r3, .L23+4
ldr r3, [r3]
mov r2, #32
mov r1, #1
ldr r0, .L23+8
bl fwrite
mov r0, #1
bl exit
.L18:
ldr r2, [fp, #-28]
ldr r1, .L23+12
ldr r0, [fp, #-8]
bl fprintf
mov r3, #0
str r3, [fp, #-16]
b .L19
.L22:
mov r3, #0
str r3, [fp, #-12]
b .L20
.L21:
ldr r3, [fp, #-16]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-12]
lsl r3, r3, #2
add r3, r2, r3
ldr r3, [r3]
mov r2, r3
ldr r1, .L23+16
ldr r0, [fp, #-8]
bl fprintf
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L20:
ldr r2, [fp, #-12]
ldr r3, [fp, #-28]
cmp r2, r3
blt .L21
ldr r1, [fp, #-8]
mov r0, #10
bl fputc
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L19:
ldr r2, [fp, #-16]
ldr r3, [fp, #-28]
cmp r2, r3
blt .L22
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L24:
.align 2
.L23:
.word .LC4
.word stderr
.word .LC5
.word .LC2
.word .LC6
.size write_square_matrix, .-write_square_matrix
.section .rodata
.align 2
.LC7:
.ascii "\000"
.text
.align 2
.global print_square_matrix
.syntax unified
.arm
.fpu softvfp
.type print_square_matrix, %function
print_square_matrix:
@ 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]
mov r3, #0
str r3, [fp, #-12]
b .L26
.L29:
mov r3, #0
str r3, [fp, #-8]
b .L27
.L28:
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-8]
lsl r3, r3, #2
add r3, r2, r3
ldr r3, [r3]
mov r1, r3
ldr r0, .L30
bl printf
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L27:
ldr r2, [fp, #-8]
ldr r3, [fp, #-20]
cmp r2, r3
blt .L28
ldr r0, .L30+4
bl puts
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L26:
ldr r2, [fp, #-12]
ldr r3, [fp, #-20]
cmp r2, r3
blt .L29
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L31:
.align 2
.L30:
.word .LC6
.word .LC7
.size print_square_matrix, .-print_square_matrix
.align 2
.global mult_square_matrix
.syntax unified
.arm
.fpu softvfp
.type mult_square_matrix, %function
mult_square_matrix:
@ 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, #-40]
ldr r0, [fp, #-40]
bl alloc_square_matrix
str r0, [fp, #-8]
mov r3, #0
str r3, [fp, #-24]
b .L33
.L38:
mov r3, #0
str r3, [fp, #-20]
b .L34
.L37:
mov r3, #0
str r3, [fp, #-16]
mov r3, #0
str r3, [fp, #-12]
b .L35
.L36:
ldr r3, [fp, #-24]
lsl r3, r3, #2
ldr r2, [fp, #-32]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-12]
lsl r3, r3, #2
add r3, r2, r3
ldr r3, [r3]
ldr r2, [fp, #-12]
lsl r2, r2, #2
ldr r1, [fp, #-36]
add r2, r1, r2
ldr r1, [r2]
ldr r2, [fp, #-20]
lsl r2, r2, #2
add r2, r1, r2
ldr r2, [r2]
mul r3, r2, r3
ldr r2, [fp, #-16]
add r3, r2, r3
str r3, [fp, #-16]
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L35:
ldr r2, [fp, #-12]
ldr r3, [fp, #-40]
cmp r2, r3
blt .L36
ldr r3, [fp, #-24]
lsl r3, r3, #2
ldr r2, [fp, #-8]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-20]
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [fp, #-16]
str r2, [r3]
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L34:
ldr r2, [fp, #-20]
ldr r3, [fp, #-40]
cmp r2, r3
blt .L37
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L33:
ldr r2, [fp, #-24]
ldr r3, [fp, #-40]
cmp r2, r3
blt .L38
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size mult_square_matrix, .-mult_square_matrix
.section .rodata
.align 2
.LC8:
.ascii "Usage: %s <matrix1.txt> <matrix2.txt> <outfile.txt>"
.ascii "\012\000"
.align 2
.LC9:
.ascii "Error: the matrices must have the same\011order!\012"
.ascii "\000"
.global __aeabi_i2d
.global __aeabi_ddiv
.align 2
.LC10:
.ascii "Execution time: %lf s\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 = 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]
ldr r3, .L45
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, [fp, #-40]
cmp r3, #4
beq .L41
ldr r3, [fp, #-44]
ldr r3, [r3]
mov r1, r3
ldr r0, .L45+4
bl printf
mov r0, #0
bl exit
.L41:
bl clock
str r0, [fp, #-28]
ldr r3, [fp, #-44]
add r3, r3, #4
ldr r3, [r3]
sub r2, fp, #36
mov r1, r2
mov r0, r3
bl read_square_matrix
str r0, [fp, #-24]
ldr r3, [fp, #-44]
add r3, r3, #8
ldr r3, [r3]
sub r2, fp, #32
mov r1, r2
mov r0, r3
bl read_square_matrix
str r0, [fp, #-20]
ldr r2, [fp, #-36]
ldr r3, [fp, #-32]
cmp r2, r3
beq .L42
ldr r3, .L45+8
ldr r3, [r3]
mov r2, #46
mov r1, #1
ldr r0, .L45+12
bl fwrite
mov r0, #1
bl exit
.L42:
ldr r3, [fp, #-36]
mov r2, r3
ldr r1, [fp, #-20]
ldr r0, [fp, #-24]
bl mult_square_matrix
str r0, [fp, #-16]
ldr r1, [fp, #-36]
ldr r3, [fp, #-44]
add r3, r3, #12
ldr r3, [r3]
mov r2, r3
ldr r0, [fp, #-16]
bl write_square_matrix
bl clock
str r0, [fp, #-12]
ldr r2, [fp, #-12]
ldr r3, [fp, #-28]
sub r3, r2, r3
mov r0, r3
bl __aeabi_i2d
mov r2, #0
ldr r3, .L45+16
bl __aeabi_ddiv
mov r2, r0
mov r3, r1
ldr r0, .L45+20
bl printf
ldr r3, [fp, #-36]
mov r1, r3
ldr r0, [fp, #-24]
bl unalloc_square_matrix
ldr r3, [fp, #-36]
mov r1, r3
ldr r0, [fp, #-20]
bl unalloc_square_matrix
ldr r3, [fp, #-36]
mov r1, r3
ldr r0, [fp, #-16]
bl unalloc_square_matrix
mov r3, #0
ldr r2, .L45
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L44
bl __stack_chk_fail
.L44:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L46:
.align 2
.L45:
.word .LC11
.word .LC8
.word stderr
.word .LC9
.word 1093567616
.word .LC10
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "110230.c"
.intel_syntax noprefix
.text
.globl bufp
.type bufp, @function
bufp:
.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 -52[rbp], edi
mov QWORD PTR -64[rbp], rsi
mov QWORD PTR -72[rbp], rdx
mov QWORD PTR -80[rbp], rcx
mov QWORD PTR -88[rbp], r8
mov eax, r9d
mov BYTE PTR -56[rbp], al
mov BYTE PTR -34[rbp], 1
mov eax, DWORD PTR -52[rbp]
add eax, eax
mov eax, eax
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
mov QWORD PTR -24[rbp], rax
mov eax, DWORD PTR -52[rbp]
add eax, eax
add eax, 1
mov eax, eax
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
mov QWORD PTR -16[rbp], rax
jmp .L2
.L5:
movzx eax, BYTE PTR -56[rbp]
mov rdx, QWORD PTR -24[rbp]
mov ecx, eax
sal rdx, cl
mov rax, rdx
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -72[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
mov DWORD PTR -32[rbp], eax
mov eax, DWORD PTR -32[rbp]
shr eax, 6
mov DWORD PTR -28[rbp], eax
mov eax, DWORD PTR -28[rbp]
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -88[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
mov QWORD PTR -8[rbp], rax
mov eax, DWORD PTR -32[rbp]
and eax, 63
mov BYTE PTR -33[rbp], al
mov BYTE PTR -34[rbp], 0
movzx eax, BYTE PTR -33[rbp]
mov rdx, QWORD PTR -8[rbp]
mov ecx, eax
shr rdx, cl
mov rax, rdx
and eax, 1
test rax, rax
jne .L3
mov BYTE PTR -34[rbp], 1
mov eax, DWORD PTR -52[rbp]
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -80[rbp]
add rdx, rax
mov eax, DWORD PTR -32[rbp]
mov QWORD PTR [rdx], rax
jmp .L4
.L3:
add QWORD PTR -24[rbp], 1
.L2:
mov rax, QWORD PTR -24[rbp]
cmp rax, QWORD PTR -16[rbp]
jb .L5
.L4:
movzx eax, BYTE PTR -34[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size bufp, .-bufp
.globl bottom_up_ctl
.type bottom_up_ctl, @function
bottom_up_ctl:
.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, 112
mov eax, edi
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 QWORD PTR -112[rbp], r9
mov BYTE PTR -68[rbp], al
mov eax, 0
call __htc_get_unit_count@PLT
mov BYTE PTR -58[rbp], al
movzx esi, BYTE PTR -58[rbp]
mov eax, DWORD PTR 24[rbp]
mov edx, 0
div esi
add eax, 1
mov DWORD PTR -36[rbp], eax
call omp_get_team_num@PLT
mov BYTE PTR -57[rbp], al
movzx eax, BYTE PTR -57[rbp]
imul eax, DWORD PTR -36[rbp]
mov eax, eax
mov QWORD PTR -8[rbp], rax
mov edx, DWORD PTR -36[rbp]
mov rax, QWORD PTR -8[rbp]
add rax, rdx
mov QWORD PTR -24[rbp], rax
mov eax, DWORD PTR 24[rbp]
cmp QWORD PTR -24[rbp], rax
jbe .L8
mov eax, DWORD PTR 24[rbp]
mov QWORD PTR -24[rbp], rax
.L8:
mov rax, QWORD PTR -24[rbp]
mov edx, eax
mov rax, QWORD PTR -8[rbp]
mov ecx, eax
mov eax, edx
sub eax, ecx
add eax, 1
mov DWORD PTR -32[rbp], eax
mov DWORD PTR -52[rbp], 0
cmp DWORD PTR -32[rbp], 512
jbe .L9
mov DWORD PTR -32[rbp], 512
.L9:
movzx eax, BYTE PTR -68[rbp]
cmp eax, 2
je .L10
cmp eax, 2
jg .L11
test eax, eax
je .L12
cmp eax, 1
je .L13
jmp .L11
.L12:
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR -48[rbp], eax
jmp .L14
.L15:
mov eax, DWORD PTR -48[rbp]
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -80[rbp]
add rax, rdx
mov QWORD PTR [rax], -1
add DWORD PTR -48[rbp], 1
.L14:
mov eax, DWORD PTR -48[rbp]
cmp QWORD PTR -24[rbp], rax
ja .L15
jmp .L11
.L13:
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR -44[rbp], eax
jmp .L16
.L17:
mov eax, DWORD PTR -44[rbp]
add eax, eax
mov eax, eax
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -88[rbp]
add rax, rdx
mov edx, DWORD PTR -44[rbp]
add edx, edx
add edx, 1
mov edx, edx
lea rcx, 0[0+rdx*8]
mov rdx, QWORD PTR -88[rbp]
add rdx, rcx
mov rdx, QWORD PTR [rdx]
lea rcx, 0[0+rdx*8]
mov rdx, QWORD PTR -80[rbp]
add rdx, rcx
mov rax, QWORD PTR [rax]
mov QWORD PTR [rdx], rax
add DWORD PTR -44[rbp], 1
.L16:
mov eax, DWORD PTR -44[rbp]
cmp QWORD PTR -24[rbp], rax
ja .L17
jmp .L11
.L10:
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR -40[rbp], eax
jmp .L18
.L28:
mov BYTE PTR -60[rbp], 0
mov BYTE PTR -59[rbp], 0
mov eax, DWORD PTR -40[rbp]
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -96[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
mov QWORD PTR -16[rbp], rax
cmp QWORD PTR -16[rbp], 0
je .L19
jmp .L20
.L26:
movzx eax, BYTE PTR -60[rbp]
mov rdx, QWORD PTR -16[rbp]
mov ecx, eax
shr rdx, cl
mov rax, rdx
and eax, 1
test rax, rax
je .L21
mov eax, DWORD PTR -40[rbp]
sal eax, 6
mov edx, eax
movzx eax, BYTE PTR -60[rbp]
add eax, edx
mov DWORD PTR -28[rbp], eax
mov rax, QWORD PTR -88[rbp]
movzx eax, al
and eax, 1
mov edi, eax
mov rcx, QWORD PTR -96[rbp]
mov rdx, QWORD PTR -80[rbp]
mov rsi, QWORD PTR -112[rbp]
mov eax, DWORD PTR -28[rbp]
mov r9d, edi
mov r8, rcx
mov rcx, rdx
mov rdx, QWORD PTR 16[rbp]
mov edi, eax
call bufp
movzx eax, al
and eax, 1
test eax, eax
je .L22
movzx eax, BYTE PTR -60[rbp]
mov edx, 1
mov ecx, eax
sal rdx, cl
mov rax, rdx
not rax
and QWORD PTR -16[rbp], rax
movzx eax, BYTE PTR -59[rbp]
add eax, 1
mov BYTE PTR -59[rbp], al
jmp .L22
.L21:
movzx eax, BYTE PTR -60[rbp]
add eax, 1
mov rdx, QWORD PTR -16[rbp]
mov ecx, eax
shr rdx, cl
mov rax, rdx
mov WORD PTR -56[rbp], ax
mov WORD PTR -54[rbp], 0
movzx eax, WORD PTR -56[rbp]
movzx eax, al
test eax, eax
jne .L23
mov WORD PTR -54[rbp], 8
shr WORD PTR -56[rbp], 8
.L23:
movzx eax, WORD PTR -56[rbp]
and eax, 15
test eax, eax
jne .L24
add WORD PTR -54[rbp], 4
shr WORD PTR -56[rbp], 4
.L24:
movzx eax, WORD PTR -56[rbp]
and eax, 3
test eax, eax
jne .L25
add WORD PTR -54[rbp], 2
shr WORD PTR -56[rbp], 2
.L25:
movzx eax, WORD PTR -56[rbp]
and eax, 1
test eax, eax
sete al
movzx eax, al
add WORD PTR -54[rbp], ax
movzx eax, WORD PTR -54[rbp]
add BYTE PTR -60[rbp], al
.L22:
movzx eax, BYTE PTR -60[rbp]
add eax, 1
mov BYTE PTR -60[rbp], al
.L20:
cmp BYTE PTR -60[rbp], 63
jbe .L26
.L19:
cmp BYTE PTR -59[rbp], 0
je .L27
movzx eax, BYTE PTR -59[rbp]
add DWORD PTR -52[rbp], eax
.L27:
mov eax, DWORD PTR -40[rbp]
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -104[rbp]
add rdx, rax
mov rax, QWORD PTR -16[rbp]
mov QWORD PTR [rdx], rax
add DWORD PTR -40[rbp], 1
.L18:
mov eax, DWORD PTR -40[rbp]
cmp QWORD PTR -24[rbp], rax
ja .L28
mov edx, DWORD PTR -52[rbp]
mov rax, QWORD PTR 32[rbp]
mov QWORD PTR [rax], rdx
nop
.L11:
cmp BYTE PTR -68[rbp], 2
jne .L30
movzx eax, BYTE PTR -57[rbp]
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR 32[rbp]
add rdx, rax
mov eax, DWORD PTR -52[rbp]
mov QWORD PTR [rdx], rax
.L30:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size bottom_up_ctl, .-bottom_up_ctl
.globl pers_init_bfs_tree
.type pers_init_bfs_tree, @function
pers_init_bfs_tree:
.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, 32
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov edx, eax
mov rax, QWORD PTR -32[rbp]
sub rsp, 8
push 0
push rdx
push 0
mov r9d, 0
mov r8d, 0
mov ecx, 0
mov edx, 0
mov rsi, rax
mov edi, 0
call bottom_up_ctl
add rsp, 32
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE2:
.size pers_init_bfs_tree, .-pers_init_bfs_tree
.globl pers_scatter_bfs
.type pers_scatter_bfs, @function
pers_scatter_bfs:
.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
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov QWORD PTR -40[rbp], rdx
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -16[rbp]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov ecx, eax
mov rdx, QWORD PTR -40[rbp]
mov rax, QWORD PTR -32[rbp]
sub rsp, 8
push 0
push rcx
push 0
mov r9d, 0
mov r8d, 0
mov ecx, 0
mov rsi, rax
mov edi, 1
call bottom_up_ctl
add rsp, 32
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE3:
.size pers_scatter_bfs, .-pers_scatter_bfs
.globl pers_bottom_up
.type pers_bottom_up, @function
pers_bottom_up:
.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, 672
mov QWORD PTR -584[rbp], rdi
mov QWORD PTR -592[rbp], rsi
mov QWORD PTR -600[rbp], rdx
mov QWORD PTR -608[rbp], rcx
mov QWORD PTR -616[rbp], r8
mov QWORD PTR -624[rbp], r9
mov rax, QWORD PTR 16[rbp]
mov QWORD PTR -632[rbp], rax
mov rax, QWORD PTR 24[rbp]
mov QWORD PTR -640[rbp], rax
mov rax, QWORD PTR 32[rbp]
mov QWORD PTR -648[rbp], rax
mov rax, QWORD PTR 40[rbp]
mov QWORD PTR -656[rbp], rax
mov rax, QWORD PTR 48[rbp]
mov QWORD PTR -664[rbp], rax
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov eax, 0
call __htc_get_unit_count@PLT
mov DWORD PTR -564[rbp], eax
mov rax, QWORD PTR -592[rbp]
mov QWORD PTR -552[rbp], rax
mov rax, QWORD PTR -552[rbp]
add rax, 63
shr rax, 6
mov QWORD PTR -544[rbp], rax
jmp .L34
.L39:
mov rax, QWORD PTR -656[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -664[rbp]
mov QWORD PTR [rax], rdx
mov QWORD PTR -560[rbp], 0
mov DWORD PTR -568[rbp], 0
jmp .L35
.L36:
mov eax, DWORD PTR -568[rbp]
cdqe
mov QWORD PTR -528[rbp+rax*8], 0
add DWORD PTR -568[rbp], 1
.L35:
mov eax, DWORD PTR -568[rbp]
cmp eax, DWORD PTR -564[rbp]
jl .L36
mov rax, QWORD PTR -544[rbp]
mov r8d, eax
mov rax, QWORD PTR -640[rbp]
mov rsi, QWORD PTR [rax]
mov rax, QWORD PTR -632[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -584[rbp]
and eax, 16777215
cmp rax, 64
sete al
movzx eax, al
cdqe
mov r10, rax
mov rdi, QWORD PTR -624[rbp]
mov rax, QWORD PTR -600[rbp]
sub rsp, 8
lea rcx, -528[rbp]
push rcx
push r8
push QWORD PTR -616[rbp]
mov r9, rdi
mov r8, rsi
mov rcx, rdx
mov rdx, r10
mov rsi, rax
mov edi, 2
call bottom_up_ctl
add rsp, 32
mov BYTE PTR -569[rbp], 0
jmp .L37
.L38:
movzx eax, BYTE PTR -569[rbp]
cdqe
mov rax, QWORD PTR -528[rbp+rax*8]
add QWORD PTR -560[rbp], rax
movzx eax, BYTE PTR -569[rbp]
add eax, 1
mov BYTE PTR -569[rbp], al
.L37:
movzx eax, BYTE PTR -569[rbp]
cmp DWORD PTR -564[rbp], eax
jg .L38
mov rax, QWORD PTR -656[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -560[rbp]
add rdx, rax
mov rax, QWORD PTR -656[rbp]
mov QWORD PTR [rax], rdx
mov rax, QWORD PTR -664[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -648[rbp]
mov QWORD PTR [rax], rdx
mov rax, QWORD PTR -632[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -536[rbp], rax
mov rax, QWORD PTR -640[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -632[rbp]
mov QWORD PTR [rax], rdx
mov rax, QWORD PTR -640[rbp]
mov rdx, QWORD PTR -536[rbp]
mov QWORD PTR [rax], rdx
.L34:
mov rax, QWORD PTR -648[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -656[rbp]
mov rax, QWORD PTR [rax]
cmp rdx, rax
jne .L39
nop
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L40
call __stack_chk_fail@PLT
.L40:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE4:
.size pers_bottom_up, .-pers_bottom_up
.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 "110230.c"
.text
.align 2
.global bufp
.syntax unified
.arm
.fpu softvfp
.type bufp, %function
bufp:
@ args = 8, pretend = 0, frame = 64
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
push {r4, r5, r6, r7, r8, r9, fp}
add fp, sp, #24
sub sp, sp, #68
str r0, [fp, #-72]
str r1, [fp, #-76]
str r2, [fp, #-80]
str r3, [fp, #-84]
mov r3, #1
strb r3, [fp, #-62]
ldr r3, [fp, #-72]
lsl r3, r3, #4
ldr r2, [fp, #-76]
add r3, r2, r3
ldmia r3, {r2-r3}
str r2, [fp, #-52]
str r3, [fp, #-48]
ldr r3, [fp, #-72]
lsl r3, r3, #4
add r3, r3, #8
ldr r2, [fp, #-76]
add r3, r2, r3
ldmia r3, {r2-r3}
str r2, [fp, #-44]
str r3, [fp, #-40]
b .L2
.L5:
ldrb r1, [fp, #8] @ zero_extendqisi2
sub r3, fp, #52
ldmia r3, {r2-r3}
sub ip, r1, #32
rsb r0, r1, #32
lsl r7, r3, r1
orr r7, r7, r2, lsl ip
orr r7, r7, r2, lsr r0
lsl r6, r2, r1
mov r3, r6
lsl r3, r3, #2
ldr r2, [fp, #-80]
add r3, r2, r3
ldr r3, [r3]
str r3, [fp, #-60]
ldr r3, [fp, #-60]
lsr r3, r3, #6
str r3, [fp, #-56]
ldr r3, [fp, #-56]
lsl r3, r3, #3
ldr r2, [fp, #4]
add r3, r2, r3
ldmia r3, {r2-r3}
str r2, [fp, #-36]
str r3, [fp, #-32]
ldr r3, [fp, #-60]
and r3, r3, #255
and r3, r3, #63
strb r3, [fp, #-61]
mov r3, #0
strb r3, [fp, #-62]
ldrb r1, [fp, #-61] @ zero_extendqisi2
sub r3, fp, #36
ldmia r3, {r2-r3}
rsb ip, r1, #32
sub r0, r1, #32
lsr r4, r2, r1
orr r4, r4, r3, lsl ip
orr r4, r4, r3, lsr r0
lsr r5, r3, r1
mov r2, #1
mov r3, #0
and r8, r4, r2
and r9, r5, r3
orrs r3, r8, r9
bne .L3
mov r3, #1
strb r3, [fp, #-62]
ldr r3, [fp, #-72]
lsl r3, r3, #3
ldr r2, [fp, #-84]
add r1, r2, r3
ldr r3, [fp, #-60]
mov r2, r3
mov r3, #0
stm r1, {r2-r3}
b .L4
.L3:
sub r3, fp, #52
ldmia r3, {r2-r3}
adds r1, r2, #1
str r1, [fp, #-92]
adc r3, r3, #0
str r3, [fp, #-88]
sub r3, fp, #92
ldmia r3, {r2-r3}
str r2, [fp, #-52]
str r3, [fp, #-48]
.L2:
sub r1, fp, #52
ldmia r1, {r0-r1}
sub r3, fp, #44
ldmia r3, {r2-r3}
cmp r1, r3
cmpeq r0, r2
bcc .L5
.L4:
ldrb r3, [fp, #-62] @ zero_extendqisi2
mov r0, r3
sub sp, fp, #24
@ sp needed
pop {r4, r5, r6, r7, r8, r9, fp}
bx lr
.size bufp, .-bufp
.global __aeabi_uidiv
.align 2
.global bottom_up_ctl
.syntax unified
.arm
.fpu softvfp
.type bottom_up_ctl, %function
bottom_up_ctl:
@ args = 20, 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, #120
str r1, [fp, #-100]
str r2, [fp, #-104]
str r3, [fp, #-108]
mov r3, r0
strb r3, [fp, #-93]
bl __htc_get_unit_count
mov r3, r0
strb r3, [fp, #-86]
ldrb r3, [fp, #-86] @ zero_extendqisi2
mov r1, r3
ldr r0, [fp, #16]
bl __aeabi_uidiv
mov r3, r0
add r3, r3, #1
str r3, [fp, #-64]
bl omp_get_team_num
mov r3, r0
strb r3, [fp, #-85]
ldrb r2, [fp, #-85] @ zero_extendqisi2
ldr r3, [fp, #-64]
mul r3, r2, r3
mov r2, r3
mov r3, #0
str r2, [fp, #-36]
str r3, [fp, #-32]
ldr r3, [fp, #-64]
mov r0, r3
mov r1, #0
sub r3, fp, #36
ldmia r3, {r2-r3}
adds ip, r2, r0
str ip, [fp, #-132]
adc r3, r3, r1
str r3, [fp, #-128]
sub r3, fp, #132
ldmia r3, {r2-r3}
str r2, [fp, #-52]
str r3, [fp, #-48]
ldr r3, [fp, #16]
mov r0, r3
mov r1, #0
sub r3, fp, #52
ldmia r3, {r2-r3}
cmp r3, r1
cmpeq r2, r0
bls .L8
ldr r3, [fp, #16]
mov r2, r3
mov r3, #0
str r2, [fp, #-52]
str r3, [fp, #-48]
.L8:
ldr r2, [fp, #-52]
ldr r3, [fp, #-36]
sub r3, r2, r3
add r3, r3, #1
str r3, [fp, #-60]
mov r3, #0
str r3, [fp, #-80]
ldr r3, [fp, #-60]
cmp r3, #512
bls .L9
mov r3, #512
str r3, [fp, #-60]
.L9:
ldrb r3, [fp, #-93] @ zero_extendqisi2
cmp r3, #2
beq .L10
cmp r3, #2
bgt .L11
cmp r3, #0
beq .L12
cmp r3, #1
beq .L13
b .L11
.L12:
ldr r3, [fp, #-36]
str r3, [fp, #-76]
b .L14
.L15:
ldr r3, [fp, #-76]
lsl r3, r3, #3
ldr r2, [fp, #-100]
add r1, r2, r3
mvn r2, #0
mvn r3, #0
stm r1, {r2-r3}
ldr r3, [fp, #-76]
add r3, r3, #1
str r3, [fp, #-76]
.L14:
ldr r3, [fp, #-76]
mov r2, r3
mov r3, #0
sub r1, fp, #52
ldmia r1, {r0-r1}
cmp r1, r3
cmpeq r0, r2
bhi .L15
b .L11
.L13:
ldr r3, [fp, #-36]
str r3, [fp, #-72]
b .L16
.L17:
ldr r3, [fp, #-72]
lsl r3, r3, #4
ldr r2, [fp, #-104]
add r0, r2, r3
ldr r3, [fp, #-72]
lsl r3, r3, #4
add r3, r3, #8
ldr r2, [fp, #-104]
add r3, r2, r3
ldmia r3, {r2-r3}
mov r3, r2
lsl r3, r3, #3
ldr r2, [fp, #-100]
add r1, r2, r3
ldmia r0, {r2-r3}
stm r1, {r2-r3}
ldr r3, [fp, #-72]
add r3, r3, #1
str r3, [fp, #-72]
.L16:
ldr r3, [fp, #-72]
mov r2, r3
mov r3, #0
sub r1, fp, #52
ldmia r1, {r0-r1}
cmp r1, r3
cmpeq r0, r2
bhi .L17
b .L11
.L10:
ldr r3, [fp, #-36]
str r3, [fp, #-68]
b .L18
.L28:
mov r3, #0
strb r3, [fp, #-88]
mov r3, #0
strb r3, [fp, #-87]
ldr r3, [fp, #-68]
lsl r3, r3, #3
ldr r2, [fp, #-108]
add r3, r2, r3
ldmia r3, {r2-r3}
str r2, [fp, #-44]
str r3, [fp, #-40]
sub r3, fp, #44
ldmia r3, {r2-r3}
orrs r3, r2, r3
beq .L19
b .L20
.L26:
ldrb r1, [fp, #-88] @ zero_extendqisi2
sub r3, fp, #44
ldmia r3, {r2-r3}
rsb ip, r1, #32
sub r0, r1, #32
lsr r4, r2, r1
orr r4, r4, r3, lsl ip
orr r4, r4, r3, lsr r0
lsr r5, r3, r1
mov r2, #1
mov r3, #0
and r1, r4, r2
str r1, [fp, #-116]
and r3, r5, r3
str r3, [fp, #-112]
sub r3, fp, #116
ldmia r3, {r2-r3}
orrs r3, r2, r3
beq .L21
ldr r3, [fp, #-68]
lsl r2, r3, #6
ldrb r3, [fp, #-88] @ zero_extendqisi2
add r3, r2, r3
str r3, [fp, #-56]
ldr r3, [fp, #-104]
and r3, r3, #255
and r3, r3, #1
and r3, r3, #255
str r3, [sp, #4]
ldr r3, [fp, #-108]
str r3, [sp]
ldr r3, [fp, #-100]
ldr r2, [fp, #12]
ldr r1, [fp, #8]
ldr r0, [fp, #-56]
bl bufp
mov r3, r0
and r3, r3, #1
cmp r3, #0
beq .L22
ldrb r1, [fp, #-88] @ zero_extendqisi2
mov r2, #1
mov r3, #0
sub ip, r1, #32
rsb r0, r1, #32
lsl r7, r3, r1
orr r7, r7, r2, lsl ip
orr r7, r7, r2, lsr r0
lsl r6, r2, r1
mvn r3, r6
str r3, [fp, #-124]
mvn r3, r7
str r3, [fp, #-120]
sub r3, fp, #44
ldmia r3, {r2-r3}
sub r1, fp, #124
ldmia r1, {r0-r1}
mov ip, r0
and ip, r2, ip
str ip, [fp, #-140]
and r3, r3, r1
str r3, [fp, #-136]
sub r3, fp, #140
ldmia r3, {r2-r3}
str r2, [fp, #-44]
str r3, [fp, #-40]
ldrb r3, [fp, #-87] @ zero_extendqisi2
add r3, r3, #1
strb r3, [fp, #-87]
b .L22
.L21:
ldrb r3, [fp, #-88] @ zero_extendqisi2
add r1, r3, #1
sub r3, fp, #44
ldmia r3, {r2-r3}
rsb ip, r1, #32
sub r0, r1, #32
lsr r8, r2, r1
orr r8, r8, r3, lsl ip
orr r8, r8, r3, lsr r0
lsr r9, r3, r1
strh r8, [fp, #-84] @ movhi
mov r3, #0
strh r3, [fp, #-82] @ movhi
ldrh r3, [fp, #-84]
and r3, r3, #255
cmp r3, #0
bne .L23
mov r3, #8
strh r3, [fp, #-82] @ movhi
ldrh r3, [fp, #-84]
lsr r3, r3, #8
strh r3, [fp, #-84] @ movhi
.L23:
ldrh r3, [fp, #-84]
and r3, r3, #15
cmp r3, #0
bne .L24
ldrh r3, [fp, #-82] @ movhi
add r3, r3, #4
strh r3, [fp, #-82] @ movhi
ldrh r3, [fp, #-84]
lsr r3, r3, #4
strh r3, [fp, #-84] @ movhi
.L24:
ldrh r3, [fp, #-84]
and r3, r3, #3
cmp r3, #0
bne .L25
ldrh r3, [fp, #-82] @ movhi
add r3, r3, #2
strh r3, [fp, #-82] @ movhi
ldrh r3, [fp, #-84]
lsr r3, r3, #2
strh r3, [fp, #-84] @ movhi
.L25:
ldrh r3, [fp, #-84]
and r3, r3, #1
cmp r3, #0
moveq r3, #1
movne r3, #0
and r3, r3, #255
lsl r3, r3, #16
lsr r2, r3, #16
ldrh r3, [fp, #-82] @ movhi
add r3, r2, r3
strh r3, [fp, #-82] @ movhi
ldrh r3, [fp, #-82] @ movhi
and r2, r3, #255
ldrb r3, [fp, #-88]
add r3, r2, r3
strb r3, [fp, #-88]
.L22:
ldrb r3, [fp, #-88] @ zero_extendqisi2
add r3, r3, #1
strb r3, [fp, #-88]
.L20:
ldrb r3, [fp, #-88] @ zero_extendqisi2
cmp r3, #63
bls .L26
.L19:
ldrb r3, [fp, #-87] @ zero_extendqisi2
cmp r3, #0
beq .L27
ldrb r3, [fp, #-87] @ zero_extendqisi2
ldr r2, [fp, #-80]
add r3, r2, r3
str r3, [fp, #-80]
.L27:
ldr r3, [fp, #-68]
lsl r3, r3, #3
ldr r2, [fp, #4]
add r1, r2, r3
sub r3, fp, #44
ldmia r3, {r2-r3}
stm r1, {r2-r3}
ldr r3, [fp, #-68]
add r3, r3, #1
str r3, [fp, #-68]
.L18:
ldr r3, [fp, #-68]
mov r0, r3
mov r1, #0
sub r3, fp, #52
ldmia r3, {r2-r3}
cmp r3, r1
cmpeq r2, r0
bhi .L28
ldr r3, [fp, #-80]
mov r2, r3
mov r3, #0
ldr r1, [fp, #20]
stm r1, {r2-r3}
nop
.L11:
ldrb r3, [fp, #-93] @ zero_extendqisi2
cmp r3, #2
bne .L30
ldrb r3, [fp, #-85] @ zero_extendqisi2
lsl r3, r3, #3
ldr r2, [fp, #20]
add r1, r2, r3
ldr r3, [fp, #-80]
mov r2, r3
mov r3, #0
stm r1, {r2-r3}
.L30:
nop
sub sp, fp, #28
@ sp needed
pop {r4, r5, r6, r7, r8, r9, fp, pc}
.size bottom_up_ctl, .-bottom_up_ctl
.align 2
.global pers_init_bfs_tree
.syntax unified
.arm
.fpu softvfp
.type pers_init_bfs_tree, %function
pers_init_bfs_tree:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #48
str r0, [fp, #-20]
str r1, [fp, #-16]
str r2, [fp, #-24]
sub r3, fp, #20
ldmia r3, {r2-r3}
str r2, [fp, #-12]
str r3, [fp, #-8]
ldr r3, [fp, #-12]
mov r2, #0
str r2, [sp, #16]
str r3, [sp, #12]
mov r3, #0
str r3, [sp, #8]
mov r3, #0
str r3, [sp, #4]
mov r3, #0
str r3, [sp]
mov r3, #0
mov r2, #0
ldr r1, [fp, #-24]
mov r0, #0
bl bottom_up_ctl
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size pers_init_bfs_tree, .-pers_init_bfs_tree
.align 2
.global pers_scatter_bfs
.syntax unified
.arm
.fpu softvfp
.type pers_scatter_bfs, %function
pers_scatter_bfs:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #56
str r0, [fp, #-24]
str r1, [fp, #-28]
str r2, [fp, #-32]
ldr r3, [fp, #-24]
ldmia r3, {r2-r3}
str r2, [fp, #-20]
str r3, [fp, #-16]
sub r3, fp, #20
ldmia r3, {r2-r3}
str r2, [fp, #-12]
str r3, [fp, #-8]
ldr r3, [fp, #-12]
mov r2, #0
str r2, [sp, #16]
str r3, [sp, #12]
mov r3, #0
str r3, [sp, #8]
mov r3, #0
str r3, [sp, #4]
mov r3, #0
str r3, [sp]
mov r3, #0
ldr r2, [fp, #-32]
ldr r1, [fp, #-28]
mov r0, #1
bl bottom_up_ctl
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size pers_scatter_bfs, .-pers_scatter_bfs
.section .rodata
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global pers_bottom_up
.syntax unified
.arm
.fpu softvfp
.type pers_bottom_up, %function
pers_bottom_up:
@ args = 36, pretend = 0, frame = 624
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, fp, lr}
add fp, sp, #28
sub sp, sp, #648
str r0, [fp, #-596]
str r1, [fp, #-592]
str r2, [fp, #-604]
str r3, [fp, #-600]
ldr r3, [fp, #4]
str r3, [fp, #-608]
ldr r3, [fp, #8]
str r3, [fp, #-612]
ldr r3, [fp, #12]
str r3, [fp, #-616]
ldr r3, [fp, #16]
str r3, [fp, #-620]
ldr r3, [fp, #20]
str r3, [fp, #-624]
ldr r3, [fp, #24]
str r3, [fp, #-628]
ldr r3, [fp, #28]
str r3, [fp, #-632]
ldr r3, [fp, #32]
str r3, [fp, #-636]
ldr r3, [fp, #36]
str r3, [fp, #-640]
ldr r3, .L43
ldr r3, [r3]
str r3, [fp, #-32]
mov r3,#0
bl __htc_get_unit_count
str r0, [fp, #-580]
sub r3, fp, #604
ldmia r3, {r2-r3}
str r2, [fp, #-564]
str r3, [fp, #-560]
sub r3, fp, #564
ldmia r3, {r2-r3}
adds r4, r2, #63
adc r5, r3, #0
mov r2, #0
mov r3, #0
lsr r2, r4, #6
orr r2, r2, r5, lsl #26
lsr r3, r5, #6
str r2, [fp, #-556]
str r3, [fp, #-552]
b .L34
.L41:
ldr r3, [fp, #-636]
ldmia r3, {r2-r3}
ldr r1, [fp, #-640]
stm r1, {r2-r3}
mov r2, #0
mov r3, #0
str r2, [fp, #-572]
str r3, [fp, #-568]
mov r3, #0
str r3, [fp, #-584]
b .L35
.L36:
ldr r3, [fp, #-584]
lsl r3, r3, #3
sub r2, fp, #28
add r3, r2, r3
sub r1, r3, #520
mov r2, #0
mov r3, #0
stm r1, {r2-r3}
ldr r3, [fp, #-584]
add r3, r3, #1
str r3, [fp, #-584]
.L35:
ldr r2, [fp, #-584]
ldr r3, [fp, #-580]
cmp r2, r3
blt .L36
sub r3, fp, #596
ldmia r3, {r2-r3}
mvn r0, #-16777216
mov r1, #0
and r6, r2, r0
and r7, r3, r1
cmp r7, #0
cmpeq r6, #64
bne .L37
mov r0, #1
b .L38
.L37:
mov r0, #0
.L38:
ldr r3, [fp, #-624]
ldr ip, [r3]
ldr r3, [fp, #-628]
ldr r3, [r3]
ldr r2, [fp, #-556]
sub r1, fp, #548
str r1, [sp, #16]
str r2, [sp, #12]
ldr r2, [fp, #-616]
str r2, [sp, #8]
ldr r2, [fp, #-620]
str r2, [sp, #4]
str r3, [sp]
mov r3, ip
mov r2, r0
ldr r1, [fp, #-608]
mov r0, #2
bl bottom_up_ctl
mov r3, #0
strb r3, [fp, #-585]
b .L39
.L40:
ldrb r3, [fp, #-585] @ zero_extendqisi2
lsl r3, r3, #3
sub r2, fp, #28
add r3, r2, r3
sub r3, r3, #520
ldmia r3, {r2-r3}
sub r1, fp, #572
ldmia r1, {r0-r1}
adds ip, r0, r2
str ip, [fp, #-652]
adc r3, r1, r3
str r3, [fp, #-648]
sub r4, fp, #652
ldmia r4, {r3-r4}
str r3, [fp, #-572]
str r4, [fp, #-568]
ldrb r3, [fp, #-585] @ zero_extendqisi2
add r3, r3, #1
strb r3, [fp, #-585]
.L39:
ldrb r3, [fp, #-585] @ zero_extendqisi2
ldr r2, [fp, #-580]
cmp r2, r3
bgt .L40
ldr r3, [fp, #-636]
ldmia r3, {r0-r1}
sub r3, fp, #572
ldmia r3, {r2-r3}
adds r8, r0, r2
adc r9, r1, r3
ldr r3, [fp, #-636]
stm r3, {r8-r9}
ldr r3, [fp, #-640]
ldmia r3, {r2-r3}
ldr r1, [fp, #-632]
stm r1, {r2-r3}
ldr r3, [fp, #-624]
ldr r3, [r3]
str r3, [fp, #-576]
ldr r3, [fp, #-628]
ldr r2, [r3]
ldr r3, [fp, #-624]
str r2, [r3]
ldr r3, [fp, #-628]
ldr r2, [fp, #-576]
str r2, [r3]
.L34:
ldr r3, [fp, #-632]
ldmia r3, {r0-r1}
ldr r3, [fp, #-636]
ldmia r3, {r2-r3}
cmp r1, r3
cmpeq r0, r2
bne .L41
nop
ldr r3, .L43
ldr r2, [r3]
ldr r3, [fp, #-32]
eors r2, r3, r2
mov r3, #0
beq .L42
bl __stack_chk_fail
.L42:
sub sp, fp, #28
@ sp needed
pop {r4, r5, r6, r7, r8, r9, fp, pc}
.L44:
.align 2
.L43:
.word .LC0
.size pers_bottom_up, .-pers_bottom_up
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "498569.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "\n Enter No :: "
.LC1:
.string "%d"
.LC2:
.string "\n zero"
.LC3:
.string " Ten "
.LC4:
.string " Elevan "
.LC5:
.string " Twelve "
.LC6:
.string " Thirteen "
.LC7:
.string " Twenty "
.LC8:
.string " Thirty "
.LC9:
.string " One "
.LC10:
.string " Two "
.LC11:
.string " Three "
.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
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 eax, DWORD PTR -20[rbp]
test eax, eax
jne .L2
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
jmp .L3
.L2:
mov edx, DWORD PTR -20[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 -16[rbp], eax
mov ecx, DWORD PTR -16[rbp]
mov eax, ecx
sal eax, 2
add eax, ecx
add eax, eax
sub edx, eax
mov DWORD PTR -16[rbp], edx
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 -12[rbp], eax
cmp DWORD PTR -12[rbp], 3
je .L4
cmp DWORD PTR -12[rbp], 3
jg .L5
cmp DWORD PTR -12[rbp], 1
je .L6
cmp DWORD PTR -12[rbp], 2
je .L7
jmp .L5
.L6:
cmp DWORD PTR -16[rbp], 3
je .L8
cmp DWORD PTR -16[rbp], 3
jg .L18
cmp DWORD PTR -16[rbp], 2
je .L10
cmp DWORD PTR -16[rbp], 2
jg .L18
cmp DWORD PTR -16[rbp], 0
je .L11
cmp DWORD PTR -16[rbp], 1
je .L12
jmp .L18
.L11:
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
jmp .L9
.L12:
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
jmp .L9
.L10:
lea rdi, .LC5[rip]
mov eax, 0
call printf@PLT
jmp .L9
.L8:
lea rdi, .LC6[rip]
mov eax, 0
call printf@PLT
nop
.L9:
jmp .L18
.L7:
lea rdi, .LC7[rip]
mov eax, 0
call printf@PLT
jmp .L5
.L4:
lea rdi, .LC8[rip]
mov eax, 0
call printf@PLT
jmp .L5
.L18:
nop
.L5:
cmp DWORD PTR -12[rbp], 1
je .L19
cmp DWORD PTR -16[rbp], 3
je .L13
cmp DWORD PTR -16[rbp], 3
jg .L3
cmp DWORD PTR -16[rbp], 1
je .L14
cmp DWORD PTR -16[rbp], 2
je .L15
jmp .L3
.L14:
lea rdi, .LC9[rip]
mov eax, 0
call printf@PLT
jmp .L3
.L15:
lea rdi, .LC10[rip]
mov eax, 0
call printf@PLT
jmp .L3
.L13:
lea rdi, .LC11[rip]
mov eax, 0
call printf@PLT
jmp .L3
.L19:
nop
.L3:
mov eax, 0
mov rsi, QWORD PTR -8[rbp]
sub rsi, QWORD PTR fs:40
je .L17
call __stack_chk_fail@PLT
.L17:
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 "498569.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "\012 Enter No :: \000"
.align 2
.LC1:
.ascii "%d\000"
.align 2
.LC2:
.ascii "\012 zero\000"
.align 2
.LC3:
.ascii " Ten \000"
.align 2
.LC4:
.ascii " Elevan \000"
.align 2
.LC5:
.ascii " Twelve \000"
.align 2
.LC6:
.ascii " Thirteen \000"
.align 2
.LC7:
.ascii " Twenty \000"
.align 2
.LC8:
.ascii " Thirty \000"
.align 2
.LC9:
.ascii " One \000"
.align 2
.LC10:
.ascii " Two \000"
.align 2
.LC11:
.ascii " Three \000"
.align 2
.LC12:
.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, .L21
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r0, .L21+4
bl printf
sub r3, fp, #20
mov r1, r3
ldr r0, .L21+8
bl __isoc99_scanf
ldr r3, [fp, #-20]
cmp r3, #0
bne .L2
ldr r0, .L21+12
bl printf
b .L3
.L2:
ldr r2, [fp, #-20]
ldr r3, .L21+16
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, #-16]
ldr r3, [fp, #-20]
ldr r2, .L21+16
smull r1, r2, r3, r2
asr r2, r2, #2
asr r3, r3, #31
sub r3, r2, r3
str r3, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #3
beq .L4
ldr r3, [fp, #-12]
cmp r3, #3
bgt .L5
ldr r3, [fp, #-12]
cmp r3, #1
beq .L6
ldr r3, [fp, #-12]
cmp r3, #2
beq .L7
b .L5
.L6:
ldr r3, [fp, #-16]
cmp r3, #3
ldrls pc, [pc, r3, asl #2]
b .L19
.L10:
.word .L13
.word .L12
.word .L11
.word .L9
.L13:
ldr r0, .L21+20
bl printf
b .L8
.L12:
ldr r0, .L21+24
bl printf
b .L8
.L11:
ldr r0, .L21+28
bl printf
b .L8
.L9:
ldr r0, .L21+32
bl printf
nop
.L8:
b .L19
.L7:
ldr r0, .L21+36
bl printf
b .L5
.L4:
ldr r0, .L21+40
bl printf
b .L5
.L19:
nop
.L5:
ldr r3, [fp, #-12]
cmp r3, #1
beq .L20
ldr r3, [fp, #-16]
cmp r3, #3
beq .L14
ldr r3, [fp, #-16]
cmp r3, #3
bgt .L3
ldr r3, [fp, #-16]
cmp r3, #1
beq .L15
ldr r3, [fp, #-16]
cmp r3, #2
beq .L16
b .L3
.L15:
ldr r0, .L21+44
bl printf
b .L3
.L16:
ldr r0, .L21+48
bl printf
b .L3
.L14:
ldr r0, .L21+52
bl printf
b .L3
.L20:
nop
.L3:
mov r3, #0
ldr r2, .L21
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}
.L22:
.align 2
.L21:
.word .LC12
.word .LC0
.word .LC1
.word .LC2
.word 1717986919
.word .LC3
.word .LC4
.word .LC5
.word .LC6
.word .LC7
.word .LC8
.word .LC9
.word .LC10
.word .LC11
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "640965.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "Informe o 1o valor: "
.LC1:
.string "%d"
.LC2:
.string "Informe o 2o valor: "
.LC3:
.string "Numeros iguais=%d\n"
.LC4:
.string "Numeros diferentes %d e %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
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
lea rax, -12[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov edx, DWORD PTR -16[rbp]
mov eax, DWORD PTR -12[rbp]
cmp edx, eax
jne .L2
mov eax, DWORD PTR -16[rbp]
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 -16[rbp]
mov esi, eax
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
.L3:
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 "640965.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "Informe o 1o valor: \000"
.align 2
.LC1:
.ascii "%d\000"
.align 2
.LC2:
.ascii "Informe o 2o valor: \000"
.align 2
.LC3:
.ascii "Numeros iguais=%d\012\000"
.align 2
.LC4:
.ascii "Numeros diferentes %d e %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 = 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
ldr r0, .L6+4
bl printf
sub r3, fp, #16
mov r1, r3
ldr r0, .L6+8
bl __isoc99_scanf
ldr r0, .L6+12
bl printf
sub r3, fp, #12
mov r1, r3
ldr r0, .L6+8
bl __isoc99_scanf
ldr r2, [fp, #-16]
ldr r3, [fp, #-12]
cmp r2, r3
bne .L2
ldr r3, [fp, #-16]
mov r1, r3
ldr r0, .L6+16
bl printf
b .L3
.L2:
ldr r3, [fp, #-16]
ldr r2, [fp, #-12]
mov r1, r3
ldr r0, .L6+20
bl printf
.L3:
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 .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 "414299.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "QB A_B tape (A, tape )"
.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 "414299.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "QB A_B tape (A, tape )\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 "95696.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 -12[rbp], 10
mov eax, 0
call rand@PLT
mov DWORD PTR -4[rbp], eax
mov DWORD PTR -8[rbp], 0
mov eax, DWORD PTR -4[rbp]
not eax
shr eax, 31
movzx eax, al
mov edi, eax
mov eax, 0
call assume@PLT
mov DWORD PTR -16[rbp], 1
jmp .L2
.L4:
mov eax, DWORD PTR -16[rbp]
cmp eax, DWORD PTR -12[rbp]
jge .L3
add DWORD PTR -8[rbp], 2
.L3:
sub DWORD PTR -12[rbp], 1
add DWORD PTR -16[rbp], 1
.L2:
mov eax, DWORD PTR -16[rbp]
cmp eax, DWORD PTR -4[rbp]
jle .L4
mov eax, DWORD PTR -4[rbp]
add eax, eax
cmp DWORD PTR -8[rbp], eax
je .L5
cmp DWORD PTR -8[rbp], 0
jne .L6
.L5:
mov eax, 1
jmp .L7
.L6:
mov eax, 0
.L7:
mov edi, eax
mov eax, 0
call assert@PLT
nop
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 "95696.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
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
mov r3, #10
str r3, [fp, #-16]
bl rand
str r0, [fp, #-8]
mov r3, #0
str r3, [fp, #-12]
ldr r3, [fp, #-8]
mvn r3, r3
lsr r3, r3, #31
and r3, r3, #255
mov r0, r3
bl assume
mov r3, #1
str r3, [fp, #-20]
b .L2
.L4:
ldr r2, [fp, #-20]
ldr r3, [fp, #-16]
cmp r2, r3
bge .L3
ldr r3, [fp, #-12]
add r3, r3, #2
str r3, [fp, #-12]
.L3:
ldr r3, [fp, #-16]
sub r3, r3, #1
str r3, [fp, #-16]
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L2:
ldr r2, [fp, #-20]
ldr r3, [fp, #-8]
cmp r2, r3
ble .L4
ldr r3, [fp, #-8]
lsl r3, r3, #1
ldr r2, [fp, #-12]
cmp r2, r3
beq .L5
ldr r3, [fp, #-12]
cmp r3, #0
bne .L6
.L5:
mov r3, #1
b .L7
.L6:
mov r3, #0
.L7:
mov r0, r3
bl assert
nop
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 "38387.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "digite os numeros: %d-%d: "
.LC1:
.string "%d"
.align 8
.LC2:
.string "os numeros com indices iguais e: %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, 64
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -56[rbp], 0
jmp .L2
.L5:
mov DWORD PTR -52[rbp], 0
jmp .L3
.L4:
mov edx, DWORD PTR -52[rbp]
mov eax, DWORD PTR -56[rbp]
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
lea rcx, -48[rbp]
mov eax, DWORD PTR -52[rbp]
movsx rsi, eax
mov eax, DWORD PTR -56[rbp]
movsx rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
add rax, rsi
sal rax, 2
add rax, rcx
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
add DWORD PTR -52[rbp], 1
.L3:
cmp DWORD PTR -52[rbp], 2
jle .L4
add DWORD PTR -56[rbp], 1
.L2:
cmp DWORD PTR -56[rbp], 2
jle .L5
mov DWORD PTR -56[rbp], 0
jmp .L6
.L10:
mov DWORD PTR -52[rbp], 0
jmp .L7
.L9:
mov eax, DWORD PTR -56[rbp]
cmp eax, DWORD PTR -52[rbp]
jne .L8
mov eax, DWORD PTR -52[rbp]
movsx rcx, eax
mov eax, DWORD PTR -56[rbp]
movsx rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
add rax, rcx
mov eax, DWORD PTR -48[rbp+rax*4]
mov esi, eax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
.L8:
add DWORD PTR -52[rbp], 1
.L7:
cmp DWORD PTR -52[rbp], 2
jle .L9
add DWORD PTR -56[rbp], 1
.L6:
cmp DWORD PTR -56[rbp], 2
jle .L10
mov eax, 0
mov rdi, QWORD PTR -8[rbp]
sub rdi, QWORD PTR fs:40
je .L12
call __stack_chk_fail@PLT
.L12:
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 "38387.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "digite os numeros: %d-%d: \000"
.align 2
.LC1:
.ascii "%d\000"
.align 2
.LC2:
.ascii "os numeros com indices iguais e: %d\012\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, #48
ldr r3, .L13
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-52]
b .L2
.L5:
mov r3, #0
str r3, [fp, #-48]
b .L3
.L4:
ldr r2, [fp, #-48]
ldr r1, [fp, #-52]
ldr r0, .L13+4
bl printf
sub r1, fp, #44
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
ldr r2, [fp, #-48]
add r3, r3, r2
lsl r3, r3, #2
add r3, r1, r3
mov r1, r3
ldr r0, .L13+8
bl __isoc99_scanf
ldr r3, [fp, #-48]
add r3, r3, #1
str r3, [fp, #-48]
.L3:
ldr r3, [fp, #-48]
cmp r3, #2
ble .L4
ldr r3, [fp, #-52]
add r3, r3, #1
str r3, [fp, #-52]
.L2:
ldr r3, [fp, #-52]
cmp r3, #2
ble .L5
mov r3, #0
str r3, [fp, #-52]
b .L6
.L10:
mov r3, #0
str r3, [fp, #-48]
b .L7
.L9:
ldr r2, [fp, #-52]
ldr r3, [fp, #-48]
cmp r2, r3
bne .L8
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
ldr r2, [fp, #-48]
add r3, r3, r2
lsl r3, r3, #2
sub r2, fp, #4
add r3, r2, r3
ldr r3, [r3, #-40]
mov r1, r3
ldr r0, .L13+12
bl printf
.L8:
ldr r3, [fp, #-48]
add r3, r3, #1
str r3, [fp, #-48]
.L7:
ldr r3, [fp, #-48]
cmp r3, #2
ble .L9
ldr r3, [fp, #-52]
add r3, r3, #1
str r3, [fp, #-52]
.L6:
ldr r3, [fp, #-52]
cmp r3, #2
ble .L10
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 .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 "621696.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "getcwd failed: %s\n"
.text
.globl print_cwd
.type print_cwd, @function
print_cwd:
.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 esi, 0
mov edi, 0
call getcwd@PLT
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
jne .L2
call __errno_location@PLT
mov eax, DWORD PTR [rax]
mov edi, eax
call strerror@PLT
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov edi, 1
call exit@PLT
.L2:
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call puts@PLT
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call free@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size print_cwd, .-print_cwd
.section .rodata
.LC1:
.string "source"
.LC2:
.string "mkdir failed: %s\n"
.text
.globl mkdir_source
.type mkdir_source, @function
mkdir_source:
.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 esi, 493
lea rdi, .LC1[rip]
call mkdir@PLT
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], 0
je .L5
call __errno_location@PLT
mov eax, DWORD PTR [rax]
mov edi, eax
call strerror@PLT
mov rsi, rax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
mov edi, 1
call exit@PLT
.L5:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size mkdir_source, .-mkdir_source
.section .rodata
.LC3:
.string "chdir failed: %s\n"
.text
.globl chdir_source
.type chdir_source, @function
chdir_source:
.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
lea rdi, .LC1[rip]
call chdir@PLT
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], 0
je .L8
call __errno_location@PLT
mov eax, DWORD PTR [rax]
mov edi, eax
call strerror@PLT
mov rsi, rax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
mov edi, 1
call exit@PLT
.L8:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size chdir_source, .-chdir_source
.section .rodata
.LC4:
.string "w"
.LC5:
.string "hello"
.text
.globl create_file
.type create_file, @function
create_file:
.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 rax, QWORD PTR -24[rbp]
lea rsi, .LC4[rip]
mov rdi, rax
call fopen@PLT
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov edx, 0
lea rsi, .LC5[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call fclose@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size create_file, .-create_file
.section .rodata
.LC6:
.string "link failed: %s\n"
.text
.globl create_hardlink
.type create_hardlink, @function
create_hardlink:
.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 QWORD PTR -32[rbp], rsi
mov rdx, QWORD PTR -32[rbp]
mov rax, QWORD PTR -24[rbp]
mov rsi, rdx
mov rdi, rax
call link@PLT
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], 0
je .L12
call __errno_location@PLT
mov eax, DWORD PTR [rax]
mov edi, eax
call strerror@PLT
mov rsi, rax
lea rdi, .LC6[rip]
mov eax, 0
call printf@PLT
mov edi, 1
call exit@PLT
.L12:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size create_hardlink, .-create_hardlink
.section .rodata
.LC7:
.string ".."
.text
.globl chdir_parent
.type chdir_parent, @function
chdir_parent:
.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
lea rdi, .LC7[rip]
call chdir@PLT
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], 0
je .L15
call __errno_location@PLT
mov eax, DWORD PTR [rax]
mov edi, eax
call strerror@PLT
mov rsi, rax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
mov edi, 1
call exit@PLT
.L15:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size chdir_parent, .-chdir_parent
.section .rodata
.LC8:
.string "target"
.text
.globl chdir_target
.type chdir_target, @function
chdir_target:
.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, 16
lea rdi, .LC8[rip]
call chdir@PLT
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], 0
je .L18
call __errno_location@PLT
mov eax, DWORD PTR [rax]
mov edi, eax
call strerror@PLT
mov rsi, rax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
mov edi, 1
call exit@PLT
.L18:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE12:
.size chdir_target, .-chdir_target
.section .rodata
.LC9:
.string "stat failed: %s\n"
.text
.globl get_inode
.type get_inode, @function
get_inode:
.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, 192
mov QWORD PTR -184[rbp], rdi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rdx, -160[rbp]
mov rax, QWORD PTR -184[rbp]
mov rsi, rdx
mov rdi, rax
call stat@PLT
mov DWORD PTR -164[rbp], eax
cmp DWORD PTR -164[rbp], 0
je .L20
call __errno_location@PLT
mov eax, DWORD PTR [rax]
mov edi, eax
call strerror@PLT
mov rsi, rax
lea rdi, .LC9[rip]
mov eax, 0
call printf@PLT
mov edi, 1
call exit@PLT
.L20:
mov rax, QWORD PTR -152[rbp]
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
.LFE13:
.size get_inode, .-get_inode
.section .rodata
.LC10:
.string "file1"
.LC11:
.string "file2"
.LC12:
.string "file3"
.LC13:
.string "/bin/cp -Rp source target"
.align 8
.LC14:
.string "TEST FAILED: hardlinked files are not copied correct, inodes differs: %lli %lli %lli\n"
.align 8
.LC15:
.string "TEST SUCCESS: hardlinked files are copied correct, inodes the same"
.text
.globl main
.type main, @function
main:
.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, 48
mov DWORD PTR -36[rbp], edi
mov QWORD PTR -48[rbp], rsi
mov eax, 0
call print_cwd
mov eax, 0
call mkdir_source
mov eax, 0
call chdir_source
lea rdi, .LC10[rip]
call create_file
lea rsi, .LC11[rip]
lea rdi, .LC10[rip]
call create_hardlink
lea rsi, .LC12[rip]
lea rdi, .LC11[rip]
call create_hardlink
mov eax, 0
call chdir_parent
lea rdi, .LC13[rip]
call system@PLT
mov eax, 0
call chdir_target
lea rdi, .LC10[rip]
call get_inode
mov QWORD PTR -24[rbp], rax
lea rdi, .LC11[rip]
call get_inode
mov QWORD PTR -16[rbp], rax
lea rdi, .LC12[rip]
call get_inode
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -24[rbp]
cmp rax, QWORD PTR -16[rbp]
jne .L24
mov rax, QWORD PTR -24[rbp]
cmp rax, QWORD PTR -8[rbp]
je .L25
.L24:
mov rcx, QWORD PTR -8[rbp]
mov rdx, QWORD PTR -16[rbp]
mov rax, QWORD PTR -24[rbp]
mov rsi, rax
lea rdi, .LC14[rip]
mov eax, 0
call printf@PLT
jmp .L26
.L25:
lea rdi, .LC15[rip]
mov eax, 0
call printf@PLT
.L26:
mov eax, 0
call chdir_parent
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE14:
.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 "621696.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "getcwd failed: %s\012\000"
.text
.align 2
.global print_cwd
.syntax unified
.arm
.fpu softvfp
.type print_cwd, %function
print_cwd:
@ 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 r1, #0
mov r0, #0
bl getcwd
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
bne .L2
bl __errno_location
mov r3, r0
ldr r3, [r3]
mov r0, r3
bl strerror
mov r3, r0
mov r1, r3
ldr r0, .L3
bl printf
mov r0, #1
bl exit
.L2:
ldr r0, [fp, #-8]
bl puts
ldr r0, [fp, #-8]
bl free
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L4:
.align 2
.L3:
.word .LC0
.size print_cwd, .-print_cwd
.section .rodata
.align 2
.LC1:
.ascii "source\000"
.align 2
.LC2:
.ascii "mkdir failed: %s\012\000"
.text
.align 2
.global mkdir_source
.syntax unified
.arm
.fpu softvfp
.type mkdir_source, %function
mkdir_source:
@ 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 r1, .L8
ldr r0, .L8+4
bl mkdir
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L7
bl __errno_location
mov r3, r0
ldr r3, [r3]
mov r0, r3
bl strerror
mov r3, r0
mov r1, r3
ldr r0, .L8+8
bl printf
mov r0, #1
bl exit
.L7:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L9:
.align 2
.L8:
.word 493
.word .LC1
.word .LC2
.size mkdir_source, .-mkdir_source
.section .rodata
.align 2
.LC3:
.ascii "chdir failed: %s\012\000"
.text
.align 2
.global chdir_source
.syntax unified
.arm
.fpu softvfp
.type chdir_source, %function
chdir_source:
@ 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, .L13
bl chdir
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L12
bl __errno_location
mov r3, r0
ldr r3, [r3]
mov r0, r3
bl strerror
mov r3, r0
mov r1, r3
ldr r0, .L13+4
bl printf
mov r0, #1
bl exit
.L12:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L14:
.align 2
.L13:
.word .LC1
.word .LC3
.size chdir_source, .-chdir_source
.section .rodata
.align 2
.LC4:
.ascii "w\000"
.align 2
.LC5:
.ascii "hello\000"
.text
.align 2
.global create_file
.syntax unified
.arm
.fpu softvfp
.type create_file, %function
create_file:
@ 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 r1, .L16
ldr r0, [fp, #-16]
bl fopen
str r0, [fp, #-8]
mov r2, #0
ldr r1, .L16+4
ldr r0, [fp, #-8]
bl fprintf
ldr r0, [fp, #-8]
bl fclose
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L17:
.align 2
.L16:
.word .LC4
.word .LC5
.size create_file, .-create_file
.section .rodata
.align 2
.LC6:
.ascii "link failed: %s\012\000"
.text
.align 2
.global create_hardlink
.syntax unified
.arm
.fpu softvfp
.type create_hardlink, %function
create_hardlink:
@ 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 r1, [fp, #-20]
ldr r0, [fp, #-16]
bl link
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L20
bl __errno_location
mov r3, r0
ldr r3, [r3]
mov r0, r3
bl strerror
mov r3, r0
mov r1, r3
ldr r0, .L21
bl printf
mov r0, #1
bl exit
.L20:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L22:
.align 2
.L21:
.word .LC6
.size create_hardlink, .-create_hardlink
.section .rodata
.align 2
.LC7:
.ascii "..\000"
.text
.align 2
.global chdir_parent
.syntax unified
.arm
.fpu softvfp
.type chdir_parent, %function
chdir_parent:
@ 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, .L26
bl chdir
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L25
bl __errno_location
mov r3, r0
ldr r3, [r3]
mov r0, r3
bl strerror
mov r3, r0
mov r1, r3
ldr r0, .L26+4
bl printf
mov r0, #1
bl exit
.L25:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L27:
.align 2
.L26:
.word .LC7
.word .LC3
.size chdir_parent, .-chdir_parent
.section .rodata
.align 2
.LC8:
.ascii "target\000"
.text
.align 2
.global chdir_target
.syntax unified
.arm
.fpu softvfp
.type chdir_target, %function
chdir_target:
@ 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, .L31
bl chdir
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L30
bl __errno_location
mov r3, r0
ldr r3, [r3]
mov r0, r3
bl strerror
mov r3, r0
mov r1, r3
ldr r0, .L31+4
bl printf
mov r0, #1
bl exit
.L30:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L32:
.align 2
.L31:
.word .LC8
.word .LC3
.size chdir_target, .-chdir_target
.section .rodata
.align 2
.LC9:
.ascii "stat failed: %s\012\000"
.align 2
.LC10:
.word __stack_chk_guard
.text
.align 2
.global get_inode
.syntax unified
.arm
.fpu softvfp
.type get_inode, %function
get_inode:
@ args = 0, pretend = 0, frame = 112
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #112
str r0, [fp, #-112]
ldr r3, .L37
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r3, fp, #100
mov r1, r3
ldr r0, [fp, #-112]
bl stat
str r0, [fp, #-104]
ldr r3, [fp, #-104]
cmp r3, #0
beq .L34
bl __errno_location
mov r3, r0
ldr r3, [r3]
mov r0, r3
bl strerror
mov r3, r0
mov r1, r3
ldr r0, .L37+4
bl printf
mov r0, #1
bl exit
.L34:
ldr r3, [fp, #-88]
ldr r2, .L37
ldr r1, [r2]
ldr r2, [fp, #-8]
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, pc}
.L38:
.align 2
.L37:
.word .LC10
.word .LC9
.size get_inode, .-get_inode
.section .rodata
.align 2
.LC11:
.ascii "file1\000"
.align 2
.LC12:
.ascii "file2\000"
.align 2
.LC13:
.ascii "file3\000"
.align 2
.LC14:
.ascii "/bin/cp -Rp source target\000"
.align 2
.LC15:
.ascii "TEST FAILED: hardlinked files are not copied correc"
.ascii "t, inodes differs: %lli %lli %lli\012\000"
.align 2
.LC16:
.ascii "TEST SUCCESS: hardlinked files are copied correct, "
.ascii "inodes the same\000"
.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
str r0, [fp, #-24]
str r1, [fp, #-28]
bl print_cwd
bl mkdir_source
bl chdir_source
ldr r0, .L44
bl create_file
ldr r1, .L44+4
ldr r0, .L44
bl create_hardlink
ldr r1, .L44+8
ldr r0, .L44+4
bl create_hardlink
bl chdir_parent
ldr r0, .L44+12
bl system
bl chdir_target
ldr r0, .L44
bl get_inode
str r0, [fp, #-16]
ldr r0, .L44+4
bl get_inode
str r0, [fp, #-12]
ldr r0, .L44+8
bl get_inode
str r0, [fp, #-8]
ldr r2, [fp, #-16]
ldr r3, [fp, #-12]
cmp r2, r3
bne .L40
ldr r2, [fp, #-16]
ldr r3, [fp, #-8]
cmp r2, r3
beq .L41
.L40:
ldr r3, [fp, #-8]
ldr r2, [fp, #-12]
ldr r1, [fp, #-16]
ldr r0, .L44+16
bl printf
b .L42
.L41:
ldr r0, .L44+20
bl printf
.L42:
bl chdir_parent
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L45:
.align 2
.L44:
.word .LC11
.word .LC12
.word .LC13
.word .LC14
.word .LC15
.word .LC16
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "711361.c"
.intel_syntax noprefix
.text
.globl i
.bss
.align 4
.type i, @object
.size i, 4
i:
.zero 4
.globl r
.align 4
.type r, @object
.size r, 4
r:
.zero 4
.globl m
.align 4
.type m, @object
.size m, 4
m:
.zero 4
.text
.globl mult
.type mult, @function
mult:
.LFB0:
.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 r[rip]
mov eax, DWORD PTR m[rip]
add eax, edx
mov DWORD PTR r[rip], eax
mov eax, DWORD PTR i[rip]
add eax, 1
mov DWORD PTR i[rip], eax
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size mult, .-mult
.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 eax, 0
call __VERIFIER_nondet_int@PLT
mov DWORD PTR -4[rbp], eax
mov eax, 0
call __VERIFIER_nondet_int@PLT
mov DWORD PTR m[rip], eax
cmp DWORD PTR -4[rbp], 0
setg al
movzx eax, al
mov edi, eax
mov eax, 0
call __VERIFIER_assume@PLT
jmp .L3
.L4:
mov eax, 0
call mult
.L3:
mov eax, DWORD PTR i[rip]
cmp DWORD PTR -4[rbp], eax
jg .L4
mov eax, DWORD PTR i[rip]
cmp DWORD PTR -4[rbp], eax
sete al
movzx eax, al
mov edi, eax
mov eax, 0
call assert@PLT
mov eax, DWORD PTR m[rip]
imul eax, DWORD PTR -4[rbp]
mov edx, eax
mov eax, DWORD PTR r[rip]
cmp edx, eax
sete al
movzx eax, al
mov edi, eax
mov eax, 0
call assert@PLT
nop
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 "711361.c"
.text
.global i
.bss
.align 2
.type i, %object
.size i, 4
i:
.space 4
.global r
.align 2
.type r, %object
.size r, 4
r:
.space 4
.comm m,4,4
.text
.align 2
.global mult
.syntax unified
.arm
.fpu softvfp
.type mult, %function
mult:
@ 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 r2, [r3]
ldr r3, .L2+4
ldr r3, [r3]
add r3, r2, r3
ldr r2, .L2
str r3, [r2]
ldr r3, .L2+8
ldr r3, [r3]
add r3, r3, #1
ldr r2, .L2+8
str r3, [r2]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L3:
.align 2
.L2:
.word r
.word m
.word i
.size mult, .-mult
.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
bl __VERIFIER_nondet_int
str r0, [fp, #-8]
bl __VERIFIER_nondet_int
mov r3, r0
ldr r2, .L7
str r3, [r2]
ldr r3, [fp, #-8]
cmp r3, #0
movgt r3, #1
movle r3, #0
and r3, r3, #255
mov r0, r3
bl __VERIFIER_assume
b .L5
.L6:
bl mult
.L5:
ldr r3, .L7+4
ldr r3, [r3]
ldr r2, [fp, #-8]
cmp r2, r3
bgt .L6
ldr r3, .L7+4
ldr r3, [r3]
ldr r2, [fp, #-8]
cmp r2, r3
moveq r3, #1
movne r3, #0
and r3, r3, #255
mov r0, r3
bl assert
ldr r3, .L7
ldr r3, [r3]
ldr r2, [fp, #-8]
mul r2, r3, r2
ldr r3, .L7+8
ldr r3, [r3]
cmp r2, r3
moveq r3, #1
movne r3, #0
and r3, r3, #255
mov r0, r3
bl assert
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L8:
.align 2
.L7:
.word m
.word i
.word r
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "26143.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 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 "26143.c"
.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
@ 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 main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "779923.c"
.intel_syntax noprefix
.text
.section .rodata
.align 8
.LC0:
.string "static unsigned char %s[256] = {\n"
.LC1:
.string " "
.LC2:
.string "%s%d"
.LC3:
.string ",\t/* 0x%02x - 0x%02x */\n"
.LC4:
.string ", "
.LC5:
.string "\n};"
.text
.globl dumparray
.type dumparray, @function
dumparray:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov rax, QWORD PTR -24[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
lea rax, .LC1[rip]
mov QWORD PTR -8[rbp], rax
mov DWORD PTR -12[rbp], 0
jmp .L2
.L5:
mov eax, DWORD PTR -12[rbp]
movsx rdx, eax
mov rax, QWORD PTR -32[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
movzx edx, al
mov rax, QWORD PTR -8[rbp]
mov rsi, rax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR -12[rbp]
add eax, 1
and eax, 15
test eax, eax
jne .L3
mov eax, DWORD PTR -12[rbp]
lea ecx, -15[rax]
mov eax, DWORD PTR -12[rbp]
mov edx, eax
mov esi, ecx
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
lea rax, .LC1[rip]
mov QWORD PTR -8[rbp], rax
jmp .L4
.L3:
lea rax, .LC4[rip]
mov QWORD PTR -8[rbp], rax
.L4:
add DWORD PTR -12[rbp], 1
.L2:
cmp DWORD PTR -12[rbp], 255
jle .L5
lea rdi, .LC5[rip]
call puts@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size dumparray, .-dumparray
.section .rodata
.LC6:
.string "bruns"
.LC7:
.string "wruns"
.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
push r13
push r12
push rbx
sub rsp, 536
.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
lea rax, -560[rbp]
mov edx, 256
mov esi, 0
mov rdi, rax
call memset@PLT
lea rax, -560[rbp]
add rax, 256
mov edx, 256
mov esi, 0
mov rdi, rax
call memset@PLT
mov r13d, 1
mov r12d, 128
jmp .L7
.L10:
lea ebx, -1[r12]
jmp .L8
.L9:
mov eax, r12d
or eax, ebx
mov edx, r13d
cdqe
mov BYTE PTR -304[rbp+rax], dl
mov eax, r12d
or eax, ebx
not eax
movzx eax, al
mov edx, r13d
cdqe
mov BYTE PTR -560[rbp+rax], dl
sub ebx, 1
.L8:
test ebx, ebx
jns .L9
add r13d, 1
mov eax, r12d
sar eax
or al, -128
mov r12d, eax
.L7:
cmp r12d, 255
jne .L10
mov BYTE PTR -560[rbp], 8
movzx eax, BYTE PTR -560[rbp]
mov BYTE PTR -49[rbp], al
lea rax, -560[rbp]
mov rsi, rax
lea rdi, .LC6[rip]
mov eax, 0
call dumparray
lea rax, -560[rbp]
add rax, 256
mov rsi, rax
lea rdi, .LC7[rip]
mov eax, 0
call dumparray
mov eax, 0
mov rcx, QWORD PTR -40[rbp]
sub rcx, QWORD PTR fs:40
je .L12
call __stack_chk_fail@PLT
.L12:
add rsp, 536
pop rbx
pop r12
pop r13
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 "779923.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "static unsigned char %s[256] = {\012\000"
.align 2
.LC1:
.ascii " \000"
.align 2
.LC2:
.ascii "%s%d\000"
.align 2
.LC3:
.ascii ",\011/* 0x%02x - 0x%02x */\012\000"
.align 2
.LC4:
.ascii ", \000"
.align 2
.LC5:
.ascii "\012};\000"
.text
.align 2
.global dumparray
.syntax unified
.arm
.fpu softvfp
.type dumparray, %function
dumparray:
@ 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 r1, [fp, #-16]
ldr r0, .L6
bl printf
ldr r3, .L6+4
str r3, [fp, #-8]
mov r3, #0
str r3, [fp, #-12]
b .L2
.L5:
ldr r3, [fp, #-12]
ldr r2, [fp, #-20]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
mov r2, r3
ldr r1, [fp, #-8]
ldr r0, .L6+8
bl printf
ldr r3, [fp, #-12]
add r3, r3, #1
and r3, r3, #15
cmp r3, #0
bne .L3
ldr r3, [fp, #-12]
sub r3, r3, #15
ldr r2, [fp, #-12]
mov r1, r3
ldr r0, .L6+12
bl printf
ldr r3, .L6+4
str r3, [fp, #-8]
b .L4
.L3:
ldr r3, .L6+16
str r3, [fp, #-8]
.L4:
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L2:
ldr r3, [fp, #-12]
cmp r3, #255
ble .L5
ldr r0, .L6+20
bl puts
nop
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L7:
.align 2
.L6:
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.word .LC5
.size dumparray, .-dumparray
.section .rodata
.align 2
.LC6:
.ascii "bruns\000"
.align 2
.LC7:
.ascii "wruns\000"
.align 2
.LC8:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 520
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, r6, fp, lr}
add fp, sp, #16
sub sp, sp, #524
ldr r3, .L15
ldr r3, [r3]
str r3, [fp, #-24]
mov r3,#0
sub r3, fp, #536
mov r2, #256
mov r1, #0
mov r0, r3
bl memset
sub r3, fp, #536
add r3, r3, #256
mov r2, #256
mov r1, #0
mov r0, r3
bl memset
mov r6, #1
mov r4, #128
b .L9
.L12:
sub r5, r4, #1
b .L10
.L11:
orr r3, r4, r5
and r2, r6, #255
sub r1, fp, #20
add r3, r1, r3
strb r2, [r3, #-260]
orr r3, r4, r5
mvn r3, r3
and r3, r3, #255
and r2, r6, #255
sub r1, fp, #20
add r3, r1, r3
strb r2, [r3, #-516]
sub r5, r5, #1
.L10:
cmp r5, #0
bge .L11
add r6, r6, #1
asr r3, r4, #1
orr r4, r3, #128
.L9:
cmp r4, #255
bne .L12
mov r3, #8
strb r3, [fp, #-536]
ldrb r3, [fp, #-536] @ zero_extendqisi2
strb r3, [fp, #-25]
sub r3, fp, #536
mov r1, r3
ldr r0, .L15+4
bl dumparray
sub r3, fp, #536
add r3, r3, #256
mov r1, r3
ldr r0, .L15+8
bl dumparray
mov r3, #0
ldr r2, .L15
ldr r1, [r2]
ldr r2, [fp, #-24]
eors r1, r2, r1
mov r2, #0
beq .L14
bl __stack_chk_fail
.L14:
mov r0, r3
sub sp, fp, #16
@ sp needed
pop {r4, r5, r6, fp, pc}
.L16:
.align 2
.L15:
.word .LC8
.word .LC6
.word .LC7
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "86917.c"
.intel_syntax noprefix
.text
.globl load
.type load, @function
load:
.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 QWORD PTR -16[rbp], rsi
mov rax, QWORD PTR -16[rbp]
mov edx, DWORD PTR [rax]
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR [rax], edx
mov rax, QWORD PTR -8[rbp]
lea rdx, 4[rax]
mov rax, QWORD PTR -16[rbp]
mov eax, DWORD PTR 4[rax]
mov DWORD PTR [rdx], eax
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size load, .-load
.globl store
.type store, @function
store:
.LFB1:
.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 edx, DWORD PTR [rax]
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR [rax], edx
mov rax, QWORD PTR -8[rbp]
lea rdx, 4[rax]
mov rax, QWORD PTR -16[rbp]
mov eax, DWORD PTR 4[rax]
mov DWORD PTR [rdx], eax
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size store, .-store
.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 "86917.c"
.text
.align 2
.global load
.syntax unified
.arm
.fpu softvfp
.type load, %function
load:
@ 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]
ldr r2, [r3]
ldr r3, [fp, #-8]
str r2, [r3]
ldr r3, [fp, #-8]
add r3, r3, #4
ldr r2, [fp, #-12]
ldr r2, [r2, #4]
str r2, [r3]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size load, .-load
.align 2
.global store
.syntax unified
.arm
.fpu softvfp
.type store, %function
store:
@ 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]
ldr r2, [r3]
ldr r3, [fp, #-8]
str r2, [r3]
ldr r3, [fp, #-8]
add r3, r3, #4
ldr r2, [fp, #-12]
ldr r2, [r2, #4]
str r2, [r3]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size store, .-store
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "617302.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], 1
mov DWORD PTR -4[rbp], 5
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 "617302.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
mov r3, #1
str r3, [fp, #-12]
mov r3, #5
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 "269024.c"
.intel_syntax noprefix
.text
.globl MAX_LINE
.section .rodata
.align 4
.type MAX_LINE, @object
.size MAX_LINE, 4
MAX_LINE:
.long 11
.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
push rbx
sub rsp, 56
.cfi_offset 3, -24
mov rax, QWORD PTR fs:40
mov QWORD PTR -24[rbp], rax
xor eax, eax
mov rax, rsp
mov rbx, rax
mov DWORD PTR -52[rbp], 0
mov eax, 11
cdqe
sub rax, 1
mov QWORD PTR -40[rbp], rax
mov eax, 11
cdqe
mov r8, rax
mov r9d, 0
mov eax, 11
cdqe
mov rsi, rax
mov edi, 0
mov eax, 11
cdqe
mov edx, 16
sub rdx, 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
.L2:
cmp rsp, rdx
je .L3
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
jmp .L2
.L3:
mov rdx, rax
and edx, 4095
sub rsp, rdx
mov rdx, rax
and edx, 4095
test rdx, rdx
je .L4
and eax, 4095
sub rax, 8
add rax, rsp
or QWORD PTR [rax], 0
.L4:
mov rax, rsp
add rax, 0
mov QWORD PTR -32[rbp], rax
mov rdx, QWORD PTR stdin[rip]
mov ecx, 11
mov rax, QWORD PTR -32[rbp]
mov esi, ecx
mov rdi, rax
call fgets@PLT
mov rax, QWORD PTR -32[rbp]
mov rdi, rax
call atoi@PLT
mov DWORD PTR -48[rbp], eax
jmp .L5
.L7:
mov rax, QWORD PTR -32[rbp]
mov rdi, rax
call atoi@PLT
mov DWORD PTR -44[rbp], eax
mov eax, DWORD PTR -44[rbp]
cmp eax, DWORD PTR -48[rbp]
jle .L6
add DWORD PTR -52[rbp], 1
.L6:
mov eax, DWORD PTR -44[rbp]
mov DWORD PTR -48[rbp], eax
.L5:
mov rdx, QWORD PTR stdin[rip]
mov ecx, 11
mov rax, QWORD PTR -32[rbp]
mov esi, ecx
mov rdi, rax
call fgets@PLT
test rax, rax
jne .L7
mov eax, DWORD PTR -52[rbp]
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov eax, 0
mov rsp, rbx
mov rbx, QWORD PTR -24[rbp]
sub rbx, QWORD PTR fs:40
je .L9
call __stack_chk_fail@PLT
.L9:
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 "269024.c"
.text
.global MAX_LINE
.section .rodata
.align 2
.type MAX_LINE, %object
.size MAX_LINE, 4
MAX_LINE:
.word 11
.align 2
.LC0:
.ascii "%d\012\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 = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #28
ldr r3, .L7
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
mov r3, sp
mov r4, r3
mov r3, #0
str r3, [fp, #-36]
mov r3, #11
sub r3, r3, #1
str r3, [fp, #-28]
mov r3, #11
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, #11
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, #11
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, #-24]
mov r1, #11
ldr r3, .L7+4
ldr r3, [r3]
mov r2, r3
ldr r0, [fp, #-24]
bl fgets
ldr r0, [fp, #-24]
bl atoi
str r0, [fp, #-32]
b .L2
.L4:
ldr r0, [fp, #-24]
bl atoi
str r0, [fp, #-20]
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
cmp r2, r3
ble .L3
ldr r3, [fp, #-36]
add r3, r3, #1
str r3, [fp, #-36]
.L3:
ldr r3, [fp, #-20]
str r3, [fp, #-32]
.L2:
mov r1, #11
ldr r3, .L7+4
ldr r3, [r3]
mov r2, r3
ldr r0, [fp, #-24]
bl fgets
mov r3, r0
cmp r3, #0
bne .L4
ldr r1, [fp, #-36]
ldr r0, .L7+8
bl printf
mov r3, #0
mov sp, r4
ldr r2, .L7
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L6
bl __stack_chk_fail
.L6:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L8:
.align 2
.L7:
.word .LC1
.word stdin
.word .LC0
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "812599.c"
.intel_syntax noprefix
.text
.local num_in_rank
.comm num_in_rank,52,32
.local num_in_suit
.comm num_in_suit,16,16
.local flush
.comm flush,1,1
.local straight
.comm straight,1,1
.local four
.comm four,1,1
.local three
.comm three,1,1
.local pairs
.comm pairs,4,4
.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
.L2:
call read_cards
call analyze_hand
call print_result
jmp .L2
.cfi_endproc
.LFE6:
.size main, .-main
.section .rodata
.align 8
.LC0:
.string "\nPoker begins. Specify your hand:"
.align 8
.LC1:
.string "5s for five spades, tc for ten clubs."
.LC2:
.string "0 - to exit."
.LC3:
.string "Enter a card: "
.LC4:
.string " %c"
.LC5:
.string "Bad card; Ignored."
.LC6:
.string "Duplicate card; Ignored."
.text
.type read_cards, @function
read_cards:
.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, 80
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -68[rbp], 0
lea rdi, .LC0[rip]
call puts@PLT
lea rdi, .LC1[rip]
call puts@PLT
lea rdi, .LC2[rip]
call puts@PLT
mov DWORD PTR -76[rbp], 0
jmp .L4
.L7:
mov eax, DWORD PTR -76[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, num_in_rank[rip]
mov DWORD PTR [rdx+rax], 0
mov DWORD PTR -72[rbp], 0
jmp .L5
.L6:
mov eax, DWORD PTR -72[rbp]
movsx rdx, eax
mov eax, DWORD PTR -76[rbp]
cdqe
sal rax, 2
add rax, rbp
add rax, rdx
sub rax, 64
mov BYTE PTR [rax], 0
add DWORD PTR -72[rbp], 1
.L5:
cmp DWORD PTR -72[rbp], 3
jle .L6
add DWORD PTR -76[rbp], 1
.L4:
cmp DWORD PTR -76[rbp], 12
jle .L7
mov DWORD PTR -72[rbp], 0
jmp .L8
.L9:
mov eax, DWORD PTR -72[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, num_in_suit[rip]
mov DWORD PTR [rdx+rax], 0
add DWORD PTR -72[rbp], 1
.L8:
cmp DWORD PTR -72[rbp], 3
jle .L9
jmp .L10
.L38:
mov BYTE PTR -78[rbp], 0
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
lea rax, -80[rbp]
mov rsi, rax
lea rdi, .LC4[rip]
mov eax, 0
call __isoc99_scanf@PLT
movzx eax, BYTE PTR -80[rbp]
movsx eax, al
mov edi, eax
call tolower@PLT
sub eax, 48
cmp eax, 68
ja .L11
mov eax, eax
lea rdx, 0[0+rax*4]
lea rax, .L13[rip]
mov eax, DWORD PTR [rdx+rax]
cdqe
lea rdx, .L13[rip]
add rax, rdx
notrack jmp rax
.section .rodata
.align 4
.align 4
.L13:
.long .L26-.L13
.long .L11-.L13
.long .L25-.L13
.long .L24-.L13
.long .L23-.L13
.long .L22-.L13
.long .L21-.L13
.long .L20-.L13
.long .L19-.L13
.long .L18-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L17-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L16-.L13
.long .L15-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L11-.L13
.long .L14-.L13
.long .L11-.L13
.long .L11-.L13
.long .L12-.L13
.text
.L26:
mov edi, 0
call exit@PLT
.L25:
mov DWORD PTR -76[rbp], 0
jmp .L27
.L24:
mov DWORD PTR -76[rbp], 1
jmp .L27
.L23:
mov DWORD PTR -76[rbp], 2
jmp .L27
.L22:
mov DWORD PTR -76[rbp], 3
jmp .L27
.L21:
mov DWORD PTR -76[rbp], 4
jmp .L27
.L20:
mov DWORD PTR -76[rbp], 5
jmp .L27
.L19:
mov DWORD PTR -76[rbp], 6
jmp .L27
.L18:
mov DWORD PTR -76[rbp], 7
jmp .L27
.L12:
mov DWORD PTR -76[rbp], 8
jmp .L27
.L16:
mov DWORD PTR -76[rbp], 9
jmp .L27
.L14:
mov DWORD PTR -76[rbp], 10
jmp .L27
.L15:
mov DWORD PTR -76[rbp], 11
jmp .L27
.L17:
mov DWORD PTR -76[rbp], 12
jmp .L27
.L11:
mov BYTE PTR -78[rbp], 1
nop
.L27:
lea rax, -79[rbp]
mov rsi, rax
lea rdi, .LC4[rip]
mov eax, 0
call __isoc99_scanf@PLT
movzx eax, BYTE PTR -79[rbp]
movsx eax, al
mov edi, eax
call tolower@PLT
cmp eax, 115
je .L28
cmp eax, 115
jg .L29
cmp eax, 104
je .L30
cmp eax, 104
jg .L29
cmp eax, 99
je .L31
cmp eax, 100
je .L32
jmp .L29
.L31:
mov DWORD PTR -72[rbp], 0
jmp .L33
.L32:
mov DWORD PTR -72[rbp], 1
jmp .L33
.L30:
mov DWORD PTR -72[rbp], 2
jmp .L33
.L28:
mov DWORD PTR -72[rbp], 3
jmp .L33
.L29:
mov BYTE PTR -78[rbp], 0
nop
.L33:
jmp .L34
.L35:
cmp BYTE PTR -77[rbp], 32
je .L34
mov BYTE PTR -78[rbp], 1
.L34:
call getchar@PLT
mov BYTE PTR -77[rbp], al
cmp BYTE PTR -77[rbp], 10
jne .L35
cmp BYTE PTR -78[rbp], 0
je .L36
lea rdi, .LC5[rip]
call puts@PLT
jmp .L10
.L36:
mov eax, DWORD PTR -72[rbp]
movsx rdx, eax
mov eax, DWORD PTR -76[rbp]
cdqe
sal rax, 2
add rax, rbp
add rax, rdx
sub rax, 64
movzx eax, BYTE PTR [rax]
test al, al
je .L37
lea rdi, .LC6[rip]
call puts@PLT
jmp .L10
.L37:
mov eax, DWORD PTR -72[rbp]
movsx rdx, eax
mov eax, DWORD PTR -76[rbp]
cdqe
sal rax, 2
add rax, rbp
add rax, rdx
sub rax, 64
mov BYTE PTR [rax], 1
mov eax, DWORD PTR -76[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, num_in_rank[rip]
mov eax, DWORD PTR [rdx+rax]
lea ecx, 1[rax]
mov eax, DWORD PTR -76[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, num_in_rank[rip]
mov DWORD PTR [rdx+rax], ecx
mov eax, DWORD PTR -72[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, num_in_suit[rip]
mov eax, DWORD PTR [rdx+rax]
lea ecx, 1[rax]
mov eax, DWORD PTR -72[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, num_in_suit[rip]
mov DWORD PTR [rdx+rax], ecx
add DWORD PTR -68[rbp], 1
.L10:
cmp DWORD PTR -68[rbp], 4
jle .L38
nop
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L39
call __stack_chk_fail@PLT
.L39:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size read_cards, .-read_cards
.type analyze_hand, @function
analyze_hand:
.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], 0
mov DWORD PTR pairs[rip], 0
mov BYTE PTR three[rip], 0
movzx eax, BYTE PTR three[rip]
mov BYTE PTR four[rip], al
movzx eax, BYTE PTR four[rip]
mov BYTE PTR straight[rip], al
movzx eax, BYTE PTR straight[rip]
mov BYTE PTR flush[rip], al
mov DWORD PTR -8[rbp], 0
jmp .L41
.L43:
mov eax, DWORD PTR -8[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, num_in_suit[rip]
mov eax, DWORD PTR [rdx+rax]
cmp eax, 5
jne .L42
mov BYTE PTR flush[rip], 1
.L42:
add DWORD PTR -8[rbp], 1
.L41:
cmp DWORD PTR -8[rbp], 3
jle .L43
mov DWORD PTR -12[rbp], 0
jmp .L44
.L45:
add DWORD PTR -12[rbp], 1
.L44:
mov eax, DWORD PTR -12[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, num_in_rank[rip]
mov eax, DWORD PTR [rdx+rax]
test eax, eax
je .L45
jmp .L46
.L48:
add DWORD PTR -4[rbp], 1
add DWORD PTR -12[rbp], 1
.L46:
cmp DWORD PTR -12[rbp], 12
jg .L47
mov eax, DWORD PTR -12[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, num_in_rank[rip]
mov eax, DWORD PTR [rdx+rax]
test eax, eax
jg .L48
.L47:
cmp DWORD PTR -4[rbp], 5
jne .L49
mov BYTE PTR straight[rip], 1
jmp .L40
.L49:
mov DWORD PTR -12[rbp], 0
jmp .L51
.L56:
mov eax, DWORD PTR -12[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, num_in_rank[rip]
mov eax, DWORD PTR [rdx+rax]
cmp eax, 4
je .L52
cmp eax, 4
jg .L53
cmp eax, 2
je .L54
cmp eax, 3
je .L55
jmp .L53
.L52:
mov BYTE PTR four[rip], 1
jmp .L53
.L55:
mov BYTE PTR three[rip], 1
jmp .L53
.L54:
mov eax, DWORD PTR pairs[rip]
add eax, 1
mov DWORD PTR pairs[rip], eax
nop
.L53:
add DWORD PTR -12[rbp], 1
.L51:
cmp DWORD PTR -12[rbp], 12
jle .L56
.L40:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size analyze_hand, .-analyze_hand
.section .rodata
.LC7:
.string "Straight flush"
.LC8:
.string "four-of-a-kind"
.LC9:
.string "full house"
.LC10:
.string "flush"
.LC11:
.string "straight"
.LC12:
.string "three-of-a-kind"
.LC13:
.string "two pairs"
.LC14:
.string "pair"
.LC15:
.string "high card"
.LC16:
.string "\n"
.text
.type print_result, @function
print_result:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
movzx eax, BYTE PTR straight[rip]
test al, al
je .L58
movzx eax, BYTE PTR flush[rip]
test al, al
je .L58
lea rdi, .LC7[rip]
mov eax, 0
call printf@PLT
jmp .L59
.L58:
movzx eax, BYTE PTR four[rip]
test al, al
je .L60
lea rdi, .LC8[rip]
mov eax, 0
call printf@PLT
jmp .L59
.L60:
movzx eax, BYTE PTR three[rip]
test al, al
je .L61
mov eax, DWORD PTR pairs[rip]
cmp eax, 1
jne .L61
lea rdi, .LC9[rip]
mov eax, 0
call printf@PLT
jmp .L59
.L61:
movzx eax, BYTE PTR flush[rip]
test al, al
je .L62
lea rdi, .LC10[rip]
mov eax, 0
call printf@PLT
jmp .L59
.L62:
movzx eax, BYTE PTR straight[rip]
test al, al
je .L63
lea rdi, .LC11[rip]
mov eax, 0
call printf@PLT
jmp .L59
.L63:
movzx eax, BYTE PTR three[rip]
test al, al
je .L64
lea rdi, .LC12[rip]
mov eax, 0
call printf@PLT
jmp .L59
.L64:
mov eax, DWORD PTR pairs[rip]
cmp eax, 2
jne .L65
lea rdi, .LC13[rip]
mov eax, 0
call printf@PLT
jmp .L59
.L65:
mov eax, DWORD PTR pairs[rip]
cmp eax, 1
jne .L66
lea rdi, .LC14[rip]
mov eax, 0
call printf@PLT
jmp .L59
.L66:
lea rdi, .LC15[rip]
mov eax, 0
call printf@PLT
.L59:
lea rdi, .LC16[rip]
call puts@PLT
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size print_result, .-print_result
.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 "812599.c"
.text
.local num_in_rank
.comm num_in_rank,52,4
.local num_in_suit
.comm num_in_suit,16,4
.local flush
.comm flush,1,1
.local straight
.comm straight,1,1
.local four
.comm four,1,1
.local three
.comm three,1,1
.local pairs
.comm pairs,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
.L2:
bl read_cards
bl analyze_hand
bl print_result
b .L2
.size main, .-main
.section .rodata
.align 2
.LC0:
.ascii "\012Poker begins. Specify your hand:\000"
.align 2
.LC1:
.ascii "5s for five spades, tc for ten clubs.\000"
.align 2
.LC2:
.ascii "0 - to exit.\000"
.align 2
.LC3:
.ascii "Enter a card: \000"
.align 2
.LC4:
.ascii " %c\000"
.align 2
.LC5:
.ascii "Bad card; Ignored.\000"
.align 2
.LC6:
.ascii "Duplicate card; Ignored.\000"
.align 2
.LC7:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_cards, %function
read_cards:
@ args = 0, pretend = 0, frame = 72
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #72
ldr r3, .L41
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-64]
ldr r0, .L41+4
bl puts
ldr r0, .L41+8
bl puts
ldr r0, .L41+12
bl puts
mov r3, #0
str r3, [fp, #-72]
b .L4
.L7:
ldr r2, .L41+16
ldr r3, [fp, #-72]
mov r1, #0
str r1, [r2, r3, lsl #2]
mov r3, #0
str r3, [fp, #-68]
b .L5
.L6:
ldr r3, [fp, #-72]
lsl r3, r3, #2
sub r2, fp, #4
add r2, r2, r3
ldr r3, [fp, #-68]
add r3, r2, r3
sub r3, r3, #56
mov r2, #0
strb r2, [r3]
ldr r3, [fp, #-68]
add r3, r3, #1
str r3, [fp, #-68]
.L5:
ldr r3, [fp, #-68]
cmp r3, #3
ble .L6
ldr r3, [fp, #-72]
add r3, r3, #1
str r3, [fp, #-72]
.L4:
ldr r3, [fp, #-72]
cmp r3, #12
ble .L7
mov r3, #0
str r3, [fp, #-68]
b .L8
.L9:
ldr r2, .L41+20
ldr r3, [fp, #-68]
mov r1, #0
str r1, [r2, r3, lsl #2]
ldr r3, [fp, #-68]
add r3, r3, #1
str r3, [fp, #-68]
.L8:
ldr r3, [fp, #-68]
cmp r3, #3
ble .L9
b .L10
.L39:
mov r3, #0
strb r3, [fp, #-74]
ldr r0, .L41+24
bl printf
sub r3, fp, #76
mov r1, r3
ldr r0, .L41+28
bl __isoc99_scanf
ldrb r3, [fp, #-76] @ zero_extendqisi2
mov r0, r3
bl tolower
mov r3, r0
sub r3, r3, #48
cmp r3, #68
ldrls pc, [pc, r3, asl #2]
b .L11
.L13:
.word .L26
.word .L11
.word .L25
.word .L24
.word .L23
.word .L22
.word .L21
.word .L20
.word .L19
.word .L18
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L17
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L16
.word .L15
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L14
.word .L11
.word .L11
.word .L12
.L26:
mov r0, #0
bl exit
.L25:
mov r3, #0
str r3, [fp, #-72]
b .L27
.L24:
mov r3, #1
str r3, [fp, #-72]
b .L27
.L23:
mov r3, #2
str r3, [fp, #-72]
b .L27
.L22:
mov r3, #3
str r3, [fp, #-72]
b .L27
.L21:
mov r3, #4
str r3, [fp, #-72]
b .L27
.L20:
mov r3, #5
str r3, [fp, #-72]
b .L27
.L19:
mov r3, #6
str r3, [fp, #-72]
b .L27
.L18:
mov r3, #7
str r3, [fp, #-72]
b .L27
.L12:
mov r3, #8
str r3, [fp, #-72]
b .L27
.L16:
mov r3, #9
str r3, [fp, #-72]
b .L27
.L14:
mov r3, #10
str r3, [fp, #-72]
b .L27
.L15:
mov r3, #11
str r3, [fp, #-72]
b .L27
.L17:
mov r3, #12
str r3, [fp, #-72]
b .L27
.L11:
mov r3, #1
strb r3, [fp, #-74]
nop
.L27:
sub r3, fp, #75
mov r1, r3
ldr r0, .L41+28
bl __isoc99_scanf
ldrb r3, [fp, #-75] @ zero_extendqisi2
mov r0, r3
bl tolower
mov r3, r0
sub r3, r3, #99
cmp r3, #16
ldrls pc, [pc, r3, asl #2]
b .L28
.L30:
.word .L33
.word .L32
.word .L28
.word .L28
.word .L28
.word .L31
.word .L28
.word .L28
.word .L28
.word .L28
.word .L28
.word .L28
.word .L28
.word .L28
.word .L28
.word .L28
.word .L29
.L33:
mov r3, #0
str r3, [fp, #-68]
b .L34
.L32:
mov r3, #1
str r3, [fp, #-68]
b .L34
.L31:
mov r3, #2
str r3, [fp, #-68]
b .L34
.L29:
mov r3, #3
str r3, [fp, #-68]
b .L34
.L28:
mov r3, #0
strb r3, [fp, #-74]
nop
.L34:
b .L35
.L36:
ldrb r3, [fp, #-73] @ zero_extendqisi2
cmp r3, #32
beq .L35
mov r3, #1
strb r3, [fp, #-74]
.L35:
bl getchar
mov r3, r0
strb r3, [fp, #-73]
ldrb r3, [fp, #-73] @ zero_extendqisi2
cmp r3, #10
bne .L36
ldrb r3, [fp, #-74] @ zero_extendqisi2
cmp r3, #0
beq .L37
ldr r0, .L41+32
bl puts
b .L10
.L37:
ldr r3, [fp, #-72]
lsl r3, r3, #2
sub r2, fp, #4
add r2, r2, r3
ldr r3, [fp, #-68]
add r3, r2, r3
sub r3, r3, #56
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
beq .L38
ldr r0, .L41+36
bl puts
b .L10
.L38:
ldr r3, [fp, #-72]
lsl r3, r3, #2
sub r2, fp, #4
add r2, r2, r3
ldr r3, [fp, #-68]
add r3, r2, r3
sub r3, r3, #56
mov r2, #1
strb r2, [r3]
ldr r2, .L41+16
ldr r3, [fp, #-72]
ldr r3, [r2, r3, lsl #2]
add r2, r3, #1
ldr r1, .L41+16
ldr r3, [fp, #-72]
str r2, [r1, r3, lsl #2]
ldr r2, .L41+20
ldr r3, [fp, #-68]
ldr r3, [r2, r3, lsl #2]
add r2, r3, #1
ldr r1, .L41+20
ldr r3, [fp, #-68]
str r2, [r1, r3, lsl #2]
ldr r3, [fp, #-64]
add r3, r3, #1
str r3, [fp, #-64]
.L10:
ldr r3, [fp, #-64]
cmp r3, #4
ble .L39
nop
ldr r3, .L41
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L40
bl __stack_chk_fail
.L40:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L42:
.align 2
.L41:
.word .LC7
.word .LC0
.word .LC1
.word .LC2
.word num_in_rank
.word num_in_suit
.word .LC3
.word .LC4
.word .LC5
.word .LC6
.size read_cards, .-read_cards
.align 2
.syntax unified
.arm
.fpu softvfp
.type analyze_hand, %function
analyze_hand:
@ 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
mov r3, #0
str r3, [fp, #-8]
ldr r3, .L60
mov r2, #0
str r2, [r3]
ldr r3, .L60+4
mov r2, #0
strb r2, [r3]
ldr r3, .L60+4
ldrb r2, [r3] @ zero_extendqisi2
ldr r3, .L60+8
strb r2, [r3]
ldr r3, .L60+8
ldrb r2, [r3] @ zero_extendqisi2
ldr r3, .L60+12
strb r2, [r3]
ldr r3, .L60+12
ldrb r2, [r3] @ zero_extendqisi2
ldr r3, .L60+16
strb r2, [r3]
mov r3, #0
str r3, [fp, #-12]
b .L44
.L46:
ldr r2, .L60+20
ldr r3, [fp, #-12]
ldr r3, [r2, r3, lsl #2]
cmp r3, #5
bne .L45
ldr r3, .L60+16
mov r2, #1
strb r2, [r3]
.L45:
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L44:
ldr r3, [fp, #-12]
cmp r3, #3
ble .L46
mov r3, #0
str r3, [fp, #-16]
b .L47
.L48:
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L47:
ldr r2, .L60+24
ldr r3, [fp, #-16]
ldr r3, [r2, r3, lsl #2]
cmp r3, #0
beq .L48
b .L49
.L51:
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L49:
ldr r3, [fp, #-16]
cmp r3, #12
bgt .L50
ldr r2, .L60+24
ldr r3, [fp, #-16]
ldr r3, [r2, r3, lsl #2]
cmp r3, #0
bgt .L51
.L50:
ldr r3, [fp, #-8]
cmp r3, #5
bne .L52
ldr r3, .L60+12
mov r2, #1
strb r2, [r3]
b .L43
.L52:
mov r3, #0
str r3, [fp, #-16]
b .L54
.L59:
ldr r2, .L60+24
ldr r3, [fp, #-16]
ldr r3, [r2, r3, lsl #2]
cmp r3, #4
beq .L55
cmp r3, #4
bgt .L56
cmp r3, #2
beq .L57
cmp r3, #3
beq .L58
b .L56
.L55:
ldr r3, .L60+8
mov r2, #1
strb r2, [r3]
b .L56
.L58:
ldr r3, .L60+4
mov r2, #1
strb r2, [r3]
b .L56
.L57:
ldr r3, .L60
ldr r3, [r3]
add r3, r3, #1
ldr r2, .L60
str r3, [r2]
nop
.L56:
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L54:
ldr r3, [fp, #-16]
cmp r3, #12
ble .L59
.L43:
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L61:
.align 2
.L60:
.word pairs
.word three
.word four
.word straight
.word flush
.word num_in_suit
.word num_in_rank
.size analyze_hand, .-analyze_hand
.section .rodata
.align 2
.LC8:
.ascii "Straight flush\000"
.align 2
.LC9:
.ascii "four-of-a-kind\000"
.align 2
.LC10:
.ascii "full house\000"
.align 2
.LC11:
.ascii "flush\000"
.align 2
.LC12:
.ascii "straight\000"
.align 2
.LC13:
.ascii "three-of-a-kind\000"
.align 2
.LC14:
.ascii "two pairs\000"
.align 2
.LC15:
.ascii "pair\000"
.align 2
.LC16:
.ascii "high card\000"
.align 2
.LC17:
.ascii "\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type print_result, %function
print_result:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
ldr r3, .L72
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
beq .L63
ldr r3, .L72+4
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
beq .L63
ldr r0, .L72+8
bl printf
b .L64
.L63:
ldr r3, .L72+12
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
beq .L65
ldr r0, .L72+16
bl printf
b .L64
.L65:
ldr r3, .L72+20
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
beq .L66
ldr r3, .L72+24
ldr r3, [r3]
cmp r3, #1
bne .L66
ldr r0, .L72+28
bl printf
b .L64
.L66:
ldr r3, .L72+4
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
beq .L67
ldr r0, .L72+32
bl printf
b .L64
.L67:
ldr r3, .L72
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
beq .L68
ldr r0, .L72+36
bl printf
b .L64
.L68:
ldr r3, .L72+20
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
beq .L69
ldr r0, .L72+40
bl printf
b .L64
.L69:
ldr r3, .L72+24
ldr r3, [r3]
cmp r3, #2
bne .L70
ldr r0, .L72+44
bl printf
b .L64
.L70:
ldr r3, .L72+24
ldr r3, [r3]
cmp r3, #1
bne .L71
ldr r0, .L72+48
bl printf
b .L64
.L71:
ldr r0, .L72+52
bl printf
.L64:
ldr r0, .L72+56
bl puts
nop
pop {fp, pc}
.L73:
.align 2
.L72:
.word straight
.word flush
.word .LC8
.word four
.word .LC9
.word three
.word pairs
.word .LC10
.word .LC11
.word .LC12
.word .LC13
.word .LC14
.word .LC15
.word .LC16
.word .LC17
.size print_result, .-print_result
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "347717.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 "347717.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "990433.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%lld %lld"
.LC1:
.string "%lld"
.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 rdx, -48[rbp]
lea rax, -40[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov rax, QWORD PTR -40[rbp]
mov rdi, rax
call f
mov QWORD PTR -32[rbp], rax
mov rax, QWORD PTR -48[rbp]
mov rdi, rax
call f
mov QWORD PTR -24[rbp], rax
mov rax, QWORD PTR -40[rbp]
mov rdx, QWORD PTR -48[rbp]
sub rax, rdx
mov rdi, rax
call f
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -24[rbp]
imul rax, QWORD PTR -16[rbp]
mov rcx, rax
mov rax, QWORD PTR -32[rbp]
cqo
idiv rcx
mov rsi, rax
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 .L3
call __stack_chk_fail@PLT
.L3:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.globl f
.type f, @function
f:
.LFB1:
.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 -8[rbp], 1
mov DWORD PTR -12[rbp], 1
jmp .L5
.L6:
mov eax, DWORD PTR -12[rbp]
cdqe
mov rdx, QWORD PTR -8[rbp]
imul rax, rdx
mov QWORD PTR -8[rbp], rax
add DWORD PTR -12[rbp], 1
.L5:
mov eax, DWORD PTR -12[rbp]
cdqe
cmp QWORD PTR -24[rbp], rax
jge .L6
mov rax, QWORD PTR -8[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size f, .-f
.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 "990433.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "%lld %lld\000"
.global __aeabi_ldivmod
.align 2
.LC1:
.ascii "%lld\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 {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
sub r2, fp, #60
sub r3, fp, #52
mov r1, r3
ldr r0, .L4+4
bl __isoc99_scanf
sub r3, fp, #52
ldmia r3, {r2-r3}
mov r0, r2
mov r1, r3
bl f
str r0, [fp, #-44]
str r1, [fp, #-40]
sub r3, fp, #60
ldmia r3, {r2-r3}
mov r0, r2
mov r1, r3
bl f
str r0, [fp, #-36]
str r1, [fp, #-32]
sub r1, fp, #52
ldmia r1, {r0-r1}
sub r3, fp, #60
ldmia r3, {r2-r3}
subs r4, r0, r2
sbc r5, r1, r3
mov r0, r4
mov r1, r5
bl f
str r0, [fp, #-28]
str r1, [fp, #-24]
ldr r3, [fp, #-32]
ldr r2, [fp, #-28]
mul r2, r3, r2
ldr r3, [fp, #-24]
ldr r1, [fp, #-36]
mul r3, r1, r3
add r1, r2, r3
ldr ip, [fp, #-36]
ldr r0, [fp, #-28]
umull r2, r3, ip, r0
add r1, r1, r3
mov r3, r1
sub r1, fp, #44
ldmia r1, {r0-r1}
bl __aeabi_ldivmod
mov r2, r0
mov r3, r1
ldr r0, .L4+8
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 .LC2
.word .LC0
.word .LC1
.size main, .-main
.align 2
.global f
.syntax unified
.arm
.fpu softvfp
.type f, %function
f:
@ 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, #-28]
str r1, [fp, #-24]
mov r2, #1
mov r3, #0
str r2, [fp, #-12]
str r3, [fp, #-8]
mov r3, #1
str r3, [fp, #-16]
b .L7
.L8:
ldr r3, [fp, #-16]
mov r0, r3
asr r1, r0, #31
ldr r3, [fp, #-8]
mul r2, r0, r3
ldr r3, [fp, #-12]
mul r3, r1, r3
add ip, r2, r3
ldr lr, [fp, #-12]
umull r2, r3, lr, r0
add r1, ip, r3
mov r3, r1
str r2, [fp, #-12]
str r3, [fp, #-8]
str r2, [fp, #-12]
str r3, [fp, #-8]
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L7:
ldr r3, [fp, #-16]
mov r2, r3
asr r3, r2, #31
sub r1, fp, #28
ldmia r1, {r0-r1}
cmp r0, r2
sbcs r3, r1, r3
bge .L8
sub r3, fp, #12
ldmia r3, {r2-r3}
mov r0, r2
mov r1, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size f, .-f
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "12984.c"
.intel_syntax noprefix
.text
.globl sqlite3_api
.bss
.align 8
.type sqlite3_api, @object
.size sqlite3_api, 8
sqlite3_api:
.zero 8
.section .rodata
.align 32
.type midClass, @object
.size midClass, 128
midClass:
.string "\f\f\f\f\f\f\f\f\f\013\f\f\013\013\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\013\f\f\f\f\f\f"
.string "\f\f\f\f\f\f\f\f\n\n\n\n\n\n\n\n\n\n\f\f\f\f\f\f\f\001\002\003\004\001\002\003"
.string "\001\003\003\006\b\b\001\002\003\007\003\004\001\002\002\003\001\003\f\f\f\f\f\f\001\002\003\004\001\002\003"
.ascii "\001\003\003\006\b\b\001\002\003\007\003\004\001\002\002\003"
.ascii "\001\003\f\f\f\f\f"
.align 32
.type initClass, @object
.size initClass, 128
initClass:
.string "\f\f\f\f\f\f\f\f\f\013\f\f\013\013\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\013\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\n\n\n\n\n\n\n\n\n\n\f\f\f\f\f\f\f\001\002\003\004\001\002\003"
.string "\001\003\003\006\b\b\001\002\003\007\003\004\001\002\002\003\t\003\f\f\f\f\f\f\001\002\003\004\001\002\003"
.ascii "\001\003\003\006\b\b\001\002\003\007\003\004\001\002\002\003"
.ascii "\t\003\f\f\f\f\f"
.align 8
.type className, @object
.size className, 14
className:
.string ".ABCDHLRMY9 ?"
.LC0:
.string "the_stack_data/12984.c"
.LC1:
.string "nOut>=0"
.text
.type phoneticHash, @function
phoneticHash:
.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 -40[rbp], rdi
mov DWORD PTR -44[rbp], esi
mov rax, QWORD PTR sqlite3_api[rip]
mov rax, QWORD PTR 544[rax]
mov edx, DWORD PTR -44[rbp]
add edx, 1
mov edi, edx
call rax
mov QWORD PTR -8[rbp], rax
mov DWORD PTR -20[rbp], 0
mov BYTE PTR -27[rbp], 119
mov BYTE PTR -26[rbp], 119
lea rax, initClass[rip]
mov QWORD PTR -16[rbp], rax
cmp QWORD PTR -8[rbp], 0
jne .L2
mov eax, 0
jmp .L3
.L2:
cmp DWORD PTR -44[rbp], 2
jle .L23
mov rax, QWORD PTR -40[rbp]
movzx eax, BYTE PTR [rax]
movzx eax, al
cmp eax, 103
je .L5
cmp eax, 107
jne .L4
.L5:
mov rax, QWORD PTR -40[rbp]
add rax, 1
movzx eax, BYTE PTR [rax]
cmp al, 110
jne .L24
add QWORD PTR -40[rbp], 1
sub DWORD PTR -44[rbp], 1
jmp .L24
.L23:
nop
jmp .L4
.L24:
nop
.L4:
mov DWORD PTR -24[rbp], 0
jmp .L7
.L22:
mov eax, DWORD PTR -24[rbp]
movsx rdx, eax
mov rax, QWORD PTR -40[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
mov BYTE PTR -25[rbp], al
mov eax, DWORD PTR -24[rbp]
add eax, 1
cmp DWORD PTR -44[rbp], eax
jle .L8
cmp BYTE PTR -25[rbp], 119
jne .L9
mov eax, DWORD PTR -24[rbp]
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -40[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
cmp al, 114
je .L25
.L9:
cmp BYTE PTR -25[rbp], 100
jne .L11
mov eax, DWORD PTR -24[rbp]
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -40[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
cmp al, 106
je .L26
mov eax, DWORD PTR -24[rbp]
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -40[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
cmp al, 103
je .L26
.L11:
mov eax, DWORD PTR -24[rbp]
add eax, 2
cmp DWORD PTR -44[rbp], eax
jle .L8
cmp BYTE PTR -25[rbp], 116
jne .L8
mov eax, DWORD PTR -24[rbp]
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -40[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
cmp al, 99
jne .L8
mov eax, DWORD PTR -24[rbp]
cdqe
lea rdx, 2[rax]
mov rax, QWORD PTR -40[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
cmp al, 104
je .L27
.L8:
movzx eax, BYTE PTR -25[rbp]
and eax, 127
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
mov BYTE PTR -25[rbp], al
cmp BYTE PTR -25[rbp], 11
je .L28
cmp BYTE PTR -25[rbp], 12
jne .L14
cmp BYTE PTR -27[rbp], 10
jne .L29
.L14:
lea rax, midClass[rip]
mov QWORD PTR -16[rbp], rax
cmp BYTE PTR -25[rbp], 1
jne .L15
cmp BYTE PTR -26[rbp], 7
je .L30
cmp BYTE PTR -26[rbp], 6
je .L30
.L15:
cmp BYTE PTR -25[rbp], 7
je .L17
cmp BYTE PTR -25[rbp], 6
jne .L18
.L17:
cmp BYTE PTR -26[rbp], 1
jne .L18
sub DWORD PTR -20[rbp], 1
.L18:
movzx eax, BYTE PTR -25[rbp]
mov BYTE PTR -27[rbp], al
cmp BYTE PTR -25[rbp], 0
je .L31
movzx eax, BYTE PTR -25[rbp]
mov BYTE PTR -26[rbp], al
movzx eax, BYTE PTR -25[rbp]
cdqe
lea rdx, className[rip]
movzx eax, BYTE PTR [rax+rdx]
mov BYTE PTR -25[rbp], al
cmp DWORD PTR -20[rbp], 0
jns .L20
lea rcx, __PRETTY_FUNCTION__.7[rip]
mov edx, 229
lea rsi, .LC0[rip]
lea rdi, .LC1[rip]
call __assert_fail@PLT
.L20:
cmp DWORD PTR -20[rbp], 0
je .L21
mov eax, DWORD PTR -20[rbp]
cdqe
lea rdx, -1[rax]
mov rax, QWORD PTR -8[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
cmp BYTE PTR -25[rbp], al
je .L10
.L21:
mov eax, DWORD PTR -20[rbp]
lea edx, 1[rax]
mov DWORD PTR -20[rbp], edx
movsx rdx, eax
mov rax, QWORD PTR -8[rbp]
add rdx, rax
movzx eax, BYTE PTR -25[rbp]
mov BYTE PTR [rdx], al
jmp .L10
.L25:
nop
jmp .L10
.L26:
nop
jmp .L10
.L27:
nop
jmp .L10
.L28:
nop
jmp .L10
.L29:
nop
jmp .L10
.L30:
nop
jmp .L10
.L31:
nop
.L10:
add DWORD PTR -24[rbp], 1
.L7:
mov eax, DWORD PTR -24[rbp]
cmp eax, DWORD PTR -44[rbp]
jl .L22
mov eax, DWORD PTR -20[rbp]
movsx rdx, eax
mov rax, QWORD PTR -8[rbp]
add rax, rdx
mov BYTE PTR [rax], 0
mov rax, QWORD PTR -8[rbp]
.L3:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size phoneticHash, .-phoneticHash
.type phoneticHashSqlFunc, @function
phoneticHashSqlFunc:
.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 DWORD PTR -28[rbp], esi
mov QWORD PTR -40[rbp], rdx
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 872[rax]
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov QWORD PTR -16[rbp], rax
cmp QWORD PTR -16[rbp], 0
je .L36
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 824[rax]
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov edx, eax
mov rax, QWORD PTR -16[rbp]
mov esi, edx
mov rdi, rax
call phoneticHash
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
jne .L35
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 1096[rax]
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call rdx
jmp .L32
.L35:
mov rax, QWORD PTR sqlite3_api[rip]
mov r8, QWORD PTR 680[rax]
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rsi, QWORD PTR -8[rbp]
mov rax, QWORD PTR -24[rbp]
mov rcx, rdx
mov edx, -1
mov rdi, rax
call r8
jmp .L32
.L36:
nop
.L32:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size phoneticHashSqlFunc, .-phoneticHashSqlFunc
.type characterClass, @function
characterClass:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov edx, edi
mov eax, esi
mov BYTE PTR -4[rbp], dl
mov BYTE PTR -8[rbp], al
cmp BYTE PTR -4[rbp], 0
jne .L38
movsx eax, BYTE PTR -8[rbp]
and eax, 127
cdqe
lea rdx, initClass[rip]
movzx eax, BYTE PTR [rax+rdx]
jmp .L40
.L38:
movsx eax, BYTE PTR -8[rbp]
and eax, 127
cdqe
lea rdx, midClass[rip]
movzx eax, BYTE PTR [rax+rdx]
.L40:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size characterClass, .-characterClass
.type insertOrDeleteCost, @function
insertOrDeleteCost:
.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 ecx, esi
mov eax, edx
mov edx, edi
mov BYTE PTR -20[rbp], dl
mov edx, ecx
mov BYTE PTR -24[rbp], dl
mov BYTE PTR -28[rbp], al
movsx edx, BYTE PTR -24[rbp]
movsx eax, BYTE PTR -20[rbp]
mov esi, edx
mov edi, eax
call characterClass
mov BYTE PTR -2[rbp], al
cmp BYTE PTR -2[rbp], 0
jne .L42
mov eax, 1
jmp .L43
.L42:
movzx eax, BYTE PTR -20[rbp]
cmp al, BYTE PTR -24[rbp]
jne .L44
mov eax, 10
jmp .L43
.L44:
cmp BYTE PTR -2[rbp], 1
jne .L45
cmp BYTE PTR -20[rbp], 114
je .L46
cmp BYTE PTR -28[rbp], 114
jne .L45
.L46:
mov eax, 20
jmp .L43
.L45:
movsx edx, BYTE PTR -20[rbp]
movsx eax, BYTE PTR -20[rbp]
mov esi, edx
mov edi, eax
call characterClass
mov BYTE PTR -1[rbp], al
movzx eax, BYTE PTR -2[rbp]
cmp al, BYTE PTR -1[rbp]
jne .L47
cmp BYTE PTR -2[rbp], 1
jne .L48
mov eax, 15
jmp .L43
.L48:
mov eax, 50
jmp .L43
.L47:
mov eax, 100
.L43:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size insertOrDeleteCost, .-insertOrDeleteCost
.type substituteCost, @function
substituteCost:
.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 ecx, esi
mov eax, edx
mov edx, edi
mov BYTE PTR -20[rbp], dl
mov edx, ecx
mov BYTE PTR -24[rbp], dl
mov BYTE PTR -28[rbp], al
movzx eax, BYTE PTR -24[rbp]
cmp al, BYTE PTR -28[rbp]
jne .L50
mov eax, 0
jmp .L51
.L50:
movzx eax, BYTE PTR -28[rbp]
xor eax, 32
cmp BYTE PTR -24[rbp], al
jne .L52
cmp BYTE PTR -28[rbp], 64
jle .L53
cmp BYTE PTR -28[rbp], 90
jle .L54
.L53:
cmp BYTE PTR -28[rbp], 96
jle .L52
cmp BYTE PTR -28[rbp], 122
jg .L52
.L54:
mov eax, 0
jmp .L51
.L52:
movsx edx, BYTE PTR -24[rbp]
movsx eax, BYTE PTR -20[rbp]
mov esi, edx
mov edi, eax
call characterClass
mov BYTE PTR -2[rbp], al
movsx edx, BYTE PTR -28[rbp]
movsx eax, BYTE PTR -20[rbp]
mov esi, edx
mov edi, eax
call characterClass
mov BYTE PTR -1[rbp], al
movzx eax, BYTE PTR -2[rbp]
cmp al, BYTE PTR -1[rbp]
jne .L55
mov eax, 40
jmp .L51
.L55:
cmp BYTE PTR -2[rbp], 1
jle .L56
cmp BYTE PTR -2[rbp], 9
jg .L56
cmp BYTE PTR -1[rbp], 1
jle .L56
cmp BYTE PTR -1[rbp], 9
jg .L56
mov eax, 75
jmp .L51
.L56:
mov eax, 100
.L51:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size substituteCost, .-substituteCost
.section .rodata
.LC2:
.string "pnMatch==0"
.text
.type editdist1, @function
editdist1:
.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, 456
.cfi_offset 3, -24
mov QWORD PTR -440[rbp], rdi
mov QWORD PTR -448[rbp], rsi
mov QWORD PTR -456[rbp], rdx
mov rax, QWORD PTR fs:40
mov QWORD PTR -24[rbp], rax
xor eax, eax
mov DWORD PTR -396[rbp], 0
mov QWORD PTR -352[rbp], 0
mov DWORD PTR -388[rbp], 0
cmp QWORD PTR -440[rbp], 0
je .L58
cmp QWORD PTR -448[rbp], 0
jne .L61
.L58:
mov eax, -1
jmp .L97
.L63:
mov rax, QWORD PTR -440[rbp]
movzx eax, BYTE PTR [rax]
movsx eax, al
mov DWORD PTR -396[rbp], eax
add QWORD PTR -440[rbp], 1
add QWORD PTR -448[rbp], 1
add DWORD PTR -388[rbp], 1
.L61:
mov rax, QWORD PTR -440[rbp]
movzx eax, BYTE PTR [rax]
test al, al
je .L62
mov rax, QWORD PTR -440[rbp]
movzx edx, BYTE PTR [rax]
mov rax, QWORD PTR -448[rbp]
movzx eax, BYTE PTR [rax]
cmp dl, al
je .L63
.L62:
cmp QWORD PTR -456[rbp], 0
je .L64
mov rax, QWORD PTR -456[rbp]
mov edx, DWORD PTR -388[rbp]
mov DWORD PTR [rax], edx
.L64:
mov rax, QWORD PTR -440[rbp]
movzx eax, BYTE PTR [rax]
test al, al
jne .L65
mov rax, QWORD PTR -448[rbp]
movzx eax, BYTE PTR [rax]
test al, al
jne .L65
mov eax, 0
jmp .L97
.L65:
mov DWORD PTR -416[rbp], 0
jmp .L66
.L68:
mov eax, DWORD PTR -416[rbp]
movsx rdx, eax
mov rax, QWORD PTR -440[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jns .L67
mov eax, -2
jmp .L97
.L67:
add DWORD PTR -416[rbp], 1
.L66:
mov eax, DWORD PTR -416[rbp]
movsx rdx, eax
mov rax, QWORD PTR -440[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L68
mov DWORD PTR -412[rbp], 0
jmp .L69
.L71:
mov eax, DWORD PTR -412[rbp]
movsx rdx, eax
mov rax, QWORD PTR -448[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jns .L70
mov eax, -2
jmp .L97
.L70:
add DWORD PTR -412[rbp], 1
.L69:
mov eax, DWORD PTR -412[rbp]
movsx rdx, eax
mov rax, QWORD PTR -448[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L71
cmp DWORD PTR -416[rbp], 0
jne .L72
mov eax, DWORD PTR -396[rbp]
mov BYTE PTR -420[rbp], al
mov DWORD PTR -392[rbp], 0
mov eax, DWORD PTR -392[rbp]
mov DWORD PTR -404[rbp], eax
jmp .L73
.L74:
mov eax, DWORD PTR -404[rbp]
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -448[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
movsx edx, al
movsx ecx, BYTE PTR -418[rbp]
movsx eax, BYTE PTR -420[rbp]
mov esi, ecx
mov edi, eax
call insertOrDeleteCost
lea edx, 3[rax]
test eax, eax
cmovs eax, edx
sar eax, 2
add DWORD PTR -392[rbp], eax
movzx eax, BYTE PTR -418[rbp]
mov BYTE PTR -420[rbp], al
add DWORD PTR -404[rbp], 1
.L73:
mov eax, DWORD PTR -404[rbp]
movsx rdx, eax
mov rax, QWORD PTR -448[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
mov BYTE PTR -418[rbp], al
cmp BYTE PTR -418[rbp], 0
jne .L74
mov eax, DWORD PTR -392[rbp]
jmp .L97
.L72:
cmp DWORD PTR -412[rbp], 0
jne .L75
mov eax, DWORD PTR -396[rbp]
mov BYTE PTR -421[rbp], al
mov DWORD PTR -392[rbp], 0
mov eax, DWORD PTR -392[rbp]
mov DWORD PTR -408[rbp], eax
jmp .L76
.L77:
mov eax, DWORD PTR -408[rbp]
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -440[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
movsx edx, al
movsx ecx, BYTE PTR -422[rbp]
movsx eax, BYTE PTR -421[rbp]
mov esi, ecx
mov edi, eax
call insertOrDeleteCost
add DWORD PTR -392[rbp], eax
movzx eax, BYTE PTR -422[rbp]
mov BYTE PTR -421[rbp], al
add DWORD PTR -408[rbp], 1
.L76:
mov eax, DWORD PTR -408[rbp]
movsx rdx, eax
mov rax, QWORD PTR -440[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
mov BYTE PTR -422[rbp], al
cmp BYTE PTR -422[rbp], 0
jne .L77
mov eax, DWORD PTR -392[rbp]
jmp .L97
.L75:
mov rax, QWORD PTR -440[rbp]
movzx eax, BYTE PTR [rax]
cmp al, 42
jne .L78
mov rax, QWORD PTR -440[rbp]
add rax, 1
movzx eax, BYTE PTR [rax]
test al, al
jne .L78
mov eax, 0
jmp .L97
.L78:
mov eax, DWORD PTR -412[rbp]
cmp eax, 59
ja .L79
lea rax, -336[rbp]
mov QWORD PTR -360[rbp], rax
jmp .L80
.L79:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 544[rax]
mov eax, DWORD PTR -412[rbp]
lea ecx, 1[rax]
mov eax, ecx
sal eax, 2
add eax, ecx
mov edi, eax
call rdx
mov QWORD PTR -352[rbp], rax
mov rax, QWORD PTR -352[rbp]
mov QWORD PTR -360[rbp], rax
cmp QWORD PTR -360[rbp], 0
jne .L80
mov eax, -3
jmp .L97
.L80:
mov eax, DWORD PTR -412[rbp]
cdqe
add rax, 1
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -360[rbp]
add rax, rdx
mov QWORD PTR -344[rbp], rax
mov rax, QWORD PTR -360[rbp]
mov DWORD PTR [rax], 0
mov eax, DWORD PTR -396[rbp]
mov edx, eax
mov rax, QWORD PTR -344[rbp]
mov BYTE PTR [rax], dl
mov eax, DWORD PTR -396[rbp]
mov BYTE PTR -420[rbp], al
mov DWORD PTR -404[rbp], 1
jmp .L81
.L82:
mov eax, DWORD PTR -404[rbp]
movsx rdx, eax
mov rax, QWORD PTR -448[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
mov BYTE PTR -417[rbp], al
mov eax, DWORD PTR -404[rbp]
cdqe
lea rdx, -1[rax]
mov rax, QWORD PTR -448[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
mov BYTE PTR -418[rbp], al
mov eax, DWORD PTR -404[rbp]
movsx rdx, eax
mov rax, QWORD PTR -344[rbp]
add rdx, rax
movzx eax, BYTE PTR -418[rbp]
mov BYTE PTR [rdx], al
mov eax, DWORD PTR -404[rbp]
cdqe
sal rax, 2
lea rdx, -4[rax]
mov rax, QWORD PTR -360[rbp]
add rax, rdx
mov ebx, DWORD PTR [rax]
movsx edx, BYTE PTR -417[rbp]
movsx ecx, BYTE PTR -418[rbp]
movsx eax, BYTE PTR -420[rbp]
mov esi, ecx
mov edi, eax
call insertOrDeleteCost
mov edx, eax
mov eax, DWORD PTR -404[rbp]
cdqe
lea rcx, 0[0+rax*4]
mov rax, QWORD PTR -360[rbp]
add rax, rcx
add edx, ebx
mov DWORD PTR [rax], edx
movzx eax, BYTE PTR -418[rbp]
mov BYTE PTR -420[rbp], al
add DWORD PTR -404[rbp], 1
.L81:
mov eax, DWORD PTR -404[rbp]
cmp eax, DWORD PTR -412[rbp]
jle .L82
mov eax, DWORD PTR -396[rbp]
mov BYTE PTR -421[rbp], al
mov DWORD PTR -408[rbp], 1
jmp .L83
.L91:
mov eax, DWORD PTR -408[rbp]
cmp eax, DWORD PTR -416[rbp]
sete al
movzx eax, al
mov DWORD PTR -372[rbp], eax
mov eax, DWORD PTR -408[rbp]
cdqe
lea rdx, -1[rax]
mov rax, QWORD PTR -440[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
mov BYTE PTR -422[rbp], al
mov eax, DWORD PTR -408[rbp]
movsx rdx, eax
mov rax, QWORD PTR -440[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
mov BYTE PTR -419[rbp], al
cmp BYTE PTR -422[rbp], 42
jne .L84
cmp DWORD PTR -372[rbp], 0
jne .L99
.L84:
mov rax, QWORD PTR -360[rbp]
mov eax, DWORD PTR [rax]
mov DWORD PTR -400[rbp], eax
mov rax, QWORD PTR -344[rbp]
movzx eax, BYTE PTR [rax]
movsx eax, al
mov DWORD PTR -396[rbp], eax
movsx edx, BYTE PTR -419[rbp]
movsx ecx, BYTE PTR -422[rbp]
movsx eax, BYTE PTR -421[rbp]
mov esi, ecx
mov edi, eax
call insertOrDeleteCost
mov edx, DWORD PTR -400[rbp]
add edx, eax
mov rax, QWORD PTR -360[rbp]
mov DWORD PTR [rax], edx
mov BYTE PTR -420[rbp], 0
mov DWORD PTR -404[rbp], 1
jmp .L86
.L90:
mov eax, DWORD PTR -404[rbp]
cdqe
lea rdx, -1[rax]
mov rax, QWORD PTR -448[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
mov BYTE PTR -418[rbp], al
mov eax, DWORD PTR -404[rbp]
movsx rdx, eax
mov rax, QWORD PTR -448[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
mov BYTE PTR -417[rbp], al
movsx edx, BYTE PTR -417[rbp]
movsx ecx, BYTE PTR -418[rbp]
mov eax, DWORD PTR -404[rbp]
cdqe
lea rsi, -1[rax]
mov rax, QWORD PTR -344[rbp]
add rax, rsi
movzx eax, BYTE PTR [rax]
movsx eax, al
mov esi, ecx
mov edi, eax
call insertOrDeleteCost
mov DWORD PTR -380[rbp], eax
cmp DWORD PTR -372[rbp], 0
je .L87
mov eax, DWORD PTR -380[rbp]
lea edx, 3[rax]
test eax, eax
cmovs eax, edx
sar eax, 2
mov DWORD PTR -380[rbp], eax
.L87:
movsx edx, BYTE PTR -417[rbp]
movsx ecx, BYTE PTR -422[rbp]
mov eax, DWORD PTR -404[rbp]
movsx rsi, eax
mov rax, QWORD PTR -344[rbp]
add rax, rsi
movzx eax, BYTE PTR [rax]
movsx eax, al
mov esi, ecx
mov edi, eax
call insertOrDeleteCost
mov DWORD PTR -368[rbp], eax
movsx edx, BYTE PTR -418[rbp]
movsx ecx, BYTE PTR -422[rbp]
mov eax, DWORD PTR -404[rbp]
cdqe
lea rsi, -1[rax]
mov rax, QWORD PTR -344[rbp]
add rax, rsi
movzx eax, BYTE PTR [rax]
movsx eax, al
mov esi, ecx
mov edi, eax
call substituteCost
mov DWORD PTR -364[rbp], eax
mov eax, DWORD PTR -404[rbp]
cdqe
sal rax, 2
lea rdx, -4[rax]
mov rax, QWORD PTR -360[rbp]
add rax, rdx
mov edx, DWORD PTR [rax]
mov eax, DWORD PTR -380[rbp]
add eax, edx
mov DWORD PTR -384[rbp], eax
movsx eax, BYTE PTR -418[rbp]
mov DWORD PTR -376[rbp], eax
mov eax, DWORD PTR -404[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -360[rbp]
add rax, rdx
mov edx, DWORD PTR [rax]
mov eax, DWORD PTR -368[rbp]
add eax, edx
cmp DWORD PTR -384[rbp], eax
jle .L88
mov eax, DWORD PTR -404[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -360[rbp]
add rax, rdx
mov edx, DWORD PTR [rax]
mov eax, DWORD PTR -368[rbp]
add eax, edx
mov DWORD PTR -384[rbp], eax
movsx eax, BYTE PTR -422[rbp]
mov DWORD PTR -376[rbp], eax
.L88:
mov edx, DWORD PTR -364[rbp]
mov eax, DWORD PTR -400[rbp]
add eax, edx
cmp DWORD PTR -384[rbp], eax
jle .L89
mov edx, DWORD PTR -364[rbp]
mov eax, DWORD PTR -400[rbp]
add eax, edx
mov DWORD PTR -384[rbp], eax
.L89:
mov eax, DWORD PTR -404[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -360[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
mov DWORD PTR -400[rbp], eax
mov eax, DWORD PTR -404[rbp]
movsx rdx, eax
mov rax, QWORD PTR -344[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
movsx eax, al
mov DWORD PTR -396[rbp], eax
mov eax, DWORD PTR -404[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -360[rbp]
add rdx, rax
mov eax, DWORD PTR -384[rbp]
mov DWORD PTR [rdx], eax
mov eax, DWORD PTR -404[rbp]
movsx rdx, eax
mov rax, QWORD PTR -344[rbp]
add rax, rdx
mov edx, DWORD PTR -376[rbp]
mov BYTE PTR [rax], dl
movzx eax, BYTE PTR -418[rbp]
mov BYTE PTR -420[rbp], al
add DWORD PTR -404[rbp], 1
.L86:
mov eax, DWORD PTR -404[rbp]
cmp eax, DWORD PTR -412[rbp]
jle .L90
movzx eax, BYTE PTR -422[rbp]
mov BYTE PTR -421[rbp], al
add DWORD PTR -408[rbp], 1
.L83:
mov eax, DWORD PTR -408[rbp]
cmp eax, DWORD PTR -416[rbp]
jle .L91
jmp .L85
.L99:
nop
.L85:
cmp BYTE PTR -422[rbp], 42
jne .L92
mov rax, QWORD PTR -360[rbp]
mov eax, DWORD PTR 4[rax]
mov DWORD PTR -392[rbp], eax
mov DWORD PTR -404[rbp], 1
jmp .L93
.L95:
mov eax, DWORD PTR -404[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -360[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
cmp DWORD PTR -392[rbp], eax
jle .L94
mov eax, DWORD PTR -404[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -360[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
mov DWORD PTR -392[rbp], eax
cmp QWORD PTR -456[rbp], 0
je .L94
mov edx, DWORD PTR -404[rbp]
mov eax, DWORD PTR -388[rbp]
add edx, eax
mov rax, QWORD PTR -456[rbp]
mov DWORD PTR [rax], edx
.L94:
add DWORD PTR -404[rbp], 1
.L93:
mov eax, DWORD PTR -404[rbp]
cmp eax, DWORD PTR -412[rbp]
jle .L95
jmp .L96
.L92:
mov eax, DWORD PTR -412[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -360[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
mov DWORD PTR -392[rbp], eax
cmp QWORD PTR -456[rbp], 0
je .L96
lea rcx, __PRETTY_FUNCTION__.6[rip]
mov edx, 498
lea rsi, .LC0[rip]
lea rdi, .LC2[rip]
call __assert_fail@PLT
.L96:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -352[rbp]
mov rdi, rax
call rdx
mov eax, DWORD PTR -392[rbp]
.L97:
mov rbx, QWORD PTR -24[rbp]
sub rbx, QWORD PTR fs:40
je .L98
call __stack_chk_fail@PLT
.L98:
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size editdist1, .-editdist1
.section .rodata
.LC3:
.string "non-ASCII input to editdist()"
.LC4:
.string "NULL input to editdist()"
.text
.type editdistSqlFunc, @function
editdistSqlFunc:
.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, 56
.cfi_offset 3, -24
mov QWORD PTR -40[rbp], rdi
mov DWORD PTR -44[rbp], esi
mov QWORD PTR -56[rbp], rdx
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 872[rax]
mov rax, QWORD PTR -56[rbp]
add rax, 8
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov rbx, rax
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 872[rax]
mov rax, QWORD PTR -56[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov edx, 0
mov rsi, rbx
mov rdi, rax
call editdist1
mov DWORD PTR -20[rbp], eax
cmp DWORD PTR -20[rbp], 0
jns .L101
cmp DWORD PTR -20[rbp], -3
jne .L102
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 1096[rax]
mov rax, QWORD PTR -40[rbp]
mov rdi, rax
call rdx
jmp .L105
.L102:
cmp DWORD PTR -20[rbp], -2
jne .L104
mov rax, QWORD PTR sqlite3_api[rip]
mov rcx, QWORD PTR 640[rax]
mov rax, QWORD PTR -40[rbp]
mov edx, -1
lea rsi, .LC3[rip]
mov rdi, rax
call rcx
jmp .L105
.L104:
mov rax, QWORD PTR sqlite3_api[rip]
mov rcx, QWORD PTR 640[rax]
mov rax, QWORD PTR -40[rbp]
mov edx, -1
lea rsi, .LC4[rip]
mov rdi, rax
call rcx
jmp .L105
.L101:
mov rax, QWORD PTR sqlite3_api[rip]
mov rcx, QWORD PTR 656[rax]
mov edx, DWORD PTR -20[rbp]
mov rax, QWORD PTR -40[rbp]
mov esi, edx
mov rdi, rax
call rcx
.L105:
nop
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE12:
.size editdistSqlFunc, .-editdistSqlFunc
.section .rodata
.align 16
.type editDist3Lang, @object
.size editDist3Lang, 24
editDist3Lang:
.long 0
.long 100
.long 100
.long 150
.quad 0
.text
.type editDist3ConfigClear, @function
editDist3ConfigClear:
.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 -40[rbp], rdi
cmp QWORD PTR -40[rbp], 0
je .L113
mov DWORD PTR -20[rbp], 0
jmp .L109
.L112:
mov rax, QWORD PTR -40[rbp]
mov rcx, QWORD PTR 8[rax]
mov eax, DWORD PTR -20[rbp]
movsx rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
sal rax, 3
add rax, rcx
mov rax, QWORD PTR 16[rax]
mov QWORD PTR -16[rbp], rax
jmp .L110
.L111:
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call rdx
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR -16[rbp], rax
.L110:
cmp QWORD PTR -16[rbp], 0
jne .L111
add DWORD PTR -20[rbp], 1
.L109:
mov rax, QWORD PTR -40[rbp]
mov eax, DWORD PTR [rax]
cmp DWORD PTR -20[rbp], eax
jl .L112
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR 8[rax]
mov rdi, rax
call rdx
mov rax, QWORD PTR -40[rbp]
mov edx, 16
mov esi, 0
mov rdi, rax
call memset@PLT
jmp .L106
.L113:
nop
.L106:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE13:
.size editDist3ConfigClear, .-editDist3ConfigClear
.type editDist3ConfigDelete, @function
editDist3ConfigDelete:
.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 rax, QWORD PTR -24[rbp]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call editDist3ConfigClear
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call rdx
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE14:
.size editDist3ConfigDelete, .-editDist3ConfigDelete
.section .rodata
.align 8
.LC5:
.string "SELECT iLang, cFrom, cTo, iCost FROM \"%w\" WHERE iLang>=0 ORDER BY iLang"
.LC6:
.string "zFrom!=0 || nFrom==0"
.LC7:
.string "zTo!=0 || nTo==0"
.text
.type editDist3ConfigLoad, @function
editDist3ConfigLoad:
.LFB15:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
add rsp, -128
mov QWORD PTR -104[rbp], rdi
mov QWORD PTR -112[rbp], rsi
mov QWORD PTR -120[rbp], rdx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -92[rbp], -9999
mov QWORD PTR -56[rbp], 0
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 552[rax]
mov rax, QWORD PTR -120[rbp]
mov rsi, rax
lea rdi, .LC5[rip]
mov eax, 0
call rdx
mov QWORD PTR -48[rbp], rax
cmp QWORD PTR -48[rbp], 0
jne .L116
mov eax, 7
jmp .L140
.L116:
mov rax, QWORD PTR sqlite3_api[rip]
mov r9, QWORD PTR 576[rax]
lea rdx, -64[rbp]
mov rsi, QWORD PTR -48[rbp]
mov rax, QWORD PTR -112[rbp]
mov r8d, 0
mov rcx, rdx
mov edx, -1
mov rdi, rax
call r9
mov DWORD PTR -96[rbp], eax
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -48[rbp]
mov rdi, rax
call rdx
cmp DWORD PTR -96[rbp], 0
je .L118
mov eax, DWORD PTR -96[rbp]
jmp .L140
.L118:
mov rax, QWORD PTR -104[rbp]
mov rdi, rax
call editDist3ConfigClear
jmp .L119
.L138:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 224[rax]
mov rax, QWORD PTR -64[rbp]
mov esi, 0
mov rdi, rax
call rdx
mov DWORD PTR -84[rbp], eax
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 288[rax]
mov rax, QWORD PTR -64[rbp]
mov esi, 1
mov rdi, rax
call rdx
mov QWORD PTR -40[rbp], rax
cmp QWORD PTR -40[rbp], 0
je .L120
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 160[rax]
mov rax, QWORD PTR -64[rbp]
mov esi, 1
mov rdi, rax
call rdx
jmp .L121
.L120:
mov eax, 0
.L121:
mov DWORD PTR -80[rbp], eax
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 288[rax]
mov rax, QWORD PTR -64[rbp]
mov esi, 2
mov rdi, rax
call rdx
mov QWORD PTR -32[rbp], rax
cmp QWORD PTR -32[rbp], 0
je .L122
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 160[rax]
mov rax, QWORD PTR -64[rbp]
mov esi, 2
mov rdi, rax
call rdx
jmp .L123
.L122:
mov eax, 0
.L123:
mov DWORD PTR -76[rbp], eax
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 224[rax]
mov rax, QWORD PTR -64[rbp]
mov esi, 3
mov rdi, rax
call rdx
mov DWORD PTR -72[rbp], eax
cmp QWORD PTR -40[rbp], 0
jne .L124
cmp DWORD PTR -80[rbp], 0
je .L124
lea rcx, __PRETTY_FUNCTION__.5[rip]
mov edx, 684
lea rsi, .LC0[rip]
lea rdi, .LC6[rip]
call __assert_fail@PLT
.L124:
cmp QWORD PTR -32[rbp], 0
jne .L125
cmp DWORD PTR -76[rbp], 0
je .L125
lea rcx, __PRETTY_FUNCTION__.5[rip]
mov edx, 685
lea rsi, .LC0[rip]
lea rdi, .LC7[rip]
call __assert_fail@PLT
.L125:
cmp DWORD PTR -80[rbp], 100
jg .L119
cmp DWORD PTR -76[rbp], 100
jle .L127
jmp .L119
.L127:
cmp DWORD PTR -72[rbp], 0
jns .L128
jmp .L119
.L128:
cmp QWORD PTR -56[rbp], 0
je .L129
mov eax, DWORD PTR -84[rbp]
cmp eax, DWORD PTR -92[rbp]
je .L130
.L129:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 608[rax]
mov rax, QWORD PTR -104[rbp]
mov eax, DWORD PTR [rax]
add eax, 1
cdqe
mov ecx, eax
mov eax, ecx
add eax, eax
add eax, ecx
sal eax, 3
mov ecx, eax
mov rax, QWORD PTR -104[rbp]
mov rax, QWORD PTR 8[rax]
mov esi, ecx
mov rdi, rax
call rdx
mov QWORD PTR -24[rbp], rax
cmp QWORD PTR -24[rbp], 0
jne .L131
mov DWORD PTR -96[rbp], 7
jmp .L132
.L131:
mov rax, QWORD PTR -104[rbp]
mov rdx, QWORD PTR -24[rbp]
mov QWORD PTR 8[rax], rdx
mov rax, QWORD PTR -104[rbp]
mov rcx, QWORD PTR 8[rax]
mov rax, QWORD PTR -104[rbp]
mov eax, DWORD PTR [rax]
movsx rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
sal rax, 3
add rax, rcx
mov QWORD PTR -56[rbp], rax
mov rax, QWORD PTR -104[rbp]
mov eax, DWORD PTR [rax]
lea edx, 1[rax]
mov rax, QWORD PTR -104[rbp]
mov DWORD PTR [rax], edx
mov rax, QWORD PTR -56[rbp]
mov edx, DWORD PTR -84[rbp]
mov DWORD PTR [rax], edx
mov rax, QWORD PTR -56[rbp]
mov DWORD PTR 4[rax], 100
mov rax, QWORD PTR -56[rbp]
mov DWORD PTR 8[rax], 100
mov rax, QWORD PTR -56[rbp]
mov DWORD PTR 12[rax], 150
mov rax, QWORD PTR -56[rbp]
mov QWORD PTR 16[rax], 0
mov eax, DWORD PTR -84[rbp]
mov DWORD PTR -92[rbp], eax
.L130:
cmp DWORD PTR -80[rbp], 1
jne .L133
mov rax, QWORD PTR -40[rbp]
movzx eax, BYTE PTR [rax]
cmp al, 63
jne .L133
cmp DWORD PTR -76[rbp], 0
jne .L133
mov rax, QWORD PTR -56[rbp]
mov edx, DWORD PTR -72[rbp]
mov DWORD PTR 8[rax], edx
jmp .L119
.L133:
cmp DWORD PTR -80[rbp], 0
jne .L134
cmp DWORD PTR -76[rbp], 1
jne .L134
mov rax, QWORD PTR -32[rbp]
movzx eax, BYTE PTR [rax]
cmp al, 63
jne .L134
mov rax, QWORD PTR -56[rbp]
mov edx, DWORD PTR -72[rbp]
mov DWORD PTR 4[rax], edx
jmp .L119
.L134:
cmp DWORD PTR -80[rbp], 1
jne .L135
cmp DWORD PTR -76[rbp], 1
jne .L135
mov rax, QWORD PTR -40[rbp]
movzx eax, BYTE PTR [rax]
cmp al, 63
jne .L135
mov rax, QWORD PTR -32[rbp]
movzx eax, BYTE PTR [rax]
cmp al, 63
jne .L135
mov rax, QWORD PTR -56[rbp]
mov edx, DWORD PTR -72[rbp]
mov DWORD PTR 12[rax], edx
jmp .L119
.L135:
mov edx, DWORD PTR -80[rbp]
mov eax, DWORD PTR -76[rbp]
add eax, edx
sub eax, 4
mov DWORD PTR -88[rbp], eax
cmp DWORD PTR -88[rbp], 0
jns .L136
mov DWORD PTR -88[rbp], 0
.L136:
mov rax, QWORD PTR sqlite3_api[rip]
mov rax, QWORD PTR 544[rax]
mov edx, DWORD PTR -88[rbp]
add edx, 16
mov edi, edx
call rax
mov QWORD PTR -16[rbp], rax
cmp QWORD PTR -16[rbp], 0
jne .L137
mov DWORD PTR -96[rbp], 7
jmp .L132
.L137:
mov eax, DWORD PTR -80[rbp]
mov edx, eax
mov rax, QWORD PTR -16[rbp]
mov BYTE PTR 8[rax], dl
mov eax, DWORD PTR -76[rbp]
mov edx, eax
mov rax, QWORD PTR -16[rbp]
mov BYTE PTR 9[rax], dl
mov eax, DWORD PTR -72[rbp]
mov edx, eax
mov rax, QWORD PTR -16[rbp]
mov WORD PTR 10[rax], dx
mov eax, DWORD PTR -80[rbp]
movsx rdx, eax
mov rax, QWORD PTR -16[rbp]
lea rcx, 12[rax]
mov rax, QWORD PTR -40[rbp]
mov rsi, rax
mov rdi, rcx
call memcpy@PLT
mov eax, DWORD PTR -76[rbp]
movsx rdx, eax
mov rax, QWORD PTR -16[rbp]
lea rcx, 12[rax]
mov eax, DWORD PTR -80[rbp]
cdqe
add rcx, rax
mov rax, QWORD PTR -32[rbp]
mov rsi, rax
mov rdi, rcx
call memcpy@PLT
mov rax, QWORD PTR -56[rbp]
mov rdx, QWORD PTR 16[rax]
mov rax, QWORD PTR -16[rbp]
mov QWORD PTR [rax], rdx
mov rax, QWORD PTR -56[rbp]
mov rdx, QWORD PTR -16[rbp]
mov QWORD PTR 16[rax], rdx
.L119:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 752[rax]
mov rax, QWORD PTR -64[rbp]
mov rdi, rax
call rdx
cmp eax, 100
je .L138
.L132:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 456[rax]
mov rax, QWORD PTR -64[rbp]
mov rdi, rax
call rdx
mov DWORD PTR -68[rbp], eax
cmp DWORD PTR -96[rbp], 0
jne .L139
mov eax, DWORD PTR -68[rbp]
mov DWORD PTR -96[rbp], eax
.L139:
mov eax, DWORD PTR -96[rbp]
.L140:
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L141
call __stack_chk_fail@PLT
.L141:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE15:
.size editDist3ConfigLoad, .-editDist3ConfigLoad
.type utf8Len, @function
utf8Len:
.LFB16:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, edi
mov DWORD PTR -24[rbp], esi
mov BYTE PTR -20[rbp], al
mov DWORD PTR -4[rbp], 1
movzx eax, BYTE PTR -20[rbp]
test al, al
jns .L143
movzx eax, BYTE PTR -20[rbp]
and eax, 224
cmp eax, 192
jne .L144
mov DWORD PTR -4[rbp], 2
jmp .L143
.L144:
movzx eax, BYTE PTR -20[rbp]
and eax, 240
cmp eax, 224
jne .L145
mov DWORD PTR -4[rbp], 3
jmp .L143
.L145:
mov DWORD PTR -4[rbp], 4
.L143:
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -24[rbp]
jle .L146
mov eax, DWORD PTR -24[rbp]
mov DWORD PTR -4[rbp], eax
.L146:
mov eax, DWORD PTR -4[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE16:
.size utf8Len, .-utf8Len
.type matchTo, @function
matchTo:
.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 -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
mov DWORD PTR -20[rbp], edx
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR 9[rax]
movzx eax, al
cmp DWORD PTR -20[rbp], eax
jge .L149
mov eax, 0
jmp .L150
.L149:
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR 9[rax]
movzx edx, al
mov rax, QWORD PTR -8[rbp]
lea rcx, 12[rax]
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR 8[rax]
movzx eax, al
add rcx, rax
mov rax, QWORD PTR -16[rbp]
mov rsi, rax
mov rdi, rcx
call strncmp@PLT
test eax, eax
je .L151
mov eax, 0
jmp .L150
.L151:
mov eax, 1
.L150:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE17:
.size matchTo, .-matchTo
.section .rodata
.LC8:
.string "p->nFrom<=n"
.text
.type matchFrom, @function
matchFrom:
.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, 32
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
mov DWORD PTR -20[rbp], edx
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR 8[rax]
movzx eax, al
cmp DWORD PTR -20[rbp], eax
jge .L153
lea rcx, __PRETTY_FUNCTION__.4[rip]
mov edx, 762
lea rsi, .LC0[rip]
lea rdi, .LC8[rip]
call __assert_fail@PLT
.L153:
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR 8[rax]
movzx edx, al
mov rax, QWORD PTR -8[rbp]
lea rcx, 12[rax]
mov rax, QWORD PTR -16[rbp]
mov rsi, rax
mov rdi, rcx
call strncmp@PLT
test eax, eax
je .L154
mov eax, 0
jmp .L155
.L154:
mov eax, 1
.L155:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE18:
.size matchFrom, .-matchFrom
.type matchFromTo, @function
matchFromTo:
.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, 48
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov QWORD PTR -40[rbp], rdx
mov DWORD PTR -32[rbp], ecx
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR 16[rax]
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 5
add rax, rdx
mov eax, DWORD PTR 8[rax]
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -32[rbp]
jle .L157
mov eax, 0
jmp .L158
.L157:
mov eax, DWORD PTR -4[rbp]
movsx rdx, eax
mov rax, QWORD PTR -24[rbp]
mov rcx, QWORD PTR [rax]
mov eax, DWORD PTR -28[rbp]
cdqe
add rcx, rax
mov rax, QWORD PTR -40[rbp]
mov rsi, rax
mov rdi, rcx
call memcmp@PLT
test eax, eax
je .L159
mov eax, 0
jmp .L158
.L159:
mov eax, 1
.L158:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE19:
.size matchFromTo, .-matchFromTo
.type editDist3FromStringDelete, @function
editDist3FromStringDelete:
.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, 32
mov QWORD PTR -24[rbp], rdi
cmp QWORD PTR -24[rbp], 0
je .L164
mov DWORD PTR -4[rbp], 0
jmp .L162
.L163:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -24[rbp]
mov rcx, QWORD PTR 16[rax]
mov eax, DWORD PTR -4[rbp]
cdqe
sal rax, 5
add rax, rcx
mov rax, QWORD PTR 24[rax]
mov rdi, rax
call rdx
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -24[rbp]
mov rcx, QWORD PTR 16[rax]
mov eax, DWORD PTR -4[rbp]
cdqe
sal rax, 5
add rax, rcx
mov rax, QWORD PTR 16[rax]
mov rdi, rax
call rdx
add DWORD PTR -4[rbp], 1
.L162:
mov rax, QWORD PTR -24[rbp]
mov eax, DWORD PTR 8[rax]
cmp DWORD PTR -4[rbp], eax
jl .L163
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call rdx
.L164:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE20:
.size editDist3FromStringDelete, .-editDist3FromStringDelete
.type editDist3FromStringNew, @function
editDist3FromStringNew:
.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, 80
mov QWORD PTR -56[rbp], rdi
mov QWORD PTR -64[rbp], rsi
mov DWORD PTR -68[rbp], edx
cmp QWORD PTR -64[rbp], 0
jne .L166
mov eax, 0
jmp .L167
.L166:
cmp DWORD PTR -68[rbp], 0
jns .L168
mov rax, QWORD PTR -64[rbp]
mov rdi, rax
call strlen@PLT
mov DWORD PTR -68[rbp], eax
.L168:
mov rax, QWORD PTR sqlite3_api[rip]
mov rax, QWORD PTR 544[rax]
mov edx, DWORD PTR -68[rbp]
movsx rdx, edx
mov ecx, edx
mov edx, ecx
sal edx, 5
add edx, ecx
add edx, 25
mov edi, edx
call rax
mov QWORD PTR -32[rbp], rax
cmp QWORD PTR -32[rbp], 0
jne .L169
mov eax, 0
jmp .L167
.L169:
mov rax, QWORD PTR -32[rbp]
lea rdx, 24[rax]
mov rax, QWORD PTR -32[rbp]
mov QWORD PTR 16[rax], rdx
mov eax, DWORD PTR -68[rbp]
cdqe
sal rax, 5
mov rdx, rax
mov rax, QWORD PTR -32[rbp]
mov rax, QWORD PTR 16[rax]
mov esi, 0
mov rdi, rax
call memset@PLT
mov rax, QWORD PTR -32[rbp]
mov edx, DWORD PTR -68[rbp]
mov DWORD PTR 8[rax], edx
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR 16[rax]
mov eax, DWORD PTR -68[rbp]
cdqe
sal rax, 5
add rdx, rax
mov rax, QWORD PTR -32[rbp]
mov QWORD PTR [rax], rdx
mov eax, DWORD PTR -68[rbp]
add eax, 1
movsx rdx, eax
mov rax, QWORD PTR -32[rbp]
mov rax, QWORD PTR [rax]
mov rcx, QWORD PTR -64[rbp]
mov rsi, rcx
mov rdi, rax
call memcpy@PLT
cmp DWORD PTR -68[rbp], 0
je .L170
mov eax, DWORD PTR -68[rbp]
cdqe
lea rdx, -1[rax]
mov rax, QWORD PTR -64[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
cmp al, 42
jne .L170
mov rax, QWORD PTR -32[rbp]
mov DWORD PTR 12[rax], 1
sub DWORD PTR -68[rbp], 1
mov rax, QWORD PTR -32[rbp]
mov eax, DWORD PTR 8[rax]
lea edx, -1[rax]
mov rax, QWORD PTR -32[rbp]
mov DWORD PTR 8[rax], edx
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -68[rbp]
cdqe
add rax, rdx
mov BYTE PTR [rax], 0
jmp .L171
.L170:
mov rax, QWORD PTR -32[rbp]
mov DWORD PTR 12[rax], 0
.L171:
mov DWORD PTR -36[rbp], 0
jmp .L172
.L184:
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR 16[rax]
mov eax, DWORD PTR -36[rbp]
cdqe
sal rax, 5
add rax, rdx
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -16[rbp]
mov edx, 32
mov esi, 0
mov rdi, rax
call memset@PLT
mov eax, DWORD PTR -68[rbp]
sub eax, DWORD PTR -36[rbp]
mov edx, eax
mov eax, DWORD PTR -36[rbp]
movsx rcx, eax
mov rax, QWORD PTR -64[rbp]
add rax, rcx
movzx eax, BYTE PTR [rax]
movzx eax, al
mov esi, edx
mov edi, eax
call utf8Len
mov rdx, QWORD PTR -16[rbp]
mov DWORD PTR 8[rdx], eax
mov rax, QWORD PTR -56[rbp]
mov rax, QWORD PTR 16[rax]
mov QWORD PTR -24[rbp], rax
jmp .L173
.L181:
mov rax, QWORD PTR -24[rbp]
movzx eax, BYTE PTR 8[rax]
movzx edx, al
mov eax, DWORD PTR -36[rbp]
add eax, edx
cmp DWORD PTR -68[rbp], eax
jl .L185
mov eax, DWORD PTR -68[rbp]
sub eax, DWORD PTR -36[rbp]
mov edx, eax
mov eax, DWORD PTR -36[rbp]
movsx rcx, eax
mov rax, QWORD PTR -64[rbp]
add rcx, rax
mov rax, QWORD PTR -24[rbp]
mov rsi, rcx
mov rdi, rax
call matchFrom
test eax, eax
je .L186
mov rax, QWORD PTR -24[rbp]
movzx eax, BYTE PTR 9[rax]
test al, al
jne .L177
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 608[rax]
mov rax, QWORD PTR -16[rbp]
mov eax, DWORD PTR 4[rax]
add eax, 1
cdqe
sal eax, 3
mov ecx, eax
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 24[rax]
mov esi, ecx
mov rdi, rax
call rdx
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
je .L187
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 24[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov eax, DWORD PTR 4[rax]
lea ecx, 1[rax]
mov rdx, QWORD PTR -16[rbp]
mov DWORD PTR 4[rdx], ecx
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -8[rbp]
add rdx, rax
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR [rdx], rax
jmp .L175
.L177:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 608[rax]
mov rax, QWORD PTR -16[rbp]
mov eax, DWORD PTR [rax]
add eax, 1
cdqe
sal eax, 3
mov ecx, eax
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 16[rax]
mov esi, ecx
mov rdi, rax
call rdx
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
je .L188
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 16[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov eax, DWORD PTR [rax]
lea ecx, 1[rax]
mov rdx, QWORD PTR -16[rbp]
mov DWORD PTR [rdx], ecx
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -8[rbp]
add rdx, rax
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR [rdx], rax
jmp .L175
.L185:
nop
jmp .L175
.L186:
nop
.L175:
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -24[rbp], rax
.L173:
cmp QWORD PTR -24[rbp], 0
jne .L181
jmp .L179
.L187:
nop
jmp .L179
.L188:
nop
.L179:
cmp QWORD PTR -24[rbp], 0
je .L182
mov rax, QWORD PTR -32[rbp]
mov rdi, rax
call editDist3FromStringDelete
mov QWORD PTR -32[rbp], 0
jmp .L183
.L182:
add DWORD PTR -36[rbp], 1
.L172:
mov eax, DWORD PTR -36[rbp]
cmp eax, DWORD PTR -68[rbp]
jl .L184
.L183:
mov rax, QWORD PTR -32[rbp]
.L167:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE21:
.size editDist3FromStringNew, .-editDist3FromStringNew
.section .rodata
.LC9:
.string "iCost>=0"
.text
.type updateCost, @function
updateCost:
.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, 48
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov DWORD PTR -32[rbp], edx
mov DWORD PTR -36[rbp], ecx
cmp DWORD PTR -36[rbp], 0
jns .L190
lea rcx, __PRETTY_FUNCTION__.3[rip]
mov edx, 871
lea rsi, .LC0[rip]
lea rdi, .LC9[rip]
call __assert_fail@PLT
.L190:
cmp DWORD PTR -36[rbp], 9999
jg .L192
mov eax, DWORD PTR -32[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 -36[rbp]
add eax, edx
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -28[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
jnb .L192
mov eax, DWORD PTR -28[rbp]
cdqe
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
.L192:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE22:
.size updateCost, .-updateCost
.type editDist3Core, @function
editDist3Core:
.LFB23:
.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 -152[rbp], rdi
mov QWORD PTR -160[rbp], rsi
mov DWORD PTR -164[rbp], edx
mov QWORD PTR -176[rbp], rcx
mov QWORD PTR -184[rbp], r8
mov rax, QWORD PTR fs:40
mov QWORD PTR -24[rbp], rax
xor eax, eax
mov rcx, QWORD PTR -152[rbp]
mov rax, QWORD PTR [rcx]
mov rdx, QWORD PTR 8[rcx]
mov QWORD PTR -48[rbp], rax
mov QWORD PTR -40[rbp], rdx
mov rax, QWORD PTR 16[rcx]
mov QWORD PTR -32[rbp], rax
mov eax, DWORD PTR -40[rbp]
lea edx, 1[rax]
mov eax, DWORD PTR -164[rbp]
add eax, 1
imul eax, edx
mov DWORD PTR -140[rbp], eax
mov eax, DWORD PTR -140[rbp]
add eax, 1
and eax, -2
mov DWORD PTR -140[rbp], eax
mov rax, QWORD PTR sqlite3_api[rip]
mov rax, QWORD PTR 544[rax]
mov edx, DWORD PTR -140[rbp]
movsx rcx, edx
mov edx, DWORD PTR -164[rbp]
movsx rdx, edx
sal rdx, 2
add rdx, rcx
sal edx, 2
mov edi, edx
call rax
mov QWORD PTR -72[rbp], rax
cmp QWORD PTR -72[rbp], 0
jne .L194
mov eax, -1
jmp .L231
.L194:
mov eax, DWORD PTR -140[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -72[rbp]
add rax, rdx
mov QWORD PTR -64[rbp], rax
mov eax, DWORD PTR -164[rbp]
cdqe
sal rax, 4
mov rdx, rax
mov rax, QWORD PTR -64[rbp]
mov esi, 0
mov rdi, rax
call memset@PLT
mov DWORD PTR -132[rbp], 0
jmp .L196
.L205:
mov eax, DWORD PTR -164[rbp]
sub eax, DWORD PTR -132[rbp]
mov edx, eax
mov eax, DWORD PTR -132[rbp]
movsx rcx, eax
mov rax, QWORD PTR -160[rbp]
add rax, rcx
movzx eax, BYTE PTR [rax]
movzx eax, al
mov ecx, DWORD PTR -132[rbp]
movsx rcx, ecx
mov rsi, rcx
sal rsi, 4
mov rcx, QWORD PTR -64[rbp]
lea rbx, [rsi+rcx]
mov esi, edx
mov edi, eax
call utf8Len
mov DWORD PTR 4[rbx], eax
mov rax, QWORD PTR -176[rbp]
mov rax, QWORD PTR 16[rax]
mov QWORD PTR -80[rbp], rax
jmp .L197
.L204:
mov rax, QWORD PTR -80[rbp]
movzx eax, BYTE PTR 8[rax]
test al, al
jne .L233
mov rax, QWORD PTR -80[rbp]
movzx eax, BYTE PTR 9[rax]
movzx edx, al
mov eax, DWORD PTR -132[rbp]
add eax, edx
cmp DWORD PTR -164[rbp], eax
jl .L234
mov eax, DWORD PTR -164[rbp]
sub eax, DWORD PTR -132[rbp]
mov edx, eax
mov eax, DWORD PTR -132[rbp]
movsx rcx, eax
mov rax, QWORD PTR -160[rbp]
add rcx, rax
mov rax, QWORD PTR -80[rbp]
mov rsi, rcx
mov rdi, rax
call matchTo
test eax, eax
je .L235
mov eax, DWORD PTR -132[rbp]
cdqe
sal rax, 4
mov rdx, rax
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov edx, DWORD PTR [rax]
add edx, 1
mov DWORD PTR [rax], edx
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 608[rax]
mov eax, DWORD PTR -132[rbp]
cdqe
sal rax, 4
mov rcx, rax
mov rax, QWORD PTR -64[rbp]
add rax, rcx
mov eax, DWORD PTR [rax]
cdqe
sal eax, 3
mov ecx, eax
mov eax, DWORD PTR -132[rbp]
cdqe
sal rax, 4
mov rsi, rax
mov rax, QWORD PTR -64[rbp]
add rax, rsi
mov rax, QWORD PTR 8[rax]
mov esi, ecx
mov rdi, rax
call rdx
mov QWORD PTR -56[rbp], rax
cmp QWORD PTR -56[rbp], 0
jne .L202
mov DWORD PTR -128[rbp], -1
jmp .L203
.L202:
mov eax, DWORD PTR -132[rbp]
cdqe
sal rax, 4
mov rdx, rax
mov rax, QWORD PTR -64[rbp]
add rdx, rax
mov rax, QWORD PTR -56[rbp]
mov QWORD PTR 8[rdx], rax
mov eax, DWORD PTR -132[rbp]
cdqe
sal rax, 4
mov rdx, rax
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov rdx, QWORD PTR 8[rax]
mov eax, DWORD PTR -132[rbp]
cdqe
sal rax, 4
mov rcx, rax
mov rax, QWORD PTR -64[rbp]
add rax, rcx
mov eax, DWORD PTR [rax]
cdqe
sal rax, 3
sub rax, 8
add rdx, rax
mov rax, QWORD PTR -80[rbp]
mov QWORD PTR [rdx], rax
jmp .L199
.L233:
nop
jmp .L199
.L234:
nop
jmp .L199
.L235:
nop
.L199:
mov rax, QWORD PTR -80[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -80[rbp], rax
.L197:
cmp QWORD PTR -80[rbp], 0
jne .L204
add DWORD PTR -132[rbp], 1
.L196:
mov eax, DWORD PTR -132[rbp]
cmp eax, DWORD PTR -164[rbp]
jl .L205
mov eax, DWORD PTR -40[rbp]
add eax, 1
mov DWORD PTR -120[rbp], eax
mov eax, DWORD PTR -164[rbp]
add eax, 1
imul eax, DWORD PTR -120[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -72[rbp]
mov esi, 1
mov rdi, rax
call memset@PLT
mov rax, QWORD PTR -72[rbp]
mov DWORD PTR [rax], 0
mov DWORD PTR -136[rbp], 0
jmp .L206
.L209:
mov rdx, QWORD PTR -32[rbp]
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 5
add rax, rdx
mov eax, DWORD PTR 8[rax]
mov DWORD PTR -100[rbp], eax
mov rax, QWORD PTR -176[rbp]
mov ecx, DWORD PTR 8[rax]
mov edx, DWORD PTR -136[rbp]
mov eax, DWORD PTR -100[rbp]
lea esi, [rdx+rax]
mov edx, DWORD PTR -136[rbp]
mov rax, QWORD PTR -72[rbp]
mov rdi, rax
call updateCost
mov DWORD PTR -144[rbp], 0
jmp .L207
.L208:
mov rdx, QWORD PTR -32[rbp]
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 5
add rax, rdx
mov rdx, QWORD PTR 24[rax]
mov eax, DWORD PTR -144[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rax, QWORD PTR [rax]
mov QWORD PTR -80[rbp], rax
mov rax, QWORD PTR -80[rbp]
movzx eax, WORD PTR 10[rax]
movzx ecx, ax
mov rax, QWORD PTR -80[rbp]
movzx eax, BYTE PTR 8[rax]
movzx edx, al
mov eax, DWORD PTR -136[rbp]
lea esi, [rdx+rax]
mov edx, DWORD PTR -136[rbp]
mov rax, QWORD PTR -72[rbp]
mov rdi, rax
call updateCost
add DWORD PTR -144[rbp], 1
.L207:
mov rdx, QWORD PTR -32[rbp]
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 5
add rax, rdx
mov eax, DWORD PTR 4[rax]
cmp DWORD PTR -144[rbp], eax
jl .L208
mov eax, DWORD PTR -100[rbp]
add DWORD PTR -136[rbp], eax
.L206:
mov eax, DWORD PTR -40[rbp]
cmp DWORD PTR -136[rbp], eax
jl .L209
mov DWORD PTR -132[rbp], 0
jmp .L210
.L221:
mov eax, DWORD PTR -132[rbp]
cdqe
sal rax, 4
mov rdx, rax
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov eax, DWORD PTR 4[rax]
mov DWORD PTR -112[rbp], eax
mov edx, DWORD PTR -132[rbp]
mov eax, DWORD PTR -112[rbp]
add edx, eax
mov eax, DWORD PTR -120[rbp]
imul eax, edx
mov DWORD PTR -108[rbp], eax
mov eax, DWORD PTR -120[rbp]
imul eax, DWORD PTR -132[rbp]
mov DWORD PTR -104[rbp], eax
mov rax, QWORD PTR -176[rbp]
mov ecx, DWORD PTR 4[rax]
mov edx, DWORD PTR -104[rbp]
mov esi, DWORD PTR -108[rbp]
mov rax, QWORD PTR -72[rbp]
mov rdi, rax
call updateCost
mov DWORD PTR -144[rbp], 0
jmp .L211
.L212:
mov eax, DWORD PTR -132[rbp]
cdqe
sal rax, 4
mov rdx, rax
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov rdx, QWORD PTR 8[rax]
mov eax, DWORD PTR -144[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rax, QWORD PTR [rax]
mov QWORD PTR -80[rbp], rax
mov rax, QWORD PTR -80[rbp]
movzx eax, WORD PTR 10[rax]
movzx ecx, ax
mov rax, QWORD PTR -80[rbp]
movzx eax, BYTE PTR 9[rax]
movzx edx, al
mov eax, DWORD PTR -132[rbp]
add eax, edx
imul eax, DWORD PTR -120[rbp]
mov esi, eax
mov edx, DWORD PTR -104[rbp]
mov rax, QWORD PTR -72[rbp]
mov rdi, rax
call updateCost
add DWORD PTR -144[rbp], 1
.L211:
mov eax, DWORD PTR -132[rbp]
cdqe
sal rax, 4
mov rdx, rax
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
cmp DWORD PTR -144[rbp], eax
jl .L212
mov DWORD PTR -136[rbp], 0
jmp .L213
.L220:
mov rdx, QWORD PTR -32[rbp]
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 5
add rax, rdx
mov eax, DWORD PTR 8[rax]
mov DWORD PTR -100[rbp], eax
mov edx, DWORD PTR -108[rbp]
mov eax, DWORD PTR -136[rbp]
add eax, edx
mov DWORD PTR -96[rbp], eax
mov edx, DWORD PTR -96[rbp]
mov eax, DWORD PTR -100[rbp]
add eax, edx
mov DWORD PTR -92[rbp], eax
mov edx, DWORD PTR -104[rbp]
mov eax, DWORD PTR -136[rbp]
add eax, edx
mov DWORD PTR -88[rbp], eax
mov edx, DWORD PTR -88[rbp]
mov eax, DWORD PTR -100[rbp]
add eax, edx
mov DWORD PTR -84[rbp], eax
mov rax, QWORD PTR -176[rbp]
mov ecx, DWORD PTR 8[rax]
mov edx, DWORD PTR -96[rbp]
mov esi, DWORD PTR -92[rbp]
mov rax, QWORD PTR -72[rbp]
mov rdi, rax
call updateCost
mov DWORD PTR -144[rbp], 0
jmp .L214
.L215:
mov rdx, QWORD PTR -32[rbp]
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 5
add rax, rdx
mov rdx, QWORD PTR 24[rax]
mov eax, DWORD PTR -144[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rax, QWORD PTR [rax]
mov QWORD PTR -80[rbp], rax
mov rax, QWORD PTR -80[rbp]
movzx eax, WORD PTR 10[rax]
movzx ecx, ax
mov rax, QWORD PTR -80[rbp]
movzx eax, BYTE PTR 8[rax]
movzx edx, al
mov eax, DWORD PTR -96[rbp]
lea esi, [rdx+rax]
mov edx, DWORD PTR -96[rbp]
mov rax, QWORD PTR -72[rbp]
mov rdi, rax
call updateCost
add DWORD PTR -144[rbp], 1
.L214:
mov rdx, QWORD PTR -32[rbp]
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 5
add rax, rdx
mov eax, DWORD PTR 4[rax]
cmp DWORD PTR -144[rbp], eax
jl .L215
mov rax, QWORD PTR -176[rbp]
mov ecx, DWORD PTR 4[rax]
mov edx, DWORD PTR -84[rbp]
mov esi, DWORD PTR -92[rbp]
mov rax, QWORD PTR -72[rbp]
mov rdi, rax
call updateCost
mov eax, DWORD PTR -164[rbp]
sub eax, DWORD PTR -132[rbp]
mov edx, eax
mov eax, DWORD PTR -132[rbp]
movsx rcx, eax
mov rax, QWORD PTR -160[rbp]
lea rdi, [rcx+rax]
mov esi, DWORD PTR -136[rbp]
lea rax, -48[rbp]
mov ecx, edx
mov rdx, rdi
mov rdi, rax
call matchFromTo
test eax, eax
je .L216
mov edx, DWORD PTR -88[rbp]
mov esi, DWORD PTR -92[rbp]
mov rax, QWORD PTR -72[rbp]
mov ecx, 0
mov rdi, rax
call updateCost
.L216:
mov rax, QWORD PTR -176[rbp]
mov ecx, DWORD PTR 12[rax]
mov edx, DWORD PTR -88[rbp]
mov esi, DWORD PTR -92[rbp]
mov rax, QWORD PTR -72[rbp]
mov rdi, rax
call updateCost
mov DWORD PTR -144[rbp], 0
jmp .L217
.L219:
mov rdx, QWORD PTR -32[rbp]
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 5
add rax, rdx
mov rdx, QWORD PTR 16[rax]
mov eax, DWORD PTR -144[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rax, QWORD PTR [rax]
mov QWORD PTR -80[rbp], rax
mov eax, DWORD PTR -164[rbp]
sub eax, DWORD PTR -132[rbp]
mov edx, eax
mov eax, DWORD PTR -132[rbp]
movsx rcx, eax
mov rax, QWORD PTR -160[rbp]
add rcx, rax
mov rax, QWORD PTR -80[rbp]
mov rsi, rcx
mov rdi, rax
call matchTo
test eax, eax
je .L218
mov rax, QWORD PTR -80[rbp]
movzx eax, WORD PTR 10[rax]
movzx ecx, ax
mov rax, QWORD PTR -80[rbp]
movzx eax, BYTE PTR 8[rax]
movzx edx, al
mov eax, DWORD PTR -88[rbp]
add edx, eax
mov rax, QWORD PTR -80[rbp]
movzx eax, BYTE PTR 9[rax]
movzx eax, al
imul eax, DWORD PTR -120[rbp]
lea esi, [rdx+rax]
mov edx, DWORD PTR -88[rbp]
mov rax, QWORD PTR -72[rbp]
mov rdi, rax
call updateCost
.L218:
add DWORD PTR -144[rbp], 1
.L217:
mov rdx, QWORD PTR -32[rbp]
mov eax, DWORD PTR -136[rbp]
cdqe
sal rax, 5
add rax, rdx
mov eax, DWORD PTR [rax]
cmp DWORD PTR -144[rbp], eax
jl .L219
mov eax, DWORD PTR -100[rbp]
add DWORD PTR -136[rbp], eax
.L213:
mov eax, DWORD PTR -40[rbp]
cmp DWORD PTR -136[rbp], eax
jl .L220
mov eax, DWORD PTR -112[rbp]
add DWORD PTR -132[rbp], eax
.L210:
mov eax, DWORD PTR -132[rbp]
cmp eax, DWORD PTR -164[rbp]
jl .L221
mov eax, DWORD PTR -164[rbp]
add eax, 1
imul eax, DWORD PTR -120[rbp]
cdqe
sal rax, 2
lea rdx, -4[rax]
mov rax, QWORD PTR -72[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
mov DWORD PTR -128[rbp], eax
mov eax, DWORD PTR -164[rbp]
mov DWORD PTR -140[rbp], eax
mov eax, DWORD PTR -36[rbp]
test eax, eax
je .L222
mov DWORD PTR -132[rbp], 1
jmp .L223
.L225:
mov eax, DWORD PTR -120[rbp]
imul eax, DWORD PTR -132[rbp]
cdqe
sal rax, 2
lea rdx, -4[rax]
mov rax, QWORD PTR -72[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
mov DWORD PTR -116[rbp], eax
mov eax, DWORD PTR -116[rbp]
cmp eax, DWORD PTR -128[rbp]
jg .L224
mov eax, DWORD PTR -116[rbp]
mov DWORD PTR -128[rbp], eax
mov eax, DWORD PTR -132[rbp]
sub eax, 1
mov DWORD PTR -140[rbp], eax
.L224:
add DWORD PTR -132[rbp], 1
.L223:
mov eax, DWORD PTR -132[rbp]
cmp eax, DWORD PTR -164[rbp]
jle .L225
.L222:
cmp QWORD PTR -184[rbp], 0
je .L236
mov DWORD PTR -124[rbp], 0
mov DWORD PTR -144[rbp], 0
jmp .L226
.L228:
mov eax, DWORD PTR -144[rbp]
movsx rdx, eax
mov rax, QWORD PTR -160[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
movsx eax, al
and eax, 192
cmp eax, 128
jne .L227
add DWORD PTR -124[rbp], 1
.L227:
add DWORD PTR -144[rbp], 1
.L226:
mov eax, DWORD PTR -144[rbp]
cmp eax, DWORD PTR -140[rbp]
jl .L228
mov eax, DWORD PTR -140[rbp]
sub eax, DWORD PTR -124[rbp]
mov edx, eax
mov rax, QWORD PTR -184[rbp]
mov DWORD PTR [rax], edx
jmp .L203
.L236:
nop
.L203:
mov DWORD PTR -132[rbp], 0
jmp .L229
.L230:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov eax, DWORD PTR -132[rbp]
cdqe
sal rax, 4
mov rcx, rax
mov rax, QWORD PTR -64[rbp]
add rax, rcx
mov rax, QWORD PTR 8[rax]
mov rdi, rax
call rdx
add DWORD PTR -132[rbp], 1
.L229:
mov eax, DWORD PTR -132[rbp]
cmp eax, DWORD PTR -164[rbp]
jl .L230
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -72[rbp]
mov rdi, rax
call rdx
mov eax, DWORD PTR -128[rbp]
.L231:
mov rbx, QWORD PTR -24[rbp]
sub rbx, QWORD PTR fs:40
je .L232
call __stack_chk_fail@PLT
.L232:
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE23:
.size editDist3Core, .-editDist3Core
.type editDist3FindLang, @function
editDist3FindLang:
.LFB24:
.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 -4[rbp], 0
jmp .L238
.L241:
mov rax, QWORD PTR -24[rbp]
mov rcx, QWORD PTR 8[rax]
mov eax, DWORD PTR -4[rbp]
movsx rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
sal rax, 3
add rax, rcx
mov eax, DWORD PTR [rax]
cmp DWORD PTR -28[rbp], eax
jne .L239
mov rax, QWORD PTR -24[rbp]
mov rcx, QWORD PTR 8[rax]
mov eax, DWORD PTR -4[rbp]
movsx rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
sal rax, 3
add rax, rcx
jmp .L240
.L239:
add DWORD PTR -4[rbp], 1
.L238:
mov rax, QWORD PTR -24[rbp]
mov eax, DWORD PTR [rax]
cmp DWORD PTR -4[rbp], eax
jl .L241
lea rax, editDist3Lang[rip]
.L240:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE24:
.size editDist3FindLang, .-editDist3FindLang
.type editDist3SqlFunc, @function
editDist3SqlFunc:
.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, 112
mov QWORD PTR -88[rbp], rdi
mov DWORD PTR -92[rbp], esi
mov QWORD PTR -104[rbp], rdx
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 808[rax]
mov rax, QWORD PTR -88[rbp]
mov rdi, rax
call rdx
mov QWORD PTR -56[rbp], rax
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 1192[rax]
mov rax, QWORD PTR -88[rbp]
mov rdi, rax
call rdx
mov QWORD PTR -48[rbp], rax
cmp DWORD PTR -92[rbp], 1
jne .L243
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 872[rax]
mov rax, QWORD PTR -104[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov QWORD PTR -8[rbp], rax
mov rdx, QWORD PTR -8[rbp]
mov rcx, QWORD PTR -48[rbp]
mov rax, QWORD PTR -56[rbp]
mov rsi, rcx
mov rdi, rax
call editDist3ConfigLoad
mov DWORD PTR -60[rbp], eax
cmp DWORD PTR -60[rbp], 0
je .L242
mov rax, QWORD PTR sqlite3_api[rip]
mov rcx, QWORD PTR 1168[rax]
mov edx, DWORD PTR -60[rbp]
mov rax, QWORD PTR -88[rbp]
mov esi, edx
mov rdi, rax
call rcx
jmp .L242
.L243:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 872[rax]
mov rax, QWORD PTR -104[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov QWORD PTR -40[rbp], rax
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 872[rax]
mov rax, QWORD PTR -104[rbp]
add rax, 8
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov QWORD PTR -32[rbp], rax
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 824[rax]
mov rax, QWORD PTR -104[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov DWORD PTR -76[rbp], eax
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 824[rax]
mov rax, QWORD PTR -104[rbp]
add rax, 8
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov DWORD PTR -72[rbp], eax
cmp DWORD PTR -92[rbp], 3
jne .L245
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 848[rax]
mov rax, QWORD PTR -104[rbp]
add rax, 16
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
jmp .L246
.L245:
mov eax, 0
.L246:
mov DWORD PTR -68[rbp], eax
mov edx, DWORD PTR -68[rbp]
mov rax, QWORD PTR -56[rbp]
mov esi, edx
mov rdi, rax
call editDist3FindLang
mov QWORD PTR -24[rbp], rax
mov edx, DWORD PTR -76[rbp]
mov rcx, QWORD PTR -40[rbp]
mov rax, QWORD PTR -24[rbp]
mov rsi, rcx
mov rdi, rax
call editDist3FromStringNew
mov QWORD PTR -16[rbp], rax
cmp QWORD PTR -16[rbp], 0
jne .L247
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 1096[rax]
mov rax, QWORD PTR -88[rbp]
mov rdi, rax
call rdx
jmp .L242
.L247:
mov rcx, QWORD PTR -24[rbp]
mov edx, DWORD PTR -72[rbp]
mov rsi, QWORD PTR -32[rbp]
mov rax, QWORD PTR -16[rbp]
mov r8d, 0
mov rdi, rax
call editDist3Core
mov DWORD PTR -64[rbp], eax
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call editDist3FromStringDelete
cmp DWORD PTR -64[rbp], -1
jne .L248
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 1096[rax]
mov rax, QWORD PTR -88[rbp]
mov rdi, rax
call rdx
jmp .L242
.L248:
mov rax, QWORD PTR sqlite3_api[rip]
mov rcx, QWORD PTR 656[rax]
mov edx, DWORD PTR -64[rbp]
mov rax, QWORD PTR -88[rbp]
mov esi, edx
mov rdi, rax
call rcx
.L242:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE25:
.size editDist3SqlFunc, .-editDist3SqlFunc
.section .rodata
.LC10:
.string "editdist3"
.text
.type editDist3Install, @function
editDist3Install:
.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, 32
mov QWORD PTR -24[rbp], rdi
mov rax, QWORD PTR sqlite3_api[rip]
mov rax, QWORD PTR 544[rax]
mov edi, 16
call rax
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
jne .L250
mov eax, 7
jmp .L251
.L250:
mov rax, QWORD PTR -8[rbp]
mov edx, 16
mov esi, 0
mov rdi, rax
call memset@PLT
mov rax, QWORD PTR sqlite3_api[rip]
mov r10, QWORD PTR 1296[rax]
mov rdx, QWORD PTR -8[rbp]
mov rax, QWORD PTR -24[rbp]
sub rsp, 8
push 0
push 0
push 0
lea r9, editDist3SqlFunc[rip]
mov r8, rdx
mov ecx, 1
mov edx, 2
lea rsi, .LC10[rip]
mov rdi, rax
call r10
add rsp, 32
mov DWORD PTR -12[rbp], eax
cmp DWORD PTR -12[rbp], 0
jne .L252
mov rax, QWORD PTR sqlite3_api[rip]
mov r10, QWORD PTR 1296[rax]
mov rdx, QWORD PTR -8[rbp]
mov rax, QWORD PTR -24[rbp]
sub rsp, 8
push 0
push 0
push 0
lea r9, editDist3SqlFunc[rip]
mov r8, rdx
mov ecx, 1
mov edx, 3
lea rsi, .LC10[rip]
mov rdi, rax
call r10
add rsp, 32
mov DWORD PTR -12[rbp], eax
.L252:
cmp DWORD PTR -12[rbp], 0
jne .L253
mov rax, QWORD PTR sqlite3_api[rip]
mov r10, QWORD PTR 1296[rax]
mov rcx, QWORD PTR -8[rbp]
mov rax, QWORD PTR -24[rbp]
sub rsp, 8
lea rdx, editDist3ConfigDelete[rip]
push rdx
push 0
push 0
lea r9, editDist3SqlFunc[rip]
mov r8, rcx
mov ecx, 1
mov edx, 1
lea rsi, .LC10[rip]
mov rdi, rax
call r10
add rsp, 32
mov DWORD PTR -12[rbp], eax
jmp .L254
.L253:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call rdx
.L254:
mov eax, DWORD PTR -12[rbp]
.L251:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE26:
.size editDist3Install, .-editDist3Install
.section .rodata
.align 32
.type sqlite3Utf8Trans1, @object
.size sqlite3Utf8Trans1, 64
sqlite3Utf8Trans1:
.string ""
.string "\001\002\003\004\005\006\007\b\t\n\013\f\r\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
.string "\001\002\003\004\005\006\007\b\t\n\013\f\r\016\017"
.string "\001\002\003\004\005\006\007"
.string "\001\002\003"
.string "\001"
.string ""
.text
.type utf8Read, @function
utf8Read:
.LFB27:
.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 QWORD PTR -40[rbp], rdx
mov rax, QWORD PTR -24[rbp]
movzx eax, BYTE PTR [rax]
movzx eax, al
mov DWORD PTR -8[rbp], eax
mov DWORD PTR -4[rbp], 1
cmp DWORD PTR -8[rbp], 191
jle .L256
mov eax, DWORD PTR -8[rbp]
sub eax, 192
cdqe
lea rdx, sqlite3Utf8Trans1[rip]
movzx eax, BYTE PTR [rax+rdx]
movzx eax, al
mov DWORD PTR -8[rbp], eax
jmp .L257
.L258:
mov eax, DWORD PTR -8[rbp]
sal eax, 6
mov ecx, eax
mov eax, DWORD PTR -4[rbp]
lea edx, 1[rax]
mov DWORD PTR -4[rbp], edx
movsx rdx, eax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
movzx eax, al
and eax, 63
add eax, ecx
mov DWORD PTR -8[rbp], eax
.L257:
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -28[rbp]
jge .L256
mov eax, DWORD PTR -4[rbp]
movsx rdx, eax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
movzx eax, al
and eax, 192
cmp eax, 128
je .L258
.L256:
mov rax, QWORD PTR -40[rbp]
mov edx, DWORD PTR -4[rbp]
mov DWORD PTR [rax], edx
mov eax, DWORD PTR -8[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE27:
.size utf8Read, .-utf8Read
.type utf8Charlen, @function
utf8Charlen:
.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, 48
mov QWORD PTR -40[rbp], rdi
mov DWORD PTR -44[rbp], esi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -12[rbp], 0
mov DWORD PTR -16[rbp], 0
jmp .L261
.L262:
mov eax, DWORD PTR -44[rbp]
sub eax, DWORD PTR -16[rbp]
mov edx, DWORD PTR -16[rbp]
movsx rcx, edx
mov rdx, QWORD PTR -40[rbp]
add rcx, rdx
lea rdx, -20[rbp]
mov esi, eax
mov rdi, rcx
call utf8Read
mov eax, DWORD PTR -20[rbp]
add DWORD PTR -16[rbp], eax
add DWORD PTR -12[rbp], 1
.L261:
mov eax, DWORD PTR -16[rbp]
cmp eax, DWORD PTR -44[rbp]
jl .L262
mov eax, DWORD PTR -12[rbp]
mov rsi, QWORD PTR -8[rbp]
sub rsi, QWORD PTR fs:40
je .L264
call __stack_chk_fail@PLT
.L264:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE28:
.size utf8Charlen, .-utf8Charlen
.section .rodata
.align 32
.type translit, @object
.size translit, 1556
translit:
.value 160
.byte 32
.byte 0
.value 181
.byte 117
.byte 0
.value 192
.byte 65
.byte 0
.value 193
.byte 65
.byte 0
.value 194
.byte 65
.byte 0
.value 195
.byte 65
.byte 0
.value 196
.byte 65
.byte 101
.value 197
.byte 65
.byte 97
.value 198
.byte 65
.byte 69
.value 199
.byte 67
.byte 0
.value 200
.byte 69
.byte 0
.value 201
.byte 69
.byte 0
.value 202
.byte 69
.byte 0
.value 203
.byte 69
.byte 0
.value 204
.byte 73
.byte 0
.value 205
.byte 73
.byte 0
.value 206
.byte 73
.byte 0
.value 207
.byte 73
.byte 0
.value 208
.byte 68
.byte 0
.value 209
.byte 78
.byte 0
.value 210
.byte 79
.byte 0
.value 211
.byte 79
.byte 0
.value 212
.byte 79
.byte 0
.value 213
.byte 79
.byte 0
.value 214
.byte 79
.byte 101
.value 215
.byte 120
.byte 0
.value 216
.byte 79
.byte 0
.value 217
.byte 85
.byte 0
.value 218
.byte 85
.byte 0
.value 219
.byte 85
.byte 0
.value 220
.byte 85
.byte 101
.value 221
.byte 89
.byte 0
.value 222
.byte 84
.byte 104
.value 223
.byte 115
.byte 115
.value 224
.byte 97
.byte 0
.value 225
.byte 97
.byte 0
.value 226
.byte 97
.byte 0
.value 227
.byte 97
.byte 0
.value 228
.byte 97
.byte 101
.value 229
.byte 97
.byte 97
.value 230
.byte 97
.byte 101
.value 231
.byte 99
.byte 0
.value 232
.byte 101
.byte 0
.value 233
.byte 101
.byte 0
.value 234
.byte 101
.byte 0
.value 235
.byte 101
.byte 0
.value 236
.byte 105
.byte 0
.value 237
.byte 105
.byte 0
.value 238
.byte 105
.byte 0
.value 239
.byte 105
.byte 0
.value 240
.byte 100
.byte 0
.value 241
.byte 110
.byte 0
.value 242
.byte 111
.byte 0
.value 243
.byte 111
.byte 0
.value 244
.byte 111
.byte 0
.value 245
.byte 111
.byte 0
.value 246
.byte 111
.byte 101
.value 247
.byte 58
.byte 0
.value 248
.byte 111
.byte 0
.value 249
.byte 117
.byte 0
.value 250
.byte 117
.byte 0
.value 251
.byte 117
.byte 0
.value 252
.byte 117
.byte 101
.value 253
.byte 121
.byte 0
.value 254
.byte 116
.byte 104
.value 255
.byte 121
.byte 0
.value 256
.byte 65
.byte 0
.value 257
.byte 97
.byte 0
.value 258
.byte 65
.byte 0
.value 259
.byte 97
.byte 0
.value 260
.byte 65
.byte 0
.value 261
.byte 97
.byte 0
.value 262
.byte 67
.byte 0
.value 263
.byte 99
.byte 0
.value 264
.byte 67
.byte 104
.value 265
.byte 99
.byte 104
.value 266
.byte 67
.byte 0
.value 267
.byte 99
.byte 0
.value 268
.byte 67
.byte 0
.value 269
.byte 99
.byte 0
.value 270
.byte 68
.byte 0
.value 271
.byte 100
.byte 0
.value 272
.byte 68
.byte 0
.value 273
.byte 100
.byte 0
.value 274
.byte 69
.byte 0
.value 275
.byte 101
.byte 0
.value 276
.byte 69
.byte 0
.value 277
.byte 101
.byte 0
.value 278
.byte 69
.byte 0
.value 279
.byte 101
.byte 0
.value 280
.byte 69
.byte 0
.value 281
.byte 101
.byte 0
.value 282
.byte 69
.byte 0
.value 283
.byte 101
.byte 0
.value 284
.byte 71
.byte 104
.value 285
.byte 103
.byte 104
.value 286
.byte 71
.byte 0
.value 287
.byte 103
.byte 0
.value 288
.byte 71
.byte 0
.value 289
.byte 103
.byte 0
.value 290
.byte 71
.byte 0
.value 291
.byte 103
.byte 0
.value 292
.byte 72
.byte 104
.value 293
.byte 104
.byte 104
.value 294
.byte 72
.byte 0
.value 295
.byte 104
.byte 0
.value 296
.byte 73
.byte 0
.value 297
.byte 105
.byte 0
.value 298
.byte 73
.byte 0
.value 299
.byte 105
.byte 0
.value 300
.byte 73
.byte 0
.value 301
.byte 105
.byte 0
.value 302
.byte 73
.byte 0
.value 303
.byte 105
.byte 0
.value 304
.byte 73
.byte 0
.value 305
.byte 105
.byte 0
.value 306
.byte 73
.byte 74
.value 307
.byte 105
.byte 106
.value 308
.byte 74
.byte 104
.value 309
.byte 106
.byte 104
.value 310
.byte 75
.byte 0
.value 311
.byte 107
.byte 0
.value 312
.byte 107
.byte 0
.value 313
.byte 76
.byte 0
.value 314
.byte 108
.byte 0
.value 315
.byte 76
.byte 0
.value 316
.byte 108
.byte 0
.value 317
.byte 76
.byte 0
.value 318
.byte 108
.byte 0
.value 319
.byte 76
.byte 46
.value 320
.byte 108
.byte 46
.value 321
.byte 76
.byte 0
.value 322
.byte 108
.byte 0
.value 323
.byte 78
.byte 0
.value 324
.byte 110
.byte 0
.value 325
.byte 78
.byte 0
.value 326
.byte 110
.byte 0
.value 327
.byte 78
.byte 0
.value 328
.byte 110
.byte 0
.value 329
.byte 39
.byte 110
.value 330
.byte 78
.byte 71
.value 331
.byte 110
.byte 103
.value 332
.byte 79
.byte 0
.value 333
.byte 111
.byte 0
.value 334
.byte 79
.byte 0
.value 335
.byte 111
.byte 0
.value 336
.byte 79
.byte 0
.value 337
.byte 111
.byte 0
.value 338
.byte 79
.byte 69
.value 339
.byte 111
.byte 101
.value 340
.byte 82
.byte 0
.value 341
.byte 114
.byte 0
.value 342
.byte 82
.byte 0
.value 343
.byte 114
.byte 0
.value 344
.byte 82
.byte 0
.value 345
.byte 114
.byte 0
.value 346
.byte 83
.byte 0
.value 347
.byte 115
.byte 0
.value 348
.byte 83
.byte 104
.value 349
.byte 115
.byte 104
.value 350
.byte 83
.byte 0
.value 351
.byte 115
.byte 0
.value 352
.byte 83
.byte 0
.value 353
.byte 115
.byte 0
.value 354
.byte 84
.byte 0
.value 355
.byte 116
.byte 0
.value 356
.byte 84
.byte 0
.value 357
.byte 116
.byte 0
.value 358
.byte 84
.byte 0
.value 359
.byte 116
.byte 0
.value 360
.byte 85
.byte 0
.value 361
.byte 117
.byte 0
.value 362
.byte 85
.byte 0
.value 363
.byte 117
.byte 0
.value 364
.byte 85
.byte 0
.value 365
.byte 117
.byte 0
.value 366
.byte 85
.byte 0
.value 367
.byte 117
.byte 0
.value 368
.byte 85
.byte 0
.value 369
.byte 117
.byte 0
.value 370
.byte 85
.byte 0
.value 371
.byte 117
.byte 0
.value 372
.byte 87
.byte 0
.value 373
.byte 119
.byte 0
.value 374
.byte 89
.byte 0
.value 375
.byte 121
.byte 0
.value 376
.byte 89
.byte 0
.value 377
.byte 90
.byte 0
.value 378
.byte 122
.byte 0
.value 379
.byte 90
.byte 0
.value 380
.byte 122
.byte 0
.value 381
.byte 90
.byte 0
.value 382
.byte 122
.byte 0
.value 383
.byte 115
.byte 0
.value 402
.byte 102
.byte 0
.value 536
.byte 83
.byte 0
.value 537
.byte 115
.byte 0
.value 538
.byte 84
.byte 0
.value 539
.byte 116
.byte 0
.value 902
.byte 65
.byte 0
.value 904
.byte 69
.byte 0
.value 905
.byte 73
.byte 0
.value 906
.byte 73
.byte 0
.value 908
.byte 79
.byte 0
.value 910
.byte 89
.byte 0
.value 911
.byte 79
.byte 0
.value 912
.byte 105
.byte 0
.value 913
.byte 65
.byte 0
.value 914
.byte 66
.byte 0
.value 915
.byte 71
.byte 0
.value 916
.byte 68
.byte 0
.value 917
.byte 69
.byte 0
.value 918
.byte 90
.byte 0
.value 919
.byte 73
.byte 0
.value 920
.byte 84
.byte 104
.value 921
.byte 73
.byte 0
.value 922
.byte 75
.byte 0
.value 923
.byte 76
.byte 0
.value 924
.byte 77
.byte 0
.value 925
.byte 78
.byte 0
.value 926
.byte 88
.byte 0
.value 927
.byte 79
.byte 0
.value 928
.byte 80
.byte 0
.value 929
.byte 82
.byte 0
.value 931
.byte 83
.byte 0
.value 932
.byte 84
.byte 0
.value 933
.byte 89
.byte 0
.value 934
.byte 70
.byte 0
.value 935
.byte 67
.byte 104
.value 936
.byte 80
.byte 115
.value 937
.byte 79
.byte 0
.value 938
.byte 73
.byte 0
.value 939
.byte 89
.byte 0
.value 940
.byte 97
.byte 0
.value 941
.byte 101
.byte 0
.value 942
.byte 105
.byte 0
.value 943
.byte 105
.byte 0
.value 945
.byte 97
.byte 0
.value 946
.byte 98
.byte 0
.value 947
.byte 103
.byte 0
.value 948
.byte 100
.byte 0
.value 949
.byte 101
.byte 0
.value 950
.byte 122
.byte 0
.value 951
.byte 105
.byte 0
.value 952
.byte 116
.byte 104
.value 953
.byte 105
.byte 0
.value 954
.byte 107
.byte 0
.value 955
.byte 108
.byte 0
.value 956
.byte 109
.byte 0
.value 957
.byte 110
.byte 0
.value 958
.byte 120
.byte 0
.value 959
.byte 111
.byte 0
.value 960
.byte 112
.byte 0
.value 961
.byte 114
.byte 0
.value 963
.byte 115
.byte 0
.value 964
.byte 116
.byte 0
.value 965
.byte 121
.byte 0
.value 966
.byte 102
.byte 0
.value 967
.byte 99
.byte 104
.value 968
.byte 112
.byte 115
.value 969
.byte 111
.byte 0
.value 970
.byte 105
.byte 0
.value 971
.byte 121
.byte 0
.value 972
.byte 111
.byte 0
.value 973
.byte 121
.byte 0
.value 974
.byte 105
.byte 0
.value 1024
.byte 69
.byte 0
.value 1025
.byte 69
.byte 0
.value 1026
.byte 68
.byte 0
.value 1027
.byte 71
.byte 0
.value 1028
.byte 69
.byte 0
.value 1029
.byte 90
.byte 0
.value 1030
.byte 73
.byte 0
.value 1031
.byte 73
.byte 0
.value 1032
.byte 74
.byte 0
.value 1033
.byte 73
.byte 0
.value 1034
.byte 78
.byte 0
.value 1035
.byte 68
.byte 0
.value 1036
.byte 75
.byte 0
.value 1037
.byte 73
.byte 0
.value 1038
.byte 85
.byte 0
.value 1039
.byte 68
.byte 0
.value 1040
.byte 65
.byte 0
.value 1041
.byte 66
.byte 0
.value 1042
.byte 86
.byte 0
.value 1043
.byte 71
.byte 0
.value 1044
.byte 68
.byte 0
.value 1045
.byte 69
.byte 0
.value 1046
.byte 90
.byte 104
.value 1047
.byte 90
.byte 0
.value 1048
.byte 73
.byte 0
.value 1049
.byte 73
.byte 0
.value 1050
.byte 75
.byte 0
.value 1051
.byte 76
.byte 0
.value 1052
.byte 77
.byte 0
.value 1053
.byte 78
.byte 0
.value 1054
.byte 79
.byte 0
.value 1055
.byte 80
.byte 0
.value 1056
.byte 82
.byte 0
.value 1057
.byte 83
.byte 0
.value 1058
.byte 84
.byte 0
.value 1059
.byte 85
.byte 0
.value 1060
.byte 70
.byte 0
.value 1061
.byte 75
.byte 104
.value 1062
.byte 84
.byte 99
.value 1063
.byte 67
.byte 104
.value 1064
.byte 83
.byte 104
.value 1065
.byte 83
.byte 104
.value 1066
.byte 97
.byte 0
.value 1067
.byte 89
.byte 0
.value 1068
.byte 89
.byte 0
.value 1069
.byte 69
.byte 0
.value 1070
.byte 73
.byte 117
.value 1071
.byte 73
.byte 97
.value 1072
.byte 97
.byte 0
.value 1073
.byte 98
.byte 0
.value 1074
.byte 118
.byte 0
.value 1075
.byte 103
.byte 0
.value 1076
.byte 100
.byte 0
.value 1077
.byte 101
.byte 0
.value 1078
.byte 122
.byte 104
.value 1079
.byte 122
.byte 0
.value 1080
.byte 105
.byte 0
.value 1081
.byte 105
.byte 0
.value 1082
.byte 107
.byte 0
.value 1083
.byte 108
.byte 0
.value 1084
.byte 109
.byte 0
.value 1085
.byte 110
.byte 0
.value 1086
.byte 111
.byte 0
.value 1087
.byte 112
.byte 0
.value 1088
.byte 114
.byte 0
.value 1089
.byte 115
.byte 0
.value 1090
.byte 116
.byte 0
.value 1091
.byte 117
.byte 0
.value 1092
.byte 102
.byte 0
.value 1093
.byte 107
.byte 104
.value 1094
.byte 116
.byte 99
.value 1095
.byte 99
.byte 104
.value 1096
.byte 115
.byte 104
.value 1097
.byte 115
.byte 104
.value 1098
.byte 97
.byte 0
.value 1099
.byte 121
.byte 0
.value 1100
.byte 121
.byte 0
.value 1101
.byte 101
.byte 0
.value 1102
.byte 105
.byte 117
.value 1103
.byte 105
.byte 97
.value 1104
.byte 101
.byte 0
.value 1105
.byte 101
.byte 0
.value 1106
.byte 100
.byte 0
.value 1107
.byte 103
.byte 0
.value 1108
.byte 101
.byte 0
.value 1109
.byte 122
.byte 0
.value 1110
.byte 105
.byte 0
.value 1111
.byte 105
.byte 0
.value 1112
.byte 106
.byte 0
.value 1113
.byte 105
.byte 0
.value 1114
.byte 110
.byte 0
.value 1115
.byte 100
.byte 0
.value 1116
.byte 107
.byte 0
.value 1117
.byte 105
.byte 0
.value 1118
.byte 117
.byte 0
.value 1119
.byte 100
.byte 0
.value 7682
.byte 66
.byte 0
.value 7683
.byte 98
.byte 0
.value 7690
.byte 68
.byte 0
.value 7691
.byte 100
.byte 0
.value 7710
.byte 70
.byte 0
.value 7711
.byte 102
.byte 0
.value 7744
.byte 77
.byte 0
.value 7745
.byte 109
.byte 0
.value 7766
.byte 80
.byte 0
.value 7767
.byte 112
.byte 0
.value 7776
.byte 83
.byte 0
.value 7777
.byte 115
.byte 0
.value 7786
.byte 84
.byte 0
.value 7787
.byte 116
.byte 0
.value 7808
.byte 87
.byte 0
.value 7809
.byte 119
.byte 0
.value 7810
.byte 87
.byte 0
.value 7811
.byte 119
.byte 0
.value 7812
.byte 87
.byte 0
.value 7813
.byte 119
.byte 0
.value 7922
.byte 89
.byte 0
.value 7923
.byte 121
.byte 0
.value -1280
.byte 102
.byte 102
.value -1279
.byte 102
.byte 105
.value -1278
.byte 102
.byte 108
.value -1275
.byte 115
.byte 116
.value -1274
.byte 115
.byte 116
.text
.type transliterate, @function
transliterate:
.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, 64
mov QWORD PTR -56[rbp], rdi
mov DWORD PTR -60[rbp], esi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov rax, QWORD PTR sqlite3_api[rip]
mov rax, QWORD PTR 544[rax]
mov edx, DWORD PTR -60[rbp]
sal edx, 2
add edx, 1
mov edi, edx
call rax
mov QWORD PTR -16[rbp], rax
cmp QWORD PTR -16[rbp], 0
jne .L266
mov eax, 0
jmp .L278
.L266:
mov DWORD PTR -32[rbp], 0
jmp .L268
.L277:
lea rdx, -40[rbp]
mov ecx, DWORD PTR -60[rbp]
mov rax, QWORD PTR -56[rbp]
mov esi, ecx
mov rdi, rax
call utf8Read
mov DWORD PTR -36[rbp], eax
mov eax, DWORD PTR -40[rbp]
cdqe
add QWORD PTR -56[rbp], rax
mov eax, DWORD PTR -40[rbp]
sub DWORD PTR -60[rbp], eax
cmp DWORD PTR -36[rbp], 127
jg .L269
mov eax, DWORD PTR -32[rbp]
lea edx, 1[rax]
mov DWORD PTR -32[rbp], edx
movsx rdx, eax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
mov edx, DWORD PTR -36[rbp]
mov BYTE PTR [rax], dl
jmp .L268
.L269:
mov DWORD PTR -28[rbp], 388
mov DWORD PTR -24[rbp], 0
jmp .L270
.L276:
mov edx, DWORD PTR -28[rbp]
mov eax, DWORD PTR -24[rbp]
add eax, edx
mov edx, eax
shr edx, 31
add eax, edx
sar eax
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -20[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, translit[rip]
movzx eax, WORD PTR [rdx+rax]
movzx eax, ax
cmp DWORD PTR -36[rbp], eax
jne .L271
mov eax, DWORD PTR -32[rbp]
lea edx, 1[rax]
mov DWORD PTR -32[rbp], edx
movsx rdx, eax
mov rax, QWORD PTR -16[rbp]
add rdx, rax
mov eax, DWORD PTR -20[rbp]
cdqe
lea rcx, 0[0+rax*4]
lea rax, translit[rip+2]
movzx eax, BYTE PTR [rcx+rax]
mov BYTE PTR [rdx], al
mov eax, DWORD PTR -20[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, translit[rip+3]
movzx eax, BYTE PTR [rdx+rax]
test al, al
je .L272
mov eax, DWORD PTR -32[rbp]
lea edx, 1[rax]
mov DWORD PTR -32[rbp], edx
movsx rdx, eax
mov rax, QWORD PTR -16[rbp]
add rdx, rax
mov eax, DWORD PTR -20[rbp]
cdqe
lea rcx, 0[0+rax*4]
lea rax, translit[rip+3]
movzx eax, BYTE PTR [rcx+rax]
mov BYTE PTR [rdx], al
cmp DWORD PTR -36[rbp], 1065
je .L273
cmp DWORD PTR -36[rbp], 1097
jne .L272
.L273:
mov eax, DWORD PTR -32[rbp]
lea edx, 1[rax]
mov DWORD PTR -32[rbp], edx
movsx rdx, eax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
mov BYTE PTR [rax], 99
mov eax, DWORD PTR -32[rbp]
lea edx, 1[rax]
mov DWORD PTR -32[rbp], edx
movsx rdx, eax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
mov BYTE PTR [rax], 104
.L272:
mov DWORD PTR -36[rbp], 0
jmp .L274
.L271:
mov eax, DWORD PTR -20[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, translit[rip]
movzx eax, WORD PTR [rdx+rax]
movzx eax, ax
cmp DWORD PTR -36[rbp], eax
jge .L275
mov eax, DWORD PTR -20[rbp]
sub eax, 1
mov DWORD PTR -28[rbp], eax
jmp .L270
.L275:
mov eax, DWORD PTR -20[rbp]
add eax, 1
mov DWORD PTR -24[rbp], eax
.L270:
mov eax, DWORD PTR -28[rbp]
cmp eax, DWORD PTR -24[rbp]
jge .L276
.L274:
cmp DWORD PTR -36[rbp], 0
je .L268
mov eax, DWORD PTR -32[rbp]
lea edx, 1[rax]
mov DWORD PTR -32[rbp], edx
movsx rdx, eax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
mov BYTE PTR [rax], 63
.L268:
cmp DWORD PTR -60[rbp], 0
jg .L277
mov eax, DWORD PTR -32[rbp]
movsx rdx, eax
mov rax, QWORD PTR -16[rbp]
add rax, rdx
mov BYTE PTR [rax], 0
mov rax, QWORD PTR -16[rbp]
.L278:
mov rsi, QWORD PTR -8[rbp]
sub rsi, QWORD PTR fs:40
je .L279
call __stack_chk_fail@PLT
.L279:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE29:
.size transliterate, .-transliterate
.type translen_to_charlen, @function
translen_to_charlen:
.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, 64
mov QWORD PTR -56[rbp], rdi
mov DWORD PTR -60[rbp], esi
mov DWORD PTR -64[rbp], edx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -32[rbp], 0
mov eax, DWORD PTR -32[rbp]
mov DWORD PTR -36[rbp], eax
mov DWORD PTR -28[rbp], 0
jmp .L281
.L291:
mov eax, DWORD PTR -60[rbp]
sub eax, DWORD PTR -36[rbp]
mov edx, DWORD PTR -36[rbp]
movsx rcx, edx
mov rdx, QWORD PTR -56[rbp]
add rcx, rdx
lea rdx, -40[rbp]
mov esi, eax
mov rdi, rcx
call utf8Read
mov DWORD PTR -16[rbp], eax
mov eax, DWORD PTR -40[rbp]
add DWORD PTR -36[rbp], eax
add DWORD PTR -32[rbp], 1
cmp DWORD PTR -16[rbp], 127
jle .L282
mov DWORD PTR -24[rbp], 388
mov DWORD PTR -20[rbp], 0
jmp .L283
.L289:
mov edx, DWORD PTR -24[rbp]
mov eax, DWORD PTR -20[rbp]
add eax, edx
mov edx, eax
shr edx, 31
add eax, edx
sar eax
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -12[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, translit[rip]
movzx eax, WORD PTR [rdx+rax]
movzx eax, ax
cmp DWORD PTR -16[rbp], eax
jne .L284
mov eax, DWORD PTR -12[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, translit[rip+3]
movzx eax, BYTE PTR [rdx+rax]
test al, al
je .L285
add DWORD PTR -32[rbp], 1
.L285:
cmp DWORD PTR -16[rbp], 1065
je .L286
cmp DWORD PTR -16[rbp], 1097
jne .L294
.L286:
add DWORD PTR -32[rbp], 2
jmp .L294
.L284:
mov eax, DWORD PTR -12[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, translit[rip]
movzx eax, WORD PTR [rdx+rax]
movzx eax, ax
cmp DWORD PTR -16[rbp], eax
jge .L288
mov eax, DWORD PTR -12[rbp]
sub eax, 1
mov DWORD PTR -24[rbp], eax
jmp .L283
.L288:
mov eax, DWORD PTR -12[rbp]
add eax, 1
mov DWORD PTR -20[rbp], eax
.L283:
mov eax, DWORD PTR -24[rbp]
cmp eax, DWORD PTR -20[rbp]
jge .L289
jmp .L282
.L294:
nop
.L282:
add DWORD PTR -28[rbp], 1
.L281:
mov eax, DWORD PTR -36[rbp]
cmp eax, DWORD PTR -60[rbp]
jge .L290
mov eax, DWORD PTR -32[rbp]
cmp eax, DWORD PTR -64[rbp]
jl .L291
.L290:
mov eax, DWORD PTR -28[rbp]
mov rsi, QWORD PTR -8[rbp]
sub rsi, QWORD PTR fs:40
je .L293
call __stack_chk_fail@PLT
.L293:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE30:
.size translen_to_charlen, .-translen_to_charlen
.type transliterateSqlFunc, @function
transliterateSqlFunc:
.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, 64
mov QWORD PTR -40[rbp], rdi
mov DWORD PTR -44[rbp], esi
mov QWORD PTR -56[rbp], rdx
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 872[rax]
mov rax, QWORD PTR -56[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 824[rax]
mov rax, QWORD PTR -56[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov DWORD PTR -20[rbp], eax
mov edx, DWORD PTR -20[rbp]
mov rax, QWORD PTR -16[rbp]
mov esi, edx
mov rdi, rax
call transliterate
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
jne .L296
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 1096[rax]
mov rax, QWORD PTR -40[rbp]
mov rdi, rax
call rdx
jmp .L298
.L296:
mov rax, QWORD PTR sqlite3_api[rip]
mov r8, QWORD PTR 680[rax]
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rsi, QWORD PTR -8[rbp]
mov rax, QWORD PTR -40[rbp]
mov rcx, rdx
mov edx, -1
mov rdi, rax
call r8
.L298:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE31:
.size transliterateSqlFunc, .-transliterateSqlFunc
.type scriptCodeSqlFunc, @function
scriptCodeSqlFunc:
.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, 80
mov QWORD PTR -56[rbp], rdi
mov DWORD PTR -60[rbp], esi
mov QWORD PTR -72[rbp], rdx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 872[rax]
mov rax, QWORD PTR -72[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 824[rax]
mov rax, QWORD PTR -72[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov DWORD PTR -32[rbp], eax
mov DWORD PTR -28[rbp], 0
jmp .L300
.L303:
lea rdx, -36[rbp]
mov ecx, DWORD PTR -32[rbp]
mov rax, QWORD PTR -16[rbp]
mov esi, ecx
mov rdi, rax
call utf8Read
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -36[rbp]
cdqe
add QWORD PTR -16[rbp], rax
mov eax, DWORD PTR -36[rbp]
sub DWORD PTR -32[rbp], eax
cmp DWORD PTR -20[rbp], 686
jg .L301
or DWORD PTR -28[rbp], 1
jmp .L300
.L301:
cmp DWORD PTR -20[rbp], 1023
jle .L302
cmp DWORD PTR -20[rbp], 1279
jg .L302
or DWORD PTR -28[rbp], 2
jmp .L300
.L302:
cmp DWORD PTR -20[rbp], 901
jle .L300
cmp DWORD PTR -20[rbp], 974
jg .L300
or DWORD PTR -28[rbp], 4
.L300:
cmp DWORD PTR -32[rbp], 0
jg .L303
cmp DWORD PTR -28[rbp], 4
je .L304
cmp DWORD PTR -28[rbp], 4
jg .L305
cmp DWORD PTR -28[rbp], 2
je .L306
cmp DWORD PTR -28[rbp], 2
jg .L305
cmp DWORD PTR -28[rbp], 0
je .L307
cmp DWORD PTR -28[rbp], 1
je .L308
jmp .L305
.L307:
mov DWORD PTR -24[rbp], 999
jmp .L309
.L308:
mov DWORD PTR -24[rbp], 215
jmp .L309
.L306:
mov DWORD PTR -24[rbp], 220
jmp .L309
.L304:
mov DWORD PTR -24[rbp], 200
jmp .L309
.L305:
mov DWORD PTR -24[rbp], 998
nop
.L309:
mov rax, QWORD PTR sqlite3_api[rip]
mov rcx, QWORD PTR 656[rax]
mov edx, DWORD PTR -24[rbp]
mov rax, QWORD PTR -56[rbp]
mov esi, edx
mov rdi, rax
call rcx
nop
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L310
call __stack_chk_fail@PLT
.L310:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE32:
.size scriptCodeSqlFunc, .-scriptCodeSqlFunc
.type spellfix1DbExec, @function
spellfix1DbExec:
.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, 256
mov QWORD PTR -232[rbp], rdi
mov QWORD PTR -240[rbp], rsi
mov QWORD PTR -248[rbp], rdx
mov QWORD PTR -152[rbp], rcx
mov QWORD PTR -144[rbp], r8
mov QWORD PTR -136[rbp], r9
test al, al
je .L312
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
.L312:
mov rax, QWORD PTR fs:40
mov QWORD PTR -184[rbp], rax
xor eax, eax
mov rax, QWORD PTR -232[rbp]
mov eax, DWORD PTR [rax]
test eax, eax
jne .L318
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 rax, QWORD PTR sqlite3_api[rip]
mov rcx, QWORD PTR 912[rax]
lea rdx, -208[rbp]
mov rax, QWORD PTR -248[rbp]
mov rsi, rdx
mov rdi, rax
call rcx
mov QWORD PTR -216[rbp], rax
cmp QWORD PTR -216[rbp], 0
jne .L315
mov rax, QWORD PTR -232[rbp]
mov DWORD PTR [rax], 7
jmp .L311
.L315:
mov rax, QWORD PTR sqlite3_api[rip]
mov r9, QWORD PTR 440[rax]
mov rsi, QWORD PTR -216[rbp]
mov rax, QWORD PTR -240[rbp]
mov r8d, 0
mov ecx, 0
mov edx, 0
mov rdi, rax
call r9
mov rdx, QWORD PTR -232[rbp]
mov DWORD PTR [rdx], eax
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -216[rbp]
mov rdi, rax
call rdx
jmp .L311
.L318:
nop
.L311:
mov rax, QWORD PTR -184[rbp]
sub rax, QWORD PTR fs:40
je .L317
call __stack_chk_fail@PLT
.L317:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE33:
.size spellfix1DbExec, .-spellfix1DbExec
.section .rodata
.align 8
.LC11:
.string "DROP TABLE IF EXISTS \"%w\".\"%w_vocab\""
.text
.type spellfix1Uninit, @function
spellfix1Uninit:
.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, 48
mov DWORD PTR -36[rbp], edi
mov QWORD PTR -48[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov rax, QWORD PTR -48[rbp]
mov QWORD PTR -24[rbp], rax
mov DWORD PTR -28[rbp], 0
cmp DWORD PTR -36[rbp], 0
je .L320
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 24[rax]
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -24[rbp]
mov rcx, QWORD PTR 40[rax]
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR 32[rax]
mov rsi, QWORD PTR -16[rbp]
lea rax, -28[rbp]
mov r8, rcx
mov rcx, rdx
lea rdx, .LC11[rip]
mov rdi, rax
mov eax, 0
call spellfix1DbExec
.L320:
mov eax, DWORD PTR -28[rbp]
test eax, eax
jne .L321
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 40[rax]
mov rdi, rax
call rdx
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 56[rax]
mov rdi, rax
call editDist3ConfigDelete
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 48[rax]
mov rdi, rax
call rdx
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call rdx
.L321:
mov eax, DWORD PTR -28[rbp]
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L323
call __stack_chk_fail@PLT
.L323:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE34:
.size spellfix1Uninit, .-spellfix1Uninit
.type spellfix1Disconnect, @function
spellfix1Disconnect:
.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, 16
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov rsi, rax
mov edi, 0
call spellfix1Uninit
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE35:
.size spellfix1Disconnect, .-spellfix1Disconnect
.type spellfix1Destroy, @function
spellfix1Destroy:
.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, 16
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov rsi, rax
mov edi, 1
call spellfix1Uninit
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE36:
.size spellfix1Destroy, .-spellfix1Destroy
.section .rodata
.LC12:
.string "%s"
.text
.type spellfix1Dequote, @function
spellfix1Dequote:
.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, 48
mov QWORD PTR -40[rbp], rdi
jmp .L329
.L330:
add QWORD PTR -40[rbp], 1
.L329:
call __ctype_b_loc@PLT
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -40[rbp]
movzx eax, BYTE PTR [rax]
movsx rax, al
add rax, rax
add rax, rdx
movzx eax, WORD PTR [rax]
movzx eax, ax
and eax, 8192
test eax, eax
jne .L330
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 552[rax]
mov rax, QWORD PTR -40[rbp]
mov rsi, rax
lea rdi, .LC12[rip]
mov eax, 0
call rdx
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
jne .L331
mov eax, 0
jmp .L332
.L331:
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call strlen@PLT
mov DWORD PTR -16[rbp], eax
mov eax, DWORD PTR -16[rbp]
movsx rdx, eax
mov rax, QWORD PTR -8[rbp]
add rax, rdx
mov BYTE PTR [rax], 0
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR [rax]
mov BYTE PTR -17[rbp], al
cmp BYTE PTR -17[rbp], 39
je .L333
cmp BYTE PTR -17[rbp], 34
jne .L334
.L333:
mov DWORD PTR -16[rbp], 1
mov DWORD PTR -12[rbp], 0
.L337:
mov eax, DWORD PTR -16[rbp]
movsx rdx, eax
mov rax, QWORD PTR -8[rbp]
lea rcx, [rdx+rax]
mov eax, DWORD PTR -12[rbp]
lea edx, 1[rax]
mov DWORD PTR -12[rbp], edx
movsx rdx, eax
mov rax, QWORD PTR -8[rbp]
add rdx, rax
movzx eax, BYTE PTR [rcx]
mov BYTE PTR [rdx], al
mov eax, DWORD PTR -16[rbp]
movsx rdx, eax
mov rax, QWORD PTR -8[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
cmp BYTE PTR -17[rbp], al
jne .L335
mov eax, DWORD PTR -16[rbp]
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -8[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
cmp BYTE PTR -17[rbp], al
jne .L336
add DWORD PTR -16[rbp], 1
jmp .L335
.L336:
mov eax, DWORD PTR -12[rbp]
cdqe
lea rdx, -1[rax]
mov rax, QWORD PTR -8[rbp]
add rax, rdx
mov BYTE PTR [rax], 0
jmp .L334
.L335:
add DWORD PTR -16[rbp], 1
jmp .L337
.L334:
mov rax, QWORD PTR -8[rbp]
.L332:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE37:
.size spellfix1Dequote, .-spellfix1Dequote
.section .rodata
.align 8
.LC13:
.string "CREATE TABLE x(word,rank,distance,langid, score, matchlen, phonehash HIDDEN, top HIDDEN, scope HIDDEN, srchcnt HIDDEN, soundslike HIDDEN, command HIDDEN)"
.align 8
.LC14:
.string "CREATE TABLE IF NOT EXISTS \"%w\".\"%w_vocab\"(\n id INTEGER PRIMARY KEY,\n rank INT,\n langid INT,\n word TEXT,\n k1 TEXT,\n k2 TEXT\n);\n"
.align 8
.LC15:
.string "CREATE INDEX IF NOT EXISTS \"%w\".\"%w_index_%llx\" ON \"%w_vocab\"(langid,k2);"
.LC16:
.string "edit_cost_table="
.align 8
.LC17:
.string "bad argument to spellfix1(): \"%s\""
.text
.type spellfix1Init, @function
spellfix1Init:
.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, 112
mov DWORD PTR -68[rbp], edi
mov QWORD PTR -80[rbp], rsi
mov QWORD PTR -88[rbp], rdx
mov DWORD PTR -72[rbp], ecx
mov QWORD PTR -96[rbp], r8
mov QWORD PTR -104[rbp], r9
mov rax, QWORD PTR 16[rbp]
mov QWORD PTR -112[rbp], rax
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov QWORD PTR -40[rbp], 0
mov rax, QWORD PTR -96[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -32[rbp], rax
mov rax, QWORD PTR -96[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -24[rbp], rax
mov rax, QWORD PTR -96[rbp]
mov rax, QWORD PTR 16[rax]
mov QWORD PTR -16[rbp], rax
mov DWORD PTR -60[rbp], 0
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call strlen@PLT
mov DWORD PTR -52[rbp], eax
mov rax, QWORD PTR sqlite3_api[rip]
mov rax, QWORD PTR 544[rax]
mov edx, DWORD PTR -52[rbp]
add edx, 65
mov edi, edx
call rax
mov QWORD PTR -40[rbp], rax
cmp QWORD PTR -40[rbp], 0
jne .L339
mov DWORD PTR -60[rbp], 7
jmp .L340
.L339:
mov rax, QWORD PTR -40[rbp]
mov edx, 64
mov esi, 0
mov rdi, rax
call memset@PLT
mov rax, QWORD PTR -40[rbp]
lea rdx, 64[rax]
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR 32[rax], rdx
mov eax, DWORD PTR -52[rbp]
add eax, 1
movsx rdx, eax
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR 32[rax]
mov rcx, QWORD PTR -24[rbp]
mov rsi, rcx
mov rdi, rax
call memcpy@PLT
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 552[rax]
mov rax, QWORD PTR -16[rbp]
mov rsi, rax
lea rdi, .LC12[rip]
mov eax, 0
call rdx
mov rdx, QWORD PTR -40[rbp]
mov QWORD PTR 40[rdx], rax
mov rax, QWORD PTR -40[rbp]
mov rdx, QWORD PTR -80[rbp]
mov QWORD PTR 24[rax], rdx
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR 40[rax]
test rax, rax
jne .L341
mov DWORD PTR -60[rbp], 7
jmp .L342
.L341:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 400[rax]
mov rax, QWORD PTR -80[rbp]
lea rsi, .LC13[rip]
mov rdi, rax
call rdx
mov DWORD PTR -60[rbp], eax
.L342:
mov eax, DWORD PTR -60[rbp]
test eax, eax
jne .L343
cmp DWORD PTR -68[rbp], 0
je .L343
mov rcx, QWORD PTR -16[rbp]
mov rdx, QWORD PTR -24[rbp]
mov rsi, QWORD PTR -80[rbp]
lea rax, -60[rbp]
mov r8, rcx
mov rcx, rdx
lea rdx, .LC14[rip]
mov rdi, rax
mov eax, 0
call spellfix1DbExec
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 1184[rax]
lea rax, -48[rbp]
mov rsi, rax
mov edi, 8
call rdx
mov rdi, QWORD PTR -48[rbp]
mov rcx, QWORD PTR -32[rbp]
mov rdx, QWORD PTR -24[rbp]
mov rsi, QWORD PTR -80[rbp]
lea rax, -60[rbp]
sub rsp, 8
push QWORD PTR -16[rbp]
mov r9, rdi
mov r8, rcx
mov rcx, rdx
lea rdx, .LC15[rip]
mov rdi, rax
mov eax, 0
call spellfix1DbExec
add rsp, 16
.L343:
mov DWORD PTR -56[rbp], 3
jmp .L344
.L348:
mov eax, DWORD PTR -56[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -96[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
mov edx, 16
lea rsi, .LC16[rip]
mov rdi, rax
call strncmp@PLT
test eax, eax
jne .L345
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR 48[rax]
test rax, rax
jne .L345
mov eax, DWORD PTR -56[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -96[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
add rax, 16
mov rdi, rax
call spellfix1Dequote
mov rdx, QWORD PTR -40[rbp]
mov QWORD PTR 48[rdx], rax
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR 48[rax]
test rax, rax
jne .L353
mov DWORD PTR -60[rbp], 7
jmp .L353
.L345:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 552[rax]
mov eax, DWORD PTR -56[rbp]
cdqe
lea rcx, 0[0+rax*8]
mov rax, QWORD PTR -96[rbp]
add rax, rcx
mov rax, QWORD PTR [rax]
mov rsi, rax
lea rdi, .LC17[rip]
mov eax, 0
call rdx
mov rdx, QWORD PTR -112[rbp]
mov QWORD PTR [rdx], rax
mov DWORD PTR -60[rbp], 1
jmp .L347
.L353:
nop
.L347:
add DWORD PTR -56[rbp], 1
.L344:
mov eax, DWORD PTR -60[rbp]
test eax, eax
jne .L340
mov eax, DWORD PTR -56[rbp]
cmp eax, DWORD PTR -72[rbp]
jl .L348
.L340:
mov eax, DWORD PTR -60[rbp]
test eax, eax
je .L349
cmp QWORD PTR -40[rbp], 0
je .L349
mov rax, QWORD PTR -104[rbp]
mov QWORD PTR [rax], 0
mov rax, QWORD PTR -40[rbp]
mov rsi, rax
mov edi, 0
call spellfix1Uninit
jmp .L350
.L349:
mov rax, QWORD PTR -104[rbp]
mov rdx, QWORD PTR -40[rbp]
mov QWORD PTR [rax], rdx
.L350:
mov eax, DWORD PTR -60[rbp]
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L352
call __stack_chk_fail@PLT
.L352:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE38:
.size spellfix1Init, .-spellfix1Init
.type spellfix1Connect, @function
spellfix1Connect:
.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, 48
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
mov DWORD PTR -20[rbp], edx
mov QWORD PTR -32[rbp], rcx
mov QWORD PTR -40[rbp], r8
mov QWORD PTR -48[rbp], r9
mov rdi, QWORD PTR -40[rbp]
mov rsi, QWORD PTR -32[rbp]
mov ecx, DWORD PTR -20[rbp]
mov rdx, QWORD PTR -16[rbp]
mov rax, QWORD PTR -8[rbp]
sub rsp, 8
push QWORD PTR -48[rbp]
mov r9, rdi
mov r8, rsi
mov rsi, rax
mov edi, 0
call spellfix1Init
add rsp, 16
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE39:
.size spellfix1Connect, .-spellfix1Connect
.type spellfix1Create, @function
spellfix1Create:
.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, 48
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
mov DWORD PTR -20[rbp], edx
mov QWORD PTR -32[rbp], rcx
mov QWORD PTR -40[rbp], r8
mov QWORD PTR -48[rbp], r9
mov rdi, QWORD PTR -40[rbp]
mov rsi, QWORD PTR -32[rbp]
mov ecx, DWORD PTR -20[rbp]
mov rdx, QWORD PTR -16[rbp]
mov rax, QWORD PTR -8[rbp]
sub rsp, 8
push QWORD PTR -48[rbp]
mov r9, rdi
mov r8, rsi
mov rsi, rax
mov edi, 1
call spellfix1Init
add rsp, 16
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE40:
.size spellfix1Create, .-spellfix1Create
.type spellfix1ResetCursor, @function
spellfix1ResetCursor:
.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, 32
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -4[rbp], 0
jmp .L359
.L360:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -24[rbp]
mov rsi, QWORD PTR 64[rax]
mov eax, DWORD PTR -4[rbp]
movsx rcx, eax
mov rax, rcx
sal rax, 2
add rax, rcx
sal rax, 3
add rax, rsi
mov rax, QWORD PTR 8[rax]
mov rdi, rax
call rdx
add DWORD PTR -4[rbp], 1
.L359:
mov rax, QWORD PTR -24[rbp]
mov eax, DWORD PTR 24[rax]
cmp DWORD PTR -4[rbp], eax
jl .L360
mov rax, QWORD PTR -24[rbp]
mov DWORD PTR 24[rax], 0
mov rax, QWORD PTR -24[rbp]
mov DWORD PTR 32[rax], 0
mov rax, QWORD PTR -24[rbp]
mov DWORD PTR 48[rax], 0
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 56[rax]
test rax, rax
je .L362
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 456[rax]
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 56[rax]
mov rdi, rax
call rdx
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR 56[rax], 0
.L362:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE41:
.size spellfix1ResetCursor, .-spellfix1ResetCursor
.section .rodata
.LC18:
.string "N>=pCur->nRow"
.text
.type spellfix1ResizeCursor, @function
spellfix1ResizeCursor:
.LFB42:
.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 eax, DWORD PTR 24[rax]
cmp DWORD PTR -28[rbp], eax
jge .L364
lea rcx, __PRETTY_FUNCTION__.2[rip]
mov edx, 2019
lea rsi, .LC0[rip]
lea rdi, .LC18[rip]
call __assert_fail@PLT
.L364:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 608[rax]
mov eax, DWORD PTR -28[rbp]
cdqe
mov ecx, eax
mov eax, ecx
sal eax, 2
add eax, ecx
sal eax, 3
mov ecx, eax
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 64[rax]
mov esi, ecx
mov rdi, rax
call rdx
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
jne .L365
cmp DWORD PTR -28[rbp], 0
jle .L365
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call spellfix1ResetCursor
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 64[rax]
mov rdi, rax
call rdx
mov rax, QWORD PTR -24[rbp]
mov DWORD PTR 28[rax], 0
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR 64[rax], 0
jmp .L366
.L365:
mov rax, QWORD PTR -24[rbp]
mov edx, DWORD PTR -28[rbp]
mov DWORD PTR 28[rax], edx
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 64[rax], rdx
nop
.L366:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE42:
.size spellfix1ResizeCursor, .-spellfix1ResizeCursor
.type spellfix1Close, @function
spellfix1Close:
.LFB43:
.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 QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call spellfix1ResetCursor
mov rax, QWORD PTR -8[rbp]
mov esi, 0
mov rdi, rax
call spellfix1ResizeCursor
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rax]
mov rdi, rax
call rdx
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call rdx
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE43:
.size spellfix1Close, .-spellfix1Close
.type spellfix1BestIndex, @function
spellfix1BestIndex:
.LFB44:
.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 -36[rbp], 0
mov DWORD PTR -32[rbp], -1
mov DWORD PTR -28[rbp], -1
mov DWORD PTR -24[rbp], -1
mov DWORD PTR -20[rbp], -1
mov rax, QWORD PTR -64[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -8[rbp], rax
mov DWORD PTR -16[rbp], 0
jmp .L370
.L380:
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR 5[rax]
test al, al
je .L389
mov eax, DWORD PTR -36[rbp]
and eax, 1
test eax, eax
jne .L373
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR [rax]
test eax, eax
jne .L373
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR 4[rax]
cmp al, 64
jne .L373
or DWORD PTR -36[rbp], 1
mov rax, QWORD PTR -64[rbp]
mov rdx, QWORD PTR 32[rax]
mov eax, DWORD PTR -16[rbp]
cdqe
sal rax, 3
add rax, rdx
mov DWORD PTR [rax], 1
mov rax, QWORD PTR -64[rbp]
mov rdx, QWORD PTR 32[rax]
mov eax, DWORD PTR -16[rbp]
cdqe
sal rax, 3
add rax, rdx
mov BYTE PTR 4[rax], 1
.L373:
mov eax, DWORD PTR -36[rbp]
and eax, 2
test eax, eax
jne .L374
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR [rax]
cmp eax, 3
jne .L374
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR 4[rax]
cmp al, 2
jne .L374
or DWORD PTR -36[rbp], 2
mov eax, DWORD PTR -16[rbp]
mov DWORD PTR -32[rbp], eax
.L374:
mov eax, DWORD PTR -36[rbp]
and eax, 4
test eax, eax
jne .L375
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR [rax]
cmp eax, 7
jne .L375
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR 4[rax]
cmp al, 2
jne .L375
or DWORD PTR -36[rbp], 4
mov eax, DWORD PTR -16[rbp]
mov DWORD PTR -28[rbp], eax
.L375:
mov eax, DWORD PTR -36[rbp]
and eax, 8
test eax, eax
jne .L376
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR [rax]
cmp eax, 8
jne .L376
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR 4[rax]
cmp al, 2
jne .L376
or DWORD PTR -36[rbp], 8
mov eax, DWORD PTR -16[rbp]
mov DWORD PTR -24[rbp], eax
.L376:
mov eax, DWORD PTR -36[rbp]
and eax, 48
test eax, eax
jne .L372
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR [rax]
cmp eax, 2
jne .L372
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR 4[rax]
cmp al, 16
je .L377
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR 4[rax]
cmp al, 8
jne .L372
.L377:
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR 4[rax]
cmp al, 16
jne .L378
mov eax, 16
jmp .L379
.L378:
mov eax, 32
.L379:
or DWORD PTR -36[rbp], eax
mov eax, DWORD PTR -16[rbp]
mov DWORD PTR -20[rbp], eax
jmp .L372
.L389:
nop
.L372:
add DWORD PTR -16[rbp], 1
add QWORD PTR -8[rbp], 12
.L370:
mov rax, QWORD PTR -64[rbp]
mov eax, DWORD PTR [rax]
cmp DWORD PTR -16[rbp], eax
jl .L380
mov eax, DWORD PTR -36[rbp]
and eax, 1
test eax, eax
je .L381
mov DWORD PTR -12[rbp], 2
mov rax, QWORD PTR -64[rbp]
mov edx, DWORD PTR -36[rbp]
mov DWORD PTR 40[rax], edx
mov rax, QWORD PTR -64[rbp]
mov eax, DWORD PTR 16[rax]
cmp eax, 1
jne .L382
mov rax, QWORD PTR -64[rbp]
mov rax, QWORD PTR 24[rax]
mov eax, DWORD PTR [rax]
cmp eax, 4
jne .L382
mov rax, QWORD PTR -64[rbp]
mov rax, QWORD PTR 24[rax]
movzx eax, BYTE PTR 4[rax]
test al, al
jne .L382
mov rax, QWORD PTR -64[rbp]
mov DWORD PTR 60[rax], 1
.L382:
mov eax, DWORD PTR -36[rbp]
and eax, 2
test eax, eax
je .L383
mov eax, DWORD PTR -12[rbp]
lea edx, 1[rax]
mov DWORD PTR -12[rbp], edx
mov rdx, QWORD PTR -64[rbp]
mov rcx, QWORD PTR 32[rdx]
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sal rdx, 3
add rdx, rcx
mov DWORD PTR [rdx], eax
mov rax, QWORD PTR -64[rbp]
mov rdx, QWORD PTR 32[rax]
mov eax, DWORD PTR -32[rbp]
cdqe
sal rax, 3
add rax, rdx
mov BYTE PTR 4[rax], 1
.L383:
mov eax, DWORD PTR -36[rbp]
and eax, 4
test eax, eax
je .L384
mov eax, DWORD PTR -12[rbp]
lea edx, 1[rax]
mov DWORD PTR -12[rbp], edx
mov rdx, QWORD PTR -64[rbp]
mov rcx, QWORD PTR 32[rdx]
mov edx, DWORD PTR -28[rbp]
movsx rdx, edx
sal rdx, 3
add rdx, rcx
mov DWORD PTR [rdx], eax
mov rax, QWORD PTR -64[rbp]
mov rdx, QWORD PTR 32[rax]
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 3
add rax, rdx
mov BYTE PTR 4[rax], 1
.L384:
mov eax, DWORD PTR -36[rbp]
and eax, 8
test eax, eax
je .L385
mov eax, DWORD PTR -12[rbp]
lea edx, 1[rax]
mov DWORD PTR -12[rbp], edx
mov rdx, QWORD PTR -64[rbp]
mov rcx, QWORD PTR 32[rdx]
mov edx, DWORD PTR -24[rbp]
movsx rdx, edx
sal rdx, 3
add rdx, rcx
mov DWORD PTR [rdx], eax
mov rax, QWORD PTR -64[rbp]
mov rdx, QWORD PTR 32[rax]
mov eax, DWORD PTR -24[rbp]
cdqe
sal rax, 3
add rax, rdx
mov BYTE PTR 4[rax], 1
.L385:
mov eax, DWORD PTR -36[rbp]
and eax, 48
test eax, eax
je .L386
mov eax, DWORD PTR -12[rbp]
lea edx, 1[rax]
mov DWORD PTR -12[rbp], edx
mov rdx, QWORD PTR -64[rbp]
mov rcx, QWORD PTR 32[rdx]
mov edx, DWORD PTR -20[rbp]
movsx rdx, edx
sal rdx, 3
add rdx, rcx
mov DWORD PTR [rdx], eax
mov rax, QWORD PTR -64[rbp]
mov rdx, QWORD PTR 32[rax]
mov eax, DWORD PTR -20[rbp]
cdqe
sal rax, 3
add rax, rdx
mov BYTE PTR 4[rax], 1
.L386:
mov rax, QWORD PTR -64[rbp]
movsd xmm0, QWORD PTR .LC19[rip]
movsd QWORD PTR 64[rax], xmm0
jmp .L387
.L381:
mov rax, QWORD PTR -64[rbp]
mov DWORD PTR 40[rax], 0
mov rax, QWORD PTR -64[rbp]
movsd xmm0, QWORD PTR .LC20[rip]
movsd QWORD PTR 64[rax], xmm0
.L387:
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE44:
.size spellfix1BestIndex, .-spellfix1BestIndex
.type spellfix1Open, @function
spellfix1Open:
.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, 32
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR sqlite3_api[rip]
mov rax, QWORD PTR 544[rax]
mov edi, 72
call rax
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
jne .L391
mov eax, 7
jmp .L392
.L391:
mov rax, QWORD PTR -8[rbp]
mov edx, 72
mov esi, 0
mov rdi, rax
call memset@PLT
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR -16[rbp]
mov QWORD PTR 8[rax], rdx
mov rdx, QWORD PTR -8[rbp]
mov rax, QWORD PTR -32[rbp]
mov QWORD PTR [rax], rdx
mov eax, 0
.L392:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE45:
.size spellfix1Open, .-spellfix1Open
.type spellfix1Score, @function
spellfix1Score:
.LFB46:
.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 -4[rbp], 0
jmp .L394
.L395:
add DWORD PTR -4[rbp], 1
sar DWORD PTR -24[rbp]
.L394:
cmp DWORD PTR -24[rbp], 0
jg .L395
mov eax, DWORD PTR -20[rbp]
add eax, 32
sub eax, DWORD PTR -4[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE46:
.size spellfix1Score, .-spellfix1Score
.type spellfix1RowCompare, @function
spellfix1RowCompare:
.LFB47:
.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 edx, DWORD PTR 24[rax]
mov rax, QWORD PTR -8[rbp]
mov ecx, DWORD PTR 24[rax]
mov eax, edx
sub eax, ecx
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE47:
.size spellfix1RowCompare, .-spellfix1RowCompare
.section .rodata
.LC21:
.string "p->nRun<SPELLFIX_MX_RUN"
.text
.type spellfix1RunQuery, @function
spellfix1RunQuery:
.LFB48:
.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, 144
.cfi_offset 12, -24
.cfi_offset 3, -32
mov QWORD PTR -136[rbp], rdi
mov QWORD PTR -144[rbp], rsi
mov DWORD PTR -148[rbp], edx
mov rax, QWORD PTR fs:40
mov QWORD PTR -24[rbp], rax
xor eax, eax
mov DWORD PTR -120[rbp], 0
mov DWORD PTR -112[rbp], -1
mov rax, QWORD PTR -136[rbp]
mov eax, DWORD PTR 68[rax]
mov DWORD PTR -104[rbp], eax
mov rax, QWORD PTR -136[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -80[rbp], rax
mov rax, QWORD PTR -136[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -72[rbp], rax
mov rax, QWORD PTR -80[rbp]
mov rax, QWORD PTR 64[rax]
test rax, rax
je .L434
mov rax, QWORD PTR -136[rbp]
mov eax, DWORD PTR 76[rax]
test eax, eax
jne .L434
mov edx, DWORD PTR -148[rbp]
mov rax, QWORD PTR -144[rbp]
mov esi, edx
mov rdi, rax
call phoneticHash
mov QWORD PTR -64[rbp], rax
cmp QWORD PTR -64[rbp], 0
jne .L403
mov rax, QWORD PTR -136[rbp]
mov DWORD PTR 76[rax], 7
jmp .L399
.L403:
mov rax, QWORD PTR -64[rbp]
mov rdi, rax
call strlen@PLT
mov DWORD PTR -100[rbp], eax
cmp DWORD PTR -100[rbp], 6
jle .L404
mov DWORD PTR -100[rbp], 6
mov eax, DWORD PTR -100[rbp]
movsx rdx, eax
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov BYTE PTR [rax], 0
.L404:
mov eax, DWORD PTR -100[rbp]
cmp eax, DWORD PTR -104[rbp]
jg .L405
cmp DWORD PTR -100[rbp], 2
jle .L406
mov eax, DWORD PTR -100[rbp]
sub eax, 1
mov DWORD PTR -104[rbp], eax
jmp .L405
.L406:
mov eax, DWORD PTR -100[rbp]
mov DWORD PTR -104[rbp], eax
.L405:
mov eax, DWORD PTR -104[rbp]
movsx rdx, eax
mov rcx, QWORD PTR -64[rbp]
lea rax, -40[rbp]
mov rsi, rcx
mov rdi, rax
call memcpy@PLT
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -64[rbp]
mov rdi, rax
call rdx
mov eax, DWORD PTR -104[rbp]
cdqe
mov BYTE PTR -40[rbp+rax], 0
mov eax, DWORD PTR -104[rbp]
movsx rdx, eax
lea rcx, -40[rbp]
lea rax, -32[rbp]
mov rsi, rcx
mov rdi, rax
call memcpy@PLT
mov eax, DWORD PTR -104[rbp]
cdqe
mov BYTE PTR -32[rbp+rax], 90
mov eax, DWORD PTR -104[rbp]
add eax, 1
cdqe
mov BYTE PTR -32[rbp+rax], 0
mov rax, QWORD PTR -136[rbp]
mov eax, DWORD PTR 80[rax]
test eax, eax
jle .L407
lea rcx, __PRETTY_FUNCTION__.1[rip]
mov edx, 2266
lea rsi, .LC0[rip]
lea rdi, .LC21[rip]
call __assert_fail@PLT
.L407:
mov eax, DWORD PTR -104[rbp]
add eax, 1
movsx rdx, eax
mov rax, QWORD PTR -136[rbp]
mov eax, DWORD PTR 80[rax]
lea esi, 1[rax]
mov rcx, QWORD PTR -136[rbp]
mov DWORD PTR 80[rcx], esi
cdqe
add rax, 10
lea rcx, 0[0+rax*8]
mov rax, QWORD PTR -136[rbp]
add rax, rcx
lea rcx, 4[rax]
lea rax, -40[rbp]
mov rsi, rax
mov rdi, rcx
call memcpy@PLT
mov rax, QWORD PTR sqlite3_api[rip]
mov r9, QWORD PTR 80[rax]
lea rdx, -40[rbp]
mov rax, QWORD PTR -72[rbp]
mov r8d, 0
mov ecx, -1
mov esi, 1
mov rdi, rax
call r9
cmp eax, 7
je .L408
mov rax, QWORD PTR sqlite3_api[rip]
mov r9, QWORD PTR 80[rax]
lea rdx, -32[rbp]
mov rax, QWORD PTR -72[rbp]
mov r8d, 0
mov ecx, -1
mov esi, 2
mov rdi, rax
call r9
cmp eax, 7
jne .L410
.L408:
mov rax, QWORD PTR -136[rbp]
mov DWORD PTR 76[rax], 7
jmp .L399
.L430:
mov DWORD PTR -128[rbp], -1
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 224[rax]
mov rax, QWORD PTR -72[rbp]
mov esi, 2
mov rdi, rax
call rdx
mov DWORD PTR -96[rbp], eax
mov rax, QWORD PTR -136[rbp]
mov rax, QWORD PTR 40[rax]
test rax, rax
je .L411
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 160[rax]
mov rax, QWORD PTR -72[rbp]
mov esi, 1
mov rdi, rax
call rdx
mov DWORD PTR -92[rbp], eax
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 288[rax]
mov rax, QWORD PTR -72[rbp]
mov esi, 1
mov rdi, rax
call rdx
mov QWORD PTR -48[rbp], rax
mov rax, QWORD PTR -136[rbp]
mov rcx, QWORD PTR 56[rax]
mov rax, QWORD PTR -136[rbp]
mov rax, QWORD PTR 40[rax]
lea rdi, -128[rbp]
mov edx, DWORD PTR -92[rbp]
mov rsi, QWORD PTR -48[rbp]
mov r8, rdi
mov rdi, rax
call editDist3Core
mov DWORD PTR -124[rbp], eax
jmp .L412
.L411:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 288[rax]
mov rax, QWORD PTR -72[rbp]
mov esi, 3
mov rdi, rax
call rdx
mov QWORD PTR -56[rbp], rax
cmp QWORD PTR -56[rbp], 0
je .L435
mov rax, QWORD PTR -136[rbp]
mov rax, QWORD PTR 24[rax]
mov rcx, QWORD PTR -56[rbp]
mov edx, 0
mov rsi, rcx
mov rdi, rax
call editdist1
mov DWORD PTR -124[rbp], eax
.L412:
cmp DWORD PTR -124[rbp], 0
jns .L415
mov rax, QWORD PTR -136[rbp]
mov DWORD PTR 76[rax], 7
jmp .L429
.L415:
mov rax, QWORD PTR -80[rbp]
mov eax, DWORD PTR 48[rax]
lea edx, 1[rax]
mov rax, QWORD PTR -80[rbp]
mov DWORD PTR 48[rax], edx
mov edx, DWORD PTR -96[rbp]
mov eax, DWORD PTR -124[rbp]
mov esi, edx
mov edi, eax
call spellfix1Score
mov DWORD PTR -88[rbp], eax
mov rax, QWORD PTR -136[rbp]
mov eax, DWORD PTR 72[rax]
test eax, eax
js .L417
mov rax, QWORD PTR -136[rbp]
mov eax, DWORD PTR 72[rax]
cmp DWORD PTR -124[rbp], eax
jg .L436
mov rax, QWORD PTR -80[rbp]
mov edx, DWORD PTR 24[rax]
mov rax, QWORD PTR -80[rbp]
mov eax, DWORD PTR 28[rax]
sub eax, 1
cmp edx, eax
jl .L419
mov rax, QWORD PTR -80[rbp]
mov eax, DWORD PTR 28[rax]
add eax, 5
lea edx, [rax+rax]
mov rax, QWORD PTR -80[rbp]
mov esi, edx
mov rdi, rax
call spellfix1ResizeCursor
mov rax, QWORD PTR -80[rbp]
mov rax, QWORD PTR 64[rax]
test rax, rax
je .L437
.L419:
mov rax, QWORD PTR -80[rbp]
mov eax, DWORD PTR 24[rax]
mov DWORD PTR -116[rbp], eax
jmp .L420
.L417:
mov rax, QWORD PTR -80[rbp]
mov edx, DWORD PTR 24[rax]
mov rax, QWORD PTR -80[rbp]
mov eax, DWORD PTR 28[rax]
cmp edx, eax
jge .L421
mov rax, QWORD PTR -80[rbp]
mov eax, DWORD PTR 24[rax]
mov DWORD PTR -116[rbp], eax
jmp .L420
.L421:
mov eax, DWORD PTR -88[rbp]
cmp eax, DWORD PTR -120[rbp]
jge .L438
mov eax, DWORD PTR -112[rbp]
mov DWORD PTR -116[rbp], eax
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -80[rbp]
mov rsi, QWORD PTR 64[rax]
mov eax, DWORD PTR -116[rbp]
movsx rcx, eax
mov rax, rcx
sal rax, 2
add rax, rcx
sal rax, 3
add rax, rsi
mov rax, QWORD PTR 8[rax]
mov rdi, rax
call rdx
.L420:
mov rax, QWORD PTR sqlite3_api[rip]
mov rbx, QWORD PTR 552[rax]
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 288[rax]
mov rax, QWORD PTR -72[rbp]
mov esi, 1
mov rdi, rax
call rdx
mov rcx, rax
mov rax, QWORD PTR -80[rbp]
mov rsi, QWORD PTR 64[rax]
mov eax, DWORD PTR -116[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
sal rax, 3
lea r12, [rsi+rax]
mov rsi, rcx
lea rdi, .LC12[rip]
mov eax, 0
call rbx
mov QWORD PTR 8[r12], rax
mov rax, QWORD PTR -80[rbp]
mov rcx, QWORD PTR 64[rax]
mov eax, DWORD PTR -116[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
sal rax, 3
add rax, rcx
mov rax, QWORD PTR 8[rax]
test rax, rax
jne .L423
mov rax, QWORD PTR -136[rbp]
mov DWORD PTR 76[rax], 7
jmp .L429
.L423:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 232[rax]
mov rax, QWORD PTR -80[rbp]
mov rsi, QWORD PTR 64[rax]
mov eax, DWORD PTR -116[rbp]
movsx rcx, eax
mov rax, rcx
sal rax, 2
add rax, rcx
sal rax, 3
lea rbx, [rsi+rax]
mov rax, QWORD PTR -72[rbp]
mov esi, 0
mov rdi, rax
call rdx
mov QWORD PTR [rbx], rax
mov rax, QWORD PTR -80[rbp]
mov rcx, QWORD PTR 64[rax]
mov eax, DWORD PTR -116[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
sal rax, 3
lea rdx, [rcx+rax]
mov eax, DWORD PTR -96[rbp]
mov DWORD PTR 16[rdx], eax
mov rax, QWORD PTR -80[rbp]
mov rcx, QWORD PTR 64[rax]
mov eax, DWORD PTR -116[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
sal rax, 3
lea rdx, [rcx+rax]
mov eax, DWORD PTR -124[rbp]
mov DWORD PTR 20[rdx], eax
mov rax, QWORD PTR -80[rbp]
mov rcx, QWORD PTR 64[rax]
mov eax, DWORD PTR -116[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
sal rax, 3
lea rdx, [rcx+rax]
mov eax, DWORD PTR -88[rbp]
mov DWORD PTR 24[rdx], eax
mov rax, QWORD PTR -80[rbp]
mov rcx, QWORD PTR 64[rax]
mov eax, DWORD PTR -116[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
sal rax, 3
lea rdx, [rcx+rax]
mov eax, DWORD PTR -128[rbp]
mov DWORD PTR 28[rdx], eax
mov eax, DWORD PTR -104[rbp]
add eax, 1
movsx rdx, eax
mov rax, QWORD PTR -80[rbp]
mov rsi, QWORD PTR 64[rax]
mov eax, DWORD PTR -116[rbp]
movsx rcx, eax
mov rax, rcx
sal rax, 2
add rax, rcx
sal rax, 3
add rax, rsi
lea rcx, 32[rax]
lea rax, -40[rbp]
mov rsi, rax
mov rdi, rcx
call memcpy@PLT
mov rax, QWORD PTR -80[rbp]
mov edx, DWORD PTR 24[rax]
mov rax, QWORD PTR -80[rbp]
mov eax, DWORD PTR 28[rax]
cmp edx, eax
jge .L424
mov rax, QWORD PTR -80[rbp]
mov eax, DWORD PTR 24[rax]
lea edx, 1[rax]
mov rax, QWORD PTR -80[rbp]
mov DWORD PTR 24[rax], edx
.L424:
mov rax, QWORD PTR -80[rbp]
mov edx, DWORD PTR 24[rax]
mov rax, QWORD PTR -80[rbp]
mov eax, DWORD PTR 28[rax]
cmp edx, eax
jne .L410
mov rax, QWORD PTR -80[rbp]
mov rax, QWORD PTR 64[rax]
mov eax, DWORD PTR 24[rax]
mov DWORD PTR -120[rbp], eax
mov DWORD PTR -112[rbp], 0
mov DWORD PTR -108[rbp], 1
jmp .L426
.L428:
mov rax, QWORD PTR -80[rbp]
mov rcx, QWORD PTR 64[rax]
mov eax, DWORD PTR -108[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
sal rax, 3
add rax, rcx
mov eax, DWORD PTR 24[rax]
mov DWORD PTR -88[rbp], eax
mov eax, DWORD PTR -120[rbp]
cmp eax, DWORD PTR -88[rbp]
jge .L427
mov eax, DWORD PTR -88[rbp]
mov DWORD PTR -120[rbp], eax
mov eax, DWORD PTR -108[rbp]
mov DWORD PTR -112[rbp], eax
.L427:
add DWORD PTR -108[rbp], 1
.L426:
mov rax, QWORD PTR -80[rbp]
mov eax, DWORD PTR 24[rax]
cmp DWORD PTR -108[rbp], eax
jl .L428
jmp .L410
.L435:
nop
jmp .L410
.L436:
nop
jmp .L410
.L438:
nop
.L410:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 752[rax]
mov rax, QWORD PTR -72[rbp]
mov rdi, rax
call rdx
cmp eax, 100
je .L430
jmp .L429
.L437:
nop
.L429:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 616[rax]
mov rax, QWORD PTR -72[rbp]
mov rdi, rax
call rdx
mov DWORD PTR -84[rbp], eax
cmp DWORD PTR -84[rbp], 0
je .L399
mov rax, QWORD PTR -136[rbp]
mov edx, DWORD PTR -84[rbp]
mov DWORD PTR 76[rax], edx
jmp .L399
.L434:
nop
.L399:
mov rax, QWORD PTR -24[rbp]
sub rax, QWORD PTR fs:40
je .L433
call __stack_chk_fail@PLT
.L433:
add rsp, 144
pop rbx
pop r12
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE48:
.size spellfix1RunQuery, .-spellfix1RunQuery
.section .rodata
.align 8
.LC22:
.string "SELECT id, word, rank, k1 FROM \"%w\".\"%w_vocab\" WHERE langid=%d AND k2>=?1 AND k2<?2"
.text
.type spellfix1FilterForMatch, @function
spellfix1FilterForMatch:
.LFB49:
.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 -200[rbp], rdi
mov DWORD PTR -204[rbp], esi
mov DWORD PTR -208[rbp], edx
mov QWORD PTR -216[rbp], rcx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov QWORD PTR -152[rbp], 0
mov DWORD PTR -180[rbp], 20
mov DWORD PTR -168[rbp], 3
mov DWORD PTR -176[rbp], 0
mov QWORD PTR -160[rbp], 0
mov DWORD PTR -172[rbp], 1
mov rax, QWORD PTR -200[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -144[rbp], rax
mov rax, QWORD PTR -144[rbp]
mov rax, QWORD PTR 48[rax]
test rax, rax
je .L440
mov rax, QWORD PTR -144[rbp]
mov rax, QWORD PTR 56[rax]
test rax, rax
jne .L440
mov rax, QWORD PTR sqlite3_api[rip]
mov rax, QWORD PTR 544[rax]
mov edi, 16
call rax
mov rdx, QWORD PTR -144[rbp]
mov QWORD PTR 56[rdx], rax
mov rax, QWORD PTR -144[rbp]
mov rax, QWORD PTR 56[rax]
test rax, rax
jne .L441
mov eax, 7
jmp .L458
.L441:
mov rax, QWORD PTR -144[rbp]
mov rax, QWORD PTR 56[rax]
mov edx, 16
mov esi, 0
mov rdi, rax
call memset@PLT
mov rax, QWORD PTR -144[rbp]
mov rdx, QWORD PTR 48[rax]
mov rax, QWORD PTR -144[rbp]
mov rcx, QWORD PTR 24[rax]
mov rax, QWORD PTR -144[rbp]
mov rax, QWORD PTR 56[rax]
mov rsi, rcx
mov rdi, rax
call editDist3ConfigLoad
mov DWORD PTR -164[rbp], eax
cmp DWORD PTR -164[rbp], 0
je .L440
mov eax, DWORD PTR -164[rbp]
jmp .L458
.L440:
lea rax, -112[rbp]
mov edx, 96
mov esi, 0
mov rdi, rax
call memset@PLT
mov DWORD PTR -44[rbp], 3
mov DWORD PTR -40[rbp], -1
mov eax, DWORD PTR -204[rbp]
and eax, 2
test eax, eax
je .L443
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 848[rax]
mov eax, DWORD PTR -172[rbp]
lea ecx, 1[rax]
mov DWORD PTR -172[rbp], ecx
cdqe
lea rcx, 0[0+rax*8]
mov rax, QWORD PTR -216[rbp]
add rax, rcx
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov DWORD PTR -176[rbp], eax
.L443:
mov eax, DWORD PTR -204[rbp]
and eax, 4
test eax, eax
je .L444
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 848[rax]
mov eax, DWORD PTR -172[rbp]
lea ecx, 1[rax]
mov DWORD PTR -172[rbp], ecx
cdqe
lea rcx, 0[0+rax*8]
mov rax, QWORD PTR -216[rbp]
add rax, rcx
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov DWORD PTR -180[rbp], eax
cmp DWORD PTR -180[rbp], 0
jg .L444
mov DWORD PTR -180[rbp], 1
.L444:
mov eax, DWORD PTR -204[rbp]
and eax, 8
test eax, eax
je .L445
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 848[rax]
mov eax, DWORD PTR -172[rbp]
lea ecx, 1[rax]
mov DWORD PTR -172[rbp], ecx
cdqe
lea rcx, 0[0+rax*8]
mov rax, QWORD PTR -216[rbp]
add rax, rcx
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov DWORD PTR -44[rbp], eax
mov eax, DWORD PTR -44[rbp]
test eax, eax
jg .L446
mov DWORD PTR -44[rbp], 1
.L446:
mov eax, DWORD PTR -44[rbp]
cmp eax, 6
jle .L445
mov DWORD PTR -44[rbp], 6
.L445:
mov eax, DWORD PTR -204[rbp]
and eax, 48
test eax, eax
je .L447
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 848[rax]
mov eax, DWORD PTR -172[rbp]
lea ecx, 1[rax]
mov DWORD PTR -172[rbp], ecx
cdqe
lea rcx, 0[0+rax*8]
mov rax, QWORD PTR -216[rbp]
add rax, rcx
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov DWORD PTR -40[rbp], eax
mov eax, DWORD PTR -204[rbp]
and eax, 16
test eax, eax
je .L448
mov eax, DWORD PTR -40[rbp]
sub eax, 1
mov DWORD PTR -40[rbp], eax
.L448:
mov eax, DWORD PTR -40[rbp]
test eax, eax
jns .L447
mov DWORD PTR -40[rbp], 0
.L447:
mov rax, QWORD PTR -200[rbp]
mov rdi, rax
call spellfix1ResetCursor
mov edx, DWORD PTR -180[rbp]
mov rax, QWORD PTR -200[rbp]
mov esi, edx
mov rdi, rax
call spellfix1ResizeCursor
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 872[rax]
mov rax, QWORD PTR -216[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov QWORD PTR -136[rbp], rax
cmp QWORD PTR -136[rbp], 0
jne .L449
mov eax, 0
jmp .L458
.L449:
mov rax, QWORD PTR -144[rbp]
mov rax, QWORD PTR 56[rax]
test rax, rax
je .L450
mov rax, QWORD PTR -144[rbp]
mov rax, QWORD PTR 56[rax]
mov edx, DWORD PTR -176[rbp]
mov esi, edx
mov rdi, rax
call editDist3FindLang
mov QWORD PTR -56[rbp], rax
mov rax, QWORD PTR -56[rbp]
mov rcx, QWORD PTR -136[rbp]
mov edx, -1
mov rsi, rcx
mov rdi, rax
call editDist3FromStringNew
mov QWORD PTR -152[rbp], rax
cmp QWORD PTR -152[rbp], 0
jne .L451
mov DWORD PTR -36[rbp], 7
jmp .L452
.L450:
mov QWORD PTR -56[rbp], 0
.L451:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 824[rax]
mov rax, QWORD PTR -216[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov edx, eax
mov rax, QWORD PTR -136[rbp]
mov esi, edx
mov rdi, rax
call transliterate
mov QWORD PTR -128[rbp], rax
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -200[rbp]
mov rax, QWORD PTR 16[rax]
mov rdi, rax
call rdx
mov rax, QWORD PTR -200[rbp]
mov rdx, QWORD PTR -128[rbp]
mov QWORD PTR 16[rax], rdx
cmp QWORD PTR -128[rbp], 0
jne .L453
mov DWORD PTR -36[rbp], 7
jmp .L452
.L453:
mov rax, QWORD PTR -128[rbp]
mov rdi, rax
call strlen@PLT
mov DWORD PTR -184[rbp], eax
mov eax, DWORD PTR -184[rbp]
cdqe
lea rdx, -1[rax]
mov rax, QWORD PTR -128[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
cmp al, 42
jne .L454
sub DWORD PTR -184[rbp], 1
.L454:
mov rax, QWORD PTR sqlite3_api[rip]
mov r8, QWORD PTR 552[rax]
mov rax, QWORD PTR -144[rbp]
mov rdx, QWORD PTR 40[rax]
mov rax, QWORD PTR -144[rbp]
mov rax, QWORD PTR 32[rax]
mov ecx, DWORD PTR -176[rbp]
mov rsi, rax
lea rdi, .LC22[rip]
mov eax, 0
call r8
mov QWORD PTR -120[rbp], rax
cmp QWORD PTR -120[rbp], 0
jne .L455
mov DWORD PTR -36[rbp], 7
mov QWORD PTR -160[rbp], 0
jmp .L452
.L455:
mov rax, QWORD PTR sqlite3_api[rip]
mov r9, QWORD PTR 928[rax]
mov rax, QWORD PTR -144[rbp]
mov rax, QWORD PTR 24[rax]
lea rdx, -160[rbp]
mov rsi, QWORD PTR -120[rbp]
mov r8d, 0
mov rcx, rdx
mov edx, -1
mov rdi, rax
call r9
mov DWORD PTR -164[rbp], eax
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -120[rbp]
mov rdi, rax
call rdx
mov rax, QWORD PTR -200[rbp]
mov edx, DWORD PTR -176[rbp]
mov DWORD PTR 36[rax], edx
mov rax, QWORD PTR -200[rbp]
mov QWORD PTR -112[rbp], rax
mov rax, QWORD PTR -160[rbp]
mov QWORD PTR -104[rbp], rax
mov rax, QWORD PTR -128[rbp]
mov QWORD PTR -88[rbp], rax
mov eax, DWORD PTR -184[rbp]
mov DWORD PTR -80[rbp], eax
mov rax, QWORD PTR -152[rbp]
mov QWORD PTR -72[rbp], rax
mov eax, DWORD PTR -176[rbp]
mov DWORD PTR -48[rbp], eax
mov eax, DWORD PTR -164[rbp]
mov DWORD PTR -36[rbp], eax
mov rax, QWORD PTR -144[rbp]
mov rax, QWORD PTR 56[rax]
mov QWORD PTR -64[rbp], rax
mov eax, DWORD PTR -36[rbp]
test eax, eax
jne .L456
mov edx, DWORD PTR -184[rbp]
mov rcx, QWORD PTR -128[rbp]
lea rax, -112[rbp]
mov rsi, rcx
mov rdi, rax
call spellfix1RunQuery
.L456:
mov rax, QWORD PTR -200[rbp]
mov rax, QWORD PTR 64[rax]
test rax, rax
je .L457
mov rax, QWORD PTR -200[rbp]
mov eax, DWORD PTR 24[rax]
movsx rsi, eax
mov rax, QWORD PTR -200[rbp]
mov rax, QWORD PTR 64[rax]
lea rcx, spellfix1RowCompare[rip]
mov edx, 40
mov rdi, rax
call qsort@PLT
mov rax, QWORD PTR -200[rbp]
mov edx, DWORD PTR -180[rbp]
mov DWORD PTR 40[rax], edx
mov rax, QWORD PTR -200[rbp]
mov edx, DWORD PTR -168[rbp]
mov DWORD PTR 44[rax], edx
jmp .L452
.L457:
mov DWORD PTR -36[rbp], 7
.L452:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 456[rax]
mov rax, QWORD PTR -160[rbp]
mov rdi, rax
call rdx
mov rax, QWORD PTR -152[rbp]
mov rdi, rax
call editDist3FromStringDelete
mov eax, DWORD PTR -36[rbp]
.L458:
mov rsi, QWORD PTR -8[rbp]
sub rsi, QWORD PTR fs:40
je .L459
call __stack_chk_fail@PLT
.L459:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE49:
.size spellfix1FilterForMatch, .-spellfix1FilterForMatch
.section .rodata
.align 8
.LC23:
.string "SELECT word, rank, NULL, langid, id FROM \"%w\".\"%w_vocab\""
.text
.type spellfix1FilterForFullScan, @function
spellfix1FilterForFullScan:
.LFB50:
.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 DWORD PTR -44[rbp], esi
mov DWORD PTR -48[rbp], edx
mov QWORD PTR -56[rbp], rcx
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -40[rbp]
mov rdi, rax
call spellfix1ResetCursor
mov rax, QWORD PTR sqlite3_api[rip]
mov rcx, QWORD PTR 552[rax]
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 40[rax]
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 32[rax]
mov rsi, rax
lea rdi, .LC23[rip]
mov eax, 0
call rcx
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
jne .L461
mov eax, 7
jmp .L462
.L461:
mov rax, QWORD PTR sqlite3_api[rip]
mov r9, QWORD PTR 928[rax]
mov rax, QWORD PTR -40[rbp]
lea rdx, 56[rax]
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 24[rax]
mov rsi, QWORD PTR -8[rbp]
mov r8d, 0
mov rcx, rdx
mov edx, -1
mov rdi, rax
call r9
mov DWORD PTR -20[rbp], eax
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call rdx
mov rax, QWORD PTR -40[rbp]
mov DWORD PTR 32[rax], 0
mov rax, QWORD PTR -40[rbp]
mov edx, DWORD PTR 32[rax]
mov rax, QWORD PTR -40[rbp]
mov DWORD PTR 24[rax], edx
cmp DWORD PTR -20[rbp], 0
jne .L463
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 752[rax]
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR 56[rax]
mov rdi, rax
call rdx
mov DWORD PTR -20[rbp], eax
cmp DWORD PTR -20[rbp], 100
jne .L464
mov rax, QWORD PTR -40[rbp]
mov DWORD PTR 32[rax], -1
mov DWORD PTR -20[rbp], 0
.L464:
cmp DWORD PTR -20[rbp], 101
jne .L465
mov DWORD PTR -20[rbp], 0
jmp .L465
.L463:
mov rax, QWORD PTR -40[rbp]
mov DWORD PTR 32[rax], 0
.L465:
mov eax, DWORD PTR -20[rbp]
.L462:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE50:
.size spellfix1FilterForFullScan, .-spellfix1FilterForFullScan
.type spellfix1Filter, @function
spellfix1Filter:
.LFB51:
.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 DWORD PTR -28[rbp], esi
mov QWORD PTR -40[rbp], rdx
mov DWORD PTR -32[rbp], ecx
mov QWORD PTR -48[rbp], r8
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR -8[rbp], rax
mov eax, DWORD PTR -28[rbp]
and eax, 1
test eax, eax
je .L467
mov rcx, QWORD PTR -48[rbp]
mov edx, DWORD PTR -32[rbp]
mov esi, DWORD PTR -28[rbp]
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call spellfix1FilterForMatch
mov DWORD PTR -12[rbp], eax
jmp .L468
.L467:
mov rcx, QWORD PTR -48[rbp]
mov edx, DWORD PTR -32[rbp]
mov esi, DWORD PTR -28[rbp]
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call spellfix1FilterForFullScan
mov DWORD PTR -12[rbp], eax
.L468:
mov eax, DWORD PTR -12[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE51:
.size spellfix1Filter, .-spellfix1Filter
.type spellfix1Next, @function
spellfix1Next:
.LFB52:
.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 QWORD PTR -8[rbp], rax
mov DWORD PTR -12[rbp], 0
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR 32[rax]
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 24[rax]
cmp edx, eax
jge .L471
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 56[rax]
test rax, rax
je .L472
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 752[rax]
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 56[rax]
mov rdi, rax
call rdx
mov DWORD PTR -12[rbp], eax
cmp DWORD PTR -12[rbp], 100
je .L473
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR 24[rax]
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR 32[rax], edx
.L473:
cmp DWORD PTR -12[rbp], 100
je .L474
cmp DWORD PTR -12[rbp], 101
jne .L471
.L474:
mov DWORD PTR -12[rbp], 0
jmp .L471
.L472:
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 32[rax]
lea edx, 1[rax]
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR 32[rax], edx
.L471:
mov eax, DWORD PTR -12[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE52:
.size spellfix1Next, .-spellfix1Next
.type spellfix1Eof, @function
spellfix1Eof:
.LFB53:
.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
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR 32[rax]
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 24[rax]
cmp edx, eax
setge al
movzx eax, al
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE53:
.size spellfix1Eof, .-spellfix1Eof
.type spellfix1Column, @function
spellfix1Column:
.LFB54:
.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, 88
.cfi_offset 3, -24
mov QWORD PTR -72[rbp], rdi
mov QWORD PTR -80[rbp], rsi
mov DWORD PTR -84[rbp], edx
mov rax, QWORD PTR fs:40
mov QWORD PTR -24[rbp], rax
xor eax, eax
mov rax, QWORD PTR -72[rbp]
mov QWORD PTR -48[rbp], rax
mov rax, QWORD PTR -48[rbp]
mov rax, QWORD PTR 56[rax]
test rax, rax
je .L479
cmp DWORD PTR -84[rbp], 3
jg .L480
mov rax, QWORD PTR sqlite3_api[rip]
mov rbx, QWORD PTR 712[rax]
mov rax, QWORD PTR sqlite3_api[rip]
mov rcx, QWORD PTR 312[rax]
mov rax, QWORD PTR -48[rbp]
mov rax, QWORD PTR 56[rax]
mov edx, DWORD PTR -84[rbp]
mov esi, edx
mov rdi, rax
call rcx
mov rdx, rax
mov rax, QWORD PTR -80[rbp]
mov rsi, rdx
mov rdi, rax
call rbx
jmp .L481
.L480:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 672[rax]
mov rax, QWORD PTR -80[rbp]
mov rdi, rax
call rdx
.L481:
mov eax, 0
jmp .L482
.L479:
cmp DWORD PTR -84[rbp], 9
ja .L483
mov eax, DWORD PTR -84[rbp]
lea rdx, 0[0+rax*4]
lea rax, .L485[rip]
mov eax, DWORD PTR [rdx+rax]
cdqe
lea rdx, .L485[rip]
add rax, rdx
notrack jmp rax
.section .rodata
.align 4
.align 4
.L485:
.long .L494-.L485
.long .L493-.L485
.long .L492-.L485
.long .L491-.L485
.long .L490-.L485
.long .L489-.L485
.long .L488-.L485
.long .L487-.L485
.long .L486-.L485
.long .L484-.L485
.text
.L494:
mov rax, QWORD PTR sqlite3_api[rip]
mov r8, QWORD PTR 680[rax]
mov rax, QWORD PTR -48[rbp]
mov rcx, QWORD PTR 64[rax]
mov rax, QWORD PTR -48[rbp]
mov eax, DWORD PTR 32[rax]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
sal rax, 3
add rax, rcx
mov rsi, QWORD PTR 8[rax]
mov rax, QWORD PTR -80[rbp]
mov ecx, 0
mov edx, -1
mov rdi, rax
call r8
jmp .L495
.L493:
mov rax, QWORD PTR sqlite3_api[rip]
mov rcx, QWORD PTR 656[rax]
mov rax, QWORD PTR -48[rbp]
mov rsi, QWORD PTR 64[rax]
mov rax, QWORD PTR -48[rbp]
mov eax, DWORD PTR 32[rax]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
sal rax, 3
add rax, rsi
mov edx, DWORD PTR 16[rax]
mov rax, QWORD PTR -80[rbp]
mov esi, edx
mov rdi, rax
call rcx
jmp .L495
.L492:
mov rax, QWORD PTR sqlite3_api[rip]
mov rcx, QWORD PTR 656[rax]
mov rax, QWORD PTR -48[rbp]
mov rsi, QWORD PTR 64[rax]
mov rax, QWORD PTR -48[rbp]
mov eax, DWORD PTR 32[rax]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
sal rax, 3
add rax, rsi
mov edx, DWORD PTR 20[rax]
mov rax, QWORD PTR -80[rbp]
mov esi, edx
mov rdi, rax
call rcx
jmp .L495
.L491:
mov rax, QWORD PTR sqlite3_api[rip]
mov rcx, QWORD PTR 656[rax]
mov rax, QWORD PTR -48[rbp]
mov edx, DWORD PTR 36[rax]
mov rax, QWORD PTR -80[rbp]
mov esi, edx
mov rdi, rax
call rcx
jmp .L495
.L490:
mov rax, QWORD PTR sqlite3_api[rip]
mov rcx, QWORD PTR 656[rax]
mov rax, QWORD PTR -48[rbp]
mov rsi, QWORD PTR 64[rax]
mov rax, QWORD PTR -48[rbp]
mov eax, DWORD PTR 32[rax]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
sal rax, 3
add rax, rsi
mov edx, DWORD PTR 24[rax]
mov rax, QWORD PTR -80[rbp]
mov esi, edx
mov rdi, rax
call rcx
jmp .L495
.L489:
mov rax, QWORD PTR -48[rbp]
mov rcx, QWORD PTR 64[rax]
mov rax, QWORD PTR -48[rbp]
mov eax, DWORD PTR 32[rax]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
sal rax, 3
add rax, rcx
mov eax, DWORD PTR 28[rax]
mov DWORD PTR -64[rbp], eax
mov eax, DWORD PTR -64[rbp]
test eax, eax
jns .L496
mov rax, QWORD PTR -48[rbp]
mov rax, QWORD PTR 16[rax]
mov rdi, rax
call strlen@PLT
mov DWORD PTR -60[rbp], eax
mov rax, QWORD PTR -48[rbp]
mov rcx, QWORD PTR 64[rax]
mov rax, QWORD PTR -48[rbp]
mov eax, DWORD PTR 32[rax]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
sal rax, 3
add rax, rcx
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -40[rbp], rax
mov rax, QWORD PTR -40[rbp]
mov rdi, rax
call strlen@PLT
mov DWORD PTR -56[rbp], eax
cmp DWORD PTR -60[rbp], 0
jle .L497
mov rax, QWORD PTR -48[rbp]
mov rdx, QWORD PTR 16[rax]
mov eax, DWORD PTR -60[rbp]
cdqe
sub rax, 1
add rax, rdx
movzx eax, BYTE PTR [rax]
cmp al, 42
jne .L497
mov edx, DWORD PTR -56[rbp]
mov rax, QWORD PTR -40[rbp]
mov esi, edx
mov rdi, rax
call transliterate
mov QWORD PTR -32[rbp], rax
cmp QWORD PTR -32[rbp], 0
jne .L498
mov eax, 7
jmp .L482
.L498:
mov rax, QWORD PTR -48[rbp]
mov rax, QWORD PTR 16[rax]
lea rdx, -64[rbp]
mov rcx, QWORD PTR -32[rbp]
mov rsi, rcx
mov rdi, rax
call editdist1
mov DWORD PTR -52[rbp], eax
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -32[rbp]
mov rdi, rax
call rdx
cmp DWORD PTR -52[rbp], 0
jns .L500
mov eax, 7
jmp .L482
.L500:
mov edx, DWORD PTR -64[rbp]
mov ecx, DWORD PTR -56[rbp]
mov rax, QWORD PTR -40[rbp]
mov esi, ecx
mov rdi, rax
call translen_to_charlen
mov DWORD PTR -64[rbp], eax
jmp .L496
.L497:
mov edx, DWORD PTR -56[rbp]
mov rax, QWORD PTR -40[rbp]
mov esi, edx
mov rdi, rax
call utf8Charlen
mov DWORD PTR -64[rbp], eax
.L496:
mov rax, QWORD PTR sqlite3_api[rip]
mov rcx, QWORD PTR 656[rax]
mov edx, DWORD PTR -64[rbp]
mov rax, QWORD PTR -80[rbp]
mov esi, edx
mov rdi, rax
call rcx
jmp .L495
.L488:
mov rax, QWORD PTR sqlite3_api[rip]
mov r8, QWORD PTR 680[rax]
mov rax, QWORD PTR -48[rbp]
mov rcx, QWORD PTR 64[rax]
mov rax, QWORD PTR -48[rbp]
mov eax, DWORD PTR 32[rax]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
sal rax, 3
add rax, rcx
lea rsi, 32[rax]
mov rax, QWORD PTR -80[rbp]
mov ecx, 0
mov edx, -1
mov rdi, rax
call r8
jmp .L495
.L487:
mov rax, QWORD PTR sqlite3_api[rip]
mov rcx, QWORD PTR 656[rax]
mov rax, QWORD PTR -48[rbp]
mov edx, DWORD PTR 40[rax]
mov rax, QWORD PTR -80[rbp]
mov esi, edx
mov rdi, rax
call rcx
jmp .L495
.L486:
mov rax, QWORD PTR sqlite3_api[rip]
mov rcx, QWORD PTR 656[rax]
mov rax, QWORD PTR -48[rbp]
mov edx, DWORD PTR 44[rax]
mov rax, QWORD PTR -80[rbp]
mov esi, edx
mov rdi, rax
call rcx
jmp .L495
.L484:
mov rax, QWORD PTR sqlite3_api[rip]
mov rcx, QWORD PTR 656[rax]
mov rax, QWORD PTR -48[rbp]
mov edx, DWORD PTR 48[rax]
mov rax, QWORD PTR -80[rbp]
mov esi, edx
mov rdi, rax
call rcx
jmp .L495
.L483:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 672[rax]
mov rax, QWORD PTR -80[rbp]
mov rdi, rax
call rdx
nop
.L495:
mov eax, 0
.L482:
mov rbx, QWORD PTR -24[rbp]
sub rbx, QWORD PTR fs:40
je .L501
call __stack_chk_fail@PLT
.L501:
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE54:
.size spellfix1Column, .-spellfix1Column
.type spellfix1Rowid, @function
spellfix1Rowid:
.LFB55:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 56[rax]
test rax, rax
je .L503
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 232[rax]
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 56[rax]
mov esi, 4
mov rdi, rax
call rdx
mov rdx, QWORD PTR -32[rbp]
mov QWORD PTR [rdx], rax
jmp .L504
.L503:
mov rax, QWORD PTR -8[rbp]
mov rcx, QWORD PTR 64[rax]
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 32[rax]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
sal rax, 3
add rax, rcx
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -32[rbp]
mov QWORD PTR [rax], rdx
.L504:
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE55:
.size spellfix1Rowid, .-spellfix1Rowid
.section .rodata
.align 8
.LC24:
.string "DELETE FROM \"%w\".\"%w_vocab\" WHERE id=%lld"
.LC25:
.string "%s.word may not be NULL"
.LC26:
.string "reset"
.LC27:
.string "null"
.align 8
.LC28:
.string "unknown value for %s.command: \"%w\""
.align 8
.LC29:
.string "INSERT INTO \"%w\".\"%w_vocab\"(rank,langid,word,k1,k2) VALUES(%d,%d,%Q,%Q,%Q)"
.align 8
.LC30:
.string "UPDATE \"%w\".\"%w_vocab\" SET id=%lld, rank=%d, langid=%d, word=%Q, k1=%Q, k2=%Q WHERE id=%lld"
.text
.type spellfix1Update, @function
spellfix1Update:
.LFB56:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 144
mov QWORD PTR -120[rbp], rdi
mov DWORD PTR -124[rbp], esi
mov QWORD PTR -136[rbp], rdx
mov QWORD PTR -144[rbp], rcx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -104[rbp], 0
mov rax, QWORD PTR -120[rbp]
mov QWORD PTR -72[rbp], rax
mov rax, QWORD PTR -72[rbp]
mov rax, QWORD PTR 24[rax]
mov QWORD PTR -64[rbp], rax
cmp DWORD PTR -124[rbp], 1
jne .L507
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 856[rax]
mov rax, QWORD PTR -136[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov rdx, QWORD PTR -144[rbp]
mov QWORD PTR [rdx], rax
mov rax, QWORD PTR -144[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -32[rbp], rax
mov rax, QWORD PTR -72[rbp]
mov rcx, QWORD PTR 40[rax]
mov rax, QWORD PTR -72[rbp]
mov rdx, QWORD PTR 32[rax]
mov rdi, QWORD PTR -32[rbp]
mov rsi, QWORD PTR -64[rbp]
lea rax, -104[rbp]
mov r9, rdi
mov r8, rcx
mov rcx, rdx
lea rdx, .LC24[rip]
mov rdi, rax
mov eax, 0
call spellfix1DbExec
jmp .L508
.L507:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 872[rax]
mov rax, QWORD PTR -136[rbp]
add rax, 16
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov QWORD PTR -56[rbp], rax
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 824[rax]
mov rax, QWORD PTR -136[rbp]
add rax, 16
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov DWORD PTR -92[rbp], eax
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 848[rax]
mov rax, QWORD PTR -136[rbp]
add rax, 40
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov DWORD PTR -88[rbp], eax
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 848[rax]
mov rax, QWORD PTR -136[rbp]
add rax, 24
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov DWORD PTR -100[rbp], eax
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 872[rax]
mov rax, QWORD PTR -136[rbp]
add rax, 96
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov QWORD PTR -48[rbp], rax
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 824[rax]
mov rax, QWORD PTR -136[rbp]
add rax, 96
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov DWORD PTR -84[rbp], eax
cmp QWORD PTR -56[rbp], 0
jne .L509
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 872[rax]
mov rax, QWORD PTR -136[rbp]
add rax, 104
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov QWORD PTR -16[rbp], rax
cmp QWORD PTR -16[rbp], 0
jne .L510
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 552[rax]
mov rax, QWORD PTR -72[rbp]
mov rax, QWORD PTR 40[rax]
mov rsi, rax
lea rdi, .LC25[rip]
mov eax, 0
call rdx
mov rdx, QWORD PTR -120[rbp]
mov QWORD PTR 16[rdx], rax
mov eax, 1299
jmp .L527
.L510:
mov rax, QWORD PTR -16[rbp]
lea rsi, .LC26[rip]
mov rdi, rax
call strcmp@PLT
test eax, eax
jne .L512
mov rax, QWORD PTR -72[rbp]
mov rax, QWORD PTR 56[rax]
mov rdi, rax
call editDist3ConfigDelete
mov rax, QWORD PTR -72[rbp]
mov QWORD PTR 56[rax], 0
mov eax, 0
jmp .L527
.L512:
mov rax, QWORD PTR -16[rbp]
mov edx, 16
lea rsi, .LC16[rip]
mov rdi, rax
call strncmp@PLT
test eax, eax
jne .L513
mov rax, QWORD PTR -72[rbp]
mov rax, QWORD PTR 56[rax]
mov rdi, rax
call editDist3ConfigDelete
mov rax, QWORD PTR -72[rbp]
mov QWORD PTR 56[rax], 0
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -72[rbp]
mov rax, QWORD PTR 48[rax]
mov rdi, rax
call rdx
mov rax, QWORD PTR -16[rbp]
add rax, 16
mov rdi, rax
call spellfix1Dequote
mov rdx, QWORD PTR -72[rbp]
mov QWORD PTR 48[rdx], rax
mov rax, QWORD PTR -72[rbp]
mov rax, QWORD PTR 48[rax]
test rax, rax
jne .L514
mov eax, 7
jmp .L527
.L514:
mov rax, QWORD PTR -72[rbp]
mov rax, QWORD PTR 48[rax]
movzx eax, BYTE PTR [rax]
test al, al
je .L515
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 1488[rax]
mov rax, QWORD PTR -72[rbp]
mov rax, QWORD PTR 48[rax]
lea rsi, .LC27[rip]
mov rdi, rax
call rdx
test eax, eax
jne .L516
.L515:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -72[rbp]
mov rax, QWORD PTR 48[rax]
mov rdi, rax
call rdx
mov rax, QWORD PTR -72[rbp]
mov QWORD PTR 48[rax], 0
.L516:
mov eax, 0
jmp .L527
.L513:
mov rax, QWORD PTR sqlite3_api[rip]
mov rcx, QWORD PTR 552[rax]
mov rax, QWORD PTR -72[rbp]
mov rax, QWORD PTR 40[rax]
mov rdx, QWORD PTR -16[rbp]
mov rsi, rax
lea rdi, .LC28[rip]
mov eax, 0
call rcx
mov rdx, QWORD PTR -120[rbp]
mov QWORD PTR 16[rdx], rax
mov eax, 1
jmp .L527
.L509:
cmp DWORD PTR -100[rbp], 0
jg .L517
mov DWORD PTR -100[rbp], 1
.L517:
cmp QWORD PTR -48[rbp], 0
je .L518
mov edx, DWORD PTR -84[rbp]
mov rax, QWORD PTR -48[rbp]
mov esi, edx
mov rdi, rax
call transliterate
mov QWORD PTR -80[rbp], rax
jmp .L519
.L518:
mov edx, DWORD PTR -92[rbp]
mov rax, QWORD PTR -56[rbp]
mov esi, edx
mov rdi, rax
call transliterate
mov QWORD PTR -80[rbp], rax
.L519:
cmp QWORD PTR -80[rbp], 0
jne .L520
mov eax, 7
jmp .L527
.L520:
mov DWORD PTR -96[rbp], 0
jmp .L521
.L523:
cmp BYTE PTR -105[rbp], 64
jle .L522
cmp BYTE PTR -105[rbp], 90
jg .L522
mov eax, DWORD PTR -96[rbp]
movsx rdx, eax
mov rax, QWORD PTR -80[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
lea ecx, 32[rax]
mov eax, DWORD PTR -96[rbp]
movsx rdx, eax
mov rax, QWORD PTR -80[rbp]
add rax, rdx
mov edx, ecx
mov BYTE PTR [rax], dl
.L522:
add DWORD PTR -96[rbp], 1
.L521:
mov eax, DWORD PTR -96[rbp]
movsx rdx, eax
mov rax, QWORD PTR -80[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
mov BYTE PTR -105[rbp], al
cmp BYTE PTR -105[rbp], 0
jne .L523
mov edx, DWORD PTR -96[rbp]
mov rax, QWORD PTR -80[rbp]
mov esi, edx
mov rdi, rax
call phoneticHash
mov QWORD PTR -40[rbp], rax
cmp QWORD PTR -40[rbp], 0
jne .L524
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -80[rbp]
mov rdi, rax
call rdx
mov eax, 7
jmp .L527
.L524:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 904[rax]
mov rax, QWORD PTR -136[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
cmp eax, 5
jne .L525
mov rax, QWORD PTR -72[rbp]
mov rdi, QWORD PTR 40[rax]
mov rax, QWORD PTR -72[rbp]
mov rdx, QWORD PTR 32[rax]
mov r8d, DWORD PTR -100[rbp]
mov rsi, QWORD PTR -64[rbp]
lea rax, -104[rbp]
push QWORD PTR -40[rbp]
push QWORD PTR -80[rbp]
push QWORD PTR -56[rbp]
mov ecx, DWORD PTR -88[rbp]
push rcx
mov r9d, r8d
mov r8, rdi
mov rcx, rdx
lea rdx, .LC29[rip]
mov rdi, rax
mov eax, 0
call spellfix1DbExec
add rsp, 32
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 520[rax]
mov rax, QWORD PTR -64[rbp]
mov rdi, rax
call rdx
mov rdx, QWORD PTR -144[rbp]
mov QWORD PTR [rdx], rax
jmp .L526
.L525:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 856[rax]
mov rax, QWORD PTR -136[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov QWORD PTR -32[rbp], rax
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 856[rax]
mov rax, QWORD PTR -136[rbp]
add rax, 8
mov rax, QWORD PTR [rax]
mov rdi, rax
call rdx
mov rdx, QWORD PTR -144[rbp]
mov QWORD PTR [rdx], rax
mov rax, QWORD PTR -144[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -24[rbp], rax
mov rax, QWORD PTR -72[rbp]
mov rdi, QWORD PTR 40[rax]
mov rax, QWORD PTR -72[rbp]
mov rdx, QWORD PTR 32[rax]
mov r8, QWORD PTR -24[rbp]
mov rsi, QWORD PTR -64[rbp]
lea rax, -104[rbp]
push QWORD PTR -32[rbp]
push QWORD PTR -40[rbp]
push QWORD PTR -80[rbp]
push QWORD PTR -56[rbp]
mov ecx, DWORD PTR -88[rbp]
push rcx
mov ecx, DWORD PTR -100[rbp]
push rcx
mov r9, r8
mov r8, rdi
mov rcx, rdx
lea rdx, .LC30[rip]
mov rdi, rax
mov eax, 0
call spellfix1DbExec
add rsp, 48
.L526:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -80[rbp]
mov rdi, rax
call rdx
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -40[rbp]
mov rdi, rax
call rdx
.L508:
mov eax, DWORD PTR -104[rbp]
.L527:
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L528
call __stack_chk_fail@PLT
.L528:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE56:
.size spellfix1Update, .-spellfix1Update
.section .rodata
.align 8
.LC31:
.string "ALTER TABLE \"%w\".\"%w_vocab\" RENAME TO \"%w_vocab\""
.text
.type spellfix1Rename, @function
spellfix1Rename:
.LFB57:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 64
mov QWORD PTR -56[rbp], rdi
mov QWORD PTR -64[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov rax, QWORD PTR -56[rbp]
mov QWORD PTR -32[rbp], rax
mov rax, QWORD PTR -32[rbp]
mov rax, QWORD PTR 24[rax]
mov QWORD PTR -24[rbp], rax
mov DWORD PTR -36[rbp], 0
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 552[rax]
mov rax, QWORD PTR -64[rbp]
mov rsi, rax
lea rdi, .LC12[rip]
mov eax, 0
call rdx
mov QWORD PTR -16[rbp], rax
cmp QWORD PTR -16[rbp], 0
jne .L530
mov eax, 7
jmp .L534
.L530:
mov rax, QWORD PTR -32[rbp]
mov rcx, QWORD PTR 40[rax]
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR 32[rax]
mov rdi, QWORD PTR -16[rbp]
mov rsi, QWORD PTR -24[rbp]
lea rax, -36[rbp]
mov r9, rdi
mov r8, rcx
mov rcx, rdx
lea rdx, .LC31[rip]
mov rdi, rax
mov eax, 0
call spellfix1DbExec
mov eax, DWORD PTR -36[rbp]
test eax, eax
jne .L532
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -32[rbp]
mov rax, QWORD PTR 40[rax]
mov rdi, rax
call rdx
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR -16[rbp]
mov QWORD PTR 40[rax], rdx
jmp .L533
.L532:
mov rax, QWORD PTR sqlite3_api[rip]
mov rdx, QWORD PTR 464[rax]
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call rdx
.L533:
mov eax, DWORD PTR -36[rbp]
.L534:
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L535
call __stack_chk_fail@PLT
.L535:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE57:
.size spellfix1Rename, .-spellfix1Rename
.section .data.rel.local,"aw"
.align 32
.type spellfix1Module, @object
.size spellfix1Module, 192
spellfix1Module:
.long 0
.zero 4
.quad spellfix1Create
.quad spellfix1Connect
.quad spellfix1BestIndex
.quad spellfix1Disconnect
.quad spellfix1Destroy
.quad spellfix1Open
.quad spellfix1Close
.quad spellfix1Filter
.quad spellfix1Next
.quad spellfix1Eof
.quad spellfix1Column
.quad spellfix1Rowid
.quad spellfix1Update
.quad 0
.quad 0
.quad 0
.quad 0
.quad 0
.quad spellfix1Rename
.zero 32
.section .rodata
.LC32:
.string "spellfix1_translit"
.LC33:
.string "spellfix1_editdist"
.LC34:
.string "spellfix1_phonehash"
.LC35:
.string "spellfix1_scriptcode"
.LC36:
.string "spellfix1"
.align 8
.LC37:
.string "translit[i].cFrom<translit[i+1].cFrom"
.text
.type spellfix1Register, @function
spellfix1Register:
.LFB58:
.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 -8[rbp], 0
mov rax, QWORD PTR sqlite3_api[rip]
mov r10, QWORD PTR 360[rax]
mov rax, QWORD PTR -24[rbp]
push 0
push 0
lea r9, transliterateSqlFunc[rip]
mov r8d, 0
mov ecx, 1
mov edx, 1
lea rsi, .LC32[rip]
mov rdi, rax
call r10
add rsp, 16
mov DWORD PTR -8[rbp], eax
cmp DWORD PTR -8[rbp], 0
jne .L537
mov rax, QWORD PTR sqlite3_api[rip]
mov r10, QWORD PTR 360[rax]
mov rax, QWORD PTR -24[rbp]
push 0
push 0
lea r9, editdistSqlFunc[rip]
mov r8d, 0
mov ecx, 1
mov edx, 2
lea rsi, .LC33[rip]
mov rdi, rax
call r10
add rsp, 16
mov DWORD PTR -8[rbp], eax
.L537:
cmp DWORD PTR -8[rbp], 0
jne .L538
mov rax, QWORD PTR sqlite3_api[rip]
mov r10, QWORD PTR 360[rax]
mov rax, QWORD PTR -24[rbp]
push 0
push 0
lea r9, phoneticHashSqlFunc[rip]
mov r8d, 0
mov ecx, 1
mov edx, 1
lea rsi, .LC34[rip]
mov rdi, rax
call r10
add rsp, 16
mov DWORD PTR -8[rbp], eax
.L538:
cmp DWORD PTR -8[rbp], 0
jne .L539
mov rax, QWORD PTR sqlite3_api[rip]
mov r10, QWORD PTR 360[rax]
mov rax, QWORD PTR -24[rbp]
push 0
push 0
lea r9, scriptCodeSqlFunc[rip]
mov r8d, 0
mov ecx, 1
mov edx, 1
lea rsi, .LC35[rip]
mov rdi, rax
call r10
add rsp, 16
mov DWORD PTR -8[rbp], eax
.L539:
cmp DWORD PTR -8[rbp], 0
jne .L540
mov rax, QWORD PTR sqlite3_api[rip]
mov r8, QWORD PTR 376[rax]
mov rax, QWORD PTR -24[rbp]
mov ecx, 0
lea rdx, spellfix1Module[rip]
lea rsi, .LC36[rip]
mov rdi, rax
call r8
mov DWORD PTR -8[rbp], eax
.L540:
cmp DWORD PTR -8[rbp], 0
jne .L541
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call editDist3Install
mov DWORD PTR -8[rbp], eax
.L541:
mov DWORD PTR -4[rbp], 0
jmp .L542
.L544:
mov eax, DWORD PTR -4[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, translit[rip]
movzx edx, WORD PTR [rdx+rax]
mov eax, DWORD PTR -4[rbp]
add eax, 1
cdqe
lea rcx, 0[0+rax*4]
lea rax, translit[rip]
movzx eax, WORD PTR [rcx+rax]
cmp dx, ax
jb .L543
lea rcx, __PRETTY_FUNCTION__.0[rip]
mov edx, 2820
lea rsi, .LC0[rip]
lea rdi, .LC37[rip]
call __assert_fail@PLT
.L543:
add DWORD PTR -4[rbp], 1
.L542:
mov eax, DWORD PTR -4[rbp]
cmp eax, 387
jbe .L544
mov eax, DWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE58:
.size spellfix1Register, .-spellfix1Register
.globl sqlite3_spellfix_init
.type sqlite3_spellfix_init, @function
sqlite3_spellfix_init:
.LFB59:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
mov QWORD PTR -24[rbp], rdx
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR sqlite3_api[rip], rax
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call spellfix1Register
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE59:
.size sqlite3_spellfix_init, .-sqlite3_spellfix_init
.section .rodata
.align 8
.type __PRETTY_FUNCTION__.7, @object
.size __PRETTY_FUNCTION__.7, 13
__PRETTY_FUNCTION__.7:
.string "phoneticHash"
.align 8
.type __PRETTY_FUNCTION__.6, @object
.size __PRETTY_FUNCTION__.6, 10
__PRETTY_FUNCTION__.6:
.string "editdist1"
.align 16
.type __PRETTY_FUNCTION__.5, @object
.size __PRETTY_FUNCTION__.5, 20
__PRETTY_FUNCTION__.5:
.string "editDist3ConfigLoad"
.align 8
.type __PRETTY_FUNCTION__.4, @object
.size __PRETTY_FUNCTION__.4, 10
__PRETTY_FUNCTION__.4:
.string "matchFrom"
.align 8
.type __PRETTY_FUNCTION__.3, @object
.size __PRETTY_FUNCTION__.3, 11
__PRETTY_FUNCTION__.3:
.string "updateCost"
.align 16
.type __PRETTY_FUNCTION__.2, @object
.size __PRETTY_FUNCTION__.2, 22
__PRETTY_FUNCTION__.2:
.string "spellfix1ResizeCursor"
.align 16
.type __PRETTY_FUNCTION__.1, @object
.size __PRETTY_FUNCTION__.1, 18
__PRETTY_FUNCTION__.1:
.string "spellfix1RunQuery"
.align 16
.type __PRETTY_FUNCTION__.0, @object
.size __PRETTY_FUNCTION__.0, 18
__PRETTY_FUNCTION__.0:
.string "spellfix1Register"
.align 8
.LC19:
.long 0
.long 1086556160
.align 8
.LC20:
.long 0
.long 1097011920
.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 "12984.c"
.text
.global sqlite3_api
.bss
.align 2
.type sqlite3_api, %object
.size sqlite3_api, 4
sqlite3_api:
.space 4
.section .rodata
.align 2
.type midClass, %object
.size midClass, 128
midClass:
.ascii "\014\014\014\014\014\014\014\014\014\013\014\014\013"
.ascii "\013\014\014\014\014\014\014\014\014\014\014\014\014"
.ascii "\014\014\014\014\014\014\013\014\014\014\014\014\014"
.ascii "\000\014\014\014\014\014\014\014\014\012\012\012\012"
.ascii "\012\012\012\012\012\012\014\014\014\014\014\014\014"
.ascii "\001\002\003\004\001\002\003\000\001\003\003\006\010"
.ascii "\010\001\002\003\007\003\004\001\002\002\003\001\003"
.ascii "\014\014\014\014\014\014\001\002\003\004\001\002\003"
.ascii "\000\001\003\003\006\010\010\001\002\003\007\003\004"
.ascii "\001\002\002\003\001\003\014\014\014\014\014"
.align 2
.type initClass, %object
.size initClass, 128
initClass:
.ascii "\014\014\014\014\014\014\014\014\014\013\014\014\013"
.ascii "\013\014\014\014\014\014\014\014\014\014\014\014\014"
.ascii "\014\014\014\014\014\014\013\014\014\014\014\014\014"
.ascii "\014\014\014\014\014\014\014\014\014\012\012\012\012"
.ascii "\012\012\012\012\012\012\014\014\014\014\014\014\014"
.ascii "\001\002\003\004\001\002\003\000\001\003\003\006\010"
.ascii "\010\001\002\003\007\003\004\001\002\002\003\011\003"
.ascii "\014\014\014\014\014\014\001\002\003\004\001\002\003"
.ascii "\000\001\003\003\006\010\010\001\002\003\007\003\004"
.ascii "\001\002\002\003\011\003\014\014\014\014\014"
.align 2
.type className, %object
.size className, 14
className:
.ascii ".ABCDHLRMY9 ?\000"
.align 2
.LC0:
.ascii "the_stack_data/12984.c\000"
.align 2
.LC1:
.ascii "nOut>=0\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type phoneticHash, %function
phoneticHash:
@ 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, .L32
ldr r3, [r3]
ldr r3, [r3, #272]
ldr r2, [fp, #-36]
add r2, r2, #1
mov r0, r2
blx r3
str r0, [fp, #-8]
mov r3, #0
str r3, [fp, #-16]
mov r3, #119
strb r3, [fp, #-23]
mov r3, #119
strb r3, [fp, #-22]
ldr r3, .L32+4
str r3, [fp, #-12]
ldr r3, [fp, #-8]
cmp r3, #0
bne .L2
mov r3, #0
b .L3
.L2:
ldr r3, [fp, #-36]
cmp r3, #2
ble .L23
ldr r3, [fp, #-32]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #103
beq .L5
cmp r3, #107
bne .L4
.L5:
ldr r3, [fp, #-32]
add r3, r3, #1
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #110
bne .L24
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
ldr r3, [fp, #-36]
sub r3, r3, #1
str r3, [fp, #-36]
b .L24
.L23:
nop
b .L4
.L24:
nop
.L4:
mov r3, #0
str r3, [fp, #-20]
b .L7
.L22:
ldr r3, [fp, #-20]
ldr r2, [fp, #-32]
add r3, r2, r3
ldrb r3, [r3]
strb r3, [fp, #-21]
ldr r3, [fp, #-20]
add r3, r3, #1
ldr r2, [fp, #-36]
cmp r2, r3
ble .L8
ldrb r3, [fp, #-21] @ zero_extendqisi2
cmp r3, #119
bne .L9
ldr r3, [fp, #-20]
add r3, r3, #1
ldr r2, [fp, #-32]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #114
beq .L25
.L9:
ldrb r3, [fp, #-21] @ zero_extendqisi2
cmp r3, #100
bne .L11
ldr r3, [fp, #-20]
add r3, r3, #1
ldr r2, [fp, #-32]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #106
beq .L26
ldr r3, [fp, #-20]
add r3, r3, #1
ldr r2, [fp, #-32]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #103
beq .L26
.L11:
ldr r3, [fp, #-20]
add r3, r3, #2
ldr r2, [fp, #-36]
cmp r2, r3
ble .L8
ldrb r3, [fp, #-21] @ zero_extendqisi2
cmp r3, #116
bne .L8
ldr r3, [fp, #-20]
add r3, r3, #1
ldr r2, [fp, #-32]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #99
bne .L8
ldr r3, [fp, #-20]
add r3, r3, #2
ldr r2, [fp, #-32]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #104
beq .L27
.L8:
ldrb r3, [fp, #-21] @ zero_extendqisi2
and r3, r3, #127
ldr r2, [fp, #-12]
add r3, r2, r3
ldrb r3, [r3]
strb r3, [fp, #-21]
ldrb r3, [fp, #-21] @ zero_extendqisi2
cmp r3, #11
beq .L28
ldrb r3, [fp, #-21] @ zero_extendqisi2
cmp r3, #12
bne .L14
ldrb r3, [fp, #-23] @ zero_extendqisi2
cmp r3, #10
bne .L29
.L14:
ldr r3, .L32+8
str r3, [fp, #-12]
ldrb r3, [fp, #-21] @ zero_extendqisi2
cmp r3, #1
bne .L15
ldrb r3, [fp, #-22] @ zero_extendqisi2
cmp r3, #7
beq .L30
ldrb r3, [fp, #-22] @ zero_extendqisi2
cmp r3, #6
beq .L30
.L15:
ldrb r3, [fp, #-21] @ zero_extendqisi2
cmp r3, #7
beq .L17
ldrb r3, [fp, #-21] @ zero_extendqisi2
cmp r3, #6
bne .L18
.L17:
ldrb r3, [fp, #-22] @ zero_extendqisi2
cmp r3, #1
bne .L18
ldr r3, [fp, #-16]
sub r3, r3, #1
str r3, [fp, #-16]
.L18:
ldrb r3, [fp, #-21]
strb r3, [fp, #-23]
ldrb r3, [fp, #-21] @ zero_extendqisi2
cmp r3, #0
beq .L31
ldrb r3, [fp, #-21]
strb r3, [fp, #-22]
ldrb r3, [fp, #-21] @ zero_extendqisi2
ldr r2, .L32+12
ldrb r3, [r2, r3]
strb r3, [fp, #-21]
ldr r3, [fp, #-16]
cmp r3, #0
bge .L20
ldr r3, .L32+16
mov r2, #229
ldr r1, .L32+20
ldr r0, .L32+24
bl __assert_fail
.L20:
ldr r3, [fp, #-16]
cmp r3, #0
beq .L21
ldr r3, [fp, #-16]
sub r3, r3, #1
ldr r2, [fp, #-8]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
ldrb r2, [fp, #-21] @ zero_extendqisi2
cmp r2, r3
beq .L10
.L21:
ldr r3, [fp, #-16]
add r2, r3, #1
str r2, [fp, #-16]
mov r2, r3
ldr r3, [fp, #-8]
add r3, r3, r2
ldrb r2, [fp, #-21]
strb r2, [r3]
b .L10
.L25:
nop
b .L10
.L26:
nop
b .L10
.L27:
nop
b .L10
.L28:
nop
b .L10
.L29:
nop
b .L10
.L30:
nop
b .L10
.L31:
nop
.L10:
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L7:
ldr r2, [fp, #-20]
ldr r3, [fp, #-36]
cmp r2, r3
blt .L22
ldr r3, [fp, #-16]
ldr r2, [fp, #-8]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
ldr r3, [fp, #-8]
.L3:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L33:
.align 2
.L32:
.word sqlite3_api
.word initClass
.word midClass
.word className
.word __PRETTY_FUNCTION__.7951
.word .LC0
.word .LC1
.size phoneticHash, .-phoneticHash
.align 2
.syntax unified
.arm
.fpu softvfp
.type phoneticHashSqlFunc, %function
phoneticHashSqlFunc:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #28
str r0, [fp, #-24]
str r1, [fp, #-28]
str r2, [fp, #-32]
ldr r3, .L39
ldr r3, [r3]
ldr r3, [r3, #436]
ldr r2, [fp, #-32]
ldr r2, [r2]
mov r0, r2
blx r3
str r0, [fp, #-20]
ldr r3, [fp, #-20]
cmp r3, #0
beq .L38
ldr r3, .L39
ldr r3, [r3]
ldr r3, [r3, #412]
ldr r2, [fp, #-32]
ldr r2, [r2]
mov r0, r2
blx r3
mov r3, r0
mov r1, r3
ldr r0, [fp, #-20]
bl phoneticHash
str r0, [fp, #-16]
ldr r3, [fp, #-16]
cmp r3, #0
bne .L37
ldr r3, .L39
ldr r3, [r3]
ldr r3, [r3, #548]
ldr r0, [fp, #-24]
blx r3
b .L34
.L37:
ldr r3, .L39
ldr r3, [r3]
ldr r4, [r3, #340]
ldr r3, .L39
ldr r3, [r3]
ldr r3, [r3, #232]
mvn r2, #0
ldr r1, [fp, #-16]
ldr r0, [fp, #-24]
blx r4
b .L34
.L38:
nop
.L34:
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L40:
.align 2
.L39:
.word sqlite3_api
.size phoneticHashSqlFunc, .-phoneticHashSqlFunc
.align 2
.syntax unified
.arm
.fpu softvfp
.type characterClass, %function
characterClass:
@ 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, r0
mov r2, r1
strb r3, [fp, #-5]
mov r3, r2
strb r3, [fp, #-6]
ldrb r3, [fp, #-5] @ zero_extendqisi2
cmp r3, #0
bne .L42
ldrb r3, [fp, #-6] @ zero_extendqisi2
and r3, r3, #127
ldr r2, .L45
ldrb r3, [r2, r3] @ zero_extendqisi2
b .L43
.L42:
ldrb r3, [fp, #-6] @ zero_extendqisi2
and r3, r3, #127
ldr r2, .L45+4
ldrb r3, [r2, r3] @ zero_extendqisi2
.L43:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L46:
.align 2
.L45:
.word initClass
.word midClass
.size characterClass, .-characterClass
.align 2
.syntax unified
.arm
.fpu softvfp
.type insertOrDeleteCost, %function
insertOrDeleteCost:
@ 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, r0
strb r3, [fp, #-13]
mov r3, r1
strb r3, [fp, #-14]
mov r3, r2
strb r3, [fp, #-15]
ldrb r2, [fp, #-14] @ zero_extendqisi2
ldrb r3, [fp, #-13] @ zero_extendqisi2
mov r1, r2
mov r0, r3
bl characterClass
mov r3, r0
strb r3, [fp, #-6]
ldrb r3, [fp, #-6] @ zero_extendqisi2
cmp r3, #0
bne .L48
mov r3, #1
b .L49
.L48:
ldrb r2, [fp, #-13] @ zero_extendqisi2
ldrb r3, [fp, #-14] @ zero_extendqisi2
cmp r2, r3
bne .L50
mov r3, #10
b .L49
.L50:
ldrb r3, [fp, #-6] @ zero_extendqisi2
cmp r3, #1
bne .L51
ldrb r3, [fp, #-13] @ zero_extendqisi2
cmp r3, #114
beq .L52
ldrb r3, [fp, #-15] @ zero_extendqisi2
cmp r3, #114
bne .L51
.L52:
mov r3, #20
b .L49
.L51:
ldrb r2, [fp, #-13] @ zero_extendqisi2
ldrb r3, [fp, #-13] @ zero_extendqisi2
mov r1, r2
mov r0, r3
bl characterClass
mov r3, r0
strb r3, [fp, #-5]
ldrb r2, [fp, #-6] @ zero_extendqisi2
ldrb r3, [fp, #-5] @ zero_extendqisi2
cmp r2, r3
bne .L53
ldrb r3, [fp, #-6] @ zero_extendqisi2
cmp r3, #1
bne .L54
mov r3, #15
b .L49
.L54:
mov r3, #50
b .L49
.L53:
mov r3, #100
.L49:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size insertOrDeleteCost, .-insertOrDeleteCost
.align 2
.syntax unified
.arm
.fpu softvfp
.type substituteCost, %function
substituteCost:
@ 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, r0
strb r3, [fp, #-13]
mov r3, r1
strb r3, [fp, #-14]
mov r3, r2
strb r3, [fp, #-15]
ldrb r2, [fp, #-14] @ zero_extendqisi2
ldrb r3, [fp, #-15] @ zero_extendqisi2
cmp r2, r3
bne .L56
mov r3, #0
b .L57
.L56:
ldrb r3, [fp, #-15]
eor r3, r3, #32
and r3, r3, #255
ldrb r2, [fp, #-14] @ zero_extendqisi2
cmp r2, r3
bne .L58
ldrb r3, [fp, #-15] @ zero_extendqisi2
cmp r3, #64
bls .L59
ldrb r3, [fp, #-15] @ zero_extendqisi2
cmp r3, #90
bls .L60
.L59:
ldrb r3, [fp, #-15] @ zero_extendqisi2
cmp r3, #96
bls .L58
ldrb r3, [fp, #-15] @ zero_extendqisi2
cmp r3, #122
bhi .L58
.L60:
mov r3, #0
b .L57
.L58:
ldrb r2, [fp, #-14] @ zero_extendqisi2
ldrb r3, [fp, #-13] @ zero_extendqisi2
mov r1, r2
mov r0, r3
bl characterClass
mov r3, r0
strb r3, [fp, #-6]
ldrb r2, [fp, #-15] @ zero_extendqisi2
ldrb r3, [fp, #-13] @ zero_extendqisi2
mov r1, r2
mov r0, r3
bl characterClass
mov r3, r0
strb r3, [fp, #-5]
ldrb r2, [fp, #-6] @ zero_extendqisi2
ldrb r3, [fp, #-5] @ zero_extendqisi2
cmp r2, r3
bne .L61
mov r3, #40
b .L57
.L61:
ldrb r3, [fp, #-6] @ zero_extendqisi2
cmp r3, #1
bls .L62
ldrb r3, [fp, #-6] @ zero_extendqisi2
cmp r3, #9
bhi .L62
ldrb r3, [fp, #-5] @ zero_extendqisi2
cmp r3, #1
bls .L62
ldrb r3, [fp, #-5] @ zero_extendqisi2
cmp r3, #9
bhi .L62
mov r3, #75
b .L57
.L62:
mov r3, #100
.L57:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size substituteCost, .-substituteCost
.section .rodata
.align 2
.LC2:
.ascii "pnMatch==0\000"
.align 2
.LC3:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type editdist1, %function
editdist1:
@ args = 0, pretend = 0, frame = 400
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #404
str r0, [fp, #-400]
str r1, [fp, #-404]
str r2, [fp, #-408]
ldr r3, .L106
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
mov r3, #0
str r3, [fp, #-364]
mov r3, #0
str r3, [fp, #-352]
mov r3, #0
str r3, [fp, #-348]
ldr r3, [fp, #-400]
cmp r3, #0
beq .L64
ldr r3, [fp, #-404]
cmp r3, #0
bne .L67
.L64:
mvn r3, #0
b .L103
.L69:
ldr r3, [fp, #-400]
ldrb r3, [r3] @ zero_extendqisi2
str r3, [fp, #-364]
ldr r3, [fp, #-400]
add r3, r3, #1
str r3, [fp, #-400]
ldr r3, [fp, #-404]
add r3, r3, #1
str r3, [fp, #-404]
ldr r3, [fp, #-348]
add r3, r3, #1
str r3, [fp, #-348]
.L67:
ldr r3, [fp, #-400]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
beq .L68
ldr r3, [fp, #-400]
ldrb r2, [r3] @ zero_extendqisi2
ldr r3, [fp, #-404]
ldrb r3, [r3] @ zero_extendqisi2
cmp r2, r3
beq .L69
.L68:
ldr r3, [fp, #-408]
cmp r3, #0
beq .L70
ldr r3, [fp, #-408]
ldr r2, [fp, #-348]
str r2, [r3]
.L70:
ldr r3, [fp, #-400]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L71
ldr r3, [fp, #-404]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L71
mov r3, #0
b .L103
.L71:
mov r3, #0
str r3, [fp, #-384]
b .L72
.L74:
ldr r3, [fp, #-384]
ldr r2, [fp, #-400]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
lsl r3, r3, #24
asr r3, r3, #24
cmp r3, #0
bge .L73
mvn r3, #1
b .L103
.L73:
ldr r3, [fp, #-384]
add r3, r3, #1
str r3, [fp, #-384]
.L72:
ldr r3, [fp, #-384]
ldr r2, [fp, #-400]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L74
mov r3, #0
str r3, [fp, #-380]
b .L75
.L77:
ldr r3, [fp, #-380]
ldr r2, [fp, #-404]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
lsl r3, r3, #24
asr r3, r3, #24
cmp r3, #0
bge .L76
mvn r3, #1
b .L103
.L76:
ldr r3, [fp, #-380]
add r3, r3, #1
str r3, [fp, #-380]
.L75:
ldr r3, [fp, #-380]
ldr r2, [fp, #-404]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L77
ldr r3, [fp, #-384]
cmp r3, #0
bne .L78
ldr r3, [fp, #-364]
strb r3, [fp, #-388]
mov r3, #0
str r3, [fp, #-360]
ldr r3, [fp, #-360]
str r3, [fp, #-372]
b .L79
.L80:
ldr r3, [fp, #-372]
add r3, r3, #1
ldr r2, [fp, #-404]
add r3, r2, r3
ldrb r2, [r3] @ zero_extendqisi2
ldrb r1, [fp, #-386] @ zero_extendqisi2
ldrb r3, [fp, #-388] @ zero_extendqisi2
mov r0, r3
bl insertOrDeleteCost
mov r3, r0
add r2, r3, #3
cmp r3, #0
movlt r3, r2
movge r3, r3
asr r3, r3, #2
mov r2, r3
ldr r3, [fp, #-360]
add r3, r3, r2
str r3, [fp, #-360]
ldrb r3, [fp, #-386]
strb r3, [fp, #-388]
ldr r3, [fp, #-372]
add r3, r3, #1
str r3, [fp, #-372]
.L79:
ldr r3, [fp, #-372]
ldr r2, [fp, #-404]
add r3, r2, r3
ldrb r3, [r3]
strb r3, [fp, #-386]
ldrb r3, [fp, #-386] @ zero_extendqisi2
cmp r3, #0
bne .L80
ldr r3, [fp, #-360]
b .L103
.L78:
ldr r3, [fp, #-380]
cmp r3, #0
bne .L81
ldr r3, [fp, #-364]
strb r3, [fp, #-389]
mov r3, #0
str r3, [fp, #-360]
ldr r3, [fp, #-360]
str r3, [fp, #-376]
b .L82
.L83:
ldr r3, [fp, #-376]
add r3, r3, #1
ldr r2, [fp, #-400]
add r3, r2, r3
ldrb r2, [r3] @ zero_extendqisi2
ldrb r1, [fp, #-390] @ zero_extendqisi2
ldrb r3, [fp, #-389] @ zero_extendqisi2
mov r0, r3
bl insertOrDeleteCost
mov r2, r0
ldr r3, [fp, #-360]
add r3, r3, r2
str r3, [fp, #-360]
ldrb r3, [fp, #-390]
strb r3, [fp, #-389]
ldr r3, [fp, #-376]
add r3, r3, #1
str r3, [fp, #-376]
.L82:
ldr r3, [fp, #-376]
ldr r2, [fp, #-400]
add r3, r2, r3
ldrb r3, [r3]
strb r3, [fp, #-390]
ldrb r3, [fp, #-390] @ zero_extendqisi2
cmp r3, #0
bne .L83
ldr r3, [fp, #-360]
b .L103
.L81:
ldr r3, [fp, #-400]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #42
bne .L84
ldr r3, [fp, #-400]
add r3, r3, #1
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L84
mov r3, #0
b .L103
.L84:
ldr r3, [fp, #-380]
cmp r3, #59
bhi .L85
sub r3, fp, #316
str r3, [fp, #-356]
b .L86
.L85:
ldr r3, .L106+4
ldr r3, [r3]
ldr r2, [r3, #272]
ldr r3, [fp, #-380]
add r3, r3, #1
mov r1, r3
mov r3, r1
lsl r3, r3, #2
add r3, r3, r1
lsl r3, r3, #2
lsr r3, r3, #2
mov r0, r3
blx r2
str r0, [fp, #-352]
ldr r3, [fp, #-352]
str r3, [fp, #-356]
ldr r3, [fp, #-356]
cmp r3, #0
bne .L86
mvn r3, #2
b .L103
.L86:
ldr r3, [fp, #-380]
add r3, r3, #1
lsl r3, r3, #2
ldr r2, [fp, #-356]
add r3, r2, r3
str r3, [fp, #-332]
ldr r3, [fp, #-356]
mov r2, #0
str r2, [r3]
ldr r3, [fp, #-364]
and r2, r3, #255
ldr r3, [fp, #-332]
strb r2, [r3]
ldr r3, [fp, #-364]
strb r3, [fp, #-388]
mov r3, #1
str r3, [fp, #-372]
b .L87
.L88:
ldr r3, [fp, #-372]
ldr r2, [fp, #-404]
add r3, r2, r3
ldrb r3, [r3]
strb r3, [fp, #-385]
ldr r3, [fp, #-372]
sub r3, r3, #1
ldr r2, [fp, #-404]
add r3, r2, r3
ldrb r3, [r3]
strb r3, [fp, #-386]
ldr r3, [fp, #-372]
ldr r2, [fp, #-332]
add r3, r2, r3
ldrb r2, [fp, #-386]
strb r2, [r3]
ldr r3, [fp, #-372]
sub r3, r3, #-1073741823
lsl r3, r3, #2
ldr r2, [fp, #-356]
add r3, r2, r3
ldr r4, [r3]
ldrb r2, [fp, #-385] @ zero_extendqisi2
ldrb r1, [fp, #-386] @ zero_extendqisi2
ldrb r3, [fp, #-388] @ zero_extendqisi2
mov r0, r3
bl insertOrDeleteCost
mov r1, r0
ldr r3, [fp, #-372]
lsl r3, r3, #2
ldr r2, [fp, #-356]
add r3, r2, r3
add r2, r4, r1
str r2, [r3]
ldrb r3, [fp, #-386]
strb r3, [fp, #-388]
ldr r3, [fp, #-372]
add r3, r3, #1
str r3, [fp, #-372]
.L87:
ldr r2, [fp, #-372]
ldr r3, [fp, #-380]
cmp r2, r3
ble .L88
ldr r3, [fp, #-364]
strb r3, [fp, #-389]
mov r3, #1
str r3, [fp, #-376]
b .L89
.L97:
ldr r2, [fp, #-376]
ldr r3, [fp, #-384]
cmp r2, r3
moveq r3, #1
movne r3, #0
and r3, r3, #255
str r3, [fp, #-328]
ldr r3, [fp, #-376]
sub r3, r3, #1
ldr r2, [fp, #-400]
add r3, r2, r3
ldrb r3, [r3]
strb r3, [fp, #-390]
ldr r3, [fp, #-376]
ldr r2, [fp, #-400]
add r3, r2, r3
ldrb r3, [r3]
strb r3, [fp, #-387]
ldrb r3, [fp, #-390] @ zero_extendqisi2
cmp r3, #42
bne .L90
ldr r3, [fp, #-328]
cmp r3, #0
bne .L105
.L90:
ldr r3, [fp, #-356]
ldr r3, [r3]
str r3, [fp, #-368]
ldr r3, [fp, #-332]
ldrb r3, [r3] @ zero_extendqisi2
str r3, [fp, #-364]
ldrb r2, [fp, #-387] @ zero_extendqisi2
ldrb r1, [fp, #-390] @ zero_extendqisi2
ldrb r3, [fp, #-389] @ zero_extendqisi2
mov r0, r3
bl insertOrDeleteCost
mov r2, r0
ldr r3, [fp, #-368]
add r2, r2, r3
ldr r3, [fp, #-356]
str r2, [r3]
mov r3, #0
strb r3, [fp, #-388]
mov r3, #1
str r3, [fp, #-372]
b .L92
.L96:
ldr r3, [fp, #-372]
sub r3, r3, #1
ldr r2, [fp, #-404]
add r3, r2, r3
ldrb r3, [r3]
strb r3, [fp, #-386]
ldr r3, [fp, #-372]
ldr r2, [fp, #-404]
add r3, r2, r3
ldrb r3, [r3]
strb r3, [fp, #-385]
ldr r3, [fp, #-372]
sub r3, r3, #1
ldr r2, [fp, #-332]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
ldrb r2, [fp, #-385] @ zero_extendqisi2
ldrb r1, [fp, #-386] @ zero_extendqisi2
mov r0, r3
bl insertOrDeleteCost
str r0, [fp, #-340]
ldr r3, [fp, #-328]
cmp r3, #0
beq .L93
ldr r3, [fp, #-340]
add r2, r3, #3
cmp r3, #0
movlt r3, r2
movge r3, r3
asr r3, r3, #2
str r3, [fp, #-340]
.L93:
ldr r3, [fp, #-372]
ldr r2, [fp, #-332]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
ldrb r2, [fp, #-385] @ zero_extendqisi2
ldrb r1, [fp, #-390] @ zero_extendqisi2
mov r0, r3
bl insertOrDeleteCost
str r0, [fp, #-324]
ldr r3, [fp, #-372]
sub r3, r3, #1
ldr r2, [fp, #-332]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
ldrb r2, [fp, #-386] @ zero_extendqisi2
ldrb r1, [fp, #-390] @ zero_extendqisi2
mov r0, r3
bl substituteCost
str r0, [fp, #-320]
ldr r3, [fp, #-372]
sub r3, r3, #-1073741823
lsl r3, r3, #2
ldr r2, [fp, #-356]
add r3, r2, r3
ldr r3, [r3]
ldr r2, [fp, #-340]
add r3, r2, r3
str r3, [fp, #-344]
ldrb r3, [fp, #-386] @ zero_extendqisi2
str r3, [fp, #-336]
ldr r3, [fp, #-372]
lsl r3, r3, #2
ldr r2, [fp, #-356]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-324]
add r3, r2, r3
ldr r2, [fp, #-344]
cmp r2, r3
ble .L94
ldr r3, [fp, #-372]
lsl r3, r3, #2
ldr r2, [fp, #-356]
add r3, r2, r3
ldr r3, [r3]
ldr r2, [fp, #-324]
add r3, r2, r3
str r3, [fp, #-344]
ldrb r3, [fp, #-390] @ zero_extendqisi2
str r3, [fp, #-336]
.L94:
ldr r2, [fp, #-320]
ldr r3, [fp, #-368]
add r3, r2, r3
ldr r2, [fp, #-344]
cmp r2, r3
ble .L95
ldr r2, [fp, #-320]
ldr r3, [fp, #-368]
add r3, r2, r3
str r3, [fp, #-344]
.L95:
ldr r3, [fp, #-372]
lsl r3, r3, #2
ldr r2, [fp, #-356]
add r3, r2, r3
ldr r3, [r3]
str r3, [fp, #-368]
ldr r3, [fp, #-372]
ldr r2, [fp, #-332]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
str r3, [fp, #-364]
ldr r3, [fp, #-372]
lsl r3, r3, #2
ldr r2, [fp, #-356]
add r3, r2, r3
ldr r2, [fp, #-344]
str r2, [r3]
ldr r3, [fp, #-372]
ldr r2, [fp, #-332]
add r3, r2, r3
ldr r2, [fp, #-336]
and r2, r2, #255
strb r2, [r3]
ldrb r3, [fp, #-386]
strb r3, [fp, #-388]
ldr r3, [fp, #-372]
add r3, r3, #1
str r3, [fp, #-372]
.L92:
ldr r2, [fp, #-372]
ldr r3, [fp, #-380]
cmp r2, r3
ble .L96
ldrb r3, [fp, #-390]
strb r3, [fp, #-389]
ldr r3, [fp, #-376]
add r3, r3, #1
str r3, [fp, #-376]
.L89:
ldr r2, [fp, #-376]
ldr r3, [fp, #-384]
cmp r2, r3
ble .L97
b .L91
.L105:
nop
.L91:
ldrb r3, [fp, #-390] @ zero_extendqisi2
cmp r3, #42
bne .L98
ldr r3, [fp, #-356]
ldr r3, [r3, #4]
str r3, [fp, #-360]
mov r3, #1
str r3, [fp, #-372]
b .L99
.L101:
ldr r3, [fp, #-372]
lsl r3, r3, #2
ldr r2, [fp, #-356]
add r3, r2, r3
ldr r3, [r3]
ldr r2, [fp, #-360]
cmp r2, r3
ble .L100
ldr r3, [fp, #-372]
lsl r3, r3, #2
ldr r2, [fp, #-356]
add r3, r2, r3
ldr r3, [r3]
str r3, [fp, #-360]
ldr r3, [fp, #-408]
cmp r3, #0
beq .L100
ldr r2, [fp, #-372]
ldr r3, [fp, #-348]
add r2, r2, r3
ldr r3, [fp, #-408]
str r2, [r3]
.L100:
ldr r3, [fp, #-372]
add r3, r3, #1
str r3, [fp, #-372]
.L99:
ldr r2, [fp, #-372]
ldr r3, [fp, #-380]
cmp r2, r3
ble .L101
b .L102
.L98:
ldr r3, [fp, #-380]
lsl r3, r3, #2
ldr r2, [fp, #-356]
add r3, r2, r3
ldr r3, [r3]
str r3, [fp, #-360]
ldr r3, [fp, #-408]
cmp r3, #0
beq .L102
ldr r3, .L106+8
ldr r2, .L106+12
ldr r1, .L106+16
ldr r0, .L106+20
bl __assert_fail
.L102:
ldr r3, .L106+4
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r0, [fp, #-352]
blx r3
ldr r3, [fp, #-360]
.L103:
ldr r2, .L106
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L104
bl __stack_chk_fail
.L104:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L107:
.align 2
.L106:
.word .LC3
.word sqlite3_api
.word __PRETTY_FUNCTION__.8036
.word 498
.word .LC0
.word .LC2
.size editdist1, .-editdist1
.section .rodata
.align 2
.LC4:
.ascii "non-ASCII input to editdist()\000"
.align 2
.LC5:
.ascii "NULL input to editdist()\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type editdistSqlFunc, %function
editdistSqlFunc:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #28
str r0, [fp, #-24]
str r1, [fp, #-28]
str r2, [fp, #-32]
ldr r3, .L114
ldr r3, [r3]
ldr r3, [r3, #436]
ldr r2, [fp, #-32]
ldr r2, [r2]
mov r0, r2
blx r3
mov r4, r0
ldr r3, .L114
ldr r3, [r3]
ldr r3, [r3, #436]
ldr r2, [fp, #-32]
add r2, r2, #4
ldr r2, [r2]
mov r0, r2
blx r3
mov r3, r0
mov r2, #0
mov r1, r3
mov r0, r4
bl editdist1
str r0, [fp, #-16]
ldr r3, [fp, #-16]
cmp r3, #0
bge .L109
ldr r3, [fp, #-16]
cmn r3, #3
bne .L110
ldr r3, .L114
ldr r3, [r3]
ldr r3, [r3, #548]
ldr r0, [fp, #-24]
blx r3
b .L113
.L110:
ldr r3, [fp, #-16]
cmn r3, #2
bne .L112
ldr r3, .L114
ldr r3, [r3]
ldr r3, [r3, #320]
mvn r2, #0
ldr r1, .L114+4
ldr r0, [fp, #-24]
blx r3
b .L113
.L112:
ldr r3, .L114
ldr r3, [r3]
ldr r3, [r3, #320]
mvn r2, #0
ldr r1, .L114+8
ldr r0, [fp, #-24]
blx r3
b .L113
.L109:
ldr r3, .L114
ldr r3, [r3]
ldr r3, [r3, #328]
ldr r1, [fp, #-16]
ldr r0, [fp, #-24]
blx r3
.L113:
nop
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L115:
.align 2
.L114:
.word sqlite3_api
.word .LC4
.word .LC5
.size editdistSqlFunc, .-editdistSqlFunc
.section .rodata
.align 2
.type editDist3Lang, %object
.size editDist3Lang, 20
editDist3Lang:
.word 0
.word 100
.word 100
.word 150
.word 0
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type editDist3ConfigClear, %function
editDist3ConfigClear:
@ 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
beq .L123
mov r3, #0
str r3, [fp, #-16]
b .L119
.L122:
ldr r3, [fp, #-24]
ldr r1, [r3, #4]
ldr r2, [fp, #-16]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #2
add r3, r1, r3
ldr r3, [r3, #16]
str r3, [fp, #-12]
b .L120
.L121:
ldr r3, [fp, #-12]
ldr r3, [r3]
str r3, [fp, #-8]
ldr r3, .L124
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r0, [fp, #-12]
blx r3
ldr r3, [fp, #-8]
str r3, [fp, #-12]
.L120:
ldr r3, [fp, #-12]
cmp r3, #0
bne .L121
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L119:
ldr r3, [fp, #-24]
ldr r3, [r3]
ldr r2, [fp, #-16]
cmp r2, r3
blt .L122
ldr r3, .L124
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r2, [fp, #-24]
ldr r2, [r2, #4]
mov r0, r2
blx r3
mov r2, #8
mov r1, #0
ldr r0, [fp, #-24]
bl memset
b .L116
.L123:
nop
.L116:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L125:
.align 2
.L124:
.word sqlite3_api
.size editDist3ConfigClear, .-editDist3ConfigClear
.align 2
.syntax unified
.arm
.fpu softvfp
.type editDist3ConfigDelete, %function
editDist3ConfigDelete:
@ 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]
str r3, [fp, #-8]
ldr r0, [fp, #-8]
bl editDist3ConfigClear
ldr r3, .L127
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r0, [fp, #-8]
blx r3
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L128:
.align 2
.L127:
.word sqlite3_api
.size editDist3ConfigDelete, .-editDist3ConfigDelete
.section .rodata
.align 2
.LC6:
.ascii "SELECT iLang, cFrom, cTo, iCost FROM \"%w\" WHERE i"
.ascii "Lang>=0 ORDER BY iLang\000"
.align 2
.LC7:
.ascii "zFrom!=0 || nFrom==0\000"
.align 2
.LC8:
.ascii "zTo!=0 || nTo==0\000"
.align 2
.LC9:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type editDist3ConfigLoad, %function
editDist3ConfigLoad:
@ args = 0, pretend = 0, frame = 80
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #92
str r0, [fp, #-80]
str r1, [fp, #-84]
str r2, [fp, #-88]
ldr r3, .L156
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
ldr r3, .L156+4
str r3, [fp, #-68]
mov r3, #0
str r3, [fp, #-64]
ldr r3, .L156+8
ldr r3, [r3]
ldr r3, [r3, #276]
ldr r1, [fp, #-88]
ldr r0, .L156+12
blx r3
str r0, [fp, #-56]
ldr r3, [fp, #-56]
cmp r3, #0
bne .L130
mov r3, #7
b .L154
.L130:
ldr r3, .L156+8
ldr r3, [r3]
ldr r4, [r3, #288]
sub r3, fp, #76
mov r2, #0
str r2, [sp]
mvn r2, #0
ldr r1, [fp, #-56]
ldr r0, [fp, #-84]
blx r4
str r0, [fp, #-72]
ldr r3, .L156+8
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r0, [fp, #-56]
blx r3
ldr r3, [fp, #-72]
cmp r3, #0
beq .L132
ldr r3, [fp, #-72]
b .L154
.L132:
ldr r0, [fp, #-80]
bl editDist3ConfigClear
b .L133
.L152:
ldr r3, .L156+8
ldr r3, [r3]
ldr r3, [r3, #112]
ldr r2, [fp, #-76]
mov r1, #0
mov r0, r2
blx r3
str r0, [fp, #-52]
ldr r3, .L156+8
ldr r3, [r3]
ldr r3, [r3, #144]
ldr r2, [fp, #-76]
mov r1, #1
mov r0, r2
blx r3
str r0, [fp, #-48]
ldr r3, [fp, #-48]
cmp r3, #0
beq .L134
ldr r3, .L156+8
ldr r3, [r3]
ldr r3, [r3, #80]
ldr r2, [fp, #-76]
mov r1, #1
mov r0, r2
blx r3
mov r3, r0
b .L135
.L134:
mov r3, #0
.L135:
str r3, [fp, #-44]
ldr r3, .L156+8
ldr r3, [r3]
ldr r3, [r3, #144]
ldr r2, [fp, #-76]
mov r1, #2
mov r0, r2
blx r3
str r0, [fp, #-40]
ldr r3, [fp, #-40]
cmp r3, #0
beq .L136
ldr r3, .L156+8
ldr r3, [r3]
ldr r3, [r3, #80]
ldr r2, [fp, #-76]
mov r1, #2
mov r0, r2
blx r3
mov r3, r0
b .L137
.L136:
mov r3, #0
.L137:
str r3, [fp, #-36]
ldr r3, .L156+8
ldr r3, [r3]
ldr r3, [r3, #112]
ldr r2, [fp, #-76]
mov r1, #3
mov r0, r2
blx r3
str r0, [fp, #-32]
ldr r3, [fp, #-48]
cmp r3, #0
bne .L138
ldr r3, [fp, #-44]
cmp r3, #0
beq .L138
ldr r3, .L156+16
mov r2, #684
ldr r1, .L156+20
ldr r0, .L156+24
bl __assert_fail
.L138:
ldr r3, [fp, #-40]
cmp r3, #0
bne .L139
ldr r3, [fp, #-36]
cmp r3, #0
beq .L139
ldr r3, .L156+16
ldr r2, .L156+28
ldr r1, .L156+20
ldr r0, .L156+32
bl __assert_fail
.L139:
ldr r3, [fp, #-44]
cmp r3, #100
bgt .L133
ldr r3, [fp, #-36]
cmp r3, #100
ble .L141
b .L133
.L141:
ldr r3, [fp, #-32]
cmp r3, #0
bge .L142
b .L133
.L142:
ldr r3, [fp, #-64]
cmp r3, #0
beq .L143
ldr r2, [fp, #-52]
ldr r3, [fp, #-68]
cmp r2, r3
beq .L144
.L143:
ldr r3, .L156+8
ldr r3, [r3]
ldr r2, [r3, #304]
ldr r3, [fp, #-80]
ldr r0, [r3, #4]
ldr r3, [fp, #-80]
ldr r3, [r3]
add r3, r3, #1
mov r1, r3
mov r3, r1
lsl r3, r3, #2
add r3, r3, r1
lsl r3, r3, #2
mov r1, r3
blx r2
str r0, [fp, #-28]
ldr r3, [fp, #-28]
cmp r3, #0
bne .L145
mov r3, #7
str r3, [fp, #-72]
b .L146
.L145:
ldr r3, [fp, #-80]
ldr r2, [fp, #-28]
str r2, [r3, #4]
ldr r3, [fp, #-80]
ldr r2, [r3, #4]
ldr r3, [fp, #-80]
ldr r3, [r3]
mov r1, r3
mov r3, r1
lsl r3, r3, #2
add r3, r3, r1
lsl r3, r3, #2
add r3, r2, r3
str r3, [fp, #-64]
ldr r3, [fp, #-80]
ldr r3, [r3]
add r2, r3, #1
ldr r3, [fp, #-80]
str r2, [r3]
ldr r3, [fp, #-64]
ldr r2, [fp, #-52]
str r2, [r3]
ldr r3, [fp, #-64]
mov r2, #100
str r2, [r3, #4]
ldr r3, [fp, #-64]
mov r2, #100
str r2, [r3, #8]
ldr r3, [fp, #-64]
mov r2, #150
str r2, [r3, #12]
ldr r3, [fp, #-64]
mov r2, #0
str r2, [r3, #16]
ldr r3, [fp, #-52]
str r3, [fp, #-68]
.L144:
ldr r3, [fp, #-44]
cmp r3, #1
bne .L147
ldr r3, [fp, #-48]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #63
bne .L147
ldr r3, [fp, #-36]
cmp r3, #0
bne .L147
ldr r3, [fp, #-64]
ldr r2, [fp, #-32]
str r2, [r3, #8]
b .L133
.L147:
ldr r3, [fp, #-44]
cmp r3, #0
bne .L148
ldr r3, [fp, #-36]
cmp r3, #1
bne .L148
ldr r3, [fp, #-40]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #63
bne .L148
ldr r3, [fp, #-64]
ldr r2, [fp, #-32]
str r2, [r3, #4]
b .L133
.L148:
ldr r3, [fp, #-44]
cmp r3, #1
bne .L149
ldr r3, [fp, #-36]
cmp r3, #1
bne .L149
ldr r3, [fp, #-48]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #63
bne .L149
ldr r3, [fp, #-40]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #63
bne .L149
ldr r3, [fp, #-64]
ldr r2, [fp, #-32]
str r2, [r3, #12]
b .L133
.L149:
ldr r2, [fp, #-44]
ldr r3, [fp, #-36]
add r3, r2, r3
sub r3, r3, #4
str r3, [fp, #-60]
ldr r3, [fp, #-60]
cmp r3, #0
bge .L150
mov r3, #0
str r3, [fp, #-60]
.L150:
ldr r3, .L156+8
ldr r3, [r3]
ldr r3, [r3, #272]
ldr r2, [fp, #-60]
add r2, r2, #12
mov r0, r2
blx r3
str r0, [fp, #-24]
ldr r3, [fp, #-24]
cmp r3, #0
bne .L151
mov r3, #7
str r3, [fp, #-72]
b .L146
.L151:
ldr r3, [fp, #-44]
and r2, r3, #255
ldr r3, [fp, #-24]
strb r2, [r3, #4]
ldr r3, [fp, #-36]
and r2, r3, #255
ldr r3, [fp, #-24]
strb r2, [r3, #5]
ldr r3, [fp, #-32]
lsl r3, r3, #16
lsr r2, r3, #16
ldr r3, [fp, #-24]
strh r2, [r3, #6] @ movhi
ldr r3, [fp, #-24]
add r3, r3, #8
ldr r2, [fp, #-44]
ldr r1, [fp, #-48]
mov r0, r3
bl memcpy
ldr r3, [fp, #-24]
add r2, r3, #8
ldr r3, [fp, #-44]
add r3, r2, r3
ldr r2, [fp, #-36]
ldr r1, [fp, #-40]
mov r0, r3
bl memcpy
ldr r3, [fp, #-64]
ldr r2, [r3, #16]
ldr r3, [fp, #-24]
str r2, [r3]
ldr r3, [fp, #-64]
ldr r2, [fp, #-24]
str r2, [r3, #16]
.L133:
ldr r3, .L156+8
ldr r3, [r3]
ldr r3, [r3, #376]
ldr r2, [fp, #-76]
mov r0, r2
blx r3
mov r3, r0
cmp r3, #100
beq .L152
.L146:
ldr r3, .L156+8
ldr r3, [r3]
ldr r3, [r3, #228]
ldr r2, [fp, #-76]
mov r0, r2
blx r3
str r0, [fp, #-20]
ldr r3, [fp, #-72]
cmp r3, #0
bne .L153
ldr r3, [fp, #-20]
str r3, [fp, #-72]
.L153:
ldr r3, [fp, #-72]
.L154:
ldr r2, .L156
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L155
bl __stack_chk_fail
.L155:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L157:
.align 2
.L156:
.word .LC9
.word -9999
.word sqlite3_api
.word .LC6
.word __PRETTY_FUNCTION__.8120
.word .LC0
.word .LC7
.word 685
.word .LC8
.size editDist3ConfigLoad, .-editDist3ConfigLoad
.align 2
.syntax unified
.arm
.fpu softvfp
.type utf8Len, %function
utf8Len:
@ 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
mov r3, r0
str r1, [fp, #-20]
strb r3, [fp, #-13]
mov r3, #1
str r3, [fp, #-8]
ldrsb r3, [fp, #-13]
cmp r3, #0
bge .L159
ldrb r3, [fp, #-13] @ zero_extendqisi2
and r3, r3, #224
cmp r3, #192
bne .L160
mov r3, #2
str r3, [fp, #-8]
b .L159
.L160:
ldrb r3, [fp, #-13] @ zero_extendqisi2
and r3, r3, #240
cmp r3, #224
bne .L161
mov r3, #3
str r3, [fp, #-8]
b .L159
.L161:
mov r3, #4
str r3, [fp, #-8]
.L159:
ldr r2, [fp, #-8]
ldr r3, [fp, #-20]
cmp r2, r3
ble .L162
ldr r3, [fp, #-20]
str r3, [fp, #-8]
.L162:
ldr r3, [fp, #-8]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size utf8Len, .-utf8Len
.align 2
.syntax unified
.arm
.fpu softvfp
.type matchTo, %function
matchTo:
@ 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]
ldr r3, [fp, #-8]
ldrb r3, [r3, #5] @ zero_extendqisi2
mov r2, r3
ldr r3, [fp, #-16]
cmp r3, r2
bge .L165
mov r3, #0
b .L166
.L165:
ldr r3, [fp, #-8]
add r3, r3, #8
ldr r2, [fp, #-8]
ldrb r2, [r2, #4] @ zero_extendqisi2
add r0, r3, r2
ldr r3, [fp, #-8]
ldrb r3, [r3, #5] @ zero_extendqisi2
mov r2, r3
ldr r1, [fp, #-12]
bl strncmp
mov r3, r0
cmp r3, #0
beq .L167
mov r3, #0
b .L166
.L167:
mov r3, #1
.L166:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size matchTo, .-matchTo
.section .rodata
.align 2
.LC10:
.ascii "p->nFrom<=n\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type matchFrom, %function
matchFrom:
@ 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]
ldr r3, [fp, #-8]
ldrb r3, [r3, #4] @ zero_extendqisi2
mov r2, r3
ldr r3, [fp, #-16]
cmp r3, r2
bge .L169
ldr r3, .L172
ldr r2, .L172+4
ldr r1, .L172+8
ldr r0, .L172+12
bl __assert_fail
.L169:
ldr r3, [fp, #-8]
add r0, r3, #8
ldr r3, [fp, #-8]
ldrb r3, [r3, #4] @ zero_extendqisi2
mov r2, r3
ldr r1, [fp, #-12]
bl strncmp
mov r3, r0
cmp r3, #0
beq .L170
mov r3, #0
b .L171
.L170:
mov r3, #1
.L171:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L173:
.align 2
.L172:
.word __PRETTY_FUNCTION__.8142
.word 762
.word .LC0
.word .LC10
.size matchFrom, .-matchFrom
.align 2
.syntax unified
.arm
.fpu softvfp
.type matchFromTo, %function
matchFromTo:
@ 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]
ldr r3, [fp, #-16]
ldr r1, [r3, #12]
ldr r2, [fp, #-20]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #2
add r3, r1, r3
ldr r3, [r3, #8]
str r3, [fp, #-8]
ldr r2, [fp, #-8]
ldr r3, [fp, #-28]
cmp r2, r3
ble .L175
mov r3, #0
b .L176
.L175:
ldr r3, [fp, #-16]
ldr r2, [r3]
ldr r3, [fp, #-20]
add r3, r2, r3
ldr r2, [fp, #-8]
ldr r1, [fp, #-24]
mov r0, r3
bl memcmp
mov r3, r0
cmp r3, #0
beq .L177
mov r3, #0
b .L176
.L177:
mov r3, #1
.L176:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size matchFromTo, .-matchFromTo
.align 2
.syntax unified
.arm
.fpu softvfp
.type editDist3FromStringDelete, %function
editDist3FromStringDelete:
@ 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]
cmp r3, #0
beq .L182
mov r3, #0
str r3, [fp, #-8]
b .L180
.L181:
ldr r3, .L183
ldr r3, [r3]
ldr r1, [r3, #232]
ldr r3, [fp, #-16]
ldr r0, [r3, #12]
ldr r2, [fp, #-8]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #2
add r3, r0, r3
ldr r3, [r3, #16]
mov r0, r3
blx r1
ldr r3, .L183
ldr r3, [r3]
ldr r1, [r3, #232]
ldr r3, [fp, #-16]
ldr r0, [r3, #12]
ldr r2, [fp, #-8]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #2
add r3, r0, r3
ldr r3, [r3, #12]
mov r0, r3
blx r1
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L180:
ldr r3, [fp, #-16]
ldr r3, [r3, #4]
ldr r2, [fp, #-8]
cmp r2, r3
blt .L181
ldr r3, .L183
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r0, [fp, #-16]
blx r3
.L182:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L184:
.align 2
.L183:
.word sqlite3_api
.size editDist3FromStringDelete, .-editDist3FromStringDelete
.align 2
.syntax unified
.arm
.fpu softvfp
.type editDist3FromStringNew, %function
editDist3FromStringNew:
@ 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, #-40]
ldr r3, [fp, #-36]
cmp r3, #0
bne .L186
mov r3, #0
b .L187
.L186:
ldr r3, [fp, #-40]
cmp r3, #0
bge .L188
ldr r0, [fp, #-36]
bl strlen
mov r3, r0
str r3, [fp, #-40]
.L188:
ldr r3, .L209
ldr r3, [r3]
ldr r1, [r3, #272]
ldr r2, [fp, #-40]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r2, r3, #3
sub r3, r2, r3
add r3, r3, #17
mov r0, r3
blx r1
str r0, [fp, #-24]
ldr r3, [fp, #-24]
cmp r3, #0
bne .L189
mov r3, #0
b .L187
.L189:
ldr r3, [fp, #-24]
add r2, r3, #16
ldr r3, [fp, #-24]
str r2, [r3, #12]
ldr r3, [fp, #-24]
ldr r0, [r3, #12]
ldr r2, [fp, #-40]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #2
mov r2, r3
mov r1, #0
bl memset
ldr r3, [fp, #-24]
ldr r2, [fp, #-40]
str r2, [r3, #4]
ldr r3, [fp, #-24]
ldr r1, [r3, #12]
ldr r2, [fp, #-40]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #2
add r2, r1, r3
ldr r3, [fp, #-24]
str r2, [r3]
ldr r3, [fp, #-24]
ldr r0, [r3]
ldr r3, [fp, #-40]
add r3, r3, #1
mov r2, r3
ldr r1, [fp, #-36]
bl memcpy
ldr r3, [fp, #-40]
cmp r3, #0
beq .L190
ldr r3, [fp, #-40]
sub r3, r3, #1
ldr r2, [fp, #-36]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #42
bne .L190
ldr r3, [fp, #-24]
mov r2, #1
str r2, [r3, #8]
ldr r3, [fp, #-40]
sub r3, r3, #1
str r3, [fp, #-40]
ldr r3, [fp, #-24]
ldr r3, [r3, #4]
sub r2, r3, #1
ldr r3, [fp, #-24]
str r2, [r3, #4]
ldr r3, [fp, #-24]
ldr r2, [r3]
ldr r3, [fp, #-40]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
b .L191
.L190:
ldr r3, [fp, #-24]
mov r2, #0
str r2, [r3, #8]
.L191:
mov r3, #0
str r3, [fp, #-16]
b .L192
.L204:
ldr r3, [fp, #-24]
ldr r1, [r3, #12]
ldr r2, [fp, #-16]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #2
add r3, r1, r3
str r3, [fp, #-12]
mov r2, #20
mov r1, #0
ldr r0, [fp, #-12]
bl memset
ldr r3, [fp, #-16]
ldr r2, [fp, #-36]
add r3, r2, r3
ldrb r0, [r3] @ zero_extendqisi2
ldr r2, [fp, #-40]
ldr r3, [fp, #-16]
sub r3, r2, r3
mov r1, r3
bl utf8Len
mov r2, r0
ldr r3, [fp, #-12]
str r2, [r3, #8]
ldr r3, [fp, #-32]
ldr r3, [r3, #16]
str r3, [fp, #-20]
b .L193
.L201:
ldr r3, [fp, #-20]
ldrb r3, [r3, #4] @ zero_extendqisi2
mov r2, r3
ldr r3, [fp, #-16]
add r3, r2, r3
ldr r2, [fp, #-40]
cmp r2, r3
blt .L205
ldr r3, [fp, #-16]
ldr r2, [fp, #-36]
add r1, r2, r3
ldr r2, [fp, #-40]
ldr r3, [fp, #-16]
sub r3, r2, r3
mov r2, r3
ldr r0, [fp, #-20]
bl matchFrom
mov r3, r0
cmp r3, #0
beq .L206
ldr r3, [fp, #-20]
ldrb r3, [r3, #5] @ zero_extendqisi2
cmp r3, #0
bne .L197
ldr r3, .L209
ldr r3, [r3]
ldr r3, [r3, #304]
ldr r2, [fp, #-12]
ldr r0, [r2, #16]
ldr r2, [fp, #-12]
ldr r2, [r2, #4]
add r2, r2, #1
lsl r2, r2, #2
mov r1, r2
blx r3
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L207
ldr r3, [fp, #-12]
ldr r2, [fp, #-8]
str r2, [r3, #16]
ldr r3, [fp, #-12]
ldr r3, [r3, #4]
add r1, r3, #1
ldr r2, [fp, #-12]
str r1, [r2, #4]
lsl r3, r3, #2
ldr r2, [fp, #-8]
add r3, r2, r3
ldr r2, [fp, #-20]
str r2, [r3]
b .L195
.L197:
ldr r3, .L209
ldr r3, [r3]
ldr r3, [r3, #304]
ldr r2, [fp, #-12]
ldr r0, [r2, #12]
ldr r2, [fp, #-12]
ldr r2, [r2]
add r2, r2, #1
lsl r2, r2, #2
mov r1, r2
blx r3
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L208
ldr r3, [fp, #-12]
ldr r2, [fp, #-8]
str r2, [r3, #12]
ldr r3, [fp, #-12]
ldr r3, [r3]
add r1, r3, #1
ldr r2, [fp, #-12]
str r1, [r2]
lsl r3, r3, #2
ldr r2, [fp, #-8]
add r3, r2, r3
ldr r2, [fp, #-20]
str r2, [r3]
b .L195
.L205:
nop
b .L195
.L206:
nop
.L195:
ldr r3, [fp, #-20]
ldr r3, [r3]
str r3, [fp, #-20]
.L193:
ldr r3, [fp, #-20]
cmp r3, #0
bne .L201
b .L199
.L207:
nop
b .L199
.L208:
nop
.L199:
ldr r3, [fp, #-20]
cmp r3, #0
beq .L202
ldr r0, [fp, #-24]
bl editDist3FromStringDelete
mov r3, #0
str r3, [fp, #-24]
b .L203
.L202:
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L192:
ldr r2, [fp, #-16]
ldr r3, [fp, #-40]
cmp r2, r3
blt .L204
.L203:
ldr r3, [fp, #-24]
.L187:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L210:
.align 2
.L209:
.word sqlite3_api
.size editDist3FromStringNew, .-editDist3FromStringNew
.section .rodata
.align 2
.LC11:
.ascii "iCost>=0\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type updateCost, %function
updateCost:
@ 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]
ldr r3, [fp, #-28]
cmp r3, #0
bge .L212
ldr r3, .L215
ldr r2, .L215+4
ldr r1, .L215+8
ldr r0, .L215+12
bl __assert_fail
.L212:
ldr r3, [fp, #-28]
ldr r2, .L215+16
cmp r3, r2
bgt .L214
ldr r3, [fp, #-24]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-28]
add r3, r2, r3
str r3, [fp, #-8]
ldr r3, [fp, #-20]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r3, [r3]
ldr r2, [fp, #-8]
cmp r2, r3
bcs .L214
ldr r3, [fp, #-20]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r2, [fp, #-8]
str r2, [r3]
.L214:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L216:
.align 2
.L215:
.word __PRETTY_FUNCTION__.8180
.word 871
.word .LC0
.word .LC11
.word 9999
.size updateCost, .-updateCost
.section .rodata
.align 2
.LC12:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type editDist3Core, %function
editDist3Core:
@ args = 4, pretend = 0, frame = 128
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #132
str r0, [fp, #-120]
str r1, [fp, #-124]
str r2, [fp, #-128]
str r3, [fp, #-132]
ldr r3, [fp, #4]
str r3, [fp, #-136]
ldr r3, .L261
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
ldr r3, [fp, #-120]
sub ip, fp, #32
ldm r3, {r0, r1, r2, r3}
stm ip, {r0, r1, r2, r3}
ldr r3, [fp, #-28]
add r3, r3, #1
ldr r2, [fp, #-128]
add r2, r2, #1
mul r3, r2, r3
str r3, [fp, #-108]
ldr r3, [fp, #-108]
add r3, r3, #1
bic r3, r3, #1
str r3, [fp, #-108]
ldr r3, .L261+4
ldr r3, [r3]
ldr r1, [r3, #272]
ldr r2, [fp, #-128]
mov r3, r2
lsl r3, r3, #1
add r2, r3, r2
ldr r3, [fp, #-108]
add r3, r2, r3
lsl r3, r3, #2
mov r0, r3
blx r1
str r0, [fp, #-84]
ldr r3, [fp, #-84]
cmp r3, #0
bne .L218
mvn r3, #0
b .L255
.L218:
ldr r3, [fp, #-108]
lsl r3, r3, #2
ldr r2, [fp, #-84]
add r3, r2, r3
str r3, [fp, #-80]
ldr r2, [fp, #-128]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #2
mov r2, r3
mov r1, #0
ldr r0, [fp, #-80]
bl memset
mov r3, #0
str r3, [fp, #-100]
b .L220
.L229:
ldr r3, [fp, #-100]
ldr r2, [fp, #-124]
add r3, r2, r3
ldrb r0, [r3] @ zero_extendqisi2
ldr r2, [fp, #-128]
ldr r3, [fp, #-100]
sub r1, r2, r3
ldr r2, [fp, #-100]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #2
mov r2, r3
ldr r3, [fp, #-80]
add r4, r3, r2
bl utf8Len
mov r3, r0
str r3, [r4, #4]
ldr r3, [fp, #-132]
ldr r3, [r3, #16]
str r3, [fp, #-96]
b .L221
.L228:
ldr r3, [fp, #-96]
ldrb r3, [r3, #4] @ zero_extendqisi2
cmp r3, #0
bne .L257
ldr r3, [fp, #-96]
ldrb r3, [r3, #5] @ zero_extendqisi2
mov r2, r3
ldr r3, [fp, #-100]
add r3, r2, r3
ldr r2, [fp, #-128]
cmp r2, r3
blt .L258
ldr r3, [fp, #-100]
ldr r2, [fp, #-124]
add r1, r2, r3
ldr r2, [fp, #-128]
ldr r3, [fp, #-100]
sub r3, r2, r3
mov r2, r3
ldr r0, [fp, #-96]
bl matchTo
mov r3, r0
cmp r3, #0
beq .L259
ldr r2, [fp, #-100]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #2
mov r2, r3
ldr r3, [fp, #-80]
add r3, r3, r2
ldr r2, [r3]
add r2, r2, #1
str r2, [r3]
ldr r3, .L261+4
ldr r3, [r3]
ldr r4, [r3, #304]
ldr r2, [fp, #-100]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #2
mov r2, r3
ldr r3, [fp, #-80]
add r3, r3, r2
ldr r0, [r3, #8]
ldr r2, [fp, #-100]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #2
mov r2, r3
ldr r3, [fp, #-80]
add r3, r3, r2
ldr r3, [r3]
lsl r3, r3, #2
mov r1, r3
blx r4
str r0, [fp, #-36]
ldr r3, [fp, #-36]
cmp r3, #0
bne .L226
mvn r3, #0
str r3, [fp, #-92]
b .L227
.L226:
ldr r2, [fp, #-100]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #2
mov r2, r3
ldr r3, [fp, #-80]
add r3, r3, r2
ldr r2, [fp, #-36]
str r2, [r3, #8]
ldr r2, [fp, #-100]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #2
mov r2, r3
ldr r3, [fp, #-80]
add r3, r3, r2
ldr r1, [r3, #8]
ldr r2, [fp, #-100]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #2
mov r2, r3
ldr r3, [fp, #-80]
add r3, r3, r2
ldr r3, [r3]
sub r3, r3, #-1073741823
lsl r3, r3, #2
add r3, r1, r3
ldr r2, [fp, #-96]
str r2, [r3]
b .L223
.L257:
nop
b .L223
.L258:
nop
b .L223
.L259:
nop
.L223:
ldr r3, [fp, #-96]
ldr r3, [r3]
str r3, [fp, #-96]
.L221:
ldr r3, [fp, #-96]
cmp r3, #0
bne .L228
ldr r3, [fp, #-100]
add r3, r3, #1
str r3, [fp, #-100]
.L220:
ldr r2, [fp, #-100]
ldr r3, [fp, #-128]
cmp r2, r3
blt .L229
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-76]
ldr r3, [fp, #-128]
add r3, r3, #1
ldr r2, [fp, #-76]
mul r3, r2, r3
lsl r3, r3, #2
mov r2, r3
mov r1, #1
ldr r0, [fp, #-84]
bl memset
ldr r3, [fp, #-84]
mov r2, #0
str r2, [r3]
mov r3, #0
str r3, [fp, #-104]
b .L230
.L233:
ldr r1, [fp, #-20]
ldr r2, [fp, #-104]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #2
add r3, r1, r3
ldr r3, [r3, #8]
str r3, [fp, #-56]
ldr r2, [fp, #-104]
ldr r3, [fp, #-56]
add r1, r2, r3
ldr r3, [fp, #-132]
ldr r3, [r3, #8]
ldr r2, [fp, #-104]
ldr r0, [fp, #-84]
bl updateCost
mov r3, #0
str r3, [fp, #-112]
b .L231
.L232:
ldr r1, [fp, #-20]
ldr r2, [fp, #-104]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #2
add r3, r1, r3
ldr r2, [r3, #16]
ldr r3, [fp, #-112]
lsl r3, r3, #2
add r3, r2, r3
ldr r3, [r3]
str r3, [fp, #-96]
ldr r3, [fp, #-96]
ldrb r3, [r3, #4] @ zero_extendqisi2
mov r2, r3
ldr r3, [fp, #-104]
add r1, r2, r3
ldr r3, [fp, #-96]
ldrh r3, [r3, #6]
ldr r2, [fp, #-104]
ldr r0, [fp, #-84]
bl updateCost
ldr r3, [fp, #-112]
add r3, r3, #1
str r3, [fp, #-112]
.L231:
ldr r1, [fp, #-20]
ldr r2, [fp, #-104]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #2
add r3, r1, r3
ldr r3, [r3, #4]
ldr r2, [fp, #-112]
cmp r2, r3
blt .L232
ldr r2, [fp, #-104]
ldr r3, [fp, #-56]
add r3, r2, r3
str r3, [fp, #-104]
.L230:
ldr r3, [fp, #-28]
ldr r2, [fp, #-104]
cmp r2, r3
blt .L233
mov r3, #0
str r3, [fp, #-100]
b .L234
.L245:
ldr r2, [fp, #-100]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #2
mov r2, r3
ldr r3, [fp, #-80]
add r3, r3, r2
ldr r3, [r3, #4]
str r3, [fp, #-68]
ldr r2, [fp, #-100]
ldr r3, [fp, #-68]
add r2, r2, r3
ldr r3, [fp, #-76]
mul r3, r2, r3
str r3, [fp, #-64]
ldr r3, [fp, #-76]
ldr r2, [fp, #-100]
mul r3, r2, r3
str r3, [fp, #-60]
ldr r3, [fp, #-132]
ldr r3, [r3, #4]
ldr r2, [fp, #-60]
ldr r1, [fp, #-64]
ldr r0, [fp, #-84]
bl updateCost
mov r3, #0
str r3, [fp, #-112]
b .L235
.L236:
ldr r2, [fp, #-100]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #2
mov r2, r3
ldr r3, [fp, #-80]
add r3, r3, r2
ldr r2, [r3, #8]
ldr r3, [fp, #-112]
lsl r3, r3, #2
add r3, r2, r3
ldr r3, [r3]
str r3, [fp, #-96]
ldr r3, [fp, #-96]
ldrb r3, [r3, #5] @ zero_extendqisi2
mov r2, r3
ldr r3, [fp, #-100]
add r3, r2, r3
ldr r2, [fp, #-76]
mul r1, r2, r3
ldr r3, [fp, #-96]
ldrh r3, [r3, #6]
ldr r2, [fp, #-60]
ldr r0, [fp, #-84]
bl updateCost
ldr r3, [fp, #-112]
add r3, r3, #1
str r3, [fp, #-112]
.L235:
ldr r2, [fp, #-100]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #2
mov r2, r3
ldr r3, [fp, #-80]
add r3, r3, r2
ldr r3, [r3]
ldr r2, [fp, #-112]
cmp r2, r3
blt .L236
mov r3, #0
str r3, [fp, #-104]
b .L237
.L244:
ldr r1, [fp, #-20]
ldr r2, [fp, #-104]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #2
add r3, r1, r3
ldr r3, [r3, #8]
str r3, [fp, #-56]
ldr r2, [fp, #-64]
ldr r3, [fp, #-104]
add r3, r2, r3
str r3, [fp, #-52]
ldr r2, [fp, #-52]
ldr r3, [fp, #-56]
add r3, r2, r3
str r3, [fp, #-48]
ldr r2, [fp, #-60]
ldr r3, [fp, #-104]
add r3, r2, r3
str r3, [fp, #-44]
ldr r2, [fp, #-44]
ldr r3, [fp, #-56]
add r3, r2, r3
str r3, [fp, #-40]
ldr r3, [fp, #-132]
ldr r3, [r3, #8]
ldr r2, [fp, #-52]
ldr r1, [fp, #-48]
ldr r0, [fp, #-84]
bl updateCost
mov r3, #0
str r3, [fp, #-112]
b .L238
.L239:
ldr r1, [fp, #-20]
ldr r2, [fp, #-104]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #2
add r3, r1, r3
ldr r2, [r3, #16]
ldr r3, [fp, #-112]
lsl r3, r3, #2
add r3, r2, r3
ldr r3, [r3]
str r3, [fp, #-96]
ldr r3, [fp, #-96]
ldrb r3, [r3, #4] @ zero_extendqisi2
mov r2, r3
ldr r3, [fp, #-52]
add r1, r2, r3
ldr r3, [fp, #-96]
ldrh r3, [r3, #6]
ldr r2, [fp, #-52]
ldr r0, [fp, #-84]
bl updateCost
ldr r3, [fp, #-112]
add r3, r3, #1
str r3, [fp, #-112]
.L238:
ldr r1, [fp, #-20]
ldr r2, [fp, #-104]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #2
add r3, r1, r3
ldr r3, [r3, #4]
ldr r2, [fp, #-112]
cmp r2, r3
blt .L239
ldr r3, [fp, #-132]
ldr r3, [r3, #4]
ldr r2, [fp, #-40]
ldr r1, [fp, #-48]
ldr r0, [fp, #-84]
bl updateCost
ldr r3, [fp, #-100]
ldr r2, [fp, #-124]
add r1, r2, r3
ldr r2, [fp, #-128]
ldr r3, [fp, #-100]
sub r3, r2, r3
sub r0, fp, #32
mov r2, r1
ldr r1, [fp, #-104]
bl matchFromTo
mov r3, r0
cmp r3, #0
beq .L240
mov r3, #0
ldr r2, [fp, #-44]
ldr r1, [fp, #-48]
ldr r0, [fp, #-84]
bl updateCost
.L240:
ldr r3, [fp, #-132]
ldr r3, [r3, #12]
ldr r2, [fp, #-44]
ldr r1, [fp, #-48]
ldr r0, [fp, #-84]
bl updateCost
mov r3, #0
str r3, [fp, #-112]
b .L241
.L243:
ldr r1, [fp, #-20]
ldr r2, [fp, #-104]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #2
add r3, r1, r3
ldr r2, [r3, #12]
ldr r3, [fp, #-112]
lsl r3, r3, #2
add r3, r2, r3
ldr r3, [r3]
str r3, [fp, #-96]
ldr r3, [fp, #-100]
ldr r2, [fp, #-124]
add r1, r2, r3
ldr r2, [fp, #-128]
ldr r3, [fp, #-100]
sub r3, r2, r3
mov r2, r3
ldr r0, [fp, #-96]
bl matchTo
mov r3, r0
cmp r3, #0
beq .L242
ldr r3, [fp, #-96]
ldrb r3, [r3, #4] @ zero_extendqisi2
mov r2, r3
ldr r3, [fp, #-44]
add r2, r2, r3
ldr r3, [fp, #-96]
ldrb r3, [r3, #5] @ zero_extendqisi2
mov r1, r3
ldr r3, [fp, #-76]
mul r3, r1, r3
add r1, r2, r3
ldr r3, [fp, #-96]
ldrh r3, [r3, #6]
ldr r2, [fp, #-44]
ldr r0, [fp, #-84]
bl updateCost
.L242:
ldr r3, [fp, #-112]
add r3, r3, #1
str r3, [fp, #-112]
.L241:
ldr r1, [fp, #-20]
ldr r2, [fp, #-104]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #2
add r3, r1, r3
ldr r3, [r3]
ldr r2, [fp, #-112]
cmp r2, r3
blt .L243
ldr r2, [fp, #-104]
ldr r3, [fp, #-56]
add r3, r2, r3
str r3, [fp, #-104]
.L237:
ldr r3, [fp, #-28]
ldr r2, [fp, #-104]
cmp r2, r3
blt .L244
ldr r2, [fp, #-100]
ldr r3, [fp, #-68]
add r3, r2, r3
str r3, [fp, #-100]
.L234:
ldr r2, [fp, #-100]
ldr r3, [fp, #-128]
cmp r2, r3
blt .L245
ldr r3, [fp, #-128]
add r3, r3, #1
ldr r2, [fp, #-76]
mul r3, r2, r3
sub r3, r3, #-1073741823
lsl r3, r3, #2
ldr r2, [fp, #-84]
add r3, r2, r3
ldr r3, [r3]
str r3, [fp, #-92]
ldr r3, [fp, #-128]
str r3, [fp, #-108]
ldr r3, [fp, #-24]
cmp r3, #0
beq .L246
mov r3, #1
str r3, [fp, #-100]
b .L247
.L249:
ldr r3, [fp, #-76]
ldr r2, [fp, #-100]
mul r3, r2, r3
sub r3, r3, #-1073741823
lsl r3, r3, #2
ldr r2, [fp, #-84]
add r3, r2, r3
ldr r3, [r3]
str r3, [fp, #-72]
ldr r2, [fp, #-72]
ldr r3, [fp, #-92]
cmp r2, r3
bgt .L248
ldr r3, [fp, #-72]
str r3, [fp, #-92]
ldr r3, [fp, #-100]
sub r3, r3, #1
str r3, [fp, #-108]
.L248:
ldr r3, [fp, #-100]
add r3, r3, #1
str r3, [fp, #-100]
.L247:
ldr r2, [fp, #-100]
ldr r3, [fp, #-128]
cmp r2, r3
ble .L249
.L246:
ldr r3, [fp, #-136]
cmp r3, #0
beq .L260
mov r3, #0
str r3, [fp, #-88]
mov r3, #0
str r3, [fp, #-112]
b .L250
.L252:
ldr r3, [fp, #-112]
ldr r2, [fp, #-124]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
and r3, r3, #192
cmp r3, #128
bne .L251
ldr r3, [fp, #-88]
add r3, r3, #1
str r3, [fp, #-88]
.L251:
ldr r3, [fp, #-112]
add r3, r3, #1
str r3, [fp, #-112]
.L250:
ldr r2, [fp, #-112]
ldr r3, [fp, #-108]
cmp r2, r3
blt .L252
ldr r2, [fp, #-108]
ldr r3, [fp, #-88]
sub r2, r2, r3
ldr r3, [fp, #-136]
str r2, [r3]
b .L227
.L260:
nop
.L227:
mov r3, #0
str r3, [fp, #-100]
b .L253
.L254:
ldr r3, .L261+4
ldr r3, [r3]
ldr r1, [r3, #232]
ldr r2, [fp, #-100]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #2
mov r2, r3
ldr r3, [fp, #-80]
add r3, r3, r2
ldr r3, [r3, #8]
mov r0, r3
blx r1
ldr r3, [fp, #-100]
add r3, r3, #1
str r3, [fp, #-100]
.L253:
ldr r2, [fp, #-100]
ldr r3, [fp, #-128]
cmp r2, r3
blt .L254
ldr r3, .L261+4
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r0, [fp, #-84]
blx r3
ldr r3, [fp, #-92]
.L255:
ldr r2, .L261
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L256
bl __stack_chk_fail
.L256:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L262:
.align 2
.L261:
.word .LC12
.word sqlite3_api
.size editDist3Core, .-editDist3Core
.align 2
.syntax unified
.arm
.fpu softvfp
.type editDist3FindLang, %function
editDist3FindLang:
@ 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 .L264
.L267:
ldr r3, [fp, #-16]
ldr r1, [r3, #4]
ldr r2, [fp, #-8]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #2
add r3, r1, r3
ldr r3, [r3]
ldr r2, [fp, #-20]
cmp r2, r3
bne .L265
ldr r3, [fp, #-16]
ldr r1, [r3, #4]
ldr r2, [fp, #-8]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #2
add r3, r1, r3
b .L266
.L265:
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L264:
ldr r3, [fp, #-16]
ldr r3, [r3]
ldr r2, [fp, #-8]
cmp r2, r3
blt .L267
ldr r3, .L268
.L266:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L269:
.align 2
.L268:
.word editDist3Lang
.size editDist3FindLang, .-editDist3FindLang
.align 2
.syntax unified
.arm
.fpu softvfp
.type editDist3SqlFunc, %function
editDist3SqlFunc:
@ args = 0, pretend = 0, frame = 64
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #72
str r0, [fp, #-56]
str r1, [fp, #-60]
str r2, [fp, #-64]
ldr r3, .L277
ldr r3, [r3]
ldr r3, [r3, #404]
ldr r0, [fp, #-56]
blx r3
str r0, [fp, #-52]
ldr r3, .L277
ldr r3, [r3]
ldr r3, [r3, #596]
ldr r0, [fp, #-56]
blx r3
str r0, [fp, #-48]
ldr r3, [fp, #-60]
cmp r3, #1
bne .L271
ldr r3, .L277
ldr r3, [r3]
ldr r3, [r3, #436]
ldr r2, [fp, #-64]
ldr r2, [r2]
mov r0, r2
blx r3
str r0, [fp, #-12]
ldr r2, [fp, #-12]
ldr r1, [fp, #-48]
ldr r0, [fp, #-52]
bl editDist3ConfigLoad
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L270
ldr r3, .L277
ldr r3, [r3]
ldr r3, [r3, #584]
ldr r1, [fp, #-8]
ldr r0, [fp, #-56]
blx r3
b .L270
.L271:
ldr r3, .L277
ldr r3, [r3]
ldr r3, [r3, #436]
ldr r2, [fp, #-64]
ldr r2, [r2]
mov r0, r2
blx r3
str r0, [fp, #-44]
ldr r3, .L277
ldr r3, [r3]
ldr r3, [r3, #436]
ldr r2, [fp, #-64]
add r2, r2, #4
ldr r2, [r2]
mov r0, r2
blx r3
str r0, [fp, #-40]
ldr r3, .L277
ldr r3, [r3]
ldr r3, [r3, #412]
ldr r2, [fp, #-64]
ldr r2, [r2]
mov r0, r2
blx r3
str r0, [fp, #-36]
ldr r3, .L277
ldr r3, [r3]
ldr r3, [r3, #412]
ldr r2, [fp, #-64]
add r2, r2, #4
ldr r2, [r2]
mov r0, r2
blx r3
str r0, [fp, #-32]
ldr r3, [fp, #-60]
cmp r3, #3
bne .L273
ldr r3, .L277
ldr r3, [r3]
ldr r3, [r3, #424]
ldr r2, [fp, #-64]
add r2, r2, #8
ldr r2, [r2]
mov r0, r2
blx r3
mov r3, r0
b .L274
.L273:
mov r3, #0
.L274:
str r3, [fp, #-28]
ldr r1, [fp, #-28]
ldr r0, [fp, #-52]
bl editDist3FindLang
str r0, [fp, #-24]
ldr r2, [fp, #-36]
ldr r1, [fp, #-44]
ldr r0, [fp, #-24]
bl editDist3FromStringNew
str r0, [fp, #-20]
ldr r3, [fp, #-20]
cmp r3, #0
bne .L275
ldr r3, .L277
ldr r3, [r3]
ldr r3, [r3, #548]
ldr r0, [fp, #-56]
blx r3
b .L270
.L275:
mov r3, #0
str r3, [sp]
ldr r3, [fp, #-24]
ldr r2, [fp, #-32]
ldr r1, [fp, #-40]
ldr r0, [fp, #-20]
bl editDist3Core
str r0, [fp, #-16]
ldr r0, [fp, #-20]
bl editDist3FromStringDelete
ldr r3, [fp, #-16]
cmn r3, #1
bne .L276
ldr r3, .L277
ldr r3, [r3]
ldr r3, [r3, #548]
ldr r0, [fp, #-56]
blx r3
b .L270
.L276:
ldr r3, .L277
ldr r3, [r3]
ldr r3, [r3, #328]
ldr r1, [fp, #-16]
ldr r0, [fp, #-56]
blx r3
.L270:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L278:
.align 2
.L277:
.word sqlite3_api
.size editDist3SqlFunc, .-editDist3SqlFunc
.section .rodata
.align 2
.LC13:
.ascii "editdist3\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type editDist3Install, %function
editDist3Install:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #44
str r0, [fp, #-24]
ldr r3, .L285
ldr r3, [r3]
ldr r3, [r3, #272]
mov r0, #8
blx r3
str r0, [fp, #-16]
ldr r3, [fp, #-16]
cmp r3, #0
bne .L280
mov r3, #7
b .L281
.L280:
mov r2, #8
mov r1, #0
ldr r0, [fp, #-16]
bl memset
ldr r3, .L285
ldr r3, [r3]
ldr r4, [r3, #648]
mov r3, #0
str r3, [sp, #16]
mov r3, #0
str r3, [sp, #12]
mov r3, #0
str r3, [sp, #8]
ldr r3, .L285+4
str r3, [sp, #4]
ldr r3, [fp, #-16]
str r3, [sp]
mov r3, #1
mov r2, #2
ldr r1, .L285+8
ldr r0, [fp, #-24]
blx r4
str r0, [fp, #-20]
ldr r3, [fp, #-20]
cmp r3, #0
bne .L282
ldr r3, .L285
ldr r3, [r3]
ldr r4, [r3, #648]
mov r3, #0
str r3, [sp, #16]
mov r3, #0
str r3, [sp, #12]
mov r3, #0
str r3, [sp, #8]
ldr r3, .L285+4
str r3, [sp, #4]
ldr r3, [fp, #-16]
str r3, [sp]
mov r3, #1
mov r2, #3
ldr r1, .L285+8
ldr r0, [fp, #-24]
blx r4
str r0, [fp, #-20]
.L282:
ldr r3, [fp, #-20]
cmp r3, #0
bne .L283
ldr r3, .L285
ldr r3, [r3]
ldr r4, [r3, #648]
ldr r3, .L285+12
str r3, [sp, #16]
mov r3, #0
str r3, [sp, #12]
mov r3, #0
str r3, [sp, #8]
ldr r3, .L285+4
str r3, [sp, #4]
ldr r3, [fp, #-16]
str r3, [sp]
mov r3, #1
mov r2, #1
ldr r1, .L285+8
ldr r0, [fp, #-24]
blx r4
str r0, [fp, #-20]
b .L284
.L283:
ldr r3, .L285
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r0, [fp, #-16]
blx r3
.L284:
ldr r3, [fp, #-20]
.L281:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L286:
.align 2
.L285:
.word sqlite3_api
.word editDist3SqlFunc
.word .LC13
.word editDist3ConfigDelete
.size editDist3Install, .-editDist3Install
.section .rodata
.align 2
.type sqlite3Utf8Trans1, %object
.size sqlite3Utf8Trans1, 64
sqlite3Utf8Trans1:
.ascii "\000\001\002\003\004\005\006\007\010\011\012\013\014"
.ascii "\015\016\017\020\021\022\023\024\025\026\027\030\031"
.ascii "\032\033\034\035\036\037\000\001\002\003\004\005\006"
.ascii "\007\010\011\012\013\014\015\016\017\000\001\002\003"
.ascii "\004\005\006\007\000\001\002\003\000\001\000\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type utf8Read, %function
utf8Read:
@ 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, #-16]
ldrb r3, [r3] @ zero_extendqisi2
str r3, [fp, #-12]
mov r3, #1
str r3, [fp, #-8]
ldr r3, [fp, #-12]
cmp r3, #191
ble .L288
ldr r3, [fp, #-12]
sub r3, r3, #192
ldr r2, .L292
ldrb r3, [r2, r3] @ zero_extendqisi2
str r3, [fp, #-12]
b .L289
.L290:
ldr r3, [fp, #-12]
lsl r2, r3, #6
ldr r3, [fp, #-8]
add r1, r3, #1
str r1, [fp, #-8]
mov r1, r3
ldr r3, [fp, #-16]
add r3, r3, r1
ldrb r3, [r3] @ zero_extendqisi2
and r3, r3, #63
add r3, r2, r3
str r3, [fp, #-12]
.L289:
ldr r2, [fp, #-8]
ldr r3, [fp, #-20]
cmp r2, r3
bge .L288
ldr r3, [fp, #-8]
ldr r2, [fp, #-16]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
and r3, r3, #192
cmp r3, #128
beq .L290
.L288:
ldr r3, [fp, #-24]
ldr r2, [fp, #-8]
str r2, [r3]
ldr r3, [fp, #-12]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L293:
.align 2
.L292:
.word sqlite3Utf8Trans1
.size utf8Read, .-utf8Read
.section .rodata
.align 2
.LC14:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type utf8Charlen, %function
utf8Charlen:
@ 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 r3, .L299
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-12]
mov r3, #0
str r3, [fp, #-16]
b .L295
.L296:
ldr r3, [fp, #-16]
ldr r2, [fp, #-24]
add r0, r2, r3
ldr r2, [fp, #-28]
ldr r3, [fp, #-16]
sub r3, r2, r3
sub r2, fp, #20
mov r1, r3
bl utf8Read
ldr r3, [fp, #-20]
ldr r2, [fp, #-16]
add r3, r2, r3
str r3, [fp, #-16]
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L295:
ldr r2, [fp, #-16]
ldr r3, [fp, #-28]
cmp r2, r3
blt .L296
ldr r3, [fp, #-12]
ldr r2, .L299
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L298
bl __stack_chk_fail
.L298:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L300:
.align 2
.L299:
.word .LC14
.size utf8Charlen, .-utf8Charlen
.section .rodata
.align 2
.type translit, %object
.size translit, 1556
translit:
.short 160
.byte 32
.byte 0
.short 181
.byte 117
.byte 0
.short 192
.byte 65
.byte 0
.short 193
.byte 65
.byte 0
.short 194
.byte 65
.byte 0
.short 195
.byte 65
.byte 0
.short 196
.byte 65
.byte 101
.short 197
.byte 65
.byte 97
.short 198
.byte 65
.byte 69
.short 199
.byte 67
.byte 0
.short 200
.byte 69
.byte 0
.short 201
.byte 69
.byte 0
.short 202
.byte 69
.byte 0
.short 203
.byte 69
.byte 0
.short 204
.byte 73
.byte 0
.short 205
.byte 73
.byte 0
.short 206
.byte 73
.byte 0
.short 207
.byte 73
.byte 0
.short 208
.byte 68
.byte 0
.short 209
.byte 78
.byte 0
.short 210
.byte 79
.byte 0
.short 211
.byte 79
.byte 0
.short 212
.byte 79
.byte 0
.short 213
.byte 79
.byte 0
.short 214
.byte 79
.byte 101
.short 215
.byte 120
.byte 0
.short 216
.byte 79
.byte 0
.short 217
.byte 85
.byte 0
.short 218
.byte 85
.byte 0
.short 219
.byte 85
.byte 0
.short 220
.byte 85
.byte 101
.short 221
.byte 89
.byte 0
.short 222
.byte 84
.byte 104
.short 223
.byte 115
.byte 115
.short 224
.byte 97
.byte 0
.short 225
.byte 97
.byte 0
.short 226
.byte 97
.byte 0
.short 227
.byte 97
.byte 0
.short 228
.byte 97
.byte 101
.short 229
.byte 97
.byte 97
.short 230
.byte 97
.byte 101
.short 231
.byte 99
.byte 0
.short 232
.byte 101
.byte 0
.short 233
.byte 101
.byte 0
.short 234
.byte 101
.byte 0
.short 235
.byte 101
.byte 0
.short 236
.byte 105
.byte 0
.short 237
.byte 105
.byte 0
.short 238
.byte 105
.byte 0
.short 239
.byte 105
.byte 0
.short 240
.byte 100
.byte 0
.short 241
.byte 110
.byte 0
.short 242
.byte 111
.byte 0
.short 243
.byte 111
.byte 0
.short 244
.byte 111
.byte 0
.short 245
.byte 111
.byte 0
.short 246
.byte 111
.byte 101
.short 247
.byte 58
.byte 0
.short 248
.byte 111
.byte 0
.short 249
.byte 117
.byte 0
.short 250
.byte 117
.byte 0
.short 251
.byte 117
.byte 0
.short 252
.byte 117
.byte 101
.short 253
.byte 121
.byte 0
.short 254
.byte 116
.byte 104
.short 255
.byte 121
.byte 0
.short 256
.byte 65
.byte 0
.short 257
.byte 97
.byte 0
.short 258
.byte 65
.byte 0
.short 259
.byte 97
.byte 0
.short 260
.byte 65
.byte 0
.short 261
.byte 97
.byte 0
.short 262
.byte 67
.byte 0
.short 263
.byte 99
.byte 0
.short 264
.byte 67
.byte 104
.short 265
.byte 99
.byte 104
.short 266
.byte 67
.byte 0
.short 267
.byte 99
.byte 0
.short 268
.byte 67
.byte 0
.short 269
.byte 99
.byte 0
.short 270
.byte 68
.byte 0
.short 271
.byte 100
.byte 0
.short 272
.byte 68
.byte 0
.short 273
.byte 100
.byte 0
.short 274
.byte 69
.byte 0
.short 275
.byte 101
.byte 0
.short 276
.byte 69
.byte 0
.short 277
.byte 101
.byte 0
.short 278
.byte 69
.byte 0
.short 279
.byte 101
.byte 0
.short 280
.byte 69
.byte 0
.short 281
.byte 101
.byte 0
.short 282
.byte 69
.byte 0
.short 283
.byte 101
.byte 0
.short 284
.byte 71
.byte 104
.short 285
.byte 103
.byte 104
.short 286
.byte 71
.byte 0
.short 287
.byte 103
.byte 0
.short 288
.byte 71
.byte 0
.short 289
.byte 103
.byte 0
.short 290
.byte 71
.byte 0
.short 291
.byte 103
.byte 0
.short 292
.byte 72
.byte 104
.short 293
.byte 104
.byte 104
.short 294
.byte 72
.byte 0
.short 295
.byte 104
.byte 0
.short 296
.byte 73
.byte 0
.short 297
.byte 105
.byte 0
.short 298
.byte 73
.byte 0
.short 299
.byte 105
.byte 0
.short 300
.byte 73
.byte 0
.short 301
.byte 105
.byte 0
.short 302
.byte 73
.byte 0
.short 303
.byte 105
.byte 0
.short 304
.byte 73
.byte 0
.short 305
.byte 105
.byte 0
.short 306
.byte 73
.byte 74
.short 307
.byte 105
.byte 106
.short 308
.byte 74
.byte 104
.short 309
.byte 106
.byte 104
.short 310
.byte 75
.byte 0
.short 311
.byte 107
.byte 0
.short 312
.byte 107
.byte 0
.short 313
.byte 76
.byte 0
.short 314
.byte 108
.byte 0
.short 315
.byte 76
.byte 0
.short 316
.byte 108
.byte 0
.short 317
.byte 76
.byte 0
.short 318
.byte 108
.byte 0
.short 319
.byte 76
.byte 46
.short 320
.byte 108
.byte 46
.short 321
.byte 76
.byte 0
.short 322
.byte 108
.byte 0
.short 323
.byte 78
.byte 0
.short 324
.byte 110
.byte 0
.short 325
.byte 78
.byte 0
.short 326
.byte 110
.byte 0
.short 327
.byte 78
.byte 0
.short 328
.byte 110
.byte 0
.short 329
.byte 39
.byte 110
.short 330
.byte 78
.byte 71
.short 331
.byte 110
.byte 103
.short 332
.byte 79
.byte 0
.short 333
.byte 111
.byte 0
.short 334
.byte 79
.byte 0
.short 335
.byte 111
.byte 0
.short 336
.byte 79
.byte 0
.short 337
.byte 111
.byte 0
.short 338
.byte 79
.byte 69
.short 339
.byte 111
.byte 101
.short 340
.byte 82
.byte 0
.short 341
.byte 114
.byte 0
.short 342
.byte 82
.byte 0
.short 343
.byte 114
.byte 0
.short 344
.byte 82
.byte 0
.short 345
.byte 114
.byte 0
.short 346
.byte 83
.byte 0
.short 347
.byte 115
.byte 0
.short 348
.byte 83
.byte 104
.short 349
.byte 115
.byte 104
.short 350
.byte 83
.byte 0
.short 351
.byte 115
.byte 0
.short 352
.byte 83
.byte 0
.short 353
.byte 115
.byte 0
.short 354
.byte 84
.byte 0
.short 355
.byte 116
.byte 0
.short 356
.byte 84
.byte 0
.short 357
.byte 116
.byte 0
.short 358
.byte 84
.byte 0
.short 359
.byte 116
.byte 0
.short 360
.byte 85
.byte 0
.short 361
.byte 117
.byte 0
.short 362
.byte 85
.byte 0
.short 363
.byte 117
.byte 0
.short 364
.byte 85
.byte 0
.short 365
.byte 117
.byte 0
.short 366
.byte 85
.byte 0
.short 367
.byte 117
.byte 0
.short 368
.byte 85
.byte 0
.short 369
.byte 117
.byte 0
.short 370
.byte 85
.byte 0
.short 371
.byte 117
.byte 0
.short 372
.byte 87
.byte 0
.short 373
.byte 119
.byte 0
.short 374
.byte 89
.byte 0
.short 375
.byte 121
.byte 0
.short 376
.byte 89
.byte 0
.short 377
.byte 90
.byte 0
.short 378
.byte 122
.byte 0
.short 379
.byte 90
.byte 0
.short 380
.byte 122
.byte 0
.short 381
.byte 90
.byte 0
.short 382
.byte 122
.byte 0
.short 383
.byte 115
.byte 0
.short 402
.byte 102
.byte 0
.short 536
.byte 83
.byte 0
.short 537
.byte 115
.byte 0
.short 538
.byte 84
.byte 0
.short 539
.byte 116
.byte 0
.short 902
.byte 65
.byte 0
.short 904
.byte 69
.byte 0
.short 905
.byte 73
.byte 0
.short 906
.byte 73
.byte 0
.short 908
.byte 79
.byte 0
.short 910
.byte 89
.byte 0
.short 911
.byte 79
.byte 0
.short 912
.byte 105
.byte 0
.short 913
.byte 65
.byte 0
.short 914
.byte 66
.byte 0
.short 915
.byte 71
.byte 0
.short 916
.byte 68
.byte 0
.short 917
.byte 69
.byte 0
.short 918
.byte 90
.byte 0
.short 919
.byte 73
.byte 0
.short 920
.byte 84
.byte 104
.short 921
.byte 73
.byte 0
.short 922
.byte 75
.byte 0
.short 923
.byte 76
.byte 0
.short 924
.byte 77
.byte 0
.short 925
.byte 78
.byte 0
.short 926
.byte 88
.byte 0
.short 927
.byte 79
.byte 0
.short 928
.byte 80
.byte 0
.short 929
.byte 82
.byte 0
.short 931
.byte 83
.byte 0
.short 932
.byte 84
.byte 0
.short 933
.byte 89
.byte 0
.short 934
.byte 70
.byte 0
.short 935
.byte 67
.byte 104
.short 936
.byte 80
.byte 115
.short 937
.byte 79
.byte 0
.short 938
.byte 73
.byte 0
.short 939
.byte 89
.byte 0
.short 940
.byte 97
.byte 0
.short 941
.byte 101
.byte 0
.short 942
.byte 105
.byte 0
.short 943
.byte 105
.byte 0
.short 945
.byte 97
.byte 0
.short 946
.byte 98
.byte 0
.short 947
.byte 103
.byte 0
.short 948
.byte 100
.byte 0
.short 949
.byte 101
.byte 0
.short 950
.byte 122
.byte 0
.short 951
.byte 105
.byte 0
.short 952
.byte 116
.byte 104
.short 953
.byte 105
.byte 0
.short 954
.byte 107
.byte 0
.short 955
.byte 108
.byte 0
.short 956
.byte 109
.byte 0
.short 957
.byte 110
.byte 0
.short 958
.byte 120
.byte 0
.short 959
.byte 111
.byte 0
.short 960
.byte 112
.byte 0
.short 961
.byte 114
.byte 0
.short 963
.byte 115
.byte 0
.short 964
.byte 116
.byte 0
.short 965
.byte 121
.byte 0
.short 966
.byte 102
.byte 0
.short 967
.byte 99
.byte 104
.short 968
.byte 112
.byte 115
.short 969
.byte 111
.byte 0
.short 970
.byte 105
.byte 0
.short 971
.byte 121
.byte 0
.short 972
.byte 111
.byte 0
.short 973
.byte 121
.byte 0
.short 974
.byte 105
.byte 0
.short 1024
.byte 69
.byte 0
.short 1025
.byte 69
.byte 0
.short 1026
.byte 68
.byte 0
.short 1027
.byte 71
.byte 0
.short 1028
.byte 69
.byte 0
.short 1029
.byte 90
.byte 0
.short 1030
.byte 73
.byte 0
.short 1031
.byte 73
.byte 0
.short 1032
.byte 74
.byte 0
.short 1033
.byte 73
.byte 0
.short 1034
.byte 78
.byte 0
.short 1035
.byte 68
.byte 0
.short 1036
.byte 75
.byte 0
.short 1037
.byte 73
.byte 0
.short 1038
.byte 85
.byte 0
.short 1039
.byte 68
.byte 0
.short 1040
.byte 65
.byte 0
.short 1041
.byte 66
.byte 0
.short 1042
.byte 86
.byte 0
.short 1043
.byte 71
.byte 0
.short 1044
.byte 68
.byte 0
.short 1045
.byte 69
.byte 0
.short 1046
.byte 90
.byte 104
.short 1047
.byte 90
.byte 0
.short 1048
.byte 73
.byte 0
.short 1049
.byte 73
.byte 0
.short 1050
.byte 75
.byte 0
.short 1051
.byte 76
.byte 0
.short 1052
.byte 77
.byte 0
.short 1053
.byte 78
.byte 0
.short 1054
.byte 79
.byte 0
.short 1055
.byte 80
.byte 0
.short 1056
.byte 82
.byte 0
.short 1057
.byte 83
.byte 0
.short 1058
.byte 84
.byte 0
.short 1059
.byte 85
.byte 0
.short 1060
.byte 70
.byte 0
.short 1061
.byte 75
.byte 104
.short 1062
.byte 84
.byte 99
.short 1063
.byte 67
.byte 104
.short 1064
.byte 83
.byte 104
.short 1065
.byte 83
.byte 104
.short 1066
.byte 97
.byte 0
.short 1067
.byte 89
.byte 0
.short 1068
.byte 89
.byte 0
.short 1069
.byte 69
.byte 0
.short 1070
.byte 73
.byte 117
.short 1071
.byte 73
.byte 97
.short 1072
.byte 97
.byte 0
.short 1073
.byte 98
.byte 0
.short 1074
.byte 118
.byte 0
.short 1075
.byte 103
.byte 0
.short 1076
.byte 100
.byte 0
.short 1077
.byte 101
.byte 0
.short 1078
.byte 122
.byte 104
.short 1079
.byte 122
.byte 0
.short 1080
.byte 105
.byte 0
.short 1081
.byte 105
.byte 0
.short 1082
.byte 107
.byte 0
.short 1083
.byte 108
.byte 0
.short 1084
.byte 109
.byte 0
.short 1085
.byte 110
.byte 0
.short 1086
.byte 111
.byte 0
.short 1087
.byte 112
.byte 0
.short 1088
.byte 114
.byte 0
.short 1089
.byte 115
.byte 0
.short 1090
.byte 116
.byte 0
.short 1091
.byte 117
.byte 0
.short 1092
.byte 102
.byte 0
.short 1093
.byte 107
.byte 104
.short 1094
.byte 116
.byte 99
.short 1095
.byte 99
.byte 104
.short 1096
.byte 115
.byte 104
.short 1097
.byte 115
.byte 104
.short 1098
.byte 97
.byte 0
.short 1099
.byte 121
.byte 0
.short 1100
.byte 121
.byte 0
.short 1101
.byte 101
.byte 0
.short 1102
.byte 105
.byte 117
.short 1103
.byte 105
.byte 97
.short 1104
.byte 101
.byte 0
.short 1105
.byte 101
.byte 0
.short 1106
.byte 100
.byte 0
.short 1107
.byte 103
.byte 0
.short 1108
.byte 101
.byte 0
.short 1109
.byte 122
.byte 0
.short 1110
.byte 105
.byte 0
.short 1111
.byte 105
.byte 0
.short 1112
.byte 106
.byte 0
.short 1113
.byte 105
.byte 0
.short 1114
.byte 110
.byte 0
.short 1115
.byte 100
.byte 0
.short 1116
.byte 107
.byte 0
.short 1117
.byte 105
.byte 0
.short 1118
.byte 117
.byte 0
.short 1119
.byte 100
.byte 0
.short 7682
.byte 66
.byte 0
.short 7683
.byte 98
.byte 0
.short 7690
.byte 68
.byte 0
.short 7691
.byte 100
.byte 0
.short 7710
.byte 70
.byte 0
.short 7711
.byte 102
.byte 0
.short 7744
.byte 77
.byte 0
.short 7745
.byte 109
.byte 0
.short 7766
.byte 80
.byte 0
.short 7767
.byte 112
.byte 0
.short 7776
.byte 83
.byte 0
.short 7777
.byte 115
.byte 0
.short 7786
.byte 84
.byte 0
.short 7787
.byte 116
.byte 0
.short 7808
.byte 87
.byte 0
.short 7809
.byte 119
.byte 0
.short 7810
.byte 87
.byte 0
.short 7811
.byte 119
.byte 0
.short 7812
.byte 87
.byte 0
.short 7813
.byte 119
.byte 0
.short 7922
.byte 89
.byte 0
.short 7923
.byte 121
.byte 0
.short -1280
.byte 102
.byte 102
.short -1279
.byte 102
.byte 105
.short -1278
.byte 102
.byte 108
.short -1275
.byte 115
.byte 116
.short -1274
.byte 115
.byte 116
.align 2
.LC15:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type transliterate, %function
transliterate:
@ 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]
ldr r3, .L316
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, .L316+4
ldr r3, [r3]
ldr r3, [r3, #272]
ldr r2, [fp, #-44]
lsl r2, r2, #2
add r2, r2, #1
mov r0, r2
blx r3
str r0, [fp, #-16]
ldr r3, [fp, #-16]
cmp r3, #0
bne .L302
mov r3, #0
b .L314
.L302:
mov r3, #0
str r3, [fp, #-28]
b .L304
.L313:
sub r3, fp, #36
mov r2, r3
ldr r1, [fp, #-44]
ldr r0, [fp, #-40]
bl utf8Read
str r0, [fp, #-32]
ldr r3, [fp, #-36]
mov r2, r3
ldr r3, [fp, #-40]
add r3, r3, r2
str r3, [fp, #-40]
ldr r3, [fp, #-36]
ldr r2, [fp, #-44]
sub r3, r2, r3
str r3, [fp, #-44]
ldr r3, [fp, #-32]
cmp r3, #127
bgt .L305
ldr r3, [fp, #-28]
add r2, r3, #1
str r2, [fp, #-28]
mov r2, r3
ldr r3, [fp, #-16]
add r3, r3, r2
ldr r2, [fp, #-32]
and r2, r2, #255
strb r2, [r3]
b .L304
.L305:
mov r3, #388
str r3, [fp, #-24]
mov r3, #0
str r3, [fp, #-20]
b .L306
.L312:
ldr r2, [fp, #-24]
ldr r3, [fp, #-20]
add r3, r2, r3
lsr r2, r3, #31
add r3, r2, r3
asr r3, r3, #1
str r3, [fp, #-12]
ldr r2, .L316+8
ldr r3, [fp, #-12]
lsl r3, r3, #2
add r3, r2, r3
ldrh r3, [r3]
mov r2, r3
ldr r3, [fp, #-32]
cmp r3, r2
bne .L307
ldr r3, [fp, #-28]
add r2, r3, #1
str r2, [fp, #-28]
mov r2, r3
ldr r3, [fp, #-16]
add r2, r3, r2
ldr r1, .L316+8
ldr r3, [fp, #-12]
lsl r3, r3, #2
add r3, r1, r3
ldrb r3, [r3, #2] @ zero_extendqisi2
strb r3, [r2]
ldr r2, .L316+8
ldr r3, [fp, #-12]
lsl r3, r3, #2
add r3, r2, r3
ldrb r3, [r3, #3] @ zero_extendqisi2
cmp r3, #0
beq .L308
ldr r3, [fp, #-28]
add r2, r3, #1
str r2, [fp, #-28]
mov r2, r3
ldr r3, [fp, #-16]
add r2, r3, r2
ldr r1, .L316+8
ldr r3, [fp, #-12]
lsl r3, r3, #2
add r3, r1, r3
ldrb r3, [r3, #3] @ zero_extendqisi2
strb r3, [r2]
ldr r3, [fp, #-32]
ldr r2, .L316+12
cmp r3, r2
beq .L309
ldr r3, [fp, #-32]
ldr r2, .L316+16
cmp r3, r2
bne .L308
.L309:
ldr r3, [fp, #-28]
add r2, r3, #1
str r2, [fp, #-28]
mov r2, r3
ldr r3, [fp, #-16]
add r3, r3, r2
mov r2, #99
strb r2, [r3]
ldr r3, [fp, #-28]
add r2, r3, #1
str r2, [fp, #-28]
mov r2, r3
ldr r3, [fp, #-16]
add r3, r3, r2
mov r2, #104
strb r2, [r3]
.L308:
mov r3, #0
str r3, [fp, #-32]
b .L310
.L307:
ldr r2, .L316+8
ldr r3, [fp, #-12]
lsl r3, r3, #2
add r3, r2, r3
ldrh r3, [r3]
mov r2, r3
ldr r3, [fp, #-32]
cmp r3, r2
bge .L311
ldr r3, [fp, #-12]
sub r3, r3, #1
str r3, [fp, #-24]
b .L306
.L311:
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-20]
.L306:
ldr r2, [fp, #-24]
ldr r3, [fp, #-20]
cmp r2, r3
bge .L312
.L310:
ldr r3, [fp, #-32]
cmp r3, #0
beq .L304
ldr r3, [fp, #-28]
add r2, r3, #1
str r2, [fp, #-28]
mov r2, r3
ldr r3, [fp, #-16]
add r3, r3, r2
mov r2, #63
strb r2, [r3]
.L304:
ldr r3, [fp, #-44]
cmp r3, #0
bgt .L313
ldr r3, [fp, #-28]
ldr r2, [fp, #-16]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
ldr r3, [fp, #-16]
.L314:
ldr r2, .L316
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L315
bl __stack_chk_fail
.L315:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L317:
.align 2
.L316:
.word .LC15
.word sqlite3_api
.word translit
.word 1065
.word 1097
.size transliterate, .-transliterate
.section .rodata
.align 2
.LC16:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type translen_to_charlen, %function
translen_to_charlen:
@ args = 0, 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]
ldr r3, .L333
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-32]
ldr r3, [fp, #-32]
str r3, [fp, #-36]
mov r3, #0
str r3, [fp, #-28]
b .L319
.L329:
ldr r3, [fp, #-36]
ldr r2, [fp, #-48]
add r0, r2, r3
ldr r2, [fp, #-52]
ldr r3, [fp, #-36]
sub r3, r2, r3
sub r2, fp, #40
mov r1, r3
bl utf8Read
str r0, [fp, #-16]
ldr r3, [fp, #-40]
ldr r2, [fp, #-36]
add r3, r2, r3
str r3, [fp, #-36]
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
ldr r3, [fp, #-16]
cmp r3, #127
ble .L320
mov r3, #388
str r3, [fp, #-24]
mov r3, #0
str r3, [fp, #-20]
b .L321
.L327:
ldr r2, [fp, #-24]
ldr r3, [fp, #-20]
add r3, r2, r3
lsr r2, r3, #31
add r3, r2, r3
asr r3, r3, #1
str r3, [fp, #-12]
ldr r2, .L333+4
ldr r3, [fp, #-12]
lsl r3, r3, #2
add r3, r2, r3
ldrh r3, [r3]
mov r2, r3
ldr r3, [fp, #-16]
cmp r3, r2
bne .L322
ldr r2, .L333+4
ldr r3, [fp, #-12]
lsl r3, r3, #2
add r3, r2, r3
ldrb r3, [r3, #3] @ zero_extendqisi2
cmp r3, #0
beq .L323
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L323:
ldr r3, [fp, #-16]
ldr r2, .L333+8
cmp r3, r2
beq .L324
ldr r3, [fp, #-16]
ldr r2, .L333+12
cmp r3, r2
bne .L332
.L324:
ldr r3, [fp, #-32]
add r3, r3, #2
str r3, [fp, #-32]
b .L332
.L322:
ldr r2, .L333+4
ldr r3, [fp, #-12]
lsl r3, r3, #2
add r3, r2, r3
ldrh r3, [r3]
mov r2, r3
ldr r3, [fp, #-16]
cmp r3, r2
bge .L326
ldr r3, [fp, #-12]
sub r3, r3, #1
str r3, [fp, #-24]
b .L321
.L326:
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-20]
.L321:
ldr r2, [fp, #-24]
ldr r3, [fp, #-20]
cmp r2, r3
bge .L327
b .L320
.L332:
nop
.L320:
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L319:
ldr r2, [fp, #-36]
ldr r3, [fp, #-52]
cmp r2, r3
bge .L328
ldr r2, [fp, #-32]
ldr r3, [fp, #-56]
cmp r2, r3
blt .L329
.L328:
ldr r3, [fp, #-28]
ldr r2, .L333
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L331
bl __stack_chk_fail
.L331:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L334:
.align 2
.L333:
.word .LC16
.word translit
.word 1065
.word 1097
.size translen_to_charlen, .-translen_to_charlen
.align 2
.syntax unified
.arm
.fpu softvfp
.type transliterateSqlFunc, %function
transliterateSqlFunc:
@ 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]
ldr r3, .L339
ldr r3, [r3]
ldr r3, [r3, #436]
ldr r2, [fp, #-40]
ldr r2, [r2]
mov r0, r2
blx r3
str r0, [fp, #-24]
ldr r3, .L339
ldr r3, [r3]
ldr r3, [r3, #412]
ldr r2, [fp, #-40]
ldr r2, [r2]
mov r0, r2
blx r3
str r0, [fp, #-20]
ldr r1, [fp, #-20]
ldr r0, [fp, #-24]
bl transliterate
str r0, [fp, #-16]
ldr r3, [fp, #-16]
cmp r3, #0
bne .L336
ldr r3, .L339
ldr r3, [r3]
ldr r3, [r3, #548]
ldr r0, [fp, #-32]
blx r3
b .L338
.L336:
ldr r3, .L339
ldr r3, [r3]
ldr r4, [r3, #340]
ldr r3, .L339
ldr r3, [r3]
ldr r3, [r3, #232]
mvn r2, #0
ldr r1, [fp, #-16]
ldr r0, [fp, #-32]
blx r4
.L338:
nop
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L340:
.align 2
.L339:
.word sqlite3_api
.size transliterateSqlFunc, .-transliterateSqlFunc
.section .rodata
.align 2
.LC17:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type scriptCodeSqlFunc, %function
scriptCodeSqlFunc:
@ 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]
str r2, [fp, #-48]
ldr r3, .L354
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, .L354+4
ldr r3, [r3]
ldr r3, [r3, #436]
ldr r2, [fp, #-48]
ldr r2, [r2]
mov r0, r2
blx r3
str r0, [fp, #-28]
ldr r3, .L354+4
ldr r3, [r3]
ldr r3, [r3, #412]
ldr r2, [fp, #-48]
ldr r2, [r2]
mov r0, r2
blx r3
str r0, [fp, #-24]
mov r3, #0
str r3, [fp, #-20]
b .L342
.L345:
sub r3, fp, #32
mov r2, r3
ldr r1, [fp, #-24]
ldr r0, [fp, #-28]
bl utf8Read
str r0, [fp, #-12]
ldr r3, [fp, #-32]
mov r2, r3
ldr r3, [fp, #-28]
add r3, r3, r2
str r3, [fp, #-28]
ldr r3, [fp, #-32]
ldr r2, [fp, #-24]
sub r3, r2, r3
str r3, [fp, #-24]
ldr r3, [fp, #-12]
ldr r2, .L354+8
cmp r3, r2
bgt .L343
ldr r3, [fp, #-20]
orr r3, r3, #1
str r3, [fp, #-20]
b .L342
.L343:
ldr r3, [fp, #-12]
cmp r3, #1024
blt .L344
ldr r3, [fp, #-12]
cmp r3, #1280
bge .L344
ldr r3, [fp, #-20]
orr r3, r3, #2
str r3, [fp, #-20]
b .L342
.L344:
ldr r3, [fp, #-12]
ldr r2, .L354+12
cmp r3, r2
ble .L342
ldr r3, [fp, #-12]
ldr r2, .L354+16
cmp r3, r2
bgt .L342
ldr r3, [fp, #-20]
orr r3, r3, #4
str r3, [fp, #-20]
.L342:
ldr r3, [fp, #-24]
cmp r3, #0
bgt .L345
ldr r3, [fp, #-20]
cmp r3, #4
ldrls pc, [pc, r3, asl #2]
b .L346
.L348:
.word .L351
.word .L350
.word .L349
.word .L346
.word .L347
.L351:
ldr r3, .L354+20
str r3, [fp, #-16]
b .L352
.L350:
mov r3, #215
str r3, [fp, #-16]
b .L352
.L349:
mov r3, #220
str r3, [fp, #-16]
b .L352
.L347:
mov r3, #200
str r3, [fp, #-16]
b .L352
.L346:
ldr r3, .L354+24
str r3, [fp, #-16]
nop
.L352:
ldr r3, .L354+4
ldr r3, [r3]
ldr r3, [r3, #328]
ldr r1, [fp, #-16]
ldr r0, [fp, #-40]
blx r3
nop
ldr r3, .L354
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L353
bl __stack_chk_fail
.L353:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L355:
.align 2
.L354:
.word .LC17
.word sqlite3_api
.word 686
.word 901
.word 974
.word 999
.word 998
.size scriptCodeSqlFunc, .-scriptCodeSqlFunc
.section .rodata
.align 2
.LC18:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type spellfix1DbExec, %function
spellfix1DbExec:
@ args = 4, pretend = 8, frame = 32
@ frame_needed = 1, uses_anonymous_args = 1
push {r2, r3}
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #44
str r0, [fp, #-32]
str r1, [fp, #-36]
ldr r3, [fp, #4]
str r3, [fp, #-40]
ldr r3, .L363
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
ldr r3, [fp, #-32]
ldr r3, [r3]
cmp r3, #0
bne .L362
add r3, fp, #8
str r3, [fp, #-24]
ldr r3, .L363+4
ldr r3, [r3]
ldr r3, [r3, #456]
ldr r1, [fp, #-24]
ldr r0, [fp, #-40]
blx r3
str r0, [fp, #-20]
ldr r3, [fp, #-20]
cmp r3, #0
bne .L359
ldr r3, [fp, #-32]
mov r2, #7
str r2, [r3]
b .L356
.L359:
ldr r3, .L363+4
ldr r3, [r3]
ldr r4, [r3, #220]
mov r3, #0
str r3, [sp]
mov r3, #0
mov r2, #0
ldr r1, [fp, #-20]
ldr r0, [fp, #-36]
blx r4
mov r2, r0
ldr r3, [fp, #-32]
str r2, [r3]
ldr r3, .L363+4
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r0, [fp, #-20]
blx r3
b .L356
.L362:
nop
.L356:
ldr r3, .L363
ldr r2, [r3]
ldr r3, [fp, #-16]
eors r2, r3, r2
mov r3, #0
beq .L361
bl __stack_chk_fail
.L361:
sub sp, fp, #8
@ sp needed
pop {r4, fp, lr}
add sp, sp, #8
bx lr
.L364:
.align 2
.L363:
.word .LC18
.word sqlite3_api
.size spellfix1DbExec, .-spellfix1DbExec
.section .rodata
.align 2
.LC19:
.ascii "DROP TABLE IF EXISTS \"%w\".\"%w_vocab\"\000"
.align 2
.LC20:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type spellfix1Uninit, %function
spellfix1Uninit:
@ args = 0, pretend = 0, frame = 24
@ 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]
ldr r3, .L370
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, [fp, #-28]
str r3, [fp, #-16]
mov r3, #0
str r3, [fp, #-20]
ldr r3, [fp, #-24]
cmp r3, #0
beq .L366
ldr r3, [fp, #-16]
ldr r3, [r3, #12]
str r3, [fp, #-12]
ldr r3, [fp, #-16]
ldr r2, [r3, #16]
ldr r3, [fp, #-16]
ldr r3, [r3, #20]
sub r0, fp, #20
str r3, [sp]
mov r3, r2
ldr r2, .L370+4
ldr r1, [fp, #-12]
bl spellfix1DbExec
.L366:
ldr r3, [fp, #-20]
cmp r3, #0
bne .L367
ldr r3, .L370+8
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r2, [fp, #-16]
ldr r2, [r2, #20]
mov r0, r2
blx r3
ldr r3, [fp, #-16]
ldr r3, [r3, #28]
mov r0, r3
bl editDist3ConfigDelete
ldr r3, .L370+8
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r2, [fp, #-16]
ldr r2, [r2, #24]
mov r0, r2
blx r3
ldr r3, .L370+8
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r0, [fp, #-16]
blx r3
.L367:
ldr r3, [fp, #-20]
ldr r2, .L370
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L369
bl __stack_chk_fail
.L369:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L371:
.align 2
.L370:
.word .LC20
.word .LC19
.word sqlite3_api
.size spellfix1Uninit, .-spellfix1Uninit
.align 2
.syntax unified
.arm
.fpu softvfp
.type spellfix1Disconnect, %function
spellfix1Disconnect:
@ 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 r1, [fp, #-8]
mov r0, #0
bl spellfix1Uninit
mov r3, r0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size spellfix1Disconnect, .-spellfix1Disconnect
.align 2
.syntax unified
.arm
.fpu softvfp
.type spellfix1Destroy, %function
spellfix1Destroy:
@ 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 r1, [fp, #-8]
mov r0, #1
bl spellfix1Uninit
mov r3, r0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size spellfix1Destroy, .-spellfix1Destroy
.section .rodata
.align 2
.LC21:
.ascii "%s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type spellfix1Dequote, %function
spellfix1Dequote:
@ 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]
b .L377
.L378:
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L377:
bl __ctype_b_loc
mov r3, r0
ldr r2, [r3]
ldr r3, [fp, #-24]
ldrb r3, [r3] @ zero_extendqisi2
lsl r3, r3, #1
add r3, r2, r3
ldrh r3, [r3]
and r3, r3, #8192
cmp r3, #0
bne .L378
ldr r3, .L386
ldr r3, [r3]
ldr r3, [r3, #276]
ldr r1, [fp, #-24]
ldr r0, .L386+4
blx r3
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
bne .L379
mov r3, #0
b .L380
.L379:
ldr r0, [fp, #-8]
bl strlen
mov r3, r0
str r3, [fp, #-16]
ldr r3, [fp, #-16]
ldr r2, [fp, #-8]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
ldr r3, [fp, #-8]
ldrb r3, [r3]
strb r3, [fp, #-17]
ldrb r3, [fp, #-17] @ zero_extendqisi2
cmp r3, #39
beq .L381
ldrb r3, [fp, #-17] @ zero_extendqisi2
cmp r3, #34
bne .L382
.L381:
mov r3, #1
str r3, [fp, #-16]
mov r3, #0
str r3, [fp, #-12]
.L385:
ldr r3, [fp, #-16]
ldr r2, [fp, #-8]
add r2, r2, r3
ldr r3, [fp, #-12]
add r1, r3, #1
str r1, [fp, #-12]
mov r1, r3
ldr r3, [fp, #-8]
add r3, r3, r1
ldrb r2, [r2] @ zero_extendqisi2
strb r2, [r3]
ldr r3, [fp, #-16]
ldr r2, [fp, #-8]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
ldrb r2, [fp, #-17] @ zero_extendqisi2
cmp r2, r3
bne .L383
ldr r3, [fp, #-16]
add r3, r3, #1
ldr r2, [fp, #-8]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
ldrb r2, [fp, #-17] @ zero_extendqisi2
cmp r2, r3
bne .L384
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
b .L383
.L384:
ldr r3, [fp, #-12]
sub r3, r3, #1
ldr r2, [fp, #-8]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
b .L382
.L383:
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
b .L385
.L382:
ldr r3, [fp, #-8]
.L380:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L387:
.align 2
.L386:
.word sqlite3_api
.word .LC21
.size spellfix1Dequote, .-spellfix1Dequote
.section .rodata
.align 2
.LC22:
.ascii "CREATE TABLE x(word,rank,distance,langid, score, ma"
.ascii "tchlen, phonehash HIDDEN, top HIDDEN, scope HIDDEN,"
.ascii " srchcnt HIDDEN, soundslike HIDDEN, command HIDDEN)"
.ascii "\000"
.align 2
.LC23:
.ascii "CREATE TABLE IF NOT EXISTS \"%w\".\"%w_vocab\"(\012"
.ascii " id INTEGER PRIMARY KEY,\012 rank INT,\012 langi"
.ascii "d INT,\012 word TEXT,\012 k1 TEXT,\012 k2 TEXT\012"
.ascii ");\012\000"
.align 2
.LC24:
.ascii "CREATE INDEX IF NOT EXISTS \"%w\".\"%w_index_%llx\""
.ascii " ON \"%w_vocab\"(langid,k2);\000"
.align 2
.LC25:
.ascii "edit_cost_table=\000"
.align 2
.LC26:
.ascii "bad argument to spellfix1(): \"%s\"\000"
.align 2
.LC27:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type spellfix1Init, %function
spellfix1Init:
@ args = 12, pretend = 0, frame = 80
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #104
str r0, [fp, #-56]
str r1, [fp, #-60]
str r2, [fp, #-64]
str r3, [fp, #-68]
ldr r3, [fp, #4]
str r3, [fp, #-72]
ldr r3, [fp, #8]
str r3, [fp, #-76]
ldr r3, [fp, #12]
str r3, [fp, #-80]
ldr r3, .L404
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-40]
ldr r3, [fp, #-72]
ldr r3, [r3]
str r3, [fp, #-36]
ldr r3, [fp, #-72]
ldr r3, [r3, #4]
str r3, [fp, #-32]
ldr r3, [fp, #-72]
ldr r3, [r3, #8]
str r3, [fp, #-28]
mov r3, #0
str r3, [fp, #-48]
ldr r0, [fp, #-32]
bl strlen
mov r3, r0
str r3, [fp, #-24]
ldr r3, .L404+4
ldr r3, [r3]
ldr r3, [r3, #272]
ldr r2, [fp, #-24]
add r2, r2, #33
mov r0, r2
blx r3
str r0, [fp, #-40]
ldr r3, [fp, #-40]
cmp r3, #0
bne .L389
mov r3, #7
str r3, [fp, #-48]
b .L390
.L389:
mov r2, #32
mov r1, #0
ldr r0, [fp, #-40]
bl memset
ldr r3, [fp, #-40]
add r2, r3, #32
ldr r3, [fp, #-40]
str r2, [r3, #16]
ldr r3, [fp, #-40]
ldr r0, [r3, #16]
ldr r3, [fp, #-24]
add r3, r3, #1
mov r2, r3
ldr r1, [fp, #-32]
bl memcpy
ldr r3, .L404+4
ldr r3, [r3]
ldr r3, [r3, #276]
ldr r1, [fp, #-28]
ldr r0, .L404+8
blx r3
mov r2, r0
ldr r3, [fp, #-40]
str r2, [r3, #20]
ldr r3, [fp, #-40]
ldr r2, [fp, #-60]
str r2, [r3, #12]
ldr r3, [fp, #-40]
ldr r3, [r3, #20]
cmp r3, #0
bne .L391
mov r3, #7
str r3, [fp, #-48]
b .L392
.L391:
ldr r3, .L404+4
ldr r3, [r3]
ldr r3, [r3, #200]
ldr r1, .L404+12
ldr r0, [fp, #-60]
blx r3
mov r3, r0
str r3, [fp, #-48]
.L392:
ldr r3, [fp, #-48]
cmp r3, #0
bne .L393
ldr r3, [fp, #-56]
cmp r3, #0
beq .L393
sub r0, fp, #48
ldr r3, [fp, #-28]
str r3, [sp]
ldr r3, [fp, #-32]
ldr r2, .L404+16
ldr r1, [fp, #-60]
bl spellfix1DbExec
ldr r3, .L404+4
ldr r3, [r3]
ldr r3, [r3, #592]
sub r2, fp, #20
mov r1, r2
mov r0, #8
blx r3
sub r3, fp, #20
ldmia r3, {r2-r3}
sub r0, fp, #48
ldr r1, [fp, #-28]
str r1, [sp, #16]
str r2, [sp, #8]
str r3, [sp, #12]
ldr r3, [fp, #-36]
str r3, [sp]
ldr r3, [fp, #-32]
ldr r2, .L404+20
ldr r1, [fp, #-60]
bl spellfix1DbExec
.L393:
mov r3, #3
str r3, [fp, #-44]
b .L394
.L398:
ldr r3, [fp, #-44]
lsl r3, r3, #2
ldr r2, [fp, #-72]
add r3, r2, r3
ldr r3, [r3]
mov r2, #16
ldr r1, .L404+24
mov r0, r3
bl strncmp
mov r3, r0
cmp r3, #0
bne .L395
ldr r3, [fp, #-40]
ldr r3, [r3, #24]
cmp r3, #0
bne .L395
ldr r3, [fp, #-44]
lsl r3, r3, #2
ldr r2, [fp, #-72]
add r3, r2, r3
ldr r3, [r3]
add r3, r3, #16
mov r0, r3
bl spellfix1Dequote
mov r2, r0
ldr r3, [fp, #-40]
str r2, [r3, #24]
ldr r3, [fp, #-40]
ldr r3, [r3, #24]
cmp r3, #0
bne .L403
mov r3, #7
str r3, [fp, #-48]
b .L403
.L395:
ldr r3, .L404+4
ldr r3, [r3]
ldr r3, [r3, #276]
ldr r2, [fp, #-44]
lsl r2, r2, #2
ldr r1, [fp, #-72]
add r2, r1, r2
ldr r2, [r2]
mov r1, r2
ldr r0, .L404+28
blx r3
mov r2, r0
ldr r3, [fp, #-80]
str r2, [r3]
mov r3, #1
str r3, [fp, #-48]
b .L397
.L403:
nop
.L397:
ldr r3, [fp, #-44]
add r3, r3, #1
str r3, [fp, #-44]
.L394:
ldr r3, [fp, #-48]
cmp r3, #0
bne .L390
ldr r2, [fp, #-44]
ldr r3, [fp, #-68]
cmp r2, r3
blt .L398
.L390:
ldr r3, [fp, #-48]
cmp r3, #0
beq .L399
ldr r3, [fp, #-40]
cmp r3, #0
beq .L399
ldr r3, [fp, #-76]
mov r2, #0
str r2, [r3]
ldr r3, [fp, #-40]
mov r1, r3
mov r0, #0
bl spellfix1Uninit
b .L400
.L399:
ldr r3, [fp, #-76]
ldr r2, [fp, #-40]
str r2, [r3]
.L400:
ldr r3, [fp, #-48]
ldr r2, .L404
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L402
bl __stack_chk_fail
.L402:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L405:
.align 2
.L404:
.word .LC27
.word sqlite3_api
.word .LC21
.word .LC22
.word .LC23
.word .LC24
.word .LC25
.word .LC26
.size spellfix1Init, .-spellfix1Init
.align 2
.syntax unified
.arm
.fpu softvfp
.type spellfix1Connect, %function
spellfix1Connect:
@ args = 8, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #32
str r0, [fp, #-8]
str r1, [fp, #-12]
str r2, [fp, #-16]
str r3, [fp, #-20]
ldr r3, [fp, #8]
str r3, [sp, #8]
ldr r3, [fp, #4]
str r3, [sp, #4]
ldr r3, [fp, #-20]
str r3, [sp]
ldr r3, [fp, #-16]
ldr r2, [fp, #-12]
ldr r1, [fp, #-8]
mov r0, #0
bl spellfix1Init
mov r3, r0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size spellfix1Connect, .-spellfix1Connect
.align 2
.syntax unified
.arm
.fpu softvfp
.type spellfix1Create, %function
spellfix1Create:
@ args = 8, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #32
str r0, [fp, #-8]
str r1, [fp, #-12]
str r2, [fp, #-16]
str r3, [fp, #-20]
ldr r3, [fp, #8]
str r3, [sp, #8]
ldr r3, [fp, #4]
str r3, [sp, #4]
ldr r3, [fp, #-20]
str r3, [sp]
ldr r3, [fp, #-16]
ldr r2, [fp, #-12]
ldr r1, [fp, #-8]
mov r0, #1
bl spellfix1Init
mov r3, r0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size spellfix1Create, .-spellfix1Create
.align 2
.syntax unified
.arm
.fpu softvfp
.type spellfix1ResetCursor, %function
spellfix1ResetCursor:
@ 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]
b .L411
.L412:
ldr r3, .L415
ldr r3, [r3]
ldr r1, [r3, #232]
ldr r3, [fp, #-16]
ldr r0, [r3, #44]
ldr r2, [fp, #-8]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #3
add r3, r0, r3
ldr r3, [r3, #8]
mov r0, r3
blx r1
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L411:
ldr r3, [fp, #-16]
ldr r3, [r3, #12]
ldr r2, [fp, #-8]
cmp r2, r3
blt .L412
ldr r3, [fp, #-16]
mov r2, #0
str r2, [r3, #12]
ldr r3, [fp, #-16]
mov r2, #0
str r2, [r3, #20]
ldr r3, [fp, #-16]
mov r2, #0
str r2, [r3, #36]
ldr r3, [fp, #-16]
ldr r3, [r3, #40]
cmp r3, #0
beq .L414
ldr r3, .L415
ldr r3, [r3]
ldr r3, [r3, #228]
ldr r2, [fp, #-16]
ldr r2, [r2, #40]
mov r0, r2
blx r3
ldr r3, [fp, #-16]
mov r2, #0
str r2, [r3, #40]
.L414:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L416:
.align 2
.L415:
.word sqlite3_api
.size spellfix1ResetCursor, .-spellfix1ResetCursor
.section .rodata
.align 2
.LC28:
.ascii "N>=pCur->nRow\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type spellfix1ResizeCursor, %function
spellfix1ResizeCursor:
@ 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 r3, [r3, #12]
ldr r2, [fp, #-28]
cmp r2, r3
bge .L418
ldr r3, .L421
ldr r2, .L421+4
ldr r1, .L421+8
ldr r0, .L421+12
bl __assert_fail
.L418:
ldr r3, .L421+16
ldr r3, [r3]
ldr r4, [r3, #304]
ldr r3, [fp, #-24]
ldr r0, [r3, #44]
ldr r2, [fp, #-28]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #3
mov r1, r3
blx r4
str r0, [fp, #-16]
ldr r3, [fp, #-16]
cmp r3, #0
bne .L419
ldr r3, [fp, #-28]
cmp r3, #0
ble .L419
ldr r0, [fp, #-24]
bl spellfix1ResetCursor
ldr r3, .L421+16
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r2, [fp, #-24]
ldr r2, [r2, #44]
mov r0, r2
blx r3
ldr r3, [fp, #-24]
mov r2, #0
str r2, [r3, #16]
ldr r3, [fp, #-24]
mov r2, #0
str r2, [r3, #44]
b .L420
.L419:
ldr r3, [fp, #-24]
ldr r2, [fp, #-28]
str r2, [r3, #16]
ldr r3, [fp, #-24]
ldr r2, [fp, #-16]
str r2, [r3, #44]
nop
.L420:
nop
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L422:
.align 2
.L421:
.word __PRETTY_FUNCTION__.8479
.word 2019
.word .LC0
.word .LC28
.word sqlite3_api
.size spellfix1ResizeCursor, .-spellfix1ResizeCursor
.align 2
.syntax unified
.arm
.fpu softvfp
.type spellfix1Close, %function
spellfix1Close:
@ 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]
str r3, [fp, #-8]
ldr r0, [fp, #-8]
bl spellfix1ResetCursor
mov r1, #0
ldr r0, [fp, #-8]
bl spellfix1ResizeCursor
ldr r3, .L425
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r2, [fp, #-8]
ldr r2, [r2, #8]
mov r0, r2
blx r3
ldr r3, .L425
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r0, [fp, #-8]
blx r3
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L426:
.align 2
.L425:
.word sqlite3_api
.size spellfix1Close, .-spellfix1Close
.align 2
.syntax unified
.arm
.fpu softvfp
.type spellfix1BestIndex, %function
spellfix1BestIndex:
@ 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]
mov r3, #0
str r3, [fp, #-36]
mvn r3, #0
str r3, [fp, #-32]
mvn r3, #0
str r3, [fp, #-28]
mvn r3, #0
str r3, [fp, #-24]
mvn r3, #0
str r3, [fp, #-20]
ldr r3, [fp, #-44]
ldr r3, [r3, #4]
str r3, [fp, #-12]
mov r3, #0
str r3, [fp, #-16]
b .L428
.L438:
ldr r3, [fp, #-12]
ldrb r3, [r3, #5] @ zero_extendqisi2
cmp r3, #0
beq .L447
ldr r3, [fp, #-36]
and r3, r3, #1
cmp r3, #0
bne .L431
ldr r3, [fp, #-12]
ldr r3, [r3]
cmp r3, #0
bne .L431
ldr r3, [fp, #-12]
ldrb r3, [r3, #4] @ zero_extendqisi2
cmp r3, #64
bne .L431
ldr r3, [fp, #-36]
orr r3, r3, #1
str r3, [fp, #-36]
ldr r3, [fp, #-44]
ldr r2, [r3, #16]
ldr r3, [fp, #-16]
lsl r3, r3, #3
add r3, r2, r3
mov r2, #1
str r2, [r3]
ldr r3, [fp, #-44]
ldr r2, [r3, #16]
ldr r3, [fp, #-16]
lsl r3, r3, #3
add r3, r2, r3
mov r2, #1
strb r2, [r3, #4]
.L431:
ldr r3, [fp, #-36]
and r3, r3, #2
cmp r3, #0
bne .L432
ldr r3, [fp, #-12]
ldr r3, [r3]
cmp r3, #3
bne .L432
ldr r3, [fp, #-12]
ldrb r3, [r3, #4] @ zero_extendqisi2
cmp r3, #2
bne .L432
ldr r3, [fp, #-36]
orr r3, r3, #2
str r3, [fp, #-36]
ldr r3, [fp, #-16]
str r3, [fp, #-32]
.L432:
ldr r3, [fp, #-36]
and r3, r3, #4
cmp r3, #0
bne .L433
ldr r3, [fp, #-12]
ldr r3, [r3]
cmp r3, #7
bne .L433
ldr r3, [fp, #-12]
ldrb r3, [r3, #4] @ zero_extendqisi2
cmp r3, #2
bne .L433
ldr r3, [fp, #-36]
orr r3, r3, #4
str r3, [fp, #-36]
ldr r3, [fp, #-16]
str r3, [fp, #-28]
.L433:
ldr r3, [fp, #-36]
and r3, r3, #8
cmp r3, #0
bne .L434
ldr r3, [fp, #-12]
ldr r3, [r3]
cmp r3, #8
bne .L434
ldr r3, [fp, #-12]
ldrb r3, [r3, #4] @ zero_extendqisi2
cmp r3, #2
bne .L434
ldr r3, [fp, #-36]
orr r3, r3, #8
str r3, [fp, #-36]
ldr r3, [fp, #-16]
str r3, [fp, #-24]
.L434:
ldr r3, [fp, #-36]
and r3, r3, #48
cmp r3, #0
bne .L430
ldr r3, [fp, #-12]
ldr r3, [r3]
cmp r3, #2
bne .L430
ldr r3, [fp, #-12]
ldrb r3, [r3, #4] @ zero_extendqisi2
cmp r3, #16
beq .L435
ldr r3, [fp, #-12]
ldrb r3, [r3, #4] @ zero_extendqisi2
cmp r3, #8
bne .L430
.L435:
ldr r3, [fp, #-12]
ldrb r3, [r3, #4] @ zero_extendqisi2
cmp r3, #16
bne .L436
mov r3, #16
b .L437
.L436:
mov r3, #32
.L437:
ldr r2, [fp, #-36]
orr r3, r2, r3
str r3, [fp, #-36]
ldr r3, [fp, #-16]
str r3, [fp, #-20]
b .L430
.L447:
nop
.L430:
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
ldr r3, [fp, #-12]
add r3, r3, #12
str r3, [fp, #-12]
.L428:
ldr r3, [fp, #-44]
ldr r3, [r3]
ldr r2, [fp, #-16]
cmp r2, r3
blt .L438
ldr r3, [fp, #-36]
and r3, r3, #1
cmp r3, #0
beq .L439
mov r3, #2
str r3, [fp, #-8]
ldr r3, [fp, #-44]
ldr r2, [fp, #-36]
str r2, [r3, #20]
ldr r3, [fp, #-44]
ldr r3, [r3, #8]
cmp r3, #1
bne .L440
ldr r3, [fp, #-44]
ldr r3, [r3, #12]
ldr r3, [r3]
cmp r3, #4
bne .L440
ldr r3, [fp, #-44]
ldr r3, [r3, #12]
ldrb r3, [r3, #4] @ zero_extendqisi2
cmp r3, #0
bne .L440
ldr r3, [fp, #-44]
mov r2, #1
str r2, [r3, #32]
.L440:
ldr r3, [fp, #-36]
and r3, r3, #2
cmp r3, #0
beq .L441
ldr r3, [fp, #-8]
add r2, r3, #1
str r2, [fp, #-8]
ldr r2, [fp, #-44]
ldr r1, [r2, #16]
ldr r2, [fp, #-32]
lsl r2, r2, #3
add r2, r1, r2
str r3, [r2]
ldr r3, [fp, #-44]
ldr r2, [r3, #16]
ldr r3, [fp, #-32]
lsl r3, r3, #3
add r3, r2, r3
mov r2, #1
strb r2, [r3, #4]
.L441:
ldr r3, [fp, #-36]
and r3, r3, #4
cmp r3, #0
beq .L442
ldr r3, [fp, #-8]
add r2, r3, #1
str r2, [fp, #-8]
ldr r2, [fp, #-44]
ldr r1, [r2, #16]
ldr r2, [fp, #-28]
lsl r2, r2, #3
add r2, r1, r2
str r3, [r2]
ldr r3, [fp, #-44]
ldr r2, [r3, #16]
ldr r3, [fp, #-28]
lsl r3, r3, #3
add r3, r2, r3
mov r2, #1
strb r2, [r3, #4]
.L442:
ldr r3, [fp, #-36]
and r3, r3, #8
cmp r3, #0
beq .L443
ldr r3, [fp, #-8]
add r2, r3, #1
str r2, [fp, #-8]
ldr r2, [fp, #-44]
ldr r1, [r2, #16]
ldr r2, [fp, #-24]
lsl r2, r2, #3
add r2, r1, r2
str r3, [r2]
ldr r3, [fp, #-44]
ldr r2, [r3, #16]
ldr r3, [fp, #-24]
lsl r3, r3, #3
add r3, r2, r3
mov r2, #1
strb r2, [r3, #4]
.L443:
ldr r3, [fp, #-36]
and r3, r3, #48
cmp r3, #0
beq .L444
ldr r3, [fp, #-8]
add r2, r3, #1
str r2, [fp, #-8]
ldr r2, [fp, #-44]
ldr r1, [r2, #16]
ldr r2, [fp, #-20]
lsl r2, r2, #3
add r2, r1, r2
str r3, [r2]
ldr r3, [fp, #-44]
ldr r2, [r3, #16]
ldr r3, [fp, #-20]
lsl r3, r3, #3
add r3, r2, r3
mov r2, #1
strb r2, [r3, #4]
.L444:
ldr r1, [fp, #-44]
mov r2, #0
ldr r3, .L448
str r2, [r1, #40]
str r3, [r1, #44]
b .L445
.L439:
ldr r3, [fp, #-44]
mov r2, #0
str r2, [r3, #20]
ldr r1, [fp, #-44]
mov r2, #0
ldr r3, .L448+4
str r2, [r1, #40]
str r3, [r1, #44]
.L445:
mov r3, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L449:
.align 2
.L448:
.word 1086556160
.word 1097011920
.size spellfix1BestIndex, .-spellfix1BestIndex
.align 2
.syntax unified
.arm
.fpu softvfp
.type spellfix1Open, %function
spellfix1Open:
@ 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]
str r3, [fp, #-12]
ldr r3, .L453
ldr r3, [r3]
ldr r3, [r3, #272]
mov r0, #48
blx r3
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
bne .L451
mov r3, #7
b .L452
.L451:
mov r2, #48
mov r1, #0
ldr r0, [fp, #-8]
bl memset
ldr r3, [fp, #-8]
ldr r2, [fp, #-12]
str r2, [r3, #4]
ldr r2, [fp, #-8]
ldr r3, [fp, #-20]
str r2, [r3]
mov r3, #0
.L452:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L454:
.align 2
.L453:
.word sqlite3_api
.size spellfix1Open, .-spellfix1Open
.align 2
.syntax unified
.arm
.fpu softvfp
.type spellfix1Score, %function
spellfix1Score:
@ 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 .L456
.L457:
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
ldr r3, [fp, #-20]
asr r3, r3, #1
str r3, [fp, #-20]
.L456:
ldr r3, [fp, #-20]
cmp r3, #0
bgt .L457
ldr r3, [fp, #-16]
add r2, r3, #32
ldr r3, [fp, #-8]
sub r3, r2, r3
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size spellfix1Score, .-spellfix1Score
.align 2
.syntax unified
.arm
.fpu softvfp
.type spellfix1RowCompare, %function
spellfix1RowCompare:
@ 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]
ldr r2, [r3, #20]
ldr r3, [fp, #-8]
ldr r3, [r3, #20]
sub r3, r2, r3
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size spellfix1RowCompare, .-spellfix1RowCompare
.section .rodata
.align 2
.LC29:
.ascii "p->nRun<SPELLFIX_MX_RUN\000"
.align 2
.LC30:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type spellfix1RunQuery, %function
spellfix1RunQuery:
@ args = 0, pretend = 0, frame = 104
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, fp, lr}
add fp, sp, #12
sub sp, sp, #112
str r0, [fp, #-104]
str r1, [fp, #-108]
str r2, [fp, #-112]
ldr r3, .L501
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
mov r3, #0
str r3, [fp, #-92]
mvn r3, #0
str r3, [fp, #-84]
ldr r3, [fp, #-104]
ldr r3, [r3, #40]
str r3, [fp, #-76]
ldr r3, [fp, #-104]
ldr r3, [r3]
str r3, [fp, #-68]
ldr r3, [fp, #-104]
ldr r3, [r3, #4]
str r3, [fp, #-64]
ldr r3, [fp, #-68]
ldr r3, [r3, #44]
cmp r3, #0
beq .L496
ldr r3, [fp, #-104]
ldr r3, [r3, #48]
cmp r3, #0
bne .L496
ldr r1, [fp, #-112]
ldr r0, [fp, #-108]
bl phoneticHash
str r0, [fp, #-60]
ldr r3, [fp, #-60]
cmp r3, #0
bne .L465
ldr r3, [fp, #-104]
mov r2, #7
str r2, [r3, #48]
b .L461
.L465:
ldr r0, [fp, #-60]
bl strlen
mov r3, r0
str r3, [fp, #-72]
ldr r3, [fp, #-72]
cmp r3, #6
ble .L466
mov r3, #6
str r3, [fp, #-72]
ldr r3, [fp, #-72]
ldr r2, [fp, #-60]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
.L466:
ldr r2, [fp, #-72]
ldr r3, [fp, #-76]
cmp r2, r3
bgt .L467
ldr r3, [fp, #-72]
cmp r3, #2
ble .L468
ldr r3, [fp, #-72]
sub r3, r3, #1
str r3, [fp, #-76]
b .L467
.L468:
ldr r3, [fp, #-72]
str r3, [fp, #-76]
.L467:
ldr r2, [fp, #-76]
sub r3, fp, #32
ldr r1, [fp, #-60]
mov r0, r3
bl memcpy
ldr r3, .L501+4
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r0, [fp, #-60]
blx r3
sub r2, fp, #32
ldr r3, [fp, #-76]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
ldr r2, [fp, #-76]
sub r1, fp, #32
sub r3, fp, #24
mov r0, r3
bl memcpy
sub r2, fp, #24
ldr r3, [fp, #-76]
add r3, r2, r3
mov r2, #90
strb r2, [r3]
ldr r3, [fp, #-76]
add r3, r3, #1
sub r2, fp, #12
add r3, r2, r3
mov r2, #0
strb r2, [r3, #-12]
ldr r3, [fp, #-104]
ldr r3, [r3, #52]
cmp r3, #0
ble .L469
ldr r3, .L501+8
ldr r2, .L501+12
ldr r1, .L501+16
ldr r0, .L501+20
bl __assert_fail
.L469:
ldr r3, [fp, #-104]
ldr r3, [r3, #52]
add r1, r3, #1
ldr r2, [fp, #-104]
str r1, [r2, #52]
add r3, r3, #7
lsl r3, r3, #3
ldr r2, [fp, #-104]
add r0, r2, r3
ldr r3, [fp, #-76]
add r3, r3, #1
mov r2, r3
sub r3, fp, #32
mov r1, r3
bl memcpy
ldr r3, .L501+4
ldr r3, [r3]
ldr r4, [r3, #40]
sub r2, fp, #32
mov r3, #0
str r3, [sp]
mvn r3, #0
mov r1, #1
ldr r0, [fp, #-64]
blx r4
mov r3, r0
cmp r3, #7
beq .L470
ldr r3, .L501+4
ldr r3, [r3]
ldr r4, [r3, #40]
sub r2, fp, #24
mov r3, #0
str r3, [sp]
mvn r3, #0
mov r1, #2
ldr r0, [fp, #-64]
blx r4
mov r3, r0
cmp r3, #7
bne .L472
.L470:
ldr r3, [fp, #-104]
mov r2, #7
str r2, [r3, #48]
b .L461
.L492:
mvn r3, #0
str r3, [fp, #-100]
ldr r3, .L501+4
ldr r3, [r3]
ldr r3, [r3, #112]
mov r1, #2
ldr r0, [fp, #-64]
blx r3
str r0, [fp, #-56]
ldr r3, [fp, #-104]
ldr r3, [r3, #24]
cmp r3, #0
beq .L473
ldr r3, .L501+4
ldr r3, [r3]
ldr r3, [r3, #80]
mov r1, #1
ldr r0, [fp, #-64]
blx r3
str r0, [fp, #-48]
ldr r3, .L501+4
ldr r3, [r3]
ldr r3, [r3, #144]
mov r1, #1
ldr r0, [fp, #-64]
blx r3
str r0, [fp, #-44]
ldr r3, [fp, #-104]
ldr r0, [r3, #24]
ldr r3, [fp, #-104]
ldr r2, [r3, #32]
sub r3, fp, #100
str r3, [sp]
mov r3, r2
ldr r2, [fp, #-48]
ldr r1, [fp, #-44]
bl editDist3Core
str r0, [fp, #-96]
b .L474
.L473:
ldr r3, .L501+4
ldr r3, [r3]
ldr r3, [r3, #144]
mov r1, #3
ldr r0, [fp, #-64]
blx r3
str r0, [fp, #-52]
ldr r3, [fp, #-52]
cmp r3, #0
beq .L497
ldr r3, [fp, #-104]
ldr r3, [r3, #16]
mov r2, #0
ldr r1, [fp, #-52]
mov r0, r3
bl editdist1
str r0, [fp, #-96]
.L474:
ldr r3, [fp, #-96]
cmp r3, #0
bge .L477
ldr r3, [fp, #-104]
mov r2, #7
str r2, [r3, #48]
b .L491
.L477:
ldr r3, [fp, #-68]
ldr r3, [r3, #36]
add r2, r3, #1
ldr r3, [fp, #-68]
str r2, [r3, #36]
ldr r1, [fp, #-56]
ldr r0, [fp, #-96]
bl spellfix1Score
str r0, [fp, #-40]
ldr r3, [fp, #-104]
ldr r3, [r3, #44]
cmp r3, #0
blt .L479
ldr r3, [fp, #-104]
ldr r3, [r3, #44]
ldr r2, [fp, #-96]
cmp r2, r3
bgt .L498
ldr r3, [fp, #-68]
ldr r2, [r3, #12]
ldr r3, [fp, #-68]
ldr r3, [r3, #16]
sub r3, r3, #1
cmp r2, r3
blt .L481
ldr r3, [fp, #-68]
ldr r3, [r3, #16]
add r3, r3, #5
lsl r3, r3, #1
mov r1, r3
ldr r0, [fp, #-68]
bl spellfix1ResizeCursor
ldr r3, [fp, #-68]
ldr r3, [r3, #44]
cmp r3, #0
beq .L499
.L481:
ldr r3, [fp, #-68]
ldr r3, [r3, #12]
str r3, [fp, #-88]
b .L482
.L479:
ldr r3, [fp, #-68]
ldr r2, [r3, #12]
ldr r3, [fp, #-68]
ldr r3, [r3, #16]
cmp r2, r3
bge .L483
ldr r3, [fp, #-68]
ldr r3, [r3, #12]
str r3, [fp, #-88]
b .L482
.L483:
ldr r2, [fp, #-40]
ldr r3, [fp, #-92]
cmp r2, r3
bge .L500
ldr r3, [fp, #-84]
str r3, [fp, #-88]
ldr r3, .L501+4
ldr r3, [r3]
ldr r1, [r3, #232]
ldr r3, [fp, #-68]
ldr r0, [r3, #44]
ldr r2, [fp, #-88]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #3
add r3, r0, r3
ldr r3, [r3, #8]
mov r0, r3
blx r1
.L482:
ldr r3, .L501+4
ldr r3, [r3]
ldr r5, [r3, #276]
ldr r3, .L501+4
ldr r3, [r3]
ldr r3, [r3, #144]
mov r1, #1
ldr r0, [fp, #-64]
blx r3
ldr r3, [fp, #-68]
ldr r1, [r3, #44]
ldr r2, [fp, #-88]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #3
add r4, r1, r3
mov r1, r0
ldr r0, .L501+24
blx r5
mov r3, r0
str r3, [r4, #8]
ldr r3, [fp, #-68]
ldr r1, [r3, #44]
ldr r2, [fp, #-88]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
ldr r3, [r3, #8]
cmp r3, #0
bne .L485
ldr r3, [fp, #-104]
mov r2, #7
str r2, [r3, #48]
b .L491
.L485:
ldr r3, .L501+4
ldr r3, [r3]
ldr r5, [r3, #116]
ldr r3, [fp, #-68]
ldr r1, [r3, #44]
ldr r2, [fp, #-88]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #3
add r4, r1, r3
mov r1, #0
ldr r0, [fp, #-64]
blx r5
mov r2, r0
mov r3, r1
stm r4, {r2-r3}
ldr r3, [fp, #-68]
ldr r1, [r3, #44]
ldr r2, [fp, #-88]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
ldr r2, [fp, #-56]
str r2, [r3, #12]
ldr r3, [fp, #-68]
ldr r1, [r3, #44]
ldr r2, [fp, #-88]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
ldr r2, [fp, #-96]
str r2, [r3, #16]
ldr r3, [fp, #-68]
ldr r1, [r3, #44]
ldr r2, [fp, #-88]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
ldr r2, [fp, #-40]
str r2, [r3, #20]
ldr r3, [fp, #-68]
ldr r1, [r3, #44]
ldr r2, [fp, #-88]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
ldr r2, [fp, #-100]
str r2, [r3, #24]
ldr r3, [fp, #-68]
ldr r1, [r3, #44]
ldr r2, [fp, #-88]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
add r0, r3, #28
ldr r3, [fp, #-76]
add r3, r3, #1
mov r2, r3
sub r3, fp, #32
mov r1, r3
bl memcpy
ldr r3, [fp, #-68]
ldr r2, [r3, #12]
ldr r3, [fp, #-68]
ldr r3, [r3, #16]
cmp r2, r3
bge .L486
ldr r3, [fp, #-68]
ldr r3, [r3, #12]
add r2, r3, #1
ldr r3, [fp, #-68]
str r2, [r3, #12]
.L486:
ldr r3, [fp, #-68]
ldr r2, [r3, #12]
ldr r3, [fp, #-68]
ldr r3, [r3, #16]
cmp r2, r3
bne .L472
ldr r3, [fp, #-68]
ldr r3, [r3, #44]
ldr r3, [r3, #20]
str r3, [fp, #-92]
mov r3, #0
str r3, [fp, #-84]
mov r3, #1
str r3, [fp, #-80]
b .L488
.L490:
ldr r3, [fp, #-68]
ldr r1, [r3, #44]
ldr r2, [fp, #-80]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
ldr r3, [r3, #20]
str r3, [fp, #-40]
ldr r2, [fp, #-92]
ldr r3, [fp, #-40]
cmp r2, r3
bge .L489
ldr r3, [fp, #-40]
str r3, [fp, #-92]
ldr r3, [fp, #-80]
str r3, [fp, #-84]
.L489:
ldr r3, [fp, #-80]
add r3, r3, #1
str r3, [fp, #-80]
.L488:
ldr r3, [fp, #-68]
ldr r3, [r3, #12]
ldr r2, [fp, #-80]
cmp r2, r3
blt .L490
b .L472
.L497:
nop
b .L472
.L498:
nop
b .L472
.L500:
nop
.L472:
ldr r3, .L501+4
ldr r3, [r3]
ldr r3, [r3, #376]
ldr r0, [fp, #-64]
blx r3
mov r3, r0
cmp r3, #100
beq .L492
b .L491
.L499:
nop
.L491:
ldr r3, .L501+4
ldr r3, [r3]
ldr r3, [r3, #308]
ldr r0, [fp, #-64]
blx r3
str r0, [fp, #-36]
ldr r3, [fp, #-36]
cmp r3, #0
beq .L461
ldr r3, [fp, #-104]
ldr r2, [fp, #-36]
str r2, [r3, #48]
b .L461
.L496:
nop
.L461:
ldr r3, .L501
ldr r2, [r3]
ldr r3, [fp, #-16]
eors r2, r3, r2
mov r3, #0
beq .L495
bl __stack_chk_fail
.L495:
sub sp, fp, #12
@ sp needed
pop {r4, r5, fp, pc}
.L502:
.align 2
.L501:
.word .LC30
.word sqlite3_api
.word __PRETTY_FUNCTION__.8558
.word 2266
.word .LC0
.word .LC29
.word .LC21
.size spellfix1RunQuery, .-spellfix1RunQuery
.section .rodata
.align 2
.LC31:
.ascii "SELECT id, word, rank, k1 FROM \"%w\".\"%w_vocab\""
.ascii " WHERE langid=%d AND k2>=?1 AND k2<?2\000"
.align 2
.LC32:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type spellfix1FilterForMatch, %function
spellfix1FilterForMatch:
@ args = 0, pretend = 0, frame = 136
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #148
str r0, [fp, #-136]
str r1, [fp, #-140]
str r2, [fp, #-144]
str r3, [fp, #-148]
ldr r3, .L524
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
mov r3, #0
str r3, [fp, #-124]
mov r3, #20
str r3, [fp, #-116]
mov r3, #3
str r3, [fp, #-104]
mov r3, #0
str r3, [fp, #-112]
mov r3, #0
str r3, [fp, #-128]
mov r3, #1
str r3, [fp, #-108]
ldr r3, [fp, #-136]
ldr r3, [r3, #4]
str r3, [fp, #-100]
ldr r3, [fp, #-100]
ldr r3, [r3, #24]
cmp r3, #0
beq .L504
ldr r3, [fp, #-100]
ldr r3, [r3, #28]
cmp r3, #0
bne .L504
ldr r3, .L524+4
ldr r3, [r3]
ldr r3, [r3, #272]
mov r0, #8
blx r3
mov r2, r0
ldr r3, [fp, #-100]
str r2, [r3, #28]
ldr r3, [fp, #-100]
ldr r3, [r3, #28]
cmp r3, #0
bne .L505
mov r3, #7
b .L522
.L505:
ldr r3, [fp, #-100]
ldr r3, [r3, #28]
mov r2, #8
mov r1, #0
mov r0, r3
bl memset
ldr r3, [fp, #-100]
ldr r0, [r3, #28]
ldr r3, [fp, #-100]
ldr r1, [r3, #12]
ldr r3, [fp, #-100]
ldr r3, [r3, #24]
mov r2, r3
bl editDist3ConfigLoad
str r0, [fp, #-96]
ldr r3, [fp, #-96]
cmp r3, #0
beq .L504
ldr r3, [fp, #-96]
b .L522
.L504:
sub r3, fp, #80
mov r2, #64
mov r1, #0
mov r0, r3
bl memset
mov r3, #3
str r3, [fp, #-40]
mvn r3, #0
str r3, [fp, #-36]
ldr r3, [fp, #-140]
and r3, r3, #2
cmp r3, #0
beq .L507
ldr r3, .L524+4
ldr r3, [r3]
ldr r2, [r3, #424]
ldr r3, [fp, #-108]
add r1, r3, #1
str r1, [fp, #-108]
lsl r3, r3, #2
ldr r1, [fp, #-148]
add r3, r1, r3
ldr r3, [r3]
mov r0, r3
blx r2
str r0, [fp, #-112]
.L507:
ldr r3, [fp, #-140]
and r3, r3, #4
cmp r3, #0
beq .L508
ldr r3, .L524+4
ldr r3, [r3]
ldr r2, [r3, #424]
ldr r3, [fp, #-108]
add r1, r3, #1
str r1, [fp, #-108]
lsl r3, r3, #2
ldr r1, [fp, #-148]
add r3, r1, r3
ldr r3, [r3]
mov r0, r3
blx r2
str r0, [fp, #-116]
ldr r3, [fp, #-116]
cmp r3, #0
bgt .L508
mov r3, #1
str r3, [fp, #-116]
.L508:
ldr r3, [fp, #-140]
and r3, r3, #8
cmp r3, #0
beq .L509
ldr r3, .L524+4
ldr r3, [r3]
ldr r2, [r3, #424]
ldr r3, [fp, #-108]
add r1, r3, #1
str r1, [fp, #-108]
lsl r3, r3, #2
ldr r1, [fp, #-148]
add r3, r1, r3
ldr r3, [r3]
mov r0, r3
blx r2
mov r3, r0
str r3, [fp, #-40]
ldr r3, [fp, #-40]
cmp r3, #0
bgt .L510
mov r3, #1
str r3, [fp, #-40]
.L510:
ldr r3, [fp, #-40]
cmp r3, #6
ble .L509
mov r3, #6
str r3, [fp, #-40]
.L509:
ldr r3, [fp, #-140]
and r3, r3, #48
cmp r3, #0
beq .L511
ldr r3, .L524+4
ldr r3, [r3]
ldr r2, [r3, #424]
ldr r3, [fp, #-108]
add r1, r3, #1
str r1, [fp, #-108]
lsl r3, r3, #2
ldr r1, [fp, #-148]
add r3, r1, r3
ldr r3, [r3]
mov r0, r3
blx r2
mov r3, r0
str r3, [fp, #-36]
ldr r3, [fp, #-140]
and r3, r3, #16
cmp r3, #0
beq .L512
ldr r3, [fp, #-36]
sub r3, r3, #1
str r3, [fp, #-36]
.L512:
ldr r3, [fp, #-36]
cmp r3, #0
bge .L511
mov r3, #0
str r3, [fp, #-36]
.L511:
ldr r0, [fp, #-136]
bl spellfix1ResetCursor
ldr r1, [fp, #-116]
ldr r0, [fp, #-136]
bl spellfix1ResizeCursor
ldr r3, .L524+4
ldr r3, [r3]
ldr r3, [r3, #436]
ldr r2, [fp, #-148]
ldr r2, [r2]
mov r0, r2
blx r3
str r0, [fp, #-92]
ldr r3, [fp, #-92]
cmp r3, #0
bne .L513
mov r3, #0
b .L522
.L513:
ldr r3, [fp, #-100]
ldr r3, [r3, #28]
cmp r3, #0
beq .L514
ldr r3, [fp, #-100]
ldr r3, [r3, #28]
ldr r1, [fp, #-112]
mov r0, r3
bl editDist3FindLang
mov r3, r0
str r3, [fp, #-48]
ldr r3, [fp, #-48]
mvn r2, #0
ldr r1, [fp, #-92]
mov r0, r3
bl editDist3FromStringNew
str r0, [fp, #-124]
ldr r3, [fp, #-124]
cmp r3, #0
bne .L515
mov r3, #7
str r3, [fp, #-32]
b .L516
.L514:
mov r3, #0
str r3, [fp, #-48]
.L515:
ldr r3, .L524+4
ldr r3, [r3]
ldr r3, [r3, #412]
ldr r2, [fp, #-148]
ldr r2, [r2]
mov r0, r2
blx r3
mov r3, r0
mov r1, r3
ldr r0, [fp, #-92]
bl transliterate
str r0, [fp, #-88]
ldr r3, .L524+4
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r2, [fp, #-136]
ldr r2, [r2, #8]
mov r0, r2
blx r3
ldr r3, [fp, #-136]
ldr r2, [fp, #-88]
str r2, [r3, #8]
ldr r3, [fp, #-88]
cmp r3, #0
bne .L517
mov r3, #7
str r3, [fp, #-32]
b .L516
.L517:
ldr r0, [fp, #-88]
bl strlen
mov r3, r0
str r3, [fp, #-120]
ldr r3, [fp, #-120]
sub r3, r3, #1
ldr r2, [fp, #-88]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #42
bne .L518
ldr r3, [fp, #-120]
sub r3, r3, #1
str r3, [fp, #-120]
.L518:
ldr r3, .L524+4
ldr r3, [r3]
ldr r4, [r3, #276]
ldr r3, [fp, #-100]
ldr r1, [r3, #16]
ldr r3, [fp, #-100]
ldr r2, [r3, #20]
ldr r3, [fp, #-112]
ldr r0, .L524+8
blx r4
str r0, [fp, #-84]
ldr r3, [fp, #-84]
cmp r3, #0
bne .L519
mov r3, #7
str r3, [fp, #-32]
mov r3, #0
str r3, [fp, #-128]
b .L516
.L519:
ldr r3, .L524+4
ldr r3, [r3]
ldr r4, [r3, #464]
ldr r3, [fp, #-100]
ldr r0, [r3, #12]
sub r3, fp, #128
mov r2, #0
str r2, [sp]
mvn r2, #0
ldr r1, [fp, #-84]
blx r4
str r0, [fp, #-96]
ldr r3, .L524+4
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r0, [fp, #-84]
blx r3
ldr r3, [fp, #-136]
ldr r2, [fp, #-112]
str r2, [r3, #24]
ldr r3, [fp, #-136]
str r3, [fp, #-80]
ldr r3, [fp, #-128]
str r3, [fp, #-76]
ldr r3, [fp, #-88]
str r3, [fp, #-64]
ldr r3, [fp, #-120]
str r3, [fp, #-60]
ldr r3, [fp, #-124]
str r3, [fp, #-56]
ldr r3, [fp, #-112]
str r3, [fp, #-44]
ldr r3, [fp, #-96]
str r3, [fp, #-32]
ldr r3, [fp, #-100]
ldr r3, [r3, #28]
str r3, [fp, #-52]
ldr r3, [fp, #-32]
cmp r3, #0
bne .L520
sub r3, fp, #80
ldr r2, [fp, #-120]
ldr r1, [fp, #-88]
mov r0, r3
bl spellfix1RunQuery
.L520:
ldr r3, [fp, #-136]
ldr r3, [r3, #44]
cmp r3, #0
beq .L521
ldr r3, [fp, #-136]
ldr r0, [r3, #44]
ldr r3, [fp, #-136]
ldr r3, [r3, #12]
mov r1, r3
ldr r3, .L524+12
mov r2, #40
bl qsort
ldr r3, [fp, #-136]
ldr r2, [fp, #-116]
str r2, [r3, #28]
ldr r3, [fp, #-136]
ldr r2, [fp, #-104]
str r2, [r3, #32]
b .L516
.L521:
mov r3, #7
str r3, [fp, #-32]
.L516:
ldr r3, .L524+4
ldr r3, [r3]
ldr r3, [r3, #228]
ldr r2, [fp, #-128]
mov r0, r2
blx r3
ldr r0, [fp, #-124]
bl editDist3FromStringDelete
ldr r3, [fp, #-32]
.L522:
ldr r2, .L524
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L523
bl __stack_chk_fail
.L523:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L525:
.align 2
.L524:
.word .LC32
.word sqlite3_api
.word .LC31
.word spellfix1RowCompare
.size spellfix1FilterForMatch, .-spellfix1FilterForMatch
.section .rodata
.align 2
.LC33:
.ascii "SELECT word, rank, NULL, langid, id FROM \"%w\".\"%"
.ascii "w_vocab\"\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type spellfix1FilterForFullScan, %function
spellfix1FilterForFullScan:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #44
str r0, [fp, #-32]
str r1, [fp, #-36]
str r2, [fp, #-40]
str r3, [fp, #-44]
ldr r3, [fp, #-32]
ldr r3, [r3, #4]
str r3, [fp, #-20]
ldr r0, [fp, #-32]
bl spellfix1ResetCursor
ldr r3, .L532
ldr r3, [r3]
ldr r3, [r3, #276]
ldr r2, [fp, #-20]
ldr r1, [r2, #16]
ldr r2, [fp, #-20]
ldr r2, [r2, #20]
ldr r0, .L532+4
blx r3
str r0, [fp, #-16]
ldr r3, [fp, #-16]
cmp r3, #0
bne .L527
mov r3, #7
b .L528
.L527:
ldr r3, .L532
ldr r3, [r3]
ldr r4, [r3, #464]
ldr r3, [fp, #-20]
ldr r0, [r3, #12]
ldr r3, [fp, #-32]
add r3, r3, #40
mov r2, #0
str r2, [sp]
mvn r2, #0
ldr r1, [fp, #-16]
blx r4
str r0, [fp, #-24]
ldr r3, .L532
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r0, [fp, #-16]
blx r3
ldr r3, [fp, #-32]
mov r2, #0
str r2, [r3, #20]
ldr r3, [fp, #-32]
ldr r2, [r3, #20]
ldr r3, [fp, #-32]
str r2, [r3, #12]
ldr r3, [fp, #-24]
cmp r3, #0
bne .L529
ldr r3, .L532
ldr r3, [r3]
ldr r3, [r3, #376]
ldr r2, [fp, #-32]
ldr r2, [r2, #40]
mov r0, r2
blx r3
str r0, [fp, #-24]
ldr r3, [fp, #-24]
cmp r3, #100
bne .L530
ldr r3, [fp, #-32]
mvn r2, #0
str r2, [r3, #20]
mov r3, #0
str r3, [fp, #-24]
.L530:
ldr r3, [fp, #-24]
cmp r3, #101
bne .L531
mov r3, #0
str r3, [fp, #-24]
b .L531
.L529:
ldr r3, [fp, #-32]
mov r2, #0
str r2, [r3, #20]
.L531:
ldr r3, [fp, #-24]
.L528:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L533:
.align 2
.L532:
.word sqlite3_api
.word .LC33
.size spellfix1FilterForFullScan, .-spellfix1FilterForFullScan
.align 2
.syntax unified
.arm
.fpu softvfp
.type spellfix1Filter, %function
spellfix1Filter:
@ 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, [fp, #-16]
str r3, [fp, #-8]
ldr r3, [fp, #-20]
and r3, r3, #1
cmp r3, #0
beq .L535
ldr r3, [fp, #4]
ldr r2, [fp, #-28]
ldr r1, [fp, #-20]
ldr r0, [fp, #-8]
bl spellfix1FilterForMatch
str r0, [fp, #-12]
b .L536
.L535:
ldr r3, [fp, #4]
ldr r2, [fp, #-28]
ldr r1, [fp, #-20]
ldr r0, [fp, #-8]
bl spellfix1FilterForFullScan
str r0, [fp, #-12]
.L536:
ldr r3, [fp, #-12]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size spellfix1Filter, .-spellfix1Filter
.align 2
.syntax unified
.arm
.fpu softvfp
.type spellfix1Next, %function
spellfix1Next:
@ 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]
str r3, [fp, #-8]
mov r3, #0
str r3, [fp, #-12]
ldr r3, [fp, #-8]
ldr r2, [r3, #20]
ldr r3, [fp, #-8]
ldr r3, [r3, #12]
cmp r2, r3
bge .L539
ldr r3, [fp, #-8]
ldr r3, [r3, #40]
cmp r3, #0
beq .L540
ldr r3, .L544
ldr r3, [r3]
ldr r3, [r3, #376]
ldr r2, [fp, #-8]
ldr r2, [r2, #40]
mov r0, r2
blx r3
str r0, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #100
beq .L541
ldr r3, [fp, #-8]
ldr r2, [r3, #12]
ldr r3, [fp, #-8]
str r2, [r3, #20]
.L541:
ldr r3, [fp, #-12]
cmp r3, #100
beq .L542
ldr r3, [fp, #-12]
cmp r3, #101
bne .L539
.L542:
mov r3, #0
str r3, [fp, #-12]
b .L539
.L540:
ldr r3, [fp, #-8]
ldr r3, [r3, #20]
add r2, r3, #1
ldr r3, [fp, #-8]
str r2, [r3, #20]
.L539:
ldr r3, [fp, #-12]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L545:
.align 2
.L544:
.word sqlite3_api
.size spellfix1Next, .-spellfix1Next
.align 2
.syntax unified
.arm
.fpu softvfp
.type spellfix1Eof, %function
spellfix1Eof:
@ 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]
ldr r3, [fp, #-8]
ldr r2, [r3, #20]
ldr r3, [fp, #-8]
ldr r3, [r3, #12]
cmp r2, r3
movge r3, #1
movlt r3, #0
and r3, r3, #255
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size spellfix1Eof, .-spellfix1Eof
.section .rodata
.align 2
.LC34:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type spellfix1Column, %function
spellfix1Column:
@ args = 0, pretend = 0, frame = 48
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #52
str r0, [fp, #-48]
str r1, [fp, #-52]
str r2, [fp, #-56]
ldr r3, .L572
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
ldr r3, [fp, #-48]
str r3, [fp, #-40]
ldr r3, [fp, #-40]
ldr r3, [r3, #40]
cmp r3, #0
beq .L549
ldr r3, [fp, #-56]
cmp r3, #3
bgt .L550
ldr r3, .L572+4
ldr r3, [r3]
ldr r4, [r3, #356]
ldr r3, .L572+4
ldr r3, [r3]
ldr r3, [r3, #156]
ldr r2, [fp, #-40]
ldr r2, [r2, #40]
ldr r1, [fp, #-56]
mov r0, r2
blx r3
mov r3, r0
mov r1, r3
ldr r0, [fp, #-52]
blx r4
b .L551
.L550:
ldr r3, .L572+4
ldr r3, [r3]
ldr r3, [r3, #336]
ldr r0, [fp, #-52]
blx r3
.L551:
mov r3, #0
b .L552
.L549:
ldr r3, [fp, #-56]
cmp r3, #9
ldrls pc, [pc, r3, asl #2]
b .L553
.L555:
.word .L564
.word .L563
.word .L562
.word .L561
.word .L560
.word .L559
.word .L558
.word .L557
.word .L556
.word .L554
.L564:
ldr r3, .L572+4
ldr r3, [r3]
ldr r4, [r3, #340]
ldr r3, [fp, #-40]
ldr r2, [r3, #44]
ldr r3, [fp, #-40]
ldr r3, [r3, #20]
mov r1, r3
mov r3, r1
lsl r3, r3, #2
add r3, r3, r1
lsl r3, r3, #3
add r3, r2, r3
ldr r1, [r3, #8]
mov r3, #0
mvn r2, #0
ldr r0, [fp, #-52]
blx r4
b .L565
.L563:
ldr r3, .L572+4
ldr r3, [r3]
ldr r2, [r3, #328]
ldr r3, [fp, #-40]
ldr r1, [r3, #44]
ldr r3, [fp, #-40]
ldr r3, [r3, #20]
mov r0, r3
mov r3, r0
lsl r3, r3, #2
add r3, r3, r0
lsl r3, r3, #3
add r3, r1, r3
ldr r3, [r3, #12]
mov r1, r3
ldr r0, [fp, #-52]
blx r2
b .L565
.L562:
ldr r3, .L572+4
ldr r3, [r3]
ldr r2, [r3, #328]
ldr r3, [fp, #-40]
ldr r1, [r3, #44]
ldr r3, [fp, #-40]
ldr r3, [r3, #20]
mov r0, r3
mov r3, r0
lsl r3, r3, #2
add r3, r3, r0
lsl r3, r3, #3
add r3, r1, r3
ldr r3, [r3, #16]
mov r1, r3
ldr r0, [fp, #-52]
blx r2
b .L565
.L561:
ldr r3, .L572+4
ldr r3, [r3]
ldr r3, [r3, #328]
ldr r2, [fp, #-40]
ldr r2, [r2, #24]
mov r1, r2
ldr r0, [fp, #-52]
blx r3
b .L565
.L560:
ldr r3, .L572+4
ldr r3, [r3]
ldr r2, [r3, #328]
ldr r3, [fp, #-40]
ldr r1, [r3, #44]
ldr r3, [fp, #-40]
ldr r3, [r3, #20]
mov r0, r3
mov r3, r0
lsl r3, r3, #2
add r3, r3, r0
lsl r3, r3, #3
add r3, r1, r3
ldr r3, [r3, #20]
mov r1, r3
ldr r0, [fp, #-52]
blx r2
b .L565
.L559:
ldr r3, [fp, #-40]
ldr r2, [r3, #44]
ldr r3, [fp, #-40]
ldr r3, [r3, #20]
mov r1, r3
mov r3, r1
lsl r3, r3, #2
add r3, r3, r1
lsl r3, r3, #3
add r3, r2, r3
ldr r3, [r3, #24]
str r3, [fp, #-44]
ldr r3, [fp, #-44]
cmp r3, #0
bge .L566
ldr r3, [fp, #-40]
ldr r3, [r3, #8]
mov r0, r3
bl strlen
mov r3, r0
str r3, [fp, #-36]
ldr r3, [fp, #-40]
ldr r2, [r3, #44]
ldr r3, [fp, #-40]
ldr r3, [r3, #20]
mov r1, r3
mov r3, r1
lsl r3, r3, #2
add r3, r3, r1
lsl r3, r3, #3
add r3, r2, r3
ldr r3, [r3, #8]
str r3, [fp, #-32]
ldr r0, [fp, #-32]
bl strlen
mov r3, r0
str r3, [fp, #-28]
ldr r3, [fp, #-36]
cmp r3, #0
ble .L567
ldr r3, [fp, #-40]
ldr r2, [r3, #8]
ldr r3, [fp, #-36]
sub r3, r3, #1
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #42
bne .L567
ldr r1, [fp, #-28]
ldr r0, [fp, #-32]
bl transliterate
str r0, [fp, #-24]
ldr r3, [fp, #-24]
cmp r3, #0
bne .L568
mov r3, #7
b .L552
.L568:
ldr r3, [fp, #-40]
ldr r3, [r3, #8]
sub r2, fp, #44
ldr r1, [fp, #-24]
mov r0, r3
bl editdist1
str r0, [fp, #-20]
ldr r3, .L572+4
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r0, [fp, #-24]
blx r3
ldr r3, [fp, #-20]
cmp r3, #0
bge .L570
mov r3, #7
b .L552
.L570:
ldr r3, [fp, #-44]
mov r2, r3
ldr r1, [fp, #-28]
ldr r0, [fp, #-32]
bl translen_to_charlen
mov r3, r0
str r3, [fp, #-44]
b .L566
.L567:
ldr r1, [fp, #-28]
ldr r0, [fp, #-32]
bl utf8Charlen
mov r3, r0
str r3, [fp, #-44]
.L566:
ldr r3, .L572+4
ldr r3, [r3]
ldr r3, [r3, #328]
ldr r2, [fp, #-44]
mov r1, r2
ldr r0, [fp, #-52]
blx r3
b .L565
.L558:
ldr r3, .L572+4
ldr r3, [r3]
ldr r4, [r3, #340]
ldr r3, [fp, #-40]
ldr r2, [r3, #44]
ldr r3, [fp, #-40]
ldr r3, [r3, #20]
mov r1, r3
mov r3, r1
lsl r3, r3, #2
add r3, r3, r1
lsl r3, r3, #3
add r3, r2, r3
add r1, r3, #28
mov r3, #0
mvn r2, #0
ldr r0, [fp, #-52]
blx r4
b .L565
.L557:
ldr r3, .L572+4
ldr r3, [r3]
ldr r3, [r3, #328]
ldr r2, [fp, #-40]
ldr r2, [r2, #28]
mov r1, r2
ldr r0, [fp, #-52]
blx r3
b .L565
.L556:
ldr r3, .L572+4
ldr r3, [r3]
ldr r3, [r3, #328]
ldr r2, [fp, #-40]
ldr r2, [r2, #32]
mov r1, r2
ldr r0, [fp, #-52]
blx r3
b .L565
.L554:
ldr r3, .L572+4
ldr r3, [r3]
ldr r3, [r3, #328]
ldr r2, [fp, #-40]
ldr r2, [r2, #36]
mov r1, r2
ldr r0, [fp, #-52]
blx r3
b .L565
.L553:
ldr r3, .L572+4
ldr r3, [r3]
ldr r3, [r3, #336]
ldr r0, [fp, #-52]
blx r3
nop
.L565:
mov r3, #0
.L552:
ldr r2, .L572
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L571
bl __stack_chk_fail
.L571:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L573:
.align 2
.L572:
.word .LC34
.word sqlite3_api
.size spellfix1Column, .-spellfix1Column
.align 2
.syntax unified
.arm
.fpu softvfp
.type spellfix1Rowid, %function
spellfix1Rowid:
@ 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]
str r3, [fp, #-8]
ldr r3, [fp, #-8]
ldr r3, [r3, #40]
cmp r3, #0
beq .L575
ldr r3, .L578
ldr r3, [r3]
ldr r3, [r3, #116]
ldr r2, [fp, #-8]
ldr r2, [r2, #40]
mov r1, #4
mov r0, r2
blx r3
mov r2, r0
mov r3, r1
ldr r1, [fp, #-20]
stm r1, {r2-r3}
b .L576
.L575:
ldr r3, [fp, #-8]
ldr r2, [r3, #44]
ldr r3, [fp, #-8]
ldr r3, [r3, #20]
mov r1, r3
mov r3, r1
lsl r3, r3, #2
add r3, r3, r1
lsl r3, r3, #3
add r3, r2, r3
ldmia r3, {r2-r3}
ldr r1, [fp, #-20]
stm r1, {r2-r3}
.L576:
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L579:
.align 2
.L578:
.word sqlite3_api
.size spellfix1Rowid, .-spellfix1Rowid
.section .rodata
.align 2
.LC35:
.ascii "DELETE FROM \"%w\".\"%w_vocab\" WHERE id=%lld\000"
.align 2
.LC36:
.ascii "%s.word may not be NULL\000"
.align 2
.LC37:
.ascii "reset\000"
.align 2
.LC38:
.ascii "null\000"
.align 2
.LC39:
.ascii "unknown value for %s.command: \"%w\"\000"
.align 2
.LC40:
.ascii "INSERT INTO \"%w\".\"%w_vocab\"(rank,langid,word,k1"
.ascii ",k2) VALUES(%d,%d,%Q,%Q,%Q)\000"
.align 2
.LC41:
.ascii "UPDATE \"%w\".\"%w_vocab\" SET id=%lld, rank=%d, la"
.ascii "ngid=%d, word=%Q, k1=%Q, k2=%Q WHERE id=%lld\000"
.align 2
.LC42:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type spellfix1Update, %function
spellfix1Update:
@ args = 0, pretend = 0, frame = 96
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #144
str r0, [fp, #-88]
str r1, [fp, #-92]
str r2, [fp, #-96]
str r3, [fp, #-100]
ldr r3, .L603
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-80]
ldr r3, [fp, #-88]
str r3, [fp, #-64]
ldr r3, [fp, #-64]
ldr r3, [r3, #12]
str r3, [fp, #-60]
ldr r3, [fp, #-92]
cmp r3, #1
bne .L581
ldr r3, .L603+4
ldr r3, [r3]
ldr r3, [r3, #428]
ldr r2, [fp, #-96]
ldr r2, [r2]
mov r0, r2
blx r3
mov r2, r0
mov r3, r1
ldr r1, [fp, #-100]
stm r1, {r2-r3}
ldr r3, [fp, #-100]
ldmia r3, {r2-r3}
str r2, [fp, #-28]
str r3, [fp, #-24]
ldr r3, [fp, #-64]
ldr ip, [r3, #16]
ldr r3, [fp, #-64]
ldr r1, [r3, #20]
sub r0, fp, #80
sub r3, fp, #28
ldmia r3, {r2-r3}
str r2, [sp, #8]
str r3, [sp, #12]
str r1, [sp]
mov r3, ip
ldr r2, .L603+8
ldr r1, [fp, #-60]
bl spellfix1DbExec
b .L582
.L581:
ldr r3, .L603+4
ldr r3, [r3]
ldr r3, [r3, #436]
ldr r2, [fp, #-96]
add r2, r2, #8
ldr r2, [r2]
mov r0, r2
blx r3
str r0, [fp, #-56]
ldr r3, .L603+4
ldr r3, [r3]
ldr r3, [r3, #412]
ldr r2, [fp, #-96]
add r2, r2, #8
ldr r2, [r2]
mov r0, r2
blx r3
str r0, [fp, #-52]
ldr r3, .L603+4
ldr r3, [r3]
ldr r3, [r3, #424]
ldr r2, [fp, #-96]
add r2, r2, #20
ldr r2, [r2]
mov r0, r2
blx r3
str r0, [fp, #-48]
ldr r3, .L603+4
ldr r3, [r3]
ldr r3, [r3, #424]
ldr r2, [fp, #-96]
add r2, r2, #12
ldr r2, [r2]
mov r0, r2
blx r3
str r0, [fp, #-76]
ldr r3, .L603+4
ldr r3, [r3]
ldr r3, [r3, #436]
ldr r2, [fp, #-96]
add r2, r2, #48
ldr r2, [r2]
mov r0, r2
blx r3
str r0, [fp, #-44]
ldr r3, .L603+4
ldr r3, [r3]
ldr r3, [r3, #412]
ldr r2, [fp, #-96]
add r2, r2, #48
ldr r2, [r2]
mov r0, r2
blx r3
str r0, [fp, #-40]
ldr r3, [fp, #-56]
cmp r3, #0
bne .L583
ldr r3, .L603+4
ldr r3, [r3]
ldr r3, [r3, #436]
ldr r2, [fp, #-96]
add r2, r2, #52
ldr r2, [r2]
mov r0, r2
blx r3
str r0, [fp, #-32]
ldr r3, [fp, #-32]
cmp r3, #0
bne .L584
ldr r3, .L603+4
ldr r3, [r3]
ldr r3, [r3, #276]
ldr r2, [fp, #-64]
ldr r2, [r2, #20]
mov r1, r2
ldr r0, .L603+12
blx r3
mov r2, r0
ldr r3, [fp, #-88]
str r2, [r3, #8]
ldr r3, .L603+16
b .L601
.L584:
ldr r1, .L603+20
ldr r0, [fp, #-32]
bl strcmp
mov r3, r0
cmp r3, #0
bne .L586
ldr r3, [fp, #-64]
ldr r3, [r3, #28]
mov r0, r3
bl editDist3ConfigDelete
ldr r3, [fp, #-64]
mov r2, #0
str r2, [r3, #28]
mov r3, #0
b .L601
.L586:
mov r2, #16
ldr r1, .L603+24
ldr r0, [fp, #-32]
bl strncmp
mov r3, r0
cmp r3, #0
bne .L587
ldr r3, [fp, #-64]
ldr r3, [r3, #28]
mov r0, r3
bl editDist3ConfigDelete
ldr r3, [fp, #-64]
mov r2, #0
str r2, [r3, #28]
ldr r3, .L603+4
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r2, [fp, #-64]
ldr r2, [r2, #24]
mov r0, r2
blx r3
ldr r3, [fp, #-32]
add r3, r3, #16
mov r0, r3
bl spellfix1Dequote
mov r2, r0
ldr r3, [fp, #-64]
str r2, [r3, #24]
ldr r3, [fp, #-64]
ldr r3, [r3, #24]
cmp r3, #0
bne .L588
mov r3, #7
b .L601
.L588:
ldr r3, [fp, #-64]
ldr r3, [r3, #24]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
beq .L589
ldr r3, .L603+4
ldr r3, [r3]
ldr r3, [r3, #744]
ldr r2, [fp, #-64]
ldr r2, [r2, #24]
ldr r1, .L603+28
mov r0, r2
blx r3
mov r3, r0
cmp r3, #0
bne .L590
.L589:
ldr r3, .L603+4
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r2, [fp, #-64]
ldr r2, [r2, #24]
mov r0, r2
blx r3
ldr r3, [fp, #-64]
mov r2, #0
str r2, [r3, #24]
.L590:
mov r3, #0
b .L601
.L587:
ldr r3, .L603+4
ldr r3, [r3]
ldr r3, [r3, #276]
ldr r2, [fp, #-64]
ldr r1, [r2, #20]
ldr r2, [fp, #-32]
ldr r0, .L603+32
blx r3
mov r2, r0
ldr r3, [fp, #-88]
str r2, [r3, #8]
mov r3, #1
b .L601
.L583:
ldr r3, [fp, #-76]
cmp r3, #0
bgt .L591
mov r3, #1
str r3, [fp, #-76]
.L591:
ldr r3, [fp, #-44]
cmp r3, #0
beq .L592
ldr r1, [fp, #-40]
ldr r0, [fp, #-44]
bl transliterate
str r0, [fp, #-72]
b .L593
.L592:
ldr r1, [fp, #-52]
ldr r0, [fp, #-56]
bl transliterate
str r0, [fp, #-72]
.L593:
ldr r3, [fp, #-72]
cmp r3, #0
bne .L594
mov r3, #7
b .L601
.L594:
mov r3, #0
str r3, [fp, #-68]
b .L595
.L597:
ldrb r3, [fp, #-81] @ zero_extendqisi2
cmp r3, #64
bls .L596
ldrb r3, [fp, #-81] @ zero_extendqisi2
cmp r3, #90
bhi .L596
ldr r3, [fp, #-68]
ldr r2, [fp, #-72]
add r3, r2, r3
ldrb r2, [r3] @ zero_extendqisi2
ldr r3, [fp, #-68]
ldr r1, [fp, #-72]
add r3, r1, r3
add r2, r2, #32
and r2, r2, #255
strb r2, [r3]
.L596:
ldr r3, [fp, #-68]
add r3, r3, #1
str r3, [fp, #-68]
.L595:
ldr r3, [fp, #-68]
ldr r2, [fp, #-72]
add r3, r2, r3
ldrb r3, [r3]
strb r3, [fp, #-81]
ldrb r3, [fp, #-81] @ zero_extendqisi2
cmp r3, #0
bne .L597
ldr r1, [fp, #-68]
ldr r0, [fp, #-72]
bl phoneticHash
str r0, [fp, #-36]
ldr r3, [fp, #-36]
cmp r3, #0
bne .L598
ldr r3, .L603+4
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r0, [fp, #-72]
blx r3
mov r3, #7
b .L601
.L598:
ldr r3, .L603+4
ldr r3, [r3]
ldr r3, [r3, #452]
ldr r2, [fp, #-96]
ldr r2, [r2]
mov r0, r2
blx r3
mov r3, r0
cmp r3, #5
bne .L599
ldr r3, [fp, #-64]
ldr r1, [r3, #16]
ldr r3, [fp, #-64]
ldr r3, [r3, #20]
sub r0, fp, #80
ldr r2, [fp, #-36]
str r2, [sp, #20]
ldr r2, [fp, #-72]
str r2, [sp, #16]
ldr r2, [fp, #-56]
str r2, [sp, #12]
ldr r2, [fp, #-48]
str r2, [sp, #8]
ldr r2, [fp, #-76]
str r2, [sp, #4]
str r3, [sp]
mov r3, r1
ldr r2, .L603+36
ldr r1, [fp, #-60]
bl spellfix1DbExec
ldr r3, .L603+4
ldr r3, [r3]
ldr r3, [r3, #260]
ldr r0, [fp, #-60]
blx r3
mov r2, r0
mov r3, r1
ldr r1, [fp, #-100]
stm r1, {r2-r3}
b .L600
.L599:
ldr r3, .L603+4
ldr r3, [r3]
ldr r3, [r3, #428]
ldr r2, [fp, #-96]
ldr r2, [r2]
mov r0, r2
blx r3
str r0, [fp, #-28]
str r1, [fp, #-24]
ldr r3, .L603+4
ldr r3, [r3]
ldr r3, [r3, #428]
ldr r2, [fp, #-96]
add r2, r2, #4
ldr r2, [r2]
mov r0, r2
blx r3
mov r2, r0
mov r3, r1
ldr r1, [fp, #-100]
stm r1, {r2-r3}
ldr r3, [fp, #-100]
ldmia r3, {r2-r3}
str r2, [fp, #-20]
str r3, [fp, #-16]
ldr r3, [fp, #-64]
ldr ip, [r3, #16]
ldr r3, [fp, #-64]
ldr r1, [r3, #20]
sub r0, fp, #80
sub r3, fp, #28
ldmia r3, {r2-r3}
str r2, [sp, #40]
str r3, [sp, #44]
ldr r3, [fp, #-36]
str r3, [sp, #32]
ldr r3, [fp, #-72]
str r3, [sp, #28]
ldr r3, [fp, #-56]
str r3, [sp, #24]
ldr r3, [fp, #-48]
str r3, [sp, #20]
ldr r3, [fp, #-76]
str r3, [sp, #16]
sub r3, fp, #20
ldmia r3, {r2-r3}
str r2, [sp, #8]
str r3, [sp, #12]
str r1, [sp]
mov r3, ip
ldr r2, .L603+40
ldr r1, [fp, #-60]
bl spellfix1DbExec
.L600:
ldr r3, .L603+4
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r0, [fp, #-72]
blx r3
ldr r3, .L603+4
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r0, [fp, #-36]
blx r3
.L582:
ldr r3, [fp, #-80]
.L601:
ldr r2, .L603
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L602
bl __stack_chk_fail
.L602:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L604:
.align 2
.L603:
.word .LC42
.word sqlite3_api
.word .LC35
.word .LC36
.word 1299
.word .LC37
.word .LC25
.word .LC38
.word .LC39
.word .LC40
.word .LC41
.size spellfix1Update, .-spellfix1Update
.section .rodata
.align 2
.LC43:
.ascii "ALTER TABLE \"%w\".\"%w_vocab\" RENAME TO \"%w_voca"
.ascii "b\"\000"
.align 2
.LC44:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type spellfix1Rename, %function
spellfix1Rename:
@ 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]
str r1, [fp, #-36]
ldr r3, .L612
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, [fp, #-32]
str r3, [fp, #-20]
ldr r3, [fp, #-20]
ldr r3, [r3, #12]
str r3, [fp, #-16]
mov r3, #0
str r3, [fp, #-24]
ldr r3, .L612+4
ldr r3, [r3]
ldr r3, [r3, #276]
ldr r1, [fp, #-36]
ldr r0, .L612+8
blx r3
str r0, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #0
bne .L606
mov r3, #7
b .L610
.L606:
ldr r3, [fp, #-20]
ldr r1, [r3, #16]
ldr r3, [fp, #-20]
ldr r3, [r3, #20]
sub r0, fp, #24
ldr r2, [fp, #-12]
str r2, [sp, #4]
str r3, [sp]
mov r3, r1
ldr r2, .L612+12
ldr r1, [fp, #-16]
bl spellfix1DbExec
ldr r3, [fp, #-24]
cmp r3, #0
bne .L608
ldr r3, .L612+4
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r2, [fp, #-20]
ldr r2, [r2, #20]
mov r0, r2
blx r3
ldr r3, [fp, #-20]
ldr r2, [fp, #-12]
str r2, [r3, #20]
b .L609
.L608:
ldr r3, .L612+4
ldr r3, [r3]
ldr r3, [r3, #232]
ldr r0, [fp, #-12]
blx r3
.L609:
ldr r3, [fp, #-24]
.L610:
ldr r2, .L612
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L611
bl __stack_chk_fail
.L611:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L613:
.align 2
.L612:
.word .LC44
.word sqlite3_api
.word .LC21
.word .LC43
.size spellfix1Rename, .-spellfix1Rename
.data
.align 2
.type spellfix1Module, %object
.size spellfix1Module, 96
spellfix1Module:
.word 0
.word spellfix1Create
.word spellfix1Connect
.word spellfix1BestIndex
.word spellfix1Disconnect
.word spellfix1Destroy
.word spellfix1Open
.word spellfix1Close
.word spellfix1Filter
.word spellfix1Next
.word spellfix1Eof
.word spellfix1Column
.word spellfix1Rowid
.word spellfix1Update
.word 0
.word 0
.word 0
.word 0
.word 0
.word spellfix1Rename
.space 16
.section .rodata
.align 2
.LC45:
.ascii "spellfix1_translit\000"
.align 2
.LC46:
.ascii "spellfix1_editdist\000"
.align 2
.LC47:
.ascii "spellfix1_phonehash\000"
.align 2
.LC48:
.ascii "spellfix1_scriptcode\000"
.align 2
.LC49:
.ascii "spellfix1\000"
.align 2
.LC50:
.ascii "translit[i].cFrom<translit[i+1].cFrom\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type spellfix1Register, %function
spellfix1Register:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #36
str r0, [fp, #-24]
mov r3, #0
str r3, [fp, #-20]
ldr r3, .L624
ldr r3, [r3]
ldr r4, [r3, #180]
mov r3, #0
str r3, [sp, #12]
mov r3, #0
str r3, [sp, #8]
ldr r3, .L624+4
str r3, [sp, #4]
mov r3, #0
str r3, [sp]
mov r3, #1
mov r2, #1
ldr r1, .L624+8
ldr r0, [fp, #-24]
blx r4
str r0, [fp, #-20]
ldr r3, [fp, #-20]
cmp r3, #0
bne .L615
ldr r3, .L624
ldr r3, [r3]
ldr r4, [r3, #180]
mov r3, #0
str r3, [sp, #12]
mov r3, #0
str r3, [sp, #8]
ldr r3, .L624+12
str r3, [sp, #4]
mov r3, #0
str r3, [sp]
mov r3, #1
mov r2, #2
ldr r1, .L624+16
ldr r0, [fp, #-24]
blx r4
str r0, [fp, #-20]
.L615:
ldr r3, [fp, #-20]
cmp r3, #0
bne .L616
ldr r3, .L624
ldr r3, [r3]
ldr r4, [r3, #180]
mov r3, #0
str r3, [sp, #12]
mov r3, #0
str r3, [sp, #8]
ldr r3, .L624+20
str r3, [sp, #4]
mov r3, #0
str r3, [sp]
mov r3, #1
mov r2, #1
ldr r1, .L624+24
ldr r0, [fp, #-24]
blx r4
str r0, [fp, #-20]
.L616:
ldr r3, [fp, #-20]
cmp r3, #0
bne .L617
ldr r3, .L624
ldr r3, [r3]
ldr r4, [r3, #180]
mov r3, #0
str r3, [sp, #12]
mov r3, #0
str r3, [sp, #8]
ldr r3, .L624+28
str r3, [sp, #4]
mov r3, #0
str r3, [sp]
mov r3, #1
mov r2, #1
ldr r1, .L624+32
ldr r0, [fp, #-24]
blx r4
str r0, [fp, #-20]
.L617:
ldr r3, [fp, #-20]
cmp r3, #0
bne .L618
ldr r3, .L624
ldr r3, [r3]
ldr r4, [r3, #188]
mov r3, #0
ldr r2, .L624+36
ldr r1, .L624+40
ldr r0, [fp, #-24]
blx r4
str r0, [fp, #-20]
.L618:
ldr r3, [fp, #-20]
cmp r3, #0
bne .L619
ldr r0, [fp, #-24]
bl editDist3Install
str r0, [fp, #-20]
.L619:
mov r3, #0
str r3, [fp, #-16]
b .L620
.L622:
ldr r2, .L624+44
ldr r3, [fp, #-16]
lsl r3, r3, #2
add r3, r2, r3
ldrh r2, [r3]
ldr r3, [fp, #-16]
add r3, r3, #1
ldr r1, .L624+44
lsl r3, r3, #2
add r3, r1, r3
ldrh r3, [r3]
cmp r2, r3
bcc .L621
ldr r3, .L624+48
ldr r2, .L624+52
ldr r1, .L624+56
ldr r0, .L624+60
bl __assert_fail
.L621:
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L620:
ldr r3, [fp, #-16]
cmp r3, #388
bcc .L622
ldr r3, [fp, #-20]
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L625:
.align 2
.L624:
.word sqlite3_api
.word transliterateSqlFunc
.word .LC45
.word editdistSqlFunc
.word .LC46
.word phoneticHashSqlFunc
.word .LC47
.word scriptCodeSqlFunc
.word .LC48
.word spellfix1Module
.word .LC49
.word translit
.word __PRETTY_FUNCTION__.8682
.word 2820
.word .LC0
.word .LC50
.size spellfix1Register, .-spellfix1Register
.align 2
.global sqlite3_spellfix_init
.syntax unified
.arm
.fpu softvfp
.type sqlite3_spellfix_init, %function
sqlite3_spellfix_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, #-8]
str r1, [fp, #-12]
str r2, [fp, #-16]
ldr r2, .L628
ldr r3, [fp, #-16]
str r3, [r2]
ldr r0, [fp, #-8]
bl spellfix1Register
mov r3, r0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L629:
.align 2
.L628:
.word sqlite3_api
.size sqlite3_spellfix_init, .-sqlite3_spellfix_init
.section .rodata
.align 2
.type __PRETTY_FUNCTION__.7951, %object
.size __PRETTY_FUNCTION__.7951, 13
__PRETTY_FUNCTION__.7951:
.ascii "phoneticHash\000"
.align 2
.type __PRETTY_FUNCTION__.8036, %object
.size __PRETTY_FUNCTION__.8036, 10
__PRETTY_FUNCTION__.8036:
.ascii "editdist1\000"
.align 2
.type __PRETTY_FUNCTION__.8120, %object
.size __PRETTY_FUNCTION__.8120, 20
__PRETTY_FUNCTION__.8120:
.ascii "editDist3ConfigLoad\000"
.align 2
.type __PRETTY_FUNCTION__.8142, %object
.size __PRETTY_FUNCTION__.8142, 10
__PRETTY_FUNCTION__.8142:
.ascii "matchFrom\000"
.align 2
.type __PRETTY_FUNCTION__.8180, %object
.size __PRETTY_FUNCTION__.8180, 11
__PRETTY_FUNCTION__.8180:
.ascii "updateCost\000"
.align 2
.type __PRETTY_FUNCTION__.8479, %object
.size __PRETTY_FUNCTION__.8479, 22
__PRETTY_FUNCTION__.8479:
.ascii "spellfix1ResizeCursor\000"
.align 2
.type __PRETTY_FUNCTION__.8558, %object
.size __PRETTY_FUNCTION__.8558, 18
__PRETTY_FUNCTION__.8558:
.ascii "spellfix1RunQuery\000"
.align 2
.type __PRETTY_FUNCTION__.8682, %object
.size __PRETTY_FUNCTION__.8682, 18
__PRETTY_FUNCTION__.8682:
.ascii "spellfix1Register\000"
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "423485.c"
.intel_syntax noprefix
.text
.globl a
.bss
.align 4
.type a, @object
.size a, 4
a:
.zero 4
.text
.globl fn1
.type fn1, @function
fn1:
.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 DWORD PTR -8[rbp], esi
mov edx, DWORD PTR a[rip]
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -8[rbp]
sete al
movzx ecx, al
mov eax, edx
sub eax, ecx
mov DWORD PTR a[rip], eax
mov eax, DWORD PTR a[rip]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size fn1, .-fn1
.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
mov DWORD PTR a[rip], 10
mov esi, 4
mov edi, 4
call fn1
cmp eax, 9
je .L4
call abort@PLT
.L4:
mov DWORD PTR a[rip], 5
mov esi, 4
mov edi, 3
call fn1
cmp eax, 5
je .L5
call abort@PLT
.L5:
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 "423485.c"
.text
.comm a,4,4
.align 2
.global fn1
.syntax unified
.arm
.fpu softvfp
.type fn1, %function
fn1:
@ 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, .L3
ldr r3, [r3]
ldr r1, [fp, #-8]
ldr r2, [fp, #-12]
cmp r1, r2
moveq r2, #1
movne r2, #0
and r2, r2, #255
sub r3, r3, r2
ldr r2, .L3
str r3, [r2]
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 a
.size fn1, .-fn1
.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 r3, .L9
mov r2, #10
str r2, [r3]
mov r1, #4
mov r0, #4
bl fn1
mov r3, r0
cmp r3, #9
beq .L6
bl abort
.L6:
ldr r3, .L9
mov r2, #5
str r2, [r3]
mov r1, #4
mov r0, #3
bl fn1
mov r3, r0
cmp r3, #5
beq .L7
bl abort
.L7:
mov r3, #0
mov r0, r3
pop {fp, pc}
.L10:
.align 2
.L9:
.word a
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "774466.c"
.intel_syntax noprefix
.text
.globl function
.type function, @function
function:
.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 DWORD PTR -36[rbp], edi
mov DWORD PTR -40[rbp], esi
mov DWORD PTR -44[rbp], edx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
nop
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L2
call __stack_chk_fail@PLT
.L2:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size function, .-function
.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
mov edx, 3
mov esi, 2
mov edi, 1
call function
nop
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 "774466.c"
.text
.section .rodata
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global function
.syntax unified
.arm
.fpu softvfp
.type function, %function
function:
@ 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]
ldr r3, .L3
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
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, pc}
.L4:
.align 2
.L3:
.word .LC0
.size function, .-function
.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
mov r2, #3
mov r1, #2
mov r0, #1
bl function
nop
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 "296565.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 "296565.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "448157.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "w+"
.LC1:
.string "file.txt"
.LC2:
.string "Hello how are you"
.LC3:
.string "%s %s %s %d"
.LC4:
.string "Read String1 |%s|\n"
.LC5:
.string "Read String2 |%s|\n"
.LC6:
.string "Read String3 |%s|\n"
.LC7:
.string "Read Integer |%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, 64
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rsi, .LC0[rip]
lea rdi, .LC1[rip]
call fopen@PLT
mov QWORD PTR -48[rbp], rax
cmp QWORD PTR -48[rbp], 0
je .L2
mov rax, QWORD PTR -48[rbp]
mov rcx, rax
mov edx, 17
mov esi, 1
lea rdi, .LC2[rip]
call fwrite@PLT
.L2:
mov rax, QWORD PTR -48[rbp]
mov rdi, rax
call rewind@PLT
lea rdi, -52[rbp]
lea rsi, -18[rbp]
lea rcx, -28[rbp]
lea rdx, -38[rbp]
mov rax, QWORD PTR -48[rbp]
mov r9, rdi
mov r8, rsi
lea rsi, .LC3[rip]
mov rdi, rax
mov eax, 0
call __isoc99_fscanf@PLT
lea rax, -38[rbp]
mov rsi, rax
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
lea rax, -28[rbp]
mov rsi, rax
lea rdi, .LC5[rip]
mov eax, 0
call printf@PLT
lea rax, -18[rbp]
mov rsi, rax
lea rdi, .LC6[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR -52[rbp]
mov esi, eax
lea rdi, .LC7[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR -48[rbp]
mov rdi, rax
call fclose@PLT
mov QWORD PTR -48[rbp], 0
mov eax, 0
mov rdx, QWORD PTR -8[rbp]
sub rdx, QWORD PTR fs:40
je .L4
call __stack_chk_fail@PLT
.L4:
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 "448157.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "w+\000"
.align 2
.LC1:
.ascii "file.txt\000"
.align 2
.LC2:
.ascii "Hello how are you\000"
.align 2
.LC3:
.ascii "%s %s %s %d\000"
.align 2
.LC4:
.ascii "Read String1 |%s|\012\000"
.align 2
.LC5:
.ascii "Read String2 |%s|\012\000"
.align 2
.LC6:
.ascii "Read String3 |%s|\012\000"
.align 2
.LC7:
.ascii "Read Integer |%d|\012\000"
.align 2
.LC8:
.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, .L5
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r1, .L5+4
ldr r0, .L5+8
bl fopen
str r0, [fp, #-48]
ldr r3, [fp, #-48]
cmp r3, #0
beq .L2
ldr r3, [fp, #-48]
mov r2, #17
mov r1, #1
ldr r0, .L5+12
bl fwrite
.L2:
ldr r0, [fp, #-48]
bl rewind
sub r1, fp, #32
sub r2, fp, #44
sub r3, fp, #52
str r3, [sp, #4]
sub r3, fp, #20
str r3, [sp]
mov r3, r1
ldr r1, .L5+16
ldr r0, [fp, #-48]
bl __isoc99_fscanf
sub r3, fp, #44
mov r1, r3
ldr r0, .L5+20
bl printf
sub r3, fp, #32
mov r1, r3
ldr r0, .L5+24
bl printf
sub r3, fp, #20
mov r1, r3
ldr r0, .L5+28
bl printf
ldr r3, [fp, #-52]
mov r1, r3
ldr r0, .L5+32
bl printf
ldr r0, [fp, #-48]
bl fclose
mov r3, #0
str r3, [fp, #-48]
mov r3, #0
ldr r2, .L5
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L4
bl __stack_chk_fail
.L4:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L6:
.align 2
.L5:
.word .LC8
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.word .LC5
.word .LC6
.word .LC7
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "660947.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
call funkcja
call funkcja
call funkcja
mov edi, 10
call putchar@PLT
call funkcja
call funkcja
mov edi, 10
call putchar@PLT
call funkcja
mov edi, 10
call putchar@PLT
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.LC0:
.string "Usmiech!"
.text
.globl funkcja
.type funkcja, @function
funkcja:
.LFB1:
.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
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size funkcja, .-funkcja
.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 "660947.c"
.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 funkcja
bl funkcja
bl funkcja
mov r0, #10
bl putchar
bl funkcja
bl funkcja
mov r0, #10
bl putchar
bl funkcja
mov r0, #10
bl putchar
mov r3, #0
mov r0, r3
pop {fp, pc}
.size main, .-main
.section .rodata
.align 2
.LC0:
.ascii "Usmiech!\000"
.text
.align 2
.global funkcja
.syntax unified
.arm
.fpu softvfp
.type funkcja, %function
funkcja:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
ldr r0, .L4
bl printf
nop
pop {fp, pc}
.L5:
.align 2
.L4:
.word .LC0
.size funkcja, .-funkcja
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "361292.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "Enter an integer: "
.LC1:
.string "%ld"
.LC2:
.string "Fibonacci( %ld ) = %ld\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
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
lea rax, -24[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call fibonacci
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -16[rbp]
mov rsi, rax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
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
.globl fibonacci
.type fibonacci, @function
fibonacci:
.LFB1:
.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
cmp QWORD PTR -24[rbp], 0
je .L5
cmp QWORD PTR -24[rbp], 1
jne .L6
.L5:
mov rax, QWORD PTR -24[rbp]
jmp .L7
.L6:
mov rax, QWORD PTR -24[rbp]
sub rax, 1
mov rdi, rax
call fibonacci
mov rbx, rax
mov rax, QWORD PTR -24[rbp]
sub rax, 2
mov rdi, rax
call fibonacci
add rax, rbx
.L7:
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size fibonacci, .-fibonacci
.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 "361292.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "Enter an integer: \000"
.align 2
.LC1:
.ascii "%ld\000"
.align 2
.LC2:
.ascii "Fibonacci( %ld ) = %ld\012\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, .L4
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r0, .L4+4
bl printf
sub r3, fp, #16
mov r1, r3
ldr r0, .L4+8
bl __isoc99_scanf
ldr r3, [fp, #-16]
mov r0, r3
bl fibonacci
str r0, [fp, #-12]
ldr r3, [fp, #-16]
ldr r2, [fp, #-12]
mov r1, r3
ldr r0, .L4+12
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 .LC3
.word .LC0
.word .LC1
.word .LC2
.size main, .-main
.align 2
.global fibonacci
.syntax unified
.arm
.fpu softvfp
.type fibonacci, %function
fibonacci:
@ 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]
ldr r3, [fp, #-16]
cmp r3, #0
beq .L7
ldr r3, [fp, #-16]
cmp r3, #1
bne .L8
.L7:
ldr r3, [fp, #-16]
b .L9
.L8:
ldr r3, [fp, #-16]
sub r3, r3, #1
mov r0, r3
bl fibonacci
mov r4, r0
ldr r3, [fp, #-16]
sub r3, r3, #2
mov r0, r3
bl fibonacci
mov r3, r0
add r3, r4, r3
.L9:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.size fibonacci, .-fibonacci
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "898685.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%lld"
.LC1:
.string "%lld\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
lea rax, -24[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov QWORD PTR -16[rbp], 1
jmp .L2
.L3:
lea rax, -32[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov rax, QWORD PTR -32[rbp]
mov rdx, rax
shr rdx, 63
add rax, rdx
sar rax
add rax, 1
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
add QWORD PTR -16[rbp], 1
.L2:
mov rax, QWORD PTR -24[rbp]
cmp QWORD PTR -16[rbp], rax
jle .L3
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 "898685.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "%lld\000"
.align 2
.LC1:
.ascii "%lld\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 = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, fp, lr}
add fp, sp, #28
sub sp, sp, #32
ldr r3, .L6
ldr r3, [r3]
str r3, [fp, #-32]
mov r3,#0
sub r3, fp, #52
mov r1, r3
ldr r0, .L6+4
bl __isoc99_scanf
mov r2, #1
mov r3, #0
str r2, [fp, #-44]
str r3, [fp, #-40]
b .L2
.L3:
sub r3, fp, #60
mov r1, r3
ldr r0, .L6+4
bl __isoc99_scanf
sub r3, fp, #60
ldmia r3, {r2-r3}
lsr r1, r3, #31
mov r0, r1
mov r1, #0
adds r4, r0, r2
adc r5, r1, r3
mov r2, #0
mov r3, #0
lsr r2, r4, #1
orr r2, r2, r5, lsl #31
asr r3, r5, #1
adds r8, r2, #1
adc r9, r3, #0
mov r2, r8
mov r3, r9
ldr r0, .L6+8
bl printf
sub r3, fp, #44
ldmia r3, {r2-r3}
adds r6, r2, #1
adc r7, r3, #0
str r6, [fp, #-44]
str r7, [fp, #-40]
.L2:
sub r1, fp, #52
ldmia r1, {r0-r1}
sub r3, fp, #44
ldmia r3, {r2-r3}
cmp r0, r2
sbcs r3, r1, r3
bge .L3
mov r3, #0
ldr r2, .L6
ldr r1, [r2]
ldr r2, [fp, #-32]
eors r1, r2, r1
mov r2, #0
beq .L5
bl __stack_chk_fail
.L5:
mov r0, r3
sub sp, fp, #28
@ sp needed
pop {r4, r5, r6, r7, r8, r9, fp, pc}
.L7:
.align 2
.L6:
.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 "662414.c"
.intel_syntax noprefix
.text
.globl merge
.type merge, @function
merge:
.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 QWORD PTR -56[rbp], rdi
mov DWORD PTR -60[rbp], esi
mov DWORD PTR -64[rbp], edx
mov DWORD PTR -68[rbp], ecx
mov DWORD PTR -32[rbp], 0
mov DWORD PTR -28[rbp], 0
mov eax, DWORD PTR -60[rbp]
mov DWORD PTR -40[rbp], eax
mov eax, DWORD PTR -64[rbp]
add eax, 1
mov DWORD PTR -36[rbp], eax
mov eax, DWORD PTR -68[rbp]
sub eax, DWORD PTR -60[rbp]
add eax, 1
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -12[rbp]
cdqe
sal rax, 2
mov rdi, rax
call malloc@PLT
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
je .L2
mov DWORD PTR -24[rbp], 0
jmp .L3
.L11:
cmp DWORD PTR -32[rbp], 0
jne .L4
cmp DWORD PTR -28[rbp], 0
jne .L4
mov eax, DWORD PTR -40[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -56[rbp]
add rax, rdx
mov edx, DWORD PTR [rax]
mov eax, DWORD PTR -36[rbp]
cdqe
lea rcx, 0[0+rax*4]
mov rax, QWORD PTR -56[rbp]
add rax, rcx
mov eax, DWORD PTR [rax]
cmp edx, eax
jge .L5
mov eax, DWORD PTR -40[rbp]
lea edx, 1[rax]
mov DWORD PTR -40[rbp], edx
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -56[rbp]
add rax, rdx
mov edx, DWORD PTR -24[rbp]
movsx rdx, edx
lea rcx, 0[0+rdx*4]
mov rdx, QWORD PTR -8[rbp]
add rdx, rcx
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
jmp .L6
.L5:
mov eax, DWORD PTR -36[rbp]
lea edx, 1[rax]
mov DWORD PTR -36[rbp], edx
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -56[rbp]
add rax, rdx
mov edx, DWORD PTR -24[rbp]
movsx rdx, edx
lea rcx, 0[0+rdx*4]
mov rdx, QWORD PTR -8[rbp]
add rdx, rcx
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
.L6:
mov eax, DWORD PTR -40[rbp]
cmp eax, DWORD PTR -64[rbp]
jle .L7
mov DWORD PTR -32[rbp], 1
.L7:
mov eax, DWORD PTR -36[rbp]
cmp eax, DWORD PTR -68[rbp]
jle .L9
mov DWORD PTR -28[rbp], 1
jmp .L9
.L4:
cmp DWORD PTR -32[rbp], 0
jne .L10
mov eax, DWORD PTR -40[rbp]
lea edx, 1[rax]
mov DWORD PTR -40[rbp], edx
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -56[rbp]
add rax, rdx
mov edx, DWORD PTR -24[rbp]
movsx rdx, edx
lea rcx, 0[0+rdx*4]
mov rdx, QWORD PTR -8[rbp]
add rdx, rcx
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
jmp .L9
.L10:
mov eax, DWORD PTR -36[rbp]
lea edx, 1[rax]
mov DWORD PTR -36[rbp], edx
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -56[rbp]
add rax, rdx
mov edx, DWORD PTR -24[rbp]
movsx rdx, edx
lea rcx, 0[0+rdx*4]
mov rdx, QWORD PTR -8[rbp]
add rdx, rcx
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
.L9:
add DWORD PTR -24[rbp], 1
.L3:
mov eax, DWORD PTR -24[rbp]
cmp eax, DWORD PTR -12[rbp]
jl .L11
mov DWORD PTR -20[rbp], 0
mov eax, DWORD PTR -60[rbp]
mov DWORD PTR -16[rbp], eax
jmp .L12
.L13:
mov eax, DWORD PTR -20[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -8[rbp]
add rax, rdx
mov edx, DWORD PTR -16[rbp]
movsx rdx, edx
lea rcx, 0[0+rdx*4]
mov rdx, QWORD PTR -56[rbp]
add rdx, rcx
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
add DWORD PTR -20[rbp], 1
add DWORD PTR -16[rbp], 1
.L12:
mov eax, DWORD PTR -20[rbp]
cmp eax, DWORD PTR -12[rbp]
jl .L13
.L2:
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call free@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size merge, .-merge
.globl merge_sort
.type merge_sort, @function
merge_sort:
.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 DWORD PTR -28[rbp], esi
mov DWORD PTR -32[rbp], edx
mov eax, DWORD PTR -28[rbp]
cmp eax, DWORD PTR -32[rbp]
jge .L16
mov edx, DWORD PTR -28[rbp]
mov eax, DWORD PTR -32[rbp]
add eax, edx
mov edx, eax
shr edx, 31
add eax, edx
sar eax
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
cvttsd2si eax, xmm0
mov DWORD PTR -4[rbp], eax
mov edx, DWORD PTR -4[rbp]
mov ecx, DWORD PTR -28[rbp]
mov rax, QWORD PTR -24[rbp]
mov esi, ecx
mov rdi, rax
call merge_sort
mov eax, DWORD PTR -4[rbp]
lea ecx, 1[rax]
mov edx, DWORD PTR -32[rbp]
mov rax, QWORD PTR -24[rbp]
mov esi, ecx
mov rdi, rax
call merge_sort
mov ecx, DWORD PTR -32[rbp]
mov edx, DWORD PTR -4[rbp]
mov esi, DWORD PTR -28[rbp]
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call merge
.L16:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size merge_sort, .-merge_sort
.section .rodata
.LC0:
.string "The sorted array is: "
.LC1:
.string "%d, "
.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, 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
mov DWORD PTR -32[rbp], 500
mov DWORD PTR -28[rbp], 1
mov DWORD PTR -24[rbp], 50
mov DWORD PTR -20[rbp], 23
mov DWORD PTR -16[rbp], 76
lea rax, -32[rbp]
mov edx, 4
mov esi, 0
mov rdi, rax
call merge_sort
lea rdi, .LC0[rip]
call puts@PLT
mov DWORD PTR -36[rbp], 0
jmp .L18
.L19:
mov eax, DWORD PTR -36[rbp]
cdqe
mov eax, DWORD PTR -32[rbp+rax*4]
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -36[rbp], 1
.L18:
cmp DWORD PTR -36[rbp], 4
jle .L19
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L21
call __stack_chk_fail@PLT
.L21:
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 "662414.c"
.text
.align 2
.global merge
.syntax unified
.arm
.fpu softvfp
.type merge, %function
merge:
@ args = 0, 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]
mov r3, #0
str r3, [fp, #-32]
mov r3, #0
str r3, [fp, #-28]
ldr r3, [fp, #-52]
str r3, [fp, #-40]
ldr r3, [fp, #-56]
add r3, r3, #1
str r3, [fp, #-36]
ldr r2, [fp, #-60]
ldr r3, [fp, #-52]
sub r3, r2, r3
add r3, r3, #1
str r3, [fp, #-12]
ldr r3, [fp, #-12]
lsl r3, r3, #2
mov r0, r3
bl malloc
mov r3, r0
str r3, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L2
mov r3, #0
str r3, [fp, #-24]
b .L3
.L11:
ldr r3, [fp, #-32]
cmp r3, #0
bne .L4
ldr r3, [fp, #-28]
cmp r3, #0
bne .L4
ldr r3, [fp, #-40]
lsl r3, r3, #2
ldr r2, [fp, #-48]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-36]
lsl r3, r3, #2
ldr r1, [fp, #-48]
add r3, r1, r3
ldr r3, [r3]
cmp r2, r3
bge .L5
ldr r3, [fp, #-40]
add r2, r3, #1
str r2, [fp, #-40]
lsl r3, r3, #2
ldr r2, [fp, #-48]
add r2, r2, r3
ldr r3, [fp, #-24]
lsl r3, r3, #2
ldr r1, [fp, #-8]
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
b .L6
.L5:
ldr r3, [fp, #-36]
add r2, r3, #1
str r2, [fp, #-36]
lsl r3, r3, #2
ldr r2, [fp, #-48]
add r2, r2, r3
ldr r3, [fp, #-24]
lsl r3, r3, #2
ldr r1, [fp, #-8]
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
.L6:
ldr r2, [fp, #-40]
ldr r3, [fp, #-56]
cmp r2, r3
ble .L7
mov r3, #1
str r3, [fp, #-32]
.L7:
ldr r2, [fp, #-36]
ldr r3, [fp, #-60]
cmp r2, r3
ble .L9
mov r3, #1
str r3, [fp, #-28]
b .L9
.L4:
ldr r3, [fp, #-32]
cmp r3, #0
bne .L10
ldr r3, [fp, #-40]
add r2, r3, #1
str r2, [fp, #-40]
lsl r3, r3, #2
ldr r2, [fp, #-48]
add r2, r2, r3
ldr r3, [fp, #-24]
lsl r3, r3, #2
ldr r1, [fp, #-8]
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
b .L9
.L10:
ldr r3, [fp, #-36]
add r2, r3, #1
str r2, [fp, #-36]
lsl r3, r3, #2
ldr r2, [fp, #-48]
add r2, r2, r3
ldr r3, [fp, #-24]
lsl r3, r3, #2
ldr r1, [fp, #-8]
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
.L9:
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L3:
ldr r2, [fp, #-24]
ldr r3, [fp, #-12]
cmp r2, r3
blt .L11
mov r3, #0
str r3, [fp, #-20]
ldr r3, [fp, #-52]
str r3, [fp, #-16]
b .L12
.L13:
ldr r3, [fp, #-20]
lsl r3, r3, #2
ldr r2, [fp, #-8]
add r2, r2, r3
ldr r3, [fp, #-16]
lsl r3, r3, #2
ldr r1, [fp, #-48]
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L12:
ldr r2, [fp, #-20]
ldr r3, [fp, #-12]
cmp r2, r3
blt .L13
.L2:
ldr r0, [fp, #-8]
bl free
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size merge, .-merge
.global __aeabi_i2d
.global __aeabi_d2iz
.align 2
.global merge_sort
.syntax unified
.arm
.fpu softvfp
.type merge_sort, %function
merge_sort:
@ 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 r2, [fp, #-20]
ldr r3, [fp, #-24]
cmp r2, r3
bge .L16
ldr r2, [fp, #-20]
ldr r3, [fp, #-24]
add r3, r2, r3
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, r2
mov r1, r3
bl __aeabi_d2iz
mov r3, r0
str r3, [fp, #-8]
ldr r2, [fp, #-8]
ldr r1, [fp, #-20]
ldr r0, [fp, #-16]
bl merge_sort
ldr r3, [fp, #-8]
add r3, r3, #1
ldr r2, [fp, #-24]
mov r1, r3
ldr r0, [fp, #-16]
bl merge_sort
ldr r3, [fp, #-24]
ldr r2, [fp, #-8]
ldr r1, [fp, #-20]
ldr r0, [fp, #-16]
bl merge
.L16:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size merge_sort, .-merge_sort
.section .rodata
.align 2
.LC1:
.ascii "The sorted array is: \000"
.align 2
.LC2:
.ascii "%d, \000"
.align 2
.LC0:
.word 500
.word 1
.word 50
.word 23
.word 76
.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 = 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]
ldr r3, .L22
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, .L22+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]
sub r3, fp, #28
mov r2, #4
mov r1, #0
mov r0, r3
bl merge_sort
ldr r0, .L22+8
bl puts
mov r3, #0
str r3, [fp, #-32]
b .L18
.L19:
ldr r3, [fp, #-32]
lsl r3, r3, #2
sub r2, fp, #4
add r3, r2, r3
ldr r3, [r3, #-24]
mov r1, r3
ldr r0, .L22+12
bl printf
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L18:
ldr r3, [fp, #-32]
cmp r3, #4
ble .L19
mov r3, #0
ldr r2, .L22
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L21
bl __stack_chk_fail
.L21:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L23:
.align 2
.L22:
.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 "1001982.c"
.intel_syntax noprefix
.text
.globl globvar
.data
.align 4
.type globvar, @object
.size globvar, 4
globvar:
.long 6
.globl buf
.align 16
.type buf, @object
.size buf, 19
buf:
.string "a write to stdout\n"
.section .rodata
.LC0:
.string "Error"
.LC1:
.string "before fork"
.align 8
.LC2:
.string "pid = %ld, glob = %d, var = %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
push rbx
sub rsp, 24
.cfi_offset 3, -24
mov DWORD PTR -24[rbp], 88
mov edx, 18
lea rsi, buf[rip]
mov edi, 1
call write@PLT
cmp rax, 18
je .L2
lea rdi, .LC0[rip]
call perror@PLT
mov edi, 1
call exit@PLT
.L2:
lea rdi, .LC1[rip]
call puts@PLT
call fork@PLT
mov DWORD PTR -20[rbp], eax
cmp DWORD PTR -20[rbp], 0
jns .L3
lea rdi, .LC0[rip]
call perror@PLT
mov edi, 1
call exit@PLT
.L3:
cmp DWORD PTR -20[rbp], 0
jne .L4
mov eax, DWORD PTR globvar[rip]
add eax, 1
mov DWORD PTR globvar[rip], eax
add DWORD PTR -24[rbp], 1
jmp .L5
.L4:
mov edi, 2
call sleep@PLT
.L5:
mov ebx, DWORD PTR globvar[rip]
call getpid@PLT
cdqe
mov edx, DWORD PTR -24[rbp]
mov ecx, edx
mov edx, ebx
mov rsi, rax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
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 "1001982.c"
.text
.global globvar
.data
.align 2
.type globvar, %object
.size globvar, 4
globvar:
.word 6
.global buf
.align 2
.type buf, %object
.size buf, 19
buf:
.ascii "a write to stdout\012\000"
.section .rodata
.align 2
.LC0:
.ascii "Error\000"
.align 2
.LC1:
.ascii "before fork\000"
.align 2
.LC2:
.ascii "pid = %ld, glob = %d, var = %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, #88
str r3, [fp, #-12]
mov r2, #18
ldr r1, .L6
mov r0, #1
bl write
mov r3, r0
cmp r3, #18
beq .L2
ldr r0, .L6+4
bl perror
mov r0, #1
bl exit
.L2:
ldr r0, .L6+8
bl puts
bl fork
mov r3, r0
str r3, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
bge .L3
ldr r0, .L6+4
bl perror
mov r0, #1
bl exit
.L3:
ldr r3, [fp, #-8]
cmp r3, #0
bne .L4
ldr r3, .L6+12
ldr r3, [r3]
add r3, r3, #1
ldr r2, .L6+12
str r3, [r2]
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
b .L5
.L4:
mov r0, #2
bl sleep
.L5:
bl getpid
mov r1, r0
ldr r3, .L6+12
ldr r2, [r3]
ldr r3, [fp, #-12]
ldr r0, .L6+16
bl printf
mov r0, #0
bl exit
.L7:
.align 2
.L6:
.word buf
.word .LC0
.word .LC1
.word globvar
.word .LC2
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "473986.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "Hijo esperado..."
.text
.globl espera_hijo
.type espera_hijo, @function
espera_hijo:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov edi, 0
call wait@PLT
lea rdi, .LC0[rip]
call puts@PLT
lea rsi, espera_hijo[rip]
mov edi, 17
call signal@PLT
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size espera_hijo, .-espera_hijo
.section .rodata
.LC1:
.string "fork"
.LC2:
.string "Terminado"
.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
call fork@PLT
mov DWORD PTR -8[rbp], eax
lea rsi, espera_hijo[rip]
mov edi, 17
call signal@PLT
mov DWORD PTR -4[rbp], 10
cmp DWORD PTR -8[rbp], 0
jne .L3
mov DWORD PTR -4[rbp], 5
mov edi, 0
call exit@PLT
.L3:
cmp DWORD PTR -8[rbp], 0
jle .L4
mov edi, 0
call wait@PLT
lea rdi, .LC2[rip]
call puts@PLT
call pause@PLT
mov eax, 0
jmp .L6
.L4:
lea rdi, .LC1[rip]
call perror@PLT
mov eax, -1
.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 "473986.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "Hijo esperado...\000"
.text
.align 2
.global espera_hijo
.syntax unified
.arm
.fpu softvfp
.type espera_hijo, %function
espera_hijo:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
mov r0, #0
bl wait
ldr r0, .L2
bl puts
ldr r1, .L2+4
mov r0, #17
bl signal
nop
pop {fp, pc}
.L3:
.align 2
.L2:
.word .LC0
.word espera_hijo
.size espera_hijo, .-espera_hijo
.section .rodata
.align 2
.LC1:
.ascii "fork\000"
.align 2
.LC2:
.ascii "Terminado\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 fork
mov r3, r0
str r3, [fp, #-12]
ldr r1, .L9
mov r0, #17
bl signal
mov r3, #10
str r3, [fp, #-8]
ldr r3, [fp, #-12]
cmp r3, #0
bne .L5
mov r3, #5
str r3, [fp, #-8]
mov r0, #0
bl exit
.L5:
ldr r3, [fp, #-12]
cmp r3, #0
ble .L6
mov r0, #0
bl wait
ldr r0, .L9+4
bl puts
bl pause
mov r3, #0
b .L8
.L6:
ldr r0, .L9+8
bl perror
mvn r3, #0
.L8:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L10:
.align 2
.L9:
.word espera_hijo
.word .LC2
.word .LC1
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "869111.c"
.intel_syntax noprefix
.text
.globl __errno_location
.type __errno_location, @function
__errno_location:
.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 __errno_location, .-__errno_location
.globl __h_errno_location
.type __h_errno_location, @function
__h_errno_location:
.LFB1:
.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
.LFE1:
.size __h_errno_location, .-__h_errno_location
.globl __libc_current_sigrtmax
.type __libc_current_sigrtmax, @function
__libc_current_sigrtmax:
.LFB2:
.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
.LFE2:
.size __libc_current_sigrtmax, .-__libc_current_sigrtmax
.globl __libc_current_sigrtmin
.type __libc_current_sigrtmin, @function
__libc_current_sigrtmin:
.LFB3:
.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
.LFE3:
.size __libc_current_sigrtmin, .-__libc_current_sigrtmin
.globl _pthread_cleanup_pop
.type _pthread_cleanup_pop, @function
_pthread_cleanup_pop:
.LFB4:
.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
.LFE4:
.size _pthread_cleanup_pop, .-_pthread_cleanup_pop
.globl _pthread_cleanup_push
.type _pthread_cleanup_push, @function
_pthread_cleanup_push:
.LFB5:
.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
.LFE5:
.size _pthread_cleanup_push, .-_pthread_cleanup_push
.globl accept
.type accept, @function
accept:
.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 accept, .-accept
.globl close
.type close, @function
close:
.LFB7:
.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
.LFE7:
.size close, .-close
.globl connect
.type connect, @function
connect:
.LFB8:
.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
.LFE8:
.size connect, .-connect
.globl fcntl
.type fcntl, @function
fcntl:
.LFB9:
.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
.LFE9:
.size fcntl, .-fcntl
.globl flockfile
.type flockfile, @function
flockfile:
.LFB10:
.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
.LFE10:
.size flockfile, .-flockfile
.globl fork
.type fork, @function
fork:
.LFB11:
.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
.LFE11:
.size fork, .-fork
.globl fsync
.type fsync, @function
fsync:
.LFB12:
.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
.LFE12:
.size fsync, .-fsync
.globl ftrylockfile
.type ftrylockfile, @function
ftrylockfile:
.LFB13:
.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
.LFE13:
.size ftrylockfile, .-ftrylockfile
.globl funlockfile
.type funlockfile, @function
funlockfile:
.LFB14:
.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
.LFE14:
.size funlockfile, .-funlockfile
.globl longjmp
.type longjmp, @function
longjmp:
.LFB15:
.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
.LFE15:
.size longjmp, .-longjmp
.globl lseek
.type lseek, @function
lseek:
.LFB16:
.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
.LFE16:
.size lseek, .-lseek
.globl lseek64
.type lseek64, @function
lseek64:
.LFB17:
.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
.LFE17:
.size lseek64, .-lseek64
.globl msync
.type msync, @function
msync:
.LFB18:
.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
.LFE18:
.size msync, .-msync
.globl nanosleep
.type nanosleep, @function
nanosleep:
.LFB19:
.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
.LFE19:
.size nanosleep, .-nanosleep
.globl open
.type open, @function
open:
.LFB20:
.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
.LFE20:
.size open, .-open
.globl open64
.type open64, @function
open64:
.LFB21:
.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
.LFE21:
.size open64, .-open64
.globl pause
.type pause, @function
pause:
.LFB22:
.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
.LFE22:
.size pause, .-pause
.globl pread
.type pread, @function
pread:
.LFB23:
.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
.LFE23:
.size pread, .-pread
.globl pread64
.type pread64, @function
pread64:
.LFB24:
.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
.LFE24:
.size pread64, .-pread64
.globl pthread_attr_destroy
.type pthread_attr_destroy, @function
pthread_attr_destroy:
.LFB25:
.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
.LFE25:
.size pthread_attr_destroy, .-pthread_attr_destroy
.globl pthread_attr_getdetachstate
.type pthread_attr_getdetachstate, @function
pthread_attr_getdetachstate:
.LFB26:
.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
.LFE26:
.size pthread_attr_getdetachstate, .-pthread_attr_getdetachstate
.globl pthread_attr_getguardsize
.type pthread_attr_getguardsize, @function
pthread_attr_getguardsize:
.LFB27:
.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
.LFE27:
.size pthread_attr_getguardsize, .-pthread_attr_getguardsize
.globl pthread_attr_getinheritsched
.type pthread_attr_getinheritsched, @function
pthread_attr_getinheritsched:
.LFB28:
.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
.LFE28:
.size pthread_attr_getinheritsched, .-pthread_attr_getinheritsched
.globl pthread_attr_getschedparam
.type pthread_attr_getschedparam, @function
pthread_attr_getschedparam:
.LFB29:
.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
.LFE29:
.size pthread_attr_getschedparam, .-pthread_attr_getschedparam
.globl pthread_attr_getschedpolicy
.type pthread_attr_getschedpolicy, @function
pthread_attr_getschedpolicy:
.LFB30:
.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
.LFE30:
.size pthread_attr_getschedpolicy, .-pthread_attr_getschedpolicy
.globl pthread_attr_getscope
.type pthread_attr_getscope, @function
pthread_attr_getscope:
.LFB31:
.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
.LFE31:
.size pthread_attr_getscope, .-pthread_attr_getscope
.globl pthread_attr_getstack
.type pthread_attr_getstack, @function
pthread_attr_getstack:
.LFB32:
.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
.LFE32:
.size pthread_attr_getstack, .-pthread_attr_getstack
.globl pthread_attr_getstackaddr
.type pthread_attr_getstackaddr, @function
pthread_attr_getstackaddr:
.LFB33:
.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
.LFE33:
.size pthread_attr_getstackaddr, .-pthread_attr_getstackaddr
.globl pthread_attr_getstacksize
.type pthread_attr_getstacksize, @function
pthread_attr_getstacksize:
.LFB34:
.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
.LFE34:
.size pthread_attr_getstacksize, .-pthread_attr_getstacksize
.globl pthread_attr_init
.type pthread_attr_init, @function
pthread_attr_init:
.LFB35:
.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
.LFE35:
.size pthread_attr_init, .-pthread_attr_init
.globl pthread_attr_setdetachstate
.type pthread_attr_setdetachstate, @function
pthread_attr_setdetachstate:
.LFB36:
.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
.LFE36:
.size pthread_attr_setdetachstate, .-pthread_attr_setdetachstate
.globl pthread_attr_setguardsize
.type pthread_attr_setguardsize, @function
pthread_attr_setguardsize:
.LFB37:
.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
.LFE37:
.size pthread_attr_setguardsize, .-pthread_attr_setguardsize
.globl pthread_attr_setinheritsched
.type pthread_attr_setinheritsched, @function
pthread_attr_setinheritsched:
.LFB38:
.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
.LFE38:
.size pthread_attr_setinheritsched, .-pthread_attr_setinheritsched
.globl pthread_attr_setschedparam
.type pthread_attr_setschedparam, @function
pthread_attr_setschedparam:
.LFB39:
.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
.LFE39:
.size pthread_attr_setschedparam, .-pthread_attr_setschedparam
.globl pthread_attr_setschedpolicy
.type pthread_attr_setschedpolicy, @function
pthread_attr_setschedpolicy:
.LFB40:
.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
.LFE40:
.size pthread_attr_setschedpolicy, .-pthread_attr_setschedpolicy
.globl pthread_attr_setscope
.type pthread_attr_setscope, @function
pthread_attr_setscope:
.LFB41:
.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
.LFE41:
.size pthread_attr_setscope, .-pthread_attr_setscope
.globl pthread_attr_setstack
.type pthread_attr_setstack, @function
pthread_attr_setstack:
.LFB42:
.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
.LFE42:
.size pthread_attr_setstack, .-pthread_attr_setstack
.globl pthread_attr_setstackaddr
.type pthread_attr_setstackaddr, @function
pthread_attr_setstackaddr:
.LFB43:
.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
.LFE43:
.size pthread_attr_setstackaddr, .-pthread_attr_setstackaddr
.globl pthread_attr_setstacksize
.type pthread_attr_setstacksize, @function
pthread_attr_setstacksize:
.LFB44:
.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
.LFE44:
.size pthread_attr_setstacksize, .-pthread_attr_setstacksize
.globl pthread_barrier_destroy
.type pthread_barrier_destroy, @function
pthread_barrier_destroy:
.LFB45:
.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
.LFE45:
.size pthread_barrier_destroy, .-pthread_barrier_destroy
.globl pthread_barrier_init
.type pthread_barrier_init, @function
pthread_barrier_init:
.LFB46:
.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
.LFE46:
.size pthread_barrier_init, .-pthread_barrier_init
.globl pthread_barrier_wait
.type pthread_barrier_wait, @function
pthread_barrier_wait:
.LFB47:
.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
.LFE47:
.size pthread_barrier_wait, .-pthread_barrier_wait
.globl pthread_barrierattr_destroy
.type pthread_barrierattr_destroy, @function
pthread_barrierattr_destroy:
.LFB48:
.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
.LFE48:
.size pthread_barrierattr_destroy, .-pthread_barrierattr_destroy
.globl pthread_barrierattr_getpshared
.type pthread_barrierattr_getpshared, @function
pthread_barrierattr_getpshared:
.LFB49:
.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
.LFE49:
.size pthread_barrierattr_getpshared, .-pthread_barrierattr_getpshared
.globl pthread_barrierattr_init
.type pthread_barrierattr_init, @function
pthread_barrierattr_init:
.LFB50:
.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
.LFE50:
.size pthread_barrierattr_init, .-pthread_barrierattr_init
.globl pthread_barrierattr_setpshared
.type pthread_barrierattr_setpshared, @function
pthread_barrierattr_setpshared:
.LFB51:
.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
.LFE51:
.size pthread_barrierattr_setpshared, .-pthread_barrierattr_setpshared
.globl pthread_cancel
.type pthread_cancel, @function
pthread_cancel:
.LFB52:
.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
.LFE52:
.size pthread_cancel, .-pthread_cancel
.globl pthread_cond_broadcast
.type pthread_cond_broadcast, @function
pthread_cond_broadcast:
.LFB53:
.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
.LFE53:
.size pthread_cond_broadcast, .-pthread_cond_broadcast
.globl pthread_cond_destroy
.type pthread_cond_destroy, @function
pthread_cond_destroy:
.LFB54:
.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
.LFE54:
.size pthread_cond_destroy, .-pthread_cond_destroy
.globl pthread_cond_init
.type pthread_cond_init, @function
pthread_cond_init:
.LFB55:
.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
.LFE55:
.size pthread_cond_init, .-pthread_cond_init
.globl pthread_cond_signal
.type pthread_cond_signal, @function
pthread_cond_signal:
.LFB56:
.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
.LFE56:
.size pthread_cond_signal, .-pthread_cond_signal
.globl pthread_cond_timedwait
.type pthread_cond_timedwait, @function
pthread_cond_timedwait:
.LFB57:
.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
.LFE57:
.size pthread_cond_timedwait, .-pthread_cond_timedwait
.globl pthread_cond_wait
.type pthread_cond_wait, @function
pthread_cond_wait:
.LFB58:
.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
.LFE58:
.size pthread_cond_wait, .-pthread_cond_wait
.globl pthread_condattr_destroy
.type pthread_condattr_destroy, @function
pthread_condattr_destroy:
.LFB59:
.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
.LFE59:
.size pthread_condattr_destroy, .-pthread_condattr_destroy
.globl pthread_condattr_getpshared
.type pthread_condattr_getpshared, @function
pthread_condattr_getpshared:
.LFB60:
.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
.LFE60:
.size pthread_condattr_getpshared, .-pthread_condattr_getpshared
.globl pthread_condattr_init
.type pthread_condattr_init, @function
pthread_condattr_init:
.LFB61:
.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
.LFE61:
.size pthread_condattr_init, .-pthread_condattr_init
.globl pthread_condattr_setpshared
.type pthread_condattr_setpshared, @function
pthread_condattr_setpshared:
.LFB62:
.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
.LFE62:
.size pthread_condattr_setpshared, .-pthread_condattr_setpshared
.globl pthread_create
.type pthread_create, @function
pthread_create:
.LFB63:
.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
.LFE63:
.size pthread_create, .-pthread_create
.globl pthread_detach
.type pthread_detach, @function
pthread_detach:
.LFB64:
.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
.LFE64:
.size pthread_detach, .-pthread_detach
.globl pthread_equal
.type pthread_equal, @function
pthread_equal:
.LFB65:
.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
.LFE65:
.size pthread_equal, .-pthread_equal
.globl pthread_exit
.type pthread_exit, @function
pthread_exit:
.LFB66:
.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
.LFE66:
.size pthread_exit, .-pthread_exit
.globl pthread_getattr_np
.type pthread_getattr_np, @function
pthread_getattr_np:
.LFB67:
.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
.LFE67:
.size pthread_getattr_np, .-pthread_getattr_np
.globl pthread_getconcurrency
.type pthread_getconcurrency, @function
pthread_getconcurrency:
.LFB68:
.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
.LFE68:
.size pthread_getconcurrency, .-pthread_getconcurrency
.globl pthread_getcpuclockid
.type pthread_getcpuclockid, @function
pthread_getcpuclockid:
.LFB69:
.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
.LFE69:
.size pthread_getcpuclockid, .-pthread_getcpuclockid
.globl pthread_getschedparam
.type pthread_getschedparam, @function
pthread_getschedparam:
.LFB70:
.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
.LFE70:
.size pthread_getschedparam, .-pthread_getschedparam
.globl pthread_getspecific
.type pthread_getspecific, @function
pthread_getspecific:
.LFB71:
.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
.LFE71:
.size pthread_getspecific, .-pthread_getspecific
.globl pthread_join
.type pthread_join, @function
pthread_join:
.LFB72:
.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
.LFE72:
.size pthread_join, .-pthread_join
.globl pthread_key_create
.type pthread_key_create, @function
pthread_key_create:
.LFB73:
.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
.LFE73:
.size pthread_key_create, .-pthread_key_create
.globl pthread_key_delete
.type pthread_key_delete, @function
pthread_key_delete:
.LFB74:
.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
.LFE74:
.size pthread_key_delete, .-pthread_key_delete
.globl pthread_kill
.type pthread_kill, @function
pthread_kill:
.LFB75:
.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
.LFE75:
.size pthread_kill, .-pthread_kill
.globl pthread_mutex_consistent_np
.type pthread_mutex_consistent_np, @function
pthread_mutex_consistent_np:
.LFB76:
.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
.LFE76:
.size pthread_mutex_consistent_np, .-pthread_mutex_consistent_np
.globl pthread_mutex_destroy
.type pthread_mutex_destroy, @function
pthread_mutex_destroy:
.LFB77:
.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
.LFE77:
.size pthread_mutex_destroy, .-pthread_mutex_destroy
.globl pthread_mutex_getprioceiling
.type pthread_mutex_getprioceiling, @function
pthread_mutex_getprioceiling:
.LFB78:
.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
.LFE78:
.size pthread_mutex_getprioceiling, .-pthread_mutex_getprioceiling
.globl pthread_mutex_init
.type pthread_mutex_init, @function
pthread_mutex_init:
.LFB79:
.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
.LFE79:
.size pthread_mutex_init, .-pthread_mutex_init
.globl pthread_mutex_lock
.type pthread_mutex_lock, @function
pthread_mutex_lock:
.LFB80:
.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
.LFE80:
.size pthread_mutex_lock, .-pthread_mutex_lock
.globl pthread_mutex_setprioceiling
.type pthread_mutex_setprioceiling, @function
pthread_mutex_setprioceiling:
.LFB81:
.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
.LFE81:
.size pthread_mutex_setprioceiling, .-pthread_mutex_setprioceiling
.globl pthread_mutex_timedlock
.type pthread_mutex_timedlock, @function
pthread_mutex_timedlock:
.LFB82:
.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
.LFE82:
.size pthread_mutex_timedlock, .-pthread_mutex_timedlock
.globl pthread_mutex_trylock
.type pthread_mutex_trylock, @function
pthread_mutex_trylock:
.LFB83:
.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
.LFE83:
.size pthread_mutex_trylock, .-pthread_mutex_trylock
.globl pthread_mutex_unlock
.type pthread_mutex_unlock, @function
pthread_mutex_unlock:
.LFB84:
.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
.LFE84:
.size pthread_mutex_unlock, .-pthread_mutex_unlock
.globl pthread_mutexattr_destroy
.type pthread_mutexattr_destroy, @function
pthread_mutexattr_destroy:
.LFB85:
.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
.LFE85:
.size pthread_mutexattr_destroy, .-pthread_mutexattr_destroy
.globl pthread_mutexattr_getprioceiling
.type pthread_mutexattr_getprioceiling, @function
pthread_mutexattr_getprioceiling:
.LFB86:
.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
.LFE86:
.size pthread_mutexattr_getprioceiling, .-pthread_mutexattr_getprioceiling
.globl pthread_mutexattr_getprotocol
.type pthread_mutexattr_getprotocol, @function
pthread_mutexattr_getprotocol:
.LFB87:
.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
.LFE87:
.size pthread_mutexattr_getprotocol, .-pthread_mutexattr_getprotocol
.globl pthread_mutexattr_getpshared
.type pthread_mutexattr_getpshared, @function
pthread_mutexattr_getpshared:
.LFB88:
.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
.LFE88:
.size pthread_mutexattr_getpshared, .-pthread_mutexattr_getpshared
.globl pthread_mutexattr_getrobust_np
.type pthread_mutexattr_getrobust_np, @function
pthread_mutexattr_getrobust_np:
.LFB89:
.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
.LFE89:
.size pthread_mutexattr_getrobust_np, .-pthread_mutexattr_getrobust_np
.globl pthread_mutexattr_gettype
.type pthread_mutexattr_gettype, @function
pthread_mutexattr_gettype:
.LFB90:
.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
.LFE90:
.size pthread_mutexattr_gettype, .-pthread_mutexattr_gettype
.globl pthread_mutexattr_init
.type pthread_mutexattr_init, @function
pthread_mutexattr_init:
.LFB91:
.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
.LFE91:
.size pthread_mutexattr_init, .-pthread_mutexattr_init
.globl pthread_mutexattr_setprioceiling
.type pthread_mutexattr_setprioceiling, @function
pthread_mutexattr_setprioceiling:
.LFB92:
.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
.LFE92:
.size pthread_mutexattr_setprioceiling, .-pthread_mutexattr_setprioceiling
.globl pthread_mutexattr_setprotocol
.type pthread_mutexattr_setprotocol, @function
pthread_mutexattr_setprotocol:
.LFB93:
.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
.LFE93:
.size pthread_mutexattr_setprotocol, .-pthread_mutexattr_setprotocol
.globl pthread_mutexattr_setpshared
.type pthread_mutexattr_setpshared, @function
pthread_mutexattr_setpshared:
.LFB94:
.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
.LFE94:
.size pthread_mutexattr_setpshared, .-pthread_mutexattr_setpshared
.globl pthread_mutexattr_setrobust_np
.type pthread_mutexattr_setrobust_np, @function
pthread_mutexattr_setrobust_np:
.LFB95:
.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
.LFE95:
.size pthread_mutexattr_setrobust_np, .-pthread_mutexattr_setrobust_np
.globl pthread_mutexattr_settype
.type pthread_mutexattr_settype, @function
pthread_mutexattr_settype:
.LFB96:
.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
.LFE96:
.size pthread_mutexattr_settype, .-pthread_mutexattr_settype
.globl pthread_once
.type pthread_once, @function
pthread_once:
.LFB97:
.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
.LFE97:
.size pthread_once, .-pthread_once
.globl pthread_rwlock_destroy
.type pthread_rwlock_destroy, @function
pthread_rwlock_destroy:
.LFB98:
.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
.LFE98:
.size pthread_rwlock_destroy, .-pthread_rwlock_destroy
.globl pthread_rwlock_init
.type pthread_rwlock_init, @function
pthread_rwlock_init:
.LFB99:
.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
.LFE99:
.size pthread_rwlock_init, .-pthread_rwlock_init
.globl pthread_rwlock_rdlock
.type pthread_rwlock_rdlock, @function
pthread_rwlock_rdlock:
.LFB100:
.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
.LFE100:
.size pthread_rwlock_rdlock, .-pthread_rwlock_rdlock
.globl pthread_rwlock_timedrdlock
.type pthread_rwlock_timedrdlock, @function
pthread_rwlock_timedrdlock:
.LFB101:
.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
.LFE101:
.size pthread_rwlock_timedrdlock, .-pthread_rwlock_timedrdlock
.globl pthread_rwlock_timedwrlock
.type pthread_rwlock_timedwrlock, @function
pthread_rwlock_timedwrlock:
.LFB102:
.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
.LFE102:
.size pthread_rwlock_timedwrlock, .-pthread_rwlock_timedwrlock
.globl pthread_rwlock_tryrdlock
.type pthread_rwlock_tryrdlock, @function
pthread_rwlock_tryrdlock:
.LFB103:
.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
.LFE103:
.size pthread_rwlock_tryrdlock, .-pthread_rwlock_tryrdlock
.globl pthread_rwlock_trywrlock
.type pthread_rwlock_trywrlock, @function
pthread_rwlock_trywrlock:
.LFB104:
.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
.LFE104:
.size pthread_rwlock_trywrlock, .-pthread_rwlock_trywrlock
.globl pthread_rwlock_unlock
.type pthread_rwlock_unlock, @function
pthread_rwlock_unlock:
.LFB105:
.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
.LFE105:
.size pthread_rwlock_unlock, .-pthread_rwlock_unlock
.globl pthread_rwlock_wrlock
.type pthread_rwlock_wrlock, @function
pthread_rwlock_wrlock:
.LFB106:
.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
.LFE106:
.size pthread_rwlock_wrlock, .-pthread_rwlock_wrlock
.globl pthread_rwlockattr_destroy
.type pthread_rwlockattr_destroy, @function
pthread_rwlockattr_destroy:
.LFB107:
.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
.LFE107:
.size pthread_rwlockattr_destroy, .-pthread_rwlockattr_destroy
.globl pthread_rwlockattr_getkind_np
.type pthread_rwlockattr_getkind_np, @function
pthread_rwlockattr_getkind_np:
.LFB108:
.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
.LFE108:
.size pthread_rwlockattr_getkind_np, .-pthread_rwlockattr_getkind_np
.globl pthread_rwlockattr_getpshared
.type pthread_rwlockattr_getpshared, @function
pthread_rwlockattr_getpshared:
.LFB109:
.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
.LFE109:
.size pthread_rwlockattr_getpshared, .-pthread_rwlockattr_getpshared
.globl pthread_rwlockattr_init
.type pthread_rwlockattr_init, @function
pthread_rwlockattr_init:
.LFB110:
.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
.LFE110:
.size pthread_rwlockattr_init, .-pthread_rwlockattr_init
.globl pthread_rwlockattr_setkind_np
.type pthread_rwlockattr_setkind_np, @function
pthread_rwlockattr_setkind_np:
.LFB111:
.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
.LFE111:
.size pthread_rwlockattr_setkind_np, .-pthread_rwlockattr_setkind_np
.globl pthread_rwlockattr_setpshared
.type pthread_rwlockattr_setpshared, @function
pthread_rwlockattr_setpshared:
.LFB112:
.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
.LFE112:
.size pthread_rwlockattr_setpshared, .-pthread_rwlockattr_setpshared
.globl pthread_self
.type pthread_self, @function
pthread_self:
.LFB113:
.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
.LFE113:
.size pthread_self, .-pthread_self
.globl pthread_setcancelstate
.type pthread_setcancelstate, @function
pthread_setcancelstate:
.LFB114:
.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
.LFE114:
.size pthread_setcancelstate, .-pthread_setcancelstate
.globl pthread_setcanceltype
.type pthread_setcanceltype, @function
pthread_setcanceltype:
.LFB115:
.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
.LFE115:
.size pthread_setcanceltype, .-pthread_setcanceltype
.globl pthread_setconcurrency
.type pthread_setconcurrency, @function
pthread_setconcurrency:
.LFB116:
.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
.LFE116:
.size pthread_setconcurrency, .-pthread_setconcurrency
.globl pthread_setschedparam
.type pthread_setschedparam, @function
pthread_setschedparam:
.LFB117:
.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
.LFE117:
.size pthread_setschedparam, .-pthread_setschedparam
.globl pthread_setschedprio
.type pthread_setschedprio, @function
pthread_setschedprio:
.LFB118:
.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
.LFE118:
.size pthread_setschedprio, .-pthread_setschedprio
.globl pthread_setspecific
.type pthread_setspecific, @function
pthread_setspecific:
.LFB119:
.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
.LFE119:
.size pthread_setspecific, .-pthread_setspecific
.globl pthread_sigmask
.type pthread_sigmask, @function
pthread_sigmask:
.LFB120:
.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
.LFE120:
.size pthread_sigmask, .-pthread_sigmask
.globl pthread_spin_destroy
.type pthread_spin_destroy, @function
pthread_spin_destroy:
.LFB121:
.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
.LFE121:
.size pthread_spin_destroy, .-pthread_spin_destroy
.globl pthread_spin_init
.type pthread_spin_init, @function
pthread_spin_init:
.LFB122:
.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
.LFE122:
.size pthread_spin_init, .-pthread_spin_init
.globl pthread_spin_lock
.type pthread_spin_lock, @function
pthread_spin_lock:
.LFB123:
.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
.LFE123:
.size pthread_spin_lock, .-pthread_spin_lock
.globl pthread_spin_trylock
.type pthread_spin_trylock, @function
pthread_spin_trylock:
.LFB124:
.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
.LFE124:
.size pthread_spin_trylock, .-pthread_spin_trylock
.globl pthread_spin_unlock
.type pthread_spin_unlock, @function
pthread_spin_unlock:
.LFB125:
.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
.LFE125:
.size pthread_spin_unlock, .-pthread_spin_unlock
.globl pthread_testcancel
.type pthread_testcancel, @function
pthread_testcancel:
.LFB126:
.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
.LFE126:
.size pthread_testcancel, .-pthread_testcancel
.globl pwrite
.type pwrite, @function
pwrite:
.LFB127:
.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
.LFE127:
.size pwrite, .-pwrite
.globl pwrite64
.type pwrite64, @function
pwrite64:
.LFB128:
.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
.LFE128:
.size pwrite64, .-pwrite64
.globl raise
.type raise, @function
raise:
.LFB129:
.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
.LFE129:
.size raise, .-raise
.globl read
.type read, @function
read:
.LFB130:
.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
.LFE130:
.size read, .-read
.globl recv
.type recv, @function
recv:
.LFB131:
.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
.LFE131:
.size recv, .-recv
.globl recvfrom
.type recvfrom, @function
recvfrom:
.LFB132:
.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
.LFE132:
.size recvfrom, .-recvfrom
.globl recvmsg
.type recvmsg, @function
recvmsg:
.LFB133:
.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
.LFE133:
.size recvmsg, .-recvmsg
.globl sem_close
.type sem_close, @function
sem_close:
.LFB134:
.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
.LFE134:
.size sem_close, .-sem_close
.globl sem_destroy
.type sem_destroy, @function
sem_destroy:
.LFB135:
.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
.LFE135:
.size sem_destroy, .-sem_destroy
.globl sem_getvalue
.type sem_getvalue, @function
sem_getvalue:
.LFB136:
.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
.LFE136:
.size sem_getvalue, .-sem_getvalue
.globl sem_init
.type sem_init, @function
sem_init:
.LFB137:
.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
.LFE137:
.size sem_init, .-sem_init
.globl sem_open
.type sem_open, @function
sem_open:
.LFB138:
.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
.LFE138:
.size sem_open, .-sem_open
.globl sem_post
.type sem_post, @function
sem_post:
.LFB139:
.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
.LFE139:
.size sem_post, .-sem_post
.globl sem_timedwait
.type sem_timedwait, @function
sem_timedwait:
.LFB140:
.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
.LFE140:
.size sem_timedwait, .-sem_timedwait
.globl sem_trywait
.type sem_trywait, @function
sem_trywait:
.LFB141:
.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
.LFE141:
.size sem_trywait, .-sem_trywait
.globl sem_unlink
.type sem_unlink, @function
sem_unlink:
.LFB142:
.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
.LFE142:
.size sem_unlink, .-sem_unlink
.globl sem_wait
.type sem_wait, @function
sem_wait:
.LFB143:
.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
.LFE143:
.size sem_wait, .-sem_wait
.globl send
.type send, @function
send:
.LFB144:
.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
.LFE144:
.size send, .-send
.globl sendmsg
.type sendmsg, @function
sendmsg:
.LFB145:
.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
.LFE145:
.size sendmsg, .-sendmsg
.globl sendto
.type sendto, @function
sendto:
.LFB146:
.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
.LFE146:
.size sendto, .-sendto
.globl sigaction
.type sigaction, @function
sigaction:
.LFB147:
.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
.LFE147:
.size sigaction, .-sigaction
.globl siglongjmp
.type siglongjmp, @function
siglongjmp:
.LFB148:
.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
.LFE148:
.size siglongjmp, .-siglongjmp
.globl sigwait
.type sigwait, @function
sigwait:
.LFB149:
.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
.LFE149:
.size sigwait, .-sigwait
.globl system
.type system, @function
system:
.LFB150:
.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
.LFE150:
.size system, .-system
.globl tcdrain
.type tcdrain, @function
tcdrain:
.LFB151:
.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
.LFE151:
.size tcdrain, .-tcdrain
.globl vfork
.type vfork, @function
vfork:
.LFB152:
.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
.LFE152:
.size vfork, .-vfork
.globl wait
.type wait, @function
wait:
.LFB153:
.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
.LFE153:
.size wait, .-wait
.globl waitpid
.type waitpid, @function
waitpid:
.LFB154:
.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
.LFE154:
.size waitpid, .-waitpid
.globl write
.type write, @function
write:
.LFB155:
.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
.LFE155:
.size write, .-write
.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 "869111.c"
.text
.align 2
.global __errno_location
.syntax unified
.arm
.fpu softvfp
.type __errno_location, %function
__errno_location:
@ 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 __errno_location, .-__errno_location
.align 2
.global __h_errno_location
.syntax unified
.arm
.fpu softvfp
.type __h_errno_location, %function
__h_errno_location:
@ 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 __h_errno_location, .-__h_errno_location
.align 2
.global __libc_current_sigrtmax
.syntax unified
.arm
.fpu softvfp
.type __libc_current_sigrtmax, %function
__libc_current_sigrtmax:
@ 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 __libc_current_sigrtmax, .-__libc_current_sigrtmax
.align 2
.global __libc_current_sigrtmin
.syntax unified
.arm
.fpu softvfp
.type __libc_current_sigrtmin, %function
__libc_current_sigrtmin:
@ 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 __libc_current_sigrtmin, .-__libc_current_sigrtmin
.align 2
.global _pthread_cleanup_pop
.syntax unified
.arm
.fpu softvfp
.type _pthread_cleanup_pop, %function
_pthread_cleanup_pop:
@ 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 _pthread_cleanup_pop, .-_pthread_cleanup_pop
.align 2
.global _pthread_cleanup_push
.syntax unified
.arm
.fpu softvfp
.type _pthread_cleanup_push, %function
_pthread_cleanup_push:
@ 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 _pthread_cleanup_push, .-_pthread_cleanup_push
.align 2
.global accept
.syntax unified
.arm
.fpu softvfp
.type accept, %function
accept:
@ 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 accept, .-accept
.align 2
.global close
.syntax unified
.arm
.fpu softvfp
.type close, %function
close:
@ 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 close, .-close
.align 2
.global connect
.syntax unified
.arm
.fpu softvfp
.type connect, %function
connect:
@ 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 connect, .-connect
.align 2
.global fcntl
.syntax unified
.arm
.fpu softvfp
.type fcntl, %function
fcntl:
@ 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 fcntl, .-fcntl
.align 2
.global flockfile
.syntax unified
.arm
.fpu softvfp
.type flockfile, %function
flockfile:
@ 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 flockfile, .-flockfile
.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
@ 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 fork, .-fork
.align 2
.global fsync
.syntax unified
.arm
.fpu softvfp
.type fsync, %function
fsync:
@ 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 fsync, .-fsync
.align 2
.global ftrylockfile
.syntax unified
.arm
.fpu softvfp
.type ftrylockfile, %function
ftrylockfile:
@ 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 ftrylockfile, .-ftrylockfile
.align 2
.global funlockfile
.syntax unified
.arm
.fpu softvfp
.type funlockfile, %function
funlockfile:
@ 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 funlockfile, .-funlockfile
.align 2
.global longjmp
.syntax unified
.arm
.fpu softvfp
.type longjmp, %function
longjmp:
@ 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 longjmp, .-longjmp
.align 2
.global lseek
.syntax unified
.arm
.fpu softvfp
.type lseek, %function
lseek:
@ 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 lseek, .-lseek
.align 2
.global lseek64
.syntax unified
.arm
.fpu softvfp
.type lseek64, %function
lseek64:
@ 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 lseek64, .-lseek64
.align 2
.global msync
.syntax unified
.arm
.fpu softvfp
.type msync, %function
msync:
@ 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 msync, .-msync
.align 2
.global nanosleep
.syntax unified
.arm
.fpu softvfp
.type nanosleep, %function
nanosleep:
@ 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 nanosleep, .-nanosleep
.align 2
.global open
.syntax unified
.arm
.fpu softvfp
.type open, %function
open:
@ 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 open, .-open
.align 2
.global open64
.syntax unified
.arm
.fpu softvfp
.type open64, %function
open64:
@ 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 open64, .-open64
.align 2
.global pause
.syntax unified
.arm
.fpu softvfp
.type pause, %function
pause:
@ 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 pause, .-pause
.align 2
.global pread
.syntax unified
.arm
.fpu softvfp
.type pread, %function
pread:
@ 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 pread, .-pread
.align 2
.global pread64
.syntax unified
.arm
.fpu softvfp
.type pread64, %function
pread64:
@ 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 pread64, .-pread64
.align 2
.global pthread_attr_destroy
.syntax unified
.arm
.fpu softvfp
.type pthread_attr_destroy, %function
pthread_attr_destroy:
@ 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 pthread_attr_destroy, .-pthread_attr_destroy
.align 2
.global pthread_attr_getdetachstate
.syntax unified
.arm
.fpu softvfp
.type pthread_attr_getdetachstate, %function
pthread_attr_getdetachstate:
@ 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 pthread_attr_getdetachstate, .-pthread_attr_getdetachstate
.align 2
.global pthread_attr_getguardsize
.syntax unified
.arm
.fpu softvfp
.type pthread_attr_getguardsize, %function
pthread_attr_getguardsize:
@ 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 pthread_attr_getguardsize, .-pthread_attr_getguardsize
.align 2
.global pthread_attr_getinheritsched
.syntax unified
.arm
.fpu softvfp
.type pthread_attr_getinheritsched, %function
pthread_attr_getinheritsched:
@ 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 pthread_attr_getinheritsched, .-pthread_attr_getinheritsched
.align 2
.global pthread_attr_getschedparam
.syntax unified
.arm
.fpu softvfp
.type pthread_attr_getschedparam, %function
pthread_attr_getschedparam:
@ 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 pthread_attr_getschedparam, .-pthread_attr_getschedparam
.align 2
.global pthread_attr_getschedpolicy
.syntax unified
.arm
.fpu softvfp
.type pthread_attr_getschedpolicy, %function
pthread_attr_getschedpolicy:
@ 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 pthread_attr_getschedpolicy, .-pthread_attr_getschedpolicy
.align 2
.global pthread_attr_getscope
.syntax unified
.arm
.fpu softvfp
.type pthread_attr_getscope, %function
pthread_attr_getscope:
@ 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 pthread_attr_getscope, .-pthread_attr_getscope
.align 2
.global pthread_attr_getstack
.syntax unified
.arm
.fpu softvfp
.type pthread_attr_getstack, %function
pthread_attr_getstack:
@ 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 pthread_attr_getstack, .-pthread_attr_getstack
.align 2
.global pthread_attr_getstackaddr
.syntax unified
.arm
.fpu softvfp
.type pthread_attr_getstackaddr, %function
pthread_attr_getstackaddr:
@ 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 pthread_attr_getstackaddr, .-pthread_attr_getstackaddr
.align 2
.global pthread_attr_getstacksize
.syntax unified
.arm
.fpu softvfp
.type pthread_attr_getstacksize, %function
pthread_attr_getstacksize:
@ 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 pthread_attr_getstacksize, .-pthread_attr_getstacksize
.align 2
.global pthread_attr_init
.syntax unified
.arm
.fpu softvfp
.type pthread_attr_init, %function
pthread_attr_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
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size pthread_attr_init, .-pthread_attr_init
.align 2
.global pthread_attr_setdetachstate
.syntax unified
.arm
.fpu softvfp
.type pthread_attr_setdetachstate, %function
pthread_attr_setdetachstate:
@ 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 pthread_attr_setdetachstate, .-pthread_attr_setdetachstate
.align 2
.global pthread_attr_setguardsize
.syntax unified
.arm
.fpu softvfp
.type pthread_attr_setguardsize, %function
pthread_attr_setguardsize:
@ 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 pthread_attr_setguardsize, .-pthread_attr_setguardsize
.align 2
.global pthread_attr_setinheritsched
.syntax unified
.arm
.fpu softvfp
.type pthread_attr_setinheritsched, %function
pthread_attr_setinheritsched:
@ 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 pthread_attr_setinheritsched, .-pthread_attr_setinheritsched
.align 2
.global pthread_attr_setschedparam
.syntax unified
.arm
.fpu softvfp
.type pthread_attr_setschedparam, %function
pthread_attr_setschedparam:
@ 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 pthread_attr_setschedparam, .-pthread_attr_setschedparam
.align 2
.global pthread_attr_setschedpolicy
.syntax unified
.arm
.fpu softvfp
.type pthread_attr_setschedpolicy, %function
pthread_attr_setschedpolicy:
@ 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 pthread_attr_setschedpolicy, .-pthread_attr_setschedpolicy
.align 2
.global pthread_attr_setscope
.syntax unified
.arm
.fpu softvfp
.type pthread_attr_setscope, %function
pthread_attr_setscope:
@ 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 pthread_attr_setscope, .-pthread_attr_setscope
.align 2
.global pthread_attr_setstack
.syntax unified
.arm
.fpu softvfp
.type pthread_attr_setstack, %function
pthread_attr_setstack:
@ 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 pthread_attr_setstack, .-pthread_attr_setstack
.align 2
.global pthread_attr_setstackaddr
.syntax unified
.arm
.fpu softvfp
.type pthread_attr_setstackaddr, %function
pthread_attr_setstackaddr:
@ 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 pthread_attr_setstackaddr, .-pthread_attr_setstackaddr
.align 2
.global pthread_attr_setstacksize
.syntax unified
.arm
.fpu softvfp
.type pthread_attr_setstacksize, %function
pthread_attr_setstacksize:
@ 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 pthread_attr_setstacksize, .-pthread_attr_setstacksize
.align 2
.global pthread_barrier_destroy
.syntax unified
.arm
.fpu softvfp
.type pthread_barrier_destroy, %function
pthread_barrier_destroy:
@ 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 pthread_barrier_destroy, .-pthread_barrier_destroy
.align 2
.global pthread_barrier_init
.syntax unified
.arm
.fpu softvfp
.type pthread_barrier_init, %function
pthread_barrier_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
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size pthread_barrier_init, .-pthread_barrier_init
.align 2
.global pthread_barrier_wait
.syntax unified
.arm
.fpu softvfp
.type pthread_barrier_wait, %function
pthread_barrier_wait:
@ 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 pthread_barrier_wait, .-pthread_barrier_wait
.align 2
.global pthread_barrierattr_destroy
.syntax unified
.arm
.fpu softvfp
.type pthread_barrierattr_destroy, %function
pthread_barrierattr_destroy:
@ 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 pthread_barrierattr_destroy, .-pthread_barrierattr_destroy
.align 2
.global pthread_barrierattr_getpshared
.syntax unified
.arm
.fpu softvfp
.type pthread_barrierattr_getpshared, %function
pthread_barrierattr_getpshared:
@ 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 pthread_barrierattr_getpshared, .-pthread_barrierattr_getpshared
.align 2
.global pthread_barrierattr_init
.syntax unified
.arm
.fpu softvfp
.type pthread_barrierattr_init, %function
pthread_barrierattr_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
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size pthread_barrierattr_init, .-pthread_barrierattr_init
.align 2
.global pthread_barrierattr_setpshared
.syntax unified
.arm
.fpu softvfp
.type pthread_barrierattr_setpshared, %function
pthread_barrierattr_setpshared:
@ 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 pthread_barrierattr_setpshared, .-pthread_barrierattr_setpshared
.align 2
.global pthread_cancel
.syntax unified
.arm
.fpu softvfp
.type pthread_cancel, %function
pthread_cancel:
@ 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 pthread_cancel, .-pthread_cancel
.align 2
.global pthread_cond_broadcast
.syntax unified
.arm
.fpu softvfp
.type pthread_cond_broadcast, %function
pthread_cond_broadcast:
@ 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 pthread_cond_broadcast, .-pthread_cond_broadcast
.align 2
.global pthread_cond_destroy
.syntax unified
.arm
.fpu softvfp
.type pthread_cond_destroy, %function
pthread_cond_destroy:
@ 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 pthread_cond_destroy, .-pthread_cond_destroy
.align 2
.global pthread_cond_init
.syntax unified
.arm
.fpu softvfp
.type pthread_cond_init, %function
pthread_cond_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
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size pthread_cond_init, .-pthread_cond_init
.align 2
.global pthread_cond_signal
.syntax unified
.arm
.fpu softvfp
.type pthread_cond_signal, %function
pthread_cond_signal:
@ 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 pthread_cond_signal, .-pthread_cond_signal
.align 2
.global pthread_cond_timedwait
.syntax unified
.arm
.fpu softvfp
.type pthread_cond_timedwait, %function
pthread_cond_timedwait:
@ 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 pthread_cond_timedwait, .-pthread_cond_timedwait
.align 2
.global pthread_cond_wait
.syntax unified
.arm
.fpu softvfp
.type pthread_cond_wait, %function
pthread_cond_wait:
@ 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 pthread_cond_wait, .-pthread_cond_wait
.align 2
.global pthread_condattr_destroy
.syntax unified
.arm
.fpu softvfp
.type pthread_condattr_destroy, %function
pthread_condattr_destroy:
@ 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 pthread_condattr_destroy, .-pthread_condattr_destroy
.align 2
.global pthread_condattr_getpshared
.syntax unified
.arm
.fpu softvfp
.type pthread_condattr_getpshared, %function
pthread_condattr_getpshared:
@ 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 pthread_condattr_getpshared, .-pthread_condattr_getpshared
.align 2
.global pthread_condattr_init
.syntax unified
.arm
.fpu softvfp
.type pthread_condattr_init, %function
pthread_condattr_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
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size pthread_condattr_init, .-pthread_condattr_init
.align 2
.global pthread_condattr_setpshared
.syntax unified
.arm
.fpu softvfp
.type pthread_condattr_setpshared, %function
pthread_condattr_setpshared:
@ 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 pthread_condattr_setpshared, .-pthread_condattr_setpshared
.align 2
.global pthread_create
.syntax unified
.arm
.fpu softvfp
.type pthread_create, %function
pthread_create:
@ 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 pthread_create, .-pthread_create
.align 2
.global pthread_detach
.syntax unified
.arm
.fpu softvfp
.type pthread_detach, %function
pthread_detach:
@ 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 pthread_detach, .-pthread_detach
.align 2
.global pthread_equal
.syntax unified
.arm
.fpu softvfp
.type pthread_equal, %function
pthread_equal:
@ 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 pthread_equal, .-pthread_equal
.align 2
.global pthread_exit
.syntax unified
.arm
.fpu softvfp
.type pthread_exit, %function
pthread_exit:
@ 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 pthread_exit, .-pthread_exit
.align 2
.global pthread_getattr_np
.syntax unified
.arm
.fpu softvfp
.type pthread_getattr_np, %function
pthread_getattr_np:
@ 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 pthread_getattr_np, .-pthread_getattr_np
.align 2
.global pthread_getconcurrency
.syntax unified
.arm
.fpu softvfp
.type pthread_getconcurrency, %function
pthread_getconcurrency:
@ 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 pthread_getconcurrency, .-pthread_getconcurrency
.align 2
.global pthread_getcpuclockid
.syntax unified
.arm
.fpu softvfp
.type pthread_getcpuclockid, %function
pthread_getcpuclockid:
@ 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 pthread_getcpuclockid, .-pthread_getcpuclockid
.align 2
.global pthread_getschedparam
.syntax unified
.arm
.fpu softvfp
.type pthread_getschedparam, %function
pthread_getschedparam:
@ 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 pthread_getschedparam, .-pthread_getschedparam
.align 2
.global pthread_getspecific
.syntax unified
.arm
.fpu softvfp
.type pthread_getspecific, %function
pthread_getspecific:
@ 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 pthread_getspecific, .-pthread_getspecific
.align 2
.global pthread_join
.syntax unified
.arm
.fpu softvfp
.type pthread_join, %function
pthread_join:
@ 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 pthread_join, .-pthread_join
.align 2
.global pthread_key_create
.syntax unified
.arm
.fpu softvfp
.type pthread_key_create, %function
pthread_key_create:
@ 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 pthread_key_create, .-pthread_key_create
.align 2
.global pthread_key_delete
.syntax unified
.arm
.fpu softvfp
.type pthread_key_delete, %function
pthread_key_delete:
@ 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 pthread_key_delete, .-pthread_key_delete
.align 2
.global pthread_kill
.syntax unified
.arm
.fpu softvfp
.type pthread_kill, %function
pthread_kill:
@ 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 pthread_kill, .-pthread_kill
.align 2
.global pthread_mutex_consistent_np
.syntax unified
.arm
.fpu softvfp
.type pthread_mutex_consistent_np, %function
pthread_mutex_consistent_np:
@ 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 pthread_mutex_consistent_np, .-pthread_mutex_consistent_np
.align 2
.global pthread_mutex_destroy
.syntax unified
.arm
.fpu softvfp
.type pthread_mutex_destroy, %function
pthread_mutex_destroy:
@ 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 pthread_mutex_destroy, .-pthread_mutex_destroy
.align 2
.global pthread_mutex_getprioceiling
.syntax unified
.arm
.fpu softvfp
.type pthread_mutex_getprioceiling, %function
pthread_mutex_getprioceiling:
@ 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 pthread_mutex_getprioceiling, .-pthread_mutex_getprioceiling
.align 2
.global pthread_mutex_init
.syntax unified
.arm
.fpu softvfp
.type pthread_mutex_init, %function
pthread_mutex_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
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size pthread_mutex_init, .-pthread_mutex_init
.align 2
.global pthread_mutex_lock
.syntax unified
.arm
.fpu softvfp
.type pthread_mutex_lock, %function
pthread_mutex_lock:
@ 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 pthread_mutex_lock, .-pthread_mutex_lock
.align 2
.global pthread_mutex_setprioceiling
.syntax unified
.arm
.fpu softvfp
.type pthread_mutex_setprioceiling, %function
pthread_mutex_setprioceiling:
@ 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 pthread_mutex_setprioceiling, .-pthread_mutex_setprioceiling
.align 2
.global pthread_mutex_timedlock
.syntax unified
.arm
.fpu softvfp
.type pthread_mutex_timedlock, %function
pthread_mutex_timedlock:
@ 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 pthread_mutex_timedlock, .-pthread_mutex_timedlock
.align 2
.global pthread_mutex_trylock
.syntax unified
.arm
.fpu softvfp
.type pthread_mutex_trylock, %function
pthread_mutex_trylock:
@ 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 pthread_mutex_trylock, .-pthread_mutex_trylock
.align 2
.global pthread_mutex_unlock
.syntax unified
.arm
.fpu softvfp
.type pthread_mutex_unlock, %function
pthread_mutex_unlock:
@ 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 pthread_mutex_unlock, .-pthread_mutex_unlock
.align 2
.global pthread_mutexattr_destroy
.syntax unified
.arm
.fpu softvfp
.type pthread_mutexattr_destroy, %function
pthread_mutexattr_destroy:
@ 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 pthread_mutexattr_destroy, .-pthread_mutexattr_destroy
.align 2
.global pthread_mutexattr_getprioceiling
.syntax unified
.arm
.fpu softvfp
.type pthread_mutexattr_getprioceiling, %function
pthread_mutexattr_getprioceiling:
@ 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 pthread_mutexattr_getprioceiling, .-pthread_mutexattr_getprioceiling
.align 2
.global pthread_mutexattr_getprotocol
.syntax unified
.arm
.fpu softvfp
.type pthread_mutexattr_getprotocol, %function
pthread_mutexattr_getprotocol:
@ 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 pthread_mutexattr_getprotocol, .-pthread_mutexattr_getprotocol
.align 2
.global pthread_mutexattr_getpshared
.syntax unified
.arm
.fpu softvfp
.type pthread_mutexattr_getpshared, %function
pthread_mutexattr_getpshared:
@ 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 pthread_mutexattr_getpshared, .-pthread_mutexattr_getpshared
.align 2
.global pthread_mutexattr_getrobust_np
.syntax unified
.arm
.fpu softvfp
.type pthread_mutexattr_getrobust_np, %function
pthread_mutexattr_getrobust_np:
@ 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 pthread_mutexattr_getrobust_np, .-pthread_mutexattr_getrobust_np
.align 2
.global pthread_mutexattr_gettype
.syntax unified
.arm
.fpu softvfp
.type pthread_mutexattr_gettype, %function
pthread_mutexattr_gettype:
@ 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 pthread_mutexattr_gettype, .-pthread_mutexattr_gettype
.align 2
.global pthread_mutexattr_init
.syntax unified
.arm
.fpu softvfp
.type pthread_mutexattr_init, %function
pthread_mutexattr_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
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size pthread_mutexattr_init, .-pthread_mutexattr_init
.align 2
.global pthread_mutexattr_setprioceiling
.syntax unified
.arm
.fpu softvfp
.type pthread_mutexattr_setprioceiling, %function
pthread_mutexattr_setprioceiling:
@ 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 pthread_mutexattr_setprioceiling, .-pthread_mutexattr_setprioceiling
.align 2
.global pthread_mutexattr_setprotocol
.syntax unified
.arm
.fpu softvfp
.type pthread_mutexattr_setprotocol, %function
pthread_mutexattr_setprotocol:
@ 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 pthread_mutexattr_setprotocol, .-pthread_mutexattr_setprotocol
.align 2
.global pthread_mutexattr_setpshared
.syntax unified
.arm
.fpu softvfp
.type pthread_mutexattr_setpshared, %function
pthread_mutexattr_setpshared:
@ 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 pthread_mutexattr_setpshared, .-pthread_mutexattr_setpshared
.align 2
.global pthread_mutexattr_setrobust_np
.syntax unified
.arm
.fpu softvfp
.type pthread_mutexattr_setrobust_np, %function
pthread_mutexattr_setrobust_np:
@ 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 pthread_mutexattr_setrobust_np, .-pthread_mutexattr_setrobust_np
.align 2
.global pthread_mutexattr_settype
.syntax unified
.arm
.fpu softvfp
.type pthread_mutexattr_settype, %function
pthread_mutexattr_settype:
@ 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 pthread_mutexattr_settype, .-pthread_mutexattr_settype
.align 2
.global pthread_once
.syntax unified
.arm
.fpu softvfp
.type pthread_once, %function
pthread_once:
@ 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 pthread_once, .-pthread_once
.align 2
.global pthread_rwlock_destroy
.syntax unified
.arm
.fpu softvfp
.type pthread_rwlock_destroy, %function
pthread_rwlock_destroy:
@ 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 pthread_rwlock_destroy, .-pthread_rwlock_destroy
.align 2
.global pthread_rwlock_init
.syntax unified
.arm
.fpu softvfp
.type pthread_rwlock_init, %function
pthread_rwlock_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
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size pthread_rwlock_init, .-pthread_rwlock_init
.align 2
.global pthread_rwlock_rdlock
.syntax unified
.arm
.fpu softvfp
.type pthread_rwlock_rdlock, %function
pthread_rwlock_rdlock:
@ 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 pthread_rwlock_rdlock, .-pthread_rwlock_rdlock
.align 2
.global pthread_rwlock_timedrdlock
.syntax unified
.arm
.fpu softvfp
.type pthread_rwlock_timedrdlock, %function
pthread_rwlock_timedrdlock:
@ 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 pthread_rwlock_timedrdlock, .-pthread_rwlock_timedrdlock
.align 2
.global pthread_rwlock_timedwrlock
.syntax unified
.arm
.fpu softvfp
.type pthread_rwlock_timedwrlock, %function
pthread_rwlock_timedwrlock:
@ 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 pthread_rwlock_timedwrlock, .-pthread_rwlock_timedwrlock
.align 2
.global pthread_rwlock_tryrdlock
.syntax unified
.arm
.fpu softvfp
.type pthread_rwlock_tryrdlock, %function
pthread_rwlock_tryrdlock:
@ 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 pthread_rwlock_tryrdlock, .-pthread_rwlock_tryrdlock
.align 2
.global pthread_rwlock_trywrlock
.syntax unified
.arm
.fpu softvfp
.type pthread_rwlock_trywrlock, %function
pthread_rwlock_trywrlock:
@ 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 pthread_rwlock_trywrlock, .-pthread_rwlock_trywrlock
.align 2
.global pthread_rwlock_unlock
.syntax unified
.arm
.fpu softvfp
.type pthread_rwlock_unlock, %function
pthread_rwlock_unlock:
@ 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 pthread_rwlock_unlock, .-pthread_rwlock_unlock
.align 2
.global pthread_rwlock_wrlock
.syntax unified
.arm
.fpu softvfp
.type pthread_rwlock_wrlock, %function
pthread_rwlock_wrlock:
@ 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 pthread_rwlock_wrlock, .-pthread_rwlock_wrlock
.align 2
.global pthread_rwlockattr_destroy
.syntax unified
.arm
.fpu softvfp
.type pthread_rwlockattr_destroy, %function
pthread_rwlockattr_destroy:
@ 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 pthread_rwlockattr_destroy, .-pthread_rwlockattr_destroy
.align 2
.global pthread_rwlockattr_getkind_np
.syntax unified
.arm
.fpu softvfp
.type pthread_rwlockattr_getkind_np, %function
pthread_rwlockattr_getkind_np:
@ 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 pthread_rwlockattr_getkind_np, .-pthread_rwlockattr_getkind_np
.align 2
.global pthread_rwlockattr_getpshared
.syntax unified
.arm
.fpu softvfp
.type pthread_rwlockattr_getpshared, %function
pthread_rwlockattr_getpshared:
@ 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 pthread_rwlockattr_getpshared, .-pthread_rwlockattr_getpshared
.align 2
.global pthread_rwlockattr_init
.syntax unified
.arm
.fpu softvfp
.type pthread_rwlockattr_init, %function
pthread_rwlockattr_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
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size pthread_rwlockattr_init, .-pthread_rwlockattr_init
.align 2
.global pthread_rwlockattr_setkind_np
.syntax unified
.arm
.fpu softvfp
.type pthread_rwlockattr_setkind_np, %function
pthread_rwlockattr_setkind_np:
@ 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 pthread_rwlockattr_setkind_np, .-pthread_rwlockattr_setkind_np
.align 2
.global pthread_rwlockattr_setpshared
.syntax unified
.arm
.fpu softvfp
.type pthread_rwlockattr_setpshared, %function
pthread_rwlockattr_setpshared:
@ 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 pthread_rwlockattr_setpshared, .-pthread_rwlockattr_setpshared
.align 2
.global pthread_self
.syntax unified
.arm
.fpu softvfp
.type pthread_self, %function
pthread_self:
@ 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 pthread_self, .-pthread_self
.align 2
.global pthread_setcancelstate
.syntax unified
.arm
.fpu softvfp
.type pthread_setcancelstate, %function
pthread_setcancelstate:
@ 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 pthread_setcancelstate, .-pthread_setcancelstate
.align 2
.global pthread_setcanceltype
.syntax unified
.arm
.fpu softvfp
.type pthread_setcanceltype, %function
pthread_setcanceltype:
@ 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 pthread_setcanceltype, .-pthread_setcanceltype
.align 2
.global pthread_setconcurrency
.syntax unified
.arm
.fpu softvfp
.type pthread_setconcurrency, %function
pthread_setconcurrency:
@ 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 pthread_setconcurrency, .-pthread_setconcurrency
.align 2
.global pthread_setschedparam
.syntax unified
.arm
.fpu softvfp
.type pthread_setschedparam, %function
pthread_setschedparam:
@ 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 pthread_setschedparam, .-pthread_setschedparam
.align 2
.global pthread_setschedprio
.syntax unified
.arm
.fpu softvfp
.type pthread_setschedprio, %function
pthread_setschedprio:
@ 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 pthread_setschedprio, .-pthread_setschedprio
.align 2
.global pthread_setspecific
.syntax unified
.arm
.fpu softvfp
.type pthread_setspecific, %function
pthread_setspecific:
@ 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 pthread_setspecific, .-pthread_setspecific
.align 2
.global pthread_sigmask
.syntax unified
.arm
.fpu softvfp
.type pthread_sigmask, %function
pthread_sigmask:
@ 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 pthread_sigmask, .-pthread_sigmask
.align 2
.global pthread_spin_destroy
.syntax unified
.arm
.fpu softvfp
.type pthread_spin_destroy, %function
pthread_spin_destroy:
@ 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 pthread_spin_destroy, .-pthread_spin_destroy
.align 2
.global pthread_spin_init
.syntax unified
.arm
.fpu softvfp
.type pthread_spin_init, %function
pthread_spin_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
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size pthread_spin_init, .-pthread_spin_init
.align 2
.global pthread_spin_lock
.syntax unified
.arm
.fpu softvfp
.type pthread_spin_lock, %function
pthread_spin_lock:
@ 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 pthread_spin_lock, .-pthread_spin_lock
.align 2
.global pthread_spin_trylock
.syntax unified
.arm
.fpu softvfp
.type pthread_spin_trylock, %function
pthread_spin_trylock:
@ 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 pthread_spin_trylock, .-pthread_spin_trylock
.align 2
.global pthread_spin_unlock
.syntax unified
.arm
.fpu softvfp
.type pthread_spin_unlock, %function
pthread_spin_unlock:
@ 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 pthread_spin_unlock, .-pthread_spin_unlock
.align 2
.global pthread_testcancel
.syntax unified
.arm
.fpu softvfp
.type pthread_testcancel, %function
pthread_testcancel:
@ 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 pthread_testcancel, .-pthread_testcancel
.align 2
.global pwrite
.syntax unified
.arm
.fpu softvfp
.type pwrite, %function
pwrite:
@ 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 pwrite, .-pwrite
.align 2
.global pwrite64
.syntax unified
.arm
.fpu softvfp
.type pwrite64, %function
pwrite64:
@ 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 pwrite64, .-pwrite64
.align 2
.global raise
.syntax unified
.arm
.fpu softvfp
.type raise, %function
raise:
@ 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 raise, .-raise
.align 2
.global read
.syntax unified
.arm
.fpu softvfp
.type read, %function
read:
@ 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 read, .-read
.align 2
.global recv
.syntax unified
.arm
.fpu softvfp
.type recv, %function
recv:
@ 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 recv, .-recv
.align 2
.global recvfrom
.syntax unified
.arm
.fpu softvfp
.type recvfrom, %function
recvfrom:
@ 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 recvfrom, .-recvfrom
.align 2
.global recvmsg
.syntax unified
.arm
.fpu softvfp
.type recvmsg, %function
recvmsg:
@ 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 recvmsg, .-recvmsg
.align 2
.global sem_close
.syntax unified
.arm
.fpu softvfp
.type sem_close, %function
sem_close:
@ 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 sem_close, .-sem_close
.align 2
.global sem_destroy
.syntax unified
.arm
.fpu softvfp
.type sem_destroy, %function
sem_destroy:
@ 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 sem_destroy, .-sem_destroy
.align 2
.global sem_getvalue
.syntax unified
.arm
.fpu softvfp
.type sem_getvalue, %function
sem_getvalue:
@ 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 sem_getvalue, .-sem_getvalue
.align 2
.global sem_init
.syntax unified
.arm
.fpu softvfp
.type sem_init, %function
sem_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
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size sem_init, .-sem_init
.align 2
.global sem_open
.syntax unified
.arm
.fpu softvfp
.type sem_open, %function
sem_open:
@ 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 sem_open, .-sem_open
.align 2
.global sem_post
.syntax unified
.arm
.fpu softvfp
.type sem_post, %function
sem_post:
@ 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 sem_post, .-sem_post
.align 2
.global sem_timedwait
.syntax unified
.arm
.fpu softvfp
.type sem_timedwait, %function
sem_timedwait:
@ 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 sem_timedwait, .-sem_timedwait
.align 2
.global sem_trywait
.syntax unified
.arm
.fpu softvfp
.type sem_trywait, %function
sem_trywait:
@ 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 sem_trywait, .-sem_trywait
.align 2
.global sem_unlink
.syntax unified
.arm
.fpu softvfp
.type sem_unlink, %function
sem_unlink:
@ 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 sem_unlink, .-sem_unlink
.align 2
.global sem_wait
.syntax unified
.arm
.fpu softvfp
.type sem_wait, %function
sem_wait:
@ 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 sem_wait, .-sem_wait
.align 2
.global send
.syntax unified
.arm
.fpu softvfp
.type send, %function
send:
@ 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 send, .-send
.align 2
.global sendmsg
.syntax unified
.arm
.fpu softvfp
.type sendmsg, %function
sendmsg:
@ 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 sendmsg, .-sendmsg
.align 2
.global sendto
.syntax unified
.arm
.fpu softvfp
.type sendto, %function
sendto:
@ 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 sendto, .-sendto
.align 2
.global sigaction
.syntax unified
.arm
.fpu softvfp
.type sigaction, %function
sigaction:
@ 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 sigaction, .-sigaction
.align 2
.global siglongjmp
.syntax unified
.arm
.fpu softvfp
.type siglongjmp, %function
siglongjmp:
@ 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 siglongjmp, .-siglongjmp
.align 2
.global sigwait
.syntax unified
.arm
.fpu softvfp
.type sigwait, %function
sigwait:
@ 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 sigwait, .-sigwait
.align 2
.global system
.syntax unified
.arm
.fpu softvfp
.type system, %function
system:
@ 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 system, .-system
.align 2
.global tcdrain
.syntax unified
.arm
.fpu softvfp
.type tcdrain, %function
tcdrain:
@ 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 tcdrain, .-tcdrain
.align 2
.global vfork
.syntax unified
.arm
.fpu softvfp
.type vfork, %function
vfork:
@ 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 vfork, .-vfork
.align 2
.global wait
.syntax unified
.arm
.fpu softvfp
.type wait, %function
wait:
@ 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 wait, .-wait
.align 2
.global waitpid
.syntax unified
.arm
.fpu softvfp
.type waitpid, %function
waitpid:
@ 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 waitpid, .-waitpid
.align 2
.global write
.syntax unified
.arm
.fpu softvfp
.type write, %function
write:
@ 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 write, .-write
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "960164.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "average values:"
.LC1:
.string "%.2f "
.LC2:
.string "average of arr2d: %.2f\n"
.LC3:
.string "max of arr2d: %.2f\n"
.align 8
.LC4:
.string "\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 r15
push r14
push r13
push r12
push rbx
sub rsp, 56
.cfi_offset 15, -24
.cfi_offset 14, -32
.cfi_offset 13, -40
.cfi_offset 12, -48
.cfi_offset 3, -56
mov rbx, QWORD PTR fs:40
mov QWORD PTR -56[rbp], rbx
xor ebx, ebx
mov rcx, rsp
mov r15, rcx
mov DWORD PTR -88[rbp], 3
mov DWORD PTR -92[rbp], 5
mov ecx, DWORD PTR -92[rbp]
mov ebx, DWORD PTR -88[rbp]
movsx r12, ecx
sub r12, 1
mov QWORD PTR -80[rbp], r12
movsx r12, ecx
mov r13, r12
mov r14d, 0
movsx r12, ecx
lea r13, 0[0+r12*8]
movsx r12, ebx
sub r12, 1
mov QWORD PTR -72[rbp], r12
movsx r12, ecx
mov r10, r12
mov r11d, 0
movsx r12, ebx
mov rax, r12
mov edx, 0
mov r14, r11
imul r14, rax
mov r12, rdx
imul r12, r10
add r12, r14
mul r10
lea r10, [r12+rdx]
mov rdx, r10
movsx rax, ecx
mov r8, rax
mov r9d, 0
movsx rax, ebx
mov rsi, rax
mov edi, 0
mov rdx, r9
imul rdx, rsi
mov rax, rdi
imul rax, r8
lea r10, [rdx+rax]
mov rax, r8
mul rsi
lea rsi, [r10+rdx]
mov rdx, rsi
movsx rdx, ecx
movsx rax, ebx
imul rax, rdx
lea rdx, 0[0+rax*8]
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
.L2:
cmp rsp, rdx
je .L3
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
jmp .L2
.L3:
mov rdx, rax
and edx, 4095
sub rsp, rdx
mov rdx, rax
and edx, 4095
test rdx, rdx
je .L4
and eax, 4095
sub rax, 8
add rax, rsp
or QWORD PTR [rax], 0
.L4:
mov rax, rsp
add rax, 7
shr rax, 3
sal rax, 3
mov QWORD PTR -64[rbp], rax
mov rdx, QWORD PTR -64[rbp]
mov ecx, DWORD PTR -92[rbp]
mov eax, DWORD PTR -88[rbp]
mov esi, ecx
mov edi, eax
call populate_arr2d
lea rdi, .LC0[rip]
call puts@PLT
mov DWORD PTR -84[rbp], 0
jmp .L5
.L6:
mov rdx, r13
shr rdx, 3
mov eax, DWORD PTR -84[rbp]
cdqe
imul rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -64[rbp]
add rdx, rax
mov eax, DWORD PTR -92[rbp]
mov rsi, rdx
mov edi, eax
call aver_arr
movq rax, xmm0
movq xmm0, rax
lea rdi, .LC1[rip]
mov eax, 1
call printf@PLT
add DWORD PTR -84[rbp], 1
.L5:
mov eax, DWORD PTR -84[rbp]
cmp eax, DWORD PTR -88[rbp]
jl .L6
mov edi, 10
call putchar@PLT
mov rdx, QWORD PTR -64[rbp]
mov ecx, DWORD PTR -92[rbp]
mov eax, DWORD PTR -88[rbp]
mov esi, ecx
mov edi, eax
call aver_arr2d
movq rax, xmm0
movq xmm0, rax
lea rdi, .LC2[rip]
mov eax, 1
call printf@PLT
mov rdx, QWORD PTR -64[rbp]
mov ecx, DWORD PTR -92[rbp]
mov eax, DWORD PTR -88[rbp]
mov esi, ecx
mov edi, eax
call max_arr2d
movq rax, xmm0
movq xmm0, rax
lea rdi, .LC3[rip]
mov eax, 1
call printf@PLT
lea rdi, .LC4[rip]
call puts@PLT
mov eax, 0
mov rsp, r15
mov rbx, QWORD PTR -56[rbp]
sub rbx, QWORD PTR fs:40
je .L8
call __stack_chk_fail@PLT
.L8:
lea rsp, -40[rbp]
pop rbx
pop r12
pop r13
pop r14
pop r15
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.LC5:
.string "Input 5 numbers:"
.LC6:
.string "%lf"
.text
.globl populate_arr2d
.type populate_arr2d, @function
populate_arr2d:
.LFB1:
.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 DWORD PTR -36[rbp], edi
mov DWORD PTR -40[rbp], esi
mov QWORD PTR -48[rbp], rdx
mov ebx, DWORD PTR -40[rbp]
movsx rax, ebx
sub rax, 1
mov QWORD PTR -24[rbp], rax
movsx rax, ebx
mov r8, rax
mov r9d, 0
mov DWORD PTR -32[rbp], 0
jmp .L10
.L13:
lea rdi, .LC5[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -28[rbp], 0
jmp .L11
.L12:
mov eax, DWORD PTR -32[rbp]
movsx rdx, eax
movsx rax, ebx
imul rax, rdx
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -48[rbp]
add rdx, rax
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rsi, rax
lea rdi, .LC6[rip]
mov eax, 0
call __isoc99_scanf@PLT
add DWORD PTR -28[rbp], 1
.L11:
mov eax, DWORD PTR -28[rbp]
cmp eax, DWORD PTR -40[rbp]
jl .L12
add DWORD PTR -32[rbp], 1
.L10:
mov eax, DWORD PTR -32[rbp]
cmp eax, DWORD PTR -36[rbp]
jl .L13
nop
nop
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size populate_arr2d, .-populate_arr2d
.globl aver_arr
.type aver_arr, @function
aver_arr:
.LFB2:
.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
pxor xmm0, xmm0
movsd QWORD PTR -8[rbp], xmm0
mov DWORD PTR -12[rbp], 0
jmp .L15
.L16:
mov eax, DWORD PTR -12[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -32[rbp]
add rax, rdx
movsd xmm0, QWORD PTR [rax]
movsd xmm1, QWORD PTR -8[rbp]
addsd xmm0, xmm1
movsd QWORD PTR -8[rbp], xmm0
add DWORD PTR -12[rbp], 1
.L15:
mov eax, DWORD PTR -12[rbp]
cmp eax, DWORD PTR -20[rbp]
jl .L16
pxor xmm1, xmm1
cvtsi2sd xmm1, DWORD PTR -20[rbp]
movsd xmm0, QWORD PTR -8[rbp]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE2:
.size aver_arr, .-aver_arr
.globl aver_arr2d
.type aver_arr2d, @function
aver_arr2d:
.LFB3:
.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 DWORD PTR -52[rbp], edi
mov DWORD PTR -56[rbp], esi
mov QWORD PTR -64[rbp], rdx
mov eax, DWORD PTR -56[rbp]
movsx rdx, eax
sub rdx, 1
mov QWORD PTR -24[rbp], rdx
movsx rdx, eax
mov rcx, rdx
mov ebx, 0
pxor xmm0, xmm0
movsd QWORD PTR -32[rbp], xmm0
mov DWORD PTR -36[rbp], 0
jmp .L19
.L22:
mov DWORD PTR -40[rbp], 0
jmp .L20
.L21:
mov edx, DWORD PTR -36[rbp]
movsx rcx, edx
movsx rdx, eax
imul rdx, rcx
lea rcx, 0[0+rdx*8]
mov rdx, QWORD PTR -64[rbp]
add rcx, rdx
mov edx, DWORD PTR -40[rbp]
movsx rdx, edx
movsd xmm0, QWORD PTR [rcx+rdx*8]
movsd xmm1, QWORD PTR -32[rbp]
addsd xmm0, xmm1
movsd QWORD PTR -32[rbp], xmm0
add DWORD PTR -40[rbp], 1
.L20:
mov edx, DWORD PTR -40[rbp]
cmp edx, DWORD PTR -56[rbp]
jl .L21
add DWORD PTR -36[rbp], 1
.L19:
mov edx, DWORD PTR -36[rbp]
cmp edx, DWORD PTR -52[rbp]
jl .L22
mov eax, DWORD PTR -52[rbp]
imul eax, DWORD PTR -56[rbp]
pxor xmm1, xmm1
cvtsi2sd xmm1, eax
movsd xmm0, QWORD PTR -32[rbp]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE3:
.size aver_arr2d, .-aver_arr2d
.globl max_arr2d
.type max_arr2d, @function
max_arr2d:
.LFB4:
.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 DWORD PTR -52[rbp], edi
mov DWORD PTR -56[rbp], esi
mov QWORD PTR -64[rbp], rdx
mov eax, DWORD PTR -56[rbp]
movsx rdx, eax
sub rdx, 1
mov QWORD PTR -24[rbp], rdx
movsx rdx, eax
mov rcx, rdx
mov ebx, 0
mov rdx, QWORD PTR -64[rbp]
movsd xmm0, QWORD PTR [rdx]
movsd QWORD PTR -32[rbp], xmm0
mov DWORD PTR -36[rbp], 0
jmp .L25
.L30:
mov DWORD PTR -40[rbp], 0
jmp .L26
.L29:
mov edx, DWORD PTR -36[rbp]
movsx rcx, edx
movsx rdx, eax
imul rdx, rcx
lea rcx, 0[0+rdx*8]
mov rdx, QWORD PTR -64[rbp]
add rcx, rdx
mov edx, DWORD PTR -40[rbp]
movsx rdx, edx
movsd xmm0, QWORD PTR [rcx+rdx*8]
comisd xmm0, QWORD PTR -32[rbp]
jbe .L27
mov edx, DWORD PTR -36[rbp]
movsx rcx, edx
movsx rdx, eax
imul rdx, rcx
lea rcx, 0[0+rdx*8]
mov rdx, QWORD PTR -64[rbp]
add rcx, rdx
mov edx, DWORD PTR -40[rbp]
movsx rdx, edx
movsd xmm0, QWORD PTR [rcx+rdx*8]
movsd QWORD PTR -32[rbp], xmm0
.L27:
add DWORD PTR -40[rbp], 1
.L26:
mov edx, DWORD PTR -40[rbp]
cmp edx, DWORD PTR -56[rbp]
jl .L29
add DWORD PTR -36[rbp], 1
.L25:
mov edx, DWORD PTR -36[rbp]
cmp edx, DWORD PTR -52[rbp]
jl .L30
movsd xmm0, QWORD PTR -32[rbp]
movq rax, xmm0
movq xmm0, rax
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE4:
.size max_arr2d, .-max_arr2d
.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 "960164.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "average values:\000"
.align 2
.LC1:
.ascii "%.2f \000"
.align 2
.LC2:
.ascii "average of arr2d: %.2f\012\000"
.align 2
.LC3:
.ascii "max of arr2d: %.2f\012\000"
.align 2
.LC4:
.ascii "\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 = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, fp, lr}
add fp, sp, #24
sub sp, sp, #36
ldr r3, .L6
ldr r3, [r3]
str r3, [fp, #-32]
mov r3,#0
mov r3, sp
mov r8, r3
mov r3, #3
str r3, [fp, #-52]
mov r3, #5
str r3, [fp, #-56]
ldr ip, [fp, #-56]
ldr lr, [fp, #-52]
sub r3, ip, #1
str r3, [fp, #-44]
mov r3, ip
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #6
orr r3, r3, r0, lsr #26
lsl r2, r0, #6
mov r3, ip
lsl r6, r3, #3
sub r3, lr, #1
str r3, [fp, #-40]
mov r3, ip
mov r4, r3
mov r5, #0
mov r3, lr
mov r0, r3
mov r1, #0
mul r2, r0, r5
mul r3, r4, r1
add r7, r2, r3
umull r2, r3, r4, r0
add r1, r7, r3
mov r3, r1
mov r0, #0
mov r1, #0
lsl r1, r3, #6
orr r1, r1, r2, lsr #26
lsl r0, r2, #6
mov r3, ip
mov r4, r3
mov r5, #0
mov r3, lr
mov r0, r3
mov r1, #0
mul r2, r0, r5
mul r3, r4, r1
add r7, r2, r3
umull r2, r3, r4, r0
add r1, r7, r3
mov r3, r1
mov r0, #0
mov r1, #0
lsl r1, r3, #6
orr r1, r1, r2, lsr #26
lsl r0, r2, #6
mov r3, ip
mov r2, lr
mul r3, r2, r3
lsl r3, r3, #3
add r3, r3, #7
lsr r3, r3, #3
lsl r3, r3, #3
sub sp, sp, r3
mov r3, sp
add r3, r3, #7
lsr r3, r3, #3
lsl r3, r3, #3
str r3, [fp, #-36]
ldr r2, [fp, #-36]
ldr r1, [fp, #-56]
ldr r0, [fp, #-52]
bl populate_arr2d
ldr r0, .L6+4
bl puts
mov r3, #0
str r3, [fp, #-48]
b .L2
.L3:
lsr r3, r6, #3
ldr r2, [fp, #-48]
mul r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-36]
add r3, r2, r3
mov r1, r3
ldr r0, [fp, #-56]
bl aver_arr
mov r2, r0
mov r3, r1
ldr r0, .L6+8
bl printf
ldr r3, [fp, #-48]
add r3, r3, #1
str r3, [fp, #-48]
.L2:
ldr r2, [fp, #-48]
ldr r3, [fp, #-52]
cmp r2, r3
blt .L3
mov r0, #10
bl putchar
ldr r2, [fp, #-36]
ldr r1, [fp, #-56]
ldr r0, [fp, #-52]
bl aver_arr2d
mov r2, r0
mov r3, r1
ldr r0, .L6+12
bl printf
ldr r2, [fp, #-36]
ldr r1, [fp, #-56]
ldr r0, [fp, #-52]
bl max_arr2d
mov r2, r0
mov r3, r1
ldr r0, .L6+16
bl printf
ldr r0, .L6+20
bl puts
mov r3, #0
mov sp, r8
ldr r2, .L6
ldr r1, [r2]
ldr r2, [fp, #-32]
eors r1, r2, r1
mov r2, #0
beq .L5
bl __stack_chk_fail
.L5:
mov r0, r3
sub sp, fp, #24
@ sp needed
pop {r4, r5, r6, r7, r8, fp, pc}
.L7:
.align 2
.L6:
.word .LC5
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.size main, .-main
.section .rodata
.align 2
.LC6:
.ascii "Input 5 numbers:\000"
.align 2
.LC7:
.ascii "%lf\000"
.text
.align 2
.global populate_arr2d
.syntax unified
.arm
.fpu softvfp
.type populate_arr2d, %function
populate_arr2d:
@ 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]
ldr r4, [fp, #-36]
sub r3, r4, #1
str r3, [fp, #-16]
mov r3, r4
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #6
orr r3, r3, r0, lsr #26
lsl r2, r0, #6
mov r3, #0
str r3, [fp, #-24]
b .L9
.L12:
ldr r0, .L13
bl printf
mov r3, #0
str r3, [fp, #-20]
b .L10
.L11:
mov r2, r4
ldr r3, [fp, #-24]
mul r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-40]
add r2, r2, r3
ldr r3, [fp, #-20]
lsl r3, r3, #3
add r3, r2, r3
mov r1, r3
ldr r0, .L13+4
bl __isoc99_scanf
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L10:
ldr r2, [fp, #-20]
ldr r3, [fp, #-36]
cmp r2, r3
blt .L11
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L9:
ldr r2, [fp, #-24]
ldr r3, [fp, #-32]
cmp r2, r3
blt .L12
nop
nop
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L14:
.align 2
.L13:
.word .LC6
.word .LC7
.size populate_arr2d, .-populate_arr2d
.global __aeabi_dadd
.global __aeabi_i2d
.global __aeabi_ddiv
.align 2
.global aver_arr
.syntax unified
.arm
.fpu softvfp
.type aver_arr, %function
aver_arr:
@ 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]
mov r2, #0
mov r3, #0
str r2, [fp, #-12]
str r3, [fp, #-8]
mov r3, #0
str r3, [fp, #-16]
b .L16
.L17:
ldr r3, [fp, #-16]
lsl r3, r3, #3
ldr r2, [fp, #-28]
add r3, r2, r3
ldmia r3, {r2-r3}
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]
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L16:
ldr r2, [fp, #-16]
ldr r3, [fp, #-24]
cmp r2, r3
blt .L17
ldr r0, [fp, #-24]
bl __aeabi_i2d
mov r2, r0
mov r3, r1
sub r1, fp, #12
ldmia r1, {r0-r1}
bl __aeabi_ddiv
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size aver_arr, .-aver_arr
.align 2
.global aver_arr2d
.syntax unified
.arm
.fpu softvfp
.type aver_arr2d, %function
aver_arr2d:
@ 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, #-40]
str r1, [fp, #-44]
str r2, [fp, #-48]
ldr r4, [fp, #-44]
sub r3, r4, #1
str r3, [fp, #-24]
mov r3, r4
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #6
orr r3, r3, r0, lsr #26
lsl r2, r0, #6
mov r2, #0
mov r3, #0
str r2, [fp, #-20]
str r3, [fp, #-16]
mov r3, #0
str r3, [fp, #-28]
b .L20
.L23:
mov r3, #0
str r3, [fp, #-32]
b .L21
.L22:
mov r2, r4
ldr r3, [fp, #-28]
mul r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-48]
add r2, r2, r3
ldr r3, [fp, #-32]
lsl r3, r3, #3
add r3, r2, r3
ldmia r3, {r2-r3}
sub r1, fp, #20
ldmia r1, {r0-r1}
bl __aeabi_dadd
mov r2, r0
mov r3, r1
str r2, [fp, #-20]
str r3, [fp, #-16]
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L21:
ldr r2, [fp, #-32]
ldr r3, [fp, #-44]
cmp r2, r3
blt .L22
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L20:
ldr r2, [fp, #-28]
ldr r3, [fp, #-40]
cmp r2, r3
blt .L23
ldr r3, [fp, #-40]
ldr r2, [fp, #-44]
mul r3, r2, r3
mov r0, r3
bl __aeabi_i2d
mov r2, r0
mov r3, r1
sub r1, fp, #20
ldmia r1, {r0-r1}
bl __aeabi_ddiv
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.size aver_arr2d, .-aver_arr2d
.global __aeabi_dcmplt
.align 2
.global max_arr2d
.syntax unified
.arm
.fpu softvfp
.type max_arr2d, %function
max_arr2d:
@ 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, #-40]
str r1, [fp, #-44]
str r2, [fp, #-48]
ldr r4, [fp, #-44]
sub r3, r4, #1
str r3, [fp, #-24]
mov r3, r4
mov r0, r3
mov r1, #0
mov r2, #0
mov r3, #0
lsl r3, r1, #6
orr r3, r3, r0, lsr #26
lsl r2, r0, #6
ldr r3, [fp, #-48]
ldmia r3, {r2-r3}
str r2, [fp, #-20]
str r3, [fp, #-16]
mov r3, #0
str r3, [fp, #-28]
b .L26
.L31:
mov r3, #0
str r3, [fp, #-32]
b .L27
.L30:
mov r2, r4
ldr r3, [fp, #-28]
mul r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-48]
add r2, r2, r3
ldr r3, [fp, #-32]
lsl r3, r3, #3
add r3, r2, r3
ldmia r3, {r2-r3}
sub r1, fp, #20
ldmia r1, {r0-r1}
bl __aeabi_dcmplt
mov r3, r0
cmp r3, #0
beq .L28
mov r2, r4
ldr r3, [fp, #-28]
mul r3, r2, r3
lsl r3, r3, #3
ldr r2, [fp, #-48]
add r2, r2, r3
ldr r3, [fp, #-32]
lsl r3, r3, #3
add r3, r2, r3
ldmia r3, {r2-r3}
str r2, [fp, #-20]
str r3, [fp, #-16]
.L28:
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L27:
ldr r2, [fp, #-32]
ldr r3, [fp, #-44]
cmp r2, r3
blt .L30
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L26:
ldr r2, [fp, #-28]
ldr r3, [fp, #-40]
cmp r2, r3
blt .L31
sub r3, fp, #20
ldmia r3, {r2-r3}
mov r0, r2
mov r1, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.size max_arr2d, .-max_arr2d
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "729420.c"
.intel_syntax noprefix
.text
.globl fun
.type fun, @function
fun:
.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
movss DWORD PTR -20[rbp], xmm0
movss xmm1, DWORD PTR -20[rbp]
movss xmm0, DWORD PTR .LC0[rip]
mulss xmm0, xmm1
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movsd QWORD PTR -32[rbp], xmm2
pxor xmm3, xmm3
cvtss2sd xmm3, DWORD PTR -20[rbp]
movq rax, xmm3
movq xmm0, rax
call cos@PLT
movapd xmm1, xmm0
movsd xmm0, QWORD PTR -32[rbp]
subsd xmm0, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
subsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss DWORD PTR -4[rbp], xmm0
movss xmm0, DWORD PTR -4[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size fun, .-fun
.globl diff
.type diff, @function
diff:
.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, 32
movss DWORD PTR -20[rbp], xmm0
pxor xmm2, xmm2
cvtss2sd xmm2, DWORD PTR -20[rbp]
movq rax, xmm2
movq xmm0, rax
call sin@PLT
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss DWORD PTR -4[rbp], xmm0
movss xmm0, DWORD PTR -4[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size diff, .-diff
.section .rodata
.LC4:
.string "x%d = %f\nf(x%d) = %f\n\n"
.LC6:
.string "Root is %0.3f\n"
.text
.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
push rbx
sub rsp, 24
.cfi_offset 3, -24
movss xmm0, DWORD PTR .LC3[rip]
movss DWORD PTR -24[rbp], xmm0
mov DWORD PTR -20[rbp], 0
jmp .L6
.L12:
mov eax, DWORD PTR -24[rbp]
movd xmm0, eax
call fun
movd ebx, xmm0
mov eax, DWORD PTR -24[rbp]
movd xmm0, eax
call diff
movd xmm1, ebx
divss xmm1, xmm0
movss xmm0, DWORD PTR -24[rbp]
subss xmm0, xmm1
movss DWORD PTR -28[rbp], xmm0
mov eax, DWORD PTR -28[rbp]
movd xmm0, eax
call fun
cvtss2sd xmm0, xmm0
mov eax, DWORD PTR -20[rbp]
lea edx, 1[rax]
pxor xmm2, xmm2
cvtss2sd xmm2, DWORD PTR -28[rbp]
movq rax, xmm2
mov ecx, DWORD PTR -20[rbp]
add ecx, 1
movapd xmm1, xmm0
movq xmm0, rax
mov esi, ecx
lea rdi, .LC4[rip]
mov eax, 2
call printf@PLT
movss xmm0, DWORD PTR -24[rbp]
comiss xmm0, DWORD PTR -28[rbp]
jbe .L7
movss xmm0, DWORD PTR -24[rbp]
subss xmm0, DWORD PTR -28[rbp]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC5[rip]
comisd xmm0, xmm1
ja .L9
.L7:
movss xmm0, DWORD PTR -28[rbp]
comiss xmm0, DWORD PTR -24[rbp]
jbe .L10
movss xmm0, DWORD PTR -28[rbp]
subss xmm0, DWORD PTR -24[rbp]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC5[rip]
comisd xmm0, xmm1
ja .L9
.L10:
movss xmm0, DWORD PTR -28[rbp]
movss DWORD PTR -24[rbp], xmm0
add DWORD PTR -20[rbp], 1
.L6:
cmp DWORD PTR -20[rbp], 4
jle .L12
.L9:
pxor xmm3, xmm3
cvtss2sd xmm3, DWORD PTR -28[rbp]
movq rax, xmm3
movq xmm0, rax
lea rdi, .LC6[rip]
mov eax, 1
call printf@PLT
mov eax, 0
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE2:
.size main, .-main
.section .rodata
.align 4
.LC0:
.long 1077936128
.align 8
.LC1:
.long 0
.long 1072693248
.align 8
.LC2:
.long 0
.long 1074266112
.align 4
.LC3:
.long 1056964608
.align 8
.LC5:
.long -350469331
.long 1058682594
.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 "729420.c"
.text
.global __aeabi_fmul
.global __aeabi_f2d
.global __aeabi_dsub
.global __aeabi_d2f
.align 2
.global fun
.syntax unified
.arm
.fpu softvfp
.type fun, %function
fun:
@ 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, #-24] @ float
ldr r1, .L3
ldr r0, [fp, #-24] @ float
bl __aeabi_fmul
mov r3, r0
mov r0, r3
bl __aeabi_f2d
mov r4, r0
mov r5, r1
ldr r0, [fp, #-24] @ float
bl __aeabi_f2d
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl cos
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
mov r2, #0
ldr r3, .L3+4
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl __aeabi_d2f
mov r3, r0
str r3, [fp, #-16] @ float
ldr r3, [fp, #-16] @ float
mov r0, r3
sub sp, fp, #12
@ sp needed
pop {r4, r5, fp, pc}
.L4:
.align 2
.L3:
.word 1077936128
.word 1072693248
.size fun, .-fun
.global __aeabi_dadd
.align 2
.global diff
.syntax unified
.arm
.fpu softvfp
.type diff, %function
diff:
@ 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
ldr r0, [fp, #-16] @ float
bl __aeabi_f2d
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl sin
mov r2, #0
ldr r3, .L7
bl __aeabi_dadd
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}
.L8:
.align 2
.L7:
.word 1074266112
.size diff, .-diff
.global __aeabi_fdiv
.global __aeabi_fsub
.section .rodata
.align 2
.LC0:
.ascii "x%d = %f\012f(x%d) = %f\012\012\000"
.global __aeabi_fcmpgt
.global __aeabi_dcmplt
.global __aeabi_fcmplt
.align 2
.LC1:
.ascii "Root is %0.3f\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 {r4, r5, r6, r7, fp, lr}
add fp, sp, #20
sub sp, sp, #32
mov r3, #1056964608
str r3, [fp, #-28] @ float
mov r3, #0
str r3, [fp, #-24]
b .L10
.L16:
ldr r0, [fp, #-28] @ float
bl fun
mov r4, r0
ldr r0, [fp, #-28] @ float
bl diff
mov r3, r0
mov r1, r3
mov r0, r4
bl __aeabi_fdiv
mov r3, r0
mov r1, r3
ldr r0, [fp, #-28] @ float
bl __aeabi_fsub
mov r3, r0
str r3, [fp, #-32] @ float
ldr r3, [fp, #-24]
add r7, r3, #1
ldr r0, [fp, #-32] @ float
bl __aeabi_f2d
mov r4, r0
mov r5, r1
ldr r3, [fp, #-24]
add r6, r3, #1
ldr r0, [fp, #-32] @ float
bl fun
mov r3, r0
mov r0, r3
bl __aeabi_f2d
mov r2, r0
mov r3, r1
str r2, [sp, #8]
str r3, [sp, #12]
str r6, [sp]
mov r2, r4
mov r3, r5
mov r1, r7
ldr r0, .L20
bl printf
ldr r1, [fp, #-32] @ float
ldr r0, [fp, #-28] @ float
bl __aeabi_fcmpgt
mov r3, r0
cmp r3, #0
beq .L11
ldr r1, [fp, #-32] @ float
ldr r0, [fp, #-28] @ float
bl __aeabi_fsub
mov r3, r0
mov r0, r3
bl __aeabi_f2d
ldr r2, .L20+4
ldr r3, .L20+8
bl __aeabi_dcmplt
mov r3, r0
cmp r3, #0
bne .L13
.L11:
ldr r1, [fp, #-32] @ float
ldr r0, [fp, #-28] @ float
bl __aeabi_fcmplt
mov r3, r0
cmp r3, #0
beq .L14
ldr r1, [fp, #-28] @ float
ldr r0, [fp, #-32] @ float
bl __aeabi_fsub
mov r3, r0
mov r0, r3
bl __aeabi_f2d
ldr r2, .L20+4
ldr r3, .L20+8
bl __aeabi_dcmplt
mov r3, r0
cmp r3, #0
bne .L13
.L14:
ldr r3, [fp, #-32] @ float
str r3, [fp, #-28] @ float
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L10:
ldr r3, [fp, #-24]
cmp r3, #4
ble .L16
.L13:
ldr r0, [fp, #-32] @ float
bl __aeabi_f2d
mov r2, r0
mov r3, r1
ldr r0, .L20+12
bl printf
mov r3, #0
mov r0, r3
sub sp, fp, #20
@ sp needed
pop {r4, r5, r6, r7, fp, pc}
.L21:
.align 2
.L20:
.word .LC0
.word -350469331
.word 1058682594
.word .LC1
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "96906.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "the_stack_data/96906.c"
.LC1:
.string "pe - a >= 2"
.text
.globl execute
.type execute, @function
execute:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov rax, QWORD PTR -32[rbp]
sub rax, QWORD PTR -24[rbp]
cmp rax, 4
jg .L2
lea rcx, __PRETTY_FUNCTION__.0[rip]
mov edx, 13
lea rsi, .LC0[rip]
lea rdi, .LC1[rip]
call __assert_fail@PLT
.L2:
mov rax, QWORD PTR -32[rbp]
sub rax, 4
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR [rax]
mov DWORD PTR -16[rbp], eax
mov rax, QWORD PTR -8[rbp]
sub rax, 4
mov eax, DWORD PTR [rax]
mov edx, DWORD PTR -16[rbp]
imul eax, edx
mov DWORD PTR -16[rbp], eax
mov rax, QWORD PTR -32[rbp]
sub rax, 4
mov QWORD PTR -8[rbp], rax
jmp .L3
.L4:
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR [rax]
mov DWORD PTR -12[rbp], eax
mov rax, QWORD PTR -8[rbp]
sub rax, 4
mov eax, DWORD PTR [rax]
mov edx, DWORD PTR -12[rbp]
imul eax, edx
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -16[rbp]
cmp DWORD PTR -12[rbp], eax
cmovle eax, DWORD PTR -12[rbp]
mov DWORD PTR -16[rbp], eax
sub QWORD PTR -8[rbp], 4
.L3:
mov rax, QWORD PTR -8[rbp]
cmp rax, QWORD PTR -24[rbp]
ja .L4
mov eax, DWORD PTR -16[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size execute, .-execute
.section .rodata
.align 8
.type __PRETTY_FUNCTION__.0, @object
.size __PRETTY_FUNCTION__.0, 8
__PRETTY_FUNCTION__.0:
.string "execute"
.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 "96906.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "the_stack_data/96906.c\000"
.align 2
.LC1:
.ascii "pe - a >= 2\000"
.text
.align 2
.global execute
.syntax unified
.arm
.fpu softvfp
.type execute, %function
execute:
@ 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 r2, [fp, #-28]
ldr r3, [fp, #-24]
sub r3, r2, r3
cmp r3, #4
bgt .L2
ldr r3, .L6
mov r2, #13
ldr r1, .L6+4
ldr r0, .L6+8
bl __assert_fail
.L2:
ldr r3, [fp, #-28]
sub r3, r3, #4
str r3, [fp, #-12]
ldr r3, [fp, #-12]
ldr r3, [r3]
str r3, [fp, #-16]
ldr r3, [fp, #-12]
sub r3, r3, #4
ldr r2, [r3]
ldr r3, [fp, #-16]
mul r3, r2, r3
str r3, [fp, #-16]
ldr r3, [fp, #-28]
sub r3, r3, #4
str r3, [fp, #-12]
b .L3
.L4:
ldr r3, [fp, #-12]
ldr r3, [r3]
str r3, [fp, #-8]
ldr r3, [fp, #-12]
sub r3, r3, #4
ldr r2, [r3]
ldr r3, [fp, #-8]
mul r3, r2, r3
str r3, [fp, #-8]
ldr r2, [fp, #-16]
ldr r3, [fp, #-8]
cmp r2, r3
movlt r3, r2
movge r3, r3
str r3, [fp, #-16]
ldr r3, [fp, #-12]
sub r3, r3, #4
str r3, [fp, #-12]
.L3:
ldr r2, [fp, #-12]
ldr r3, [fp, #-24]
cmp r2, r3
bhi .L4
ldr r3, [fp, #-16]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L7:
.align 2
.L6:
.word __PRETTY_FUNCTION__.4677
.word .LC0
.word .LC1
.size execute, .-execute
.section .rodata
.align 2
.type __PRETTY_FUNCTION__.4677, %object
.size __PRETTY_FUNCTION__.4677, 8
__PRETTY_FUNCTION__.4677:
.ascii "execute\000"
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "130212.c"
.intel_syntax noprefix
.text
.globl N
.bss
.align 4
.type N, @object
.size N, 4
N:
.zero 4
.globl digits
.align 32
.type digits, @object
.size digits, 36
digits:
.zero 36
.section .rodata
.LC0:
.string "r"
.LC1:
.string "crypt1.in"
.LC2:
.string "w"
.LC3:
.string "crypt1.out"
.LC4:
.string "%d"
.LC5:
.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, 48
lea rsi, .LC0[rip]
lea rdi, .LC1[rip]
call fopen@PLT
mov QWORD PTR -16[rbp], rax
lea rsi, .LC2[rip]
lea rdi, .LC3[rip]
call fopen@PLT
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -16[rbp]
lea rdx, N[rip]
lea rsi, .LC4[rip]
mov rdi, rax
mov eax, 0
call __isoc99_fscanf@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, digits[rip]
add rdx, rax
mov rax, QWORD PTR -16[rbp]
lea rsi, .LC4[rip]
mov rdi, rax
mov eax, 0
call __isoc99_fscanf@PLT
add DWORD PTR -36[rbp], 1
.L2:
mov eax, DWORD PTR N[rip]
cmp DWORD PTR -36[rbp], eax
jl .L3
mov DWORD PTR -32[rbp], 0
mov DWORD PTR -28[rbp], 1111
jmp .L4
.L9:
mov eax, DWORD PTR -28[rbp]
mov edi, eax
call inDigit
test eax, eax
je .L5
mov DWORD PTR -24[rbp], 11
jmp .L6
.L8:
mov eax, DWORD PTR -28[rbp]
cdq
idiv DWORD PTR -24[rbp]
mov eax, edx
test eax, eax
jne .L7
mov eax, DWORD PTR -28[rbp]
cdq
idiv DWORD PTR -24[rbp]
mov DWORD PTR -20[rbp], eax
cmp DWORD PTR -20[rbp], 110
jle .L7
mov ecx, DWORD PTR -24[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 eax, edx
imul eax, DWORD PTR -20[rbp]
cmp eax, 110
jle .L7
mov eax, DWORD PTR -24[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
imul eax, DWORD PTR -20[rbp]
cmp eax, 110
jle .L7
mov ecx, DWORD PTR -24[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 eax, edx
imul eax, DWORD PTR -20[rbp]
cmp eax, 999
jg .L7
mov eax, DWORD PTR -24[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
imul eax, DWORD PTR -20[rbp]
cmp eax, 999
jg .L7
mov eax, DWORD PTR -24[rbp]
mov edi, eax
call inDigit
test eax, eax
je .L7
mov eax, DWORD PTR -20[rbp]
mov edi, eax
call inDigit
test eax, eax
je .L7
mov ecx, DWORD PTR -24[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 eax, edx
imul eax, DWORD PTR -20[rbp]
mov edi, eax
call inDigit
test eax, eax
je .L7
mov eax, DWORD PTR -24[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
imul eax, DWORD PTR -20[rbp]
mov edi, eax
call inDigit
test eax, eax
je .L7
add DWORD PTR -32[rbp], 1
.L7:
add DWORD PTR -24[rbp], 1
.L6:
cmp DWORD PTR -24[rbp], 99
jle .L8
.L5:
add DWORD PTR -28[rbp], 1
.L4:
cmp DWORD PTR -28[rbp], 9999
jle .L9
mov edx, DWORD PTR -32[rbp]
mov rax, QWORD PTR -8[rbp]
lea rsi, .LC5[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size main, .-main
.globl search
.type search, @function
search:
.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 -20[rbp], edi
mov DWORD PTR -4[rbp], 0
jmp .L12
.L15:
mov eax, DWORD PTR -4[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, digits[rip]
mov eax, DWORD PTR [rdx+rax]
cmp DWORD PTR -20[rbp], eax
jne .L13
mov eax, 1
jmp .L14
.L13:
add DWORD PTR -4[rbp], 1
.L12:
mov eax, DWORD PTR N[rip]
cmp DWORD PTR -4[rbp], eax
jl .L15
mov eax, 0
.L14:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size search, .-search
.globl inDigit
.type inDigit, @function
inDigit:
.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, 8
mov DWORD PTR -4[rbp], edi
jmp .L17
.L20:
mov ecx, DWORD PTR -4[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 edi, edx
call search
test eax, eax
jne .L18
mov eax, 0
jmp .L19
.L18:
mov eax, DWORD PTR -4[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 -4[rbp], eax
.L17:
cmp DWORD PTR -4[rbp], 0
jg .L20
mov eax, 1
.L19:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size inDigit, .-inDigit
.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 "130212.c"
.text
.comm N,4,4
.comm digits,36,4
.section .rodata
.align 2
.LC0:
.ascii "r\000"
.align 2
.LC1:
.ascii "crypt1.in\000"
.align 2
.LC2:
.ascii "w\000"
.align 2
.LC3:
.ascii "crypt1.out\000"
.align 2
.LC4:
.ascii "%d\000"
.global __aeabi_idivmod
.global __aeabi_idiv
.align 2
.LC5:
.ascii "%d\012\000"
.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 r1, .L11
ldr r0, .L11+4
bl fopen
str r0, [fp, #-16]
ldr r1, .L11+8
ldr r0, .L11+12
bl fopen
str r0, [fp, #-12]
ldr r2, .L11+16
ldr r1, .L11+20
ldr r0, [fp, #-16]
bl __isoc99_fscanf
mov r3, #0
str r3, [fp, #-32]
b .L2
.L3:
ldr r3, [fp, #-32]
lsl r3, r3, #2
ldr r2, .L11+24
add r3, r3, r2
mov r2, r3
ldr r1, .L11+20
ldr r0, [fp, #-16]
bl __isoc99_fscanf
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L2:
ldr r3, .L11+16
ldr r3, [r3]
ldr r2, [fp, #-32]
cmp r2, r3
blt .L3
mov r3, #0
str r3, [fp, #-28]
ldr r3, .L11+28
str r3, [fp, #-24]
b .L4
.L9:
ldr r0, [fp, #-24]
bl inDigit
mov r3, r0
cmp r3, #0
beq .L5
mov r3, #11
str r3, [fp, #-20]
b .L6
.L8:
ldr r3, [fp, #-24]
ldr r1, [fp, #-20]
mov r0, r3
bl __aeabi_idivmod
mov r3, r1
cmp r3, #0
bne .L7
ldr r1, [fp, #-20]
ldr r0, [fp, #-24]
bl __aeabi_idiv
mov r3, r0
str r3, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #110
ble .L7
ldr r1, [fp, #-20]
ldr r3, .L11+32
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, #-8]
mul r3, r2, r3
cmp r3, #110
ble .L7
ldr r3, [fp, #-20]
ldr r2, .L11+32
smull r1, r2, r3, r2
asr r2, r2, #2
asr r3, r3, #31
sub r3, r2, r3
ldr r2, [fp, #-8]
mul r3, r2, r3
cmp r3, #110
ble .L7
ldr r1, [fp, #-20]
ldr r3, .L11+32
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, #-8]
mul r3, r2, r3
cmp r3, #1000
bge .L7
ldr r3, [fp, #-20]
ldr r2, .L11+32
smull r1, r2, r3, r2
asr r2, r2, #2
asr r3, r3, #31
sub r3, r2, r3
ldr r2, [fp, #-8]
mul r3, r2, r3
cmp r3, #1000
bge .L7
ldr r0, [fp, #-20]
bl inDigit
mov r3, r0
cmp r3, #0
beq .L7
ldr r0, [fp, #-8]
bl inDigit
mov r3, r0
cmp r3, #0
beq .L7
ldr r1, [fp, #-20]
ldr r3, .L11+32
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, #-8]
mul r3, r2, r3
mov r0, r3
bl inDigit
mov r3, r0
cmp r3, #0
beq .L7
ldr r3, [fp, #-20]
ldr r2, .L11+32
smull r1, r2, r3, r2
asr r2, r2, #2
asr r3, r3, #31
sub r3, r2, r3
ldr r2, [fp, #-8]
mul r3, r2, r3
mov r0, r3
bl inDigit
mov r3, r0
cmp r3, #0
beq .L7
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L7:
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L6:
ldr r3, [fp, #-20]
cmp r3, #99
ble .L8
.L5:
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L4:
ldr r3, [fp, #-24]
ldr r2, .L11+36
cmp r3, r2
ble .L9
ldr r2, [fp, #-28]
ldr r1, .L11+40
ldr r0, [fp, #-12]
bl fprintf
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L12:
.align 2
.L11:
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word N
.word .LC4
.word digits
.word 1111
.word 1717986919
.word 9999
.word .LC5
.size main, .-main
.align 2
.global search
.syntax unified
.arm
.fpu softvfp
.type search, %function
search:
@ 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]
mov r3, #0
str r3, [fp, #-8]
b .L14
.L17:
ldr r2, .L18
ldr r3, [fp, #-8]
ldr r3, [r2, r3, lsl #2]
ldr r2, [fp, #-16]
cmp r2, r3
bne .L15
mov r3, #1
b .L16
.L15:
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L14:
ldr r3, .L18+4
ldr r3, [r3]
ldr r2, [fp, #-8]
cmp r2, r3
blt .L17
mov r3, #0
.L16:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L19:
.align 2
.L18:
.word digits
.word N
.size search, .-search
.align 2
.global inDigit
.syntax unified
.arm
.fpu softvfp
.type inDigit, %function
inDigit:
@ 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 .L21
.L24:
ldr r2, [fp, #-8]
ldr r3, .L25
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 r0, r1
bl search
mov r3, r0
cmp r3, #0
bne .L22
mov r3, #0
b .L23
.L22:
ldr r3, [fp, #-8]
ldr r2, .L25
smull r1, r2, r3, r2
asr r2, r2, #2
asr r3, r3, #31
sub r3, r2, r3
str r3, [fp, #-8]
.L21:
ldr r3, [fp, #-8]
cmp r3, #0
bgt .L24
mov r3, #1
.L23:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L26:
.align 2
.L25:
.word 1717986919
.size inDigit, .-inDigit
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "444294.c"
.intel_syntax noprefix
.text
.globl time
.type time, @function
time:
.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
cmp QWORD PTR -24[rbp], 0
jne .L2
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR [rax], rdx
.L2:
mov rax, QWORD PTR -8[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size time, .-time
.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 "444294.c"
.text
.align 2
.global time
.syntax unified
.arm
.fpu softvfp
.type time, %function
time:
@ 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]
cmp r3, #0
bne .L2
ldr r3, [fp, #-16]
ldr r2, [fp, #-8]
str r2, [r3]
.L2:
ldr r3, [fp, #-8]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size time, .-time
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "69002.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 "69002.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "660449.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "2 to 4: "
.LC1:
.string "%d, "
.LC2:
.string "\n5 to 3: "
.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
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -8[rbp], 2
mov eax, 4
sub eax, DWORD PTR -8[rbp]
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -8[rbp]
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -8[rbp], 1
mov eax, 4
sub eax, DWORD PTR -8[rbp]
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -8[rbp]
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -8[rbp], 0
mov eax, 4
sub eax, DWORD PTR -8[rbp]
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -8[rbp]
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -4[rbp], 2
add DWORD PTR -4[rbp], 3
mov eax, DWORD PTR -4[rbp]
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -4[rbp], 1
add DWORD PTR -4[rbp], 3
mov eax, DWORD PTR -4[rbp]
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -4[rbp], 0
add DWORD PTR -4[rbp], 3
mov eax, DWORD PTR -4[rbp]
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
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 "660449.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "2 to 4: \000"
.align 2
.LC1:
.ascii "%d, \000"
.align 2
.LC2:
.ascii "\0125 to 3: \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 r0, .L3
bl printf
mov r3, #2
str r3, [fp, #-12]
ldr r3, [fp, #-12]
rsb r3, r3, #4
str r3, [fp, #-12]
ldr r1, [fp, #-12]
ldr r0, .L3+4
bl printf
mov r3, #1
str r3, [fp, #-12]
ldr r3, [fp, #-12]
rsb r3, r3, #4
str r3, [fp, #-12]
ldr r1, [fp, #-12]
ldr r0, .L3+4
bl printf
mov r3, #0
str r3, [fp, #-12]
ldr r3, [fp, #-12]
rsb r3, r3, #4
str r3, [fp, #-12]
ldr r1, [fp, #-12]
ldr r0, .L3+4
bl printf
ldr r0, .L3+8
bl printf
mov r3, #2
str r3, [fp, #-8]
ldr r3, [fp, #-8]
add r3, r3, #3
str r3, [fp, #-8]
ldr r1, [fp, #-8]
ldr r0, .L3+4
bl printf
mov r3, #1
str r3, [fp, #-8]
ldr r3, [fp, #-8]
add r3, r3, #3
str r3, [fp, #-8]
ldr r1, [fp, #-8]
ldr r0, .L3+4
bl printf
mov r3, #0
str r3, [fp, #-8]
ldr r3, [fp, #-8]
add r3, r3, #3
str r3, [fp, #-8]
ldr r1, [fp, #-8]
ldr r0, .L3+4
bl printf
mov r0, #10
bl putchar
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L4:
.align 2
.L3:
.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 "289927.c"
.intel_syntax noprefix
.text
.local progress_max
.comm progress_max,8,8
.local progress_pcent
.comm progress_pcent,4,4
.local progress_n_upd
.comm progress_n_upd,8,8
.local progress_prevsec
.comm progress_prevsec,4,4
.local progress_start
.comm progress_start,16,16
.section .rodata
.LC0:
.string "\r["
.LC1:
.string "] 0%%"
.text
.globl progress_init
.type progress_init, @function
progress_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 QWORD PTR -24[rbp], rdi
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR progress_max[rip], rax
mov DWORD PTR progress_pcent[rip], 0
mov QWORD PTR progress_n_upd[rip], -1
mov DWORD PTR progress_prevsec[rip], -1
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -4[rbp], 0
jmp .L2
.L3:
mov edi, 32
call putchar@PLT
add DWORD PTR -4[rbp], 1
.L2:
cmp DWORD PTR -4[rbp], 49
jbe .L3
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR stdout[rip]
mov rdi, rax
call fflush@PLT
lea rsi, progress_start[rip]
mov edi, 1
call clock_gettime@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size progress_init, .-progress_init
.section .rodata
.LC2:
.string "] %d%%"
.LC3:
.string " ETA:%ds "
.LC4:
.string " ETA:%d:%02d:%02d "
.text
.globl progress_tick
.type progress_tick, @function
progress_tick:
.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, 80
mov QWORD PTR -72[rbp], rdi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov rdx, QWORD PTR -72[rbp]
mov rax, rdx
sal rax, 2
add rax, rdx
lea rdx, 0[0+rax*4]
add rax, rdx
sal rax, 2
mov rdi, QWORD PTR progress_max[rip]
mov edx, 0
div rdi
mov DWORD PTR -44[rbp], eax
mov eax, DWORD PTR progress_pcent[rip]
cmp DWORD PTR -44[rbp], eax
jne .L5
mov rax, QWORD PTR progress_n_upd[rip]
cmp QWORD PTR -72[rbp], rax
jnb .L5
mov rax, QWORD PTR progress_max[rip]
cmp QWORD PTR -72[rbp], rax
jb .L16
.L5:
mov eax, DWORD PTR -44[rbp]
mov DWORD PTR progress_pcent[rip], eax
mov eax, DWORD PTR -44[rbp]
imul eax, eax, 50
mov edx, eax
imul rdx, rdx, 1148159575
shr rdx, 32
sub eax, edx
shr eax
add eax, edx
shr eax, 6
mov DWORD PTR -40[rbp], eax
lea rax, -32[rbp]
mov rsi, rax
mov edi, 1
call clock_gettime@PLT
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -56[rbp], 0
jmp .L7
.L8:
mov edi, 61
call putchar@PLT
add DWORD PTR -56[rbp], 1
.L7:
mov eax, DWORD PTR -56[rbp]
cmp eax, DWORD PTR -40[rbp]
jbe .L8
jmp .L9
.L10:
mov edi, 32
call putchar@PLT
add DWORD PTR -56[rbp], 1
.L9:
cmp DWORD PTR -56[rbp], 49
jbe .L10
mov eax, DWORD PTR -44[rbp]
mov esi, eax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR -32[rbp]
mov edx, eax
mov rax, QWORD PTR progress_start[rip]
mov ecx, eax
mov eax, edx
sub eax, ecx
mov DWORD PTR -36[rbp], eax
cmp DWORD PTR -36[rbp], 4
jbe .L11
cmp DWORD PTR -44[rbp], 0
je .L11
mov edi, DWORD PTR -36[rbp]
mov rax, QWORD PTR -72[rbp]
mov edx, 0
div rdi
mov DWORD PTR -52[rbp], eax
cmp DWORD PTR -52[rbp], 0
jne .L12
mov DWORD PTR -52[rbp], 1
.L12:
mov edx, DWORD PTR -52[rbp]
mov rax, QWORD PTR -72[rbp]
add rax, rdx
mov QWORD PTR progress_n_upd[rip], rax
mov eax, DWORD PTR -36[rbp]
imul edx, eax, 100
mov eax, DWORD PTR -44[rbp]
shr eax
add eax, edx
mov edx, 0
div DWORD PTR -44[rbp]
sub eax, DWORD PTR -36[rbp]
mov DWORD PTR -48[rbp], eax
mov eax, DWORD PTR progress_prevsec[rip]
cmp DWORD PTR -48[rbp], eax
jbe .L13
mov eax, DWORD PTR progress_prevsec[rip]
mov DWORD PTR -48[rbp], eax
.L13:
mov eax, DWORD PTR -48[rbp]
mov DWORD PTR progress_prevsec[rip], eax
cmp DWORD PTR -48[rbp], 59
ja .L14
mov eax, DWORD PTR -48[rbp]
mov esi, eax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
jmp .L11
.L14:
mov eax, DWORD PTR -48[rbp]
mov ecx, eax
mov edx, 2290649225
imul rdx, rcx
shr rdx, 32
shr edx, 5
imul ecx, edx, 60
sub eax, ecx
mov edx, eax
mov eax, DWORD PTR -48[rbp]
mov ecx, eax
mov eax, 2290649225
imul rax, rcx
shr rax, 32
mov ecx, eax
shr ecx, 5
mov esi, ecx
mov eax, 2290649225
imul rax, rsi
shr rax, 32
shr eax, 5
imul esi, eax, 60
mov eax, ecx
sub eax, esi
mov ecx, DWORD PTR -48[rbp]
mov esi, ecx
mov ecx, 2443359173
imul rcx, rsi
shr rcx, 32
mov esi, ecx
shr esi, 11
mov ecx, edx
mov edx, eax
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
.L11:
mov rax, QWORD PTR stdout[rip]
mov rdi, rax
call fflush@PLT
jmp .L4
.L16:
nop
.L4:
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L15
call __stack_chk_fail@PLT
.L15:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size progress_tick, .-progress_tick
.globl progress_end
.type progress_end, @function
progress_end:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov edi, 10
call putchar@PLT
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size progress_end, .-progress_end
.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 "289927.c"
.text
.local progress_max
.comm progress_max,4,4
.local progress_pcent
.comm progress_pcent,4,4
.local progress_n_upd
.comm progress_n_upd,4,4
.local progress_prevsec
.comm progress_prevsec,4,4
.local progress_start
.comm progress_start,8,4
.section .rodata
.align 2
.LC0:
.ascii "\015[\000"
.align 2
.LC1:
.ascii "] 0%%\000"
.text
.align 2
.global progress_init
.syntax unified
.arm
.fpu softvfp
.type progress_init, %function
progress_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]
ldr r2, .L4
ldr r3, [fp, #-16]
str r3, [r2]
ldr r3, .L4+4
mov r2, #0
str r2, [r3]
ldr r3, .L4+8
mvn r2, #0
str r2, [r3]
ldr r3, .L4+12
mvn r2, #0
str r2, [r3]
ldr r0, .L4+16
bl printf
mov r3, #0
str r3, [fp, #-8]
b .L2
.L3:
mov r0, #32
bl putchar
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L2:
ldr r3, [fp, #-8]
cmp r3, #49
bls .L3
ldr r0, .L4+20
bl printf
ldr r3, .L4+24
ldr r3, [r3]
mov r0, r3
bl fflush
ldr r1, .L4+28
mov r0, #1
bl clock_gettime
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L5:
.align 2
.L4:
.word progress_max
.word progress_pcent
.word progress_n_upd
.word progress_prevsec
.word .LC0
.word .LC1
.word stdout
.word progress_start
.size progress_init, .-progress_init
.global __aeabi_uidiv
.section .rodata
.align 2
.LC2:
.ascii "] %d%%\000"
.align 2
.LC3:
.ascii " ETA:%ds \000"
.align 2
.LC4:
.ascii " ETA:%d:%02d:%02d \000"
.align 2
.LC5:
.word __stack_chk_guard
.text
.align 2
.global progress_tick
.syntax unified
.arm
.fpu softvfp
.type progress_tick, %function
progress_tick:
@ 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, #-48]
ldr r3, .L19
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r2, [fp, #-48]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r2, r3, #2
add r3, r3, r2
lsl r3, r3, #2
mov r2, r3
ldr r3, .L19+4
ldr r3, [r3]
mov r1, r3
mov r0, r2
bl __aeabi_uidiv
mov r3, r0
str r3, [fp, #-28]
ldr r3, .L19+8
ldr r3, [r3]
ldr r2, [fp, #-28]
cmp r2, r3
bne .L7
ldr r3, .L19+12
ldr r3, [r3]
ldr r2, [fp, #-48]
cmp r2, r3
bcs .L7
ldr r3, .L19+4
ldr r3, [r3]
ldr r2, [fp, #-48]
cmp r2, r3
bcc .L18
.L7:
ldr r2, .L19+8
ldr r3, [fp, #-28]
str r3, [r2]
ldr r2, [fp, #-28]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r2, r3, #2
add r3, r3, r2
lsl r3, r3, #1
mov r2, r3
ldr r3, .L19+16
umull r1, r3, r2, r3
sub r2, r2, r3
lsr r2, r2, #1
add r3, r3, r2
lsr r3, r3, #6
str r3, [fp, #-24]
sub r3, fp, #16
mov r1, r3
mov r0, #1
bl clock_gettime
ldr r0, .L19+20
bl printf
mov r3, #0
str r3, [fp, #-40]
b .L9
.L10:
mov r0, #61
bl putchar
ldr r3, [fp, #-40]
add r3, r3, #1
str r3, [fp, #-40]
.L9:
ldr r2, [fp, #-40]
ldr r3, [fp, #-24]
cmp r2, r3
bls .L10
b .L11
.L12:
mov r0, #32
bl putchar
ldr r3, [fp, #-40]
add r3, r3, #1
str r3, [fp, #-40]
.L11:
ldr r3, [fp, #-40]
cmp r3, #49
bls .L12
ldr r1, [fp, #-28]
ldr r0, .L19+24
bl printf
ldr r2, [fp, #-16]
ldr r3, .L19+28
ldr r3, [r3]
sub r3, r2, r3
str r3, [fp, #-20]
ldr r3, [fp, #-20]
cmp r3, #4
bls .L13
ldr r3, [fp, #-28]
cmp r3, #0
beq .L13
ldr r1, [fp, #-20]
ldr r0, [fp, #-48]
bl __aeabi_uidiv
mov r3, r0
str r3, [fp, #-36]
ldr r3, [fp, #-36]
cmp r3, #0
bne .L14
mov r3, #1
str r3, [fp, #-36]
.L14:
ldr r2, [fp, #-48]
ldr r3, [fp, #-36]
add r3, r2, r3
ldr r2, .L19+12
str r3, [r2]
ldr r2, [fp, #-20]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r2, r3, #2
add r3, r3, r2
lsl r3, r3, #2
mov r2, r3
ldr r3, [fp, #-28]
lsr r3, r3, #1
add r3, r2, r3
ldr r1, [fp, #-28]
mov r0, r3
bl __aeabi_uidiv
mov r3, r0
mov r2, r3
ldr r3, [fp, #-20]
sub r3, r2, r3
str r3, [fp, #-32]
ldr r3, .L19+32
ldr r3, [r3]
ldr r2, [fp, #-32]
cmp r2, r3
bls .L15
ldr r3, .L19+32
ldr r3, [r3]
str r3, [fp, #-32]
.L15:
ldr r2, .L19+32
ldr r3, [fp, #-32]
str r3, [r2]
ldr r3, [fp, #-32]
cmp r3, #59
bhi .L16
ldr r1, [fp, #-32]
ldr r0, .L19+36
bl printf
b .L13
.L16:
ldr r3, [fp, #-32]
ldr r2, .L19+40
umull r1, r3, r2, r3
lsr ip, r3, #11
ldr r3, [fp, #-32]
ldr r2, .L19+44
umull r1, r3, r2, r3
lsr r1, r3, #5
ldr r3, .L19+44
umull r2, r3, r1, r3
lsr r2, r3, #5
mov r3, r2
lsl r3, r3, #4
sub r3, r3, r2
lsl r3, r3, #2
sub r2, r1, r3
ldr r0, [fp, #-32]
ldr r3, .L19+44
umull r1, r3, r0, r3
lsr r1, r3, #5
mov r3, r1
lsl r3, r3, #4
sub r3, r3, r1
lsl r3, r3, #2
sub r1, r0, r3
mov r3, r1
mov r1, ip
ldr r0, .L19+48
bl printf
.L13:
ldr r3, .L19+52
ldr r3, [r3]
mov r0, r3
bl fflush
b .L6
.L18:
nop
.L6:
ldr r3, .L19
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L17
bl __stack_chk_fail
.L17:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L20:
.align 2
.L19:
.word .LC5
.word progress_max
.word progress_pcent
.word progress_n_upd
.word 1148159575
.word .LC0
.word .LC2
.word progress_start
.word progress_prevsec
.word .LC3
.word -1851608123
.word -2004318071
.word .LC4
.word stdout
.size progress_tick, .-progress_tick
.align 2
.global progress_end
.syntax unified
.arm
.fpu softvfp
.type progress_end, %function
progress_end:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
mov r0, #10
bl putchar
nop
pop {fp, pc}
.size progress_end, .-progress_end
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "646087.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "Frequency"
.LC1:
.string "Face"
.LC2:
.string "%s%17s\n"
.LC3:
.string "%4d%17d\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, 64
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov QWORD PTR -48[rbp], 0
mov QWORD PTR -40[rbp], 0
mov QWORD PTR -32[rbp], 0
mov DWORD PTR -24[rbp], 0
mov edi, 0
call time@PLT
mov edi, eax
call srand@PLT
mov DWORD PTR -52[rbp], 1
jmp .L2
.L3:
call rand@PLT
mov edx, eax
movsx rax, edx
imul rax, rax, 715827883
shr rax, 32
mov esi, edx
sar esi, 31
mov ecx, eax
sub ecx, esi
mov eax, ecx
add eax, eax
add eax, ecx
add eax, eax
mov ecx, edx
sub ecx, eax
lea eax, 1[rcx]
mov DWORD PTR -56[rbp], eax
mov eax, DWORD PTR -56[rbp]
cdqe
mov eax, DWORD PTR -48[rbp+rax*4]
lea edx, 1[rax]
mov eax, DWORD PTR -56[rbp]
cdqe
mov DWORD PTR -48[rbp+rax*4], edx
add DWORD PTR -52[rbp], 1
.L2:
cmp DWORD PTR -52[rbp], 6000
jle .L3
lea rdx, .LC0[rip]
lea rsi, .LC1[rip]
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -56[rbp], 1
jmp .L4
.L5:
mov eax, DWORD PTR -56[rbp]
cdqe
mov edx, DWORD PTR -48[rbp+rax*4]
mov eax, DWORD PTR -56[rbp]
mov esi, eax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -56[rbp], 1
.L4:
cmp DWORD PTR -56[rbp], 6
jle .L5
mov eax, 0
mov rdi, QWORD PTR -8[rbp]
sub rdi, QWORD PTR fs:40
je .L7
call __stack_chk_fail@PLT
.L7:
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 "646087.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "Frequency\000"
.align 2
.LC1:
.ascii "Face\000"
.align 2
.LC2:
.ascii "%s%17s\012\000"
.align 2
.LC3:
.ascii "%4d%17d\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 = 40
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #40
ldr r3, .L8
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r3, fp, #36
mov r2, #0
str r2, [r3]
str r2, [r3, #4]
str r2, [r3, #8]
str r2, [r3, #12]
str r2, [r3, #16]
str r2, [r3, #20]
str r2, [r3, #24]
mov r0, #0
bl time
mov r3, r0
mov r0, r3
bl srand
mov r3, #1
str r3, [fp, #-40]
b .L2
.L3:
bl rand
mov r1, r0
ldr r3, .L8+4
smull r0, r2, r3, r1
asr r3, r1, #31
sub r2, r2, r3
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #1
sub r2, r1, r3
add r3, r2, #1
str r3, [fp, #-44]
ldr r3, [fp, #-44]
lsl r3, r3, #2
sub r2, fp, #4
add r3, r2, r3
ldr r3, [r3, #-32]
add r2, r3, #1
ldr r3, [fp, #-44]
lsl r3, r3, #2
sub r1, fp, #4
add r3, r1, r3
str r2, [r3, #-32]
ldr r3, [fp, #-40]
add r3, r3, #1
str r3, [fp, #-40]
.L2:
ldr r3, [fp, #-40]
ldr r2, .L8+8
cmp r3, r2
ble .L3
ldr r2, .L8+12
ldr r1, .L8+16
ldr r0, .L8+20
bl printf
mov r3, #1
str r3, [fp, #-44]
b .L4
.L5:
ldr r3, [fp, #-44]
lsl r3, r3, #2
sub r2, fp, #4
add r3, r2, r3
ldr r3, [r3, #-32]
mov r2, r3
ldr r1, [fp, #-44]
ldr r0, .L8+24
bl printf
ldr r3, [fp, #-44]
add r3, r3, #1
str r3, [fp, #-44]
.L4:
ldr r3, [fp, #-44]
cmp r3, #6
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 715827883
.word 6000
.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 "842594.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 "842594.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "41752.c"
.intel_syntax noprefix
.text
.type Cf, @function
Cf:
.LFB6:
.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]
movss xmm0, DWORD PTR 4[rax]
mov rax, QWORD PTR -8[rbp]
movss xmm2, DWORD PTR [rax]
pxor xmm1, xmm1
mulss xmm1, xmm0
addss xmm1, xmm2
movss DWORD PTR -16[rbp], xmm1
movss DWORD PTR -12[rbp], xmm0
mov rax, QWORD PTR -16[rbp]
movq xmm0, rax
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size Cf, .-Cf
.type _pCf, @function
_pCf:
.LFB8:
.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]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size _pCf, .-_pCf
.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 .LC1[rip]
movss DWORD PTR -12[rbp], xmm0
cmp DWORD PTR -24[rbp], 0
je .L6
cmp DWORD PTR -24[rbp], 0
jns .L7
neg DWORD PTR -24[rbp]
movss xmm0, DWORD PTR .LC1[rip]
divss xmm0, DWORD PTR -20[rbp]
movss DWORD PTR -20[rbp], xmm0
.L7:
mov eax, DWORD PTR -24[rbp]
cdqe
mov QWORD PTR -8[rbp], rax
.L11:
mov rax, QWORD PTR -8[rbp]
and eax, 1
test rax, rax
je .L8
movss xmm0, DWORD PTR -12[rbp]
mulss xmm0, DWORD PTR -20[rbp]
movss DWORD PTR -12[rbp], xmm0
.L8:
shr QWORD PTR -8[rbp]
cmp QWORD PTR -8[rbp], 0
je .L13
movss xmm0, DWORD PTR -20[rbp]
mulss xmm0, xmm0
movss DWORD PTR -20[rbp], xmm0
jmp .L11
.L13:
nop
.L6:
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 .LC2[rip]
movsd QWORD PTR -16[rbp], xmm0
cmp DWORD PTR -28[rbp], 0
je .L15
cmp DWORD PTR -28[rbp], 0
jns .L16
neg DWORD PTR -28[rbp]
movsd xmm0, QWORD PTR .LC2[rip]
divsd xmm0, QWORD PTR -24[rbp]
movsd QWORD PTR -24[rbp], xmm0
.L16:
mov eax, DWORD PTR -28[rbp]
cdqe
mov QWORD PTR -8[rbp], rax
.L20:
mov rax, QWORD PTR -8[rbp]
and eax, 1
test rax, rax
je .L17
movsd xmm0, QWORD PTR -16[rbp]
mulsd xmm0, QWORD PTR -24[rbp]
movsd QWORD PTR -16[rbp], xmm0
.L17:
shr QWORD PTR -8[rbp]
cmp QWORD PTR -8[rbp], 0
je .L22
movsd xmm0, QWORD PTR -24[rbp]
mulsd xmm0, xmm0
movsd QWORD PTR -24[rbp], xmm0
jmp .L20
.L22:
nop
.L15:
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 .LC1[rip]
movss DWORD PTR -8[rbp], xmm0
pxor xmm0, xmm0
movss DWORD PTR -4[rbp], xmm0
cmp DWORD PTR -52[rbp], 0
je .L31
cmp DWORD PTR -52[rbp], 0
jns .L25
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 .LC1[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
.L25:
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 .LC1[rip]
movss DWORD PTR -24[rbp], xmm0
.L29:
mov rax, QWORD PTR -16[rbp]
and eax, 1
test rax, rax
je .L26
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
.L26:
shr QWORD PTR -16[rbp]
cmp QWORD PTR -16[rbp], 0
je .L32
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 .L29
.L31:
pxor xmm0, xmm0
movss DWORD PTR -20[rbp], xmm0
movss xmm0, DWORD PTR .LC1[rip]
movss DWORD PTR -24[rbp], xmm0
jmp .L24
.L32:
nop
.L24:
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 .LC2[rip]
movsd QWORD PTR -16[rbp], xmm0
pxor xmm0, xmm0
movsd QWORD PTR -8[rbp], xmm0
cmp DWORD PTR -84[rbp], 0
je .L41
cmp DWORD PTR -84[rbp], 0
jns .L35
neg DWORD PTR -84[rbp]
movsd xmm1, QWORD PTR -40[rbp]
movsd xmm0, QWORD PTR -48[rbp]
mov rax, QWORD PTR .LC2[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
.L35:
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 .LC2[rip]
movsd QWORD PTR -32[rbp], xmm0
.L39:
mov rax, QWORD PTR -56[rbp]
and eax, 1
test rax, rax
je .L36
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
.L36:
shr QWORD PTR -56[rbp]
cmp QWORD PTR -56[rbp], 0
je .L42
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 .L39
.L41:
pxor xmm0, xmm0
movsd QWORD PTR -24[rbp], xmm0
movsd xmm0, QWORD PTR .LC2[rip]
movsd QWORD PTR -32[rbp], xmm0
jmp .L34
.L42:
nop
.L34:
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 .L44
cmp DWORD PTR -24[rbp], 0
je .L45
cmp DWORD PTR -20[rbp], 1
jne .L46
.L45:
mov DWORD PTR -12[rbp], 1
jmp .L44
.L46:
cmp DWORD PTR -20[rbp], -1
je .L47
cmp DWORD PTR -20[rbp], 0
jne .L48
mov eax, 1
cdq
idiv DWORD PTR -20[rbp]
jmp .L49
.L48:
mov eax, 0
.L49:
mov DWORD PTR -12[rbp], eax
jmp .L44
.L47:
neg DWORD PTR -24[rbp]
.L44:
cmp DWORD PTR -24[rbp], 0
jg .L50
cmp DWORD PTR -24[rbp], 0
je .L51
cmp DWORD PTR -20[rbp], 1
je .L51
cmp DWORD PTR -20[rbp], -1
jne .L51
.L50:
mov eax, DWORD PTR -24[rbp]
cdqe
mov QWORD PTR -8[rbp], rax
mov DWORD PTR -12[rbp], 1
.L55:
mov rax, QWORD PTR -8[rbp]
and eax, 1
test rax, rax
je .L52
mov eax, DWORD PTR -12[rbp]
imul eax, DWORD PTR -20[rbp]
mov DWORD PTR -12[rbp], eax
.L52:
shr QWORD PTR -8[rbp]
cmp QWORD PTR -8[rbp], 0
je .L57
mov eax, DWORD PTR -20[rbp]
imul eax, eax
mov DWORD PTR -20[rbp], eax
jmp .L55
.L57:
nop
.L51:
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 .L59
.L62:
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 .L60
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
.L60:
add DWORD PTR -16[rbp], 1
.L59:
mov eax, DWORD PTR -16[rbp]
cmp eax, DWORD PTR -32[rbp]
jle .L62
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 .L66
.L69:
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 .L67
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
.L67:
add DWORD PTR -8[rbp], 1
.L66:
mov eax, DWORD PTR -8[rbp]
cmp eax, DWORD PTR -32[rbp]
jle .L69
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
.section .rodata
.LC4:
.string "L"
.LC5:
.string "N"
.LC6:
.string "R"
.LC7:
.string "C"
.LC8:
.string "CUNM2L"
.text
.globl cunm2l_
.type cunm2l_, @function
cunm2l_:
.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, 208
mov QWORD PTR -104[rbp], rdi
mov QWORD PTR -112[rbp], rsi
mov QWORD PTR -120[rbp], rdx
mov QWORD PTR -128[rbp], rcx
mov QWORD PTR -136[rbp], r8
mov QWORD PTR -144[rbp], r9
mov rax, QWORD PTR 16[rbp]
mov QWORD PTR -152[rbp], rax
mov rax, QWORD PTR 24[rbp]
mov QWORD PTR -160[rbp], rax
mov rax, QWORD PTR 32[rbp]
mov QWORD PTR -168[rbp], rax
mov rax, QWORD PTR 40[rbp]
mov QWORD PTR -176[rbp], rax
mov rax, QWORD PTR 48[rbp]
mov QWORD PTR -184[rbp], rax
mov rax, QWORD PTR 56[rbp]
mov QWORD PTR -192[rbp], rax
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov rax, QWORD PTR -152[rbp]
mov eax, DWORD PTR [rax]
mov DWORD PTR -64[rbp], eax
mov eax, DWORD PTR -64[rbp]
add eax, 1
mov DWORD PTR -60[rbp], eax
mov eax, DWORD PTR -60[rbp]
cdqe
sal rax, 3
neg rax
add QWORD PTR -144[rbp], rax
sub QWORD PTR -160[rbp], 8
mov rax, QWORD PTR -176[rbp]
mov eax, DWORD PTR [rax]
mov DWORD PTR -56[rbp], eax
mov eax, DWORD PTR -56[rbp]
add eax, 1
mov DWORD PTR -52[rbp], eax
mov eax, DWORD PTR -52[rbp]
cdqe
sal rax, 3
neg rax
add QWORD PTR -168[rbp], rax
sub QWORD PTR -184[rbp], 8
mov rax, QWORD PTR -192[rbp]
mov DWORD PTR [rax], 0
mov rax, QWORD PTR -104[rbp]
lea rsi, .LC4[rip]
mov rdi, rax
call lsame_@PLT
mov DWORD PTR -48[rbp], eax
mov rax, QWORD PTR -112[rbp]
lea rsi, .LC5[rip]
mov rdi, rax
call lsame_@PLT
mov DWORD PTR -44[rbp], eax
cmp DWORD PTR -48[rbp], 0
je .L73
mov rax, QWORD PTR -120[rbp]
mov eax, DWORD PTR [rax]
mov DWORD PTR -68[rbp], eax
jmp .L74
.L73:
mov rax, QWORD PTR -128[rbp]
mov eax, DWORD PTR [rax]
mov DWORD PTR -68[rbp], eax
.L74:
cmp DWORD PTR -48[rbp], 0
jne .L75
mov rax, QWORD PTR -104[rbp]
lea rsi, .LC6[rip]
mov rdi, rax
call lsame_@PLT
test eax, eax
jne .L75
mov rax, QWORD PTR -192[rbp]
mov DWORD PTR [rax], -1
jmp .L76
.L75:
cmp DWORD PTR -44[rbp], 0
jne .L77
mov rax, QWORD PTR -112[rbp]
lea rsi, .LC7[rip]
mov rdi, rax
call lsame_@PLT
test eax, eax
jne .L77
mov rax, QWORD PTR -192[rbp]
mov DWORD PTR [rax], -2
jmp .L76
.L77:
mov rax, QWORD PTR -120[rbp]
mov eax, DWORD PTR [rax]
test eax, eax
jns .L78
mov rax, QWORD PTR -192[rbp]
mov DWORD PTR [rax], -3
jmp .L76
.L78:
mov rax, QWORD PTR -128[rbp]
mov eax, DWORD PTR [rax]
test eax, eax
jns .L79
mov rax, QWORD PTR -192[rbp]
mov DWORD PTR [rax], -4
jmp .L76
.L79:
mov rax, QWORD PTR -136[rbp]
mov eax, DWORD PTR [rax]
test eax, eax
js .L80
mov rax, QWORD PTR -136[rbp]
mov eax, DWORD PTR [rax]
cmp DWORD PTR -68[rbp], eax
jge .L81
.L80:
mov rax, QWORD PTR -192[rbp]
mov DWORD PTR [rax], -5
jmp .L76
.L81:
mov rax, QWORD PTR -152[rbp]
mov edx, DWORD PTR [rax]
mov eax, 1
cmp DWORD PTR -68[rbp], 0
cmovg eax, DWORD PTR -68[rbp]
cmp edx, eax
jge .L82
mov rax, QWORD PTR -192[rbp]
mov DWORD PTR [rax], -7
jmp .L76
.L82:
mov rax, QWORD PTR -176[rbp]
mov edx, DWORD PTR [rax]
mov rax, QWORD PTR -120[rbp]
mov eax, DWORD PTR [rax]
mov ecx, 1
test eax, eax
cmovle eax, ecx
cmp edx, eax
jge .L76
mov rax, QWORD PTR -192[rbp]
mov DWORD PTR [rax], -10
.L76:
mov rax, QWORD PTR -192[rbp]
mov eax, DWORD PTR [rax]
test eax, eax
je .L83
mov rax, QWORD PTR -192[rbp]
mov eax, DWORD PTR [rax]
neg eax
mov DWORD PTR -96[rbp], eax
lea rax, -96[rbp]
mov edx, 6
mov rsi, rax
lea rdi, .LC8[rip]
call xerbla_@PLT
mov eax, 0
jmp .L101
.L83:
mov rax, QWORD PTR -120[rbp]
mov eax, DWORD PTR [rax]
test eax, eax
je .L85
mov rax, QWORD PTR -128[rbp]
mov eax, DWORD PTR [rax]
test eax, eax
je .L85
mov rax, QWORD PTR -136[rbp]
mov eax, DWORD PTR [rax]
test eax, eax
jne .L86
.L85:
mov eax, 0
jmp .L101
.L86:
cmp DWORD PTR -48[rbp], 0
je .L87
cmp DWORD PTR -44[rbp], 0
jne .L88
.L87:
cmp DWORD PTR -48[rbp], 0
jne .L89
cmp DWORD PTR -44[rbp], 0
jne .L89
.L88:
mov DWORD PTR -80[rbp], 1
mov rax, QWORD PTR -136[rbp]
mov eax, DWORD PTR [rax]
mov DWORD PTR -76[rbp], eax
mov DWORD PTR -72[rbp], 1
jmp .L90
.L89:
mov rax, QWORD PTR -136[rbp]
mov eax, DWORD PTR [rax]
mov DWORD PTR -80[rbp], eax
mov DWORD PTR -76[rbp], 1
mov DWORD PTR -72[rbp], -1
.L90:
cmp DWORD PTR -48[rbp], 0
je .L91
mov rax, QWORD PTR -128[rbp]
mov eax, DWORD PTR [rax]
mov DWORD PTR -88[rbp], eax
jmp .L92
.L91:
mov rax, QWORD PTR -120[rbp]
mov eax, DWORD PTR [rax]
mov DWORD PTR -92[rbp], eax
.L92:
mov eax, DWORD PTR -76[rbp]
mov DWORD PTR -96[rbp], eax
mov eax, DWORD PTR -72[rbp]
mov DWORD PTR -40[rbp], eax
mov eax, DWORD PTR -80[rbp]
mov DWORD PTR -84[rbp], eax
jmp .L93
.L100:
cmp DWORD PTR -48[rbp], 0
je .L94
mov rax, QWORD PTR -120[rbp]
mov edx, DWORD PTR [rax]
mov rax, QWORD PTR -136[rbp]
mov eax, DWORD PTR [rax]
sub edx, eax
mov eax, DWORD PTR -84[rbp]
add eax, edx
mov DWORD PTR -92[rbp], eax
jmp .L95
.L94:
mov rax, QWORD PTR -128[rbp]
mov edx, DWORD PTR [rax]
mov rax, QWORD PTR -136[rbp]
mov eax, DWORD PTR [rax]
sub edx, eax
mov eax, DWORD PTR -84[rbp]
add eax, edx
mov DWORD PTR -88[rbp], eax
.L95:
cmp DWORD PTR -44[rbp], 0
je .L96
mov eax, DWORD PTR -84[rbp]
mov DWORD PTR -36[rbp], eax
mov eax, DWORD PTR -36[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -160[rbp]
add rax, rdx
movss xmm0, DWORD PTR [rax]
movss DWORD PTR -24[rbp], xmm0
mov eax, DWORD PTR -36[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -160[rbp]
add rax, rdx
movss xmm0, DWORD PTR 4[rax]
movss DWORD PTR -20[rbp], xmm0
jmp .L97
.L96:
mov eax, DWORD PTR -84[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -160[rbp]
add rax, rdx
mov rdi, rax
call Cf
movq rax, xmm0
mov QWORD PTR -200[rbp], rax
movss xmm1, DWORD PTR -200[rbp]
movss xmm0, DWORD PTR -196[rbp]
movss DWORD PTR -204[rbp], xmm1
cvtss2sd xmm0, xmm0
cvtsd2ss xmm0, xmm0
movss xmm1, DWORD PTR .LC9[rip]
xorps xmm0, xmm1
movss DWORD PTR -208[rbp], xmm0
lea rax, -32[rbp]
mov rdi, rax
call _pCf
movss xmm1, DWORD PTR -204[rbp]
movss xmm0, DWORD PTR -208[rbp]
movss DWORD PTR [rax], xmm1
movss DWORD PTR 4[rax], xmm0
movss xmm0, DWORD PTR -32[rbp]
movss DWORD PTR -24[rbp], xmm0
movss xmm0, DWORD PTR -28[rbp]
movss DWORD PTR -20[rbp], xmm0
.L97:
mov rax, QWORD PTR -136[rbp]
mov edx, DWORD PTR [rax]
mov eax, DWORD PTR -68[rbp]
sub eax, edx
mov ecx, eax
mov eax, DWORD PTR -84[rbp]
lea edx, [rcx+rax]
mov eax, DWORD PTR -84[rbp]
imul eax, DWORD PTR -64[rbp]
add eax, edx
mov DWORD PTR -36[rbp], eax
mov eax, DWORD PTR -36[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -144[rbp]
add rax, rdx
movss xmm0, DWORD PTR [rax]
movss DWORD PTR -16[rbp], xmm0
mov eax, DWORD PTR -36[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -144[rbp]
add rax, rdx
movss xmm0, DWORD PTR 4[rax]
movss DWORD PTR -12[rbp], xmm0
mov rax, QWORD PTR -136[rbp]
mov edx, DWORD PTR [rax]
mov eax, DWORD PTR -68[rbp]
sub eax, edx
mov ecx, eax
mov eax, DWORD PTR -84[rbp]
lea edx, [rcx+rax]
mov eax, DWORD PTR -84[rbp]
imul eax, DWORD PTR -64[rbp]
add eax, edx
mov DWORD PTR -36[rbp], eax
mov eax, DWORD PTR -36[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -144[rbp]
add rax, rdx
movss xmm0, DWORD PTR .LC1[rip]
movss DWORD PTR [rax], xmm0
mov eax, DWORD PTR -36[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -144[rbp]
add rax, rdx
pxor xmm0, xmm0
movss DWORD PTR 4[rax], xmm0
mov rax, QWORD PTR -184[rbp]
lea r8, 8[rax]
mov eax, DWORD PTR -52[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -168[rbp]
lea rdi, [rdx+rax]
mov eax, DWORD PTR -84[rbp]
imul eax, DWORD PTR -64[rbp]
cdqe
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -144[rbp]
lea rcx, [rdx+rax]
lea r9, -24[rbp]
lea rdx, -88[rbp]
lea rsi, -92[rbp]
mov rax, QWORD PTR -104[rbp]
sub rsp, 8
push r8
push QWORD PTR -176[rbp]
push rdi
lea r8, c__1[rip]
mov rdi, rax
call clarf_@PLT
add rsp, 32
mov rax, QWORD PTR -136[rbp]
mov edx, DWORD PTR [rax]
mov eax, DWORD PTR -68[rbp]
sub eax, edx
mov ecx, eax
mov eax, DWORD PTR -84[rbp]
lea edx, [rcx+rax]
mov eax, DWORD PTR -84[rbp]
imul eax, DWORD PTR -64[rbp]
add eax, edx
mov DWORD PTR -36[rbp], eax
mov eax, DWORD PTR -36[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -144[rbp]
add rax, rdx
movss xmm0, DWORD PTR -16[rbp]
movss DWORD PTR [rax], xmm0
mov eax, DWORD PTR -36[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -144[rbp]
add rax, rdx
movss xmm0, DWORD PTR -12[rbp]
movss DWORD PTR 4[rax], xmm0
mov eax, DWORD PTR -40[rbp]
add DWORD PTR -84[rbp], eax
.L93:
cmp DWORD PTR -40[rbp], 0
jns .L98
mov eax, DWORD PTR -96[rbp]
cmp DWORD PTR -84[rbp], eax
setge al
jmp .L99
.L98:
mov eax, DWORD PTR -96[rbp]
cmp DWORD PTR -84[rbp], eax
setle al
.L99:
test al, al
jne .L100
mov eax, 0
.L101:
mov rsi, QWORD PTR -8[rbp]
sub rsi, QWORD PTR fs:40
je .L102
call __stack_chk_fail@PLT
.L102:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE21:
.size cunm2l_, .-cunm2l_
.section .rodata
.align 4
.LC1:
.long 1065353216
.align 8
.LC2:
.long 0
.long 1072693248
.align 16
.LC9:
.long -2147483648
.long 0
.long 0
.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 "41752.c"
.text
.global __aeabi_fmul
.global __aeabi_fadd
.align 2
.syntax unified
.arm
.fpu softvfp
.type Cf, %function
Cf:
@ 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]
str r1, [fp, #-20]
ldr r3, [fp, #-20]
ldr r4, [r3, #4] @ float
ldr r3, [fp, #-20]
ldr r5, [r3] @ float
mov r1, #0
mov r0, r4
bl __aeabi_fmul
mov r3, r0
mov r1, r3
mov r0, r5
bl __aeabi_fadd
mov r3, r0
mov r1, r3
mov r2, r4
ldr r3, [fp, #-16]
str r1, [r3] @ float
str r2, [r3, #4] @ float
ldr r0, [fp, #-16]
sub sp, fp, #12
@ sp needed
pop {r4, r5, fp, pc}
.size Cf, .-Cf
.align 2
.syntax unified
.arm
.fpu softvfp
.type _pCf, %function
_pCf:
@ 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 r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size _pCf, .-_pCf
.data
.align 2
.type junk, %object
.size junk, 30
junk:
.ascii "\012@(#)LIBF77 VERSION 19990503\012\000"
.global __aeabi_fdiv
.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 .L6
ldr r3, [fp, #-20]
cmp r3, #0
bge .L7
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
.L7:
ldr r3, [fp, #-20]
str r3, [fp, #-8]
.L11:
ldr r3, [fp, #-8]
and r3, r3, #1
cmp r3, #0
beq .L8
ldr r1, [fp, #-16] @ float
ldr r0, [fp, #-12] @ float
bl __aeabi_fmul
mov r3, r0
str r3, [fp, #-12] @ float
.L8:
ldr r3, [fp, #-8]
lsr r3, r3, #1
str r3, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L13
ldr r1, [fp, #-16] @ float
ldr r0, [fp, #-16] @ float
bl __aeabi_fmul
mov r3, r0
str r3, [fp, #-16] @ float
b .L11
.L13:
nop
.L6:
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, .L23
str r2, [fp, #-12]
str r3, [fp, #-8]
ldr r3, [fp, #-32]
cmp r3, #0
beq .L15
ldr r3, [fp, #-32]
cmp r3, #0
bge .L16
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, .L23
bl __aeabi_ddiv
mov r2, r0
mov r3, r1
str r2, [fp, #-28]
str r3, [fp, #-24]
.L16:
ldr r3, [fp, #-32]
str r3, [fp, #-16]
.L20:
ldr r3, [fp, #-16]
and r3, r3, #1
cmp r3, #0
beq .L17
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]
.L17:
ldr r3, [fp, #-16]
lsr r3, r3, #1
str r3, [fp, #-16]
ldr r3, [fp, #-16]
cmp r3, #0
beq .L22
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 .L20
.L22:
nop
.L15:
sub r3, fp, #12
ldmia r3, {r2-r3}
mov r0, r2
mov r1, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L24:
.align 2
.L23:
.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, .L36
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 .L34
ldr r3, [fp, #-52]
cmp r3, #0
bge .L27
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
.L27:
ldr r3, [fp, #-52]
str r3, [fp, #-36]
mov r3, #0
str r3, [fp, #-20] @ float
mov r3, #1065353216
str r3, [fp, #-24] @ float
.L31:
ldr r3, [fp, #-36]
and r3, r3, #1
cmp r3, #0
beq .L28
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
.L28:
ldr r3, [fp, #-36]
lsr r3, r3, #1
str r3, [fp, #-36]
ldr r3, [fp, #-36]
cmp r3, #0
beq .L35
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 .L31
.L34:
mov r3, #0
str r3, [fp, #-20] @ float
mov r3, #1065353216
str r3, [fp, #-24] @ float
b .L26
.L35:
nop
.L26:
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, .L36
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L33
bl __stack_chk_fail
.L33:
ldr r0, [fp, #-40]
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L37:
.align 2
.L36:
.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, .L49
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, .L49+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 .L47
ldr r3, [fp, #20]
cmp r3, #0
bge .L40
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, .L49+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]
.L40:
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, .L49+4
str r2, [fp, #-44]
str r3, [fp, #-40]
.L44:
ldr r3, [fp, #-64]
and r3, r3, #1
cmp r3, #0
beq .L41
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]
.L41:
ldr r3, [fp, #-64]
lsr r3, r3, #1
str r3, [fp, #-64]
ldr r3, [fp, #-64]
cmp r3, #0
beq .L48
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 .L44
.L47:
mov r2, #0
mov r3, #0
str r2, [fp, #-36]
str r3, [fp, #-32]
mov r2, #0
ldr r3, .L49+4
str r2, [fp, #-44]
str r3, [fp, #-40]
b .L39
.L48:
nop
.L39:
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, .L49
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L46
bl __stack_chk_fail
.L46:
ldr r0, [fp, #-72]
sub sp, fp, #4
@ sp needed
pop {fp, lr}
add sp, sp, #8
bx lr
.L50:
.align 2
.L49:
.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 .L52
ldr r3, [fp, #-20]
cmp r3, #0
beq .L53
ldr r3, [fp, #-16]
cmp r3, #1
bne .L54
.L53:
mov r3, #1
str r3, [fp, #-12]
b .L52
.L54:
ldr r3, [fp, #-16]
cmn r3, #1
beq .L55
ldr r3, [fp, #-16]
cmp r3, #0
bne .L56
ldr r1, [fp, #-16]
mov r0, #1
bl __aeabi_idiv
mov r3, r0
b .L57
.L56:
mov r3, #0
.L57:
str r3, [fp, #-12]
b .L52
.L55:
ldr r3, [fp, #-20]
rsb r3, r3, #0
str r3, [fp, #-20]
.L52:
ldr r3, [fp, #-20]
cmp r3, #0
bgt .L58
ldr r3, [fp, #-20]
cmp r3, #0
beq .L59
ldr r3, [fp, #-16]
cmp r3, #1
beq .L59
ldr r3, [fp, #-16]
cmn r3, #1
bne .L59
.L58:
ldr r3, [fp, #-20]
str r3, [fp, #-8]
mov r3, #1
str r3, [fp, #-12]
.L63:
ldr r3, [fp, #-8]
and r3, r3, #1
cmp r3, #0
beq .L60
ldr r3, [fp, #-12]
ldr r2, [fp, #-16]
mul r3, r2, r3
str r3, [fp, #-12]
.L60:
ldr r3, [fp, #-8]
lsr r3, r3, #1
str r3, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L65
ldr r3, [fp, #-16]
mov r2, r3
mul r2, r3, r2
mov r3, r2
str r3, [fp, #-16]
b .L63
.L65:
nop
.L59:
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 .L67
.L70:
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 .L68
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]
.L68:
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L67:
ldr r2, [fp, #-20]
ldr r3, [fp, #-32]
cmp r2, r3
ble .L70
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 .L74
.L77:
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 .L75
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
.L75:
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L74:
ldr r2, [fp, #-12]
ldr r3, [fp, #-32]
cmp r2, r3
ble .L77
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
.section .rodata
.align 2
.LC2:
.ascii "L\000"
.align 2
.LC3:
.ascii "N\000"
.align 2
.LC4:
.ascii "R\000"
.align 2
.LC5:
.ascii "C\000"
.align 2
.LC6:
.ascii "CUNM2L\000"
.global __aeabi_f2d
.global __aeabi_d2f
.align 2
.LC7:
.word __stack_chk_guard
.text
.align 2
.global cunm2l_
.syntax unified
.arm
.fpu softvfp
.type cunm2l_, %function
cunm2l_:
@ args = 32, pretend = 0, frame = 152
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, fp, lr}
add fp, sp, #12
sub sp, sp, #176
str r0, [fp, #-112]
str r1, [fp, #-116]
str r2, [fp, #-120]
str r3, [fp, #-124]
ldr r3, [fp, #4]
str r3, [fp, #-128]
ldr r3, [fp, #8]
str r3, [fp, #-132]
ldr r3, [fp, #12]
str r3, [fp, #-136]
ldr r3, [fp, #16]
str r3, [fp, #-140]
ldr r3, [fp, #20]
str r3, [fp, #-144]
ldr r3, [fp, #24]
str r3, [fp, #-148]
ldr r3, [fp, #28]
str r3, [fp, #-152]
ldr r3, [fp, #32]
str r3, [fp, #-156]
ldr r3, .L111
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
ldr r3, [fp, #-136]
ldr r3, [r3]
str r3, [fp, #-72]
ldr r3, [fp, #-72]
add r3, r3, #1
str r3, [fp, #-68]
ldr r3, [fp, #-68]
lsl r3, r3, #3
rsb r3, r3, #0
ldr r2, [fp, #-132]
add r3, r2, r3
str r3, [fp, #-132]
ldr r3, [fp, #-140]
sub r3, r3, #8
str r3, [fp, #-140]
ldr r3, [fp, #-148]
ldr r3, [r3]
str r3, [fp, #-64]
ldr r3, [fp, #-64]
add r3, r3, #1
str r3, [fp, #-60]
ldr r3, [fp, #-60]
lsl r3, r3, #3
rsb r3, r3, #0
ldr r2, [fp, #-144]
add r3, r2, r3
str r3, [fp, #-144]
ldr r3, [fp, #-152]
sub r3, r3, #8
str r3, [fp, #-152]
ldr r3, [fp, #-156]
mov r2, #0
str r2, [r3]
ldr r1, .L111+4
ldr r0, [fp, #-112]
bl lsame_
str r0, [fp, #-56]
ldr r1, .L111+8
ldr r0, [fp, #-116]
bl lsame_
str r0, [fp, #-52]
ldr r3, [fp, #-56]
cmp r3, #0
beq .L81
ldr r3, [fp, #-120]
ldr r3, [r3]
str r3, [fp, #-76]
b .L82
.L81:
ldr r3, [fp, #-124]
ldr r3, [r3]
str r3, [fp, #-76]
.L82:
ldr r3, [fp, #-56]
cmp r3, #0
bne .L83
ldr r1, .L111+12
ldr r0, [fp, #-112]
bl lsame_
mov r3, r0
cmp r3, #0
bne .L83
ldr r3, [fp, #-156]
mvn r2, #0
str r2, [r3]
b .L84
.L83:
ldr r3, [fp, #-52]
cmp r3, #0
bne .L85
ldr r1, .L111+16
ldr r0, [fp, #-116]
bl lsame_
mov r3, r0
cmp r3, #0
bne .L85
ldr r3, [fp, #-156]
mvn r2, #1
str r2, [r3]
b .L84
.L85:
ldr r3, [fp, #-120]
ldr r3, [r3]
cmp r3, #0
bge .L86
ldr r3, [fp, #-156]
mvn r2, #2
str r2, [r3]
b .L84
.L86:
ldr r3, [fp, #-124]
ldr r3, [r3]
cmp r3, #0
bge .L87
ldr r3, [fp, #-156]
mvn r2, #3
str r2, [r3]
b .L84
.L87:
ldr r3, [fp, #-128]
ldr r3, [r3]
cmp r3, #0
blt .L88
ldr r3, [fp, #-128]
ldr r3, [r3]
ldr r2, [fp, #-76]
cmp r2, r3
bge .L89
.L88:
ldr r3, [fp, #-156]
mvn r2, #4
str r2, [r3]
b .L84
.L89:
ldr r3, [fp, #-136]
ldr r2, [r3]
ldr r3, [fp, #-76]
cmp r3, #1
movge r3, r3
movlt r3, #1
cmp r2, r3
bge .L90
ldr r3, [fp, #-156]
mvn r2, #6
str r2, [r3]
b .L84
.L90:
ldr r3, [fp, #-148]
ldr r2, [r3]
ldr r3, [fp, #-120]
ldr r3, [r3]
cmp r3, #1
movge r3, r3
movlt r3, #1
cmp r2, r3
bge .L84
ldr r3, [fp, #-156]
mvn r2, #9
str r2, [r3]
.L84:
ldr r3, [fp, #-156]
ldr r3, [r3]
cmp r3, #0
beq .L91
ldr r3, [fp, #-156]
ldr r3, [r3]
rsb r3, r3, #0
str r3, [fp, #-104]
sub r3, fp, #104
mov r2, #6
mov r1, r3
ldr r0, .L111+20
bl xerbla_
mov r3, #0
b .L109
.L91:
ldr r3, [fp, #-120]
ldr r3, [r3]
cmp r3, #0
beq .L93
ldr r3, [fp, #-124]
ldr r3, [r3]
cmp r3, #0
beq .L93
ldr r3, [fp, #-128]
ldr r3, [r3]
cmp r3, #0
bne .L94
.L93:
mov r3, #0
b .L109
.L94:
ldr r3, [fp, #-56]
cmp r3, #0
beq .L95
ldr r3, [fp, #-52]
cmp r3, #0
bne .L96
.L95:
ldr r3, [fp, #-56]
cmp r3, #0
bne .L97
ldr r3, [fp, #-52]
cmp r3, #0
bne .L97
.L96:
mov r3, #1
str r3, [fp, #-88]
ldr r3, [fp, #-128]
ldr r3, [r3]
str r3, [fp, #-84]
mov r3, #1
str r3, [fp, #-80]
b .L98
.L97:
ldr r3, [fp, #-128]
ldr r3, [r3]
str r3, [fp, #-88]
mov r3, #1
str r3, [fp, #-84]
mvn r3, #0
str r3, [fp, #-80]
.L98:
ldr r3, [fp, #-56]
cmp r3, #0
beq .L99
ldr r3, [fp, #-124]
ldr r3, [r3]
str r3, [fp, #-96]
b .L100
.L99:
ldr r3, [fp, #-120]
ldr r3, [r3]
str r3, [fp, #-100]
.L100:
ldr r3, [fp, #-84]
str r3, [fp, #-104]
ldr r3, [fp, #-80]
str r3, [fp, #-48]
ldr r3, [fp, #-88]
str r3, [fp, #-92]
b .L101
.L108:
ldr r3, [fp, #-56]
cmp r3, #0
beq .L102
ldr r3, [fp, #-120]
ldr r2, [r3]
ldr r3, [fp, #-128]
ldr r3, [r3]
sub r2, r2, r3
ldr r3, [fp, #-92]
add r3, r2, r3
str r3, [fp, #-100]
b .L103
.L102:
ldr r3, [fp, #-124]
ldr r2, [r3]
ldr r3, [fp, #-128]
ldr r3, [r3]
sub r2, r2, r3
ldr r3, [fp, #-92]
add r3, r2, r3
str r3, [fp, #-96]
.L103:
ldr r3, [fp, #-52]
cmp r3, #0
beq .L104
ldr r3, [fp, #-92]
str r3, [fp, #-44]
ldr r3, [fp, #-44]
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldr r3, [r3] @ float
str r3, [fp, #-32] @ float
ldr r3, [fp, #-44]
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r3, r2, r3
ldr r3, [r3, #4] @ float
str r3, [fp, #-28] @ float
b .L105
.L104:
ldr r3, [fp, #-92]
lsl r3, r3, #3
ldr r2, [fp, #-140]
add r2, r2, r3
sub r3, fp, #164
mov r1, r2
mov r0, r3
bl Cf
ldr r2, [fp, #-164] @ float
ldr r3, [fp, #-160] @ float
mov r5, r2
mov r0, r3
bl __aeabi_f2d
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl __aeabi_d2f
mov r3, r0
eor r4, r3, #-2147483648
sub r3, fp, #40
mov r0, r3
bl _pCf
mov r3, r0
mov r1, r5
mov r2, r4
str r1, [r3] @ float
str r2, [r3, #4] @ float
ldr r3, [fp, #-40] @ float
str r3, [fp, #-32] @ float
ldr r3, [fp, #-36] @ float
str r3, [fp, #-28] @ float
.L105:
ldr r3, [fp, #-128]
ldr r3, [r3]
ldr r2, [fp, #-76]
sub r2, r2, r3
ldr r3, [fp, #-92]
add r2, r2, r3
ldr r3, [fp, #-92]
ldr r1, [fp, #-72]
mul r3, r1, r3
add r3, r2, r3
str r3, [fp, #-44]
ldr r3, [fp, #-44]
lsl r3, r3, #3
ldr r2, [fp, #-132]
add r3, r2, r3
ldr r3, [r3] @ float
str r3, [fp, #-24] @ float
ldr r3, [fp, #-44]
lsl r3, r3, #3
ldr r2, [fp, #-132]
add r3, r2, r3
ldr r3, [r3, #4] @ float
str r3, [fp, #-20] @ float
ldr r3, [fp, #-128]
ldr r3, [r3]
ldr r2, [fp, #-76]
sub r2, r2, r3
ldr r3, [fp, #-92]
add r2, r2, r3
ldr r3, [fp, #-92]
ldr r1, [fp, #-72]
mul r3, r1, r3
add r3, r2, r3
str r3, [fp, #-44]
ldr r3, [fp, #-44]
lsl r3, r3, #3
ldr r2, [fp, #-132]
add r3, r2, r3
mov r2, #1065353216
str r2, [r3] @ float
ldr r3, [fp, #-44]
lsl r3, r3, #3
ldr r2, [fp, #-132]
add r3, r2, r3
mov r2, #0
str r2, [r3, #4] @ float
ldr r3, [fp, #-92]
ldr r2, [fp, #-72]
mul r3, r2, r3
add r3, r3, #1
lsl r3, r3, #3
ldr r2, [fp, #-132]
add ip, r2, r3
ldr r3, [fp, #-60]
lsl r3, r3, #3
ldr r2, [fp, #-144]
add r3, r2, r3
ldr r2, [fp, #-152]
add r2, r2, #8
sub r0, fp, #96
sub r1, fp, #100
str r2, [sp, #16]
ldr r2, [fp, #-148]
str r2, [sp, #12]
str r3, [sp, #8]
sub r3, fp, #32
str r3, [sp, #4]
ldr r3, .L111+24
str r3, [sp]
mov r3, ip
mov r2, r0
ldr r0, [fp, #-112]
bl clarf_
ldr r3, [fp, #-128]
ldr r3, [r3]
ldr r2, [fp, #-76]
sub r2, r2, r3
ldr r3, [fp, #-92]
add r2, r2, r3
ldr r3, [fp, #-92]
ldr r1, [fp, #-72]
mul r3, r1, r3
add r3, r2, r3
str r3, [fp, #-44]
ldr r3, [fp, #-44]
lsl r3, r3, #3
ldr r2, [fp, #-132]
add r3, r2, r3
ldr r2, [fp, #-24] @ float
str r2, [r3] @ float
ldr r3, [fp, #-44]
lsl r3, r3, #3
ldr r2, [fp, #-132]
add r3, r2, r3
ldr r2, [fp, #-20] @ float
str r2, [r3, #4] @ float
ldr r2, [fp, #-92]
ldr r3, [fp, #-48]
add r3, r2, r3
str r3, [fp, #-92]
.L101:
ldr r3, [fp, #-48]
cmp r3, #0
bge .L106
ldr r3, [fp, #-104]
ldr r2, [fp, #-92]
cmp r2, r3
movge r3, #1
movlt r3, #0
and r3, r3, #255
b .L107
.L106:
ldr r3, [fp, #-104]
ldr r2, [fp, #-92]
cmp r2, r3
movle r3, #1
movgt r3, #0
and r3, r3, #255
.L107:
cmp r3, #0
bne .L108
mov r3, #0
.L109:
ldr r2, .L111
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L110
bl __stack_chk_fail
.L110:
mov r0, r3
sub sp, fp, #12
@ sp needed
pop {r4, r5, fp, pc}
.L112:
.align 2
.L111:
.word .LC7
.word .LC2
.word .LC3
.word .LC4
.word .LC5
.word .LC6
.word c__1
.size cunm2l_, .-cunm2l_
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "885794.c"
.intel_syntax noprefix
.text
.section .rodata
.align 16
.type sigma, @object
.size sigma, 16
sigma:
.ascii "expand 32-byte k"
.text
.type rotate, @function
rotate:
.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 DWORD PTR -8[rbp], esi
mov eax, DWORD PTR -8[rbp]
mov edx, DWORD PTR -4[rbp]
mov ecx, eax
rol edx, cl
mov eax, edx
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size rotate, .-rotate
.type load_littleendian, @function
load_littleendian:
.LFB1:
.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]
movzx eax, BYTE PTR [rax]
movzx edx, al
mov rax, QWORD PTR -8[rbp]
add rax, 1
movzx eax, BYTE PTR [rax]
movzx eax, al
sal eax, 8
or edx, eax
mov rax, QWORD PTR -8[rbp]
add rax, 2
movzx eax, BYTE PTR [rax]
movzx eax, al
sal eax, 16
or edx, eax
mov rax, QWORD PTR -8[rbp]
add rax, 3
movzx eax, BYTE PTR [rax]
movzx eax, al
sal eax, 24
or eax, edx
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size load_littleendian, .-load_littleendian
.type store_littleendian, @function
store_littleendian:
.LFB2:
.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 DWORD PTR -12[rbp], esi
mov eax, DWORD PTR -12[rbp]
mov edx, eax
mov rax, QWORD PTR -8[rbp]
mov BYTE PTR [rax], dl
shr DWORD PTR -12[rbp], 8
mov rax, QWORD PTR -8[rbp]
add rax, 1
mov edx, DWORD PTR -12[rbp]
mov BYTE PTR [rax], dl
shr DWORD PTR -12[rbp], 8
mov rax, QWORD PTR -8[rbp]
add rax, 2
mov edx, DWORD PTR -12[rbp]
mov BYTE PTR [rax], dl
shr DWORD PTR -12[rbp], 8
mov rax, QWORD PTR -8[rbp]
add rax, 3
mov edx, DWORD PTR -12[rbp]
mov BYTE PTR [rax], dl
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE2:
.size store_littleendian, .-store_littleendian
.globl crypto_core
.type crypto_core, @function
crypto_core:
.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, 176
mov QWORD PTR -152[rbp], rdi
mov QWORD PTR -160[rbp], rsi
mov QWORD PTR -168[rbp], rdx
mov QWORD PTR -176[rbp], rcx
mov rax, QWORD PTR -176[rbp]
mov rdi, rax
call load_littleendian
mov DWORD PTR -132[rbp], eax
mov eax, DWORD PTR -132[rbp]
mov DWORD PTR -64[rbp], eax
mov rax, QWORD PTR -168[rbp]
mov rdi, rax
call load_littleendian
mov DWORD PTR -128[rbp], eax
mov eax, DWORD PTR -128[rbp]
mov DWORD PTR -60[rbp], eax
mov rax, QWORD PTR -168[rbp]
add rax, 4
mov rdi, rax
call load_littleendian
mov DWORD PTR -124[rbp], eax
mov eax, DWORD PTR -124[rbp]
mov DWORD PTR -56[rbp], eax
mov rax, QWORD PTR -168[rbp]
add rax, 8
mov rdi, rax
call load_littleendian
mov DWORD PTR -120[rbp], eax
mov eax, DWORD PTR -120[rbp]
mov DWORD PTR -52[rbp], eax
mov rax, QWORD PTR -168[rbp]
add rax, 12
mov rdi, rax
call load_littleendian
mov DWORD PTR -116[rbp], eax
mov eax, DWORD PTR -116[rbp]
mov DWORD PTR -48[rbp], eax
mov rax, QWORD PTR -176[rbp]
add rax, 4
mov rdi, rax
call load_littleendian
mov DWORD PTR -112[rbp], eax
mov eax, DWORD PTR -112[rbp]
mov DWORD PTR -44[rbp], eax
mov rax, QWORD PTR -160[rbp]
mov rdi, rax
call load_littleendian
mov DWORD PTR -108[rbp], eax
mov eax, DWORD PTR -108[rbp]
mov DWORD PTR -40[rbp], eax
mov rax, QWORD PTR -160[rbp]
add rax, 4
mov rdi, rax
call load_littleendian
mov DWORD PTR -104[rbp], eax
mov eax, DWORD PTR -104[rbp]
mov DWORD PTR -36[rbp], eax
mov rax, QWORD PTR -160[rbp]
add rax, 8
mov rdi, rax
call load_littleendian
mov DWORD PTR -100[rbp], eax
mov eax, DWORD PTR -100[rbp]
mov DWORD PTR -32[rbp], eax
mov rax, QWORD PTR -160[rbp]
add rax, 12
mov rdi, rax
call load_littleendian
mov DWORD PTR -96[rbp], eax
mov eax, DWORD PTR -96[rbp]
mov DWORD PTR -28[rbp], eax
mov rax, QWORD PTR -176[rbp]
add rax, 8
mov rdi, rax
call load_littleendian
mov DWORD PTR -92[rbp], eax
mov eax, DWORD PTR -92[rbp]
mov DWORD PTR -24[rbp], eax
mov rax, QWORD PTR -168[rbp]
add rax, 16
mov rdi, rax
call load_littleendian
mov DWORD PTR -88[rbp], eax
mov eax, DWORD PTR -88[rbp]
mov DWORD PTR -20[rbp], eax
mov rax, QWORD PTR -168[rbp]
add rax, 20
mov rdi, rax
call load_littleendian
mov DWORD PTR -84[rbp], eax
mov eax, DWORD PTR -84[rbp]
mov DWORD PTR -16[rbp], eax
mov rax, QWORD PTR -168[rbp]
add rax, 24
mov rdi, rax
call load_littleendian
mov DWORD PTR -80[rbp], eax
mov eax, DWORD PTR -80[rbp]
mov DWORD PTR -12[rbp], eax
mov rax, QWORD PTR -168[rbp]
add rax, 28
mov rdi, rax
call load_littleendian
mov DWORD PTR -76[rbp], eax
mov eax, DWORD PTR -76[rbp]
mov DWORD PTR -8[rbp], eax
mov rax, QWORD PTR -176[rbp]
add rax, 12
mov rdi, rax
call load_littleendian
mov DWORD PTR -72[rbp], eax
mov eax, DWORD PTR -72[rbp]
mov DWORD PTR -4[rbp], eax
mov DWORD PTR -68[rbp], 20
jmp .L7
.L8:
mov edx, DWORD PTR -132[rbp]
mov eax, DWORD PTR -84[rbp]
add eax, edx
mov esi, 7
mov edi, eax
call rotate
xor DWORD PTR -116[rbp], eax
mov edx, DWORD PTR -116[rbp]
mov eax, DWORD PTR -132[rbp]
add eax, edx
mov esi, 9
mov edi, eax
call rotate
xor DWORD PTR -100[rbp], eax
mov edx, DWORD PTR -100[rbp]
mov eax, DWORD PTR -116[rbp]
add eax, edx
mov esi, 13
mov edi, eax
call rotate
xor DWORD PTR -84[rbp], eax
mov edx, DWORD PTR -84[rbp]
mov eax, DWORD PTR -100[rbp]
add eax, edx
mov esi, 18
mov edi, eax
call rotate
xor DWORD PTR -132[rbp], eax
mov edx, DWORD PTR -112[rbp]
mov eax, DWORD PTR -128[rbp]
add eax, edx
mov esi, 7
mov edi, eax
call rotate
xor DWORD PTR -96[rbp], eax
mov edx, DWORD PTR -96[rbp]
mov eax, DWORD PTR -112[rbp]
add eax, edx
mov esi, 9
mov edi, eax
call rotate
xor DWORD PTR -80[rbp], eax
mov edx, DWORD PTR -80[rbp]
mov eax, DWORD PTR -96[rbp]
add eax, edx
mov esi, 13
mov edi, eax
call rotate
xor DWORD PTR -128[rbp], eax
mov edx, DWORD PTR -128[rbp]
mov eax, DWORD PTR -80[rbp]
add eax, edx
mov esi, 18
mov edi, eax
call rotate
xor DWORD PTR -112[rbp], eax
mov edx, DWORD PTR -92[rbp]
mov eax, DWORD PTR -108[rbp]
add eax, edx
mov esi, 7
mov edi, eax
call rotate
xor DWORD PTR -76[rbp], eax
mov edx, DWORD PTR -76[rbp]
mov eax, DWORD PTR -92[rbp]
add eax, edx
mov esi, 9
mov edi, eax
call rotate
xor DWORD PTR -124[rbp], eax
mov edx, DWORD PTR -124[rbp]
mov eax, DWORD PTR -76[rbp]
add eax, edx
mov esi, 13
mov edi, eax
call rotate
xor DWORD PTR -108[rbp], eax
mov edx, DWORD PTR -108[rbp]
mov eax, DWORD PTR -124[rbp]
add eax, edx
mov esi, 18
mov edi, eax
call rotate
xor DWORD PTR -92[rbp], eax
mov edx, DWORD PTR -72[rbp]
mov eax, DWORD PTR -88[rbp]
add eax, edx
mov esi, 7
mov edi, eax
call rotate
xor DWORD PTR -120[rbp], eax
mov edx, DWORD PTR -120[rbp]
mov eax, DWORD PTR -72[rbp]
add eax, edx
mov esi, 9
mov edi, eax
call rotate
xor DWORD PTR -104[rbp], eax
mov edx, DWORD PTR -104[rbp]
mov eax, DWORD PTR -120[rbp]
add eax, edx
mov esi, 13
mov edi, eax
call rotate
xor DWORD PTR -88[rbp], eax
mov edx, DWORD PTR -88[rbp]
mov eax, DWORD PTR -104[rbp]
add eax, edx
mov esi, 18
mov edi, eax
call rotate
xor DWORD PTR -72[rbp], eax
mov edx, DWORD PTR -132[rbp]
mov eax, DWORD PTR -120[rbp]
add eax, edx
mov esi, 7
mov edi, eax
call rotate
xor DWORD PTR -128[rbp], eax
mov edx, DWORD PTR -128[rbp]
mov eax, DWORD PTR -132[rbp]
add eax, edx
mov esi, 9
mov edi, eax
call rotate
xor DWORD PTR -124[rbp], eax
mov edx, DWORD PTR -124[rbp]
mov eax, DWORD PTR -128[rbp]
add eax, edx
mov esi, 13
mov edi, eax
call rotate
xor DWORD PTR -120[rbp], eax
mov edx, DWORD PTR -120[rbp]
mov eax, DWORD PTR -124[rbp]
add eax, edx
mov esi, 18
mov edi, eax
call rotate
xor DWORD PTR -132[rbp], eax
mov edx, DWORD PTR -112[rbp]
mov eax, DWORD PTR -116[rbp]
add eax, edx
mov esi, 7
mov edi, eax
call rotate
xor DWORD PTR -108[rbp], eax
mov edx, DWORD PTR -108[rbp]
mov eax, DWORD PTR -112[rbp]
add eax, edx
mov esi, 9
mov edi, eax
call rotate
xor DWORD PTR -104[rbp], eax
mov edx, DWORD PTR -104[rbp]
mov eax, DWORD PTR -108[rbp]
add eax, edx
mov esi, 13
mov edi, eax
call rotate
xor DWORD PTR -116[rbp], eax
mov edx, DWORD PTR -116[rbp]
mov eax, DWORD PTR -104[rbp]
add eax, edx
mov esi, 18
mov edi, eax
call rotate
xor DWORD PTR -112[rbp], eax
mov edx, DWORD PTR -92[rbp]
mov eax, DWORD PTR -96[rbp]
add eax, edx
mov esi, 7
mov edi, eax
call rotate
xor DWORD PTR -88[rbp], eax
mov edx, DWORD PTR -88[rbp]
mov eax, DWORD PTR -92[rbp]
add eax, edx
mov esi, 9
mov edi, eax
call rotate
xor DWORD PTR -100[rbp], eax
mov edx, DWORD PTR -100[rbp]
mov eax, DWORD PTR -88[rbp]
add eax, edx
mov esi, 13
mov edi, eax
call rotate
xor DWORD PTR -96[rbp], eax
mov edx, DWORD PTR -96[rbp]
mov eax, DWORD PTR -100[rbp]
add eax, edx
mov esi, 18
mov edi, eax
call rotate
xor DWORD PTR -92[rbp], eax
mov edx, DWORD PTR -72[rbp]
mov eax, DWORD PTR -76[rbp]
add eax, edx
mov esi, 7
mov edi, eax
call rotate
xor DWORD PTR -84[rbp], eax
mov edx, DWORD PTR -84[rbp]
mov eax, DWORD PTR -72[rbp]
add eax, edx
mov esi, 9
mov edi, eax
call rotate
xor DWORD PTR -80[rbp], eax
mov edx, DWORD PTR -80[rbp]
mov eax, DWORD PTR -84[rbp]
add eax, edx
mov esi, 13
mov edi, eax
call rotate
xor DWORD PTR -76[rbp], eax
mov edx, DWORD PTR -76[rbp]
mov eax, DWORD PTR -80[rbp]
add eax, edx
mov esi, 18
mov edi, eax
call rotate
xor DWORD PTR -72[rbp], eax
sub DWORD PTR -68[rbp], 2
.L7:
cmp DWORD PTR -68[rbp], 0
jg .L8
mov eax, DWORD PTR -64[rbp]
add DWORD PTR -132[rbp], eax
mov eax, DWORD PTR -60[rbp]
add DWORD PTR -128[rbp], eax
mov eax, DWORD PTR -56[rbp]
add DWORD PTR -124[rbp], eax
mov eax, DWORD PTR -52[rbp]
add DWORD PTR -120[rbp], eax
mov eax, DWORD PTR -48[rbp]
add DWORD PTR -116[rbp], eax
mov eax, DWORD PTR -44[rbp]
add DWORD PTR -112[rbp], eax
mov eax, DWORD PTR -40[rbp]
add DWORD PTR -108[rbp], eax
mov eax, DWORD PTR -36[rbp]
add DWORD PTR -104[rbp], eax
mov eax, DWORD PTR -32[rbp]
add DWORD PTR -100[rbp], eax
mov eax, DWORD PTR -28[rbp]
add DWORD PTR -96[rbp], eax
mov eax, DWORD PTR -24[rbp]
add DWORD PTR -92[rbp], eax
mov eax, DWORD PTR -20[rbp]
add DWORD PTR -88[rbp], eax
mov eax, DWORD PTR -16[rbp]
add DWORD PTR -84[rbp], eax
mov eax, DWORD PTR -12[rbp]
add DWORD PTR -80[rbp], eax
mov eax, DWORD PTR -8[rbp]
add DWORD PTR -76[rbp], eax
mov eax, DWORD PTR -4[rbp]
add DWORD PTR -72[rbp], eax
mov edx, DWORD PTR -132[rbp]
mov rax, QWORD PTR -152[rbp]
mov esi, edx
mov rdi, rax
call store_littleendian
mov rax, QWORD PTR -152[rbp]
lea rdx, 4[rax]
mov eax, DWORD PTR -128[rbp]
mov esi, eax
mov rdi, rdx
call store_littleendian
mov rax, QWORD PTR -152[rbp]
lea rdx, 8[rax]
mov eax, DWORD PTR -124[rbp]
mov esi, eax
mov rdi, rdx
call store_littleendian
mov rax, QWORD PTR -152[rbp]
lea rdx, 12[rax]
mov eax, DWORD PTR -120[rbp]
mov esi, eax
mov rdi, rdx
call store_littleendian
mov rax, QWORD PTR -152[rbp]
lea rdx, 16[rax]
mov eax, DWORD PTR -116[rbp]
mov esi, eax
mov rdi, rdx
call store_littleendian
mov rax, QWORD PTR -152[rbp]
lea rdx, 20[rax]
mov eax, DWORD PTR -112[rbp]
mov esi, eax
mov rdi, rdx
call store_littleendian
mov rax, QWORD PTR -152[rbp]
lea rdx, 24[rax]
mov eax, DWORD PTR -108[rbp]
mov esi, eax
mov rdi, rdx
call store_littleendian
mov rax, QWORD PTR -152[rbp]
lea rdx, 28[rax]
mov eax, DWORD PTR -104[rbp]
mov esi, eax
mov rdi, rdx
call store_littleendian
mov rax, QWORD PTR -152[rbp]
lea rdx, 32[rax]
mov eax, DWORD PTR -100[rbp]
mov esi, eax
mov rdi, rdx
call store_littleendian
mov rax, QWORD PTR -152[rbp]
lea rdx, 36[rax]
mov eax, DWORD PTR -96[rbp]
mov esi, eax
mov rdi, rdx
call store_littleendian
mov rax, QWORD PTR -152[rbp]
lea rdx, 40[rax]
mov eax, DWORD PTR -92[rbp]
mov esi, eax
mov rdi, rdx
call store_littleendian
mov rax, QWORD PTR -152[rbp]
lea rdx, 44[rax]
mov eax, DWORD PTR -88[rbp]
mov esi, eax
mov rdi, rdx
call store_littleendian
mov rax, QWORD PTR -152[rbp]
lea rdx, 48[rax]
mov eax, DWORD PTR -84[rbp]
mov esi, eax
mov rdi, rdx
call store_littleendian
mov rax, QWORD PTR -152[rbp]
lea rdx, 52[rax]
mov eax, DWORD PTR -80[rbp]
mov esi, eax
mov rdi, rdx
call store_littleendian
mov rax, QWORD PTR -152[rbp]
lea rdx, 56[rax]
mov eax, DWORD PTR -76[rbp]
mov esi, eax
mov rdi, rdx
call store_littleendian
mov rax, QWORD PTR -152[rbp]
lea rdx, 60[rax]
mov eax, DWORD PTR -72[rbp]
mov esi, eax
mov rdi, rdx
call store_littleendian
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE3:
.size crypto_core, .-crypto_core
.globl nfl_crypto_stream_salsa20
.type nfl_crypto_stream_salsa20, @function
nfl_crypto_stream_salsa20:
.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, 176
mov QWORD PTR -152[rbp], rdi
mov QWORD PTR -160[rbp], rsi
mov QWORD PTR -168[rbp], rdx
mov QWORD PTR -176[rbp], rcx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
cmp QWORD PTR -160[rbp], 0
jne .L11
mov eax, 0
jmp .L26
.L11:
mov DWORD PTR -136[rbp], 0
jmp .L13
.L14:
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov rax, QWORD PTR -176[rbp]
add rax, rdx
movzx edx, BYTE PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
mov BYTE PTR -112[rbp+rax], dl
add DWORD PTR -136[rbp], 1
.L13:
cmp DWORD PTR -136[rbp], 31
jle .L14
mov DWORD PTR -136[rbp], 0
jmp .L15
.L16:
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov rax, QWORD PTR -168[rbp]
add rax, rdx
movzx edx, BYTE PTR [rax]
mov eax, DWORD PTR -136[rbp]
cdqe
mov BYTE PTR -128[rbp+rax], dl
add DWORD PTR -136[rbp], 1
.L15:
cmp DWORD PTR -136[rbp], 7
jle .L16
mov DWORD PTR -136[rbp], 8
jmp .L17
.L18:
mov eax, DWORD PTR -136[rbp]
cdqe
mov BYTE PTR -128[rbp+rax], 0
add DWORD PTR -136[rbp], 1
.L17:
cmp DWORD PTR -136[rbp], 15
jle .L18
jmp .L19
.L22:
lea rdx, -112[rbp]
lea rsi, -128[rbp]
mov rax, QWORD PTR -152[rbp]
lea rcx, sigma[rip]
mov rdi, rax
mov eax, 0
call crypto_core_salsa20@PLT
mov DWORD PTR -132[rbp], 1
mov DWORD PTR -136[rbp], 8
jmp .L20
.L21:
mov eax, DWORD PTR -136[rbp]
cdqe
movzx eax, BYTE PTR -128[rbp+rax]
movzx eax, al
add DWORD PTR -132[rbp], eax
mov eax, DWORD PTR -132[rbp]
mov edx, eax
mov eax, DWORD PTR -136[rbp]
cdqe
mov BYTE PTR -128[rbp+rax], dl
shr DWORD PTR -132[rbp], 8
add DWORD PTR -136[rbp], 1
.L20:
cmp DWORD PTR -136[rbp], 15
jle .L21
sub QWORD PTR -160[rbp], 64
add QWORD PTR -152[rbp], 64
.L19:
cmp QWORD PTR -160[rbp], 63
ja .L22
cmp QWORD PTR -160[rbp], 0
je .L23
lea rdx, -112[rbp]
lea rsi, -128[rbp]
lea rax, -80[rbp]
lea rcx, sigma[rip]
mov rdi, rax
mov eax, 0
call crypto_core_salsa20@PLT
mov DWORD PTR -136[rbp], 0
jmp .L24
.L25:
mov eax, DWORD PTR -136[rbp]
movsx rdx, eax
mov rax, QWORD PTR -152[rbp]
add rdx, rax
mov eax, DWORD PTR -136[rbp]
cdqe
movzx eax, BYTE PTR -80[rbp+rax]
mov BYTE PTR [rdx], al
add DWORD PTR -136[rbp], 1
.L24:
mov eax, DWORD PTR -136[rbp]
cdqe
cmp QWORD PTR -160[rbp], rax
ja .L25
.L23:
mov eax, 0
.L26:
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L27
call __stack_chk_fail@PLT
.L27:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE4:
.size nfl_crypto_stream_salsa20, .-nfl_crypto_stream_salsa20
.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 "885794.c"
.text
.section .rodata
.align 2
.type sigma, %object
.size sigma, 16
sigma:
.ascii "expand 32-byte k"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type rotate, %function
rotate:
@ 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 r2, [fp, #-8]
ldr r3, [fp, #-12]
rsb r3, r3, #32
ror r3, r2, r3
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size rotate, .-rotate
.align 2
.syntax unified
.arm
.fpu softvfp
.type load_littleendian, %function
load_littleendian:
@ 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]
ldrb r3, [r3] @ zero_extendqisi2
mov r2, r3
ldr r3, [fp, #-8]
add r3, r3, #1
ldrb r3, [r3] @ zero_extendqisi2
lsl r3, r3, #8
orr r2, r2, r3
ldr r3, [fp, #-8]
add r3, r3, #2
ldrb r3, [r3] @ zero_extendqisi2
lsl r3, r3, #16
orr r2, r2, r3
ldr r3, [fp, #-8]
add r3, r3, #3
ldrb r3, [r3] @ zero_extendqisi2
lsl r3, r3, #24
orr r3, r2, r3
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size load_littleendian, .-load_littleendian
.align 2
.syntax unified
.arm
.fpu softvfp
.type store_littleendian, %function
store_littleendian:
@ 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]
and r2, r3, #255
ldr r3, [fp, #-8]
strb r2, [r3]
ldr r3, [fp, #-12]
lsr r3, r3, #8
str r3, [fp, #-12]
ldr r3, [fp, #-8]
add r3, r3, #1
ldr r2, [fp, #-12]
and r2, r2, #255
strb r2, [r3]
ldr r3, [fp, #-12]
lsr r3, r3, #8
str r3, [fp, #-12]
ldr r3, [fp, #-8]
add r3, r3, #2
ldr r2, [fp, #-12]
and r2, r2, #255
strb r2, [r3]
ldr r3, [fp, #-12]
lsr r3, r3, #8
str r3, [fp, #-12]
ldr r3, [fp, #-8]
add r3, r3, #3
ldr r2, [fp, #-12]
and r2, r2, #255
strb r2, [r3]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size store_littleendian, .-store_littleendian
.align 2
.global crypto_core
.syntax unified
.arm
.fpu softvfp
.type crypto_core, %function
crypto_core:
@ args = 0, pretend = 0, frame = 152
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #152
str r0, [fp, #-144]
str r1, [fp, #-148]
str r2, [fp, #-152]
str r3, [fp, #-156]
ldr r0, [fp, #-156]
bl load_littleendian
str r0, [fp, #-136]
ldr r3, [fp, #-136]
str r3, [fp, #-68]
ldr r0, [fp, #-152]
bl load_littleendian
str r0, [fp, #-132]
ldr r3, [fp, #-132]
str r3, [fp, #-64]
ldr r3, [fp, #-152]
add r3, r3, #4
mov r0, r3
bl load_littleendian
str r0, [fp, #-128]
ldr r3, [fp, #-128]
str r3, [fp, #-60]
ldr r3, [fp, #-152]
add r3, r3, #8
mov r0, r3
bl load_littleendian
str r0, [fp, #-124]
ldr r3, [fp, #-124]
str r3, [fp, #-56]
ldr r3, [fp, #-152]
add r3, r3, #12
mov r0, r3
bl load_littleendian
str r0, [fp, #-120]
ldr r3, [fp, #-120]
str r3, [fp, #-52]
ldr r3, [fp, #-156]
add r3, r3, #4
mov r0, r3
bl load_littleendian
str r0, [fp, #-116]
ldr r3, [fp, #-116]
str r3, [fp, #-48]
ldr r0, [fp, #-148]
bl load_littleendian
str r0, [fp, #-112]
ldr r3, [fp, #-112]
str r3, [fp, #-44]
ldr r3, [fp, #-148]
add r3, r3, #4
mov r0, r3
bl load_littleendian
str r0, [fp, #-108]
ldr r3, [fp, #-108]
str r3, [fp, #-40]
ldr r3, [fp, #-148]
add r3, r3, #8
mov r0, r3
bl load_littleendian
str r0, [fp, #-104]
ldr r3, [fp, #-104]
str r3, [fp, #-36]
ldr r3, [fp, #-148]
add r3, r3, #12
mov r0, r3
bl load_littleendian
str r0, [fp, #-100]
ldr r3, [fp, #-100]
str r3, [fp, #-32]
ldr r3, [fp, #-156]
add r3, r3, #8
mov r0, r3
bl load_littleendian
str r0, [fp, #-96]
ldr r3, [fp, #-96]
str r3, [fp, #-28]
ldr r3, [fp, #-152]
add r3, r3, #16
mov r0, r3
bl load_littleendian
str r0, [fp, #-92]
ldr r3, [fp, #-92]
str r3, [fp, #-24]
ldr r3, [fp, #-152]
add r3, r3, #20
mov r0, r3
bl load_littleendian
str r0, [fp, #-88]
ldr r3, [fp, #-88]
str r3, [fp, #-20]
ldr r3, [fp, #-152]
add r3, r3, #24
mov r0, r3
bl load_littleendian
str r0, [fp, #-84]
ldr r3, [fp, #-84]
str r3, [fp, #-16]
ldr r3, [fp, #-152]
add r3, r3, #28
mov r0, r3
bl load_littleendian
str r0, [fp, #-80]
ldr r3, [fp, #-80]
str r3, [fp, #-12]
ldr r3, [fp, #-156]
add r3, r3, #12
mov r0, r3
bl load_littleendian
str r0, [fp, #-76]
ldr r3, [fp, #-76]
str r3, [fp, #-8]
mov r3, #20
str r3, [fp, #-72]
b .L7
.L8:
ldr r2, [fp, #-136]
ldr r3, [fp, #-88]
add r3, r2, r3
mov r1, #7
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-120]
eor r3, r3, r2
str r3, [fp, #-120]
ldr r2, [fp, #-120]
ldr r3, [fp, #-136]
add r3, r2, r3
mov r1, #9
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-104]
eor r3, r3, r2
str r3, [fp, #-104]
ldr r2, [fp, #-104]
ldr r3, [fp, #-120]
add r3, r2, r3
mov r1, #13
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-88]
eor r3, r3, r2
str r3, [fp, #-88]
ldr r2, [fp, #-88]
ldr r3, [fp, #-104]
add r3, r2, r3
mov r1, #18
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-136]
eor r3, r3, r2
str r3, [fp, #-136]
ldr r2, [fp, #-116]
ldr r3, [fp, #-132]
add r3, r2, r3
mov r1, #7
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-100]
eor r3, r3, r2
str r3, [fp, #-100]
ldr r2, [fp, #-100]
ldr r3, [fp, #-116]
add r3, r2, r3
mov r1, #9
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-84]
eor r3, r3, r2
str r3, [fp, #-84]
ldr r2, [fp, #-84]
ldr r3, [fp, #-100]
add r3, r2, r3
mov r1, #13
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-132]
eor r3, r3, r2
str r3, [fp, #-132]
ldr r2, [fp, #-132]
ldr r3, [fp, #-84]
add r3, r2, r3
mov r1, #18
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-116]
eor r3, r3, r2
str r3, [fp, #-116]
ldr r2, [fp, #-96]
ldr r3, [fp, #-112]
add r3, r2, r3
mov r1, #7
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-80]
eor r3, r3, r2
str r3, [fp, #-80]
ldr r2, [fp, #-80]
ldr r3, [fp, #-96]
add r3, r2, r3
mov r1, #9
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-128]
eor r3, r3, r2
str r3, [fp, #-128]
ldr r2, [fp, #-128]
ldr r3, [fp, #-80]
add r3, r2, r3
mov r1, #13
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-112]
eor r3, r3, r2
str r3, [fp, #-112]
ldr r2, [fp, #-112]
ldr r3, [fp, #-128]
add r3, r2, r3
mov r1, #18
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-96]
eor r3, r3, r2
str r3, [fp, #-96]
ldr r2, [fp, #-76]
ldr r3, [fp, #-92]
add r3, r2, r3
mov r1, #7
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-124]
eor r3, r3, r2
str r3, [fp, #-124]
ldr r2, [fp, #-124]
ldr r3, [fp, #-76]
add r3, r2, r3
mov r1, #9
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-108]
eor r3, r3, r2
str r3, [fp, #-108]
ldr r2, [fp, #-108]
ldr r3, [fp, #-124]
add r3, r2, r3
mov r1, #13
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-92]
eor r3, r3, r2
str r3, [fp, #-92]
ldr r2, [fp, #-92]
ldr r3, [fp, #-108]
add r3, r2, r3
mov r1, #18
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-76]
eor r3, r3, r2
str r3, [fp, #-76]
ldr r2, [fp, #-136]
ldr r3, [fp, #-124]
add r3, r2, r3
mov r1, #7
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-132]
eor r3, r3, r2
str r3, [fp, #-132]
ldr r2, [fp, #-132]
ldr r3, [fp, #-136]
add r3, r2, r3
mov r1, #9
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-128]
eor r3, r3, r2
str r3, [fp, #-128]
ldr r2, [fp, #-128]
ldr r3, [fp, #-132]
add r3, r2, r3
mov r1, #13
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-124]
eor r3, r3, r2
str r3, [fp, #-124]
ldr r2, [fp, #-124]
ldr r3, [fp, #-128]
add r3, r2, r3
mov r1, #18
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-136]
eor r3, r3, r2
str r3, [fp, #-136]
ldr r2, [fp, #-116]
ldr r3, [fp, #-120]
add r3, r2, r3
mov r1, #7
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-112]
eor r3, r3, r2
str r3, [fp, #-112]
ldr r2, [fp, #-112]
ldr r3, [fp, #-116]
add r3, r2, r3
mov r1, #9
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-108]
eor r3, r3, r2
str r3, [fp, #-108]
ldr r2, [fp, #-108]
ldr r3, [fp, #-112]
add r3, r2, r3
mov r1, #13
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-120]
eor r3, r3, r2
str r3, [fp, #-120]
ldr r2, [fp, #-120]
ldr r3, [fp, #-108]
add r3, r2, r3
mov r1, #18
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-116]
eor r3, r3, r2
str r3, [fp, #-116]
ldr r2, [fp, #-96]
ldr r3, [fp, #-100]
add r3, r2, r3
mov r1, #7
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-92]
eor r3, r3, r2
str r3, [fp, #-92]
ldr r2, [fp, #-92]
ldr r3, [fp, #-96]
add r3, r2, r3
mov r1, #9
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-104]
eor r3, r3, r2
str r3, [fp, #-104]
ldr r2, [fp, #-104]
ldr r3, [fp, #-92]
add r3, r2, r3
mov r1, #13
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-100]
eor r3, r3, r2
str r3, [fp, #-100]
ldr r2, [fp, #-100]
ldr r3, [fp, #-104]
add r3, r2, r3
mov r1, #18
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-96]
eor r3, r3, r2
str r3, [fp, #-96]
ldr r2, [fp, #-76]
ldr r3, [fp, #-80]
add r3, r2, r3
mov r1, #7
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-88]
eor r3, r3, r2
str r3, [fp, #-88]
ldr r2, [fp, #-88]
ldr r3, [fp, #-76]
add r3, r2, r3
mov r1, #9
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-84]
eor r3, r3, r2
str r3, [fp, #-84]
ldr r2, [fp, #-84]
ldr r3, [fp, #-88]
add r3, r2, r3
mov r1, #13
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-80]
eor r3, r3, r2
str r3, [fp, #-80]
ldr r2, [fp, #-80]
ldr r3, [fp, #-84]
add r3, r2, r3
mov r1, #18
mov r0, r3
bl rotate
mov r2, r0
ldr r3, [fp, #-76]
eor r3, r3, r2
str r3, [fp, #-76]
ldr r3, [fp, #-72]
sub r3, r3, #2
str r3, [fp, #-72]
.L7:
ldr r3, [fp, #-72]
cmp r3, #0
bgt .L8
ldr r2, [fp, #-136]
ldr r3, [fp, #-68]
add r3, r2, r3
str r3, [fp, #-136]
ldr r2, [fp, #-132]
ldr r3, [fp, #-64]
add r3, r2, r3
str r3, [fp, #-132]
ldr r2, [fp, #-128]
ldr r3, [fp, #-60]
add r3, r2, r3
str r3, [fp, #-128]
ldr r2, [fp, #-124]
ldr r3, [fp, #-56]
add r3, r2, r3
str r3, [fp, #-124]
ldr r2, [fp, #-120]
ldr r3, [fp, #-52]
add r3, r2, r3
str r3, [fp, #-120]
ldr r2, [fp, #-116]
ldr r3, [fp, #-48]
add r3, r2, r3
str r3, [fp, #-116]
ldr r2, [fp, #-112]
ldr r3, [fp, #-44]
add r3, r2, r3
str r3, [fp, #-112]
ldr r2, [fp, #-108]
ldr r3, [fp, #-40]
add r3, r2, r3
str r3, [fp, #-108]
ldr r2, [fp, #-104]
ldr r3, [fp, #-36]
add r3, r2, r3
str r3, [fp, #-104]
ldr r2, [fp, #-100]
ldr r3, [fp, #-32]
add r3, r2, r3
str r3, [fp, #-100]
ldr r2, [fp, #-96]
ldr r3, [fp, #-28]
add r3, r2, r3
str r3, [fp, #-96]
ldr r2, [fp, #-92]
ldr r3, [fp, #-24]
add r3, r2, r3
str r3, [fp, #-92]
ldr r2, [fp, #-88]
ldr r3, [fp, #-20]
add r3, r2, r3
str r3, [fp, #-88]
ldr r2, [fp, #-84]
ldr r3, [fp, #-16]
add r3, r2, r3
str r3, [fp, #-84]
ldr r2, [fp, #-80]
ldr r3, [fp, #-12]
add r3, r2, r3
str r3, [fp, #-80]
ldr r2, [fp, #-76]
ldr r3, [fp, #-8]
add r3, r2, r3
str r3, [fp, #-76]
ldr r1, [fp, #-136]
ldr r0, [fp, #-144]
bl store_littleendian
ldr r3, [fp, #-144]
add r3, r3, #4
ldr r1, [fp, #-132]
mov r0, r3
bl store_littleendian
ldr r3, [fp, #-144]
add r3, r3, #8
ldr r1, [fp, #-128]
mov r0, r3
bl store_littleendian
ldr r3, [fp, #-144]
add r3, r3, #12
ldr r1, [fp, #-124]
mov r0, r3
bl store_littleendian
ldr r3, [fp, #-144]
add r3, r3, #16
ldr r1, [fp, #-120]
mov r0, r3
bl store_littleendian
ldr r3, [fp, #-144]
add r3, r3, #20
ldr r1, [fp, #-116]
mov r0, r3
bl store_littleendian
ldr r3, [fp, #-144]
add r3, r3, #24
ldr r1, [fp, #-112]
mov r0, r3
bl store_littleendian
ldr r3, [fp, #-144]
add r3, r3, #28
ldr r1, [fp, #-108]
mov r0, r3
bl store_littleendian
ldr r3, [fp, #-144]
add r3, r3, #32
ldr r1, [fp, #-104]
mov r0, r3
bl store_littleendian
ldr r3, [fp, #-144]
add r3, r3, #36
ldr r1, [fp, #-100]
mov r0, r3
bl store_littleendian
ldr r3, [fp, #-144]
add r3, r3, #40
ldr r1, [fp, #-96]
mov r0, r3
bl store_littleendian
ldr r3, [fp, #-144]
add r3, r3, #44
ldr r1, [fp, #-92]
mov r0, r3
bl store_littleendian
ldr r3, [fp, #-144]
add r3, r3, #48
ldr r1, [fp, #-88]
mov r0, r3
bl store_littleendian
ldr r3, [fp, #-144]
add r3, r3, #52
ldr r1, [fp, #-84]
mov r0, r3
bl store_littleendian
ldr r3, [fp, #-144]
add r3, r3, #56
ldr r1, [fp, #-80]
mov r0, r3
bl store_littleendian
ldr r3, [fp, #-144]
add r3, r3, #60
ldr r1, [fp, #-76]
mov r0, r3
bl store_littleendian
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size crypto_core, .-crypto_core
.section .rodata
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global nfl_crypto_stream_salsa20
.syntax unified
.arm
.fpu softvfp
.type nfl_crypto_stream_salsa20, %function
nfl_crypto_stream_salsa20:
@ 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, #-144]
str r2, [fp, #-156]
str r3, [fp, #-152]
ldr r3, [fp, #4]
str r3, [fp, #-148]
ldr r3, [fp, #8]
str r3, [fp, #-160]
ldr r3, .L28
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
sub r3, fp, #156
ldmia r3, {r2-r3}
orrs r3, r2, r3
bne .L11
mov r3, #0
b .L26
.L11:
mov r3, #0
str r3, [fp, #-136]
b .L13
.L14:
ldr r3, [fp, #-136]
ldr r2, [fp, #-160]
add r3, r2, r3
ldrb r1, [r3] @ zero_extendqisi2
sub r2, fp, #112
ldr r3, [fp, #-136]
add r3, r2, r3
mov r2, r1
strb r2, [r3]
ldr r3, [fp, #-136]
add r3, r3, #1
str r3, [fp, #-136]
.L13:
ldr r3, [fp, #-136]
cmp r3, #31
ble .L14
mov r3, #0
str r3, [fp, #-136]
b .L15
.L16:
ldr r3, [fp, #-136]
ldr r2, [fp, #-148]
add r3, r2, r3
ldrb r1, [r3] @ zero_extendqisi2
sub r2, fp, #128
ldr r3, [fp, #-136]
add r3, r2, r3
mov r2, r1
strb r2, [r3]
ldr r3, [fp, #-136]
add r3, r3, #1
str r3, [fp, #-136]
.L15:
ldr r3, [fp, #-136]
cmp r3, #7
ble .L16
mov r3, #8
str r3, [fp, #-136]
b .L17
.L18:
sub r2, fp, #128
ldr r3, [fp, #-136]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
ldr r3, [fp, #-136]
add r3, r3, #1
str r3, [fp, #-136]
.L17:
ldr r3, [fp, #-136]
cmp r3, #15
ble .L18
b .L19
.L22:
sub r2, fp, #112
sub r1, fp, #128
ldr r3, .L28+4
ldr r0, [fp, #-144]
bl crypto_core_salsa20
mov r3, #1
str r3, [fp, #-132]
mov r3, #8
str r3, [fp, #-136]
b .L20
.L21:
sub r2, fp, #128
ldr r3, [fp, #-136]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
mov r2, r3
ldr r3, [fp, #-132]
add r3, r3, r2
str r3, [fp, #-132]
ldr r3, [fp, #-132]
and r1, r3, #255
sub r2, fp, #128
ldr r3, [fp, #-136]
add r3, r2, r3
mov r2, r1
strb r2, [r3]
ldr r3, [fp, #-132]
lsr r3, r3, #8
str r3, [fp, #-132]
ldr r3, [fp, #-136]
add r3, r3, #1
str r3, [fp, #-136]
.L20:
ldr r3, [fp, #-136]
cmp r3, #15
ble .L21
sub r3, fp, #156
ldmia r3, {r2-r3}
subs r4, r2, #64
sbc r5, r3, #0
str r4, [fp, #-156]
str r5, [fp, #-152]
ldr r3, [fp, #-144]
add r3, r3, #64
str r3, [fp, #-144]
.L19:
sub r3, fp, #156
ldmia r3, {r2-r3}
cmp r3, #0
cmpeq r2, #63
bhi .L22
sub r3, fp, #156
ldmia r3, {r2-r3}
orrs r3, r2, r3
beq .L23
sub r2, fp, #112
sub r1, fp, #128
sub r0, fp, #80
ldr r3, .L28+4
bl crypto_core_salsa20
mov r3, #0
str r3, [fp, #-136]
b .L24
.L25:
ldr r3, [fp, #-136]
ldr r2, [fp, #-144]
add r3, r2, r3
sub r1, fp, #80
ldr r2, [fp, #-136]
add r2, r1, r2
ldrb r2, [r2] @ zero_extendqisi2
strb r2, [r3]
ldr r3, [fp, #-136]
add r3, r3, #1
str r3, [fp, #-136]
.L24:
ldr r3, [fp, #-136]
mov r2, r3
asr r3, r2, #31
sub r1, fp, #156
ldmia r1, {r0-r1}
cmp r1, r3
cmpeq r0, r2
bhi .L25
.L23:
mov r3, #0
.L26:
ldr r2, .L28
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L27
bl __stack_chk_fail
.L27:
mov r0, r3
sub sp, fp, #12
@ sp needed
pop {r4, r5, fp, pc}
.L29:
.align 2
.L28:
.word .LC0
.word sigma
.size nfl_crypto_stream_salsa20, .-nfl_crypto_stream_salsa20
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "1000704.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 "1000704.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "193993.c"
.intel_syntax noprefix
.text
.globl swap
.type swap, @function
swap:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov rax, QWORD PTR -24[rbp]
mov eax, DWORD PTR [rax]
mov DWORD PTR -4[rbp], eax
mov rax, QWORD PTR -32[rbp]
mov edx, DWORD PTR [rax]
mov rax, QWORD PTR -24[rbp]
mov DWORD PTR [rax], edx
mov rax, QWORD PTR -32[rbp]
mov edx, DWORD PTR -4[rbp]
mov DWORD PTR [rax], edx
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size swap, .-swap
.globl shellSort
.type shellSort, @function
shellSort:
.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, 32
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov eax, DWORD PTR -28[rbp]
mov edx, eax
shr edx, 31
add eax, edx
sar eax
mov DWORD PTR -12[rbp], eax
jmp .L3
.L10:
mov eax, DWORD PTR -12[rbp]
mov DWORD PTR -4[rbp], eax
mov DWORD PTR -8[rbp], 0
jmp .L4
.L6:
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 [rax]
mov eax, DWORD PTR -4[rbp]
cdqe
lea rcx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rcx
mov eax, DWORD PTR [rax]
cmp edx, eax
jle .L5
mov eax, DWORD PTR -4[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rdx, rax
mov eax, DWORD PTR -8[rbp]
cdqe
lea rcx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rcx
mov rsi, rdx
mov rdi, rax
call swap
.L5:
add DWORD PTR -8[rbp], 1
add DWORD PTR -4[rbp], 1
.L4:
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -28[rbp]
jl .L6
sub DWORD PTR -8[rbp], 1
sub DWORD PTR -4[rbp], 1
jmp .L7
.L9:
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 [rax]
mov eax, DWORD PTR -4[rbp]
cdqe
lea rcx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rcx
mov eax, DWORD PTR [rax]
cmp edx, eax
jle .L8
mov eax, DWORD PTR -4[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rdx, rax
mov eax, DWORD PTR -8[rbp]
cdqe
lea rcx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rcx
mov rsi, rdx
mov rdi, rax
call swap
.L8:
sub DWORD PTR -8[rbp], 1
sub DWORD PTR -4[rbp], 1
.L7:
cmp DWORD PTR -8[rbp], 0
jns .L9
mov eax, DWORD PTR -12[rbp]
mov edx, eax
shr edx, 31
add eax, edx
sar eax
mov DWORD PTR -12[rbp], eax
.L3:
cmp DWORD PTR -12[rbp], 0
jne .L10
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size shellSort, .-shellSort
.section .rodata
.LC0:
.string "Enter how many numbers: "
.LC1:
.string "%d"
.LC2:
.string "Enter %d numbers\n"
.LC3:
.string "After Sort"
.LC4:
.string "%d\t"
.text
.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
push r15
push r14
push r13
push r12
push rbx
sub rsp, 56
.cfi_offset 15, -24
.cfi_offset 14, -32
.cfi_offset 13, -40
.cfi_offset 12, -48
.cfi_offset 3, -56
mov rax, QWORD PTR fs:40
mov QWORD PTR -56[rbp], rax
xor eax, eax
mov rax, rsp
mov rbx, rax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
lea rax, -84[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov eax, DWORD PTR -84[rbp]
movsx rdx, eax
sub rdx, 1
mov QWORD PTR -72[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 ecx, 16
mov edx, 0
div rcx
imul rax, rax, 16
mov rcx, rax
and rcx, -4096
mov rdx, rsp
sub rdx, rcx
.L12:
cmp rsp, rdx
je .L13
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
jmp .L12
.L13:
mov rdx, rax
and edx, 4095
sub rsp, rdx
mov rdx, rax
and edx, 4095
test rdx, rdx
je .L14
and eax, 4095
sub rax, 8
add rax, rsp
or QWORD PTR [rax], 0
.L14:
mov rax, rsp
add rax, 3
shr rax, 2
sal rax, 2
mov QWORD PTR -64[rbp], rax
mov eax, DWORD PTR -84[rbp]
mov esi, eax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -76[rbp], 0
jmp .L15
.L16:
mov eax, DWORD PTR -76[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
add DWORD PTR -76[rbp], 1
.L15:
mov eax, DWORD PTR -84[rbp]
cmp DWORD PTR -76[rbp], eax
jl .L16
mov edx, DWORD PTR -84[rbp]
mov rax, QWORD PTR -64[rbp]
mov esi, edx
mov rdi, rax
call shellSort
lea rdi, .LC3[rip]
call puts@PLT
mov DWORD PTR -80[rbp], 0
jmp .L17
.L18:
mov rax, QWORD PTR -64[rbp]
mov edx, DWORD PTR -80[rbp]
movsx rdx, edx
mov eax, DWORD PTR [rax+rdx*4]
mov esi, eax
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -80[rbp], 1
.L17:
mov eax, DWORD PTR -84[rbp]
cmp DWORD PTR -80[rbp], eax
jl .L18
mov edi, 10
call putchar@PLT
mov eax, 0
mov rsp, rbx
mov rbx, QWORD PTR -56[rbp]
sub rbx, QWORD PTR fs:40
je .L20
call __stack_chk_fail@PLT
.L20:
lea rsp, -40[rbp]
pop rbx
pop r12
pop r13
pop r14
pop r15
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE2:
.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 "193993.c"
.text
.align 2
.global swap
.syntax unified
.arm
.fpu softvfp
.type swap, %function
swap:
@ 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, #-20]
ldr r2, [r3]
ldr r3, [fp, #-16]
str r2, [r3]
ldr r3, [fp, #-20]
ldr r2, [fp, #-8]
str r2, [r3]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size swap, .-swap
.align 2
.global shellSort
.syntax unified
.arm
.fpu softvfp
.type shellSort, %function
shellSort:
@ 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 r3, [fp, #-28]
lsr r2, r3, #31
add r3, r2, r3
asr r3, r3, #1
str r3, [fp, #-16]
b .L3
.L10:
ldr r3, [fp, #-16]
str r3, [fp, #-8]
mov r3, #0
str r3, [fp, #-12]
b .L4
.L6:
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-8]
lsl r3, r3, #2
ldr r1, [fp, #-24]
add r3, r1, r3
ldr r3, [r3]
cmp r2, r3
ble .L5
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r0, r2, r3
ldr r3, [fp, #-8]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r3, r2, r3
mov r1, r3
bl swap
.L5:
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L4:
ldr r2, [fp, #-8]
ldr r3, [fp, #-28]
cmp r2, r3
blt .L6
ldr r3, [fp, #-12]
sub r3, r3, #1
str r3, [fp, #-12]
ldr r3, [fp, #-8]
sub r3, r3, #1
str r3, [fp, #-8]
b .L7
.L9:
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-8]
lsl r3, r3, #2
ldr r1, [fp, #-24]
add r3, r1, r3
ldr r3, [r3]
cmp r2, r3
ble .L8
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r0, r2, r3
ldr r3, [fp, #-8]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r3, r2, r3
mov r1, r3
bl swap
.L8:
ldr r3, [fp, #-12]
sub r3, r3, #1
str r3, [fp, #-12]
ldr r3, [fp, #-8]
sub r3, r3, #1
str r3, [fp, #-8]
.L7:
ldr r3, [fp, #-12]
cmp r3, #0
bge .L9
ldr r3, [fp, #-16]
lsr r2, r3, #31
add r3, r2, r3
asr r3, r3, #1
str r3, [fp, #-16]
.L3:
ldr r3, [fp, #-16]
cmp r3, #0
bne .L10
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size shellSort, .-shellSort
.section .rodata
.align 2
.LC0:
.ascii "Enter how many numbers: \000"
.align 2
.LC1:
.ascii "%d\000"
.align 2
.LC2:
.ascii "Enter %d numbers\012\000"
.align 2
.LC3:
.ascii "After Sort\000"
.align 2
.LC4:
.ascii "%d\011\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 {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #28
ldr r3, .L18
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
mov r3, sp
mov r4, r3
ldr r0, .L18+4
bl printf
sub r3, fp, #36
mov r1, r3
ldr r0, .L18+8
bl __isoc99_scanf
ldr ip, [fp, #-36]
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]
ldr r3, [fp, #-36]
mov r1, r3
ldr r0, .L18+12
bl printf
mov r3, #0
str r3, [fp, #-28]
b .L12
.L13:
ldr r3, [fp, #-28]
lsl r3, r3, #2
ldr r2, [fp, #-20]
add r3, r2, r3
mov r1, r3
ldr r0, .L18+8
bl __isoc99_scanf
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L12:
ldr r3, [fp, #-36]
ldr r2, [fp, #-28]
cmp r2, r3
blt .L13
ldr r3, [fp, #-36]
mov r1, r3
ldr r0, [fp, #-20]
bl shellSort
ldr r0, .L18+16
bl puts
mov r3, #0
str r3, [fp, #-32]
b .L14
.L15:
ldr r3, [fp, #-20]
ldr r2, [fp, #-32]
ldr r3, [r3, r2, lsl #2]
mov r1, r3
ldr r0, .L18+20
bl printf
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L14:
ldr r3, [fp, #-36]
ldr r2, [fp, #-32]
cmp r2, r3
blt .L15
mov r0, #10
bl putchar
mov r3, #0
mov sp, r4
ldr r2, .L18
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L17
bl __stack_chk_fail
.L17:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L19:
.align 2
.L18:
.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 "632552.c"
.intel_syntax noprefix
.text
.globl partition
.type partition, @function
partition:
.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 -40[rbp], rdi
mov DWORD PTR -44[rbp], esi
mov DWORD PTR -48[rbp], edx
mov eax, DWORD PTR -44[rbp]
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -20[rbp]
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -48[rbp]
mov DWORD PTR -16[rbp], eax
mov DWORD PTR -8[rbp], 0
jmp .L2
.L5:
sub DWORD PTR -16[rbp], 1
.L3:
mov eax, DWORD PTR -12[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -40[rbp]
add rax, rdx
mov edx, DWORD PTR [rax]
mov eax, DWORD PTR -16[rbp]
cdqe
lea rcx, 0[0+rax*4]
mov rax, QWORD PTR -40[rbp]
add rax, rcx
mov eax, DWORD PTR [rax]
cmp edx, eax
jg .L4
mov eax, DWORD PTR -12[rbp]
cmp eax, DWORD PTR -16[rbp]
jne .L5
.L4:
mov eax, DWORD PTR -12[rbp]
cmp eax, DWORD PTR -16[rbp]
jne .L6
mov DWORD PTR -8[rbp], 1
jmp .L7
.L6:
mov eax, DWORD PTR -12[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -40[rbp]
add rax, rdx
mov edx, DWORD PTR [rax]
mov eax, DWORD PTR -16[rbp]
cdqe
lea rcx, 0[0+rax*4]
mov rax, QWORD PTR -40[rbp]
add rax, rcx
mov eax, DWORD PTR [rax]
cmp edx, eax
jle .L7
mov eax, DWORD PTR -12[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -40[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -16[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -40[rbp]
add rax, rdx
mov edx, DWORD PTR -12[rbp]
movsx rdx, edx
lea rcx, 0[0+rdx*4]
mov rdx, QWORD PTR -40[rbp]
add rdx, rcx
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
mov eax, DWORD PTR -16[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
mov eax, DWORD PTR -16[rbp]
mov DWORD PTR -12[rbp], eax
.L7:
cmp DWORD PTR -8[rbp], 1
je .L2
jmp .L8
.L10:
add DWORD PTR -20[rbp], 1
.L8:
mov eax, DWORD PTR -12[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -40[rbp]
add rax, rdx
mov edx, DWORD PTR [rax]
mov eax, DWORD PTR -20[rbp]
cdqe
lea rcx, 0[0+rax*4]
mov rax, QWORD PTR -40[rbp]
add rax, rcx
mov eax, DWORD PTR [rax]
cmp edx, eax
jl .L9
mov eax, DWORD PTR -12[rbp]
cmp eax, DWORD PTR -20[rbp]
jne .L10
.L9:
mov eax, DWORD PTR -12[rbp]
cmp eax, DWORD PTR -20[rbp]
jne .L11
mov DWORD PTR -8[rbp], 1
jmp .L2
.L11:
mov eax, DWORD PTR -12[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -40[rbp]
add rax, rdx
mov edx, DWORD PTR [rax]
mov eax, DWORD PTR -20[rbp]
cdqe
lea rcx, 0[0+rax*4]
mov rax, QWORD PTR -40[rbp]
add rax, rcx
mov eax, DWORD PTR [rax]
cmp edx, eax
jge .L2
mov eax, DWORD PTR -12[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -40[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -20[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -40[rbp]
add rax, rdx
mov edx, DWORD PTR -12[rbp]
movsx rdx, edx
lea rcx, 0[0+rdx*4]
mov rdx, QWORD PTR -40[rbp]
add rdx, rcx
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
mov eax, DWORD PTR -20[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
mov eax, DWORD PTR -20[rbp]
mov DWORD PTR -12[rbp], eax
.L2:
cmp DWORD PTR -8[rbp], 1
jne .L3
mov eax, DWORD PTR -12[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size partition, .-partition
.globl quickSort
.type quickSort, @function
quickSort:
.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 DWORD PTR -28[rbp], esi
mov DWORD PTR -32[rbp], edx
mov eax, DWORD PTR -28[rbp]
cmp eax, DWORD PTR -32[rbp]
jge .L16
mov edx, DWORD PTR -32[rbp]
mov ecx, DWORD PTR -28[rbp]
mov rax, QWORD PTR -24[rbp]
mov esi, ecx
mov rdi, rax
call partition
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
lea edx, -1[rax]
mov ecx, DWORD PTR -28[rbp]
mov rax, QWORD PTR -24[rbp]
mov esi, ecx
mov rdi, rax
call quickSort
mov eax, DWORD PTR -4[rbp]
lea ecx, 1[rax]
mov edx, DWORD PTR -32[rbp]
mov rax, QWORD PTR -24[rbp]
mov esi, ecx
mov rdi, rax
call quickSort
.L16:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size quickSort, .-quickSort
.section .rodata
.LC0:
.string "Enter No of testcases : "
.LC1:
.string "%d"
.LC2:
.string "n = "
.LC4:
.string "time = %.5f \n"
.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
push r15
push r14
push r13
push r12
push rbx
sub rsp, 72
.cfi_offset 15, -24
.cfi_offset 14, -32
.cfi_offset 13, -40
.cfi_offset 12, -48
.cfi_offset 3, -56
mov rax, QWORD PTR fs:40
mov QWORD PTR -56[rbp], rax
xor eax, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
lea rax, -104[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
jmp .L18
.L24:
mov rax, rsp
mov rbx, rax
call clock@PLT
mov QWORD PTR -96[rbp], rax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
lea rax, -108[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov eax, DWORD PTR -108[rbp]
movsx rdx, eax
sub rdx, 1
mov QWORD PTR -88[rbp], rdx
movsx rdx, eax
mov r12, rdx
mov r13d, 0
movsx rdx, eax
mov r14, rdx
mov r15d, 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
.L19:
cmp rsp, rdx
je .L20
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
jmp .L19
.L20:
mov rdx, rax
and edx, 4095
sub rsp, rdx
mov rdx, rax
and edx, 4095
test rdx, rdx
je .L21
and eax, 4095
sub rax, 8
add rax, rsp
or QWORD PTR [rax], 0
.L21:
mov rax, rsp
add rax, 3
shr rax, 2
sal rax, 2
mov QWORD PTR -80[rbp], rax
mov DWORD PTR -100[rbp], 0
jmp .L22
.L23:
call rand@PLT
movsx rdx, eax
imul rdx, rdx, 1374389535
shr rdx, 32
sar edx, 5
mov ecx, eax
sar ecx, 31
sub edx, ecx
imul ecx, edx, 100
sub eax, ecx
mov edx, eax
mov rax, QWORD PTR -80[rbp]
mov ecx, DWORD PTR -100[rbp]
movsx rcx, ecx
mov DWORD PTR [rax+rcx*4], edx
add DWORD PTR -100[rbp], 1
.L22:
mov eax, DWORD PTR -108[rbp]
cmp DWORD PTR -100[rbp], eax
jl .L23
mov eax, DWORD PTR -108[rbp]
lea edx, -1[rax]
mov rax, QWORD PTR -80[rbp]
mov esi, 0
mov rdi, rax
call quickSort
call clock@PLT
mov QWORD PTR -72[rbp], rax
mov rax, QWORD PTR -72[rbp]
sub rax, QWORD PTR -96[rbp]
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
movsd xmm1, QWORD PTR .LC3[rip]
divsd xmm0, xmm1
movsd QWORD PTR -64[rbp], xmm0
mov rax, QWORD PTR -64[rbp]
movq xmm0, rax
lea rdi, .LC4[rip]
mov eax, 1
call printf@PLT
mov rsp, rbx
.L18:
mov eax, DWORD PTR -104[rbp]
lea edx, -1[rax]
mov DWORD PTR -104[rbp], edx
test eax, eax
jne .L24
mov eax, 0
mov rbx, QWORD PTR -56[rbp]
sub rbx, QWORD PTR fs:40
je .L26
call __stack_chk_fail@PLT
.L26:
lea rsp, -40[rbp]
pop rbx
pop r12
pop r13
pop r14
pop r15
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size main, .-main
.section .rodata
.align 8
.LC3:
.long 0
.long 1093567616
.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 "632552.c"
.text
.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
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #44
str r0, [fp, #-32]
str r1, [fp, #-36]
str r2, [fp, #-40]
ldr r3, [fp, #-36]
str r3, [fp, #-24]
ldr r3, [fp, #-24]
str r3, [fp, #-16]
ldr r3, [fp, #-40]
str r3, [fp, #-20]
mov r3, #0
str r3, [fp, #-12]
b .L2
.L5:
ldr r3, [fp, #-20]
sub r3, r3, #1
str r3, [fp, #-20]
.L3:
ldr r3, [fp, #-16]
lsl r3, r3, #2
ldr r2, [fp, #-32]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-20]
lsl r3, r3, #2
ldr r1, [fp, #-32]
add r3, r1, r3
ldr r3, [r3]
cmp r2, r3
bgt .L4
ldr r2, [fp, #-16]
ldr r3, [fp, #-20]
cmp r2, r3
bne .L5
.L4:
ldr r2, [fp, #-16]
ldr r3, [fp, #-20]
cmp r2, r3
bne .L6
mov r3, #1
str r3, [fp, #-12]
b .L7
.L6:
ldr r3, [fp, #-16]
lsl r3, r3, #2
ldr r2, [fp, #-32]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-20]
lsl r3, r3, #2
ldr r1, [fp, #-32]
add r3, r1, r3
ldr r3, [r3]
cmp r2, r3
ble .L7
ldr r3, [fp, #-16]
lsl r3, r3, #2
ldr r2, [fp, #-32]
add r3, r2, r3
ldr r3, [r3]
str r3, [fp, #-8]
ldr r3, [fp, #-20]
lsl r3, r3, #2
ldr r2, [fp, #-32]
add r2, r2, r3
ldr r3, [fp, #-16]
lsl r3, r3, #2
ldr r1, [fp, #-32]
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
ldr r3, [fp, #-20]
lsl r3, r3, #2
ldr r2, [fp, #-32]
add r3, r2, r3
ldr r2, [fp, #-8]
str r2, [r3]
ldr r3, [fp, #-20]
str r3, [fp, #-16]
.L7:
ldr r3, [fp, #-12]
cmp r3, #1
beq .L2
b .L8
.L10:
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L8:
ldr r3, [fp, #-16]
lsl r3, r3, #2
ldr r2, [fp, #-32]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
ldr r1, [fp, #-32]
add r3, r1, r3
ldr r3, [r3]
cmp r2, r3
blt .L9
ldr r2, [fp, #-16]
ldr r3, [fp, #-24]
cmp r2, r3
bne .L10
.L9:
ldr r2, [fp, #-16]
ldr r3, [fp, #-24]
cmp r2, r3
bne .L11
mov r3, #1
str r3, [fp, #-12]
b .L2
.L11:
ldr r3, [fp, #-16]
lsl r3, r3, #2
ldr r2, [fp, #-32]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
ldr r1, [fp, #-32]
add r3, r1, r3
ldr r3, [r3]
cmp r2, r3
bge .L2
ldr r3, [fp, #-16]
lsl r3, r3, #2
ldr r2, [fp, #-32]
add r3, r2, r3
ldr r3, [r3]
str r3, [fp, #-8]
ldr r3, [fp, #-24]
lsl r3, r3, #2
ldr r2, [fp, #-32]
add r2, r2, r3
ldr r3, [fp, #-16]
lsl r3, r3, #2
ldr r1, [fp, #-32]
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
ldr r2, [fp, #-32]
add r3, r2, r3
ldr r2, [fp, #-8]
str r2, [r3]
ldr r3, [fp, #-24]
str r3, [fp, #-16]
.L2:
ldr r3, [fp, #-12]
cmp r3, #1
bne .L3
ldr r3, [fp, #-16]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size partition, .-partition
.align 2
.global quickSort
.syntax unified
.arm
.fpu softvfp
.type quickSort, %function
quickSort:
@ 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 r2, [fp, #-20]
ldr r3, [fp, #-24]
cmp r2, r3
bge .L16
ldr r2, [fp, #-24]
ldr r1, [fp, #-20]
ldr r0, [fp, #-16]
bl partition
str r0, [fp, #-8]
ldr r3, [fp, #-8]
sub r3, r3, #1
mov r2, r3
ldr r1, [fp, #-20]
ldr r0, [fp, #-16]
bl quickSort
ldr r3, [fp, #-8]
add r3, r3, #1
ldr r2, [fp, #-24]
mov r1, r3
ldr r0, [fp, #-16]
bl quickSort
.L16:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size quickSort, .-quickSort
.section .rodata
.align 2
.LC0:
.ascii "Enter No of testcases : \000"
.align 2
.LC1:
.ascii "%d\000"
.align 2
.LC2:
.ascii "n = \000"
.global __aeabi_i2d
.global __aeabi_ddiv
.align 2
.LC3:
.ascii "time = %.5f \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 = 48
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #52
ldr r3, .L24
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
ldr r0, .L24+4
bl printf
sub r3, fp, #52
mov r1, r3
ldr r0, .L24+8
bl __isoc99_scanf
b .L18
.L21:
mov r3, sp
mov r4, r3
bl clock
str r0, [fp, #-44]
ldr r0, .L24+12
bl printf
sub r3, fp, #56
mov r1, r3
ldr r0, .L24+8
bl __isoc99_scanf
ldr ip, [fp, #-56]
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
mov r3, sp
add r3, r3, #3
lsr r3, r3, #2
lsl r3, r3, #2
str r3, [fp, #-36]
mov r3, #0
str r3, [fp, #-48]
b .L19
.L20:
bl rand
mov r1, r0
ldr r3, .L24+16
smull r2, r3, r1, r3
asr r2, r3, #5
asr r3, r1, #31
sub r2, r2, r3
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r2, r3, #2
add r3, r3, r2
lsl r3, r3, #2
sub r2, r1, r3
ldr r3, [fp, #-36]
ldr r1, [fp, #-48]
str r2, [r3, r1, lsl #2]
ldr r3, [fp, #-48]
add r3, r3, #1
str r3, [fp, #-48]
.L19:
ldr r3, [fp, #-56]
ldr r2, [fp, #-48]
cmp r2, r3
blt .L20
ldr r3, [fp, #-56]
sub r3, r3, #1
mov r2, r3
mov r1, #0
ldr r0, [fp, #-36]
bl quickSort
bl clock
str r0, [fp, #-32]
ldr r2, [fp, #-32]
ldr r3, [fp, #-44]
sub r3, r2, r3
mov r0, r3
bl __aeabi_i2d
mov r2, #0
ldr r3, .L24+20
bl __aeabi_ddiv
mov r2, r0
mov r3, r1
str r2, [fp, #-28]
str r3, [fp, #-24]
sub r3, fp, #28
ldmia r3, {r2-r3}
ldr r0, .L24+24
bl printf
mov sp, r4
.L18:
ldr r3, [fp, #-52]
sub r2, r3, #1
str r2, [fp, #-52]
cmp r3, #0
bne .L21
mov r3, #0
ldr r2, .L24
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L23
bl __stack_chk_fail
.L23:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L25:
.align 2
.L24:
.word .LC4
.word .LC0
.word .LC1
.word .LC2
.word 1374389535
.word 1093567616
.word .LC3
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "564639.c"
.intel_syntax noprefix
.text
.section .rodata
.LC1:
.string "\350\257\267\350\276\223\345\205\245eps: "
.LC2:
.string "%lf"
.LC4:
.string "e: %f\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
movsd xmm0, QWORD PTR .LC0[rip]
movsd QWORD PTR -24[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
movsd xmm0, QWORD PTR .LC3[rip]
movsd QWORD PTR -16[rbp], xmm0
mov DWORD PTR -44[rbp], 2
jmp .L2
.L7:
mov DWORD PTR -40[rbp], 1
mov DWORD PTR -36[rbp], 1
jmp .L3
.L4:
mov eax, DWORD PTR -40[rbp]
imul eax, DWORD PTR -36[rbp]
mov DWORD PTR -40[rbp], eax
add DWORD PTR -36[rbp], 1
.L3:
mov eax, DWORD PTR -36[rbp]
cmp eax, DWORD PTR -44[rbp]
jbe .L4
mov eax, DWORD PTR -40[rbp]
test rax, rax
js .L5
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
jmp .L6
.L5:
mov rdx, rax
shr rdx
and eax, 1
or rdx, rax
pxor xmm0, xmm0
cvtsi2sd xmm0, rdx
addsd xmm0, xmm0
.L6:
movsd xmm1, QWORD PTR .LC3[rip]
divsd xmm1, xmm0
movsd QWORD PTR -16[rbp], xmm1
movsd xmm0, QWORD PTR -24[rbp]
addsd xmm0, QWORD PTR -16[rbp]
movsd QWORD PTR -24[rbp], xmm0
add DWORD PTR -44[rbp], 1
.L2:
movsd xmm1, QWORD PTR -32[rbp]
movsd xmm0, QWORD PTR -16[rbp]
comisd xmm0, xmm1
ja .L7
mov rax, QWORD PTR -24[rbp]
movq xmm0, rax
lea rdi, .LC4[rip]
mov eax, 1
call printf@PLT
mov eax, 0
mov rcx, QWORD PTR -8[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 main, .-main
.section .rodata
.align 8
.LC0:
.long 0
.long 1073741824
.align 8
.LC3:
.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 "564639.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "\350\257\267\350\276\223\345\205\245eps: \000"
.align 2
.LC1:
.ascii "%lf\000"
.global __aeabi_ui2d
.global __aeabi_ddiv
.global __aeabi_dadd
.global __aeabi_dcmpgt
.align 2
.LC2:
.ascii "e: %f\012\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, #48
ldr r3, .L8
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r2, #0
mov r3, #1073741824
str r2, [fp, #-28]
str r3, [fp, #-24]
ldr r0, .L8+4
bl printf
sub r3, fp, #36
mov r1, r3
ldr r0, .L8+8
bl __isoc99_scanf
mov r2, #0
ldr r3, .L8+12
str r2, [fp, #-20]
str r3, [fp, #-16]
mov r3, #2
str r3, [fp, #-48]
b .L2
.L5:
mov r3, #1
str r3, [fp, #-44]
mov r3, #1
str r3, [fp, #-40]
b .L3
.L4:
ldr r3, [fp, #-44]
ldr r2, [fp, #-40]
mul r3, r2, r3
str r3, [fp, #-44]
ldr r3, [fp, #-40]
add r3, r3, #1
str r3, [fp, #-40]
.L3:
ldr r2, [fp, #-40]
ldr r3, [fp, #-48]
cmp r2, r3
bls .L4
ldr r0, [fp, #-44]
bl __aeabi_ui2d
mov r2, r0
mov r3, r1
mov r0, #0
ldr r1, .L8+12
bl __aeabi_ddiv
mov r2, r0
mov r3, r1
str r2, [fp, #-20]
str r3, [fp, #-16]
sub r3, fp, #20
ldmia r3, {r2-r3}
sub r1, fp, #28
ldmia r1, {r0-r1}
bl __aeabi_dadd
mov r2, r0
mov r3, r1
str r2, [fp, #-28]
str r3, [fp, #-24]
ldr r3, [fp, #-48]
add r3, r3, #1
str r3, [fp, #-48]
.L2:
sub r3, fp, #36
ldmia r3, {r2-r3}
sub r1, fp, #20
ldmia r1, {r0-r1}
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
bne .L5
sub r3, fp, #28
ldmia r3, {r2-r3}
ldr r0, .L8+16
bl printf
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 1072693248
.word .LC2
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "407016.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%f, %f\n"
.text
.globl tofloat
.type tofloat, @function
tofloat:
.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
fld TBYTE PTR 16[rbp]
fstp DWORD PTR -12[rbp]
fld TBYTE PTR 16[rbp]
fstp QWORD PTR -8[rbp]
pxor xmm2, xmm2
cvtss2sd xmm2, DWORD PTR -12[rbp]
movq rax, xmm2
movsd xmm0, QWORD PTR -8[rbp]
movapd xmm1, xmm0
movq xmm0, rax
lea rdi, .LC0[rip]
mov eax, 2
call printf@PLT
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size tofloat, .-tofloat
.section .rodata
.LC3:
.string "%d, %d, %d, %u, %ld, %lu\n"
.text
.globl toint
.type toint, @function
toint:
.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
fld TBYTE PTR 16[rbp]
fnstcw WORD PTR -34[rbp]
movzx eax, WORD PTR -34[rbp]
or ah, 12
mov WORD PTR -36[rbp], ax
fldcw WORD PTR -36[rbp]
fistp WORD PTR -48[rbp]
fldcw WORD PTR -34[rbp]
movzx eax, WORD PTR -48[rbp]
mov BYTE PTR -26[rbp], al
fld TBYTE PTR 16[rbp]
fldcw WORD PTR -36[rbp]
fistp WORD PTR -48[rbp]
fldcw WORD PTR -34[rbp]
movzx eax, WORD PTR -48[rbp]
mov BYTE PTR -25[rbp], al
fld TBYTE PTR 16[rbp]
fldcw WORD PTR -36[rbp]
fistp DWORD PTR -24[rbp]
fldcw WORD PTR -34[rbp]
fld TBYTE PTR 16[rbp]
fldcw WORD PTR -36[rbp]
fistp QWORD PTR -48[rbp]
fldcw WORD PTR -34[rbp]
mov rax, QWORD PTR -48[rbp]
mov DWORD PTR -20[rbp], eax
fld TBYTE PTR 16[rbp]
fldcw WORD PTR -36[rbp]
fistp QWORD PTR -16[rbp]
fldcw WORD PTR -34[rbp]
fld TBYTE PTR .LC2[rip]
fld TBYTE PTR 16[rbp]
fcomip st, st(1)
fstp st(0)
jnb .L4
fld TBYTE PTR 16[rbp]
fldcw WORD PTR -36[rbp]
fistp QWORD PTR -8[rbp]
fldcw WORD PTR -34[rbp]
jmp .L5
.L4:
fld TBYTE PTR 16[rbp]
fld TBYTE PTR .LC2[rip]
fsubp st(1), st
fldcw WORD PTR -36[rbp]
fistp QWORD PTR -8[rbp]
fldcw WORD PTR -34[rbp]
movabs rax, -9223372036854775808
xor QWORD PTR -8[rbp], rax
.L5:
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR -8[rbp], rax
movzx edx, BYTE PTR -25[rbp]
movsx eax, BYTE PTR -26[rbp]
mov rdi, QWORD PTR -16[rbp]
mov esi, DWORD PTR -20[rbp]
mov ecx, DWORD PTR -24[rbp]
sub rsp, 8
push QWORD PTR -8[rbp]
mov r9, rdi
mov r8d, esi
mov esi, eax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
add rsp, 16
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size toint, .-toint
.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
push rbx
sub rsp, 56
.cfi_offset 3, -24
fld TBYTE PTR .LC4[rip]
fstp TBYTE PTR -64[rbp]
fld TBYTE PTR .LC5[rip]
fstp TBYTE PTR -48[rbp]
fld TBYTE PTR .LC6[rip]
fstp TBYTE PTR -32[rbp]
push QWORD PTR -56[rbp]
push QWORD PTR -64[rbp]
call toint
add rsp, 16
mov ebx, eax
push QWORD PTR -40[rbp]
push QWORD PTR -48[rbp]
call toint
add rsp, 16
add ebx, eax
push QWORD PTR -24[rbp]
push QWORD PTR -32[rbp]
call toint
add rsp, 16
add ebx, eax
push QWORD PTR -56[rbp]
push QWORD PTR -64[rbp]
call tofloat
add rsp, 16
add ebx, eax
push QWORD PTR -40[rbp]
push QWORD PTR -48[rbp]
call tofloat
add rsp, 16
add ebx, eax
push QWORD PTR -24[rbp]
push QWORD PTR -32[rbp]
call tofloat
add rsp, 16
add eax, ebx
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE2:
.size main, .-main
.section .rodata
.align 16
.LC2:
.long 0
.long -2147483648
.long 16446
.long 0
.align 16
.LC4:
.long 1546188800
.long -923417969
.long 16384
.long 0
.align 16
.LC5:
.long 98115575
.long -2078461678
.long 16430
.long 0
.align 16
.LC6:
.long 858993459
.long -312358093
.long 49170
.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 "407016.c"
.text
.global __aeabi_d2f
.global __aeabi_f2d
.section .rodata
.align 2
.LC0:
.ascii "%f, %f\012\000"
.text
.align 2
.global tofloat
.syntax unified
.arm
.fpu softvfp
.type tofloat, %function
tofloat:
@ args = 0, pretend = 0, frame = 24
@ 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]
sub r1, fp, #28
ldmia r1, {r0-r1}
bl __aeabi_d2f
mov r3, r0
str r3, [fp, #-16] @ float
sub r3, fp, #28
ldmia r3, {r2-r3}
str r2, [fp, #-12]
str r3, [fp, #-8]
ldr r0, [fp, #-16] @ float
bl __aeabi_f2d
sub r3, fp, #12
ldmia r3, {r2-r3}
stm sp, {r2-r3}
mov r2, r0
mov r3, r1
ldr r0, .L3
bl printf
mov r3, r0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L4:
.align 2
.L3:
.word .LC0
.size tofloat, .-tofloat
.global __aeabi_d2uiz
.global __aeabi_d2iz
.section .rodata
.align 2
.LC1:
.ascii "%d, %d, %d, %u, %ld, %lu\012\000"
.text
.align 2
.global toint
.syntax unified
.arm
.fpu softvfp
.type toint, %function
toint:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #48
str r0, [fp, #-36]
str r1, [fp, #-32]
sub r1, fp, #36
ldmia r1, {r0-r1}
bl __aeabi_d2uiz
mov r3, r0
strb r3, [fp, #-22]
sub r1, fp, #36
ldmia r1, {r0-r1}
bl __aeabi_d2uiz
mov r3, r0
strb r3, [fp, #-21]
sub r1, fp, #36
ldmia r1, {r0-r1}
bl __aeabi_d2iz
mov r3, r0
str r3, [fp, #-20]
sub r1, fp, #36
ldmia r1, {r0-r1}
bl __aeabi_d2uiz
mov r3, r0
str r3, [fp, #-16]
sub r1, fp, #36
ldmia r1, {r0-r1}
bl __aeabi_d2iz
mov r3, r0
str r3, [fp, #-12]
sub r1, fp, #36
ldmia r1, {r0-r1}
bl __aeabi_d2uiz
mov r3, r0
str r3, [fp, #-8]
ldrb r1, [fp, #-22] @ zero_extendqisi2
ldrb r2, [fp, #-21] @ zero_extendqisi2
ldr r3, [fp, #-8]
str r3, [sp, #8]
ldr r3, [fp, #-12]
str r3, [sp, #4]
ldr r3, [fp, #-16]
str r3, [sp]
ldr r3, [fp, #-20]
ldr r0, .L7
bl printf
mov r3, r0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L8:
.align 2
.L7:
.word .LC1
.size toint, .-toint
.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 {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #28
ldr r2, .L11
ldr r3, .L11+4
str r2, [fp, #-36]
str r3, [fp, #-32]
ldr r2, .L11+8
ldr r3, .L11+12
str r2, [fp, #-28]
str r3, [fp, #-24]
ldr r2, .L11+16
ldr r3, .L11+20
str r2, [fp, #-20]
str r3, [fp, #-16]
sub r1, fp, #36
ldmia r1, {r0-r1}
bl toint
mov r4, r0
sub r1, fp, #28
ldmia r1, {r0-r1}
bl toint
mov r3, r0
add r4, r4, r3
sub r1, fp, #20
ldmia r1, {r0-r1}
bl toint
mov r3, r0
add r4, r4, r3
sub r1, fp, #36
ldmia r1, {r0-r1}
bl tofloat
mov r3, r0
add r4, r4, r3
sub r1, fp, #28
ldmia r1, {r0-r1}
bl tofloat
mov r3, r0
add r4, r4, r3
sub r1, fp, #20
ldmia r1, {r0-r1}
bl tofloat
mov r3, r0
add r3, r4, r3
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L12:
.align 2
.L11:
.word 1374389535
.word 1074339512
.word 574667556
.word 1122010022
.word 1717986918
.word -1053971399
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "536669.c"
.intel_syntax noprefix
.text
.globl arr
.bss
.align 4096
.type arr, @object
.size arr, 4096
arr:
.zero 4096
.section .rodata
.LC0:
.string "FAIL\n"
.LC1:
.string "SUCCESS\n"
.text
.globl _start
.type _start, @function
_start:
.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
.L4:
mov eax, DWORD PTR -4[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, arr[rip]
mov eax, DWORD PTR [rdx+rax]
test eax, eax
je .L3
mov edx, 5
lea rsi, .LC0[rip]
mov edi, 1
call write@PLT
mov edi, 1
call exit@PLT
.L3:
add DWORD PTR -4[rbp], 1
.L2:
cmp DWORD PTR -4[rbp], 1023
jle .L4
mov edx, 8
lea rsi, .LC1[rip]
mov edi, 1
call write@PLT
mov edi, 0
call exit@PLT
.cfi_endproc
.LFE0:
.size _start, .-_start
.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 "536669.c"
.text
.comm arr,4096,4096
.section .rodata
.align 2
.LC0:
.ascii "FAIL\012\000"
.align 2
.LC1:
.ascii "SUCCESS\012\000"
.text
.align 2
.global _start
.syntax unified
.arm
.fpu softvfp
.type _start, %function
_start:
@ 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
.L4:
ldr r2, .L5
ldr r3, [fp, #-8]
ldr r3, [r2, r3, lsl #2]
cmp r3, #0
beq .L3
mov r2, #5
ldr r1, .L5+4
mov r0, #1
bl write
mov r0, #1
bl exit
.L3:
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L2:
ldr r3, [fp, #-8]
cmp r3, #1024
blt .L4
mov r2, #8
ldr r1, .L5+8
mov r0, #1
bl write
mov r0, #0
bl exit
.L6:
.align 2
.L5:
.word arr
.word .LC0
.word .LC1
.size _start, .-_start
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "658308.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
jmp .L2
.L6:
cmp DWORD PTR -4[rbp], 9
jne .L3
mov edi, 92
call putchar@PLT
mov edi, 116
call putchar@PLT
jmp .L2
.L3:
cmp DWORD PTR -4[rbp], 8
jne .L4
mov edi, 92
call putchar@PLT
mov edi, 98
call putchar@PLT
jmp .L2
.L4:
cmp DWORD PTR -4[rbp], 92
jne .L5
mov edi, 92
call putchar@PLT
mov edi, 92
call putchar@PLT
jmp .L2
.L5:
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 .L6
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 "658308.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
b .L2
.L6:
ldr r3, [fp, #-8]
cmp r3, #9
bne .L3
mov r0, #92
bl putchar
mov r0, #116
bl putchar
b .L2
.L3:
ldr r3, [fp, #-8]
cmp r3, #8
bne .L4
mov r0, #92
bl putchar
mov r0, #98
bl putchar
b .L2
.L4:
ldr r3, [fp, #-8]
cmp r3, #92
bne .L5
mov r0, #92
bl putchar
mov r0, #92
bl putchar
b .L2
.L5:
ldr r0, [fp, #-8]
bl putchar
.L2:
bl getchar
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmn r3, #1
bne .L6
mov r3, #0
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 "564772.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
sub rsp, 16
mov DWORD PTR -4[rbp], edi
cmp DWORD PTR -4[rbp], 100
jle .L2
mov eax, DWORD PTR -4[rbp]
sub eax, 10
jmp .L3
.L2:
mov eax, DWORD PTR -4[rbp]
add eax, 11
mov edi, eax
call func
mov edi, eax
call func
.L3:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size func, .-func
.section .rodata
.LC0:
.string "%d\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
sub rsp, 16
mov edi, 999
call func
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
mov eax, 0
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 "564772.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
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #100
ble .L2
ldr r3, [fp, #-8]
sub r3, r3, #10
b .L3
.L2:
ldr r3, [fp, #-8]
add r3, r3, #11
mov r0, r3
bl func
mov r3, r0
mov r0, r3
bl func
mov r3, r0
.L3:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size func, .-func
.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
ldr r0, .L6
bl func
str r0, [fp, #-8]
ldr r1, [fp, #-8]
ldr r0, .L6+4
bl printf
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L7:
.align 2
.L6:
.word 999
.word .LC0
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "584234.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "Enter your responses"
.LC1:
.string "%i"
.LC2:
.string "Bad response: %i\n"
.align 8
.LC3:
.string "\n\nRating Number of Responses"
.LC4:
.string "------ -------------------"
.LC5:
.string "%4i%14i\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, 80
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -68[rbp], 1
jmp .L2
.L3:
mov eax, DWORD PTR -68[rbp]
cdqe
mov DWORD PTR -64[rbp+rax*4], 0
add DWORD PTR -68[rbp], 1
.L2:
cmp DWORD PTR -68[rbp], 10
jle .L3
lea rdi, .LC0[rip]
call puts@PLT
mov DWORD PTR -68[rbp], 1
jmp .L4
.L8:
lea rax, -72[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov eax, DWORD PTR -72[rbp]
test eax, eax
jle .L5
mov eax, DWORD PTR -72[rbp]
cmp eax, 10
jle .L6
.L5:
mov eax, DWORD PTR -72[rbp]
mov esi, eax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
jmp .L7
.L6:
mov eax, DWORD PTR -72[rbp]
movsx rdx, eax
mov edx, DWORD PTR -64[rbp+rdx*4]
add edx, 1
cdqe
mov DWORD PTR -64[rbp+rax*4], edx
.L7:
add DWORD PTR -68[rbp], 1
.L4:
cmp DWORD PTR -68[rbp], 20
jle .L8
lea rdi, .LC3[rip]
call puts@PLT
lea rdi, .LC4[rip]
call puts@PLT
mov DWORD PTR -68[rbp], 1
jmp .L9
.L10:
mov eax, DWORD PTR -68[rbp]
cdqe
mov edx, DWORD PTR -64[rbp+rax*4]
mov eax, DWORD PTR -68[rbp]
mov esi, eax
lea rdi, .LC5[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -68[rbp], 1
.L9:
cmp DWORD PTR -68[rbp], 10
jle .L10
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
.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 "584234.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "Enter your responses\000"
.align 2
.LC1:
.ascii "%i\000"
.align 2
.LC2:
.ascii "Bad response: %i\012\000"
.align 2
.LC3:
.ascii "\012\012Rating Number of Responses\000"
.align 2
.LC4:
.ascii "------ -------------------\000"
.align 2
.LC5:
.ascii "%4i%14i\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 = 56
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #56
ldr r3, .L13
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #1
str r3, [fp, #-56]
b .L2
.L3:
ldr r3, [fp, #-56]
lsl r3, r3, #2
sub r2, fp, #4
add r3, r2, r3
mov r2, #0
str r2, [r3, #-48]
ldr r3, [fp, #-56]
add r3, r3, #1
str r3, [fp, #-56]
.L2:
ldr r3, [fp, #-56]
cmp r3, #10
ble .L3
ldr r0, .L13+4
bl puts
mov r3, #1
str r3, [fp, #-56]
b .L4
.L8:
sub r3, fp, #60
mov r1, r3
ldr r0, .L13+8
bl __isoc99_scanf
ldr r3, [fp, #-60]
cmp r3, #0
ble .L5
ldr r3, [fp, #-60]
cmp r3, #10
ble .L6
.L5:
ldr r3, [fp, #-60]
mov r1, r3
ldr r0, .L13+12
bl printf
b .L7
.L6:
ldr r2, [fp, #-60]
lsl r3, r2, #2
sub r1, fp, #4
add r3, r1, r3
ldr r3, [r3, #-48]
add r1, r3, #1
lsl r3, r2, #2
sub r2, fp, #4
add r3, r2, r3
str r1, [r3, #-48]
.L7:
ldr r3, [fp, #-56]
add r3, r3, #1
str r3, [fp, #-56]
.L4:
ldr r3, [fp, #-56]
cmp r3, #20
ble .L8
ldr r0, .L13+16
bl puts
ldr r0, .L13+20
bl puts
mov r3, #1
str r3, [fp, #-56]
b .L9
.L10:
ldr r3, [fp, #-56]
lsl r3, r3, #2
sub r2, fp, #4
add r3, r2, r3
ldr r3, [r3, #-48]
mov r2, r3
ldr r1, [fp, #-56]
ldr r0, .L13+24
bl printf
ldr r3, [fp, #-56]
add r3, r3, #1
str r3, [fp, #-56]
.L9:
ldr r3, [fp, #-56]
cmp r3, #10
ble .L10
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 .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 "930169.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%i\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, 80
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rax, -64[rbp]
mov QWORD PTR -72[rbp], rax
mov DWORD PTR -64[rbp], 100
lea rax, -48[rbp]
mov QWORD PTR -56[rbp], rax
mov DWORD PTR -48[rbp], 200
lea rax, -32[rbp]
mov QWORD PTR -40[rbp], rax
mov DWORD PTR -32[rbp], 300
mov QWORD PTR -24[rbp], 0
jmp .L2
.L3:
mov rax, QWORD PTR -72[rbp]
mov eax, DWORD PTR [rax]
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR -72[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -72[rbp], rax
.L2:
cmp QWORD PTR -72[rbp], 0
jne .L3
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 "930169.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "%i\012\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, .L6
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r3, fp, #32
str r3, [fp, #-36]
mov r3, #100
str r3, [fp, #-32]
sub r3, fp, #24
str r3, [fp, #-28]
mov r3, #200
str r3, [fp, #-24]
sub r3, fp, #16
str r3, [fp, #-20]
mov r3, #300
str r3, [fp, #-16]
mov r3, #0
str r3, [fp, #-12]
b .L2
.L3:
ldr r3, [fp, #-36]
ldr r3, [r3]
mov r1, r3
ldr r0, .L6+4
bl printf
ldr r3, [fp, #-36]
ldr r3, [r3, #4]
str r3, [fp, #-36]
.L2:
ldr r3, [fp, #-36]
cmp r3, #0
bne .L3
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 .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 "445057.c"
.intel_syntax noprefix
.text
.globl regfree
.type regfree, @function
regfree:
.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 rax, QWORD PTR -8[rbp]
mov rdi, rax
call free@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size regfree, .-regfree
.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 "445057.c"
.text
.align 2
.global regfree
.syntax unified
.arm
.fpu softvfp
.type regfree, %function
regfree:
@ 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 free
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size regfree, .-regfree
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "354598.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%d"
.LC1:
.string "Ho!"
.LC2:
.string "Ho "
.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 rax, -16[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov DWORD PTR -12[rbp], 1
jmp .L2
.L5:
mov eax, DWORD PTR -16[rbp]
cmp DWORD PTR -12[rbp], eax
jne .L3
lea rdi, .LC1[rip]
call puts@PLT
jmp .L4
.L3:
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
.L4:
add DWORD PTR -12[rbp], 1
.L2:
mov eax, DWORD PTR -16[rbp]
cmp DWORD PTR -12[rbp], eax
jle .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 "354598.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "%d\000"
.align 2
.LC1:
.ascii "Ho!\000"
.align 2
.LC2:
.ascii "Ho \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
sub r3, fp, #16
mov r1, r3
ldr r0, .L8+4
bl __isoc99_scanf
mov r3, #1
str r3, [fp, #-12]
b .L2
.L5:
ldr r3, [fp, #-16]
ldr r2, [fp, #-12]
cmp r2, r3
bne .L3
ldr r0, .L8+8
bl puts
b .L4
.L3:
ldr r0, .L8+12
bl printf
.L4:
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L2:
ldr r3, [fp, #-16]
ldr r2, [fp, #-12]
cmp r2, r3
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 .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 "741227.c"
.intel_syntax noprefix
.text
.globl _KDE_IceGetPoValidAuthIndices
.type _KDE_IceGetPoValidAuthIndices, @function
_KDE_IceGetPoValidAuthIndices:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 64
mov QWORD PTR -40[rbp], rdi
mov QWORD PTR -48[rbp], rsi
mov QWORD PTR -56[rbp], rdx
mov eax, 0
call foocp@PLT
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
je .L10
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call access@PLT
test eax, eax
jne .L11
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call access@PLT
mov DWORD PTR -16[rbp], eax
cmp DWORD PTR -16[rbp], 0
jne .L12
.L5:
mov eax, 0
test eax, eax
jne .L5
mov DWORD PTR -20[rbp], 0
jmp .L7
.L9:
mov eax, DWORD PTR -20[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -56[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
cmp DWORD PTR -12[rbp], eax
je .L13
add DWORD PTR -20[rbp], 1
.L7:
mov rax, QWORD PTR -48[rbp]
mov eax, DWORD PTR [rax]
cmp DWORD PTR -20[rbp], eax
jl .L9
jmp .L5
.L13:
nop
jmp .L5
.L10:
nop
jmp .L1
.L11:
nop
jmp .L1
.L12:
nop
.L1:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size _KDE_IceGetPoValidAuthIndices, .-_KDE_IceGetPoValidAuthIndices
.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 "741227.c"
.text
.align 2
.global _KDE_IceGetPoValidAuthIndices
.syntax unified
.arm
.fpu softvfp
.type _KDE_IceGetPoValidAuthIndices, %function
_KDE_IceGetPoValidAuthIndices:
@ 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]
bl foocp
str r0, [fp, #-16]
ldr r3, [fp, #-16]
cmp r3, #0
beq .L10
ldr r0, [fp, #-16]
bl access
mov r3, r0
cmp r3, #0
bne .L11
ldr r0, [fp, #-16]
bl access
str r0, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #0
bne .L12
.L5:
mov r3, #0
cmp r3, #0
bne .L5
mov r3, #0
str r3, [fp, #-20]
b .L7
.L9:
ldr r3, [fp, #-20]
lsl r3, r3, #2
ldr r2, [fp, #-32]
add r3, r2, r3
ldr r3, [r3]
ldr r2, [fp, #-8]
cmp r2, r3
beq .L13
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L7:
ldr r3, [fp, #-28]
ldr r3, [r3]
ldr r2, [fp, #-20]
cmp r2, r3
blt .L9
b .L5
.L13:
nop
b .L5
.L10:
nop
b .L1
.L11:
nop
b .L1
.L12:
nop
.L1:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size _KDE_IceGetPoValidAuthIndices, .-_KDE_IceGetPoValidAuthIndices
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "852585.c"
.intel_syntax noprefix
.text
.section .rodata
.align 8
.LC0:
.string "Call this program with %i arguments\n"
.LC1:
.string "You win!"
.LC2:
.string "%u\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 DWORD PTR -36[rbp], edi
mov QWORD PTR -48[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
call megaInit
cmp DWORD PTR -36[rbp], 2
je .L2
mov esi, 1
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov edi, -1
call exit@PLT
.L2:
mov DWORD PTR -20[rbp], 0
jmp .L3
.L4:
mov eax, DWORD PTR -20[rbp]
cdqe
add rax, 1
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -48[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
mov edx, 10
mov esi, 0
mov rdi, rax
call strtoul@PLT
mov WORD PTR -22[rbp], ax
mov eax, DWORD PTR -20[rbp]
cdqe
movzx edx, WORD PTR -22[rbp]
mov WORD PTR -12[rbp+rax*2], dx
add DWORD PTR -20[rbp], 1
.L3:
cmp DWORD PTR -20[rbp], 0
jle .L4
lea rdx, -10[rbp]
lea rax, -12[rbp]
mov rsi, rdx
mov rdi, rax
call RandomFunc
movzx eax, WORD PTR -10[rbp]
cmp ax, 31187
jne .L5
lea rdi, .LC1[rip]
call puts@PLT
.L5:
mov DWORD PTR -16[rbp], 0
jmp .L6
.L7:
mov eax, DWORD PTR -16[rbp]
cdqe
movzx eax, WORD PTR -10[rbp+rax*2]
movzx eax, ax
mov esi, eax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -16[rbp], 1
.L6:
cmp DWORD PTR -16[rbp], 0
jle .L7
mov eax, 0
mov rcx, QWORD PTR -8[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 main, .-main
.globl megaInit
.type megaInit, @function
megaInit:
.LFB1:
.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
.LFE1:
.size megaInit, .-megaInit
.globl RandomFunc
.type RandomFunc, @function
RandomFunc:
.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, 32
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov rax, QWORD PTR -24[rbp]
movzx eax, WORD PTR [rax]
sub ax, 2410
mov WORD PTR -10[rbp], ax
movzx eax, WORD PTR -10[rbp]
shr ax, 4
movzx eax, ax
and eax, 1
test eax, eax
je .L12
movzx eax, WORD PTR -10[rbp]
shr ax, 3
movzx eax, ax
and eax, 1
test eax, eax
je .L13
movzx eax, WORD PTR -10[rbp]
shr ax, 2
movzx eax, ax
and eax, 1
test eax, eax
je .L14
movzx eax, WORD PTR -10[rbp]
add eax, eax
mov WORD PTR -10[rbp], ax
jmp .L15
.L14:
lea rax, -10[rbp]
add rax, 1
movzx eax, BYTE PTR [rax]
mov BYTE PTR -11[rbp], al
lea rdx, -10[rbp]
lea rax, -10[rbp]
add rax, 1
movzx edx, BYTE PTR [rdx]
mov BYTE PTR [rax], dl
lea rax, -10[rbp]
movzx edx, BYTE PTR -11[rbp]
mov BYTE PTR [rax], dl
movzx eax, WORD PTR -10[rbp]
add eax, eax
mov WORD PTR -10[rbp], ax
jmp .L15
.L13:
movzx eax, WORD PTR -10[rbp]
shr ax, 3
movzx eax, ax
and eax, 1
test eax, eax
je .L16
movzx edx, WORD PTR -10[rbp]
movzx eax, WORD PTR -10[rbp]
imul eax, edx
mov WORD PTR -10[rbp], ax
lea rax, -10[rbp]
movzx eax, BYTE PTR [rax]
mov BYTE PTR -12[rbp], al
lea rax, -10[rbp]
add rax, 1
lea rdx, -10[rbp]
movzx eax, BYTE PTR [rax]
mov BYTE PTR [rdx], al
lea rax, -10[rbp]
add rax, 1
movzx edx, BYTE PTR -12[rbp]
mov BYTE PTR [rax], dl
jmp .L15
.L16:
movzx eax, WORD PTR -10[rbp]
add eax, eax
mov WORD PTR -10[rbp], ax
lea rax, -10[rbp]
movzx eax, BYTE PTR [rax]
mov BYTE PTR -13[rbp], al
lea rax, -10[rbp]
add rax, 1
lea rdx, -10[rbp]
movzx eax, BYTE PTR [rax]
mov BYTE PTR [rdx], al
lea rax, -10[rbp]
add rax, 1
movzx edx, BYTE PTR -13[rbp]
mov BYTE PTR [rax], dl
jmp .L15
.L12:
lea rax, -10[rbp]
movzx eax, BYTE PTR [rax]
mov BYTE PTR -14[rbp], al
lea rax, -10[rbp]
add rax, 1
lea rdx, -10[rbp]
movzx eax, BYTE PTR [rax]
mov BYTE PTR [rdx], al
lea rax, -10[rbp]
add rax, 1
movzx edx, BYTE PTR -14[rbp]
mov BYTE PTR [rax], dl
.L15:
movzx eax, WORD PTR -10[rbp]
lea edx, -21843[rax]
mov rax, QWORD PTR -32[rbp]
mov WORD PTR [rax], dx
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
.LFE2:
.size RandomFunc, .-RandomFunc
.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 "852585.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "Call this program with %i arguments\012\000"
.align 2
.LC1:
.ascii "You win!\000"
.align 2
.LC2:
.ascii "%u\012\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 = 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, .L10
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
bl megaInit
ldr r3, [fp, #-32]
cmp r3, #2
beq .L2
mov r1, #1
ldr r0, .L10+4
bl printf
mvn r0, #0
bl exit
.L2:
mov r3, #0
str r3, [fp, #-24]
b .L3
.L4:
ldr r3, [fp, #-24]
add r3, r3, #1
lsl r3, r3, #2
ldr r2, [fp, #-36]
add r3, r2, r3
ldr r3, [r3]
mov r2, #10
mov r1, #0
mov r0, r3
bl strtoul
mov r3, r0
strh r3, [fp, #-26] @ movhi
ldr r3, [fp, #-24]
lsl r3, r3, #1
sub r2, fp, #4
add r3, r2, r3
sub r3, r3, #12
ldrh r2, [fp, #-26] @ movhi
strh r2, [r3] @ movhi
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L3:
ldr r3, [fp, #-24]
cmp r3, #0
ble .L4
sub r2, fp, #12
sub r3, fp, #16
mov r1, r2
mov r0, r3
bl RandomFunc
ldrh r3, [fp, #-12]
ldr r2, .L10+8
cmp r3, r2
bne .L5
ldr r0, .L10+12
bl puts
.L5:
mov r3, #0
str r3, [fp, #-20]
b .L6
.L7:
ldr r3, [fp, #-20]
lsl r3, r3, #1
sub r2, fp, #4
add r3, r2, r3
sub r3, r3, #8
ldrh r3, [r3]
mov r1, r3
ldr r0, .L10+16
bl printf
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L6:
ldr r3, [fp, #-20]
cmp r3, #0
ble .L7
mov r3, #0
ldr r2, .L10
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L9
bl __stack_chk_fail
.L9:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L11:
.align 2
.L10:
.word .LC3
.word .LC0
.word 31187
.word .LC1
.word .LC2
.size main, .-main
.align 2
.global megaInit
.syntax unified
.arm
.fpu softvfp
.type megaInit, %function
megaInit:
@ 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 megaInit, .-megaInit
.section .rodata
.align 2
.LC4:
.word __stack_chk_guard
.text
.align 2
.global RandomFunc
.syntax unified
.arm
.fpu softvfp
.type RandomFunc, %function
RandomFunc:
@ 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 r3, .L20
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, [fp, #-24]
ldrh r3, [r3]
sub r3, r3, #2400
sub r3, r3, #10
lsl r3, r3, #16
lsr r3, r3, #16
strh r3, [fp, #-12] @ movhi
ldrh r3, [fp, #-12]
lsr r3, r3, #4
lsl r3, r3, #16
lsr r3, r3, #16
and r3, r3, #1
cmp r3, #0
beq .L14
ldrh r3, [fp, #-12]
lsr r3, r3, #3
lsl r3, r3, #16
lsr r3, r3, #16
and r3, r3, #1
cmp r3, #0
beq .L15
ldrh r3, [fp, #-12]
lsr r3, r3, #2
lsl r3, r3, #16
lsr r3, r3, #16
and r3, r3, #1
cmp r3, #0
beq .L16
ldrh r3, [fp, #-12]
lsl r3, r3, #1
lsl r3, r3, #16
lsr r3, r3, #16
strh r3, [fp, #-12] @ movhi
b .L17
.L16:
sub r3, fp, #12
add r3, r3, #1
ldrb r3, [r3]
strb r3, [fp, #-13]
sub r2, fp, #12
sub r3, fp, #12
add r3, r3, #1
ldrb r2, [r2] @ zero_extendqisi2
strb r2, [r3]
sub r3, fp, #12
ldrb r2, [fp, #-13]
strb r2, [r3]
ldrh r3, [fp, #-12]
lsl r3, r3, #1
lsl r3, r3, #16
lsr r3, r3, #16
strh r3, [fp, #-12] @ movhi
b .L17
.L15:
ldrh r3, [fp, #-12]
lsr r3, r3, #3
lsl r3, r3, #16
lsr r3, r3, #16
and r3, r3, #1
cmp r3, #0
beq .L18
ldrh r3, [fp, #-12]
ldrh r2, [fp, #-12]
mul r3, r2, r3
lsl r3, r3, #16
lsr r3, r3, #16
strh r3, [fp, #-12] @ movhi
sub r3, fp, #12
ldrb r3, [r3]
strb r3, [fp, #-14]
sub r3, fp, #12
add r3, r3, #1
sub r2, fp, #12
ldrb r3, [r3] @ zero_extendqisi2
strb r3, [r2]
sub r3, fp, #12
add r3, r3, #1
ldrb r2, [fp, #-14]
strb r2, [r3]
b .L17
.L18:
ldrh r3, [fp, #-12]
lsl r3, r3, #1
lsl r3, r3, #16
lsr r3, r3, #16
strh r3, [fp, #-12] @ movhi
sub r3, fp, #12
ldrb r3, [r3]
strb r3, [fp, #-15]
sub r3, fp, #12
add r3, r3, #1
sub r2, fp, #12
ldrb r3, [r3] @ zero_extendqisi2
strb r3, [r2]
sub r3, fp, #12
add r3, r3, #1
ldrb r2, [fp, #-15]
strb r2, [r3]
b .L17
.L14:
sub r3, fp, #12
ldrb r3, [r3]
strb r3, [fp, #-16]
sub r3, fp, #12
add r3, r3, #1
sub r2, fp, #12
ldrb r3, [r3] @ zero_extendqisi2
strb r3, [r2]
sub r3, fp, #12
add r3, r3, #1
ldrb r2, [fp, #-16]
strb r2, [r3]
.L17:
ldrh r3, [fp, #-12]
sub r3, r3, #21760
sub r3, r3, #83
lsl r3, r3, #16
lsr r2, r3, #16
ldr r3, [fp, #-28]
strh r2, [r3] @ movhi
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 .LC4
.size RandomFunc, .-RandomFunc
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "766561.c"
.intel_syntax noprefix
.text
.globl snames
.section .rodata
.align 32
.type snames, @object
.size snames, 7824
snames:
.ascii "DSBAREXP"
.string "DSBDCLS"
.string "DSBDOPN"
.string "DSBFG"
.zero 2
.string "DSBGACT"
.ascii "DSBGDTH1"
.ascii "DSBGDTH2"
.ascii "DSBGSIT1"
.ascii "DSBGSIT2"
.ascii "DSBOSCUB"
.ascii "DSBOSDTH"
.ascii "DSBOSPIT"
.string "DSBOSPN"
.ascii "DSBOSSIT"
.ascii "DSBRSDTH"
.ascii "DSBRSSIT"
.ascii "DSBSPACT"
.ascii "DSBSPDTH"
.ascii "DSBSPSIT"
.ascii "DSBSPWLK"
.ascii "DSCACDTH"
.ascii "DSCACSIT"
.string "DSCLAW"
.zero 1
.ascii "DSCYBDTH"
.ascii "DSCYBSIT"
.string "DSDBCLS"
.ascii "DSDBLOAD"
.string "DSDBOPN"
.string "DSDMACT"
.ascii "DSDMPAIN"
.ascii "DSDORCLS"
.ascii "DSDOROPN"
.ascii "DSDSHTGN"
.ascii "DSFIRSHT"
.ascii "DSFIRXPL"
.string "DSFLAME"
.ascii "DSFLAMST"
.ascii "DSGETPOW"
.string "DSHOOF"
.zero 1
.ascii "DSITEMUP"
.string "DSITMBK"
.ascii "DSKEENDT"
.ascii "DSKEENPN"
.ascii "DSKNTDTH"
.ascii "DSKNTSIT"
.ascii "DSMANATK"
.ascii "DSMANDTH"
.ascii "DSMANSIT"
.string "DSMETAL"
.ascii "DSMNPAIN"
.string "DSNOWAY"
.string "DSOOF"
.zero 2
.ascii "DSPDIEHI"
.string "DSPEDTH"
.ascii "DSPEPAIN"
.string "DSPESIT"
.ascii "DSPISTOL"
.ascii "DSPLASMA"
.ascii "DSPLDETH"
.ascii "DSPLPAIN"
.ascii "DSPODTH1"
.ascii "DSPODTH2"
.ascii "DSPODTH3"
.ascii "DSPOPAIN"
.ascii "DSPOSACT"
.ascii "DSPOSIT1"
.ascii "DSPOSIT2"
.ascii "DSPOSIT3"
.ascii "DSPSTART"
.string "DSPSTOP"
.string "DSPUNCH"
.string "DSRADIO"
.ascii "DSRLAUNC"
.ascii "DSRXPLOD"
.ascii "DSSAWFUL"
.ascii "DSSAWHIT"
.ascii "DSSAWIDL"
.string "DSSAWUP"
.ascii "DSSGCOCK"
.ascii "DSSGTATK"
.ascii "DSSGTDTH"
.ascii "DSSGTSIT"
.ascii "DSSHOTGN"
.ascii "DSSKEACT"
.ascii "DSSKEATK"
.ascii "DSSKEDTH"
.ascii "DSSKEPCH"
.ascii "DSSKESIT"
.ascii "DSSKESWG"
.ascii "DSSKLATK"
.ascii "DSSKLDTH"
.string "DSSLOP"
.zero 1
.ascii "DSSPIDTH"
.ascii "DSSPISIT"
.string "DSSSDTH"
.string "DSSSSIT"
.ascii "DSSTNMOV"
.ascii "DSSWTCHN"
.ascii "DSSWTCHX"
.ascii "DSTELEPT"
.string "DSTINK"
.zero 1
.ascii "DSVILACT"
.ascii "DSVILATK"
.ascii "DSVILDTH"
.ascii "DSVILSIT"
.ascii "DSVIPAIN"
.string "DSWPNUP"
.string "AMB10"
.zero 2
.string "AMB11"
.zero 2
.string "AMB1"
.zero 3
.string "AMB2"
.zero 3
.string "AMB3"
.zero 3
.string "AMB4"
.zero 3
.string "AMB5"
.zero 3
.string "AMB6"
.zero 3
.string "AMB7"
.zero 3
.string "AMB8"
.zero 3
.string "AMB9"
.zero 3
.string "ARTIUP"
.zero 1
.string "ARTIUSE"
.string "BLSHIT"
.zero 1
.string "BLSSHT"
.zero 1
.string "BOUNCE"
.zero 1
.string "BOWSHT"
.zero 1
.string "BSTACT"
.zero 1
.string "BSTATK"
.zero 1
.string "BSTDTH"
.zero 1
.string "BSTPAI"
.zero 1
.string "BSTSIT"
.zero 1
.string "BURN"
.zero 3
.string "CHAT"
.zero 3
.string "CHICACT"
.string "CHICATK"
.string "CHICDTH"
.string "CHICPAI"
.string "CHICPK1"
.string "CHICPK2"
.string "CHICPK3"
.string "CLKACT"
.zero 1
.string "CLKATK"
.zero 1
.string "CLKDTH"
.zero 1
.string "CLKPAI"
.zero 1
.string "CLKSIT"
.zero 1
.string "DORCLS"
.zero 1
.string "DORMOV"
.zero 1
.string "DOROPN"
.zero 1
.string "GFRAG"
.zero 2
.string "GIBDTH"
.zero 1
.string "GLDHIT"
.zero 1
.string "GLOOP"
.zero 2
.string "GNTACT"
.zero 1
.string "GNTFUL"
.zero 1
.string "GNTHIT"
.zero 1
.string "GNTPOW"
.zero 1
.string "GNTUSE"
.zero 1
.string "HEDACT"
.zero 1
.string "HEDAT1"
.zero 1
.string "HEDAT2"
.zero 1
.string "HEDAT3"
.zero 1
.string "HEDDTH"
.zero 1
.string "HEDPAI"
.zero 1
.string "HEDSIT"
.zero 1
.string "HRNHIT"
.zero 1
.string "HRNPOW"
.zero 1
.string "HRNSHT"
.zero 1
.string "IMPAT1"
.zero 1
.string "IMPAT2"
.zero 1
.string "IMPDTH"
.zero 1
.string "IMPPAI"
.zero 1
.string "IMPSIT"
.zero 1
.string "ITEMUP"
.zero 1
.string "KEYUP"
.zero 2
.string "KGTAT2"
.zero 1
.string "KGTATK"
.zero 1
.string "KGTDTH"
.zero 1
.string "KGTPAI"
.zero 1
.string "KGTSIT"
.zero 1
.string "LOBHIT"
.zero 1
.string "LOBPOW"
.zero 1
.string "LOBSHT"
.zero 1
.string "MINACT"
.zero 1
.string "MINAT1"
.zero 1
.string "MINAT2"
.zero 1
.string "MINAT3"
.zero 1
.string "MINDTH"
.zero 1
.string "MINPAI"
.zero 1
.string "MINSIT"
.zero 1
.string "MUMAT1"
.zero 1
.string "MUMAT2"
.zero 1
.string "MUMDTH"
.zero 1
.string "MUMHED"
.zero 1
.string "MUMPAI"
.zero 1
.string "MUMSIT"
.zero 1
.string "NEWPOD"
.zero 1
.string "PHOHIT"
.zero 1
.string "PHOPOW"
.zero 1
.string "PHOSHT"
.zero 1
.string "PLRCDTH"
.string "PLRDTH"
.zero 1
.string "PLROOF"
.zero 1
.string "PLRPAI"
.zero 1
.string "PLRWDTH"
.string "PODEXP"
.zero 1
.string "PSTART"
.zero 1
.string "PSTOP"
.zero 2
.string "RAMPHIT"
.string "RAMRAIN"
.string "RESPAWN"
.string "RIPSLOP"
.string "SBTACT"
.zero 1
.string "SBTDTH"
.zero 1
.string "SBTPAI"
.zero 1
.string "SNKACT"
.zero 1
.string "SNKATK"
.zero 1
.string "SNKDTH"
.zero 1
.string "SNKPAI"
.zero 1
.string "SNKSIT"
.zero 1
.string "SORACT"
.zero 1
.string "SORATK"
.zero 1
.string "SORDBON"
.string "SORDEXP"
.string "SORDSPH"
.string "SORPAI"
.zero 1
.string "SORRISE"
.string "SORSIT"
.zero 1
.string "SORZAP"
.zero 1
.string "STFCRK"
.zero 1
.string "STFHIT"
.zero 1
.string "STFPOW"
.zero 1
.string "STNMOV"
.zero 1
.string "SWITCH"
.zero 1
.string "TELEPT"
.zero 1
.string "WATERFL"
.string "WIND"
.zero 3
.string "WIZACT"
.zero 1
.string "WIZATK"
.zero 1
.string "WIZDTH"
.zero 1
.string "WIZPAI"
.zero 1
.string "WIZSIT"
.zero 1
.string "WPNUP"
.zero 2
.string "ACID5"
.zero 2
.ascii "ARMOREXP"
.string "ART1"
.zero 3
.string "ARTACT1"
.string "AXE5"
.zero 3
.string "BALLS1"
.zero 1
.string "BATS"
.zero 3
.string "BELLRNG"
.string "BIRD"
.zero 3
.string "BISHAPP"
.ascii "BISHDTH1"
.string "BITE4"
.zero 2
.string "BLANK"
.zero 2
.string "BLASTR"
.zero 1
.string "BLDDRP1"
.string "BLOOD1"
.zero 1
.string "BLUR6"
.zero 2
.string "BOARD1"
.zero 1
.string "BOUNCE2"
.string "BROOK1"
.zero 1
.string "BSHHIT2"
.string "BSHPN1"
.zero 1
.string "BUBBLE"
.zero 1
.string "CENT1"
.zero 2
.string "CENT2"
.zero 2
.ascii "CENTHIT2"
.string "CHAINS"
.zero 1
.string "CHAT3"
.zero 2
.ascii "CHNSWCH8"
.string "CLHMM"
.zero 2
.string "CLXDTH1"
.string "CLXDTH2"
.string "CLXDTH3"
.string "CNTDTH1"
.ascii "CNTSHLD4"
.string "CONE3"
.zero 2
.string "CORK"
.zero 3
.string "CRKETS1"
.string "CRKETS"
.zero 1
.string "DEFAULT"
.string "DEMATK2"
.ascii "DORSTP1B"
.string "DORSTP3"
.string "DORSTP4"
.ascii "DRAGDIE2"
.string "DRAGPN2"
.ascii "DRAGSIT1"
.string "DRCRK5A"
.ascii "DRLTCH3A"
.string "DROP2"
.zero 2
.string "DRSTP2"
.zero 1
.string "DRSTP7"
.zero 1
.string "ETHIT1"
.zero 1
.ascii "ETHPORT1"
.string "FACE1"
.zero 2
.string "FALL1"
.zero 2
.string "FALLHIT"
.string "FEET4"
.zero 2
.string "FGTCDTH"
.string "FGTDDTH"
.string "FGTFALL"
.ascii "FGTGRUNT"
.string "FGTHMM"
.zero 1
.string "FGTPAIN"
.ascii "FGTXDTH1"
.ascii "FGTXDTH2"
.ascii "FGTXDTH3"
.string "FIRED2"
.zero 1
.string "FIRED3"
.zero 1
.string "FIRED5"
.zero 1
.ascii "FIREDHIT"
.string "FLECH4"
.zero 1
.string "FLY3"
.zero 3
.string "FROGS"
.zero 2
.string "FROSTY1"
.string "FROSTY2"
.string "GAME1"
.zero 2
.string "GLASS5"
.zero 1
.ascii "GLBHISS1"
.string "GLBHIT4"
.string "GLOOP1"
.zero 1
.string "GNTACT1"
.string "GNTMIS1"
.string "GNTPOW"
.zero 1
.string "GONG"
.zero 3
.string "GRTNGS1"
.string "GRUNT1"
.zero 1
.ascii "HAMBLO8A"
.string "HAMFIR1"
.string "HAMFLY1"
.string "HAMMIS2"
.string "HAMWAL1"
.string "HMHIT1A"
.string "HOLY3"
.zero 2
.ascii "ICEBRK1A"
.string "ICEDTH1"
.string "ICEMV2"
.zero 1
.string "IMPACT3"
.ascii "IMPFIRE2"
.ascii "INSECTS1"
.string "KATYDID"
.string "KEYS2A"
.zero 1
.string "KORACT"
.zero 1
.string "KORATK"
.zero 1
.string "KORCOM"
.zero 1
.string "KORDTH1"
.string "KORPN1"
.zero 1
.string "KORSIT"
.zero 1
.string "LAVA2"
.zero 2
.string "LITE2"
.zero 2
.string "LOCKED"
.zero 1
.string "MAGE4"
.zero 2
.ascii "MAGEBALL"
.string "MAYBE1"
.zero 1
.string "MGCDTH"
.zero 1
.string "MGDTH"
.zero 2
.string "MGFALL"
.zero 1
.string "MGGRUNT"
.string "MGHMM"
.zero 2
.string "MGPAIN"
.zero 1
.string "MGXDTH1"
.string "MGXDTH2"
.string "MGXDTH3"
.string "MINACT1"
.string "MINACT2"
.string "MINDTH4"
.ascii "MINPAIN4"
.string "MINSIT1"
.string "MTLMV3"
.zero 1
.ascii "MTLSTRT1"
.string "MUCK5"
.zero 2
.string "MUMPUN5"
.string "OWL"
.zero 4
.string "PICUP5"
.zero 1
.string "PIECE1"
.zero 1
.string "PIGDTH2"
.ascii "PIGPAIN2"
.ascii "PIGRUNT1"
.string "PLRBURN"
.string "PLRCDTH"
.string "PLRDTH"
.zero 1
.ascii "PLRPAIN3"
.string "POIS2"
.zero 2
.string "POP"
.zero 4
.string "POTBRK1"
.string "PUFF1"
.zero 2
.string "PUNCH8"
.zero 1
.ascii "PUNCHMIS"
.string "PUP4"
.zero 3
.string "PUZSLV1"
.string "PUZSLV"
.zero 1
.string "QUAKE2"
.zero 1
.string "RAITH1B"
.string "RAITH3"
.zero 1
.string "RAITH4A"
.string "RAITH5A"
.ascii "RATHDTH2"
.string "READY1"
.zero 1
.string "RESPAWN"
.string "ROCKS"
.zero 2
.ascii "SAMPLE11"
.string "SBTDTH3"
.string "SBTSIT5"
.string "SERPPN1"
.ascii "SHARDS1B"
.string "SHLURP"
.zero 1
.ascii "SORBLEXP"
.ascii "SORBOSS1"
.ascii "SORBOSS2"
.ascii "SORBOSS3"
.string "SORDIE2"
.string "SPAWN3"
.zero 1
.string "SPELL1"
.zero 1
.string "SPIKE2"
.zero 1
.string "SPIKE3"
.zero 1
.string "SPIRT5"
.zero 1
.string "SPIRT7"
.zero 1
.string "SPIRTS1"
.string "SPIT6"
.zero 2
.string "SQUEAL1"
.string "SRFC1"
.zero 2
.string "SRFC3"
.zero 2
.string "SRPDTH1"
.string "STB1D"
.zero 2
.string "STEEL1"
.zero 1
.string "STEEL2"
.zero 1
.string "STEP"
.zero 3
.string "STMDR1"
.zero 1
.string "STNMV4"
.zero 1
.ascii "STRETCH3"
.string "STRIKE1"
.string "STRIKE3"
.string "STRONG1"
.string "SWORD2"
.zero 1
.string "SWTCH6"
.zero 1
.ascii "SWTCHRP1"
.string "SWTCHV4"
.string "SYAB2D"
.zero 1
.string "TAUR1"
.zero 2
.string "TAUR2"
.zero 2
.string "TAUR4"
.zero 2
.string "THNDR1"
.zero 1
.string "TICK"
.zero 3
.string "TICTOC"
.zero 1
.string "TORCH2"
.zero 1
.string "TPORT1"
.zero 1
.string "TREEBRK"
.ascii "TREEBURN"
.string "VAMP5"
.zero 2
.string "WAND4"
.zero 2
.string "WEPELE2"
.string "WIND3"
.zero 2
.string "WING1"
.zero 2
.string "WOOSH3"
.zero 1
.string "WRSHIP1"
.string "WTRCRT7"
.string "WTRHIT"
.zero 1
.string "WTRSWIP"
.string "ADG01"
.zero 2
.string "AG301"
.zero 2
.string "AGG01"
.zero 2
.string "BBX01"
.zero 2
.string "BBX02"
.zero 2
.string "BGG01"
.zero 2
.string "BGG02"
.zero 2
.string "BGG03"
.zero 2
.string "CTT01"
.zero 2
.string "CTT02"
.zero 2
.string "DER01"
.zero 2
.string "DER02"
.zero 2
.string "DER03"
.zero 2
.string "DGG01"
.zero 2
.string "DGG02"
.zero 2
.string "DGG03"
.zero 2
.string "DGTBL"
.zero 2
.string "DOW01"
.zero 2
.string "DRTBL"
.zero 2
.ascii "DSAGRAC1"
.ascii "DSAGRAC2"
.ascii "DSAGRAC3"
.ascii "DSAGRAC4"
.ascii "DSAGRDPN"
.ascii "DSAGRDTH"
.ascii "DSAGRSEE"
.ascii "DSAIRLCK"
.string "DSALARM"
.ascii "DSALNACT"
.ascii "DSALNDTH"
.string "DSALNPN"
.ascii "DSALNSEE"
.ascii "DSAMALN1"
.ascii "DSAMALN2"
.ascii "DSAMALN3"
.ascii "DSAMALN4"
.ascii "DSAMALN5"
.ascii "DSAMALN6"
.ascii "DSAMBBAR"
.ascii "DSAMBPPL"
.ascii "DSBAREXP"
.string "DSBDCLS"
.string "DSBDOPN"
.ascii "DSBGLASS"
.ascii "DSBURNME"
.string "DSCHAIN"
.string "DSCHANT"
.ascii "DSDIFOOL"
.ascii "DSDRCHNC"
.ascii "DSDRCHNO"
.ascii "DSDRLMTC"
.ascii "DSDRLMTO"
.ascii "DSDRLWUD"
.ascii "DSDRSMTC"
.ascii "DSDRSMTO"
.ascii "DSDRSTON"
.ascii "DSDRSWUD"
.ascii "DSDSRPTR"
.ascii "DSEXPLOD"
.ascii "DSFIRXPL"
.ascii "DSFLBURN"
.string "DSFLIDL"
.ascii "DSINQACT"
.ascii "DSINQDTH"
.ascii "DSINQJMP"
.ascii "DSINQSEE"
.ascii "DSITEMUP"
.string "DSITMBK"
.ascii "DSKEYCRD"
.ascii "DSLGFIRE"
.string "DSLORPN"
.ascii "DSLORSEE"
.string "DSMASK"
.zero 1
.ascii "DSMEATHT"
.ascii "DSMISLHT"
.ascii "DSMNALDT"
.ascii "DSMNALSE"
.ascii "DSMTALHT"
.string "DSNOWAY"
.string "DSOOF"
.zero 2
.ascii "DSPCRUSH"
.ascii "DSPESPNA"
.ascii "DSPESPNB"
.ascii "DSPESPNC"
.ascii "DSPESPND"
.ascii "DSPGRACT"
.ascii "DSPGRDAT"
.ascii "DSPGRDPN"
.ascii "DSPGRDTH"
.ascii "DSPGRSEE"
.string "DSPHOOT"
.ascii "DSPLASMA"
.ascii "DSPLDETH"
.ascii "DSPLPAIN"
.ascii "DSPLXDTH"
.string "DSPRGPN"
.ascii "DSPROGAC"
.ascii "DSPROTFL"
.ascii "DSPROTON"
.ascii "DSPSDTHA"
.ascii "DSPSDTHB"
.ascii "DSPSDTHC"
.ascii "DSPSTART"
.string "DSPSTOP"
.ascii "DSPULCHN"
.string "DSRADIO"
.ascii "DSRATACT"
.ascii "DSRB2ACT"
.ascii "DSRB2DTH"
.string "DSRB2PN"
.ascii "DSRB2SEE"
.ascii "DSREACTR"
.ascii "DSREAVAT"
.ascii "DSREAVPN"
.ascii "DSREBACT"
.ascii "DSREBDTH"
.ascii "DSREVACT"
.ascii "DSREVBLD"
.ascii "DSREVDTH"
.ascii "DSREVSEE"
.ascii "DSRFLITE"
.string "DSRIFLE"
.ascii "DSRLAUNC"
.ascii "DSSGLHIT"
.string "DSSIGIL"
.ascii "DSSIGLUP"
.string "DSSLOP"
.zero 1
.ascii "DSSMFIRE"
.ascii "DSSNTACT"
.ascii "DSSNTDTH"
.ascii "DSSNTSEE"
.ascii "DSSPDATK"
.ascii "DSSPDWLK"
.ascii "DSSPIDTH"
.ascii "DSSPISIT"
.ascii "DSSTATIC"
.ascii "DSSTNMOV"
.ascii "DSSWBOLT"
.string "DSSWISH"
.ascii "DSSWKNOB"
.ascii "DSSWSCAN"
.ascii "DSSWSTON"
.ascii "DSSWTCHN"
.ascii "DSTELEPT"
.string "DSTEND"
.zero 1
.string "DSVALVE"
.ascii "DSWBRLDT"
.string "DSWDRIP"
.string "DSWFALL"
.string "DSWPNUP"
.ascii "DSWRIVER"
.ascii "DSWSPLSH"
.string "DSXBOW"
.zero 1
.string "DSYEAH"
.zero 1
.string "DWTBL"
.zero 2
.string "DWW01"
.zero 2
.string "F1TBLA"
.zero 1
.string "F2TBLA"
.zero 1
.string "F3TBLA"
.zero 1
.string "FOR01A"
.zero 1
.string "FOR02A"
.zero 1
.string "FOR03A"
.zero 1
.string "FOR04A"
.zero 1
.string "FOTBLA"
.zero 1
.string "FP101A"
.zero 1
.string "FP102A"
.zero 1
.string "FP201A"
.zero 1
.string "FP301A"
.zero 1
.string "GEO01"
.zero 2
.string "GEO02"
.zero 2
.string "GEO03"
.zero 2
.string "GETBL"
.zero 2
.string "GOTBL"
.zero 2
.string "GOV01"
.zero 2
.string "GOV02"
.zero 2
.string "GOV03"
.zero 2
.string "GOV04"
.zero 2
.string "GOV05"
.zero 2
.string "GOV06"
.zero 2
.string "GOV07"
.zero 2
.string "GOV08"
.zero 2
.string "GOV09"
.zero 2
.string "GOV10"
.zero 2
.string "GOV11"
.zero 2
.string "GOV6A1"
.zero 1
.string "HA001"
.zero 2
.string "HA002"
.zero 2
.string "HA003"
.zero 2
.string "HA004"
.zero 2
.string "HA005"
.zero 2
.string "HA006"
.zero 2
.string "HA007"
.zero 2
.string "HATBL"
.zero 2
.string "JDW01"
.zero 2
.string "JDW02"
.zero 2
.string "JWTBL"
.zero 2
.string "KET01"
.zero 2
.string "KET02"
.zero 2
.string "KET03"
.zero 2
.string "KETBL"
.zero 2
.string "KEV01"
.zero 2
.string "KEV02"
.zero 2
.string "KNTBL"
.zero 2
.string "LOM03"
.zero 2
.string "LOM04"
.zero 2
.string "LOM05"
.zero 2
.string "LOM06"
.zero 2
.string "MAC01"
.zero 2
.string "MAC02"
.zero 2
.string "MAC03"
.zero 2
.string "MAC04"
.zero 2
.string "MAC05"
.zero 2
.string "MAC06"
.zero 2
.string "MAC07"
.zero 2
.string "MAC08"
.zero 2
.string "MAC09"
.zero 2
.string "MAC10A1"
.string "MAC10B1"
.string "MAC10"
.zero 2
.string "MAC11"
.zero 2
.string "MAC12"
.zero 2
.string "MAC13"
.zero 2
.string "MAC14"
.zero 2
.string "MAC15"
.zero 2
.string "MAC16"
.zero 2
.string "MAC17"
.zero 2
.string "MAC18"
.zero 2
.string "MAC19"
.zero 2
.string "MAC20"
.zero 2
.string "MAC666"
.zero 1
.string "MACRWD"
.zero 1
.string "MAE01"
.zero 2
.string "MAE02"
.zero 2
.string "MAE03"
.zero 2
.string "MAE04"
.zero 2
.string "MAE05"
.zero 2
.string "MAE06"
.zero 2
.string "MAG01"
.zero 2
.string "MAG02"
.zero 2
.string "MAG03"
.zero 2
.string "MAG04"
.zero 2
.string "MCTBL"
.zero 2
.string "MLTBL"
.zero 2
.string "MOTBL"
.zero 2
.string "ORC01"
.zero 2
.string "ORC02"
.zero 2
.string "ORC03"
.zero 2
.string "ORC04"
.zero 2
.string "ORC05"
.zero 2
.string "ORC06"
.zero 2
.string "ORC07"
.zero 2
.string "ORE01"
.zero 2
.string "ORE02"
.zero 2
.string "ORTBL"
.zero 2
.string "PDG01"
.zero 2
.string "PDG02"
.zero 2
.string "PDG03"
.zero 2
.string "PPP01A"
.zero 1
.string "PPP02A"
.zero 1
.string "PPP03A"
.zero 1
.string "PPP04"
.zero 2
.string "PPP05"
.zero 2
.string "PPP06A"
.zero 1
.string "PPP07A"
.zero 1
.string "PPP08"
.zero 2
.string "PRO1"
.zero 3
.string "PRO2"
.zero 3
.string "PRO3"
.zero 3
.string "PRO4"
.zero 3
.string "PRO5"
.zero 3
.string "PRO6"
.zero 3
.string "PRO7"
.zero 3
.string "PRTBL"
.zero 2
.string "QFMRM1"
.zero 1
.string "QFMRM2"
.zero 1
.string "QFMRM3"
.zero 1
.string "QFMRM4"
.zero 1
.string "QFMRM5"
.zero 1
.string "QFMRM6"
.zero 1
.string "QFMRM7"
.zero 1
.string "QFMRM8"
.zero 1
.string "QUI01"
.zero 2
.string "QUI02"
.zero 2
.string "QUI03"
.zero 2
.string "QUI04"
.zero 2
.string "QUI05"
.zero 2
.string "QUI06"
.zero 2
.string "QUTBL"
.zero 2
.string "REBRM1"
.zero 1
.string "REBRM2"
.zero 1
.string "REBRM3"
.zero 1
.string "REBRM4"
.zero 1
.string "REBRM5"
.zero 1
.string "REBRM6"
.zero 1
.string "REBRM7"
.zero 1
.string "REBRM8"
.zero 1
.string "REBRM9"
.zero 1
.string "RET01"
.zero 2
.string "RET02"
.zero 2
.string "RET03"
.zero 2
.string "RET04"
.zero 2
.string "RET05"
.zero 2
.string "RET06"
.zero 2
.string "RET07"
.zero 2
.string "RET08"
.zero 2
.string "RET09"
.zero 2
.string "RET10"
.zero 2
.string "RET11"
.zero 2
.string "RET12"
.zero 2
.string "RETBL"
.zero 2
.string "RGG01"
.zero 2
.string "RGTBL"
.zero 2
.string "RIC01"
.zero 2
.string "RIC02"
.zero 2
.string "RIE01"
.zero 2
.string "RPP01"
.zero 2
.string "RRTBL"
.zero 2
.string "SAM01A"
.zero 1
.string "SAM02A"
.zero 1
.string "SAM03A"
.zero 1
.string "SAM04A"
.zero 1
.string "SAM05A"
.zero 1
.string "SATBL"
.zero 2
.string "SS501B"
.zero 1
.string "SS502B"
.zero 1
.string "SS503B"
.zero 1
.string "SS601A"
.zero 1
.string "SS602A"
.zero 1
.string "SS603A"
.zero 1
.string "SUR4A1"
.zero 1
.string "TBTBL"
.zero 2
.string "TCB01"
.zero 2
.string "TCB02"
.zero 2
.string "TCB03"
.zero 2
.string "TCC01"
.zero 2
.string "TCH01"
.zero 2
.string "TCH02"
.zero 2
.string "TCH03"
.zero 2
.string "TCT01"
.zero 2
.string "TETBL"
.zero 2
.string "TTTBL"
.zero 2
.string "VOC100"
.zero 1
.string "VOC101"
.zero 1
.string "VOC102"
.zero 1
.string "VOC103"
.zero 1
.string "VOC104"
.zero 1
.string "VOC105"
.zero 1
.string "VOC106"
.zero 1
.string "VOC10"
.zero 2
.string "VOC11"
.zero 2
.string "VOC120"
.zero 1
.string "VOC121"
.zero 1
.string "VOC122"
.zero 1
.string "VOC128"
.zero 1
.string "VOC129"
.zero 1
.string "VOC12"
.zero 2
.string "VOC130"
.zero 1
.string "VOC13"
.zero 2
.string "VOC14"
.zero 2
.string "VOC15"
.zero 2
.string "VOC16"
.zero 2
.string "VOC17"
.zero 2
.string "VOC18"
.zero 2
.string "VOC19"
.zero 2
.string "VOC1"
.zero 3
.string "VOC200"
.zero 1
.string "VOC201"
.zero 1
.string "VOC202"
.zero 1
.string "VOC203"
.zero 1
.string "VOC204"
.zero 1
.string "VOC205"
.zero 1
.string "VOC206"
.zero 1
.string "VOC207"
.zero 1
.string "VOC208"
.zero 1
.string "VOC209"
.zero 1
.string "VOC20"
.zero 2
.string "VOC210"
.zero 1
.string "VOC211"
.zero 1
.string "VOC212"
.zero 1
.string "VOC213"
.zero 1
.string "VOC214"
.zero 1
.string "VOC215"
.zero 1
.string "VOC216"
.zero 1
.string "VOC217"
.zero 1
.string "VOC218"
.zero 1
.string "VOC219"
.zero 1
.string "VOC21"
.zero 2
.string "VOC220"
.zero 1
.string "VOC221"
.zero 1
.string "VOC222"
.zero 1
.string "VOC223"
.zero 1
.string "VOC224"
.zero 1
.string "VOC225"
.zero 1
.string "VOC226"
.zero 1
.string "VOC227"
.zero 1
.string "VOC228"
.zero 1
.string "VOC229"
.zero 1
.string "VOC22"
.zero 2
.string "VOC230"
.zero 1
.string "VOC231"
.zero 1
.string "VOC232"
.zero 1
.string "VOC233"
.zero 1
.string "VOC234"
.zero 1
.string "VOC235"
.zero 1
.string "VOC236"
.zero 1
.string "VOC237"
.zero 1
.string "VOC23"
.zero 2
.string "VOC24"
.zero 2
.string "VOC25"
.zero 2
.string "VOC26"
.zero 2
.string "VOC27"
.zero 2
.string "VOC28"
.zero 2
.string "VOC29"
.zero 2
.string "VOC2"
.zero 3
.string "VOC30"
.zero 2
.string "VOC31"
.zero 2
.string "VOC32"
.zero 2
.string "VOC33"
.zero 2
.string "VOC34"
.zero 2
.string "VOC35"
.zero 2
.string "VOC36"
.zero 2
.string "VOC37"
.zero 2
.string "VOC38"
.zero 2
.string "VOC39"
.zero 2
.string "VOC3"
.zero 3
.string "VOC40"
.zero 2
.string "VOC41"
.zero 2
.string "VOC42"
.zero 2
.string "VOC43"
.zero 2
.string "VOC44"
.zero 2
.string "VOC45"
.zero 2
.string "VOC46"
.zero 2
.string "VOC47"
.zero 2
.string "VOC48"
.zero 2
.string "VOC49"
.zero 2
.string "VOC4"
.zero 3
.string "VOC50"
.zero 2
.string "VOC51"
.zero 2
.string "VOC52"
.zero 2
.string "VOC53"
.zero 2
.string "VOC54"
.zero 2
.string "VOC55"
.zero 2
.string "VOC56"
.zero 2
.string "VOC57"
.zero 2
.string "VOC58"
.zero 2
.string "VOC59"
.zero 2
.string "VOC5"
.zero 3
.string "VOC60"
.zero 2
.string "VOC61"
.zero 2
.string "VOC62"
.zero 2
.string "VOC63"
.zero 2
.string "VOC64"
.zero 2
.string "VOC65"
.zero 2
.string "VOC66"
.zero 2
.string "VOC67"
.zero 2
.string "VOC68"
.zero 2
.string "VOC69"
.zero 2
.string "VOC6"
.zero 3
.string "VOC70"
.zero 2
.string "VOC71"
.zero 2
.string "VOC72"
.zero 2
.string "VOC73"
.zero 2
.string "VOC74"
.zero 2
.string "VOC75"
.zero 2
.string "VOC76"
.zero 2
.string "VOC77"
.zero 2
.string "VOC78"
.zero 2
.string "VOC79"
.zero 2
.string "VOC7"
.zero 3
.string "VOC80"
.zero 2
.string "VOC81"
.zero 2
.string "VOC82"
.zero 2
.string "VOC83"
.zero 2
.string "VOC84"
.zero 2
.string "VOC85"
.zero 2
.string "VOC86"
.zero 2
.string "VOC87"
.zero 2
.string "VOC88"
.zero 2
.string "VOC89"
.zero 2
.string "VOC8"
.zero 3
.string "VOC90"
.zero 2
.string "VOC91"
.zero 2
.string "VOC92"
.zero 2
.string "VOC93"
.zero 2
.string "VOC94"
.zero 2
.string "VOC95"
.zero 2
.string "VOC96"
.zero 2
.string "VOC97"
.zero 2
.string "VOC98"
.zero 2
.string "VOC99"
.zero 2
.string "VOC9"
.zero 3
.string "WDM01"
.zero 2
.string "WDM02"
.zero 2
.string "WER01"
.zero 2
.string "WER02"
.zero 2
.string "WER03"
.zero 2
.string "WER05"
.zero 2
.string "WER06"
.zero 2
.string "WER07"
.zero 2
.string "WER08"
.zero 2
.string "WER09"
.zero 2
.string "WNTBL"
.zero 2
.string "WOR01"
.zero 2
.string "WOR02"
.zero 2
.string "WOR03"
.zero 2
.string "WRTBL"
.zero 2
.string "DSDGACT"
.string "DSDGATK"
.string "DSDGDTH"
.ascii "DSDGPAIN"
.string "DSDGSIT"
.string "DSQUAKE"
.ascii "DSSECRET"
.ascii "ICEBRK1A"
.string "ICEDTH1"
.string "RAILGF1"
.string "SPARK1"
.zero 1
.string "SPARK2"
.zero 1
.string "SPARK3"
.zero 1
.string ""
.string ""
.zero 6
.text
.globl xwrite
.type xwrite, @function
xwrite:
.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 DWORD PTR -20[rbp], edi
mov QWORD PTR -32[rbp], rsi
mov QWORD PTR -40[rbp], rdx
mov DWORD PTR -8[rbp], 0
jmp .L2
.L5:
mov eax, DWORD PTR -8[rbp]
movsx rcx, eax
mov rax, QWORD PTR -40[rbp]
sub rax, rcx
mov rdx, rax
mov eax, DWORD PTR -8[rbp]
movsx rcx, eax
mov rax, QWORD PTR -32[rbp]
add rcx, rax
mov eax, DWORD PTR -20[rbp]
mov rsi, rcx
mov edi, eax
call write@PLT
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], -1
jne .L3
call __errno_location@PLT
mov eax, DWORD PTR [rax]
cmp eax, 11
je .L3
call __errno_location@PLT
mov eax, DWORD PTR [rax]
cmp eax, 4
je .L3
mov eax, 1
jmp .L4
.L3:
mov eax, 0
cmp DWORD PTR -4[rbp], 0
cmovns eax, DWORD PTR -4[rbp]
add DWORD PTR -8[rbp], eax
.L2:
mov eax, DWORD PTR -8[rbp]
cdqe
cmp QWORD PTR -40[rbp], rax
ja .L5
mov eax, 0
.L4:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size xwrite, .-xwrite
.globl xread
.type xread, @function
xread:
.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 DWORD PTR -20[rbp], edi
mov QWORD PTR -32[rbp], rsi
mov QWORD PTR -40[rbp], rdx
mov DWORD PTR -8[rbp], 0
jmp .L7
.L10:
mov eax, DWORD PTR -8[rbp]
movsx rcx, eax
mov rax, QWORD PTR -40[rbp]
sub rax, rcx
mov rdx, rax
mov eax, DWORD PTR -8[rbp]
movsx rcx, eax
mov rax, QWORD PTR -32[rbp]
add rcx, rax
mov eax, DWORD PTR -20[rbp]
mov rsi, rcx
mov edi, eax
call read@PLT
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], -1
jne .L8
call __errno_location@PLT
mov eax, DWORD PTR [rax]
cmp eax, 11
je .L8
call __errno_location@PLT
mov eax, DWORD PTR [rax]
cmp eax, 4
je .L8
mov eax, 1
jmp .L9
.L8:
mov eax, 0
cmp DWORD PTR -4[rbp], 0
cmovns eax, DWORD PTR -4[rbp]
add DWORD PTR -8[rbp], eax
.L7:
mov eax, DWORD PTR -8[rbp]
cdqe
cmp QWORD PTR -40[rbp], rax
ja .L10
mov eax, 0
.L9:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size xread, .-xread
.section .rodata
.LC0:
.string "sound.wad"
.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, 240
mov DWORD PTR -228[rbp], edi
mov QWORD PTR -240[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
cmp DWORD PTR -228[rbp], 1
jg .L12
mov eax, 1
jmp .L25
.L12:
mov rax, QWORD PTR -240[rbp]
add rax, 8
mov rax, QWORD PTR [rax]
lea rdx, -160[rbp]
mov rsi, rdx
mov rdi, rax
call stat@PLT
test eax, eax
je .L14
mov eax, 1
jmp .L25
.L14:
mov rax, QWORD PTR -240[rbp]
add rax, 8
mov rax, QWORD PTR [rax]
mov esi, 0
mov rdi, rax
mov eax, 0
call open@PLT
mov DWORD PTR -208[rbp], eax
cmp DWORD PTR -208[rbp], 0
jne .L15
mov eax, 1
jmp .L25
.L15:
mov rax, QWORD PTR -112[rbp]
mov rdi, rax
call malloc@PLT
mov QWORD PTR -200[rbp], rax
mov rax, QWORD PTR -112[rbp]
mov rdx, rax
mov rcx, QWORD PTR -200[rbp]
mov eax, DWORD PTR -208[rbp]
mov rsi, rcx
mov edi, eax
call xread
test eax, eax
je .L16
mov eax, DWORD PTR -208[rbp]
mov edi, eax
call close@PLT
mov rax, QWORD PTR -200[rbp]
mov rdi, rax
call free@PLT
mov eax, 1
jmp .L25
.L16:
mov eax, DWORD PTR -208[rbp]
mov edi, eax
call close@PLT
mov edx, 429
mov esi, 577
lea rdi, .LC0[rip]
mov eax, 0
call open@PLT
mov DWORD PTR -204[rbp], eax
cmp DWORD PTR -204[rbp], 0
jne .L17
mov rax, QWORD PTR -200[rbp]
mov rdi, rax
call free@PLT
mov eax, 1
jmp .L25
.L17:
mov DWORD PTR -216[rbp], 0
jmp .L18
.L19:
add DWORD PTR -216[rbp], 1
.L18:
mov eax, DWORD PTR -216[rbp]
cdqe
lea rdx, 0[0+rax*8]
lea rax, snames[rip]
movzx eax, BYTE PTR [rdx+rax]
test al, al
jne .L19
mov DWORD PTR -188[rbp], 1145132880
mov eax, DWORD PTR -216[rbp]
mov DWORD PTR -184[rbp], eax
mov rax, QWORD PTR -112[rbp]
add eax, 12
mov DWORD PTR -180[rbp], eax
mov DWORD PTR -176[rbp], 12
mov rax, QWORD PTR -112[rbp]
mov DWORD PTR -172[rbp], eax
mov QWORD PTR -168[rbp], 0
lea rcx, -188[rbp]
mov eax, DWORD PTR -204[rbp]
mov edx, 12
mov rsi, rcx
mov edi, eax
call xwrite
test eax, eax
je .L20
mov rax, QWORD PTR -200[rbp]
mov rdi, rax
call free@PLT
mov eax, DWORD PTR -204[rbp]
mov edi, eax
call close@PLT
mov eax, 1
jmp .L25
.L20:
mov rax, QWORD PTR -112[rbp]
mov rdx, rax
mov rcx, QWORD PTR -200[rbp]
mov eax, DWORD PTR -204[rbp]
mov rsi, rcx
mov edi, eax
call xwrite
test eax, eax
je .L21
mov rax, QWORD PTR -200[rbp]
mov rdi, rax
call free@PLT
mov eax, DWORD PTR -204[rbp]
mov edi, eax
call close@PLT
mov eax, 1
jmp .L25
.L21:
mov DWORD PTR -212[rbp], 0
jmp .L22
.L24:
mov eax, DWORD PTR -212[rbp]
cdqe
lea rdx, 0[0+rax*8]
lea rax, snames[rip]
lea rcx, [rdx+rax]
lea rax, -176[rbp]
add rax, 8
mov edx, 8
mov rsi, rcx
mov rdi, rax
call strncpy@PLT
lea rcx, -176[rbp]
mov eax, DWORD PTR -204[rbp]
mov edx, 16
mov rsi, rcx
mov edi, eax
call xwrite
test eax, eax
je .L23
mov rax, QWORD PTR -200[rbp]
mov rdi, rax
call free@PLT
mov eax, DWORD PTR -204[rbp]
mov edi, eax
call close@PLT
mov eax, 1
jmp .L25
.L23:
add DWORD PTR -212[rbp], 1
.L22:
mov eax, DWORD PTR -212[rbp]
cmp eax, DWORD PTR -216[rbp]
jl .L24
mov rax, QWORD PTR -200[rbp]
mov rdi, rax
call free@PLT
mov eax, DWORD PTR -204[rbp]
mov edi, eax
call close@PLT
mov eax, 0
.L25:
mov rsi, QWORD PTR -8[rbp]
sub rsi, QWORD PTR fs:40
je .L26
call __stack_chk_fail@PLT
.L26:
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 "766561.c"
.text
.global snames
.section .rodata
.align 2
.type snames, %object
.size snames, 7824
snames:
.ascii "DSBAREXP"
.ascii "DSBDCLS\000"
.ascii "DSBDOPN\000"
.ascii "DSBFG\000"
.space 2
.ascii "DSBGACT\000"
.ascii "DSBGDTH1"
.ascii "DSBGDTH2"
.ascii "DSBGSIT1"
.ascii "DSBGSIT2"
.ascii "DSBOSCUB"
.ascii "DSBOSDTH"
.ascii "DSBOSPIT"
.ascii "DSBOSPN\000"
.ascii "DSBOSSIT"
.ascii "DSBRSDTH"
.ascii "DSBRSSIT"
.ascii "DSBSPACT"
.ascii "DSBSPDTH"
.ascii "DSBSPSIT"
.ascii "DSBSPWLK"
.ascii "DSCACDTH"
.ascii "DSCACSIT"
.ascii "DSCLAW\000"
.space 1
.ascii "DSCYBDTH"
.ascii "DSCYBSIT"
.ascii "DSDBCLS\000"
.ascii "DSDBLOAD"
.ascii "DSDBOPN\000"
.ascii "DSDMACT\000"
.ascii "DSDMPAIN"
.ascii "DSDORCLS"
.ascii "DSDOROPN"
.ascii "DSDSHTGN"
.ascii "DSFIRSHT"
.ascii "DSFIRXPL"
.ascii "DSFLAME\000"
.ascii "DSFLAMST"
.ascii "DSGETPOW"
.ascii "DSHOOF\000"
.space 1
.ascii "DSITEMUP"
.ascii "DSITMBK\000"
.ascii "DSKEENDT"
.ascii "DSKEENPN"
.ascii "DSKNTDTH"
.ascii "DSKNTSIT"
.ascii "DSMANATK"
.ascii "DSMANDTH"
.ascii "DSMANSIT"
.ascii "DSMETAL\000"
.ascii "DSMNPAIN"
.ascii "DSNOWAY\000"
.ascii "DSOOF\000"
.space 2
.ascii "DSPDIEHI"
.ascii "DSPEDTH\000"
.ascii "DSPEPAIN"
.ascii "DSPESIT\000"
.ascii "DSPISTOL"
.ascii "DSPLASMA"
.ascii "DSPLDETH"
.ascii "DSPLPAIN"
.ascii "DSPODTH1"
.ascii "DSPODTH2"
.ascii "DSPODTH3"
.ascii "DSPOPAIN"
.ascii "DSPOSACT"
.ascii "DSPOSIT1"
.ascii "DSPOSIT2"
.ascii "DSPOSIT3"
.ascii "DSPSTART"
.ascii "DSPSTOP\000"
.ascii "DSPUNCH\000"
.ascii "DSRADIO\000"
.ascii "DSRLAUNC"
.ascii "DSRXPLOD"
.ascii "DSSAWFUL"
.ascii "DSSAWHIT"
.ascii "DSSAWIDL"
.ascii "DSSAWUP\000"
.ascii "DSSGCOCK"
.ascii "DSSGTATK"
.ascii "DSSGTDTH"
.ascii "DSSGTSIT"
.ascii "DSSHOTGN"
.ascii "DSSKEACT"
.ascii "DSSKEATK"
.ascii "DSSKEDTH"
.ascii "DSSKEPCH"
.ascii "DSSKESIT"
.ascii "DSSKESWG"
.ascii "DSSKLATK"
.ascii "DSSKLDTH"
.ascii "DSSLOP\000"
.space 1
.ascii "DSSPIDTH"
.ascii "DSSPISIT"
.ascii "DSSSDTH\000"
.ascii "DSSSSIT\000"
.ascii "DSSTNMOV"
.ascii "DSSWTCHN"
.ascii "DSSWTCHX"
.ascii "DSTELEPT"
.ascii "DSTINK\000"
.space 1
.ascii "DSVILACT"
.ascii "DSVILATK"
.ascii "DSVILDTH"
.ascii "DSVILSIT"
.ascii "DSVIPAIN"
.ascii "DSWPNUP\000"
.ascii "AMB10\000"
.space 2
.ascii "AMB11\000"
.space 2
.ascii "AMB1\000"
.space 3
.ascii "AMB2\000"
.space 3
.ascii "AMB3\000"
.space 3
.ascii "AMB4\000"
.space 3
.ascii "AMB5\000"
.space 3
.ascii "AMB6\000"
.space 3
.ascii "AMB7\000"
.space 3
.ascii "AMB8\000"
.space 3
.ascii "AMB9\000"
.space 3
.ascii "ARTIUP\000"
.space 1
.ascii "ARTIUSE\000"
.ascii "BLSHIT\000"
.space 1
.ascii "BLSSHT\000"
.space 1
.ascii "BOUNCE\000"
.space 1
.ascii "BOWSHT\000"
.space 1
.ascii "BSTACT\000"
.space 1
.ascii "BSTATK\000"
.space 1
.ascii "BSTDTH\000"
.space 1
.ascii "BSTPAI\000"
.space 1
.ascii "BSTSIT\000"
.space 1
.ascii "BURN\000"
.space 3
.ascii "CHAT\000"
.space 3
.ascii "CHICACT\000"
.ascii "CHICATK\000"
.ascii "CHICDTH\000"
.ascii "CHICPAI\000"
.ascii "CHICPK1\000"
.ascii "CHICPK2\000"
.ascii "CHICPK3\000"
.ascii "CLKACT\000"
.space 1
.ascii "CLKATK\000"
.space 1
.ascii "CLKDTH\000"
.space 1
.ascii "CLKPAI\000"
.space 1
.ascii "CLKSIT\000"
.space 1
.ascii "DORCLS\000"
.space 1
.ascii "DORMOV\000"
.space 1
.ascii "DOROPN\000"
.space 1
.ascii "GFRAG\000"
.space 2
.ascii "GIBDTH\000"
.space 1
.ascii "GLDHIT\000"
.space 1
.ascii "GLOOP\000"
.space 2
.ascii "GNTACT\000"
.space 1
.ascii "GNTFUL\000"
.space 1
.ascii "GNTHIT\000"
.space 1
.ascii "GNTPOW\000"
.space 1
.ascii "GNTUSE\000"
.space 1
.ascii "HEDACT\000"
.space 1
.ascii "HEDAT1\000"
.space 1
.ascii "HEDAT2\000"
.space 1
.ascii "HEDAT3\000"
.space 1
.ascii "HEDDTH\000"
.space 1
.ascii "HEDPAI\000"
.space 1
.ascii "HEDSIT\000"
.space 1
.ascii "HRNHIT\000"
.space 1
.ascii "HRNPOW\000"
.space 1
.ascii "HRNSHT\000"
.space 1
.ascii "IMPAT1\000"
.space 1
.ascii "IMPAT2\000"
.space 1
.ascii "IMPDTH\000"
.space 1
.ascii "IMPPAI\000"
.space 1
.ascii "IMPSIT\000"
.space 1
.ascii "ITEMUP\000"
.space 1
.ascii "KEYUP\000"
.space 2
.ascii "KGTAT2\000"
.space 1
.ascii "KGTATK\000"
.space 1
.ascii "KGTDTH\000"
.space 1
.ascii "KGTPAI\000"
.space 1
.ascii "KGTSIT\000"
.space 1
.ascii "LOBHIT\000"
.space 1
.ascii "LOBPOW\000"
.space 1
.ascii "LOBSHT\000"
.space 1
.ascii "MINACT\000"
.space 1
.ascii "MINAT1\000"
.space 1
.ascii "MINAT2\000"
.space 1
.ascii "MINAT3\000"
.space 1
.ascii "MINDTH\000"
.space 1
.ascii "MINPAI\000"
.space 1
.ascii "MINSIT\000"
.space 1
.ascii "MUMAT1\000"
.space 1
.ascii "MUMAT2\000"
.space 1
.ascii "MUMDTH\000"
.space 1
.ascii "MUMHED\000"
.space 1
.ascii "MUMPAI\000"
.space 1
.ascii "MUMSIT\000"
.space 1
.ascii "NEWPOD\000"
.space 1
.ascii "PHOHIT\000"
.space 1
.ascii "PHOPOW\000"
.space 1
.ascii "PHOSHT\000"
.space 1
.ascii "PLRCDTH\000"
.ascii "PLRDTH\000"
.space 1
.ascii "PLROOF\000"
.space 1
.ascii "PLRPAI\000"
.space 1
.ascii "PLRWDTH\000"
.ascii "PODEXP\000"
.space 1
.ascii "PSTART\000"
.space 1
.ascii "PSTOP\000"
.space 2
.ascii "RAMPHIT\000"
.ascii "RAMRAIN\000"
.ascii "RESPAWN\000"
.ascii "RIPSLOP\000"
.ascii "SBTACT\000"
.space 1
.ascii "SBTDTH\000"
.space 1
.ascii "SBTPAI\000"
.space 1
.ascii "SNKACT\000"
.space 1
.ascii "SNKATK\000"
.space 1
.ascii "SNKDTH\000"
.space 1
.ascii "SNKPAI\000"
.space 1
.ascii "SNKSIT\000"
.space 1
.ascii "SORACT\000"
.space 1
.ascii "SORATK\000"
.space 1
.ascii "SORDBON\000"
.ascii "SORDEXP\000"
.ascii "SORDSPH\000"
.ascii "SORPAI\000"
.space 1
.ascii "SORRISE\000"
.ascii "SORSIT\000"
.space 1
.ascii "SORZAP\000"
.space 1
.ascii "STFCRK\000"
.space 1
.ascii "STFHIT\000"
.space 1
.ascii "STFPOW\000"
.space 1
.ascii "STNMOV\000"
.space 1
.ascii "SWITCH\000"
.space 1
.ascii "TELEPT\000"
.space 1
.ascii "WATERFL\000"
.ascii "WIND\000"
.space 3
.ascii "WIZACT\000"
.space 1
.ascii "WIZATK\000"
.space 1
.ascii "WIZDTH\000"
.space 1
.ascii "WIZPAI\000"
.space 1
.ascii "WIZSIT\000"
.space 1
.ascii "WPNUP\000"
.space 2
.ascii "ACID5\000"
.space 2
.ascii "ARMOREXP"
.ascii "ART1\000"
.space 3
.ascii "ARTACT1\000"
.ascii "AXE5\000"
.space 3
.ascii "BALLS1\000"
.space 1
.ascii "BATS\000"
.space 3
.ascii "BELLRNG\000"
.ascii "BIRD\000"
.space 3
.ascii "BISHAPP\000"
.ascii "BISHDTH1"
.ascii "BITE4\000"
.space 2
.ascii "BLANK\000"
.space 2
.ascii "BLASTR\000"
.space 1
.ascii "BLDDRP1\000"
.ascii "BLOOD1\000"
.space 1
.ascii "BLUR6\000"
.space 2
.ascii "BOARD1\000"
.space 1
.ascii "BOUNCE2\000"
.ascii "BROOK1\000"
.space 1
.ascii "BSHHIT2\000"
.ascii "BSHPN1\000"
.space 1
.ascii "BUBBLE\000"
.space 1
.ascii "CENT1\000"
.space 2
.ascii "CENT2\000"
.space 2
.ascii "CENTHIT2"
.ascii "CHAINS\000"
.space 1
.ascii "CHAT3\000"
.space 2
.ascii "CHNSWCH8"
.ascii "CLHMM\000"
.space 2
.ascii "CLXDTH1\000"
.ascii "CLXDTH2\000"
.ascii "CLXDTH3\000"
.ascii "CNTDTH1\000"
.ascii "CNTSHLD4"
.ascii "CONE3\000"
.space 2
.ascii "CORK\000"
.space 3
.ascii "CRKETS1\000"
.ascii "CRKETS\000"
.space 1
.ascii "DEFAULT\000"
.ascii "DEMATK2\000"
.ascii "DORSTP1B"
.ascii "DORSTP3\000"
.ascii "DORSTP4\000"
.ascii "DRAGDIE2"
.ascii "DRAGPN2\000"
.ascii "DRAGSIT1"
.ascii "DRCRK5A\000"
.ascii "DRLTCH3A"
.ascii "DROP2\000"
.space 2
.ascii "DRSTP2\000"
.space 1
.ascii "DRSTP7\000"
.space 1
.ascii "ETHIT1\000"
.space 1
.ascii "ETHPORT1"
.ascii "FACE1\000"
.space 2
.ascii "FALL1\000"
.space 2
.ascii "FALLHIT\000"
.ascii "FEET4\000"
.space 2
.ascii "FGTCDTH\000"
.ascii "FGTDDTH\000"
.ascii "FGTFALL\000"
.ascii "FGTGRUNT"
.ascii "FGTHMM\000"
.space 1
.ascii "FGTPAIN\000"
.ascii "FGTXDTH1"
.ascii "FGTXDTH2"
.ascii "FGTXDTH3"
.ascii "FIRED2\000"
.space 1
.ascii "FIRED3\000"
.space 1
.ascii "FIRED5\000"
.space 1
.ascii "FIREDHIT"
.ascii "FLECH4\000"
.space 1
.ascii "FLY3\000"
.space 3
.ascii "FROGS\000"
.space 2
.ascii "FROSTY1\000"
.ascii "FROSTY2\000"
.ascii "GAME1\000"
.space 2
.ascii "GLASS5\000"
.space 1
.ascii "GLBHISS1"
.ascii "GLBHIT4\000"
.ascii "GLOOP1\000"
.space 1
.ascii "GNTACT1\000"
.ascii "GNTMIS1\000"
.ascii "GNTPOW\000"
.space 1
.ascii "GONG\000"
.space 3
.ascii "GRTNGS1\000"
.ascii "GRUNT1\000"
.space 1
.ascii "HAMBLO8A"
.ascii "HAMFIR1\000"
.ascii "HAMFLY1\000"
.ascii "HAMMIS2\000"
.ascii "HAMWAL1\000"
.ascii "HMHIT1A\000"
.ascii "HOLY3\000"
.space 2
.ascii "ICEBRK1A"
.ascii "ICEDTH1\000"
.ascii "ICEMV2\000"
.space 1
.ascii "IMPACT3\000"
.ascii "IMPFIRE2"
.ascii "INSECTS1"
.ascii "KATYDID\000"
.ascii "KEYS2A\000"
.space 1
.ascii "KORACT\000"
.space 1
.ascii "KORATK\000"
.space 1
.ascii "KORCOM\000"
.space 1
.ascii "KORDTH1\000"
.ascii "KORPN1\000"
.space 1
.ascii "KORSIT\000"
.space 1
.ascii "LAVA2\000"
.space 2
.ascii "LITE2\000"
.space 2
.ascii "LOCKED\000"
.space 1
.ascii "MAGE4\000"
.space 2
.ascii "MAGEBALL"
.ascii "MAYBE1\000"
.space 1
.ascii "MGCDTH\000"
.space 1
.ascii "MGDTH\000"
.space 2
.ascii "MGFALL\000"
.space 1
.ascii "MGGRUNT\000"
.ascii "MGHMM\000"
.space 2
.ascii "MGPAIN\000"
.space 1
.ascii "MGXDTH1\000"
.ascii "MGXDTH2\000"
.ascii "MGXDTH3\000"
.ascii "MINACT1\000"
.ascii "MINACT2\000"
.ascii "MINDTH4\000"
.ascii "MINPAIN4"
.ascii "MINSIT1\000"
.ascii "MTLMV3\000"
.space 1
.ascii "MTLSTRT1"
.ascii "MUCK5\000"
.space 2
.ascii "MUMPUN5\000"
.ascii "OWL\000"
.space 4
.ascii "PICUP5\000"
.space 1
.ascii "PIECE1\000"
.space 1
.ascii "PIGDTH2\000"
.ascii "PIGPAIN2"
.ascii "PIGRUNT1"
.ascii "PLRBURN\000"
.ascii "PLRCDTH\000"
.ascii "PLRDTH\000"
.space 1
.ascii "PLRPAIN3"
.ascii "POIS2\000"
.space 2
.ascii "POP\000"
.space 4
.ascii "POTBRK1\000"
.ascii "PUFF1\000"
.space 2
.ascii "PUNCH8\000"
.space 1
.ascii "PUNCHMIS"
.ascii "PUP4\000"
.space 3
.ascii "PUZSLV1\000"
.ascii "PUZSLV\000"
.space 1
.ascii "QUAKE2\000"
.space 1
.ascii "RAITH1B\000"
.ascii "RAITH3\000"
.space 1
.ascii "RAITH4A\000"
.ascii "RAITH5A\000"
.ascii "RATHDTH2"
.ascii "READY1\000"
.space 1
.ascii "RESPAWN\000"
.ascii "ROCKS\000"
.space 2
.ascii "SAMPLE11"
.ascii "SBTDTH3\000"
.ascii "SBTSIT5\000"
.ascii "SERPPN1\000"
.ascii "SHARDS1B"
.ascii "SHLURP\000"
.space 1
.ascii "SORBLEXP"
.ascii "SORBOSS1"
.ascii "SORBOSS2"
.ascii "SORBOSS3"
.ascii "SORDIE2\000"
.ascii "SPAWN3\000"
.space 1
.ascii "SPELL1\000"
.space 1
.ascii "SPIKE2\000"
.space 1
.ascii "SPIKE3\000"
.space 1
.ascii "SPIRT5\000"
.space 1
.ascii "SPIRT7\000"
.space 1
.ascii "SPIRTS1\000"
.ascii "SPIT6\000"
.space 2
.ascii "SQUEAL1\000"
.ascii "SRFC1\000"
.space 2
.ascii "SRFC3\000"
.space 2
.ascii "SRPDTH1\000"
.ascii "STB1D\000"
.space 2
.ascii "STEEL1\000"
.space 1
.ascii "STEEL2\000"
.space 1
.ascii "STEP\000"
.space 3
.ascii "STMDR1\000"
.space 1
.ascii "STNMV4\000"
.space 1
.ascii "STRETCH3"
.ascii "STRIKE1\000"
.ascii "STRIKE3\000"
.ascii "STRONG1\000"
.ascii "SWORD2\000"
.space 1
.ascii "SWTCH6\000"
.space 1
.ascii "SWTCHRP1"
.ascii "SWTCHV4\000"
.ascii "SYAB2D\000"
.space 1
.ascii "TAUR1\000"
.space 2
.ascii "TAUR2\000"
.space 2
.ascii "TAUR4\000"
.space 2
.ascii "THNDR1\000"
.space 1
.ascii "TICK\000"
.space 3
.ascii "TICTOC\000"
.space 1
.ascii "TORCH2\000"
.space 1
.ascii "TPORT1\000"
.space 1
.ascii "TREEBRK\000"
.ascii "TREEBURN"
.ascii "VAMP5\000"
.space 2
.ascii "WAND4\000"
.space 2
.ascii "WEPELE2\000"
.ascii "WIND3\000"
.space 2
.ascii "WING1\000"
.space 2
.ascii "WOOSH3\000"
.space 1
.ascii "WRSHIP1\000"
.ascii "WTRCRT7\000"
.ascii "WTRHIT\000"
.space 1
.ascii "WTRSWIP\000"
.ascii "ADG01\000"
.space 2
.ascii "AG301\000"
.space 2
.ascii "AGG01\000"
.space 2
.ascii "BBX01\000"
.space 2
.ascii "BBX02\000"
.space 2
.ascii "BGG01\000"
.space 2
.ascii "BGG02\000"
.space 2
.ascii "BGG03\000"
.space 2
.ascii "CTT01\000"
.space 2
.ascii "CTT02\000"
.space 2
.ascii "DER01\000"
.space 2
.ascii "DER02\000"
.space 2
.ascii "DER03\000"
.space 2
.ascii "DGG01\000"
.space 2
.ascii "DGG02\000"
.space 2
.ascii "DGG03\000"
.space 2
.ascii "DGTBL\000"
.space 2
.ascii "DOW01\000"
.space 2
.ascii "DRTBL\000"
.space 2
.ascii "DSAGRAC1"
.ascii "DSAGRAC2"
.ascii "DSAGRAC3"
.ascii "DSAGRAC4"
.ascii "DSAGRDPN"
.ascii "DSAGRDTH"
.ascii "DSAGRSEE"
.ascii "DSAIRLCK"
.ascii "DSALARM\000"
.ascii "DSALNACT"
.ascii "DSALNDTH"
.ascii "DSALNPN\000"
.ascii "DSALNSEE"
.ascii "DSAMALN1"
.ascii "DSAMALN2"
.ascii "DSAMALN3"
.ascii "DSAMALN4"
.ascii "DSAMALN5"
.ascii "DSAMALN6"
.ascii "DSAMBBAR"
.ascii "DSAMBPPL"
.ascii "DSBAREXP"
.ascii "DSBDCLS\000"
.ascii "DSBDOPN\000"
.ascii "DSBGLASS"
.ascii "DSBURNME"
.ascii "DSCHAIN\000"
.ascii "DSCHANT\000"
.ascii "DSDIFOOL"
.ascii "DSDRCHNC"
.ascii "DSDRCHNO"
.ascii "DSDRLMTC"
.ascii "DSDRLMTO"
.ascii "DSDRLWUD"
.ascii "DSDRSMTC"
.ascii "DSDRSMTO"
.ascii "DSDRSTON"
.ascii "DSDRSWUD"
.ascii "DSDSRPTR"
.ascii "DSEXPLOD"
.ascii "DSFIRXPL"
.ascii "DSFLBURN"
.ascii "DSFLIDL\000"
.ascii "DSINQACT"
.ascii "DSINQDTH"
.ascii "DSINQJMP"
.ascii "DSINQSEE"
.ascii "DSITEMUP"
.ascii "DSITMBK\000"
.ascii "DSKEYCRD"
.ascii "DSLGFIRE"
.ascii "DSLORPN\000"
.ascii "DSLORSEE"
.ascii "DSMASK\000"
.space 1
.ascii "DSMEATHT"
.ascii "DSMISLHT"
.ascii "DSMNALDT"
.ascii "DSMNALSE"
.ascii "DSMTALHT"
.ascii "DSNOWAY\000"
.ascii "DSOOF\000"
.space 2
.ascii "DSPCRUSH"
.ascii "DSPESPNA"
.ascii "DSPESPNB"
.ascii "DSPESPNC"
.ascii "DSPESPND"
.ascii "DSPGRACT"
.ascii "DSPGRDAT"
.ascii "DSPGRDPN"
.ascii "DSPGRDTH"
.ascii "DSPGRSEE"
.ascii "DSPHOOT\000"
.ascii "DSPLASMA"
.ascii "DSPLDETH"
.ascii "DSPLPAIN"
.ascii "DSPLXDTH"
.ascii "DSPRGPN\000"
.ascii "DSPROGAC"
.ascii "DSPROTFL"
.ascii "DSPROTON"
.ascii "DSPSDTHA"
.ascii "DSPSDTHB"
.ascii "DSPSDTHC"
.ascii "DSPSTART"
.ascii "DSPSTOP\000"
.ascii "DSPULCHN"
.ascii "DSRADIO\000"
.ascii "DSRATACT"
.ascii "DSRB2ACT"
.ascii "DSRB2DTH"
.ascii "DSRB2PN\000"
.ascii "DSRB2SEE"
.ascii "DSREACTR"
.ascii "DSREAVAT"
.ascii "DSREAVPN"
.ascii "DSREBACT"
.ascii "DSREBDTH"
.ascii "DSREVACT"
.ascii "DSREVBLD"
.ascii "DSREVDTH"
.ascii "DSREVSEE"
.ascii "DSRFLITE"
.ascii "DSRIFLE\000"
.ascii "DSRLAUNC"
.ascii "DSSGLHIT"
.ascii "DSSIGIL\000"
.ascii "DSSIGLUP"
.ascii "DSSLOP\000"
.space 1
.ascii "DSSMFIRE"
.ascii "DSSNTACT"
.ascii "DSSNTDTH"
.ascii "DSSNTSEE"
.ascii "DSSPDATK"
.ascii "DSSPDWLK"
.ascii "DSSPIDTH"
.ascii "DSSPISIT"
.ascii "DSSTATIC"
.ascii "DSSTNMOV"
.ascii "DSSWBOLT"
.ascii "DSSWISH\000"
.ascii "DSSWKNOB"
.ascii "DSSWSCAN"
.ascii "DSSWSTON"
.ascii "DSSWTCHN"
.ascii "DSTELEPT"
.ascii "DSTEND\000"
.space 1
.ascii "DSVALVE\000"
.ascii "DSWBRLDT"
.ascii "DSWDRIP\000"
.ascii "DSWFALL\000"
.ascii "DSWPNUP\000"
.ascii "DSWRIVER"
.ascii "DSWSPLSH"
.ascii "DSXBOW\000"
.space 1
.ascii "DSYEAH\000"
.space 1
.ascii "DWTBL\000"
.space 2
.ascii "DWW01\000"
.space 2
.ascii "F1TBLA\000"
.space 1
.ascii "F2TBLA\000"
.space 1
.ascii "F3TBLA\000"
.space 1
.ascii "FOR01A\000"
.space 1
.ascii "FOR02A\000"
.space 1
.ascii "FOR03A\000"
.space 1
.ascii "FOR04A\000"
.space 1
.ascii "FOTBLA\000"
.space 1
.ascii "FP101A\000"
.space 1
.ascii "FP102A\000"
.space 1
.ascii "FP201A\000"
.space 1
.ascii "FP301A\000"
.space 1
.ascii "GEO01\000"
.space 2
.ascii "GEO02\000"
.space 2
.ascii "GEO03\000"
.space 2
.ascii "GETBL\000"
.space 2
.ascii "GOTBL\000"
.space 2
.ascii "GOV01\000"
.space 2
.ascii "GOV02\000"
.space 2
.ascii "GOV03\000"
.space 2
.ascii "GOV04\000"
.space 2
.ascii "GOV05\000"
.space 2
.ascii "GOV06\000"
.space 2
.ascii "GOV07\000"
.space 2
.ascii "GOV08\000"
.space 2
.ascii "GOV09\000"
.space 2
.ascii "GOV10\000"
.space 2
.ascii "GOV11\000"
.space 2
.ascii "GOV6A1\000"
.space 1
.ascii "HA001\000"
.space 2
.ascii "HA002\000"
.space 2
.ascii "HA003\000"
.space 2
.ascii "HA004\000"
.space 2
.ascii "HA005\000"
.space 2
.ascii "HA006\000"
.space 2
.ascii "HA007\000"
.space 2
.ascii "HATBL\000"
.space 2
.ascii "JDW01\000"
.space 2
.ascii "JDW02\000"
.space 2
.ascii "JWTBL\000"
.space 2
.ascii "KET01\000"
.space 2
.ascii "KET02\000"
.space 2
.ascii "KET03\000"
.space 2
.ascii "KETBL\000"
.space 2
.ascii "KEV01\000"
.space 2
.ascii "KEV02\000"
.space 2
.ascii "KNTBL\000"
.space 2
.ascii "LOM03\000"
.space 2
.ascii "LOM04\000"
.space 2
.ascii "LOM05\000"
.space 2
.ascii "LOM06\000"
.space 2
.ascii "MAC01\000"
.space 2
.ascii "MAC02\000"
.space 2
.ascii "MAC03\000"
.space 2
.ascii "MAC04\000"
.space 2
.ascii "MAC05\000"
.space 2
.ascii "MAC06\000"
.space 2
.ascii "MAC07\000"
.space 2
.ascii "MAC08\000"
.space 2
.ascii "MAC09\000"
.space 2
.ascii "MAC10A1\000"
.ascii "MAC10B1\000"
.ascii "MAC10\000"
.space 2
.ascii "MAC11\000"
.space 2
.ascii "MAC12\000"
.space 2
.ascii "MAC13\000"
.space 2
.ascii "MAC14\000"
.space 2
.ascii "MAC15\000"
.space 2
.ascii "MAC16\000"
.space 2
.ascii "MAC17\000"
.space 2
.ascii "MAC18\000"
.space 2
.ascii "MAC19\000"
.space 2
.ascii "MAC20\000"
.space 2
.ascii "MAC666\000"
.space 1
.ascii "MACRWD\000"
.space 1
.ascii "MAE01\000"
.space 2
.ascii "MAE02\000"
.space 2
.ascii "MAE03\000"
.space 2
.ascii "MAE04\000"
.space 2
.ascii "MAE05\000"
.space 2
.ascii "MAE06\000"
.space 2
.ascii "MAG01\000"
.space 2
.ascii "MAG02\000"
.space 2
.ascii "MAG03\000"
.space 2
.ascii "MAG04\000"
.space 2
.ascii "MCTBL\000"
.space 2
.ascii "MLTBL\000"
.space 2
.ascii "MOTBL\000"
.space 2
.ascii "ORC01\000"
.space 2
.ascii "ORC02\000"
.space 2
.ascii "ORC03\000"
.space 2
.ascii "ORC04\000"
.space 2
.ascii "ORC05\000"
.space 2
.ascii "ORC06\000"
.space 2
.ascii "ORC07\000"
.space 2
.ascii "ORE01\000"
.space 2
.ascii "ORE02\000"
.space 2
.ascii "ORTBL\000"
.space 2
.ascii "PDG01\000"
.space 2
.ascii "PDG02\000"
.space 2
.ascii "PDG03\000"
.space 2
.ascii "PPP01A\000"
.space 1
.ascii "PPP02A\000"
.space 1
.ascii "PPP03A\000"
.space 1
.ascii "PPP04\000"
.space 2
.ascii "PPP05\000"
.space 2
.ascii "PPP06A\000"
.space 1
.ascii "PPP07A\000"
.space 1
.ascii "PPP08\000"
.space 2
.ascii "PRO1\000"
.space 3
.ascii "PRO2\000"
.space 3
.ascii "PRO3\000"
.space 3
.ascii "PRO4\000"
.space 3
.ascii "PRO5\000"
.space 3
.ascii "PRO6\000"
.space 3
.ascii "PRO7\000"
.space 3
.ascii "PRTBL\000"
.space 2
.ascii "QFMRM1\000"
.space 1
.ascii "QFMRM2\000"
.space 1
.ascii "QFMRM3\000"
.space 1
.ascii "QFMRM4\000"
.space 1
.ascii "QFMRM5\000"
.space 1
.ascii "QFMRM6\000"
.space 1
.ascii "QFMRM7\000"
.space 1
.ascii "QFMRM8\000"
.space 1
.ascii "QUI01\000"
.space 2
.ascii "QUI02\000"
.space 2
.ascii "QUI03\000"
.space 2
.ascii "QUI04\000"
.space 2
.ascii "QUI05\000"
.space 2
.ascii "QUI06\000"
.space 2
.ascii "QUTBL\000"
.space 2
.ascii "REBRM1\000"
.space 1
.ascii "REBRM2\000"
.space 1
.ascii "REBRM3\000"
.space 1
.ascii "REBRM4\000"
.space 1
.ascii "REBRM5\000"
.space 1
.ascii "REBRM6\000"
.space 1
.ascii "REBRM7\000"
.space 1
.ascii "REBRM8\000"
.space 1
.ascii "REBRM9\000"
.space 1
.ascii "RET01\000"
.space 2
.ascii "RET02\000"
.space 2
.ascii "RET03\000"
.space 2
.ascii "RET04\000"
.space 2
.ascii "RET05\000"
.space 2
.ascii "RET06\000"
.space 2
.ascii "RET07\000"
.space 2
.ascii "RET08\000"
.space 2
.ascii "RET09\000"
.space 2
.ascii "RET10\000"
.space 2
.ascii "RET11\000"
.space 2
.ascii "RET12\000"
.space 2
.ascii "RETBL\000"
.space 2
.ascii "RGG01\000"
.space 2
.ascii "RGTBL\000"
.space 2
.ascii "RIC01\000"
.space 2
.ascii "RIC02\000"
.space 2
.ascii "RIE01\000"
.space 2
.ascii "RPP01\000"
.space 2
.ascii "RRTBL\000"
.space 2
.ascii "SAM01A\000"
.space 1
.ascii "SAM02A\000"
.space 1
.ascii "SAM03A\000"
.space 1
.ascii "SAM04A\000"
.space 1
.ascii "SAM05A\000"
.space 1
.ascii "SATBL\000"
.space 2
.ascii "SS501B\000"
.space 1
.ascii "SS502B\000"
.space 1
.ascii "SS503B\000"
.space 1
.ascii "SS601A\000"
.space 1
.ascii "SS602A\000"
.space 1
.ascii "SS603A\000"
.space 1
.ascii "SUR4A1\000"
.space 1
.ascii "TBTBL\000"
.space 2
.ascii "TCB01\000"
.space 2
.ascii "TCB02\000"
.space 2
.ascii "TCB03\000"
.space 2
.ascii "TCC01\000"
.space 2
.ascii "TCH01\000"
.space 2
.ascii "TCH02\000"
.space 2
.ascii "TCH03\000"
.space 2
.ascii "TCT01\000"
.space 2
.ascii "TETBL\000"
.space 2
.ascii "TTTBL\000"
.space 2
.ascii "VOC100\000"
.space 1
.ascii "VOC101\000"
.space 1
.ascii "VOC102\000"
.space 1
.ascii "VOC103\000"
.space 1
.ascii "VOC104\000"
.space 1
.ascii "VOC105\000"
.space 1
.ascii "VOC106\000"
.space 1
.ascii "VOC10\000"
.space 2
.ascii "VOC11\000"
.space 2
.ascii "VOC120\000"
.space 1
.ascii "VOC121\000"
.space 1
.ascii "VOC122\000"
.space 1
.ascii "VOC128\000"
.space 1
.ascii "VOC129\000"
.space 1
.ascii "VOC12\000"
.space 2
.ascii "VOC130\000"
.space 1
.ascii "VOC13\000"
.space 2
.ascii "VOC14\000"
.space 2
.ascii "VOC15\000"
.space 2
.ascii "VOC16\000"
.space 2
.ascii "VOC17\000"
.space 2
.ascii "VOC18\000"
.space 2
.ascii "VOC19\000"
.space 2
.ascii "VOC1\000"
.space 3
.ascii "VOC200\000"
.space 1
.ascii "VOC201\000"
.space 1
.ascii "VOC202\000"
.space 1
.ascii "VOC203\000"
.space 1
.ascii "VOC204\000"
.space 1
.ascii "VOC205\000"
.space 1
.ascii "VOC206\000"
.space 1
.ascii "VOC207\000"
.space 1
.ascii "VOC208\000"
.space 1
.ascii "VOC209\000"
.space 1
.ascii "VOC20\000"
.space 2
.ascii "VOC210\000"
.space 1
.ascii "VOC211\000"
.space 1
.ascii "VOC212\000"
.space 1
.ascii "VOC213\000"
.space 1
.ascii "VOC214\000"
.space 1
.ascii "VOC215\000"
.space 1
.ascii "VOC216\000"
.space 1
.ascii "VOC217\000"
.space 1
.ascii "VOC218\000"
.space 1
.ascii "VOC219\000"
.space 1
.ascii "VOC21\000"
.space 2
.ascii "VOC220\000"
.space 1
.ascii "VOC221\000"
.space 1
.ascii "VOC222\000"
.space 1
.ascii "VOC223\000"
.space 1
.ascii "VOC224\000"
.space 1
.ascii "VOC225\000"
.space 1
.ascii "VOC226\000"
.space 1
.ascii "VOC227\000"
.space 1
.ascii "VOC228\000"
.space 1
.ascii "VOC229\000"
.space 1
.ascii "VOC22\000"
.space 2
.ascii "VOC230\000"
.space 1
.ascii "VOC231\000"
.space 1
.ascii "VOC232\000"
.space 1
.ascii "VOC233\000"
.space 1
.ascii "VOC234\000"
.space 1
.ascii "VOC235\000"
.space 1
.ascii "VOC236\000"
.space 1
.ascii "VOC237\000"
.space 1
.ascii "VOC23\000"
.space 2
.ascii "VOC24\000"
.space 2
.ascii "VOC25\000"
.space 2
.ascii "VOC26\000"
.space 2
.ascii "VOC27\000"
.space 2
.ascii "VOC28\000"
.space 2
.ascii "VOC29\000"
.space 2
.ascii "VOC2\000"
.space 3
.ascii "VOC30\000"
.space 2
.ascii "VOC31\000"
.space 2
.ascii "VOC32\000"
.space 2
.ascii "VOC33\000"
.space 2
.ascii "VOC34\000"
.space 2
.ascii "VOC35\000"
.space 2
.ascii "VOC36\000"
.space 2
.ascii "VOC37\000"
.space 2
.ascii "VOC38\000"
.space 2
.ascii "VOC39\000"
.space 2
.ascii "VOC3\000"
.space 3
.ascii "VOC40\000"
.space 2
.ascii "VOC41\000"
.space 2
.ascii "VOC42\000"
.space 2
.ascii "VOC43\000"
.space 2
.ascii "VOC44\000"
.space 2
.ascii "VOC45\000"
.space 2
.ascii "VOC46\000"
.space 2
.ascii "VOC47\000"
.space 2
.ascii "VOC48\000"
.space 2
.ascii "VOC49\000"
.space 2
.ascii "VOC4\000"
.space 3
.ascii "VOC50\000"
.space 2
.ascii "VOC51\000"
.space 2
.ascii "VOC52\000"
.space 2
.ascii "VOC53\000"
.space 2
.ascii "VOC54\000"
.space 2
.ascii "VOC55\000"
.space 2
.ascii "VOC56\000"
.space 2
.ascii "VOC57\000"
.space 2
.ascii "VOC58\000"
.space 2
.ascii "VOC59\000"
.space 2
.ascii "VOC5\000"
.space 3
.ascii "VOC60\000"
.space 2
.ascii "VOC61\000"
.space 2
.ascii "VOC62\000"
.space 2
.ascii "VOC63\000"
.space 2
.ascii "VOC64\000"
.space 2
.ascii "VOC65\000"
.space 2
.ascii "VOC66\000"
.space 2
.ascii "VOC67\000"
.space 2
.ascii "VOC68\000"
.space 2
.ascii "VOC69\000"
.space 2
.ascii "VOC6\000"
.space 3
.ascii "VOC70\000"
.space 2
.ascii "VOC71\000"
.space 2
.ascii "VOC72\000"
.space 2
.ascii "VOC73\000"
.space 2
.ascii "VOC74\000"
.space 2
.ascii "VOC75\000"
.space 2
.ascii "VOC76\000"
.space 2
.ascii "VOC77\000"
.space 2
.ascii "VOC78\000"
.space 2
.ascii "VOC79\000"
.space 2
.ascii "VOC7\000"
.space 3
.ascii "VOC80\000"
.space 2
.ascii "VOC81\000"
.space 2
.ascii "VOC82\000"
.space 2
.ascii "VOC83\000"
.space 2
.ascii "VOC84\000"
.space 2
.ascii "VOC85\000"
.space 2
.ascii "VOC86\000"
.space 2
.ascii "VOC87\000"
.space 2
.ascii "VOC88\000"
.space 2
.ascii "VOC89\000"
.space 2
.ascii "VOC8\000"
.space 3
.ascii "VOC90\000"
.space 2
.ascii "VOC91\000"
.space 2
.ascii "VOC92\000"
.space 2
.ascii "VOC93\000"
.space 2
.ascii "VOC94\000"
.space 2
.ascii "VOC95\000"
.space 2
.ascii "VOC96\000"
.space 2
.ascii "VOC97\000"
.space 2
.ascii "VOC98\000"
.space 2
.ascii "VOC99\000"
.space 2
.ascii "VOC9\000"
.space 3
.ascii "WDM01\000"
.space 2
.ascii "WDM02\000"
.space 2
.ascii "WER01\000"
.space 2
.ascii "WER02\000"
.space 2
.ascii "WER03\000"
.space 2
.ascii "WER05\000"
.space 2
.ascii "WER06\000"
.space 2
.ascii "WER07\000"
.space 2
.ascii "WER08\000"
.space 2
.ascii "WER09\000"
.space 2
.ascii "WNTBL\000"
.space 2
.ascii "WOR01\000"
.space 2
.ascii "WOR02\000"
.space 2
.ascii "WOR03\000"
.space 2
.ascii "WRTBL\000"
.space 2
.ascii "DSDGACT\000"
.ascii "DSDGATK\000"
.ascii "DSDGDTH\000"
.ascii "DSDGPAIN"
.ascii "DSDGSIT\000"
.ascii "DSQUAKE\000"
.ascii "DSSECRET"
.ascii "ICEBRK1A"
.ascii "ICEDTH1\000"
.ascii "RAILGF1\000"
.ascii "SPARK1\000"
.space 1
.ascii "SPARK2\000"
.space 1
.ascii "SPARK3\000"
.space 1
.ascii "\000\000"
.space 6
.text
.align 2
.global xwrite
.syntax unified
.arm
.fpu softvfp
.type xwrite, %function
xwrite:
@ 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, #-12]
b .L2
.L5:
ldr r3, [fp, #-12]
ldr r2, [fp, #-20]
add r1, r2, r3
ldr r3, [fp, #-12]
ldr r2, [fp, #-24]
sub r3, r2, r3
mov r2, r3
ldr r0, [fp, #-16]
bl write
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmn r3, #1
bne .L3
bl __errno_location
mov r3, r0
ldr r3, [r3]
cmp r3, #11
beq .L3
bl __errno_location
mov r3, r0
ldr r3, [r3]
cmp r3, #4
beq .L3
mov r3, #1
b .L4
.L3:
ldr r3, [fp, #-8]
bic r3, r3, r3, asr #31
ldr r2, [fp, #-12]
add r3, r2, r3
str r3, [fp, #-12]
.L2:
ldr r3, [fp, #-12]
ldr r2, [fp, #-24]
cmp r2, r3
bhi .L5
mov r3, #0
.L4:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size xwrite, .-xwrite
.align 2
.global xread
.syntax unified
.arm
.fpu softvfp
.type xread, %function
xread:
@ 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, #-12]
b .L7
.L10:
ldr r3, [fp, #-12]
ldr r2, [fp, #-20]
add r1, r2, r3
ldr r3, [fp, #-12]
ldr r2, [fp, #-24]
sub r3, r2, r3
mov r2, r3
ldr r0, [fp, #-16]
bl read
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmn r3, #1
bne .L8
bl __errno_location
mov r3, r0
ldr r3, [r3]
cmp r3, #11
beq .L8
bl __errno_location
mov r3, r0
ldr r3, [r3]
cmp r3, #4
beq .L8
mov r3, #1
b .L9
.L8:
ldr r3, [fp, #-8]
bic r3, r3, r3, asr #31
ldr r2, [fp, #-12]
add r3, r2, r3
str r3, [fp, #-12]
.L7:
ldr r3, [fp, #-12]
ldr r2, [fp, #-24]
cmp r2, r3
bhi .L10
mov r3, #0
.L9:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size xread, .-xread
.section .rodata
.align 2
.LC0:
.ascii "sound.wad\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 = 152
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #152
str r0, [fp, #-152]
str r1, [fp, #-156]
ldr r3, .L27
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, [fp, #-152]
cmp r3, #1
bgt .L12
mov r3, #1
b .L25
.L12:
ldr r3, [fp, #-156]
add r3, r3, #4
ldr r3, [r3]
sub r2, fp, #124
mov r1, r2
mov r0, r3
bl stat
mov r3, r0
cmp r3, #0
beq .L14
mov r3, #1
b .L25
.L14:
ldr r3, [fp, #-156]
add r3, r3, #4
ldr r3, [r3]
mov r1, #0
mov r0, r3
bl open
str r0, [fp, #-136]
ldr r3, [fp, #-136]
cmp r3, #0
bne .L15
mov r3, #1
b .L25
.L15:
ldr r3, [fp, #-80]
mov r0, r3
bl malloc
mov r3, r0
str r3, [fp, #-132]
ldr r3, [fp, #-80]
mov r2, r3
ldr r1, [fp, #-132]
ldr r0, [fp, #-136]
bl xread
mov r3, r0
cmp r3, #0
beq .L16
ldr r0, [fp, #-136]
bl close
ldr r0, [fp, #-132]
bl free
mov r3, #1
b .L25
.L16:
ldr r0, [fp, #-136]
bl close
ldr r2, .L27+4
ldr r1, .L27+8
ldr r0, .L27+12
bl open
str r0, [fp, #-128]
ldr r3, [fp, #-128]
cmp r3, #0
bne .L17
ldr r0, [fp, #-132]
bl free
mov r3, #1
b .L25
.L17:
mov r3, #0
str r3, [fp, #-144]
b .L18
.L19:
ldr r3, [fp, #-144]
add r3, r3, #1
str r3, [fp, #-144]
.L18:
ldr r2, .L27+16
ldr r3, [fp, #-144]
ldrb r3, [r2, r3, lsl #3] @ zero_extendqisi2
cmp r3, #0
bne .L19
ldr r3, .L27+20
str r3, [fp, #-36]
ldr r3, [fp, #-144]
str r3, [fp, #-32]
ldr r3, [fp, #-80]
add r3, r3, #12
str r3, [fp, #-28]
mov r3, #12
str r3, [fp, #-24]
ldr r3, [fp, #-80]
str r3, [fp, #-20]
mov r3, #0
str r3, [fp, #-16]
mov r3, #0
str r3, [fp, #-12]
sub r3, fp, #36
mov r2, #12
mov r1, r3
ldr r0, [fp, #-128]
bl xwrite
mov r3, r0
cmp r3, #0
beq .L20
ldr r0, [fp, #-132]
bl free
ldr r0, [fp, #-128]
bl close
mov r3, #1
b .L25
.L20:
ldr r3, [fp, #-80]
mov r2, r3
ldr r1, [fp, #-132]
ldr r0, [fp, #-128]
bl xwrite
mov r3, r0
cmp r3, #0
beq .L21
ldr r0, [fp, #-132]
bl free
ldr r0, [fp, #-128]
bl close
mov r3, #1
b .L25
.L21:
mov r3, #0
str r3, [fp, #-140]
b .L22
.L24:
ldr r3, [fp, #-140]
lsl r3, r3, #3
ldr r2, .L27+16
add r1, r3, r2
sub r3, fp, #24
add r3, r3, #8
mov r2, #8
mov r0, r3
bl strncpy
sub r3, fp, #24
mov r2, #16
mov r1, r3
ldr r0, [fp, #-128]
bl xwrite
mov r3, r0
cmp r3, #0
beq .L23
ldr r0, [fp, #-132]
bl free
ldr r0, [fp, #-128]
bl close
mov r3, #1
b .L25
.L23:
ldr r3, [fp, #-140]
add r3, r3, #1
str r3, [fp, #-140]
.L22:
ldr r2, [fp, #-140]
ldr r3, [fp, #-144]
cmp r2, r3
blt .L24
ldr r0, [fp, #-132]
bl free
ldr r0, [fp, #-128]
bl close
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 .LC1
.word 429
.word 577
.word .LC0
.word snames
.word 1145132880
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "748796.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "-----MENU----"
.align 8
.LC1:
.string "Please select a choice between 0-5"
.align 8
.LC2:
.string "1. Show empty seats & order the list of empty seats"
.LC3:
.string "2. Book a specific seat"
.align 8
.LC4:
.string "3. Search if a seat is booked (with name or telephone)"
.LC5:
.string "4. Cancel a booked seat"
.align 8
.LC6:
.string "5. Show a list of the booked seats ordered by the seat number"
.LC7:
.string "0. Exit"
.LC8:
.string " %d"
.LC9:
.string " Please give the firstname: "
.LC10:
.string " %s"
.LC11:
.string "Please give the lastname: "
.LC12:
.string "Please give the telephone: "
.LC13:
.string "Please give the seat number: "
.align 8
.LC14:
.string "The seat you gave is out of range 1-%d\n"
.LC15:
.string "The seat is booked"
.LC16:
.string "The seat is already booked"
.align 8
.LC17:
.string "Search a booked seat, 1 by name or 2 by telephone: "
.LC18:
.string "Wrong choice."
.LC19:
.string "Please give a seat: "
.align 8
.LC20:
.string "The seat you give is out of range 1-%d\n"
.LC21:
.string "The seat is canceled"
.align 8
.LC22:
.string "Invalid choice. Please give a number between 0-5"
.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, 3600
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -3588[rbp], 1
mov DWORD PTR -3576[rbp], 0
jmp .L2
.L5:
lea rdx, -3520[rbp]
mov eax, DWORD PTR -3576[rbp]
cdqe
sal rax, 6
add rax, rdx
mov BYTE PTR [rax], 0
mov eax, DWORD PTR -3576[rbp]
add eax, 1
mov edx, eax
mov eax, DWORD PTR -3576[rbp]
cdqe
sal rax, 6
add rax, rbp
sub rax, 3460
mov DWORD PTR [rax], edx
mov DWORD PTR -3572[rbp], 0
jmp .L3
.L4:
mov eax, DWORD PTR -3572[rbp]
movsx rdx, eax
mov eax, DWORD PTR -3576[rbp]
cdqe
sal rax, 5
add rax, rdx
add rax, 16
mov WORD PTR -3512[rbp+rax*2], 0
add DWORD PTR -3572[rbp], 1
.L3:
cmp DWORD PTR -3572[rbp], 9
jle .L4
add DWORD PTR -3576[rbp], 1
.L2:
cmp DWORD PTR -3576[rbp], 52
jle .L5
lea rdx, -119[rbp]
lea rcx, -3592[rbp]
lea rax, -3520[rbp]
mov rsi, rcx
mov rdi, rax
call openfile
jmp .L6
.L25:
lea rdi, .LC0[rip]
call puts@PLT
lea rdi, .LC1[rip]
call puts@PLT
lea rdi, .LC2[rip]
call puts@PLT
lea rdi, .LC3[rip]
call puts@PLT
lea rdi, .LC4[rip]
call puts@PLT
lea rdi, .LC5[rip]
call puts@PLT
lea rdi, .LC6[rip]
call puts@PLT
lea rdi, .LC7[rip]
call puts@PLT
lea rax, -3588[rbp]
mov rsi, rax
lea rdi, .LC8[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov eax, DWORD PTR -3588[rbp]
test eax, eax
jne .L7
mov ecx, DWORD PTR -3592[rbp]
lea rdx, -119[rbp]
lea rax, -3520[rbp]
mov esi, ecx
mov rdi, rax
call savefile
jmp .L6
.L7:
mov eax, DWORD PTR -3588[rbp]
cmp eax, 1
jne .L8
mov edx, DWORD PTR -3592[rbp]
lea rax, -3520[rbp]
mov esi, edx
mov rdi, rax
call showemptyseats
jmp .L6
.L8:
mov eax, DWORD PTR -3588[rbp]
cmp eax, 2
jne .L9
lea rdi, .LC9[rip]
mov eax, 0
call printf@PLT
lea rax, -96[rbp]
mov rsi, rax
lea rdi, .LC10[rip]
mov eax, 0
call __isoc99_scanf@PLT
lea rdi, .LC11[rip]
mov eax, 0
call printf@PLT
lea rax, -48[rbp]
mov rsi, rax
lea rdi, .LC10[rip]
mov eax, 0
call __isoc99_scanf@PLT
lea rdi, .LC12[rip]
mov eax, 0
call printf@PLT
lea rax, -111[rbp]
mov rsi, rax
lea rdi, .LC10[rip]
mov eax, 0
call __isoc99_scanf@PLT
lea rax, -48[rbp]
mov rdi, rax
call strlen@PLT
mov rdx, rax
lea rax, -48[rbp]
add rax, rdx
mov WORD PTR [rax], 32
lea rdx, -96[rbp]
lea rax, -48[rbp]
mov rsi, rdx
mov rdi, rax
call strcat@PLT
mov DWORD PTR -3572[rbp], 0
jmp .L10
.L11:
mov eax, DWORD PTR -3572[rbp]
cdqe
movzx eax, BYTE PTR -111[rbp+rax]
movsx eax, al
lea edx, -48[rax]
mov eax, DWORD PTR -3572[rbp]
cdqe
mov DWORD PTR -3568[rbp+rax*4], edx
add DWORD PTR -3572[rbp], 1
.L10:
cmp DWORD PTR -3572[rbp], 9
jle .L11
lea rdi, .LC13[rip]
mov eax, 0
call printf@PLT
lea rax, -3584[rbp]
mov rsi, rax
lea rdi, .LC8[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov eax, DWORD PTR -3584[rbp]
test eax, eax
jle .L12
mov edx, DWORD PTR -3584[rbp]
mov eax, DWORD PTR -3592[rbp]
cmp edx, eax
jle .L13
.L12:
mov eax, DWORD PTR -3592[rbp]
mov esi, eax
lea rdi, .LC14[rip]
mov eax, 0
call printf@PLT
jmp .L6
.L13:
mov eax, DWORD PTR -3584[rbp]
sub eax, 1
lea rdx, -3520[rbp]
cdqe
sal rax, 6
add rax, rdx
movzx eax, BYTE PTR [rax]
movzx eax, al
test eax, eax
jne .L15
mov eax, DWORD PTR -3584[rbp]
sub eax, 1
lea rdx, -3520[rbp]
cdqe
sal rax, 6
lea rcx, [rdx+rax]
lea rdx, -3568[rbp]
lea rax, -48[rbp]
mov rsi, rax
mov rdi, rcx
call bookseat
lea rdi, .LC15[rip]
call puts@PLT
jmp .L6
.L15:
lea rdi, .LC16[rip]
call puts@PLT
jmp .L6
.L9:
mov eax, DWORD PTR -3588[rbp]
cmp eax, 3
jne .L16
lea rdi, .LC17[rip]
mov eax, 0
call printf@PLT
lea rax, -3580[rbp]
mov rsi, rax
lea rdi, .LC8[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov eax, DWORD PTR -3580[rbp]
cmp eax, 1
je .L17
mov eax, DWORD PTR -3580[rbp]
cmp eax, 2
jne .L18
.L17:
mov edx, DWORD PTR -3580[rbp]
mov ecx, DWORD PTR -3592[rbp]
lea rax, -3520[rbp]
mov esi, ecx
mov rdi, rax
call searchbookseat
jmp .L6
.L18:
lea rdi, .LC18[rip]
call puts@PLT
jmp .L6
.L16:
mov eax, DWORD PTR -3588[rbp]
cmp eax, 4
jne .L20
lea rdi, .LC19[rip]
mov eax, 0
call printf@PLT
lea rax, -3584[rbp]
mov rsi, rax
lea rdi, .LC8[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov eax, DWORD PTR -3584[rbp]
test eax, eax
jle .L21
mov edx, DWORD PTR -3584[rbp]
mov eax, DWORD PTR -3592[rbp]
cmp edx, eax
jle .L22
.L21:
mov eax, DWORD PTR -3592[rbp]
mov esi, eax
lea rdi, .LC20[rip]
mov eax, 0
call printf@PLT
jmp .L6
.L22:
mov eax, DWORD PTR -3584[rbp]
sub eax, 1
lea rdx, -3520[rbp]
cdqe
sal rax, 6
add rax, rdx
mov rdi, rax
call cancelbook
lea rdi, .LC21[rip]
call puts@PLT
jmp .L6
.L20:
mov eax, DWORD PTR -3588[rbp]
cmp eax, 5
jne .L24
mov edx, DWORD PTR -3592[rbp]
lea rax, -3520[rbp]
mov esi, edx
mov rdi, rax
mov eax, 0
call showbookseats
jmp .L6
.L24:
lea rdi, .LC22[rip]
call puts@PLT
.L6:
mov eax, DWORD PTR -3588[rbp]
test eax, eax
jne .L25
mov edi, 1
call exit@PLT
.cfi_endproc
.LFE6:
.size main, .-main
.section .rodata
.LC23:
.string "r"
.LC24:
.string "bus.txt"
.align 8
.LC25:
.string "The file is not open properly or not found"
.LC26:
.string "%s"
.LC27:
.string "%d"
.align 8
.LC28:
.string "The plate number of the bus is %s\n"
.LC29:
.string "The bus has %d seats\n"
.LC30:
.string "%s %s %d %s"
.text
.globl openfile
.type openfile, @function
openfile:
.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, 216
.cfi_offset 3, -24
mov QWORD PTR -200[rbp], rdi
mov QWORD PTR -208[rbp], rsi
mov QWORD PTR -216[rbp], rdx
mov rax, QWORD PTR fs:40
mov QWORD PTR -24[rbp], rax
xor eax, eax
lea rsi, .LC23[rip]
lea rdi, .LC24[rip]
call fopen@PLT
mov QWORD PTR -184[rbp], rax
cmp QWORD PTR -184[rbp], 0
jne .L28
lea rdi, .LC25[rip]
call puts@PLT
mov edi, -1
call exit@PLT
.L28:
mov rdx, QWORD PTR -216[rbp]
mov rax, QWORD PTR -184[rbp]
lea rsi, .LC26[rip]
mov rdi, rax
mov eax, 0
call __isoc99_fscanf@PLT
mov rdx, QWORD PTR -208[rbp]
mov rax, QWORD PTR -184[rbp]
lea rsi, .LC27[rip]
mov rdi, rax
mov eax, 0
call __isoc99_fscanf@PLT
mov rax, QWORD PTR -216[rbp]
mov rsi, rax
lea rdi, .LC28[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR -208[rbp]
mov eax, DWORD PTR [rax]
mov esi, eax
lea rdi, .LC29[rip]
mov eax, 0
call printf@PLT
jmp .L29
.L32:
mov eax, DWORD PTR -192[rbp]
cdqe
sal rax, 6
lea rdx, -64[rax]
mov rax, QWORD PTR -200[rbp]
add rax, rdx
mov rdx, rax
lea rax, -64[rbp]
mov rsi, rax
mov rdi, rdx
call strcpy@PLT
mov eax, DWORD PTR -192[rbp]
cdqe
sal rax, 6
lea rdx, -64[rax]
mov rax, QWORD PTR -200[rbp]
add rax, rdx
mov rbx, rax
mov rdi, rbx
call strlen@PLT
add rax, rbx
mov WORD PTR [rax], 32
mov eax, DWORD PTR -192[rbp]
cdqe
sal rax, 6
lea rdx, -64[rax]
mov rax, QWORD PTR -200[rbp]
add rax, rdx
mov rdx, rax
lea rax, -112[rbp]
mov rsi, rax
mov rdi, rdx
call strcat@PLT
mov edx, DWORD PTR -192[rbp]
mov eax, DWORD PTR -192[rbp]
cdqe
sal rax, 6
lea rcx, -64[rax]
mov rax, QWORD PTR -200[rbp]
add rax, rcx
mov DWORD PTR 60[rax], edx
mov DWORD PTR -188[rbp], 0
jmp .L30
.L31:
mov eax, DWORD PTR -188[rbp]
cdqe
movzx eax, BYTE PTR -127[rbp+rax]
movsx dx, al
mov eax, DWORD PTR -192[rbp]
cdqe
sal rax, 6
lea rcx, -64[rax]
mov rax, QWORD PTR -200[rbp]
add rax, rcx
lea ecx, -48[rdx]
mov edx, DWORD PTR -188[rbp]
movsx rdx, edx
add rdx, 16
mov WORD PTR 8[rax+rdx*2], cx
add DWORD PTR -188[rbp], 1
.L30:
cmp DWORD PTR -188[rbp], 9
jle .L31
.L29:
lea rdi, -127[rbp]
lea rsi, -192[rbp]
lea rcx, -112[rbp]
lea rdx, -64[rbp]
mov rax, QWORD PTR -184[rbp]
mov r9, rdi
mov r8, rsi
lea rsi, .LC30[rip]
mov rdi, rax
mov eax, 0
call __isoc99_fscanf@PLT
cmp eax, -1
jne .L32
mov rax, QWORD PTR -184[rbp]
mov rdi, rax
call fclose@PLT
nop
mov rax, QWORD PTR -24[rbp]
sub rax, QWORD PTR fs:40
je .L33
call __stack_chk_fail@PLT
.L33:
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size openfile, .-openfile
.section .rodata
.LC31:
.string "Empty seats are: "
.LC32:
.string "%d "
.LC33:
.string "\nTotal empty seats are %d\n"
.text
.globl showemptyseats
.type showemptyseats, @function
showemptyseats:
.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 -28[rbp], esi
mov DWORD PTR -4[rbp], 0
lea rdi, .LC31[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -8[rbp], 0
jmp .L35
.L37:
mov eax, DWORD PTR -8[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
movzx eax, al
test eax, eax
jne .L36
mov eax, DWORD PTR -8[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov eax, DWORD PTR 60[rax]
mov esi, eax
lea rdi, .LC32[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -4[rbp], 1
.L36:
add DWORD PTR -8[rbp], 1
.L35:
mov eax, DWORD PTR -8[rbp]
cmp eax, DWORD PTR -28[rbp]
jl .L37
mov eax, DWORD PTR -4[rbp]
mov esi, eax
lea rdi, .LC33[rip]
mov eax, 0
call printf@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size showemptyseats, .-showemptyseats
.globl bookseat
.type bookseat, @function
bookseat:
.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 -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov QWORD PTR -40[rbp], rdx
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -32[rbp]
mov rsi, rdx
mov rdi, rax
call strcpy@PLT
mov DWORD PTR -4[rbp], 0
jmp .L39
.L40:
mov eax, DWORD PTR -4[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -40[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
mov ecx, eax
mov rax, QWORD PTR -24[rbp]
mov edx, DWORD PTR -4[rbp]
movsx rdx, edx
add rdx, 16
mov WORD PTR 8[rax+rdx*2], cx
add DWORD PTR -4[rbp], 1
.L39:
cmp DWORD PTR -4[rbp], 9
jle .L40
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size bookseat, .-bookseat
.section .rodata
.LC34:
.string " Please give a lastname: "
.LC35:
.string "Please give a firstname: "
.align 8
.LC36:
.string "Seat %d is already booked by name %s\n"
.align 8
.LC37:
.string "Name %s has not booked a seat\n"
.LC38:
.string "Please give a telephone: "
.text
.globl searchbookseat
.type searchbookseat, @function
searchbookseat:
.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, 176
mov QWORD PTR -168[rbp], rdi
mov DWORD PTR -172[rbp], esi
mov DWORD PTR -176[rbp], edx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
cmp DWORD PTR -176[rbp], 1
jne .L42
lea rdi, .LC34[rip]
mov eax, 0
call printf@PLT
lea rax, -96[rbp]
mov rsi, rax
lea rdi, .LC10[rip]
mov eax, 0
call __isoc99_scanf@PLT
lea rdi, .LC35[rip]
mov eax, 0
call printf@PLT
lea rax, -48[rbp]
mov rsi, rax
lea rdi, .LC10[rip]
mov eax, 0
call __isoc99_scanf@PLT
lea rax, -96[rbp]
mov rdi, rax
call strlen@PLT
mov rdx, rax
lea rax, -96[rbp]
add rax, rdx
mov WORD PTR [rax], 32
lea rdx, -48[rbp]
lea rax, -96[rbp]
mov rsi, rdx
mov rdi, rax
call strcat@PLT
mov DWORD PTR -156[rbp], 0
jmp .L43
.L46:
mov eax, DWORD PTR -156[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -168[rbp]
add rax, rdx
mov rdx, rax
lea rax, -96[rbp]
mov rsi, rax
mov rdi, rdx
call strcmp@PLT
test eax, eax
jne .L44
mov eax, DWORD PTR -156[rbp]
lea ecx, 1[rax]
lea rax, -96[rbp]
mov rdx, rax
mov esi, ecx
lea rdi, .LC36[rip]
mov eax, 0
call printf@PLT
jmp .L41
.L44:
add DWORD PTR -156[rbp], 1
.L43:
mov eax, DWORD PTR -156[rbp]
cmp eax, DWORD PTR -172[rbp]
jl .L46
lea rdi, .LC37[rip]
mov eax, 0
call printf@PLT
jmp .L41
.L42:
cmp DWORD PTR -176[rbp], 2
jne .L41
lea rdi, .LC38[rip]
mov eax, 0
call printf@PLT
lea rax, -48[rbp]
mov rsi, rax
lea rdi, .LC26[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov DWORD PTR -156[rbp], 0
jmp .L48
.L49:
mov eax, DWORD PTR -156[rbp]
cdqe
movzx eax, BYTE PTR -48[rbp+rax]
movsx eax, al
lea edx, -48[rax]
mov eax, DWORD PTR -156[rbp]
cdqe
mov DWORD PTR -144[rbp+rax*4], edx
add DWORD PTR -156[rbp], 1
.L48:
cmp DWORD PTR -156[rbp], 9
jle .L49
mov DWORD PTR -156[rbp], 0
jmp .L50
.L55:
mov DWORD PTR -148[rbp], 0
mov DWORD PTR -152[rbp], 0
jmp .L51
.L53:
mov eax, DWORD PTR -152[rbp]
cdqe
mov edx, DWORD PTR -144[rbp+rax*4]
mov eax, DWORD PTR -156[rbp]
cdqe
sal rax, 6
mov rcx, rax
mov rax, QWORD PTR -168[rbp]
add rax, rcx
mov ecx, DWORD PTR -152[rbp]
movsx rcx, ecx
add rcx, 16
movzx eax, WORD PTR 8[rax+rcx*2]
movzx eax, ax
cmp edx, eax
jne .L52
add DWORD PTR -148[rbp], 1
.L52:
add DWORD PTR -152[rbp], 1
.L51:
cmp DWORD PTR -152[rbp], 9
jle .L53
cmp DWORD PTR -148[rbp], 10
jne .L54
mov eax, DWORD PTR -156[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -168[rbp]
add rax, rdx
mov rdx, rax
mov eax, DWORD PTR -156[rbp]
add eax, 1
mov esi, eax
lea rdi, .LC36[rip]
mov eax, 0
call printf@PLT
jmp .L41
.L54:
add DWORD PTR -156[rbp], 1
.L50:
mov eax, DWORD PTR -156[rbp]
cmp eax, DWORD PTR -172[rbp]
jl .L55
lea rdi, .LC37[rip]
mov eax, 0
call printf@PLT
.L41:
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L57
call __stack_chk_fail@PLT
.L57:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size searchbookseat, .-searchbookseat
.globl cancelbook
.type cancelbook, @function
cancelbook:
.LFB11:
.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 BYTE PTR [rax], 0
mov DWORD PTR -4[rbp], 0
jmp .L59
.L60:
mov rax, QWORD PTR -24[rbp]
mov edx, DWORD PTR -4[rbp]
movsx rdx, edx
add rdx, 16
mov WORD PTR 8[rax+rdx*2], 0
add DWORD PTR -4[rbp], 1
.L59:
cmp DWORD PTR -4[rbp], 9
jle .L60
nop
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size cancelbook, .-cancelbook
.section .rodata
.LC39:
.string "Booked seats are: "
.LC40:
.string "%s "
.LC41:
.string " %d\n"
.text
.globl showbookseats
.type showbookseats, @function
showbookseats:
.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 QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
lea rdi, .LC39[rip]
call puts@PLT
mov DWORD PTR -8[rbp], 0
jmp .L62
.L66:
mov eax, DWORD PTR -8[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
movzx eax, al
test eax, eax
je .L63
mov eax, DWORD PTR -8[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov rsi, rax
lea rdi, .LC40[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -4[rbp], 0
jmp .L64
.L65:
mov eax, DWORD PTR -8[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov edx, DWORD PTR -4[rbp]
movsx rdx, edx
add rdx, 16
movzx eax, WORD PTR 8[rax+rdx*2]
movzx eax, ax
mov esi, eax
lea rdi, .LC27[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -4[rbp], 1
.L64:
cmp DWORD PTR -4[rbp], 9
jle .L65
mov eax, DWORD PTR -8[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov eax, DWORD PTR 60[rax]
mov esi, eax
lea rdi, .LC41[rip]
mov eax, 0
call printf@PLT
.L63:
add DWORD PTR -8[rbp], 1
.L62:
mov eax, DWORD PTR -8[rbp]
cmp eax, DWORD PTR -28[rbp]
jl .L66
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE12:
.size showbookseats, .-showbookseats
.section .rodata
.LC42:
.string "w"
.LC43:
.string "%s\n"
.LC44:
.string "%d\n"
.LC45:
.string "%s %d "
.text
.globl savefile
.type savefile, @function
savefile:
.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 DWORD PTR -28[rbp], esi
mov QWORD PTR -40[rbp], rdx
lea rsi, .LC42[rip]
lea rdi, .LC24[rip]
call fopen@PLT
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
jne .L68
lea rdi, .LC25[rip]
call puts@PLT
mov edi, -1
call exit@PLT
.L68:
mov rdx, QWORD PTR -40[rbp]
mov rax, QWORD PTR -8[rbp]
lea rsi, .LC43[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov edx, DWORD PTR -28[rbp]
mov rax, QWORD PTR -8[rbp]
lea rsi, .LC44[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov DWORD PTR -16[rbp], 0
jmp .L69
.L73:
mov eax, DWORD PTR -16[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
movzx eax, al
test eax, eax
je .L70
mov eax, DWORD PTR -16[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov edx, DWORD PTR 60[rax]
mov eax, DWORD PTR -16[rbp]
cdqe
sal rax, 6
mov rcx, rax
mov rax, QWORD PTR -24[rbp]
add rax, rcx
mov rsi, rax
mov rax, QWORD PTR -8[rbp]
mov ecx, edx
mov rdx, rsi
lea rsi, .LC45[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov DWORD PTR -12[rbp], 0
jmp .L71
.L72:
mov eax, DWORD PTR -16[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov edx, DWORD PTR -12[rbp]
movsx rdx, edx
add rdx, 16
movzx eax, WORD PTR 8[rax+rdx*2]
movzx edx, ax
mov rax, QWORD PTR -8[rbp]
lea rsi, .LC27[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
add DWORD PTR -12[rbp], 1
.L71:
cmp DWORD PTR -12[rbp], 9
jle .L72
mov rax, QWORD PTR -8[rbp]
mov rsi, rax
mov edi, 10
call fputc@PLT
.L70:
add DWORD PTR -16[rbp], 1
.L69:
mov eax, DWORD PTR -16[rbp]
cmp eax, DWORD PTR -28[rbp]
jl .L73
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call fclose@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE13:
.size savefile, .-savefile
.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 "748796.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "-----MENU----\000"
.align 2
.LC1:
.ascii "Please select a choice between 0-5\000"
.align 2
.LC2:
.ascii "1. Show empty seats & order the list of empty seats"
.ascii "\000"
.align 2
.LC3:
.ascii "2. Book a specific seat\000"
.align 2
.LC4:
.ascii "3. Search if a seat is booked (with name or telepho"
.ascii "ne)\000"
.align 2
.LC5:
.ascii "4. Cancel a booked seat\000"
.align 2
.LC6:
.ascii "5. Show a list of the booked seats ordered by the s"
.ascii "eat number\000"
.align 2
.LC7:
.ascii "0. Exit\000"
.align 2
.LC8:
.ascii " %d\000"
.align 2
.LC9:
.ascii " Please give the firstname: \000"
.align 2
.LC10:
.ascii " %s\000"
.align 2
.LC11:
.ascii "Please give the lastname: \000"
.align 2
.LC12:
.ascii "Please give the telephone: \000"
.align 2
.LC13:
.ascii " \000"
.align 2
.LC14:
.ascii "Please give the seat number: \000"
.align 2
.LC15:
.ascii "The seat you gave is out of range 1-%d\012\000"
.align 2
.LC16:
.ascii "The seat is booked\000"
.align 2
.LC17:
.ascii "The seat is already booked\000"
.align 2
.LC18:
.ascii "Search a booked seat, 1 by name or 2 by telephone: "
.ascii "\000"
.align 2
.LC19:
.ascii "Wrong choice.\000"
.align 2
.LC20:
.ascii "Please give a seat: \000"
.align 2
.LC21:
.ascii "The seat you give is out of range 1-%d\012\000"
.align 2
.LC22:
.ascii "The seat is canceled\000"
.align 2
.LC23:
.ascii "Invalid choice. Please give a number between 0-5\000"
.align 2
.LC24:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 3568
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #3568
ldr r3, .L27
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #1
str r3, [fp, #-3564]
mov r3, #0
str r3, [fp, #-3552]
b .L2
.L5:
sub r3, fp, #3488
sub r3, r3, #4
sub r3, r3, #12
ldr r2, [fp, #-3552]
lsl r2, r2, #6
add r3, r3, r2
mov r2, #0
strb r2, [r3]
ldr r3, [fp, #-3552]
add r3, r3, #1
mov r2, r3
ldr r3, [fp, #-3552]
lsl r3, r3, #6
sub r1, fp, #4
add r3, r1, r3
str r2, [r3, #-3440]
mov r3, #0
str r3, [fp, #-3548]
b .L3
.L4:
sub r3, fp, #4
sub r3, r3, #3488
sub r3, r3, #12
ldr r2, [fp, #-3552]
lsl r1, r2, #5
ldr r2, [fp, #-3548]
add r2, r1, r2
add r2, r2, #20
lsl r2, r2, #1
add r3, r3, r2
mov r2, #0
strh r2, [r3] @ movhi
ldr r3, [fp, #-3548]
add r3, r3, #1
str r3, [fp, #-3548]
.L3:
ldr r3, [fp, #-3548]
cmp r3, #9
ble .L4
ldr r3, [fp, #-3552]
add r3, r3, #1
str r3, [fp, #-3552]
.L2:
ldr r3, [fp, #-3552]
cmp r3, #52
ble .L5
sub r2, fp, #112
sub r1, fp, #3552
sub r1, r1, #4
sub r1, r1, #12
sub r3, fp, #3488
sub r3, r3, #4
sub r3, r3, #12
mov r0, r3
bl openfile
b .L6
.L25:
ldr r0, .L27+4
bl puts
ldr r0, .L27+8
bl puts
ldr r0, .L27+12
bl puts
ldr r0, .L27+16
bl puts
ldr r0, .L27+20
bl puts
ldr r0, .L27+24
bl puts
ldr r0, .L27+28
bl puts
ldr r0, .L27+32
bl puts
sub r3, fp, #3552
sub r3, r3, #4
sub r3, r3, #8
mov r1, r3
ldr r0, .L27+36
bl __isoc99_scanf
ldr r3, [fp, #-3564]
cmp r3, #0
bne .L7
ldr r1, [fp, #-3568]
sub r2, fp, #112
sub r3, fp, #3488
sub r3, r3, #4
sub r3, r3, #12
mov r0, r3
bl savefile
b .L6
.L7:
ldr r3, [fp, #-3564]
cmp r3, #1
bne .L8
ldr r2, [fp, #-3568]
sub r3, fp, #3488
sub r3, r3, #4
sub r3, r3, #12
mov r1, r2
mov r0, r3
bl showemptyseats
b .L6
.L8:
ldr r3, [fp, #-3564]
cmp r3, #2
bne .L9
ldr r0, .L27+40
bl printf
sub r3, fp, #88
mov r1, r3
ldr r0, .L27+44
bl __isoc99_scanf
ldr r0, .L27+48
bl printf
sub r3, fp, #48
mov r1, r3
ldr r0, .L27+44
bl __isoc99_scanf
ldr r0, .L27+52
bl printf
sub r3, fp, #104
mov r1, r3
ldr r0, .L27+44
bl __isoc99_scanf
sub r3, fp, #48
mov r0, r3
bl strlen
mov r3, r0
mov r2, r3
sub r3, fp, #48
add r3, r3, r2
ldr r2, .L27+56
mov r0, r3
mov r1, r2
mov r3, #2
mov r2, r3
bl memcpy
sub r2, fp, #88
sub r3, fp, #48
mov r1, r2
mov r0, r3
bl strcat
mov r3, #0
str r3, [fp, #-3548]
b .L10
.L11:
sub r2, fp, #104
ldr r3, [fp, #-3548]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
sub r2, r3, #48
ldr r3, [fp, #-3548]
lsl r3, r3, #2
sub r1, fp, #4
add r3, r1, r3
str r2, [r3, #-3540]
ldr r3, [fp, #-3548]
add r3, r3, #1
str r3, [fp, #-3548]
.L10:
ldr r3, [fp, #-3548]
cmp r3, #9
ble .L11
ldr r0, .L27+60
bl printf
sub r3, fp, #3552
sub r3, r3, #4
sub r3, r3, #4
mov r1, r3
ldr r0, .L27+36
bl __isoc99_scanf
ldr r3, [fp, #-3560]
cmp r3, #0
ble .L12
ldr r2, [fp, #-3560]
ldr r3, [fp, #-3568]
cmp r2, r3
ble .L13
.L12:
ldr r3, [fp, #-3568]
mov r1, r3
ldr r0, .L27+64
bl printf
b .L6
.L13:
ldr r3, [fp, #-3560]
sub r2, r3, #1
sub r3, fp, #3488
sub r3, r3, #4
sub r3, r3, #12
lsl r2, r2, #6
add r3, r3, r2
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L15
ldr r3, [fp, #-3560]
sub r2, r3, #1
sub r3, fp, #3488
sub r3, r3, #4
sub r3, r3, #12
lsl r2, r2, #6
add r0, r3, r2
sub r3, fp, #3536
sub r3, r3, #4
sub r3, r3, #4
sub r1, fp, #48
mov r2, r3
bl bookseat
ldr r0, .L27+68
bl puts
b .L6
.L15:
ldr r0, .L27+72
bl puts
b .L6
.L9:
ldr r3, [fp, #-3564]
cmp r3, #3
bne .L16
ldr r0, .L27+76
bl printf
sub r3, fp, #3552
sub r3, r3, #4
mov r1, r3
ldr r0, .L27+36
bl __isoc99_scanf
ldr r3, [fp, #-3556]
cmp r3, #1
beq .L17
ldr r3, [fp, #-3556]
cmp r3, #2
bne .L18
.L17:
ldr r1, [fp, #-3568]
ldr r2, [fp, #-3556]
sub r3, fp, #3488
sub r3, r3, #4
sub r3, r3, #12
mov r0, r3
bl searchbookseat
b .L6
.L18:
ldr r0, .L27+80
bl puts
b .L6
.L16:
ldr r3, [fp, #-3564]
cmp r3, #4
bne .L20
ldr r0, .L27+84
bl printf
sub r3, fp, #3552
sub r3, r3, #4
sub r3, r3, #4
mov r1, r3
ldr r0, .L27+36
bl __isoc99_scanf
ldr r3, [fp, #-3560]
cmp r3, #0
ble .L21
ldr r2, [fp, #-3560]
ldr r3, [fp, #-3568]
cmp r2, r3
ble .L22
.L21:
ldr r3, [fp, #-3568]
mov r1, r3
ldr r0, .L27+88
bl printf
b .L6
.L22:
ldr r3, [fp, #-3560]
sub r2, r3, #1
sub r3, fp, #3488
sub r3, r3, #4
sub r3, r3, #12
lsl r2, r2, #6
add r3, r3, r2
mov r0, r3
bl cancelbook
ldr r0, .L27+92
bl puts
b .L6
.L20:
ldr r3, [fp, #-3564]
cmp r3, #5
bne .L24
ldr r2, [fp, #-3568]
sub r3, fp, #3488
sub r3, r3, #4
sub r3, r3, #12
mov r1, r2
mov r0, r3
bl showbookseats
b .L6
.L24:
ldr r0, .L27+96
bl puts
.L6:
ldr r3, [fp, #-3564]
cmp r3, #0
bne .L25
mov r0, #1
bl exit
.L28:
.align 2
.L27:
.word .LC24
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.word .LC5
.word .LC6
.word .LC7
.word .LC8
.word .LC9
.word .LC10
.word .LC11
.word .LC12
.word .LC13
.word .LC14
.word .LC15
.word .LC16
.word .LC17
.word .LC18
.word .LC19
.word .LC20
.word .LC21
.word .LC22
.word .LC23
.size main, .-main
.section .rodata
.align 2
.LC25:
.ascii "r\000"
.align 2
.LC26:
.ascii "bus.txt\000"
.align 2
.LC27:
.ascii "The file is not open properly or not found\000"
.align 2
.LC28:
.ascii "%s\000"
.align 2
.LC29:
.ascii "%d\000"
.align 2
.LC30:
.ascii "The plate number of the bus is %s\012\000"
.align 2
.LC31:
.ascii "The bus has %d seats\012\000"
.align 2
.LC32:
.ascii "%s %s %d %s\000"
.align 2
.LC33:
.word __stack_chk_guard
.text
.align 2
.global openfile
.syntax unified
.arm
.fpu softvfp
.type openfile, %function
openfile:
@ args = 0, pretend = 0, frame = 168
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #180
str r0, [fp, #-168]
str r1, [fp, #-172]
str r2, [fp, #-176]
ldr r3, .L36
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
ldr r1, .L36+4
ldr r0, .L36+8
bl fopen
str r0, [fp, #-156]
ldr r3, [fp, #-156]
cmp r3, #0
bne .L30
ldr r0, .L36+12
bl puts
mvn r0, #0
bl exit
.L30:
ldr r2, [fp, #-176]
ldr r1, .L36+16
ldr r0, [fp, #-156]
bl __isoc99_fscanf
ldr r2, [fp, #-172]
ldr r1, .L36+20
ldr r0, [fp, #-156]
bl __isoc99_fscanf
ldr r1, [fp, #-176]
ldr r0, .L36+24
bl printf
ldr r3, [fp, #-172]
ldr r3, [r3]
mov r1, r3
ldr r0, .L36+28
bl printf
b .L31
.L34:
ldr r3, [fp, #-164]
sub r3, r3, #-67108863
lsl r3, r3, #6
ldr r2, [fp, #-168]
add r3, r2, r3
mov r2, r3
sub r3, fp, #56
mov r1, r3
mov r0, r2
bl strcpy
ldr r3, [fp, #-164]
sub r3, r3, #-67108863
lsl r3, r3, #6
ldr r2, [fp, #-168]
add r3, r2, r3
mov r4, r3
mov r0, r4
bl strlen
mov r3, r0
add r3, r4, r3
ldr r2, .L36+32
mov r0, r3
mov r1, r2
mov r3, #2
mov r2, r3
bl memcpy
ldr r3, [fp, #-164]
sub r3, r3, #-67108863
lsl r3, r3, #6
ldr r2, [fp, #-168]
add r3, r2, r3
mov r2, r3
sub r3, fp, #96
mov r1, r3
mov r0, r2
bl strcat
ldr r1, [fp, #-164]
ldr r3, [fp, #-164]
sub r3, r3, #-67108863
lsl r3, r3, #6
ldr r2, [fp, #-168]
add r3, r2, r3
mov r2, r1
str r2, [r3, #60]
mov r3, #0
str r3, [fp, #-160]
b .L32
.L33:
sub r2, fp, #112
ldr r3, [fp, #-160]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
lsl r3, r3, #16
lsr r3, r3, #16
ldr r2, [fp, #-164]
sub r2, r2, #-67108863
lsl r2, r2, #6
ldr r1, [fp, #-168]
add r1, r1, r2
sub r3, r3, #48
lsl r3, r3, #16
lsr r2, r3, #16
ldr r3, [fp, #-160]
add r3, r3, #20
lsl r3, r3, #1
add r3, r1, r3
strh r2, [r3] @ movhi
ldr r3, [fp, #-160]
add r3, r3, #1
str r3, [fp, #-160]
.L32:
ldr r3, [fp, #-160]
cmp r3, #9
ble .L33
.L31:
sub r1, fp, #96
sub r2, fp, #56
sub r3, fp, #112
str r3, [sp, #4]
sub r3, fp, #164
str r3, [sp]
mov r3, r1
ldr r1, .L36+36
ldr r0, [fp, #-156]
bl __isoc99_fscanf
mov r3, r0
cmn r3, #1
bne .L34
ldr r0, [fp, #-156]
bl fclose
nop
ldr r3, .L36
ldr r2, [r3]
ldr r3, [fp, #-16]
eors r2, r3, r2
mov r3, #0
beq .L35
bl __stack_chk_fail
.L35:
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L37:
.align 2
.L36:
.word .LC33
.word .LC25
.word .LC26
.word .LC27
.word .LC28
.word .LC29
.word .LC30
.word .LC31
.word .LC13
.word .LC32
.size openfile, .-openfile
.section .rodata
.align 2
.LC34:
.ascii "Empty seats are: \000"
.align 2
.LC35:
.ascii "%d \000"
.align 2
.LC36:
.ascii "\012Total empty seats are %d\012\000"
.text
.align 2
.global showemptyseats
.syntax unified
.arm
.fpu softvfp
.type showemptyseats, %function
showemptyseats:
@ 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]
mov r3, #0
str r3, [fp, #-8]
ldr r0, .L42
bl printf
mov r3, #0
str r3, [fp, #-12]
b .L39
.L41:
ldr r3, [fp, #-12]
lsl r3, r3, #6
ldr r2, [fp, #-16]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L40
ldr r3, [fp, #-12]
lsl r3, r3, #6
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r3, [r3, #60]
mov r1, r3
ldr r0, .L42+4
bl printf
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L40:
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L39:
ldr r2, [fp, #-12]
ldr r3, [fp, #-20]
cmp r2, r3
blt .L41
ldr r1, [fp, #-8]
ldr r0, .L42+8
bl printf
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L43:
.align 2
.L42:
.word .LC34
.word .LC35
.word .LC36
.size showemptyseats, .-showemptyseats
.align 2
.global bookseat
.syntax unified
.arm
.fpu softvfp
.type bookseat, %function
bookseat:
@ 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, #-16]
ldr r1, [fp, #-20]
mov r0, r3
bl strcpy
mov r3, #0
str r3, [fp, #-8]
b .L45
.L46:
ldr r3, [fp, #-8]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r3, r2, r3
ldr r3, [r3]
lsl r3, r3, #16
lsr r2, r3, #16
ldr r1, [fp, #-16]
ldr r3, [fp, #-8]
add r3, r3, #20
lsl r3, r3, #1
add r3, r1, r3
strh r2, [r3] @ movhi
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L45:
ldr r3, [fp, #-8]
cmp r3, #9
ble .L46
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size bookseat, .-bookseat
.section .rodata
.align 2
.LC37:
.ascii " Please give a lastname: \000"
.align 2
.LC38:
.ascii "Please give a firstname: \000"
.align 2
.LC39:
.ascii "Seat %d is already booked by name %s\012\000"
.align 2
.LC40:
.ascii "Name %s has not booked a seat\012\000"
.align 2
.LC41:
.ascii "Please give a telephone: \000"
.align 2
.LC42:
.word __stack_chk_guard
.text
.align 2
.global searchbookseat
.syntax unified
.arm
.fpu softvfp
.type searchbookseat, %function
searchbookseat:
@ args = 0, pretend = 0, frame = 152
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #152
str r0, [fp, #-144]
str r1, [fp, #-148]
str r2, [fp, #-152]
ldr r3, .L64
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, [fp, #-152]
cmp r3, #1
bne .L48
ldr r0, .L64+4
bl printf
sub r3, fp, #88
mov r1, r3
ldr r0, .L64+8
bl __isoc99_scanf
ldr r0, .L64+12
bl printf
sub r3, fp, #48
mov r1, r3
ldr r0, .L64+8
bl __isoc99_scanf
sub r3, fp, #88
mov r0, r3
bl strlen
mov r3, r0
mov r2, r3
sub r3, fp, #88
add r3, r3, r2
ldr r2, .L64+16
mov r0, r3
mov r1, r2
mov r3, #2
mov r2, r3
bl memcpy
sub r2, fp, #48
sub r3, fp, #88
mov r1, r2
mov r0, r3
bl strcat
mov r3, #0
str r3, [fp, #-140]
b .L49
.L52:
ldr r3, [fp, #-140]
lsl r3, r3, #6
ldr r2, [fp, #-144]
add r3, r2, r3
mov r2, r3
sub r3, fp, #88
mov r1, r3
mov r0, r2
bl strcmp
mov r3, r0
cmp r3, #0
bne .L50
ldr r3, [fp, #-140]
add r3, r3, #1
sub r2, fp, #88
mov r1, r3
ldr r0, .L64+20
bl printf
b .L47
.L50:
ldr r3, [fp, #-140]
add r3, r3, #1
str r3, [fp, #-140]
.L49:
ldr r2, [fp, #-140]
ldr r3, [fp, #-148]
cmp r2, r3
blt .L52
ldr r0, .L64+24
bl printf
b .L47
.L48:
ldr r3, [fp, #-152]
cmp r3, #2
bne .L47
ldr r0, .L64+28
bl printf
sub r3, fp, #48
mov r1, r3
ldr r0, .L64+32
bl __isoc99_scanf
mov r3, #0
str r3, [fp, #-140]
b .L54
.L55:
sub r2, fp, #48
ldr r3, [fp, #-140]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
sub r2, r3, #48
ldr r3, [fp, #-140]
lsl r3, r3, #2
sub r1, fp, #4
add r3, r1, r3
str r2, [r3, #-124]
ldr r3, [fp, #-140]
add r3, r3, #1
str r3, [fp, #-140]
.L54:
ldr r3, [fp, #-140]
cmp r3, #9
ble .L55
mov r3, #0
str r3, [fp, #-140]
b .L56
.L61:
mov r3, #0
str r3, [fp, #-132]
mov r3, #0
str r3, [fp, #-136]
b .L57
.L59:
ldr r3, [fp, #-136]
lsl r3, r3, #2
sub r2, fp, #4
add r3, r2, r3
ldr r3, [r3, #-124]
ldr r2, [fp, #-140]
lsl r2, r2, #6
ldr r1, [fp, #-144]
add r1, r1, r2
ldr r2, [fp, #-136]
add r2, r2, #20
lsl r2, r2, #1
add r2, r1, r2
ldrh r2, [r2]
cmp r3, r2
bne .L58
ldr r3, [fp, #-132]
add r3, r3, #1
str r3, [fp, #-132]
.L58:
ldr r3, [fp, #-136]
add r3, r3, #1
str r3, [fp, #-136]
.L57:
ldr r3, [fp, #-136]
cmp r3, #9
ble .L59
ldr r3, [fp, #-132]
cmp r3, #10
bne .L60
ldr r3, [fp, #-140]
add r1, r3, #1
ldr r3, [fp, #-140]
lsl r3, r3, #6
ldr r2, [fp, #-144]
add r3, r2, r3
mov r2, r3
ldr r0, .L64+20
bl printf
b .L47
.L60:
ldr r3, [fp, #-140]
add r3, r3, #1
str r3, [fp, #-140]
.L56:
ldr r2, [fp, #-140]
ldr r3, [fp, #-148]
cmp r2, r3
blt .L61
ldr r0, .L64+24
bl printf
.L47:
ldr r3, .L64
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L63
bl __stack_chk_fail
.L63:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L65:
.align 2
.L64:
.word .LC42
.word .LC37
.word .LC10
.word .LC38
.word .LC13
.word .LC39
.word .LC40
.word .LC41
.word .LC28
.size searchbookseat, .-searchbookseat
.align 2
.global cancelbook
.syntax unified
.arm
.fpu softvfp
.type cancelbook, %function
cancelbook:
@ 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]
mov r2, #0
strb r2, [r3]
mov r3, #0
str r3, [fp, #-8]
b .L67
.L68:
ldr r2, [fp, #-16]
ldr r3, [fp, #-8]
add r3, r3, #20
lsl r3, r3, #1
add r3, r2, r3
mov r2, #0
strh r2, [r3] @ movhi
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L67:
ldr r3, [fp, #-8]
cmp r3, #9
ble .L68
nop
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size cancelbook, .-cancelbook
.section .rodata
.align 2
.LC43:
.ascii "Booked seats are: \000"
.align 2
.LC44:
.ascii "%s \000"
.align 2
.LC45:
.ascii " %d\012\000"
.text
.align 2
.global showbookseats
.syntax unified
.arm
.fpu softvfp
.type showbookseats, %function
showbookseats:
@ 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 r0, .L75
bl puts
mov r3, #0
str r3, [fp, #-12]
b .L70
.L74:
ldr r3, [fp, #-12]
lsl r3, r3, #6
ldr r2, [fp, #-16]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
beq .L71
ldr r3, [fp, #-12]
lsl r3, r3, #6
ldr r2, [fp, #-16]
add r3, r2, r3
mov r1, r3
ldr r0, .L75+4
bl printf
mov r3, #0
str r3, [fp, #-8]
b .L72
.L73:
ldr r3, [fp, #-12]
lsl r3, r3, #6
ldr r2, [fp, #-16]
add r2, r2, r3
ldr r3, [fp, #-8]
add r3, r3, #20
lsl r3, r3, #1
add r3, r2, r3
ldrh r3, [r3]
mov r1, r3
ldr r0, .L75+8
bl printf
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L72:
ldr r3, [fp, #-8]
cmp r3, #9
ble .L73
ldr r3, [fp, #-12]
lsl r3, r3, #6
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r3, [r3, #60]
mov r1, r3
ldr r0, .L75+12
bl printf
.L71:
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L70:
ldr r2, [fp, #-12]
ldr r3, [fp, #-20]
cmp r2, r3
blt .L74
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L76:
.align 2
.L75:
.word .LC43
.word .LC44
.word .LC29
.word .LC45
.size showbookseats, .-showbookseats
.section .rodata
.align 2
.LC46:
.ascii "w\000"
.align 2
.LC47:
.ascii "%s\012\000"
.align 2
.LC48:
.ascii "%d\012\000"
.align 2
.LC49:
.ascii "%s %d \000"
.text
.align 2
.global savefile
.syntax unified
.arm
.fpu softvfp
.type savefile, %function
savefile:
@ 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]
ldr r1, .L84
ldr r0, .L84+4
bl fopen
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
bne .L78
ldr r0, .L84+8
bl puts
mvn r0, #0
bl exit
.L78:
ldr r2, [fp, #-32]
ldr r1, .L84+12
ldr r0, [fp, #-8]
bl fprintf
ldr r2, [fp, #-28]
ldr r1, .L84+16
ldr r0, [fp, #-8]
bl fprintf
mov r3, #0
str r3, [fp, #-16]
b .L79
.L83:
ldr r3, [fp, #-16]
lsl r3, r3, #6
ldr r2, [fp, #-24]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
beq .L80
ldr r3, [fp, #-16]
lsl r3, r3, #6
ldr r2, [fp, #-24]
add r3, r2, r3
mov r1, r3
ldr r3, [fp, #-16]
lsl r3, r3, #6
ldr r2, [fp, #-24]
add r3, r2, r3
ldr r3, [r3, #60]
mov r2, r1
ldr r1, .L84+20
ldr r0, [fp, #-8]
bl fprintf
mov r3, #0
str r3, [fp, #-12]
b .L81
.L82:
ldr r3, [fp, #-16]
lsl r3, r3, #6
ldr r2, [fp, #-24]
add r2, r2, r3
ldr r3, [fp, #-12]
add r3, r3, #20
lsl r3, r3, #1
add r3, r2, r3
ldrh r3, [r3]
mov r2, r3
ldr r1, .L84+24
ldr r0, [fp, #-8]
bl fprintf
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L81:
ldr r3, [fp, #-12]
cmp r3, #9
ble .L82
ldr r1, [fp, #-8]
mov r0, #10
bl fputc
.L80:
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L79:
ldr r2, [fp, #-16]
ldr r3, [fp, #-28]
cmp r2, r3
blt .L83
ldr r0, [fp, #-8]
bl fclose
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L85:
.align 2
.L84:
.word .LC46
.word .LC26
.word .LC27
.word .LC47
.word .LC48
.word .LC49
.word .LC29
.size savefile, .-savefile
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "188160.c"
.intel_syntax noprefix
.text
.globl remove
.type remove, @function
remove:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
mov eax, 0
call _unlink@PLT
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size remove, .-remove
.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 "188160.c"
.text
.align 2
.global remove
.syntax unified
.arm
.fpu softvfp
.type remove, %function
remove:
@ 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 _unlink
mov r3, r0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size remove, .-remove
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "221601.c"
.intel_syntax noprefix
.text
.globl status_weapon_2_Sprite
.section .rodata
.align 4
.type status_weapon_2_Sprite, @object
.size status_weapon_2_Sprite, 512
status_weapon_2_Sprite:
.ascii "+,,+,-+,,/00/1/0+/00/1/0,/00/1/0,/00/1/0+/00/1/0,/00/1/0.3.3"
.ascii "2..3++--+,-.0/1/00/20/1/00/.0/1/00/.0/1/00/30/1/00/30/1/00/3"
.ascii "33.3....+,,+,-+,,45541/0+45541/0,65561/0,67761/0+87781/0,877"
.ascii "81/0.3.32..3++--+,-.0/1/00/20/1/00/.0/1/00/.0/1/00/30/1/00/3"
.ascii "0/1/00/333.3....+,,+,-+,,9::919:+9::919:,;::;1;:,;<<;1;<+=<<"
.ascii "=1=<,=<<=1=<.3.32..3++--+,-.:91/00/2:91/00/.:;1/00/.<;1/00/3"
.ascii "<=1/00/3<=1/00/333.3....+,,+,-+,,>??>1>?+>??>1>?,@??@1@?,@AA"
.ascii "@1@A+BAAB1BA,BAAB1BA.3.32..3++--+,-.?>1>??>2?>1>??>.?@1@??@."
.ascii "A@1@[email protected]...."
.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 "221601.c"
.text
.global status_weapon_2_Sprite
.section .rodata
.align 2
.type status_weapon_2_Sprite, %object
.size status_weapon_2_Sprite, 512
status_weapon_2_Sprite:
.ascii "+,,+,-+,,/00/1/0+/00/1/0,/00/1/0,/00/1/0+/00/1/0,/0"
.ascii "0/1/0.3.32..3++--+,-.0/1/00/20/1/00/.0/1/00/.0/1/00"
.ascii "/30/1/00/30/1/00/333.3....+,,+,-+,,45541/0+45541/0,"
.ascii "65561/0,67761/0+87781/0,87781/0.3.32..3++--+,-.0/1/"
.ascii "00/20/1/00/.0/1/00/.0/1/00/30/1/00/30/1/00/333.3..."
.ascii ".+,,+,-+,,9::919:+9::919:,;::;1;:,;<<;1;<+=<<=1=<,="
.ascii "<<=1=<.3.32..3++--+,-.:91/00/2:91/00/.:;1/00/.<;1/0"
.ascii "0/3<=1/00/3<=1/00/333.3....+,,+,-+,,>??>1>?+>??>1>?"
.ascii ",@??@1@?,@AA@1@A+BAAB1BA,BAAB1BA.3.32..3++--+,-.?>1"
.ascii ">??>2?>1>??>.?@1@[email protected]@1@[email protected].."
.ascii ".."
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "697731.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 "697731.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "746408.c"
.intel_syntax noprefix
.text
.globl primo
.type primo, @function
primo:
.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 QWORD PTR -40[rbp], rdi
mov rax, QWORD PTR -40[rbp]
and eax, 1
test rax, rax
jne .L2
cmp QWORD PTR -40[rbp], 2
jne .L3
.L2:
mov eax, 1
jmp .L4
.L3:
mov eax, 0
.L4:
mov DWORD PTR -20[rbp], eax
cmp DWORD PTR -20[rbp], 0
je .L5
mov rax, QWORD PTR -40[rbp]
test rax, rax
js .L6
pxor xmm2, xmm2
cvtsi2sd xmm2, rax
movq rax, xmm2
jmp .L7
.L6:
mov rdx, rax
shr rdx
and eax, 1
or rdx, rax
pxor xmm0, xmm0
cvtsi2sd xmm0, rdx
addsd xmm0, xmm0
movq rax, xmm0
.L7:
movq xmm0, rax
call sqrt@PLT
comisd xmm0, QWORD PTR .LC0[rip]
jnb .L8
cvttsd2si rax, xmm0
mov QWORD PTR -8[rbp], rax
jmp .L9
.L8:
movsd xmm1, QWORD PTR .LC0[rip]
subsd xmm0, xmm1
cvttsd2si rax, xmm0
mov QWORD PTR -8[rbp], rax
movabs rax, -9223372036854775808
xor QWORD PTR -8[rbp], rax
.L9:
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR -8[rbp], rax
mov QWORD PTR -16[rbp], 3
jmp .L10
.L12:
mov rax, QWORD PTR -40[rbp]
mov edx, 0
div QWORD PTR -16[rbp]
mov rax, rdx
test rax, rax
jne .L11
mov DWORD PTR -20[rbp], 0
.L11:
add QWORD PTR -16[rbp], 2
.L10:
cmp DWORD PTR -20[rbp], 0
je .L5
mov rax, QWORD PTR -16[rbp]
cmp rax, QWORD PTR -8[rbp]
jbe .L12
.L5:
mov eax, DWORD PTR -20[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size primo, .-primo
.section .rodata
.align 8
.LC1:
.string "El mayor primo que cabe en %d bytes es %llu.\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
sub rsp, 16
mov QWORD PTR -8[rbp], -1
jmp .L15
.L16:
sub QWORD PTR -8[rbp], 2
.L15:
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call primo
test eax, eax
je .L16
mov rax, QWORD PTR -8[rbp]
mov rdx, rax
mov esi, 8
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size main, .-main
.section .rodata
.align 8
.LC0:
.long 0
.long 1138753536
.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 "746408.c"
.text
.global __aeabi_ul2d
.global __aeabi_d2ulz
.global __aeabi_uldivmod
.align 2
.global primo
.syntax unified
.arm
.fpu softvfp
.type primo, %function
primo:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, r6, r7, fp, lr}
add fp, sp, #20
sub sp, sp, #32
str r0, [fp, #-52]
str r1, [fp, #-48]
sub r1, fp, #52
ldmia r1, {r0-r1}
mov r6, #1
mov r7, #0
and r2, r0, r6
and r3, r1, r7
orrs r3, r2, r3
bne .L2
sub r3, fp, #52
ldmia r3, {r2-r3}
cmp r3, #0
cmpeq r2, #2
bne .L3
.L2:
mov r3, #1
b .L4
.L3:
mov r3, #0
.L4:
str r3, [fp, #-40]
ldr r3, [fp, #-40]
cmp r3, #0
beq .L5
sub r1, fp, #52
ldmia r1, {r0-r1}
bl __aeabi_ul2d
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_d2ulz
mov r2, r0
mov r3, r1
str r2, [fp, #-28]
str r3, [fp, #-24]
mov r2, #3
mov r3, #0
str r2, [fp, #-36]
str r3, [fp, #-32]
b .L6
.L8:
sub r1, fp, #52
ldmia r1, {r0-r1}
sub r3, fp, #36
ldmia r3, {r2-r3}
bl __aeabi_uldivmod
orrs r3, r2, r3
bne .L7
mov r3, #0
str r3, [fp, #-40]
.L7:
sub r3, fp, #36
ldmia r3, {r2-r3}
adds r4, r2, #2
adc r5, r3, #0
str r4, [fp, #-36]
str r5, [fp, #-32]
.L6:
ldr r3, [fp, #-40]
cmp r3, #0
beq .L5
sub r1, fp, #36
ldmia r1, {r0-r1}
sub r3, fp, #28
ldmia r3, {r2-r3}
cmp r1, r3
cmpeq r0, r2
bls .L8
.L5:
ldr r3, [fp, #-40]
mov r0, r3
sub sp, fp, #20
@ sp needed
pop {r4, r5, r6, r7, fp, pc}
.size primo, .-primo
.section .rodata
.align 2
.LC0:
.ascii "El mayor primo que cabe en %d bytes es %llu.\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 {r4, r5, fp, lr}
add fp, sp, #12
sub sp, sp, #8
mvn r2, #0
mvn r3, #0
str r2, [fp, #-20]
str r3, [fp, #-16]
b .L11
.L12:
sub r3, fp, #20
ldmia r3, {r2-r3}
subs r4, r2, #2
sbc r5, r3, #0
str r4, [fp, #-20]
str r5, [fp, #-16]
.L11:
sub r1, fp, #20
ldmia r1, {r0-r1}
bl primo
mov r3, r0
cmp r3, #0
beq .L12
sub r3, fp, #20
ldmia r3, {r2-r3}
mov r1, #8
ldr r0, .L14
bl printf
mov r3, #0
mov r0, r3
sub sp, fp, #12
@ sp needed
pop {r4, r5, fp, pc}
.L15:
.align 2
.L14:
.word .LC0
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "520294.c"
.intel_syntax noprefix
.text
.globl shm_create
.type shm_create, @function
shm_create:
.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 DWORD PTR -28[rbp], esi
mov DWORD PTR -32[rbp], edx
mov DWORD PTR -36[rbp], ecx
mov DWORD PTR -40[rbp], r8d
mov edx, DWORD PTR -36[rbp]
mov ecx, DWORD PTR -32[rbp]
mov rax, QWORD PTR -24[rbp]
mov esi, ecx
mov rdi, rax
call shm_open@PLT
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], 0
jle .L2
mov eax, DWORD PTR -28[rbp]
movsx rdx, eax
mov eax, DWORD PTR -4[rbp]
mov rsi, rdx
mov edi, eax
call ftruncate@PLT
mov eax, DWORD PTR -28[rbp]
cdqe
mov ecx, DWORD PTR -4[rbp]
mov edx, DWORD PTR -40[rbp]
mov r9d, 0
mov r8d, ecx
mov ecx, 1
mov rsi, rax
mov edi, 0
call mmap@PLT
jmp .L1
.L2:
.L1:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size shm_create, .-shm_create
.section .rodata
.LC0:
.string "%s"
.text
.globl sm_WriteString
.type sm_WriteString, @function
sm_WriteString:
.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 QWORD PTR -16[rbp], rsi
mov rdx, QWORD PTR -16[rbp]
mov rax, QWORD PTR -8[rbp]
lea rsi, .LC0[rip]
mov rdi, rax
mov eax, 0
call sprintf@PLT
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call strlen@PLT
mov rdx, QWORD PTR -8[rbp]
add rax, rdx
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size sm_WriteString, .-sm_WriteString
.section .rodata
.LC1:
.string "OS"
.LC2:
.string "Hello"
.LC3:
.string "World!\n"
.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, 32
mov DWORD PTR -20[rbp], 4096
mov eax, DWORD PTR -20[rbp]
mov r8d, 3
mov ecx, 438
mov edx, 66
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call sm_create@PLT
cdqe
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -16[rbp]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
lea rsi, .LC2[rip]
mov rdi, rax
call sm_WriteString
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
lea rsi, .LC3[rip]
mov rdi, rax
call sm_WriteString
mov QWORD PTR -8[rbp], rax
mov eax, 0
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 "520294.c"
.text
.align 2
.global shm_create
.syntax unified
.arm
.fpu softvfp
.type shm_create, %function
shm_create:
@ args = 4, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #32
str r0, [fp, #-16]
str r1, [fp, #-20]
str r2, [fp, #-24]
str r3, [fp, #-28]
ldr r2, [fp, #-28]
ldr r1, [fp, #-24]
ldr r0, [fp, #-16]
bl shm_open
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
ble .L2
ldr r1, [fp, #-20]
ldr r0, [fp, #-8]
bl ftruncate
ldr r1, [fp, #-20]
mov r3, #0
str r3, [sp, #4]
ldr r3, [fp, #-8]
str r3, [sp]
mov r3, #1
ldr r2, [fp, #4]
mov r0, #0
bl mmap
mov r3, r0
b .L1
.L2:
.L1:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size shm_create, .-shm_create
.section .rodata
.align 2
.LC0:
.ascii "%s\000"
.text
.align 2
.global sm_WriteString
.syntax unified
.arm
.fpu softvfp
.type sm_WriteString, %function
sm_WriteString:
@ 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, #-12]
ldr r1, .L6
ldr r0, [fp, #-8]
bl sprintf
ldr r0, [fp, #-12]
bl strlen
mov r2, r0
ldr r3, [fp, #-8]
add r3, r3, r2
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L7:
.align 2
.L6:
.word .LC0
.size sm_WriteString, .-sm_WriteString
.section .rodata
.align 2
.LC1:
.ascii "OS\000"
.align 2
.LC2:
.ascii "Hello\000"
.align 2
.LC3:
.ascii "World!\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, #24
mov r3, #4096
str r3, [fp, #-16]
mov r3, #3
str r3, [sp]
ldr r3, .L10
mov r2, #66
ldr r1, [fp, #-16]
ldr r0, .L10+4
bl sm_create
mov r3, r0
str r3, [fp, #-12]
ldr r3, [fp, #-12]
str r3, [fp, #-8]
ldr r1, .L10+8
ldr r0, [fp, #-8]
bl sm_WriteString
str r0, [fp, #-8]
ldr r1, .L10+12
ldr r0, [fp, #-8]
bl sm_WriteString
str r0, [fp, #-8]
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L11:
.align 2
.L10:
.word 438
.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 "806072.c"
.intel_syntax noprefix
.text
.globl cache
.bss
.align 32
.type cache, @object
.size cache, 1048576
cache:
.zero 1048576
.text
.globl top_down
.type top_down, @function
top_down:
.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
mov DWORD PTR -24[rbp], esi
mov DWORD PTR -28[rbp], edx
mov BYTE PTR -9[rbp], 1
mov eax, DWORD PTR -20[rbp]
cdqe
lea rdx, cache[rip]
movzx eax, BYTE PTR [rax+rdx]
test al, al
jle .L2
mov eax, DWORD PTR -20[rbp]
cdqe
lea rdx, cache[rip]
movzx eax, BYTE PTR [rax+rdx]
sub eax, 1
jmp .L3
.L2:
mov DWORD PTR -8[rbp], 0
jmp .L4
.L6:
mov eax, DWORD PTR -8[rbp]
mov edx, DWORD PTR -20[rbp]
mov ecx, eax
sar edx, cl
mov eax, edx
and eax, 1
test eax, eax
jne .L5
mov eax, DWORD PTR -8[rbp]
add eax, 1
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -24[rbp]
jl .L5
mov eax, DWORD PTR -20[rbp]
cdqe
lea rdx, cache[rip]
mov BYTE PTR [rax+rdx], 2
mov eax, 1
jmp .L3
.L5:
add DWORD PTR -8[rbp], 1
.L4:
mov eax, DWORD PTR -8[rbp]
cmp eax, DWORD PTR -28[rbp]
jl .L6
mov DWORD PTR -8[rbp], 0
jmp .L7
.L10:
mov eax, DWORD PTR -8[rbp]
mov edx, DWORD PTR -20[rbp]
mov ecx, eax
sar edx, cl
mov eax, edx
and eax, 1
test eax, eax
jne .L8
mov eax, DWORD PTR -8[rbp]
lea edx, 1[rax]
mov eax, DWORD PTR -24[rbp]
sub eax, edx
mov esi, eax
mov eax, DWORD PTR -8[rbp]
mov edx, 1
mov ecx, eax
sal edx, cl
mov eax, edx
or eax, DWORD PTR -20[rbp]
mov edx, DWORD PTR -28[rbp]
mov edi, eax
call top_down
test al, al
jne .L8
mov BYTE PTR -9[rbp], 2
jmp .L9
.L8:
add DWORD PTR -8[rbp], 1
.L7:
mov eax, DWORD PTR -8[rbp]
cmp eax, DWORD PTR -28[rbp]
jl .L10
.L9:
mov eax, DWORD PTR -20[rbp]
cdqe
lea rcx, cache[rip]
movzx edx, BYTE PTR -9[rbp]
mov BYTE PTR [rax+rcx], dl
mov eax, DWORD PTR -20[rbp]
cdqe
lea rdx, cache[rip]
movzx eax, BYTE PTR [rax+rdx]
sub eax, 1
.L3:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size top_down, .-top_down
.globl canIWin
.type canIWin, @function
canIWin:
.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, 32
mov DWORD PTR -20[rbp], edi
mov DWORD PTR -24[rbp], esi
mov edx, 1048576
mov esi, 0
lea rdi, cache[rip]
call memset@PLT
mov DWORD PTR -4[rbp], 0
mov eax, DWORD PTR -20[rbp]
add eax, 1
imul eax, DWORD PTR -20[rbp]
mov edx, eax
shr edx, 31
add eax, edx
sar eax
cmp DWORD PTR -24[rbp], eax
jle .L12
mov eax, 0
jmp .L13
.L12:
mov edx, DWORD PTR -20[rbp]
mov eax, DWORD PTR -24[rbp]
mov esi, eax
mov edi, 0
call top_down
.L13:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size canIWin, .-canIWin
.section .rodata
.LC0:
.string "%d "
.LC1:
.string "%d"
.LC2:
.string ""
.text
.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 -8[rbp], 1
jmp .L15
.L18:
mov eax, DWORD PTR -8[rbp]
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR -8[rbp]
add eax, 1
imul eax, DWORD PTR -8[rbp]
mov edx, eax
shr edx, 31
add eax, edx
sar eax
mov DWORD PTR -4[rbp], eax
jmp .L16
.L17:
mov edx, DWORD PTR -4[rbp]
mov eax, DWORD PTR -8[rbp]
mov esi, edx
mov edi, eax
call canIWin
movsx eax, al
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
sub DWORD PTR -4[rbp], 1
.L16:
cmp DWORD PTR -4[rbp], 0
jg .L17
lea rdi, .LC2[rip]
call puts@PLT
add DWORD PTR -8[rbp], 1
.L15:
cmp DWORD PTR -8[rbp], 20
jle .L18
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE2:
.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 "806072.c"
.text
.comm cache,1048576,4
.align 2
.global top_down
.syntax unified
.arm
.fpu softvfp
.type top_down, %function
top_down:
@ 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]
mov r3, #1
strb r3, [fp, #-13]
ldr r2, .L11
ldr r3, [fp, #-24]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
beq .L2
ldr r2, .L11
ldr r3, [fp, #-24]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
sub r3, r3, #1
and r3, r3, #255
b .L3
.L2:
mov r3, #0
str r3, [fp, #-12]
b .L4
.L6:
ldr r2, [fp, #-24]
ldr r3, [fp, #-12]
asr r3, r2, r3
and r3, r3, #1
cmp r3, #0
bne .L5
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-8]
ldr r2, [fp, #-8]
ldr r3, [fp, #-28]
cmp r2, r3
blt .L5
ldr r2, .L11
ldr r3, [fp, #-24]
add r3, r2, r3
mov r2, #2
strb r2, [r3]
mov r3, #1
b .L3
.L5:
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L4:
ldr r2, [fp, #-12]
ldr r3, [fp, #-32]
cmp r2, r3
blt .L6
mov r3, #0
str r3, [fp, #-12]
b .L7
.L10:
ldr r2, [fp, #-24]
ldr r3, [fp, #-12]
asr r3, r2, r3
and r3, r3, #1
cmp r3, #0
bne .L8
mov r2, #1
ldr r3, [fp, #-12]
lsl r2, r2, r3
ldr r3, [fp, #-24]
orr r0, r2, r3
ldr r3, [fp, #-12]
add r3, r3, #1
ldr r2, [fp, #-28]
sub r3, r2, r3
ldr r2, [fp, #-32]
mov r1, r3
bl top_down
mov r3, r0
cmp r3, #0
bne .L8
mov r3, #2
strb r3, [fp, #-13]
b .L9
.L8:
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L7:
ldr r2, [fp, #-12]
ldr r3, [fp, #-32]
cmp r2, r3
blt .L10
.L9:
ldr r2, .L11
ldr r3, [fp, #-24]
add r3, r2, r3
ldrb r2, [fp, #-13]
strb r2, [r3]
ldr r2, .L11
ldr r3, [fp, #-24]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
sub r3, r3, #1
and r3, r3, #255
.L3:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L12:
.align 2
.L11:
.word cache
.size top_down, .-top_down
.align 2
.global canIWin
.syntax unified
.arm
.fpu softvfp
.type canIWin, %function
canIWin:
@ 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]
mov r2, #1048576
mov r1, #0
ldr r0, .L16
bl memset
mov r3, #0
str r3, [fp, #-8]
ldr r3, [fp, #-16]
add r3, r3, #1
ldr r2, [fp, #-16]
mul r3, r2, r3
lsr r2, r3, #31
add r3, r2, r3
asr r3, r3, #1
mov r2, r3
ldr r3, [fp, #-20]
cmp r3, r2
ble .L14
mov r3, #0
b .L15
.L14:
ldr r2, [fp, #-16]
ldr r1, [fp, #-20]
mov r0, #0
bl top_down
mov r3, r0
.L15:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L17:
.align 2
.L16:
.word cache
.size canIWin, .-canIWin
.section .rodata
.align 2
.LC0:
.ascii "%d \000"
.align 2
.LC1:
.ascii "%d\000"
.align 2
.LC2:
.ascii "\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, #1
str r3, [fp, #-12]
b .L19
.L22:
ldr r1, [fp, #-12]
ldr r0, .L24
bl printf
ldr r3, [fp, #-12]
add r3, r3, #1
ldr r2, [fp, #-12]
mul r3, r2, r3
lsr r2, r3, #31
add r3, r2, r3
asr r3, r3, #1
str r3, [fp, #-8]
b .L20
.L21:
ldr r1, [fp, #-8]
ldr r0, [fp, #-12]
bl canIWin
mov r3, r0
mov r1, r3
ldr r0, .L24+4
bl printf
ldr r3, [fp, #-8]
sub r3, r3, #1
str r3, [fp, #-8]
.L20:
ldr r3, [fp, #-8]
cmp r3, #0
bgt .L21
ldr r0, .L24+8
bl puts
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L19:
ldr r3, [fp, #-12]
cmp r3, #20
ble .L22
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L25:
.align 2
.L24:
.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 "652929.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "Digite numero da posicao %d:"
.LC1:
.string "%d"
.LC2:
.string "\nimpares:"
.LC3:
.string "\n%d"
.LC4:
.string "\nPares:"
.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 DWORD PTR -76[rbp], 1
mov DWORD PTR -72[rbp], 1
mov DWORD PTR -68[rbp], 0
jmp .L2
.L5:
mov eax, DWORD PTR -68[rbp]
add eax, 1
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
lea rdx, -48[rbp]
mov eax, DWORD PTR -68[rbp]
cdqe
sal rax, 2
add rax, rdx
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov eax, DWORD PTR -68[rbp]
cdqe
mov eax, DWORD PTR -48[rbp+rax*4]
and eax, 1
test eax, eax
jne .L3
add DWORD PTR -76[rbp], 1
jmp .L4
.L3:
add DWORD PTR -72[rbp], 1
.L4:
add DWORD PTR -68[rbp], 1
.L2:
cmp DWORD PTR -68[rbp], 9
jle .L5
mov eax, DWORD PTR -72[rbp]
cdqe
sal rax, 2
mov rdi, rax
call malloc@PLT
mov QWORD PTR -64[rbp], rax
mov eax, DWORD PTR -76[rbp]
cdqe
sal rax, 2
mov rdi, rax
call malloc@PLT
mov QWORD PTR -56[rbp], rax
mov DWORD PTR -76[rbp], 0
mov DWORD PTR -72[rbp], 0
mov DWORD PTR -68[rbp], 0
jmp .L6
.L9:
mov eax, DWORD PTR -68[rbp]
cdqe
mov eax, DWORD PTR -48[rbp+rax*4]
and eax, 1
test eax, eax
jne .L7
mov eax, DWORD PTR -76[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -56[rbp]
add rdx, rax
mov eax, DWORD PTR -68[rbp]
cdqe
mov eax, DWORD PTR -48[rbp+rax*4]
mov DWORD PTR [rdx], eax
add DWORD PTR -76[rbp], 1
jmp .L8
.L7:
mov eax, DWORD PTR -72[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -64[rbp]
add rdx, rax
mov eax, DWORD PTR -68[rbp]
cdqe
mov eax, DWORD PTR -48[rbp+rax*4]
mov DWORD PTR [rdx], eax
add DWORD PTR -72[rbp], 1
.L8:
add DWORD PTR -68[rbp], 1
.L6:
cmp DWORD PTR -68[rbp], 9
jle .L9
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -68[rbp], 0
jmp .L10
.L11:
mov eax, DWORD PTR -68[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
mov esi, eax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -68[rbp], 1
.L10:
mov eax, DWORD PTR -68[rbp]
cmp eax, DWORD PTR -72[rbp]
jl .L11
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -68[rbp], 0
jmp .L12
.L13:
mov eax, DWORD PTR -68[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -56[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
mov esi, eax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -68[rbp], 1
.L12:
mov eax, DWORD PTR -68[rbp]
cmp eax, DWORD PTR -76[rbp]
jl .L13
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L15
call __stack_chk_fail@PLT
.L15:
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 "652929.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "Digite numero da posicao %d:\000"
.align 2
.LC1:
.ascii "%d\000"
.align 2
.LC2:
.ascii "\012impares:\000"
.align 2
.LC3:
.ascii "\012%d\000"
.align 2
.LC4:
.ascii "\012Pares:\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 = 64
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #64
ldr r3, .L16
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #1
str r3, [fp, #-68]
mov r3, #1
str r3, [fp, #-64]
mov r3, #0
str r3, [fp, #-60]
b .L2
.L5:
ldr r3, [fp, #-60]
add r3, r3, #1
mov r1, r3
ldr r0, .L16+4
bl printf
sub r2, fp, #48
ldr r3, [fp, #-60]
lsl r3, r3, #2
add r3, r2, r3
mov r1, r3
ldr r0, .L16+8
bl __isoc99_scanf
ldr r3, [fp, #-60]
lsl r3, r3, #2
sub r2, fp, #4
add r3, r2, r3
ldr r3, [r3, #-44]
and r3, r3, #1
cmp r3, #0
bne .L3
ldr r3, [fp, #-68]
add r3, r3, #1
str r3, [fp, #-68]
b .L4
.L3:
ldr r3, [fp, #-64]
add r3, r3, #1
str r3, [fp, #-64]
.L4:
ldr r3, [fp, #-60]
add r3, r3, #1
str r3, [fp, #-60]
.L2:
ldr r3, [fp, #-60]
cmp r3, #9
ble .L5
ldr r3, [fp, #-64]
lsl r3, r3, #2
mov r0, r3
bl malloc
mov r3, r0
str r3, [fp, #-56]
ldr r3, [fp, #-68]
lsl r3, r3, #2
mov r0, r3
bl malloc
mov r3, r0
str r3, [fp, #-52]
mov r3, #0
str r3, [fp, #-68]
mov r3, #0
str r3, [fp, #-64]
mov r3, #0
str r3, [fp, #-60]
b .L6
.L9:
ldr r3, [fp, #-60]
lsl r3, r3, #2
sub r2, fp, #4
add r3, r2, r3
ldr r3, [r3, #-44]
and r3, r3, #1
cmp r3, #0
bne .L7
ldr r3, [fp, #-68]
lsl r3, r3, #2
ldr r2, [fp, #-52]
add r2, r2, r3
ldr r3, [fp, #-60]
lsl r3, r3, #2
sub r1, fp, #4
add r3, r1, r3
ldr r3, [r3, #-44]
str r3, [r2]
ldr r3, [fp, #-68]
add r3, r3, #1
str r3, [fp, #-68]
b .L8
.L7:
ldr r3, [fp, #-64]
lsl r3, r3, #2
ldr r2, [fp, #-56]
add r2, r2, r3
ldr r3, [fp, #-60]
lsl r3, r3, #2
sub r1, fp, #4
add r3, r1, r3
ldr r3, [r3, #-44]
str r3, [r2]
ldr r3, [fp, #-64]
add r3, r3, #1
str r3, [fp, #-64]
.L8:
ldr r3, [fp, #-60]
add r3, r3, #1
str r3, [fp, #-60]
.L6:
ldr r3, [fp, #-60]
cmp r3, #9
ble .L9
ldr r0, .L16+12
bl printf
mov r3, #0
str r3, [fp, #-60]
b .L10
.L11:
ldr r3, [fp, #-60]
lsl r3, r3, #2
ldr r2, [fp, #-56]
add r3, r2, r3
ldr r3, [r3]
mov r1, r3
ldr r0, .L16+16
bl printf
ldr r3, [fp, #-60]
add r3, r3, #1
str r3, [fp, #-60]
.L10:
ldr r2, [fp, #-60]
ldr r3, [fp, #-64]
cmp r2, r3
blt .L11
ldr r0, .L16+20
bl printf
mov r3, #0
str r3, [fp, #-60]
b .L12
.L13:
ldr r3, [fp, #-60]
lsl r3, r3, #2
ldr r2, [fp, #-52]
add r3, r2, r3
ldr r3, [r3]
mov r1, r3
ldr r0, .L16+16
bl printf
ldr r3, [fp, #-60]
add r3, r3, #1
str r3, [fp, #-60]
.L12:
ldr r2, [fp, #-60]
ldr r3, [fp, #-68]
cmp r2, r3
blt .L13
mov r3, #0
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 .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 "137933.c"
.intel_syntax noprefix
.text
.globl ord_crescente
.type ord_crescente, @function
ord_crescente:
.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 -20[rbp], edi
mov QWORD PTR -32[rbp], rsi
mov DWORD PTR -12[rbp], 0
jmp .L2
.L7:
mov eax, DWORD PTR -20[rbp]
sub eax, 1
mov DWORD PTR -8[rbp], eax
jmp .L3
.L6:
mov eax, DWORD PTR -8[rbp]
cdqe
sal rax, 2
lea rdx, -4[rax]
mov rax, QWORD PTR -32[rbp]
add rax, rdx
movss xmm0, 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
movss xmm1, DWORD PTR [rax]
comiss xmm0, xmm1
jbe .L4
mov eax, DWORD PTR -8[rbp]
cdqe
sal rax, 2
lea rdx, -4[rax]
mov rax, QWORD PTR -32[rbp]
add rax, rdx
movss xmm0, DWORD PTR [rax]
movss DWORD PTR -4[rbp], xmm0
mov eax, DWORD PTR -8[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -32[rbp]
add rdx, rax
mov eax, DWORD PTR -8[rbp]
cdqe
sal rax, 2
lea rcx, -4[rax]
mov rax, QWORD PTR -32[rbp]
add rax, rcx
movss xmm0, DWORD PTR [rdx]
movss DWORD PTR [rax], xmm0
mov eax, DWORD PTR -8[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -32[rbp]
add rax, rdx
movss xmm0, DWORD PTR -4[rbp]
movss DWORD PTR [rax], xmm0
.L4:
sub DWORD PTR -8[rbp], 1
.L3:
mov eax, DWORD PTR -8[rbp]
cmp eax, DWORD PTR -12[rbp]
jg .L6
add DWORD PTR -12[rbp], 1
.L2:
mov eax, DWORD PTR -20[rbp]
sub eax, 1
cmp DWORD PTR -12[rbp], eax
jl .L7
nop
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size ord_crescente, .-ord_crescente
.section .rodata
.LC0:
.string "Digite o tamanho do vetor: "
.LC1:
.string "%d"
.LC2:
.string "Digite os valores do vetor: "
.LC3:
.string "%f"
.LC4:
.string " %f"
.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 rdi, .LC0[rip]
mov eax, 0
call printf@PLT
lea rax, -28[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 2
mov rdi, rax
call malloc@PLT
mov QWORD PTR -16[rbp], rax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -24[rbp], 0
jmp .L10
.L11:
mov eax, DWORD PTR -24[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
mov rsi, rax
lea rdi, .LC3[rip]
mov eax, 0
call __isoc99_scanf@PLT
add DWORD PTR -24[rbp], 1
.L10:
mov eax, DWORD PTR -28[rbp]
cmp DWORD PTR -24[rbp], eax
jl .L11
mov eax, DWORD PTR -28[rbp]
mov rdx, QWORD PTR -16[rbp]
mov rsi, rdx
mov edi, eax
call ord_crescente
mov DWORD PTR -20[rbp], 0
jmp .L12
.L13:
mov eax, DWORD PTR -20[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
movss xmm0, DWORD PTR [rax]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movq rax, xmm1
movq xmm0, rax
lea rdi, .LC4[rip]
mov eax, 1
call printf@PLT
add DWORD PTR -20[rbp], 1
.L12:
mov eax, DWORD PTR -28[rbp]
cmp DWORD PTR -20[rbp], eax
jl .L13
mov edi, 10
call putchar@PLT
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 .L15
call __stack_chk_fail@PLT
.L15:
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 "137933.c"
.text
.global __aeabi_fcmpgt
.align 2
.global ord_crescente
.syntax unified
.arm
.fpu softvfp
.type ord_crescente, %function
ord_crescente:
@ 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]
mov r3, #0
str r3, [fp, #-16]
b .L2
.L7:
ldr r3, [fp, #-24]
sub r3, r3, #1
str r3, [fp, #-12]
b .L3
.L6:
ldr r3, [fp, #-12]
sub r3, r3, #-1073741823
lsl r3, r3, #2
ldr r2, [fp, #-28]
add r3, r2, r3
ldr r0, [r3] @ float
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-28]
add r3, r2, r3
ldr r3, [r3] @ float
mov r1, r3
bl __aeabi_fcmpgt
mov r3, r0
cmp r3, #0
beq .L4
ldr r3, [fp, #-12]
sub r3, r3, #-1073741823
lsl r3, r3, #2
ldr r2, [fp, #-28]
add r3, r2, r3
ldr r3, [r3] @ float
str r3, [fp, #-8] @ float
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-28]
add r2, r2, r3
ldr r3, [fp, #-12]
sub r3, r3, #-1073741823
lsl r3, r3, #2
ldr r1, [fp, #-28]
add r3, r1, r3
ldr r2, [r2] @ float
str r2, [r3] @ float
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-28]
add r3, r2, r3
ldr r2, [fp, #-8] @ float
str r2, [r3] @ float
.L4:
ldr r3, [fp, #-12]
sub r3, r3, #1
str r3, [fp, #-12]
.L3:
ldr r2, [fp, #-12]
ldr r3, [fp, #-16]
cmp r2, r3
bgt .L6
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L2:
ldr r3, [fp, #-24]
sub r3, r3, #1
ldr r2, [fp, #-16]
cmp r2, r3
blt .L7
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size ord_crescente, .-ord_crescente
.section .rodata
.align 2
.LC0:
.ascii "Digite o tamanho do vetor: \000"
.align 2
.LC1:
.ascii "%d\000"
.align 2
.LC2:
.ascii "Digite os valores do vetor: \000"
.align 2
.LC3:
.ascii "%f\000"
.global __aeabi_f2d
.align 2
.LC4:
.ascii " %f\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, .L16
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r0, .L16+4
bl printf
sub r3, fp, #24
mov r1, r3
ldr r0, .L16+8
bl __isoc99_scanf
ldr r3, [fp, #-24]
lsl r3, r3, #2
mov r0, r3
bl malloc
mov r3, r0
str r3, [fp, #-12]
ldr r0, .L16+12
bl printf
mov r3, #0
str r3, [fp, #-20]
b .L10
.L11:
ldr r3, [fp, #-20]
lsl r3, r3, #2
ldr r2, [fp, #-12]
add r3, r2, r3
mov r1, r3
ldr r0, .L16+16
bl __isoc99_scanf
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L10:
ldr r3, [fp, #-24]
ldr r2, [fp, #-20]
cmp r2, r3
blt .L11
ldr r3, [fp, #-24]
ldr r1, [fp, #-12]
mov r0, r3
bl ord_crescente
mov r3, #0
str r3, [fp, #-16]
b .L12
.L13:
ldr r3, [fp, #-16]
lsl r3, r3, #2
ldr r2, [fp, #-12]
add r3, r2, r3
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, r0
mov r3, r1
ldr r0, .L16+20
bl printf
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L12:
ldr r3, [fp, #-24]
ldr r2, [fp, #-16]
cmp r2, r3
blt .L13
mov r0, #10
bl putchar
ldr r0, [fp, #-12]
bl free
mov r3, #0
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 .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 "230598.c"
.intel_syntax noprefix
.text
.globl signal
.type signal, @function
signal:
.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, 336
mov DWORD PTR -324[rbp], edi
mov QWORD PTR -336[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov rax, QWORD PTR -336[rbp]
mov QWORD PTR -320[rbp], rax
lea rax, -320[rbp]
add rax, 8
mov rdi, rax
call sigemptyset@PLT
mov DWORD PTR -184[rbp], 268435456
lea rdx, -160[rbp]
lea rcx, -320[rbp]
mov eax, DWORD PTR -324[rbp]
mov rsi, rcx
mov edi, eax
call sigaction@PLT
cmp eax, -1
jne .L2
mov rax, -1
jmp .L4
.L2:
mov rax, QWORD PTR -160[rbp]
.L4:
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 signal, .-signal
.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 "230598.c"
.text
.section .rodata
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global signal
.syntax unified
.arm
.fpu softvfp
.type signal, %function
signal:
@ args = 0, pretend = 0, frame = 296
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #296
str r0, [fp, #-296]
str r1, [fp, #-300]
ldr r3, .L6
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, [fp, #-300]
str r3, [fp, #-288]
sub r3, fp, #288
add r3, r3, #4
mov r0, r3
bl sigemptyset
mov r3, #268435456
str r3, [fp, #-156]
sub r2, fp, #148
sub r3, fp, #288
mov r1, r3
ldr r0, [fp, #-296]
bl sigaction
mov r3, r0
cmn r3, #1
bne .L2
mvn r3, #0
b .L4
.L2:
ldr r3, [fp, #-148]
.L4:
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 .LC0
.size signal, .-signal
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "178437.c"
.intel_syntax noprefix
.text
.globl test1
.type test1, @function
test1:
.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 -4[rbp], 0
jmp .L2
.L3:
add DWORD PTR -4[rbp], 1
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -24[rbp], rax
.L2:
cmp QWORD PTR -24[rbp], 0
jne .L3
mov eax, DWORD PTR -4[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size test1, .-test1
.globl test2
.type test2, @function
test2:
.LFB1:
.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 -4[rbp], 0
jmp .L6
.L7:
mov eax, DWORD PTR -4[rbp]
lea edx, 1[rax]
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 -4[rbp], eax
mov ecx, DWORD PTR -4[rbp]
mov eax, ecx
sal eax, 2
add eax, ecx
add eax, eax
sub edx, eax
mov DWORD PTR -4[rbp], edx
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -24[rbp], rax
.L6:
cmp QWORD PTR -24[rbp], 0
jne .L7
mov eax, DWORD PTR -4[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size test2, .-test2
.globl test3
.type test3, @function
test3:
.LFB2:
.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 -4[rbp], 0
jmp .L10
.L11:
add DWORD PTR -4[rbp], 1
mov edx, DWORD PTR -4[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 -4[rbp], edx
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -24[rbp], rax
.L10:
cmp QWORD PTR -24[rbp], 0
jne .L11
mov eax, DWORD PTR -4[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE2:
.size test3, .-test3
.globl test4
.type test4, @function
test4:
.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 -8[rbp], 0
mov DWORD PTR -4[rbp], 0
mov DWORD PTR -8[rbp], 0
jmp .L14
.L15:
mov eax, DWORD PTR -8[rbp]
add DWORD PTR -4[rbp], eax
add DWORD PTR -8[rbp], 1
.L14:
cmp DWORD PTR -8[rbp], 1
jle .L15
mov edx, DWORD PTR -4[rbp]
mov eax, DWORD PTR -8[rbp]
add eax, edx
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE3:
.size test4, .-test4
.globl test5
.type test5, @function
test5:
.LFB4:
.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
mov DWORD PTR -4[rbp], 0
mov DWORD PTR -8[rbp], 0
jmp .L18
.L19:
mov eax, DWORD PTR -8[rbp]
add DWORD PTR -4[rbp], eax
add DWORD PTR -8[rbp], 1
.L18:
cmp DWORD PTR -8[rbp], 1
jle .L19
mov edx, DWORD PTR -4[rbp]
mov eax, DWORD PTR -8[rbp]
add eax, edx
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE4:
.size test5, .-test5
.globl test6
.type test6, @function
test6:
.LFB5:
.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
mov DWORD PTR -4[rbp], 0
mov DWORD PTR -8[rbp], 0
jmp .L22
.L23:
mov eax, DWORD PTR -8[rbp]
add DWORD PTR -4[rbp], eax
add DWORD PTR -8[rbp], 1
.L22:
cmp DWORD PTR -8[rbp], 1
jle .L23
mov edx, DWORD PTR -4[rbp]
mov eax, DWORD PTR -8[rbp]
add eax, edx
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE5:
.size test6, .-test6
.globl test7
.type test7, @function
test7:
.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
cmp DWORD PTR -4[rbp], 3
jg .L26
cmp DWORD PTR -4[rbp], 4
jg .L26
mov eax, DWORD PTR -4[rbp]
jmp .L27
.L26:
mov eax, 1
.L27:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size test7, .-test7
.globl test8
.type test8, @function
test8:
.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], edi
mov DWORD PTR -8[rbp], esi
cmp DWORD PTR -8[rbp], -999
jl .L29
cmp DWORD PTR -8[rbp], 9
jg .L29
mov eax, DWORD PTR -8[rbp]
sub eax, 2
cmp DWORD PTR -4[rbp], eax
jge .L29
mov eax, DWORD PTR -4[rbp]
jmp .L30
.L29:
mov eax, DWORD PTR -8[rbp]
.L30:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size test8, .-test8
.globl test9
.type test9, @function
test9:
.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 DWORD PTR -8[rbp], esi
cmp DWORD PTR -8[rbp], 0
jne .L32
cmp DWORD PTR -4[rbp], 3
jg .L33
mov eax, 0
jmp .L34
.L32:
cmp DWORD PTR -4[rbp], 3
jg .L33
mov eax, 1
jmp .L34
.L33:
mov eax, DWORD PTR -4[rbp]
.L34:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size test9, .-test9
.globl test10
.type test10, @function
test10:
.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 DWORD PTR -8[rbp], esi
cmp DWORD PTR -8[rbp], 7
jle .L36
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -8[rbp]
jge .L37
mov eax, 0
jmp .L38
.L37:
mov eax, DWORD PTR -4[rbp]
jmp .L38
.L36:
mov eax, 1
.L38:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size test10, .-test10
.globl test11
.type test11, @function
test11:
.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 rax, QWORD PTR -24[rbp]
movzx eax, BYTE PTR [rax]
mov BYTE PTR -1[rbp], al
cmp BYTE PTR -1[rbp], 0
je .L40
mov rax, QWORD PTR -24[rbp]
lea rdx, 1[rax]
mov QWORD PTR -24[rbp], rdx
mov BYTE PTR [rax], 0
.L40:
cmp BYTE PTR -1[rbp], 58
jne .L41
mov rax, QWORD PTR -24[rbp]
movzx eax, BYTE PTR [rax]
mov BYTE PTR -1[rbp], al
cmp BYTE PTR -1[rbp], 0
je .L42
mov rax, QWORD PTR -24[rbp]
lea rdx, 1[rax]
mov QWORD PTR -24[rbp], rdx
mov BYTE PTR [rax], 0
.L42:
cmp BYTE PTR -1[rbp], 44
je .L41
mov eax, 1
jmp .L43
.L41:
mov eax, 0
.L43:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size test11, .-test11
.globl test12_helper
.type test12_helper, @function
test12_helper:
.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 n.0[rip]
lea rdx, 1[rax]
mov QWORD PTR n.0[rip], rdx
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size test12_helper, .-test12_helper
.globl test12
.type test12, @function
test12:
.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, 16
mov QWORD PTR -16[rbp], 0
jmp .L47
.L48:
mov eax, 0
call test12_helper
mov QWORD PTR -8[rbp], rax
mov rdx, QWORD PTR -8[rbp]
mov rax, QWORD PTR -16[rbp]
add rax, rdx
add rax, 1
mov QWORD PTR -16[rbp], rax
.L47:
mov eax, 0
call test12_helper
sub rax, 1
cmp QWORD PTR -16[rbp], rax
jbe .L48
mov eax, 1
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE12:
.size test12, .-test12
.globl test13
.type test13, @function
test13:
.LFB13:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, edi
mov DWORD PTR -24[rbp], esi
mov BYTE PTR -20[rbp], al
movzx eax, BYTE PTR -20[rbp]
mov BYTE PTR -13[rbp], al
mov DWORD PTR -12[rbp], 0
mov eax, DWORD PTR -12[rbp]
sub eax, 1
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -24[rbp]
add eax, 1
mov DWORD PTR -4[rbp], eax
movsx edx, BYTE PTR -20[rbp]
mov eax, DWORD PTR -24[rbp]
add edx, eax
movzx eax, BYTE PTR -13[rbp]
add eax, edx
mov edx, eax
mov eax, DWORD PTR -12[rbp]
add edx, eax
mov eax, DWORD PTR -8[rbp]
add edx, eax
mov eax, DWORD PTR -4[rbp]
add eax, edx
mov eax, eax
test rax, rax
js .L51
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
jmp .L52
.L51:
mov rdx, rax
shr rdx
and eax, 1
or rdx, rax
pxor xmm0, xmm0
cvtsi2sd xmm0, rdx
addsd xmm0, xmm0
.L52:
cvttsd2si eax, xmm0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE13:
.size test13, .-test13
.globl test14
.type test14, @function
test14:
.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 -36[rbp], edi
mov eax, DWORD PTR -36[rbp]
movsx eax, al
mov DWORD PTR -16[rbp], eax
mov eax, DWORD PTR -36[rbp]
movzx eax, al
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -36[rbp]
movzx eax, ax
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -36[rbp]
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -36[rbp]
mov BYTE PTR -19[rbp], al
mov eax, DWORD PTR -36[rbp]
mov WORD PTR -18[rbp], ax
mov edx, DWORD PTR -16[rbp]
mov eax, DWORD PTR -12[rbp]
add edx, eax
mov eax, DWORD PTR -8[rbp]
add edx, eax
mov eax, DWORD PTR -4[rbp]
add edx, eax
movsx eax, BYTE PTR -19[rbp]
add edx, eax
movzx eax, WORD PTR -18[rbp]
add eax, edx
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE14:
.size test14, .-test14
.globl test15
.type test15, @function
test15:
.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 -8[rbp], rdi
cmp QWORD PTR -8[rbp], 0
jle .L57
mov rax, QWORD PTR -8[rbp]
cdqe
cmp QWORD PTR -8[rbp], rax
jne .L57
mov rax, QWORD PTR -8[rbp]
jmp .L59
.L57:
mov rax, -1
.L59:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE15:
.size test15, .-test15
.globl test_unary
.type test_unary, @function
test_unary:
.LFB16:
.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 -68[rbp], edi
mov DWORD PTR -52[rbp], 0
cmp DWORD PTR -68[rbp], 2
jle .L61
cmp DWORD PTR -68[rbp], 11
jg .L61
mov eax, DWORD PTR -68[rbp]
mov DWORD PTR -48[rbp], eax
mov eax, DWORD PTR -68[rbp]
neg eax
mov DWORD PTR -44[rbp], eax
mov edx, DWORD PTR -48[rbp]
mov eax, DWORD PTR -44[rbp]
add eax, edx
add DWORD PTR -52[rbp], eax
.L61:
cmp DWORD PTR -68[rbp], 0
js .L62
cmp DWORD PTR -68[rbp], 11
jg .L62
mov eax, DWORD PTR -68[rbp]
mov DWORD PTR -40[rbp], eax
mov eax, DWORD PTR -68[rbp]
neg eax
mov DWORD PTR -36[rbp], eax
mov edx, DWORD PTR -40[rbp]
mov eax, DWORD PTR -36[rbp]
add eax, edx
add DWORD PTR -52[rbp], eax
.L62:
cmp DWORD PTR -68[rbp], -7
jl .L63
cmp DWORD PTR -68[rbp], 11
jg .L63
mov eax, DWORD PTR -68[rbp]
mov DWORD PTR -32[rbp], eax
mov eax, DWORD PTR -68[rbp]
neg eax
mov DWORD PTR -28[rbp], eax
mov edx, DWORD PTR -32[rbp]
mov eax, DWORD PTR -28[rbp]
add eax, edx
add DWORD PTR -52[rbp], eax
.L63:
cmp DWORD PTR -68[rbp], -7
jl .L64
cmp DWORD PTR -68[rbp], 1
jg .L64
mov eax, DWORD PTR -68[rbp]
mov DWORD PTR -24[rbp], eax
mov eax, DWORD PTR -68[rbp]
neg eax
mov DWORD PTR -20[rbp], eax
mov edx, DWORD PTR -24[rbp]
mov eax, DWORD PTR -20[rbp]
add eax, edx
add DWORD PTR -52[rbp], eax
.L64:
cmp DWORD PTR -68[rbp], -7
jl .L65
cmp DWORD PTR -68[rbp], 0
jg .L65
mov eax, DWORD PTR -68[rbp]
mov DWORD PTR -16[rbp], eax
mov eax, DWORD PTR -68[rbp]
neg eax
mov DWORD PTR -12[rbp], eax
mov edx, DWORD PTR -16[rbp]
mov eax, DWORD PTR -12[rbp]
add eax, edx
add DWORD PTR -52[rbp], eax
.L65:
cmp DWORD PTR -68[rbp], -7
jl .L66
cmp DWORD PTR -68[rbp], -1
jge .L66
mov eax, DWORD PTR -68[rbp]
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -68[rbp]
neg eax
mov DWORD PTR -4[rbp], eax
mov edx, DWORD PTR -8[rbp]
mov eax, DWORD PTR -4[rbp]
add eax, edx
add DWORD PTR -52[rbp], eax
.L66:
mov eax, DWORD PTR -52[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE16:
.size test_unary, .-test_unary
.globl test_mult01
.type test_mult01, @function
test_mult01:
.LFB17:
.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 -36[rbp], edi
mov DWORD PTR -40[rbp], esi
mov DWORD PTR -24[rbp], 0
cmp DWORD PTR -36[rbp], 2
jle .L69
cmp DWORD PTR -36[rbp], 11
jg .L69
cmp DWORD PTR -40[rbp], 4
jle .L69
cmp DWORD PTR -40[rbp], 23
jg .L69
mov eax, DWORD PTR -36[rbp]
imul eax, DWORD PTR -40[rbp]
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -20[rbp]
add DWORD PTR -24[rbp], eax
.L69:
cmp DWORD PTR -36[rbp], 2
jle .L70
cmp DWORD PTR -36[rbp], 11
jg .L70
cmp DWORD PTR -40[rbp], 0
js .L70
cmp DWORD PTR -40[rbp], 23
jg .L70
mov eax, DWORD PTR -36[rbp]
imul eax, DWORD PTR -40[rbp]
mov DWORD PTR -16[rbp], eax
mov eax, DWORD PTR -16[rbp]
add DWORD PTR -24[rbp], eax
.L70:
cmp DWORD PTR -36[rbp], 2
jle .L71
cmp DWORD PTR -36[rbp], 11
jg .L71
cmp DWORD PTR -40[rbp], -13
jl .L71
cmp DWORD PTR -40[rbp], 23
jg .L71
mov eax, DWORD PTR -36[rbp]
imul eax, DWORD PTR -40[rbp]
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -12[rbp]
add DWORD PTR -24[rbp], eax
.L71:
cmp DWORD PTR -36[rbp], 2
jle .L72
cmp DWORD PTR -36[rbp], 11
jg .L72
cmp DWORD PTR -40[rbp], -13
jl .L72
cmp DWORD PTR -40[rbp], 0
jg .L72
mov eax, DWORD PTR -36[rbp]
imul eax, DWORD PTR -40[rbp]
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -8[rbp]
add DWORD PTR -24[rbp], eax
.L72:
cmp DWORD PTR -36[rbp], 2
jle .L73
cmp DWORD PTR -36[rbp], 11
jg .L73
cmp DWORD PTR -40[rbp], -13
jl .L73
cmp DWORD PTR -40[rbp], -6
jge .L73
mov eax, DWORD PTR -36[rbp]
imul eax, DWORD PTR -40[rbp]
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
add DWORD PTR -24[rbp], eax
.L73:
mov eax, DWORD PTR -24[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE17:
.size test_mult01, .-test_mult01
.globl test_mult02
.type test_mult02, @function
test_mult02:
.LFB18:
.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 -36[rbp], edi
mov DWORD PTR -40[rbp], esi
mov DWORD PTR -24[rbp], 0
cmp DWORD PTR -36[rbp], 0
js .L76
cmp DWORD PTR -36[rbp], 11
jg .L76
cmp DWORD PTR -40[rbp], 4
jle .L76
cmp DWORD PTR -40[rbp], 23
jg .L76
mov eax, DWORD PTR -36[rbp]
imul eax, DWORD PTR -40[rbp]
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -20[rbp]
add DWORD PTR -24[rbp], eax
.L76:
cmp DWORD PTR -36[rbp], 0
js .L77
cmp DWORD PTR -36[rbp], 11
jg .L77
cmp DWORD PTR -40[rbp], 0
js .L77
cmp DWORD PTR -40[rbp], 23
jg .L77
mov eax, DWORD PTR -36[rbp]
imul eax, DWORD PTR -40[rbp]
mov DWORD PTR -16[rbp], eax
mov eax, DWORD PTR -16[rbp]
add DWORD PTR -24[rbp], eax
.L77:
cmp DWORD PTR -36[rbp], 0
js .L78
cmp DWORD PTR -36[rbp], 11
jg .L78
cmp DWORD PTR -40[rbp], -13
jl .L78
cmp DWORD PTR -40[rbp], 23
jg .L78
mov eax, DWORD PTR -36[rbp]
imul eax, DWORD PTR -40[rbp]
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -12[rbp]
add DWORD PTR -24[rbp], eax
.L78:
cmp DWORD PTR -36[rbp], 0
js .L79
cmp DWORD PTR -36[rbp], 11
jg .L79
cmp DWORD PTR -40[rbp], -13
jl .L79
cmp DWORD PTR -40[rbp], 0
jg .L79
mov eax, DWORD PTR -36[rbp]
imul eax, DWORD PTR -40[rbp]
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -8[rbp]
add DWORD PTR -24[rbp], eax
.L79:
cmp DWORD PTR -36[rbp], 0
js .L80
cmp DWORD PTR -36[rbp], 11
jg .L80
cmp DWORD PTR -40[rbp], -13
jl .L80
cmp DWORD PTR -40[rbp], -6
jge .L80
mov eax, DWORD PTR -36[rbp]
imul eax, DWORD PTR -40[rbp]
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
add DWORD PTR -24[rbp], eax
.L80:
mov eax, DWORD PTR -24[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE18:
.size test_mult02, .-test_mult02
.globl test_mult03
.type test_mult03, @function
test_mult03:
.LFB19:
.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 -36[rbp], edi
mov DWORD PTR -40[rbp], esi
mov DWORD PTR -24[rbp], 0
cmp DWORD PTR -36[rbp], -17
jl .L83
cmp DWORD PTR -36[rbp], 11
jg .L83
cmp DWORD PTR -40[rbp], 4
jle .L83
cmp DWORD PTR -40[rbp], 23
jg .L83
mov eax, DWORD PTR -36[rbp]
imul eax, DWORD PTR -40[rbp]
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -20[rbp]
add DWORD PTR -24[rbp], eax
.L83:
cmp DWORD PTR -36[rbp], -17
jl .L84
cmp DWORD PTR -36[rbp], 11
jg .L84
cmp DWORD PTR -40[rbp], 0
js .L84
cmp DWORD PTR -40[rbp], 23
jg .L84
mov eax, DWORD PTR -36[rbp]
imul eax, DWORD PTR -40[rbp]
mov DWORD PTR -16[rbp], eax
mov eax, DWORD PTR -16[rbp]
add DWORD PTR -24[rbp], eax
.L84:
cmp DWORD PTR -36[rbp], -17
jl .L85
cmp DWORD PTR -36[rbp], 11
jg .L85
cmp DWORD PTR -40[rbp], -13
jl .L85
cmp DWORD PTR -40[rbp], 23
jg .L85
mov eax, DWORD PTR -36[rbp]
imul eax, DWORD PTR -40[rbp]
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -12[rbp]
add DWORD PTR -24[rbp], eax
.L85:
cmp DWORD PTR -36[rbp], -17
jl .L86
cmp DWORD PTR -36[rbp], 11
jg .L86
cmp DWORD PTR -40[rbp], -13
jl .L86
cmp DWORD PTR -40[rbp], 0
jg .L86
mov eax, DWORD PTR -36[rbp]
imul eax, DWORD PTR -40[rbp]
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -8[rbp]
add DWORD PTR -24[rbp], eax
.L86:
cmp DWORD PTR -36[rbp], -17
jl .L87
cmp DWORD PTR -36[rbp], 11
jg .L87
cmp DWORD PTR -40[rbp], -13
jl .L87
cmp DWORD PTR -40[rbp], -6
jge .L87
mov eax, DWORD PTR -36[rbp]
imul eax, DWORD PTR -40[rbp]
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
add DWORD PTR -24[rbp], eax
.L87:
mov eax, DWORD PTR -24[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE19:
.size test_mult03, .-test_mult03
.globl test_mult04
.type test_mult04, @function
test_mult04:
.LFB20:
.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 -36[rbp], edi
mov DWORD PTR -40[rbp], esi
mov DWORD PTR -24[rbp], 0
cmp DWORD PTR -36[rbp], -17
jl .L90
cmp DWORD PTR -36[rbp], 0
jg .L90
cmp DWORD PTR -40[rbp], 4
jle .L90
cmp DWORD PTR -40[rbp], 23
jg .L90
mov eax, DWORD PTR -36[rbp]
imul eax, DWORD PTR -40[rbp]
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -20[rbp]
add DWORD PTR -24[rbp], eax
.L90:
cmp DWORD PTR -36[rbp], -17
jl .L91
cmp DWORD PTR -36[rbp], 0
jg .L91
cmp DWORD PTR -40[rbp], 0
js .L91
cmp DWORD PTR -40[rbp], 23
jg .L91
mov eax, DWORD PTR -36[rbp]
imul eax, DWORD PTR -40[rbp]
mov DWORD PTR -16[rbp], eax
mov eax, DWORD PTR -16[rbp]
add DWORD PTR -24[rbp], eax
.L91:
cmp DWORD PTR -36[rbp], -17
jl .L92
cmp DWORD PTR -36[rbp], 0
jg .L92
cmp DWORD PTR -40[rbp], -13
jl .L92
cmp DWORD PTR -40[rbp], 23
jg .L92
mov eax, DWORD PTR -36[rbp]
imul eax, DWORD PTR -40[rbp]
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -12[rbp]
add DWORD PTR -24[rbp], eax
.L92:
cmp DWORD PTR -36[rbp], -17
jl .L93
cmp DWORD PTR -36[rbp], 0
jg .L93
cmp DWORD PTR -40[rbp], -13
jl .L93
cmp DWORD PTR -40[rbp], 0
jg .L93
mov eax, DWORD PTR -36[rbp]
imul eax, DWORD PTR -40[rbp]
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -8[rbp]
add DWORD PTR -24[rbp], eax
.L93:
cmp DWORD PTR -36[rbp], -17
jl .L94
cmp DWORD PTR -36[rbp], 0
jg .L94
cmp DWORD PTR -40[rbp], -13
jl .L94
cmp DWORD PTR -40[rbp], -6
jge .L94
mov eax, DWORD PTR -36[rbp]
imul eax, DWORD PTR -40[rbp]
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
add DWORD PTR -24[rbp], eax
.L94:
mov eax, DWORD PTR -24[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE20:
.size test_mult04, .-test_mult04
.globl test_mult05
.type test_mult05, @function
test_mult05:
.LFB21:
.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 -36[rbp], edi
mov DWORD PTR -40[rbp], esi
mov DWORD PTR -24[rbp], 0
cmp DWORD PTR -36[rbp], -17
jl .L97
cmp DWORD PTR -36[rbp], -1
jge .L97
cmp DWORD PTR -40[rbp], 4
jle .L97
cmp DWORD PTR -40[rbp], 23
jg .L97
mov eax, DWORD PTR -36[rbp]
imul eax, DWORD PTR -40[rbp]
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -20[rbp]
add DWORD PTR -24[rbp], eax
.L97:
cmp DWORD PTR -36[rbp], -17
jl .L98
cmp DWORD PTR -36[rbp], -1
jge .L98
cmp DWORD PTR -40[rbp], 0
js .L98
cmp DWORD PTR -40[rbp], 23
jg .L98
mov eax, DWORD PTR -36[rbp]
imul eax, DWORD PTR -40[rbp]
mov DWORD PTR -16[rbp], eax
mov eax, DWORD PTR -16[rbp]
add DWORD PTR -24[rbp], eax
.L98:
cmp DWORD PTR -36[rbp], -17
jl .L99
cmp DWORD PTR -36[rbp], -1
jge .L99
cmp DWORD PTR -40[rbp], -13
jl .L99
cmp DWORD PTR -40[rbp], 23
jg .L99
mov eax, DWORD PTR -36[rbp]
imul eax, DWORD PTR -40[rbp]
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -12[rbp]
add DWORD PTR -24[rbp], eax
.L99:
cmp DWORD PTR -36[rbp], -17
jl .L100
cmp DWORD PTR -36[rbp], -1
jge .L100
cmp DWORD PTR -40[rbp], -13
jl .L100
cmp DWORD PTR -40[rbp], 0
jg .L100
mov eax, DWORD PTR -36[rbp]
imul eax, DWORD PTR -40[rbp]
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -8[rbp]
add DWORD PTR -24[rbp], eax
.L100:
cmp DWORD PTR -36[rbp], -17
jl .L101
cmp DWORD PTR -36[rbp], -1
jge .L101
cmp DWORD PTR -40[rbp], -13
jl .L101
cmp DWORD PTR -40[rbp], -6
jge .L101
mov eax, DWORD PTR -36[rbp]
imul eax, DWORD PTR -40[rbp]
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
add DWORD PTR -24[rbp], eax
.L101:
mov eax, DWORD PTR -24[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE21:
.size test_mult05, .-test_mult05
.globl test16
.type test16, @function
test16:
.LFB22:
.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 -8[rbp], 0
cmp DWORD PTR -20[rbp], 0
jns .L106
mov eax, -1
jmp .L105
.L107:
add DWORD PTR -8[rbp], 1
.L106:
cmp DWORD PTR -8[rbp], 2
jle .L107
mov eax, DWORD PTR -8[rbp]
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -20[rbp], 0
jns .L108
mov eax, DWORD PTR -20[rbp]
neg eax
cmp DWORD PTR -4[rbp], eax
jle .L108
mov eax, 1
jmp .L105
.L108:
mov eax, 0
.L105:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE22:
.size test16, .-test16
.globl test_ternary01
.type test_ternary01, @function
test_ternary01:
.LFB23:
.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 -36[rbp], edi
cmp DWORD PTR -36[rbp], 99
ja .L110
mov eax, DWORD PTR -36[rbp]
jmp .L111
.L110:
mov eax, 10
.L111:
mov DWORD PTR -8[rbp], eax
cmp DWORD PTR -36[rbp], 99
ja .L112
mov eax, DWORD PTR -36[rbp]
jmp .L113
.L112:
mov eax, 10
.L113:
mov DWORD PTR -4[rbp], eax
mov DWORD PTR -32[rbp], 0
mov DWORD PTR -28[rbp], 0
mov DWORD PTR -24[rbp], 0
mov DWORD PTR -20[rbp], 0
mov DWORD PTR -16[rbp], 0
mov DWORD PTR -12[rbp], 0
cmp DWORD PTR -36[rbp], 299
ja .L114
mov eax, DWORD PTR -36[rbp]
test eax, eax
jne .L116
mov eax, 5
.L116:
mov DWORD PTR -32[rbp], eax
mov eax, DWORD PTR -36[rbp]
test eax, eax
jne .L118
mov eax, 500
.L118:
mov DWORD PTR -28[rbp], eax
mov eax, DWORD PTR -36[rbp]
add eax, 1
test eax, eax
jne .L120
mov eax, 500
.L120:
mov DWORD PTR -24[rbp], eax
mov eax, DWORD PTR -36[rbp]
add eax, 1
movzx eax, al
test eax, eax
je .L121
jmp .L122
.L121:
mov eax, 5
.L122:
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -36[rbp]
add eax, 1
movzx eax, al
test eax, eax
je .L123
jmp .L124
.L123:
mov eax, 500
.L124:
mov DWORD PTR -16[rbp], eax
mov eax, DWORD PTR -36[rbp]
add eax, 1
movzx eax, ax
test eax, eax
je .L125
jmp .L126
.L125:
mov eax, 500
.L126:
mov DWORD PTR -12[rbp], eax
.L114:
mov edx, DWORD PTR -8[rbp]
mov eax, DWORD PTR -4[rbp]
add edx, eax
mov eax, DWORD PTR -32[rbp]
add edx, eax
mov eax, DWORD PTR -28[rbp]
add edx, eax
mov eax, DWORD PTR -24[rbp]
add edx, eax
mov eax, DWORD PTR -20[rbp]
add edx, eax
mov eax, DWORD PTR -16[rbp]
add edx, eax
mov eax, DWORD PTR -12[rbp]
add eax, edx
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE23:
.size test_ternary01, .-test_ternary01
.globl test_ternary02
.type test_ternary02, @function
test_ternary02:
.LFB24:
.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 -36[rbp], edi
cmp DWORD PTR -36[rbp], 100
jbe .L129
mov eax, DWORD PTR -36[rbp]
jmp .L130
.L129:
mov eax, 110
.L130:
mov DWORD PTR -8[rbp], eax
cmp DWORD PTR -36[rbp], 100
jbe .L131
mov eax, DWORD PTR -36[rbp]
jmp .L132
.L131:
mov eax, 110
.L132:
mov DWORD PTR -4[rbp], eax
mov DWORD PTR -20[rbp], 1000
mov DWORD PTR -16[rbp], 1000
mov DWORD PTR -12[rbp], 1000
cmp DWORD PTR -36[rbp], 299
jbe .L133
mov eax, DWORD PTR -36[rbp]
sub eax, 300
test eax, eax
jne .L135
mov eax, 5
.L135:
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -36[rbp]
sub eax, 200
test eax, eax
jne .L137
mov eax, 5
.L137:
mov DWORD PTR -16[rbp], eax
mov eax, DWORD PTR -36[rbp]
add eax, 56
movzx eax, al
test eax, eax
je .L138
jmp .L139
.L138:
mov eax, 5
.L139:
mov DWORD PTR -12[rbp], eax
.L133:
mov edx, DWORD PTR -8[rbp]
mov eax, DWORD PTR -4[rbp]
add edx, eax
mov eax, DWORD PTR -20[rbp]
add edx, eax
mov eax, DWORD PTR -16[rbp]
add edx, eax
mov eax, DWORD PTR -12[rbp]
add eax, edx
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE24:
.size test_ternary02, .-test_ternary02
.globl test_comma01
.type test_comma01, @function
test_comma01:
.LFB25:
.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 eax, 100
cmp DWORD PTR -20[rbp], 100
cmovbe eax, DWORD PTR -20[rbp]
mov DWORD PTR -12[rbp], eax
add DWORD PTR -12[rbp], 1
mov eax, DWORD PTR -12[rbp]
mov DWORD PTR -8[rbp], eax
add DWORD PTR -12[rbp], 1
add DWORD PTR -12[rbp], 3
mov eax, DWORD PTR -12[rbp]
mov DWORD PTR -4[rbp], eax
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
.LFE25:
.size test_comma01, .-test_comma01
.globl test17
.type test17, @function
test17:
.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 DWORD PTR -8[rbp], 10
mov eax, DWORD PTR -8[rbp]
mov edi, eax
call out@PLT
mov DWORD PTR -8[rbp], 10
add DWORD PTR -8[rbp], 10
mov eax, DWORD PTR -8[rbp]
mov edi, eax
call out@PLT
mov DWORD PTR -8[rbp], 40
sub DWORD PTR -8[rbp], 10
mov eax, DWORD PTR -8[rbp]
mov edi, eax
call out@PLT
mov DWORD PTR -4[rbp], 40
mov eax, DWORD PTR -4[rbp]
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -8[rbp]
mov edi, eax
call out@PLT
add DWORD PTR -4[rbp], 10
mov eax, DWORD PTR -4[rbp]
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -8[rbp]
mov edi, eax
call out@PLT
sub DWORD PTR -4[rbp], 10
mov eax, DWORD PTR -4[rbp]
add eax, 20
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -8[rbp]
mov edi, eax
call out@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE26:
.size test17, .-test17
.globl test_unsigned_mult01
.type test_unsigned_mult01, @function
test_unsigned_mult01:
.LFB27:
.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 -16[rbp], 0
cmp DWORD PTR -20[rbp], 2
jbe .L145
cmp DWORD PTR -20[rbp], 11
ja .L145
cmp DWORD PTR -24[rbp], 4
jbe .L145
cmp DWORD PTR -24[rbp], 23
ja .L145
mov eax, DWORD PTR -20[rbp]
imul eax, DWORD PTR -24[rbp]
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -12[rbp]
add DWORD PTR -16[rbp], eax
.L145:
cmp DWORD PTR -20[rbp], 2
jbe .L146
cmp DWORD PTR -20[rbp], 11
ja .L146
cmp DWORD PTR -24[rbp], 23
ja .L146
mov eax, DWORD PTR -20[rbp]
imul eax, DWORD PTR -24[rbp]
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -8[rbp]
add DWORD PTR -16[rbp], eax
.L146:
cmp DWORD PTR -20[rbp], 2
jbe .L147
cmp DWORD PTR -20[rbp], 11
ja .L147
cmp DWORD PTR -24[rbp], 12
jbe .L147
cmp DWORD PTR -24[rbp], 23
ja .L147
mov eax, DWORD PTR -20[rbp]
imul eax, DWORD PTR -24[rbp]
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
add DWORD PTR -16[rbp], eax
.L147:
mov eax, DWORD PTR -16[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE27:
.size test_unsigned_mult01, .-test_unsigned_mult01
.globl test_unsigned_mult02
.type test_unsigned_mult02, @function
test_unsigned_mult02:
.LFB28:
.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 -16[rbp], 0
cmp DWORD PTR -20[rbp], 4
jbe .L150
cmp DWORD PTR -20[rbp], 23
ja .L150
mov edx, DWORD PTR -20[rbp]
mov eax, edx
sal eax, 2
add eax, edx
add eax, eax
add eax, edx
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -12[rbp]
add DWORD PTR -16[rbp], eax
.L150:
cmp DWORD PTR -20[rbp], 23
ja .L151
mov edx, DWORD PTR -20[rbp]
mov eax, edx
sal eax, 2
add eax, edx
add eax, eax
add eax, edx
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -8[rbp]
add DWORD PTR -16[rbp], eax
.L151:
cmp DWORD PTR -20[rbp], 12
jbe .L152
cmp DWORD PTR -20[rbp], 23
ja .L152
mov edx, DWORD PTR -20[rbp]
mov eax, edx
sal eax, 2
add eax, edx
add eax, eax
add eax, edx
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
add DWORD PTR -16[rbp], eax
.L152:
mov eax, DWORD PTR -16[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE28:
.size test_unsigned_mult02, .-test_unsigned_mult02
.globl mult_rounding
.type mult_rounding, @function
mult_rounding:
.LFB29:
.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], 1000000003
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -16[rbp]
imul rax, QWORD PTR -24[rbp]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE29:
.size mult_rounding, .-mult_rounding
.globl mult_overflow
.type mult_overflow, @function
mult_overflow:
.LFB30:
.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], 274177
movabs rax, 67280421310721
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -24[rbp]
imul rax, QWORD PTR -16[rbp]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE30:
.size mult_overflow, .-mult_overflow
.globl mult_lower_bound
.type mult_lower_bound, @function
mult_lower_bound:
.LFB31:
.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
cmp DWORD PTR -20[rbp], 9
jbe .L159
mov edx, DWORD PTR -20[rbp]
mov eax, DWORD PTR -20[rbp]
imul rax, rdx
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
jmp .L160
.L159:
cmp QWORD PTR -32[rbp], 9
jbe .L161
mov rax, QWORD PTR -32[rbp]
imul rax, rax
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -16[rbp]
jmp .L160
.L161:
mov eax, 0
.L160:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE31:
.size mult_lower_bound, .-mult_lower_bound
.globl mul_assign
.type mul_assign, @function
mul_assign:
.LFB32:
.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
cmp DWORD PTR -20[rbp], 10
ja .L163
cmp DWORD PTR -20[rbp], 1
jbe .L163
mov eax, DWORD PTR -20[rbp]
imul eax, eax
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -20[rbp]
jmp .L164
.L163:
mov DWORD PTR -12[rbp], 10
sal DWORD PTR -12[rbp], 2
mov QWORD PTR -8[rbp], 10
sal QWORD PTR -8[rbp], 2
mov edx, DWORD PTR -12[rbp]
mov rax, QWORD PTR -8[rbp]
add rax, rdx
.L164:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE32:
.size mul_assign, .-mul_assign
.globl mul_by_constant
.type mul_by_constant, @function
mul_by_constant:
.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, 32
mov DWORD PTR -20[rbp], edi
mov DWORD PTR -24[rbp], esi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
cmp DWORD PTR -20[rbp], -1
jl .L166
cmp DWORD PTR -20[rbp], 2
jg .L166
mov edx, DWORD PTR -20[rbp]
mov eax, edx
sal eax, 2
add eax, edx
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -20[rbp]
mov edi, eax
call out@PLT
mov eax, DWORD PTR -20[rbp]
mov ecx, eax
lea edx, 0[0+rax*4]
mov eax, ecx
sub eax, edx
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -20[rbp]
mov edi, eax
call out@PLT
mov edx, DWORD PTR -20[rbp]
mov eax, edx
sal eax, 3
sub eax, edx
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -20[rbp]
mov edi, eax
call out@PLT
mov eax, DWORD PTR -20[rbp]
imul eax, eax, -11
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -20[rbp]
mov edi, eax
call out@PLT
.L166:
cmp DWORD PTR -20[rbp], -1
jne .L167
neg DWORD PTR -20[rbp]
mov eax, DWORD PTR -20[rbp]
mov edi, eax
call out@PLT
.L167:
neg DWORD PTR -20[rbp]
mov eax, DWORD PTR -20[rbp]
mov edi, eax
call out@PLT
mov BYTE PTR -9[rbp], 1
movzx eax, BYTE PTR -9[rbp]
add eax, eax
mov BYTE PTR -9[rbp], al
movzx eax, BYTE PTR -9[rbp]
movsx eax, al
mov DWORD PTR -20[rbp], eax
movzx eax, BYTE PTR -9[rbp]
movsx eax, al
mov edi, eax
call out@PLT
mov eax, DWORD PTR -20[rbp]
mov edi, eax
call out@PLT
mov eax, 0
mov rsi, QWORD PTR -8[rbp]
sub rsi, QWORD PTR fs:40
je .L169
call __stack_chk_fail@PLT
.L169:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE33:
.size mul_by_constant, .-mul_by_constant
.local n.0
.comm n.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 "178437.c"
.text
.align 2
.global test1
.syntax unified
.arm
.fpu softvfp
.type test1, %function
test1:
@ 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]
mov r3, #0
str r3, [fp, #-8]
b .L2
.L3:
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
ldr r3, [fp, #-16]
ldr r3, [r3]
str r3, [fp, #-16]
.L2:
ldr r3, [fp, #-16]
cmp r3, #0
bne .L3
ldr r3, [fp, #-8]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size test1, .-test1
.align 2
.global test2
.syntax unified
.arm
.fpu softvfp
.type test2, %function
test2:
@ 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]
mov r3, #0
str r3, [fp, #-8]
b .L6
.L7:
ldr r3, [fp, #-8]
add r2, r3, #1
ldr r3, .L9
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, #-8]
ldr r3, [fp, #-16]
ldr r3, [r3]
str r3, [fp, #-16]
.L6:
ldr r3, [fp, #-16]
cmp r3, #0
bne .L7
ldr r3, [fp, #-8]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L10:
.align 2
.L9:
.word 1717986919
.size test2, .-test2
.align 2
.global test3
.syntax unified
.arm
.fpu softvfp
.type test3, %function
test3:
@ 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]
mov r3, #0
str r3, [fp, #-8]
b .L12
.L13:
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
ldr r2, [fp, #-8]
ldr r3, .L15
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, #-8]
ldr r3, [fp, #-16]
ldr r3, [r3]
str r3, [fp, #-16]
.L12:
ldr r3, [fp, #-16]
cmp r3, #0
bne .L13
ldr r3, [fp, #-8]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L16:
.align 2
.L15:
.word 1717986919
.size test3, .-test3
.align 2
.global test4
.syntax unified
.arm
.fpu softvfp
.type test4, %function
test4:
@ 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, #0
str r3, [fp, #-12]
mov r3, #0
str r3, [fp, #-8]
mov r3, #0
str r3, [fp, #-12]
b .L18
.L19:
ldr r2, [fp, #-8]
ldr r3, [fp, #-12]
add r3, r2, r3
str r3, [fp, #-8]
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L18:
ldr r3, [fp, #-12]
cmp r3, #1
ble .L19
ldr r2, [fp, #-8]
ldr r3, [fp, #-12]
add r3, r2, r3
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size test4, .-test4
.align 2
.global test5
.syntax unified
.arm
.fpu softvfp
.type test5, %function
test5:
@ 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, #0
str r3, [fp, #-12]
mov r3, #0
str r3, [fp, #-8]
mov r3, #0
str r3, [fp, #-12]
b .L22
.L23:
ldr r2, [fp, #-8]
ldr r3, [fp, #-12]
add r3, r2, r3
str r3, [fp, #-8]
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L22:
ldr r3, [fp, #-12]
cmp r3, #1
ble .L23
ldr r2, [fp, #-8]
ldr r3, [fp, #-12]
add r3, r2, r3
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size test5, .-test5
.align 2
.global test6
.syntax unified
.arm
.fpu softvfp
.type test6, %function
test6:
@ 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, #0
str r3, [fp, #-12]
mov r3, #0
str r3, [fp, #-8]
mov r3, #0
str r3, [fp, #-12]
b .L26
.L27:
ldr r2, [fp, #-8]
ldr r3, [fp, #-12]
add r3, r2, r3
str r3, [fp, #-8]
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L26:
ldr r3, [fp, #-12]
cmp r3, #1
ble .L27
ldr r2, [fp, #-8]
ldr r3, [fp, #-12]
add r3, r2, r3
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size test6, .-test6
.align 2
.global test7
.syntax unified
.arm
.fpu softvfp
.type test7, %function
test7:
@ 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, #3
bgt .L30
ldr r3, [fp, #-8]
cmp r3, #4
bgt .L30
ldr r3, [fp, #-8]
b .L31
.L30:
mov r3, #1
.L31:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size test7, .-test7
.align 2
.global test8
.syntax unified
.arm
.fpu softvfp
.type test8, %function
test8:
@ 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]
cmn r3, #1000
ble .L33
ldr r3, [fp, #-12]
cmp r3, #9
bgt .L33
ldr r3, [fp, #-12]
sub r3, r3, #2
ldr r2, [fp, #-8]
cmp r2, r3
bge .L33
ldr r3, [fp, #-8]
b .L34
.L33:
ldr r3, [fp, #-12]
.L34:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size test8, .-test8
.align 2
.global test9
.syntax unified
.arm
.fpu softvfp
.type test9, %function
test9:
@ 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]
cmp r3, #0
bne .L36
ldr r3, [fp, #-8]
cmp r3, #3
bgt .L37
mov r3, #0
b .L38
.L36:
ldr r3, [fp, #-8]
cmp r3, #3
bgt .L37
mov r3, #1
b .L38
.L37:
ldr r3, [fp, #-8]
.L38:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size test9, .-test9
.align 2
.global test10
.syntax unified
.arm
.fpu softvfp
.type test10, %function
test10:
@ 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]
cmp r3, #7
ble .L40
ldr r2, [fp, #-8]
ldr r3, [fp, #-12]
cmp r2, r3
bge .L41
mov r3, #0
b .L42
.L41:
ldr r3, [fp, #-8]
b .L42
.L40:
mov r3, #1
.L42:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size test10, .-test10
.align 2
.global test11
.syntax unified
.arm
.fpu softvfp
.type test11, %function
test11:
@ 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]
ldrb r3, [r3]
strb r3, [fp, #-5]
ldrb r3, [fp, #-5] @ zero_extendqisi2
cmp r3, #0
beq .L44
ldr r3, [fp, #-16]
add r2, r3, #1
str r2, [fp, #-16]
mov r2, #0
strb r2, [r3]
.L44:
ldrb r3, [fp, #-5] @ zero_extendqisi2
cmp r3, #58
bne .L45
ldr r3, [fp, #-16]
ldrb r3, [r3]
strb r3, [fp, #-5]
ldrb r3, [fp, #-5] @ zero_extendqisi2
cmp r3, #0
beq .L46
ldr r3, [fp, #-16]
add r2, r3, #1
str r2, [fp, #-16]
mov r2, #0
strb r2, [r3]
.L46:
ldrb r3, [fp, #-5] @ zero_extendqisi2
cmp r3, #44
beq .L45
mov r3, #1
b .L47
.L45:
mov r3, #0
.L47:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size test11, .-test11
.align 2
.global test12_helper
.syntax unified
.arm
.fpu softvfp
.type test12_helper, %function
test12_helper:
@ 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, .L50
ldmia r3, {r2-r3}
adds r0, r2, #1
adc r1, r3, #0
ldr ip, .L50
stm ip, {r0-r1}
mov r0, r2
mov r1, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L51:
.align 2
.L50:
.word n.4260
.size test12_helper, .-test12_helper
.align 2
.global test12
.syntax unified
.arm
.fpu softvfp
.type test12, %function
test12:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, fp, lr}
add fp, sp, #28
sub sp, sp, #16
mov r2, #0
mov r3, #0
str r2, [fp, #-44]
str r3, [fp, #-40]
b .L53
.L54:
bl test12_helper
str r0, [fp, #-36]
str r1, [fp, #-32]
sub r1, fp, #36
ldmia r1, {r0-r1}
sub r3, fp, #44
ldmia r3, {r2-r3}
adds r4, r0, r2
adc r5, r1, r3
adds r8, r4, #1
adc r9, r5, #0
str r8, [fp, #-44]
str r9, [fp, #-40]
.L53:
bl test12_helper
mov r2, r0
mov r3, r1
subs r6, r2, #1
sbc r7, r3, #0
sub r3, fp, #44
ldmia r3, {r2-r3}
cmp r3, r7
cmpeq r2, r6
bls .L54
mov r3, #1
mov r0, r3
sub sp, fp, #28
@ sp needed
pop {r4, r5, r6, r7, r8, r9, fp, pc}
.size test12, .-test12
.global __aeabi_ui2d
.global __aeabi_d2iz
.align 2
.global test13
.syntax unified
.arm
.fpu softvfp
.type test13, %function
test13:
@ 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, r0
str r1, [fp, #-28]
strb r3, [fp, #-21]
ldrb r3, [fp, #-21]
strb r3, [fp, #-17]
mov r3, #0
str r3, [fp, #-16]
ldr r3, [fp, #-16]
sub r3, r3, #1
str r3, [fp, #-12]
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-8]
ldrb r2, [fp, #-21] @ zero_extendqisi2
ldr r3, [fp, #-28]
add r2, r2, r3
ldrb r3, [fp, #-17] @ zero_extendqisi2
add r3, r2, r3
mov r2, r3
ldr r3, [fp, #-16]
add r2, r2, r3
ldr r3, [fp, #-12]
add r2, r2, r3
ldr r3, [fp, #-8]
add r3, r2, r3
mov r0, r3
bl __aeabi_ui2d
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl __aeabi_d2iz
mov r3, r0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size test13, .-test13
.align 2
.global test14
.syntax unified
.arm
.fpu softvfp
.type test14, %function
test14:
@ args = 0, 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, #-32]
ldr r3, [fp, #-32]
and r3, r3, #255
str r3, [fp, #-20]
ldr r3, [fp, #-32]
and r3, r3, #255
str r3, [fp, #-16]
ldr r3, [fp, #-32]
lsl r3, r3, #16
lsr r3, r3, #16
str r3, [fp, #-12]
ldr r3, [fp, #-32]
str r3, [fp, #-8]
ldr r3, [fp, #-32]
strb r3, [fp, #-23]
ldr r3, [fp, #-32]
strh r3, [fp, #-22] @ movhi
ldr r2, [fp, #-20]
ldr r3, [fp, #-16]
add r2, r2, r3
ldr r3, [fp, #-12]
add r2, r2, r3
ldr r3, [fp, #-8]
add r2, r2, r3
ldrb r3, [fp, #-23] @ zero_extendqisi2
add r2, r2, r3
ldrh r3, [fp, #-22]
add r3, r2, r3
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size test14, .-test14
.align 2
.global test15
.syntax unified
.arm
.fpu softvfp
.type test15, %function
test15:
@ 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]
sub r3, fp, #12
ldmia r3, {r2-r3}
cmp r2, #1
sbcs r3, r3, #0
blt .L61
ldr r3, [fp, #-12]
mov r2, r3
asr r3, r2, #31
sub r1, fp, #12
ldmia r1, {r0-r1}
cmp r1, r3
cmpeq r0, r2
bne .L61
sub r3, fp, #12
ldmia r3, {r2-r3}
b .L63
.L61:
mvn r2, #0
mvn r3, #0
.L63:
mov r0, r2
mov r1, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size test15, .-test15
.align 2
.global test_unary
.syntax unified
.arm
.fpu softvfp
.type test_unary, %function
test_unary:
@ args = 0, 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, #-64]
mov r3, #0
str r3, [fp, #-56]
ldr r3, [fp, #-64]
cmp r3, #2
ble .L65
ldr r3, [fp, #-64]
cmp r3, #11
bgt .L65
ldr r3, [fp, #-64]
str r3, [fp, #-52]
ldr r3, [fp, #-64]
rsb r3, r3, #0
str r3, [fp, #-48]
ldr r2, [fp, #-52]
ldr r3, [fp, #-48]
add r3, r2, r3
ldr r2, [fp, #-56]
add r3, r2, r3
str r3, [fp, #-56]
.L65:
ldr r3, [fp, #-64]
cmp r3, #0
blt .L66
ldr r3, [fp, #-64]
cmp r3, #11
bgt .L66
ldr r3, [fp, #-64]
str r3, [fp, #-44]
ldr r3, [fp, #-64]
rsb r3, r3, #0
str r3, [fp, #-40]
ldr r2, [fp, #-44]
ldr r3, [fp, #-40]
add r3, r2, r3
ldr r2, [fp, #-56]
add r3, r2, r3
str r3, [fp, #-56]
.L66:
ldr r3, [fp, #-64]
cmn r3, #7
blt .L67
ldr r3, [fp, #-64]
cmp r3, #11
bgt .L67
ldr r3, [fp, #-64]
str r3, [fp, #-36]
ldr r3, [fp, #-64]
rsb r3, r3, #0
str r3, [fp, #-32]
ldr r2, [fp, #-36]
ldr r3, [fp, #-32]
add r3, r2, r3
ldr r2, [fp, #-56]
add r3, r2, r3
str r3, [fp, #-56]
.L67:
ldr r3, [fp, #-64]
cmn r3, #7
blt .L68
ldr r3, [fp, #-64]
cmp r3, #1
bgt .L68
ldr r3, [fp, #-64]
str r3, [fp, #-28]
ldr r3, [fp, #-64]
rsb r3, r3, #0
str r3, [fp, #-24]
ldr r2, [fp, #-28]
ldr r3, [fp, #-24]
add r3, r2, r3
ldr r2, [fp, #-56]
add r3, r2, r3
str r3, [fp, #-56]
.L68:
ldr r3, [fp, #-64]
cmn r3, #7
blt .L69
ldr r3, [fp, #-64]
cmp r3, #0
bgt .L69
ldr r3, [fp, #-64]
str r3, [fp, #-20]
ldr r3, [fp, #-64]
rsb r3, r3, #0
str r3, [fp, #-16]
ldr r2, [fp, #-20]
ldr r3, [fp, #-16]
add r3, r2, r3
ldr r2, [fp, #-56]
add r3, r2, r3
str r3, [fp, #-56]
.L69:
ldr r3, [fp, #-64]
cmn r3, #7
blt .L70
ldr r3, [fp, #-64]
cmn r3, #1
bge .L70
ldr r3, [fp, #-64]
str r3, [fp, #-12]
ldr r3, [fp, #-64]
rsb r3, r3, #0
str r3, [fp, #-8]
ldr r2, [fp, #-12]
ldr r3, [fp, #-8]
add r3, r2, r3
ldr r2, [fp, #-56]
add r3, r2, r3
str r3, [fp, #-56]
.L70:
ldr r3, [fp, #-56]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size test_unary, .-test_unary
.align 2
.global test_mult01
.syntax unified
.arm
.fpu softvfp
.type test_mult01, %function
test_mult01:
@ args = 0, 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, #-32]
str r1, [fp, #-36]
mov r3, #0
str r3, [fp, #-28]
ldr r3, [fp, #-32]
cmp r3, #2
ble .L73
ldr r3, [fp, #-32]
cmp r3, #11
bgt .L73
ldr r3, [fp, #-36]
cmp r3, #4
ble .L73
ldr r3, [fp, #-36]
cmp r3, #23
bgt .L73
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
mul r3, r2, r3
str r3, [fp, #-24]
ldr r2, [fp, #-28]
ldr r3, [fp, #-24]
add r3, r2, r3
str r3, [fp, #-28]
.L73:
ldr r3, [fp, #-32]
cmp r3, #2
ble .L74
ldr r3, [fp, #-32]
cmp r3, #11
bgt .L74
ldr r3, [fp, #-36]
cmp r3, #0
blt .L74
ldr r3, [fp, #-36]
cmp r3, #23
bgt .L74
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
mul r3, r2, r3
str r3, [fp, #-20]
ldr r2, [fp, #-28]
ldr r3, [fp, #-20]
add r3, r2, r3
str r3, [fp, #-28]
.L74:
ldr r3, [fp, #-32]
cmp r3, #2
ble .L75
ldr r3, [fp, #-32]
cmp r3, #11
bgt .L75
ldr r3, [fp, #-36]
cmn r3, #13
blt .L75
ldr r3, [fp, #-36]
cmp r3, #23
bgt .L75
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
mul r3, r2, r3
str r3, [fp, #-16]
ldr r2, [fp, #-28]
ldr r3, [fp, #-16]
add r3, r2, r3
str r3, [fp, #-28]
.L75:
ldr r3, [fp, #-32]
cmp r3, #2
ble .L76
ldr r3, [fp, #-32]
cmp r3, #11
bgt .L76
ldr r3, [fp, #-36]
cmn r3, #13
blt .L76
ldr r3, [fp, #-36]
cmp r3, #0
bgt .L76
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
mul r3, r2, r3
str r3, [fp, #-12]
ldr r2, [fp, #-28]
ldr r3, [fp, #-12]
add r3, r2, r3
str r3, [fp, #-28]
.L76:
ldr r3, [fp, #-32]
cmp r3, #2
ble .L77
ldr r3, [fp, #-32]
cmp r3, #11
bgt .L77
ldr r3, [fp, #-36]
cmn r3, #13
blt .L77
ldr r3, [fp, #-36]
cmn r3, #6
bge .L77
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
mul r3, r2, r3
str r3, [fp, #-8]
ldr r2, [fp, #-28]
ldr r3, [fp, #-8]
add r3, r2, r3
str r3, [fp, #-28]
.L77:
ldr r3, [fp, #-28]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size test_mult01, .-test_mult01
.align 2
.global test_mult02
.syntax unified
.arm
.fpu softvfp
.type test_mult02, %function
test_mult02:
@ args = 0, 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, #-32]
str r1, [fp, #-36]
mov r3, #0
str r3, [fp, #-28]
ldr r3, [fp, #-32]
cmp r3, #0
blt .L80
ldr r3, [fp, #-32]
cmp r3, #11
bgt .L80
ldr r3, [fp, #-36]
cmp r3, #4
ble .L80
ldr r3, [fp, #-36]
cmp r3, #23
bgt .L80
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
mul r3, r2, r3
str r3, [fp, #-24]
ldr r2, [fp, #-28]
ldr r3, [fp, #-24]
add r3, r2, r3
str r3, [fp, #-28]
.L80:
ldr r3, [fp, #-32]
cmp r3, #0
blt .L81
ldr r3, [fp, #-32]
cmp r3, #11
bgt .L81
ldr r3, [fp, #-36]
cmp r3, #0
blt .L81
ldr r3, [fp, #-36]
cmp r3, #23
bgt .L81
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
mul r3, r2, r3
str r3, [fp, #-20]
ldr r2, [fp, #-28]
ldr r3, [fp, #-20]
add r3, r2, r3
str r3, [fp, #-28]
.L81:
ldr r3, [fp, #-32]
cmp r3, #0
blt .L82
ldr r3, [fp, #-32]
cmp r3, #11
bgt .L82
ldr r3, [fp, #-36]
cmn r3, #13
blt .L82
ldr r3, [fp, #-36]
cmp r3, #23
bgt .L82
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
mul r3, r2, r3
str r3, [fp, #-16]
ldr r2, [fp, #-28]
ldr r3, [fp, #-16]
add r3, r2, r3
str r3, [fp, #-28]
.L82:
ldr r3, [fp, #-32]
cmp r3, #0
blt .L83
ldr r3, [fp, #-32]
cmp r3, #11
bgt .L83
ldr r3, [fp, #-36]
cmn r3, #13
blt .L83
ldr r3, [fp, #-36]
cmp r3, #0
bgt .L83
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
mul r3, r2, r3
str r3, [fp, #-12]
ldr r2, [fp, #-28]
ldr r3, [fp, #-12]
add r3, r2, r3
str r3, [fp, #-28]
.L83:
ldr r3, [fp, #-32]
cmp r3, #0
blt .L84
ldr r3, [fp, #-32]
cmp r3, #11
bgt .L84
ldr r3, [fp, #-36]
cmn r3, #13
blt .L84
ldr r3, [fp, #-36]
cmn r3, #6
bge .L84
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
mul r3, r2, r3
str r3, [fp, #-8]
ldr r2, [fp, #-28]
ldr r3, [fp, #-8]
add r3, r2, r3
str r3, [fp, #-28]
.L84:
ldr r3, [fp, #-28]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size test_mult02, .-test_mult02
.align 2
.global test_mult03
.syntax unified
.arm
.fpu softvfp
.type test_mult03, %function
test_mult03:
@ args = 0, 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, #-32]
str r1, [fp, #-36]
mov r3, #0
str r3, [fp, #-28]
ldr r3, [fp, #-32]
cmn r3, #17
blt .L87
ldr r3, [fp, #-32]
cmp r3, #11
bgt .L87
ldr r3, [fp, #-36]
cmp r3, #4
ble .L87
ldr r3, [fp, #-36]
cmp r3, #23
bgt .L87
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
mul r3, r2, r3
str r3, [fp, #-24]
ldr r2, [fp, #-28]
ldr r3, [fp, #-24]
add r3, r2, r3
str r3, [fp, #-28]
.L87:
ldr r3, [fp, #-32]
cmn r3, #17
blt .L88
ldr r3, [fp, #-32]
cmp r3, #11
bgt .L88
ldr r3, [fp, #-36]
cmp r3, #0
blt .L88
ldr r3, [fp, #-36]
cmp r3, #23
bgt .L88
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
mul r3, r2, r3
str r3, [fp, #-20]
ldr r2, [fp, #-28]
ldr r3, [fp, #-20]
add r3, r2, r3
str r3, [fp, #-28]
.L88:
ldr r3, [fp, #-32]
cmn r3, #17
blt .L89
ldr r3, [fp, #-32]
cmp r3, #11
bgt .L89
ldr r3, [fp, #-36]
cmn r3, #13
blt .L89
ldr r3, [fp, #-36]
cmp r3, #23
bgt .L89
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
mul r3, r2, r3
str r3, [fp, #-16]
ldr r2, [fp, #-28]
ldr r3, [fp, #-16]
add r3, r2, r3
str r3, [fp, #-28]
.L89:
ldr r3, [fp, #-32]
cmn r3, #17
blt .L90
ldr r3, [fp, #-32]
cmp r3, #11
bgt .L90
ldr r3, [fp, #-36]
cmn r3, #13
blt .L90
ldr r3, [fp, #-36]
cmp r3, #0
bgt .L90
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
mul r3, r2, r3
str r3, [fp, #-12]
ldr r2, [fp, #-28]
ldr r3, [fp, #-12]
add r3, r2, r3
str r3, [fp, #-28]
.L90:
ldr r3, [fp, #-32]
cmn r3, #17
blt .L91
ldr r3, [fp, #-32]
cmp r3, #11
bgt .L91
ldr r3, [fp, #-36]
cmn r3, #13
blt .L91
ldr r3, [fp, #-36]
cmn r3, #6
bge .L91
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
mul r3, r2, r3
str r3, [fp, #-8]
ldr r2, [fp, #-28]
ldr r3, [fp, #-8]
add r3, r2, r3
str r3, [fp, #-28]
.L91:
ldr r3, [fp, #-28]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size test_mult03, .-test_mult03
.align 2
.global test_mult04
.syntax unified
.arm
.fpu softvfp
.type test_mult04, %function
test_mult04:
@ args = 0, 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, #-32]
str r1, [fp, #-36]
mov r3, #0
str r3, [fp, #-28]
ldr r3, [fp, #-32]
cmn r3, #17
blt .L94
ldr r3, [fp, #-32]
cmp r3, #0
bgt .L94
ldr r3, [fp, #-36]
cmp r3, #4
ble .L94
ldr r3, [fp, #-36]
cmp r3, #23
bgt .L94
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
mul r3, r2, r3
str r3, [fp, #-24]
ldr r2, [fp, #-28]
ldr r3, [fp, #-24]
add r3, r2, r3
str r3, [fp, #-28]
.L94:
ldr r3, [fp, #-32]
cmn r3, #17
blt .L95
ldr r3, [fp, #-32]
cmp r3, #0
bgt .L95
ldr r3, [fp, #-36]
cmp r3, #0
blt .L95
ldr r3, [fp, #-36]
cmp r3, #23
bgt .L95
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
mul r3, r2, r3
str r3, [fp, #-20]
ldr r2, [fp, #-28]
ldr r3, [fp, #-20]
add r3, r2, r3
str r3, [fp, #-28]
.L95:
ldr r3, [fp, #-32]
cmn r3, #17
blt .L96
ldr r3, [fp, #-32]
cmp r3, #0
bgt .L96
ldr r3, [fp, #-36]
cmn r3, #13
blt .L96
ldr r3, [fp, #-36]
cmp r3, #23
bgt .L96
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
mul r3, r2, r3
str r3, [fp, #-16]
ldr r2, [fp, #-28]
ldr r3, [fp, #-16]
add r3, r2, r3
str r3, [fp, #-28]
.L96:
ldr r3, [fp, #-32]
cmn r3, #17
blt .L97
ldr r3, [fp, #-32]
cmp r3, #0
bgt .L97
ldr r3, [fp, #-36]
cmn r3, #13
blt .L97
ldr r3, [fp, #-36]
cmp r3, #0
bgt .L97
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
mul r3, r2, r3
str r3, [fp, #-12]
ldr r2, [fp, #-28]
ldr r3, [fp, #-12]
add r3, r2, r3
str r3, [fp, #-28]
.L97:
ldr r3, [fp, #-32]
cmn r3, #17
blt .L98
ldr r3, [fp, #-32]
cmp r3, #0
bgt .L98
ldr r3, [fp, #-36]
cmn r3, #13
blt .L98
ldr r3, [fp, #-36]
cmn r3, #6
bge .L98
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
mul r3, r2, r3
str r3, [fp, #-8]
ldr r2, [fp, #-28]
ldr r3, [fp, #-8]
add r3, r2, r3
str r3, [fp, #-28]
.L98:
ldr r3, [fp, #-28]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size test_mult04, .-test_mult04
.align 2
.global test_mult05
.syntax unified
.arm
.fpu softvfp
.type test_mult05, %function
test_mult05:
@ args = 0, 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, #-32]
str r1, [fp, #-36]
mov r3, #0
str r3, [fp, #-28]
ldr r3, [fp, #-32]
cmn r3, #17
blt .L101
ldr r3, [fp, #-32]
cmn r3, #1
bge .L101
ldr r3, [fp, #-36]
cmp r3, #4
ble .L101
ldr r3, [fp, #-36]
cmp r3, #23
bgt .L101
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
mul r3, r2, r3
str r3, [fp, #-24]
ldr r2, [fp, #-28]
ldr r3, [fp, #-24]
add r3, r2, r3
str r3, [fp, #-28]
.L101:
ldr r3, [fp, #-32]
cmn r3, #17
blt .L102
ldr r3, [fp, #-32]
cmn r3, #1
bge .L102
ldr r3, [fp, #-36]
cmp r3, #0
blt .L102
ldr r3, [fp, #-36]
cmp r3, #23
bgt .L102
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
mul r3, r2, r3
str r3, [fp, #-20]
ldr r2, [fp, #-28]
ldr r3, [fp, #-20]
add r3, r2, r3
str r3, [fp, #-28]
.L102:
ldr r3, [fp, #-32]
cmn r3, #17
blt .L103
ldr r3, [fp, #-32]
cmn r3, #1
bge .L103
ldr r3, [fp, #-36]
cmn r3, #13
blt .L103
ldr r3, [fp, #-36]
cmp r3, #23
bgt .L103
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
mul r3, r2, r3
str r3, [fp, #-16]
ldr r2, [fp, #-28]
ldr r3, [fp, #-16]
add r3, r2, r3
str r3, [fp, #-28]
.L103:
ldr r3, [fp, #-32]
cmn r3, #17
blt .L104
ldr r3, [fp, #-32]
cmn r3, #1
bge .L104
ldr r3, [fp, #-36]
cmn r3, #13
blt .L104
ldr r3, [fp, #-36]
cmp r3, #0
bgt .L104
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
mul r3, r2, r3
str r3, [fp, #-12]
ldr r2, [fp, #-28]
ldr r3, [fp, #-12]
add r3, r2, r3
str r3, [fp, #-28]
.L104:
ldr r3, [fp, #-32]
cmn r3, #17
blt .L105
ldr r3, [fp, #-32]
cmn r3, #1
bge .L105
ldr r3, [fp, #-36]
cmn r3, #13
blt .L105
ldr r3, [fp, #-36]
cmn r3, #6
bge .L105
ldr r3, [fp, #-32]
ldr r2, [fp, #-36]
mul r3, r2, r3
str r3, [fp, #-8]
ldr r2, [fp, #-28]
ldr r3, [fp, #-8]
add r3, r2, r3
str r3, [fp, #-28]
.L105:
ldr r3, [fp, #-28]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size test_mult05, .-test_mult05
.align 2
.global test16
.syntax unified
.arm
.fpu softvfp
.type test16, %function
test16:
@ 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]
mov r3, #0
str r3, [fp, #-12]
ldr r3, [fp, #-16]
cmp r3, #0
bge .L110
mvn r3, #0
b .L109
.L111:
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L110:
ldr r3, [fp, #-12]
cmp r3, #2
ble .L111
ldr r3, [fp, #-12]
str r3, [fp, #-8]
ldr r3, [fp, #-16]
cmp r3, #0
bge .L112
ldr r3, [fp, #-16]
rsb r3, r3, #0
ldr r2, [fp, #-8]
cmp r2, r3
ble .L112
mov r3, #1
b .L109
.L112:
mov r3, #0
.L109:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size test16, .-test16
.align 2
.global test_ternary01
.syntax unified
.arm
.fpu softvfp
.type test_ternary01, %function
test_ternary01:
@ 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]
ldr r3, [fp, #-40]
cmp r3, #99
bhi .L114
ldr r3, [fp, #-40]
b .L115
.L114:
mov r3, #10
.L115:
str r3, [fp, #-12]
ldr r3, [fp, #-40]
cmp r3, #99
bhi .L116
ldr r3, [fp, #-40]
b .L117
.L116:
mov r3, #10
.L117:
str r3, [fp, #-8]
mov r3, #0
str r3, [fp, #-36]
mov r3, #0
str r3, [fp, #-32]
mov r3, #0
str r3, [fp, #-28]
mov r3, #0
str r3, [fp, #-24]
mov r3, #0
str r3, [fp, #-20]
mov r3, #0
str r3, [fp, #-16]
ldr r3, [fp, #-40]
cmp r3, #300
bcs .L118
ldr r3, [fp, #-40]
cmp r3, #0
bne .L120
mov r3, #5
.L120:
str r3, [fp, #-36]
ldr r3, [fp, #-40]
cmp r3, #0
bne .L122
mov r3, #500
.L122:
str r3, [fp, #-32]
ldr r3, [fp, #-40]
add r3, r3, #1
cmp r3, #0
bne .L124
mov r3, #500
.L124:
str r3, [fp, #-28]
ldr r3, [fp, #-40]
and r3, r3, #255
add r3, r3, #1
and r3, r3, #255
cmp r3, #0
beq .L125
b .L126
.L125:
mov r3, #5
.L126:
str r3, [fp, #-24]
ldr r3, [fp, #-40]
and r3, r3, #255
add r3, r3, #1
and r3, r3, #255
cmp r3, #0
beq .L127
b .L128
.L127:
mov r3, #500
.L128:
str r3, [fp, #-20]
ldr r3, [fp, #-40]
lsl r3, r3, #16
lsr r3, r3, #16
add r3, r3, #1
lsl r3, r3, #16
lsr r3, r3, #16
cmp r3, #0
beq .L129
b .L130
.L129:
mov r3, #500
.L130:
str r3, [fp, #-16]
.L118:
ldr r2, [fp, #-12]
ldr r3, [fp, #-8]
add r2, r2, r3
ldr r3, [fp, #-36]
add r2, r2, r3
ldr r3, [fp, #-32]
add r2, r2, r3
ldr r3, [fp, #-28]
add r2, r2, r3
ldr r3, [fp, #-24]
add r2, r2, r3
ldr r3, [fp, #-20]
add r2, r2, r3
ldr r3, [fp, #-16]
add r3, r2, r3
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size test_ternary01, .-test_ternary01
.align 2
.global test_ternary02
.syntax unified
.arm
.fpu softvfp
.type test_ternary02, %function
test_ternary02:
@ args = 0, 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, #-32]
ldr r3, [fp, #-32]
cmp r3, #100
bls .L133
ldr r3, [fp, #-32]
b .L134
.L133:
mov r3, #110
.L134:
str r3, [fp, #-12]
ldr r3, [fp, #-32]
cmp r3, #100
bls .L135
ldr r3, [fp, #-32]
b .L136
.L135:
mov r3, #110
.L136:
str r3, [fp, #-8]
mov r3, #1000
str r3, [fp, #-24]
mov r3, #1000
str r3, [fp, #-20]
mov r3, #1000
str r3, [fp, #-16]
ldr r3, [fp, #-32]
cmp r3, #300
bcc .L137
ldr r3, [fp, #-32]
sub r3, r3, #300
cmp r3, #0
bne .L139
mov r3, #5
.L139:
str r3, [fp, #-24]
ldr r3, [fp, #-32]
sub r3, r3, #200
cmp r3, #0
bne .L141
mov r3, #5
.L141:
str r3, [fp, #-20]
ldr r3, [fp, #-32]
and r3, r3, #255
add r3, r3, #56
and r3, r3, #255
cmp r3, #0
beq .L142
b .L143
.L142:
mov r3, #5
.L143:
str r3, [fp, #-16]
.L137:
ldr r2, [fp, #-12]
ldr r3, [fp, #-8]
add r2, r2, r3
ldr r3, [fp, #-24]
add r2, r2, r3
ldr r3, [fp, #-20]
add r2, r2, r3
ldr r3, [fp, #-16]
add r3, r2, r3
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size test_ternary02, .-test_ternary02
.align 2
.global test_comma01
.syntax unified
.arm
.fpu softvfp
.type test_comma01, %function
test_comma01:
@ 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]
ldr r3, [fp, #-24]
cmp r3, #100
movcc r3, r3
movcs r3, #100
str r3, [fp, #-16]
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
ldr r3, [fp, #-16]
str r3, [fp, #-12]
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
ldr r3, [fp, #-16]
add r3, r3, #3
str r3, [fp, #-16]
ldr r3, [fp, #-16]
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 test_comma01, .-test_comma01
.align 2
.global test17
.syntax unified
.arm
.fpu softvfp
.type test17, %function
test17:
@ 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, #10
str r3, [fp, #-12]
ldr r0, [fp, #-12]
bl out
mov r3, #10
str r3, [fp, #-12]
ldr r3, [fp, #-12]
add r3, r3, #10
str r3, [fp, #-12]
ldr r0, [fp, #-12]
bl out
mov r3, #40
str r3, [fp, #-12]
ldr r3, [fp, #-12]
sub r3, r3, #10
str r3, [fp, #-12]
ldr r0, [fp, #-12]
bl out
mov r3, #40
str r3, [fp, #-8]
ldr r3, [fp, #-8]
str r3, [fp, #-12]
ldr r0, [fp, #-12]
bl out
ldr r3, [fp, #-8]
add r3, r3, #10
str r3, [fp, #-8]
ldr r3, [fp, #-8]
str r3, [fp, #-12]
ldr r0, [fp, #-12]
bl out
ldr r3, [fp, #-8]
sub r3, r3, #10
str r3, [fp, #-8]
ldr r3, [fp, #-8]
add r3, r3, #20
str r3, [fp, #-12]
ldr r0, [fp, #-12]
bl out
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size test17, .-test17
.align 2
.global test_unsigned_mult01
.syntax unified
.arm
.fpu softvfp
.type test_unsigned_mult01, %function
test_unsigned_mult01:
@ 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, #0
str r3, [fp, #-20]
ldr r3, [fp, #-24]
cmp r3, #2
bls .L149
ldr r3, [fp, #-24]
cmp r3, #11
bhi .L149
ldr r3, [fp, #-28]
cmp r3, #4
bls .L149
ldr r3, [fp, #-28]
cmp r3, #23
bhi .L149
ldr r3, [fp, #-24]
ldr r2, [fp, #-28]
mul r3, r2, r3
str r3, [fp, #-16]
ldr r2, [fp, #-20]
ldr r3, [fp, #-16]
add r3, r2, r3
str r3, [fp, #-20]
.L149:
ldr r3, [fp, #-24]
cmp r3, #2
bls .L150
ldr r3, [fp, #-24]
cmp r3, #11
bhi .L150
ldr r3, [fp, #-28]
cmp r3, #23
bhi .L150
ldr r3, [fp, #-24]
ldr r2, [fp, #-28]
mul r3, r2, r3
str r3, [fp, #-12]
ldr r2, [fp, #-20]
ldr r3, [fp, #-12]
add r3, r2, r3
str r3, [fp, #-20]
.L150:
ldr r3, [fp, #-24]
cmp r3, #2
bls .L151
ldr r3, [fp, #-24]
cmp r3, #11
bhi .L151
ldr r3, [fp, #-28]
cmp r3, #12
bls .L151
ldr r3, [fp, #-28]
cmp r3, #23
bhi .L151
ldr r3, [fp, #-24]
ldr r2, [fp, #-28]
mul r3, r2, r3
str r3, [fp, #-8]
ldr r2, [fp, #-20]
ldr r3, [fp, #-8]
add r3, r2, r3
str r3, [fp, #-20]
.L151:
ldr r3, [fp, #-20]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size test_unsigned_mult01, .-test_unsigned_mult01
.align 2
.global test_unsigned_mult02
.syntax unified
.arm
.fpu softvfp
.type test_unsigned_mult02, %function
test_unsigned_mult02:
@ 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]
mov r3, #0
str r3, [fp, #-20]
ldr r3, [fp, #-24]
cmp r3, #4
bls .L154
ldr r3, [fp, #-24]
cmp r3, #23
bhi .L154
ldr r2, [fp, #-24]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
str r3, [fp, #-16]
ldr r2, [fp, #-20]
ldr r3, [fp, #-16]
add r3, r2, r3
str r3, [fp, #-20]
.L154:
ldr r3, [fp, #-24]
cmp r3, #23
bhi .L155
ldr r2, [fp, #-24]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
str r3, [fp, #-12]
ldr r2, [fp, #-20]
ldr r3, [fp, #-12]
add r3, r2, r3
str r3, [fp, #-20]
.L155:
ldr r3, [fp, #-24]
cmp r3, #12
bls .L156
ldr r3, [fp, #-24]
cmp r3, #23
bhi .L156
ldr r2, [fp, #-24]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
str r3, [fp, #-8]
ldr r2, [fp, #-20]
ldr r3, [fp, #-8]
add r3, r2, r3
str r3, [fp, #-20]
.L156:
ldr r3, [fp, #-20]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size test_unsigned_mult02, .-test_unsigned_mult02
.align 2
.global mult_rounding
.syntax unified
.arm
.fpu softvfp
.type mult_rounding, %function
mult_rounding:
@ 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
ldr r3, .L160
str r3, [fp, #-16]
ldr r3, [fp, #-16]
str r3, [fp, #-12]
ldr r3, [fp, #-12]
ldr r2, [fp, #-16]
mul 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
.L161:
.align 2
.L160:
.word 1000000003
.size mult_rounding, .-mult_rounding
.align 2
.global mult_overflow
.syntax unified
.arm
.fpu softvfp
.type mult_overflow, %function
mult_overflow:
@ 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
ldr r3, .L164
str r3, [fp, #-16]
ldr r3, .L164+4
str r3, [fp, #-12]
ldr r3, [fp, #-16]
ldr r2, [fp, #-12]
mul 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
.L165:
.align 2
.L164:
.word 274177
.word -241381119
.size mult_overflow, .-mult_overflow
.align 2
.global mult_lower_bound
.syntax unified
.arm
.fpu softvfp
.type mult_lower_bound, %function
mult_lower_bound:
@ 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]
cmp r3, #9
bls .L167
ldr r3, [fp, #-16]
mov r2, r3
mul r2, r3, r2
mov r3, r2
str r3, [fp, #-8]
ldr r3, [fp, #-8]
b .L168
.L167:
ldr r3, [fp, #-20]
cmp r3, #9
bls .L169
ldr r3, [fp, #-20]
mov r2, r3
mul r2, r3, r2
mov r3, r2
str r3, [fp, #-12]
ldr r3, [fp, #-12]
b .L168
.L169:
mov r3, #0
.L168:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size mult_lower_bound, .-mult_lower_bound
.align 2
.global mul_assign
.syntax unified
.arm
.fpu softvfp
.type mul_assign, %function
mul_assign:
@ 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]
cmp r3, #10
bhi .L171
ldr r3, [fp, #-16]
cmp r3, #1
bls .L171
ldr r3, [fp, #-16]
mov r2, r3
mul r2, r3, r2
mov r3, r2
str r3, [fp, #-16]
ldr r3, [fp, #-16]
b .L172
.L171:
mov r3, #10
str r3, [fp, #-12]
ldr r3, [fp, #-12]
lsl r3, r3, #2
str r3, [fp, #-12]
mov r3, #10
str r3, [fp, #-8]
ldr r3, [fp, #-8]
lsl r3, r3, #2
str r3, [fp, #-8]
ldr r2, [fp, #-12]
ldr r3, [fp, #-8]
add r3, r2, r3
.L172:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size mul_assign, .-mul_assign
.section .rodata
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global mul_by_constant
.syntax unified
.arm
.fpu softvfp
.type mul_by_constant, %function
mul_by_constant:
@ 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, .L178
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, [fp, #-16]
cmn r3, #1
blt .L174
ldr r3, [fp, #-16]
cmp r3, #2
bgt .L174
ldr r2, [fp, #-16]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
str r3, [fp, #-16]
ldr r0, [fp, #-16]
bl out
ldr r3, [fp, #-16]
mov r2, r3
lsl r3, r3, #2
sub r3, r2, r3
str r3, [fp, #-16]
ldr r0, [fp, #-16]
bl out
ldr r2, [fp, #-16]
mov r3, r2
lsl r3, r3, #3
sub r3, r3, r2
str r3, [fp, #-16]
ldr r0, [fp, #-16]
bl out
ldr r2, [fp, #-16]
mov r3, r2
lsl r3, r3, #28
sub r3, r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #2
add r3, r3, r2
str r3, [fp, #-16]
ldr r0, [fp, #-16]
bl out
.L174:
ldr r3, [fp, #-16]
cmn r3, #1
bne .L175
ldr r3, [fp, #-16]
rsb r3, r3, #0
str r3, [fp, #-16]
ldr r0, [fp, #-16]
bl out
.L175:
ldr r3, [fp, #-16]
rsb r3, r3, #0
str r3, [fp, #-16]
ldr r0, [fp, #-16]
bl out
mov r3, #1
strb r3, [fp, #-9]
ldrsb r3, [fp, #-9]
and r3, r3, #255
lsl r3, r3, #1
and r3, r3, #255
lsl r3, r3, #24
asr r3, r3, #24
strb r3, [fp, #-9]
ldrsb r3, [fp, #-9]
str r3, [fp, #-16]
ldrsb r3, [fp, #-9]
mov r0, r3
bl out
ldr r0, [fp, #-16]
bl out
mov r3, #0
ldr r2, .L178
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L177
bl __stack_chk_fail
.L177:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L179:
.align 2
.L178:
.word .LC0
.size mul_by_constant, .-mul_by_constant
.local n.4260
.comm n.4260,8,8
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "521057.c"
.intel_syntax noprefix
.text
.globl mutex
.bss
.align 32
.type mutex, @object
.size mutex, 40
mutex:
.zero 40
.globl data
.align 4
.type data, @object
.size data, 4
data:
.zero 4
.text
.globl thread1
.type thread1, @function
thread1:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
lea rdi, mutex[rip]
call pthread_mutex_lock@PLT
mov eax, DWORD PTR data[rip]
add eax, 1
mov DWORD PTR data[rip], eax
lea rdi, mutex[rip]
call pthread_mutex_unlock@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size thread1, .-thread1
.globl thread2
.type thread2, @function
thread2:
.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 QWORD PTR -8[rbp], rdi
lea rdi, mutex[rip]
call pthread_mutex_lock@PLT
mov eax, DWORD PTR data[rip]
add eax, 2
mov DWORD PTR data[rip], eax
lea rdi, mutex[rip]
call pthread_mutex_unlock@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size thread2, .-thread2
.globl thread3
.type thread3, @function
thread3:
.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 QWORD PTR -8[rbp], rdi
lea rdi, mutex[rip]
call pthread_mutex_lock@PLT
mov eax, DWORD PTR data[rip]
cmp eax, 2
jle .L4
nop
.L5:
mov eax, 0
call __VERIFIER_error@PLT
.L4:
lea rdi, mutex[rip]
call pthread_mutex_unlock@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE2:
.size thread3, .-thread3
.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, 32
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov esi, 0
lea rdi, mutex[rip]
call pthread_mutex_init@PLT
lea rax, -32[rbp]
mov ecx, 0
lea rdx, thread1[rip]
mov esi, 0
mov rdi, rax
call pthread_create@PLT
lea rax, -24[rbp]
mov ecx, 0
lea rdx, thread2[rip]
mov esi, 0
mov rdi, rax
call pthread_create@PLT
lea rax, -16[rbp]
mov ecx, 0
lea rdx, thread3[rip]
mov esi, 0
mov rdi, rax
call pthread_create@PLT
mov rax, QWORD PTR -32[rbp]
mov esi, 0
mov rdi, rax
call pthread_join@PLT
mov rax, QWORD PTR -24[rbp]
mov esi, 0
mov rdi, rax
call pthread_join@PLT
mov rax, QWORD PTR -16[rbp]
mov esi, 0
mov rdi, rax
call pthread_join@PLT
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
.LFE3:
.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 "521057.c"
.text
.comm mutex,24,4
.global data
.bss
.align 2
.type data, %object
.size data, 4
data:
.space 4
.text
.align 2
.global thread1
.syntax unified
.arm
.fpu softvfp
.type thread1, %function
thread1:
@ 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, .L2
bl pthread_mutex_lock
ldr r3, .L2+4
ldr r3, [r3]
add r3, r3, #1
ldr r2, .L2+4
str r3, [r2]
ldr r0, .L2
bl pthread_mutex_unlock
nop
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L3:
.align 2
.L2:
.word mutex
.word data
.size thread1, .-thread1
.align 2
.global thread2
.syntax unified
.arm
.fpu softvfp
.type thread2, %function
thread2:
@ 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, .L5
bl pthread_mutex_lock
ldr r3, .L5+4
ldr r3, [r3]
add r3, r3, #2
ldr r2, .L5+4
str r3, [r2]
ldr r0, .L5
bl pthread_mutex_unlock
nop
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L6:
.align 2
.L5:
.word mutex
.word data
.size thread2, .-thread2
.align 2
.global thread3
.syntax unified
.arm
.fpu softvfp
.type thread3, %function
thread3:
@ 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, .L10
bl pthread_mutex_lock
ldr r3, .L10+4
ldr r3, [r3]
cmp r3, #2
ble .L8
nop
.L9:
bl __VERIFIER_error
.L8:
ldr r0, .L10
bl pthread_mutex_unlock
nop
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L11:
.align 2
.L10:
.word mutex
.word data
.size thread3, .-thread3
.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 = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
ldr r3, .L15
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r1, #0
ldr r0, .L15+4
bl pthread_mutex_init
sub r0, fp, #20
mov r3, #0
ldr r2, .L15+8
mov r1, #0
bl pthread_create
sub r0, fp, #16
mov r3, #0
ldr r2, .L15+12
mov r1, #0
bl pthread_create
sub r0, fp, #12
mov r3, #0
ldr r2, .L15+16
mov r1, #0
bl pthread_create
ldr r3, [fp, #-20]
mov r1, #0
mov r0, r3
bl pthread_join
ldr r3, [fp, #-16]
mov r1, #0
mov r0, r3
bl pthread_join
ldr r3, [fp, #-12]
mov r1, #0
mov r0, r3
bl pthread_join
mov r3, #0
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, pc}
.L16:
.align 2
.L15:
.word .LC0
.word mutex
.word thread1
.word thread2
.word thread3
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "687720.c"
.intel_syntax noprefix
.text
.globl insere_disco
.type insere_disco, @function
insere_disco:
.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
.cfi_offset 3, -24
mov QWORD PTR -64[rbp], rdi
mov DWORD PTR -68[rbp], esi
mov DWORD PTR -32[rbp], 0
mov DWORD PTR -28[rbp], 0
jmp .L2
.L6:
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov edx, DWORD PTR 52[rax]
mov eax, DWORD PTR 68[rbp]
cmp edx, eax
jne .L3
mov DWORD PTR -40[rbp], 0
mov eax, DWORD PTR -28[rbp]
mov DWORD PTR -44[rbp], eax
mov DWORD PTR -32[rbp], 1
jmp .L4
.L3:
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov edx, DWORD PTR 52[rax]
mov eax, DWORD PTR 68[rbp]
cmp edx, eax
jle .L5
mov DWORD PTR -40[rbp], 1
mov eax, DWORD PTR -28[rbp]
mov DWORD PTR -44[rbp], eax
mov DWORD PTR -32[rbp], 1
jmp .L4
.L5:
add DWORD PTR -28[rbp], 1
.L2:
mov eax, DWORD PTR -28[rbp]
cmp eax, DWORD PTR -68[rbp]
jl .L6
.L4:
cmp DWORD PTR -32[rbp], 0
je .L7
mov DWORD PTR -24[rbp], 0
cmp DWORD PTR -40[rbp], 0
jne .L8
mov eax, DWORD PTR -44[rbp]
mov DWORD PTR -20[rbp], eax
jmp .L9
.L13:
mov eax, DWORD PTR -20[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov edx, DWORD PTR 56[rax]
mov eax, DWORD PTR 72[rbp]
cmp edx, eax
jne .L10
mov DWORD PTR -36[rbp], 0
mov eax, DWORD PTR -20[rbp]
mov DWORD PTR -44[rbp], eax
mov DWORD PTR -24[rbp], 1
jmp .L11
.L10:
mov eax, DWORD PTR -20[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov edx, DWORD PTR 56[rax]
mov eax, DWORD PTR 72[rbp]
cmp edx, eax
jle .L12
mov DWORD PTR -36[rbp], 1
mov eax, DWORD PTR -20[rbp]
mov DWORD PTR -44[rbp], eax
mov DWORD PTR -24[rbp], 1
jmp .L11
.L12:
add DWORD PTR -20[rbp], 1
.L9:
mov eax, DWORD PTR -20[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov edx, DWORD PTR 52[rax]
mov eax, DWORD PTR 68[rbp]
cmp edx, eax
je .L13
.L11:
cmp DWORD PTR -24[rbp], 0
je .L14
mov DWORD PTR -16[rbp], 0
cmp DWORD PTR -36[rbp], 0
jne .L8
mov eax, DWORD PTR -44[rbp]
mov DWORD PTR -20[rbp], eax
jmp .L15
.L18:
mov eax, DWORD PTR -20[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov edx, DWORD PTR 60[rax]
mov eax, DWORD PTR 76[rbp]
cmp edx, eax
jle .L16
mov DWORD PTR -36[rbp], 1
mov eax, DWORD PTR -20[rbp]
mov DWORD PTR -44[rbp], eax
mov DWORD PTR -16[rbp], 1
jmp .L17
.L16:
add DWORD PTR -20[rbp], 1
.L15:
mov eax, DWORD PTR -20[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov edx, DWORD PTR 56[rax]
mov eax, DWORD PTR 72[rbp]
cmp edx, eax
je .L18
.L17:
cmp DWORD PTR -16[rbp], 0
jne .L8
mov eax, DWORD PTR -20[rbp]
mov DWORD PTR -44[rbp], eax
jmp .L8
.L14:
mov eax, DWORD PTR -20[rbp]
mov DWORD PTR -44[rbp], eax
jmp .L8
.L7:
mov eax, DWORD PTR -68[rbp]
mov DWORD PTR -44[rbp], eax
.L8:
mov eax, DWORD PTR -68[rbp]
mov DWORD PTR -12[rbp], eax
jmp .L19
.L20:
mov eax, DWORD PTR -12[rbp]
cdqe
sal rax, 6
lea rdx, -64[rax]
mov rax, QWORD PTR -64[rbp]
add rdx, rax
mov eax, DWORD PTR -12[rbp]
cdqe
sal rax, 6
mov rcx, rax
mov rax, QWORD PTR -64[rbp]
add rax, rcx
mov rcx, QWORD PTR [rdx]
mov rbx, QWORD PTR 8[rdx]
mov QWORD PTR [rax], rcx
mov QWORD PTR 8[rax], rbx
mov rcx, QWORD PTR 16[rdx]
mov rbx, QWORD PTR 24[rdx]
mov QWORD PTR 16[rax], rcx
mov QWORD PTR 24[rax], rbx
mov rcx, QWORD PTR 32[rdx]
mov rbx, QWORD PTR 40[rdx]
mov QWORD PTR 32[rax], rcx
mov QWORD PTR 40[rax], rbx
mov rcx, QWORD PTR 48[rdx]
mov rbx, QWORD PTR 56[rdx]
mov QWORD PTR 48[rax], rcx
mov QWORD PTR 56[rax], rbx
sub DWORD PTR -12[rbp], 1
.L19:
mov eax, DWORD PTR -12[rbp]
cmp eax, DWORD PTR -44[rbp]
jge .L20
mov eax, DWORD PTR -44[rbp]
cdqe
sal rax, 6
mov rdx, rax
mov rax, QWORD PTR -64[rbp]
add rax, rdx
mov rcx, QWORD PTR 16[rbp]
mov rbx, QWORD PTR 24[rbp]
mov QWORD PTR [rax], rcx
mov QWORD PTR 8[rax], rbx
mov rcx, QWORD PTR 32[rbp]
mov rbx, QWORD PTR 40[rbp]
mov QWORD PTR 16[rax], rcx
mov QWORD PTR 24[rax], rbx
mov rcx, QWORD PTR 48[rbp]
mov rbx, QWORD PTR 56[rbp]
mov QWORD PTR 32[rax], rcx
mov QWORD PTR 40[rax], rbx
mov rcx, QWORD PTR 64[rbp]
mov rbx, QWORD PTR 72[rbp]
mov QWORD PTR 48[rax], rcx
mov QWORD PTR 56[rax], rbx
nop
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size insere_disco, .-insere_disco
.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 "687720.c"
.text
.align 2
.global insere_disco
.syntax unified
.arm
.fpu softvfp
.type insere_disco, %function
insere_disco:
@ args = 72, pretend = 16, frame = 40
@ frame_needed = 1, uses_anonymous_args = 0
sub sp, sp, #16
push {fp, lr}
add fp, sp, #4
sub sp, sp, #40
add ip, fp, #4
stm ip, {r0, r1, r2, r3}
mov r3, #0
str r3, [fp, #-28]
mov r3, #0
str r3, [fp, #-24]
b .L2
.L6:
ldr r3, [fp, #-24]
lsl r3, r3, #6
ldr r2, [fp, #68]
add r3, r2, r3
ldr r2, [r3, #52]
ldr r3, [fp, #56]
cmp r2, r3
bne .L3
mov r3, #0
str r3, [fp, #-36]
ldr r3, [fp, #-24]
str r3, [fp, #-40]
mov r3, #1
str r3, [fp, #-28]
b .L4
.L3:
ldr r3, [fp, #-24]
lsl r3, r3, #6
ldr r2, [fp, #68]
add r3, r2, r3
ldr r2, [r3, #52]
ldr r3, [fp, #56]
cmp r2, r3
ble .L5
mov r3, #1
str r3, [fp, #-36]
ldr r3, [fp, #-24]
str r3, [fp, #-40]
mov r3, #1
str r3, [fp, #-28]
b .L4
.L5:
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L2:
ldr r2, [fp, #-24]
ldr r3, [fp, #72]
cmp r2, r3
blt .L6
.L4:
ldr r3, [fp, #-28]
cmp r3, #0
beq .L7
mov r3, #0
str r3, [fp, #-20]
ldr r3, [fp, #-36]
cmp r3, #0
bne .L8
ldr r3, [fp, #-40]
str r3, [fp, #-16]
b .L9
.L13:
ldr r3, [fp, #-16]
lsl r3, r3, #6
ldr r2, [fp, #68]
add r3, r2, r3
ldr r2, [r3, #56]
ldr r3, [fp, #60]
cmp r2, r3
bne .L10
mov r3, #0
str r3, [fp, #-32]
ldr r3, [fp, #-16]
str r3, [fp, #-40]
mov r3, #1
str r3, [fp, #-20]
b .L11
.L10:
ldr r3, [fp, #-16]
lsl r3, r3, #6
ldr r2, [fp, #68]
add r3, r2, r3
ldr r2, [r3, #56]
ldr r3, [fp, #60]
cmp r2, r3
ble .L12
mov r3, #1
str r3, [fp, #-32]
ldr r3, [fp, #-16]
str r3, [fp, #-40]
mov r3, #1
str r3, [fp, #-20]
b .L11
.L12:
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L9:
ldr r3, [fp, #-16]
lsl r3, r3, #6
ldr r2, [fp, #68]
add r3, r2, r3
ldr r2, [r3, #52]
ldr r3, [fp, #56]
cmp r2, r3
beq .L13
.L11:
ldr r3, [fp, #-20]
cmp r3, #0
beq .L14
mov r3, #0
str r3, [fp, #-12]
ldr r3, [fp, #-32]
cmp r3, #0
bne .L8
ldr r3, [fp, #-40]
str r3, [fp, #-16]
b .L15
.L18:
ldr r3, [fp, #-16]
lsl r3, r3, #6
ldr r2, [fp, #68]
add r3, r2, r3
ldr r2, [r3, #60]
ldr r3, [fp, #64]
cmp r2, r3
ble .L16
mov r3, #1
str r3, [fp, #-32]
ldr r3, [fp, #-16]
str r3, [fp, #-40]
mov r3, #1
str r3, [fp, #-12]
b .L17
.L16:
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L15:
ldr r3, [fp, #-16]
lsl r3, r3, #6
ldr r2, [fp, #68]
add r3, r2, r3
ldr r2, [r3, #56]
ldr r3, [fp, #60]
cmp r2, r3
beq .L18
.L17:
ldr r3, [fp, #-12]
cmp r3, #0
bne .L8
ldr r3, [fp, #-16]
str r3, [fp, #-40]
b .L8
.L14:
ldr r3, [fp, #-16]
str r3, [fp, #-40]
b .L8
.L7:
ldr r3, [fp, #72]
str r3, [fp, #-40]
.L8:
ldr r3, [fp, #72]
str r3, [fp, #-8]
b .L19
.L20:
ldr r3, [fp, #-8]
sub r3, r3, #-67108863
lsl r3, r3, #6
ldr r2, [fp, #68]
add r1, r2, r3
ldr r3, [fp, #-8]
lsl r3, r3, #6
ldr r2, [fp, #68]
add r3, r2, r3
mov ip, r3
mov lr, r1
ldmia lr!, {r0, r1, r2, r3}
stmia ip!, {r0, r1, r2, r3}
ldmia lr!, {r0, r1, r2, r3}
stmia ip!, {r0, r1, r2, r3}
ldmia lr!, {r0, r1, r2, r3}
stmia ip!, {r0, r1, r2, r3}
ldm lr, {r0, r1, r2, r3}
stm ip, {r0, r1, r2, r3}
ldr r3, [fp, #-8]
sub r3, r3, #1
str r3, [fp, #-8]
.L19:
ldr r2, [fp, #-8]
ldr r3, [fp, #-40]
cmp r2, r3
bge .L20
ldr r3, [fp, #-40]
lsl r3, r3, #6
ldr r2, [fp, #68]
add r3, r2, r3
mov lr, r3
add ip, fp, #4
ldmia ip!, {r0, r1, r2, r3}
stmia lr!, {r0, r1, r2, r3}
ldmia ip!, {r0, r1, r2, r3}
stmia lr!, {r0, r1, r2, r3}
ldmia ip!, {r0, r1, r2, r3}
stmia lr!, {r0, r1, r2, r3}
ldm ip, {r0, r1, r2, r3}
stm lr, {r0, r1, r2, r3}
nop
sub sp, fp, #4
@ sp needed
pop {fp, lr}
add sp, sp, #16
bx lr
.size insere_disco, .-insere_disco
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "127869.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 "127869.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "791619.c"
.intel_syntax noprefix
.text
.local data_array_lock
.comm data_array_lock,40,32
.local g_data_array
.comm g_data_array,8,8
.local g_data_array_size
.comm g_data_array_size,8,8
.local g_num_data_elements
.comm g_num_data_elements,8,8
.globl append_data_element
.type append_data_element, @function
append_data_element:
.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 -40[rbp], rdi
mov QWORD PTR -48[rbp], rsi
mov BYTE PTR -17[rbp], 0
mov QWORD PTR -16[rbp], 0
cmp QWORD PTR -40[rbp], 0
je .L2
cmp QWORD PTR -48[rbp], 0
je .L2
mov edi, 16
call malloc@PLT
mov QWORD PTR -16[rbp], rax
cmp QWORD PTR -16[rbp], 0
je .L12
mov rax, QWORD PTR -40[rbp]
mov rdi, rax
call strdup@PLT
mov rdx, rax
mov rax, QWORD PTR -16[rbp]
mov QWORD PTR [rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
je .L13
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR -48[rbp]
mov QWORD PTR [rax], rdx
lea rdi, data_array_lock[rip]
call pthread_mutex_lock@PLT
mov rax, QWORD PTR g_data_array[rip]
test rax, rax
jne .L5
mov edi, 800
call malloc@PLT
mov QWORD PTR g_data_array[rip], rax
mov rax, QWORD PTR g_data_array[rip]
test rax, rax
jne .L6
lea rdi, data_array_lock[rip]
call pthread_mutex_unlock@PLT
jmp .L2
.L6:
mov QWORD PTR g_data_array_size[rip], 100
jmp .L7
.L5:
mov rdx, QWORD PTR g_num_data_elements[rip]
mov rax, QWORD PTR g_data_array_size[rip]
cmp rdx, rax
jne .L7
mov rax, QWORD PTR g_data_array_size[rip]
add rax, 100
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR g_data_array[rip]
mov rsi, rdx
mov rdi, rax
call realloc@PLT
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
jne .L8
lea rdi, data_array_lock[rip]
call pthread_mutex_unlock@PLT
jmp .L2
.L8:
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR g_data_array[rip], rax
mov rax, QWORD PTR g_data_array_size[rip]
add rax, 100
mov QWORD PTR g_data_array_size[rip], rax
.L7:
mov rdx, QWORD PTR g_data_array[rip]
mov rax, QWORD PTR g_num_data_elements[rip]
sal rax, 3
add rdx, rax
mov rax, QWORD PTR -16[rbp]
mov QWORD PTR [rdx], rax
mov rax, QWORD PTR g_num_data_elements[rip]
add rax, 1
mov QWORD PTR g_num_data_elements[rip], rax
lea rdi, data_array_lock[rip]
call pthread_mutex_unlock@PLT
mov BYTE PTR -17[rbp], 1
jmp .L2
.L12:
nop
jmp .L2
.L13:
nop
.L2:
movzx eax, BYTE PTR -17[rbp]
xor eax, 1
test al, al
je .L9
cmp QWORD PTR -16[rbp], 0
je .L9
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
je .L10
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call free@PLT
.L10:
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call free@PLT
.L9:
movzx eax, BYTE PTR -17[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size append_data_element, .-append_data_element
.section .rodata
.LC0:
.string "World"
.LC1:
.string "Hello"
.LC2:
.string "Added element to array"
.align 8
.LC3:
.string "Failed to add element to array"
.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
lea rsi, .LC0[rip]
lea rdi, .LC1[rip]
call append_data_element
test al, al
je .L15
lea rdi, .LC2[rip]
call puts@PLT
mov eax, 0
jmp .L16
.L15:
lea rdi, .LC3[rip]
call puts@PLT
mov eax, 1
.L16:
pop rbp
.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 "791619.c"
.text
.local data_array_lock
.comm data_array_lock,24,4
.local g_data_array
.comm g_data_array,4,4
.local g_data_array_size
.comm g_data_array_size,4,4
.local g_num_data_elements
.comm g_num_data_elements,4,4
.align 2
.global append_data_element
.syntax unified
.arm
.fpu softvfp
.type append_data_element, %function
append_data_element:
@ 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]
mov r3, #0
strb r3, [fp, #-13]
mov r3, #0
str r3, [fp, #-12]
ldr r3, [fp, #-24]
cmp r3, #0
beq .L2
ldr r3, [fp, #-28]
cmp r3, #0
beq .L2
mov r0, #8
bl malloc
mov r3, r0
str r3, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #0
beq .L12
ldr r0, [fp, #-24]
bl strdup
mov r3, r0
mov r2, r3
ldr r3, [fp, #-12]
str r2, [r3]
ldr r3, [fp, #-12]
ldr r3, [r3]
cmp r3, #0
beq .L13
ldr r3, [fp, #-12]
ldr r2, [fp, #-28]
str r2, [r3]
ldr r0, .L14
bl pthread_mutex_lock
ldr r3, .L14+4
ldr r3, [r3]
cmp r3, #0
bne .L5
mov r0, #400
bl malloc
mov r3, r0
mov r2, r3
ldr r3, .L14+4
str r2, [r3]
ldr r3, .L14+4
ldr r3, [r3]
cmp r3, #0
bne .L6
ldr r0, .L14
bl pthread_mutex_unlock
b .L2
.L6:
ldr r3, .L14+8
mov r2, #100
str r2, [r3]
b .L7
.L5:
ldr r3, .L14+12
ldr r2, [r3]
ldr r3, .L14+8
ldr r3, [r3]
cmp r2, r3
bne .L7
ldr r3, .L14+4
ldr r2, [r3]
ldr r3, .L14+8
ldr r3, [r3]
add r3, r3, #100
lsl r3, r3, #2
mov r1, r3
mov r0, r2
bl realloc
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
bne .L8
ldr r0, .L14
bl pthread_mutex_unlock
b .L2
.L8:
ldr r2, .L14+4
ldr r3, [fp, #-8]
str r3, [r2]
ldr r3, .L14+8
ldr r3, [r3]
add r3, r3, #100
ldr r2, .L14+8
str r3, [r2]
.L7:
ldr r3, .L14+4
ldr r2, [r3]
ldr r3, .L14+12
ldr r3, [r3]
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [fp, #-12]
str r2, [r3]
ldr r3, .L14+12
ldr r3, [r3]
add r3, r3, #1
ldr r2, .L14+12
str r3, [r2]
ldr r0, .L14
bl pthread_mutex_unlock
mov r3, #1
strb r3, [fp, #-13]
b .L2
.L12:
nop
b .L2
.L13:
nop
.L2:
ldrb r3, [fp, #-13]
eor r3, r3, #1
and r3, r3, #255
cmp r3, #0
beq .L9
ldr r3, [fp, #-12]
cmp r3, #0
beq .L9
ldr r3, [fp, #-12]
ldr r3, [r3]
cmp r3, #0
beq .L10
ldr r3, [fp, #-12]
ldr r3, [r3]
mov r0, r3
bl free
.L10:
ldr r0, [fp, #-12]
bl free
.L9:
ldrb r3, [fp, #-13] @ zero_extendqisi2
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L15:
.align 2
.L14:
.word data_array_lock
.word g_data_array
.word g_data_array_size
.word g_num_data_elements
.size append_data_element, .-append_data_element
.section .rodata
.align 2
.LC0:
.ascii "World\000"
.align 2
.LC1:
.ascii "Hello\000"
.align 2
.LC2:
.ascii "Added element to array\000"
.align 2
.LC3:
.ascii "Failed to add element to array\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 r1, .L19
ldr r0, .L19+4
bl append_data_element
mov r3, r0
cmp r3, #0
beq .L17
ldr r0, .L19+8
bl puts
mov r3, #0
b .L18
.L17:
ldr r0, .L19+12
bl puts
mov r3, #1
.L18:
mov r0, r3
pop {fp, pc}
.L20:
.align 2
.L19:
.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 "809064.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 "809064.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "273651.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 "273651.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "544750.c"
.intel_syntax noprefix
.text
.globl getDepthAndParent
.type getDepthAndParent, @function
getDepthAndParent:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 64
mov QWORD PTR -40[rbp], rdi
mov DWORD PTR -44[rbp], esi
mov DWORD PTR -48[rbp], edx
mov QWORD PTR -56[rbp], rcx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
cmp QWORD PTR -40[rbp], 0
jne .L2
mov rax, QWORD PTR -56[rbp]
mov DWORD PTR [rax], -1
mov rax, QWORD PTR -56[rbp]
mov DWORD PTR 4[rax], 0
jmp .L1
.L2:
mov rax, QWORD PTR -40[rbp]
mov eax, DWORD PTR [rax]
cmp DWORD PTR -44[rbp], eax
jne .L4
mov rax, QWORD PTR -56[rbp]
mov DWORD PTR [rax], 0
mov rax, QWORD PTR -56[rbp]
mov edx, DWORD PTR -48[rbp]
mov DWORD PTR 4[rax], edx
jmp .L1
.L4:
mov rax, QWORD PTR -40[rbp]
mov edx, DWORD PTR [rax]
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR 8[rax]
lea rcx, -24[rbp]
mov esi, DWORD PTR -44[rbp]
mov rdi, rax
call getDepthAndParent
mov rax, QWORD PTR -40[rbp]
mov edx, DWORD PTR [rax]
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR 16[rax]
lea rcx, -16[rbp]
mov esi, DWORD PTR -44[rbp]
mov rdi, rax
call getDepthAndParent
mov eax, DWORD PTR -20[rbp]
test eax, eax
je .L5
mov eax, DWORD PTR -24[rbp]
lea edx, 1[rax]
mov rax, QWORD PTR -56[rbp]
mov DWORD PTR [rax], edx
mov edx, DWORD PTR -20[rbp]
mov rax, QWORD PTR -56[rbp]
mov DWORD PTR 4[rax], edx
jmp .L1
.L5:
mov eax, DWORD PTR -12[rbp]
test eax, eax
je .L6
mov eax, DWORD PTR -16[rbp]
lea edx, 1[rax]
mov rax, QWORD PTR -56[rbp]
mov DWORD PTR [rax], edx
mov edx, DWORD PTR -12[rbp]
mov rax, QWORD PTR -56[rbp]
mov DWORD PTR 4[rax], edx
jmp .L1
.L6:
mov rax, QWORD PTR -56[rbp]
mov DWORD PTR [rax], -1
mov rax, QWORD PTR -56[rbp]
mov DWORD PTR 4[rax], 0
nop
.L1:
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L8
call __stack_chk_fail@PLT
.L8:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size getDepthAndParent, .-getDepthAndParent
.globl isCousins
.type isCousins, @function
isCousins:
.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 QWORD PTR -40[rbp], rdi
mov DWORD PTR -44[rbp], esi
mov DWORD PTR -48[rbp], edx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rdx, -24[rbp]
mov esi, DWORD PTR -44[rbp]
mov rax, QWORD PTR -40[rbp]
mov rcx, rdx
mov edx, 0
mov rdi, rax
call getDepthAndParent
lea rdx, -16[rbp]
mov esi, DWORD PTR -48[rbp]
mov rax, QWORD PTR -40[rbp]
mov rcx, rdx
mov edx, 0
mov rdi, rax
call getDepthAndParent
mov edx, DWORD PTR -24[rbp]
mov eax, DWORD PTR -16[rbp]
cmp edx, eax
jne .L10
mov edx, DWORD PTR -20[rbp]
mov eax, DWORD PTR -12[rbp]
cmp edx, eax
je .L10
mov eax, 1
jmp .L11
.L10:
mov eax, 0
.L11:
and eax, 1
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
.LFE1:
.size isCousins, .-isCousins
.section .rodata
.LC0:
.string "is cousins"
.LC1:
.string "is not cousins"
.text
.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, 176
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -160[rbp], 1
mov DWORD PTR -128[rbp], 2
mov DWORD PTR -96[rbp], 3
mov DWORD PTR -64[rbp], 4
mov DWORD PTR -32[rbp], 5
lea rax, -128[rbp]
mov QWORD PTR -152[rbp], rax
lea rax, -96[rbp]
mov QWORD PTR -144[rbp], rax
mov QWORD PTR -120[rbp], 0
lea rax, -64[rbp]
mov QWORD PTR -112[rbp], rax
mov QWORD PTR -88[rbp], 0
lea rax, -32[rbp]
mov QWORD PTR -80[rbp], rax
mov QWORD PTR -56[rbp], 0
mov QWORD PTR -48[rbp], 0
mov QWORD PTR -24[rbp], 0
mov QWORD PTR -16[rbp], 0
lea rax, -160[rbp]
mov edx, 5
mov esi, 4
mov rdi, rax
call isCousins
mov BYTE PTR -161[rbp], al
cmp BYTE PTR -161[rbp], 0
je .L15
lea rdi, .LC0[rip]
call puts@PLT
jmp .L16
.L15:
lea rdi, .LC1[rip]
call puts@PLT
.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
.LFE2:
.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 "544750.c"
.text
.section .rodata
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global getDepthAndParent
.syntax unified
.arm
.fpu softvfp
.type getDepthAndParent, %function
getDepthAndParent:
@ 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, #-40]
str r3, [fp, #-44]
ldr r3, .L9
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, [fp, #-32]
cmp r3, #0
bne .L2
ldr r3, [fp, #-44]
mvn r2, #0
str r2, [r3]
ldr r3, [fp, #-44]
mov r2, #0
str r2, [r3, #4]
b .L1
.L2:
ldr r3, [fp, #-32]
ldr r3, [r3]
ldr r2, [fp, #-36]
cmp r2, r3
bne .L4
ldr r3, [fp, #-44]
mov r2, #0
str r2, [r3]
ldr r3, [fp, #-44]
ldr r2, [fp, #-40]
str r2, [r3, #4]
b .L1
.L4:
ldr r3, [fp, #-32]
ldr r0, [r3, #4]
ldr r3, [fp, #-32]
ldr r2, [r3]
sub r3, fp, #24
ldr r1, [fp, #-36]
bl getDepthAndParent
ldr r3, [fp, #-32]
ldr r0, [r3, #8]
ldr r3, [fp, #-32]
ldr r2, [r3]
sub r3, fp, #16
ldr r1, [fp, #-36]
bl getDepthAndParent
ldr r3, [fp, #-20]
cmp r3, #0
beq .L5
ldr r3, [fp, #-24]
add r2, r3, #1
ldr r3, [fp, #-44]
str r2, [r3]
ldr r2, [fp, #-20]
ldr r3, [fp, #-44]
str r2, [r3, #4]
b .L1
.L5:
ldr r3, [fp, #-12]
cmp r3, #0
beq .L6
ldr r3, [fp, #-16]
add r2, r3, #1
ldr r3, [fp, #-44]
str r2, [r3]
ldr r2, [fp, #-12]
ldr r3, [fp, #-44]
str r2, [r3, #4]
b .L1
.L6:
ldr r3, [fp, #-44]
mvn r2, #0
str r2, [r3]
ldr r3, [fp, #-44]
mov r2, #0
str r2, [r3, #4]
nop
.L1:
ldr r3, .L9
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L8
bl __stack_chk_fail
.L8:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L10:
.align 2
.L9:
.word .LC0
.size getDepthAndParent, .-getDepthAndParent
.section .rodata
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.global isCousins
.syntax unified
.arm
.fpu softvfp
.type isCousins, %function
isCousins:
@ 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, #-40]
ldr r3, .L16
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r3, fp, #24
mov r2, #0
ldr r1, [fp, #-36]
ldr r0, [fp, #-32]
bl getDepthAndParent
sub r3, fp, #16
mov r2, #0
ldr r1, [fp, #-40]
ldr r0, [fp, #-32]
bl getDepthAndParent
ldr r2, [fp, #-24]
ldr r3, [fp, #-16]
cmp r2, r3
bne .L12
ldr r2, [fp, #-20]
ldr r3, [fp, #-12]
cmp r2, r3
beq .L12
mov r3, #1
b .L13
.L12:
mov r3, #0
.L13:
and r3, r3, #1
and r3, r3, #255
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 .LC1
.size isCousins, .-isCousins
.section .rodata
.align 2
.LC2:
.ascii "is cousins\000"
.align 2
.LC3:
.ascii "is not cousins\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 = 72
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #72
ldr r3, .L23
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #1
str r3, [fp, #-68]
mov r3, #2
str r3, [fp, #-56]
mov r3, #3
str r3, [fp, #-44]
mov r3, #4
str r3, [fp, #-32]
mov r3, #5
str r3, [fp, #-20]
sub r3, fp, #56
str r3, [fp, #-64]
sub r3, fp, #44
str r3, [fp, #-60]
mov r3, #0
str r3, [fp, #-52]
sub r3, fp, #32
str r3, [fp, #-48]
mov r3, #0
str r3, [fp, #-40]
sub r3, fp, #20
str r3, [fp, #-36]
mov r3, #0
str r3, [fp, #-28]
mov r3, #0
str r3, [fp, #-24]
mov r3, #0
str r3, [fp, #-16]
mov r3, #0
str r3, [fp, #-12]
sub r3, fp, #68
mov r2, #5
mov r1, #4
mov r0, r3
bl isCousins
mov r3, r0
strb r3, [fp, #-69]
ldrb r3, [fp, #-69] @ zero_extendqisi2
cmp r3, #0
beq .L19
ldr r0, .L23+4
bl puts
b .L20
.L19:
ldr r0, .L23+8
bl puts
.L20:
mov r3, #0
ldr r2, .L23
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}
.L24:
.align 2
.L23:
.word .LC4
.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 "89959.c"
.intel_syntax noprefix
.text
.section .rodata
.LC3:
.string "%d"
.LC4:
.string "%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, 80
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
pxor xmm0, xmm0
movsd QWORD PTR -56[rbp], xmm0
movsd xmm0, QWORD PTR .LC1[rip]
movsd QWORD PTR -48[rbp], xmm0
movsd xmm0, QWORD PTR .LC2[rip]
movsd QWORD PTR -40[rbp], xmm0
lea rax, -72[rbp]
mov rsi, rax
lea rdi, .LC3[rip]
mov eax, 0
call __isoc99_scanf@PLT
cmp eax, 1
jne .L2
mov DWORD PTR -68[rbp], 0
jmp .L3
.L5:
lea rax, -64[rbp]
mov rsi, rax
lea rdi, .LC4[rip]
mov eax, 0
call __isoc99_scanf@PLT
cmp eax, 1
jne .L4
pxor xmm1, xmm1
cvtsi2sd xmm1, DWORD PTR -68[rbp]
movsd xmm0, QWORD PTR .LC5[rip]
addsd xmm0, xmm1
movsd QWORD PTR -32[rbp], xmm0
movsd xmm0, QWORD PTR -32[rbp]
mov rax, QWORD PTR -48[rbp]
movapd xmm1, xmm0
movq xmm0, rax
call pow@PLT
movq rax, xmm0
mov QWORD PTR -24[rbp], rax
mov rax, QWORD PTR -64[rbp]
movsd xmm0, QWORD PTR -40[rbp]
movapd xmm1, xmm0
movq xmm0, rax
call pow@PLT
movq rax, xmm0
mov QWORD PTR -16[rbp], rax
movsd xmm0, QWORD PTR -24[rbp]
mulsd xmm0, QWORD PTR -16[rbp]
movsd xmm1, QWORD PTR -56[rbp]
addsd xmm0, xmm1
movsd QWORD PTR -56[rbp], xmm0
.L4:
add DWORD PTR -68[rbp], 1
.L3:
mov eax, DWORD PTR -72[rbp]
cmp DWORD PTR -68[rbp], eax
jl .L5
mov rax, QWORD PTR -56[rbp]
movq xmm0, rax
lea rdi, .LC4[rip]
mov eax, 1
call printf@PLT
.L2:
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
.section .rodata
.align 8
.LC1:
.long 0
.long -1074790400
.align 8
.LC2:
.long 0
.long 1074266112
.align 8
.LC5:
.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 "89959.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "%d\000"
.align 2
.LC1:
.ascii "%lf\000"
.global __aeabi_i2d
.global __aeabi_dadd
.global __aeabi_dmul
.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 = 72
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #72
ldr r3, .L8
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r2, #0
mov r3, #0
str r2, [fp, #-60]
str r3, [fp, #-56]
mov r2, #0
ldr r3, .L8+4
str r2, [fp, #-52]
str r3, [fp, #-48]
mov r2, #0
ldr r3, .L8+8
str r2, [fp, #-44]
str r3, [fp, #-40]
sub r3, fp, #76
mov r1, r3
ldr r0, .L8+12
bl __isoc99_scanf
mov r3, r0
cmp r3, #1
bne .L2
mov r3, #0
str r3, [fp, #-72]
b .L3
.L5:
sub r3, fp, #68
mov r1, r3
ldr r0, .L8+16
bl __isoc99_scanf
mov r3, r0
cmp r3, #1
bne .L4
ldr r0, [fp, #-72]
bl __aeabi_i2d
mov r2, #0
mov r3, #1073741824
bl __aeabi_dadd
mov r2, r0
mov r3, r1
str r2, [fp, #-36]
str r3, [fp, #-32]
sub r3, fp, #36
ldmia r3, {r2-r3}
sub r1, fp, #52
ldmia r1, {r0-r1}
bl pow
str r0, [fp, #-28]
str r1, [fp, #-24]
sub r1, fp, #68
ldmia r1, {r0-r1}
sub r3, fp, #44
ldmia r3, {r2-r3}
bl pow
str r0, [fp, #-20]
str r1, [fp, #-16]
sub r3, fp, #20
ldmia r3, {r2-r3}
sub r1, fp, #28
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
sub r1, fp, #60
ldmia r1, {r0-r1}
bl __aeabi_dadd
mov r2, r0
mov r3, r1
str r2, [fp, #-60]
str r3, [fp, #-56]
.L4:
ldr r3, [fp, #-72]
add r3, r3, #1
str r3, [fp, #-72]
.L3:
ldr r3, [fp, #-76]
ldr r2, [fp, #-72]
cmp r2, r3
blt .L5
sub r3, fp, #60
ldmia r3, {r2-r3}
ldr r0, .L8+16
bl printf
.L2:
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 -1074790400
.word 1074266112
.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 "39057.c"
.intel_syntax noprefix
.text
.globl a
.bss
.align 32
.type a, @object
.size a, 32
a:
.zero 32
.globl b
.align 32
.type b, @object
.size b, 32
b:
.zero 32
.globl c
.align 32
.type c, @object
.size c, 32
c:
.zero 32
.text
.globl compute
.type compute, @function
compute:
.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
.cfi_offset 13, -24
.cfi_offset 12, -32
.cfi_offset 3, -40
mov ebx, 0
jmp .L2
.L7:
mov r12d, 0
jmp .L3
.L6:
mov r13d, 0
jmp .L4
.L5:
movsx rdx, r12d
movsx rax, ebx
add rax, rax
add rax, rdx
lea rdx, 0[0+rax*8]
lea rax, c[rip]
movsd xmm1, QWORD PTR [rdx+rax]
movsx rdx, r13d
movsx rax, ebx
add rax, rax
add rax, rdx
lea rdx, 0[0+rax*8]
lea rax, a[rip]
movsd xmm2, QWORD PTR [rdx+rax]
movsx rdx, r12d
movsx rax, r13d
add rax, rax
add rax, rdx
lea rdx, 0[0+rax*8]
lea rax, b[rip]
movsd xmm0, QWORD PTR [rdx+rax]
mulsd xmm0, xmm2
addsd xmm0, xmm1
movsx rdx, r12d
movsx rax, ebx
add rax, rax
add rax, rdx
lea rdx, 0[0+rax*8]
lea rax, c[rip]
movsd QWORD PTR [rdx+rax], xmm0
add r13d, 1
.L4:
cmp r13d, 1
jle .L5
add r12d, 1
.L3:
cmp r12d, 1
jle .L6
add ebx, 1
.L2:
cmp ebx, 1
jle .L7
nop
nop
pop rbx
pop r12
pop r13
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size compute, .-compute
.section .rodata
.LC1:
.string "%.1lf\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
push r12
push rbx
sub rsp, 16
.cfi_offset 12, -24
.cfi_offset 3, -32
mov DWORD PTR -20[rbp], edi
mov QWORD PTR -32[rbp], rsi
mov ebx, 0
jmp .L9
.L12:
mov r12d, 0
jmp .L10
.L11:
lea eax, [rbx+r12]
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsx rdx, r12d
movsx rax, ebx
add rax, rax
add rax, rdx
lea rdx, 0[0+rax*8]
lea rax, a[rip]
movsd QWORD PTR [rdx+rax], xmm0
mov eax, ebx
sub eax, r12d
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsx rdx, r12d
movsx rax, ebx
add rax, rax
add rax, rdx
lea rdx, 0[0+rax*8]
lea rax, b[rip]
movsd QWORD PTR [rdx+rax], xmm0
movsx rdx, r12d
movsx rax, ebx
add rax, rax
add rax, rdx
lea rdx, 0[0+rax*8]
lea rax, c[rip]
pxor xmm0, xmm0
movsd QWORD PTR [rdx+rax], xmm0
add r12d, 1
.L10:
cmp r12d, 1
jle .L11
add ebx, 1
.L9:
cmp ebx, 1
jle .L12
mov eax, 0
call compute
mov rax, QWORD PTR c[rip+24]
movq xmm0, rax
lea rdi, .LC1[rip]
mov eax, 1
call printf@PLT
mov eax, 0
add rsp, 16
pop rbx
pop r12
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 "39057.c"
.text
.comm a,32,8
.comm b,32,8
.comm c,32,8
.global __aeabi_dmul
.global __aeabi_dadd
.align 2
.global compute
.syntax unified
.arm
.fpu softvfp
.type compute, %function
compute:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, fp, lr}
add fp, sp, #28
mov r4, #0
b .L2
.L7:
mov r5, #0
b .L3
.L6:
mov r6, #0
b .L4
.L5:
ldr r2, .L8
lsl r3, r4, #1
add r3, r3, r5
lsl r3, r3, #3
add r3, r2, r3
ldmia r3, {r8-r9}
ldr r2, .L8+4
lsl r3, r4, #1
add r3, r3, r6
lsl r3, r3, #3
add r3, r2, r3
ldmia r3, {r0-r1}
ldr r2, .L8+8
lsl r3, r6, #1
add r3, r3, r5
lsl r3, r3, #3
add r3, r2, r3
ldmia r3, {r2-r3}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r8
mov r1, r9
bl __aeabi_dadd
mov r2, r0
mov r3, r1
ldr r0, .L8
lsl r1, r4, #1
add r1, r1, r5
lsl r1, r1, #3
add r1, r0, r1
stm r1, {r2-r3}
add r6, r6, #1
.L4:
cmp r6, #1
ble .L5
add r5, r5, #1
.L3:
cmp r5, #1
ble .L6
add r4, r4, #1
.L2:
cmp r4, #1
ble .L7
nop
nop
pop {r4, r5, r6, r7, r8, r9, fp, pc}
.L9:
.align 2
.L8:
.word c
.word a
.word b
.size compute, .-compute
.global __aeabi_i2d
.section .rodata
.align 2
.LC0:
.ascii "%.1lf\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 {r4, r5, fp, lr}
add fp, sp, #12
sub sp, sp, #8
str r0, [fp, #-16]
str r1, [fp, #-20]
mov r4, #0
b .L11
.L14:
mov r5, #0
b .L12
.L13:
add r3, r4, r5
mov r0, r3
bl __aeabi_i2d
mov r2, r0
mov r3, r1
ldr r0, .L16
lsl r1, r4, #1
add r1, r1, r5
lsl r1, r1, #3
add r1, r0, r1
stm r1, {r2-r3}
sub r3, r4, r5
mov r0, r3
bl __aeabi_i2d
mov r2, r0
mov r3, r1
ldr r0, .L16+4
lsl r1, r4, #1
add r1, r1, r5
lsl r1, r1, #3
add r1, r0, r1
stm r1, {r2-r3}
ldr r2, .L16+8
lsl r3, r4, #1
add r3, r3, r5
lsl r3, r3, #3
add r1, r2, r3
mov r2, #0
mov r3, #0
stm r1, {r2-r3}
add r5, r5, #1
.L12:
cmp r5, #1
ble .L13
add r4, r4, #1
.L11:
cmp r4, #1
ble .L14
bl compute
ldr r3, .L16+8
add r3, r3, #24
ldmia r3, {r2-r3}
ldr r0, .L16+12
bl printf
mov r3, #0
mov r0, r3
sub sp, fp, #12
@ sp needed
pop {r4, r5, fp, pc}
.L17:
.align 2
.L16:
.word a
.word b
.word c
.word .LC0
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "620546.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, 48
mov DWORD PTR -36[rbp], edi
mov QWORD PTR -48[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rax, -32[rbp]
mov rdi, rax
call trocar100
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 floatToInt
.type floatToInt, @function
floatToInt:
.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
movss DWORD PTR -4[rbp], xmm0
pxor xmm1, xmm1
cvtss2sd xmm1, DWORD PTR -4[rbp]
movq rax, xmm1
movq xmm0, rax
call floor@PLT
cvttsd2si eax, xmm0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size floatToInt, .-floatToInt
.globl decToBinHexOct
.type decToBinHexOct, @function
decToBinHexOct:
.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, 96
mov DWORD PTR -84[rbp], edi
mov DWORD PTR -88[rbp], esi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -76[rbp], 0
mov eax, DWORD PTR -84[rbp]
mov DWORD PTR -72[rbp], eax
movabs rax, 3978425819141910832
movabs rdx, 5063528411713059128
mov QWORD PTR -32[rbp], rax
mov QWORD PTR -24[rbp], rdx
jmp .L7
.L8:
mov eax, DWORD PTR -72[rbp]
cdq
idiv DWORD PTR -88[rbp]
mov eax, edx
cdqe
movzx edx, BYTE PTR -32[rbp+rax]
mov eax, DWORD PTR -76[rbp]
cdqe
mov BYTE PTR -64[rbp+rax], dl
add DWORD PTR -76[rbp], 1
mov eax, DWORD PTR -72[rbp]
cdq
idiv DWORD PTR -88[rbp]
mov DWORD PTR -72[rbp], eax
.L7:
mov eax, DWORD PTR -72[rbp]
cmp eax, DWORD PTR -88[rbp]
jge .L8
mov eax, DWORD PTR -72[rbp]
cdq
idiv DWORD PTR -88[rbp]
mov eax, edx
cdqe
movzx edx, BYTE PTR -32[rbp+rax]
mov eax, DWORD PTR -76[rbp]
cdqe
mov BYTE PTR -64[rbp+rax], dl
add DWORD PTR -76[rbp], 1
mov eax, DWORD PTR -76[rbp]
cdqe
mov BYTE PTR -48[rbp+rax], 0
mov DWORD PTR -68[rbp], 0
jmp .L9
.L10:
mov eax, DWORD PTR -76[rbp]
sub eax, DWORD PTR -68[rbp]
sub eax, 1
cdqe
movzx edx, BYTE PTR -64[rbp+rax]
mov eax, DWORD PTR -68[rbp]
cdqe
mov BYTE PTR -48[rbp+rax], dl
add DWORD PTR -68[rbp], 1
.L9:
mov eax, DWORD PTR -68[rbp]
cmp eax, DWORD PTR -76[rbp]
jl .L10
lea rax, -48[rbp]
mov rdi, rax
call puts@PLT
nop
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L11
call __stack_chk_fail@PLT
.L11:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size decToBinHexOct, .-decToBinHexOct
.globl sumElementos
.type sumElementos, @function
sumElementos:
.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 DWORD PTR -8[rbp], 0
mov DWORD PTR -4[rbp], 0
jmp .L13
.L14:
mov eax, DWORD PTR -4[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
add DWORD PTR -8[rbp], eax
add DWORD PTR -4[rbp], 1
.L13:
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -28[rbp]
jl .L14
mov eax, DWORD PTR -8[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size sumElementos, .-sumElementos
.globl positionMax
.type positionMax, @function
positionMax:
.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 DWORD PTR -28[rbp], esi
mov DWORD PTR -8[rbp], 0
mov DWORD PTR -4[rbp], 1
jmp .L17
.L19:
mov eax, DWORD PTR -4[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 -8[rbp]
cdqe
lea rcx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rcx
mov eax, DWORD PTR [rax]
cmp edx, eax
jle .L18
mov eax, DWORD PTR -4[rbp]
mov DWORD PTR -8[rbp], eax
.L18:
add DWORD PTR -4[rbp], 1
.L17:
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -28[rbp]
jl .L19
mov eax, DWORD PTR -8[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size positionMax, .-positionMax
.globl validarEntrada
.type validarEntrada, @function
validarEntrada:
.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 DWORD PTR -4[rbp], edi
mov QWORD PTR -16[rbp], rsi
mov DWORD PTR -8[rbp], edx
cmp DWORD PTR -4[rbp], 2
je .L22
cmp DWORD PTR -4[rbp], 5
je .L22
cmp DWORD PTR -4[rbp], 10
je .L22
cmp DWORD PTR -4[rbp], 20
je .L22
cmp DWORD PTR -4[rbp], 50
jne .L23
.L22:
mov edx, DWORD PTR -8[rbp]
mov rcx, QWORD PTR -16[rbp]
mov eax, DWORD PTR -4[rbp]
mov rsi, rcx
mov edi, eax
call contains
test eax, eax
jne .L23
mov eax, 1
jmp .L24
.L23:
mov eax, 0
.L24:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size validarEntrada, .-validarEntrada
.globl contains
.type contains, @function
contains:
.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 -20[rbp], edi
mov QWORD PTR -32[rbp], rsi
mov DWORD PTR -24[rbp], edx
mov DWORD PTR -4[rbp], 0
jmp .L26
.L29:
mov eax, DWORD PTR -4[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -32[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
cmp DWORD PTR -20[rbp], eax
jne .L27
mov eax, 1
jmp .L28
.L27:
add DWORD PTR -4[rbp], 1
.L26:
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -24[rbp]
jl .L29
mov eax, 0
.L28:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE12:
.size contains, .-contains
.section .rodata
.LC0:
.string "%d"
.text
.globl entrarCedulas
.type entrarCedulas, @function
entrarCedulas:
.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 QWORD PTR -24[rbp], rdi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -12[rbp], 0
.L33:
lea rax, -16[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov eax, DWORD PTR -16[rbp]
mov edx, DWORD PTR -12[rbp]
mov rcx, QWORD PTR -24[rbp]
mov rsi, rcx
mov edi, eax
call validarEntrada
cmp eax, 1
jne .L31
mov eax, DWORD PTR -12[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rdx, rax
mov eax, DWORD PTR -16[rbp]
mov DWORD PTR [rdx], eax
add DWORD PTR -12[rbp], 1
.L31:
cmp DWORD PTR -12[rbp], 4
jg .L32
mov eax, DWORD PTR -16[rbp]
test eax, eax
jne .L33
.L32:
cmp DWORD PTR -12[rbp], 0
jle .L33
mov eax, DWORD PTR -12[rbp]
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L35
call __stack_chk_fail@PLT
.L35:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE13:
.size entrarCedulas, .-entrarCedulas
.section .rodata
.LC1:
.string "%d\n"
.LC2:
.string "troca n\303\243o permitida"
.text
.globl trocar100
.type trocar100, @function
trocar100:
.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, 96
mov QWORD PTR -88[rbp], rdi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov rax, QWORD PTR -88[rbp]
mov rdi, rax
call entrarCedulas
mov DWORD PTR -60[rbp], eax
mov DWORD PTR -76[rbp], 100
mov DWORD PTR -72[rbp], 0
.L40:
mov edx, DWORD PTR -60[rbp]
mov rax, QWORD PTR -88[rbp]
mov esi, edx
mov rdi, rax
call positionMax
mov DWORD PTR -56[rbp], eax
mov eax, DWORD PTR -56[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -88[rbp]
add rax, rdx
mov edx, DWORD PTR [rax]
mov eax, DWORD PTR -72[rbp]
cdqe
mov DWORD PTR -48[rbp+rax*4], edx
mov edx, DWORD PTR -60[rbp]
mov rax, QWORD PTR -88[rbp]
mov esi, edx
mov rdi, rax
call sumElementos
mov DWORD PTR -52[rbp], eax
mov eax, DWORD PTR -72[rbp]
cdqe
mov eax, DWORD PTR -48[rbp+rax*4]
mov edx, DWORD PTR -72[rbp]
movsx rdx, edx
mov esi, DWORD PTR -48[rbp+rdx*4]
mov edx, DWORD PTR -52[rbp]
mov ecx, edx
sub ecx, esi
cdq
idiv ecx
mov eax, edx
test eax, eax
je .L37
mov eax, DWORD PTR -72[rbp]
cdqe
mov ecx, DWORD PTR -48[rbp+rax*4]
mov eax, DWORD PTR -76[rbp]
cdq
idiv ecx
mov esi, eax
mov eax, DWORD PTR -72[rbp]
cdqe
mov eax, DWORD PTR -48[rbp+rax*4]
mov edx, DWORD PTR -72[rbp]
movsx rdx, edx
mov ecx, DWORD PTR -48[rbp+rdx*4]
mov edx, DWORD PTR -52[rbp]
mov edi, edx
sub edi, ecx
cdq
idiv edi
sub esi, eax
mov edx, esi
mov eax, DWORD PTR -72[rbp]
cdqe
add rax, 5
mov DWORD PTR -48[rbp+rax*4], edx
jmp .L38
.L37:
mov eax, DWORD PTR -56[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -88[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
cmp DWORD PTR -52[rbp], eax
jne .L39
mov eax, DWORD PTR -72[rbp]
cdqe
mov ecx, DWORD PTR -48[rbp+rax*4]
mov eax, DWORD PTR -76[rbp]
cdq
idiv ecx
mov edx, eax
mov eax, DWORD PTR -72[rbp]
cdqe
add rax, 5
mov DWORD PTR -48[rbp+rax*4], edx
jmp .L38
.L39:
mov eax, DWORD PTR -72[rbp]
cdqe
mov edi, DWORD PTR -48[rbp+rax*4]
mov eax, DWORD PTR -76[rbp]
cdq
idiv edi
lea edx, -1[rax]
mov eax, DWORD PTR -72[rbp]
cdqe
add rax, 5
mov DWORD PTR -48[rbp+rax*4], edx
.L38:
mov eax, DWORD PTR -72[rbp]
cdqe
mov edx, DWORD PTR -48[rbp+rax*4]
mov eax, DWORD PTR -72[rbp]
cdqe
add rax, 5
mov eax, DWORD PTR -48[rbp+rax*4]
imul eax, edx
sub DWORD PTR -76[rbp], eax
mov eax, DWORD PTR -56[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -88[rbp]
add rax, rdx
mov DWORD PTR [rax], 0
add DWORD PTR -72[rbp], 1
mov edx, DWORD PTR -60[rbp]
mov rax, QWORD PTR -88[rbp]
mov esi, edx
mov rdi, rax
call positionMax
mov DWORD PTR -56[rbp], eax
mov eax, DWORD PTR -56[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -88[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
test eax, eax
jg .L40
cmp DWORD PTR -76[rbp], 0
jne .L41
mov DWORD PTR -68[rbp], 0
jmp .L42
.L45:
mov eax, DWORD PTR -68[rbp]
cdqe
add rax, 5
mov eax, DWORD PTR -48[rbp+rax*4]
mov DWORD PTR -64[rbp], eax
jmp .L43
.L44:
mov eax, DWORD PTR -68[rbp]
cdqe
mov eax, DWORD PTR -48[rbp+rax*4]
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
sub DWORD PTR -64[rbp], 1
.L43:
cmp DWORD PTR -64[rbp], 0
jg .L44
add DWORD PTR -68[rbp], 1
.L42:
mov eax, DWORD PTR -68[rbp]
cmp eax, DWORD PTR -60[rbp]
jl .L45
jmp .L48
.L41:
lea rdi, .LC2[rip]
call puts@PLT
.L48:
nop
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L47
call __stack_chk_fail@PLT
.L47:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE14:
.size trocar100, .-trocar100
.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 "620546.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 = 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, .L4
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r3, fp, #28
mov r0, r3
bl trocar100
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_f2d
.global __aeabi_d2iz
.align 2
.global floatToInt
.syntax unified
.arm
.fpu softvfp
.type floatToInt, %function
floatToInt:
@ 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] @ float
ldr r0, [fp, #-8] @ float
bl __aeabi_f2d
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl floor
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl __aeabi_d2iz
mov r3, r0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size floatToInt, .-floatToInt
.global __aeabi_idivmod
.global __aeabi_idiv
.section .rodata
.align 2
.LC1:
.ascii "0123456789ABCDEF"
.align 2
.LC2:
.word __stack_chk_guard
.text
.align 2
.global decToBinHexOct
.syntax unified
.arm
.fpu softvfp
.type decToBinHexOct, %function
decToBinHexOct:
@ args = 0, pretend = 0, frame = 72
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #72
str r0, [fp, #-72]
str r1, [fp, #-76]
ldr r3, .L14
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-68]
ldr r3, [fp, #-72]
str r3, [fp, #-64]
ldr r3, .L14+4
sub ip, fp, #24
ldm r3, {r0, r1, r2, r3}
stm ip, {r0, r1, r2, r3}
b .L9
.L10:
ldr r3, [fp, #-64]
ldr r1, [fp, #-76]
mov r0, r3
bl __aeabi_idivmod
mov r3, r1
sub r2, fp, #4
add r3, r2, r3
ldrb r1, [r3, #-20] @ zero_extendqisi2
sub r2, fp, #56
ldr r3, [fp, #-68]
add r3, r2, r3
mov r2, r1
strb r2, [r3]
ldr r3, [fp, #-68]
add r3, r3, #1
str r3, [fp, #-68]
ldr r1, [fp, #-76]
ldr r0, [fp, #-64]
bl __aeabi_idiv
mov r3, r0
str r3, [fp, #-64]
.L9:
ldr r2, [fp, #-64]
ldr r3, [fp, #-76]
cmp r2, r3
bge .L10
ldr r3, [fp, #-64]
ldr r1, [fp, #-76]
mov r0, r3
bl __aeabi_idivmod
mov r3, r1
sub r2, fp, #4
add r3, r2, r3
ldrb r1, [r3, #-20] @ zero_extendqisi2
sub r2, fp, #56
ldr r3, [fp, #-68]
add r3, r2, r3
mov r2, r1
strb r2, [r3]
ldr r3, [fp, #-68]
add r3, r3, #1
str r3, [fp, #-68]
sub r2, fp, #40
ldr r3, [fp, #-68]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
mov r3, #0
str r3, [fp, #-60]
b .L11
.L12:
ldr r2, [fp, #-68]
ldr r3, [fp, #-60]
sub r3, r2, r3
sub r3, r3, #1
sub r2, fp, #4
add r3, r2, r3
ldrb r1, [r3, #-52] @ zero_extendqisi2
sub r2, fp, #40
ldr r3, [fp, #-60]
add r3, r2, r3
mov r2, r1
strb r2, [r3]
ldr r3, [fp, #-60]
add r3, r3, #1
str r3, [fp, #-60]
.L11:
ldr r2, [fp, #-60]
ldr r3, [fp, #-68]
cmp r2, r3
blt .L12
sub r3, fp, #40
mov r0, r3
bl puts
nop
ldr r3, .L14
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L13
bl __stack_chk_fail
.L13:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L15:
.align 2
.L14:
.word .LC2
.word .LC1
.size decToBinHexOct, .-decToBinHexOct
.align 2
.global sumElementos
.syntax unified
.arm
.fpu softvfp
.type sumElementos, %function
sumElementos:
@ 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, #-12]
mov r3, #0
str r3, [fp, #-8]
b .L17
.L18:
ldr r3, [fp, #-8]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r3, [r3]
ldr r2, [fp, #-12]
add r3, r2, r3
str r3, [fp, #-12]
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L17:
ldr r2, [fp, #-8]
ldr r3, [fp, #-20]
cmp r2, r3
blt .L18
ldr r3, [fp, #-12]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size sumElementos, .-sumElementos
.align 2
.global positionMax
.syntax unified
.arm
.fpu softvfp
.type positionMax, %function
positionMax:
@ 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, #-12]
mov r3, #1
str r3, [fp, #-8]
b .L21
.L23:
ldr r3, [fp, #-8]
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, #-16]
add r3, r1, r3
ldr r3, [r3]
cmp r2, r3
ble .L22
ldr r3, [fp, #-8]
str r3, [fp, #-12]
.L22:
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L21:
ldr r2, [fp, #-8]
ldr r3, [fp, #-20]
cmp r2, r3
blt .L23
ldr r3, [fp, #-12]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size positionMax, .-positionMax
.align 2
.global validarEntrada
.syntax unified
.arm
.fpu softvfp
.type validarEntrada, %function
validarEntrada:
@ 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]
ldr r3, [fp, #-8]
cmp r3, #2
beq .L26
ldr r3, [fp, #-8]
cmp r3, #5
beq .L26
ldr r3, [fp, #-8]
cmp r3, #10
beq .L26
ldr r3, [fp, #-8]
cmp r3, #20
beq .L26
ldr r3, [fp, #-8]
cmp r3, #50
bne .L27
.L26:
ldr r2, [fp, #-16]
ldr r1, [fp, #-12]
ldr r0, [fp, #-8]
bl contains
mov r3, r0
cmp r3, #0
bne .L27
mov r3, #1
b .L28
.L27:
mov r3, #0
.L28:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size validarEntrada, .-validarEntrada
.align 2
.global contains
.syntax unified
.arm
.fpu softvfp
.type contains, %function
contains:
@ 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]
mov r3, #0
str r3, [fp, #-8]
b .L30
.L33:
ldr r3, [fp, #-8]
lsl r3, r3, #2
ldr r2, [fp, #-20]
add r3, r2, r3
ldr r3, [r3]
ldr r2, [fp, #-16]
cmp r2, r3
bne .L31
mov r3, #1
b .L32
.L31:
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L30:
ldr r2, [fp, #-8]
ldr r3, [fp, #-24]
cmp r2, r3
blt .L33
mov r3, #0
.L32:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size contains, .-contains
.section .rodata
.align 2
.LC3:
.ascii "%d\000"
.align 2
.LC4:
.word __stack_chk_guard
.text
.align 2
.global entrarCedulas
.syntax unified
.arm
.fpu softvfp
.type entrarCedulas, %function
entrarCedulas:
@ 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, .L40
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-12]
.L37:
sub r3, fp, #16
mov r1, r3
ldr r0, .L40+4
bl __isoc99_scanf
ldr r3, [fp, #-16]
ldr r2, [fp, #-12]
ldr r1, [fp, #-24]
mov r0, r3
bl validarEntrada
mov r3, r0
cmp r3, #1
bne .L35
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r3, r2, r3
ldr r2, [fp, #-16]
str r2, [r3]
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L35:
ldr r3, [fp, #-12]
cmp r3, #4
bgt .L36
ldr r3, [fp, #-16]
cmp r3, #0
bne .L37
.L36:
ldr r3, [fp, #-12]
cmp r3, #0
ble .L37
ldr r3, [fp, #-12]
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 .LC4
.word .LC3
.size entrarCedulas, .-entrarCedulas
.section .rodata
.align 2
.LC5:
.ascii "%d\012\000"
.align 2
.LC6:
.ascii "troca n\303\243o permitida\000"
.align 2
.LC7:
.word __stack_chk_guard
.text
.align 2
.global trocar100
.syntax unified
.arm
.fpu softvfp
.type trocar100, %function
trocar100:
@ args = 0, pretend = 0, frame = 80
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #84
str r0, [fp, #-88]
ldr r3, .L55
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
ldr r0, [fp, #-88]
bl entrarCedulas
str r0, [fp, #-68]
mov r3, #100
str r3, [fp, #-84]
mov r3, #0
str r3, [fp, #-80]
.L46:
ldr r1, [fp, #-68]
ldr r0, [fp, #-88]
bl positionMax
str r0, [fp, #-64]
ldr r3, [fp, #-64]
lsl r3, r3, #2
ldr r2, [fp, #-88]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-80]
lsl r3, r3, #2
sub r1, fp, #12
add r3, r1, r3
str r2, [r3, #-44]
ldr r1, [fp, #-68]
ldr r0, [fp, #-88]
bl sumElementos
str r0, [fp, #-60]
ldr r3, [fp, #-80]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r0, [r3, #-44]
ldr r3, [fp, #-80]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r3, [r3, #-44]
ldr r2, [fp, #-60]
sub r3, r2, r3
mov r1, r3
bl __aeabi_idivmod
mov r3, r1
cmp r3, #0
beq .L43
ldr r3, [fp, #-80]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r3, [r3, #-44]
mov r1, r3
ldr r0, [fp, #-84]
bl __aeabi_idiv
mov r3, r0
mov r4, r3
ldr r3, [fp, #-80]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r0, [r3, #-44]
ldr r3, [fp, #-80]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r3, [r3, #-44]
ldr r2, [fp, #-60]
sub r3, r2, r3
mov r1, r3
bl __aeabi_idiv
mov r3, r0
sub r2, r4, r3
ldr r3, [fp, #-80]
add r3, r3, #5
lsl r3, r3, #2
sub r1, fp, #12
add r3, r1, r3
str r2, [r3, #-44]
b .L44
.L43:
ldr r3, [fp, #-64]
lsl r3, r3, #2
ldr r2, [fp, #-88]
add r3, r2, r3
ldr r3, [r3]
ldr r2, [fp, #-60]
cmp r2, r3
bne .L45
ldr r3, [fp, #-80]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r3, [r3, #-44]
mov r1, r3
ldr r0, [fp, #-84]
bl __aeabi_idiv
mov r3, r0
mov r2, r3
ldr r3, [fp, #-80]
add r3, r3, #5
lsl r3, r3, #2
sub r1, fp, #12
add r3, r1, r3
str r2, [r3, #-44]
b .L44
.L45:
ldr r3, [fp, #-80]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r3, [r3, #-44]
mov r1, r3
ldr r0, [fp, #-84]
bl __aeabi_idiv
mov r3, r0
sub r2, r3, #1
ldr r3, [fp, #-80]
add r3, r3, #5
lsl r3, r3, #2
sub r1, fp, #12
add r3, r1, r3
str r2, [r3, #-44]
.L44:
ldr r3, [fp, #-80]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r2, [r3, #-44]
ldr r3, [fp, #-80]
add r3, r3, #5
lsl r3, r3, #2
sub r1, fp, #12
add r3, r1, r3
ldr r3, [r3, #-44]
mul r3, r2, r3
ldr r2, [fp, #-84]
sub r3, r2, r3
str r3, [fp, #-84]
ldr r3, [fp, #-64]
lsl r3, r3, #2
ldr r2, [fp, #-88]
add r3, r2, r3
mov r2, #0
str r2, [r3]
ldr r3, [fp, #-80]
add r3, r3, #1
str r3, [fp, #-80]
ldr r1, [fp, #-68]
ldr r0, [fp, #-88]
bl positionMax
str r0, [fp, #-64]
ldr r3, [fp, #-64]
lsl r3, r3, #2
ldr r2, [fp, #-88]
add r3, r2, r3
ldr r3, [r3]
cmp r3, #0
bgt .L46
ldr r3, [fp, #-84]
cmp r3, #0
bne .L47
mov r3, #0
str r3, [fp, #-76]
b .L48
.L51:
ldr r3, [fp, #-76]
add r3, r3, #5
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r3, [r3, #-44]
str r3, [fp, #-72]
b .L49
.L50:
ldr r3, [fp, #-76]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r3, [r3, #-44]
mov r1, r3
ldr r0, .L55+4
bl printf
ldr r3, [fp, #-72]
sub r3, r3, #1
str r3, [fp, #-72]
.L49:
ldr r3, [fp, #-72]
cmp r3, #0
bgt .L50
ldr r3, [fp, #-76]
add r3, r3, #1
str r3, [fp, #-76]
.L48:
ldr r2, [fp, #-76]
ldr r3, [fp, #-68]
cmp r2, r3
blt .L51
b .L54
.L47:
ldr r0, .L55+8
bl puts
.L54:
nop
ldr r3, .L55
ldr r2, [r3]
ldr r3, [fp, #-16]
eors r2, r3, r2
mov r3, #0
beq .L53
bl __stack_chk_fail
.L53:
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L56:
.align 2
.L55:
.word .LC7
.word .LC5
.word .LC6
.size trocar100, .-trocar100
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "589227.c"
.intel_syntax noprefix
.text
.globl ft_print_numbers
.type ft_print_numbers, @function
ft_print_numbers:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov BYTE PTR -9[rbp], 48
jmp .L2
.L3:
lea rax, -9[rbp]
mov edx, 1
mov rsi, rax
mov edi, 1
call write@PLT
movzx eax, BYTE PTR -9[rbp]
add eax, 1
mov BYTE PTR -9[rbp], al
.L2:
movzx eax, BYTE PTR -9[rbp]
cmp al, 57
jle .L3
nop
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L4
call __stack_chk_fail@PLT
.L4:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size ft_print_numbers, .-ft_print_numbers
.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 "589227.c"
.text
.section .rodata
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global ft_print_numbers
.syntax unified
.arm
.fpu softvfp
.type ft_print_numbers, %function
ft_print_numbers:
@ 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, .L5
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #48
strb r3, [fp, #-9]
b .L2
.L3:
sub r3, fp, #9
mov r2, #1
mov r1, r3
mov r0, #1
bl write
ldrb r3, [fp, #-9] @ zero_extendqisi2
add r3, r3, #1
and r3, r3, #255
strb r3, [fp, #-9]
.L2:
ldrb r3, [fp, #-9] @ zero_extendqisi2
cmp r3, #57
bls .L3
nop
ldr r3, .L5
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L4
bl __stack_chk_fail
.L4:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L6:
.align 2
.L5:
.word .LC0
.size ft_print_numbers, .-ft_print_numbers
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "433587.c"
.intel_syntax noprefix
.text
.globl xstrtoull_range_sfx
.type xstrtoull_range_sfx, @function
xstrtoull_range_sfx:
.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 DWORD PTR -12[rbp], esi
mov QWORD PTR -24[rbp], rdx
mov QWORD PTR -32[rbp], rcx
mov QWORD PTR -40[rbp], r8
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size xstrtoull_range_sfx, .-xstrtoull_range_sfx
.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 "433587.c"
.text
.align 2
.global xstrtoull_range_sfx
.syntax unified
.arm
.fpu softvfp
.type xstrtoull_range_sfx, %function
xstrtoull_range_sfx:
@ 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]
str r1, [fp, #-12]
str r2, [fp, #-16]
str r3, [fp, #-20]
nop
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size xstrtoull_range_sfx, .-xstrtoull_range_sfx
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "869002.c"
.intel_syntax noprefix
.text
.section .rodata
.align 8
.LC0:
.string "ERROR: Incorrect number of arguments:"
.align 8
.LC1:
.string "Syntax: ./%s <block size> <number of blocks>\n"
.LC2:
.string "disk.dat"
.LC3:
.string "open:"
.LC4:
.string "malloc:"
.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 DWORD PTR -36[rbp], edi
mov QWORD PTR -48[rbp], rsi
cmp DWORD PTR -36[rbp], 3
je .L2
lea rdi, .LC0[rip]
call puts@PLT
mov rax, QWORD PTR -48[rbp]
mov rax, QWORD PTR [rax]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
mov eax, -1
jmp .L3
.L2:
mov rax, QWORD PTR -48[rbp]
add rax, 8
mov rax, QWORD PTR [rax]
mov rdi, rax
call atoi@PLT
mov DWORD PTR -24[rbp], eax
mov rax, QWORD PTR -48[rbp]
add rax, 16
mov rax, QWORD PTR [rax]
mov rdi, rax
call atoi@PLT
mov DWORD PTR -20[rbp], eax
mov edx, 438
mov esi, 578
lea rdi, .LC2[rip]
mov eax, 0
call open@PLT
mov DWORD PTR -16[rbp], eax
cmp DWORD PTR -16[rbp], 0
jns .L4
lea rdi, .LC3[rip]
call perror@PLT
mov eax, -1
jmp .L3
.L4:
mov eax, DWORD PTR -24[rbp]
cdqe
mov rdi, rax
call malloc@PLT
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
jne .L5
lea rdi, .LC4[rip]
call perror@PLT
mov eax, -1
jmp .L3
.L5:
mov eax, DWORD PTR -24[rbp]
movsx rdx, eax
mov rax, QWORD PTR -8[rbp]
mov esi, 48
mov rdi, rax
call memset@PLT
mov DWORD PTR -32[rbp], 0
jmp .L6
.L9:
mov DWORD PTR -28[rbp], 0
.L8:
mov eax, DWORD PTR -24[rbp]
sub eax, DWORD PTR -28[rbp]
movsx rdx, eax
mov eax, DWORD PTR -28[rbp]
movsx rcx, eax
mov rax, QWORD PTR -8[rbp]
add rcx, rax
mov eax, DWORD PTR -16[rbp]
mov rsi, rcx
mov edi, eax
call write@PLT
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -12[rbp]
add DWORD PTR -28[rbp], eax
mov eax, DWORD PTR -28[rbp]
cmp eax, DWORD PTR -24[rbp]
jge .L7
cmp DWORD PTR -12[rbp], 0
jns .L8
.L7:
add DWORD PTR -32[rbp], 1
.L6:
mov eax, DWORD PTR -32[rbp]
cmp eax, DWORD PTR -20[rbp]
jl .L9
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call free@PLT
mov eax, DWORD PTR -16[rbp]
mov edi, eax
call close@PLT
mov eax, 0
.L3:
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 "869002.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "ERROR: Incorrect number of arguments:\000"
.align 2
.LC1:
.ascii "Syntax: ./%s <block size> <number of blocks>\012\000"
.align 2
.LC2:
.ascii "disk.dat\000"
.align 2
.LC3:
.ascii "open:\000"
.align 2
.LC4:
.ascii "malloc:\000"
.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
str r0, [fp, #-40]
str r1, [fp, #-44]
ldr r3, [fp, #-40]
cmp r3, #3
beq .L2
ldr r0, .L10
bl puts
ldr r3, [fp, #-44]
ldr r3, [r3]
mov r1, r3
ldr r0, .L10+4
bl printf
mvn r3, #0
b .L3
.L2:
ldr r3, [fp, #-44]
add r3, r3, #4
ldr r3, [r3]
mov r0, r3
bl atoi
str r0, [fp, #-24]
ldr r3, [fp, #-44]
add r3, r3, #8
ldr r3, [r3]
mov r0, r3
bl atoi
str r0, [fp, #-20]
ldr r2, .L10+8
ldr r1, .L10+12
ldr r0, .L10+16
bl open
str r0, [fp, #-16]
ldr r3, [fp, #-16]
cmp r3, #0
bge .L4
ldr r0, .L10+20
bl perror
mvn r3, #0
b .L3
.L4:
ldr r3, [fp, #-24]
mov r0, r3
bl malloc
mov r3, r0
str r3, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #0
bne .L5
ldr r0, .L10+24
bl perror
mvn r3, #0
b .L3
.L5:
ldr r3, [fp, #-24]
mov r2, r3
mov r1, #48
ldr r0, [fp, #-12]
bl memset
mov r3, #0
str r3, [fp, #-32]
b .L6
.L9:
mov r3, #0
str r3, [fp, #-28]
.L8:
ldr r3, [fp, #-28]
ldr r2, [fp, #-12]
add r1, r2, r3
ldr r2, [fp, #-24]
ldr r3, [fp, #-28]
sub r3, r2, r3
mov r2, r3
ldr r0, [fp, #-16]
bl write
str r0, [fp, #-8]
ldr r2, [fp, #-28]
ldr r3, [fp, #-8]
add r3, r2, r3
str r3, [fp, #-28]
ldr r2, [fp, #-28]
ldr r3, [fp, #-24]
cmp r2, r3
bge .L7
ldr r3, [fp, #-8]
cmp r3, #0
bge .L8
.L7:
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L6:
ldr r2, [fp, #-32]
ldr r3, [fp, #-20]
cmp r2, r3
blt .L9
ldr r0, [fp, #-12]
bl free
ldr r0, [fp, #-16]
bl close
mov r3, #0
.L3:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L11:
.align 2
.L10:
.word .LC0
.word .LC1
.word 438
.word 578
.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 "866014.c"
.intel_syntax noprefix
.text
.globl area
.type area, @function
area:
.LFB6:
.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 -4[rbp], xmm0
movss DWORD PTR -8[rbp], xmm1
movss xmm0, DWORD PTR -4[rbp]
mulss xmm0, DWORD PTR -8[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size area, .-area
.section .rodata
.align 8
.LC1:
.string "usage: %s --height H --width W\n"
.LC2:
.string "--height"
.LC3:
.string "--width"
.LC4:
.string "Unkown parameter: %s\n"
.LC5:
.string "Area(h=%.f, w=%.f) = %.f\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, 48
mov DWORD PTR -36[rbp], edi
mov QWORD PTR -48[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
pxor xmm0, xmm0
movss DWORD PTR -24[rbp], xmm0
pxor xmm0, xmm0
movss DWORD PTR -20[rbp], xmm0
cmp DWORD PTR -36[rbp], 5
je .L4
mov rax, QWORD PTR -48[rbp]
mov rax, QWORD PTR [rax]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
mov edi, 1
call exit@PLT
.L4:
mov DWORD PTR -28[rbp], 1
jmp .L5
.L9:
mov eax, DWORD PTR -28[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -48[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
lea rsi, .LC2[rip]
mov rdi, rax
call strcmp@PLT
test eax, eax
jne .L6
add DWORD PTR -28[rbp], 1
mov eax, DWORD PTR -28[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -48[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
lea rdx, -16[rbp]
mov rsi, rdx
mov rdi, rax
call strtof@PLT
movd eax, xmm0
mov DWORD PTR -24[rbp], eax
jmp .L7
.L6:
mov eax, DWORD PTR -28[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -48[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
lea rsi, .LC3[rip]
mov rdi, rax
call strcmp@PLT
test eax, eax
jne .L8
add DWORD PTR -28[rbp], 1
mov eax, DWORD PTR -28[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -48[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
lea rdx, -16[rbp]
mov rsi, rdx
mov rdi, rax
call strtof@PLT
movd eax, xmm0
mov DWORD PTR -20[rbp], eax
jmp .L7
.L8:
mov eax, DWORD PTR -28[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -48[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
mov rsi, rax
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
.L7:
add DWORD PTR -28[rbp], 1
.L5:
mov eax, DWORD PTR -28[rbp]
cmp eax, DWORD PTR -36[rbp]
jl .L9
movss xmm0, DWORD PTR -20[rbp]
mov eax, DWORD PTR -24[rbp]
movaps xmm1, xmm0
movd xmm0, eax
call area
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, DWORD PTR -20[rbp]
pxor xmm3, xmm3
cvtss2sd xmm3, DWORD PTR -24[rbp]
movq rax, xmm3
movapd xmm2, xmm1
movapd xmm1, xmm0
movq xmm0, rax
lea rdi, .LC5[rip]
mov eax, 3
call printf@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
.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 "866014.c"
.text
.global __aeabi_fmul
.align 2
.global area
.syntax unified
.arm
.fpu softvfp
.type area, %function
area:
@ 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] @ float
str r1, [fp, #-12] @ float
ldr r1, [fp, #-12] @ float
ldr r0, [fp, #-8] @ float
bl __aeabi_fmul
mov r3, r0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size area, .-area
.section .rodata
.align 2
.LC0:
.ascii "usage: %s --height H --width W\012\000"
.align 2
.LC1:
.ascii "--height\000"
.align 2
.LC2:
.ascii "--width\000"
.align 2
.LC3:
.ascii "Unkown parameter: %s\012\000"
.global __aeabi_f2d
.align 2
.LC4:
.ascii "Area(h=%.f, w=%.f) = %.f\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 = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, r6, r7, fp, lr}
add fp, sp, #20
sub sp, sp, #48
str r0, [fp, #-48]
str r1, [fp, #-52]
ldr r3, .L12
ldr r3, [r3]
str r3, [fp, #-24]
mov r3,#0
mov r3, #0
str r3, [fp, #-32] @ float
mov r3, #0
str r3, [fp, #-28] @ float
ldr r3, [fp, #-48]
cmp r3, #5
beq .L4
ldr r3, [fp, #-52]
ldr r3, [r3]
mov r1, r3
ldr r0, .L12+4
bl printf
mov r0, #1
bl exit
.L4:
mov r3, #1
str r3, [fp, #-36]
b .L5
.L9:
ldr r3, [fp, #-36]
lsl r3, r3, #2
ldr r2, [fp, #-52]
add r3, r2, r3
ldr r3, [r3]
ldr r1, .L12+8
mov r0, r3
bl strcmp
mov r3, r0
cmp r3, #0
bne .L6
ldr r3, [fp, #-36]
add r3, r3, #1
str r3, [fp, #-36]
ldr r3, [fp, #-36]
lsl r3, r3, #2
ldr r2, [fp, #-52]
add r3, r2, r3
ldr r3, [r3]
sub r2, fp, #40
mov r1, r2
mov r0, r3
bl strtof
str r0, [fp, #-32] @ float
b .L7
.L6:
ldr r3, [fp, #-36]
lsl r3, r3, #2
ldr r2, [fp, #-52]
add r3, r2, r3
ldr r3, [r3]
ldr r1, .L12+12
mov r0, r3
bl strcmp
mov r3, r0
cmp r3, #0
bne .L8
ldr r3, [fp, #-36]
add r3, r3, #1
str r3, [fp, #-36]
ldr r3, [fp, #-36]
lsl r3, r3, #2
ldr r2, [fp, #-52]
add r3, r2, r3
ldr r3, [r3]
sub r2, fp, #40
mov r1, r2
mov r0, r3
bl strtof
str r0, [fp, #-28] @ float
b .L7
.L8:
ldr r3, [fp, #-36]
lsl r3, r3, #2
ldr r2, [fp, #-52]
add r3, r2, r3
ldr r3, [r3]
mov r1, r3
ldr r0, .L12+16
bl printf
.L7:
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 .L9
ldr r0, [fp, #-32] @ float
bl __aeabi_f2d
mov r6, r0
mov r7, r1
ldr r0, [fp, #-28] @ float
bl __aeabi_f2d
mov r4, r0
mov r5, r1
ldr r1, [fp, #-28] @ float
ldr r0, [fp, #-32] @ float
bl area
mov r3, r0
mov r0, r3
bl __aeabi_f2d
mov r2, r0
mov r3, r1
str r2, [sp, #8]
str r3, [sp, #12]
stm sp, {r4-r5}
mov r2, r6
mov r3, r7
ldr r0, .L12+20
bl printf
mov r3, #0
ldr r2, .L12
ldr r1, [r2]
ldr r2, [fp, #-24]
eors r1, r2, r1
mov r2, #0
beq .L11
bl __stack_chk_fail
.L11:
mov r0, r3
sub sp, fp, #20
@ sp needed
pop {r4, r5, r6, r7, 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 "1001891.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], 100
nop
.L4:
sub DWORD PTR -4[rbp], 1
cmp DWORD PTR -4[rbp], 10
jg .L9
jmp .L4
.L9:
nop
sub DWORD PTR -4[rbp], 1
nop
jmp .L5
.L6:
sub DWORD PTR -4[rbp], 1
.L5:
cmp DWORD PTR -4[rbp], 0
jne .L6
mov DWORD PTR -4[rbp], 20
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 "1001891.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
mov r3, #100
str r3, [fp, #-8]
nop
.L4:
ldr r3, [fp, #-8]
sub r3, r3, #1
str r3, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #10
bgt .L9
b .L4
.L9:
nop
ldr r3, [fp, #-8]
sub r3, r3, #1
str r3, [fp, #-8]
nop
b .L5
.L6:
ldr r3, [fp, #-8]
sub r3, r3, #1
str r3, [fp, #-8]
.L5:
ldr r3, [fp, #-8]
cmp r3, #0
bne .L6
mov r3, #20
str r3, [fp, #-8]
mov r3, #0
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 "645241.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "after malloc(), %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
.L2:
mov edi, 1
call sleep@PLT
mov edi, 1048576
call malloc@PLT
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 rax, QWORD PTR -8[rbp]
mov edx, 1048576
mov esi, 50
mov rdi, rax
call memset@PLT
jmp .L2
.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 "645241.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "after malloc(), %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
.L2:
mov r0, #1
bl sleep
mov r0, #1048576
bl malloc
mov r3, r0
str r3, [fp, #-8]
ldr r1, [fp, #-8]
ldr r0, .L3
bl printf
mov r2, #1048576
mov r1, #50
ldr r0, [fp, #-8]
bl memset
b .L2
.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 "810892.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 "810892.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "992938.c"
.intel_syntax noprefix
.text
.section .rodata
.LC3:
.string "float: %f\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
movss xmm0, DWORD PTR .LC0[rip]
movss DWORD PTR -12[rbp], xmm0
movss xmm0, DWORD PTR .LC1[rip]
movss DWORD PTR -8[rbp], xmm0
pxor xmm2, xmm2
cvtss2sd xmm2, DWORD PTR -12[rbp]
movsd QWORD PTR -24[rbp], xmm2
pxor xmm1, xmm1
cvtss2sd xmm1, DWORD PTR -8[rbp]
movsd xmm0, QWORD PTR .LC2[rip]
movapd xmm3, xmm1
mulsd xmm3, xmm0
movq rax, xmm3
movq xmm0, rax
call sin@PLT
movsd xmm1, QWORD PTR -24[rbp]
divsd xmm1, xmm0
pxor xmm0, xmm0
cvtsd2ss xmm0, xmm1
movss DWORD PTR -4[rbp], xmm0
pxor xmm4, xmm4
cvtss2sd xmm4, DWORD PTR -4[rbp]
movq rax, xmm4
movq xmm0, rax
lea rdi, .LC3[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 1065353216
.align 4
.LC1:
.long 1106247680
.align 8
.LC2:
.long -1571643772
.long 1066524486
.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 "992938.c"
.text
.global __aeabi_f2d
.global __aeabi_dmul
.global __aeabi_ddiv
.global __aeabi_d2f
.section .rodata
.align 2
.LC0:
.ascii "float: %f\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 {r4, r5, fp, lr}
add fp, sp, #12
sub sp, sp, #16
mov r3, #1065353216
str r3, [fp, #-24] @ float
ldr r3, .L3
str r3, [fp, #-20] @ float
ldr r0, [fp, #-24] @ float
bl __aeabi_f2d
mov r4, r0
mov r5, r1
ldr r0, [fp, #-20] @ float
bl __aeabi_f2d
ldr r2, .L3+4
ldr r3, .L3+8
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl sin
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 __aeabi_d2f
mov r3, r0
str r3, [fp, #-16] @ float
ldr r0, [fp, #-16] @ float
bl __aeabi_f2d
mov r2, r0
mov r3, r1
ldr r0, .L3+12
bl printf
mov r3, #0
mov r0, r3
sub sp, fp, #12
@ sp needed
pop {r4, r5, fp, pc}
.L4:
.align 2
.L3:
.word 1106247680
.word -1571643772
.word 1066524486
.word .LC0
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "835287.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "Digite sua idade"
.LC1:
.string "%d"
.LC2:
.string "Voc\303\252 deve pagar: "
.LC3:
.string "R$ 90,00"
.LC4:
.string "R$ 170,00"
.LC5:
.string "R$ 290,00"
.LC6:
.string "R$ 400,00"
.LC7:
.string "R$ 515,00"
.LC8:
.string "R$ 695,00"
.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]
call puts@PLT
lea rax, -12[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
mov eax, DWORD PTR -12[rbp]
cmp eax, 10
jg .L2
lea rdi, .LC3[rip]
call puts@PLT
jmp .L3
.L2:
mov eax, DWORD PTR -12[rbp]
cmp eax, 10
jle .L4
mov eax, DWORD PTR -12[rbp]
cmp eax, 29
jg .L4
lea rdi, .LC4[rip]
call puts@PLT
jmp .L3
.L4:
mov eax, DWORD PTR -12[rbp]
cmp eax, 29
jle .L5
mov eax, DWORD PTR -12[rbp]
cmp eax, 45
jg .L5
lea rdi, .LC5[rip]
call puts@PLT
jmp .L3
.L5:
mov eax, DWORD PTR -12[rbp]
cmp eax, 45
jle .L6
mov eax, DWORD PTR -12[rbp]
cmp eax, 59
jg .L6
lea rdi, .LC6[rip]
call puts@PLT
jmp .L3
.L6:
mov eax, DWORD PTR -12[rbp]
cmp eax, 59
jle .L7
mov eax, DWORD PTR -12[rbp]
cmp eax, 65
jg .L7
lea rdi, .LC7[rip]
call puts@PLT
jmp .L3
.L7:
lea rdi, .LC8[rip]
call puts@PLT
.L3:
mov eax, 0
mov rdx, QWORD PTR -8[rbp]
sub rdx, QWORD PTR fs:40
je .L9
call __stack_chk_fail@PLT
.L9:
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 "835287.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "Digite sua idade\000"
.align 2
.LC1:
.ascii "%d\000"
.align 2
.LC2:
.ascii "Voc\303\252 deve pagar: \000"
.align 2
.LC3:
.ascii "R$ 90,00\000"
.align 2
.LC4:
.ascii "R$ 170,00\000"
.align 2
.LC5:
.ascii "R$ 290,00\000"
.align 2
.LC6:
.ascii "R$ 400,00\000"
.align 2
.LC7:
.ascii "R$ 515,00\000"
.align 2
.LC8:
.ascii "R$ 695,00\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 = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
ldr r3, .L10
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r0, .L10+4
bl puts
sub r3, fp, #12
mov r1, r3
ldr r0, .L10+8
bl __isoc99_scanf
ldr r0, .L10+12
bl printf
ldr r3, [fp, #-12]
cmp r3, #10
bgt .L2
ldr r0, .L10+16
bl puts
b .L3
.L2:
ldr r3, [fp, #-12]
cmp r3, #10
ble .L4
ldr r3, [fp, #-12]
cmp r3, #29
bgt .L4
ldr r0, .L10+20
bl puts
b .L3
.L4:
ldr r3, [fp, #-12]
cmp r3, #29
ble .L5
ldr r3, [fp, #-12]
cmp r3, #45
bgt .L5
ldr r0, .L10+24
bl puts
b .L3
.L5:
ldr r3, [fp, #-12]
cmp r3, #45
ble .L6
ldr r3, [fp, #-12]
cmp r3, #59
bgt .L6
ldr r0, .L10+28
bl puts
b .L3
.L6:
ldr r3, [fp, #-12]
cmp r3, #59
ble .L7
ldr r3, [fp, #-12]
cmp r3, #65
bgt .L7
ldr r0, .L10+32
bl puts
b .L3
.L7:
ldr r0, .L10+36
bl puts
.L3:
mov r3, #0
ldr r2, .L10
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L9
bl __stack_chk_fail
.L9:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L11:
.align 2
.L10:
.word .LC9
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.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 "842989.c"
.intel_syntax noprefix
.text
.globl i
.bss
.align 4
.type i, @object
.size i, 4
i:
.zero 4
.globl j
.align 4
.type j, @object
.size j, 4
j:
.zero 4
.section .rodata
.LC0:
.string "i 1"
.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 i[rip], 8
mov DWORD PTR j[rip], 0
.L5:
mov eax, DWORD PTR j[rip]
add eax, 1
mov DWORD PTR j[rip], eax
mov eax, DWORD PTR i[rip]
sub eax, 1
mov DWORD PTR i[rip], eax
mov eax, DWORD PTR i[rip]
and eax, 1
test eax, eax
je .L6
mov eax, DWORD PTR j[rip]
add eax, 1
mov DWORD PTR j[rip], eax
mov eax, DWORD PTR i[rip]
cmp eax, 1
je .L7
jmp .L3
.L6:
nop
.L3:
mov eax, DWORD PTR i[rip]
cmp eax, 10
jne .L5
jmp .L4
.L7:
nop
.L4:
lea rdi, .LC0[rip]
mov eax, 0
call print@PLT
mov eax, DWORD PTR i[rip]
mov edi, eax
mov eax, 0
call printid@PLT
nop
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 "842989.c"
.text
.comm i,4,4
.comm j,4,4
.section .rodata
.align 2
.LC0:
.ascii "i 1\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 r3, .L8
mov r2, #8
str r2, [r3]
ldr r3, .L8+4
mov r2, #0
str r2, [r3]
.L5:
ldr r3, .L8+4
ldr r3, [r3]
add r3, r3, #1
ldr r2, .L8+4
str r3, [r2]
ldr r3, .L8
ldr r3, [r3]
sub r3, r3, #1
ldr r2, .L8
str r3, [r2]
ldr r3, .L8
ldr r3, [r3]
and r3, r3, #1
cmp r3, #0
beq .L6
ldr r3, .L8+4
ldr r3, [r3]
add r3, r3, #1
ldr r2, .L8+4
str r3, [r2]
ldr r3, .L8
ldr r3, [r3]
cmp r3, #1
beq .L7
b .L3
.L6:
nop
.L3:
ldr r3, .L8
ldr r3, [r3]
cmp r3, #10
bne .L5
b .L4
.L7:
nop
.L4:
ldr r0, .L8+8
bl print
ldr r3, .L8
ldr r3, [r3]
mov r0, r3
bl printid
nop
pop {fp, pc}
.L9:
.align 2
.L8:
.word i
.word j
.word .LC0
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "886419.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "a: %s\n"
.LC1:
.string "b: %s\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, 112
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -103[rbp], 1851880047
mov WORD PTR -99[rbp], 25959
mov BYTE PTR -97[rbp], 0
mov DWORD PTR -108[rbp], 0
jmp .L2
.L3:
mov eax, DWORD PTR -108[rbp]
cdqe
movzx edx, BYTE PTR -103[rbp+rax]
mov eax, DWORD PTR -108[rbp]
cdqe
mov BYTE PTR -96[rbp+rax], dl
add DWORD PTR -108[rbp], 1
.L2:
mov eax, DWORD PTR -108[rbp]
cdqe
movzx eax, BYTE PTR -103[rbp+rax]
test al, al
jne .L3
mov DWORD PTR -112[rbp], 0
jmp .L4
.L5:
sub DWORD PTR -108[rbp], 1
mov eax, DWORD PTR -108[rbp]
cdqe
movzx edx, BYTE PTR -103[rbp+rax]
mov eax, DWORD PTR -112[rbp]
cdqe
mov BYTE PTR -96[rbp+rax], dl
add DWORD PTR -112[rbp], 1
.L4:
mov eax, DWORD PTR -112[rbp]
cdqe
movzx eax, BYTE PTR -103[rbp+rax]
test al, al
jne .L5
mov eax, DWORD PTR -112[rbp]
cdqe
mov BYTE PTR -96[rbp+rax], 0
lea rax, -103[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
lea rax, -96[rbp]
mov rsi, rax
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 .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 "886419.c"
.text
.section .rodata
.align 2
.LC1:
.ascii "a: %s\012\000"
.align 2
.LC2:
.ascii "b: %s\012\000"
.align 2
.LC0:
.ascii "orange\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 = 104
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #104
ldr r3, .L8
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r2, .L8+4
sub r3, fp, #96
ldm r2, {r0, r1}
str r0, [r3]
add r3, r3, #4
strh r1, [r3] @ movhi
add r3, r3, #2
lsr r2, r1, #16
strb r2, [r3]
mov r3, #0
str r3, [fp, #-100]
b .L2
.L3:
sub r2, fp, #96
ldr r3, [fp, #-100]
add r3, r2, r3
ldrb r1, [r3] @ zero_extendqisi2
sub r2, fp, #88
ldr r3, [fp, #-100]
add r3, r2, r3
mov r2, r1
strb r2, [r3]
ldr r3, [fp, #-100]
add r3, r3, #1
str r3, [fp, #-100]
.L2:
sub r2, fp, #96
ldr r3, [fp, #-100]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L3
mov r3, #0
str r3, [fp, #-104]
b .L4
.L5:
ldr r3, [fp, #-100]
sub r3, r3, #1
str r3, [fp, #-100]
sub r2, fp, #96
ldr r3, [fp, #-100]
add r3, r2, r3
ldrb r1, [r3] @ zero_extendqisi2
sub r2, fp, #88
ldr r3, [fp, #-104]
add r3, r2, r3
mov r2, r1
strb r2, [r3]
ldr r3, [fp, #-104]
add r3, r3, #1
str r3, [fp, #-104]
.L4:
sub r2, fp, #96
ldr r3, [fp, #-104]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L5
sub r2, fp, #88
ldr r3, [fp, #-104]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
sub r3, fp, #96
mov r1, r3
ldr r0, .L8+8
bl printf
sub r3, fp, #88
mov r1, r3
ldr r0, .L8+12
bl printf
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
|