x86
stringlengths 321
23.7M
| arm
stringlengths 335
24.4M
|
---|---|
.file "311666.c"
.intel_syntax noprefix
.text
.globl test
.type test, @function
test:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -4[rbp], edi
mov DWORD PTR -8[rbp], esi
mov DWORD PTR -12[rbp], edx
cmp DWORD PTR -4[rbp], 43
je .L2
cmp DWORD PTR -4[rbp], 75
je .L2
cmp DWORD PTR -4[rbp], 44
je .L2
cmp DWORD PTR -4[rbp], 78
je .L2
cmp DWORD PTR -4[rbp], 77
je .L2
cmp DWORD PTR -4[rbp], 46
je .L2
cmp DWORD PTR -4[rbp], 76
je .L2
cmp DWORD PTR -4[rbp], 45
jne .L3
.L2:
mov eax, DWORD PTR -8[rbp]
jmp .L4
.L3:
mov eax, DWORD PTR -12[rbp]
.L4:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size test, .-test
.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, 32
mov DWORD PTR -20[rbp], 43
mov eax, DWORD PTR -20[rbp]
add eax, 4
mov DWORD PTR -16[rbp], eax
mov DWORD PTR -12[rbp], 75
mov eax, DWORD PTR -12[rbp]
add eax, 4
mov DWORD PTR -8[rbp], eax
mov DWORD PTR -4[rbp], -10
jmp .L6
.L12:
mov eax, DWORD PTR -4[rbp]
mov edx, 3
mov esi, 2
mov edi, eax
call test
mov edx, DWORD PTR -20[rbp]
cmp DWORD PTR -4[rbp], edx
jl .L7
mov edx, DWORD PTR -16[rbp]
cmp DWORD PTR -4[rbp], edx
jl .L8
.L7:
mov edx, DWORD PTR -12[rbp]
cmp DWORD PTR -4[rbp], edx
jl .L9
mov edx, DWORD PTR -8[rbp]
cmp DWORD PTR -4[rbp], edx
jge .L9
.L8:
mov ecx, 1
jmp .L10
.L9:
mov ecx, 0
.L10:
mov edx, 3
sub edx, ecx
cmp eax, edx
je .L11
call abort@PLT
.L11:
add DWORD PTR -4[rbp], 1
.L6:
cmp DWORD PTR -4[rbp], 100
jle .L12
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 "311666.c"
.text
.align 2
.global test
.syntax unified
.arm
.fpu softvfp
.type test, %function
test:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #20
str r0, [fp, #-8]
str r1, [fp, #-12]
str r2, [fp, #-16]
ldr r3, [fp, #-8]
cmp r3, #43
beq .L2
ldr r3, [fp, #-8]
cmp r3, #75
beq .L2
ldr r3, [fp, #-8]
cmp r3, #44
beq .L2
ldr r3, [fp, #-8]
cmp r3, #78
beq .L2
ldr r3, [fp, #-8]
cmp r3, #77
beq .L2
ldr r3, [fp, #-8]
cmp r3, #46
beq .L2
ldr r3, [fp, #-8]
cmp r3, #76
beq .L2
ldr r3, [fp, #-8]
cmp r3, #45
bne .L3
.L2:
ldr r3, [fp, #-12]
b .L4
.L3:
ldr r3, [fp, #-16]
.L4:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size test, .-test
.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
mov r3, #43
str r3, [fp, #-24]
ldr r3, [fp, #-24]
add r3, r3, #4
str r3, [fp, #-20]
mov r3, #75
str r3, [fp, #-16]
ldr r3, [fp, #-16]
add r3, r3, #4
str r3, [fp, #-12]
mvn r3, #9
str r3, [fp, #-8]
b .L6
.L12:
mov r2, #3
mov r1, #2
ldr r0, [fp, #-8]
bl test
mov r1, r0
ldr r3, [fp, #-24]
ldr r2, [fp, #-8]
cmp r2, r3
blt .L7
ldr r3, [fp, #-20]
ldr r2, [fp, #-8]
cmp r2, r3
blt .L8
.L7:
ldr r3, [fp, #-16]
ldr r2, [fp, #-8]
cmp r2, r3
blt .L9
ldr r3, [fp, #-12]
ldr r2, [fp, #-8]
cmp r2, r3
bge .L9
.L8:
mov r3, #1
b .L10
.L9:
mov r3, #0
.L10:
rsb r3, r3, #3
cmp r1, r3
beq .L11
bl abort
.L11:
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L6:
ldr r3, [fp, #-8]
cmp r3, #100
ble .L12
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 "218613.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "Enter a word: "
.LC1:
.string "Scrabble value: %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 -52[rbp], 0
movabs rax, 288797728480363265
movabs rdx, 216455369504131073
mov QWORD PTR -48[rbp], rax
mov QWORD PTR -40[rbp], rdx
movabs rax, 577591054568587530
mov QWORD PTR -32[rbp], rax
mov WORD PTR -24[rbp], 2564
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
jmp .L2
.L3:
movsx eax, BYTE PTR -53[rbp]
sub eax, 65
cdqe
movzx eax, BYTE PTR -48[rbp+rax]
movsx eax, al
add DWORD PTR -52[rbp], eax
.L2:
call getchar@PLT
mov edi, eax
call toupper@PLT
mov BYTE PTR -53[rbp], al
cmp BYTE PTR -53[rbp], 10
jne .L3
mov eax, DWORD PTR -52[rbp]
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .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 "218613.c"
.text
.section .rodata
.align 2
.LC1:
.ascii "Enter a word: \000"
.align 2
.LC2:
.ascii "Scrabble value: %d\012\000"
.align 2
.LC0:
.ascii "\001\003\003\002\001\004\002\004\001\010\005\001\003"
.ascii "\001\001\003\012\001\001\001\001\004\004\010\004\012"
.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
ldr r3, .L6
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-40]
ldr r3, .L6+4
sub ip, fp, #36
mov lr, r3
ldmia lr!, {r0, r1, r2, r3}
stmia ip!, {r0, r1, r2, r3}
ldm lr, {r0, r1, r2}
stmia ip!, {r0, r1}
strh r2, [ip] @ movhi
ldr r0, .L6+8
bl printf
b .L2
.L3:
ldrb r3, [fp, #-41] @ zero_extendqisi2
sub r3, r3, #65
sub r2, fp, #4
add r3, r2, r3
ldrb r3, [r3, #-32] @ zero_extendqisi2
mov r2, r3
ldr r3, [fp, #-40]
add r3, r3, r2
str r3, [fp, #-40]
.L2:
bl getchar
mov r3, r0
mov r0, r3
bl toupper
mov r3, r0
strb r3, [fp, #-41]
ldrb r3, [fp, #-41] @ zero_extendqisi2
cmp r3, #10
bne .L3
ldr r1, [fp, #-40]
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 "780010.c"
.intel_syntax noprefix
.text
.globl x_0
.bss
.align 4
.type x_0, @object
.size x_0, 4
x_0:
.zero 4
.globl x_1
.align 4
.type x_1, @object
.size x_1, 4
x_1:
.zero 4
.globl x_2
.align 4
.type x_2, @object
.size x_2, 4
x_2:
.zero 4
.globl x_3
.align 4
.type x_3, @object
.size x_3, 4
x_3:
.zero 4
.globl x_4
.align 4
.type x_4, @object
.size x_4, 4
x_4:
.zero 4
.globl x_5
.align 4
.type x_5, @object
.size x_5, 4
x_5:
.zero 4
.globl x_6
.align 4
.type x_6, @object
.size x_6, 4
x_6:
.zero 4
.globl x_7
.align 4
.type x_7, @object
.size x_7, 4
x_7:
.zero 4
.globl x_8
.align 4
.type x_8, @object
.size x_8, 4
x_8:
.zero 4
.globl x_9
.align 4
.type x_9, @object
.size x_9, 4
x_9:
.zero 4
.globl x_10
.align 4
.type x_10, @object
.size x_10, 4
x_10:
.zero 4
.globl x_11
.align 4
.type x_11, @object
.size x_11, 4
x_11:
.zero 4
.globl x_12
.align 4
.type x_12, @object
.size x_12, 4
x_12:
.zero 4
.globl x_13
.align 4
.type x_13, @object
.size x_13, 4
x_13:
.zero 4
.globl x_14
.align 4
.type x_14, @object
.size x_14, 4
x_14:
.zero 4
.globl x_15
.align 4
.type x_15, @object
.size x_15, 4
x_15:
.zero 4
.text
.globl main
.type main, @function
main:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
.L1010:
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_2[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1347
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
jmp .L4
.L1347:
movss xmm0, DWORD PTR x_2[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC1[rip]
addsd xmm0, xmm1
.L4:
movss xmm1, DWORD PTR x_3[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_4[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC3[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1348
movss xmm1, DWORD PTR x_3[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
jmp .L7
.L1348:
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC3[rip]
addsd xmm1, xmm2
.L7:
comisd xmm0, xmm1
jbe .L1349
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_2[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1350
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
jmp .L13
.L1350:
movss xmm0, DWORD PTR x_2[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC1[rip]
addsd xmm0, xmm1
jmp .L13
.L1349:
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC2[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC3[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1351
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC2[rip]
addsd xmm0, xmm1
jmp .L13
.L1351:
movss xmm0, DWORD PTR x_4[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC3[rip]
addsd xmm0, xmm1
.L13:
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_12[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC5[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1352
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
jmp .L19
.L1352:
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
.L19:
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC4[rip]
addsd xmm2, xmm3
movss xmm3, DWORD PTR x_15[rip]
pxor xmm4, xmm4
cvtss2sd xmm4, xmm3
movsd xmm3, QWORD PTR .LC6[rip]
addsd xmm3, xmm4
comisd xmm2, xmm3
jbe .L1353
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC4[rip]
addsd xmm2, xmm3
jmp .L22
.L1353:
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC6[rip]
addsd xmm2, xmm3
.L22:
comisd xmm1, xmm2
jbe .L1354
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_12[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC5[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1355
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
jmp .L28
.L1355:
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
jmp .L28
.L1354:
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC6[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1356
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
jmp .L28
.L1356:
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
.L28:
comisd xmm0, xmm1
jbe .L1357
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_2[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1358
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
jmp .L36
.L1358:
movss xmm0, DWORD PTR x_2[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC1[rip]
addsd xmm0, xmm1
.L36:
movss xmm1, DWORD PTR x_3[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_4[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC3[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1359
movss xmm1, DWORD PTR x_3[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
jmp .L39
.L1359:
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC3[rip]
addsd xmm1, xmm2
.L39:
comisd xmm0, xmm1
jbe .L1360
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_2[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1361
movss xmm1, DWORD PTR x_0[rip]
movss xmm0, DWORD PTR .LC7[rip]
addss xmm0, xmm1
jmp .L49
.L1361:
movss xmm1, DWORD PTR x_2[rip]
movss xmm0, DWORD PTR .LC8[rip]
addss xmm0, xmm1
jmp .L49
.L1360:
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC2[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC3[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1362
movss xmm1, DWORD PTR x_3[rip]
movss xmm0, DWORD PTR .LC9[rip]
addss xmm0, xmm1
jmp .L49
.L1362:
movss xmm1, DWORD PTR x_4[rip]
movss xmm0, DWORD PTR .LC10[rip]
addss xmm0, xmm1
jmp .L49
.L1357:
movss xmm0, DWORD PTR x_9[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC4[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1363
movss xmm0, DWORD PTR x_9[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC4[rip]
addsd xmm0, xmm1
jmp .L52
.L1363:
movss xmm0, DWORD PTR x_12[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC5[rip]
addsd xmm0, xmm1
.L52:
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC6[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1364
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
jmp .L55
.L1364:
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
.L55:
comisd xmm0, xmm1
jbe .L1365
movss xmm0, DWORD PTR x_9[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC4[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1366
movss xmm1, DWORD PTR x_9[rip]
movss xmm0, DWORD PTR .LC11[rip]
addss xmm0, xmm1
jmp .L49
.L1366:
movss xmm1, DWORD PTR x_12[rip]
movss xmm0, DWORD PTR .LC12[rip]
addss xmm0, xmm1
jmp .L49
.L1365:
movss xmm0, DWORD PTR x_13[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC4[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1367
movss xmm1, DWORD PTR x_13[rip]
movss xmm0, DWORD PTR .LC11[rip]
addss xmm0, xmm1
jmp .L49
.L1367:
movss xmm1, DWORD PTR x_15[rip]
movss xmm0, DWORD PTR .LC13[rip]
addss xmm0, xmm1
.L49:
movss DWORD PTR -64[rbp], xmm0
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC14[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC15[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1368
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC14[rip]
addsd xmm0, xmm1
jmp .L67
.L1368:
movss xmm0, DWORD PTR x_4[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC15[rip]
addsd xmm0, xmm1
.L67:
movss xmm1, DWORD PTR x_5[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC3[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_8[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC16[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1369
movss xmm1, DWORD PTR x_5[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC3[rip]
addsd xmm1, xmm2
jmp .L70
.L1369:
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
.L70:
comisd xmm0, xmm1
jbe .L1370
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC14[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC15[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1371
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC14[rip]
addsd xmm0, xmm1
jmp .L76
.L1371:
movss xmm0, DWORD PTR x_4[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC15[rip]
addsd xmm0, xmm1
jmp .L76
.L1370:
movss xmm0, DWORD PTR x_5[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC3[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1372
movss xmm0, DWORD PTR x_5[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC3[rip]
addsd xmm0, xmm1
jmp .L76
.L1372:
movss xmm0, DWORD PTR x_8[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC16[rip]
addsd xmm0, xmm1
.L76:
movss xmm1, DWORD PTR x_10[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_12[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC3[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1373
movss xmm1, DWORD PTR x_10[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
jmp .L82
.L1373:
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC3[rip]
addsd xmm1, xmm2
.L82:
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC16[rip]
addsd xmm2, xmm3
movss xmm3, DWORD PTR x_15[rip]
pxor xmm4, xmm4
cvtss2sd xmm4, xmm3
movsd xmm3, QWORD PTR .LC2[rip]
addsd xmm3, xmm4
comisd xmm2, xmm3
jbe .L1374
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC16[rip]
addsd xmm2, xmm3
jmp .L85
.L1374:
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC2[rip]
addsd xmm2, xmm3
.L85:
comisd xmm1, xmm2
jbe .L1375
movss xmm1, DWORD PTR x_10[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_12[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC3[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1376
movss xmm1, DWORD PTR x_10[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
jmp .L91
.L1376:
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC3[rip]
addsd xmm1, xmm2
jmp .L91
.L1375:
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC2[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1377
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
jmp .L91
.L1377:
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
.L91:
comisd xmm0, xmm1
jbe .L1378
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC14[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC15[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1379
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC14[rip]
addsd xmm0, xmm1
jmp .L99
.L1379:
movss xmm0, DWORD PTR x_4[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC15[rip]
addsd xmm0, xmm1
.L99:
movss xmm1, DWORD PTR x_5[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC3[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_8[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC16[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1380
movss xmm1, DWORD PTR x_5[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC3[rip]
addsd xmm1, xmm2
jmp .L102
.L1380:
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
.L102:
comisd xmm0, xmm1
jbe .L1381
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC14[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC15[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1382
movss xmm1, DWORD PTR x_0[rip]
movss xmm0, DWORD PTR .LC17[rip]
addss xmm0, xmm1
jmp .L112
.L1382:
movss xmm1, DWORD PTR x_4[rip]
movss xmm0, DWORD PTR .LC18[rip]
addss xmm0, xmm1
jmp .L112
.L1381:
movss xmm0, DWORD PTR x_5[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC3[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1383
movss xmm1, DWORD PTR x_5[rip]
movss xmm0, DWORD PTR .LC10[rip]
addss xmm0, xmm1
jmp .L112
.L1383:
movss xmm1, DWORD PTR x_8[rip]
movss xmm0, DWORD PTR .LC19[rip]
addss xmm0, xmm1
jmp .L112
.L1378:
movss xmm0, DWORD PTR x_10[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC16[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC3[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1384
movss xmm0, DWORD PTR x_10[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC16[rip]
addsd xmm0, xmm1
jmp .L115
.L1384:
movss xmm0, DWORD PTR x_12[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC3[rip]
addsd xmm0, xmm1
.L115:
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC2[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1385
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
jmp .L118
.L1385:
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
.L118:
comisd xmm0, xmm1
jbe .L1386
movss xmm0, DWORD PTR x_10[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC16[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC3[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1387
movss xmm1, DWORD PTR x_10[rip]
movss xmm0, DWORD PTR .LC19[rip]
addss xmm0, xmm1
jmp .L112
.L1387:
movss xmm1, DWORD PTR x_12[rip]
movss xmm0, DWORD PTR .LC10[rip]
addss xmm0, xmm1
jmp .L112
.L1386:
movss xmm0, DWORD PTR x_13[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC16[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1388
movss xmm1, DWORD PTR x_13[rip]
movss xmm0, DWORD PTR .LC19[rip]
addss xmm0, xmm1
jmp .L112
.L1388:
movss xmm1, DWORD PTR x_15[rip]
movss xmm0, DWORD PTR .LC9[rip]
addss xmm0, xmm1
.L112:
movss DWORD PTR -60[rbp], xmm0
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC20[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_5[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC15[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1389
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC20[rip]
addsd xmm0, xmm1
jmp .L130
.L1389:
movss xmm0, DWORD PTR x_5[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC15[rip]
addsd xmm0, xmm1
.L130:
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_9[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC16[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1390
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
jmp .L133
.L1390:
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
.L133:
comisd xmm0, xmm1
jbe .L1391
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC20[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_5[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC15[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1392
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC20[rip]
addsd xmm0, xmm1
jmp .L139
.L1392:
movss xmm0, DWORD PTR x_5[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC15[rip]
addsd xmm0, xmm1
jmp .L139
.L1391:
movss xmm0, DWORD PTR x_6[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC1[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1393
movss xmm0, DWORD PTR x_6[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC1[rip]
addsd xmm0, xmm1
jmp .L139
.L1393:
movss xmm0, DWORD PTR x_9[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC16[rip]
addsd xmm0, xmm1
.L139:
movss xmm1, DWORD PTR x_10[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC0[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_12[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC6[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1394
movss xmm1, DWORD PTR x_10[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC0[rip]
addsd xmm1, xmm2
jmp .L145
.L1394:
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
.L145:
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC20[rip]
addsd xmm2, xmm3
movss xmm3, DWORD PTR x_15[rip]
pxor xmm4, xmm4
cvtss2sd xmm4, xmm3
movsd xmm3, QWORD PTR .LC0[rip]
addsd xmm3, xmm4
comisd xmm2, xmm3
jbe .L1395
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC20[rip]
addsd xmm2, xmm3
jmp .L148
.L1395:
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC0[rip]
addsd xmm2, xmm3
.L148:
comisd xmm1, xmm2
jbe .L1396
movss xmm1, DWORD PTR x_10[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC0[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_12[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC6[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1397
movss xmm1, DWORD PTR x_10[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC0[rip]
addsd xmm1, xmm2
jmp .L154
.L1397:
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
jmp .L154
.L1396:
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC20[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC0[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1398
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC20[rip]
addsd xmm1, xmm2
jmp .L154
.L1398:
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC0[rip]
addsd xmm1, xmm2
.L154:
comisd xmm0, xmm1
jbe .L1399
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC20[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_5[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC15[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1400
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC20[rip]
addsd xmm0, xmm1
jmp .L162
.L1400:
movss xmm0, DWORD PTR x_5[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC15[rip]
addsd xmm0, xmm1
.L162:
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_9[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC16[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1401
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
jmp .L165
.L1401:
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
.L165:
comisd xmm0, xmm1
jbe .L1402
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC20[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_5[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC15[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1403
movss xmm1, DWORD PTR x_1[rip]
movss xmm0, DWORD PTR .LC21[rip]
addss xmm0, xmm1
jmp .L175
.L1403:
movss xmm1, DWORD PTR x_5[rip]
movss xmm0, DWORD PTR .LC18[rip]
addss xmm0, xmm1
jmp .L175
.L1402:
movss xmm0, DWORD PTR x_6[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC1[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1404
movss xmm1, DWORD PTR x_6[rip]
movss xmm0, DWORD PTR .LC8[rip]
addss xmm0, xmm1
jmp .L175
.L1404:
movss xmm1, DWORD PTR x_9[rip]
movss xmm0, DWORD PTR .LC19[rip]
addss xmm0, xmm1
jmp .L175
.L1399:
movss xmm0, DWORD PTR x_10[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1405
movss xmm0, DWORD PTR x_10[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
jmp .L178
.L1405:
movss xmm0, DWORD PTR x_12[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC6[rip]
addsd xmm0, xmm1
.L178:
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC20[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC0[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1406
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC20[rip]
addsd xmm1, xmm2
jmp .L181
.L1406:
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC0[rip]
addsd xmm1, xmm2
.L181:
comisd xmm0, xmm1
jbe .L1407
movss xmm0, DWORD PTR x_10[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1408
movss xmm1, DWORD PTR x_10[rip]
movss xmm0, DWORD PTR .LC7[rip]
addss xmm0, xmm1
jmp .L175
.L1408:
movss xmm1, DWORD PTR x_12[rip]
movss xmm0, DWORD PTR .LC13[rip]
addss xmm0, xmm1
jmp .L175
.L1407:
movss xmm0, DWORD PTR x_13[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC20[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC0[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1409
movss xmm1, DWORD PTR x_13[rip]
movss xmm0, DWORD PTR .LC21[rip]
addss xmm0, xmm1
jmp .L175
.L1409:
movss xmm1, DWORD PTR x_15[rip]
movss xmm0, DWORD PTR .LC7[rip]
addss xmm0, xmm1
.L175:
movss DWORD PTR -56[rbp], xmm0
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC22[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC3[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1410
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC22[rip]
addsd xmm0, xmm1
jmp .L193
.L1410:
movss xmm0, DWORD PTR x_4[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC3[rip]
addsd xmm0, xmm1
.L193:
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC23[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_10[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC3[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1411
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC23[rip]
addsd xmm1, xmm2
jmp .L196
.L1411:
movss xmm1, DWORD PTR x_10[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC3[rip]
addsd xmm1, xmm2
.L196:
comisd xmm0, xmm1
jbe .L1412
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC22[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC3[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1413
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC22[rip]
addsd xmm0, xmm1
jmp .L202
.L1413:
movss xmm0, DWORD PTR x_4[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC3[rip]
addsd xmm0, xmm1
jmp .L202
.L1412:
movss xmm0, DWORD PTR x_8[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC23[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_10[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC3[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1414
movss xmm0, DWORD PTR x_8[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC23[rip]
addsd xmm0, xmm1
jmp .L202
.L1414:
movss xmm0, DWORD PTR x_10[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC3[rip]
addsd xmm0, xmm1
.L202:
movss xmm1, DWORD PTR x_11[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC24[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1415
movss xmm1, DWORD PTR x_11[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
jmp .L208
.L1415:
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC24[rip]
addsd xmm1, xmm2
.L208:
movss xmm2, DWORD PTR x_14[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC2[rip]
addsd xmm2, xmm3
movss xmm3, DWORD PTR x_15[rip]
pxor xmm4, xmm4
cvtss2sd xmm4, xmm3
movsd xmm3, QWORD PTR .LC5[rip]
addsd xmm3, xmm4
comisd xmm2, xmm3
jbe .L1416
movss xmm2, DWORD PTR x_14[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC2[rip]
addsd xmm2, xmm3
jmp .L211
.L1416:
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC5[rip]
addsd xmm2, xmm3
.L211:
comisd xmm1, xmm2
jbe .L1417
movss xmm1, DWORD PTR x_11[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC24[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1418
movss xmm1, DWORD PTR x_11[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
jmp .L217
.L1418:
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC24[rip]
addsd xmm1, xmm2
jmp .L217
.L1417:
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC5[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1419
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
jmp .L217
.L1419:
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
.L217:
comisd xmm0, xmm1
jbe .L1420
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC22[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC3[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1421
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC22[rip]
addsd xmm0, xmm1
jmp .L225
.L1421:
movss xmm0, DWORD PTR x_4[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC3[rip]
addsd xmm0, xmm1
.L225:
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC23[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_10[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC3[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1422
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC23[rip]
addsd xmm1, xmm2
jmp .L228
.L1422:
movss xmm1, DWORD PTR x_10[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC3[rip]
addsd xmm1, xmm2
.L228:
comisd xmm0, xmm1
jbe .L1423
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC22[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC3[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1424
movss xmm1, DWORD PTR x_3[rip]
movss xmm0, DWORD PTR .LC25[rip]
addss xmm0, xmm1
jmp .L238
.L1424:
movss xmm1, DWORD PTR x_4[rip]
movss xmm0, DWORD PTR .LC10[rip]
addss xmm0, xmm1
jmp .L238
.L1423:
movss xmm0, DWORD PTR x_8[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC23[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_10[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC3[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1425
movss xmm1, DWORD PTR x_8[rip]
movss xmm0, DWORD PTR .LC26[rip]
addss xmm0, xmm1
jmp .L238
.L1425:
movss xmm1, DWORD PTR x_10[rip]
movss xmm0, DWORD PTR .LC10[rip]
addss xmm0, xmm1
jmp .L238
.L1420:
movss xmm0, DWORD PTR x_11[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC5[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC24[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1426
movss xmm0, DWORD PTR x_11[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC5[rip]
addsd xmm0, xmm1
jmp .L241
.L1426:
movss xmm0, DWORD PTR x_13[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC24[rip]
addsd xmm0, xmm1
.L241:
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC5[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1427
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
jmp .L244
.L1427:
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
.L244:
comisd xmm0, xmm1
jbe .L1428
movss xmm0, DWORD PTR x_11[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC5[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC24[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1429
movss xmm1, DWORD PTR x_11[rip]
movss xmm0, DWORD PTR .LC12[rip]
addss xmm0, xmm1
jmp .L238
.L1429:
movss xmm1, DWORD PTR x_13[rip]
movss xmm0, DWORD PTR .LC27[rip]
addss xmm0, xmm1
jmp .L238
.L1428:
movss xmm0, DWORD PTR x_14[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC2[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1430
movss xmm1, DWORD PTR x_14[rip]
movss xmm0, DWORD PTR .LC9[rip]
addss xmm0, xmm1
jmp .L238
.L1430:
movss xmm1, DWORD PTR x_15[rip]
movss xmm0, DWORD PTR .LC12[rip]
addss xmm0, xmm1
.L238:
movss DWORD PTR -52[rbp], xmm0
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_1[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1431
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
jmp .L256
.L1431:
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC4[rip]
addsd xmm0, xmm1
.L256:
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_9[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC23[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1432
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
jmp .L259
.L1432:
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC23[rip]
addsd xmm1, xmm2
.L259:
comisd xmm0, xmm1
jbe .L1433
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_1[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1434
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
jmp .L265
.L1434:
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC4[rip]
addsd xmm0, xmm1
jmp .L265
.L1433:
movss xmm0, DWORD PTR x_8[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC16[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC23[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1435
movss xmm0, DWORD PTR x_8[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC16[rip]
addsd xmm0, xmm1
jmp .L265
.L1435:
movss xmm0, DWORD PTR x_9[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC23[rip]
addsd xmm0, xmm1
.L265:
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC1[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1436
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
jmp .L271
.L1436:
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
.L271:
movss xmm2, DWORD PTR x_14[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC6[rip]
addsd xmm2, xmm3
movss xmm3, DWORD PTR x_15[rip]
pxor xmm4, xmm4
cvtss2sd xmm4, xmm3
movsd xmm3, QWORD PTR .LC22[rip]
addsd xmm3, xmm4
comisd xmm2, xmm3
jbe .L1437
movss xmm2, DWORD PTR x_14[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC6[rip]
addsd xmm2, xmm3
jmp .L274
.L1437:
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC22[rip]
addsd xmm2, xmm3
.L274:
comisd xmm1, xmm2
jbe .L1438
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC1[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1439
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
jmp .L280
.L1439:
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
jmp .L280
.L1438:
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC22[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1440
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
jmp .L280
.L1440:
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC22[rip]
addsd xmm1, xmm2
.L280:
comisd xmm0, xmm1
jbe .L1441
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_1[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1442
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
jmp .L288
.L1442:
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC4[rip]
addsd xmm0, xmm1
.L288:
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_9[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC23[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1443
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
jmp .L291
.L1443:
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC23[rip]
addsd xmm1, xmm2
.L291:
comisd xmm0, xmm1
jbe .L1444
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_1[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1445
movss xmm1, DWORD PTR x_0[rip]
movss xmm0, DWORD PTR .LC7[rip]
addss xmm0, xmm1
jmp .L301
.L1445:
movss xmm1, DWORD PTR x_1[rip]
movss xmm0, DWORD PTR .LC11[rip]
addss xmm0, xmm1
jmp .L301
.L1444:
movss xmm0, DWORD PTR x_8[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC16[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC23[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1446
movss xmm1, DWORD PTR x_8[rip]
movss xmm0, DWORD PTR .LC19[rip]
addss xmm0, xmm1
jmp .L301
.L1446:
movss xmm1, DWORD PTR x_9[rip]
movss xmm0, DWORD PTR .LC26[rip]
addss xmm0, xmm1
jmp .L301
.L1441:
movss xmm0, DWORD PTR x_12[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1447
movss xmm0, DWORD PTR x_12[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
jmp .L304
.L1447:
movss xmm0, DWORD PTR x_13[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC1[rip]
addsd xmm0, xmm1
.L304:
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC22[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1448
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
jmp .L307
.L1448:
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC22[rip]
addsd xmm1, xmm2
.L307:
comisd xmm0, xmm1
jbe .L1449
movss xmm0, DWORD PTR x_12[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1450
movss xmm1, DWORD PTR x_12[rip]
movss xmm0, DWORD PTR .LC29[rip]
addss xmm0, xmm1
jmp .L301
.L1450:
movss xmm1, DWORD PTR x_13[rip]
movss xmm0, DWORD PTR .LC8[rip]
addss xmm0, xmm1
jmp .L301
.L1449:
movss xmm0, DWORD PTR x_14[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC6[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC22[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1451
movss xmm1, DWORD PTR x_14[rip]
movss xmm0, DWORD PTR .LC13[rip]
addss xmm0, xmm1
jmp .L301
.L1451:
movss xmm1, DWORD PTR x_15[rip]
movss xmm0, DWORD PTR .LC25[rip]
addss xmm0, xmm1
.L301:
movss DWORD PTR -48[rbp], xmm0
movss xmm0, DWORD PTR x_2[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC16[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1452
movss xmm0, DWORD PTR x_2[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC16[rip]
addsd xmm0, xmm1
jmp .L319
.L1452:
movss xmm0, DWORD PTR x_4[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC30[rip]
addsd xmm0, xmm1
.L319:
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_9[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC6[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1453
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
jmp .L322
.L1453:
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
.L322:
comisd xmm0, xmm1
jbe .L1454
movss xmm0, DWORD PTR x_2[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC16[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1455
movss xmm0, DWORD PTR x_2[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC16[rip]
addsd xmm0, xmm1
jmp .L328
.L1455:
movss xmm0, DWORD PTR x_4[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC30[rip]
addsd xmm0, xmm1
jmp .L328
.L1454:
movss xmm0, DWORD PTR x_6[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC30[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1456
movss xmm0, DWORD PTR x_6[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC30[rip]
addsd xmm0, xmm1
jmp .L328
.L1456:
movss xmm0, DWORD PTR x_9[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC6[rip]
addsd xmm0, xmm1
.L328:
movss xmm1, DWORD PTR x_11[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC31[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_12[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC5[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1457
movss xmm1, DWORD PTR x_11[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC31[rip]
addsd xmm1, xmm2
jmp .L334
.L1457:
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
.L334:
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC22[rip]
addsd xmm2, xmm3
movss xmm3, DWORD PTR x_14[rip]
pxor xmm4, xmm4
cvtss2sd xmm4, xmm3
movsd xmm3, QWORD PTR .LC2[rip]
addsd xmm3, xmm4
comisd xmm2, xmm3
jbe .L1458
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC22[rip]
addsd xmm2, xmm3
jmp .L337
.L1458:
movss xmm2, DWORD PTR x_14[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC2[rip]
addsd xmm2, xmm3
.L337:
comisd xmm1, xmm2
jbe .L1459
movss xmm1, DWORD PTR x_11[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC31[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_12[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC5[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1460
movss xmm1, DWORD PTR x_11[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC31[rip]
addsd xmm1, xmm2
jmp .L343
.L1460:
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
jmp .L343
.L1459:
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC22[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_14[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC2[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1461
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC22[rip]
addsd xmm1, xmm2
jmp .L343
.L1461:
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
.L343:
comisd xmm0, xmm1
jbe .L1462
movss xmm0, DWORD PTR x_2[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC16[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1463
movss xmm0, DWORD PTR x_2[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC16[rip]
addsd xmm0, xmm1
jmp .L351
.L1463:
movss xmm0, DWORD PTR x_4[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC30[rip]
addsd xmm0, xmm1
.L351:
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_9[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC6[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1464
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
jmp .L354
.L1464:
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
.L354:
comisd xmm0, xmm1
jbe .L1465
movss xmm0, DWORD PTR x_2[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC16[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1466
movss xmm1, DWORD PTR x_2[rip]
movss xmm0, DWORD PTR .LC19[rip]
addss xmm0, xmm1
jmp .L364
.L1466:
movss xmm1, DWORD PTR x_4[rip]
movss xmm0, DWORD PTR .LC32[rip]
addss xmm0, xmm1
jmp .L364
.L1465:
movss xmm0, DWORD PTR x_6[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC30[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1467
movss xmm1, DWORD PTR x_6[rip]
movss xmm0, DWORD PTR .LC32[rip]
addss xmm0, xmm1
jmp .L364
.L1467:
movss xmm1, DWORD PTR x_9[rip]
movss xmm0, DWORD PTR .LC13[rip]
addss xmm0, xmm1
jmp .L364
.L1462:
movss xmm0, DWORD PTR x_11[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC31[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1468
movss xmm0, DWORD PTR x_11[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC31[rip]
addsd xmm0, xmm1
jmp .L367
.L1468:
movss xmm0, DWORD PTR x_12[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC5[rip]
addsd xmm0, xmm1
.L367:
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC22[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_14[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC2[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1469
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC22[rip]
addsd xmm1, xmm2
jmp .L370
.L1469:
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
.L370:
comisd xmm0, xmm1
jbe .L1470
movss xmm0, DWORD PTR x_11[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC31[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1471
movss xmm1, DWORD PTR x_11[rip]
movss xmm0, DWORD PTR .LC33[rip]
addss xmm0, xmm1
jmp .L364
.L1471:
movss xmm1, DWORD PTR x_12[rip]
movss xmm0, DWORD PTR .LC12[rip]
addss xmm0, xmm1
jmp .L364
.L1470:
movss xmm0, DWORD PTR x_13[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC22[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1472
movss xmm1, DWORD PTR x_13[rip]
movss xmm0, DWORD PTR .LC25[rip]
addss xmm0, xmm1
jmp .L364
.L1472:
movss xmm1, DWORD PTR x_14[rip]
movss xmm0, DWORD PTR .LC9[rip]
addss xmm0, xmm1
.L364:
movss DWORD PTR -44[rbp], xmm0
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC2[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC34[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1473
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC2[rip]
addsd xmm0, xmm1
jmp .L382
.L1473:
movss xmm0, DWORD PTR x_4[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC34[rip]
addsd xmm0, xmm1
.L382:
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC35[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_7[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC34[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1474
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC35[rip]
addsd xmm1, xmm2
jmp .L385
.L1474:
movss xmm1, DWORD PTR x_7[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC34[rip]
addsd xmm1, xmm2
.L385:
comisd xmm0, xmm1
jbe .L1475
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC2[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC34[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1476
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC2[rip]
addsd xmm0, xmm1
jmp .L391
.L1476:
movss xmm0, DWORD PTR x_4[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC34[rip]
addsd xmm0, xmm1
jmp .L391
.L1475:
movss xmm0, DWORD PTR x_6[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC35[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_7[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC34[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1477
movss xmm0, DWORD PTR x_6[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC35[rip]
addsd xmm0, xmm1
jmp .L391
.L1477:
movss xmm0, DWORD PTR x_7[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC34[rip]
addsd xmm0, xmm1
.L391:
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC0[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC23[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1478
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC0[rip]
addsd xmm1, xmm2
jmp .L397
.L1478:
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC23[rip]
addsd xmm1, xmm2
.L397:
movss xmm2, DWORD PTR x_14[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC3[rip]
addsd xmm2, xmm3
movss xmm3, DWORD PTR x_15[rip]
pxor xmm4, xmm4
cvtss2sd xmm4, xmm3
movsd xmm3, QWORD PTR .LC1[rip]
addsd xmm3, xmm4
comisd xmm2, xmm3
jbe .L1479
movss xmm2, DWORD PTR x_14[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC3[rip]
addsd xmm2, xmm3
jmp .L400
.L1479:
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC1[rip]
addsd xmm2, xmm3
.L400:
comisd xmm1, xmm2
jbe .L1480
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC0[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC23[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1481
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC0[rip]
addsd xmm1, xmm2
jmp .L406
.L1481:
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC23[rip]
addsd xmm1, xmm2
jmp .L406
.L1480:
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC3[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC1[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1482
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC3[rip]
addsd xmm1, xmm2
jmp .L406
.L1482:
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
.L406:
comisd xmm0, xmm1
jbe .L1483
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC2[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC34[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1484
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC2[rip]
addsd xmm0, xmm1
jmp .L414
.L1484:
movss xmm0, DWORD PTR x_4[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC34[rip]
addsd xmm0, xmm1
.L414:
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC35[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_7[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC34[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1485
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC35[rip]
addsd xmm1, xmm2
jmp .L417
.L1485:
movss xmm1, DWORD PTR x_7[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC34[rip]
addsd xmm1, xmm2
.L417:
comisd xmm0, xmm1
jbe .L1486
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC2[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC34[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1487
movss xmm1, DWORD PTR x_1[rip]
movss xmm0, DWORD PTR .LC9[rip]
addss xmm0, xmm1
jmp .L427
.L1487:
movss xmm1, DWORD PTR x_4[rip]
movss xmm0, DWORD PTR .LC36[rip]
addss xmm0, xmm1
jmp .L427
.L1486:
movss xmm0, DWORD PTR x_6[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC35[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_7[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC34[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1488
movss xmm1, DWORD PTR x_6[rip]
movss xmm0, DWORD PTR .LC37[rip]
addss xmm0, xmm1
jmp .L427
.L1488:
movss xmm1, DWORD PTR x_7[rip]
movss xmm0, DWORD PTR .LC36[rip]
addss xmm0, xmm1
jmp .L427
.L1483:
movss xmm0, DWORD PTR x_12[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC23[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1489
movss xmm0, DWORD PTR x_12[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
jmp .L430
.L1489:
movss xmm0, DWORD PTR x_13[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC23[rip]
addsd xmm0, xmm1
.L430:
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC3[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC1[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1490
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC3[rip]
addsd xmm1, xmm2
jmp .L433
.L1490:
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
.L433:
comisd xmm0, xmm1
jbe .L1491
movss xmm0, DWORD PTR x_12[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC23[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1492
movss xmm1, DWORD PTR x_12[rip]
movss xmm0, DWORD PTR .LC7[rip]
addss xmm0, xmm1
jmp .L427
.L1492:
movss xmm1, DWORD PTR x_13[rip]
movss xmm0, DWORD PTR .LC26[rip]
addss xmm0, xmm1
jmp .L427
.L1491:
movss xmm0, DWORD PTR x_14[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC3[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1493
movss xmm1, DWORD PTR x_14[rip]
movss xmm0, DWORD PTR .LC10[rip]
addss xmm0, xmm1
jmp .L427
.L1493:
movss xmm1, DWORD PTR x_15[rip]
movss xmm0, DWORD PTR .LC8[rip]
addss xmm0, xmm1
.L427:
movss DWORD PTR -40[rbp], xmm0
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_3[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1494
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
jmp .L445
.L1494:
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC30[rip]
addsd xmm0, xmm1
.L445:
movss xmm1, DWORD PTR x_5[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_6[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC28[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1495
movss xmm1, DWORD PTR x_5[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
jmp .L448
.L1495:
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
.L448:
comisd xmm0, xmm1
jbe .L1496
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_3[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1497
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
jmp .L454
.L1497:
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC30[rip]
addsd xmm0, xmm1
jmp .L454
.L1496:
movss xmm0, DWORD PTR x_5[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1498
movss xmm0, DWORD PTR x_5[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
jmp .L454
.L1498:
movss xmm0, DWORD PTR x_6[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
.L454:
movss xmm1, DWORD PTR x_7[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_9[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC22[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1499
movss xmm1, DWORD PTR x_7[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
jmp .L460
.L1499:
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC22[rip]
addsd xmm1, xmm2
.L460:
movss xmm2, DWORD PTR x_14[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC2[rip]
addsd xmm2, xmm3
movss xmm3, DWORD PTR x_15[rip]
pxor xmm4, xmm4
cvtss2sd xmm4, xmm3
movsd xmm3, QWORD PTR .LC16[rip]
addsd xmm3, xmm4
comisd xmm2, xmm3
jbe .L1500
movss xmm2, DWORD PTR x_14[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC2[rip]
addsd xmm2, xmm3
jmp .L463
.L1500:
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC16[rip]
addsd xmm2, xmm3
.L463:
comisd xmm1, xmm2
jbe .L1501
movss xmm1, DWORD PTR x_7[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_9[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC22[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1502
movss xmm1, DWORD PTR x_7[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
jmp .L469
.L1502:
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC22[rip]
addsd xmm1, xmm2
jmp .L469
.L1501:
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC16[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1503
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
jmp .L469
.L1503:
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
.L469:
comisd xmm0, xmm1
jbe .L1504
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_3[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1505
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
jmp .L477
.L1505:
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC30[rip]
addsd xmm0, xmm1
.L477:
movss xmm1, DWORD PTR x_5[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_6[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC28[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1506
movss xmm1, DWORD PTR x_5[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
jmp .L480
.L1506:
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
.L480:
comisd xmm0, xmm1
jbe .L1507
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_3[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1508
movss xmm1, DWORD PTR x_1[rip]
movss xmm0, DWORD PTR .LC7[rip]
addss xmm0, xmm1
jmp .L490
.L1508:
movss xmm1, DWORD PTR x_3[rip]
movss xmm0, DWORD PTR .LC32[rip]
addss xmm0, xmm1
jmp .L490
.L1507:
movss xmm0, DWORD PTR x_5[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1509
movss xmm1, DWORD PTR x_5[rip]
movss xmm0, DWORD PTR .LC29[rip]
addss xmm0, xmm1
jmp .L490
.L1509:
movss xmm1, DWORD PTR x_6[rip]
movss xmm0, DWORD PTR .LC29[rip]
addss xmm0, xmm1
jmp .L490
.L1504:
movss xmm0, DWORD PTR x_7[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC1[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC22[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1510
movss xmm0, DWORD PTR x_7[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC1[rip]
addsd xmm0, xmm1
jmp .L493
.L1510:
movss xmm0, DWORD PTR x_9[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC22[rip]
addsd xmm0, xmm1
.L493:
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC16[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1511
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
jmp .L496
.L1511:
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
.L496:
comisd xmm0, xmm1
jbe .L1512
movss xmm0, DWORD PTR x_7[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC1[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC22[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1513
movss xmm1, DWORD PTR x_7[rip]
movss xmm0, DWORD PTR .LC8[rip]
addss xmm0, xmm1
jmp .L490
.L1513:
movss xmm1, DWORD PTR x_9[rip]
movss xmm0, DWORD PTR .LC25[rip]
addss xmm0, xmm1
jmp .L490
.L1512:
movss xmm0, DWORD PTR x_14[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC2[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1514
movss xmm1, DWORD PTR x_14[rip]
movss xmm0, DWORD PTR .LC9[rip]
addss xmm0, xmm1
jmp .L490
.L1514:
movss xmm1, DWORD PTR x_15[rip]
movss xmm0, DWORD PTR .LC19[rip]
addss xmm0, xmm1
.L490:
movss DWORD PTR -36[rbp], xmm0
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC24[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1515
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC24[rip]
addsd xmm0, xmm1
jmp .L508
.L1515:
movss xmm0, DWORD PTR x_4[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC4[rip]
addsd xmm0, xmm1
.L508:
movss xmm1, DWORD PTR x_7[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC20[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_8[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC28[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1516
movss xmm1, DWORD PTR x_7[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC20[rip]
addsd xmm1, xmm2
jmp .L511
.L1516:
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
.L511:
comisd xmm0, xmm1
jbe .L1517
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC24[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1518
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC24[rip]
addsd xmm0, xmm1
jmp .L517
.L1518:
movss xmm0, DWORD PTR x_4[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC4[rip]
addsd xmm0, xmm1
jmp .L517
.L1517:
movss xmm0, DWORD PTR x_7[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC20[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1519
movss xmm0, DWORD PTR x_7[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC20[rip]
addsd xmm0, xmm1
jmp .L517
.L1519:
movss xmm0, DWORD PTR x_8[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
.L517:
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC6[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1520
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
jmp .L523
.L1520:
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
.L523:
movss xmm2, DWORD PTR x_14[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC30[rip]
addsd xmm2, xmm3
movss xmm3, DWORD PTR x_15[rip]
pxor xmm4, xmm4
cvtss2sd xmm4, xmm3
movsd xmm3, QWORD PTR .LC5[rip]
addsd xmm3, xmm4
comisd xmm2, xmm3
jbe .L1521
movss xmm2, DWORD PTR x_14[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC30[rip]
addsd xmm2, xmm3
jmp .L526
.L1521:
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC5[rip]
addsd xmm2, xmm3
.L526:
comisd xmm1, xmm2
jbe .L1522
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC6[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1523
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
jmp .L532
.L1523:
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
jmp .L532
.L1522:
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC5[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1524
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
jmp .L532
.L1524:
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
.L532:
comisd xmm0, xmm1
jbe .L1525
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC24[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1526
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC24[rip]
addsd xmm0, xmm1
jmp .L540
.L1526:
movss xmm0, DWORD PTR x_4[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC4[rip]
addsd xmm0, xmm1
.L540:
movss xmm1, DWORD PTR x_7[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC20[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_8[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC28[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1527
movss xmm1, DWORD PTR x_7[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC20[rip]
addsd xmm1, xmm2
jmp .L543
.L1527:
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
.L543:
comisd xmm0, xmm1
jbe .L1528
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC24[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1529
movss xmm1, DWORD PTR x_1[rip]
movss xmm0, DWORD PTR .LC27[rip]
addss xmm0, xmm1
jmp .L553
.L1529:
movss xmm1, DWORD PTR x_4[rip]
movss xmm0, DWORD PTR .LC11[rip]
addss xmm0, xmm1
jmp .L553
.L1528:
movss xmm0, DWORD PTR x_7[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC20[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1530
movss xmm1, DWORD PTR x_7[rip]
movss xmm0, DWORD PTR .LC21[rip]
addss xmm0, xmm1
jmp .L553
.L1530:
movss xmm1, DWORD PTR x_8[rip]
movss xmm0, DWORD PTR .LC29[rip]
addss xmm0, xmm1
jmp .L553
.L1525:
movss xmm0, DWORD PTR x_12[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC1[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1531
movss xmm0, DWORD PTR x_12[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC1[rip]
addsd xmm0, xmm1
jmp .L556
.L1531:
movss xmm0, DWORD PTR x_13[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC6[rip]
addsd xmm0, xmm1
.L556:
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC5[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1532
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
jmp .L559
.L1532:
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
.L559:
comisd xmm0, xmm1
jbe .L1533
movss xmm0, DWORD PTR x_12[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC1[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1534
movss xmm1, DWORD PTR x_12[rip]
movss xmm0, DWORD PTR .LC8[rip]
addss xmm0, xmm1
jmp .L553
.L1534:
movss xmm1, DWORD PTR x_13[rip]
movss xmm0, DWORD PTR .LC13[rip]
addss xmm0, xmm1
jmp .L553
.L1533:
movss xmm0, DWORD PTR x_14[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC30[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1535
movss xmm1, DWORD PTR x_14[rip]
movss xmm0, DWORD PTR .LC32[rip]
addss xmm0, xmm1
jmp .L553
.L1535:
movss xmm1, DWORD PTR x_15[rip]
movss xmm0, DWORD PTR .LC12[rip]
addss xmm0, xmm1
.L553:
movss DWORD PTR -32[rbp], xmm0
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_2[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1536
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
jmp .L571
.L1536:
movss xmm0, DWORD PTR x_2[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC2[rip]
addsd xmm0, xmm1
.L571:
movss xmm1, DWORD PTR x_3[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC0[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_4[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC28[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1537
movss xmm1, DWORD PTR x_3[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC0[rip]
addsd xmm1, xmm2
jmp .L574
.L1537:
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
.L574:
comisd xmm0, xmm1
jbe .L1538
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_2[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1539
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
jmp .L580
.L1539:
movss xmm0, DWORD PTR x_2[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC2[rip]
addsd xmm0, xmm1
jmp .L580
.L1538:
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1540
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
jmp .L580
.L1540:
movss xmm0, DWORD PTR x_4[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
.L580:
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC20[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_9[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC5[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1541
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC20[rip]
addsd xmm1, xmm2
jmp .L586
.L1541:
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
.L586:
movss xmm2, DWORD PTR x_12[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC22[rip]
addsd xmm2, xmm3
movss xmm3, DWORD PTR x_14[rip]
pxor xmm4, xmm4
cvtss2sd xmm4, xmm3
movsd xmm3, QWORD PTR .LC34[rip]
addsd xmm3, xmm4
comisd xmm2, xmm3
jbe .L1542
movss xmm2, DWORD PTR x_12[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC22[rip]
addsd xmm2, xmm3
jmp .L589
.L1542:
movss xmm2, DWORD PTR x_14[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC34[rip]
addsd xmm2, xmm3
.L589:
comisd xmm1, xmm2
jbe .L1543
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC20[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_9[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC5[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1544
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC20[rip]
addsd xmm1, xmm2
jmp .L595
.L1544:
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
jmp .L595
.L1543:
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC22[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_14[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC34[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1545
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC22[rip]
addsd xmm1, xmm2
jmp .L595
.L1545:
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC34[rip]
addsd xmm1, xmm2
.L595:
comisd xmm0, xmm1
jbe .L1546
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_2[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1547
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
jmp .L603
.L1547:
movss xmm0, DWORD PTR x_2[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC2[rip]
addsd xmm0, xmm1
.L603:
movss xmm1, DWORD PTR x_3[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC0[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_4[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC28[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1548
movss xmm1, DWORD PTR x_3[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC0[rip]
addsd xmm1, xmm2
jmp .L606
.L1548:
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
.L606:
comisd xmm0, xmm1
jbe .L1549
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_2[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1550
movss xmm1, DWORD PTR x_1[rip]
movss xmm0, DWORD PTR .LC29[rip]
addss xmm0, xmm1
jmp .L616
.L1550:
movss xmm1, DWORD PTR x_2[rip]
movss xmm0, DWORD PTR .LC9[rip]
addss xmm0, xmm1
jmp .L616
.L1549:
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1551
movss xmm1, DWORD PTR x_3[rip]
movss xmm0, DWORD PTR .LC7[rip]
addss xmm0, xmm1
jmp .L616
.L1551:
movss xmm1, DWORD PTR x_4[rip]
movss xmm0, DWORD PTR .LC29[rip]
addss xmm0, xmm1
jmp .L616
.L1546:
movss xmm0, DWORD PTR x_6[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC20[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1552
movss xmm0, DWORD PTR x_6[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC20[rip]
addsd xmm0, xmm1
jmp .L619
.L1552:
movss xmm0, DWORD PTR x_9[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC5[rip]
addsd xmm0, xmm1
.L619:
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC22[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_14[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC34[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1553
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC22[rip]
addsd xmm1, xmm2
jmp .L622
.L1553:
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC34[rip]
addsd xmm1, xmm2
.L622:
comisd xmm0, xmm1
jbe .L1554
movss xmm0, DWORD PTR x_6[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC20[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1555
movss xmm1, DWORD PTR x_6[rip]
movss xmm0, DWORD PTR .LC21[rip]
addss xmm0, xmm1
jmp .L616
.L1555:
movss xmm1, DWORD PTR x_9[rip]
movss xmm0, DWORD PTR .LC12[rip]
addss xmm0, xmm1
jmp .L616
.L1554:
movss xmm0, DWORD PTR x_12[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC22[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC34[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1556
movss xmm1, DWORD PTR x_12[rip]
movss xmm0, DWORD PTR .LC25[rip]
addss xmm0, xmm1
jmp .L616
.L1556:
movss xmm1, DWORD PTR x_14[rip]
movss xmm0, DWORD PTR .LC36[rip]
addss xmm0, xmm1
.L616:
movss DWORD PTR -28[rbp], xmm0
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC34[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_2[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC24[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1557
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC34[rip]
addsd xmm0, xmm1
jmp .L634
.L1557:
movss xmm0, DWORD PTR x_2[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC24[rip]
addsd xmm0, xmm1
.L634:
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC22[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_5[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC1[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1558
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC22[rip]
addsd xmm1, xmm2
jmp .L637
.L1558:
movss xmm1, DWORD PTR x_5[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
.L637:
comisd xmm0, xmm1
jbe .L1559
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC34[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_2[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC24[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1560
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC34[rip]
addsd xmm0, xmm1
jmp .L643
.L1560:
movss xmm0, DWORD PTR x_2[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC24[rip]
addsd xmm0, xmm1
jmp .L643
.L1559:
movss xmm0, DWORD PTR x_4[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC22[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_5[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1561
movss xmm0, DWORD PTR x_4[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC22[rip]
addsd xmm0, xmm1
jmp .L643
.L1561:
movss xmm0, DWORD PTR x_5[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC1[rip]
addsd xmm0, xmm1
.L643:
movss xmm1, DWORD PTR x_10[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC38[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_12[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC6[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1562
movss xmm1, DWORD PTR x_10[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC38[rip]
addsd xmm1, xmm2
jmp .L649
.L1562:
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
.L649:
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC4[rip]
addsd xmm2, xmm3
movss xmm3, DWORD PTR x_14[rip]
pxor xmm4, xmm4
cvtss2sd xmm4, xmm3
movsd xmm3, QWORD PTR .LC35[rip]
addsd xmm3, xmm4
comisd xmm2, xmm3
jbe .L1563
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC4[rip]
addsd xmm2, xmm3
jmp .L652
.L1563:
movss xmm2, DWORD PTR x_14[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC35[rip]
addsd xmm2, xmm3
.L652:
comisd xmm1, xmm2
jbe .L1564
movss xmm1, DWORD PTR x_10[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC38[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_12[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC6[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1565
movss xmm1, DWORD PTR x_10[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC38[rip]
addsd xmm1, xmm2
jmp .L658
.L1565:
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
jmp .L658
.L1564:
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_14[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC35[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1566
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
jmp .L658
.L1566:
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC35[rip]
addsd xmm1, xmm2
.L658:
comisd xmm0, xmm1
jbe .L1567
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC34[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_2[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC24[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1568
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC34[rip]
addsd xmm0, xmm1
jmp .L666
.L1568:
movss xmm0, DWORD PTR x_2[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC24[rip]
addsd xmm0, xmm1
.L666:
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC22[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_5[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC1[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1569
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC22[rip]
addsd xmm1, xmm2
jmp .L669
.L1569:
movss xmm1, DWORD PTR x_5[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
.L669:
comisd xmm0, xmm1
jbe .L1570
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC34[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_2[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC24[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1571
movss xmm1, DWORD PTR x_0[rip]
movss xmm0, DWORD PTR .LC36[rip]
addss xmm0, xmm1
jmp .L679
.L1571:
movss xmm1, DWORD PTR x_2[rip]
movss xmm0, DWORD PTR .LC27[rip]
addss xmm0, xmm1
jmp .L679
.L1570:
movss xmm0, DWORD PTR x_4[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC22[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_5[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC1[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1572
movss xmm1, DWORD PTR x_4[rip]
movss xmm0, DWORD PTR .LC25[rip]
addss xmm0, xmm1
jmp .L679
.L1572:
movss xmm1, DWORD PTR x_5[rip]
movss xmm0, DWORD PTR .LC8[rip]
addss xmm0, xmm1
jmp .L679
.L1567:
movss xmm0, DWORD PTR x_10[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC38[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1573
movss xmm0, DWORD PTR x_10[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC38[rip]
addsd xmm0, xmm1
jmp .L682
.L1573:
movss xmm0, DWORD PTR x_12[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC6[rip]
addsd xmm0, xmm1
.L682:
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_14[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC35[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1574
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
jmp .L685
.L1574:
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC35[rip]
addsd xmm1, xmm2
.L685:
comisd xmm0, xmm1
jbe .L1575
movss xmm0, DWORD PTR x_10[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC38[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1576
movss xmm1, DWORD PTR x_10[rip]
movss xmm0, DWORD PTR .LC39[rip]
addss xmm0, xmm1
jmp .L679
.L1576:
movss xmm1, DWORD PTR x_12[rip]
movss xmm0, DWORD PTR .LC13[rip]
addss xmm0, xmm1
jmp .L679
.L1575:
movss xmm0, DWORD PTR x_13[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC4[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC35[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1577
movss xmm1, DWORD PTR x_13[rip]
movss xmm0, DWORD PTR .LC11[rip]
addss xmm0, xmm1
jmp .L679
.L1577:
movss xmm1, DWORD PTR x_14[rip]
movss xmm0, DWORD PTR .LC37[rip]
addss xmm0, xmm1
.L679:
movss DWORD PTR -24[rbp], xmm0
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC38[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_1[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1578
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC38[rip]
addsd xmm0, xmm1
jmp .L697
.L1578:
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC2[rip]
addsd xmm0, xmm1
.L697:
movss xmm1, DWORD PTR x_2[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_3[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC0[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1579
movss xmm1, DWORD PTR x_2[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
jmp .L700
.L1579:
movss xmm1, DWORD PTR x_3[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC0[rip]
addsd xmm1, xmm2
.L700:
comisd xmm0, xmm1
jbe .L1580
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC38[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_1[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1581
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC38[rip]
addsd xmm0, xmm1
jmp .L706
.L1581:
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC2[rip]
addsd xmm0, xmm1
jmp .L706
.L1580:
movss xmm0, DWORD PTR x_2[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC30[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_3[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC0[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1582
movss xmm0, DWORD PTR x_2[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC30[rip]
addsd xmm0, xmm1
jmp .L706
.L1582:
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
.L706:
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_9[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC14[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1583
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
jmp .L712
.L1583:
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC14[rip]
addsd xmm1, xmm2
.L712:
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC5[rip]
addsd xmm2, xmm3
movss xmm3, DWORD PTR x_15[rip]
pxor xmm4, xmm4
cvtss2sd xmm4, xmm3
movsd xmm3, QWORD PTR .LC30[rip]
addsd xmm3, xmm4
comisd xmm2, xmm3
jbe .L1584
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC5[rip]
addsd xmm2, xmm3
jmp .L715
.L1584:
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC30[rip]
addsd xmm2, xmm3
.L715:
comisd xmm1, xmm2
jbe .L1585
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_9[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC14[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1586
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
jmp .L721
.L1586:
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC14[rip]
addsd xmm1, xmm2
jmp .L721
.L1585:
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC30[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1587
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
jmp .L721
.L1587:
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
.L721:
comisd xmm0, xmm1
jbe .L1588
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC38[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_1[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1589
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC38[rip]
addsd xmm0, xmm1
jmp .L729
.L1589:
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC2[rip]
addsd xmm0, xmm1
.L729:
movss xmm1, DWORD PTR x_2[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_3[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC0[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1590
movss xmm1, DWORD PTR x_2[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
jmp .L732
.L1590:
movss xmm1, DWORD PTR x_3[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC0[rip]
addsd xmm1, xmm2
.L732:
comisd xmm0, xmm1
jbe .L1591
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC38[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_1[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1592
movss xmm1, DWORD PTR x_0[rip]
movss xmm0, DWORD PTR .LC39[rip]
addss xmm0, xmm1
jmp .L742
.L1592:
movss xmm1, DWORD PTR x_1[rip]
movss xmm0, DWORD PTR .LC9[rip]
addss xmm0, xmm1
jmp .L742
.L1591:
movss xmm0, DWORD PTR x_2[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC30[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_3[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC0[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1593
movss xmm1, DWORD PTR x_2[rip]
movss xmm0, DWORD PTR .LC32[rip]
addss xmm0, xmm1
jmp .L742
.L1593:
movss xmm1, DWORD PTR x_3[rip]
movss xmm0, DWORD PTR .LC7[rip]
addss xmm0, xmm1
jmp .L742
.L1588:
movss xmm0, DWORD PTR x_8[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC14[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1594
movss xmm0, DWORD PTR x_8[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
jmp .L745
.L1594:
movss xmm0, DWORD PTR x_9[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC14[rip]
addsd xmm0, xmm1
.L745:
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC30[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1595
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
jmp .L748
.L1595:
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
.L748:
comisd xmm0, xmm1
jbe .L1596
movss xmm0, DWORD PTR x_8[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC14[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1597
movss xmm1, DWORD PTR x_8[rip]
movss xmm0, DWORD PTR .LC29[rip]
addss xmm0, xmm1
jmp .L742
.L1597:
movss xmm1, DWORD PTR x_9[rip]
movss xmm0, DWORD PTR .LC17[rip]
addss xmm0, xmm1
jmp .L742
.L1596:
movss xmm0, DWORD PTR x_13[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC5[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1598
movss xmm1, DWORD PTR x_13[rip]
movss xmm0, DWORD PTR .LC12[rip]
addss xmm0, xmm1
jmp .L742
.L1598:
movss xmm1, DWORD PTR x_15[rip]
movss xmm0, DWORD PTR .LC32[rip]
addss xmm0, xmm1
.L742:
movss DWORD PTR -20[rbp], xmm0
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC31[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC0[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1599
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC31[rip]
addsd xmm0, xmm1
jmp .L760
.L1599:
movss xmm0, DWORD PTR x_4[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
.L760:
movss xmm1, DWORD PTR x_7[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_8[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC6[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1600
movss xmm1, DWORD PTR x_7[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
jmp .L763
.L1600:
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
.L763:
comisd xmm0, xmm1
jbe .L1601
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC31[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC0[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1602
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC31[rip]
addsd xmm0, xmm1
jmp .L769
.L1602:
movss xmm0, DWORD PTR x_4[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
jmp .L769
.L1601:
movss xmm0, DWORD PTR x_7[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC6[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1603
movss xmm0, DWORD PTR x_7[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC6[rip]
addsd xmm0, xmm1
jmp .L769
.L1603:
movss xmm0, DWORD PTR x_8[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC6[rip]
addsd xmm0, xmm1
.L769:
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC31[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_10[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC4[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1604
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC31[rip]
addsd xmm1, xmm2
jmp .L775
.L1604:
movss xmm1, DWORD PTR x_10[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
.L775:
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC24[rip]
addsd xmm2, xmm3
movss xmm3, DWORD PTR x_15[rip]
pxor xmm4, xmm4
cvtss2sd xmm4, xmm3
movsd xmm3, QWORD PTR .LC34[rip]
addsd xmm3, xmm4
comisd xmm2, xmm3
jbe .L1605
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC24[rip]
addsd xmm2, xmm3
jmp .L778
.L1605:
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC34[rip]
addsd xmm2, xmm3
.L778:
comisd xmm1, xmm2
jbe .L1606
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC31[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_10[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC4[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1607
movss xmm1, DWORD PTR x_9[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC31[rip]
addsd xmm1, xmm2
jmp .L784
.L1607:
movss xmm1, DWORD PTR x_10[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
jmp .L784
.L1606:
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC24[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC34[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1608
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC24[rip]
addsd xmm1, xmm2
jmp .L784
.L1608:
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC34[rip]
addsd xmm1, xmm2
.L784:
comisd xmm0, xmm1
jbe .L1609
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC31[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC0[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1610
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC31[rip]
addsd xmm0, xmm1
jmp .L792
.L1610:
movss xmm0, DWORD PTR x_4[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
.L792:
movss xmm1, DWORD PTR x_7[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_8[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC6[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1611
movss xmm1, DWORD PTR x_7[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
jmp .L795
.L1611:
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
.L795:
comisd xmm0, xmm1
jbe .L1612
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC31[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_4[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC0[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1613
movss xmm1, DWORD PTR x_3[rip]
movss xmm0, DWORD PTR .LC33[rip]
addss xmm0, xmm1
jmp .L805
.L1613:
movss xmm1, DWORD PTR x_4[rip]
movss xmm0, DWORD PTR .LC7[rip]
addss xmm0, xmm1
jmp .L805
.L1612:
movss xmm0, DWORD PTR x_7[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC6[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1614
movss xmm1, DWORD PTR x_7[rip]
movss xmm0, DWORD PTR .LC13[rip]
addss xmm0, xmm1
jmp .L805
.L1614:
movss xmm1, DWORD PTR x_8[rip]
movss xmm0, DWORD PTR .LC13[rip]
addss xmm0, xmm1
jmp .L805
.L1609:
movss xmm0, DWORD PTR x_9[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC31[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_10[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1615
movss xmm0, DWORD PTR x_9[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC31[rip]
addsd xmm0, xmm1
jmp .L808
.L1615:
movss xmm0, DWORD PTR x_10[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC4[rip]
addsd xmm0, xmm1
.L808:
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC24[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC34[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1616
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC24[rip]
addsd xmm1, xmm2
jmp .L811
.L1616:
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC34[rip]
addsd xmm1, xmm2
.L811:
comisd xmm0, xmm1
jbe .L1617
movss xmm0, DWORD PTR x_9[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC31[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_10[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1618
movss xmm1, DWORD PTR x_9[rip]
movss xmm0, DWORD PTR .LC33[rip]
addss xmm0, xmm1
jmp .L805
.L1618:
movss xmm1, DWORD PTR x_10[rip]
movss xmm0, DWORD PTR .LC11[rip]
addss xmm0, xmm1
jmp .L805
.L1617:
movss xmm0, DWORD PTR x_13[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC24[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC34[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1619
movss xmm1, DWORD PTR x_13[rip]
movss xmm0, DWORD PTR .LC27[rip]
addss xmm0, xmm1
jmp .L805
.L1619:
movss xmm1, DWORD PTR x_15[rip]
movss xmm0, DWORD PTR .LC36[rip]
addss xmm0, xmm1
.L805:
movss DWORD PTR -16[rbp], xmm0
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_1[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1620
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
jmp .L823
.L1620:
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC4[rip]
addsd xmm0, xmm1
.L823:
movss xmm1, DWORD PTR x_3[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC15[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_6[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC30[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1621
movss xmm1, DWORD PTR x_3[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC15[rip]
addsd xmm1, xmm2
jmp .L826
.L1621:
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
.L826:
comisd xmm0, xmm1
jbe .L1622
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_1[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1623
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
jmp .L832
.L1623:
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC4[rip]
addsd xmm0, xmm1
jmp .L832
.L1622:
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC15[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1624
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC15[rip]
addsd xmm0, xmm1
jmp .L832
.L1624:
movss xmm0, DWORD PTR x_6[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC30[rip]
addsd xmm0, xmm1
.L832:
movss xmm1, DWORD PTR x_7[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_8[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC28[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1625
movss xmm1, DWORD PTR x_7[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
jmp .L838
.L1625:
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
.L838:
movss xmm2, DWORD PTR x_11[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC24[rip]
addsd xmm2, xmm3
movss xmm3, DWORD PTR x_13[rip]
pxor xmm4, xmm4
cvtss2sd xmm4, xmm3
movsd xmm3, QWORD PTR .LC5[rip]
addsd xmm3, xmm4
comisd xmm2, xmm3
jbe .L1626
movss xmm2, DWORD PTR x_11[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC24[rip]
addsd xmm2, xmm3
jmp .L841
.L1626:
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC5[rip]
addsd xmm2, xmm3
.L841:
comisd xmm1, xmm2
jbe .L1627
movss xmm1, DWORD PTR x_7[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_8[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC28[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1628
movss xmm1, DWORD PTR x_7[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC6[rip]
addsd xmm1, xmm2
jmp .L847
.L1628:
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
jmp .L847
.L1627:
movss xmm1, DWORD PTR x_11[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC24[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC5[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1629
movss xmm1, DWORD PTR x_11[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC24[rip]
addsd xmm1, xmm2
jmp .L847
.L1629:
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
.L847:
comisd xmm0, xmm1
jbe .L1630
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_1[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1631
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
jmp .L855
.L1631:
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC4[rip]
addsd xmm0, xmm1
.L855:
movss xmm1, DWORD PTR x_3[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC15[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_6[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC30[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1632
movss xmm1, DWORD PTR x_3[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC15[rip]
addsd xmm1, xmm2
jmp .L858
.L1632:
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
.L858:
comisd xmm0, xmm1
jbe .L1633
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC0[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_1[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC4[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1634
movss xmm1, DWORD PTR x_0[rip]
movss xmm0, DWORD PTR .LC7[rip]
addss xmm0, xmm1
jmp .L868
.L1634:
movss xmm1, DWORD PTR x_1[rip]
movss xmm0, DWORD PTR .LC11[rip]
addss xmm0, xmm1
jmp .L868
.L1633:
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC15[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC30[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1635
movss xmm1, DWORD PTR x_3[rip]
movss xmm0, DWORD PTR .LC18[rip]
addss xmm0, xmm1
jmp .L868
.L1635:
movss xmm1, DWORD PTR x_6[rip]
movss xmm0, DWORD PTR .LC32[rip]
addss xmm0, xmm1
jmp .L868
.L1630:
movss xmm0, DWORD PTR x_7[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC6[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1636
movss xmm0, DWORD PTR x_7[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC6[rip]
addsd xmm0, xmm1
jmp .L871
.L1636:
movss xmm0, DWORD PTR x_8[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
.L871:
movss xmm1, DWORD PTR x_11[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC24[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC5[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1637
movss xmm1, DWORD PTR x_11[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC24[rip]
addsd xmm1, xmm2
jmp .L874
.L1637:
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
.L874:
comisd xmm0, xmm1
jbe .L1638
movss xmm0, DWORD PTR x_7[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC6[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1639
movss xmm1, DWORD PTR x_7[rip]
movss xmm0, DWORD PTR .LC13[rip]
addss xmm0, xmm1
jmp .L868
.L1639:
movss xmm1, DWORD PTR x_8[rip]
movss xmm0, DWORD PTR .LC29[rip]
addss xmm0, xmm1
jmp .L868
.L1638:
movss xmm0, DWORD PTR x_11[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC24[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC5[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1640
movss xmm1, DWORD PTR x_11[rip]
movss xmm0, DWORD PTR .LC27[rip]
addss xmm0, xmm1
jmp .L868
.L1640:
movss xmm1, DWORD PTR x_13[rip]
movss xmm0, DWORD PTR .LC12[rip]
addss xmm0, xmm1
.L868:
movss DWORD PTR -12[rbp], xmm0
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC23[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_2[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1641
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC23[rip]
addsd xmm0, xmm1
jmp .L886
.L1641:
movss xmm0, DWORD PTR x_2[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
.L886:
movss xmm1, DWORD PTR x_3[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC31[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_8[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC22[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1642
movss xmm1, DWORD PTR x_3[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC31[rip]
addsd xmm1, xmm2
jmp .L889
.L1642:
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC22[rip]
addsd xmm1, xmm2
.L889:
comisd xmm0, xmm1
jbe .L1643
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC23[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_2[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1644
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC23[rip]
addsd xmm0, xmm1
jmp .L895
.L1644:
movss xmm0, DWORD PTR x_2[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
jmp .L895
.L1643:
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC31[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC22[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1645
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC31[rip]
addsd xmm0, xmm1
jmp .L895
.L1645:
movss xmm0, DWORD PTR x_8[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC22[rip]
addsd xmm0, xmm1
.L895:
movss xmm1, DWORD PTR x_11[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC15[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_12[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC16[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1646
movss xmm1, DWORD PTR x_11[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC15[rip]
addsd xmm1, xmm2
jmp .L901
.L1646:
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
.L901:
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC14[rip]
addsd xmm2, xmm3
movss xmm3, DWORD PTR x_15[rip]
pxor xmm4, xmm4
cvtss2sd xmm4, xmm3
movsd xmm3, QWORD PTR .LC2[rip]
addsd xmm3, xmm4
comisd xmm2, xmm3
jbe .L1647
movss xmm2, DWORD PTR x_13[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC14[rip]
addsd xmm2, xmm3
jmp .L904
.L1647:
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC2[rip]
addsd xmm2, xmm3
.L904:
comisd xmm1, xmm2
jbe .L1648
movss xmm1, DWORD PTR x_11[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC15[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_12[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC16[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1649
movss xmm1, DWORD PTR x_11[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC15[rip]
addsd xmm1, xmm2
jmp .L910
.L1649:
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
jmp .L910
.L1648:
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC14[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC2[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1650
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC14[rip]
addsd xmm1, xmm2
jmp .L910
.L1650:
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
.L910:
comisd xmm0, xmm1
jbe .L1651
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC23[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_2[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1652
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC23[rip]
addsd xmm0, xmm1
jmp .L918
.L1652:
movss xmm0, DWORD PTR x_2[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
.L918:
movss xmm1, DWORD PTR x_3[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC31[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_8[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC22[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1653
movss xmm1, DWORD PTR x_3[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC31[rip]
addsd xmm1, xmm2
jmp .L921
.L1653:
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC22[rip]
addsd xmm1, xmm2
.L921:
comisd xmm0, xmm1
jbe .L1654
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC23[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_2[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1655
movss xmm1, DWORD PTR x_1[rip]
movss xmm0, DWORD PTR .LC26[rip]
addss xmm0, xmm1
jmp .L931
.L1655:
movss xmm1, DWORD PTR x_2[rip]
movss xmm0, DWORD PTR .LC29[rip]
addss xmm0, xmm1
jmp .L931
.L1654:
movss xmm0, DWORD PTR x_3[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC31[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC22[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1656
movss xmm1, DWORD PTR x_3[rip]
movss xmm0, DWORD PTR .LC33[rip]
addss xmm0, xmm1
jmp .L931
.L1656:
movss xmm1, DWORD PTR x_8[rip]
movss xmm0, DWORD PTR .LC25[rip]
addss xmm0, xmm1
jmp .L931
.L1651:
movss xmm0, DWORD PTR x_11[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC15[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1657
movss xmm0, DWORD PTR x_11[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC15[rip]
addsd xmm0, xmm1
jmp .L934
.L1657:
movss xmm0, DWORD PTR x_12[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC16[rip]
addsd xmm0, xmm1
.L934:
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC14[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_15[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC2[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1658
movss xmm1, DWORD PTR x_13[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC14[rip]
addsd xmm1, xmm2
jmp .L937
.L1658:
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
.L937:
comisd xmm0, xmm1
jbe .L1659
movss xmm0, DWORD PTR x_11[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC15[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_12[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1660
movss xmm1, DWORD PTR x_11[rip]
movss xmm0, DWORD PTR .LC18[rip]
addss xmm0, xmm1
jmp .L931
.L1660:
movss xmm1, DWORD PTR x_12[rip]
movss xmm0, DWORD PTR .LC19[rip]
addss xmm0, xmm1
jmp .L931
.L1659:
movss xmm0, DWORD PTR x_13[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC14[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_15[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC2[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1661
movss xmm1, DWORD PTR x_13[rip]
movss xmm0, DWORD PTR .LC17[rip]
addss xmm0, xmm1
jmp .L931
.L1661:
movss xmm1, DWORD PTR x_15[rip]
movss xmm0, DWORD PTR .LC9[rip]
addss xmm0, xmm1
.L931:
movss DWORD PTR -8[rbp], xmm0
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_1[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1662
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
jmp .L949
.L1662:
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC16[rip]
addsd xmm0, xmm1
.L949:
movss xmm1, DWORD PTR x_2[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_6[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC28[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1663
movss xmm1, DWORD PTR x_2[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
jmp .L952
.L1663:
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
.L952:
comisd xmm0, xmm1
jbe .L1664
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_1[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1665
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
jmp .L958
.L1665:
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC16[rip]
addsd xmm0, xmm1
jmp .L958
.L1664:
movss xmm0, DWORD PTR x_2[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1666
movss xmm0, DWORD PTR x_2[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
jmp .L958
.L1666:
movss xmm0, DWORD PTR x_6[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
.L958:
movss xmm1, DWORD PTR x_7[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC15[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_8[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC35[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1667
movss xmm1, DWORD PTR x_7[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC15[rip]
addsd xmm1, xmm2
jmp .L964
.L1667:
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC35[rip]
addsd xmm1, xmm2
.L964:
movss xmm2, DWORD PTR x_11[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC31[rip]
addsd xmm2, xmm3
movss xmm3, DWORD PTR x_14[rip]
pxor xmm4, xmm4
cvtss2sd xmm4, xmm3
movsd xmm3, QWORD PTR .LC0[rip]
addsd xmm3, xmm4
comisd xmm2, xmm3
jbe .L1668
movss xmm2, DWORD PTR x_11[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC31[rip]
addsd xmm2, xmm3
jmp .L967
.L1668:
movss xmm2, DWORD PTR x_14[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC0[rip]
addsd xmm2, xmm3
.L967:
comisd xmm1, xmm2
jbe .L1669
movss xmm1, DWORD PTR x_7[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC15[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_8[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC35[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1670
movss xmm1, DWORD PTR x_7[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC15[rip]
addsd xmm1, xmm2
jmp .L973
.L1670:
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC35[rip]
addsd xmm1, xmm2
jmp .L973
.L1669:
movss xmm1, DWORD PTR x_11[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC31[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_14[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC0[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1671
movss xmm1, DWORD PTR x_11[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC31[rip]
addsd xmm1, xmm2
jmp .L973
.L1671:
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC0[rip]
addsd xmm1, xmm2
.L973:
comisd xmm0, xmm1
jbe .L1672
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_1[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1673
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
jmp .L981
.L1673:
movss xmm0, DWORD PTR x_1[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC16[rip]
addsd xmm0, xmm1
.L981:
movss xmm1, DWORD PTR x_2[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_6[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC28[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1674
movss xmm1, DWORD PTR x_2[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
jmp .L984
.L1674:
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
.L984:
comisd xmm0, xmm1
jbe .L1675
movss xmm0, DWORD PTR x_0[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_1[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC16[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1676
movss xmm1, DWORD PTR x_0[rip]
movss xmm0, DWORD PTR .LC29[rip]
addss xmm0, xmm1
jmp .L994
.L1676:
movss xmm1, DWORD PTR x_1[rip]
movss xmm0, DWORD PTR .LC19[rip]
addss xmm0, xmm1
jmp .L994
.L1675:
movss xmm0, DWORD PTR x_2[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC28[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_6[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC28[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1677
movss xmm1, DWORD PTR x_2[rip]
movss xmm0, DWORD PTR .LC29[rip]
addss xmm0, xmm1
jmp .L994
.L1677:
movss xmm1, DWORD PTR x_6[rip]
movss xmm0, DWORD PTR .LC29[rip]
addss xmm0, xmm1
jmp .L994
.L1672:
movss xmm0, DWORD PTR x_7[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC15[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC35[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1678
movss xmm0, DWORD PTR x_7[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC15[rip]
addsd xmm0, xmm1
jmp .L997
.L1678:
movss xmm0, DWORD PTR x_8[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC35[rip]
addsd xmm0, xmm1
.L997:
movss xmm1, DWORD PTR x_11[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC31[rip]
addsd xmm1, xmm2
movss xmm2, DWORD PTR x_14[rip]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm2
movsd xmm2, QWORD PTR .LC0[rip]
addsd xmm2, xmm3
comisd xmm1, xmm2
jbe .L1679
movss xmm1, DWORD PTR x_11[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC31[rip]
addsd xmm1, xmm2
jmp .L1000
.L1679:
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC0[rip]
addsd xmm1, xmm2
.L1000:
comisd xmm0, xmm1
jbe .L1680
movss xmm0, DWORD PTR x_7[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC15[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_8[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC35[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1681
movss xmm1, DWORD PTR x_7[rip]
movss xmm0, DWORD PTR .LC18[rip]
addss xmm0, xmm1
jmp .L994
.L1681:
movss xmm1, DWORD PTR x_8[rip]
movss xmm0, DWORD PTR .LC37[rip]
addss xmm0, xmm1
jmp .L994
.L1680:
movss xmm0, DWORD PTR x_11[rip]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, QWORD PTR .LC31[rip]
addsd xmm0, xmm1
movss xmm1, DWORD PTR x_14[rip]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm1
movsd xmm1, QWORD PTR .LC0[rip]
addsd xmm1, xmm2
comisd xmm0, xmm1
jbe .L1682
movss xmm1, DWORD PTR x_11[rip]
movss xmm0, DWORD PTR .LC33[rip]
addss xmm0, xmm1
jmp .L994
.L1682:
movss xmm1, DWORD PTR x_14[rip]
movss xmm0, DWORD PTR .LC7[rip]
addss xmm0, xmm1
.L994:
movss DWORD PTR -4[rbp], xmm0
movss xmm0, DWORD PTR -64[rbp]
movss DWORD PTR x_0[rip], xmm0
movss xmm0, DWORD PTR -60[rbp]
movss DWORD PTR x_1[rip], xmm0
movss xmm0, DWORD PTR -56[rbp]
movss DWORD PTR x_2[rip], xmm0
movss xmm0, DWORD PTR -52[rbp]
movss DWORD PTR x_3[rip], xmm0
movss xmm0, DWORD PTR -48[rbp]
movss DWORD PTR x_4[rip], xmm0
movss xmm0, DWORD PTR -44[rbp]
movss DWORD PTR x_5[rip], xmm0
movss xmm0, DWORD PTR -40[rbp]
movss DWORD PTR x_6[rip], xmm0
movss xmm0, DWORD PTR -36[rbp]
movss DWORD PTR x_7[rip], xmm0
movss xmm0, DWORD PTR -32[rbp]
movss DWORD PTR x_8[rip], xmm0
movss xmm0, DWORD PTR -28[rbp]
movss DWORD PTR x_9[rip], xmm0
movss xmm0, DWORD PTR -24[rbp]
movss DWORD PTR x_10[rip], xmm0
movss xmm0, DWORD PTR -20[rbp]
movss DWORD PTR x_11[rip], xmm0
movss xmm0, DWORD PTR -16[rbp]
movss DWORD PTR x_12[rip], xmm0
movss xmm0, DWORD PTR -12[rbp]
movss DWORD PTR x_13[rip], xmm0
movss xmm0, DWORD PTR -8[rbp]
movss DWORD PTR x_14[rip], xmm0
movss xmm0, DWORD PTR -4[rbp]
movss DWORD PTR x_15[rip], xmm0
jmp .L1010
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.align 8
.LC0:
.long 0
.long 1076232192
.align 8
.LC1:
.long 0
.long 1076494336
.align 8
.LC2:
.long 0
.long 1077018624
.align 8
.LC3:
.long 0
.long 1076625408
.align 8
.LC4:
.long 0
.long 1072693248
.align 8
.LC5:
.long 0
.long 1076101120
.align 8
.LC6:
.long 0
.long 1074790400
.align 4
.LC7:
.long 1093664768
.align 4
.LC8:
.long 1095761920
.align 4
.LC9:
.long 1099956224
.align 4
.LC10:
.long 1096810496
.align 4
.LC11:
.long 1065353216
.align 4
.LC12:
.long 1092616192
.align 4
.LC13:
.long 1082130432
.align 8
.LC14:
.long 0
.long 1077149696
.align 8
.LC15:
.long 0
.long 1076756480
.align 8
.LC16:
.long 0
.long 1076887552
.align 4
.LC17:
.long 1101004800
.align 4
.LC18:
.long 1097859072
.align 4
.LC19:
.long 1098907648
.align 8
.LC20:
.long 0
.long 1075314688
.align 4
.LC21:
.long 1086324736
.align 8
.LC22:
.long 0
.long 1076953088
.align 8
.LC23:
.long 0
.long 1077084160
.align 8
.LC24:
.long 0
.long 1076363264
.align 4
.LC25:
.long 1099431936
.align 4
.LC26:
.long 1100480512
.align 4
.LC27:
.long 1094713344
.align 8
.LC28:
.long 0
.long 1074266112
.align 4
.LC29:
.long 1077936128
.align 8
.LC30:
.long 0
.long 1075970048
.align 8
.LC31:
.long 0
.long 1075052544
.align 4
.LC32:
.long 1091567616
.align 4
.LC33:
.long 1084227584
.align 8
.LC34:
.long 0
.long 1075838976
.align 8
.LC35:
.long 0
.long 1075576832
.align 4
.LC36:
.long 1090519040
.align 4
.LC37:
.long 1088421888
.align 8
.LC38:
.long 0
.long 1073741824
.align 4
.LC39:
.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 "780010.c"
.text
.comm x_0,4,4
.comm x_1,4,4
.comm x_2,4,4
.comm x_3,4,4
.comm x_4,4,4
.comm x_5,4,4
.comm x_6,4,4
.comm x_7,4,4
.comm x_8,4,4
.comm x_9,4,4
.comm x_10,4,4
.comm x_11,4,4
.comm x_12,4,4
.comm x_13,4,4
.comm x_14,4,4
.comm x_15,4,4
.global __aeabi_f2d
.global __aeabi_dadd
.global __aeabi_dcmpgt
.global __aeabi_d2f
.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 {r4, r5, r6, r7, r8, r9, fp, lr}
add fp, sp, #28
sub sp, sp, #64
.L1010:
ldr r3, .L1683
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1683+8
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+12
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1347
ldr r3, .L1683
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L4
.L1347:
ldr r3, .L1683+8
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+12
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L4:
ldr r3, .L1683+16
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1683+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1348
ldr r3, .L1683+16
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L7
.L1348:
ldr r3, .L1683+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L7:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1349
ldr r3, .L1683
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1683+8
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+12
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1350
ldr r3, .L1683
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L13
.L1350:
ldr r3, .L1683+8
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+12
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L13
.L1349:
ldr r3, .L1683+16
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1683+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1351
ldr r3, .L1683+16
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L13
.L1351:
ldr r3, .L1683+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L13:
ldr r3, .L1683+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1683+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+24
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1352
ldr r3, .L1683+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
b .L19
.L1352:
ldr r3, .L1683+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+24
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
.L19:
ldr r3, .L1683+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r8, r2
mov r9, r3
ldr r3, .L1683+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r8
mov r1, r9
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1353
ldr r3, .L1683+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L22
.L1353:
ldr r3, .L1683+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L22:
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1354
ldr r3, .L1683+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1683+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+24
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1355
ldr r3, .L1683+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L28
.L1355:
ldr r3, .L1683+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+24
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L28
.L1354:
ldr r3, .L1683+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1683+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1356
ldr r3, .L1683+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L28
.L1356:
ldr r3, .L1683+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L28:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1357
ldr r3, .L1683
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1683+8
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+12
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1358
ldr r3, .L1683
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L36
.L1358:
ldr r3, .L1683+8
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+12
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L36:
ldr r3, .L1683+16
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1683+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1359
ldr r3, .L1683+16
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L39
.L1359:
ldr r3, .L1683+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L39:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1360
ldr r3, .L1683
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1683+8
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+12
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1361
ldr r3, .L1683
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L49
.L1361:
ldr r3, .L1683+8
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+12
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L49
.L1360:
ldr r3, .L1683+16
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1683+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1362
ldr r3, .L1683+16
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L49
.L1362:
ldr r3, .L1683+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L49
.L1357:
ldr r3, .L1683+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1683+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+24
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1363
ldr r3, .L1683+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L52
.L1363:
ldr r3, .L1683+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+24
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L52:
ldr r3, .L1683+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1683+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1364
ldr r3, .L1683+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L55
.L1364:
ldr r3, .L1683+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L55:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1365
ldr r3, .L1683+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1683+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+24
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1366
ldr r3, .L1683+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L49
.L1366:
ldr r3, .L1683+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+24
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L49
.L1365:
ldr r3, .L1683+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1683+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1367
ldr r3, .L1683+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L49
.L1367:
ldr r3, .L1683+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L49:
mov r0, r2
mov r1, r3
bl __aeabi_d2f
mov r3, r0
str r3, [fp, #-92] @ float
ldr r3, .L1683
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1683+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1368
ldr r3, .L1683
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L67
.L1368:
ldr r3, .L1683+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L67:
ldr r3, .L1683+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1683+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1369
ldr r3, .L1683+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L70
.L1369:
ldr r3, .L1683+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L70:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1370
ldr r3, .L1683
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1683+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1371
ldr r3, .L1683
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L76
.L1371:
ldr r3, .L1683+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L76
.L1370:
ldr r3, .L1683+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1683+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1372
ldr r3, .L1683+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L76
.L1372:
ldr r3, .L1683+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L76:
ldr r3, .L1683+52
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1683+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1373
ldr r3, .L1683+52
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
b .L82
.L1684:
.align 2
.L1683:
.word x_0
.word 1076232192
.word x_2
.word 1076494336
.word x_3
.word 1072693248
.word 1076101120
.word x_0
.word 1077149696
.word x_4
.word x_8
.word 1076625408
.word 1077018624
.word x_10
.word x_12
.word 1074790400
.word x_13
.word x_15
.word 1076232192
.word x_1
.word 1075314688
.word x_5
.word 1076756480
.word 1076494336
.word x_9
.word 1076887552
.word x_6
.L1373:
ldr r3, .L1683+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
.L82:
ldr r3, .L1683+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r8, r2
mov r9, r3
ldr r3, .L1683+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r8
mov r1, r9
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1374
ldr r3, .L1683+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L85
.L1374:
ldr r3, .L1683+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L85:
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1375
ldr r3, .L1683+52
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1683+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1376
ldr r3, .L1683+52
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L91
.L1376:
ldr r3, .L1683+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L91
.L1375:
ldr r3, .L1683+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1683+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1377
ldr r3, .L1683+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L91
.L1377:
ldr r3, .L1683+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L91:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1378
ldr r3, .L1683+28
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1683+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1379
ldr r3, .L1683+28
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L99
.L1379:
ldr r3, .L1683+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L99:
ldr r3, .L1683+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1683+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1380
ldr r3, .L1683+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L102
.L1380:
ldr r3, .L1683+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L102:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1381
ldr r3, .L1683+28
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1683+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1382
ldr r3, .L1683+28
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L112
.L1382:
ldr r3, .L1683+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L112
.L1381:
ldr r3, .L1683+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1683+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1383
ldr r3, .L1683+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L112
.L1383:
ldr r3, .L1683+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L112
.L1378:
ldr r3, .L1683+52
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1683+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1384
ldr r3, .L1683+52
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L115
.L1384:
ldr r3, .L1683+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L115:
ldr r3, .L1683+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1683+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1385
ldr r3, .L1683+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L118
.L1385:
ldr r3, .L1683+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L118:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1386
ldr r3, .L1683+52
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1683+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1387
ldr r3, .L1683+52
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L112
.L1387:
ldr r3, .L1683+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L112
.L1386:
ldr r3, .L1683+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1683+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1388
ldr r3, .L1683+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L112
.L1388:
ldr r3, .L1683+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L112:
mov r0, r2
mov r1, r3
bl __aeabi_d2f
mov r3, r0
str r3, [fp, #-88] @ float
ldr r3, .L1683+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+80
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1683+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1389
ldr r3, .L1683+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+80
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L130
.L1389:
ldr r3, .L1683+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L130:
ldr r3, .L1683+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1683+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1390
ldr r3, .L1683+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L133
.L1390:
ldr r3, .L1683+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L133:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1391
ldr r3, .L1683+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+80
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1683+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1392
ldr r3, .L1683+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+80
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L139
.L1392:
ldr r3, .L1683+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L139
.L1391:
ldr r3, .L1683+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1683+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1393
ldr r3, .L1683+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L139
.L1393:
ldr r3, .L1683+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L139:
ldr r3, .L1683+52
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1683+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1394
ldr r3, .L1683+52
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
b .L145
.L1394:
ldr r3, .L1683+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
.L145:
ldr r3, .L1683+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+80
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r8, r2
mov r9, r3
ldr r3, .L1683+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r8
mov r1, r9
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1395
ldr r3, .L1683+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+80
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L148
.L1395:
ldr r3, .L1683+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L148:
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1396
ldr r3, .L1683+52
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1683+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1397
ldr r3, .L1683+52
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L154
.L1397:
ldr r3, .L1683+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L154
.L1396:
ldr r3, .L1683+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+80
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1683+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1398
ldr r3, .L1683+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+80
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L154
.L1398:
ldr r3, .L1683+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L154:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1399
ldr r3, .L1683+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+80
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1683+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1400
ldr r3, .L1683+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+80
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L162
.L1400:
ldr r3, .L1683+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L162:
ldr r3, .L1683+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1683+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1683+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1401
ldr r3, .L1683+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L165
.L1401:
ldr r3, .L1685+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+108
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L165:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1402
ldr r3, .L1685+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1685+4
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1403
ldr r3, .L1685+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L175
.L1403:
ldr r3, .L1685+4
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L175
.L1402:
ldr r3, .L1685+92
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1685+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+108
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1404
ldr r3, .L1685+92
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L175
.L1404:
ldr r3, .L1685+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+108
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L175
.L1399:
ldr r3, .L1685+12
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1685+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1405
ldr r3, .L1685+12
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L178
.L1405:
ldr r3, .L1685+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L178:
ldr r3, .L1685+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1685+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1406
ldr r3, .L1685+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L181
.L1406:
ldr r3, .L1685+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L181:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1407
ldr r3, .L1685+12
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1685+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1408
ldr r3, .L1685+12
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L175
.L1408:
ldr r3, .L1685+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L175
.L1407:
ldr r3, .L1685+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1685+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1409
ldr r3, .L1685+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L175
.L1409:
ldr r3, .L1685+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L175:
mov r0, r2
mov r1, r3
bl __aeabi_d2f
mov r3, r0
str r3, [fp, #-84] @ float
ldr r3, .L1685+16
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1685+112
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1410
ldr r3, .L1685+16
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L193
.L1410:
ldr r3, .L1685+112
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L193:
ldr r3, .L1685+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1685+12
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1411
ldr r3, .L1685+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L196
.L1411:
ldr r3, .L1685+12
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L196:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1412
ldr r3, .L1685+16
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1685+112
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1413
ldr r3, .L1685+16
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L202
.L1413:
ldr r3, .L1685+112
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L202
.L1412:
ldr r3, .L1685+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1685+12
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1414
ldr r3, .L1685+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L202
.L1414:
ldr r3, .L1685+12
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L202:
ldr r3, .L1685+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+36
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1685+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+28
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1415
ldr r3, .L1685+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+36
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
b .L208
.L1415:
ldr r3, .L1685+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+28
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
.L208:
ldr r3, .L1685+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r8, r2
mov r9, r3
ldr r3, .L1685+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+36
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r8
mov r1, r9
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1416
ldr r3, .L1685+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L211
.L1416:
ldr r3, .L1685+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+36
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L211:
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1417
ldr r3, .L1685+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+36
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1685+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+28
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1418
ldr r3, .L1685+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+36
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L217
.L1418:
ldr r3, .L1685+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+28
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L217
.L1417:
ldr r3, .L1685+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1685+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+36
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1419
ldr r3, .L1685+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L217
.L1419:
ldr r3, .L1685+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+36
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L217:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1420
ldr r3, .L1685+16
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1685+112
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1421
ldr r3, .L1685+16
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L225
.L1421:
ldr r3, .L1685+112
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L225:
ldr r3, .L1685+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1685+12
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1422
ldr r3, .L1685+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L228
.L1422:
ldr r3, .L1685+12
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L228:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1423
ldr r3, .L1685+16
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1685+112
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1424
ldr r3, .L1685+16
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L238
.L1424:
ldr r3, .L1685+112
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L238
.L1423:
ldr r3, .L1685+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1685+12
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1425
ldr r3, .L1685+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L238
.L1425:
ldr r3, .L1685+12
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L238
.L1420:
ldr r3, .L1685+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+36
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1685+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+28
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1426
ldr r3, .L1685+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+36
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L241
.L1426:
ldr r3, .L1685+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+28
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L241:
ldr r3, .L1685+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1685+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+36
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1427
ldr r3, .L1685+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L244
.L1686:
.align 2
.L1685:
.word 1075314688
.word x_5
.word 1076756480
.word x_10
.word x_3
.word 1076625408
.word x_11
.word 1076363264
.word 1077018624
.word 1076101120
.word x_0
.word 1076232192
.word x_1
.word 1072693248
.word x_8
.word 1077084160
.word x_12
.word 1074266112
.word x_13
.word 1076494336
.word x_14
.word x_15
.word 1076953088
.word x_6
.word x_9
.word 1074790400
.word x_2
.word 1076887552
.word x_4
.word 1075970048
.L1427:
ldr r3, .L1685+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+36
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L244:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1428
ldr r3, .L1685+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+36
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1685+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+28
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1429
ldr r3, .L1685+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+36
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L238
.L1429:
ldr r3, .L1685+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+28
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L238
.L1428:
ldr r3, .L1685+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1685+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+36
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1430
ldr r3, .L1685+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L238
.L1430:
ldr r3, .L1685+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+36
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L238:
mov r0, r2
mov r1, r3
bl __aeabi_d2f
mov r3, r0
str r3, [fp, #-80] @ float
ldr r3, .L1685+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1685+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1431
ldr r3, .L1685+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L256
.L1431:
ldr r3, .L1685+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L256:
ldr r3, .L1685+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+108
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1685+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1432
ldr r3, .L1685+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+108
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L259
.L1432:
ldr r3, .L1685+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L259:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1433
ldr r3, .L1685+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1685+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1434
ldr r3, .L1685+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L265
.L1434:
ldr r3, .L1685+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L265
.L1433:
ldr r3, .L1685+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+108
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1685+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1435
ldr r3, .L1685+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+108
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L265
.L1435:
ldr r3, .L1685+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L265:
ldr r3, .L1685+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+68
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1685+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1436
ldr r3, .L1685+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+68
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
b .L271
.L1436:
ldr r3, .L1685+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
.L271:
ldr r3, .L1685+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r8, r2
mov r9, r3
ldr r3, .L1685+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r8
mov r1, r9
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1437
ldr r3, .L1685+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L274
.L1437:
ldr r3, .L1685+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L274:
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1438
ldr r3, .L1685+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+68
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1685+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1439
ldr r3, .L1685+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+68
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L280
.L1439:
ldr r3, .L1685+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L280
.L1438:
ldr r3, .L1685+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1685+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1440
ldr r3, .L1685+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L280
.L1440:
ldr r3, .L1685+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L280:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1441
ldr r3, .L1685+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1685+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1442
ldr r3, .L1685+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L288
.L1442:
ldr r3, .L1685+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L288:
ldr r3, .L1685+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+108
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1685+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1443
ldr r3, .L1685+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+108
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L291
.L1443:
ldr r3, .L1685+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L291:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1444
ldr r3, .L1685+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1685+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1445
ldr r3, .L1685+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L301
.L1445:
ldr r3, .L1685+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L301
.L1444:
ldr r3, .L1685+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+108
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1685+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1446
ldr r3, .L1685+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+108
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L301
.L1446:
ldr r3, .L1685+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L301
.L1441:
ldr r3, .L1685+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+68
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1685+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1447
ldr r3, .L1685+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+68
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L304
.L1447:
ldr r3, .L1685+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L304:
ldr r3, .L1685+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1685+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1448
ldr r3, .L1685+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L307
.L1448:
ldr r3, .L1685+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L307:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1449
ldr r3, .L1685+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+68
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1685+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1450
ldr r3, .L1685+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+68
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L301
.L1450:
ldr r3, .L1685+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L301
.L1449:
ldr r3, .L1685+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1685+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1451
ldr r3, .L1685+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L301
.L1451:
ldr r3, .L1685+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L301:
mov r0, r2
mov r1, r3
bl __aeabi_d2f
mov r3, r0
str r3, [fp, #-76] @ float
ldr r3, .L1685+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+108
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1685+112
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+116
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1452
ldr r3, .L1685+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+108
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L319
.L1452:
ldr r3, .L1685+112
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+116
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L319:
ldr r3, .L1685+92
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+116
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1685+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1453
ldr r3, .L1685+92
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+116
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L322
.L1453:
ldr r3, .L1685+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L322:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1454
ldr r3, .L1685+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+108
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1685+112
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1685+116
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1455
ldr r3, .L1687
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L328
.L1455:
ldr r3, .L1687+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L328
.L1454:
ldr r3, .L1687+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1687+60
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1456
ldr r3, .L1687+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L328
.L1456:
ldr r3, .L1687+60
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L328:
ldr r3, .L1687+12
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+16
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1687+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1457
ldr r3, .L1687+12
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+16
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
b .L334
.L1457:
ldr r3, .L1687+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
.L334:
ldr r3, .L1687+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r8, r2
mov r9, r3
ldr r3, .L1687+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r8
mov r1, r9
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1458
ldr r3, .L1687+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L337
.L1458:
ldr r3, .L1687+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L337:
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1459
ldr r3, .L1687+12
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+16
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1687+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1460
ldr r3, .L1687+12
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+16
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L343
.L1460:
ldr r3, .L1687+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L343
.L1459:
ldr r3, .L1687+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1687+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1461
ldr r3, .L1687+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L343
.L1461:
ldr r3, .L1687+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L343:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1462
ldr r3, .L1687
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1687+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1463
ldr r3, .L1687
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L351
.L1463:
ldr r3, .L1687+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L351:
ldr r3, .L1687+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1687+60
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1464
ldr r3, .L1687+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L354
.L1464:
ldr r3, .L1687+60
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L354:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1465
ldr r3, .L1687
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1687+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1466
ldr r3, .L1687
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L364
.L1466:
ldr r3, .L1687+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L364
.L1465:
ldr r3, .L1687+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1687+60
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1467
ldr r3, .L1687+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L364
.L1467:
ldr r3, .L1687+60
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L364
.L1462:
ldr r3, .L1687+12
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+16
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1687+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1468
ldr r3, .L1687+12
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+16
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L367
.L1468:
ldr r3, .L1687+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L367:
ldr r3, .L1687+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1687+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1469
ldr r3, .L1687+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L370
.L1469:
ldr r3, .L1687+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L370:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1470
ldr r3, .L1687+12
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+16
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1687+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1471
ldr r3, .L1687+12
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+16
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L364
.L1471:
ldr r3, .L1687+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L364
.L1470:
ldr r3, .L1687+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1687+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1472
ldr r3, .L1687+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L364
.L1472:
ldr r3, .L1687+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L364:
mov r0, r2
mov r1, r3
bl __aeabi_d2f
mov r3, r0
str r3, [fp, #-72] @ float
ldr r3, .L1687+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1687+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1473
ldr r3, .L1687+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L382
.L1473:
ldr r3, .L1687+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L382:
ldr r3, .L1687+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+28
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1687+52
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1474
ldr r3, .L1687+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+28
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L385
.L1474:
ldr r3, .L1687+52
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L385:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1475
ldr r3, .L1687+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1687+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1476
ldr r3, .L1687+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L391
.L1476:
ldr r3, .L1687+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L391
.L1475:
ldr r3, .L1687+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+28
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1687+52
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1477
ldr r3, .L1687+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+28
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L391
.L1477:
ldr r3, .L1687+52
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L391:
ldr r3, .L1687+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1687+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1478
ldr r3, .L1687+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
b .L397
.L1478:
ldr r3, .L1687+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
.L397:
ldr r3, .L1687+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r8, r2
mov r9, r3
ldr r3, .L1687+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+56
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r8
mov r1, r9
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1479
ldr r3, .L1687+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L400
.L1479:
ldr r3, .L1687+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+56
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L400:
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1480
ldr r3, .L1687+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1687+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1481
ldr r3, .L1687+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L406
.L1481:
ldr r3, .L1687+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L406
.L1688:
.align 2
.L1687:
.word x_2
.word 1076887552
.word 1074790400
.word x_11
.word 1075052544
.word 1076101120
.word x_4
.word 1075576832
.word 1075838976
.word x_12
.word x_13
.word 1077084160
.word 1076625408
.word x_7
.word 1076494336
.word x_9
.word 1076953088
.word x_14
.word 1077018624
.word x_15
.word 1076887552
.word x_1
.word 1076232192
.word x_3
.word 1075970048
.word x_5
.word 1074266112
.word x_6
.L1480:
ldr r3, .L1687+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1687+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+56
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1482
ldr r3, .L1687+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L406
.L1482:
ldr r3, .L1687+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+56
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L406:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1483
ldr r3, .L1687+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1687+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1484
ldr r3, .L1687+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L414
.L1484:
ldr r3, .L1687+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L414:
ldr r3, .L1687+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+28
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1687+52
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1485
ldr r3, .L1687+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+28
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L417
.L1485:
ldr r3, .L1687+52
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L417:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1486
ldr r3, .L1687+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1687+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1487
ldr r3, .L1687+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L427
.L1487:
ldr r3, .L1687+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L427
.L1486:
ldr r3, .L1687+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+28
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1687+52
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1488
ldr r3, .L1687+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+28
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L427
.L1488:
ldr r3, .L1687+52
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L427
.L1483:
ldr r3, .L1687+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1687+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1489
ldr r3, .L1687+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L430
.L1489:
ldr r3, .L1687+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L430:
ldr r3, .L1687+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1687+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+56
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1490
ldr r3, .L1687+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L433
.L1490:
ldr r3, .L1687+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+56
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L433:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1491
ldr r3, .L1687+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1687+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1492
ldr r3, .L1687+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L427
.L1492:
ldr r3, .L1687+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L427
.L1491:
ldr r3, .L1687+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1687+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+56
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1493
ldr r3, .L1687+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L427
.L1493:
ldr r3, .L1687+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+56
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L427:
mov r0, r2
mov r1, r3
bl __aeabi_d2f
mov r3, r0
str r3, [fp, #-68] @ float
ldr r3, .L1687+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1687+92
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1494
ldr r3, .L1687+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L445
.L1494:
ldr r3, .L1687+92
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L445:
ldr r3, .L1687+100
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1687+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1495
ldr r3, .L1687+100
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L448
.L1495:
ldr r3, .L1687+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L448:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1496
ldr r3, .L1687+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1687+92
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1497
ldr r3, .L1687+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L454
.L1497:
ldr r3, .L1687+92
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L454
.L1496:
ldr r3, .L1687+100
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1687+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1498
ldr r3, .L1687+100
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L454
.L1498:
ldr r3, .L1687+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L454:
ldr r3, .L1687+52
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+56
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1687+60
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1499
ldr r3, .L1687+52
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+56
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
b .L460
.L1499:
ldr r3, .L1687+60
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
.L460:
ldr r3, .L1687+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r8, r2
mov r9, r3
ldr r3, .L1687+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+80
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r8
mov r1, r9
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1500
ldr r3, .L1687+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L463
.L1500:
ldr r3, .L1687+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+80
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L463:
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1501
ldr r3, .L1687+52
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+56
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1687+60
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1502
ldr r3, .L1687+52
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+56
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L469
.L1502:
ldr r3, .L1687+60
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L469
.L1501:
ldr r3, .L1687+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1687+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+80
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1503
ldr r3, .L1687+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L469
.L1503:
ldr r3, .L1687+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+80
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L469:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1504
ldr r3, .L1687+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1687+92
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1505
ldr r3, .L1687+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L477
.L1505:
ldr r3, .L1687+92
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L477:
ldr r3, .L1687+100
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1687+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1506
ldr r3, .L1687+100
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L480
.L1506:
ldr r3, .L1687+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L480:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1507
ldr r3, .L1687+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1687+92
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1508
ldr r3, .L1687+84
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+88
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L490
.L1508:
ldr r3, .L1687+92
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L490
.L1507:
ldr r3, .L1687+100
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1687+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1509
ldr r3, .L1687+100
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1687+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L490
.L1509:
ldr r3, .L1687+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L490
.L1504:
ldr r3, .L1689+4
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1689+12
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+16
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1510
ldr r3, .L1689+4
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L493
.L1510:
ldr r3, .L1689+12
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+16
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L493:
ldr r3, .L1689+120
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1689+20
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+24
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1511
ldr r3, .L1689+120
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L496
.L1511:
ldr r3, .L1689+20
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+24
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L496:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1512
ldr r3, .L1689+4
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1689+12
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+16
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1513
ldr r3, .L1689+4
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L490
.L1513:
ldr r3, .L1689+12
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+16
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L490
.L1512:
ldr r3, .L1689+120
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1689+20
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+24
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1514
ldr r3, .L1689+120
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L490
.L1514:
ldr r3, .L1689+20
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+24
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L490:
mov r0, r2
mov r1, r3
bl __aeabi_d2f
mov r3, r0
str r3, [fp, #-64] @ float
ldr r3, .L1689+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1689+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+116
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1515
ldr r3, .L1689+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L508
.L1515:
ldr r3, .L1689+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+116
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L508:
ldr r3, .L1689+4
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1689+28
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1516
ldr r3, .L1689+4
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L511
.L1516:
ldr r3, .L1689+28
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L511:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1517
ldr r3, .L1689+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1689+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+116
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1518
ldr r3, .L1689+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L517
.L1518:
ldr r3, .L1689+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+116
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L517
.L1517:
ldr r3, .L1689+4
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1689+28
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1519
ldr r3, .L1689+4
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L517
.L1519:
ldr r3, .L1689+28
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L517:
ldr r3, .L1689+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1689+128
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+112
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1520
ldr r3, .L1689+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
b .L523
.L1520:
ldr r3, .L1689+128
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+112
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
.L523:
ldr r3, .L1689+120
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r8, r2
mov r9, r3
ldr r3, .L1689+20
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+68
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r8
mov r1, r9
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1521
ldr r3, .L1689+120
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L526
.L1521:
ldr r3, .L1689+20
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+68
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L526:
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1522
ldr r3, .L1689+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1689+128
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+112
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1523
ldr r3, .L1689+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L532
.L1523:
ldr r3, .L1689+128
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+112
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L532
.L1522:
ldr r3, .L1689+120
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1689+20
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+68
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1524
ldr r3, .L1689+120
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L532
.L1524:
ldr r3, .L1689+20
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+68
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L532:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1525
ldr r3, .L1689+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1689+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+116
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1526
ldr r3, .L1689+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L540
.L1526:
ldr r3, .L1689+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+116
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L540:
ldr r3, .L1689+4
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1689+28
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1527
ldr r3, .L1689+4
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L543
.L1527:
ldr r3, .L1689+28
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L543:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1528
ldr r3, .L1689+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1689+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+116
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1529
ldr r3, .L1689+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L553
.L1529:
ldr r3, .L1689+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+116
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L553
.L1528:
ldr r3, .L1689+4
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1689+28
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1530
ldr r3, .L1689+4
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L553
.L1530:
ldr r3, .L1689+28
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L553
.L1525:
ldr r3, .L1689+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1689+128
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+112
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1531
ldr r3, .L1689+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L556
.L1531:
ldr r3, .L1689+128
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+112
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L556:
ldr r3, .L1689+120
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1689+20
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+68
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1532
ldr r3, .L1689+120
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L559
.L1532:
ldr r3, .L1689+20
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+68
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L559:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1533
ldr r3, .L1689+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1689+128
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+112
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1534
ldr r3, .L1689+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L553
.L1534:
ldr r3, .L1689+128
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+112
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L553
.L1533:
ldr r3, .L1689+120
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1689+20
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+68
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1535
ldr r3, .L1689+120
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L553
.L1535:
ldr r3, .L1689+20
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+68
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L553:
mov r0, r2
mov r1, r3
bl __aeabi_d2f
mov r3, r0
str r3, [fp, #-60] @ float
ldr r3, .L1689+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1689+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1536
ldr r3, .L1689+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L571
.L1690:
.align 2
.L1689:
.word 1074266112
.word x_7
.word 1076494336
.word x_9
.word 1076953088
.word x_15
.word 1076887552
.word x_8
.word 1075970048
.word x_1
.word 1077018624
.word x_3
.word 1076232192
.word 1074266112
.word x_6
.word 1075314688
.word x_9
.word 1076101120
.word x_0
.word 1075838976
.word x_2
.word 1076363264
.word x_4
.word 1076953088
.word x_5
.word 1076494336
.word x_10
.word x_12
.word 1074790400
.word 1072693248
.word x_14
.word 1075576832
.word x_13
.L1536:
ldr r3, .L1689+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L571:
ldr r3, .L1689+44
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1689+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1537
ldr r3, .L1689+44
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L574
.L1537:
ldr r3, .L1689+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L574:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1538
ldr r3, .L1689+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1689+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1539
ldr r3, .L1689+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L580
.L1539:
ldr r3, .L1689+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L580
.L1538:
ldr r3, .L1689+44
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1689+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1540
ldr r3, .L1689+44
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L580
.L1540:
ldr r3, .L1689+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L580:
ldr r3, .L1689+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1689+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+68
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1541
ldr r3, .L1689+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
b .L586
.L1541:
ldr r3, .L1689+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+68
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
.L586:
ldr r3, .L1689+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r8, r2
mov r9, r3
ldr r3, .L1689+120
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r8
mov r1, r9
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1542
ldr r3, .L1689+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L589
.L1542:
ldr r3, .L1689+120
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L589:
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1543
ldr r3, .L1689+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1689+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+68
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1544
ldr r3, .L1689+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L595
.L1544:
ldr r3, .L1689+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+68
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L595
.L1543:
ldr r3, .L1689+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1689+120
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1545
ldr r3, .L1689+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L595
.L1545:
ldr r3, .L1689+120
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L595:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1546
ldr r3, .L1689+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1689+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1547
ldr r3, .L1689+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L603
.L1547:
ldr r3, .L1689+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L603:
ldr r3, .L1689+44
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1689+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1548
ldr r3, .L1689+44
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L606
.L1548:
ldr r3, .L1689+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L606:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1549
ldr r3, .L1689+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1689+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1550
ldr r3, .L1689+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L616
.L1550:
ldr r3, .L1689+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L616
.L1549:
ldr r3, .L1689+44
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1689+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1551
ldr r3, .L1689+44
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L616
.L1551:
ldr r3, .L1689+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L616
.L1546:
ldr r3, .L1689+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1689+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+68
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1552
ldr r3, .L1689+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L619
.L1552:
ldr r3, .L1689+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+68
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L619:
ldr r3, .L1689+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1689+120
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1553
ldr r3, .L1689+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L622
.L1553:
ldr r3, .L1689+120
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L622:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1554
ldr r3, .L1689+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1689+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+68
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1555
ldr r3, .L1689+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L616
.L1555:
ldr r3, .L1689+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+68
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L616
.L1554:
ldr r3, .L1689+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1689+120
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1556
ldr r3, .L1689+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L616
.L1556:
ldr r3, .L1689+120
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L616:
mov r0, r2
mov r1, r3
bl __aeabi_d2f
mov r3, r0
str r3, [fp, #-56] @ float
ldr r3, .L1689+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1689+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1557
ldr r3, .L1689+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L634
.L1557:
ldr r3, .L1689+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L634:
ldr r3, .L1689+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1689+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1558
ldr r3, .L1689+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L637
.L1558:
ldr r3, .L1689+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L637:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1559
ldr r3, .L1689+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1689+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1560
ldr r3, .L1689+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L643
.L1560:
ldr r3, .L1689+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L643
.L1559:
ldr r3, .L1689+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1689+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1561
ldr r3, .L1689+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L643
.L1561:
ldr r3, .L1689+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L643:
ldr r3, .L1689+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
mov r3, #1073741824
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1689+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+112
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1562
ldr r3, .L1689+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
mov r3, #1073741824
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
b .L649
.L1562:
ldr r3, .L1689+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+112
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
.L649:
ldr r3, .L1689+128
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+116
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r8, r2
mov r9, r3
ldr r3, .L1689+120
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1689+124
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r8
mov r1, r9
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1563
ldr r3, .L1689+128
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L652
.L1563:
ldr r3, .L1691
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L652:
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1564
ldr r3, .L1691+100
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
mov r3, #1073741824
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1691+8
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1565
ldr r3, .L1691+100
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
mov r3, #1073741824
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L658
.L1565:
ldr r3, .L1691+8
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L658
.L1564:
ldr r3, .L1691+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1691
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1566
ldr r3, .L1691+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L658
.L1566:
ldr r3, .L1691
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L658:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1567
ldr r3, .L1691+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1691+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1568
ldr r3, .L1691+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L666
.L1568:
ldr r3, .L1691+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L666:
ldr r3, .L1691+60
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+12
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1691+16
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1569
ldr r3, .L1691+60
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+12
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L669
.L1569:
ldr r3, .L1691+16
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L669:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1570
ldr r3, .L1691+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1691+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1571
ldr r3, .L1691+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L679
.L1571:
ldr r3, .L1691+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L679
.L1570:
ldr r3, .L1691+60
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+12
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1691+16
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1572
ldr r3, .L1691+60
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+12
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L679
.L1572:
ldr r3, .L1691+16
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L679
.L1567:
ldr r3, .L1691+100
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
mov r3, #1073741824
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1691+8
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1573
ldr r3, .L1691+100
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
mov r3, #1073741824
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L682
.L1573:
ldr r3, .L1691+8
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L682:
ldr r3, .L1691+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1691
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1574
ldr r3, .L1691+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L685
.L1574:
ldr r3, .L1691
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L685:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1575
ldr r3, .L1691+100
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
mov r3, #1073741824
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1691+8
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1576
ldr r3, .L1691+100
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
mov r3, #1073741824
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L679
.L1576:
ldr r3, .L1691+8
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L679
.L1575:
ldr r3, .L1691+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1691
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1577
ldr r3, .L1691+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L679
.L1577:
ldr r3, .L1691
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L679:
mov r0, r2
mov r1, r3
bl __aeabi_d2f
mov r3, r0
str r3, [fp, #-52] @ float
ldr r3, .L1691+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
mov r3, #1073741824
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1691+28
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1578
ldr r3, .L1691+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
mov r3, #1073741824
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L697
.L1578:
ldr r3, .L1691+28
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L697:
ldr r3, .L1691+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1691+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1579
ldr r3, .L1691+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L700
.L1579:
ldr r3, .L1691+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L700:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1580
ldr r3, .L1691+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
mov r3, #1073741824
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1691+28
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1581
ldr r3, .L1691+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
mov r3, #1073741824
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L706
.L1581:
ldr r3, .L1691+28
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L706
.L1580:
ldr r3, .L1691+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1691+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1582
ldr r3, .L1691+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L706
.L1582:
ldr r3, .L1691+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L706:
ldr r3, .L1691+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1691+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1583
ldr r3, .L1691+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
b .L712
.L1583:
ldr r3, .L1691+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
.L712:
ldr r3, .L1691+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r8, r2
mov r9, r3
ldr r3, .L1691+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r8
mov r1, r9
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1584
ldr r3, .L1691+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L715
.L1584:
ldr r3, .L1691+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L715:
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1585
ldr r3, .L1691+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1691+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1586
ldr r3, .L1691+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L721
.L1586:
ldr r3, .L1691+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L721
.L1585:
ldr r3, .L1691+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1691+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1587
ldr r3, .L1691+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L721
.L1587:
ldr r3, .L1691+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L721:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1588
ldr r3, .L1691+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
mov r3, #1073741824
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1691+28
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1589
ldr r3, .L1691+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
mov r3, #1073741824
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L729
.L1589:
ldr r3, .L1691+28
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L729:
ldr r3, .L1691+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1691+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1590
ldr r3, .L1691+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L732
.L1692:
.align 2
.L1691:
.word x_14
.word 1075576832
.word x_12
.word 1076953088
.word x_5
.word 1076494336
.word x_0
.word x_1
.word 1077018624
.word x_2
.word 1074266112
.word 1077149696
.word 1076101120
.word 1075970048
.word x_3
.word x_4
.word 1076232192
.word x_7
.word x_8
.word 1074790400
.word x_13
.word 1076363264
.word x_15
.word 1075838976
.word 1075052544
.word x_10
.word 1072693248
.word x_9
.L1590:
ldr r3, .L1691+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L732:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1591
ldr r3, .L1691+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
mov r3, #1073741824
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1691+28
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1592
ldr r3, .L1691+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
mov r3, #1073741824
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L742
.L1592:
ldr r3, .L1691+28
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L742
.L1591:
ldr r3, .L1691+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1691+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1593
ldr r3, .L1691+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L742
.L1593:
ldr r3, .L1691+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L742
.L1588:
ldr r3, .L1691+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1691+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1594
ldr r3, .L1691+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L745
.L1594:
ldr r3, .L1691+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L745:
ldr r3, .L1691+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1691+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1595
ldr r3, .L1691+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L748
.L1595:
ldr r3, .L1691+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L748:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1596
ldr r3, .L1691+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1691+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1597
ldr r3, .L1691+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L742
.L1597:
ldr r3, .L1691+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L742
.L1596:
ldr r3, .L1691+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1691+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1598
ldr r3, .L1691+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+48
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L742
.L1598:
ldr r3, .L1691+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L742:
mov r0, r2
mov r1, r3
bl __aeabi_d2f
mov r3, r0
str r3, [fp, #-48] @ float
ldr r3, .L1691+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1691+60
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1599
ldr r3, .L1691+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L760
.L1599:
ldr r3, .L1691+60
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L760:
ldr r3, .L1691+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1691+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1600
ldr r3, .L1691+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L763
.L1600:
ldr r3, .L1691+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L763:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1601
ldr r3, .L1691+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1691+60
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1602
ldr r3, .L1691+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L769
.L1602:
ldr r3, .L1691+60
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L769
.L1601:
ldr r3, .L1691+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1691+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1603
ldr r3, .L1691+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L769
.L1603:
ldr r3, .L1691+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L769:
ldr r3, .L1691+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1691+100
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1604
ldr r3, .L1691+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
b .L775
.L1604:
ldr r3, .L1691+100
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
.L775:
ldr r3, .L1691+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r8, r2
mov r9, r3
ldr r3, .L1691+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r8
mov r1, r9
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1605
ldr r3, .L1691+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L778
.L1605:
ldr r3, .L1691+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L778:
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1606
ldr r3, .L1691+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1691+100
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1607
ldr r3, .L1691+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L784
.L1607:
ldr r3, .L1691+100
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L784
.L1606:
ldr r3, .L1691+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1691+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1608
ldr r3, .L1691+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L784
.L1608:
ldr r3, .L1691+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L784:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1609
ldr r3, .L1691+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1691+60
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1610
ldr r3, .L1691+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L792
.L1610:
ldr r3, .L1691+60
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L792:
ldr r3, .L1691+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1691+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1611
ldr r3, .L1691+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L795
.L1611:
ldr r3, .L1691+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L795:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1612
ldr r3, .L1691+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1691+60
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1613
ldr r3, .L1691+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L805
.L1613:
ldr r3, .L1691+60
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+64
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L805
.L1612:
ldr r3, .L1691+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1691+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1614
ldr r3, .L1691+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L805
.L1614:
ldr r3, .L1691+72
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+76
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L805
.L1609:
ldr r3, .L1691+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1691+100
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1615
ldr r3, .L1691+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L808
.L1615:
ldr r3, .L1691+100
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L808:
ldr r3, .L1691+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1691+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1616
ldr r3, .L1691+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L811
.L1616:
ldr r3, .L1691+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L811:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1617
ldr r3, .L1691+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+96
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1691+100
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1691+104
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1618
ldr r3, .L1691+108
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+28
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L805
.L1618:
ldr r3, .L1693
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L805
.L1617:
ldr r3, .L1693+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1693+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+12
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1619
ldr r3, .L1693+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L805
.L1619:
ldr r3, .L1693+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+12
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L805:
mov r0, r2
mov r1, r3
bl __aeabi_d2f
mov r3, r0
str r3, [fp, #-44] @ float
ldr r3, .L1693+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+116
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1693+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1620
ldr r3, .L1693+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+116
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L823
.L1620:
ldr r3, .L1693+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L823:
ldr r3, .L1693+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1693+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+16
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1621
ldr r3, .L1693+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L826
.L1621:
ldr r3, .L1693+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+16
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L826:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1622
ldr r3, .L1693+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+116
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1693+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1623
ldr r3, .L1693+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+116
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L832
.L1623:
ldr r3, .L1693+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L832
.L1622:
ldr r3, .L1693+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1693+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+16
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1624
ldr r3, .L1693+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L832
.L1624:
ldr r3, .L1693+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+16
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L832:
ldr r3, .L1693+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1693+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1625
ldr r3, .L1693+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
b .L838
.L1625:
ldr r3, .L1693+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
.L838:
ldr r3, .L1693+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r8, r2
mov r9, r3
ldr r3, .L1693+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+24
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r8
mov r1, r9
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1626
ldr r3, .L1693+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L841
.L1626:
ldr r3, .L1693+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+24
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L841:
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1627
ldr r3, .L1693+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1693+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1628
ldr r3, .L1693+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L847
.L1628:
ldr r3, .L1693+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L847
.L1627:
ldr r3, .L1693+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1693+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+24
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1629
ldr r3, .L1693+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L847
.L1629:
ldr r3, .L1693+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+24
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L847:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1630
ldr r3, .L1693+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+116
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1693+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1631
ldr r3, .L1693+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+116
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L855
.L1631:
ldr r3, .L1693+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L855:
ldr r3, .L1693+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1693+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+16
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1632
ldr r3, .L1693+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L858
.L1632:
ldr r3, .L1693+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+16
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L858:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1633
ldr r3, .L1693+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+116
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1693+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1634
ldr r3, .L1693+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+116
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L868
.L1634:
ldr r3, .L1693+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L868
.L1633:
ldr r3, .L1693+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1693+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+16
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1635
ldr r3, .L1693+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L868
.L1635:
ldr r3, .L1693+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+16
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L868
.L1630:
ldr r3, .L1693+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1693+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1636
ldr r3, .L1693+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L871
.L1636:
ldr r3, .L1693+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L871:
ldr r3, .L1693+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1693+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+24
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1637
ldr r3, .L1693+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L874
.L1637:
ldr r3, .L1693+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+24
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L874:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1638
ldr r3, .L1693+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1693+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1639
ldr r3, .L1693+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+20
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L868
.L1639:
ldr r3, .L1693+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L868
.L1638:
ldr r3, .L1693+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1693+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+24
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1640
ldr r3, .L1693+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+8
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L868
.L1640:
ldr r3, .L1693+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+24
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L868:
mov r0, r2
mov r1, r3
bl __aeabi_d2f
mov r3, r0
str r3, [fp, #-40] @ float
ldr r3, .L1693+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1693+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1641
ldr r3, .L1693+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L886
.L1641:
ldr r3, .L1693+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L886:
ldr r3, .L1693+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+28
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1693+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1642
ldr r3, .L1693+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+28
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L889
.L1642:
ldr r3, .L1693+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L889:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1643
ldr r3, .L1693+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1693+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1644
ldr r3, .L1693+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L895
.L1644:
ldr r3, .L1693+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L895
.L1694:
.align 2
.L1693:
.word x_10
.word 1072693248
.word 1076363264
.word 1075838976
.word 1075970048
.word 1074790400
.word 1076101120
.word 1075052544
.word 1077084160
.word x_3
.word 1076953088
.word x_12
.word x_13
.word 1077149696
.word x_15
.word 1077018624
.word x_0
.word x_1
.word 1076887552
.word x_2
.word x_6
.word 1074266112
.word x_7
.word 1076756480
.word x_8
.word 1075576832
.word x_11
.word 1075052544
.word x_14
.word 1076232192
.L1643:
ldr r3, .L1693+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+28
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1693+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1645
ldr r3, .L1693+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+28
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L895
.L1645:
ldr r3, .L1693+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L895:
ldr r3, .L1693+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1693+44
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1646
ldr r3, .L1693+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
b .L901
.L1646:
ldr r3, .L1693+44
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
.L901:
ldr r3, .L1693+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r8, r2
mov r9, r3
ldr r3, .L1693+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r8
mov r1, r9
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1647
ldr r3, .L1693+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L904
.L1647:
ldr r3, .L1693+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L904:
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1648
ldr r3, .L1693+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1693+44
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1649
ldr r3, .L1693+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L910
.L1649:
ldr r3, .L1693+44
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L910
.L1648:
ldr r3, .L1693+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1693+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1650
ldr r3, .L1693+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L910
.L1650:
ldr r3, .L1693+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L910:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1651
ldr r3, .L1693+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1693+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1652
ldr r3, .L1693+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L918
.L1652:
ldr r3, .L1693+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L918:
ldr r3, .L1693+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+108
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1693+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1653
ldr r3, .L1693+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+108
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L921
.L1653:
ldr r3, .L1693+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L921:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1654
ldr r3, .L1693+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1693+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1655
ldr r3, .L1693+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+32
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L931
.L1655:
ldr r3, .L1693+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L931
.L1654:
ldr r3, .L1693+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+108
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1693+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1656
ldr r3, .L1693+36
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+108
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L931
.L1656:
ldr r3, .L1693+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+40
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L931
.L1651:
ldr r3, .L1693+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1693+44
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1657
ldr r3, .L1693+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L934
.L1657:
ldr r3, .L1693+44
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L934:
ldr r3, .L1693+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1693+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1658
ldr r3, .L1693+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L937
.L1658:
ldr r3, .L1693+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L937:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1659
ldr r3, .L1693+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1693+44
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1660
ldr r3, .L1693+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L931
.L1660:
ldr r3, .L1693+44
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L931
.L1659:
ldr r3, .L1693+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1693+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1661
ldr r3, .L1693+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L931
.L1661:
ldr r3, .L1693+56
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+60
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L931:
mov r0, r2
mov r1, r3
bl __aeabi_d2f
mov r3, r0
str r3, [fp, #-36] @ float
ldr r3, .L1693+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1693+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1662
ldr r3, .L1693+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L949
.L1662:
ldr r3, .L1693+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L949:
ldr r3, .L1693+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1693+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1663
ldr r3, .L1693+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L952
.L1663:
ldr r3, .L1693+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L952:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1664
ldr r3, .L1693+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1693+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1665
ldr r3, .L1693+64
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L958
.L1665:
ldr r3, .L1693+68
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+72
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L958
.L1664:
ldr r3, .L1693+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1693+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1666
ldr r3, .L1693+76
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L958
.L1666:
ldr r3, .L1693+80
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+84
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L958:
ldr r3, .L1693+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1693+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1667
ldr r3, .L1693+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
b .L964
.L1667:
ldr r3, .L1693+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
.L964:
ldr r3, .L1693+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+108
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r8, r2
mov r9, r3
ldr r3, .L1693+112
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+116
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r8
mov r1, r9
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1668
ldr r3, .L1693+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+108
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L967
.L1668:
ldr r3, .L1693+112
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+116
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L967:
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1669
ldr r3, .L1693+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1693+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1670
ldr r3, .L1693+88
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+92
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L973
.L1670:
ldr r3, .L1693+96
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+100
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L973
.L1669:
ldr r3, .L1693+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+108
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1693+112
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+116
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1671
ldr r3, .L1693+104
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+108
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L973
.L1671:
ldr r3, .L1693+112
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1693+116
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L973:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1672
ldr r3, .L1695
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1695+8
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+12
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1673
ldr r3, .L1695
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L981
.L1673:
ldr r3, .L1695+8
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+12
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L981:
ldr r3, .L1695+16
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1695+20
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1674
ldr r3, .L1695+16
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L984
.L1674:
ldr r3, .L1695+20
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L984:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1675
ldr r3, .L1695
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1695+8
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+12
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1676
ldr r3, .L1695
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L994
.L1676:
ldr r3, .L1695+8
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+12
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L994
.L1675:
ldr r3, .L1695+16
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1695+20
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1677
ldr r3, .L1695+16
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L994
.L1677:
ldr r3, .L1695+20
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+4
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L994
.L1672:
ldr r3, .L1695+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+28
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1695+32
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+36
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1678
ldr r3, .L1695+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+28
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
b .L997
.L1678:
ldr r3, .L1695+32
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+36
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
.L997:
ldr r3, .L1695+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r6, r2
mov r7, r3
ldr r3, .L1695+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r6
mov r1, r7
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1679
ldr r3, .L1695+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L1000
.L1679:
ldr r3, .L1695+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L1000:
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1680
ldr r3, .L1695+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+28
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1695+32
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+36
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1681
ldr r3, .L1695+24
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+28
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L994
.L1681:
ldr r3, .L1695+32
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+36
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L994
.L1680:
ldr r3, .L1695+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r3, .L1695+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dcmpgt
mov r3, r0
cmp r3, #0
beq .L1682
ldr r3, .L1695+40
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+44
bl __aeabi_dadd
mov r2, r0
mov r3, r1
b .L994
.L1682:
ldr r3, .L1695+48
ldr r3, [r3] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, #0
ldr r3, .L1695+52
bl __aeabi_dadd
mov r2, r0
mov r3, r1
.L994:
mov r0, r2
mov r1, r3
bl __aeabi_d2f
mov r3, r0
str r3, [fp, #-32] @ float
ldr r2, .L1695
ldr r3, [fp, #-92] @ float
str r3, [r2] @ float
ldr r2, .L1695+8
ldr r3, [fp, #-88] @ float
str r3, [r2] @ float
ldr r2, .L1695+16
ldr r3, [fp, #-84] @ float
str r3, [r2] @ float
ldr r2, .L1695+56
ldr r3, [fp, #-80] @ float
str r3, [r2] @ float
ldr r2, .L1695+60
ldr r3, [fp, #-76] @ float
str r3, [r2] @ float
ldr r2, .L1695+64
ldr r3, [fp, #-72] @ float
str r3, [r2] @ float
ldr r2, .L1695+20
ldr r3, [fp, #-68] @ float
str r3, [r2] @ float
ldr r2, .L1695+24
ldr r3, [fp, #-64] @ float
str r3, [r2] @ float
ldr r2, .L1695+32
ldr r3, [fp, #-60] @ float
str r3, [r2] @ float
ldr r2, .L1695+68
ldr r3, [fp, #-56] @ float
str r3, [r2] @ float
ldr r2, .L1695+72
ldr r3, [fp, #-52] @ float
str r3, [r2] @ float
ldr r2, .L1695+40
ldr r3, [fp, #-48] @ float
str r3, [r2] @ float
ldr r2, .L1695+76
ldr r3, [fp, #-44] @ float
str r3, [r2] @ float
ldr r2, .L1695+80
ldr r3, [fp, #-40] @ float
str r3, [r2] @ float
ldr r2, .L1695+48
ldr r3, [fp, #-36] @ float
str r3, [r2] @ float
ldr r2, .L1695+84
ldr r3, [fp, #-32] @ float
str r3, [r2] @ float
b .L1010
.L1696:
.align 2
.L1695:
.word x_0
.word 1074266112
.word x_1
.word 1076887552
.word x_2
.word x_6
.word x_7
.word 1076756480
.word x_8
.word 1075576832
.word x_11
.word 1075052544
.word x_14
.word 1076232192
.word x_3
.word x_4
.word x_5
.word x_9
.word x_10
.word x_12
.word x_13
.word x_15
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "464726.c"
.intel_syntax noprefix
.text
.globl VersionIdentString
.section .rodata
.LC0:
.string "Release 1.2.1"
.section .data.rel.local,"aw"
.align 8
.type VersionIdentString, @object
.size VersionIdentString, 8
VersionIdentString:
.quad .LC0
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "464726.c"
.text
.global VersionIdentString
.section .rodata
.align 2
.LC0:
.ascii "Release 1.2.1\000"
.data
.align 2
.type VersionIdentString, %object
.size VersionIdentString, 4
VersionIdentString:
.word .LC0
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "714083.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 "714083.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "13292.c"
.intel_syntax noprefix
.text
.globl head
.bss
.align 8
.type head, @object
.size head, 8
head:
.zero 8
.text
.globl add
.type add, @function
add:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov DWORD PTR -20[rbp], edi
mov edi, 16
call malloc@PLT
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR -20[rbp]
mov DWORD PTR [rax], edx
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], 0
mov rax, QWORD PTR head[rip]
test rax, rax
jne .L2
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR head[rip], rax
jmp .L1
.L2:
mov rax, QWORD PTR head[rip]
mov QWORD PTR -16[rbp], rax
jmp .L4
.L5:
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -16[rbp], rax
.L4:
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
jne .L5
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], rdx
.L1:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size add, .-add
.section .rodata
.LC0:
.string "%d -> "
.LC1:
.string "NULL \n"
.text
.globl show
.type show, @function
show:
.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 rax, QWORD PTR head[rip]
mov QWORD PTR -8[rbp], rax
jmp .L7
.L8:
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR [rax]
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -8[rbp], rax
.L7:
cmp QWORD PTR -8[rbp], 0
jne .L8
lea rdi, .LC1[rip]
call puts@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size show, .-show
.section .rodata
.LC2:
.string "Node has been deleted! "
.text
.globl deleteNodeAtPosition
.type deleteNodeAtPosition, @function
deleteNodeAtPosition:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov DWORD PTR -36[rbp], edi
mov rax, QWORD PTR head[rip]
mov QWORD PTR -16[rbp], rax
mov DWORD PTR -20[rbp], 2
cmp DWORD PTR -36[rbp], 1
jne .L12
mov rax, QWORD PTR head[rip]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR head[rip], rax
lea rdi, .LC2[rip]
call puts@PLT
jmp .L15
.L14:
mov eax, DWORD PTR -20[rbp]
cmp eax, DWORD PTR -36[rbp]
jne .L13
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -16[rbp]
mov QWORD PTR 8[rax], rdx
lea rdi, .LC2[rip]
call puts@PLT
nop
jmp .L15
.L13:
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -16[rbp], rax
add DWORD PTR -20[rbp], 1
.L12:
cmp QWORD PTR -16[rbp], 0
jne .L14
.L15:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size deleteNodeAtPosition, .-deleteNodeAtPosition
.section .rodata
.LC3:
.string "Initial linked list is: "
.LC4:
.string "Enter the position: "
.LC5:
.string "%d"
.LC6:
.string "\n Updated list: "
.align 8
.LC7:
.string "ERROR!!! Position out of range! "
.text
.globl main
.type main, @function
main:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -12[rbp], 1
jmp .L17
.L18:
mov eax, DWORD PTR -12[rbp]
mov edi, eax
call add
add DWORD PTR -12[rbp], 1
.L17:
cmp DWORD PTR -12[rbp], 10
jle .L18
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
call show
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
lea rax, -16[rbp]
mov rsi, rax
lea rdi, .LC5[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov eax, DWORD PTR -16[rbp]
test eax, eax
jle .L19
mov eax, DWORD PTR -16[rbp]
cmp eax, 10
jg .L19
mov eax, DWORD PTR -16[rbp]
mov edi, eax
call deleteNodeAtPosition
lea rdi, .LC6[rip]
mov eax, 0
call printf@PLT
call show
jmp .L20
.L19:
lea rdi, .LC7[rip]
call puts@PLT
.L20:
mov eax, 0
mov rdx, QWORD PTR -8[rbp]
sub rdx, QWORD PTR fs:40
je .L22
call __stack_chk_fail@PLT
.L22:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size main, .-main
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "13292.c"
.text
.global head
.bss
.align 2
.type head, %object
.size head, 4
head:
.space 4
.text
.align 2
.global add
.syntax unified
.arm
.fpu softvfp
.type add, %function
add:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
mov r0, #8
bl malloc
mov r3, r0
str r3, [fp, #-8]
ldr r3, [fp, #-8]
ldr r2, [fp, #-16]
str r2, [r3]
ldr r3, [fp, #-8]
mov r2, #0
str r2, [r3, #4]
ldr r3, .L6
ldr r3, [r3]
cmp r3, #0
bne .L2
ldr r2, .L6
ldr r3, [fp, #-8]
str r3, [r2]
b .L1
.L2:
ldr r3, .L6
ldr r3, [r3]
str r3, [fp, #-12]
b .L4
.L5:
ldr r3, [fp, #-12]
ldr r3, [r3, #4]
str r3, [fp, #-12]
.L4:
ldr r3, [fp, #-12]
ldr r3, [r3, #4]
cmp r3, #0
bne .L5
ldr r3, [fp, #-12]
ldr r2, [fp, #-8]
str r2, [r3, #4]
.L1:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L7:
.align 2
.L6:
.word head
.size add, .-add
.section .rodata
.align 2
.LC0:
.ascii "%d -> \000"
.align 2
.LC1:
.ascii "NULL \012\000"
.text
.align 2
.global show
.syntax unified
.arm
.fpu softvfp
.type show, %function
show:
@ 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, .L11
ldr r3, [r3]
str r3, [fp, #-8]
b .L9
.L10:
ldr r3, [fp, #-8]
ldr r3, [r3]
mov r1, r3
ldr r0, .L11+4
bl printf
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
str r3, [fp, #-8]
.L9:
ldr r3, [fp, #-8]
cmp r3, #0
bne .L10
ldr r0, .L11+8
bl puts
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L12:
.align 2
.L11:
.word head
.word .LC0
.word .LC1
.size show, .-show
.section .rodata
.align 2
.LC2:
.ascii "Node has been deleted! \000"
.text
.align 2
.global deleteNodeAtPosition
.syntax unified
.arm
.fpu softvfp
.type deleteNodeAtPosition, %function
deleteNodeAtPosition:
@ 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, .L20
ldr r3, [r3]
str r3, [fp, #-16]
mov r3, #2
str r3, [fp, #-12]
ldr r3, [fp, #-24]
cmp r3, #1
bne .L16
ldr r3, .L20
ldr r3, [r3]
ldr r3, [r3, #4]
ldr r2, .L20
str r3, [r2]
ldr r0, .L20+4
bl puts
b .L19
.L18:
ldr r2, [fp, #-12]
ldr r3, [fp, #-24]
cmp r2, r3
bne .L17
ldr r3, [fp, #-16]
ldr r3, [r3, #4]
str r3, [fp, #-8]
ldr r3, [fp, #-8]
ldr r2, [r3, #4]
ldr r3, [fp, #-16]
str r2, [r3, #4]
ldr r0, .L20+4
bl puts
nop
b .L19
.L17:
ldr r3, [fp, #-16]
ldr r3, [r3, #4]
str r3, [fp, #-16]
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L16:
ldr r3, [fp, #-16]
cmp r3, #0
bne .L18
.L19:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L21:
.align 2
.L20:
.word head
.word .LC2
.size deleteNodeAtPosition, .-deleteNodeAtPosition
.section .rodata
.align 2
.LC3:
.ascii "Initial linked list is: \000"
.align 2
.LC4:
.ascii "Enter the position: \000"
.align 2
.LC5:
.ascii "%d\000"
.align 2
.LC6:
.ascii "\012 Updated list: \000"
.align 2
.LC7:
.ascii "ERROR!!! Position out of range! \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 = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
ldr r3, .L29
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #1
str r3, [fp, #-12]
b .L23
.L24:
ldr r0, [fp, #-12]
bl add
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L23:
ldr r3, [fp, #-12]
cmp r3, #10
ble .L24
ldr r0, .L29+4
bl printf
bl show
ldr r0, .L29+8
bl printf
sub r3, fp, #16
mov r1, r3
ldr r0, .L29+12
bl __isoc99_scanf
ldr r3, [fp, #-16]
cmp r3, #0
ble .L25
ldr r3, [fp, #-16]
cmp r3, #10
bgt .L25
ldr r3, [fp, #-16]
mov r0, r3
bl deleteNodeAtPosition
ldr r0, .L29+16
bl printf
bl show
b .L26
.L25:
ldr r0, .L29+20
bl puts
.L26:
mov r3, #0
ldr r2, .L29
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L28
bl __stack_chk_fail
.L28:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L30:
.align 2
.L29:
.word .LC8
.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 "105088.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "Error: out of memory."
.text
.globl createNode
.type createNode, @function
createNode:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov DWORD PTR -20[rbp], edi
mov edi, 16
call malloc@PLT
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
jne .L2
lea rdi, .LC0[rip]
call puts@PLT
mov eax, 0
jmp .L3
.L2:
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR -20[rbp]
mov DWORD PTR [rax], edx
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], 0
mov rax, QWORD PTR -8[rbp]
.L3:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size createNode, .-createNode
.globl createLinkedList
.type createLinkedList, @function
createLinkedList:
.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 edi, 24
call malloc@PLT
mov QWORD PTR -16[rbp], rax
cmp QWORD PTR -16[rbp], 0
jne .L5
lea rdi, .LC0[rip]
call puts@PLT
mov eax, 0
jmp .L6
.L5:
mov edi, -2147483648
call createNode
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
jne .L7
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call free@PLT
mov eax, 0
jmp .L6
.L7:
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -16[rbp]
mov QWORD PTR [rax], rdx
mov rax, QWORD PTR -16[rbp]
mov DWORD PTR 16[rax], 0
mov rax, QWORD PTR -16[rbp]
.L6:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size createLinkedList, .-createLinkedList
.globl add
.type add, @function
add:
.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
cmp QWORD PTR -24[rbp], 0
je .L9
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
jne .L10
.L9:
mov eax, 0
jmp .L11
.L10:
mov eax, DWORD PTR -28[rbp]
mov edi, eax
call createNode
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
jne .L12
mov eax, 0
jmp .L11
.L12:
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 8[rax]
cmp rdx, rax
jne .L13
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], rdx
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov rdx, QWORD PTR -24[rbp]
mov rdx, QWORD PTR 8[rdx]
mov QWORD PTR 8[rax], rdx
jmp .L14
.L13:
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 8[rax]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], rdx
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR 8[rax], rdx
.L14:
mov rax, QWORD PTR -24[rbp]
mov eax, DWORD PTR 16[rax]
lea edx, 1[rax]
mov rax, QWORD PTR -24[rbp]
mov DWORD PTR 16[rax], edx
mov eax, 1
.L11:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size add, .-add
.globl pop
.type pop, @function
pop:
.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
cmp QWORD PTR -24[rbp], 0
je .L16
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
je .L16
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov rax, QWORD PTR 8[rax]
test rax, rax
jne .L17
.L16:
mov eax, -2147483648
jmp .L18
.L17:
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov rax, QWORD PTR 8[rax]
mov eax, DWORD PTR [rax]
mov DWORD PTR -12[rbp], eax
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 8[rax]
cmp rdx, rax
jne .L19
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR 8[rax], rdx
.L19:
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov rdx, QWORD PTR 8[rdx]
mov QWORD PTR 8[rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call free@PLT
mov rax, QWORD PTR -24[rbp]
mov eax, DWORD PTR 16[rax]
lea edx, -1[rax]
mov rax, QWORD PTR -24[rbp]
mov DWORD PTR 16[rax], edx
mov eax, DWORD PTR -12[rbp]
.L18:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size pop, .-pop
.globl isEmpty
.type isEmpty, @function
isEmpty:
.LFB10:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
cmp QWORD PTR -8[rbp], 0
je .L21
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
je .L21
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
mov rax, QWORD PTR 8[rax]
test rax, rax
jne .L22
.L21:
mov eax, 1
jmp .L24
.L22:
mov eax, 0
.L24:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size isEmpty, .-isEmpty
.globl destroyLinkedList
.type destroyLinkedList, @function
destroyLinkedList:
.LFB11:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
cmp QWORD PTR -24[rbp], 0
jne .L28
mov eax, 0
jmp .L27
.L29:
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR [rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call free@PLT
.L28:
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
jne .L29
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call free@PLT
mov eax, 0
.L27:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size destroyLinkedList, .-destroyLinkedList
.section .rodata
.LC1:
.string "List: <__EMPTY_LIST__>"
.LC2:
.string "size: %d\n"
.LC3:
.string "List: "
.LC4:
.string ", "
.LC5:
.string "\n"
.LC6:
.string "%d%s"
.text
.globl displayList
.type displayList, @function
displayList:
.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
cmp QWORD PTR -24[rbp], 0
je .L31
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
je .L31
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov rax, QWORD PTR 8[rax]
test rax, rax
jne .L32
.L31:
lea rdi, .LC1[rip]
call puts@PLT
.L32:
mov DWORD PTR -12[rbp], 1
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -24[rbp]
mov eax, DWORD PTR 16[rax]
mov esi, eax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
jmp .L33
.L36:
mov eax, DWORD PTR -12[rbp]
lea edx, 1[rax]
mov DWORD PTR -12[rbp], edx
mov rdx, QWORD PTR -24[rbp]
mov edx, DWORD PTR 16[rdx]
cmp eax, edx
jge .L34
lea rax, .LC4[rip]
jmp .L35
.L34:
lea rax, .LC5[rip]
.L35:
mov rdx, QWORD PTR -8[rbp]
mov ecx, DWORD PTR [rdx]
mov rdx, rax
mov esi, ecx
lea rdi, .LC6[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -8[rbp], rax
.L33:
cmp QWORD PTR -8[rbp], 0
jne .L36
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE12:
.size displayList, .-displayList
.globl find_max
.type find_max, @function
find_max:
.LFB13:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
cmp QWORD PTR -24[rbp], 0
je .L38
cmp QWORD PTR -32[rbp], 0
jne .L39
.L38:
mov eax, -2147483648
jmp .L40
.L39:
mov rax, QWORD PTR -24[rbp]
mov eax, DWORD PTR [rax]
mov DWORD PTR -4[rbp], eax
mov DWORD PTR -8[rbp], 1
jmp .L41
.L43:
mov eax, DWORD PTR -8[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
cmp DWORD PTR -4[rbp], eax
jge .L42
mov eax, DWORD PTR -8[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
mov DWORD PTR -4[rbp], eax
.L42:
add DWORD PTR -8[rbp], 1
.L41:
mov eax, DWORD PTR -8[rbp]
cdqe
cmp QWORD PTR -32[rbp], rax
ja .L43
mov eax, DWORD PTR -4[rbp]
.L40:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE13:
.size find_max, .-find_max
.globl radixSort
.type radixSort, @function
radixSort:
.LFB14:
.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, 136
.cfi_offset 3, -24
mov QWORD PTR -136[rbp], rdi
mov QWORD PTR -144[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -24[rbp], rax
xor eax, eax
mov DWORD PTR -128[rbp], 0
mov DWORD PTR -124[rbp], 0
mov DWORD PTR -120[rbp], 0
mov DWORD PTR -116[rbp], 0
cmp QWORD PTR -136[rbp], 0
je .L63
cmp QWORD PTR -144[rbp], 0
je .L63
mov DWORD PTR -128[rbp], 0
jmp .L48
.L50:
call createLinkedList
mov edx, DWORD PTR -128[rbp]
movsx rdx, edx
mov QWORD PTR -112[rbp+rdx*8], rax
mov eax, DWORD PTR -128[rbp]
cdqe
mov rax, QWORD PTR -112[rbp+rax*8]
test rax, rax
je .L64
add DWORD PTR -128[rbp], 1
.L48:
cmp DWORD PTR -128[rbp], 9
jle .L50
mov rdx, QWORD PTR -144[rbp]
mov rax, QWORD PTR -136[rbp]
mov rsi, rdx
mov rdi, rax
call find_max
mov DWORD PTR -116[rbp], eax
mov DWORD PTR -120[rbp], 1
jmp .L51
.L58:
mov DWORD PTR -128[rbp], 0
jmp .L52
.L53:
mov eax, DWORD PTR -128[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -136[rbp]
add rax, rdx
mov esi, DWORD PTR [rax]
mov eax, DWORD PTR -128[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -136[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
cdq
idiv DWORD PTR -120[rbp]
mov ecx, eax
movsx rax, ecx
imul rax, rax, 1717986919
shr rax, 32
sar eax, 2
mov edi, ecx
sar edi, 31
sub eax, edi
mov edx, eax
mov eax, edx
sal eax, 2
add eax, edx
add eax, eax
sub ecx, eax
mov edx, ecx
movsx rax, edx
mov rax, QWORD PTR -112[rbp+rax*8]
mov rdi, rax
call add
add DWORD PTR -128[rbp], 1
.L52:
mov eax, DWORD PTR -128[rbp]
cdqe
cmp QWORD PTR -144[rbp], rax
ja .L53
mov DWORD PTR -124[rbp], 0
mov eax, DWORD PTR -124[rbp]
mov DWORD PTR -128[rbp], eax
jmp .L54
.L56:
mov eax, DWORD PTR -128[rbp]
cdqe
mov rdx, QWORD PTR -112[rbp+rax*8]
mov eax, DWORD PTR -124[rbp]
lea ecx, 1[rax]
mov DWORD PTR -124[rbp], ecx
cdqe
lea rcx, 0[0+rax*4]
mov rax, QWORD PTR -136[rbp]
lea rbx, [rcx+rax]
mov rdi, rdx
call pop
mov DWORD PTR [rbx], eax
.L55:
mov eax, DWORD PTR -128[rbp]
cdqe
mov rax, QWORD PTR -112[rbp+rax*8]
mov rdi, rax
call isEmpty
test eax, eax
je .L56
add DWORD PTR -128[rbp], 1
.L54:
cmp DWORD PTR -128[rbp], 9
jle .L55
mov edx, DWORD PTR -120[rbp]
mov eax, edx
sal eax, 2
add eax, edx
add eax, eax
mov DWORD PTR -120[rbp], eax
.L51:
mov eax, DWORD PTR -116[rbp]
cdq
idiv DWORD PTR -120[rbp]
test eax, eax
jg .L58
mov DWORD PTR -128[rbp], 0
jmp .L59
.L60:
mov eax, DWORD PTR -128[rbp]
cdqe
mov rax, QWORD PTR -112[rbp+rax*8]
mov rdi, rax
call destroyLinkedList
add DWORD PTR -128[rbp], 1
.L59:
cmp DWORD PTR -128[rbp], 9
jle .L60
jmp .L44
.L63:
nop
jmp .L44
.L64:
nop
.L44:
mov rax, QWORD PTR -24[rbp]
sub rax, QWORD PTR fs:40
je .L62
call __stack_chk_fail@PLT
.L62:
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE14:
.size radixSort, .-radixSort
.section .rodata
.LC7:
.string "Array: "
.LC8:
.string "<__EMPTY__>"
.text
.globl displayArray
.type displayArray, @function
displayArray:
.LFB15:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
lea rdi, .LC7[rip]
mov eax, 0
call printf@PLT
cmp QWORD PTR -24[rbp], 0
je .L66
cmp QWORD PTR -32[rbp], 0
jne .L67
.L66:
lea rdi, .LC8[rip]
call puts@PLT
jmp .L65
.L67:
mov DWORD PTR -4[rbp], 0
jmp .L69
.L72:
mov eax, DWORD PTR -4[rbp]
cdqe
mov rdx, QWORD PTR -32[rbp]
sub rdx, 1
cmp rax, rdx
jnb .L70
lea rax, .LC4[rip]
jmp .L71
.L70:
lea rax, .LC5[rip]
.L71:
mov edx, DWORD PTR -4[rbp]
movsx rdx, edx
lea rcx, 0[0+rdx*4]
mov rdx, QWORD PTR -24[rbp]
add rdx, rcx
mov ecx, DWORD PTR [rdx]
mov rdx, rax
mov esi, ecx
lea rdi, .LC6[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -4[rbp], 1
.L69:
mov eax, DWORD PTR -4[rbp]
cdqe
cmp QWORD PTR -32[rbp], rax
ja .L72
.L65:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE15:
.size displayArray, .-displayArray
.globl main
.type main, @function
main:
.LFB16:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 96
mov DWORD PTR -84[rbp], edi
mov QWORD PTR -96[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -64[rbp], 9678
mov DWORD PTR -60[rbp], 755
mov DWORD PTR -56[rbp], 769
mov DWORD PTR -52[rbp], 9821
mov DWORD PTR -48[rbp], 3
mov DWORD PTR -44[rbp], 37
mov DWORD PTR -40[rbp], 124
mov DWORD PTR -36[rbp], 567
mov DWORD PTR -32[rbp], 987
mov DWORD PTR -28[rbp], 1078
mov DWORD PTR -24[rbp], 99
mov DWORD PTR -20[rbp], 3489
mov DWORD PTR -16[rbp], 23
mov DWORD PTR -12[rbp], 8
mov QWORD PTR -72[rbp], 14
mov rdx, QWORD PTR -72[rbp]
lea rax, -64[rbp]
mov rsi, rdx
mov rdi, rax
call radixSort
mov rdx, QWORD PTR -72[rbp]
lea rax, -64[rbp]
mov rsi, rdx
mov rdi, rax
call displayArray
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L75
call __stack_chk_fail@PLT
.L75:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE16:
.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 "105088.c"
.text
.section .rodata
.align 2
.LC1:
.ascii "Error: out of memory.\000"
.text
.align 2
.global createNode
.syntax unified
.arm
.fpu softvfp
.type createNode, %function
createNode:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
mov r0, #8
bl malloc
mov r3, r0
str r3, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
bne .L2
ldr r0, .L4
bl puts
mov r3, #0
b .L3
.L2:
ldr r3, [fp, #-8]
ldr r2, [fp, #-16]
str r2, [r3]
ldr r3, [fp, #-8]
mov r2, #0
str r2, [r3, #4]
ldr r3, [fp, #-8]
.L3:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L5:
.align 2
.L4:
.word .LC1
.size createNode, .-createNode
.align 2
.global createLinkedList
.syntax unified
.arm
.fpu softvfp
.type createLinkedList, %function
createLinkedList:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
mov r0, #12
bl malloc
mov r3, r0
str r3, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #0
bne .L7
ldr r0, .L10
bl puts
mov r3, #0
b .L8
.L7:
mov r0, #-2147483648
bl createNode
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
bne .L9
ldr r0, [fp, #-12]
bl free
mov r3, #0
b .L8
.L9:
ldr r3, [fp, #-12]
ldr r2, [fp, #-8]
str r2, [r3, #4]
ldr r3, [fp, #-12]
ldr r2, [r3, #4]
ldr r3, [fp, #-12]
str r2, [r3]
ldr r3, [fp, #-12]
mov r2, #0
str r2, [r3, #8]
ldr r3, [fp, #-12]
.L8:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L11:
.align 2
.L10:
.word .LC1
.size createLinkedList, .-createLinkedList
.align 2
.global add
.syntax unified
.arm
.fpu softvfp
.type add, %function
add:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
str r1, [fp, #-20]
ldr r3, [fp, #-16]
cmp r3, #0
beq .L13
ldr r3, [fp, #-16]
ldr r3, [r3]
cmp r3, #0
bne .L14
.L13:
mov r3, #0
b .L15
.L14:
ldr r0, [fp, #-20]
bl createNode
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
bne .L16
mov r3, #0
b .L15
.L16:
ldr r3, [fp, #-16]
ldr r2, [r3]
ldr r3, [fp, #-16]
ldr r3, [r3, #4]
cmp r2, r3
bne .L17
ldr r3, [fp, #-16]
ldr r2, [fp, #-8]
str r2, [r3, #4]
ldr r3, [fp, #-16]
ldr r3, [r3]
ldr r2, [fp, #-16]
ldr r2, [r2, #4]
str r2, [r3, #4]
b .L18
.L17:
ldr r3, [fp, #-16]
ldr r3, [r3, #4]
ldr r2, [fp, #-8]
str r2, [r3, #4]
ldr r2, [r3, #4]
ldr r3, [fp, #-16]
str r2, [r3, #4]
.L18:
ldr r3, [fp, #-16]
ldr r3, [r3, #8]
add r2, r3, #1
ldr r3, [fp, #-16]
str r2, [r3, #8]
mov r3, #1
.L15:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size add, .-add
.align 2
.global pop
.syntax unified
.arm
.fpu softvfp
.type pop, %function
pop:
@ 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 .L20
ldr r3, [fp, #-16]
ldr r3, [r3]
cmp r3, #0
beq .L20
ldr r3, [fp, #-16]
ldr r3, [r3]
ldr r3, [r3, #4]
cmp r3, #0
bne .L21
.L20:
mov r3, #-2147483648
b .L22
.L21:
ldr r3, [fp, #-16]
ldr r3, [r3]
ldr r3, [r3, #4]
ldr r3, [r3]
str r3, [fp, #-12]
ldr r3, [fp, #-16]
ldr r3, [r3]
ldr r2, [r3, #4]
ldr r3, [fp, #-16]
ldr r3, [r3, #4]
cmp r2, r3
bne .L23
ldr r3, [fp, #-16]
ldr r2, [r3]
ldr r3, [fp, #-16]
str r2, [r3, #4]
.L23:
ldr r3, [fp, #-16]
ldr r3, [r3]
ldr r3, [r3, #4]
str r3, [fp, #-8]
ldr r3, [fp, #-16]
ldr r3, [r3]
ldr r2, [r3, #4]
ldr r3, [fp, #-16]
ldr r3, [r3]
ldr r2, [r2, #4]
str r2, [r3, #4]
ldr r0, [fp, #-8]
bl free
ldr r3, [fp, #-16]
ldr r3, [r3, #8]
sub r2, r3, #1
ldr r3, [fp, #-16]
str r2, [r3, #8]
ldr r3, [fp, #-12]
.L22:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size pop, .-pop
.align 2
.global isEmpty
.syntax unified
.arm
.fpu softvfp
.type isEmpty, %function
isEmpty:
@ 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, #0
beq .L25
ldr r3, [fp, #-8]
ldr r3, [r3]
cmp r3, #0
beq .L25
ldr r3, [fp, #-8]
ldr r3, [r3]
ldr r3, [r3, #4]
cmp r3, #0
bne .L26
.L25:
mov r3, #1
b .L28
.L26:
mov r3, #0
.L28:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size isEmpty, .-isEmpty
.align 2
.global destroyLinkedList
.syntax unified
.arm
.fpu softvfp
.type destroyLinkedList, %function
destroyLinkedList:
@ 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
bne .L32
mov r3, #0
b .L31
.L33:
ldr r3, [fp, #-16]
ldr r3, [r3]
str r3, [fp, #-8]
ldr r3, [fp, #-16]
ldr r3, [r3]
ldr r2, [r3, #4]
ldr r3, [fp, #-16]
str r2, [r3]
ldr r0, [fp, #-8]
bl free
.L32:
ldr r3, [fp, #-16]
ldr r3, [r3]
cmp r3, #0
bne .L33
ldr r0, [fp, #-16]
bl free
mov r3, #0
.L31:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size destroyLinkedList, .-destroyLinkedList
.section .rodata
.align 2
.LC2:
.ascii "List: <__EMPTY_LIST__>\000"
.align 2
.LC3:
.ascii "size: %d\012\000"
.align 2
.LC4:
.ascii "List: \000"
.align 2
.LC5:
.ascii ", \000"
.align 2
.LC6:
.ascii "\012\000"
.align 2
.LC7:
.ascii "%d%s\000"
.text
.align 2
.global displayList
.syntax unified
.arm
.fpu softvfp
.type displayList, %function
displayList:
@ 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 .L35
ldr r3, [fp, #-16]
ldr r3, [r3]
cmp r3, #0
beq .L35
ldr r3, [fp, #-16]
ldr r3, [r3]
ldr r3, [r3, #4]
cmp r3, #0
bne .L36
.L35:
ldr r0, .L41
bl puts
.L36:
mov r3, #1
str r3, [fp, #-12]
ldr r3, [fp, #-16]
ldr r3, [r3]
ldr r3, [r3, #4]
str r3, [fp, #-8]
ldr r3, [fp, #-16]
ldr r3, [r3, #8]
mov r1, r3
ldr r0, .L41+4
bl printf
ldr r0, .L41+8
bl printf
b .L37
.L40:
ldr r3, [fp, #-8]
ldr r1, [r3]
ldr r3, [fp, #-12]
add r2, r3, #1
str r2, [fp, #-12]
ldr r2, [fp, #-16]
ldr r2, [r2, #8]
cmp r3, r2
bge .L38
ldr r3, .L41+12
b .L39
.L38:
ldr r3, .L41+16
.L39:
mov r2, r3
ldr r0, .L41+20
bl printf
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
str r3, [fp, #-8]
.L37:
ldr r3, [fp, #-8]
cmp r3, #0
bne .L40
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L42:
.align 2
.L41:
.word .LC2
.word .LC3
.word .LC4
.word .LC5
.word .LC6
.word .LC7
.size displayList, .-displayList
.align 2
.global find_max
.syntax unified
.arm
.fpu softvfp
.type find_max, %function
find_max:
@ 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, #0
beq .L44
ldr r3, [fp, #-20]
cmp r3, #0
bne .L45
.L44:
mov r3, #-2147483648
b .L46
.L45:
ldr r3, [fp, #-16]
ldr r3, [r3]
str r3, [fp, #-8]
mov r3, #1
str r3, [fp, #-12]
b .L47
.L49:
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r3, [r3]
ldr r2, [fp, #-8]
cmp r2, r3
bge .L48
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r3, [r3]
str r3, [fp, #-8]
.L48:
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L47:
ldr r3, [fp, #-12]
ldr r2, [fp, #-20]
cmp r2, r3
bhi .L49
ldr r3, [fp, #-8]
.L46:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size find_max, .-find_max
.global __aeabi_idiv
.section .rodata
.align 2
.LC8:
.word __stack_chk_guard
.text
.align 2
.global radixSort
.syntax unified
.arm
.fpu softvfp
.type radixSort, %function
radixSort:
@ args = 0, pretend = 0, frame = 72
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #76
str r0, [fp, #-80]
str r1, [fp, #-84]
ldr r3, .L71
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
mov r3, #0
str r3, [fp, #-72]
mov r3, #0
str r3, [fp, #-68]
mov r3, #0
str r3, [fp, #-64]
mov r3, #0
str r3, [fp, #-60]
ldr r3, [fp, #-80]
cmp r3, #0
beq .L69
ldr r3, [fp, #-84]
cmp r3, #0
beq .L69
mov r3, #0
str r3, [fp, #-72]
b .L54
.L56:
bl createLinkedList
mov r2, r0
ldr r3, [fp, #-72]
lsl r3, r3, #2
sub r1, fp, #12
add r3, r1, r3
str r2, [r3, #-44]
ldr r3, [fp, #-72]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r3, [r3, #-44]
cmp r3, #0
beq .L70
ldr r3, [fp, #-72]
add r3, r3, #1
str r3, [fp, #-72]
.L54:
ldr r3, [fp, #-72]
cmp r3, #9
ble .L56
ldr r1, [fp, #-84]
ldr r0, [fp, #-80]
bl find_max
str r0, [fp, #-60]
mov r3, #1
str r3, [fp, #-64]
b .L57
.L64:
mov r3, #0
str r3, [fp, #-72]
b .L58
.L59:
ldr r3, [fp, #-72]
lsl r3, r3, #2
ldr r2, [fp, #-80]
add r3, r2, r3
ldr r3, [r3]
ldr r1, [fp, #-64]
mov r0, r3
bl __aeabi_idiv
mov r3, r0
mov r1, r3
ldr r3, .L71+4
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
lsl r3, r2, #2
sub r2, fp, #12
add r3, r2, r3
ldr r0, [r3, #-44]
ldr r3, [fp, #-72]
lsl r3, r3, #2
ldr r2, [fp, #-80]
add r3, r2, r3
ldr r3, [r3]
mov r1, r3
bl add
ldr r3, [fp, #-72]
add r3, r3, #1
str r3, [fp, #-72]
.L58:
ldr r3, [fp, #-72]
ldr r2, [fp, #-84]
cmp r2, r3
bhi .L59
mov r3, #0
str r3, [fp, #-68]
ldr r3, [fp, #-68]
str r3, [fp, #-72]
b .L60
.L62:
ldr r3, [fp, #-72]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r1, [r3, #-44]
ldr r3, [fp, #-68]
add r2, r3, #1
str r2, [fp, #-68]
lsl r3, r3, #2
ldr r2, [fp, #-80]
add r4, r2, r3
mov r0, r1
bl pop
mov r3, r0
str r3, [r4]
.L61:
ldr r3, [fp, #-72]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r3, [r3, #-44]
mov r0, r3
bl isEmpty
mov r3, r0
cmp r3, #0
beq .L62
ldr r3, [fp, #-72]
add r3, r3, #1
str r3, [fp, #-72]
.L60:
ldr r3, [fp, #-72]
cmp r3, #9
ble .L61
ldr r2, [fp, #-64]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
str r3, [fp, #-64]
.L57:
ldr r1, [fp, #-64]
ldr r0, [fp, #-60]
bl __aeabi_idiv
mov r3, r0
cmp r3, #0
bgt .L64
mov r3, #0
str r3, [fp, #-72]
b .L65
.L66:
ldr r3, [fp, #-72]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r3, [r3, #-44]
mov r0, r3
bl destroyLinkedList
ldr r3, [fp, #-72]
add r3, r3, #1
str r3, [fp, #-72]
.L65:
ldr r3, [fp, #-72]
cmp r3, #9
ble .L66
b .L50
.L69:
nop
b .L50
.L70:
nop
.L50:
ldr r3, .L71
ldr r2, [r3]
ldr r3, [fp, #-16]
eors r2, r3, r2
mov r3, #0
beq .L68
bl __stack_chk_fail
.L68:
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L72:
.align 2
.L71:
.word .LC8
.word 1717986919
.size radixSort, .-radixSort
.section .rodata
.align 2
.LC9:
.ascii "Array: \000"
.align 2
.LC10:
.ascii "<__EMPTY__>\000"
.text
.align 2
.global displayArray
.syntax unified
.arm
.fpu softvfp
.type displayArray, %function
displayArray:
@ 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, .L81
bl printf
ldr r3, [fp, #-16]
cmp r3, #0
beq .L74
ldr r3, [fp, #-20]
cmp r3, #0
bne .L75
.L74:
ldr r0, .L81+4
bl puts
b .L73
.L75:
mov r3, #0
str r3, [fp, #-8]
b .L77
.L80:
ldr r3, [fp, #-8]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r1, [r3]
ldr r3, [fp, #-20]
sub r2, r3, #1
ldr r3, [fp, #-8]
cmp r2, r3
bls .L78
ldr r3, .L81+8
b .L79
.L78:
ldr r3, .L81+12
.L79:
mov r2, r3
ldr r0, .L81+16
bl printf
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L77:
ldr r3, [fp, #-8]
ldr r2, [fp, #-20]
cmp r2, r3
bhi .L80
.L73:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L82:
.align 2
.L81:
.word .LC9
.word .LC10
.word .LC5
.word .LC6
.word .LC7
.size displayArray, .-displayArray
.section .rodata
.align 2
.LC0:
.word 9678
.word 755
.word 769
.word 9821
.word 3
.word 37
.word 124
.word 567
.word 987
.word 1078
.word 99
.word 3489
.word 23
.word 8
.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 = 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, .L86
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, .L86+4
sub ip, fp, #64
mov lr, 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}
ldmia lr!, {r0, r1, r2, r3}
stmia ip!, {r0, r1, r2, r3}
ldm lr, {r0, r1}
stm ip, {r0, r1}
mov r3, #14
str r3, [fp, #-68]
sub r3, fp, #64
ldr r1, [fp, #-68]
mov r0, r3
bl radixSort
sub r3, fp, #64
ldr r1, [fp, #-68]
mov r0, r3
bl displayArray
mov r3, #0
ldr r2, .L86
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L85
bl __stack_chk_fail
.L85:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L87:
.align 2
.L86:
.word .LC11
.word .LC0
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "788629.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 ldb_test_recovery@PLT
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 "788629.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 ldb_test_recovery
mov r3, r0
mov r0, r3
pop {fp, pc}
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "865609.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "Memory didn't allocated."
.LC1:
.string "Memory allocated."
.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 DWORD PTR -20[rbp], edi
mov QWORD PTR -32[rbp], rsi
mov esi, 4
mov edi, 8
call calloc@PLT
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
jne .L2
lea rdi, .LC0[rip]
call puts@PLT
jmp .L3
.L2:
lea rdi, .LC1[rip]
call puts@PLT
.L3:
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 "865609.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "Memory didn't allocated.\000"
.align 2
.LC1:
.ascii "Memory allocated.\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]
mov r1, #4
mov r0, #8
bl calloc
mov r3, r0
str r3, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
bne .L2
ldr r0, .L5
bl puts
b .L3
.L2:
ldr r0, .L5+4
bl puts
.L3:
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L6:
.align 2
.L5:
.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 "316049.c"
.intel_syntax noprefix
.text
.globl Level_1_Tower_BackTiles
.section .rodata
.align 4
.type Level_1_Tower_BackTiles, @object
.size Level_1_Tower_BackTiles, 1264
Level_1_Tower_BackTiles:
.long 0
.long 0
.long 0
.long 0
.long 1431655765
.long 1431655765
.long 1431655765
.long 1431655765
.long 1431655765
.long 1431655765
.long 1435850154
.long 1435850133
.long 1431655765
.long 1431655765
.long 1431676245
.long 1431655765
.long -1521134251
.long 1431655765
.long 1431721302
.long 1431655766
.long 1433032021
.long 1432704357
.long 1432704357
.long 1431655765
.long 1436898645
.long 1431655829
.long 1431655765
.long 1431655765
.long 1431655765
.long 1431655765
.long -1789549227
.long 1448433301
.long 1431655765
.long 1431655765
.long -1789569707
.long 1431655765
.long 1431655765
.long 1431655765
.long 1454003541
.long 1448433237
.long -1789548203
.long 1431672149
.long 1431655765
.long 1431655765
.long 1432966485
.long 1431655781
.long 1431655765
.long 1431655765
.long 1435870613
.long 1431655765
.long 1432704362
.long 1431655781
.long 1431917914
.long 1431917913
.long 1431655765
.long 1431655765
.long -1772792235
.long 1431656021
.long 1437160789
.long 1435850133
.long 1433032021
.long 1432704357
.long 1431655781
.long 1431655765
.long 1431655765
.long 1498765909
.long 1767462234
.long 1431659861
.long 1431655765
.long 1431655765
.long 1431655765
.long 1431677525
.long 1431655765
.long 1431655765
.long 1431655765
.long 1431917914
.long 1431655765
.long 1431655765
.long 1431655765
.long 1789220181
.long 1431655765
.long 1431655765
.long 1431655765
.long 1431676245
.long 1431917913
.long -1789285799
.long -1789553323
.long 1431721302
.long 1431655765
.long 1431655765
.long 1431655765
.long -1454025387
.long 1700095317
.long 1700095317
.long 1431655765
.long 1431655765
.long 1431655765
.long 1700096677
.long 1700095317
.long 1431659861
.long 1700096681
.long 1700095317
.long 1700095317
.long 1431655765
.long 1431655765
.long 1431655765
.long 1448433321
.long 1448433237
.long 1431655765
.long 1700096681
.long 1700095317
.long 1700095317
.long 1431655765
.long 1431655765
.long 1431655765
.long 1448433321
.long 1431655766
.long 1431655765
.long 1431655765
.long 1431655765
.long -1789553323
.long 1431655765
.long 1431655765
.long 1431655765
.long 1431655765
.long 1431655765
.long 1431672149
.long 1431655765
.long 1431655765
.long 1431655765
.long 1431721302
.long 1431655765
.long 1498765973
.long 1431656789
.long 1431655765
.long 1431655765
.long 1431655765
.long 1700096341
.long 1431655765
.long 1431655765
.long 1431655765
.long -1432005291
.long -1789553323
.long -1789553323
.long 1431917914
.long 1431917913
.long 1431655769
.long 1431655765
.long 1431655765
.long 1498765973
.long 1431656789
.long 1431655765
.long 1448433237
.long 1431655765
.long 1431655765
.long 1431655765
.long 1431655765
.long 1432704361
.long 1431655765
.long 1431934298
.long 1431655765
.long 1436898645
.long 1431655829
.long 1431655765
.long 1431721302
.long 1431655766
.long 1431655765
.long 1431655765
.long 1431676245
.long 1431655765
.long 1431655765
.long 1431655765
.long 1431655765
.long 1437226325
.long 1435850133
.long -1516939883
.long 1431676245
.long 1431721301
.long 1431721302
.long 1431655765
.long 1432704362
.long 1432704357
.long 1431655781
.long 1431655765
.long 1435850149
.long 1431655765
.long 1431655765
.long 1431655765
.long 1431655765
.long -1521134251
.long 1452643669
.long 1431656021
.long 1431655765
.long 1431655765
.long 1448433322
.long 1448433237
.long 1432704361
.long 1431655765
.long 1431655765
.long 1431655765
.long 1431655829
.long 1433032021
.long 1432704357
.long 1431655765
.long 1431917913
.long 1431655769
.long 1431655765
.long 1431655765
.long 1448449621
.long 1431655765
.long 1435850153
.long 1431655829
.long 1432704362
.long 1432704357
.long 1431655765
.long 1431655765
.long 1515541845
.long 1431984469
.long 1700096345
.long 1431655765
.long 1431655765
.long 1431655765
.long -1437248171
.long 1431655765
.long 1431655765
.long 1431655765
.long 1431983445
.long 1431917913
.long 1431655765
.long 1431655765
.long 1431655765
.long 1700096677
.long 1431655765
.long 1431655765
.long 1431655765
.long 1789482325
.long 1431655765
.long 1431655765
.long -1521134251
.long 1431655765
.long -1436986023
.long -1789553319
.long 1431737685
.long 1431721302
.long 1431655765
.long 1431655765
.long 1431655765
.long -1789548203
.long 1789220181
.long 1700095317
.long 1700095317
.long 1431655765
.long 1700095317
.long 1700095317
.long 1431659861
.long 1519736149
.long 1431655765
.long 1453938005
.long 1448433237
.long 1431656021
.long 1789482325
.long 1700095317
.long 1700095317
.long 1431659861
.long 1431655765
.long 1431655765
.long 1453938005
.long 1448433237
.long 1431655765
.long 1431721301
.long 1431655766
.long 1431655765
.long 1498765653
.long 1431655765
.long 1431655765
.long 1431655765
.long 1431655765
.long 1431655765
.long 1431655765
.long 1431672149
.long 1767200085
.long 1431659861
.long 1431655765
.long 1431655765
.long 1431655765
.long -1789547867
.long -1789553323
.long -1789553323
.long 1519736149
.long 1498765653
.long 1431655765
.long 1431655765
.long 1431656021
.long 1431655765
.long 1431655765
.long 1431655765
.long 1432966485
.long 1431655781
.long -1789242027
.long 1431655769
.long 1431655765
.long 1431655765
.long 1431721301
.long 1431655766
.long 1431655765
.long 1435850149
.long 1431655765
.long 1431655765
.long 1431655765
.long 1431655765
.long 1431983445
.long 1431655769
.long 1431655765
.long 1431655765
.long 1431655765
.long 1431661221
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "316049.c"
.text
.global Level_1_Tower_BackTiles
.section .rodata
.align 2
.type Level_1_Tower_BackTiles, %object
.size Level_1_Tower_BackTiles, 1264
Level_1_Tower_BackTiles:
.word 0
.word 0
.word 0
.word 0
.word 1431655765
.word 1431655765
.word 1431655765
.word 1431655765
.word 1431655765
.word 1431655765
.word 1435850154
.word 1435850133
.word 1431655765
.word 1431655765
.word 1431676245
.word 1431655765
.word -1521134251
.word 1431655765
.word 1431721302
.word 1431655766
.word 1433032021
.word 1432704357
.word 1432704357
.word 1431655765
.word 1436898645
.word 1431655829
.word 1431655765
.word 1431655765
.word 1431655765
.word 1431655765
.word -1789549227
.word 1448433301
.word 1431655765
.word 1431655765
.word -1789569707
.word 1431655765
.word 1431655765
.word 1431655765
.word 1454003541
.word 1448433237
.word -1789548203
.word 1431672149
.word 1431655765
.word 1431655765
.word 1432966485
.word 1431655781
.word 1431655765
.word 1431655765
.word 1435870613
.word 1431655765
.word 1432704362
.word 1431655781
.word 1431917914
.word 1431917913
.word 1431655765
.word 1431655765
.word -1772792235
.word 1431656021
.word 1437160789
.word 1435850133
.word 1433032021
.word 1432704357
.word 1431655781
.word 1431655765
.word 1431655765
.word 1498765909
.word 1767462234
.word 1431659861
.word 1431655765
.word 1431655765
.word 1431655765
.word 1431677525
.word 1431655765
.word 1431655765
.word 1431655765
.word 1431917914
.word 1431655765
.word 1431655765
.word 1431655765
.word 1789220181
.word 1431655765
.word 1431655765
.word 1431655765
.word 1431676245
.word 1431917913
.word -1789285799
.word -1789553323
.word 1431721302
.word 1431655765
.word 1431655765
.word 1431655765
.word -1454025387
.word 1700095317
.word 1700095317
.word 1431655765
.word 1431655765
.word 1431655765
.word 1700096677
.word 1700095317
.word 1431659861
.word 1700096681
.word 1700095317
.word 1700095317
.word 1431655765
.word 1431655765
.word 1431655765
.word 1448433321
.word 1448433237
.word 1431655765
.word 1700096681
.word 1700095317
.word 1700095317
.word 1431655765
.word 1431655765
.word 1431655765
.word 1448433321
.word 1431655766
.word 1431655765
.word 1431655765
.word 1431655765
.word -1789553323
.word 1431655765
.word 1431655765
.word 1431655765
.word 1431655765
.word 1431655765
.word 1431672149
.word 1431655765
.word 1431655765
.word 1431655765
.word 1431721302
.word 1431655765
.word 1498765973
.word 1431656789
.word 1431655765
.word 1431655765
.word 1431655765
.word 1700096341
.word 1431655765
.word 1431655765
.word 1431655765
.word -1432005291
.word -1789553323
.word -1789553323
.word 1431917914
.word 1431917913
.word 1431655769
.word 1431655765
.word 1431655765
.word 1498765973
.word 1431656789
.word 1431655765
.word 1448433237
.word 1431655765
.word 1431655765
.word 1431655765
.word 1431655765
.word 1432704361
.word 1431655765
.word 1431934298
.word 1431655765
.word 1436898645
.word 1431655829
.word 1431655765
.word 1431721302
.word 1431655766
.word 1431655765
.word 1431655765
.word 1431676245
.word 1431655765
.word 1431655765
.word 1431655765
.word 1431655765
.word 1437226325
.word 1435850133
.word -1516939883
.word 1431676245
.word 1431721301
.word 1431721302
.word 1431655765
.word 1432704362
.word 1432704357
.word 1431655781
.word 1431655765
.word 1435850149
.word 1431655765
.word 1431655765
.word 1431655765
.word 1431655765
.word -1521134251
.word 1452643669
.word 1431656021
.word 1431655765
.word 1431655765
.word 1448433322
.word 1448433237
.word 1432704361
.word 1431655765
.word 1431655765
.word 1431655765
.word 1431655829
.word 1433032021
.word 1432704357
.word 1431655765
.word 1431917913
.word 1431655769
.word 1431655765
.word 1431655765
.word 1448449621
.word 1431655765
.word 1435850153
.word 1431655829
.word 1432704362
.word 1432704357
.word 1431655765
.word 1431655765
.word 1515541845
.word 1431984469
.word 1700096345
.word 1431655765
.word 1431655765
.word 1431655765
.word -1437248171
.word 1431655765
.word 1431655765
.word 1431655765
.word 1431983445
.word 1431917913
.word 1431655765
.word 1431655765
.word 1431655765
.word 1700096677
.word 1431655765
.word 1431655765
.word 1431655765
.word 1789482325
.word 1431655765
.word 1431655765
.word -1521134251
.word 1431655765
.word -1436986023
.word -1789553319
.word 1431737685
.word 1431721302
.word 1431655765
.word 1431655765
.word 1431655765
.word -1789548203
.word 1789220181
.word 1700095317
.word 1700095317
.word 1431655765
.word 1700095317
.word 1700095317
.word 1431659861
.word 1519736149
.word 1431655765
.word 1453938005
.word 1448433237
.word 1431656021
.word 1789482325
.word 1700095317
.word 1700095317
.word 1431659861
.word 1431655765
.word 1431655765
.word 1453938005
.word 1448433237
.word 1431655765
.word 1431721301
.word 1431655766
.word 1431655765
.word 1498765653
.word 1431655765
.word 1431655765
.word 1431655765
.word 1431655765
.word 1431655765
.word 1431655765
.word 1431672149
.word 1767200085
.word 1431659861
.word 1431655765
.word 1431655765
.word 1431655765
.word -1789547867
.word -1789553323
.word -1789553323
.word 1519736149
.word 1498765653
.word 1431655765
.word 1431655765
.word 1431656021
.word 1431655765
.word 1431655765
.word 1431655765
.word 1432966485
.word 1431655781
.word -1789242027
.word 1431655769
.word 1431655765
.word 1431655765
.word 1431721301
.word 1431655766
.word 1431655765
.word 1435850149
.word 1431655765
.word 1431655765
.word 1431655765
.word 1431655765
.word 1431983445
.word 1431655769
.word 1431655765
.word 1431655765
.word 1431655765
.word 1431661221
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "86189.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 "86189.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "39891.c"
.intel_syntax noprefix
.text
.section .rodata
.align 8
.LC0:
.string "Enter integers and see them in binary."
.align 8
.LC1:
.string "Non-numeric input terminates program."
.LC2:
.string "%d is "
.LC3:
.string "%d"
.LC4:
.string "Bye!"
.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
lea rdi, .LC0[rip]
call puts@PLT
lea rdi, .LC1[rip]
call puts@PLT
jmp .L2
.L3:
mov eax, DWORD PTR -52[rbp]
lea rdx, -48[rbp]
mov rsi, rdx
mov edi, eax
call itobs
mov eax, DWORD PTR -52[rbp]
mov esi, eax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
lea rax, -48[rbp]
mov rdi, rax
call show_bstr
mov edi, 10
call putchar@PLT
.L2:
lea rax, -52[rbp]
mov rsi, rax
lea rdi, .LC3[rip]
mov eax, 0
call __isoc99_scanf@PLT
cmp eax, 1
je .L3
lea rdi, .LC4[rip]
call puts@PLT
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L5
call __stack_chk_fail@PLT
.L5:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.globl itobs
.type itobs, @function
itobs:
.LFB1:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -20[rbp], edi
mov QWORD PTR -32[rbp], rsi
mov eax, DWORD PTR size.0[rip]
sub eax, 1
mov DWORD PTR -4[rbp], eax
jmp .L7
.L8:
mov eax, DWORD PTR -20[rbp]
and eax, 1
lea ecx, 48[rax]
mov eax, DWORD PTR -4[rbp]
movsx rdx, eax
mov rax, QWORD PTR -32[rbp]
add rax, rdx
mov edx, ecx
mov BYTE PTR [rax], dl
sub DWORD PTR -4[rbp], 1
sar DWORD PTR -20[rbp]
.L7:
cmp DWORD PTR -4[rbp], 0
jns .L8
mov eax, DWORD PTR size.0[rip]
movsx rdx, eax
mov rax, QWORD PTR -32[rbp]
add rax, rdx
mov BYTE PTR [rax], 0
mov rax, QWORD PTR -32[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size itobs, .-itobs
.globl show_bstr
.type show_bstr, @function
show_bstr:
.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 DWORD PTR -4[rbp], 0
jmp .L11
.L12:
mov eax, DWORD PTR -4[rbp]
movsx rdx, eax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
movsx eax, al
mov edi, eax
call putchar@PLT
add DWORD PTR -4[rbp], 1
mov eax, DWORD PTR -4[rbp]
and eax, 3
test eax, eax
jne .L11
mov eax, DWORD PTR -4[rbp]
movsx rdx, eax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
je .L11
mov edi, 32
call putchar@PLT
.L11:
mov eax, DWORD PTR -4[rbp]
movsx rdx, eax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L12
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE2:
.size show_bstr, .-show_bstr
.section .rodata
.align 4
.type size.0, @object
.size size.0, 4
size.0:
.long 32
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "39891.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "Enter integers and see them in binary.\000"
.align 2
.LC1:
.ascii "Non-numeric input terminates program.\000"
.align 2
.LC2:
.ascii "%d is \000"
.align 2
.LC3:
.ascii "%d\000"
.align 2
.LC4:
.ascii "Bye!\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 = 48
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #48
ldr r3, .L6
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r0, .L6+4
bl puts
ldr r0, .L6+8
bl puts
b .L2
.L3:
ldr r3, [fp, #-48]
sub r2, fp, #44
mov r1, r2
mov r0, r3
bl itobs
ldr r3, [fp, #-48]
mov r1, r3
ldr r0, .L6+12
bl printf
sub r3, fp, #44
mov r0, r3
bl show_bstr
mov r0, #10
bl putchar
.L2:
sub r3, fp, #48
mov r1, r3
ldr r0, .L6+16
bl __isoc99_scanf
mov r3, r0
cmp r3, #1
beq .L3
ldr r0, .L6+20
bl puts
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
.align 2
.global itobs
.syntax unified
.arm
.fpu softvfp
.type itobs, %function
itobs:
@ 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, .L12
ldr r3, [r3]
sub r3, r3, #1
str r3, [fp, #-8]
b .L9
.L10:
ldr r3, [fp, #-16]
and r3, r3, #255
and r3, r3, #1
and r2, r3, #255
ldr r3, [fp, #-8]
ldr r1, [fp, #-20]
add r3, r1, r3
add r2, r2, #48
and r2, r2, #255
strb r2, [r3]
ldr r3, [fp, #-8]
sub r3, r3, #1
str r3, [fp, #-8]
ldr r3, [fp, #-16]
asr r3, r3, #1
str r3, [fp, #-16]
.L9:
ldr r3, [fp, #-8]
cmp r3, #0
bge .L10
ldr r3, .L12
ldr r3, [r3]
mov r2, r3
ldr r3, [fp, #-20]
add r3, r3, r2
mov r2, #0
strb r2, [r3]
ldr r3, [fp, #-20]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L13:
.align 2
.L12:
.word size.4615
.size itobs, .-itobs
.align 2
.global show_bstr
.syntax unified
.arm
.fpu softvfp
.type show_bstr, %function
show_bstr:
@ 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 .L15
.L16:
ldr r3, [fp, #-8]
ldr r2, [fp, #-16]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
mov r0, r3
bl putchar
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
ldr r3, [fp, #-8]
and r3, r3, #3
cmp r3, #0
bne .L15
ldr r3, [fp, #-8]
ldr r2, [fp, #-16]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
beq .L15
mov r0, #32
bl putchar
.L15:
ldr r3, [fp, #-8]
ldr r2, [fp, #-16]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L16
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size show_bstr, .-show_bstr
.section .rodata
.align 2
.type size.4615, %object
.size size.4615, 4
size.4615:
.word 32
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "588969.c"
.intel_syntax noprefix
.text
.globl r_u_serious
.type r_u_serious, @function
r_u_serious:
.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 DWORD PTR -24[rbp], esi
mov DWORD PTR -8[rbp], 0
mov eax, DWORD PTR -20[rbp]
mov DWORD PTR -4[rbp], eax
jmp .L2
.L3:
mov eax, DWORD PTR -4[rbp]
imul eax, DWORD PTR -20[rbp]
mov DWORD PTR -4[rbp], eax
add DWORD PTR -8[rbp], 1
.L2:
mov eax, DWORD PTR -24[rbp]
sub eax, 1
cmp DWORD PTR -8[rbp], eax
jl .L3
mov eax, DWORD PTR -4[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size r_u_serious, .-r_u_serious
.globl init
.type init, @function
init:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR [rax], 0
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size init, .-init
.globl new_node
.type new_node, @function
new_node:
.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 edi, 32
call malloc@PLT
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR [rax], 0
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], rdx
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR -28[rbp]
mov DWORD PTR 24[rax], edx
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR -24[rbp]
mov QWORD PTR 16[rax], rdx
mov rax, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size new_node, .-new_node
.globl list_init
.type list_init, @function
list_init:
.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 -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR [rax], 0
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size list_init, .-list_init
.globl push_back
.type push_back, @function
push_back:
.LFB10:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
movsd QWORD PTR -32[rbp], xmm0
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
jne .L12
mov edi, 16
call malloc@PLT
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
movsd xmm0, QWORD PTR -32[rbp]
movsd QWORD PTR [rax], xmm0
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], 0
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR [rax], rdx
jmp .L9
.L13:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -8[rbp], rax
.L12:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
jne .L13
mov edi, 16
call malloc@PLT
mov rdx, rax
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
movsd xmm0, QWORD PTR -32[rbp]
movsd QWORD PTR [rax], xmm0
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR 8[rax], 0
.L9:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size push_back, .-push_back
.globl list_clean
.type list_clean, @function
list_clean:
.LFB11:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -16[rbp], rax
jmp .L15
.L16:
mov rax, QWORD PTR -16[rbp]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call free@PLT
.L15:
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
jne .L16
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call free@PLT
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR [rax], 0
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size list_clean, .-list_clean
.globl my_own_super_puper_find
.type my_own_super_puper_find, @function
my_own_super_puper_find:
.LFB12:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov DWORD PTR -12[rbp], esi
cmp QWORD PTR -8[rbp], 0
jne .L20
mov eax, 0
jmp .L17
.L23:
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 24[rax]
cmp DWORD PTR -12[rbp], eax
jne .L21
mov rax, QWORD PTR -8[rbp]
jmp .L17
.L21:
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 24[rax]
cmp DWORD PTR -12[rbp], eax
jge .L22
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -8[rbp], rax
jmp .L20
.L22:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -8[rbp], rax
.L20:
cmp QWORD PTR -8[rbp], 0
jne .L23
.L17:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE12:
.size my_own_super_puper_find, .-my_own_super_puper_find
.globl remove_node
.type remove_node, @function
remove_node:
.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
mov DWORD PTR -44[rbp], esi
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
mov edx, DWORD PTR -44[rbp]
mov esi, edx
mov rdi, rax
call my_own_super_puper_find
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
je .L25
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
cmp QWORD PTR -8[rbp], rax
je .L26
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rax]
mov QWORD PTR -24[rbp], rax
.L26:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
jne .L27
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
jne .L27
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
cmp QWORD PTR -8[rbp], rax
jne .L28
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR [rax], 0
jmp .L29
.L28:
mov rax, QWORD PTR -24[rbp]
mov edx, DWORD PTR 24[rax]
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 24[rax]
cmp edx, eax
jle .L30
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR 8[rax], 0
jmp .L29
.L30:
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR [rax], 0
.L29:
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call free@PLT
mov eax, 0
jmp .L24
.L27:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
je .L32
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
je .L33
.L32:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
jne .L34
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
je .L34
.L33:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
je .L35
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
jne .L35
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
cmp QWORD PTR -8[rbp], rax
jne .L36
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR [rax], rdx
jmp .L37
.L36:
mov rax, QWORD PTR -24[rbp]
mov edx, DWORD PTR 24[rax]
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 24[rax]
cmp edx, eax
jle .L38
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR 8[rax], rdx
jmp .L37
.L38:
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR [rax], rdx
.L37:
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call free@PLT
jmp .L39
.L35:
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
cmp QWORD PTR -8[rbp], rax
jne .L40
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR [rax], rdx
jmp .L41
.L40:
mov rax, QWORD PTR -24[rbp]
mov edx, DWORD PTR 24[rax]
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 24[rax]
cmp edx, eax
jle .L42
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR 8[rax], rdx
jmp .L41
.L42:
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR [rax], rdx
.L41:
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call free@PLT
.L39:
mov eax, 0
jmp .L24
.L34:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
je .L43
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
je .L43
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -16[rbp], rax
jmp .L44
.L45:
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -16[rbp], rax
.L44:
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
jne .L45
mov rax, QWORD PTR -16[rbp]
mov eax, DWORD PTR 24[rax]
mov DWORD PTR -28[rbp], eax
mov rax, QWORD PTR -16[rbp]
mov edx, DWORD PTR 24[rax]
mov rax, QWORD PTR -40[rbp]
mov esi, edx
mov rdi, rax
call remove_node
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR -28[rbp]
mov DWORD PTR 24[rax], edx
mov eax, 0
jmp .L24
.L25:
mov eax, 1
jmp .L24
.L43:
.L24:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE13:
.size remove_node, .-remove_node
.globl fu
.type fu, @function
fu:
.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, 16
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
cmp QWORD PTR -8[rbp], 0
je .L48
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov rdx, QWORD PTR -16[rbp]
mov rsi, rdx
mov rdi, rax
call fu
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
mov rdx, QWORD PTR -16[rbp]
mov rsi, rdx
mov rdi, rax
call fu
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call free@PLT
.L48:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE14:
.size fu, .-fu
.globl clean
.type clean, @function
clean:
.LFB15:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
mov rdx, QWORD PTR -8[rbp]
mov rsi, rdx
mov rdi, rax
call fu
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR [rax], 0
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE15:
.size clean, .-clean
.globl find
.type find, @function
find:
.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 rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
jne .L51
mov eax, 0
jmp .L50
.L51:
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -8[rbp], rax
jmp .L53
.L56:
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 24[rax]
cmp DWORD PTR -28[rbp], eax
jne .L54
mov rax, QWORD PTR -8[rbp]
jmp .L50
.L54:
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 24[rax]
cmp DWORD PTR -28[rbp], eax
jge .L55
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -8[rbp], rax
jmp .L53
.L55:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -8[rbp], rax
.L53:
cmp QWORD PTR -8[rbp], 0
jne .L56
.L50:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE16:
.size find, .-find
.globl insert
.type insert, @function
insert:
.LFB17:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -16[rbp], rax
mov edx, DWORD PTR -28[rbp]
mov rax, QWORD PTR -24[rbp]
mov esi, edx
mov rdi, rax
call find
test rax, rax
je .L58
mov eax, 1
jmp .L57
.L58:
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
jne .L62
mov edi, 32
call malloc@PLT
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
jne .L61
mov eax, 2
jmp .L57
.L61:
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR [rax], 0
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], rdx
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR -28[rbp]
mov DWORD PTR 24[rax], edx
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 16[rax], rdx
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR [rax], rdx
mov eax, 0
jmp .L57
.L66:
mov rax, QWORD PTR -16[rbp]
mov eax, DWORD PTR 24[rax]
cmp DWORD PTR -28[rbp], eax
jge .L63
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
je .L64
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -16[rbp], rax
jmp .L62
.L64:
mov edx, DWORD PTR -28[rbp]
mov rax, QWORD PTR -16[rbp]
mov esi, edx
mov rdi, rax
call new_node
mov rdx, QWORD PTR -16[rbp]
mov QWORD PTR 8[rdx], rax
mov eax, 0
jmp .L57
.L63:
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
je .L65
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -16[rbp], rax
jmp .L62
.L65:
mov edx, DWORD PTR -28[rbp]
mov rax, QWORD PTR -16[rbp]
mov esi, edx
mov rdi, rax
call new_node
mov rdx, QWORD PTR -16[rbp]
mov QWORD PTR [rdx], rax
mov eax, 0
jmp .L57
.L62:
cmp QWORD PTR -16[rbp], 0
jne .L66
.L57:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE17:
.size insert, .-insert
.globl remove_min
.type remove_min, @function
remove_min:
.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 -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov rax, QWORD PTR -24[rbp]
mov eax, DWORD PTR 24[rax]
mov DWORD PTR -4[rbp], eax
jmp .L68
.L69:
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -24[rbp], rax
.L68:
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
jne .L69
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 16[rax]
mov QWORD PTR 8[rax], 0
mov rax, QWORD PTR -24[rbp]
mov edx, DWORD PTR 24[rax]
mov rax, QWORD PTR -32[rbp]
mov esi, edx
mov rdi, rax
call remove_node
mov eax, DWORD PTR -4[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE18:
.size remove_min, .-remove_min
.globl rotate_right
.type rotate_right, @function
rotate_right:
.LFB19:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
cmp QWORD PTR -8[rbp], 0
je .L72
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
je .L73
cmp QWORD PTR -8[rbp], 0
je .L73
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 16[rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rax]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rax]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR [rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR 16[rax]
mov rax, QWORD PTR -16[rbp]
mov QWORD PTR [rax], rdx
mov eax, 0
jmp .L74
.L73:
mov eax, 1
jmp .L74
.L72:
mov eax, 1
.L74:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE19:
.size rotate_right, .-rotate_right
.globl rotate_left
.type rotate_left, @function
rotate_left:
.LFB20:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
cmp QWORD PTR -8[rbp], 0
je .L76
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
je .L77
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 16[rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rax]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR [rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rax]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR 16[rax]
mov rax, QWORD PTR -16[rbp]
mov QWORD PTR [rax], rdx
mov eax, 0
jmp .L78
.L77:
mov eax, 1
jmp .L78
.L76:
mov eax, 1
.L78:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE20:
.size rotate_left, .-rotate_left
.globl nodes
.bss
.align 4
.type nodes, @object
.size nodes, 4
nodes:
.zero 4
.text
.globl vsego_under_node
.type vsego_under_node, @function
vsego_under_node:
.LFB21:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
cmp QWORD PTR -8[rbp], 0
je .L81
mov eax, DWORD PTR nodes[rip]
add eax, 1
mov DWORD PTR nodes[rip], eax
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov rdi, rax
call vsego_under_node
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call vsego_under_node
.L81:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE21:
.size vsego_under_node, .-vsego_under_node
.section .rodata
.LC1:
.string "%i "
.LC2:
.string "_ "
.text
.globl my_own_super_puper_print
.type my_own_super_puper_print, @function
my_own_super_puper_print:
.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, 64
mov QWORD PTR -56[rbp], rdi
mov edi, 8
call malloc@PLT
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call list_init
mov rax, QWORD PTR -56[rbp]
mov eax, DWORD PTR 24[rax]
pxor xmm1, xmm1
cvtsi2sd xmm1, eax
movq rdx, xmm1
mov rax, QWORD PTR -16[rbp]
movq xmm0, rdx
mov rdi, rax
call push_back
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -24[rbp], rax
mov rax, QWORD PTR -56[rbp]
mov rdi, rax
call vsego_under_node
mov DWORD PTR -40[rbp], 0
mov DWORD PTR -36[rbp], 0
mov DWORD PTR -32[rbp], 1
mov DWORD PTR -28[rbp], 1
.L95:
mov rax, QWORD PTR -24[rbp]
movsd xmm0, QWORD PTR [rax]
ucomisd xmm0, QWORD PTR .LC0[rip]
jp .L83
ucomisd xmm0, QWORD PTR .LC0[rip]
jne .L83
mov rdx, QWORD PTR .LC0[rip]
mov rax, QWORD PTR -16[rbp]
movq xmm0, rdx
mov rdi, rax
call push_back
mov rdx, QWORD PTR .LC0[rip]
mov rax, QWORD PTR -16[rbp]
movq xmm0, rdx
mov rdi, rax
call push_back
jmp .L85
.L83:
mov rax, QWORD PTR -24[rbp]
movsd xmm0, QWORD PTR [rax]
cvttsd2si edx, xmm0
mov rax, QWORD PTR -56[rbp]
mov esi, edx
mov rdi, rax
call my_own_super_puper_find
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
je .L86
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov eax, DWORD PTR 24[rax]
pxor xmm2, xmm2
cvtsi2sd xmm2, eax
movq rdx, xmm2
mov rax, QWORD PTR -16[rbp]
movq xmm0, rdx
mov rdi, rax
call push_back
jmp .L87
.L86:
mov rdx, QWORD PTR .LC0[rip]
mov rax, QWORD PTR -16[rbp]
movq xmm0, rdx
mov rdi, rax
call push_back
.L87:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
je .L88
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
mov eax, DWORD PTR 24[rax]
pxor xmm3, xmm3
cvtsi2sd xmm3, eax
movq rdx, xmm3
mov rax, QWORD PTR -16[rbp]
movq xmm0, rdx
mov rdi, rax
call push_back
jmp .L85
.L88:
mov rdx, QWORD PTR .LC0[rip]
mov rax, QWORD PTR -16[rbp]
movq xmm0, rdx
mov rdi, rax
call push_back
.L85:
mov rax, QWORD PTR -24[rbp]
movsd xmm0, QWORD PTR [rax]
ucomisd xmm0, QWORD PTR .LC0[rip]
jp .L97
comisd xmm0, QWORD PTR .LC0[rip]
je .L98
.L97:
mov rax, QWORD PTR -24[rbp]
movsd xmm0, QWORD PTR [rax]
cvttsd2si eax, xmm0
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -40[rbp], 1
jmp .L91
.L98:
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
.L91:
add DWORD PTR -36[rbp], 1
add DWORD PTR -28[rbp], 1
mov eax, DWORD PTR -32[rbp]
mov esi, eax
mov edi, 2
call r_u_serious
sub eax, 1
cmp DWORD PTR -36[rbp], eax
jne .L92
mov edi, 10
call putchar@PLT
add DWORD PTR -32[rbp], 1
mov DWORD PTR -28[rbp], 0
.L92:
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -24[rbp], rax
cmp DWORD PTR -28[rbp], 0
jne .L95
mov eax, DWORD PTR nodes[rip]
cmp DWORD PTR -40[rbp], eax
je .L100
jmp .L95
.L100:
nop
mov DWORD PTR nodes[rip], 0
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call list_clean
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE22:
.size my_own_super_puper_print, .-my_own_super_puper_print
.globl print
.type print, @function
print:
.LFB23:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call my_own_super_puper_print
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE23:
.size print, .-print
.section .rodata
.LC3:
.string "-"
.text
.globl print_tree
.type print_tree, @function
print_tree:
.LFB24:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
jne .L103
lea rdi, .LC3[rip]
call puts@PLT
jmp .L105
.L103:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call my_own_super_puper_print
.L105:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE24:
.size print_tree, .-print_tree
.globl one_more_again
.type one_more_again, @function
one_more_again:
.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, 32
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov edx, DWORD PTR -28[rbp]
mov esi, edx
mov rdi, rax
call my_own_super_puper_find
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
jne .L107
mov edi, 45
call putchar@PLT
jmp .L106
.L107:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rax]
test rax, rax
je .L109
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rax]
mov eax, DWORD PTR 24[rax]
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
jmp .L110
.L109:
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
.L110:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
je .L111
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov eax, DWORD PTR 24[rax]
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
jmp .L112
.L111:
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
.L112:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
je .L113
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
mov eax, DWORD PTR 24[rax]
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
jmp .L106
.L113:
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
.L106:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE25:
.size one_more_again, .-one_more_again
.section .rodata
.LC4:
.string " %i"
.LC5:
.string "\n"
.LC6:
.string "%i"
.text
.globl main
.type main, @function
main:
.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, 48
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov edi, 16
call malloc@PLT
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call init
mov DWORD PTR -24[rbp], 0
mov DWORD PTR -40[rbp], 0
jmp .L115
.L116:
lea rax, -40[rbp]
mov rsi, rax
lea rdi, .LC4[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov edx, DWORD PTR -40[rbp]
mov rax, QWORD PTR -16[rbp]
mov esi, edx
mov rdi, rax
call insert
add DWORD PTR -24[rbp], 1
.L115:
cmp DWORD PTR -24[rbp], 3
jle .L116
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call print_tree
mov edi, 10
call putchar@PLT
mov DWORD PTR -24[rbp], 0
mov DWORD PTR -40[rbp], 0
jmp .L117
.L118:
lea rax, -40[rbp]
mov rsi, rax
lea rdi, .LC4[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov edx, DWORD PTR -40[rbp]
mov rax, QWORD PTR -16[rbp]
mov esi, edx
mov rdi, rax
call insert
add DWORD PTR -24[rbp], 1
.L117:
cmp DWORD PTR -24[rbp], 2
jle .L118
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call print_tree
mov edi, 10
call putchar@PLT
mov DWORD PTR -36[rbp], 0
lea rax, -36[rbp]
mov rsi, rax
lea rdi, .LC4[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov edx, DWORD PTR -36[rbp]
mov rax, QWORD PTR -16[rbp]
mov esi, edx
mov rdi, rax
call one_more_again
lea rdi, .LC5[rip]
call puts@PLT
mov DWORD PTR -32[rbp], 0
lea rax, -32[rbp]
mov rsi, rax
lea rdi, .LC4[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov edx, DWORD PTR -32[rbp]
mov rax, QWORD PTR -16[rbp]
mov esi, edx
mov rdi, rax
call one_more_again
lea rdi, .LC5[rip]
call puts@PLT
mov DWORD PTR -28[rbp], 0
lea rax, -28[rbp]
mov rsi, rax
lea rdi, .LC4[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov edx, DWORD PTR -28[rbp]
mov rax, QWORD PTR -16[rbp]
mov esi, edx
mov rdi, rax
call remove_node
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call print_tree
mov edi, 10
call putchar@PLT
mov DWORD PTR -20[rbp], 0
jmp .L119
.L120:
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR [rax]
mov rdx, QWORD PTR -16[rbp]
mov rsi, rdx
mov rdi, rax
call rotate_left
mov DWORD PTR -20[rbp], eax
.L119:
cmp DWORD PTR -20[rbp], 1
jne .L120
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call print_tree
mov edi, 10
call putchar@PLT
mov DWORD PTR -20[rbp], 0
jmp .L121
.L122:
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR [rax]
mov rdx, QWORD PTR -16[rbp]
mov rsi, rdx
mov rdi, rax
call rotate_right
mov DWORD PTR -20[rbp], eax
.L121:
cmp DWORD PTR -20[rbp], 1
jne .L122
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call print_tree
mov edi, 10
call putchar@PLT
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR [rax]
mov rdi, rax
call vsego_under_node
mov eax, DWORD PTR nodes[rip]
mov esi, eax
lea rdi, .LC6[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR nodes[rip], 0
lea rdi, .LC5[rip]
call puts@PLT
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call clean
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call print_tree
mov edi, 10
call putchar@PLT
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L124
call __stack_chk_fail@PLT
.L124:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE26:
.size main, .-main
.section .rodata
.align 8
.LC0:
.long 1562131145
.long 1071733669
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "588969.c"
.text
.align 2
.global r_u_serious
.syntax unified
.arm
.fpu softvfp
.type r_u_serious, %function
r_u_serious:
@ 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]
ldr r3, [fp, #-16]
str r3, [fp, #-8]
b .L2
.L3:
ldr r3, [fp, #-8]
ldr r2, [fp, #-16]
mul r3, r2, r3
str r3, [fp, #-8]
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L2:
ldr r3, [fp, #-20]
sub r3, r3, #1
ldr r2, [fp, #-12]
cmp r2, r3
blt .L3
ldr r3, [fp, #-8]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size r_u_serious, .-r_u_serious
.align 2
.global init
.syntax unified
.arm
.fpu softvfp
.type init, %function
init:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
ldr r3, [fp, #-8]
mov r2, #0
str r2, [r3]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size init, .-init
.align 2
.global new_node
.syntax unified
.arm
.fpu softvfp
.type new_node, %function
new_node:
@ 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 r0, #16
bl malloc
mov r3, r0
str r3, [fp, #-8]
ldr r3, [fp, #-8]
mov r2, #0
str r2, [r3]
ldr r3, [fp, #-8]
ldr r2, [r3]
ldr r3, [fp, #-8]
str r2, [r3, #4]
ldr r3, [fp, #-8]
ldr r2, [fp, #-20]
str r2, [r3, #12]
ldr r3, [fp, #-8]
ldr r2, [fp, #-16]
str r2, [r3, #8]
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size new_node, .-new_node
.align 2
.global list_init
.syntax unified
.arm
.fpu softvfp
.type list_init, %function
list_init:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
ldr r3, [fp, #-8]
mov r2, #0
str r2, [r3]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size list_init, .-list_init
.align 2
.global push_back
.syntax unified
.arm
.fpu softvfp
.type push_back, %function
push_back:
@ 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 r2, [fp, #-28]
str r3, [fp, #-24]
ldr r3, [fp, #-16]
ldr r3, [r3]
str r3, [fp, #-8]
ldr r3, [fp, #-16]
ldr r3, [r3]
cmp r3, #0
bne .L12
mov r0, #16
bl malloc
mov r3, r0
str r3, [fp, #-8]
ldr r1, [fp, #-8]
sub r3, fp, #28
ldmia r3, {r2-r3}
stm r1, {r2-r3}
ldr r3, [fp, #-8]
mov r2, #0
str r2, [r3, #8]
ldr r3, [fp, #-16]
ldr r2, [fp, #-8]
str r2, [r3]
b .L9
.L13:
ldr r3, [fp, #-8]
ldr r3, [r3, #8]
str r3, [fp, #-8]
.L12:
ldr r3, [fp, #-8]
ldr r3, [r3, #8]
cmp r3, #0
bne .L13
mov r0, #16
bl malloc
mov r3, r0
mov r2, r3
ldr r3, [fp, #-8]
str r2, [r3, #8]
ldr r3, [fp, #-8]
ldr r1, [r3, #8]
sub r3, fp, #28
ldmia r3, {r2-r3}
stm r1, {r2-r3}
ldr r3, [fp, #-8]
ldr r3, [r3, #8]
mov r2, #0
str r2, [r3, #8]
.L9:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size push_back, .-push_back
.align 2
.global list_clean
.syntax unified
.arm
.fpu softvfp
.type list_clean, %function
list_clean:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
ldr r3, [fp, #-16]
ldr r3, [r3]
str r3, [fp, #-12]
b .L15
.L16:
ldr r3, [fp, #-12]
str r3, [fp, #-8]
ldr r3, [fp, #-12]
ldr r3, [r3, #8]
str r3, [fp, #-12]
ldr r0, [fp, #-8]
bl free
.L15:
ldr r3, [fp, #-12]
ldr r3, [r3, #8]
cmp r3, #0
bne .L16
ldr r0, [fp, #-12]
bl free
ldr r3, [fp, #-16]
mov r2, #0
str r2, [r3]
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size list_clean, .-list_clean
.align 2
.global my_own_super_puper_find
.syntax unified
.arm
.fpu softvfp
.type my_own_super_puper_find, %function
my_own_super_puper_find:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, [fp, #-8]
cmp r3, #0
bne .L20
mov r3, #0
b .L17
.L23:
ldr r3, [fp, #-8]
ldr r3, [r3, #12]
ldr r2, [fp, #-12]
cmp r2, r3
bne .L21
ldr r3, [fp, #-8]
b .L17
.L21:
ldr r3, [fp, #-8]
ldr r3, [r3, #12]
ldr r2, [fp, #-12]
cmp r2, r3
bge .L22
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
str r3, [fp, #-8]
b .L20
.L22:
ldr r3, [fp, #-8]
ldr r3, [r3]
str r3, [fp, #-8]
.L20:
ldr r3, [fp, #-8]
cmp r3, #0
bne .L23
.L17:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size my_own_super_puper_find, .-my_own_super_puper_find
.align 2
.global remove_node
.syntax unified
.arm
.fpu softvfp
.type remove_node, %function
remove_node:
@ 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, #-24]
ldr r3, [r3]
ldr r1, [fp, #-28]
mov r0, r3
bl my_own_super_puper_find
str r0, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #0
beq .L25
ldr r3, [fp, #-24]
ldr r3, [r3]
ldr r2, [fp, #-12]
cmp r2, r3
beq .L26
ldr r3, [fp, #-12]
ldr r3, [r3, #8]
str r3, [fp, #-20]
.L26:
ldr r3, [fp, #-12]
ldr r3, [r3, #4]
cmp r3, #0
bne .L27
ldr r3, [fp, #-12]
ldr r3, [r3]
cmp r3, #0
bne .L27
ldr r3, [fp, #-24]
ldr r3, [r3]
ldr r2, [fp, #-12]
cmp r2, r3
bne .L28
ldr r3, [fp, #-24]
mov r2, #0
str r2, [r3]
b .L29
.L28:
ldr r3, [fp, #-20]
ldr r2, [r3, #12]
ldr r3, [fp, #-12]
ldr r3, [r3, #12]
cmp r2, r3
ble .L30
ldr r3, [fp, #-20]
mov r2, #0
str r2, [r3, #4]
b .L29
.L30:
ldr r3, [fp, #-20]
mov r2, #0
str r2, [r3]
.L29:
ldr r0, [fp, #-12]
bl free
mov r3, #0
b .L24
.L27:
ldr r3, [fp, #-12]
ldr r3, [r3, #4]
cmp r3, #0
beq .L32
ldr r3, [fp, #-12]
ldr r3, [r3]
cmp r3, #0
beq .L33
.L32:
ldr r3, [fp, #-12]
ldr r3, [r3, #4]
cmp r3, #0
bne .L34
ldr r3, [fp, #-12]
ldr r3, [r3]
cmp r3, #0
beq .L34
.L33:
ldr r3, [fp, #-12]
ldr r3, [r3, #4]
cmp r3, #0
beq .L35
ldr r3, [fp, #-12]
ldr r3, [r3]
cmp r3, #0
bne .L35
ldr r3, [fp, #-24]
ldr r3, [r3]
ldr r2, [fp, #-12]
cmp r2, r3
bne .L36
ldr r3, [fp, #-12]
ldr r2, [r3, #4]
ldr r3, [fp, #-24]
str r2, [r3]
b .L37
.L36:
ldr r3, [fp, #-20]
ldr r2, [r3, #12]
ldr r3, [fp, #-12]
ldr r3, [r3, #12]
cmp r2, r3
ble .L38
ldr r3, [fp, #-12]
ldr r2, [r3, #4]
ldr r3, [fp, #-20]
str r2, [r3, #4]
b .L37
.L38:
ldr r3, [fp, #-12]
ldr r2, [r3, #4]
ldr r3, [fp, #-20]
str r2, [r3]
.L37:
ldr r0, [fp, #-12]
bl free
b .L39
.L35:
ldr r3, [fp, #-24]
ldr r3, [r3]
ldr r2, [fp, #-12]
cmp r2, r3
bne .L40
ldr r3, [fp, #-12]
ldr r2, [r3]
ldr r3, [fp, #-24]
str r2, [r3]
b .L41
.L40:
ldr r3, [fp, #-20]
ldr r2, [r3, #12]
ldr r3, [fp, #-12]
ldr r3, [r3, #12]
cmp r2, r3
ble .L42
ldr r3, [fp, #-12]
ldr r2, [r3]
ldr r3, [fp, #-20]
str r2, [r3, #4]
b .L41
.L42:
ldr r3, [fp, #-12]
ldr r2, [r3]
ldr r3, [fp, #-20]
str r2, [r3]
.L41:
ldr r0, [fp, #-12]
bl free
.L39:
mov r3, #0
b .L24
.L34:
ldr r3, [fp, #-12]
ldr r3, [r3, #4]
cmp r3, #0
beq .L43
ldr r3, [fp, #-12]
ldr r3, [r3]
cmp r3, #0
beq .L43
ldr r3, [fp, #-12]
ldr r3, [r3]
str r3, [fp, #-16]
b .L44
.L45:
ldr r3, [fp, #-16]
ldr r3, [r3, #4]
str r3, [fp, #-16]
.L44:
ldr r3, [fp, #-16]
ldr r3, [r3, #4]
cmp r3, #0
bne .L45
ldr r3, [fp, #-16]
ldr r3, [r3, #12]
str r3, [fp, #-8]
ldr r3, [fp, #-16]
ldr r3, [r3, #12]
mov r1, r3
ldr r0, [fp, #-24]
bl remove_node
ldr r3, [fp, #-12]
ldr r2, [fp, #-8]
str r2, [r3, #12]
mov r3, #0
b .L24
.L25:
mov r3, #1
b .L24
.L43:
.L24:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size remove_node, .-remove_node
.align 2
.global fu
.syntax unified
.arm
.fpu softvfp
.type fu, %function
fu:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L48
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
ldr r1, [fp, #-12]
mov r0, r3
bl fu
ldr r3, [fp, #-8]
ldr r3, [r3]
ldr r1, [fp, #-12]
mov r0, r3
bl fu
ldr r0, [fp, #-8]
bl free
.L48:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size fu, .-fu
.align 2
.global clean
.syntax unified
.arm
.fpu softvfp
.type clean, %function
clean:
@ 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]
ldr r3, [r3]
ldr r1, [fp, #-8]
mov r0, r3
bl fu
ldr r3, [fp, #-8]
mov r2, #0
str r2, [r3]
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size clean, .-clean
.align 2
.global find
.syntax unified
.arm
.fpu softvfp
.type find, %function
find:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #20
str r0, [fp, #-16]
str r1, [fp, #-20]
ldr r3, [fp, #-16]
ldr r3, [r3]
cmp r3, #0
bne .L51
mov r3, #0
b .L50
.L51:
ldr r3, [fp, #-16]
ldr r3, [r3]
str r3, [fp, #-8]
b .L53
.L56:
ldr r3, [fp, #-8]
ldr r3, [r3, #12]
ldr r2, [fp, #-20]
cmp r2, r3
bne .L54
ldr r3, [fp, #-8]
b .L50
.L54:
ldr r3, [fp, #-8]
ldr r3, [r3, #12]
ldr r2, [fp, #-20]
cmp r2, r3
bge .L55
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
str r3, [fp, #-8]
b .L53
.L55:
ldr r3, [fp, #-8]
ldr r3, [r3]
str r3, [fp, #-8]
.L53:
ldr r3, [fp, #-8]
cmp r3, #0
bne .L56
.L50:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size find, .-find
.align 2
.global insert
.syntax unified
.arm
.fpu softvfp
.type insert, %function
insert:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
str r1, [fp, #-20]
ldr r3, [fp, #-16]
ldr r3, [r3]
str r3, [fp, #-12]
ldr r1, [fp, #-20]
ldr r0, [fp, #-16]
bl find
mov r3, r0
cmp r3, #0
beq .L58
mov r3, #1
b .L57
.L58:
ldr r3, [fp, #-16]
ldr r3, [r3]
cmp r3, #0
bne .L62
mov r0, #16
bl malloc
mov r3, r0
str r3, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
bne .L61
mov r3, #2
b .L57
.L61:
ldr r3, [fp, #-8]
mov r2, #0
str r2, [r3]
ldr r3, [fp, #-8]
ldr r2, [r3]
ldr r3, [fp, #-8]
str r2, [r3, #4]
ldr r3, [fp, #-8]
ldr r2, [fp, #-20]
str r2, [r3, #12]
ldr r3, [fp, #-16]
ldr r2, [r3]
ldr r3, [fp, #-8]
str r2, [r3, #8]
ldr r3, [fp, #-16]
ldr r2, [fp, #-8]
str r2, [r3]
mov r3, #0
b .L57
.L66:
ldr r3, [fp, #-12]
ldr r3, [r3, #12]
ldr r2, [fp, #-20]
cmp r2, r3
bge .L63
ldr r3, [fp, #-12]
ldr r3, [r3, #4]
cmp r3, #0
beq .L64
ldr r3, [fp, #-12]
ldr r3, [r3, #4]
str r3, [fp, #-12]
b .L62
.L64:
ldr r1, [fp, #-20]
ldr r0, [fp, #-12]
bl new_node
mov r2, r0
ldr r3, [fp, #-12]
str r2, [r3, #4]
mov r3, #0
b .L57
.L63:
ldr r3, [fp, #-12]
ldr r3, [r3]
cmp r3, #0
beq .L65
ldr r3, [fp, #-12]
ldr r3, [r3]
str r3, [fp, #-12]
b .L62
.L65:
ldr r1, [fp, #-20]
ldr r0, [fp, #-12]
bl new_node
mov r2, r0
ldr r3, [fp, #-12]
str r2, [r3]
mov r3, #0
b .L57
.L62:
ldr r3, [fp, #-12]
cmp r3, #0
bne .L66
.L57:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size insert, .-insert
.align 2
.global remove_min
.syntax unified
.arm
.fpu softvfp
.type remove_min, %function
remove_min:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
str r1, [fp, #-20]
ldr r3, [fp, #-16]
ldr r3, [r3, #12]
str r3, [fp, #-8]
b .L68
.L69:
ldr r3, [fp, #-16]
ldr r3, [r3, #4]
str r3, [fp, #-16]
.L68:
ldr r3, [fp, #-16]
ldr r3, [r3, #4]
cmp r3, #0
bne .L69
ldr r3, [fp, #-16]
ldr r3, [r3, #8]
mov r2, #0
str r2, [r3, #4]
ldr r3, [fp, #-16]
ldr r3, [r3, #12]
mov r1, r3
ldr r0, [fp, #-20]
bl remove_node
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size remove_min, .-remove_min
.align 2
.global rotate_right
.syntax unified
.arm
.fpu softvfp
.type rotate_right, %function
rotate_right:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L72
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
cmp r3, #0
beq .L73
ldr r3, [fp, #-8]
cmp r3, #0
beq .L73
ldr r3, [fp, #-8]
ldr r2, [r3, #4]
ldr r3, [fp, #-8]
str r2, [r3, #8]
ldr r3, [fp, #-8]
ldr r3, [r3, #8]
ldr r2, [r3]
ldr r3, [fp, #-8]
str r2, [r3, #4]
ldr r3, [fp, #-8]
ldr r3, [r3, #8]
ldr r2, [fp, #-8]
str r2, [r3]
ldr r3, [fp, #-8]
ldr r2, [r3, #8]
ldr r3, [fp, #-12]
str r2, [r3]
mov r3, #0
b .L74
.L73:
mov r3, #1
b .L74
.L72:
mov r3, #1
.L74:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size rotate_right, .-rotate_right
.align 2
.global rotate_left
.syntax unified
.arm
.fpu softvfp
.type rotate_left, %function
rotate_left:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L76
ldr r3, [fp, #-8]
ldr r3, [r3]
cmp r3, #0
beq .L77
ldr r3, [fp, #-8]
ldr r2, [r3]
ldr r3, [fp, #-8]
str r2, [r3, #8]
ldr r3, [fp, #-8]
ldr r3, [r3, #8]
ldr r2, [r3, #4]
ldr r3, [fp, #-8]
str r2, [r3]
ldr r3, [fp, #-8]
ldr r3, [r3, #8]
ldr r2, [fp, #-8]
str r2, [r3, #4]
ldr r3, [fp, #-8]
ldr r2, [r3, #8]
ldr r3, [fp, #-12]
str r2, [r3]
mov r3, #0
b .L78
.L77:
mov r3, #1
b .L78
.L76:
mov r3, #1
.L78:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size rotate_left, .-rotate_left
.global nodes
.bss
.align 2
.type nodes, %object
.size nodes, 4
nodes:
.space 4
.text
.align 2
.global vsego_under_node
.syntax unified
.arm
.fpu softvfp
.type vsego_under_node, %function
vsego_under_node:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L81
ldr r3, .L82
ldr r3, [r3]
add r3, r3, #1
ldr r2, .L82
str r3, [r2]
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
mov r0, r3
bl vsego_under_node
ldr r3, [fp, #-8]
ldr r3, [r3]
mov r0, r3
bl vsego_under_node
.L81:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L83:
.align 2
.L82:
.word nodes
.size vsego_under_node, .-vsego_under_node
.global __aeabi_i2d
.global __aeabi_dcmpeq
.global __aeabi_d2iz
.section .rodata
.align 2
.LC0:
.ascii "%i \000"
.align 2
.LC1:
.ascii "_ \000"
.text
.align 2
.global my_own_super_puper_print
.syntax unified
.arm
.fpu softvfp
.type my_own_super_puper_print, %function
my_own_super_puper_print:
@ 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]
mov r0, #4
bl malloc
mov r3, r0
str r3, [fp, #-12]
ldr r0, [fp, #-12]
bl list_init
ldr r3, [fp, #-40]
ldr r3, [r3, #12]
mov r0, r3
bl __aeabi_i2d
mov r2, r0
mov r3, r1
ldr r0, [fp, #-12]
bl push_back
ldr r3, [fp, #-12]
ldr r3, [r3]
str r3, [fp, #-32]
ldr r0, [fp, #-40]
bl vsego_under_node
mov r3, #0
str r3, [fp, #-28]
mov r3, #0
str r3, [fp, #-24]
mov r3, #1
str r3, [fp, #-20]
mov r3, #1
str r3, [fp, #-16]
.L97:
ldr r3, [fp, #-32]
ldmia r3, {r0-r1}
ldr r2, .L104
ldr r3, .L104+4
bl __aeabi_dcmpeq
mov r3, r0
cmp r3, #0
beq .L100
ldr r2, .L104
ldr r3, .L104+4
ldr r0, [fp, #-12]
bl push_back
ldr r2, .L104
ldr r3, .L104+4
ldr r0, [fp, #-12]
bl push_back
b .L87
.L100:
ldr r3, [fp, #-32]
ldmia r3, {r2-r3}
mov r0, r2
mov r1, r3
bl __aeabi_d2iz
mov r3, r0
mov r1, r3
ldr r0, [fp, #-40]
bl my_own_super_puper_find
str r0, [fp, #-8]
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
cmp r3, #0
beq .L88
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
ldr r3, [r3, #12]
mov r0, r3
bl __aeabi_i2d
mov r2, r0
mov r3, r1
ldr r0, [fp, #-12]
bl push_back
b .L89
.L88:
ldr r2, .L104
ldr r3, .L104+4
ldr r0, [fp, #-12]
bl push_back
.L89:
ldr r3, [fp, #-8]
ldr r3, [r3]
cmp r3, #0
beq .L90
ldr r3, [fp, #-8]
ldr r3, [r3]
ldr r3, [r3, #12]
mov r0, r3
bl __aeabi_i2d
mov r2, r0
mov r3, r1
ldr r0, [fp, #-12]
bl push_back
b .L87
.L90:
ldr r2, .L104
ldr r3, .L104+4
ldr r0, [fp, #-12]
bl push_back
.L87:
ldr r3, [fp, #-32]
ldmia r3, {r0-r1}
ldr r2, .L104
ldr r3, .L104+4
bl __aeabi_dcmpeq
mov r3, r0
cmp r3, #0
bne .L101
ldr r3, [fp, #-32]
ldmia r3, {r2-r3}
mov r0, r2
mov r1, r3
bl __aeabi_d2iz
mov r3, r0
mov r1, r3
ldr r0, .L104+8
bl printf
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
b .L93
.L101:
ldr r0, .L104+12
bl printf
.L93:
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
ldr r1, [fp, #-20]
mov r0, #2
bl r_u_serious
mov r3, r0
sub r3, r3, #1
ldr r2, [fp, #-24]
cmp r2, r3
bne .L94
mov r0, #10
bl putchar
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
mov r3, #0
str r3, [fp, #-16]
.L94:
ldr r3, [fp, #-32]
ldr r3, [r3, #8]
str r3, [fp, #-32]
ldr r3, [fp, #-16]
cmp r3, #0
bne .L97
ldr r3, .L104+16
ldr r3, [r3]
ldr r2, [fp, #-28]
cmp r2, r3
beq .L103
b .L97
.L103:
nop
ldr r3, .L104+16
mov r2, #0
str r2, [r3]
ldr r0, [fp, #-12]
bl list_clean
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L105:
.align 2
.L104:
.word 1562131145
.word 1071733669
.word .LC0
.word .LC1
.word nodes
.size my_own_super_puper_print, .-my_own_super_puper_print
.align 2
.global print
.syntax unified
.arm
.fpu softvfp
.type print, %function
print:
@ 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 my_own_super_puper_print
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size print, .-print
.section .rodata
.align 2
.LC2:
.ascii "-\000"
.text
.align 2
.global print_tree
.syntax unified
.arm
.fpu softvfp
.type print_tree, %function
print_tree:
@ 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]
ldr r3, [r3]
cmp r3, #0
bne .L108
ldr r0, .L111
bl puts
b .L110
.L108:
ldr r3, [fp, #-8]
ldr r3, [r3]
mov r0, r3
bl my_own_super_puper_print
.L110:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L112:
.align 2
.L111:
.word .LC2
.size print_tree, .-print_tree
.align 2
.global one_more_again
.syntax unified
.arm
.fpu softvfp
.type one_more_again, %function
one_more_again:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
str r1, [fp, #-20]
ldr r3, [fp, #-16]
ldr r3, [r3]
ldr r1, [fp, #-20]
mov r0, r3
bl my_own_super_puper_find
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
bne .L114
mov r0, #45
bl putchar
b .L113
.L114:
ldr r3, [fp, #-8]
ldr r3, [r3, #8]
cmp r3, #0
beq .L116
ldr r3, [fp, #-8]
ldr r3, [r3, #8]
ldr r3, [r3, #12]
mov r1, r3
ldr r0, .L121
bl printf
b .L117
.L116:
ldr r0, .L121+4
bl printf
.L117:
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
cmp r3, #0
beq .L118
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
ldr r3, [r3, #12]
mov r1, r3
ldr r0, .L121
bl printf
b .L119
.L118:
ldr r0, .L121+4
bl printf
.L119:
ldr r3, [fp, #-8]
ldr r3, [r3]
cmp r3, #0
beq .L120
ldr r3, [fp, #-8]
ldr r3, [r3]
ldr r3, [r3, #12]
mov r1, r3
ldr r0, .L121
bl printf
b .L113
.L120:
ldr r0, .L121+4
bl printf
.L113:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L122:
.align 2
.L121:
.word .LC0
.word .LC1
.size one_more_again, .-one_more_again
.section .rodata
.align 2
.LC3:
.ascii " %i\000"
.align 2
.LC4:
.ascii "\012\000"
.align 2
.LC5:
.ascii "%i\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 = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #32
ldr r3, .L134
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r0, #8
bl malloc
mov r3, r0
str r3, [fp, #-12]
ldr r0, [fp, #-12]
bl init
mov r3, #0
str r3, [fp, #-20]
mov r3, #0
str r3, [fp, #-36]
b .L124
.L125:
sub r3, fp, #36
mov r1, r3
ldr r0, .L134+4
bl __isoc99_scanf
ldr r3, [fp, #-36]
mov r1, r3
ldr r0, [fp, #-12]
bl insert
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L124:
ldr r3, [fp, #-20]
cmp r3, #3
ble .L125
ldr r0, [fp, #-12]
bl print_tree
mov r0, #10
bl putchar
mov r3, #0
str r3, [fp, #-20]
mov r3, #0
str r3, [fp, #-36]
b .L126
.L127:
sub r3, fp, #36
mov r1, r3
ldr r0, .L134+4
bl __isoc99_scanf
ldr r3, [fp, #-36]
mov r1, r3
ldr r0, [fp, #-12]
bl insert
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L126:
ldr r3, [fp, #-20]
cmp r3, #2
ble .L127
ldr r0, [fp, #-12]
bl print_tree
mov r0, #10
bl putchar
mov r3, #0
str r3, [fp, #-32]
sub r3, fp, #32
mov r1, r3
ldr r0, .L134+4
bl __isoc99_scanf
ldr r3, [fp, #-32]
mov r1, r3
ldr r0, [fp, #-12]
bl one_more_again
ldr r0, .L134+8
bl puts
mov r3, #0
str r3, [fp, #-28]
sub r3, fp, #28
mov r1, r3
ldr r0, .L134+4
bl __isoc99_scanf
ldr r3, [fp, #-28]
mov r1, r3
ldr r0, [fp, #-12]
bl one_more_again
ldr r0, .L134+8
bl puts
mov r3, #0
str r3, [fp, #-24]
sub r3, fp, #24
mov r1, r3
ldr r0, .L134+4
bl __isoc99_scanf
ldr r3, [fp, #-24]
mov r1, r3
ldr r0, [fp, #-12]
bl remove_node
ldr r0, [fp, #-12]
bl print_tree
mov r0, #10
bl putchar
mov r3, #0
str r3, [fp, #-16]
b .L128
.L129:
ldr r3, [fp, #-12]
ldr r3, [r3]
ldr r1, [fp, #-12]
mov r0, r3
bl rotate_left
str r0, [fp, #-16]
.L128:
ldr r3, [fp, #-16]
cmp r3, #1
bne .L129
ldr r0, [fp, #-12]
bl print_tree
mov r0, #10
bl putchar
mov r3, #0
str r3, [fp, #-16]
b .L130
.L131:
ldr r3, [fp, #-12]
ldr r3, [r3]
ldr r1, [fp, #-12]
mov r0, r3
bl rotate_right
str r0, [fp, #-16]
.L130:
ldr r3, [fp, #-16]
cmp r3, #1
bne .L131
ldr r0, [fp, #-12]
bl print_tree
mov r0, #10
bl putchar
ldr r3, [fp, #-12]
ldr r3, [r3]
mov r0, r3
bl vsego_under_node
ldr r3, .L134+12
ldr r3, [r3]
mov r1, r3
ldr r0, .L134+16
bl printf
ldr r3, .L134+12
mov r2, #0
str r2, [r3]
ldr r0, .L134+8
bl puts
ldr r0, [fp, #-12]
bl clean
ldr r0, [fp, #-12]
bl print_tree
mov r0, #10
bl putchar
mov r3, #0
ldr r2, .L134
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L133
bl __stack_chk_fail
.L133:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L135:
.align 2
.L134:
.word .LC6
.word .LC3
.word .LC4
.word nodes
.word .LC5
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "876988.c"
.intel_syntax noprefix
.text
.globl foo
.type foo, @function
foo:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size foo, .-foo
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "876988.c"
.text
.align 2
.global foo
.syntax unified
.arm
.fpu softvfp
.type foo, %function
foo:
@ 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 foo, .-foo
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "163954.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "Fahrenheit-Celsius table"
.LC3:
.string "%3.0f %6.1f\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 DWORD PTR -16[rbp], 0
mov DWORD PTR -12[rbp], 300
mov DWORD PTR -8[rbp], 20
pxor xmm0, xmm0
cvtsi2ss xmm0, DWORD PTR -16[rbp]
movss DWORD PTR -20[rbp], xmm0
lea rdi, .LC0[rip]
call puts@PLT
jmp .L2
.L3:
pxor xmm0, xmm0
cvtss2sd xmm0, DWORD PTR -20[rbp]
movsd xmm2, QWORD PTR .LC1[rip]
movapd xmm1, xmm0
subsd xmm1, xmm2
movsd xmm0, QWORD PTR .LC2[rip]
mulsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss DWORD PTR -4[rbp], xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, DWORD PTR -4[rbp]
pxor xmm3, xmm3
cvtss2sd xmm3, DWORD PTR -20[rbp]
movq rax, xmm3
movapd xmm1, xmm0
movq xmm0, rax
lea rdi, .LC3[rip]
mov eax, 2
call printf@PLT
pxor xmm0, xmm0
cvtsi2ss xmm0, DWORD PTR -8[rbp]
movss xmm1, DWORD PTR -20[rbp]
addss xmm0, xmm1
movss DWORD PTR -20[rbp], xmm0
.L2:
pxor xmm0, xmm0
cvtsi2ss xmm0, DWORD PTR -12[rbp]
comiss xmm0, DWORD PTR -20[rbp]
jnb .L3
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.align 8
.LC1:
.long 0
.long 1077936128
.align 8
.LC2:
.long 1908874354
.long 1071761180
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "163954.c"
.text
.global __aeabi_i2f
.section .rodata
.align 2
.LC0:
.ascii "Fahrenheit-Celsius table\000"
.global __aeabi_f2d
.global __aeabi_dsub
.global __aeabi_dmul
.global __aeabi_d2f
.align 2
.LC1:
.ascii "%3.0f %6.1f\012\000"
.global __aeabi_fadd
.global __aeabi_fcmple
.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, r5, fp, lr}
add fp, sp, #12
sub sp, sp, #32
mov r3, #0
str r3, [fp, #-28]
mov r3, #300
str r3, [fp, #-24]
mov r3, #20
str r3, [fp, #-20]
ldr r0, [fp, #-28]
bl __aeabi_i2f
mov r3, r0
str r3, [fp, #-32] @ float
ldr r0, .L5
bl puts
b .L2
.L3:
ldr r0, [fp, #-32] @ float
bl __aeabi_f2d
mov r2, #0
ldr r3, .L5+4
bl __aeabi_dsub
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
ldr r2, .L5+8
ldr r3, .L5+12
bl __aeabi_dmul
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, #-32] @ float
bl __aeabi_f2d
mov r4, r0
mov r5, r1
ldr r0, [fp, #-16] @ float
bl __aeabi_f2d
mov r2, r0
mov r3, r1
stm sp, {r2-r3}
mov r2, r4
mov r3, r5
ldr r0, .L5+16
bl printf
ldr r0, [fp, #-20]
bl __aeabi_i2f
mov r3, r0
mov r1, r3
ldr r0, [fp, #-32] @ float
bl __aeabi_fadd
mov r3, r0
str r3, [fp, #-32] @ float
.L2:
ldr r0, [fp, #-24]
bl __aeabi_i2f
mov r3, r0
mov r1, r3
ldr r0, [fp, #-32] @ float
bl __aeabi_fcmple
mov r3, r0
cmp r3, #0
bne .L3
mov r3, #0
mov r0, r3
sub sp, fp, #12
@ sp needed
pop {r4, r5, fp, pc}
.L6:
.align 2
.L5:
.word .LC0
.word 1077936128
.word 1908874354
.word 1071761180
.word .LC1
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "265677.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%d"
.text
.globl main
.type main, @function
main:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 2048
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rax, -2016[rbp]
mov QWORD PTR -2032[rbp], rax
lea rax, -2016[rbp]
mov QWORD PTR -2024[rbp], rax
lea rax, -2040[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov DWORD PTR -2036[rbp], 0
jmp .L2
.L3:
lea rdx, -2016[rbp]
mov eax, DWORD PTR -2036[rbp]
cdqe
sal rax, 2
add rax, rdx
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
add DWORD PTR -2036[rbp], 1
.L2:
mov eax, DWORD PTR -2040[rbp]
cmp DWORD PTR -2036[rbp], eax
jl .L3
mov esi, DWORD PTR -2040[rbp]
mov rcx, QWORD PTR -2024[rbp]
mov rdx, QWORD PTR -2032[rbp]
lea rax, -2016[rbp]
mov rdi, rax
call minmax
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
.globl minmax
.type minmax, @function
minmax:
.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 -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov QWORD PTR -40[rbp], rdx
mov QWORD PTR -48[rbp], rcx
mov DWORD PTR -4[rbp], 0
jmp .L7
.L10:
mov rax, QWORD PTR -40[rbp]
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 rax, rdx
mov QWORD PTR -40[rbp], rax
.L8:
mov rax, QWORD PTR -48[rbp]
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
jge .L9
mov eax, DWORD PTR -4[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov QWORD PTR -48[rbp], rax
.L9:
add DWORD PTR -4[rbp], 1
.L7:
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -28[rbp]
jl .L10
mov rax, QWORD PTR -48[rbp]
mov edx, DWORD PTR [rax]
mov rax, QWORD PTR -40[rbp]
mov eax, DWORD PTR [rax]
add eax, edx
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size minmax, .-minmax
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "265677.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "%d\000"
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 2024
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #2016
sub sp, sp, #8
ldr r3, .L6
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r3, fp, #2000
sub r3, r3, #4
sub r3, r3, #4
str r3, [fp, #-2016]
sub r3, fp, #2000
sub r3, r3, #4
sub r3, r3, #4
str r3, [fp, #-2012]
sub r3, fp, #2016
sub r3, r3, #4
sub r3, r3, #4
mov r1, r3
ldr r0, .L6+4
bl __isoc99_scanf
mov r3, #0
str r3, [fp, #-2020]
b .L2
.L3:
sub r3, fp, #2000
sub r3, r3, #4
sub r3, r3, #4
ldr r2, [fp, #-2020]
lsl r2, r2, #2
add r3, r3, r2
mov r1, r3
ldr r0, .L6+4
bl __isoc99_scanf
ldr r3, [fp, #-2020]
add r3, r3, #1
str r3, [fp, #-2020]
.L2:
ldr r3, [fp, #-2024]
ldr r2, [fp, #-2020]
cmp r2, r3
blt .L3
ldr r1, [fp, #-2024]
sub r0, fp, #2000
sub r0, r0, #4
sub r0, r0, #4
ldr r3, [fp, #-2012]
ldr r2, [fp, #-2016]
bl minmax
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
.align 2
.global minmax
.syntax unified
.arm
.fpu softvfp
.type minmax, %function
minmax:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
str r0, [fp, #-16]
str r1, [fp, #-20]
str r2, [fp, #-24]
str r3, [fp, #-28]
mov r3, #0
str r3, [fp, #-8]
b .L9
.L12:
ldr r3, [fp, #-24]
ldr r2, [r3]
ldr r3, [fp, #-8]
lsl r3, r3, #2
ldr r1, [fp, #-16]
add r3, r1, r3
ldr r3, [r3]
cmp r2, r3
ble .L10
ldr r3, [fp, #-8]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
str r3, [fp, #-24]
.L10:
ldr r3, [fp, #-28]
ldr r2, [r3]
ldr r3, [fp, #-8]
lsl r3, r3, #2
ldr r1, [fp, #-16]
add r3, r1, r3
ldr r3, [r3]
cmp r2, r3
bge .L11
ldr r3, [fp, #-8]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
str r3, [fp, #-28]
.L11:
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L9:
ldr r2, [fp, #-8]
ldr r3, [fp, #-20]
cmp r2, r3
blt .L12
ldr r3, [fp, #-28]
ldr r2, [r3]
ldr r3, [fp, #-24]
ldr r3, [r3]
add r3, r2, r3
mov r1, r3
ldr r0, .L13
bl printf
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L14:
.align 2
.L13:
.word .LC0
.size minmax, .-minmax
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "827648.c"
.intel_syntax noprefix
.text
.globl B
.bss
.align 32
.type B, @object
.size B, 40
B:
.zero 40
.text
.globl foo
.type foo, @function
foo:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 64
mov DWORD PTR -52[rbp], edi
mov eax, esi
mov BYTE PTR -56[rbp], al
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
pxor xmm0, xmm0
cvtsi2sd xmm0, DWORD PTR -52[rbp]
movsd QWORD PTR -32[rbp], xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, DWORD PTR -52[rbp]
movsd QWORD PTR -24[rbp], xmm0
lea rax, -32[rbp]
add rax, 1
movzx edx, BYTE PTR -56[rbp]
mov BYTE PTR [rax], dl
mov DWORD PTR -36[rbp], 0
jmp .L2
.L3:
movsd xmm1, QWORD PTR -32[rbp]
movsd xmm0, QWORD PTR -24[rbp]
addsd xmm0, xmm1
cvttsd2si eax, xmm0
mov edx, DWORD PTR -36[rbp]
movsx rdx, edx
lea rcx, 0[0+rdx*4]
lea rdx, B[rip]
mov DWORD PTR [rcx+rdx], eax
add DWORD PTR -36[rbp], 1
.L2:
cmp DWORD PTR -36[rbp], 9
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 foo, .-foo
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "827648.c"
.text
.comm B,40,4
.global __aeabi_i2d
.global __aeabi_dadd
.global __aeabi_d2iz
.section .rodata
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global foo
.syntax unified
.arm
.fpu softvfp
.type foo, %function
foo:
@ 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]
mov r3, r1
strb r3, [fp, #-41]
ldr r3, .L5
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r0, [fp, #-40]
bl __aeabi_i2d
mov r2, r0
mov r3, r1
str r2, [fp, #-28]
str r3, [fp, #-24]
ldr r0, [fp, #-40]
bl __aeabi_i2d
mov r2, r0
mov r3, r1
str r2, [fp, #-20]
str r3, [fp, #-16]
sub r3, fp, #28
add r3, r3, #1
ldrb r2, [fp, #-41]
strb r2, [r3]
mov r3, #0
str r3, [fp, #-32]
b .L2
.L3:
sub r1, fp, #28
ldmia r1, {r0-r1}
sub r3, fp, #20
ldmia r3, {r2-r3}
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl __aeabi_d2iz
mov r2, r0
ldr r1, .L5+4
ldr r3, [fp, #-32]
str r2, [r1, r3, lsl #2]
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L2:
ldr r3, [fp, #-32]
cmp r3, #9
ble .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
.word B
.size foo, .-foo
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "654855.c"
.intel_syntax noprefix
.text
.globl __env
.bss
.align 8
.type __env, @object
.size __env, 8
__env:
.zero 8
.globl environ
.section .data.rel.local,"aw"
.align 8
.type environ, @object
.size environ, 8
environ:
.quad __env
.text
.globl initialise_monitor_handles
.type initialise_monitor_handles, @function
initialise_monitor_handles:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size initialise_monitor_handles, .-initialise_monitor_handles
.globl _getpid
.type _getpid, @function
_getpid:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, 1
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size _getpid, .-_getpid
.globl _kill
.type _kill, @function
_kill:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov DWORD PTR -4[rbp], edi
mov DWORD PTR -8[rbp], esi
call __errno_location@PLT
mov DWORD PTR [rax], 22
mov eax, -1
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size _kill, .-_kill
.weak _read
.type _read, @function
_read:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov DWORD PTR -20[rbp], edi
mov QWORD PTR -32[rbp], rsi
mov DWORD PTR -24[rbp], edx
mov DWORD PTR -4[rbp], 0
jmp .L7
.L8:
call __io_getchar@PLT
mov ecx, eax
mov rax, QWORD PTR -32[rbp]
lea rdx, 1[rax]
mov QWORD PTR -32[rbp], rdx
mov edx, ecx
mov BYTE PTR [rax], dl
add DWORD PTR -4[rbp], 1
.L7:
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -24[rbp]
jl .L8
mov eax, DWORD PTR -24[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size _read, .-_read
.weak _write
.type _write, @function
_write:
.LFB10:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov DWORD PTR -20[rbp], edi
mov QWORD PTR -32[rbp], rsi
mov DWORD PTR -24[rbp], edx
mov DWORD PTR -4[rbp], 0
jmp .L11
.L12:
mov rax, QWORD PTR -32[rbp]
lea rdx, 1[rax]
mov QWORD PTR -32[rbp], rdx
movzx eax, BYTE PTR [rax]
movsx eax, al
mov edi, eax
call __io_putchar@PLT
add DWORD PTR -4[rbp], 1
.L11:
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -24[rbp]
jl .L12
mov eax, DWORD PTR -24[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size _write, .-_write
.globl _close
.type _close, @function
_close:
.LFB11:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -4[rbp], edi
mov eax, -1
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size _close, .-_close
.globl _fstat
.type _fstat, @function
_fstat:
.LFB12:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -4[rbp], edi
mov QWORD PTR -16[rbp], rsi
mov rax, QWORD PTR -16[rbp]
mov DWORD PTR 24[rax], 8192
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE12:
.size _fstat, .-_fstat
.globl _isatty
.type _isatty, @function
_isatty:
.LFB13:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -4[rbp], edi
mov eax, 1
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE13:
.size _isatty, .-_isatty
.globl _lseek
.type _lseek, @function
_lseek:
.LFB14:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -4[rbp], edi
mov DWORD PTR -8[rbp], esi
mov DWORD PTR -12[rbp], edx
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE14:
.size _lseek, .-_lseek
.globl _open
.type _open, @function
_open:
.LFB15:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 72
mov QWORD PTR -184[rbp], rdi
mov DWORD PTR -188[rbp], esi
mov QWORD PTR -160[rbp], rdx
mov QWORD PTR -152[rbp], rcx
mov QWORD PTR -144[rbp], r8
mov QWORD PTR -136[rbp], r9
test al, al
je .L25
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
.L25:
mov eax, -1
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE15:
.size _open, .-_open
.globl _wait
.type _wait, @function
_wait:
.LFB16:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
call __errno_location@PLT
mov DWORD PTR [rax], 10
mov eax, -1
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE16:
.size _wait, .-_wait
.globl _unlink
.type _unlink, @function
_unlink:
.LFB17:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
call __errno_location@PLT
mov DWORD PTR [rax], 2
mov eax, -1
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE17:
.size _unlink, .-_unlink
.globl _times
.type _times, @function
_times:
.LFB18:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov eax, -1
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE18:
.size _times, .-_times
.globl _stat
.type _stat, @function
_stat:
.LFB19:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
mov rax, QWORD PTR -16[rbp]
mov DWORD PTR 24[rax], 8192
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE19:
.size _stat, .-_stat
.globl _link
.type _link, @function
_link:
.LFB20:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
call __errno_location@PLT
mov DWORD PTR [rax], 31
mov eax, -1
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE20:
.size _link, .-_link
.globl _fork
.type _fork, @function
_fork:
.LFB21:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
call __errno_location@PLT
mov DWORD PTR [rax], 11
mov eax, -1
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE21:
.size _fork, .-_fork
.globl _execve
.type _execve, @function
_execve:
.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, 32
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
mov QWORD PTR -24[rbp], rdx
call __errno_location@PLT
mov DWORD PTR [rax], 12
mov eax, -1
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE22:
.size _execve, .-_execve
.weak __io_putchar
.weak __io_getchar
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "654855.c"
.text
.global __env
.bss
.align 2
.type __env, %object
.size __env, 4
__env:
.space 4
.global environ
.data
.align 2
.type environ, %object
.size environ, 4
environ:
.word __env
.text
.align 2
.global initialise_monitor_handles
.syntax unified
.arm
.fpu softvfp
.type initialise_monitor_handles, %function
initialise_monitor_handles:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size initialise_monitor_handles, .-initialise_monitor_handles
.align 2
.global _getpid
.syntax unified
.arm
.fpu softvfp
.type _getpid, %function
_getpid:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
mov r3, #1
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size _getpid, .-_getpid
.align 2
.global _kill
.syntax unified
.arm
.fpu softvfp
.type _kill, %function
_kill:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
str r1, [fp, #-12]
bl __errno_location
mov r3, r0
mov r2, #22
str r2, [r3]
mvn r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size _kill, .-_kill
.align 2
.weak _read
.syntax unified
.arm
.fpu softvfp
.type _read, %function
_read:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
str r0, [fp, #-16]
str r1, [fp, #-20]
str r2, [fp, #-24]
mov r3, #0
str r3, [fp, #-8]
b .L7
.L8:
bl __io_getchar
mov r1, r0
ldr r3, [fp, #-20]
add r2, r3, #1
str r2, [fp, #-20]
and r2, r1, #255
strb r2, [r3]
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L7:
ldr r2, [fp, #-8]
ldr r3, [fp, #-24]
cmp r2, r3
blt .L8
ldr r3, [fp, #-24]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size _read, .-_read
.align 2
.weak _write
.syntax unified
.arm
.fpu softvfp
.type _write, %function
_write:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
str r0, [fp, #-16]
str r1, [fp, #-20]
str r2, [fp, #-24]
mov r3, #0
str r3, [fp, #-8]
b .L11
.L12:
ldr r3, [fp, #-20]
add r2, r3, #1
str r2, [fp, #-20]
ldrb r3, [r3] @ zero_extendqisi2
mov r0, r3
bl __io_putchar
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L11:
ldr r2, [fp, #-8]
ldr r3, [fp, #-24]
cmp r2, r3
blt .L12
ldr r3, [fp, #-24]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size _write, .-_write
.align 2
.global _close
.syntax unified
.arm
.fpu softvfp
.type _close, %function
_close:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
mvn r3, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size _close, .-_close
.align 2
.global _fstat
.syntax unified
.arm
.fpu softvfp
.type _fstat, %function
_fstat:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, [fp, #-12]
mov r2, #8192
str r2, [r3, #16]
mov r3, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size _fstat, .-_fstat
.align 2
.global _isatty
.syntax unified
.arm
.fpu softvfp
.type _isatty, %function
_isatty:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
mov r3, #1
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size _isatty, .-_isatty
.align 2
.global _lseek
.syntax unified
.arm
.fpu softvfp
.type _lseek, %function
_lseek:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #20
str r0, [fp, #-8]
str r1, [fp, #-12]
str r2, [fp, #-16]
mov r3, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size _lseek, .-_lseek
.align 2
.global _open
.syntax unified
.arm
.fpu softvfp
.type _open, %function
_open:
@ args = 4, pretend = 12, frame = 8
@ frame_needed = 1, uses_anonymous_args = 1
@ link register save eliminated.
push {r1, r2, r3}
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #8
str r0, [fp, #-4]
mvn r3, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
add sp, sp, #12
bx lr
.size _open, .-_open
.align 2
.global _wait
.syntax unified
.arm
.fpu softvfp
.type _wait, %function
_wait:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
bl __errno_location
mov r3, r0
mov r2, #10
str r2, [r3]
mvn r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size _wait, .-_wait
.align 2
.global _unlink
.syntax unified
.arm
.fpu softvfp
.type _unlink, %function
_unlink:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
bl __errno_location
mov r3, r0
mov r2, #2
str r2, [r3]
mvn r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size _unlink, .-_unlink
.align 2
.global _times
.syntax unified
.arm
.fpu softvfp
.type _times, %function
_times:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
mvn r3, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size _times, .-_times
.align 2
.global _stat
.syntax unified
.arm
.fpu softvfp
.type _stat, %function
_stat:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, [fp, #-12]
mov r2, #8192
str r2, [r3, #16]
mov r3, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size _stat, .-_stat
.align 2
.global _link
.syntax unified
.arm
.fpu softvfp
.type _link, %function
_link:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
str r1, [fp, #-12]
bl __errno_location
mov r3, r0
mov r2, #31
str r2, [r3]
mvn r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size _link, .-_link
.align 2
.global _fork
.syntax unified
.arm
.fpu softvfp
.type _fork, %function
_fork:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
bl __errno_location
mov r3, r0
mov r2, #11
str r2, [r3]
mvn r3, #0
mov r0, r3
pop {fp, pc}
.size _fork, .-_fork
.align 2
.global _execve
.syntax unified
.arm
.fpu softvfp
.type _execve, %function
_execve:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-8]
str r1, [fp, #-12]
str r2, [fp, #-16]
bl __errno_location
mov r3, r0
mov r2, #12
str r2, [r3]
mvn r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size _execve, .-_execve
.weak __io_putchar
.weak __io_getchar
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "393208.c"
.intel_syntax noprefix
.text
.globl find
.type find, @function
find:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov DWORD PTR -32[rbp], edx
mov DWORD PTR -36[rbp], ecx
mov DWORD PTR -12[rbp], 0
mov eax, DWORD PTR -32[rbp]
sub eax, 1
mov DWORD PTR -8[rbp], eax
jmp .L2
.L7:
mov eax, DWORD PTR -12[rbp]
imul eax, eax, 1001
movsx rdx, eax
mov eax, DWORD PTR -8[rbp]
cdqe
add rax, rdx
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -36[rbp]
jle .L3
sub DWORD PTR -8[rbp], 1
jmp .L2
.L3:
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -36[rbp]
jge .L4
add DWORD PTR -12[rbp], 1
jmp .L2
.L4:
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -36[rbp]
jne .L2
mov eax, 1
jmp .L5
.L2:
mov eax, DWORD PTR -12[rbp]
cmp eax, DWORD PTR -28[rbp]
jge .L6
cmp DWORD PTR -8[rbp], 0
jns .L7
.L6:
mov eax, 0
.L5:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size find, .-find
.section .rodata
.LC0:
.string "%d"
.LC1:
.string "Yes"
.LC2:
.string "No"
.LC3:
.string "%d %d %d"
.text
.globl main
.type main, @function
main:
.LFB1:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
lea r11, -4005888[rsp]
.LPSRL0:
sub rsp, 4096
or DWORD PTR [rsp], 0
cmp rsp, r11
jne .LPSRL0
sub rsp, 2160
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
jmp .L9
.L15:
mov DWORD PTR -4008024[rbp], 0
jmp .L10
.L13:
mov DWORD PTR -4008020[rbp], 0
jmp .L11
.L12:
lea rdx, -4008016[rbp]
mov eax, DWORD PTR -4008020[rbp]
movsx rcx, eax
mov eax, DWORD PTR -4008024[rbp]
cdqe
imul rax, rax, 1001
add rax, rcx
sal rax, 2
add rax, rdx
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
add DWORD PTR -4008020[rbp], 1
.L11:
mov eax, DWORD PTR -4008032[rbp]
cmp DWORD PTR -4008020[rbp], eax
jl .L12
add DWORD PTR -4008024[rbp], 1
.L10:
mov eax, DWORD PTR -4008036[rbp]
cmp DWORD PTR -4008024[rbp], eax
jl .L13
mov ecx, DWORD PTR -4008028[rbp]
mov edx, DWORD PTR -4008032[rbp]
mov esi, DWORD PTR -4008036[rbp]
lea rax, -4008016[rbp]
mov rdi, rax
call find
test eax, eax
je .L14
lea rdi, .LC1[rip]
call puts@PLT
jmp .L9
.L14:
lea rdi, .LC2[rip]
call puts@PLT
.L9:
lea rcx, -4008028[rbp]
lea rdx, -4008032[rbp]
lea rax, -4008036[rbp]
mov rsi, rax
lea rdi, .LC3[rip]
mov eax, 0
call __isoc99_scanf@PLT
cmp eax, -1
jne .L15
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
.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 "393208.c"
.text
.align 2
.global find
.syntax unified
.arm
.fpu softvfp
.type find, %function
find:
@ 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, #-24]
str r1, [fp, #-28]
str r2, [fp, #-32]
str r3, [fp, #-36]
mov r3, #0
str r3, [fp, #-16]
ldr r3, [fp, #-32]
sub r3, r3, #1
str r3, [fp, #-12]
b .L2
.L7:
ldr r2, [fp, #-16]
mov r3, r2
lsl r3, r3, #3
add r3, r3, r2
lsl r3, r3, #4
sub r3, r3, r2
lsl r2, r3, #3
sub r2, r2, r3
ldr r3, [fp, #-12]
add r3, r2, r3
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r3, r2, r3
ldr r3, [r3]
str r3, [fp, #-8]
ldr r2, [fp, #-8]
ldr r3, [fp, #-36]
cmp r2, r3
ble .L3
ldr r3, [fp, #-12]
sub r3, r3, #1
str r3, [fp, #-12]
b .L2
.L3:
ldr r2, [fp, #-8]
ldr r3, [fp, #-36]
cmp r2, r3
bge .L4
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
b .L2
.L4:
ldr r2, [fp, #-8]
ldr r3, [fp, #-36]
cmp r2, r3
bne .L2
mov r3, #1
b .L5
.L2:
ldr r2, [fp, #-16]
ldr r3, [fp, #-28]
cmp r2, r3
bge .L6
ldr r3, [fp, #-12]
cmp r3, #0
bge .L7
.L6:
mov r3, #0
.L5:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size find, .-find
.section .rodata
.align 2
.LC0:
.ascii "%d\000"
.align 2
.LC1:
.ascii "Yes\000"
.align 2
.LC2:
.ascii "No\000"
.align 2
.LC3:
.ascii "%d %d %d\000"
.align 2
.LC4:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 4008032
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #3997696
sub sp, sp, #10304
sub sp, sp, #32
ldr r3, .L18
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
b .L9
.L15:
sub r3, fp, #3997696
sub r3, r3, #4
sub r3, r3, #8192
mov r2, r3
mov r3, #0
str r3, [r2, #-2128]
b .L10
.L13:
sub r3, fp, #3997696
sub r3, r3, #4
sub r3, r3, #8192
mov r2, r3
mov r3, #0
str r3, [r2, #-2124]
b .L11
.L12:
ldr r1, .L18+4
sub r3, fp, #4
add r1, r3, r1
sub r3, fp, #3997696
sub r3, r3, #4
sub r3, r3, #8192
ldr r2, [r3, #-2128]
mov r3, r2
lsl r3, r3, #3
add r3, r3, r2
lsl r3, r3, #4
sub r3, r3, r2
lsl r2, r3, #3
sub r2, r2, r3
sub r3, fp, #3997696
sub r3, r3, #4
sub r3, r3, #8192
ldr r3, [r3, #-2124]
add r3, r2, r3
lsl r3, r3, #2
add r3, r1, r3
mov r1, r3
ldr r0, .L18+8
bl __isoc99_scanf
sub r3, fp, #3997696
sub r3, r3, #4
sub r3, r3, #8192
mov r2, r3
sub r3, fp, #3997696
sub r3, r3, #4
sub r3, r3, #8192
ldr r3, [r3, #-2124]
add r3, r3, #1
str r3, [r2, #-2124]
.L11:
sub r3, fp, #3997696
sub r3, r3, #4
sub r3, r3, #8192
ldr r2, [r3, #-2136]
sub r3, fp, #3997696
sub r3, r3, #4
sub r3, r3, #8192
ldr r3, [r3, #-2124]
cmp r3, r2
blt .L12
sub r3, fp, #3997696
sub r3, r3, #4
sub r3, r3, #8192
mov r2, r3
sub r3, fp, #3997696
sub r3, r3, #4
sub r3, r3, #8192
ldr r3, [r3, #-2128]
add r3, r3, #1
str r3, [r2, #-2128]
.L10:
sub r3, fp, #3997696
sub r3, r3, #4
sub r3, r3, #8192
ldr r2, [r3, #-2140]
sub r3, fp, #3997696
sub r3, r3, #4
sub r3, r3, #8192
ldr r3, [r3, #-2128]
cmp r3, r2
blt .L13
sub r3, fp, #3997696
sub r3, r3, #4
sub r3, r3, #8192
ldr r1, [r3, #-2140]
sub r3, fp, #3997696
sub r3, r3, #4
sub r3, r3, #8192
ldr r2, [r3, #-2136]
sub r3, fp, #3997696
sub r3, r3, #4
sub r3, r3, #8192
ldr r3, [r3, #-2132]
ldr r0, .L18+4
sub ip, fp, #4
add r0, ip, r0
bl find
mov r3, r0
cmp r3, #0
beq .L14
ldr r0, .L18+12
bl puts
b .L9
.L14:
ldr r0, .L18+16
bl puts
.L9:
ldr r3, .L18+20
sub r2, fp, #4
add r3, r2, r3
ldr r2, .L18+24
sub r1, fp, #4
add r2, r1, r2
ldr r1, .L18+28
sub r0, fp, #4
add r1, r0, r1
ldr r0, .L18+32
bl __isoc99_scanf
mov r3, r0
cmn r3, #1
bne .L15
mov r3, #0
ldr r2, .L18
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L17
bl __stack_chk_fail
.L17:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L19:
.align 2
.L18:
.word .LC4
.word -4008008
.word .LC0
.word .LC1
.word .LC2
.word -4008020
.word -4008024
.word -4008028
.word .LC3
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "712524.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%d\n"
.text
.globl main
.type main, @function
main:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4032
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -4028[rbp], 0
jmp .L2
.L4:
add DWORD PTR -4028[rbp], 1
.L2:
cmp DWORD PTR -4028[rbp], 999
jg .L3
lea rdx, -4016[rbp]
mov eax, DWORD PTR -4028[rbp]
cdqe
sal rax, 2
add rax, rdx
mov rdi, rax
call getint
mov DWORD PTR -4020[rbp], eax
cmp DWORD PTR -4020[rbp], -1
je .L3
cmp DWORD PTR -4020[rbp], 0
jne .L4
.L3:
mov DWORD PTR -4024[rbp], 0
jmp .L5
.L6:
mov eax, DWORD PTR -4024[rbp]
cdqe
mov eax, DWORD PTR -4016[rbp+rax*4]
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -4024[rbp], 1
.L5:
mov eax, DWORD PTR -4024[rbp]
cmp eax, DWORD PTR -4028[rbp]
jl .L6
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L8
call __stack_chk_fail@PLT
.L8:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.globl getint
.type getint, @function
getint:
.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 QWORD PTR -40[rbp], rdi
nop
.L10:
call __ctype_b_loc@PLT
mov rbx, QWORD PTR [rax]
call getch
mov DWORD PTR -28[rbp], eax
mov eax, DWORD PTR -28[rbp]
cdqe
add rax, rax
add rax, rbx
movzx eax, WORD PTR [rax]
movzx eax, ax
and eax, 8192
test eax, eax
jne .L10
call __ctype_b_loc@PLT
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -28[rbp]
cdqe
add rax, rax
add rax, rdx
movzx eax, WORD PTR [rax]
movzx eax, ax
and eax, 2048
test eax, eax
jne .L11
cmp DWORD PTR -28[rbp], -1
je .L11
cmp DWORD PTR -28[rbp], 43
je .L11
cmp DWORD PTR -28[rbp], 45
je .L11
mov eax, DWORD PTR -28[rbp]
mov edi, eax
call ungetch
mov eax, 0
jmp .L12
.L11:
cmp DWORD PTR -28[rbp], 45
jne .L13
mov eax, -1
jmp .L14
.L13:
mov eax, 1
.L14:
mov DWORD PTR -24[rbp], eax
cmp DWORD PTR -28[rbp], 43
je .L15
cmp DWORD PTR -28[rbp], 45
jne .L16
.L15:
call __ctype_b_loc@PLT
mov rbx, QWORD PTR [rax]
call getch
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -20[rbp]
cdqe
add rax, rax
add rax, rbx
movzx eax, WORD PTR [rax]
movzx eax, ax
and eax, 2048
test eax, eax
jne .L17
cmp DWORD PTR -20[rbp], -1
jne .L18
mov eax, DWORD PTR -28[rbp]
mov edi, eax
call ungetch
mov eax, DWORD PTR -20[rbp]
jmp .L12
.L18:
mov eax, DWORD PTR -20[rbp]
mov edi, eax
call ungetch
mov eax, DWORD PTR -28[rbp]
mov edi, eax
call ungetch
mov eax, 0
jmp .L12
.L17:
mov eax, DWORD PTR -20[rbp]
mov DWORD PTR -28[rbp], eax
.L16:
mov rax, QWORD PTR -40[rbp]
mov DWORD PTR [rax], 0
jmp .L19
.L20:
mov rax, QWORD PTR -40[rbp]
mov edx, DWORD PTR [rax]
mov eax, edx
sal eax, 2
add eax, edx
add eax, eax
mov edx, eax
mov eax, DWORD PTR -28[rbp]
sub eax, 48
add edx, eax
mov rax, QWORD PTR -40[rbp]
mov DWORD PTR [rax], edx
call getch
mov DWORD PTR -28[rbp], eax
.L19:
call __ctype_b_loc@PLT
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -28[rbp]
cdqe
add rax, rax
add rax, rdx
movzx eax, WORD PTR [rax]
movzx eax, ax
and eax, 2048
test eax, eax
jne .L20
mov rax, QWORD PTR -40[rbp]
mov eax, DWORD PTR [rax]
imul eax, DWORD PTR -24[rbp]
mov edx, eax
mov rax, QWORD PTR -40[rbp]
mov DWORD PTR [rax], edx
cmp DWORD PTR -28[rbp], -1
je .L21
mov eax, DWORD PTR -28[rbp]
mov edi, eax
call ungetch
.L21:
mov eax, DWORD PTR -28[rbp]
.L12:
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size getint, .-getint
.globl buf
.bss
.align 32
.type buf, @object
.size buf, 100
buf:
.zero 100
.globl bufp
.align 4
.type bufp, @object
.size bufp, 4
bufp:
.zero 4
.text
.globl getch
.type getch, @function
getch:
.LFB2:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, DWORD PTR bufp[rip]
test eax, eax
jle .L23
mov eax, DWORD PTR bufp[rip]
sub eax, 1
mov DWORD PTR bufp[rip], eax
mov eax, DWORD PTR bufp[rip]
cdqe
lea rdx, buf[rip]
movzx eax, BYTE PTR [rax+rdx]
movsx eax, al
jmp .L25
.L23:
call getchar@PLT
.L25:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE2:
.size getch, .-getch
.section .rodata
.LC1:
.string "ungetch: too many characters"
.text
.globl ungetch
.type ungetch, @function
ungetch:
.LFB3:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov DWORD PTR -4[rbp], edi
mov eax, DWORD PTR bufp[rip]
cmp eax, 99
jle .L27
lea rdi, .LC1[rip]
call puts@PLT
jmp .L29
.L27:
mov eax, DWORD PTR bufp[rip]
lea edx, 1[rax]
mov DWORD PTR bufp[rip], edx
mov edx, DWORD PTR -4[rbp]
mov ecx, edx
cdqe
lea rdx, buf[rip]
mov BYTE PTR [rax+rdx], cl
.L29:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE3:
.size ungetch, .-ungetch
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "712524.c"
.text
.section .rodata
.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 = 4016
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #4016
ldr r3, .L9
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-4020]
b .L2
.L4:
ldr r3, [fp, #-4020]
add r3, r3, #1
str r3, [fp, #-4020]
.L2:
ldr r3, [fp, #-4020]
cmp r3, #1000
bge .L3
sub r3, fp, #4000
sub r3, r3, #4
sub r3, r3, #4
ldr r2, [fp, #-4020]
lsl r2, r2, #2
add r3, r3, r2
mov r0, r3
bl getint
str r0, [fp, #-4012]
ldr r3, [fp, #-4012]
cmn r3, #1
beq .L3
ldr r3, [fp, #-4012]
cmp r3, #0
bne .L4
.L3:
mov r3, #0
str r3, [fp, #-4016]
b .L5
.L6:
ldr r3, [fp, #-4016]
lsl r3, r3, #2
sub r2, fp, #4
add r3, r2, r3
ldr r3, [r3, #-4004]
mov r1, r3
ldr r0, .L9+4
bl printf
ldr r3, [fp, #-4016]
add r3, r3, #1
str r3, [fp, #-4016]
.L5:
ldr r2, [fp, #-4016]
ldr r3, [fp, #-4020]
cmp r2, r3
blt .L6
mov r3, #0
ldr r2, .L9
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L8
bl __stack_chk_fail
.L8:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L10:
.align 2
.L9:
.word .LC1
.word .LC0
.size main, .-main
.align 2
.global getint
.syntax unified
.arm
.fpu softvfp
.type getint, %function
getint:
@ 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, #-32]
nop
.L12:
bl __ctype_b_loc
mov r3, r0
ldr r4, [r3]
bl getch
str r0, [fp, #-24]
ldr r3, [fp, #-24]
lsl r3, r3, #1
add r3, r4, r3
ldrh r3, [r3]
and r3, r3, #8192
cmp r3, #0
bne .L12
bl __ctype_b_loc
mov r3, r0
ldr r2, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #1
add r3, r2, r3
ldrh r3, [r3]
and r3, r3, #2048
cmp r3, #0
bne .L13
ldr r3, [fp, #-24]
cmn r3, #1
beq .L13
ldr r3, [fp, #-24]
cmp r3, #43
beq .L13
ldr r3, [fp, #-24]
cmp r3, #45
beq .L13
ldr r0, [fp, #-24]
bl ungetch
mov r3, #0
b .L14
.L13:
ldr r3, [fp, #-24]
cmp r3, #45
bne .L15
mvn r3, #0
b .L16
.L15:
mov r3, #1
.L16:
str r3, [fp, #-20]
ldr r3, [fp, #-24]
cmp r3, #43
beq .L17
ldr r3, [fp, #-24]
cmp r3, #45
bne .L18
.L17:
bl __ctype_b_loc
mov r3, r0
ldr r4, [r3]
bl getch
str r0, [fp, #-16]
ldr r3, [fp, #-16]
lsl r3, r3, #1
add r3, r4, r3
ldrh r3, [r3]
and r3, r3, #2048
cmp r3, #0
bne .L19
ldr r3, [fp, #-16]
cmn r3, #1
bne .L20
ldr r0, [fp, #-24]
bl ungetch
ldr r3, [fp, #-16]
b .L14
.L20:
ldr r0, [fp, #-16]
bl ungetch
ldr r0, [fp, #-24]
bl ungetch
mov r3, #0
b .L14
.L19:
ldr r3, [fp, #-16]
str r3, [fp, #-24]
.L18:
ldr r3, [fp, #-32]
mov r2, #0
str r2, [r3]
b .L21
.L22:
ldr r3, [fp, #-32]
ldr r2, [r3]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
mov r2, r3
ldr r3, [fp, #-24]
sub r3, r3, #48
add r2, r2, r3
ldr r3, [fp, #-32]
str r2, [r3]
bl getch
str r0, [fp, #-24]
.L21:
bl __ctype_b_loc
mov r3, r0
ldr r2, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #1
add r3, r2, r3
ldrh r3, [r3]
and r3, r3, #2048
cmp r3, #0
bne .L22
ldr r3, [fp, #-32]
ldr r3, [r3]
ldr r2, [fp, #-20]
mul r2, r3, r2
ldr r3, [fp, #-32]
str r2, [r3]
ldr r3, [fp, #-24]
cmn r3, #1
beq .L23
ldr r0, [fp, #-24]
bl ungetch
.L23:
ldr r3, [fp, #-24]
.L14:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.size getint, .-getint
.comm buf,100,4
.global bufp
.bss
.align 2
.type bufp, %object
.size bufp, 4
bufp:
.space 4
.text
.align 2
.global getch
.syntax unified
.arm
.fpu softvfp
.type getch, %function
getch:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
ldr r3, .L28
ldr r3, [r3]
cmp r3, #0
ble .L25
ldr r3, .L28
ldr r3, [r3]
sub r3, r3, #1
ldr r2, .L28
str r3, [r2]
ldr r3, .L28
ldr r3, [r3]
ldr r2, .L28+4
ldrb r3, [r2, r3] @ zero_extendqisi2
b .L27
.L25:
bl getchar
mov r3, r0
.L27:
mov r0, r3
pop {fp, pc}
.L29:
.align 2
.L28:
.word bufp
.word buf
.size getch, .-getch
.section .rodata
.align 2
.LC2:
.ascii "ungetch: too many characters\000"
.text
.align 2
.global ungetch
.syntax unified
.arm
.fpu softvfp
.type ungetch, %function
ungetch:
@ 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, .L34
ldr r3, [r3]
cmp r3, #99
ble .L31
ldr r0, .L34+4
bl puts
b .L33
.L31:
ldr r3, .L34
ldr r3, [r3]
add r2, r3, #1
ldr r1, .L34
str r2, [r1]
ldr r2, [fp, #-8]
and r1, r2, #255
ldr r2, .L34+8
strb r1, [r2, r3]
.L33:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L35:
.align 2
.L34:
.word bufp
.word .LC2
.word buf
.size ungetch, .-ungetch
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "735262.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%d %d"
.LC1:
.string "%d"
.text
.globl main
.type main, @function
main:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rdx, -12[rbp]
lea rax, -16[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov edx, DWORD PTR -16[rbp]
mov eax, DWORD PTR -12[rbp]
add eax, edx
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .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 "735262.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "%d %d\000"
.align 2
.LC1:
.ascii "%d\000"
.align 2
.LC2:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
ldr r3, .L4
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r2, fp, #12
sub r3, fp, #16
mov r1, r3
ldr r0, .L4+4
bl __isoc99_scanf
ldr r2, [fp, #-16]
ldr r3, [fp, #-12]
add r3, r2, r3
mov r1, r3
ldr r0, .L4+8
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 .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 "320496.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "Digite a base do retangulo: "
.LC1:
.string "%lf"
.align 8
.LC2:
.string "Digite a altura do retangulo: "
.LC4:
.string "Area = %.4lf\n"
.LC5:
.string "Perimetro = %.4lf\n"
.LC6:
.string "Diagonal = %.4lf\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
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
lea rax, -48[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, -40[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
movsd xmm1, QWORD PTR -48[rbp]
movsd xmm0, QWORD PTR -40[rbp]
mulsd xmm0, xmm1
movsd QWORD PTR -32[rbp], xmm0
movsd xmm1, QWORD PTR -48[rbp]
movsd xmm0, QWORD PTR -40[rbp]
addsd xmm0, xmm1
addsd xmm0, xmm0
movsd QWORD PTR -24[rbp], xmm0
mov rax, QWORD PTR -48[rbp]
movsd xmm0, QWORD PTR .LC3[rip]
movapd xmm1, xmm0
movq xmm0, rax
call pow@PLT
movsd QWORD PTR -56[rbp], xmm0
mov rax, QWORD PTR -40[rbp]
movsd xmm0, QWORD PTR .LC3[rip]
movapd xmm1, xmm0
movq xmm0, rax
call pow@PLT
movapd xmm2, xmm0
addsd xmm2, QWORD PTR -56[rbp]
movq rax, xmm2
movq xmm0, rax
call sqrt@PLT
movq rax, xmm0
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -32[rbp]
movq xmm0, rax
lea rdi, .LC4[rip]
mov eax, 1
call printf@PLT
mov rax, QWORD PTR -24[rbp]
movq xmm0, rax
lea rdi, .LC5[rip]
mov eax, 1
call printf@PLT
mov rax, QWORD PTR -16[rbp]
movq xmm0, rax
lea rdi, .LC6[rip]
mov eax, 1
call printf@PLT
mov eax, 0
mov rdx, QWORD PTR -8[rbp]
sub rdx, QWORD PTR fs:40
je .L3
call __stack_chk_fail@PLT
.L3:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.align 8
.LC3:
.long 0
.long 1073741824
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "320496.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "Digite a base do retangulo: \000"
.align 2
.LC1:
.ascii "%lf\000"
.align 2
.LC2:
.ascii "Digite a altura do retangulo: \000"
.global __aeabi_dmul
.global __aeabi_dadd
.align 2
.LC3:
.ascii "Area = %.4lf\012\000"
.align 2
.LC4:
.ascii "Perimetro = %.4lf\012\000"
.align 2
.LC5:
.ascii "Diagonal = %.4lf\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 = 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
sub r3, fp, #60
mov r1, r3
ldr r0, .L4+8
bl __isoc99_scanf
ldr r0, .L4+12
bl printf
sub r3, fp, #52
mov r1, r3
ldr r0, .L4+8
bl __isoc99_scanf
sub r1, fp, #60
ldmia r1, {r0-r1}
sub r3, fp, #52
ldmia r3, {r2-r3}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
str r2, [fp, #-44]
str r3, [fp, #-40]
sub r1, fp, #60
ldmia r1, {r0-r1}
sub r3, fp, #52
ldmia r3, {r2-r3}
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
mov r2, r0
mov r3, r1
bl __aeabi_dadd
mov r2, r0
mov r3, r1
str r2, [fp, #-36]
str r3, [fp, #-32]
sub r1, fp, #60
ldmia r1, {r0-r1}
mov r2, #0
mov r3, #1073741824
bl pow
mov r4, r0
mov r5, r1
sub r1, fp, #52
ldmia r1, {r0-r1}
mov r2, #0
mov r3, #1073741824
bl pow
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl sqrt
str r0, [fp, #-28]
str r1, [fp, #-24]
sub r3, fp, #44
ldmia r3, {r2-r3}
ldr r0, .L4+16
bl printf
sub r3, fp, #36
ldmia r3, {r2-r3}
ldr r0, .L4+20
bl printf
sub r3, fp, #28
ldmia r3, {r2-r3}
ldr r0, .L4+24
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 .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 "606805.c"
.intel_syntax noprefix
.text
.globl idx
.bss
.align 4
.type idx, @object
.size idx, 4
idx:
.zero 4
.globl jdx
.data
.align 4
.type jdx, @object
.size jdx, 4
jdx:
.long 1
.globl seqIterations
.align 4
.type seqIterations, @object
.size seqIterations, 4
seqIterations:
.long 47
.globl reqIterations
.align 4
.type reqIterations, @object
.size reqIterations, 4
reqIterations:
.long 1400000
.globl fib
.bss
.align 4
.type fib, @object
.size fib, 4
fib:
.zero 4
.globl fib0
.align 4
.type fib0, @object
.size fib0, 4
fib0:
.zero 4
.globl fib1
.data
.align 4
.type fib1, @object
.size fib1, 4
fib1:
.long 1
.globl threads
.bss
.align 8
.type threads, @object
.size threads, 8
threads:
.zero 8
.globl threadParams
.align 4
.type threadParams, @object
.size threadParams, 4
threadParams:
.zero 4
.globl rt_sched_attr
.align 32
.type rt_sched_attr, @object
.size rt_sched_attr, 56
rt_sched_attr:
.zero 56
.globl rt_max_prio
.align 4
.type rt_max_prio, @object
.size rt_max_prio, 4
rt_max_prio:
.zero 4
.globl rt_min_prio
.align 4
.type rt_min_prio, @object
.size rt_min_prio, 4
rt_min_prio:
.zero 4
.globl rt_param
.align 4
.type rt_param, @object
.size rt_param, 4
rt_param:
.zero 4
.globl main_param
.align 4
.type main_param, @object
.size main_param, 4
main_param:
.zero 4
.globl main_attr
.align 32
.type main_attr, @object
.size main_attr, 56
main_attr:
.zero 56
.globl mainpid
.align 4
.type mainpid, @object
.size mainpid, 4
mainpid:
.zero 4
.text
.globl delta_t
.type delta_t, @function
delta_t:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov QWORD PTR -40[rbp], rdx
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov edx, eax
mov rax, QWORD PTR -32[rbp]
mov rax, QWORD PTR [rax]
mov ecx, eax
mov eax, edx
sub eax, ecx
mov DWORD PTR -8[rbp], eax
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 8[rax]
mov edx, eax
mov rax, QWORD PTR -32[rbp]
mov rax, QWORD PTR 8[rax]
mov ecx, eax
mov eax, edx
sub eax, ecx
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -8[rbp], 0
js .L2
cmp DWORD PTR -4[rbp], 0
js .L3
mov eax, DWORD PTR -8[rbp]
movsx rdx, eax
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR [rax], rdx
mov eax, DWORD PTR -4[rbp]
movsx rdx, eax
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR 8[rax], rdx
jmp .L4
.L3:
mov eax, DWORD PTR -8[rbp]
sub eax, 1
movsx rdx, eax
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR [rax], rdx
mov eax, DWORD PTR -4[rbp]
add eax, 1000000000
movsx rdx, eax
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR 8[rax], rdx
jmp .L4
.L2:
cmp DWORD PTR -4[rbp], 0
js .L5
mov eax, DWORD PTR -8[rbp]
movsx rdx, eax
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR [rax], rdx
mov eax, DWORD PTR -4[rbp]
movsx rdx, eax
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR 8[rax], rdx
jmp .L4
.L5:
mov eax, DWORD PTR -8[rbp]
sub eax, 1
movsx rdx, eax
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR [rax], rdx
mov eax, DWORD PTR -4[rbp]
add eax, 1000000000
movsx rdx, eax
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR 8[rax], rdx
.L4:
mov eax, 1
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size delta_t, .-delta_t
.section .rodata
.align 8
.LC0:
.string "\nThread idx=%d, sum[0...%d]=%d\n"
.align 8
.LC1:
.string "Thread idx=%d, affinity contained:"
.LC2:
.string " CPU-%d "
.align 8
.LC3:
.string "\nThread idx=%d ran %ld sec, %ld msec (%ld microsec)\n"
.text
.globl counterThread
.type counterThread, @function
counterThread:
.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, 240
mov QWORD PTR -232[rbp], rdi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -224[rbp], 0
mov QWORD PTR -192[rbp], 0
mov QWORD PTR -184[rbp], 0
mov QWORD PTR -176[rbp], 0
mov QWORD PTR -168[rbp], 0
mov QWORD PTR -160[rbp], 0
mov QWORD PTR -152[rbp], 0
mov rax, QWORD PTR -232[rbp]
mov QWORD PTR -216[rbp], rax
lea rax, -192[rbp]
mov rsi, rax
mov edi, 0
call clock_gettime@PLT
call pthread_self@PLT
mov QWORD PTR -208[rbp], rax
lea rax, -144[rbp]
mov rsi, rax
mov eax, 0
mov edx, 16
mov rdi, rsi
mov rcx, rdx
rep stosq
mov DWORD PTR -220[rbp], 1
jmp .L8
.L9:
mov edx, DWORD PTR -224[rbp]
mov eax, DWORD PTR -220[rbp]
add eax, edx
mov DWORD PTR -224[rbp], eax
add DWORD PTR -220[rbp], 1
.L8:
mov rax, QWORD PTR -216[rbp]
mov eax, DWORD PTR [rax]
cmp DWORD PTR -220[rbp], eax
jle .L9
mov DWORD PTR idx[rip], 0
jmp .L10
.L13:
mov edx, DWORD PTR fib0[rip]
mov eax, DWORD PTR fib1[rip]
add eax, edx
mov DWORD PTR fib[rip], eax
jmp .L11
.L12:
mov eax, DWORD PTR fib1[rip]
mov DWORD PTR fib0[rip], eax
mov eax, DWORD PTR fib[rip]
mov DWORD PTR fib1[rip], eax
mov edx, DWORD PTR fib0[rip]
mov eax, DWORD PTR fib1[rip]
add eax, edx
mov DWORD PTR fib[rip], eax
mov eax, DWORD PTR jdx[rip]
add eax, 1
mov DWORD PTR jdx[rip], eax
.L11:
mov edx, DWORD PTR jdx[rip]
mov eax, DWORD PTR seqIterations[rip]
cmp edx, eax
jb .L12
mov eax, DWORD PTR idx[rip]
add eax, 1
mov DWORD PTR idx[rip], eax
.L10:
mov edx, DWORD PTR idx[rip]
mov eax, DWORD PTR reqIterations[rip]
cmp edx, eax
jb .L13
mov ecx, DWORD PTR -224[rbp]
mov rax, QWORD PTR -216[rbp]
mov edx, DWORD PTR [rax]
mov rax, QWORD PTR -216[rbp]
mov eax, DWORD PTR [rax]
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
lea rdx, -144[rbp]
mov rax, QWORD PTR -208[rbp]
mov esi, 128
mov rdi, rax
call pthread_getaffinity_np@PLT
mov rax, QWORD PTR -216[rbp]
mov eax, DWORD PTR [rax]
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -220[rbp], 0
jmp .L14
.L18:
mov eax, DWORD PTR -220[rbp]
cdqe
mov QWORD PTR -200[rbp], rax
cmp QWORD PTR -200[rbp], 1023
ja .L15
mov rax, QWORD PTR -200[rbp]
shr rax, 6
lea rdx, 0[0+rax*8]
lea rax, -144[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -200[rbp]
and eax, 63
mov ecx, eax
shr rdx, cl
mov rax, rdx
and eax, 1
test rax, rax
je .L15
mov eax, 1
jmp .L16
.L15:
mov eax, 0
.L16:
test eax, eax
je .L17
mov eax, DWORD PTR -220[rbp]
mov esi, eax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
.L17:
add DWORD PTR -220[rbp], 1
.L14:
cmp DWORD PTR -220[rbp], 0
jle .L18
lea rax, -176[rbp]
mov rsi, rax
mov edi, 0
call clock_gettime@PLT
lea rdx, -160[rbp]
lea rcx, -192[rbp]
lea rax, -176[rbp]
mov rsi, rcx
mov rdi, rax
call delta_t
mov rcx, QWORD PTR -152[rbp]
movabs rdx, 2361183241434822607
mov rax, rcx
imul rdx
mov rax, rdx
sar rax, 7
sar rcx, 63
mov rdx, rcx
sub rax, rdx
mov rsi, rax
mov rcx, QWORD PTR -152[rbp]
movabs rdx, 4835703278458516699
mov rax, rcx
imul rdx
mov rax, rdx
sar rax, 18
sar rcx, 63
mov rdx, rcx
sub rax, rdx
mov rcx, rax
mov rdx, QWORD PTR -160[rbp]
mov rax, QWORD PTR -216[rbp]
mov eax, DWORD PTR [rax]
mov r8, rsi
mov esi, eax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
lea rax, -224[rbp]
mov rdi, rax
call pthread_exit@PLT
.cfi_endproc
.LFE7:
.size counterThread, .-counterThread
.section .rodata
.LC4:
.string "Pthread Policy is SCHED_FIFO"
.LC5:
.string "Pthread Policy is SCHED_OTHER"
.LC6:
.string "Pthread Policy is UNKNOWN"
.text
.globl print_scheduler
.type print_scheduler, @function
print_scheduler:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov eax, 0
call getpid@PLT
mov edi, eax
call sched_getscheduler@PLT
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], 2
je .L21
cmp DWORD PTR -4[rbp], 2
jg .L22
cmp DWORD PTR -4[rbp], 0
je .L23
cmp DWORD PTR -4[rbp], 1
jne .L22
lea rdi, .LC4[rip]
call puts@PLT
jmp .L24
.L23:
lea rdi, .LC5[rip]
call puts@PLT
jmp .L24
.L21:
lea rdi, .LC5[rip]
call puts@PLT
jmp .L24
.L22:
lea rdi, .LC6[rip]
call puts@PLT
nop
.L24:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size print_scheduler, .-print_scheduler
.section .rodata
.LC7:
.string "main_param"
.LC8:
.string "PTHREAD SCOPE SYSTEM"
.LC9:
.string "PTHREAD SCOPE PROCESS"
.LC10:
.string "PTHREAD SCOPE UNKNOWN"
.LC11:
.string "rt_max_prio=%d\n"
.LC12:
.string "rt_min_prio=%d\n"
.LC13:
.string "\nTEST COMPLETE"
.text
.globl main
.type main, @function
main:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 192
mov DWORD PTR -180[rbp], edi
mov QWORD PTR -192[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rax, -144[rbp]
mov rsi, rax
mov eax, 0
mov edx, 16
mov rdi, rsi
mov rcx, rdx
rep stosq
mov DWORD PTR -160[rbp], 0
jmp .L26
.L29:
mov eax, DWORD PTR -160[rbp]
cdqe
mov QWORD PTR -152[rbp], rax
cmp QWORD PTR -152[rbp], 1023
ja .L28
mov rax, QWORD PTR -152[rbp]
shr rax, 6
lea rdx, 0[0+rax*8]
lea rcx, -144[rbp]
add rdx, rcx
mov rsi, QWORD PTR [rdx]
mov rdx, QWORD PTR -152[rbp]
and edx, 63
mov edi, 1
mov ecx, edx
sal rdi, cl
mov rdx, rdi
lea rcx, 0[0+rax*8]
lea rax, -144[rbp]
add rax, rcx
or rdx, rsi
mov QWORD PTR [rax], rdx
.L28:
add DWORD PTR -160[rbp], 1
.L26:
cmp DWORD PTR -160[rbp], 0
jle .L29
mov eax, 0
call getpid@PLT
mov DWORD PTR mainpid[rip], eax
mov edi, 1
call sched_get_priority_max@PLT
mov DWORD PTR rt_max_prio[rip], eax
mov edi, 1
call sched_get_priority_min@PLT
mov DWORD PTR rt_min_prio[rip], eax
call print_scheduler
mov eax, DWORD PTR mainpid[rip]
lea rsi, main_param[rip]
mov edi, eax
call sched_getparam@PLT
mov DWORD PTR -156[rbp], eax
mov eax, DWORD PTR rt_max_prio[rip]
mov DWORD PTR main_param[rip], eax
mov eax, 0
call getpid@PLT
lea rdx, main_param[rip]
mov esi, 1
mov edi, eax
call sched_setscheduler@PLT
mov DWORD PTR -156[rbp], eax
cmp DWORD PTR -156[rbp], 0
jns .L30
lea rdi, .LC7[rip]
call perror@PLT
.L30:
call print_scheduler
lea rax, -164[rbp]
mov rsi, rax
lea rdi, main_attr[rip]
call pthread_attr_getscope@PLT
mov eax, DWORD PTR -164[rbp]
test eax, eax
jne .L31
lea rdi, .LC8[rip]
call puts@PLT
jmp .L32
.L31:
mov eax, DWORD PTR -164[rbp]
cmp eax, 1
jne .L33
lea rdi, .LC9[rip]
call puts@PLT
jmp .L32
.L33:
lea rdi, .LC10[rip]
call puts@PLT
.L32:
mov eax, DWORD PTR rt_max_prio[rip]
mov esi, eax
lea rdi, .LC11[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR rt_min_prio[rip]
mov esi, eax
lea rdi, .LC12[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -160[rbp], 0
jmp .L34
.L35:
mov eax, DWORD PTR -160[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 3
sub rax, rdx
sal rax, 3
lea rdx, rt_sched_attr[rip]
add rax, rdx
mov rdi, rax
call pthread_attr_init@PLT
mov DWORD PTR -156[rbp], eax
mov eax, DWORD PTR -160[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 3
sub rax, rdx
sal rax, 3
lea rdx, rt_sched_attr[rip]
add rax, rdx
mov esi, 1
mov rdi, rax
call pthread_attr_setinheritsched@PLT
mov DWORD PTR -156[rbp], eax
mov eax, DWORD PTR -160[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 3
sub rax, rdx
sal rax, 3
lea rdx, rt_sched_attr[rip]
add rax, rdx
mov esi, 1
mov rdi, rax
call pthread_attr_setschedpolicy@PLT
mov DWORD PTR -156[rbp], eax
mov eax, DWORD PTR -160[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 3
sub rax, rdx
sal rax, 3
lea rdx, rt_sched_attr[rip]
lea rcx, [rax+rdx]
lea rax, -144[rbp]
mov rdx, rax
mov esi, 128
mov rdi, rcx
call pthread_attr_setaffinity_np@PLT
mov DWORD PTR -156[rbp], eax
mov eax, DWORD PTR rt_max_prio[rip]
sub eax, DWORD PTR -160[rbp]
lea ecx, -1[rax]
mov eax, DWORD PTR -160[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, rt_param[rip]
mov DWORD PTR [rdx+rax], ecx
mov eax, DWORD PTR -160[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, rt_param[rip]
add rdx, rax
mov eax, DWORD PTR -160[rbp]
movsx rcx, eax
mov rax, rcx
sal rax, 3
sub rax, rcx
sal rax, 3
lea rcx, rt_sched_attr[rip]
add rax, rcx
mov rsi, rdx
mov rdi, rax
call pthread_attr_setschedparam@PLT
mov eax, DWORD PTR -160[rbp]
cdqe
lea rcx, 0[0+rax*4]
lea rdx, threadParams[rip]
mov eax, DWORD PTR -160[rbp]
mov DWORD PTR [rcx+rdx], eax
mov eax, DWORD PTR -160[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, threadParams[rip]
add rdx, rax
mov eax, DWORD PTR -160[rbp]
cdqe
lea rcx, 0[0+rax*8]
lea rax, threads[rip]
add rax, rcx
mov rcx, rdx
lea rdx, counterThread[rip]
mov esi, 0
mov rdi, rax
call pthread_create@PLT
add DWORD PTR -160[rbp], 1
.L34:
cmp DWORD PTR -160[rbp], 0
jle .L35
mov DWORD PTR -160[rbp], 0
jmp .L36
.L37:
mov eax, DWORD PTR -160[rbp]
cdqe
lea rdx, 0[0+rax*8]
lea rax, threads[rip]
mov rax, QWORD PTR [rdx+rax]
mov esi, 0
mov rdi, rax
call pthread_join@PLT
add DWORD PTR -160[rbp], 1
.L36:
cmp DWORD PTR -160[rbp], 0
jle .L37
lea rdi, .LC13[rip]
call puts@PLT
mov eax, 0
mov rsi, QWORD PTR -8[rbp]
sub rsi, QWORD PTR fs:40
je .L39
call __stack_chk_fail@PLT
.L39:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size main, .-main
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "606805.c"
.text
.global idx
.bss
.align 2
.type idx, %object
.size idx, 4
idx:
.space 4
.global jdx
.data
.align 2
.type jdx, %object
.size jdx, 4
jdx:
.word 1
.global seqIterations
.align 2
.type seqIterations, %object
.size seqIterations, 4
seqIterations:
.word 47
.global reqIterations
.align 2
.type reqIterations, %object
.size reqIterations, 4
reqIterations:
.word 1400000
.global fib
.bss
.align 2
.type fib, %object
.size fib, 4
fib:
.space 4
.global fib0
.align 2
.type fib0, %object
.size fib0, 4
fib0:
.space 4
.global fib1
.data
.align 2
.type fib1, %object
.size fib1, 4
fib1:
.word 1
.comm threads,4,4
.comm threadParams,4,4
.comm rt_sched_attr,36,4
.comm rt_max_prio,4,4
.comm rt_min_prio,4,4
.comm rt_param,4,4
.comm main_param,4,4
.comm main_attr,36,4
.comm mainpid,4,4
.text
.align 2
.global delta_t
.syntax unified
.arm
.fpu softvfp
.type delta_t, %function
delta_t:
@ 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]
ldr r2, [r3]
ldr r3, [fp, #-20]
ldr r3, [r3]
sub r3, r2, r3
str r3, [fp, #-12]
ldr r3, [fp, #-16]
ldr r2, [r3, #4]
ldr r3, [fp, #-20]
ldr r3, [r3, #4]
sub r3, r2, r3
str r3, [fp, #-8]
ldr r3, [fp, #-12]
cmp r3, #0
blt .L2
ldr r3, [fp, #-8]
cmp r3, #0
blt .L3
ldr r3, [fp, #-24]
ldr r2, [fp, #-12]
str r2, [r3]
ldr r3, [fp, #-24]
ldr r2, [fp, #-8]
str r2, [r3, #4]
b .L4
.L3:
ldr r3, [fp, #-12]
sub r2, r3, #1
ldr r3, [fp, #-24]
str r2, [r3]
ldr r2, [fp, #-8]
ldr r3, .L7
add r3, r2, r3
ldr r2, [fp, #-24]
str r3, [r2, #4]
b .L4
.L2:
ldr r3, [fp, #-8]
cmp r3, #0
blt .L5
ldr r3, [fp, #-24]
ldr r2, [fp, #-12]
str r2, [r3]
ldr r3, [fp, #-24]
ldr r2, [fp, #-8]
str r2, [r3, #4]
b .L4
.L5:
ldr r3, [fp, #-12]
sub r2, r3, #1
ldr r3, [fp, #-24]
str r2, [r3]
ldr r2, [fp, #-8]
ldr r3, .L7
add r3, r2, r3
ldr r2, [fp, #-24]
str r3, [r2, #4]
.L4:
mov r3, #1
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L8:
.align 2
.L7:
.word 1000000000
.size delta_t, .-delta_t
.section .rodata
.align 2
.LC0:
.ascii "\012Thread idx=%d, sum[0...%d]=%d\012\000"
.align 2
.LC1:
.ascii "Thread idx=%d, affinity contained:\000"
.align 2
.LC2:
.ascii " CPU-%d \000"
.align 2
.LC3:
.ascii "\012Thread idx=%d ran %ld sec, %ld msec (%ld micros"
.ascii "ec)\012\000"
.align 2
.LC4:
.word __stack_chk_guard
.text
.align 2
.global counterThread
.syntax unified
.arm
.fpu softvfp
.type counterThread, %function
counterThread:
@ args = 0, pretend = 0, frame = 184
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #192
str r0, [fp, #-184]
ldr r3, .L22
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-180]
mov r3, #0
str r3, [fp, #-160]
mov r3, #0
str r3, [fp, #-156]
mov r3, #0
str r3, [fp, #-152]
mov r3, #0
str r3, [fp, #-148]
mov r3, #0
str r3, [fp, #-144]
mov r3, #0
str r3, [fp, #-140]
ldr r3, [fp, #-184]
str r3, [fp, #-172]
sub r3, fp, #160
mov r1, r3
mov r0, #0
bl clock_gettime
bl pthread_self
str r0, [fp, #-168]
sub r3, fp, #136
mov r0, r3
mov r3, #128
mov r2, r3
mov r1, #0
bl memset
mov r3, #1
str r3, [fp, #-176]
b .L10
.L11:
ldr r2, [fp, #-180]
ldr r3, [fp, #-176]
add r3, r2, r3
str r3, [fp, #-180]
ldr r3, [fp, #-176]
add r3, r3, #1
str r3, [fp, #-176]
.L10:
ldr r3, [fp, #-172]
ldr r3, [r3]
ldr r2, [fp, #-176]
cmp r2, r3
ble .L11
ldr r3, .L22+4
mov r2, #0
str r2, [r3]
b .L12
.L15:
ldr r3, .L22+8
ldr r2, [r3]
ldr r3, .L22+12
ldr r3, [r3]
add r3, r2, r3
ldr r2, .L22+16
str r3, [r2]
b .L13
.L14:
ldr r3, .L22+12
ldr r3, [r3]
ldr r2, .L22+8
str r3, [r2]
ldr r3, .L22+16
ldr r3, [r3]
ldr r2, .L22+12
str r3, [r2]
ldr r3, .L22+8
ldr r2, [r3]
ldr r3, .L22+12
ldr r3, [r3]
add r3, r2, r3
ldr r2, .L22+16
str r3, [r2]
ldr r3, .L22+20
ldr r3, [r3]
add r3, r3, #1
ldr r2, .L22+20
str r3, [r2]
.L13:
ldr r3, .L22+20
ldr r2, [r3]
ldr r3, .L22+24
ldr r3, [r3]
cmp r2, r3
bcc .L14
ldr r3, .L22+4
ldr r3, [r3]
add r3, r3, #1
ldr r2, .L22+4
str r3, [r2]
.L12:
ldr r3, .L22+4
ldr r2, [r3]
ldr r3, .L22+28
ldr r3, [r3]
cmp r2, r3
bcc .L15
ldr r3, [fp, #-172]
ldr r1, [r3]
ldr r3, [fp, #-172]
ldr r2, [r3]
ldr r3, [fp, #-180]
ldr r0, .L22+32
bl printf
sub r3, fp, #136
mov r2, r3
mov r1, #128
ldr r0, [fp, #-168]
bl pthread_getaffinity_np
ldr r3, [fp, #-172]
ldr r3, [r3]
mov r1, r3
ldr r0, .L22+36
bl printf
mov r3, #0
str r3, [fp, #-176]
b .L16
.L20:
ldr r3, [fp, #-176]
str r3, [fp, #-164]
ldr r3, [fp, #-164]
cmp r3, #1024
bcs .L17
ldr r3, [fp, #-164]
lsr r3, r3, #5
lsl r3, r3, #2
sub r2, fp, #136
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-164]
and r3, r3, #31
lsr r3, r2, r3
and r3, r3, #1
cmp r3, #0
beq .L17
mov r3, #1
b .L18
.L17:
mov r3, #0
.L18:
cmp r3, #0
beq .L19
ldr r1, [fp, #-176]
ldr r0, .L22+40
bl printf
.L19:
ldr r3, [fp, #-176]
add r3, r3, #1
str r3, [fp, #-176]
.L16:
ldr r3, [fp, #-176]
cmp r3, #0
ble .L20
sub r3, fp, #152
mov r1, r3
mov r0, #0
bl clock_gettime
sub r2, fp, #144
sub r1, fp, #160
sub r3, fp, #152
mov r0, r3
bl delta_t
ldr r3, [fp, #-172]
ldr r1, [r3]
ldr r0, [fp, #-144]
ldr r3, [fp, #-140]
ldr r2, .L22+44
smull ip, r2, r3, r2
asr r2, r2, #18
asr r3, r3, #31
sub ip, r2, r3
ldr r3, [fp, #-140]
ldr r2, .L22+48
smull lr, r2, r3, r2
asr r2, r2, #6
asr r3, r3, #31
sub r3, r2, r3
str r3, [sp]
mov r3, ip
mov r2, r0
ldr r0, .L22+52
bl printf
sub r3, fp, #180
mov r0, r3
bl pthread_exit
.L23:
.align 2
.L22:
.word .LC4
.word idx
.word fib0
.word fib1
.word fib
.word jdx
.word seqIterations
.word reqIterations
.word .LC0
.word .LC1
.word .LC2
.word 1125899907
.word 274877907
.word .LC3
.size counterThread, .-counterThread
.section .rodata
.align 2
.LC5:
.ascii "Pthread Policy is SCHED_FIFO\000"
.align 2
.LC6:
.ascii "Pthread Policy is SCHED_OTHER\000"
.align 2
.LC7:
.ascii "Pthread Policy is UNKNOWN\000"
.text
.align 2
.global print_scheduler
.syntax unified
.arm
.fpu softvfp
.type print_scheduler, %function
print_scheduler:
@ 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 getpid
mov r3, r0
mov r0, r3
bl sched_getscheduler
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #2
beq .L25
ldr r3, [fp, #-8]
cmp r3, #2
bgt .L26
ldr r3, [fp, #-8]
cmp r3, #0
beq .L27
ldr r3, [fp, #-8]
cmp r3, #1
bne .L26
ldr r0, .L29
bl puts
b .L28
.L27:
ldr r0, .L29+4
bl puts
b .L28
.L25:
ldr r0, .L29+4
bl puts
b .L28
.L26:
ldr r0, .L29+8
bl puts
nop
.L28:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L30:
.align 2
.L29:
.word .LC5
.word .LC6
.word .LC7
.size print_scheduler, .-print_scheduler
.section .rodata
.align 2
.LC8:
.ascii "main_param\000"
.align 2
.LC9:
.ascii "PTHREAD SCOPE SYSTEM\000"
.align 2
.LC10:
.ascii "PTHREAD SCOPE PROCESS\000"
.align 2
.LC11:
.ascii "PTHREAD SCOPE UNKNOWN\000"
.align 2
.LC12:
.ascii "rt_max_prio=%d\012\000"
.align 2
.LC13:
.ascii "rt_min_prio=%d\012\000"
.align 2
.LC14:
.ascii "\012TEST COMPLETE\000"
.align 2
.LC15:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 160
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #160
str r0, [fp, #-160]
str r1, [fp, #-164]
ldr r3, .L46
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r3, fp, #136
mov r0, r3
mov r3, #128
mov r2, r3
mov r1, #0
bl memset
mov r3, #0
str r3, [fp, #-148]
b .L32
.L35:
ldr r3, [fp, #-148]
str r3, [fp, #-140]
ldr r3, [fp, #-140]
cmp r3, #1024
bcs .L34
ldr r3, [fp, #-140]
lsr r3, r3, #5
lsl r2, r3, #2
sub r1, fp, #136
add r2, r1, r2
ldr r1, [r2]
ldr r2, [fp, #-140]
and r2, r2, #31
mov r0, #1
lsl r2, r0, r2
lsl r3, r3, #2
sub r0, fp, #136
add r3, r0, r3
orr r2, r1, r2
str r2, [r3]
.L34:
ldr r3, [fp, #-148]
add r3, r3, #1
str r3, [fp, #-148]
.L32:
ldr r3, [fp, #-148]
cmp r3, #0
ble .L35
bl getpid
mov r3, r0
ldr r2, .L46+4
str r3, [r2]
mov r0, #1
bl sched_get_priority_max
mov r3, r0
ldr r2, .L46+8
str r3, [r2]
mov r0, #1
bl sched_get_priority_min
mov r3, r0
ldr r2, .L46+12
str r3, [r2]
bl print_scheduler
ldr r3, .L46+4
ldr r3, [r3]
ldr r1, .L46+16
mov r0, r3
bl sched_getparam
str r0, [fp, #-144]
ldr r3, .L46+8
ldr r3, [r3]
ldr r2, .L46+16
str r3, [r2]
bl getpid
mov r3, r0
ldr r2, .L46+16
mov r1, #1
mov r0, r3
bl sched_setscheduler
str r0, [fp, #-144]
ldr r3, [fp, #-144]
cmp r3, #0
bge .L36
ldr r0, .L46+20
bl perror
.L36:
bl print_scheduler
sub r3, fp, #152
mov r1, r3
ldr r0, .L46+24
bl pthread_attr_getscope
ldr r3, [fp, #-152]
cmp r3, #0
bne .L37
ldr r0, .L46+28
bl puts
b .L38
.L37:
ldr r3, [fp, #-152]
cmp r3, #1
bne .L39
ldr r0, .L46+32
bl puts
b .L38
.L39:
ldr r0, .L46+36
bl puts
.L38:
ldr r3, .L46+8
ldr r3, [r3]
mov r1, r3
ldr r0, .L46+40
bl printf
ldr r3, .L46+12
ldr r3, [r3]
mov r1, r3
ldr r0, .L46+44
bl printf
mov r3, #0
str r3, [fp, #-148]
b .L40
.L41:
ldr r2, [fp, #-148]
mov r3, r2
lsl r3, r3, #3
add r3, r3, r2
lsl r3, r3, #2
ldr r2, .L46+48
add r3, r3, r2
mov r0, r3
bl pthread_attr_init
str r0, [fp, #-144]
ldr r2, [fp, #-148]
mov r3, r2
lsl r3, r3, #3
add r3, r3, r2
lsl r3, r3, #2
ldr r2, .L46+48
add r3, r3, r2
mov r1, #1
mov r0, r3
bl pthread_attr_setinheritsched
str r0, [fp, #-144]
ldr r2, [fp, #-148]
mov r3, r2
lsl r3, r3, #3
add r3, r3, r2
lsl r3, r3, #2
ldr r2, .L46+48
add r3, r3, r2
mov r1, #1
mov r0, r3
bl pthread_attr_setschedpolicy
str r0, [fp, #-144]
ldr r2, [fp, #-148]
mov r3, r2
lsl r3, r3, #3
add r3, r3, r2
lsl r3, r3, #2
ldr r2, .L46+48
add r3, r3, r2
sub r2, fp, #136
mov r1, #128
mov r0, r3
bl pthread_attr_setaffinity_np
str r0, [fp, #-144]
ldr r3, .L46+8
ldr r2, [r3]
ldr r3, [fp, #-148]
sub r3, r2, r3
sub r2, r3, #1
ldr r1, .L46+52
ldr r3, [fp, #-148]
str r2, [r1, r3, lsl #2]
ldr r2, [fp, #-148]
mov r3, r2
lsl r3, r3, #3
add r3, r3, r2
lsl r3, r3, #2
ldr r2, .L46+48
add r2, r3, r2
ldr r3, [fp, #-148]
lsl r3, r3, #2
ldr r1, .L46+52
add r3, r3, r1
mov r1, r3
mov r0, r2
bl pthread_attr_setschedparam
ldr r1, .L46+56
ldr r3, [fp, #-148]
ldr r2, [fp, #-148]
str r2, [r1, r3, lsl #2]
ldr r3, [fp, #-148]
lsl r3, r3, #2
ldr r2, .L46+60
add r0, r3, r2
ldr r3, [fp, #-148]
lsl r3, r3, #2
ldr r2, .L46+56
add r3, r3, r2
ldr r2, .L46+64
mov r1, #0
bl pthread_create
ldr r3, [fp, #-148]
add r3, r3, #1
str r3, [fp, #-148]
.L40:
ldr r3, [fp, #-148]
cmp r3, #0
ble .L41
mov r3, #0
str r3, [fp, #-148]
b .L42
.L43:
ldr r2, .L46+60
ldr r3, [fp, #-148]
ldr r3, [r2, r3, lsl #2]
mov r1, #0
mov r0, r3
bl pthread_join
ldr r3, [fp, #-148]
add r3, r3, #1
str r3, [fp, #-148]
.L42:
ldr r3, [fp, #-148]
cmp r3, #0
ble .L43
ldr r0, .L46+68
bl puts
mov r3, #0
ldr r2, .L46
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L45
bl __stack_chk_fail
.L45:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L47:
.align 2
.L46:
.word .LC15
.word mainpid
.word rt_max_prio
.word rt_min_prio
.word main_param
.word .LC8
.word main_attr
.word .LC9
.word .LC10
.word .LC11
.word .LC12
.word .LC13
.word rt_sched_attr
.word rt_param
.word threadParams
.word threads
.word counterThread
.word .LC14
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "77756.c"
.intel_syntax noprefix
.text
.globl gcd
.type gcd, @function
gcd:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov DWORD PTR -4[rbp], edi
mov DWORD PTR -8[rbp], esi
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -8[rbp]
jne .L2
mov eax, DWORD PTR -4[rbp]
jmp .L3
.L2:
cmp DWORD PTR -4[rbp], 0
jne .L4
mov eax, DWORD PTR -8[rbp]
jmp .L3
.L4:
cmp DWORD PTR -8[rbp], 0
jne .L5
mov eax, DWORD PTR -4[rbp]
jmp .L3
.L5:
mov eax, DWORD PTR -4[rbp]
and eax, 1
test eax, eax
jne .L6
mov eax, DWORD PTR -8[rbp]
and eax, 1
test eax, eax
je .L7
mov eax, DWORD PTR -4[rbp]
sar eax
mov edx, eax
mov eax, DWORD PTR -8[rbp]
mov esi, eax
mov edi, edx
call gcd
jmp .L3
.L7:
mov eax, DWORD PTR -8[rbp]
sar eax
mov edx, eax
mov eax, DWORD PTR -4[rbp]
sar eax
mov esi, edx
mov edi, eax
call gcd
add eax, eax
jmp .L3
.L6:
mov eax, DWORD PTR -8[rbp]
and eax, 1
test eax, eax
jne .L8
mov eax, DWORD PTR -8[rbp]
sar eax
mov edx, eax
mov eax, DWORD PTR -4[rbp]
mov esi, edx
mov edi, eax
call gcd
jmp .L3
.L8:
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -8[rbp]
jle .L9
mov eax, DWORD PTR -4[rbp]
sub eax, DWORD PTR -8[rbp]
sar eax
mov edx, eax
mov eax, DWORD PTR -8[rbp]
mov esi, eax
mov edi, edx
call gcd
jmp .L3
.L9:
mov eax, DWORD PTR -8[rbp]
sub eax, DWORD PTR -4[rbp]
sar eax
mov edx, eax
mov eax, DWORD PTR -4[rbp]
mov esi, eax
mov edi, edx
call gcd
.L3:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size gcd, .-gcd
.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 esi, 3158
mov edi, 6515
call gcd
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 "77756.c"
.text
.align 2
.global gcd
.syntax unified
.arm
.fpu softvfp
.type gcd, %function
gcd:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r2, [fp, #-8]
ldr r3, [fp, #-12]
cmp r2, r3
bne .L2
ldr r3, [fp, #-8]
b .L3
.L2:
ldr r3, [fp, #-8]
cmp r3, #0
bne .L4
ldr r3, [fp, #-12]
b .L3
.L4:
ldr r3, [fp, #-12]
cmp r3, #0
bne .L5
ldr r3, [fp, #-8]
b .L3
.L5:
ldr r3, [fp, #-8]
and r3, r3, #1
cmp r3, #0
bne .L6
ldr r3, [fp, #-12]
and r3, r3, #1
cmp r3, #0
beq .L7
ldr r3, [fp, #-8]
asr r3, r3, #1
ldr r1, [fp, #-12]
mov r0, r3
bl gcd
mov r3, r0
b .L3
.L7:
ldr r3, [fp, #-8]
asr r2, r3, #1
ldr r3, [fp, #-12]
asr r3, r3, #1
mov r1, r3
mov r0, r2
bl gcd
mov r3, r0
lsl r3, r3, #1
b .L3
.L6:
ldr r3, [fp, #-12]
and r3, r3, #1
cmp r3, #0
bne .L8
ldr r3, [fp, #-12]
asr r3, r3, #1
mov r1, r3
ldr r0, [fp, #-8]
bl gcd
mov r3, r0
b .L3
.L8:
ldr r2, [fp, #-8]
ldr r3, [fp, #-12]
cmp r2, r3
ble .L9
ldr r2, [fp, #-8]
ldr r3, [fp, #-12]
sub r3, r2, r3
asr r3, r3, #1
ldr r1, [fp, #-12]
mov r0, r3
bl gcd
mov r3, r0
b .L3
.L9:
ldr r2, [fp, #-12]
ldr r3, [fp, #-8]
sub r3, r2, r3
asr r3, r3, #1
ldr r1, [fp, #-8]
mov r0, r3
bl gcd
mov r3, r0
.L3:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size gcd, .-gcd
.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, .L12
ldr r0, .L12+4
bl gcd
mov r3, r0
mov r0, r3
pop {fp, pc}
.L13:
.align 2
.L12:
.word 3158
.word 6515
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "649501.c"
.intel_syntax noprefix
.text
.globl pthread_condattr_init
.type pthread_condattr_init, @function
pthread_condattr_init:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size pthread_condattr_init, .-pthread_condattr_init
.globl pthread_condattr_destroy
.type pthread_condattr_destroy, @function
pthread_condattr_destroy:
.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 eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size pthread_condattr_destroy, .-pthread_condattr_destroy
.globl pthread_condattr_getpshared
.type pthread_condattr_getpshared, @function
pthread_condattr_getpshared:
.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 QWORD PTR -16[rbp], rsi
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE2:
.size pthread_condattr_getpshared, .-pthread_condattr_getpshared
.globl pthread_condattr_setpshared
.type pthread_condattr_setpshared, @function
pthread_condattr_setpshared:
.LFB3:
.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, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE3:
.size pthread_condattr_setpshared, .-pthread_condattr_setpshared
.section .rodata
.LC0:
.string "the_stack_data/649501.c"
.LC1:
.string "cond"
.text
.globl pthread_cond_init
.type pthread_cond_init, @function
pthread_cond_init:
.LFB4:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
cmp QWORD PTR -8[rbp], 0
jne .L10
lea rcx, __PRETTY_FUNCTION__.5[rip]
mov edx, 34
lea rsi, .LC0[rip]
lea rdi, .LC1[rip]
call __assert_fail@PLT
.L10:
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
mov eax, 0
call cond_init@PLT
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE4:
.size pthread_cond_init, .-pthread_cond_init
.globl pthread_cond_destroy
.type pthread_cond_destroy, @function
pthread_cond_destroy:
.LFB5:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
cmp QWORD PTR -8[rbp], 0
jne .L13
lea rcx, __PRETTY_FUNCTION__.4[rip]
mov edx, 40
lea rsi, .LC0[rip]
lea rdi, .LC1[rip]
call __assert_fail@PLT
.L13:
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
mov eax, 0
call cond_destroy@PLT
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE5:
.size pthread_cond_destroy, .-pthread_cond_destroy
.globl pthread_cond_signal
.type pthread_cond_signal, @function
pthread_cond_signal:
.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
cmp QWORD PTR -8[rbp], 0
jne .L16
lea rcx, __PRETTY_FUNCTION__.3[rip]
mov edx, 50
lea rsi, .LC0[rip]
lea rdi, .LC1[rip]
call __assert_fail@PLT
.L16:
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
mov eax, 0
call cond_signal@PLT
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size pthread_cond_signal, .-pthread_cond_signal
.globl pthread_cond_broadcast
.type pthread_cond_broadcast, @function
pthread_cond_broadcast:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
cmp QWORD PTR -8[rbp], 0
jne .L19
lea rcx, __PRETTY_FUNCTION__.2[rip]
mov edx, 57
lea rsi, .LC0[rip]
lea rdi, .LC1[rip]
call __assert_fail@PLT
.L19:
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
mov eax, 0
call cond_broadcast@PLT
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size pthread_cond_broadcast, .-pthread_cond_broadcast
.section .rodata
.LC2:
.string "mutex"
.text
.globl pthread_cond_wait
.type pthread_cond_wait, @function
pthread_cond_wait:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
cmp QWORD PTR -8[rbp], 0
jne .L22
lea rcx, __PRETTY_FUNCTION__.1[rip]
mov edx, 66
lea rsi, .LC0[rip]
lea rdi, .LC1[rip]
call __assert_fail@PLT
.L22:
cmp QWORD PTR -16[rbp], 0
jne .L23
lea rcx, __PRETTY_FUNCTION__.1[rip]
mov edx, 67
lea rsi, .LC0[rip]
lea rdi, .LC2[rip]
call __assert_fail@PLT
.L23:
mov rdx, QWORD PTR -16[rbp]
mov rax, QWORD PTR -8[rbp]
mov rsi, rdx
mov rdi, rax
mov eax, 0
call cond_wait@PLT
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size pthread_cond_wait, .-pthread_cond_wait
.section .rodata
.LC3:
.string "abstime"
.LC4:
.string "tmo >= 0"
.text
.globl pthread_cond_timedwait
.type pthread_cond_timedwait, @function
pthread_cond_timedwait:
.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, 80
mov QWORD PTR -56[rbp], rdi
mov QWORD PTR -64[rbp], rsi
mov QWORD PTR -72[rbp], rdx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
cmp QWORD PTR -56[rbp], 0
jne .L26
lea rcx, __PRETTY_FUNCTION__.0[rip]
mov edx, 77
lea rsi, .LC0[rip]
lea rdi, .LC1[rip]
call __assert_fail@PLT
.L26:
cmp QWORD PTR -64[rbp], 0
jne .L27
lea rcx, __PRETTY_FUNCTION__.0[rip]
mov edx, 78
lea rsi, .LC0[rip]
lea rdi, .LC2[rip]
call __assert_fail@PLT
.L27:
cmp QWORD PTR -72[rbp], 0
jne .L28
lea rcx, __PRETTY_FUNCTION__.0[rip]
mov edx, 79
lea rsi, .LC0[rip]
lea rdi, .LC3[rip]
call __assert_fail@PLT
.L28:
lea rax, -32[rbp]
mov esi, 0
mov rdi, rax
call gettimeofday@PLT
mov rax, QWORD PTR -72[rbp]
mov rax, QWORD PTR [rax]
mov edx, eax
mov rax, QWORD PTR -32[rbp]
mov ecx, eax
mov eax, edx
sub eax, ecx
mov DWORD PTR -36[rbp], eax
mov rax, QWORD PTR -72[rbp]
mov rcx, QWORD PTR 8[rax]
movabs rdx, 4835703278458516699
mov rax, rcx
imul rdx
mov rax, rdx
sar rax, 18
sar rcx, 63
mov rdx, rcx
sub rax, rdx
mov esi, eax
mov rcx, QWORD PTR -24[rbp]
movabs rdx, 2361183241434822607
mov rax, rcx
imul rdx
sar rdx, 7
mov rax, rcx
sar rax, 63
sub rax, rdx
lea edx, [rsi+rax]
mov eax, DWORD PTR -36[rbp]
add eax, edx
mov DWORD PTR -36[rbp], eax
cmp DWORD PTR -36[rbp], 0
jns .L29
lea rcx, __PRETTY_FUNCTION__.0[rip]
mov edx, 87
lea rsi, .LC0[rip]
lea rdi, .LC4[rip]
call __assert_fail@PLT
.L29:
cmp DWORD PTR -36[rbp], 0
jne .L30
mov eax, 110
jmp .L32
.L30:
mov edx, DWORD PTR -36[rbp]
mov rcx, QWORD PTR -64[rbp]
mov rax, QWORD PTR -56[rbp]
mov rsi, rcx
mov rdi, rax
mov eax, 0
call cond_wait_timed@PLT
.L32:
mov rdi, QWORD PTR -8[rbp]
sub rdi, QWORD PTR fs:40
je .L33
call __stack_chk_fail@PLT
.L33:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size pthread_cond_timedwait, .-pthread_cond_timedwait
.section .rodata
.align 16
.type __PRETTY_FUNCTION__.5, @object
.size __PRETTY_FUNCTION__.5, 18
__PRETTY_FUNCTION__.5:
.string "pthread_cond_init"
.align 16
.type __PRETTY_FUNCTION__.4, @object
.size __PRETTY_FUNCTION__.4, 21
__PRETTY_FUNCTION__.4:
.string "pthread_cond_destroy"
.align 16
.type __PRETTY_FUNCTION__.3, @object
.size __PRETTY_FUNCTION__.3, 20
__PRETTY_FUNCTION__.3:
.string "pthread_cond_signal"
.align 16
.type __PRETTY_FUNCTION__.2, @object
.size __PRETTY_FUNCTION__.2, 23
__PRETTY_FUNCTION__.2:
.string "pthread_cond_broadcast"
.align 16
.type __PRETTY_FUNCTION__.1, @object
.size __PRETTY_FUNCTION__.1, 18
__PRETTY_FUNCTION__.1:
.string "pthread_cond_wait"
.align 16
.type __PRETTY_FUNCTION__.0, @object
.size __PRETTY_FUNCTION__.0, 23
__PRETTY_FUNCTION__.0:
.string "pthread_cond_timedwait"
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "649501.c"
.text
.align 2
.global pthread_condattr_init
.syntax unified
.arm
.fpu softvfp
.type pthread_condattr_init, %function
pthread_condattr_init:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
mov r3, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size pthread_condattr_init, .-pthread_condattr_init
.align 2
.global pthread_condattr_destroy
.syntax unified
.arm
.fpu softvfp
.type pthread_condattr_destroy, %function
pthread_condattr_destroy:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
mov r3, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size 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 = 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]
mov r3, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size pthread_condattr_getpshared, .-pthread_condattr_getpshared
.align 2
.global pthread_condattr_setpshared
.syntax unified
.arm
.fpu softvfp
.type pthread_condattr_setpshared, %function
pthread_condattr_setpshared:
@ 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]
mov r3, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size pthread_condattr_setpshared, .-pthread_condattr_setpshared
.section .rodata
.align 2
.LC0:
.ascii "the_stack_data/649501.c\000"
.align 2
.LC1:
.ascii "cond\000"
.text
.align 2
.global pthread_cond_init
.syntax unified
.arm
.fpu softvfp
.type pthread_cond_init, %function
pthread_cond_init:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, [fp, #-8]
cmp r3, #0
bne .L10
ldr r3, .L12
mov r2, #34
ldr r1, .L12+4
ldr r0, .L12+8
bl __assert_fail
.L10:
ldr r0, [fp, #-8]
bl cond_init
mov r3, r0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L13:
.align 2
.L12:
.word __PRETTY_FUNCTION__.4958
.word .LC0
.word .LC1
.size pthread_cond_init, .-pthread_cond_init
.align 2
.global pthread_cond_destroy
.syntax unified
.arm
.fpu softvfp
.type pthread_cond_destroy, %function
pthread_cond_destroy:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
bne .L15
ldr r3, .L17
mov r2, #40
ldr r1, .L17+4
ldr r0, .L17+8
bl __assert_fail
.L15:
ldr r0, [fp, #-8]
bl cond_destroy
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L18:
.align 2
.L17:
.word __PRETTY_FUNCTION__.4964
.word .LC0
.word .LC1
.size pthread_cond_destroy, .-pthread_cond_destroy
.align 2
.global pthread_cond_signal
.syntax unified
.arm
.fpu softvfp
.type pthread_cond_signal, %function
pthread_cond_signal:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
bne .L20
ldr r3, .L22
mov r2, #50
ldr r1, .L22+4
ldr r0, .L22+8
bl __assert_fail
.L20:
ldr r0, [fp, #-8]
bl cond_signal
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L23:
.align 2
.L22:
.word __PRETTY_FUNCTION__.4970
.word .LC0
.word .LC1
.size pthread_cond_signal, .-pthread_cond_signal
.align 2
.global pthread_cond_broadcast
.syntax unified
.arm
.fpu softvfp
.type pthread_cond_broadcast, %function
pthread_cond_broadcast:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
bne .L25
ldr r3, .L27
mov r2, #57
ldr r1, .L27+4
ldr r0, .L27+8
bl __assert_fail
.L25:
ldr r0, [fp, #-8]
bl cond_broadcast
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L28:
.align 2
.L27:
.word __PRETTY_FUNCTION__.4976
.word .LC0
.word .LC1
.size pthread_cond_broadcast, .-pthread_cond_broadcast
.section .rodata
.align 2
.LC2:
.ascii "mutex\000"
.text
.align 2
.global pthread_cond_wait
.syntax unified
.arm
.fpu softvfp
.type pthread_cond_wait, %function
pthread_cond_wait:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, [fp, #-8]
cmp r3, #0
bne .L30
ldr r3, .L33
mov r2, #66
ldr r1, .L33+4
ldr r0, .L33+8
bl __assert_fail
.L30:
ldr r3, [fp, #-12]
cmp r3, #0
bne .L31
ldr r3, .L33
mov r2, #67
ldr r1, .L33+4
ldr r0, .L33+12
bl __assert_fail
.L31:
ldr r1, [fp, #-12]
ldr r0, [fp, #-8]
bl cond_wait
mov r3, r0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L34:
.align 2
.L33:
.word __PRETTY_FUNCTION__.4983
.word .LC0
.word .LC1
.word .LC2
.size pthread_cond_wait, .-pthread_cond_wait
.section .rodata
.align 2
.LC3:
.ascii "abstime\000"
.align 2
.LC4:
.ascii "tmo >= 0\000"
.align 2
.LC5:
.word __stack_chk_guard
.text
.align 2
.global pthread_cond_timedwait
.syntax unified
.arm
.fpu softvfp
.type pthread_cond_timedwait, %function
pthread_cond_timedwait:
@ 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, .L44
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, [fp, #-24]
cmp r3, #0
bne .L36
ldr r3, .L44+4
mov r2, #77
ldr r1, .L44+8
ldr r0, .L44+12
bl __assert_fail
.L36:
ldr r3, [fp, #-28]
cmp r3, #0
bne .L37
ldr r3, .L44+4
mov r2, #78
ldr r1, .L44+8
ldr r0, .L44+16
bl __assert_fail
.L37:
ldr r3, [fp, #-32]
cmp r3, #0
bne .L38
ldr r3, .L44+4
mov r2, #79
ldr r1, .L44+8
ldr r0, .L44+20
bl __assert_fail
.L38:
sub r3, fp, #16
mov r1, #0
mov r0, r3
bl gettimeofday
ldr r3, [fp, #-32]
ldr r2, [r3]
ldr r3, [fp, #-16]
sub r3, r2, r3
str r3, [fp, #-20]
ldr r3, [fp, #-32]
ldr r3, [r3, #4]
ldr r2, .L44+24
smull r1, r2, r3, r2
asr r2, r2, #18
asr r3, r3, #31
sub r2, r2, r3
ldr r3, [fp, #-12]
ldr r1, .L44+28
smull r0, r1, r3, r1
asr r1, r1, #6
asr r3, r3, #31
sub r3, r3, r1
add r3, r2, r3
ldr r2, [fp, #-20]
add r3, r2, r3
str r3, [fp, #-20]
ldr r3, [fp, #-20]
cmp r3, #0
bge .L39
ldr r3, .L44+4
mov r2, #87
ldr r1, .L44+8
ldr r0, .L44+32
bl __assert_fail
.L39:
ldr r3, [fp, #-20]
cmp r3, #0
bne .L40
mov r3, #110
b .L42
.L40:
ldr r2, [fp, #-20]
ldr r1, [fp, #-28]
ldr r0, [fp, #-24]
bl cond_wait_timed
mov r3, r0
.L42:
ldr r2, .L44
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L43
bl __stack_chk_fail
.L43:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L45:
.align 2
.L44:
.word .LC5
.word __PRETTY_FUNCTION__.4993
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word 1125899907
.word 274877907
.word .LC4
.size pthread_cond_timedwait, .-pthread_cond_timedwait
.section .rodata
.align 2
.type __PRETTY_FUNCTION__.4958, %object
.size __PRETTY_FUNCTION__.4958, 18
__PRETTY_FUNCTION__.4958:
.ascii "pthread_cond_init\000"
.align 2
.type __PRETTY_FUNCTION__.4964, %object
.size __PRETTY_FUNCTION__.4964, 21
__PRETTY_FUNCTION__.4964:
.ascii "pthread_cond_destroy\000"
.align 2
.type __PRETTY_FUNCTION__.4970, %object
.size __PRETTY_FUNCTION__.4970, 20
__PRETTY_FUNCTION__.4970:
.ascii "pthread_cond_signal\000"
.align 2
.type __PRETTY_FUNCTION__.4976, %object
.size __PRETTY_FUNCTION__.4976, 23
__PRETTY_FUNCTION__.4976:
.ascii "pthread_cond_broadcast\000"
.align 2
.type __PRETTY_FUNCTION__.4983, %object
.size __PRETTY_FUNCTION__.4983, 18
__PRETTY_FUNCTION__.4983:
.ascii "pthread_cond_wait\000"
.align 2
.type __PRETTY_FUNCTION__.4993, %object
.size __PRETTY_FUNCTION__.4993, 23
__PRETTY_FUNCTION__.4993:
.ascii "pthread_cond_timedwait\000"
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "444704.c"
.intel_syntax noprefix
.text
.globl write_event
.type write_event, @function
write_event:
.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 QWORD PTR -32[rbp], rsi
mov rdx, QWORD PTR -24[rbp]
mov rax, QWORD PTR -32[rbp]
mov rcx, rdx
mov edx, 1
mov esi, 24
mov rdi, rax
call fwrite@PLT
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 1
je .L2
mov eax, 1
jmp .L3
.L2:
mov eax, 0
.L3:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size write_event, .-write_event
.section .rodata
.LC0:
.string "Usage: %s device_path\n"
.LC1:
.string "/dev/input"
.align 8
.LC2:
.string "Warning: device %s does not seem to be an evdev file\n"
.LC3:
.string "w"
.LC4:
.string "Could not open file %s: %s\n"
.text
.globl main
.type main, @function
main:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 112
mov DWORD PTR -100[rbp], edi
mov QWORD PTR -112[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
cmp DWORD PTR -100[rbp], 2
je .L5
mov rax, QWORD PTR -112[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR stderr[rip]
lea rsi, .LC0[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov eax, 1
jmp .L11
.L5:
mov rax, QWORD PTR -112[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -88[rbp], rax
lea rax, .LC1[rip]
mov QWORD PTR -80[rbp], rax
mov rax, QWORD PTR -80[rbp]
mov rdi, rax
call strlen@PLT
mov rdx, rax
mov rcx, QWORD PTR -88[rbp]
mov rax, QWORD PTR -80[rbp]
mov rsi, rcx
mov rdi, rax
call strncmp@PLT
test eax, eax
je .L7
mov rax, QWORD PTR stderr[rip]
mov rdx, QWORD PTR -88[rbp]
lea rsi, .LC2[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
.L7:
mov rax, QWORD PTR -88[rbp]
lea rsi, .LC3[rip]
mov rdi, rax
call fopen@PLT
mov QWORD PTR -72[rbp], rax
cmp QWORD PTR -72[rbp], 0
jne .L8
call __errno_location@PLT
mov eax, DWORD PTR [rax]
mov edi, eax
call strerror@PLT
mov rcx, rax
mov rax, QWORD PTR stderr[rip]
mov rdx, QWORD PTR -88[rbp]
lea rsi, .LC4[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov eax, 1
jmp .L11
.L8:
mov QWORD PTR -64[rbp], 0
mov QWORD PTR -56[rbp], 0
mov QWORD PTR -48[rbp], 0
mov WORD PTR -48[rbp], 4
mov WORD PTR -46[rbp], 1
mov DWORD PTR -92[rbp], 0
lea rdx, -64[rbp]
mov rax, QWORD PTR -72[rbp]
mov rsi, rdx
mov rdi, rax
call write_event
mov DWORD PTR -92[rbp], eax
cmp DWORD PTR -92[rbp], 0
je .L9
mov eax, -1
jmp .L11
.L9:
lea rdx, -32[rbp]
mov rax, QWORD PTR -72[rbp]
mov rsi, rdx
mov rdi, rax
call write_event
mov DWORD PTR -92[rbp], eax
cmp DWORD PTR -92[rbp], 0
je .L10
mov eax, -1
jmp .L11
.L10:
mov eax, 0
.L11:
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
.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 "444704.c"
.text
.align 2
.global write_event
.syntax unified
.arm
.fpu softvfp
.type write_event, %function
write_event:
@ 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]
mov r2, #1
mov r1, #16
ldr r0, [fp, #-20]
bl fwrite
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #1
beq .L2
mov r3, #1
b .L3
.L2:
mov r3, #0
.L3:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size write_event, .-write_event
.section .rodata
.align 2
.LC0:
.ascii "Usage: %s device_path\012\000"
.align 2
.LC1:
.ascii "/dev/input\000"
.align 2
.LC2:
.ascii "Warning: device %s does not seem to be an evdev fil"
.ascii "e\012\000"
.align 2
.LC3:
.ascii "w\000"
.align 2
.LC4:
.ascii "Could not open file %s: %s\012\000"
.align 2
.LC5:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 64
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #68
str r0, [fp, #-72]
str r1, [fp, #-76]
ldr r3, .L13
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
ldr r3, [fp, #-72]
cmp r3, #2
beq .L5
ldr r3, .L13+4
ldr r0, [r3]
ldr r3, [fp, #-76]
ldr r3, [r3]
mov r2, r3
ldr r1, .L13+8
bl fprintf
mov r3, #1
b .L11
.L5:
ldr r3, [fp, #-76]
ldr r3, [r3, #4]
str r3, [fp, #-64]
ldr r3, .L13+12
str r3, [fp, #-60]
ldr r0, [fp, #-60]
bl strlen
mov r3, r0
mov r2, r3
ldr r1, [fp, #-64]
ldr r0, [fp, #-60]
bl strncmp
mov r3, r0
cmp r3, #0
beq .L7
ldr r3, .L13+4
ldr r3, [r3]
ldr r2, [fp, #-64]
ldr r1, .L13+16
mov r0, r3
bl fprintf
.L7:
ldr r1, .L13+20
ldr r0, [fp, #-64]
bl fopen
str r0, [fp, #-56]
ldr r3, [fp, #-56]
cmp r3, #0
bne .L8
ldr r3, .L13+4
ldr r4, [r3]
bl __errno_location
mov r3, r0
ldr r3, [r3]
mov r0, r3
bl strerror
mov r3, r0
ldr r2, [fp, #-64]
ldr r1, .L13+24
mov r0, r4
bl fprintf
mov r3, #1
b .L11
.L8:
sub r3, fp, #48
mov r2, #0
str r2, [r3]
str r2, [r3, #4]
str r2, [r3, #8]
str r2, [r3, #12]
mov r3, #4
strh r3, [fp, #-40] @ movhi
mov r3, #1
strh r3, [fp, #-38] @ movhi
mov r3, #0
str r3, [fp, #-52]
sub r3, fp, #48
mov r1, r3
ldr r0, [fp, #-56]
bl write_event
str r0, [fp, #-52]
ldr r3, [fp, #-52]
cmp r3, #0
beq .L9
mvn r3, #0
b .L11
.L9:
sub r3, fp, #32
mov r1, r3
ldr r0, [fp, #-56]
bl write_event
str r0, [fp, #-52]
ldr r3, [fp, #-52]
cmp r3, #0
beq .L10
mvn r3, #0
b .L11
.L10:
mov r3, #0
.L11:
ldr r2, .L13
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L12
bl __stack_chk_fail
.L12:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L14:
.align 2
.L13:
.word .LC5
.word stderr
.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 "1000294.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%d %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, 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], 5
je .L2
mov eax, 1
jmp .L12
.L2:
mov rax, QWORD PTR -80[rbp]
add rax, 8
mov rax, QWORD PTR [rax]
mov rdi, rax
call atoi@PLT
mov DWORD PTR -32[rbp], eax
mov rax, QWORD PTR -80[rbp]
add rax, 16
mov rax, QWORD PTR [rax]
mov rdi, rax
call atoi@PLT
mov DWORD PTR -28[rbp], eax
mov rax, QWORD PTR -80[rbp]
add rax, 24
mov rax, QWORD PTR [rax]
mov rdi, rax
call atoi@PLT
mov DWORD PTR -24[rbp], eax
mov rax, QWORD PTR -80[rbp]
add rax, 32
mov rax, QWORD PTR [rax]
mov rdi, rax
call atoi@PLT
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -32[rbp]
mov DWORD PTR -64[rbp], eax
mov eax, DWORD PTR -32[rbp]
mov DWORD PTR -60[rbp], eax
mov eax, DWORD PTR -32[rbp]
mov edi, eax
mov eax, 0
call fibonacci@PLT
mov DWORD PTR -48[rbp], eax
mov ecx, DWORD PTR -20[rbp]
mov edx, DWORD PTR -24[rbp]
mov esi, DWORD PTR -28[rbp]
mov eax, DWORD PTR -32[rbp]
mov edi, eax
mov eax, 0
call max_of_four_int@PLT
mov DWORD PTR -44[rbp], eax
mov DWORD PTR -40[rbp], 0
mov DWORD PTR -36[rbp], 1
mov DWORD PTR -56[rbp], 2
jmp .L4
.L5:
mov edx, DWORD PTR -40[rbp]
mov eax, DWORD PTR -36[rbp]
add eax, edx
mov DWORD PTR -64[rbp], eax
mov eax, DWORD PTR -36[rbp]
mov DWORD PTR -40[rbp], eax
mov eax, DWORD PTR -64[rbp]
mov DWORD PTR -36[rbp], eax
add DWORD PTR -56[rbp], 1
.L4:
mov eax, DWORD PTR -32[rbp]
cmp DWORD PTR -56[rbp], eax
jle .L5
mov DWORD PTR -52[rbp], 1
jmp .L6
.L8:
mov eax, DWORD PTR -52[rbp]
cdqe
mov eax, DWORD PTR -32[rbp+rax*4]
cmp DWORD PTR -60[rbp], eax
jge .L7
mov eax, DWORD PTR -52[rbp]
cdqe
mov eax, DWORD PTR -32[rbp+rax*4]
mov DWORD PTR -60[rbp], eax
.L7:
add DWORD PTR -52[rbp], 1
.L6:
cmp DWORD PTR -52[rbp], 3
jle .L8
mov edx, DWORD PTR -44[rbp]
mov eax, DWORD PTR -48[rbp]
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR -48[rbp]
cmp eax, DWORD PTR -64[rbp]
jne .L9
mov eax, DWORD PTR -44[rbp]
cmp eax, DWORD PTR -60[rbp]
je .L10
.L9:
mov eax, 1
jmp .L12
.L10:
mov eax, 0
.L12:
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 "1000294.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "%d %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 = 64
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #64
str r0, [fp, #-64]
str r1, [fp, #-68]
ldr r3, .L14
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, [fp, #-64]
cmp r3, #5
beq .L2
mov r3, #1
b .L12
.L2:
ldr r3, [fp, #-68]
add r3, r3, #4
ldr r3, [r3]
mov r0, r3
bl atoi
mov r3, r0
str r3, [fp, #-24]
ldr r3, [fp, #-68]
add r3, r3, #8
ldr r3, [r3]
mov r0, r3
bl atoi
mov r3, r0
str r3, [fp, #-20]
ldr r3, [fp, #-68]
add r3, r3, #12
ldr r3, [r3]
mov r0, r3
bl atoi
mov r3, r0
str r3, [fp, #-16]
ldr r3, [fp, #-68]
add r3, r3, #16
ldr r3, [r3]
mov r0, r3
bl atoi
mov r3, r0
str r3, [fp, #-12]
ldr r3, [fp, #-24]
str r3, [fp, #-56]
ldr r3, [fp, #-24]
str r3, [fp, #-52]
ldr r3, [fp, #-24]
mov r0, r3
bl fibonacci
str r0, [fp, #-40]
ldr r0, [fp, #-24]
ldr r1, [fp, #-20]
ldr r2, [fp, #-16]
ldr r3, [fp, #-12]
bl max_of_four_int
str r0, [fp, #-36]
mov r3, #0
str r3, [fp, #-32]
mov r3, #1
str r3, [fp, #-28]
mov r3, #2
str r3, [fp, #-48]
b .L4
.L5:
ldr r2, [fp, #-32]
ldr r3, [fp, #-28]
add r3, r2, r3
str r3, [fp, #-56]
ldr r3, [fp, #-28]
str r3, [fp, #-32]
ldr r3, [fp, #-56]
str r3, [fp, #-28]
ldr r3, [fp, #-48]
add r3, r3, #1
str r3, [fp, #-48]
.L4:
ldr r3, [fp, #-24]
ldr r2, [fp, #-48]
cmp r2, r3
ble .L5
mov r3, #1
str r3, [fp, #-44]
b .L6
.L8:
ldr r3, [fp, #-44]
lsl r3, r3, #2
sub r2, fp, #4
add r3, r2, r3
ldr r3, [r3, #-20]
ldr r2, [fp, #-52]
cmp r2, r3
bge .L7
ldr r3, [fp, #-44]
lsl r3, r3, #2
sub r2, fp, #4
add r3, r2, r3
ldr r3, [r3, #-20]
str r3, [fp, #-52]
.L7:
ldr r3, [fp, #-44]
add r3, r3, #1
str r3, [fp, #-44]
.L6:
ldr r3, [fp, #-44]
cmp r3, #3
ble .L8
ldr r2, [fp, #-36]
ldr r1, [fp, #-40]
ldr r0, .L14+4
bl printf
ldr r2, [fp, #-40]
ldr r3, [fp, #-56]
cmp r2, r3
bne .L9
ldr r2, [fp, #-36]
ldr r3, [fp, #-52]
cmp r2, r3
beq .L10
.L9:
mov r3, #1
b .L12
.L10:
mov r3, #0
.L12:
ldr r2, .L14
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L13
bl __stack_chk_fail
.L13:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L15:
.align 2
.L14:
.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 "344019.c"
.intel_syntax noprefix
.text
.type allZero, @function
allZero:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -4[rbp], 0
jmp .L2
.L4:
add DWORD PTR -4[rbp], 1
.L2:
cmp DWORD PTR -4[rbp], 15
jg .L3
mov eax, DWORD PTR -4[rbp]
movsx rdx, eax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
je .L4
.L3:
cmp DWORD PTR -4[rbp], 16
sete al
movzx eax, al
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size allZero, .-allZero
.section .rodata
.LC0:
.string "pagesize"
.align 8
.LC1:
.string "Page size must be a power of two between 512 and 65536.\n"
.LC2:
.string "Unknown option: %s\n"
.align 8
.LC3:
.string "Already using a different input file: [%s]\n"
.LC4:
.string "No input file specified.\n"
.align 8
.LC5:
.string "Usage: %s [--pagesize N] FILENAME\n"
.LC6:
.string "rb"
.LC7:
.string "Cannot open input file [%s]\n"
.align 8
.LC8:
.string "File too short. Minimum size is 100 bytes.\n"
.LC9:
.string "Cannot read file header\n"
.align 8
.LC10:
.string "Invalid page size in header: %d\n"
.align 8
.LC11:
.string "| size %d pagesize %d filename %s\n"
.align 8
.LC12:
.string "Could not read input file starting at byte %d\n"
.LC13:
.string "| page %d offset %d\n"
.LC14:
.string "| %5d:"
.LC15:
.string " %02x"
.LC16:
.string " "
.LC17:
.string "| end %s\n"
.text
.globl main
.type main, @function
main:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 496
mov DWORD PTR -484[rbp], edi
mov QWORD PTR -496[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -468[rbp], 0
mov DWORD PTR -456[rbp], 0
mov QWORD PTR -440[rbp], 0
mov QWORD PTR -432[rbp], 0
mov DWORD PTR -452[rbp], 0
lea rax, -272[rbp]
mov edx, 256
mov esi, 46
mov rdi, rax
call memset@PLT
mov DWORD PTR -464[rbp], 32
jmp .L7
.L9:
cmp DWORD PTR -464[rbp], 123
je .L8
cmp DWORD PTR -464[rbp], 125
je .L8
cmp DWORD PTR -464[rbp], 34
je .L8
cmp DWORD PTR -464[rbp], 92
je .L8
mov eax, DWORD PTR -464[rbp]
mov edx, eax
mov eax, DWORD PTR -464[rbp]
cdqe
mov BYTE PTR -272[rbp+rax], dl
.L8:
add DWORD PTR -464[rbp], 1
.L7:
cmp DWORD PTR -464[rbp], 126
jle .L9
mov DWORD PTR -464[rbp], 1
jmp .L10
.L18:
mov eax, DWORD PTR -464[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -496[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
movzx eax, BYTE PTR [rax]
cmp al, 45
jne .L11
mov eax, DWORD PTR -464[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -496[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
mov QWORD PTR -424[rbp], rax
add QWORD PTR -424[rbp], 1
mov rax, QWORD PTR -424[rbp]
movzx eax, BYTE PTR [rax]
cmp al, 45
jne .L12
add QWORD PTR -424[rbp], 1
.L12:
mov rax, QWORD PTR -424[rbp]
lea rsi, .LC0[rip]
mov rdi, rax
call strcmp@PLT
test eax, eax
jne .L13
add DWORD PTR -464[rbp], 1
mov eax, DWORD PTR -464[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -496[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
mov rdi, rax
call atoi@PLT
mov DWORD PTR -468[rbp], eax
cmp DWORD PTR -468[rbp], 511
jle .L14
cmp DWORD PTR -468[rbp], 65536
jg .L14
mov eax, DWORD PTR -468[rbp]
sub eax, 1
and eax, DWORD PTR -468[rbp]
test eax, eax
je .L43
.L14:
mov rax, QWORD PTR stderr[rip]
mov rcx, rax
mov edx, 56
mov esi, 1
lea rdi, .LC1[rip]
call fwrite@PLT
add DWORD PTR -456[rbp], 1
jmp .L43
.L13:
mov eax, DWORD PTR -464[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -496[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR stderr[rip]
lea rsi, .LC2[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
add DWORD PTR -456[rbp], 1
jmp .L16
.L11:
cmp QWORD PTR -440[rbp], 0
je .L17
mov eax, DWORD PTR -464[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -496[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR stderr[rip]
lea rsi, .LC3[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
add DWORD PTR -456[rbp], 1
jmp .L16
.L17:
mov eax, DWORD PTR -464[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -496[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
mov QWORD PTR -440[rbp], rax
jmp .L16
.L43:
nop
.L16:
add DWORD PTR -464[rbp], 1
.L10:
mov eax, DWORD PTR -464[rbp]
cmp eax, DWORD PTR -484[rbp]
jl .L18
cmp QWORD PTR -440[rbp], 0
jne .L19
mov rax, QWORD PTR stderr[rip]
mov rcx, rax
mov edx, 25
mov esi, 1
lea rdi, .LC4[rip]
call fwrite@PLT
add DWORD PTR -456[rbp], 1
.L19:
cmp DWORD PTR -456[rbp], 0
je .L20
mov rax, QWORD PTR -496[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR stderr[rip]
lea rsi, .LC5[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov edi, 1
call exit@PLT
.L20:
mov rax, QWORD PTR -440[rbp]
lea rsi, .LC6[rip]
mov rdi, rax
call fopen@PLT
mov QWORD PTR -416[rbp], rax
cmp QWORD PTR -416[rbp], 0
jne .L21
mov rax, QWORD PTR stderr[rip]
mov rdx, QWORD PTR -440[rbp]
lea rsi, .LC7[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov edi, 1
call exit@PLT
.L21:
mov rax, QWORD PTR -416[rbp]
mov edx, 2
mov esi, 0
mov rdi, rax
call fseek@PLT
mov rax, QWORD PTR -416[rbp]
mov rdi, rax
call ftell@PLT
mov QWORD PTR -408[rbp], rax
mov rax, QWORD PTR -416[rbp]
mov rdi, rax
call rewind@PLT
cmp QWORD PTR -408[rbp], 99
jg .L22
mov rax, QWORD PTR stderr[rip]
mov rcx, rax
mov edx, 43
mov esi, 1
lea rdi, .LC8[rip]
call fwrite@PLT
mov edi, 1
call exit@PLT
.L22:
mov rdx, QWORD PTR -416[rbp]
lea rax, -384[rbp]
mov rcx, rdx
mov edx, 1
mov esi, 100
mov rdi, rax
call fread@PLT
cmp rax, 1
je .L23
mov rax, QWORD PTR stderr[rip]
mov rcx, rax
mov edx, 24
mov esi, 1
lea rdi, .LC9[rip]
call fwrite@PLT
mov edi, 1
call exit@PLT
.L23:
mov rax, QWORD PTR -416[rbp]
mov rdi, rax
call rewind@PLT
cmp DWORD PTR -468[rbp], 0
jne .L24
movzx eax, BYTE PTR -368[rbp]
movzx eax, al
sal eax, 8
mov edx, eax
movzx eax, BYTE PTR -367[rbp]
movzx eax, al
or eax, edx
mov DWORD PTR -468[rbp], eax
cmp DWORD PTR -468[rbp], 1
jne .L25
mov DWORD PTR -468[rbp], 65536
.L25:
cmp DWORD PTR -468[rbp], 511
jle .L26
mov eax, DWORD PTR -468[rbp]
sub eax, 1
and eax, DWORD PTR -468[rbp]
test eax, eax
je .L24
.L26:
mov rax, QWORD PTR stderr[rip]
mov edx, DWORD PTR -468[rbp]
lea rsi, .LC10[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov edi, 1
call exit@PLT
.L24:
mov rax, QWORD PTR -440[rbp]
mov QWORD PTR -432[rbp], rax
mov DWORD PTR -464[rbp], 0
jmp .L27
.L29:
mov eax, DWORD PTR -464[rbp]
movsx rdx, eax
mov rax, QWORD PTR -440[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
cmp al, 47
jne .L28
mov eax, DWORD PTR -464[rbp]
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -440[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
je .L28
mov eax, DWORD PTR -464[rbp]
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -440[rbp]
add rax, rdx
mov QWORD PTR -432[rbp], rax
.L28:
add DWORD PTR -464[rbp], 1
.L27:
mov eax, DWORD PTR -464[rbp]
movsx rdx, eax
mov rax, QWORD PTR -440[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L29
mov rax, QWORD PTR -408[rbp]
mov esi, eax
mov rdx, QWORD PTR -432[rbp]
mov eax, DWORD PTR -468[rbp]
mov rcx, rdx
mov edx, eax
lea rdi, .LC11[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -464[rbp], 0
jmp .L30
.L40:
mov rdx, QWORD PTR -416[rbp]
lea rax, -400[rbp]
mov rcx, rdx
mov edx, 16
mov esi, 1
mov rdi, rax
call fread@PLT
mov DWORD PTR -448[rbp], eax
cmp DWORD PTR -448[rbp], 16
je .L31
mov eax, DWORD PTR once.0[rip]
test eax, eax
je .L32
mov edx, DWORD PTR -464[rbp]
mov eax, DWORD PTR -448[rbp]
add edx, eax
mov rax, QWORD PTR stderr[rip]
lea rsi, .LC12[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
.L32:
mov eax, 16
sub eax, DWORD PTR -448[rbp]
cdqe
mov edx, DWORD PTR -448[rbp]
movsx rdx, edx
lea rcx, -400[rbp]
add rcx, rdx
mov rdx, rax
mov esi, 0
mov rdi, rcx
call memset@PLT
.L31:
lea rax, -400[rbp]
mov rdi, rax
call allZero
test eax, eax
jne .L44
mov eax, DWORD PTR -464[rbp]
cdq
idiv DWORD PTR -468[rbp]
add eax, 1
mov DWORD PTR -444[rbp], eax
mov eax, DWORD PTR -452[rbp]
cmp eax, DWORD PTR -444[rbp]
je .L35
mov eax, DWORD PTR -444[rbp]
sub eax, 1
imul eax, DWORD PTR -468[rbp]
mov edx, eax
mov eax, DWORD PTR -444[rbp]
mov esi, eax
lea rdi, .LC13[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR -444[rbp]
mov DWORD PTR -452[rbp], eax
.L35:
mov eax, DWORD PTR -444[rbp]
sub eax, 1
imul eax, DWORD PTR -468[rbp]
mov edx, eax
mov eax, DWORD PTR -464[rbp]
sub eax, edx
mov esi, eax
lea rdi, .LC14[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -460[rbp], 0
jmp .L36
.L37:
mov eax, DWORD PTR -460[rbp]
cdqe
movzx eax, BYTE PTR -400[rbp+rax]
movzx eax, al
mov esi, eax
lea rdi, .LC15[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -460[rbp], 1
.L36:
cmp DWORD PTR -460[rbp], 15
jle .L37
lea rdi, .LC16[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -460[rbp], 0
jmp .L38
.L39:
mov eax, DWORD PTR -460[rbp]
cdqe
movzx eax, BYTE PTR -400[rbp+rax]
mov BYTE PTR -469[rbp], al
mov rdx, QWORD PTR stdout[rip]
movzx eax, BYTE PTR -469[rbp]
cdqe
movzx eax, BYTE PTR -272[rbp+rax]
movzx eax, al
mov rsi, rdx
mov edi, eax
call fputc@PLT
add DWORD PTR -460[rbp], 1
.L38:
cmp DWORD PTR -460[rbp], 15
jle .L39
mov rax, QWORD PTR stdout[rip]
mov rsi, rax
mov edi, 10
call fputc@PLT
jmp .L34
.L44:
nop
.L34:
add DWORD PTR -464[rbp], 16
.L30:
mov eax, DWORD PTR -464[rbp]
cdqe
cmp QWORD PTR -408[rbp], rax
jg .L40
mov rax, QWORD PTR -416[rbp]
mov rdi, rax
call fclose@PLT
mov rax, QWORD PTR -432[rbp]
mov rsi, rax
lea rdi, .LC17[rip]
mov eax, 0
call printf@PLT
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L42
call __stack_chk_fail@PLT
.L42:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size main, .-main
.data
.align 4
.type once.0, @object
.size once.0, 4
once.0:
.long 1
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "344019.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type allZero, %function
allZero:
@ 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
.L4:
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L2:
ldr r3, [fp, #-8]
cmp r3, #15
bgt .L3
ldr r3, [fp, #-8]
ldr r2, [fp, #-16]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
beq .L4
.L3:
ldr r3, [fp, #-8]
cmp r3, #16
moveq r3, #1
movne r3, #0
and r3, r3, #255
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size allZero, .-allZero
.section .rodata
.align 2
.LC0:
.ascii "pagesize\000"
.align 2
.LC1:
.ascii "Page size must be a power of two between 512 and 65"
.ascii "536.\012\000"
.align 2
.LC2:
.ascii "Unknown option: %s\012\000"
.align 2
.LC3:
.ascii "Already using a different input file: [%s]\012\000"
.align 2
.LC4:
.ascii "No input file specified.\012\000"
.align 2
.LC5:
.ascii "Usage: %s [--pagesize N] FILENAME\012\000"
.align 2
.LC6:
.ascii "rb\000"
.align 2
.LC7:
.ascii "Cannot open input file [%s]\012\000"
.align 2
.LC8:
.ascii "File too short. Minimum size is 100 bytes.\012\000"
.align 2
.LC9:
.ascii "Cannot read file header\012\000"
.align 2
.LC10:
.ascii "Invalid page size in header: %d\012\000"
.align 2
.LC11:
.ascii "| size %d pagesize %d filename %s\012\000"
.align 2
.LC12:
.ascii "Could not read input file starting at byte %d\012\000"
.global __aeabi_idiv
.align 2
.LC13:
.ascii "| page %d offset %d\012\000"
.align 2
.LC14:
.ascii "| %5d:\000"
.align 2
.LC15:
.ascii " %02x\000"
.align 2
.LC16:
.ascii " \000"
.align 2
.LC17:
.ascii "| end %s\012\000"
.align 2
.LC18:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 440
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #440
str r0, [fp, #-440]
str r1, [fp, #-444]
ldr r3, .L45
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-428]
mov r3, #0
str r3, [fp, #-416]
mov r3, #0
str r3, [fp, #-412]
mov r3, #0
str r3, [fp, #-408]
mov r3, #0
str r3, [fp, #-404]
sub r3, fp, #264
mov r2, #256
mov r1, #46
mov r0, r3
bl memset
mov r3, #32
str r3, [fp, #-424]
b .L7
.L9:
ldr r3, [fp, #-424]
cmp r3, #123
beq .L8
ldr r3, [fp, #-424]
cmp r3, #125
beq .L8
ldr r3, [fp, #-424]
cmp r3, #34
beq .L8
ldr r3, [fp, #-424]
cmp r3, #92
beq .L8
ldr r3, [fp, #-424]
and r1, r3, #255
sub r2, fp, #264
ldr r3, [fp, #-424]
add r3, r2, r3
mov r2, r1
strb r2, [r3]
.L8:
ldr r3, [fp, #-424]
add r3, r3, #1
str r3, [fp, #-424]
.L7:
ldr r3, [fp, #-424]
cmp r3, #126
ble .L9
mov r3, #1
str r3, [fp, #-424]
b .L10
.L18:
ldr r3, [fp, #-424]
lsl r3, r3, #2
ldr r2, [fp, #-444]
add r3, r2, r3
ldr r3, [r3]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #45
bne .L11
ldr r3, [fp, #-424]
lsl r3, r3, #2
ldr r2, [fp, #-444]
add r3, r2, r3
ldr r3, [r3]
str r3, [fp, #-400]
ldr r3, [fp, #-400]
add r3, r3, #1
str r3, [fp, #-400]
ldr r3, [fp, #-400]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #45
bne .L12
ldr r3, [fp, #-400]
add r3, r3, #1
str r3, [fp, #-400]
.L12:
ldr r1, .L45+4
ldr r0, [fp, #-400]
bl strcmp
mov r3, r0
cmp r3, #0
bne .L13
ldr r3, [fp, #-424]
add r3, r3, #1
str r3, [fp, #-424]
ldr r3, [fp, #-424]
lsl r3, r3, #2
ldr r2, [fp, #-444]
add r3, r2, r3
ldr r3, [r3]
mov r0, r3
bl atoi
str r0, [fp, #-428]
ldr r3, [fp, #-428]
cmp r3, #512
blt .L14
ldr r3, [fp, #-428]
cmp r3, #65536
bgt .L14
ldr r3, [fp, #-428]
sub r2, r3, #1
ldr r3, [fp, #-428]
and r3, r3, r2
cmp r3, #0
beq .L43
.L14:
ldr r3, .L45+8
ldr r3, [r3]
mov r2, #56
mov r1, #1
ldr r0, .L45+12
bl fwrite
ldr r3, [fp, #-416]
add r3, r3, #1
str r3, [fp, #-416]
b .L43
.L13:
ldr r3, .L45+8
ldr r0, [r3]
ldr r3, [fp, #-424]
lsl r3, r3, #2
ldr r2, [fp, #-444]
add r3, r2, r3
ldr r3, [r3]
mov r2, r3
ldr r1, .L45+16
bl fprintf
ldr r3, [fp, #-416]
add r3, r3, #1
str r3, [fp, #-416]
b .L16
.L11:
ldr r3, [fp, #-412]
cmp r3, #0
beq .L17
ldr r3, .L45+8
ldr r0, [r3]
ldr r3, [fp, #-424]
lsl r3, r3, #2
ldr r2, [fp, #-444]
add r3, r2, r3
ldr r3, [r3]
mov r2, r3
ldr r1, .L45+20
bl fprintf
ldr r3, [fp, #-416]
add r3, r3, #1
str r3, [fp, #-416]
b .L16
.L17:
ldr r3, [fp, #-424]
lsl r3, r3, #2
ldr r2, [fp, #-444]
add r3, r2, r3
ldr r3, [r3]
str r3, [fp, #-412]
b .L16
.L43:
nop
.L16:
ldr r3, [fp, #-424]
add r3, r3, #1
str r3, [fp, #-424]
.L10:
ldr r2, [fp, #-424]
ldr r3, [fp, #-440]
cmp r2, r3
blt .L18
ldr r3, [fp, #-412]
cmp r3, #0
bne .L19
ldr r3, .L45+8
ldr r3, [r3]
mov r2, #25
mov r1, #1
ldr r0, .L45+24
bl fwrite
ldr r3, [fp, #-416]
add r3, r3, #1
str r3, [fp, #-416]
.L19:
ldr r3, [fp, #-416]
cmp r3, #0
beq .L20
ldr r3, .L45+8
ldr r0, [r3]
ldr r3, [fp, #-444]
ldr r3, [r3]
mov r2, r3
ldr r1, .L45+28
bl fprintf
mov r0, #1
bl exit
.L20:
ldr r1, .L45+32
ldr r0, [fp, #-412]
bl fopen
str r0, [fp, #-396]
ldr r3, [fp, #-396]
cmp r3, #0
bne .L21
ldr r3, .L45+8
ldr r3, [r3]
ldr r2, [fp, #-412]
ldr r1, .L45+36
mov r0, r3
bl fprintf
mov r0, #1
bl exit
.L21:
mov r2, #2
mov r1, #0
ldr r0, [fp, #-396]
bl fseek
ldr r0, [fp, #-396]
bl ftell
str r0, [fp, #-392]
ldr r0, [fp, #-396]
bl rewind
ldr r3, [fp, #-392]
cmp r3, #99
bgt .L22
ldr r3, .L45+8
ldr r3, [r3]
mov r2, #43
mov r1, #1
ldr r0, .L45+40
bl fwrite
mov r0, #1
bl exit
.L22:
sub r0, fp, #364
ldr r3, [fp, #-396]
mov r2, #1
mov r1, #100
bl fread
mov r3, r0
cmp r3, #1
beq .L23
ldr r3, .L45+8
ldr r3, [r3]
mov r2, #24
mov r1, #1
ldr r0, .L45+44
bl fwrite
mov r0, #1
bl exit
.L23:
ldr r0, [fp, #-396]
bl rewind
ldr r3, [fp, #-428]
cmp r3, #0
bne .L24
ldrb r3, [fp, #-348] @ zero_extendqisi2
lsl r3, r3, #8
ldrb r2, [fp, #-347] @ zero_extendqisi2
orr r3, r3, r2
str r3, [fp, #-428]
ldr r3, [fp, #-428]
cmp r3, #1
bne .L25
mov r3, #65536
str r3, [fp, #-428]
.L25:
ldr r3, [fp, #-428]
cmp r3, #512
blt .L26
ldr r3, [fp, #-428]
sub r2, r3, #1
ldr r3, [fp, #-428]
and r3, r3, r2
cmp r3, #0
beq .L24
.L26:
ldr r3, .L45+8
ldr r3, [r3]
ldr r2, [fp, #-428]
ldr r1, .L45+48
mov r0, r3
bl fprintf
mov r0, #1
bl exit
.L24:
ldr r3, [fp, #-412]
str r3, [fp, #-408]
mov r3, #0
str r3, [fp, #-424]
b .L27
.L29:
ldr r3, [fp, #-424]
ldr r2, [fp, #-412]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #47
bne .L28
ldr r3, [fp, #-424]
add r3, r3, #1
ldr r2, [fp, #-412]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
beq .L28
ldr r3, [fp, #-424]
add r3, r3, #1
ldr r2, [fp, #-412]
add r3, r2, r3
str r3, [fp, #-408]
.L28:
ldr r3, [fp, #-424]
add r3, r3, #1
str r3, [fp, #-424]
.L27:
ldr r3, [fp, #-424]
ldr r2, [fp, #-412]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L29
ldr r3, [fp, #-408]
ldr r2, [fp, #-428]
ldr r1, [fp, #-392]
ldr r0, .L45+52
bl printf
mov r3, #0
str r3, [fp, #-424]
b .L30
.L40:
sub r0, fp, #380
ldr r3, [fp, #-396]
mov r2, #16
mov r1, #1
bl fread
mov r3, r0
str r3, [fp, #-388]
ldr r3, [fp, #-388]
cmp r3, #16
beq .L31
ldr r3, .L45+56
ldr r3, [r3]
cmp r3, #0
beq .L32
ldr r3, .L45+8
ldr r0, [r3]
ldr r2, [fp, #-424]
ldr r3, [fp, #-388]
add r3, r2, r3
mov r2, r3
ldr r1, .L45+60
bl fprintf
.L32:
ldr r3, [fp, #-388]
sub r2, fp, #380
add r0, r2, r3
ldr r3, [fp, #-388]
rsb r3, r3, #16
mov r2, r3
mov r1, #0
bl memset
.L31:
sub r3, fp, #380
mov r0, r3
bl allZero
mov r3, r0
cmp r3, #0
bne .L44
ldr r1, [fp, #-428]
ldr r0, [fp, #-424]
bl __aeabi_idiv
mov r3, r0
add r3, r3, #1
str r3, [fp, #-384]
ldr r2, [fp, #-404]
ldr r3, [fp, #-384]
cmp r2, r3
beq .L35
ldr r3, [fp, #-384]
sub r3, r3, #1
ldr r2, [fp, #-428]
mul r3, r2, r3
mov r2, r3
ldr r1, [fp, #-384]
ldr r0, .L45+64
bl printf
ldr r3, [fp, #-384]
str r3, [fp, #-404]
.L35:
ldr r3, [fp, #-384]
sub r3, r3, #1
ldr r2, [fp, #-428]
mul r3, r2, r3
ldr r2, [fp, #-424]
sub r3, r2, r3
mov r1, r3
ldr r0, .L45+68
bl printf
mov r3, #0
str r3, [fp, #-420]
b .L36
.L37:
sub r2, fp, #380
ldr r3, [fp, #-420]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
mov r1, r3
ldr r0, .L45+72
bl printf
ldr r3, [fp, #-420]
add r3, r3, #1
str r3, [fp, #-420]
.L36:
ldr r3, [fp, #-420]
cmp r3, #15
ble .L37
ldr r0, .L45+76
bl printf
mov r3, #0
str r3, [fp, #-420]
b .L38
.L39:
sub r2, fp, #380
ldr r3, [fp, #-420]
add r3, r2, r3
ldrb r3, [r3]
strb r3, [fp, #-429]
ldrb r3, [fp, #-429] @ zero_extendqisi2
sub r2, fp, #4
add r3, r2, r3
ldrb r3, [r3, #-260] @ zero_extendqisi2
mov r2, r3
ldr r3, .L45+80
ldr r3, [r3]
mov r1, r3
mov r0, r2
bl fputc
ldr r3, [fp, #-420]
add r3, r3, #1
str r3, [fp, #-420]
.L38:
ldr r3, [fp, #-420]
cmp r3, #15
ble .L39
ldr r3, .L45+80
ldr r3, [r3]
mov r1, r3
mov r0, #10
bl fputc
b .L34
.L44:
nop
.L34:
ldr r3, [fp, #-424]
add r3, r3, #16
str r3, [fp, #-424]
.L30:
ldr r2, [fp, #-424]
ldr r3, [fp, #-392]
cmp r2, r3
blt .L40
ldr r0, [fp, #-396]
bl fclose
ldr r1, [fp, #-408]
ldr r0, .L45+84
bl printf
mov r3, #0
ldr r2, .L45
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L42
bl __stack_chk_fail
.L42:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L46:
.align 2
.L45:
.word .LC18
.word .LC0
.word stderr
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.word .LC5
.word .LC6
.word .LC7
.word .LC8
.word .LC9
.word .LC10
.word .LC11
.word once.5434
.word .LC12
.word .LC13
.word .LC14
.word .LC15
.word .LC16
.word stdout
.word .LC17
.size main, .-main
.data
.align 2
.type once.5434, %object
.size once.5434, 4
once.5434:
.word 1
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "725273.c"
.intel_syntax noprefix
.text
.globl foo
.type foo, @function
foo:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size foo, .-foo
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "725273.c"
.text
.align 2
.global foo
.syntax unified
.arm
.fpu softvfp
.type foo, %function
foo:
@ 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 foo, .-foo
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "542767.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "skipped"
.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
lea rdi, .LC0[rip]
call puts@PLT
mov eax, 0
pop rbp
.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 "542767.c"
.text
.global __aeabi_dcmpge
.section .rodata
.align 2
.LC0:
.ascii "error in __gedf2vfp(%f, %f) = %d, expected %d\012\000"
.text
.align 2
.global test__gedf2vfp
.syntax unified
.arm
.fpu softvfp
.type test__gedf2vfp, %function
test__gedf2vfp:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #44
str r0, [fp, #-28]
str r1, [fp, #-24]
str r2, [fp, #-36]
str r3, [fp, #-32]
sub r3, fp, #36
ldmia r3, {r2-r3}
sub r1, fp, #28
ldmia r1, {r0-r1}
bl __gedf2vfp
str r0, [fp, #-20]
mov r3, #1
mov r4, r3
sub r3, fp, #36
ldmia r3, {r2-r3}
sub r1, fp, #28
ldmia r1, {r0-r1}
bl __aeabi_dcmpge
mov r3, r0
cmp r3, #0
bne .L2
mov r3, #0
mov r4, r3
.L2:
and r3, r4, #255
str r3, [fp, #-16]
ldr r2, [fp, #-20]
ldr r3, [fp, #-16]
cmp r2, r3
beq .L3
ldr r3, [fp, #-16]
str r3, [sp, #12]
ldr r3, [fp, #-20]
str r3, [sp, #8]
sub r3, fp, #36
ldmia r3, {r2-r3}
stm sp, {r2-r3}
sub r3, fp, #28
ldmia r3, {r2-r3}
ldr r0, .L5
bl printf
.L3:
ldr r2, [fp, #-20]
ldr r3, [fp, #-16]
cmp r2, r3
movne r3, #1
moveq r3, #0
and r3, r3, #255
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L6:
.align 2
.L5:
.word .LC0
.size test__gedf2vfp, .-test__gedf2vfp
.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, #0
mov r3, #0
mov r0, #0
mov r1, #0
bl test__gedf2vfp
mov r3, r0
cmp r3, #0
beq .L8
mov r3, #1
b .L9
.L8:
mov r2, #0
mov r3, #0
mov r0, #0
ldr r1, .L15
bl test__gedf2vfp
mov r3, r0
cmp r3, #0
beq .L10
mov r3, #1
b .L9
.L10:
mov r2, #0
mov r3, #-1073741824
mov r0, #0
ldr r1, .L15+4
bl test__gedf2vfp
mov r3, r0
cmp r3, #0
beq .L11
mov r3, #1
b .L9
.L11:
mov r2, #0
ldr r3, .L15+4
mov r0, #0
mov r1, #-1073741824
bl test__gedf2vfp
mov r3, r0
cmp r3, #0
beq .L12
mov r3, #1
b .L9
.L12:
mov r2, #0
ldr r3, .L15
mov r0, #0
ldr r1, .L15+8
bl test__gedf2vfp
mov r3, r0
cmp r3, #0
beq .L13
mov r3, #1
b .L9
.L13:
mov r2, #0
ldr r3, .L15+8
mov r0, #0
ldr r1, .L15
bl test__gedf2vfp
mov r3, r0
cmp r3, #0
beq .L14
mov r3, #1
b .L9
.L14:
mov r3, #0
.L9:
mov r0, r3
pop {fp, pc}
.L16:
.align 2
.L15:
.word 1072693248
.word -1074790400
.word 2146435072
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "360984.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "0x%02X"
.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], 0
mov DWORD PTR -8[rbp], 0
jmp .L2
.L7:
mov eax, DWORD PTR -4[rbp]
mov BYTE PTR -13[rbp], al
cmp DWORD PTR -12[rbp], 0
je .L3
mov edi, 44
call putchar@PLT
jmp .L4
.L3:
mov DWORD PTR -12[rbp], 1
.L4:
cmp DWORD PTR -8[rbp], 8
jne .L5
mov DWORD PTR -8[rbp], 0
mov edi, 10
call putchar@PLT
.L5:
cmp DWORD PTR -8[rbp], 0
jne .L6
mov edi, 9
call putchar@PLT
.L6:
mov eax, DWORD PTR -4[rbp]
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -8[rbp], 1
.L2:
call getchar@PLT
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], -1
jne .L7
cmp DWORD PTR -8[rbp], 0
je .L8
mov edi, 10
call putchar@PLT
.L8:
mov edi, 0
call exit@PLT
.cfi_endproc
.LFE0:
.size main, .-main
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "360984.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "0x%02X\000"
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
mov r3, #0
str r3, [fp, #-16]
mov r3, #0
str r3, [fp, #-12]
b .L2
.L7:
ldr r3, [fp, #-8]
strb r3, [fp, #-17]
ldr r3, [fp, #-16]
cmp r3, #0
beq .L3
mov r0, #44
bl putchar
b .L4
.L3:
mov r3, #1
str r3, [fp, #-16]
.L4:
ldr r3, [fp, #-12]
cmp r3, #8
bne .L5
mov r3, #0
str r3, [fp, #-12]
mov r0, #10
bl putchar
.L5:
ldr r3, [fp, #-12]
cmp r3, #0
bne .L6
mov r0, #9
bl putchar
.L6:
ldr r1, [fp, #-8]
ldr r0, .L9
bl printf
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L2:
bl getchar
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmn r3, #1
bne .L7
ldr r3, [fp, #-12]
cmp r3, #0
beq .L8
mov r0, #10
bl putchar
.L8:
mov r0, #0
bl exit
.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 "418581.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 "418581.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 "870179.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%f"
.text
.globl main
.type main, @function
main:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -13[rbp], 29477
mov BYTE PTR -9[rbp], 0
lea rdx, -20[rbp]
lea rax, -13[rbp]
mov rsi, rdx
mov rdi, rax
mov eax, 0
call __isoc99_scanf@PLT
movss xmm0, DWORD PTR -20[rbp]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
movq rax, xmm1
movq xmm0, rax
lea rdi, .LC0[rip]
mov eax, 1
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
.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 "870179.c"
.text
.global __aeabi_f2d
.section .rodata
.align 2
.LC0:
.ascii "%f\000"
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
ldr r3, .L4
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, .L4+4
str r3, [fp, #-16]
mov r3, #0
strb r3, [fp, #-12]
sub r2, fp, #20
sub r3, fp, #16
mov r1, r2
mov r0, r3
bl __isoc99_scanf
ldr r3, [fp, #-20] @ float
mov r0, r3
bl __aeabi_f2d
mov r2, r0
mov r3, r1
ldr r0, .L4+8
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 .LC1
.word 29477
.word .LC0
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "522701.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "the_stack_data/522701.c"
.LC1:
.string "x >= 1"
.LC2:
.string "y >= 1"
.align 8
.LC3:
.string "input refuting y + 9999 >= 0: %d %d\n"
.align 8
.LC4:
.string "input refuting -y + 9999 >= 0: %d %d\n"
.text
.globl mainQ
.type mainQ, @function
mainQ:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov DWORD PTR -20[rbp], edi
mov DWORD PTR -24[rbp], esi
mov eax, DWORD PTR -20[rbp]
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -24[rbp]
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -8[rbp], 0
jg .L2
lea rcx, __PRETTY_FUNCTION__.0[rip]
mov edx, 10
lea rsi, .LC0[rip]
lea rdi, .LC1[rip]
call __assert_fail@PLT
.L2:
cmp DWORD PTR -4[rbp], 0
jg .L3
lea rcx, __PRETTY_FUNCTION__.0[rip]
mov edx, 11
lea rsi, .LC0[rip]
lea rdi, .LC2[rip]
call __assert_fail@PLT
.L3:
mov eax, DWORD PTR -8[rbp]
mov DWORD PTR -16[rbp], eax
jmp .L4
.L9:
mov eax, DWORD PTR -4[rbp]
mov DWORD PTR -12[rbp], eax
jmp .L5
.L8:
cmp DWORD PTR -4[rbp], -9999
jge .L6
mov edx, DWORD PTR -24[rbp]
mov eax, DWORD PTR -20[rbp]
mov esi, eax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
.L6:
mov eax, 9999
sub eax, DWORD PTR -4[rbp]
test eax, eax
jns .L7
mov edx, DWORD PTR -24[rbp]
mov eax, DWORD PTR -20[rbp]
mov esi, eax
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
.L7:
sal DWORD PTR -12[rbp]
.L5:
mov eax, DWORD PTR -12[rbp]
add eax, eax
cmp DWORD PTR -16[rbp], eax
jge .L8
mov eax, DWORD PTR -12[rbp]
sub DWORD PTR -16[rbp], eax
.L4:
mov eax, DWORD PTR -16[rbp]
cmp eax, DWORD PTR -4[rbp]
jge .L9
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size mainQ, .-mainQ
.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
push rbx
sub rsp, 24
.cfi_offset 3, -24
mov DWORD PTR -20[rbp], edi
mov QWORD PTR -32[rbp], rsi
mov rax, QWORD PTR -32[rbp]
add rax, 16
mov rax, QWORD PTR [rax]
mov rdi, rax
call atoi@PLT
mov ebx, eax
mov rax, QWORD PTR -32[rbp]
add rax, 8
mov rax, QWORD PTR [rax]
mov rdi, rax
call atoi@PLT
mov esi, ebx
mov edi, eax
call mainQ
mov eax, 0
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size main, .-main
.section .rodata
.type __PRETTY_FUNCTION__.0, @object
.size __PRETTY_FUNCTION__.0, 6
__PRETTY_FUNCTION__.0:
.string "mainQ"
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "522701.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "the_stack_data/522701.c\000"
.align 2
.LC1:
.ascii "x >= 1\000"
.align 2
.LC2:
.ascii "y >= 1\000"
.align 2
.LC3:
.ascii "input refuting y + 9999 >= 0: %d %d\012\000"
.align 2
.LC4:
.ascii "input refuting -y + 9999 >= 0: %d %d\012\000"
.text
.align 2
.global mainQ
.syntax unified
.arm
.fpu softvfp
.type mainQ, %function
mainQ:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
str r0, [fp, #-24]
str r1, [fp, #-28]
ldr r3, [fp, #-24]
str r3, [fp, #-12]
ldr r3, [fp, #-28]
str r3, [fp, #-8]
ldr r3, [fp, #-12]
cmp r3, #0
bgt .L2
ldr r3, .L10
mov r2, #10
ldr r1, .L10+4
ldr r0, .L10+8
bl __assert_fail
.L2:
ldr r3, [fp, #-8]
cmp r3, #0
bgt .L3
ldr r3, .L10
mov r2, #11
ldr r1, .L10+4
ldr r0, .L10+12
bl __assert_fail
.L3:
ldr r3, [fp, #-12]
str r3, [fp, #-20]
b .L4
.L9:
ldr r3, [fp, #-8]
str r3, [fp, #-16]
b .L5
.L8:
ldr r3, [fp, #-8]
ldr r2, .L10+16
cmp r3, r2
bge .L6
ldr r2, [fp, #-28]
ldr r1, [fp, #-24]
ldr r0, .L10+20
bl printf
.L6:
ldr r3, [fp, #-8]
rsb r3, r3, #9984
add r3, r3, #15
cmp r3, #0
bge .L7
ldr r2, [fp, #-28]
ldr r1, [fp, #-24]
ldr r0, .L10+24
bl printf
.L7:
ldr r3, [fp, #-16]
lsl r3, r3, #1
str r3, [fp, #-16]
.L5:
ldr r3, [fp, #-16]
lsl r3, r3, #1
ldr r2, [fp, #-20]
cmp r2, r3
bge .L8
ldr r2, [fp, #-20]
ldr r3, [fp, #-16]
sub r3, r2, r3
str r3, [fp, #-20]
.L4:
ldr r2, [fp, #-20]
ldr r3, [fp, #-8]
cmp r2, r3
bge .L9
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L11:
.align 2
.L10:
.word __PRETTY_FUNCTION__.5135
.word .LC0
.word .LC1
.word .LC2
.word -9999
.word .LC3
.word .LC4
.size mainQ, .-mainQ
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #12
str r0, [fp, #-16]
str r1, [fp, #-20]
ldr r3, [fp, #-20]
add r3, r3, #4
ldr r3, [r3]
mov r0, r3
bl atoi
mov r4, r0
ldr r3, [fp, #-20]
add r3, r3, #8
ldr r3, [r3]
mov r0, r3
bl atoi
mov r3, r0
mov r1, r3
mov r0, r4
bl mainQ
mov r3, #0
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.size main, .-main
.section .rodata
.align 2
.type __PRETTY_FUNCTION__.5135, %object
.size __PRETTY_FUNCTION__.5135, 6
__PRETTY_FUNCTION__.5135:
.ascii "mainQ\000"
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "136336.c"
.intel_syntax noprefix
.text
.globl a3
.data
.type a3, @object
.size a3, 9
a3:
.byte 111
.string "wx"
.zero 1
.string "ab"
.zero 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
movzx eax, BYTE PTR a3[rip+1]
movsx edx, al
movzx eax, BYTE PTR a3[rip+2]
movsx eax, al
add edx, eax
movzx eax, BYTE PTR a3[rip+3]
movsx eax, al
add edx, eax
movzx eax, BYTE PTR a3[rip+5]
movsx eax, al
add edx, eax
movzx eax, BYTE PTR a3[rip+6]
movsx eax, al
add edx, eax
movzx eax, BYTE PTR a3[rip+7]
movsx eax, al
add eax, edx
cdq
shr edx, 24
add eax, edx
movzx eax, al
sub 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 "136336.c"
.text
.global a3
.data
.align 2
.type a3, %object
.size a3, 9
a3:
.byte 111
.ascii "wx\000"
.space 1
.ascii "ab\000"
.space 1
.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
ldr r3, .L3
ldrb r3, [r3, #1] @ zero_extendqisi2
mov r2, r3
ldr r3, .L3
ldrb r3, [r3, #2] @ zero_extendqisi2
add r3, r2, r3
ldr r2, .L3
ldrb r2, [r2, #3] @ zero_extendqisi2
add r3, r3, r2
ldr r2, .L3
ldrb r2, [r2, #5] @ zero_extendqisi2
add r3, r3, r2
ldr r2, .L3
ldrb r2, [r2, #6] @ zero_extendqisi2
add r3, r3, r2
ldr r2, .L3
ldrb r2, [r2, #7] @ zero_extendqisi2
add r3, r3, r2
rsbs r2, r3, #0
and r3, r3, #255
and r2, r2, #255
rsbpl r3, r2, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L4:
.align 2
.L3:
.word a3
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "499329.c"
.intel_syntax noprefix
.text
.globl foo1
.type foo1, @function
foo1:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov rax, QWORD PTR p[rip]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size foo1, .-foo1
.globl foo2
.type foo2, @function
foo2:
.LFB1:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
call bar@PLT
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size foo2, .-foo2
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "499329.c"
.text
.align 2
.global foo1
.syntax unified
.arm
.fpu softvfp
.type foo1, %function
foo1:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
ldr r3, .L3
ldr r3, [r3]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L4:
.align 2
.L3:
.word p
.size foo1, .-foo1
.align 2
.global foo2
.syntax unified
.arm
.fpu softvfp
.type foo2, %function
foo2:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
bl bar
mov r3, r0
mov r0, r3
pop {fp, pc}
.size foo2, .-foo2
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "469735.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string " (core dumped)"
.LC1:
.string ""
.text
.globl handle_sub
.type handle_sub, @function
handle_sub:
.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 eax, DWORD PTR -4[rbp]
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -8[rbp]
and eax, 128
test eax, eax
je .L2
lea rax, .LC0[rip]
jmp .L3
.L2:
lea rax, .LC1[rip]
.L3:
mov rsi, rax
mov edi, 0
call kill@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size handle_sub, .-handle_sub
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "469735.c"
.text
.section .rodata
.align 2
.LC0:
.ascii " (core dumped)\000"
.align 2
.LC1:
.ascii "\000"
.text
.align 2
.global handle_sub
.syntax unified
.arm
.fpu softvfp
.type handle_sub, %function
handle_sub:
@ 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, #-8]
str r3, [fp, #-12]
ldr r3, [fp, #-12]
and r3, r3, #128
cmp r3, #0
beq .L2
ldr r3, .L4
b .L3
.L2:
ldr r3, .L4+4
.L3:
mov r1, r3
mov r0, #0
bl kill
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L5:
.align 2
.L4:
.word .LC0
.word .LC1
.size handle_sub, .-handle_sub
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "476679.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 "476679.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "153431.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "Enter a positive integer: "
.LC1:
.string "%d"
.LC2:
.string "%d is a prime number."
.LC3:
.string "%d is not a prime number."
.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 DWORD PTR -12[rbp], 0
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
lea rax, -20[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov DWORD PTR -16[rbp], 2
jmp .L2
.L5:
mov eax, DWORD PTR -20[rbp]
cdq
idiv DWORD PTR -16[rbp]
mov eax, edx
test eax, eax
jne .L3
mov DWORD PTR -12[rbp], 1
jmp .L4
.L3:
add DWORD PTR -16[rbp], 1
.L2:
mov eax, DWORD PTR -20[rbp]
mov edx, eax
shr edx, 31
add eax, edx
sar eax
cmp DWORD PTR -16[rbp], eax
jle .L5
.L4:
cmp DWORD PTR -12[rbp], 0
jne .L6
mov eax, DWORD PTR -20[rbp]
mov esi, eax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
jmp .L7
.L6:
mov eax, DWORD PTR -20[rbp]
mov esi, eax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
.L7:
mov eax, 0
call getch@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
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "153431.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "Enter a positive integer: \000"
.align 2
.LC1:
.ascii "%d\000"
.global __aeabi_idivmod
.align 2
.LC2:
.ascii "%d is a prime number.\000"
.align 2
.LC3:
.ascii "%d is not a prime number.\000"
.align 2
.LC4:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
ldr r3, .L10
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-12]
ldr r0, .L10+4
bl printf
sub r3, fp, #20
mov r1, r3
ldr r0, .L10+8
bl __isoc99_scanf
mov r3, #2
str r3, [fp, #-16]
b .L2
.L5:
ldr r3, [fp, #-20]
ldr r1, [fp, #-16]
mov r0, r3
bl __aeabi_idivmod
mov r3, r1
cmp r3, #0
bne .L3
mov r3, #1
str r3, [fp, #-12]
b .L4
.L3:
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L2:
ldr r3, [fp, #-20]
lsr r2, r3, #31
add r3, r2, r3
asr r3, r3, #1
mov r2, r3
ldr r3, [fp, #-16]
cmp r3, r2
ble .L5
.L4:
ldr r3, [fp, #-12]
cmp r3, #0
bne .L6
ldr r3, [fp, #-20]
mov r1, r3
ldr r0, .L10+12
bl printf
b .L7
.L6:
ldr r3, [fp, #-20]
mov r1, r3
ldr r0, .L10+16
bl printf
.L7:
bl getch
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 .LC4
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "770811.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "First buffer overflow:"
.LC1:
.string "---------------"
.LC2:
.string "Here is current stack: "
.align 8
.LC3:
.string "Please fill the buffer (16 bytes) with text and change the value of secret variable to 35455565 (hex), so that the program flow changes:"
.align 8
.LC4:
.string "You changed the program flow by overwriting variable on stack."
.LC5:
.string "Here is the flag:"
.LC6:
.string "cat ./flag.txt"
.LC7:
.string "\nNothing happened. Try again."
.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 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 rax, QWORD PTR stdout[rip]
mov ecx, 0
mov edx, 2
mov esi, 0
mov rdi, rax
call setvbuf@PLT
mov rax, QWORD PTR stdin[rip]
mov ecx, 0
mov edx, 2
mov esi, 0
mov rdi, rax
call setvbuf@PLT
lea rdi, .LC0[rip]
call puts@PLT
lea rdi, .LC1[rip]
call puts@PLT
mov DWORD PTR -36[rbp], 305419896
lea rax, -32[rbp]
mov edx, 16
mov esi, 0
mov rdi, rax
call memset@PLT
lea rax, -32[rbp]
mov rdi, rax
call init_visualize@PLT
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
lea rax, -32[rbp]
mov rdi, rax
call visualize@PLT
lea rdi, .LC3[rip]
call puts@PLT
lea rax, -32[rbp]
mov rdi, rax
mov eax, 0
call gets@PLT
lea rax, -32[rbp]
mov rdi, rax
call visualize@PLT
cmp DWORD PTR -36[rbp], 893736293
jne .L2
lea rdi, .LC4[rip]
call puts@PLT
lea rdi, .LC5[rip]
call puts@PLT
lea rdi, .LC6[rip]
call system@PLT
mov eax, 0
jmp .L4
.L2:
lea rdi, .LC7[rip]
call puts@PLT
mov eax, 0
.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
.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 "770811.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "First buffer overflow:\000"
.align 2
.LC1:
.ascii "---------------\000"
.align 2
.LC2:
.ascii "Here is current stack: \000"
.align 2
.LC3:
.ascii "Please fill the buffer (16 bytes) with text and cha"
.ascii "nge the value of secret variable to 35455565 (hex),"
.ascii " so that the program flow changes:\000"
.align 2
.LC4:
.ascii "You changed the program flow by overwriting variabl"
.ascii "e on stack.\000"
.align 2
.LC5:
.ascii "Here is the flag:\000"
.align 2
.LC6:
.ascii "cat ./flag.txt\000"
.align 2
.LC7:
.ascii "\012Nothing happened. Try again.\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 = 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, .L6
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, .L6+4
ldr r0, [r3]
mov r3, #0
mov r2, #2
mov r1, #0
bl setvbuf
ldr r3, .L6+8
ldr r0, [r3]
mov r3, #0
mov r2, #2
mov r1, #0
bl setvbuf
ldr r0, .L6+12
bl puts
ldr r0, .L6+16
bl puts
ldr r3, .L6+20
str r3, [fp, #-28]
sub r3, fp, #24
mov r2, #16
mov r1, #0
mov r0, r3
bl memset
sub r3, fp, #24
mov r0, r3
bl init_visualize
ldr r0, .L6+24
bl printf
sub r3, fp, #24
mov r0, r3
bl visualize
ldr r0, .L6+28
bl puts
sub r3, fp, #24
mov r0, r3
bl gets
sub r3, fp, #24
mov r0, r3
bl visualize
ldr r3, [fp, #-28]
ldr r2, .L6+32
cmp r3, r2
bne .L2
ldr r0, .L6+36
bl puts
ldr r0, .L6+40
bl puts
ldr r0, .L6+44
bl system
mov r3, #0
b .L4
.L2:
ldr r0, .L6+48
bl puts
mov r3, #0
.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 .LC8
.word stdout
.word stdin
.word .LC0
.word .LC1
.word 305419896
.word .LC2
.word .LC3
.word 893736293
.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 "313728.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 "313728.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "532710.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "FOOD=coffee"
.LC1:
.string "donuts"
.LC2:
.string "./coffee"
.LC3:
.string "Can't run process : %s\n"
.LC4:
.string "FOOD=donuts"
.LC5:
.string "cream"
.LC6:
.string "Can't run process 0: %s\n"
.LC7:
.string "coffee"
.LC8:
.string "Can't run process 0: %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, 32
mov DWORD PTR -20[rbp], edi
mov QWORD PTR -32[rbp], rsi
lea rax, .LC0[rip]
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -16[rbp]
mov r8, rax
mov ecx, 0
lea rdx, .LC1[rip]
lea rsi, .LC2[rip]
lea rdi, .LC2[rip]
mov eax, 0
call execle@PLT
cmp eax, -1
jne .L2
call __errno_location@PLT
mov eax, DWORD PTR [rax]
mov edi, eax
call strerror@PLT
mov rdx, rax
mov rax, QWORD PTR stderr[rip]
lea rsi, .LC3[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
.L2:
lea rax, .LC4[rip]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov r8, rax
mov ecx, 0
lea rdx, .LC5[rip]
lea rsi, .LC2[rip]
lea rdi, .LC2[rip]
mov eax, 0
call execle@PLT
cmp eax, -1
jne .L3
call __errno_location@PLT
mov eax, DWORD PTR [rax]
mov edi, eax
call strerror@PLT
mov rdx, rax
mov rax, QWORD PTR stderr[rip]
lea rsi, .LC6[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov eax, 1
jmp .L4
.L3:
mov edx, 0
lea rsi, .LC7[rip]
lea rdi, .LC2[rip]
mov eax, 0
call execl@PLT
cmp eax, -1
jne .L5
call __errno_location@PLT
mov eax, DWORD PTR [rax]
mov edi, eax
call strerror@PLT
mov rdx, rax
mov rax, QWORD PTR stderr[rip]
lea rsi, .LC8[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
.L5:
mov eax, 0
.L4:
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 "532710.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "FOOD=coffee\000"
.align 2
.LC1:
.ascii "donuts\000"
.align 2
.LC2:
.ascii "./coffee\000"
.align 2
.LC3:
.ascii "Can't run process : %s\012\000"
.align 2
.LC4:
.ascii "FOOD=donuts\000"
.align 2
.LC5:
.ascii "cream\000"
.align 2
.LC6:
.ascii "Can't run process 0: %s\012\000"
.align 2
.LC7:
.ascii "coffee\000"
.align 2
.LC8:
.ascii "Can't run process 0: %s\012\000"
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #28
str r0, [fp, #-24]
str r1, [fp, #-28]
ldr r3, .L6
str r3, [fp, #-20]
ldr r3, [fp, #-20]
str r3, [sp]
mov r3, #0
ldr r2, .L6+4
ldr r1, .L6+8
ldr r0, .L6+8
bl execle
mov r3, r0
cmn r3, #1
bne .L2
ldr r3, .L6+12
ldr r4, [r3]
bl __errno_location
mov r3, r0
ldr r3, [r3]
mov r0, r3
bl strerror
mov r3, r0
mov r2, r3
ldr r1, .L6+16
mov r0, r4
bl fprintf
.L2:
ldr r3, .L6+20
str r3, [fp, #-16]
ldr r3, [fp, #-16]
str r3, [sp]
mov r3, #0
ldr r2, .L6+24
ldr r1, .L6+8
ldr r0, .L6+8
bl execle
mov r3, r0
cmn r3, #1
bne .L3
ldr r3, .L6+12
ldr r4, [r3]
bl __errno_location
mov r3, r0
ldr r3, [r3]
mov r0, r3
bl strerror
mov r3, r0
mov r2, r3
ldr r1, .L6+28
mov r0, r4
bl fprintf
mov r3, #1
b .L4
.L3:
mov r2, #0
ldr r1, .L6+32
ldr r0, .L6+8
bl execl
mov r3, r0
cmn r3, #1
bne .L5
ldr r3, .L6+12
ldr r4, [r3]
bl __errno_location
mov r3, r0
ldr r3, [r3]
mov r0, r3
bl strerror
mov r3, r0
mov r2, r3
ldr r1, .L6+36
mov r0, r4
bl fprintf
.L5:
mov r3, #0
.L4:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L7:
.align 2
.L6:
.word .LC0
.word .LC1
.word .LC2
.word stderr
.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 "292859.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 "292859.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "515056.c"
.intel_syntax noprefix
.text
.section .rodata
.align 8
.LC0:
.string "invalid open64 call: O_CREAT without mode"
.text
.globl __open64_2
.type __open64_2, @function
__open64_2:
.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 DWORD PTR -12[rbp], esi
mov eax, DWORD PTR -12[rbp]
and eax, 64
test eax, eax
je .L2
lea rdi, .LC0[rip]
mov eax, 0
call __fortify_fail@PLT
.L2:
mov edx, DWORD PTR -12[rbp]
mov rax, QWORD PTR -8[rbp]
mov esi, edx
mov rdi, rax
mov eax, 0
call __open64@PLT
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size __open64_2, .-__open64_2
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "515056.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "invalid open64 call: O_CREAT without mode\000"
.text
.align 2
.global __open64_2
.syntax unified
.arm
.fpu softvfp
.type __open64_2, %function
__open64_2:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, [fp, #-12]
and r3, r3, #64
cmp r3, #0
beq .L2
ldr r0, .L4
bl __fortify_fail
.L2:
ldr r1, [fp, #-12]
ldr r0, [fp, #-8]
bl __open64
mov r3, r0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L5:
.align 2
.L4:
.word .LC0
.size __open64_2, .-__open64_2
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "204599.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "size of a char is %d byte(s)\n"
.align 8
.LC1:
.string "signed chars range from %d to %d\n"
.align 8
.LC2:
.string "Unsigned chars range from 0 to %d\n"
.align 8
.LC3:
.string "\nsize of a short is %d byte(s)\n"
.align 8
.LC4:
.string "signed shorts range from %d to %d\n"
.align 8
.LC5:
.string "Unsigned shorts range from 0 to %d\n"
.align 8
.LC6:
.string "\nsize of an int is %d byte(s)\n"
.align 8
.LC7:
.string "signed ints range from %d to %d\n"
.align 8
.LC8:
.string "Unsigned ints range from 0 to %u\n"
.align 8
.LC9:
.string "\nsize of a long is %d byte(s)\n"
.align 8
.LC10:
.string "signed longs range from %ld to %ld\n"
.align 8
.LC11:
.string "Unsigned longs range from 0 to %lu\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
mov esi, 1
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov edx, 127
mov esi, -128
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
mov esi, 255
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
mov esi, 2
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
mov edx, 32767
mov esi, -32768
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
mov esi, 65535
lea rdi, .LC5[rip]
mov eax, 0
call printf@PLT
mov esi, 4
lea rdi, .LC6[rip]
mov eax, 0
call printf@PLT
mov edx, 2147483647
mov esi, -2147483648
lea rdi, .LC7[rip]
mov eax, 0
call printf@PLT
mov esi, -1
lea rdi, .LC8[rip]
mov eax, 0
call printf@PLT
mov esi, 8
lea rdi, .LC9[rip]
mov eax, 0
call printf@PLT
movabs rdx, 9223372036854775807
movabs rsi, -9223372036854775808
lea rdi, .LC10[rip]
mov eax, 0
call printf@PLT
mov rsi, -1
lea rdi, .LC11[rip]
mov eax, 0
call printf@PLT
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "204599.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "size of a char is %d byte(s)\012\000"
.align 2
.LC1:
.ascii "signed chars range from %d to %d\012\000"
.align 2
.LC2:
.ascii "Unsigned chars range from 0 to %d\012\000"
.align 2
.LC3:
.ascii "\012size of a short is %d byte(s)\012\000"
.align 2
.LC4:
.ascii "signed shorts range from %d to %d\012\000"
.align 2
.LC5:
.ascii "Unsigned shorts range from 0 to %d\012\000"
.align 2
.LC6:
.ascii "\012size of an int is %d byte(s)\012\000"
.align 2
.LC7:
.ascii "signed ints range from %d to %d\012\000"
.align 2
.LC8:
.ascii "Unsigned ints range from 0 to %u\012\000"
.align 2
.LC9:
.ascii "\012size of a long is %d byte(s)\012\000"
.align 2
.LC10:
.ascii "signed longs range from %ld to %ld\012\000"
.align 2
.LC11:
.ascii "Unsigned longs range from 0 to %lu\012\000"
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
mov r1, #1
ldr r0, .L3
bl printf
mov r2, #127
mvn r1, #127
ldr r0, .L3+4
bl printf
mov r1, #255
ldr r0, .L3+8
bl printf
mov r1, #2
ldr r0, .L3+12
bl printf
ldr r2, .L3+16
ldr r1, .L3+20
ldr r0, .L3+24
bl printf
ldr r1, .L3+28
ldr r0, .L3+32
bl printf
mov r1, #4
ldr r0, .L3+36
bl printf
mvn r2, #-2147483648
mov r1, #-2147483648
ldr r0, .L3+40
bl printf
mvn r1, #0
ldr r0, .L3+44
bl printf
mov r1, #4
ldr r0, .L3+48
bl printf
mvn r2, #-2147483648
mov r1, #-2147483648
ldr r0, .L3+52
bl printf
mvn r1, #0
ldr r0, .L3+56
bl printf
mov r3, #0
mov r0, r3
pop {fp, pc}
.L4:
.align 2
.L3:
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word 32767
.word -32768
.word .LC4
.word 65535
.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 "164366.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "192.168.0.74"
.LC1:
.string "211.100.21.179"
.LC2:
.string "%s : %s\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 DWORD PTR -52[rbp], edi
mov QWORD PTR -64[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -24[rbp], rax
xor eax, eax
lea rdi, .LC0[rip]
call inet_addr@PLT
mov eax, eax
mov QWORD PTR -40[rbp], rax
lea rdi, .LC1[rip]
call inet_addr@PLT
mov eax, eax
mov QWORD PTR -32[rbp], rax
mov eax, DWORD PTR -40[rbp]
mov DWORD PTR -48[rbp], eax
mov eax, DWORD PTR -32[rbp]
mov DWORD PTR -44[rbp], eax
mov eax, DWORD PTR -44[rbp]
mov edi, eax
call inet_ntoa@PLT
mov rbx, rax
mov eax, DWORD PTR -48[rbp]
mov edi, eax
call inet_ntoa@PLT
mov rdx, rbx
mov rsi, rax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR -48[rbp]
mov edi, eax
call inet_ntoa@PLT
mov rdi, rax
call puts@PLT
mov eax, DWORD PTR -44[rbp]
mov edi, eax
call inet_ntoa@PLT
mov rdi, rax
call puts@PLT
mov eax, 0
mov rcx, QWORD PTR -24[rbp]
sub rcx, QWORD PTR fs:40
je .L3
call __stack_chk_fail@PLT
.L3:
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 "164366.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "192.168.0.74\000"
.align 2
.LC1:
.ascii "211.100.21.179\000"
.align 2
.LC2:
.ascii "%s : %s\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 {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #36
str r0, [fp, #-40]
str r1, [fp, #-44]
ldr r3, .L4
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
ldr r0, .L4+4
bl inet_addr
mov r3, r0
str r3, [fp, #-24]
ldr r0, .L4+8
bl inet_addr
mov r3, r0
str r3, [fp, #-20]
ldr r3, [fp, #-24]
str r3, [fp, #-32]
ldr r3, [fp, #-20]
str r3, [fp, #-28]
ldr r0, [fp, #-32]
bl inet_ntoa
mov r4, r0
ldr r0, [fp, #-28]
bl inet_ntoa
mov r3, r0
mov r2, r3
mov r1, r4
ldr r0, .L4+12
bl printf
ldr r0, [fp, #-32]
bl inet_ntoa
mov r3, r0
mov r0, r3
bl puts
ldr r0, [fp, #-28]
bl inet_ntoa
mov r3, r0
mov r0, r3
bl puts
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, #8
@ sp needed
pop {r4, fp, pc}
.L5:
.align 2
.L4:
.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 "890574.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%d\n"
.LC1:
.string " %d"
.text
.globl main
.type main, @function
main:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 432
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -424[rbp], 0
mov DWORD PTR -420[rbp], 0
jmp .L2
.L5:
mov edx, DWORD PTR -428[rbp]
mov eax, DWORD PTR -420[rbp]
cdqe
mov DWORD PTR -416[rbp+rax*4], edx
mov eax, DWORD PTR -420[rbp]
cdqe
mov eax, DWORD PTR -416[rbp+rax*4]
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
cmp DWORD PTR -420[rbp], 0
jle .L3
mov eax, DWORD PTR -420[rbp]
cdqe
mov edx, DWORD PTR -416[rbp+rax*4]
mov eax, DWORD PTR -420[rbp]
sub eax, 1
cdqe
mov eax, DWORD PTR -416[rbp+rax*4]
cmp edx, eax
je .L3
mov eax, DWORD PTR -420[rbp]
cdqe
mov eax, DWORD PTR -416[rbp+rax*4]
cmp eax, 42
jne .L3
add DWORD PTR -424[rbp], 1
.L3:
add DWORD PTR -420[rbp], 1
.L2:
lea rax, -428[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
cmp eax, -1
je .L4
cmp DWORD PTR -424[rbp], 3
jne .L5
.L4:
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 "890574.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "%d\012\000"
.align 2
.LC1:
.ascii " %d\000"
.align 2
.LC2:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 416
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #416
ldr r3, .L8
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-416]
mov r3, #0
str r3, [fp, #-412]
b .L2
.L5:
ldr r2, [fp, #-420]
ldr r3, [fp, #-412]
lsl r3, r3, #2
sub r1, fp, #4
add r3, r1, r3
str r2, [r3, #-404]
ldr r3, [fp, #-412]
lsl r3, r3, #2
sub r2, fp, #4
add r3, r2, r3
ldr r3, [r3, #-404]
mov r1, r3
ldr r0, .L8+4
bl printf
ldr r3, [fp, #-412]
cmp r3, #0
ble .L3
ldr r3, [fp, #-412]
lsl r3, r3, #2
sub r2, fp, #4
add r3, r2, r3
ldr r2, [r3, #-404]
ldr r3, [fp, #-412]
sub r3, r3, #1
lsl r3, r3, #2
sub r1, fp, #4
add r3, r1, r3
ldr r3, [r3, #-404]
cmp r2, r3
beq .L3
ldr r3, [fp, #-412]
lsl r3, r3, #2
sub r2, fp, #4
add r3, r2, r3
ldr r3, [r3, #-404]
cmp r3, #42
bne .L3
ldr r3, [fp, #-416]
add r3, r3, #1
str r3, [fp, #-416]
.L3:
ldr r3, [fp, #-412]
add r3, r3, #1
str r3, [fp, #-412]
.L2:
sub r3, fp, #420
mov r1, r3
ldr r0, .L8+8
bl __isoc99_scanf
mov r3, r0
cmn r3, #1
beq .L4
ldr r3, [fp, #-416]
cmp r3, #3
bne .L5
.L4:
mov r3, #0
ldr r2, .L8
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L7
bl __stack_chk_fail
.L7:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L9:
.align 2
.L8:
.word .LC2
.word .LC0
.word .LC1
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "998689.c"
.intel_syntax noprefix
.text
.globl memcpy
.type memcpy, @function
memcpy:
.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 QWORD PTR -40[rbp], rdx
mov QWORD PTR -8[rbp], 0
jmp .L2
.L3:
mov rdx, QWORD PTR -32[rbp]
mov rax, QWORD PTR -8[rbp]
add rax, rdx
mov rcx, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -8[rbp]
add rdx, rcx
movzx eax, BYTE PTR [rax]
mov BYTE PTR [rdx], al
add QWORD PTR -8[rbp], 1
.L2:
mov rax, QWORD PTR -8[rbp]
cmp rax, QWORD PTR -40[rbp]
jb .L3
mov rax, QWORD PTR -24[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size memcpy, .-memcpy
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "998689.c"
.text
.align 2
.global memcpy
.syntax unified
.arm
.fpu softvfp
.type memcpy, %function
memcpy:
@ 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 .L2
.L3:
ldr r2, [fp, #-20]
ldr r3, [fp, #-8]
add r2, r2, r3
ldr r1, [fp, #-16]
ldr r3, [fp, #-8]
add r3, r1, r3
ldrb r2, [r2] @ zero_extendqisi2
strb r2, [r3]
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L2:
ldr r2, [fp, #-8]
ldr r3, [fp, #-24]
cmp r2, r3
bcc .L3
ldr r3, [fp, #-16]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size memcpy, .-memcpy
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "499262.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "Input the distance : "
.LC1:
.string "%d"
.LC2:
.string "Rental amount is : %d"
.text
.globl main
.type main, @function
main:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
lea rax, -16[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov eax, DWORD PTR -16[rbp]
cmp eax, 30
jg .L2
mov eax, DWORD PTR -16[rbp]
imul eax, eax, 50
mov DWORD PTR -12[rbp], eax
jmp .L3
.L2:
mov eax, DWORD PTR -16[rbp]
imul ecx, eax, 30
mov eax, DWORD PTR -16[rbp]
lea edx, -30[rax]
mov eax, edx
sal eax, 2
add eax, edx
sal eax, 3
add eax, ecx
mov DWORD PTR -12[rbp], eax
.L3:
mov eax, DWORD PTR -12[rbp]
mov esi, eax
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 .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 "499262.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "Input the distance : \000"
.align 2
.LC1:
.ascii "%d\000"
.align 2
.LC2:
.ascii "Rental amount is : %d\000"
.align 2
.LC3:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 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 r3, [fp, #-16]
cmp r3, #30
bgt .L2
ldr r2, [fp, #-16]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r2, r3, #2
add r3, r3, r2
lsl r3, r3, #1
str r3, [fp, #-12]
b .L3
.L2:
ldr r2, [fp, #-16]
mov r3, r2
lsl r3, r3, #4
sub r3, r3, r2
lsl r3, r3, #1
mov r1, r3
ldr r3, [fp, #-16]
sub r2, r3, #30
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
str r3, [fp, #-12]
.L3:
ldr r1, [fp, #-12]
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 "750978.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 "750978.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "867747.c"
.intel_syntax noprefix
.text
.globl mblen
.type mblen, @function
mblen:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
cmp QWORD PTR -8[rbp], 0
je .L2
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR [rax]
test al, al
jne .L3
.L2:
mov eax, 0
jmp .L4
.L3:
cmp QWORD PTR -16[rbp], 0
jne .L5
mov eax, -1
jmp .L4
.L5:
mov eax, 1
.L4:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size mblen, .-mblen
.globl mbtowc
.type mbtowc, @function
mbtowc:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
mov QWORD PTR -24[rbp], rdx
cmp QWORD PTR -16[rbp], 0
jne .L7
mov eax, 0
jmp .L8
.L7:
cmp QWORD PTR -24[rbp], 0
jne .L9
mov eax, -1
jmp .L8
.L9:
cmp QWORD PTR -8[rbp], 0
je .L10
mov rax, QWORD PTR -16[rbp]
movzx eax, BYTE PTR [rax]
movsx edx, al
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR [rax], edx
.L10:
mov rax, QWORD PTR -16[rbp]
movzx eax, BYTE PTR [rax]
test al, al
setne al
movzx eax, al
.L8:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size mbtowc, .-mbtowc
.globl wctomb
.type wctomb, @function
wctomb:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov DWORD PTR -12[rbp], esi
cmp QWORD PTR -8[rbp], 0
jne .L12
mov eax, 0
jmp .L13
.L12:
mov eax, DWORD PTR -12[rbp]
mov edx, eax
mov rax, QWORD PTR -8[rbp]
mov BYTE PTR [rax], dl
mov eax, 1
.L13:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size wctomb, .-wctomb
.globl mbstowcs
.type mbstowcs, @function
mbstowcs:
.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 QWORD PTR -32[rbp], rsi
mov QWORD PTR -40[rbp], rdx
mov DWORD PTR -4[rbp], 0
cmp QWORD PTR -40[rbp], 0
je .L15
.L17:
mov rax, QWORD PTR -32[rbp]
lea rdx, 1[rax]
mov QWORD PTR -32[rbp], rdx
movzx ecx, BYTE PTR [rax]
mov rax, QWORD PTR -24[rbp]
lea rdx, 4[rax]
mov QWORD PTR -24[rbp], rdx
movsx edx, cl
mov DWORD PTR [rax], edx
mov eax, DWORD PTR [rax]
test eax, eax
je .L19
add DWORD PTR -4[rbp], 1
sub QWORD PTR -40[rbp], 1
cmp QWORD PTR -40[rbp], 0
jne .L17
jmp .L15
.L19:
nop
.L15:
mov eax, DWORD PTR -4[rbp]
cdqe
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size mbstowcs, .-mbstowcs
.globl wcstombs
.type wcstombs, @function
wcstombs:
.LFB10:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov QWORD PTR -40[rbp], rdx
mov DWORD PTR -4[rbp], 0
cmp QWORD PTR -40[rbp], 0
je .L21
.L23:
mov rax, QWORD PTR -32[rbp]
lea rdx, 4[rax]
mov QWORD PTR -32[rbp], rdx
mov ecx, DWORD PTR [rax]
mov rax, QWORD PTR -24[rbp]
lea rdx, 1[rax]
mov QWORD PTR -24[rbp], rdx
mov edx, ecx
mov BYTE PTR [rax], dl
movzx eax, BYTE PTR [rax]
test al, al
je .L25
add DWORD PTR -4[rbp], 1
sub QWORD PTR -40[rbp], 1
cmp QWORD PTR -40[rbp], 0
jne .L23
jmp .L21
.L25:
nop
.L21:
mov eax, DWORD PTR -4[rbp]
cdqe
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size wcstombs, .-wcstombs
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "867747.c"
.text
.align 2
.global mblen
.syntax unified
.arm
.fpu softvfp
.type mblen, %function
mblen:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L2
ldr r3, [fp, #-8]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L3
.L2:
mov r3, #0
b .L4
.L3:
ldr r3, [fp, #-12]
cmp r3, #0
bne .L5
mvn r3, #0
b .L4
.L5:
mov r3, #1
.L4:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size mblen, .-mblen
.align 2
.global mbtowc
.syntax unified
.arm
.fpu softvfp
.type mbtowc, %function
mbtowc:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #20
str r0, [fp, #-8]
str r1, [fp, #-12]
str r2, [fp, #-16]
ldr r3, [fp, #-12]
cmp r3, #0
bne .L7
mov r3, #0
b .L8
.L7:
ldr r3, [fp, #-16]
cmp r3, #0
bne .L9
mvn r3, #0
b .L8
.L9:
ldr r3, [fp, #-8]
cmp r3, #0
beq .L10
ldr r3, [fp, #-12]
ldrb r3, [r3] @ zero_extendqisi2
mov r2, r3
ldr r3, [fp, #-8]
str r2, [r3]
.L10:
ldr r3, [fp, #-12]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
movne r3, #1
moveq r3, #0
and r3, r3, #255
.L8:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size mbtowc, .-mbtowc
.align 2
.global wctomb
.syntax unified
.arm
.fpu softvfp
.type wctomb, %function
wctomb:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, [fp, #-8]
cmp r3, #0
bne .L12
mov r3, #0
b .L13
.L12:
ldr r3, [fp, #-12]
and r2, r3, #255
ldr r3, [fp, #-8]
strb r2, [r3]
mov r3, #1
.L13:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size wctomb, .-wctomb
.align 2
.global mbstowcs
.syntax unified
.arm
.fpu softvfp
.type mbstowcs, %function
mbstowcs:
@ 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]
ldr r3, [fp, #-24]
cmp r3, #0
beq .L15
.L17:
ldr r3, [fp, #-20]
add r2, r3, #1
str r2, [fp, #-20]
ldrb r1, [r3] @ zero_extendqisi2
ldr r3, [fp, #-16]
add r2, r3, #4
str r2, [fp, #-16]
mov r2, r1
str r2, [r3]
ldr r3, [r3]
cmp r3, #0
beq .L19
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
ldr r3, [fp, #-24]
sub r3, r3, #1
str r3, [fp, #-24]
ldr r3, [fp, #-24]
cmp r3, #0
bne .L17
b .L15
.L19:
nop
.L15:
ldr r3, [fp, #-8]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size mbstowcs, .-mbstowcs
.align 2
.global wcstombs
.syntax unified
.arm
.fpu softvfp
.type wcstombs, %function
wcstombs:
@ 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]
ldr r3, [fp, #-24]
cmp r3, #0
beq .L21
.L23:
ldr r3, [fp, #-20]
add r2, r3, #4
str r2, [fp, #-20]
ldr r2, [r3]
ldr r3, [fp, #-16]
add r1, r3, #1
str r1, [fp, #-16]
and r2, r2, #255
strb r2, [r3]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
beq .L25
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
ldr r3, [fp, #-24]
sub r3, r3, #1
str r3, [fp, #-24]
ldr r3, [fp, #-24]
cmp r3, #0
bne .L23
b .L21
.L25:
nop
.L21:
ldr r3, [fp, #-8]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size wcstombs, .-wcstombs
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "702863.c"
.intel_syntax noprefix
.text
.section .rodata
.align 8
.LC0:
.string "Gerar aleatoriamente 10 elementos para um vetorA !!!\n"
.LC1:
.string "INDICE VALOR"
.LC2:
.string "%d %d\n"
.LC3:
.string "\n"
.align 8
.LC4:
.string "A) A soma dos elementos armazenados no VetorA que s\303\243o inferiores a 100 foi de: %d\n"
.align 8
.LC5:
.string "B) A quantidade de elementos armazenados nesse vetor que s\303\243o iguais a 100 foi de: %d\n"
.align 8
.LC6:
.string "C) A media dos elementos armazenados nesse vetor que s\303\243o superiores a 100 foi de %.2f\n"
.LC7:
.string "Impossivel fazer media !!!"
.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], 0
mov DWORD PTR -64[rbp], 0
mov DWORD PTR -60[rbp], 0
mov DWORD PTR -56[rbp], 0
lea rax, -48[rbp]
mov esi, 100
mov rdi, rax
mov eax, 0
call GVA
lea rdi, .LC0[rip]
call puts@PLT
lea rdi, .LC1[rip]
call puts@PLT
mov DWORD PTR -72[rbp], 0
jmp .L2
.L3:
mov eax, DWORD PTR -72[rbp]
cdqe
mov edx, DWORD PTR -48[rbp+rax*4]
mov eax, DWORD PTR -72[rbp]
mov esi, eax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -72[rbp], 1
.L2:
cmp DWORD PTR -72[rbp], 9
jle .L3
lea rdi, .LC3[rip]
call puts@PLT
mov DWORD PTR -72[rbp], 0
jmp .L4
.L8:
mov eax, DWORD PTR -72[rbp]
cdqe
mov eax, DWORD PTR -48[rbp+rax*4]
cmp eax, 100
jg .L5
mov eax, DWORD PTR -72[rbp]
cdqe
mov eax, DWORD PTR -48[rbp+rax*4]
add DWORD PTR -68[rbp], eax
.L5:
lea rax, -48[rbp]
cmp rax, 100
jne .L6
add DWORD PTR -60[rbp], 1
.L6:
mov eax, DWORD PTR -72[rbp]
cdqe
mov eax, DWORD PTR -48[rbp+rax*4]
cmp eax, 100
jle .L7
mov eax, DWORD PTR -72[rbp]
cdqe
mov eax, DWORD PTR -48[rbp+rax*4]
add DWORD PTR -64[rbp], eax
add DWORD PTR -56[rbp], 1
.L7:
add DWORD PTR -72[rbp], 1
.L4:
cmp DWORD PTR -72[rbp], 9
jle .L8
mov eax, DWORD PTR -68[rbp]
mov esi, eax
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR -60[rbp]
mov esi, eax
lea rdi, .LC5[rip]
mov eax, 0
call printf@PLT
cmp DWORD PTR -56[rbp], 0
je .L9
pxor xmm0, xmm0
cvtsi2ss xmm0, DWORD PTR -64[rbp]
pxor xmm1, xmm1
cvtsi2ss xmm1, DWORD PTR -56[rbp]
divss xmm0, xmm1
movss DWORD PTR -52[rbp], xmm0
pxor xmm2, xmm2
cvtss2sd xmm2, DWORD PTR -52[rbp]
movq rax, xmm2
movq xmm0, rax
lea rdi, .LC6[rip]
mov eax, 1
call printf@PLT
jmp .L10
.L9:
lea rdi, .LC7[rip]
call puts@PLT
.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
.globl GVA
.type GVA, @function
GVA:
.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 edi, 0
mov eax, 0
call time@PLT
mov edi, eax
mov eax, 0
call srand@PLT
mov DWORD PTR -4[rbp], 0
jmp .L14
.L15:
mov eax, 0
call rand@PLT
mov edx, DWORD PTR -28[rbp]
lea esi, 1[rdx]
mov edx, DWORD PTR -4[rbp]
movsx rdx, edx
lea rcx, 0[0+rdx*4]
mov rdx, QWORD PTR -24[rbp]
add rcx, rdx
cdq
idiv esi
mov eax, edx
mov DWORD PTR [rcx], eax
add DWORD PTR -4[rbp], 1
.L14:
cmp DWORD PTR -4[rbp], 9
jle .L15
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size GVA, .-GVA
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "702863.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "Gerar aleatoriamente 10 elementos para um vetorA !!"
.ascii "!\012\000"
.align 2
.LC1:
.ascii "INDICE VALOR\000"
.align 2
.LC2:
.ascii "%d %d\012\000"
.align 2
.LC3:
.ascii "\012\000"
.align 2
.LC4:
.ascii "A) A soma dos elementos armazenados no VetorA que s"
.ascii "\303\243o inferiores a 100 foi de: %d\012\000"
.align 2
.LC5:
.ascii "B) A quantidade de elementos armazenados nesse veto"
.ascii "r que s\303\243o iguais a 100 foi de: %d\012\000"
.global __aeabi_i2f
.global __aeabi_fdiv
.global __aeabi_f2d
.align 2
.LC6:
.ascii "C) A media dos elementos armazenados nesse vetor qu"
.ascii "e s\303\243o superiores a 100 foi de %.2f\012\000"
.align 2
.LC7:
.ascii "Impossivel fazer media !!!\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 = 72
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #76
ldr r3, .L13
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
mov r3, #0
str r3, [fp, #-76]
mov r3, #0
str r3, [fp, #-72]
mov r3, #0
str r3, [fp, #-68]
mov r3, #0
str r3, [fp, #-64]
sub r3, fp, #56
mov r1, #100
mov r0, r3
bl GVA
ldr r0, .L13+4
bl puts
ldr r0, .L13+8
bl puts
mov r3, #0
str r3, [fp, #-80]
b .L2
.L3:
ldr r3, [fp, #-80]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r3, [r3, #-44]
mov r2, r3
ldr r1, [fp, #-80]
ldr r0, .L13+12
bl printf
ldr r3, [fp, #-80]
add r3, r3, #1
str r3, [fp, #-80]
.L2:
ldr r3, [fp, #-80]
cmp r3, #9
ble .L3
ldr r0, .L13+16
bl puts
mov r3, #0
str r3, [fp, #-80]
b .L4
.L8:
ldr r3, [fp, #-80]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r3, [r3, #-44]
cmp r3, #100
bgt .L5
ldr r3, [fp, #-80]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r3, [r3, #-44]
ldr r2, [fp, #-76]
add r3, r2, r3
str r3, [fp, #-76]
.L5:
sub r3, fp, #56
cmp r3, #100
bne .L6
ldr r3, [fp, #-68]
add r3, r3, #1
str r3, [fp, #-68]
.L6:
ldr r3, [fp, #-80]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r3, [r3, #-44]
cmp r3, #100
ble .L7
ldr r3, [fp, #-80]
lsl r3, r3, #2
sub r2, fp, #12
add r3, r2, r3
ldr r3, [r3, #-44]
ldr r2, [fp, #-72]
add r3, r2, r3
str r3, [fp, #-72]
ldr r3, [fp, #-64]
add r3, r3, #1
str r3, [fp, #-64]
.L7:
ldr r3, [fp, #-80]
add r3, r3, #1
str r3, [fp, #-80]
.L4:
ldr r3, [fp, #-80]
cmp r3, #9
ble .L8
ldr r1, [fp, #-76]
ldr r0, .L13+20
bl printf
ldr r1, [fp, #-68]
ldr r0, .L13+24
bl printf
ldr r3, [fp, #-64]
cmp r3, #0
beq .L9
ldr r0, [fp, #-72]
bl __aeabi_i2f
mov r4, r0
ldr r0, [fp, #-64]
bl __aeabi_i2f
mov r3, r0
mov r1, r3
mov r0, r4
bl __aeabi_fdiv
mov r3, r0
str r3, [fp, #-60] @ float
ldr r0, [fp, #-60] @ float
bl __aeabi_f2d
mov r2, r0
mov r3, r1
ldr r0, .L13+28
bl printf
b .L10
.L9:
ldr r0, .L13+32
bl puts
.L10:
mov r3, #0
ldr r2, .L13
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L12
bl __stack_chk_fail
.L12:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L14:
.align 2
.L13:
.word .LC8
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.word .LC5
.word .LC6
.word .LC7
.size main, .-main
.global __aeabi_idivmod
.align 2
.global GVA
.syntax unified
.arm
.fpu softvfp
.type GVA, %function
GVA:
@ 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]
mov r0, #0
bl time
mov r3, r0
mov r0, r3
bl srand
mov r3, #0
str r3, [fp, #-16]
b .L16
.L17:
bl rand
ldr r3, [fp, #-28]
add r1, r3, #1
ldr r3, [fp, #-16]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r4, r2, r3
bl __aeabi_idivmod
mov r3, r1
str r3, [r4]
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L16:
ldr r3, [fp, #-16]
cmp r3, #9
ble .L17
nop
nop
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.size GVA, .-GVA
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "690893.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 "690893.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "27648.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], edi
mov QWORD PTR -16[rbp], rsi
mov BYTE PTR buf.0[rip+4105], 65
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.local buf.0
.comm buf.0,10,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 "27648.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
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, .L3
add r3, r3, #4096
mov r2, #65
strb r2, [r3, #9]
mov r3, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L4:
.align 2
.L3:
.word buf.4198
.size main, .-main
.local buf.4198
.comm buf.4198,10,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "131452.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%s"
.LC1:
.string "Palindromo"
.LC2:
.string "N\303\243o \303\251 Palindromo"
.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
lea rax, -112[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
lea rax, -112[rbp]
mov rdi, rax
call palindromo
cmp eax, 1
jne .L2
lea rdi, .LC1[rip]
call puts@PLT
jmp .L3
.L2:
lea rdi, .LC2[rip]
call puts@PLT
.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
.globl palindromo
.type palindromo, @function
palindromo:
.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 -8[rbp], 0
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call strlen@PLT
sub eax, 1
mov DWORD PTR -4[rbp], eax
jmp .L7
.L10:
mov eax, DWORD PTR -8[rbp]
movsx rdx, eax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movzx edx, BYTE PTR [rax]
mov eax, DWORD PTR -4[rbp]
movsx rcx, eax
mov rax, QWORD PTR -24[rbp]
add rax, rcx
movzx eax, BYTE PTR [rax]
cmp dl, al
je .L8
mov eax, 0
jmp .L9
.L8:
add DWORD PTR -8[rbp], 1
sub DWORD PTR -4[rbp], 1
.L7:
mov eax, DWORD PTR -8[rbp]
cmp eax, DWORD PTR -4[rbp]
jl .L10
mov eax, 1
.L9:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size palindromo, .-palindromo
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "131452.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "%s\000"
.align 2
.LC1:
.ascii "Palindromo\000"
.align 2
.LC2:
.ascii "N\303\243o \303\251 Palindromo\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, .L6
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r3, fp, #108
mov r1, r3
ldr r0, .L6+4
bl __isoc99_scanf
sub r3, fp, #108
mov r0, r3
bl palindromo
mov r3, r0
cmp r3, #1
bne .L2
ldr r0, .L6+8
bl puts
b .L3
.L2:
ldr r0, .L6+12
bl puts
.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 .LC3
.word .LC0
.word .LC1
.word .LC2
.size main, .-main
.align 2
.global palindromo
.syntax unified
.arm
.fpu softvfp
.type palindromo, %function
palindromo:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
mov r3, #0
str r3, [fp, #-12]
ldr r0, [fp, #-16]
bl strlen
mov r3, r0
sub r3, r3, #1
str r3, [fp, #-8]
b .L9
.L12:
ldr r3, [fp, #-12]
ldr r2, [fp, #-16]
add r3, r2, r3
ldrb r2, [r3] @ zero_extendqisi2
ldr r3, [fp, #-8]
ldr r1, [fp, #-16]
add r3, r1, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r2, r3
beq .L10
mov r3, #0
b .L11
.L10:
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
ldr r3, [fp, #-8]
sub r3, r3, #1
str r3, [fp, #-8]
.L9:
ldr r2, [fp, #-12]
ldr r3, [fp, #-8]
cmp r2, r3
blt .L12
mov r3, #1
.L11:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size palindromo, .-palindromo
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "588574.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "ch = %c, i = %d, fl = %2.2f\n"
.LC1:
.string "Now ch = %c\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 BYTE PTR -9[rbp], 67
mov DWORD PTR -8[rbp], 67
pxor xmm0, xmm0
cvtsi2ss xmm0, DWORD PTR -8[rbp]
movss DWORD PTR -4[rbp], xmm0
pxor xmm2, xmm2
cvtss2sd xmm2, DWORD PTR -4[rbp]
movq rcx, xmm2
movsx eax, BYTE PTR -9[rbp]
mov edx, DWORD PTR -8[rbp]
movq xmm0, rcx
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 1
call printf@PLT
movzx eax, BYTE PTR -9[rbp]
add eax, 1
mov BYTE PTR -9[rbp], al
movsx eax, BYTE PTR -9[rbp]
add eax, eax
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
addss xmm0, DWORD PTR -4[rbp]
cvttss2si eax, xmm0
mov DWORD PTR -8[rbp], eax
movsx eax, BYTE PTR -9[rbp]
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movapd xmm1, xmm0
addsd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, DWORD PTR -8[rbp]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss DWORD PTR -4[rbp], xmm0
pxor xmm3, xmm3
cvtss2sd xmm3, DWORD PTR -4[rbp]
movq rcx, xmm3
movsx eax, BYTE PTR -9[rbp]
mov edx, DWORD PTR -8[rbp]
movq xmm0, rcx
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 1
call printf@PLT
mov BYTE PTR -9[rbp], 83
movsx eax, BYTE PTR -9[rbp]
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
mov BYTE PTR -9[rbp], 80
movsx eax, BYTE PTR -9[rbp]
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.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 "588574.c"
.text
.global __aeabi_i2f
.global __aeabi_f2d
.section .rodata
.align 2
.LC0:
.ascii "ch = %c, i = %d, fl = %2.2f\012\000"
.global __aeabi_fadd
.global __aeabi_f2iz
.global __aeabi_i2d
.global __aeabi_dadd
.global __aeabi_d2f
.align 2
.LC1:
.ascii "Now ch = %c\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, #24
mov r3, #67
strb r3, [fp, #-21]
mov r3, #67
str r3, [fp, #-20]
ldr r0, [fp, #-20]
bl __aeabi_i2f
mov r3, r0
str r3, [fp, #-16] @ float
ldrb r4, [fp, #-21] @ zero_extendqisi2
ldr r0, [fp, #-16] @ float
bl __aeabi_f2d
mov r2, r0
mov r3, r1
stm sp, {r2-r3}
ldr r2, [fp, #-20]
mov r1, r4
ldr r0, .L3
bl printf
ldrb r3, [fp, #-21]
add r3, r3, #1
strb r3, [fp, #-21]
ldrb r3, [fp, #-21] @ zero_extendqisi2
lsl r3, r3, #1
mov r0, r3
bl __aeabi_i2f
mov r3, r0
ldr r1, [fp, #-16] @ float
mov r0, r3
bl __aeabi_fadd
mov r3, r0
mov r0, r3
bl __aeabi_f2iz
mov r3, r0
str r3, [fp, #-20]
ldrb r3, [fp, #-21] @ zero_extendqisi2
mov r0, r3
bl __aeabi_i2d
mov r2, r0
mov r3, r1
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r4, r2
mov r5, r3
ldr r0, [fp, #-20]
bl __aeabi_i2d
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl __aeabi_d2f
mov r3, r0
str r3, [fp, #-16] @ float
ldrb r4, [fp, #-21] @ zero_extendqisi2
ldr r0, [fp, #-16] @ float
bl __aeabi_f2d
mov r2, r0
mov r3, r1
stm sp, {r2-r3}
ldr r2, [fp, #-20]
mov r1, r4
ldr r0, .L3
bl printf
mov r3, #83
strb r3, [fp, #-21]
ldrb r3, [fp, #-21] @ zero_extendqisi2
mov r1, r3
ldr r0, .L3+4
bl printf
mov r3, #80
strb r3, [fp, #-21]
ldrb r3, [fp, #-21] @ zero_extendqisi2
mov r1, r3
ldr r0, .L3+4
bl printf
mov r3, #0
mov r0, r3
sub sp, fp, #12
@ sp needed
pop {r4, r5, fp, pc}
.L4:
.align 2
.L3:
.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 "267739.c"
.intel_syntax noprefix
.text
.globl foo
.type foo, @function
foo:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -20[rbp], edi
mov DWORD PTR -24[rbp], esi
mov DWORD PTR -28[rbp], edx
mov edx, DWORD PTR -20[rbp]
mov eax, DWORD PTR -24[rbp]
add eax, edx
mov DWORD PTR -8[rbp], eax
mov edx, DWORD PTR -8[rbp]
mov eax, DWORD PTR -28[rbp]
add eax, edx
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size foo, .-foo
.globl bar
.type bar, @function
bar:
.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 -4[rbp], edi
add DWORD PTR -4[rbp], 1
mov eax, DWORD PTR -4[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size bar, .-bar
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "267739.c"
.text
.align 2
.global foo
.syntax unified
.arm
.fpu softvfp
.type foo, %function
foo:
@ 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 r2, [fp, #-16]
ldr r3, [fp, #-20]
add r3, r2, r3
str r3, [fp, #-12]
ldr r2, [fp, #-12]
ldr r3, [fp, #-24]
add r3, r2, r3
str r3, [fp, #-8]
ldr r3, [fp, #-8]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size foo, .-foo
.align 2
.global bar
.syntax unified
.arm
.fpu softvfp
.type bar, %function
bar:
@ 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]
add r3, r3, #1
str r3, [fp, #-8]
ldr r3, [fp, #-8]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size bar, .-bar
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "896198.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "w+"
.LC1:
.string "bar.txt"
.text
.globl foo
.type foo, @function
foo:
.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
lea rsi, .LC0[rip]
lea rdi, .LC1[rip]
call fopen@PLT
mov QWORD PTR -8[rbp], rax
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size foo, .-foo
.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, 16
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call foo
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call fclose@PLT
mov eax, 0
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 "896198.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "w+\000"
.align 2
.LC1:
.ascii "bar.txt\000"
.text
.align 2
.global foo
.syntax unified
.arm
.fpu softvfp
.type foo, %function
foo:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
ldr r1, .L2
ldr r0, .L2+4
bl fopen
str r0, [fp, #-8]
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L3:
.align 2
.L2:
.word .LC0
.word .LC1
.size foo, .-foo
.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, [fp, #-8]
bl foo
ldr r0, [fp, #-8]
bl fclose
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 "304116.c"
.intel_syntax noprefix
.text
.globl add
.type add, @function
add:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -16[rbp], rax
mov edi, 16
call malloc@PLT
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR -28[rbp]
mov DWORD PTR [rax], edx
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
je .L2
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov eax, DWORD PTR [rax]
cmp DWORD PTR -28[rbp], eax
jge .L5
.L2:
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR [rax], rdx
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov rdx, QWORD PTR -16[rbp]
mov QWORD PTR 8[rax], rdx
jmp .L1
.L8:
mov rax, QWORD PTR -16[rbp]
mov eax, DWORD PTR [rax]
cmp DWORD PTR -28[rbp], eax
jl .L6
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
je .L7
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 8[rax]
mov eax, DWORD PTR [rax]
cmp DWORD PTR -28[rbp], eax
jge .L6
.L7:
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], rdx
jmp .L1
.L6:
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -16[rbp], rax
.L5:
cmp QWORD PTR -16[rbp], 0
jne .L8
.L1:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size add, .-add
.section .rodata
.LC0:
.string "%d "
.text
.globl display
.type display, @function
display:
.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
jmp .L10
.L11:
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR [rax]
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -8[rbp], rax
.L10:
cmp QWORD PTR -8[rbp], 0
jne .L11
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size display, .-display
.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, 16
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov QWORD PTR -16[rbp], 0
lea rax, -16[rbp]
mov esi, 23
mov rdi, rax
call add
lea rax, -16[rbp]
mov esi, 56
mov rdi, rax
call add
lea rax, -16[rbp]
mov esi, 78
mov rdi, rax
call add
lea rax, -16[rbp]
mov esi, 12
mov rdi, rax
call add
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call display
mov eax, 0
mov rdx, QWORD PTR -8[rbp]
sub rdx, QWORD PTR fs:40
je .L14
call __stack_chk_fail@PLT
.L14:
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 "304116.c"
.text
.align 2
.global add
.syntax unified
.arm
.fpu softvfp
.type add, %function
add:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
str r1, [fp, #-20]
ldr r3, [fp, #-16]
ldr r3, [r3]
str r3, [fp, #-12]
mov r0, #8
bl malloc
mov r3, r0
str r3, [fp, #-8]
ldr r3, [fp, #-8]
ldr r2, [fp, #-20]
str r2, [r3]
ldr r3, [fp, #-16]
ldr r3, [r3]
cmp r3, #0
beq .L2
ldr r3, [fp, #-16]
ldr r3, [r3]
ldr r3, [r3]
ldr r2, [fp, #-20]
cmp r2, r3
bge .L5
.L2:
ldr r3, [fp, #-16]
ldr r2, [fp, #-8]
str r2, [r3]
ldr r3, [fp, #-16]
ldr r3, [r3]
ldr r2, [fp, #-12]
str r2, [r3, #4]
b .L1
.L8:
ldr r3, [fp, #-12]
ldr r3, [r3]
ldr r2, [fp, #-20]
cmp r2, r3
blt .L6
ldr r3, [fp, #-12]
ldr r3, [r3, #4]
cmp r3, #0
beq .L7
ldr r3, [fp, #-12]
ldr r3, [r3, #4]
ldr r3, [r3]
ldr r2, [fp, #-20]
cmp r2, r3
bge .L6
.L7:
ldr r3, [fp, #-12]
ldr r2, [r3, #4]
ldr r3, [fp, #-8]
str r2, [r3, #4]
ldr r3, [fp, #-12]
ldr r2, [fp, #-8]
str r2, [r3, #4]
b .L1
.L6:
ldr r3, [fp, #-12]
ldr r3, [r3, #4]
str r3, [fp, #-12]
.L5:
ldr r3, [fp, #-12]
cmp r3, #0
bne .L8
.L1:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size add, .-add
.section .rodata
.align 2
.LC0:
.ascii "%d \000"
.text
.align 2
.global display
.syntax unified
.arm
.fpu softvfp
.type display, %function
display:
@ 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 .L10
.L11:
ldr r3, [fp, #-8]
ldr r3, [r3]
mov r1, r3
ldr r0, .L12
bl printf
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
str r3, [fp, #-8]
.L10:
ldr r3, [fp, #-8]
cmp r3, #0
bne .L11
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L13:
.align 2
.L12:
.word .LC0
.size display, .-display
.section .rodata
.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 = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
ldr r3, .L17
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-12]
sub r3, fp, #12
mov r1, #23
mov r0, r3
bl add
sub r3, fp, #12
mov r1, #56
mov r0, r3
bl add
sub r3, fp, #12
mov r1, #78
mov r0, r3
bl add
sub r3, fp, #12
mov r1, #12
mov r0, r3
bl add
ldr r3, [fp, #-12]
mov r0, r3
bl display
mov r3, #0
ldr r2, .L17
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L16
bl __stack_chk_fail
.L16:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L18:
.align 2
.L17:
.word .LC1
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "445891.c"
.intel_syntax noprefix
.text
.globl create
.type create, @function
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, 16
mov edi, 16
call malloc@PLT
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR [rax], 0
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], 0
mov rax, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size create, .-create
.globl insertEnd
.type insertEnd, @function
insertEnd:
.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 edi, 24
call malloc@PLT
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR -28[rbp]
mov DWORD PTR [rax], edx
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], 0
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
je .L4
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 8[rax]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], rdx
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 16[rax], rdx
jmp .L5
.L4:
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR [rax], rdx
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 16[rax], 0
.L5:
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], rdx
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size insertEnd, .-insertEnd
.globl insertStart
.type insertStart, @function
insertStart:
.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 edi, 24
call malloc@PLT
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR -28[rbp]
mov DWORD PTR [rax], edx
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 16[rax], 0
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
je .L7
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 16[rax], rdx
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], rdx
jmp .L8
.L7:
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], rdx
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], 0
.L8:
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR [rax], rdx
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size insertStart, .-insertStart
.globl isEmptyQueue
.type isEmptyQueue, @function
isEmptyQueue:
.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 -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR [rax]
test rax, rax
sete al
movzx eax, al
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size isEmptyQueue, .-isEmptyQueue
.section .rodata
.LC0:
.string "Essa fila est\303\241 vazia!"
.LC1:
.string "Valor: %d\n"
.text
.globl printQueue
.type printQueue, @function
printQueue:
.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 rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call isEmptyQueue
test eax, eax
je .L14
lea rdi, .LC0[rip]
call puts@PLT
jmp .L16
.L15:
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR [rax]
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -8[rbp], rax
.L14:
cmp QWORD PTR -8[rbp], 0
jne .L15
.L16:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size printQueue, .-printQueue
.globl search
.type search, @function
search:
.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 DWORD PTR -28[rbp], esi
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -8[rbp], rax
jmp .L18
.L21:
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR [rax]
cmp DWORD PTR -28[rbp], eax
jne .L19
mov rax, QWORD PTR -8[rbp]
jmp .L20
.L19:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -8[rbp], rax
.L18:
cmp QWORD PTR -8[rbp], 0
jne .L21
mov eax, 0
.L20:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size search, .-search
.globl freeQueue
.type freeQueue, @function
freeQueue:
.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 rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -16[rbp], rax
jmp .L23
.L24:
mov rax, QWORD PTR -16[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call free@PLT
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR -16[rbp], rax
.L23:
cmp QWORD PTR -16[rbp], 0
jne .L24
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call free@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE12:
.size freeQueue, .-freeQueue
.section .rodata
.LC2:
.string "\nFila j\303\241 vazia!"
.text
.globl removeStartQueue
.type removeStartQueue, @function
removeStartQueue:
.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 -24[rbp]
mov rdi, rax
call isEmptyQueue
test eax, eax
je .L26
lea rdi, .LC2[rip]
call puts@PLT
mov eax, 0
jmp .L27
.L26:
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR [rax]
mov DWORD PTR -12[rbp], eax
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR [rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
jne .L28
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR 8[rax], 0
jmp .L29
.L28:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR 16[rax], 0
.L29:
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call free@PLT
mov eax, DWORD PTR -12[rbp]
.L27:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE13:
.size removeStartQueue, .-removeStartQueue
.globl removeEndQueue
.type removeEndQueue, @function
removeEndQueue:
.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 rdi, rax
call isEmptyQueue
test eax, eax
je .L31
lea rdi, .LC2[rip]
call puts@PLT
mov eax, 0
jmp .L32
.L31:
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR [rax]
mov DWORD PTR -12[rbp], eax
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR 16[rax]
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR 8[rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rax]
test rax, rax
jne .L33
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR [rax], 0
jmp .L34
.L33:
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rax]
mov QWORD PTR 8[rax], 0
.L34:
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call free@PLT
mov eax, DWORD PTR -12[rbp]
.L32:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE14:
.size removeEndQueue, .-removeEndQueue
.section .rodata
.align 8
.LC3:
.string "Inserindo elemento 1 no in\303\255cio."
.align 8
.LC4:
.string "Inserindo elemento 2 no in\303\255cio."
.align 8
.LC5:
.string "Inserindo elemento 3 no in\303\255cio."
.align 8
.LC6:
.string "Inserindo elemento 100 no fim."
.LC7:
.string "Inserindo elemento 99 no fim."
.LC8:
.string "Inserindo elemento 98 no fim."
.LC9:
.string "Imprimindo a fila:"
.LC10:
.string "Removendo um elemento do fim."
.align 8
.LC11:
.string "Removendo um elemento do in\303\255cio."
.LC12:
.string "Liberando a fila."
.text
.globl main
.type main, @function
main:
.LFB15:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov eax, 0
call create
mov QWORD PTR -8[rbp], rax
lea rdi, .LC3[rip]
call puts@PLT
mov rax, QWORD PTR -8[rbp]
mov esi, 1
mov rdi, rax
call insertStart
lea rdi, .LC4[rip]
call puts@PLT
mov rax, QWORD PTR -8[rbp]
mov esi, 2
mov rdi, rax
call insertStart
lea rdi, .LC5[rip]
call puts@PLT
mov rax, QWORD PTR -8[rbp]
mov esi, 3
mov rdi, rax
call insertStart
lea rdi, .LC6[rip]
call puts@PLT
mov rax, QWORD PTR -8[rbp]
mov esi, 100
mov rdi, rax
call insertStart
lea rdi, .LC7[rip]
call puts@PLT
mov rax, QWORD PTR -8[rbp]
mov esi, 99
mov rdi, rax
call insertStart
lea rdi, .LC8[rip]
call puts@PLT
mov rax, QWORD PTR -8[rbp]
mov esi, 98
mov rdi, rax
call insertStart
lea rdi, .LC9[rip]
call puts@PLT
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call printQueue
lea rdi, .LC10[rip]
call puts@PLT
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call removeEndQueue
lea rdi, .LC11[rip]
call puts@PLT
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call removeStartQueue
lea rdi, .LC9[rip]
call puts@PLT
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call printQueue
lea rdi, .LC12[rip]
call puts@PLT
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call freeQueue
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE15:
.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 "445891.c"
.text
.align 2
.global create
.syntax unified
.arm
.fpu softvfp
.type create, %function
create:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
mov r0, #8
bl malloc
mov r3, r0
str r3, [fp, #-8]
ldr r3, [fp, #-8]
mov r2, #0
str r2, [r3]
ldr r3, [fp, #-8]
mov r2, #0
str r2, [r3, #4]
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size create, .-create
.align 2
.global insertEnd
.syntax unified
.arm
.fpu softvfp
.type insertEnd, %function
insertEnd:
@ 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 r0, #12
bl malloc
mov r3, r0
str r3, [fp, #-8]
ldr r3, [fp, #-8]
ldr r2, [fp, #-20]
str r2, [r3]
ldr r3, [fp, #-8]
mov r2, #0
str r2, [r3, #4]
ldr r3, [fp, #-16]
ldr r3, [r3, #4]
cmp r3, #0
beq .L4
ldr r3, [fp, #-16]
ldr r3, [r3, #4]
ldr r2, [fp, #-8]
str r2, [r3, #4]
ldr r3, [fp, #-16]
ldr r2, [r3, #4]
ldr r3, [fp, #-8]
str r2, [r3, #8]
b .L5
.L4:
ldr r3, [fp, #-16]
ldr r2, [fp, #-8]
str r2, [r3]
ldr r3, [fp, #-8]
mov r2, #0
str r2, [r3, #8]
.L5:
ldr r3, [fp, #-16]
ldr r2, [fp, #-8]
str r2, [r3, #4]
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size insertEnd, .-insertEnd
.align 2
.global insertStart
.syntax unified
.arm
.fpu softvfp
.type insertStart, %function
insertStart:
@ 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 r0, #12
bl malloc
mov r3, r0
str r3, [fp, #-8]
ldr r3, [fp, #-8]
ldr r2, [fp, #-20]
str r2, [r3]
ldr r3, [fp, #-8]
mov r2, #0
str r2, [r3, #8]
ldr r3, [fp, #-16]
ldr r3, [r3, #4]
cmp r3, #0
beq .L7
ldr r3, [fp, #-16]
ldr r3, [r3]
ldr r2, [fp, #-8]
str r2, [r3, #8]
ldr r3, [fp, #-16]
ldr r2, [r3]
ldr r3, [fp, #-8]
str r2, [r3, #4]
b .L8
.L7:
ldr r3, [fp, #-16]
ldr r2, [fp, #-8]
str r2, [r3, #4]
ldr r3, [fp, #-8]
mov r2, #0
str r2, [r3, #4]
.L8:
ldr r3, [fp, #-16]
ldr r2, [fp, #-8]
str r2, [r3]
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size insertStart, .-insertStart
.align 2
.global isEmptyQueue
.syntax unified
.arm
.fpu softvfp
.type isEmptyQueue, %function
isEmptyQueue:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
ldr r3, [fp, #-8]
ldr r3, [r3]
cmp r3, #0
moveq r3, #1
movne r3, #0
and r3, r3, #255
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size isEmptyQueue, .-isEmptyQueue
.section .rodata
.align 2
.LC0:
.ascii "Essa fila est\303\241 vazia!\000"
.align 2
.LC1:
.ascii "Valor: %d\012\000"
.text
.align 2
.global printQueue
.syntax unified
.arm
.fpu softvfp
.type printQueue, %function
printQueue:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
ldr r3, [fp, #-16]
ldr r3, [r3]
str r3, [fp, #-8]
ldr r0, [fp, #-16]
bl isEmptyQueue
mov r3, r0
cmp r3, #0
beq .L14
ldr r0, .L17
bl puts
b .L16
.L15:
ldr r3, [fp, #-8]
ldr r3, [r3]
mov r1, r3
ldr r0, .L17+4
bl printf
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
str r3, [fp, #-8]
.L14:
ldr r3, [fp, #-8]
cmp r3, #0
bne .L15
.L16:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L18:
.align 2
.L17:
.word .LC0
.word .LC1
.size printQueue, .-printQueue
.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]
str r1, [fp, #-20]
ldr r3, [fp, #-16]
ldr r3, [r3]
str r3, [fp, #-8]
b .L20
.L23:
ldr r3, [fp, #-8]
ldr r3, [r3]
ldr r2, [fp, #-20]
cmp r2, r3
bne .L21
ldr r3, [fp, #-8]
b .L22
.L21:
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
str r3, [fp, #-8]
.L20:
ldr r3, [fp, #-8]
cmp r3, #0
bne .L23
mov r3, #0
.L22:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size search, .-search
.align 2
.global freeQueue
.syntax unified
.arm
.fpu softvfp
.type freeQueue, %function
freeQueue:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
ldr r3, [fp, #-16]
ldr r3, [r3]
str r3, [fp, #-12]
b .L25
.L26:
ldr r3, [fp, #-12]
ldr r3, [r3, #4]
str r3, [fp, #-8]
ldr r0, [fp, #-12]
bl free
ldr r3, [fp, #-8]
str r3, [fp, #-12]
.L25:
ldr r3, [fp, #-12]
cmp r3, #0
bne .L26
ldr r0, [fp, #-16]
bl free
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size freeQueue, .-freeQueue
.section .rodata
.align 2
.LC2:
.ascii "\012Fila j\303\241 vazia!\000"
.text
.align 2
.global removeStartQueue
.syntax unified
.arm
.fpu softvfp
.type removeStartQueue, %function
removeStartQueue:
@ 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 r0, [fp, #-16]
bl isEmptyQueue
mov r3, r0
cmp r3, #0
beq .L28
ldr r0, .L32
bl puts
mov r3, #0
b .L29
.L28:
ldr r3, [fp, #-16]
ldr r3, [r3]
str r3, [fp, #-12]
ldr r3, [fp, #-12]
ldr r3, [r3]
str r3, [fp, #-8]
ldr r3, [fp, #-12]
ldr r2, [r3, #4]
ldr r3, [fp, #-16]
str r2, [r3]
ldr r3, [fp, #-12]
ldr r3, [r3, #4]
cmp r3, #0
bne .L30
ldr r3, [fp, #-16]
mov r2, #0
str r2, [r3, #4]
b .L31
.L30:
ldr r3, [fp, #-12]
ldr r3, [r3, #4]
mov r2, #0
str r2, [r3, #8]
.L31:
ldr r0, [fp, #-12]
bl free
ldr r3, [fp, #-8]
.L29:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L33:
.align 2
.L32:
.word .LC2
.size removeStartQueue, .-removeStartQueue
.align 2
.global removeEndQueue
.syntax unified
.arm
.fpu softvfp
.type removeEndQueue, %function
removeEndQueue:
@ 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 r0, [fp, #-16]
bl isEmptyQueue
mov r3, r0
cmp r3, #0
beq .L35
ldr r0, .L39
bl puts
mov r3, #0
b .L36
.L35:
ldr r3, [fp, #-16]
ldr r3, [r3, #4]
str r3, [fp, #-12]
ldr r3, [fp, #-12]
ldr r3, [r3]
str r3, [fp, #-8]
ldr r3, [fp, #-12]
ldr r2, [r3, #8]
ldr r3, [fp, #-16]
str r2, [r3, #4]
ldr r3, [fp, #-12]
ldr r3, [r3, #8]
cmp r3, #0
bne .L37
ldr r3, [fp, #-16]
mov r2, #0
str r2, [r3]
b .L38
.L37:
ldr r3, [fp, #-12]
ldr r3, [r3, #8]
mov r2, #0
str r2, [r3, #4]
.L38:
ldr r0, [fp, #-12]
bl free
ldr r3, [fp, #-8]
.L36:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L40:
.align 2
.L39:
.word .LC2
.size removeEndQueue, .-removeEndQueue
.section .rodata
.align 2
.LC3:
.ascii "Inserindo elemento 1 no in\303\255cio.\000"
.align 2
.LC4:
.ascii "Inserindo elemento 2 no in\303\255cio.\000"
.align 2
.LC5:
.ascii "Inserindo elemento 3 no in\303\255cio.\000"
.align 2
.LC6:
.ascii "Inserindo elemento 100 no fim.\000"
.align 2
.LC7:
.ascii "Inserindo elemento 99 no fim.\000"
.align 2
.LC8:
.ascii "Inserindo elemento 98 no fim.\000"
.align 2
.LC9:
.ascii "Imprimindo a fila:\000"
.align 2
.LC10:
.ascii "Removendo um elemento do fim.\000"
.align 2
.LC11:
.ascii "Removendo um elemento do in\303\255cio.\000"
.align 2
.LC12:
.ascii "Liberando a fila.\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
bl create
str r0, [fp, #-8]
ldr r0, .L43
bl puts
mov r1, #1
ldr r0, [fp, #-8]
bl insertStart
ldr r0, .L43+4
bl puts
mov r1, #2
ldr r0, [fp, #-8]
bl insertStart
ldr r0, .L43+8
bl puts
mov r1, #3
ldr r0, [fp, #-8]
bl insertStart
ldr r0, .L43+12
bl puts
mov r1, #100
ldr r0, [fp, #-8]
bl insertStart
ldr r0, .L43+16
bl puts
mov r1, #99
ldr r0, [fp, #-8]
bl insertStart
ldr r0, .L43+20
bl puts
mov r1, #98
ldr r0, [fp, #-8]
bl insertStart
ldr r0, .L43+24
bl puts
ldr r0, [fp, #-8]
bl printQueue
ldr r0, .L43+28
bl puts
ldr r0, [fp, #-8]
bl removeEndQueue
ldr r0, .L43+32
bl puts
ldr r0, [fp, #-8]
bl removeStartQueue
ldr r0, .L43+24
bl puts
ldr r0, [fp, #-8]
bl printQueue
ldr r0, .L43+36
bl puts
ldr r0, [fp, #-8]
bl freeQueue
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L44:
.align 2
.L43:
.word .LC3
.word .LC4
.word .LC5
.word .LC6
.word .LC7
.word .LC8
.word .LC9
.word .LC10
.word .LC11
.word .LC12
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "131519.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "The Surface Area is: %d"
.LC1:
.string "\nThe Volume is: %d"
.text
.globl main
.type main, @function
main:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov DWORD PTR -12[rbp], 8
mov eax, DWORD PTR -12[rbp]
imul eax, eax
mov edx, eax
mov eax, edx
add eax, eax
add eax, edx
add eax, eax
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -12[rbp]
imul eax, eax
mov edx, DWORD PTR -12[rbp]
imul eax, edx
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -8[rbp]
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR -4[rbp]
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.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 "131519.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "The Surface Area is: %d\000"
.align 2
.LC1:
.ascii "\012The Volume is: %d\000"
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
mov r3, #8
str r3, [fp, #-16]
ldr r3, [fp, #-16]
mul r2, r3, r3
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #1
str r3, [fp, #-12]
ldr r3, [fp, #-16]
mul r2, r3, r3
ldr r3, [fp, #-16]
mul r3, r2, r3
str r3, [fp, #-8]
ldr r1, [fp, #-12]
ldr r0, .L3
bl printf
ldr r1, [fp, #-8]
ldr r0, .L3+4
bl printf
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L4:
.align 2
.L3:
.word .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 "606418.c"
.intel_syntax noprefix
.text
.globl outsource
.type outsource, @function
outsource:
.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 -32[rbp]
mov DWORD PTR [rax], 0
mov DWORD PTR -4[rbp], 0
jmp .L2
.L3:
mov rax, QWORD PTR -32[rbp]
mov ecx, DWORD PTR [rax]
mov rax, QWORD PTR -24[rbp]
mov edx, DWORD PTR -4[rbp]
movsx rdx, edx
mov eax, DWORD PTR [rax+rdx*4]
xor ecx, eax
mov edx, ecx
mov rax, QWORD PTR -32[rbp]
mov DWORD PTR [rax], edx
add DWORD PTR -4[rbp], 1
.L2:
cmp DWORD PTR -4[rbp], 999
jle .L3
nop
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size outsource, .-outsource
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "606418.c"
.text
.align 2
.global outsource
.syntax unified
.arm
.fpu softvfp
.type outsource, %function
outsource:
@ 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, #-20]
mov r2, #0
str r2, [r3]
mov r3, #0
str r3, [fp, #-8]
b .L2
.L3:
ldr r3, [fp, #-20]
ldr r2, [r3]
ldr r3, [fp, #-16]
ldr r1, [fp, #-8]
ldr r3, [r3, r1, lsl #2]
eor r2, r2, r3
ldr r3, [fp, #-20]
str r2, [r3]
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L2:
ldr r3, [fp, #-8]
cmp r3, #1000
blt .L3
nop
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size outsource, .-outsource
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "240134.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "w+"
.LC1:
.string "Usage: %s file\n"
.LC2:
.string "record: '%d'\n"
.LC3:
.string "Err.(%d) open() - %s\n"
.LC4:
.string "Err.(%d) mmap() - %s\n"
.LC5:
.string "Reading from file mapped:\n"
.LC6:
.string "Err.(%d) munmap() - %s\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, 136
.cfi_offset 3, -24
mov DWORD PTR -132[rbp], edi
mov QWORD PTR -144[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -24[rbp], rax
xor eax, eax
mov rax, QWORD PTR -144[rbp]
add rax, 8
mov rax, QWORD PTR [rax]
lea rsi, .LC0[rip]
mov rdi, rax
call fopen@PLT
mov QWORD PTR -112[rbp], rax
cmp QWORD PTR -112[rbp], 0
jne .L2
mov rax, QWORD PTR -144[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR stderr[rip]
lea rsi, .LC1[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov edi, 1
call exit@PLT
.L2:
mov DWORD PTR -124[rbp], 0
jmp .L3
.L4:
mov eax, DWORD PTR -124[rbp]
mov DWORD PTR -96[rbp], eax
mov eax, DWORD PTR -124[rbp]
lea rdx, -96[rbp]
lea rcx, 4[rdx]
mov edx, eax
lea rsi, .LC2[rip]
mov rdi, rcx
mov eax, 0
call sprintf@PLT
lea rax, -96[rbp]
add rax, 4
mov rdi, rax
call strlen@PLT
mov rsi, rax
mov rax, QWORD PTR -112[rbp]
lea rdx, -96[rbp]
lea rdi, 4[rdx]
mov rcx, rax
mov edx, 1
call fwrite@PLT
add DWORD PTR -124[rbp], 1
.L3:
cmp DWORD PTR -124[rbp], 9
jle .L4
mov rax, QWORD PTR -112[rbp]
mov rdi, rax
call fclose@PLT
mov rax, QWORD PTR -144[rbp]
add rax, 8
mov rax, QWORD PTR [rax]
mov esi, 2
mov rdi, rax
mov eax, 0
call open@PLT
mov DWORD PTR -120[rbp], eax
cmp DWORD PTR -120[rbp], -1
jne .L5
call __errno_location@PLT
mov eax, DWORD PTR [rax]
mov edi, eax
call strerror@PLT
mov rbx, rax
call __errno_location@PLT
mov edx, DWORD PTR [rax]
mov rax, QWORD PTR stderr[rip]
mov rcx, rbx
lea rsi, .LC3[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov edi, 1
call exit@PLT
.L5:
mov eax, DWORD PTR -120[rbp]
mov r9d, 0
mov r8d, eax
mov ecx, 1
mov edx, 3
mov esi, 680
mov edi, 0
call mmap@PLT
mov QWORD PTR -104[rbp], rax
cmp QWORD PTR -104[rbp], -1
jne .L6
call __errno_location@PLT
mov eax, DWORD PTR [rax]
mov edi, eax
call strerror@PLT
mov rbx, rax
call __errno_location@PLT
mov edx, DWORD PTR [rax]
mov rax, QWORD PTR stderr[rip]
mov rcx, rbx
lea rsi, .LC4[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov edi, 1
call exit@PLT
.L6:
mov rax, QWORD PTR stdout[rip]
mov rcx, rax
mov edx, 26
mov esi, 1
lea rdi, .LC5[rip]
call fwrite@PLT
jmp .L7
.L8:
mov eax, DWORD PTR -116[rbp]
movsx rdx, eax
lea rax, -125[rbp]
mov rsi, rax
mov edi, 1
call write@PLT
.L7:
lea rcx, -125[rbp]
mov eax, DWORD PTR -120[rbp]
mov edx, 1
mov rsi, rcx
mov edi, eax
call read@PLT
mov DWORD PTR -116[rbp], eax
cmp DWORD PTR -116[rbp], 0
jg .L8
mov rax, QWORD PTR -104[rbp]
mov esi, 680
mov rdi, rax
call munmap@PLT
cmp eax, -1
jne .L9
call __errno_location@PLT
mov eax, DWORD PTR [rax]
mov edi, eax
call strerror@PLT
mov rbx, rax
call __errno_location@PLT
mov edx, DWORD PTR [rax]
mov rax, QWORD PTR stderr[rip]
mov rcx, rbx
lea rsi, .LC6[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov edi, 1
call exit@PLT
.L9:
mov eax, DWORD PTR -120[rbp]
mov edi, eax
call close@PLT
mov eax, 0
mov rbx, QWORD PTR -24[rbp]
sub rbx, QWORD PTR fs:40
je .L11
call __stack_chk_fail@PLT
.L11:
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 "240134.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "w+\000"
.align 2
.LC1:
.ascii "Usage: %s file\012\000"
.align 2
.LC2:
.ascii "record: '%d'\012\000"
.align 2
.LC3:
.ascii "Err.(%d) open() - %s\012\000"
.align 2
.LC4:
.ascii "Err.(%d) mmap() - %s\012\000"
.align 2
.LC5:
.ascii "Reading from file mapped:\012\000"
.align 2
.LC6:
.ascii "Err.(%d) munmap() - %s\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 = 104
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, fp, lr}
add fp, sp, #12
sub sp, sp, #112
str r0, [fp, #-112]
str r1, [fp, #-116]
ldr r3, .L12
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
ldr r3, [fp, #-116]
add r3, r3, #4
ldr r3, [r3]
ldr r1, .L12+4
mov r0, r3
bl fopen
str r0, [fp, #-100]
ldr r3, [fp, #-100]
cmp r3, #0
bne .L2
ldr r3, .L12+8
ldr r0, [r3]
ldr r3, [fp, #-116]
ldr r3, [r3]
mov r2, r3
ldr r1, .L12+12
bl fprintf
mov r0, #1
bl exit
.L2:
mov r3, #0
str r3, [fp, #-104]
b .L3
.L4:
ldr r3, [fp, #-104]
str r3, [fp, #-84]
sub r3, fp, #84
add r3, r3, #4
ldr r2, [fp, #-104]
ldr r1, .L12+16
mov r0, r3
bl sprintf
sub r3, fp, #84
add r3, r3, #4
mov r0, r3
bl strlen
mov r1, r0
sub r3, fp, #84
add r0, r3, #4
ldr r3, [fp, #-100]
mov r2, #1
bl fwrite
ldr r3, [fp, #-104]
add r3, r3, #1
str r3, [fp, #-104]
.L3:
ldr r3, [fp, #-104]
cmp r3, #9
ble .L4
ldr r0, [fp, #-100]
bl fclose
ldr r3, [fp, #-116]
add r3, r3, #4
ldr r3, [r3]
mov r1, #2
mov r0, r3
bl open
str r0, [fp, #-96]
ldr r3, [fp, #-96]
cmn r3, #1
bne .L5
ldr r3, .L12+8
ldr r4, [r3]
bl __errno_location
mov r3, r0
ldr r5, [r3]
bl __errno_location
mov r3, r0
ldr r3, [r3]
mov r0, r3
bl strerror
mov r3, r0
mov r2, r5
ldr r1, .L12+20
mov r0, r4
bl fprintf
mov r0, #1
bl exit
.L5:
mov r3, #0
str r3, [sp, #4]
ldr r3, [fp, #-96]
str r3, [sp]
mov r3, #1
mov r2, #3
mov r1, #680
mov r0, #0
bl mmap
str r0, [fp, #-92]
ldr r3, [fp, #-92]
cmn r3, #1
bne .L6
ldr r3, .L12+8
ldr r4, [r3]
bl __errno_location
mov r3, r0
ldr r5, [r3]
bl __errno_location
mov r3, r0
ldr r3, [r3]
mov r0, r3
bl strerror
mov r3, r0
mov r2, r5
ldr r1, .L12+24
mov r0, r4
bl fprintf
mov r0, #1
bl exit
.L6:
ldr r3, .L12+28
ldr r3, [r3]
mov r2, #26
mov r1, #1
ldr r0, .L12+32
bl fwrite
b .L7
.L8:
ldr r2, [fp, #-88]
sub r3, fp, #105
mov r1, r3
mov r0, #1
bl write
.L7:
sub r3, fp, #105
mov r2, #1
mov r1, r3
ldr r0, [fp, #-96]
bl read
str r0, [fp, #-88]
ldr r3, [fp, #-88]
cmp r3, #0
bgt .L8
mov r1, #680
ldr r0, [fp, #-92]
bl munmap
mov r3, r0
cmn r3, #1
bne .L9
ldr r3, .L12+8
ldr r4, [r3]
bl __errno_location
mov r3, r0
ldr r5, [r3]
bl __errno_location
mov r3, r0
ldr r3, [r3]
mov r0, r3
bl strerror
mov r3, r0
mov r2, r5
ldr r1, .L12+36
mov r0, r4
bl fprintf
mov r0, #1
bl exit
.L9:
ldr r0, [fp, #-96]
bl close
mov r3, #0
ldr r2, .L12
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L11
bl __stack_chk_fail
.L11:
mov r0, r3
sub sp, fp, #12
@ sp needed
pop {r4, r5, fp, pc}
.L13:
.align 2
.L12:
.word .LC7
.word .LC0
.word stderr
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.word stdout
.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 "381357.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string " "
.LC1:
.string "method: %s\n"
.LC2:
.string "url: %s\n"
.LC3:
.string "http version: %s\n"
.LC4:
.string "http://"
.LC5:
.string "no http found"
.LC6:
.string "https://"
.LC7:
.string "no https found"
.LC8:
.string ":"
.LC9:
.string "hostname: %s\n"
.LC10:
.string "/"
.LC11:
.string "path is root"
.LC12:
.string "port: %s\n"
.LC13:
.string "directory: %s\n"
.text
.globl parseRequest
.type parseRequest, @function
parseRequest:
.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, 4096
or QWORD PTR [rsp], 0
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 2096
mov QWORD PTR -10280[rbp], rdi
mov QWORD PTR -10288[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov rax, QWORD PTR -10280[rbp]
mov rdi, rax
call strlen@PLT
mov rdx, rax
mov rcx, QWORD PTR -10280[rbp]
lea rax, -8208[rbp]
mov rsi, rcx
mov rdi, rax
call strncpy@PLT
mov rax, QWORD PTR -10280[rbp]
mov rdi, rax
call strlen@PLT
mov BYTE PTR -8208[rbp+rax], 0
lea rax, -8208[rbp]
lea rsi, .LC0[rip]
mov rdi, rax
call strtok@PLT
mov QWORD PTR -10264[rbp], rax
cmp QWORD PTR -10264[rbp], 0
jne .L2
mov eax, -1
jmp .L12
.L2:
mov rax, QWORD PTR -10264[rbp]
mov rdi, rax
call strlen@PLT
mov rdx, rax
mov rax, QWORD PTR -10288[rbp]
mov rcx, QWORD PTR -10264[rbp]
mov rsi, rcx
mov rdi, rax
call strncpy@PLT
mov rax, QWORD PTR -10288[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
lea rsi, .LC0[rip]
mov edi, 0
call strtok@PLT
mov QWORD PTR -10264[rbp], rax
cmp QWORD PTR -10264[rbp], 0
jne .L4
mov eax, -2
jmp .L12
.L4:
mov rax, QWORD PTR -10264[rbp]
mov rdi, rax
call strlen@PLT
mov rdx, rax
mov rcx, QWORD PTR -10264[rbp]
lea rax, -10256[rbp]
mov rsi, rcx
mov rdi, rax
call strncpy@PLT
lea rax, -10256[rbp]
mov rsi, rax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
lea rsi, .LC0[rip]
mov edi, 0
call strtok@PLT
mov QWORD PTR -10264[rbp], rax
cmp QWORD PTR -10264[rbp], 0
jne .L5
mov eax, -3
jmp .L12
.L5:
mov rax, QWORD PTR -10264[rbp]
mov rdi, rax
call strlen@PLT
mov rdx, rax
mov rax, QWORD PTR -10288[rbp]
lea rcx, 50[rax]
mov rax, QWORD PTR -10264[rbp]
mov rsi, rax
mov rdi, rcx
call strncpy@PLT
mov rax, QWORD PTR -10288[rbp]
add rax, 50
mov rsi, rax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
lea rax, -10256[rbp]
lea rsi, .LC4[rip]
mov rdi, rax
call strstr@PLT
mov QWORD PTR -10272[rbp], rax
cmp QWORD PTR -10272[rbp], 0
jne .L6
lea rdi, .LC5[rip]
call puts@PLT
lea rax, -10256[rbp]
lea rsi, .LC6[rip]
mov rdi, rax
call strstr@PLT
mov QWORD PTR -10272[rbp], rax
cmp QWORD PTR -10272[rbp], 0
jne .L7
lea rdi, .LC7[rip]
call puts@PLT
jmp .L8
.L7:
mov rax, QWORD PTR -10288[rbp]
add rax, 70
movabs rcx, 3400000511170344040
mov QWORD PTR [rax], rcx
add QWORD PTR -10272[rbp], 8
jmp .L8
.L6:
mov rax, QWORD PTR -10288[rbp]
add rax, 70
mov DWORD PTR [rax], 1886680168
mov WORD PTR 4[rax], 12090
mov BYTE PTR 6[rax], 47
add QWORD PTR -10272[rbp], 7
.L8:
mov rax, QWORD PTR -10272[rbp]
lea rsi, .LC8[rip]
mov rdi, rax
call strtok@PLT
mov QWORD PTR -10272[rbp], rax
cmp QWORD PTR -10272[rbp], 0
jne .L9
mov eax, -4
jmp .L12
.L9:
mov rax, QWORD PTR -10272[rbp]
mov rdi, rax
call strlen@PLT
mov rdx, rax
mov rax, QWORD PTR -10288[rbp]
lea rcx, 90[rax]
mov rax, QWORD PTR -10272[rbp]
mov rsi, rax
mov rdi, rcx
call strncpy@PLT
mov rax, QWORD PTR -10288[rbp]
add rax, 90
mov rsi, rax
lea rdi, .LC9[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR -10272[rbp]
mov rdi, rax
call strlen@PLT
add rax, 1
add QWORD PTR -10272[rbp], rax
mov rax, QWORD PTR -10272[rbp]
lea rsi, .LC10[rip]
mov rdi, rax
call strtok@PLT
mov QWORD PTR -10272[rbp], rax
cmp QWORD PTR -10272[rbp], 0
jne .L10
lea rdi, .LC11[rip]
call puts@PLT
mov rax, QWORD PTR -10272[rbp]
mov rdi, rax
call strlen@PLT
mov rdx, rax
mov rax, QWORD PTR -10288[rbp]
lea rcx, 590[rax]
mov rax, QWORD PTR -10272[rbp]
mov rsi, rax
mov rdi, rcx
call strncpy@PLT
mov rax, QWORD PTR -10288[rbp]
add rax, 600
mov BYTE PTR [rax], 47
mov rax, QWORD PTR -10288[rbp]
add rax, 590
mov rsi, rax
lea rdi, .LC12[rip]
mov eax, 0
call printf@PLT
jmp .L11
.L10:
mov rax, QWORD PTR -10272[rbp]
mov rdi, rax
call strlen@PLT
mov rdx, rax
mov rax, QWORD PTR -10288[rbp]
lea rcx, 590[rax]
mov rax, QWORD PTR -10272[rbp]
mov rsi, rax
mov rdi, rcx
call strncpy@PLT
mov rax, QWORD PTR -10288[rbp]
add rax, 590
mov rsi, rax
lea rdi, .LC12[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR -10272[rbp]
mov rdi, rax
call strlen@PLT
add QWORD PTR -10272[rbp], rax
mov rax, QWORD PTR -10272[rbp]
mov rdi, rax
call strlen@PLT
mov rdx, rax
mov rax, QWORD PTR -10288[rbp]
lea rcx, 600[rax]
mov rax, QWORD PTR -10272[rbp]
mov rsi, rax
mov rdi, rcx
call strncpy@PLT
mov rax, QWORD PTR -10288[rbp]
add rax, 600
mov rsi, rax
lea rdi, .LC13[rip]
mov eax, 0
call printf@PLT
.L11:
mov eax, 0
.L12:
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 parseRequest, .-parseRequest
.section .rodata
.LC14:
.string "httpver: %s\n"
.LC15:
.string "protocol: %s\n"
.text
.globl printRequest
.type printRequest, @function
printRequest:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR -8[rbp]
add rax, 50
mov rsi, rax
lea rdi, .LC14[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR -8[rbp]
add rax, 70
mov rsi, rax
lea rdi, .LC15[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR -8[rbp]
add rax, 90
mov rsi, rax
lea rdi, .LC9[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR -8[rbp]
add rax, 590
mov rsi, rax
lea rdi, .LC12[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR -8[rbp]
add rax, 600
mov rsi, rax
lea rdi, .LC13[rip]
mov eax, 0
call printf@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size printRequest, .-printRequest
.section .rodata
.LC16:
.string "GET"
.LC17:
.string "%s %s %s\r\nHost: %s\r\n\r\n"
.LC18:
.string "HEAD"
.LC19:
.string "CONNECT"
.LC20:
.string "%s %s %s\r\n"
.LC21:
.string "OPTIONS"
.LC22:
.string "TRACE"
.text
.globl formatRequest
.type formatRequest, @function
formatRequest:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
mov rax, QWORD PTR -8[rbp]
lea rsi, .LC16[rip]
mov rdi, rax
call strcmp@PLT
test eax, eax
jne .L16
mov rax, QWORD PTR -8[rbp]
lea rdi, 90[rax]
mov rax, QWORD PTR -8[rbp]
lea rsi, 50[rax]
mov rax, QWORD PTR -8[rbp]
lea rcx, 600[rax]
mov rdx, QWORD PTR -8[rbp]
mov rax, QWORD PTR -16[rbp]
mov r9, rdi
mov r8, rsi
lea rsi, .LC17[rip]
mov rdi, rax
mov eax, 0
call sprintf@PLT
jmp .L21
.L16:
mov rax, QWORD PTR -8[rbp]
lea rsi, .LC18[rip]
mov rdi, rax
call strcmp@PLT
test eax, eax
jne .L18
mov rax, QWORD PTR -8[rbp]
lea rdi, 90[rax]
mov rax, QWORD PTR -8[rbp]
lea rsi, 50[rax]
mov rax, QWORD PTR -8[rbp]
lea rcx, 600[rax]
mov rdx, QWORD PTR -8[rbp]
mov rax, QWORD PTR -16[rbp]
mov r9, rdi
mov r8, rsi
lea rsi, .LC17[rip]
mov rdi, rax
mov eax, 0
call sprintf@PLT
jmp .L21
.L18:
mov rax, QWORD PTR -8[rbp]
lea rsi, .LC19[rip]
mov rdi, rax
call strcmp@PLT
test eax, eax
jne .L19
mov rax, QWORD PTR -8[rbp]
lea rsi, 50[rax]
mov rax, QWORD PTR -8[rbp]
lea rcx, 90[rax]
mov rdx, QWORD PTR -8[rbp]
mov rax, QWORD PTR -16[rbp]
mov r8, rsi
lea rsi, .LC20[rip]
mov rdi, rax
mov eax, 0
call sprintf@PLT
jmp .L21
.L19:
mov rax, QWORD PTR -8[rbp]
lea rsi, .LC21[rip]
mov rdi, rax
call strcmp@PLT
test eax, eax
jne .L20
mov rax, QWORD PTR -8[rbp]
lea rsi, 50[rax]
mov rax, QWORD PTR -8[rbp]
lea rcx, 90[rax]
mov rdx, QWORD PTR -8[rbp]
mov rax, QWORD PTR -16[rbp]
mov r8, rsi
lea rsi, .LC20[rip]
mov rdi, rax
mov eax, 0
call sprintf@PLT
jmp .L21
.L20:
mov rax, QWORD PTR -8[rbp]
lea rsi, .LC22[rip]
mov rdi, rax
call strcmp@PLT
test eax, eax
jne .L21
mov rax, QWORD PTR -8[rbp]
lea rdi, 90[rax]
mov rax, QWORD PTR -8[rbp]
lea rsi, 50[rax]
mov rax, QWORD PTR -8[rbp]
lea rcx, 600[rax]
mov rdx, QWORD PTR -8[rbp]
mov rax, QWORD PTR -16[rbp]
mov r9, rdi
mov r8, rsi
lea rsi, .LC17[rip]
mov rdi, rax
mov eax, 0
call sprintf@PLT
.L21:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size formatRequest, .-formatRequest
.section .rodata
.align 8
.LC23:
.string "GET http://www.ics.uci.edu:80/~harris/test.html HTTP/1.1"
.LC24:
.string "Success!"
.text
.globl main
.type main, @function
main:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 1152
mov DWORD PTR -9332[rbp], edi
mov QWORD PTR -9344[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rax, .LC23[rip]
mov QWORD PTR -9320[rbp], rax
lea rdx, -9312[rbp]
mov rax, QWORD PTR -9320[rbp]
mov rsi, rdx
mov rdi, rax
call parseRequest
mov DWORD PTR -9324[rbp], eax
cmp DWORD PTR -9324[rbp], 0
jne .L23
lea rdi, .LC24[rip]
call puts@PLT
.L23:
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L25
call __stack_chk_fail@PLT
.L25:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size main, .-main
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "381357.c"
.text
.section .rodata
.align 2
.LC0:
.ascii " \000"
.align 2
.LC1:
.ascii "method: %s\012\000"
.align 2
.LC2:
.ascii "url: %s\012\000"
.align 2
.LC3:
.ascii "http version: %s\012\000"
.align 2
.LC4:
.ascii "http://\000"
.align 2
.LC5:
.ascii "no http found\000"
.align 2
.LC6:
.ascii "https://\000"
.align 2
.LC7:
.ascii "no https found\000"
.align 2
.LC8:
.ascii ":\000"
.align 2
.LC9:
.ascii "hostname: %s\012\000"
.align 2
.LC10:
.ascii "/\000"
.align 2
.LC11:
.ascii "path is root\000"
.align 2
.LC12:
.ascii "port: %s\012\000"
.align 2
.LC13:
.ascii "directory: %s\012\000"
.align 2
.LC14:
.word __stack_chk_guard
.text
.align 2
.global parseRequest
.syntax unified
.arm
.fpu softvfp
.type parseRequest, %function
parseRequest:
@ args = 0, pretend = 0, frame = 10264
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #10240
sub sp, sp, #28
sub r3, fp, #8192
sub r3, r3, #12
str r0, [r3, #-2068]
sub r3, fp, #8192
sub r3, r3, #12
str r1, [r3, #-2072]
ldr r3, .L14
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
sub r3, fp, #8192
sub r3, r3, #12
ldr r0, [r3, #-2068]
bl strlen
mov r2, r0
sub r3, fp, #8192
sub r3, r3, #12
mov r1, r3
sub r3, fp, #8192
sub r3, r3, #12
sub r3, r3, #4
ldr r1, [r1, #-2068]
mov r0, r3
bl strncpy
sub r3, fp, #8192
sub r3, r3, #12
ldr r0, [r3, #-2068]
bl strlen
mov r3, r0
sub r2, fp, #8192
sub r2, r2, #12
add r3, r2, r3
mov r2, #0
strb r2, [r3, #-4]
sub r3, fp, #8192
sub r3, r3, #12
mov r4, r3
sub r3, fp, #8192
sub r3, r3, #12
sub r3, r3, #4
ldr r1, .L14+4
mov r0, r3
bl strtok
str r0, [r4, #-2056]
sub r3, fp, #8192
sub r3, r3, #12
ldr r3, [r3, #-2056]
cmp r3, #0
bne .L2
mvn r3, #0
b .L12
.L2:
sub r3, fp, #8192
sub r3, r3, #12
ldr r4, [r3, #-2072]
sub r3, fp, #8192
sub r3, r3, #12
ldr r0, [r3, #-2056]
bl strlen
mov r3, r0
sub r2, fp, #8192
sub r2, r2, #12
mov r1, r2
mov r2, r3
ldr r1, [r1, #-2056]
mov r0, r4
bl strncpy
sub r3, fp, #8192
sub r3, r3, #12
ldr r3, [r3, #-2072]
mov r1, r3
ldr r0, .L14+8
bl printf
sub r3, fp, #8192
sub r3, r3, #12
mov r4, r3
ldr r1, .L14+4
mov r0, #0
bl strtok
str r0, [r4, #-2056]
sub r3, fp, #8192
sub r3, r3, #12
ldr r3, [r3, #-2056]
cmp r3, #0
bne .L4
mvn r3, #1
b .L12
.L4:
sub r3, fp, #8192
sub r3, r3, #12
ldr r0, [r3, #-2056]
bl strlen
mov r2, r0
sub r3, fp, #8192
sub r3, r3, #12
mov r1, r3
sub r3, fp, #10240
sub r3, r3, #12
sub r3, r3, #4
ldr r1, [r1, #-2056]
mov r0, r3
bl strncpy
sub r3, fp, #10240
sub r3, r3, #12
sub r3, r3, #4
mov r1, r3
ldr r0, .L14+12
bl printf
sub r3, fp, #8192
sub r3, r3, #12
mov r4, r3
ldr r1, .L14+4
mov r0, #0
bl strtok
str r0, [r4, #-2056]
sub r3, fp, #8192
sub r3, r3, #12
ldr r3, [r3, #-2056]
cmp r3, #0
bne .L5
mvn r3, #2
b .L12
.L5:
sub r3, fp, #8192
sub r3, r3, #12
ldr r3, [r3, #-2072]
add r4, r3, #50
sub r3, fp, #8192
sub r3, r3, #12
ldr r0, [r3, #-2056]
bl strlen
mov r3, r0
sub r2, fp, #8192
sub r2, r2, #12
mov r1, r2
mov r2, r3
ldr r1, [r1, #-2056]
mov r0, r4
bl strncpy
sub r3, fp, #8192
sub r3, r3, #12
ldr r3, [r3, #-2072]
add r3, r3, #50
mov r1, r3
ldr r0, .L14+16
bl printf
sub r3, fp, #8192
sub r3, r3, #12
mov r4, r3
sub r3, fp, #10240
sub r3, r3, #12
sub r3, r3, #4
ldr r1, .L14+20
mov r0, r3
bl strstr
str r0, [r4, #-2060]
sub r3, fp, #8192
sub r3, r3, #12
ldr r3, [r3, #-2060]
cmp r3, #0
bne .L6
ldr r0, .L14+24
bl puts
sub r3, fp, #8192
sub r3, r3, #12
mov r4, r3
sub r3, fp, #10240
sub r3, r3, #12
sub r3, r3, #4
ldr r1, .L14+28
mov r0, r3
bl strstr
str r0, [r4, #-2060]
sub r3, fp, #8192
sub r3, r3, #12
ldr r3, [r3, #-2060]
cmp r3, #0
bne .L7
ldr r0, .L14+32
bl puts
b .L8
.L7:
sub r3, fp, #8192
sub r3, r3, #12
ldr r3, [r3, #-2072]
add r3, r3, #70
ldr r2, .L14+28
mov r0, r3
mov r1, r2
mov r3, #8
mov r2, r3
bl memcpy
sub r3, fp, #8192
sub r3, r3, #12
mov r2, r3
sub r3, fp, #8192
sub r3, r3, #12
ldr r3, [r3, #-2060]
add r3, r3, #8
str r3, [r2, #-2060]
b .L8
.L6:
sub r3, fp, #8192
sub r3, r3, #12
ldr r3, [r3, #-2072]
add r3, r3, #70
ldr r2, .L14+20
mov r0, r3
mov r1, r2
mov r3, #7
mov r2, r3
bl memcpy
sub r3, fp, #8192
sub r3, r3, #12
mov r2, r3
sub r3, fp, #8192
sub r3, r3, #12
ldr r3, [r3, #-2060]
add r3, r3, #7
str r3, [r2, #-2060]
.L8:
sub r3, fp, #8192
sub r3, r3, #12
mov r4, r3
sub r3, fp, #8192
sub r3, r3, #12
ldr r1, .L14+36
ldr r0, [r3, #-2060]
bl strtok
str r0, [r4, #-2060]
sub r3, fp, #8192
sub r3, r3, #12
ldr r3, [r3, #-2060]
cmp r3, #0
bne .L9
mvn r3, #3
b .L12
.L9:
sub r3, fp, #8192
sub r3, r3, #12
ldr r3, [r3, #-2072]
add r4, r3, #90
sub r3, fp, #8192
sub r3, r3, #12
ldr r0, [r3, #-2060]
bl strlen
mov r3, r0
sub r2, fp, #8192
sub r2, r2, #12
mov r1, r2
mov r2, r3
ldr r1, [r1, #-2060]
mov r0, r4
bl strncpy
sub r3, fp, #8192
sub r3, r3, #12
ldr r3, [r3, #-2072]
add r3, r3, #90
mov r1, r3
ldr r0, .L14+40
bl printf
sub r3, fp, #8192
sub r3, r3, #12
ldr r0, [r3, #-2060]
bl strlen
mov r3, r0
add r3, r3, #1
sub r2, fp, #8192
sub r2, r2, #12
mov r1, r2
sub r2, fp, #8192
sub r2, r2, #12
ldr r2, [r2, #-2060]
add r3, r2, r3
str r3, [r1, #-2060]
sub r3, fp, #8192
sub r3, r3, #12
mov r4, r3
sub r3, fp, #8192
sub r3, r3, #12
ldr r1, .L14+44
ldr r0, [r3, #-2060]
bl strtok
str r0, [r4, #-2060]
sub r3, fp, #8192
sub r3, r3, #12
ldr r3, [r3, #-2060]
cmp r3, #0
bne .L10
ldr r0, .L14+48
bl puts
sub r3, fp, #8192
sub r3, r3, #12
ldr r3, [r3, #-2072]
add r4, r3, #588
add r4, r4, #2
sub r3, fp, #8192
sub r3, r3, #12
ldr r0, [r3, #-2060]
bl strlen
mov r3, r0
sub r2, fp, #8192
sub r2, r2, #12
mov r1, r2
mov r2, r3
ldr r1, [r1, #-2060]
mov r0, r4
bl strncpy
sub r3, fp, #8192
sub r3, r3, #12
ldr r3, [r3, #-2072]
add r3, r3, #600
mov r2, #47
strb r2, [r3]
sub r3, fp, #8192
sub r3, r3, #12
ldr r3, [r3, #-2072]
add r3, r3, #588
add r3, r3, #2
mov r1, r3
ldr r0, .L14+52
bl printf
b .L11
.L10:
sub r3, fp, #8192
sub r3, r3, #12
ldr r3, [r3, #-2072]
add r4, r3, #588
add r4, r4, #2
sub r3, fp, #8192
sub r3, r3, #12
ldr r0, [r3, #-2060]
bl strlen
mov r3, r0
sub r2, fp, #8192
sub r2, r2, #12
mov r1, r2
mov r2, r3
ldr r1, [r1, #-2060]
mov r0, r4
bl strncpy
sub r3, fp, #8192
sub r3, r3, #12
ldr r3, [r3, #-2072]
add r3, r3, #588
add r3, r3, #2
mov r1, r3
ldr r0, .L14+52
bl printf
sub r3, fp, #8192
sub r3, r3, #12
ldr r0, [r3, #-2060]
bl strlen
mov r2, r0
sub r3, fp, #8192
sub r3, r3, #12
mov r1, r3
sub r3, fp, #8192
sub r3, r3, #12
ldr r3, [r3, #-2060]
add r3, r3, r2
str r3, [r1, #-2060]
sub r3, fp, #8192
sub r3, r3, #12
ldr r3, [r3, #-2072]
add r4, r3, #600
sub r3, fp, #8192
sub r3, r3, #12
ldr r0, [r3, #-2060]
bl strlen
mov r3, r0
sub r2, fp, #8192
sub r2, r2, #12
mov r1, r2
mov r2, r3
ldr r1, [r1, #-2060]
mov r0, r4
bl strncpy
sub r3, fp, #8192
sub r3, r3, #12
ldr r3, [r3, #-2072]
add r3, r3, #600
mov r1, r3
ldr r0, .L14+56
bl printf
.L11:
mov r3, #0
.L12:
ldr r2, .L14
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L13
bl __stack_chk_fail
.L13:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L15:
.align 2
.L14:
.word .LC14
.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
.size parseRequest, .-parseRequest
.section .rodata
.align 2
.LC15:
.ascii "httpver: %s\012\000"
.align 2
.LC16:
.ascii "protocol: %s\012\000"
.text
.align 2
.global printRequest
.syntax unified
.arm
.fpu softvfp
.type printRequest, %function
printRequest:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
ldr r3, [fp, #-8]
mov r1, r3
ldr r0, .L17
bl printf
ldr r3, [fp, #-8]
add r3, r3, #50
mov r1, r3
ldr r0, .L17+4
bl printf
ldr r3, [fp, #-8]
add r3, r3, #70
mov r1, r3
ldr r0, .L17+8
bl printf
ldr r3, [fp, #-8]
add r3, r3, #90
mov r1, r3
ldr r0, .L17+12
bl printf
ldr r3, [fp, #-8]
add r3, r3, #588
add r3, r3, #2
mov r1, r3
ldr r0, .L17+16
bl printf
ldr r3, [fp, #-8]
add r3, r3, #600
mov r1, r3
ldr r0, .L17+20
bl printf
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L18:
.align 2
.L17:
.word .LC1
.word .LC15
.word .LC16
.word .LC9
.word .LC12
.word .LC13
.size printRequest, .-printRequest
.section .rodata
.align 2
.LC17:
.ascii "GET\000"
.align 2
.LC18:
.ascii "%s %s %s\015\012Host: %s\015\012\015\012\000"
.align 2
.LC19:
.ascii "HEAD\000"
.align 2
.LC20:
.ascii "CONNECT\000"
.align 2
.LC21:
.ascii "%s %s %s\015\012\000"
.align 2
.LC22:
.ascii "OPTIONS\000"
.align 2
.LC23:
.ascii "TRACE\000"
.text
.align 2
.global formatRequest
.syntax unified
.arm
.fpu softvfp
.type formatRequest, %function
formatRequest:
@ args = 0, pretend = 0, frame = 8
@ 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]
ldr r3, [fp, #-8]
ldr r1, .L26
mov r0, r3
bl strcmp
mov r3, r0
cmp r3, #0
bne .L20
ldr r1, [fp, #-8]
ldr r3, [fp, #-8]
add r0, r3, #600
ldr r3, [fp, #-8]
add r3, r3, #50
ldr r2, [fp, #-8]
add r2, r2, #90
str r2, [sp, #4]
str r3, [sp]
mov r3, r0
mov r2, r1
ldr r1, .L26+4
ldr r0, [fp, #-12]
bl sprintf
b .L25
.L20:
ldr r3, [fp, #-8]
ldr r1, .L26+8
mov r0, r3
bl strcmp
mov r3, r0
cmp r3, #0
bne .L22
ldr r1, [fp, #-8]
ldr r3, [fp, #-8]
add r0, r3, #600
ldr r3, [fp, #-8]
add r3, r3, #50
ldr r2, [fp, #-8]
add r2, r2, #90
str r2, [sp, #4]
str r3, [sp]
mov r3, r0
mov r2, r1
ldr r1, .L26+4
ldr r0, [fp, #-12]
bl sprintf
b .L25
.L22:
ldr r3, [fp, #-8]
ldr r1, .L26+12
mov r0, r3
bl strcmp
mov r3, r0
cmp r3, #0
bne .L23
ldr r2, [fp, #-8]
ldr r3, [fp, #-8]
add r1, r3, #90
ldr r3, [fp, #-8]
add r3, r3, #50
str r3, [sp]
mov r3, r1
ldr r1, .L26+16
ldr r0, [fp, #-12]
bl sprintf
b .L25
.L23:
ldr r3, [fp, #-8]
ldr r1, .L26+20
mov r0, r3
bl strcmp
mov r3, r0
cmp r3, #0
bne .L24
ldr r2, [fp, #-8]
ldr r3, [fp, #-8]
add r1, r3, #90
ldr r3, [fp, #-8]
add r3, r3, #50
str r3, [sp]
mov r3, r1
ldr r1, .L26+16
ldr r0, [fp, #-12]
bl sprintf
b .L25
.L24:
ldr r3, [fp, #-8]
ldr r1, .L26+24
mov r0, r3
bl strcmp
mov r3, r0
cmp r3, #0
bne .L25
ldr r1, [fp, #-8]
ldr r3, [fp, #-8]
add r0, r3, #600
ldr r3, [fp, #-8]
add r3, r3, #50
ldr r2, [fp, #-8]
add r2, r2, #90
str r2, [sp, #4]
str r3, [sp]
mov r3, r0
mov r2, r1
ldr r1, .L26+4
ldr r0, [fp, #-12]
bl sprintf
.L25:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L27:
.align 2
.L26:
.word .LC17
.word .LC18
.word .LC19
.word .LC20
.word .LC21
.word .LC22
.word .LC23
.size formatRequest, .-formatRequest
.section .rodata
.align 2
.LC24:
.ascii "GET http://www.ics.uci.edu:80/~harris/test.html HTT"
.ascii "P/1.1\000"
.align 2
.LC25:
.ascii "Success!\000"
.align 2
.LC26:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 9312
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #9280
sub sp, sp, #36
sub r3, fp, #8192
sub r3, r3, #12
str r0, [r3, #-1116]
sub r3, fp, #8192
sub r3, r3, #12
str r1, [r3, #-1120]
ldr r3, .L32
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
sub r3, fp, #8192
sub r3, r3, #12
mov r2, r3
ldr r3, .L32+4
str r3, [r2, #-1112]
sub r3, fp, #8192
sub r3, r3, #12
mov r4, r3
sub r3, fp, #9280
sub r3, r3, #12
sub r3, r3, #16
sub r2, fp, #8192
sub r2, r2, #12
mov r1, r3
ldr r0, [r2, #-1112]
bl parseRequest
str r0, [r4, #-1108]
sub r3, fp, #8192
sub r3, r3, #12
ldr r3, [r3, #-1108]
cmp r3, #0
bne .L29
ldr r0, .L32+8
bl puts
.L29:
mov r3, #0
ldr r2, .L32
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L31
bl __stack_chk_fail
.L31:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L33:
.align 2
.L32:
.word .LC26
.word .LC24
.word .LC25
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "750833.c"
.intel_syntax noprefix
.text
.globl main
.type main, @function
main:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -20[rbp], edi
mov DWORD PTR -4[rbp], 0
jmp .L2
.L3:
add DWORD PTR -4[rbp], 1
.L2:
mov eax, DWORD PTR -20[rbp]
imul eax, eax, 100
cmp DWORD PTR -4[rbp], eax
jb .L3
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 "750833.c"
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #20
str r0, [fp, #-16]
mov r3, #0
str r3, [fp, #-8]
b .L2
.L3:
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L2:
ldr r2, [fp, #-16]
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, #-8]
cmp r3, r2
bcc .L3
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 "616542.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 "616542.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "65742.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "tcsetattr()"
.LC1:
.string "tcsetattr ICANON"
.LC2:
.string "read()"
.LC3:
.string "tcsetattr ~ICANON"
.text
.globl getch
.type getch, @function
getch:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 96
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov BYTE PTR -81[rbp], 0
mov QWORD PTR -80[rbp], 0
mov QWORD PTR -72[rbp], 0
mov QWORD PTR -64[rbp], 0
mov QWORD PTR -56[rbp], 0
mov QWORD PTR -48[rbp], 0
mov QWORD PTR -40[rbp], 0
mov QWORD PTR -32[rbp], 0
mov DWORD PTR -24[rbp], 0
lea rax, -80[rbp]
mov rsi, rax
mov edi, 0
call tcgetattr@PLT
test eax, eax
jns .L2
lea rdi, .LC0[rip]
call perror@PLT
.L2:
mov eax, DWORD PTR -68[rbp]
and eax, -3
mov DWORD PTR -68[rbp], eax
mov eax, DWORD PTR -68[rbp]
and eax, -9
mov DWORD PTR -68[rbp], eax
mov BYTE PTR -57[rbp], 1
mov BYTE PTR -58[rbp], 0
lea rax, -80[rbp]
mov rdx, rax
mov esi, 0
mov edi, 0
call tcsetattr@PLT
test eax, eax
jns .L3
lea rdi, .LC1[rip]
call perror@PLT
.L3:
lea rax, -81[rbp]
mov edx, 1
mov rsi, rax
mov edi, 0
call read@PLT
test rax, rax
jns .L4
lea rdi, .LC2[rip]
call perror@PLT
.L4:
mov eax, DWORD PTR -68[rbp]
or eax, 2
mov DWORD PTR -68[rbp], eax
mov eax, DWORD PTR -68[rbp]
or eax, 8
mov DWORD PTR -68[rbp], eax
lea rax, -80[rbp]
mov rdx, rax
mov esi, 1
mov edi, 0
call tcsetattr@PLT
test eax, eax
jns .L5
lea rdi, .LC3[rip]
call perror@PLT
.L5:
movzx eax, BYTE PTR -81[rbp]
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
.LFE6:
.size getch, .-getch
.section .rodata
.LC4:
.string "Duplication fault !\n"
.LC5:
.string "draw.out"
.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
lea rax, -16[rbp]
mov rdi, rax
call pipe@PLT
call fork@PLT
mov DWORD PTR -24[rbp], eax
cmp DWORD PTR -24[rbp], 0
jne .L9
mov eax, DWORD PTR -16[rbp]
mov esi, 0
mov edi, eax
call dup2@PLT
mov DWORD PTR -20[rbp], eax
cmp DWORD PTR -20[rbp], 0
jns .L10
lea rdi, .LC4[rip]
call perror@PLT
mov edi, 0
call exit@PLT
.L10:
mov eax, DWORD PTR -16[rbp]
mov edi, eax
call close@PLT
mov esi, 0
lea rdi, .LC5[rip]
call execv@PLT
mov eax, 0
jmp .L14
.L9:
mov eax, 0
call getch
mov BYTE PTR -25[rbp], al
movzx eax, BYTE PTR -25[rbp]
movsx eax, al
cmp eax, 113
jne .L12
mov eax, DWORD PTR -12[rbp]
mov edi, eax
call close@PLT
mov eax, DWORD PTR -24[rbp]
mov esi, 9
mov edi, eax
call kill@PLT
mov eax, 0
jmp .L14
.L12:
mov eax, DWORD PTR -12[rbp]
lea rcx, -25[rbp]
mov edx, 1
mov rsi, rcx
mov edi, eax
call write@PLT
mov eax, DWORD PTR -24[rbp]
mov esi, 12
mov edi, eax
call kill@PLT
nop
jmp .L9
.L14:
mov rdx, QWORD PTR -8[rbp]
sub rdx, 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 "65742.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "tcsetattr()\000"
.align 2
.LC1:
.ascii "tcsetattr ICANON\000"
.align 2
.LC2:
.ascii "read()\000"
.align 2
.LC3:
.ascii "tcsetattr ~ICANON\000"
.align 2
.LC4:
.word __stack_chk_guard
.text
.align 2
.global getch
.syntax unified
.arm
.fpu softvfp
.type getch, %function
getch:
@ 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 r3, #0
strb r3, [fp, #-69]
sub r3, fp, #68
mov r2, #60
mov r1, #0
mov r0, r3
bl memset
sub r3, fp, #68
mov r1, r3
mov r0, #0
bl tcgetattr
mov r3, r0
cmp r3, #0
bge .L2
ldr r0, .L8+4
bl perror
.L2:
ldr r3, [fp, #-56]
bic r3, r3, #2
str r3, [fp, #-56]
ldr r3, [fp, #-56]
bic r3, r3, #8
str r3, [fp, #-56]
mov r3, #1
strb r3, [fp, #-45]
mov r3, #0
strb r3, [fp, #-46]
sub r3, fp, #68
mov r2, r3
mov r1, #0
mov r0, #0
bl tcsetattr
mov r3, r0
cmp r3, #0
bge .L3
ldr r0, .L8+8
bl perror
.L3:
sub r3, fp, #69
mov r2, #1
mov r1, r3
mov r0, #0
bl read
mov r3, r0
cmp r3, #0
bge .L4
ldr r0, .L8+12
bl perror
.L4:
ldr r3, [fp, #-56]
orr r3, r3, #2
str r3, [fp, #-56]
ldr r3, [fp, #-56]
orr r3, r3, #8
str r3, [fp, #-56]
sub r3, fp, #68
mov r2, r3
mov r1, #1
mov r0, #0
bl tcsetattr
mov r3, r0
cmp r3, #0
bge .L5
ldr r0, .L8+16
bl perror
.L5:
ldrb r3, [fp, #-69] @ zero_extendqisi2
ldr r2, .L8
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L7
bl __stack_chk_fail
.L7:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L9:
.align 2
.L8:
.word .LC4
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.size getch, .-getch
.section .rodata
.align 2
.LC5:
.ascii "Duplication fault !\012\000"
.align 2
.LC6:
.ascii "draw.out\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 = 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, .L18
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r3, fp, #16
mov r0, r3
bl pipe
bl fork
mov r3, r0
str r3, [fp, #-24]
ldr r3, [fp, #-24]
cmp r3, #0
bne .L11
ldr r3, [fp, #-16]
mov r1, #0
mov r0, r3
bl dup2
str r0, [fp, #-20]
ldr r3, [fp, #-20]
cmp r3, #0
bge .L12
ldr r0, .L18+4
bl perror
mov r0, #0
bl exit
.L12:
ldr r3, [fp, #-16]
mov r0, r3
bl close
mov r1, #0
ldr r0, .L18+8
bl execv
mov r3, #0
b .L16
.L11:
bl getch
mov r3, r0
strb r3, [fp, #-25]
ldrb r3, [fp, #-25] @ zero_extendqisi2
cmp r3, #113
bne .L14
ldr r3, [fp, #-12]
mov r0, r3
bl close
mov r1, #9
ldr r0, [fp, #-24]
bl kill
mov r3, #0
b .L16
.L14:
ldr r3, [fp, #-12]
sub r1, fp, #25
mov r2, #1
mov r0, r3
bl write
mov r1, #12
ldr r0, [fp, #-24]
bl kill
nop
b .L11
.L16:
ldr r2, .L18
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L17
bl __stack_chk_fail
.L17:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L19:
.align 2
.L18:
.word .LC7
.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 "752560.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 "752560.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "614811.c"
.intel_syntax noprefix
.text
.section .rodata
.align 8
.LC0:
.string "\n-----------------------------------------------------------"
.LC2:
.string "quick sort elapsed time=%e\n"
.align 8
.LC3:
.string "-----------------------------------------------------------"
.align 8
.LC4:
.string "quick sort(selection %d) elapsed time=%e\n"
.align 8
.LC5:
.string "quick sort(insertion %d) elapsed time=%e\n"
.align 8
.LC6:
.string "selection sort elapsed time=%e\n"
.align 8
.LC7:
.string "insertion sort elapsed time=%e\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
add rsp, -128
mov DWORD PTR -116[rbp], edi
mov QWORD PTR -128[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov rax, QWORD PTR -128[rbp]
add rax, 8
mov rax, QWORD PTR [rax]
mov rdi, rax
call atoi@PLT
mov DWORD PTR -104[rbp], eax
mov eax, DWORD PTR -104[rbp]
mov DWORD PTR -100[rbp], eax
lea rdi, .LC0[rip]
call puts@PLT
mov edi, 0
call time@PLT
mov edi, eax
call srand@PLT
mov eax, DWORD PTR -104[rbp]
cdqe
sal rax, 2
mov rdi, rax
call malloc@PLT
mov QWORD PTR -96[rbp], rax
mov eax, DWORD PTR -104[rbp]
cdqe
sal rax, 2
mov rdi, rax
call malloc@PLT
mov QWORD PTR -88[rbp], rax
mov eax, DWORD PTR -104[rbp]
cdqe
sal rax, 2
mov rdi, rax
call malloc@PLT
mov QWORD PTR -80[rbp], rax
mov DWORD PTR -112[rbp], 0
jmp .L2
.L3:
call rand@PLT
mov edx, DWORD PTR -112[rbp]
movsx rdx, edx
lea rcx, 0[0+rdx*4]
mov rdx, QWORD PTR -96[rbp]
add rcx, rdx
cdq
idiv DWORD PTR -104[rbp]
mov eax, edx
mov DWORD PTR [rcx], eax
add DWORD PTR -112[rbp], 1
.L2:
mov eax, DWORD PTR -112[rbp]
cmp eax, DWORD PTR -104[rbp]
jl .L3
mov edx, DWORD PTR -104[rbp]
mov rcx, QWORD PTR -96[rbp]
mov rax, QWORD PTR -80[rbp]
mov rsi, rcx
mov rdi, rax
call copy_column
lea rax, -48[rbp]
mov esi, 0
mov rdi, rax
call gettimeofday@PLT
mov eax, DWORD PTR -104[rbp]
lea edx, -1[rax]
mov rax, QWORD PTR -80[rbp]
mov esi, 0
mov rdi, rax
call quick_sort
lea rax, -32[rbp]
mov esi, 0
mov rdi, rax
call gettimeofday@PLT
mov rdx, QWORD PTR -48[rbp]
mov rax, QWORD PTR -32[rbp]
mov rsi, rdx
mov rdi, rax
call difftime@PLT
cvttsd2si rax, xmm0
mov QWORD PTR -72[rbp], rax
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -40[rbp]
sub rax, rdx
mov QWORD PTR -64[rbp], rax
pxor xmm1, xmm1
cvtsi2sd xmm1, QWORD PTR -72[rbp]
pxor xmm2, xmm2
cvtsi2sd xmm2, QWORD PTR -64[rbp]
movsd xmm0, QWORD PTR .LC1[rip]
mulsd xmm0, xmm2
addsd xmm0, xmm1
movsd QWORD PTR -56[rbp], xmm0
mov rax, QWORD PTR -56[rbp]
movq xmm0, rax
lea rdi, .LC2[rip]
mov eax, 1
call printf@PLT
lea rdi, .LC3[rip]
call puts@PLT
mov DWORD PTR -108[rbp], 1
jmp .L4
.L5:
mov edx, DWORD PTR -104[rbp]
mov rcx, QWORD PTR -96[rbp]
mov rax, QWORD PTR -88[rbp]
mov rsi, rcx
mov rdi, rax
call copy_column
lea rax, -48[rbp]
mov esi, 0
mov rdi, rax
call gettimeofday@PLT
mov eax, DWORD PTR -104[rbp]
lea esi, -1[rax]
mov edx, DWORD PTR -108[rbp]
mov rax, QWORD PTR -88[rbp]
mov ecx, edx
mov edx, esi
mov esi, 0
mov rdi, rax
call quick_sort_selection
lea rax, -32[rbp]
mov esi, 0
mov rdi, rax
call gettimeofday@PLT
mov edx, DWORD PTR -104[rbp]
mov rcx, QWORD PTR -80[rbp]
mov rax, QWORD PTR -88[rbp]
mov rsi, rcx
mov rdi, rax
call check
mov rdx, QWORD PTR -48[rbp]
mov rax, QWORD PTR -32[rbp]
mov rsi, rdx
mov rdi, rax
call difftime@PLT
cvttsd2si rax, xmm0
mov QWORD PTR -72[rbp], rax
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -40[rbp]
sub rax, rdx
mov QWORD PTR -64[rbp], rax
pxor xmm1, xmm1
cvtsi2sd xmm1, QWORD PTR -72[rbp]
pxor xmm2, xmm2
cvtsi2sd xmm2, QWORD PTR -64[rbp]
movsd xmm0, QWORD PTR .LC1[rip]
mulsd xmm0, xmm2
addsd xmm0, xmm1
movsd QWORD PTR -56[rbp], xmm0
mov rdx, QWORD PTR -56[rbp]
mov eax, DWORD PTR -108[rbp]
movq xmm0, rdx
mov esi, eax
lea rdi, .LC4[rip]
mov eax, 1
call printf@PLT
add DWORD PTR -108[rbp], 1
.L4:
cmp DWORD PTR -108[rbp], 99
jle .L5
lea rdi, .LC3[rip]
call puts@PLT
mov DWORD PTR -108[rbp], 1
jmp .L6
.L7:
mov edx, DWORD PTR -104[rbp]
mov rcx, QWORD PTR -96[rbp]
mov rax, QWORD PTR -88[rbp]
mov rsi, rcx
mov rdi, rax
call copy_column
lea rax, -48[rbp]
mov esi, 0
mov rdi, rax
call gettimeofday@PLT
mov eax, DWORD PTR -104[rbp]
lea esi, -1[rax]
mov edx, DWORD PTR -108[rbp]
mov rax, QWORD PTR -88[rbp]
mov ecx, edx
mov edx, esi
mov esi, 0
mov rdi, rax
call quick_sort_insertion
lea rax, -32[rbp]
mov esi, 0
mov rdi, rax
call gettimeofday@PLT
mov edx, DWORD PTR -104[rbp]
mov rcx, QWORD PTR -80[rbp]
mov rax, QWORD PTR -88[rbp]
mov rsi, rcx
mov rdi, rax
call check
mov rdx, QWORD PTR -48[rbp]
mov rax, QWORD PTR -32[rbp]
mov rsi, rdx
mov rdi, rax
call difftime@PLT
cvttsd2si rax, xmm0
mov QWORD PTR -72[rbp], rax
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -40[rbp]
sub rax, rdx
mov QWORD PTR -64[rbp], rax
pxor xmm1, xmm1
cvtsi2sd xmm1, QWORD PTR -72[rbp]
pxor xmm2, xmm2
cvtsi2sd xmm2, QWORD PTR -64[rbp]
movsd xmm0, QWORD PTR .LC1[rip]
mulsd xmm0, xmm2
addsd xmm0, xmm1
movsd QWORD PTR -56[rbp], xmm0
mov rdx, QWORD PTR -56[rbp]
mov eax, DWORD PTR -108[rbp]
movq xmm0, rdx
mov esi, eax
lea rdi, .LC5[rip]
mov eax, 1
call printf@PLT
add DWORD PTR -108[rbp], 1
.L6:
cmp DWORD PTR -108[rbp], 99
jle .L7
lea rdi, .LC3[rip]
call puts@PLT
mov edx, DWORD PTR -104[rbp]
mov rcx, QWORD PTR -96[rbp]
mov rax, QWORD PTR -88[rbp]
mov rsi, rcx
mov rdi, rax
call copy_column
lea rax, -48[rbp]
mov esi, 0
mov rdi, rax
call gettimeofday@PLT
lea rax, -32[rbp]
mov esi, 0
mov rdi, rax
call gettimeofday@PLT
mov edx, DWORD PTR -104[rbp]
mov rcx, QWORD PTR -80[rbp]
mov rax, QWORD PTR -88[rbp]
mov rsi, rcx
mov rdi, rax
call check
mov rdx, QWORD PTR -48[rbp]
mov rax, QWORD PTR -32[rbp]
mov rsi, rdx
mov rdi, rax
call difftime@PLT
cvttsd2si rax, xmm0
mov QWORD PTR -72[rbp], rax
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -40[rbp]
sub rax, rdx
mov QWORD PTR -64[rbp], rax
pxor xmm1, xmm1
cvtsi2sd xmm1, QWORD PTR -72[rbp]
pxor xmm2, xmm2
cvtsi2sd xmm2, QWORD PTR -64[rbp]
movsd xmm0, QWORD PTR .LC1[rip]
mulsd xmm0, xmm2
addsd xmm0, xmm1
movsd QWORD PTR -56[rbp], xmm0
mov rax, QWORD PTR -56[rbp]
movq xmm0, rax
lea rdi, .LC6[rip]
mov eax, 1
call printf@PLT
lea rdi, .LC3[rip]
call puts@PLT
mov edx, DWORD PTR -104[rbp]
mov rcx, QWORD PTR -96[rbp]
mov rax, QWORD PTR -88[rbp]
mov rsi, rcx
mov rdi, rax
call copy_column
lea rax, -48[rbp]
mov esi, 0
mov rdi, rax
call gettimeofday@PLT
lea rax, -32[rbp]
mov esi, 0
mov rdi, rax
call gettimeofday@PLT
mov edx, DWORD PTR -104[rbp]
mov rcx, QWORD PTR -80[rbp]
mov rax, QWORD PTR -88[rbp]
mov rsi, rcx
mov rdi, rax
call check
mov rdx, QWORD PTR -48[rbp]
mov rax, QWORD PTR -32[rbp]
mov rsi, rdx
mov rdi, rax
call difftime@PLT
cvttsd2si rax, xmm0
mov QWORD PTR -72[rbp], rax
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -40[rbp]
sub rax, rdx
mov QWORD PTR -64[rbp], rax
pxor xmm1, xmm1
cvtsi2sd xmm1, QWORD PTR -72[rbp]
pxor xmm2, xmm2
cvtsi2sd xmm2, QWORD PTR -64[rbp]
movsd xmm0, QWORD PTR .LC1[rip]
mulsd xmm0, xmm2
addsd xmm0, xmm1
movsd QWORD PTR -56[rbp], xmm0
mov rax, QWORD PTR -56[rbp]
movq xmm0, rax
lea rdi, .LC7[rip]
mov eax, 1
call printf@PLT
lea rdi, .LC3[rip]
call puts@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
.LFE6:
.size main, .-main
.section .rodata
.LC8:
.string "failed %d\n"
.LC9:
.string "Check OK!"
.text
.globl check
.type check, @function
check:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov DWORD PTR -36[rbp], edx
mov DWORD PTR -4[rbp], 0
jmp .L11
.L14:
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 -4[rbp]
cdqe
lea rcx, 0[0+rax*4]
mov rax, QWORD PTR -32[rbp]
add rax, rcx
mov eax, DWORD PTR [rax]
cmp edx, eax
je .L12
mov eax, DWORD PTR -4[rbp]
mov esi, eax
lea rdi, .LC8[rip]
mov eax, 0
call printf@PLT
jmp .L10
.L12:
add DWORD PTR -4[rbp], 1
.L11:
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -36[rbp]
jl .L14
lea rdi, .LC9[rip]
call puts@PLT
.L10:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size check, .-check
.globl copy_column
.type copy_column, @function
copy_column:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov DWORD PTR -36[rbp], edx
mov DWORD PTR -4[rbp], 0
jmp .L16
.L17:
mov eax, DWORD PTR -4[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -32[rbp]
add rax, rdx
mov edx, DWORD PTR -4[rbp]
movsx rdx, edx
lea rcx, 0[0+rdx*4]
mov rdx, QWORD PTR -24[rbp]
add rdx, rcx
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
add DWORD PTR -4[rbp], 1
.L16:
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -36[rbp]
jl .L17
nop
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size copy_column, .-copy_column
.section .rodata
.LC10:
.string "%d,"
.LC11:
.string "%d\n"
.text
.globl print_column
.type print_column, @function
print_column:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov DWORD PTR -4[rbp], 0
jmp .L19
.L20:
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]
mov esi, eax
lea rdi, .LC10[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -4[rbp], 1
.L19:
mov eax, DWORD PTR -28[rbp]
sub eax, 1
cmp DWORD PTR -4[rbp], eax
jl .L20
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]
mov esi, eax
lea rdi, .LC11[rip]
mov eax, 0
call printf@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size print_column, .-print_column
.globl selection_sort
.type selection_sort, @function
selection_sort:
.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 -32[rbp], edx
mov eax, DWORD PTR -28[rbp]
mov DWORD PTR -12[rbp], eax
jmp .L22
.L27:
mov eax, DWORD PTR -12[rbp]
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -12[rbp]
mov DWORD PTR -8[rbp], eax
jmp .L23
.L25:
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 .L24
mov eax, DWORD PTR -8[rbp]
mov DWORD PTR -4[rbp], eax
.L24:
add DWORD PTR -8[rbp], 1
.L23:
mov eax, DWORD PTR -8[rbp]
cmp eax, DWORD PTR -32[rbp]
jl .L25
mov eax, DWORD PTR -12[rbp]
cmp eax, DWORD PTR -4[rbp]
je .L26
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 -12[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
.L26:
add DWORD PTR -12[rbp], 1
.L22:
mov eax, DWORD PTR -12[rbp]
cmp eax, DWORD PTR -32[rbp]
jl .L27
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size selection_sort, .-selection_sort
.globl insertion_sort
.type insertion_sort, @function
insertion_sort:
.LFB11:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov DWORD PTR -32[rbp], edx
mov eax, DWORD PTR -28[rbp]
add eax, 1
mov DWORD PTR -8[rbp], eax
jmp .L29
.L33:
mov eax, DWORD PTR -8[rbp]
mov DWORD PTR -4[rbp], eax
jmp .L30
.L32:
mov eax, DWORD PTR -4[rbp]
cdqe
sal rax, 2
lea rdx, -4[rax]
mov rax, QWORD PTR -24[rbp]
add rdx, rax
mov eax, DWORD PTR -4[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
sub DWORD PTR -4[rbp], 1
.L30:
cmp DWORD PTR -4[rbp], 0
jle .L31
mov eax, DWORD PTR -4[rbp]
cdqe
sal rax, 2
lea rdx, -4[rax]
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
jg .L32
.L31:
add DWORD PTR -8[rbp], 1
.L29:
mov eax, DWORD PTR -8[rbp]
cmp eax, DWORD PTR -32[rbp]
jl .L33
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size insertion_sort, .-insertion_sort
.globl quick_sort_insertion
.type quick_sort_insertion, @function
quick_sort_insertion:
.LFB12:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov DWORD PTR -32[rbp], edx
mov DWORD PTR -36[rbp], ecx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov eax, DWORD PTR -32[rbp]
sub eax, DWORD PTR -28[rbp]
cmp DWORD PTR -36[rbp], eax
jl .L35
mov eax, DWORD PTR -32[rbp]
lea edx, 1[rax]
mov ecx, DWORD PTR -28[rbp]
mov rax, QWORD PTR -24[rbp]
mov esi, ecx
mov rdi, rax
call insertion_sort
jmp .L34
.L35:
mov eax, DWORD PTR -28[rbp]
cmp eax, DWORD PTR -32[rbp]
jge .L34
lea rdi, -16[rbp]
lea rcx, -12[rbp]
mov edx, DWORD PTR -32[rbp]
mov esi, DWORD PTR -28[rbp]
mov rax, QWORD PTR -24[rbp]
mov r8, rdi
mov rdi, rax
call partition
mov edx, DWORD PTR -12[rbp]
mov ecx, DWORD PTR -36[rbp]
mov esi, DWORD PTR -28[rbp]
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call quick_sort_insertion
mov esi, DWORD PTR -16[rbp]
mov ecx, DWORD PTR -36[rbp]
mov edx, DWORD PTR -32[rbp]
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call quick_sort_insertion
.L34:
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L38
call __stack_chk_fail@PLT
.L38:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE12:
.size quick_sort_insertion, .-quick_sort_insertion
.globl quick_sort_selection
.type quick_sort_selection, @function
quick_sort_selection:
.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 DWORD PTR -32[rbp], edx
mov DWORD PTR -36[rbp], ecx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov eax, DWORD PTR -32[rbp]
sub eax, DWORD PTR -28[rbp]
cmp DWORD PTR -36[rbp], eax
jl .L40
mov eax, DWORD PTR -32[rbp]
lea edx, 1[rax]
mov ecx, DWORD PTR -28[rbp]
mov rax, QWORD PTR -24[rbp]
mov esi, ecx
mov rdi, rax
call selection_sort
jmp .L39
.L40:
mov eax, DWORD PTR -28[rbp]
cmp eax, DWORD PTR -32[rbp]
jge .L39
lea rdi, -16[rbp]
lea rcx, -12[rbp]
mov edx, DWORD PTR -32[rbp]
mov esi, DWORD PTR -28[rbp]
mov rax, QWORD PTR -24[rbp]
mov r8, rdi
mov rdi, rax
call partition
mov edx, DWORD PTR -12[rbp]
mov ecx, DWORD PTR -36[rbp]
mov esi, DWORD PTR -28[rbp]
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call quick_sort_selection
mov esi, DWORD PTR -16[rbp]
mov ecx, DWORD PTR -36[rbp]
mov edx, DWORD PTR -32[rbp]
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call quick_sort_selection
.L39:
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L43
call __stack_chk_fail@PLT
.L43:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE13:
.size quick_sort_selection, .-quick_sort_selection
.globl quick_sort
.type quick_sort, @function
quick_sort:
.LFB14:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov DWORD PTR -32[rbp], edx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov eax, DWORD PTR -28[rbp]
cmp eax, DWORD PTR -32[rbp]
jge .L47
lea rdi, -16[rbp]
lea rcx, -12[rbp]
mov edx, DWORD PTR -32[rbp]
mov esi, DWORD PTR -28[rbp]
mov rax, QWORD PTR -24[rbp]
mov r8, rdi
mov rdi, rax
call partition
mov edx, DWORD PTR -12[rbp]
mov ecx, DWORD PTR -28[rbp]
mov rax, QWORD PTR -24[rbp]
mov esi, ecx
mov rdi, rax
call quick_sort
mov ecx, DWORD PTR -16[rbp]
mov edx, DWORD PTR -32[rbp]
mov rax, QWORD PTR -24[rbp]
mov esi, ecx
mov rdi, rax
call quick_sort
.L47:
nop
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L46
call __stack_chk_fail@PLT
.L46:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE14:
.size quick_sort, .-quick_sort
.globl partition
.type partition, @function
partition:
.LFB15:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
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 QWORD PTR -48[rbp], r8
mov eax, DWORD PTR -28[rbp]
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -32[rbp]
mov DWORD PTR -8[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]
mov DWORD PTR -4[rbp], eax
jmp .L49
.L51:
add DWORD PTR -12[rbp], 1
.L50:
mov eax, DWORD PTR -12[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
cmp DWORD PTR -4[rbp], eax
jg .L51
jmp .L52
.L53:
sub DWORD PTR -8[rbp], 1
.L52:
mov eax, DWORD PTR -8[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
cmp DWORD PTR -4[rbp], eax
jl .L53
mov eax, DWORD PTR -12[rbp]
cmp eax, DWORD PTR -8[rbp]
jg .L49
mov eax, DWORD PTR -8[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rdx, rax
mov eax, DWORD PTR -12[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
add DWORD PTR -12[rbp], 1
sub DWORD PTR -8[rbp], 1
.L49:
mov eax, DWORD PTR -12[rbp]
cmp eax, DWORD PTR -8[rbp]
jle .L50
mov rax, QWORD PTR -48[rbp]
mov edx, DWORD PTR -12[rbp]
mov DWORD PTR [rax], edx
mov rax, QWORD PTR -40[rbp]
mov edx, DWORD PTR -8[rbp]
mov DWORD PTR [rax], edx
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE15:
.size partition, .-partition
.globl swap
.type swap, @function
swap:
.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 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
.LFE16:
.size swap, .-swap
.section .rodata
.align 8
.LC1:
.long -1598689907
.long 1051772663
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "614811.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "\012-----------------------------------------------"
.ascii "------------\000"
.global __aeabi_idivmod
.global __aeabi_d2iz
.global __aeabi_i2d
.global __aeabi_dmul
.global __aeabi_dadd
.align 2
.LC1:
.ascii "quick sort elapsed time=%e\012\000"
.align 2
.LC2:
.ascii "---------------------------------------------------"
.ascii "--------\000"
.align 2
.LC3:
.ascii "quick sort(selection %d) elapsed time=%e\012\000"
.align 2
.LC4:
.ascii "quick sort(insertion %d) elapsed time=%e\012\000"
.align 2
.LC5:
.ascii "selection sort elapsed time=%e\012\000"
.align 2
.LC6:
.ascii "insertion sort elapsed time=%e\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 = 80
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, fp, lr}
add fp, sp, #12
sub sp, sp, #80
str r0, [fp, #-88]
str r1, [fp, #-92]
ldr r3, .L10
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
ldr r3, [fp, #-92]
add r3, r3, #4
ldr r3, [r3]
mov r0, r3
bl atoi
str r0, [fp, #-72]
ldr r3, [fp, #-72]
str r3, [fp, #-68]
ldr r0, .L10+4
bl puts
mov r0, #0
bl time
mov r3, r0
mov r0, r3
bl srand
ldr r3, [fp, #-72]
lsl r3, r3, #2
mov r0, r3
bl malloc
mov r3, r0
str r3, [fp, #-64]
ldr r3, [fp, #-72]
lsl r3, r3, #2
mov r0, r3
bl malloc
mov r3, r0
str r3, [fp, #-60]
ldr r3, [fp, #-72]
lsl r3, r3, #2
mov r0, r3
bl malloc
mov r3, r0
str r3, [fp, #-56]
mov r3, #0
str r3, [fp, #-80]
b .L2
.L3:
bl rand
ldr r3, [fp, #-80]
lsl r3, r3, #2
ldr r2, [fp, #-64]
add r4, r2, r3
ldr r1, [fp, #-72]
bl __aeabi_idivmod
mov r3, r1
str r3, [r4]
ldr r3, [fp, #-80]
add r3, r3, #1
str r3, [fp, #-80]
.L2:
ldr r2, [fp, #-80]
ldr r3, [fp, #-72]
cmp r2, r3
blt .L3
ldr r2, [fp, #-72]
ldr r1, [fp, #-64]
ldr r0, [fp, #-56]
bl copy_column
sub r3, fp, #32
mov r1, #0
mov r0, r3
bl gettimeofday
ldr r3, [fp, #-72]
sub r3, r3, #1
mov r2, r3
mov r1, #0
ldr r0, [fp, #-56]
bl quick_sort
sub r3, fp, #24
mov r1, #0
mov r0, r3
bl gettimeofday
ldr r3, [fp, #-24]
ldr r2, [fp, #-32]
mov r1, r2
mov r0, r3
bl difftime
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl __aeabi_d2iz
mov r3, r0
str r3, [fp, #-52]
ldr r2, [fp, #-20]
ldr r3, [fp, #-28]
sub r3, r2, r3
str r3, [fp, #-48]
ldr r0, [fp, #-52]
bl __aeabi_i2d
mov r4, r0
mov r5, r1
ldr r0, [fp, #-48]
bl __aeabi_i2d
ldr r2, .L10+8
ldr r3, .L10+12
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
str r2, [fp, #-44]
str r3, [fp, #-40]
sub r3, fp, #44
ldmia r3, {r2-r3}
ldr r0, .L10+16
bl printf
ldr r0, .L10+20
bl puts
mov r3, #1
str r3, [fp, #-76]
b .L4
.L5:
ldr r2, [fp, #-72]
ldr r1, [fp, #-64]
ldr r0, [fp, #-60]
bl copy_column
sub r3, fp, #32
mov r1, #0
mov r0, r3
bl gettimeofday
ldr r3, [fp, #-72]
sub r2, r3, #1
ldr r3, [fp, #-76]
mov r1, #0
ldr r0, [fp, #-60]
bl quick_sort_selection
sub r3, fp, #24
mov r1, #0
mov r0, r3
bl gettimeofday
ldr r2, [fp, #-72]
ldr r1, [fp, #-56]
ldr r0, [fp, #-60]
bl check
ldr r3, [fp, #-24]
ldr r2, [fp, #-32]
mov r1, r2
mov r0, r3
bl difftime
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl __aeabi_d2iz
mov r3, r0
str r3, [fp, #-52]
ldr r2, [fp, #-20]
ldr r3, [fp, #-28]
sub r3, r2, r3
str r3, [fp, #-48]
ldr r0, [fp, #-52]
bl __aeabi_i2d
mov r4, r0
mov r5, r1
ldr r0, [fp, #-48]
bl __aeabi_i2d
ldr r2, .L10+8
ldr r3, .L10+12
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
str r2, [fp, #-44]
str r3, [fp, #-40]
sub r3, fp, #44
ldmia r3, {r2-r3}
ldr r1, [fp, #-76]
ldr r0, .L10+24
bl printf
ldr r3, [fp, #-76]
add r3, r3, #1
str r3, [fp, #-76]
.L4:
ldr r3, [fp, #-76]
cmp r3, #99
ble .L5
ldr r0, .L10+20
bl puts
mov r3, #1
str r3, [fp, #-76]
b .L6
.L7:
ldr r2, [fp, #-72]
ldr r1, [fp, #-64]
ldr r0, [fp, #-60]
bl copy_column
sub r3, fp, #32
mov r1, #0
mov r0, r3
bl gettimeofday
ldr r3, [fp, #-72]
sub r2, r3, #1
ldr r3, [fp, #-76]
mov r1, #0
ldr r0, [fp, #-60]
bl quick_sort_insertion
sub r3, fp, #24
mov r1, #0
mov r0, r3
bl gettimeofday
ldr r2, [fp, #-72]
ldr r1, [fp, #-56]
ldr r0, [fp, #-60]
bl check
ldr r3, [fp, #-24]
ldr r2, [fp, #-32]
mov r1, r2
mov r0, r3
bl difftime
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl __aeabi_d2iz
mov r3, r0
str r3, [fp, #-52]
ldr r2, [fp, #-20]
ldr r3, [fp, #-28]
sub r3, r2, r3
str r3, [fp, #-48]
ldr r0, [fp, #-52]
bl __aeabi_i2d
mov r4, r0
mov r5, r1
ldr r0, [fp, #-48]
bl __aeabi_i2d
ldr r2, .L10+8
ldr r3, .L10+12
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
str r2, [fp, #-44]
str r3, [fp, #-40]
sub r3, fp, #44
ldmia r3, {r2-r3}
ldr r1, [fp, #-76]
ldr r0, .L10+28
bl printf
ldr r3, [fp, #-76]
add r3, r3, #1
str r3, [fp, #-76]
.L6:
ldr r3, [fp, #-76]
cmp r3, #99
ble .L7
ldr r0, .L10+20
bl puts
ldr r2, [fp, #-72]
ldr r1, [fp, #-64]
ldr r0, [fp, #-60]
bl copy_column
sub r3, fp, #32
mov r1, #0
mov r0, r3
bl gettimeofday
sub r3, fp, #24
mov r1, #0
mov r0, r3
bl gettimeofday
ldr r2, [fp, #-72]
ldr r1, [fp, #-56]
ldr r0, [fp, #-60]
bl check
ldr r3, [fp, #-24]
ldr r2, [fp, #-32]
mov r1, r2
mov r0, r3
bl difftime
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl __aeabi_d2iz
mov r3, r0
str r3, [fp, #-52]
ldr r2, [fp, #-20]
ldr r3, [fp, #-28]
sub r3, r2, r3
str r3, [fp, #-48]
ldr r0, [fp, #-52]
bl __aeabi_i2d
mov r4, r0
mov r5, r1
ldr r0, [fp, #-48]
bl __aeabi_i2d
ldr r2, .L10+8
ldr r3, .L10+12
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
str r2, [fp, #-44]
str r3, [fp, #-40]
sub r3, fp, #44
ldmia r3, {r2-r3}
ldr r0, .L10+32
bl printf
ldr r0, .L10+20
bl puts
ldr r2, [fp, #-72]
ldr r1, [fp, #-64]
ldr r0, [fp, #-60]
bl copy_column
sub r3, fp, #32
mov r1, #0
mov r0, r3
bl gettimeofday
sub r3, fp, #24
mov r1, #0
mov r0, r3
bl gettimeofday
ldr r2, [fp, #-72]
ldr r1, [fp, #-56]
ldr r0, [fp, #-60]
bl check
ldr r3, [fp, #-24]
ldr r2, [fp, #-32]
mov r1, r2
mov r0, r3
bl difftime
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl __aeabi_d2iz
mov r3, r0
str r3, [fp, #-52]
ldr r2, [fp, #-20]
ldr r3, [fp, #-28]
sub r3, r2, r3
str r3, [fp, #-48]
ldr r0, [fp, #-52]
bl __aeabi_i2d
mov r4, r0
mov r5, r1
ldr r0, [fp, #-48]
bl __aeabi_i2d
ldr r2, .L10+8
ldr r3, .L10+12
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r4
mov r1, r5
bl __aeabi_dadd
mov r2, r0
mov r3, r1
str r2, [fp, #-44]
str r3, [fp, #-40]
sub r3, fp, #44
ldmia r3, {r2-r3}
ldr r0, .L10+36
bl printf
ldr r0, .L10+20
bl puts
mov r3, #0
ldr r2, .L10
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L9
bl __stack_chk_fail
.L9:
mov r0, r3
sub sp, fp, #12
@ sp needed
pop {r4, r5, fp, pc}
.L11:
.align 2
.L10:
.word .LC7
.word .LC0
.word -1598689907
.word 1051772663
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.word .LC5
.word .LC6
.size main, .-main
.section .rodata
.align 2
.LC8:
.ascii "failed %d\012\000"
.align 2
.LC9:
.ascii "Check OK!\000"
.text
.align 2
.global check
.syntax unified
.arm
.fpu softvfp
.type check, %function
check:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
str r0, [fp, #-16]
str r1, [fp, #-20]
str r2, [fp, #-24]
mov r3, #0
str r3, [fp, #-8]
b .L13
.L16:
ldr r3, [fp, #-8]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-8]
lsl r3, r3, #2
ldr r1, [fp, #-20]
add r3, r1, r3
ldr r3, [r3]
cmp r2, r3
beq .L14
ldr r1, [fp, #-8]
ldr r0, .L17
bl printf
b .L12
.L14:
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L13:
ldr r2, [fp, #-8]
ldr r3, [fp, #-24]
cmp r2, r3
blt .L16
ldr r0, .L17+4
bl puts
.L12:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L18:
.align 2
.L17:
.word .LC8
.word .LC9
.size check, .-check
.align 2
.global copy_column
.syntax unified
.arm
.fpu softvfp
.type copy_column, %function
copy_column:
@ 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 .L20
.L21:
ldr r3, [fp, #-8]
lsl r3, r3, #2
ldr r2, [fp, #-20]
add r2, r2, r3
ldr r3, [fp, #-8]
lsl r3, r3, #2
ldr r1, [fp, #-16]
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L20:
ldr r2, [fp, #-8]
ldr r3, [fp, #-24]
cmp r2, r3
blt .L21
nop
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size copy_column, .-copy_column
.section .rodata
.align 2
.LC10:
.ascii "%d,\000"
.align 2
.LC11:
.ascii "%d\012\000"
.text
.align 2
.global print_column
.syntax unified
.arm
.fpu softvfp
.type print_column, %function
print_column:
@ 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 .L23
.L24:
ldr r3, [fp, #-8]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r3, [r3]
mov r1, r3
ldr r0, .L25
bl printf
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L23:
ldr r3, [fp, #-20]
sub r3, r3, #1
ldr r2, [fp, #-8]
cmp r2, r3
blt .L24
ldr r3, [fp, #-8]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r3, [r3]
mov r1, r3
ldr r0, .L25+4
bl printf
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L26:
.align 2
.L25:
.word .LC10
.word .LC11
.size print_column, .-print_column
.align 2
.global selection_sort
.syntax unified
.arm
.fpu softvfp
.type selection_sort, %function
selection_sort:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #32
str r0, [fp, #-24]
str r1, [fp, #-28]
str r2, [fp, #-32]
ldr r3, [fp, #-28]
str r3, [fp, #-16]
b .L28
.L33:
ldr r3, [fp, #-16]
str r3, [fp, #-8]
ldr r3, [fp, #-16]
str r3, [fp, #-12]
b .L29
.L31:
ldr r3, [fp, #-8]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r1, [fp, #-24]
add r3, r1, r3
ldr r3, [r3]
cmp r2, r3
ble .L30
ldr r3, [fp, #-12]
str r3, [fp, #-8]
.L30:
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L29:
ldr r2, [fp, #-12]
ldr r3, [fp, #-32]
cmp r2, r3
blt .L31
ldr r2, [fp, #-16]
ldr r3, [fp, #-8]
cmp r2, r3
beq .L32
ldr r3, [fp, #-16]
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
.L32:
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L28:
ldr r2, [fp, #-16]
ldr r3, [fp, #-32]
cmp r2, r3
blt .L33
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size selection_sort, .-selection_sort
.align 2
.global insertion_sort
.syntax unified
.arm
.fpu softvfp
.type insertion_sort, %function
insertion_sort:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
str r0, [fp, #-16]
str r1, [fp, #-20]
str r2, [fp, #-24]
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-12]
b .L35
.L39:
ldr r3, [fp, #-12]
str r3, [fp, #-8]
b .L36
.L38:
ldr r3, [fp, #-8]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r0, r2, r3
ldr r3, [fp, #-8]
sub r3, r3, #-1073741823
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
mov r1, r3
bl swap
ldr r3, [fp, #-8]
sub r3, r3, #1
str r3, [fp, #-8]
.L36:
ldr r3, [fp, #-8]
cmp r3, #0
ble .L37
ldr r3, [fp, #-8]
sub r3, r3, #-1073741823
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-8]
lsl r3, r3, #2
ldr r1, [fp, #-16]
add r3, r1, r3
ldr r3, [r3]
cmp r2, r3
bgt .L38
.L37:
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L35:
ldr r2, [fp, #-12]
ldr r3, [fp, #-24]
cmp r2, r3
blt .L39
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size insertion_sort, .-insertion_sort
.section .rodata
.align 2
.LC12:
.word __stack_chk_guard
.text
.align 2
.global quick_sort_insertion
.syntax unified
.arm
.fpu softvfp
.type quick_sort_insertion, %function
quick_sort_insertion:
@ 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, #-24]
str r1, [fp, #-28]
str r2, [fp, #-32]
str r3, [fp, #-36]
ldr r3, .L45
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r2, [fp, #-32]
ldr r3, [fp, #-28]
sub r3, r2, r3
ldr r2, [fp, #-36]
cmp r2, r3
blt .L41
ldr r3, [fp, #-32]
add r3, r3, #1
mov r2, r3
ldr r1, [fp, #-28]
ldr r0, [fp, #-24]
bl insertion_sort
b .L40
.L41:
ldr r2, [fp, #-28]
ldr r3, [fp, #-32]
cmp r2, r3
bge .L40
sub r2, fp, #12
sub r3, fp, #16
str r3, [sp]
mov r3, r2
ldr r2, [fp, #-32]
ldr r1, [fp, #-28]
ldr r0, [fp, #-24]
bl partition
ldr r2, [fp, #-12]
ldr r3, [fp, #-36]
ldr r1, [fp, #-28]
ldr r0, [fp, #-24]
bl quick_sort_insertion
ldr r1, [fp, #-16]
ldr r3, [fp, #-36]
ldr r2, [fp, #-32]
ldr r0, [fp, #-24]
bl quick_sort_insertion
.L40:
ldr r3, .L45
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L44
bl __stack_chk_fail
.L44:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L46:
.align 2
.L45:
.word .LC12
.size quick_sort_insertion, .-quick_sort_insertion
.section .rodata
.align 2
.LC13:
.word __stack_chk_guard
.text
.align 2
.global quick_sort_selection
.syntax unified
.arm
.fpu softvfp
.type quick_sort_selection, %function
quick_sort_selection:
@ 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, #-24]
str r1, [fp, #-28]
str r2, [fp, #-32]
str r3, [fp, #-36]
ldr r3, .L52
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r2, [fp, #-32]
ldr r3, [fp, #-28]
sub r3, r2, r3
ldr r2, [fp, #-36]
cmp r2, r3
blt .L48
ldr r3, [fp, #-32]
add r3, r3, #1
mov r2, r3
ldr r1, [fp, #-28]
ldr r0, [fp, #-24]
bl selection_sort
b .L47
.L48:
ldr r2, [fp, #-28]
ldr r3, [fp, #-32]
cmp r2, r3
bge .L47
sub r2, fp, #12
sub r3, fp, #16
str r3, [sp]
mov r3, r2
ldr r2, [fp, #-32]
ldr r1, [fp, #-28]
ldr r0, [fp, #-24]
bl partition
ldr r2, [fp, #-12]
ldr r3, [fp, #-36]
ldr r1, [fp, #-28]
ldr r0, [fp, #-24]
bl quick_sort_selection
ldr r1, [fp, #-16]
ldr r3, [fp, #-36]
ldr r2, [fp, #-32]
ldr r0, [fp, #-24]
bl quick_sort_selection
.L47:
ldr r3, .L52
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L51
bl __stack_chk_fail
.L51:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L53:
.align 2
.L52:
.word .LC13
.size quick_sort_selection, .-quick_sort_selection
.section .rodata
.align 2
.LC14:
.word __stack_chk_guard
.text
.align 2
.global quick_sort
.syntax unified
.arm
.fpu softvfp
.type quick_sort, %function
quick_sort:
@ 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, #-24]
str r1, [fp, #-28]
str r2, [fp, #-32]
ldr r3, .L58
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r2, [fp, #-28]
ldr r3, [fp, #-32]
cmp r2, r3
bge .L57
sub r2, fp, #12
sub r3, fp, #16
str r3, [sp]
mov r3, r2
ldr r2, [fp, #-32]
ldr r1, [fp, #-28]
ldr r0, [fp, #-24]
bl partition
ldr r3, [fp, #-12]
mov r2, r3
ldr r1, [fp, #-28]
ldr r0, [fp, #-24]
bl quick_sort
ldr r3, [fp, #-16]
ldr r2, [fp, #-32]
mov r1, r3
ldr r0, [fp, #-24]
bl quick_sort
.L57:
nop
ldr r3, .L58
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L56
bl __stack_chk_fail
.L56:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L59:
.align 2
.L58:
.word .LC14
.size quick_sort, .-quick_sort
.align 2
.global partition
.syntax unified
.arm
.fpu softvfp
.type partition, %function
partition:
@ args = 4, 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]
str r3, [fp, #-16]
ldr r3, [fp, #-32]
str r3, [fp, #-12]
ldr r3, [fp, #-28]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r3, r2, r3
ldr r3, [r3]
str r3, [fp, #-8]
b .L61
.L63:
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L62:
ldr r3, [fp, #-16]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r3, r2, r3
ldr r3, [r3]
ldr r2, [fp, #-8]
cmp r2, r3
bgt .L63
b .L64
.L65:
ldr r3, [fp, #-12]
sub r3, r3, #1
str r3, [fp, #-12]
.L64:
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r3, r2, r3
ldr r3, [r3]
ldr r2, [fp, #-8]
cmp r2, r3
blt .L65
ldr r2, [fp, #-16]
ldr r3, [fp, #-12]
cmp r2, r3
bgt .L61
ldr r3, [fp, #-16]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r0, r2, r3
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r3, r2, r3
mov r1, r3
bl swap
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
ldr r3, [fp, #-12]
sub r3, r3, #1
str r3, [fp, #-12]
.L61:
ldr r2, [fp, #-16]
ldr r3, [fp, #-12]
cmp r2, r3
ble .L62
ldr r3, [fp, #4]
ldr r2, [fp, #-16]
str r2, [r3]
ldr r3, [fp, #-36]
ldr r2, [fp, #-12]
str r2, [r3]
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size partition, .-partition
.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
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "659548.c"
.intel_syntax noprefix
.text
.globl kc_hash
.type kc_hash, @function
kc_hash:
.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 QWORD PTR -88[rbp], rdi
mov DWORD PTR -92[rbp], esi
mov QWORD PTR -104[rbp], rdx
mov QWORD PTR -112[rbp], rcx
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
movabs rax, 7640891576956012808
mov QWORD PTR -64[rbp], rax
movabs rax, -4942790177534073029
mov QWORD PTR -56[rbp], rax
mov QWORD PTR -48[rbp], 0
mov rax, QWORD PTR -88[rbp]
mov QWORD PTR -40[rbp], rax
jmp .L2
.L3:
mov rax, QWORD PTR -40[rbp]
mov rax, QWORD PTR [rax]
xor QWORD PTR -64[rbp], rax
mov rax, QWORD PTR -40[rbp]
add rax, 8
mov rax, QWORD PTR [rax]
xor QWORD PTR -56[rbp], rax
rol QWORD PTR -64[rbp], 11
mov rax, QWORD PTR -56[rbp]
add QWORD PTR -64[rbp], rax
mov rax, QWORD PTR -48[rbp]
xor QWORD PTR -64[rbp], rax
ror QWORD PTR -56[rbp], 5
mov rax, QWORD PTR -64[rbp]
xor QWORD PTR -56[rbp], rax
rol QWORD PTR -48[rbp], 3
add QWORD PTR -40[rbp], 16
sub DWORD PTR -92[rbp], 16
add QWORD PTR -48[rbp], 1
.L2:
cmp DWORD PTR -92[rbp], 15
ja .L3
mov QWORD PTR -32[rbp], 0
mov QWORD PTR -24[rbp], 0
mov edx, DWORD PTR -92[rbp]
mov rcx, QWORD PTR -40[rbp]
lea rax, -32[rbp]
mov rsi, rcx
mov rdi, rax
call memcpy@PLT
mov rax, QWORD PTR -32[rbp]
xor QWORD PTR -64[rbp], rax
mov rax, QWORD PTR -24[rbp]
xor QWORD PTR -56[rbp], rax
mov DWORD PTR -68[rbp], 0
jmp .L4
.L5:
rol QWORD PTR -64[rbp], 11
mov rax, QWORD PTR -56[rbp]
add QWORD PTR -64[rbp], rax
mov eax, DWORD PTR -68[rbp]
movsx rdx, eax
mov rax, QWORD PTR -48[rbp]
add rax, rdx
xor QWORD PTR -64[rbp], rax
ror QWORD PTR -56[rbp], 5
mov rax, QWORD PTR -64[rbp]
xor QWORD PTR -56[rbp], rax
add DWORD PTR -68[rbp], 1
.L4:
cmp DWORD PTR -68[rbp], 7
jle .L5
mov rax, QWORD PTR -104[rbp]
mov rdx, QWORD PTR -64[rbp]
mov QWORD PTR [rax], rdx
mov rax, QWORD PTR -112[rbp]
mov rdx, QWORD PTR -56[rbp]
mov QWORD PTR [rax], rdx
nop
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L6
call __stack_chk_fail@PLT
.L6:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size kc_hash, .-kc_hash
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "659548.c"
.text
.section .rodata
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global kc_hash
.syntax unified
.arm
.fpu softvfp
.type kc_hash, %function
kc_hash:
@ args = 0, pretend = 0, frame = 184
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, fp, lr}
add fp, sp, #28
sub sp, sp, #184
str r0, [fp, #-88]
str r1, [fp, #-92]
str r2, [fp, #-96]
str r3, [fp, #-100]
ldr r3, .L7+16
ldr r3, [r3]
str r3, [fp, #-32]
mov r3,#0
adr r3, .L7
ldmia r3, {r2-r3}
str r2, [fp, #-76]
str r3, [fp, #-72]
adr r3, .L7+8
ldmia r3, {r2-r3}
str r2, [fp, #-68]
str r3, [fp, #-64]
mov r2, #0
mov r3, #0
str r2, [fp, #-60]
str r3, [fp, #-56]
ldr r3, [fp, #-88]
str r3, [fp, #-84]
b .L2
.L3:
ldr r3, [fp, #-84]
ldmia r3, {r0-r1}
sub r3, fp, #76
ldmia r3, {r2-r3}
eor ip, r2, r0
str ip, [fp, #-108]
eor r3, r3, r1
str r3, [fp, #-104]
sub r3, fp, #108
ldmia r3, {r2-r3}
str r2, [fp, #-76]
str r3, [fp, #-72]
ldr r3, [fp, #-84]
add r3, r3, #8
ldmia r3, {r0-r1}
sub r3, fp, #68
ldmia r3, {r2-r3}
eor ip, r2, r0
str ip, [fp, #-116]
eor r3, r3, r1
str r3, [fp, #-112]
sub r3, fp, #116
ldmia r3, {r2-r3}
str r2, [fp, #-68]
str r3, [fp, #-64]
ldr r3, [fp, #-76]
lsr r2, r3, #21
ldr r3, [fp, #-72]
lsl r3, r3, #11
orr r3, r2, r3
str r3, [fp, #-120]
ldr r3, [fp, #-72]
lsr r2, r3, #21
ldr r3, [fp, #-76]
lsl r3, r3, #11
orr r3, r2, r3
str r3, [fp, #-124]
sub r3, fp, #124
ldmia r3, {r2-r3}
str r2, [fp, #-76]
str r3, [fp, #-72]
sub r1, fp, #76
ldmia r1, {r0-r1}
sub r3, fp, #68
ldmia r3, {r2-r3}
adds ip, r0, r2
str ip, [fp, #-132]
adc r3, r1, r3
str r3, [fp, #-128]
sub r3, fp, #132
ldmia r3, {r2-r3}
str r2, [fp, #-76]
str r3, [fp, #-72]
sub r1, fp, #76
ldmia r1, {r0-r1}
sub r3, fp, #60
ldmia r3, {r2-r3}
eor ip, r0, r2
str ip, [fp, #-140]
eor r3, r1, r3
str r3, [fp, #-136]
sub r3, fp, #140
ldmia r3, {r2-r3}
str r2, [fp, #-76]
str r3, [fp, #-72]
ldr r3, [fp, #-64]
lsl r2, r3, #27
ldr r3, [fp, #-68]
lsr r3, r3, #5
orr r3, r2, r3
str r3, [fp, #-148]
ldr r3, [fp, #-68]
lsl r2, r3, #27
ldr r3, [fp, #-64]
lsr r3, r3, #5
orr r3, r2, r3
str r3, [fp, #-144]
sub r3, fp, #148
ldmia r3, {r2-r3}
str r2, [fp, #-68]
str r3, [fp, #-64]
sub r1, fp, #68
ldmia r1, {r0-r1}
sub r3, fp, #76
ldmia r3, {r2-r3}
eor ip, r0, r2
str ip, [fp, #-156]
eor r3, r1, r3
str r3, [fp, #-152]
sub r3, fp, #156
ldmia r3, {r2-r3}
str r2, [fp, #-68]
str r3, [fp, #-64]
ldr r3, [fp, #-60]
lsr r2, r3, #29
ldr r3, [fp, #-56]
lsl r3, r3, #3
orr r9, r2, r3
ldr r3, [fp, #-56]
lsr r2, r3, #29
ldr r3, [fp, #-60]
lsl r3, r3, #3
orr r8, r2, r3
str r8, [fp, #-60]
str r9, [fp, #-56]
ldr r3, [fp, #-84]
add r3, r3, #16
str r3, [fp, #-84]
ldr r3, [fp, #-92]
sub r3, r3, #16
str r3, [fp, #-92]
sub r3, fp, #60
ldmia r3, {r2-r3}
adds r6, r2, #1
adc r7, r3, #0
str r6, [fp, #-60]
str r7, [fp, #-56]
.L2:
ldr r3, [fp, #-92]
cmp r3, #15
bhi .L3
mov r2, #0
mov r3, #0
str r2, [fp, #-52]
str r3, [fp, #-48]
mov r2, #0
mov r3, #0
str r2, [fp, #-44]
str r3, [fp, #-40]
sub r3, fp, #52
ldr r2, [fp, #-92]
ldr r1, [fp, #-84]
mov r0, r3
bl memcpy
sub r1, fp, #52
ldmia r1, {r0-r1}
sub r3, fp, #76
ldmia r3, {r2-r3}
eor ip, r2, r0
str ip, [fp, #-164]
eor r3, r3, r1
str r3, [fp, #-160]
sub r3, fp, #164
ldmia r3, {r2-r3}
str r2, [fp, #-76]
str r3, [fp, #-72]
sub r1, fp, #44
ldmia r1, {r0-r1}
sub r3, fp, #68
ldmia r3, {r2-r3}
eor ip, r2, r0
str ip, [fp, #-172]
eor r3, r3, r1
str r3, [fp, #-168]
sub r3, fp, #172
ldmia r3, {r2-r3}
str r2, [fp, #-68]
str r3, [fp, #-64]
mov r3, #0
str r3, [fp, #-80]
b .L4
.L8:
.align 3
.L7:
.word -205731576
.word 1779033703
.word -2067093701
.word -1150833019
.word .LC0
.L5:
ldr r3, [fp, #-76]
lsr r2, r3, #21
ldr r3, [fp, #-72]
lsl r3, r3, #11
orr r3, r2, r3
str r3, [fp, #-176]
ldr r3, [fp, #-72]
lsr r2, r3, #21
ldr r3, [fp, #-76]
lsl r3, r3, #11
orr r3, r2, r3
str r3, [fp, #-180]
sub r3, fp, #180
ldmia r3, {r2-r3}
str r2, [fp, #-76]
str r3, [fp, #-72]
sub r1, fp, #76
ldmia r1, {r0-r1}
sub r3, fp, #68
ldmia r3, {r2-r3}
adds ip, r0, r2
str ip, [fp, #-188]
adc r3, r1, r3
str r3, [fp, #-184]
sub r3, fp, #188
ldmia r3, {r2-r3}
str r2, [fp, #-76]
str r3, [fp, #-72]
ldr r3, [fp, #-80]
mov r0, r3
asr r1, r0, #31
sub r3, fp, #60
ldmia r3, {r2-r3}
adds r4, r0, r2
adc r5, r1, r3
sub r3, fp, #76
ldmia r3, {r2-r3}
eor r1, r2, r4
str r1, [fp, #-196]
eor r3, r3, r5
str r3, [fp, #-192]
sub r3, fp, #196
ldmia r3, {r2-r3}
str r2, [fp, #-76]
str r3, [fp, #-72]
ldr r3, [fp, #-64]
lsl r2, r3, #27
ldr r3, [fp, #-68]
lsr r3, r3, #5
orr r3, r2, r3
str r3, [fp, #-204]
ldr r3, [fp, #-68]
lsl r2, r3, #27
ldr r3, [fp, #-64]
lsr r3, r3, #5
orr r3, r2, r3
str r3, [fp, #-200]
sub r3, fp, #204
ldmia r3, {r2-r3}
str r2, [fp, #-68]
str r3, [fp, #-64]
sub r1, fp, #68
ldmia r1, {r0-r1}
sub r3, fp, #76
ldmia r3, {r2-r3}
eor ip, r0, r2
str ip, [fp, #-212]
eor r3, r1, r3
str r3, [fp, #-208]
sub r3, fp, #212
ldmia r3, {r2-r3}
str r2, [fp, #-68]
str r3, [fp, #-64]
ldr r3, [fp, #-80]
add r3, r3, #1
str r3, [fp, #-80]
.L4:
ldr r3, [fp, #-80]
cmp r3, #7
ble .L5
ldr r1, [fp, #-96]
sub r3, fp, #76
ldmia r3, {r2-r3}
stm r1, {r2-r3}
ldr r1, [fp, #-100]
sub r3, fp, #68
ldmia r3, {r2-r3}
stm r1, {r2-r3}
nop
ldr r3, .L7+16
ldr r2, [r3]
ldr r3, [fp, #-32]
eors r2, r3, r2
mov r3, #0
beq .L6
bl __stack_chk_fail
.L6:
sub sp, fp, #28
@ sp needed
pop {r4, r5, r6, r7, r8, r9, fp, pc}
.size kc_hash, .-kc_hash
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "609900.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "/tmp/fifotest"
.align 8
.LC1:
.string "usage: named_pipe_thr <message-size> <message-count>"
.LC2:
.string "malloc"
.LC3:
.string "message size: %i octets\n"
.LC4:
.string "message count: %lli\n"
.LC5:
.string "named-pipe"
.LC6:
.string "opening fifo for reading"
.LC7:
.string "read"
.LC8:
.string "opening fifo for writing"
.LC9:
.string "write"
.LC10:
.string "unlinking fifo"
.align 8
.LC11:
.string "average throughput: %lli msg/s\n"
.align 8
.LC12:
.string "average throughput: %lli Mb/s\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
add rsp, -128
mov DWORD PTR -116[rbp], edi
mov QWORD PTR -128[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rax, .LC0[rip]
mov QWORD PTR -80[rbp], rax
cmp DWORD PTR -116[rbp], 3
je .L2
lea rdi, .LC1[rip]
call puts@PLT
mov edi, 1
call exit@PLT
.L2:
mov rax, QWORD PTR -128[rbp]
add rax, 8
mov rax, QWORD PTR [rax]
mov rdi, rax
call atoi@PLT
mov DWORD PTR -100[rbp], eax
mov rax, QWORD PTR -128[rbp]
add rax, 16
mov rax, QWORD PTR [rax]
mov rdi, rax
call atol@PLT
mov QWORD PTR -72[rbp], rax
mov eax, DWORD PTR -100[rbp]
cdqe
mov rdi, rax
call malloc@PLT
mov QWORD PTR -64[rbp], rax
cmp QWORD PTR -64[rbp], 0
jne .L3
lea rdi, .LC2[rip]
call perror@PLT
mov edi, 1
call exit@PLT
.L3:
mov eax, DWORD PTR -100[rbp]
mov esi, eax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR -72[rbp]
mov rsi, rax
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR -80[rbp]
mov esi, 420
mov rdi, rax
call mkfifo@PLT
cmp eax, -1
jne .L4
lea rdi, .LC5[rip]
call perror@PLT
mov edi, 1
call exit@PLT
.L4:
call fork@PLT
test eax, eax
jne .L5
mov rax, QWORD PTR -80[rbp]
mov esi, 0
mov rdi, rax
mov eax, 0
call open@PLT
mov DWORD PTR -92[rbp], eax
cmp DWORD PTR -92[rbp], -1
jne .L6
lea rdi, .LC6[rip]
call perror@PLT
mov edi, 1
call exit@PLT
.L6:
mov QWORD PTR -88[rbp], 0
jmp .L7
.L9:
mov eax, DWORD PTR -100[rbp]
movsx rdx, eax
mov rcx, QWORD PTR -64[rbp]
mov eax, DWORD PTR -92[rbp]
mov rsi, rcx
mov edi, eax
call read@PLT
mov edx, DWORD PTR -100[rbp]
movsx rdx, edx
cmp rax, rdx
je .L8
lea rdi, .LC7[rip]
call perror@PLT
mov edi, 1
call exit@PLT
.L8:
add QWORD PTR -88[rbp], 1
.L7:
mov rax, QWORD PTR -88[rbp]
cmp rax, QWORD PTR -72[rbp]
jl .L9
jmp .L10
.L5:
mov rax, QWORD PTR -80[rbp]
mov esi, 1
mov rdi, rax
mov eax, 0
call open@PLT
mov DWORD PTR -96[rbp], eax
cmp DWORD PTR -96[rbp], -1
jne .L11
lea rdi, .LC8[rip]
call perror@PLT
mov edi, 1
call exit@PLT
.L11:
lea rax, -48[rbp]
mov esi, 0
mov rdi, rax
mov eax, 0
call gettimeofday@PLT
mov QWORD PTR -88[rbp], 0
jmp .L12
.L14:
mov eax, DWORD PTR -100[rbp]
movsx rdx, eax
mov rcx, QWORD PTR -64[rbp]
mov eax, DWORD PTR -96[rbp]
mov rsi, rcx
mov edi, eax
call write@PLT
mov edx, DWORD PTR -100[rbp]
movsx rdx, edx
cmp rax, rdx
je .L13
lea rdi, .LC9[rip]
call perror@PLT
mov edi, 1
call exit@PLT
.L13:
add QWORD PTR -88[rbp], 1
.L12:
mov rax, QWORD PTR -88[rbp]
cmp rax, QWORD PTR -72[rbp]
jl .L14
mov rax, QWORD PTR -80[rbp]
mov rdi, rax
call unlink@PLT
cmp eax, -1
jne .L15
lea rdi, .LC10[rip]
call perror@PLT
mov edi, 1
call exit@PLT
.L15:
lea rax, -104[rbp]
mov rdi, rax
call wait@PLT
lea rax, -32[rbp]
mov esi, 0
mov rdi, rax
mov eax, 0
call gettimeofday@PLT
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR -48[rbp]
sub rax, rdx
imul rdx, rax, 1000000
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov rdx, QWORD PTR -40[rbp]
sub rax, rdx
mov QWORD PTR -56[rbp], rax
mov rax, QWORD PTR -72[rbp]
imul rax, rax, 1000000
cqo
idiv QWORD PTR -56[rbp]
mov rsi, rax
lea rdi, .LC11[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR -72[rbp]
imul rax, rax, 1000000
cqo
idiv QWORD PTR -56[rbp]
mov rdx, rax
mov eax, DWORD PTR -100[rbp]
cdqe
mov rcx, rdx
imul rcx, rax
movabs rdx, 4835703278458516699
mov rax, rcx
imul rdx
mov rax, rdx
sar rax, 15
sar rcx, 63
mov rdx, rcx
sub rax, rdx
mov rsi, rax
lea rdi, .LC12[rip]
mov eax, 0
call printf@PLT
.L10:
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 "609900.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "/tmp/fifotest\000"
.align 2
.LC1:
.ascii "usage: named_pipe_thr <message-size> <message-count"
.ascii ">\000"
.align 2
.LC2:
.ascii "malloc\000"
.align 2
.LC3:
.ascii "message size: %i octets\012\000"
.align 2
.LC4:
.ascii "message count: %lli\012\000"
.align 2
.LC5:
.ascii "named-pipe\000"
.align 2
.LC6:
.ascii "opening fifo for reading\000"
.align 2
.LC7:
.ascii "read\000"
.align 2
.LC8:
.ascii "opening fifo for writing\000"
.align 2
.LC9:
.ascii "write\000"
.align 2
.LC10:
.ascii "unlinking fifo\000"
.global __aeabi_ldivmod
.align 2
.LC11:
.ascii "average throughput: %lli msg/s\012\000"
.align 2
.LC12:
.ascii "average throughput: %lli Mb/s\012\000"
.align 2
.LC13:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 112
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, fp, lr}
add fp, sp, #28
sub sp, sp, #112
str r0, [fp, #-104]
str r1, [fp, #-108]
ldr r3, .L18
ldr r3, [r3]
str r3, [fp, #-32]
mov r3,#0
ldr r3, .L18+4
str r3, [fp, #-96]
ldr r3, [fp, #-104]
cmp r3, #3
beq .L2
ldr r0, .L18+8
bl puts
mov r0, #1
bl exit
.L2:
ldr r3, [fp, #-108]
add r3, r3, #4
ldr r3, [r3]
mov r0, r3
bl atoi
str r0, [fp, #-92]
ldr r3, [fp, #-108]
add r3, r3, #8
ldr r3, [r3]
mov r0, r3
bl atol
mov r3, r0
mov r2, r3
asr r3, r2, #31
str r2, [fp, #-68]
str r3, [fp, #-64]
ldr r3, [fp, #-92]
mov r0, r3
bl malloc
mov r3, r0
str r3, [fp, #-88]
ldr r3, [fp, #-88]
cmp r3, #0
bne .L3
ldr r0, .L18+12
bl perror
mov r0, #1
bl exit
.L3:
ldr r1, [fp, #-92]
ldr r0, .L18+16
bl printf
sub r3, fp, #68
ldmia r3, {r2-r3}
ldr r0, .L18+20
bl printf
mov r1, #420
ldr r0, [fp, #-96]
bl mkfifo
mov r3, r0
cmn r3, #1
bne .L4
ldr r0, .L18+24
bl perror
mov r0, #1
bl exit
.L4:
bl fork
mov r3, r0
cmp r3, #0
bne .L5
mov r1, #0
ldr r0, [fp, #-96]
bl open
str r0, [fp, #-80]
ldr r3, [fp, #-80]
cmn r3, #1
bne .L6
ldr r0, .L18+28
bl perror
mov r0, #1
bl exit
.L6:
mov r2, #0
mov r3, #0
str r2, [fp, #-76]
str r3, [fp, #-72]
b .L7
.L9:
ldr r3, [fp, #-92]
mov r2, r3
ldr r1, [fp, #-88]
ldr r0, [fp, #-80]
bl read
mov r2, r0
ldr r3, [fp, #-92]
cmp r3, r2
beq .L8
ldr r0, .L18+32
bl perror
mov r0, #1
bl exit
.L8:
sub r3, fp, #76
ldmia r3, {r2-r3}
adds r4, r2, #1
adc r5, r3, #0
str r4, [fp, #-76]
str r5, [fp, #-72]
.L7:
sub r1, fp, #76
ldmia r1, {r0-r1}
sub r3, fp, #68
ldmia r3, {r2-r3}
cmp r0, r2
sbcs r3, r1, r3
blt .L9
b .L10
.L5:
mov r1, #1
ldr r0, [fp, #-96]
bl open
str r0, [fp, #-84]
ldr r3, [fp, #-84]
cmn r3, #1
bne .L11
ldr r0, .L18+36
bl perror
mov r0, #1
bl exit
.L11:
sub r3, fp, #48
mov r1, #0
mov r0, r3
bl gettimeofday
mov r2, #0
mov r3, #0
str r2, [fp, #-76]
str r3, [fp, #-72]
b .L12
.L14:
ldr r3, [fp, #-92]
mov r2, r3
ldr r1, [fp, #-88]
ldr r0, [fp, #-84]
bl write
mov r2, r0
ldr r3, [fp, #-92]
cmp r3, r2
beq .L13
ldr r0, .L18+40
bl perror
mov r0, #1
bl exit
.L13:
sub r3, fp, #76
ldmia r3, {r2-r3}
adds r1, r2, #1
str r1, [fp, #-132]
adc r3, r3, #0
str r3, [fp, #-128]
sub r4, fp, #132
ldmia r4, {r3-r4}
str r3, [fp, #-76]
str r4, [fp, #-72]
.L12:
sub r1, fp, #76
ldmia r1, {r0-r1}
sub r3, fp, #68
ldmia r3, {r2-r3}
cmp r0, r2
sbcs r3, r1, r3
blt .L14
ldr r0, [fp, #-96]
bl unlink
mov r3, r0
cmn r3, #1
bne .L15
ldr r0, .L18+44
bl perror
mov r0, #1
bl exit
.L15:
sub r3, fp, #100
mov r0, r3
bl wait
sub r3, fp, #40
mov r1, #0
mov r0, r3
bl gettimeofday
ldr r2, [fp, #-40]
ldr r3, [fp, #-48]
sub r3, r2, r3
mov r4, r3
asr r5, r4, #31
mov r2, r4
mov r3, r5
mov r0, #0
mov r1, #0
lsl r1, r3, #5
orr r1, r1, r2, lsr #27
lsl r0, r2, #5
mov r2, r0
mov r3, r1
subs r2, r2, r4
sbc r3, r3, r5
mov r0, #0
mov r1, #0
lsl r1, r3, #9
orr r1, r1, r2, lsr #23
lsl r0, r2, #9
mov r2, r0
mov r3, r1
adds r2, r2, r4
adc r3, r3, r5
mov r0, #0
mov r1, #0
lsl r1, r3, #6
orr r1, r1, r2, lsr #26
lsl r0, r2, #6
subs r0, r0, r2
sbc r1, r1, r3
adds r8, r0, r4
adc r9, r1, r5
ldr r3, [fp, #-36]
mov r2, r3
asr r3, r2, #31
adds r6, r8, r2
adc r7, r9, r3
ldr r3, [fp, #-44]
mov r2, r3
asr r3, r2, #31
subs r1, r6, r2
str r1, [fp, #-140]
sbc r3, r7, r3
str r3, [fp, #-136]
sub r4, fp, #140
ldmia r4, {r3-r4}
str r3, [fp, #-60]
str r4, [fp, #-56]
sub r5, fp, #68
ldmia r5, {r4-r5}
mov r2, r4
mov r3, r5
mov r0, #0
mov r1, #0
lsl r1, r3, #5
orr r1, r1, r2, lsr #27
lsl r0, r2, #5
mov r2, r0
mov r3, r1
subs r2, r2, r4
sbc r3, r3, r5
mov r0, #0
mov r1, #0
lsl r1, r3, #9
orr r1, r1, r2, lsr #23
lsl r0, r2, #9
mov r2, r0
mov r3, r1
adds r2, r2, r4
adc r3, r3, r5
mov r0, #0
mov r1, #0
lsl r1, r3, #6
orr r1, r1, r2, lsr #26
lsl r0, r2, #6
subs r0, r0, r2
sbc r1, r1, r3
adds r3, r0, r4
str r3, [fp, #-116]
adc r3, r1, r5
str r3, [fp, #-112]
sub r3, fp, #60
ldmia r3, {r2-r3}
sub r1, fp, #116
ldmia r1, {r0-r1}
bl __aeabi_ldivmod
mov r2, r0
mov r3, r1
ldr r0, .L18+48
bl printf
sub r5, fp, #68
ldmia r5, {r4-r5}
mov r2, r4
mov r3, r5
mov r0, #0
mov r1, #0
lsl r1, r3, #5
orr r1, r1, r2, lsr #27
lsl r0, r2, #5
mov r2, r0
mov r3, r1
subs r2, r2, r4
sbc r3, r3, r5
mov r0, #0
mov r1, #0
lsl r1, r3, #9
orr r1, r1, r2, lsr #23
lsl r0, r2, #9
mov r2, r0
mov r3, r1
adds r2, r2, r4
adc r3, r3, r5
mov r0, #0
mov r1, #0
lsl r1, r3, #6
orr r1, r1, r2, lsr #26
lsl r0, r2, #6
subs r0, r0, r2
sbc r1, r1, r3
adds r3, r0, r4
str r3, [fp, #-124]
adc r3, r1, r5
str r3, [fp, #-120]
sub r3, fp, #60
ldmia r3, {r2-r3}
sub r1, fp, #124
ldmia r1, {r0-r1}
bl __aeabi_ldivmod
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
ldr r3, [fp, #-92]
mov r2, r3
asr r3, r2, #31
mul lr, r2, r1
mul ip, r0, r3
add ip, lr, ip
umull r4, r5, r0, r2
add r3, ip, r5
mov r5, r3
ldr r2, .L18+52
mov r3, #0
mov r0, r4
mov r1, r5
bl __aeabi_ldivmod
mov r2, r0
mov r3, r1
ldr r0, .L18+56
bl printf
.L10:
mov r3, #0
ldr r2, .L18
ldr r1, [r2]
ldr r2, [fp, #-32]
eors r1, r2, r1
mov r2, #0
beq .L17
bl __stack_chk_fail
.L17:
mov r0, r3
sub sp, fp, #28
@ sp needed
pop {r4, r5, r6, r7, r8, r9, fp, pc}
.L19:
.align 2
.L18:
.word .LC13
.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 125000
.word .LC12
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "148087.c"
.intel_syntax noprefix
.text
.section .rodata
.LC2:
.string "true"
.LC3:
.string "%d\n"
.LC4:
.string "%f\n"
.LC5:
.string "m: %u\nl: %u\n"
.LC6:
.string "%d"
.text
.globl main
.type main, @function
main:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
movss xmm0, DWORD PTR .LC0[rip]
movss DWORD PTR -40[rbp], xmm0
movsd xmm0, QWORD PTR .LC1[rip]
movsd QWORD PTR -16[rbp], xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, DWORD PTR -40[rbp]
ucomisd xmm0, QWORD PTR -16[rbp]
jp .L2
ucomisd xmm0, QWORD PTR -16[rbp]
jne .L2
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
.L2:
mov eax, DWORD PTR -36[rbp]
mov esi, eax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -36[rbp], 2
mov eax, DWORD PTR -36[rbp]
mov edi, eax
call increment
add DWORD PTR -36[rbp], 1
mov eax, DWORD PTR -36[rbp]
mov esi, eax
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR -36[rbp]
mov esi, eax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
mov BYTE PTR -41[rbp], 97
movzx eax, BYTE PTR -41[rbp]
add eax, 1
mov BYTE PTR -41[rbp], al
mov DWORD PTR -32[rbp], -2147483648
neg DWORD PTR -32[rbp]
mov eax, DWORD PTR -32[rbp]
mov esi, eax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -28[rbp], -1
mov DWORD PTR -24[rbp], -1
mov edx, DWORD PTR -24[rbp]
mov eax, DWORD PTR -28[rbp]
mov esi, eax
lea rdi, .LC5[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -32[rbp], 0
mov eax, DWORD PTR -32[rbp]
mov esi, eax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -28[rbp], 5
mov eax, DWORD PTR -28[rbp]
mov esi, eax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
mov edi, 5
call create_and_print_int_array
mov QWORD PTR -8[rbp], rax
mov eax, DWORD PTR -20[rbp]
mov esi, eax
lea rdi, .LC6[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size main, .-main
.globl increment
.type increment, @function
increment:
.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
add DWORD PTR -4[rbp], 1
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size increment, .-increment
.globl increment_using_ptr
.type increment_using_ptr, @function
increment_using_ptr:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
add rax, 4
mov QWORD PTR -8[rbp], rax
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size increment_using_ptr, .-increment_using_ptr
.globl increment_using_return
.type increment_using_return, @function
increment_using_return:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -4[rbp], edi
mov eax, DWORD PTR -4[rbp]
add eax, 1
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size increment_using_return, .-increment_using_return
.globl create_int_array
.type create_int_array, @function
create_int_array:
.LFB10:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov DWORD PTR -20[rbp], edi
mov eax, DWORD PTR -20[rbp]
cdqe
mov rdi, rax
call malloc@PLT
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size create_int_array, .-create_int_array
.section .rodata
.LC7:
.string "%d "
.text
.globl create_and_print_int_array
.type create_and_print_int_array, @function
create_and_print_int_array:
.LFB11:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov DWORD PTR -20[rbp], edi
mov eax, DWORD PTR -20[rbp]
mov edi, eax
call create_int_array
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
add rax, 20
mov DWORD PTR [rax], 5
mov DWORD PTR -12[rbp], 0
jmp .L13
.L14:
mov eax, DWORD PTR -12[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -8[rbp]
add rax, rdx
mov eax, DWORD PTR [rax]
mov esi, eax
lea rdi, .LC7[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -12[rbp], 1
.L13:
mov eax, DWORD PTR -12[rbp]
cmp eax, DWORD PTR -20[rbp]
jle .L14
mov edi, 10
call putchar@PLT
mov rax, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size create_and_print_int_array, .-create_and_print_int_array
.section .rodata
.align 4
.LC0:
.long 1069909992
.align 8
.LC1:
.long -133315785
.long 1073262844
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "148087.c"
.text
.global __aeabi_f2d
.global __aeabi_dcmpeq
.section .rodata
.align 2
.LC0:
.ascii "true\000"
.align 2
.LC1:
.ascii "%d\012\000"
.align 2
.LC2:
.ascii "%f\012\000"
.align 2
.LC3:
.ascii "m: %u\012l: %u\012\000"
.align 2
.LC4:
.ascii "%d\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
ldr r3, .L6
str r3, [fp, #-40] @ float
ldr r2, .L6+4
ldr r3, .L6+8
str r2, [fp, #-12]
str r3, [fp, #-8]
ldr r0, [fp, #-40] @ float
bl __aeabi_f2d
mov r2, r0
mov r3, r1
sub r1, fp, #12
ldmia r1, {r0-r1}
bl __aeabi_dcmpeq
mov r3, r0
cmp r3, #0
beq .L2
ldr r0, .L6+12
bl printf
.L2:
ldr r1, [fp, #-36]
ldr r0, .L6+16
bl printf
mov r3, #2
str r3, [fp, #-36]
ldr r0, [fp, #-36]
bl increment
ldr r3, [fp, #-36]
add r3, r3, #1
str r3, [fp, #-36]
ldr r1, [fp, #-36]
ldr r0, .L6+20
bl printf
ldr r1, [fp, #-36]
ldr r0, .L6+16
bl printf
mov r3, #97
strb r3, [fp, #-41]
ldrb r3, [fp, #-41] @ zero_extendqisi2
add r3, r3, #1
strb r3, [fp, #-41]
mov r3, #-2147483648
str r3, [fp, #-32]
ldr r3, [fp, #-32]
rsb r3, r3, #0
str r3, [fp, #-32]
ldr r1, [fp, #-32]
ldr r0, .L6+16
bl printf
mvn r3, #0
str r3, [fp, #-28]
mvn r3, #0
str r3, [fp, #-24]
ldr r2, [fp, #-24]
ldr r1, [fp, #-28]
ldr r0, .L6+24
bl printf
mov r3, #0
str r3, [fp, #-32]
ldr r1, [fp, #-32]
ldr r0, .L6+16
bl printf
mov r3, #5
str r3, [fp, #-28]
ldr r1, [fp, #-28]
ldr r0, .L6+16
bl printf
mov r0, #5
bl create_and_print_int_array
str r0, [fp, #-20]
ldr r1, [fp, #-16]
ldr r0, .L6+28
bl __isoc99_scanf
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L7:
.align 2
.L6:
.word 1069909992
.word -133315785
.word 1073262844
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.size main, .-main
.align 2
.global increment
.syntax unified
.arm
.fpu softvfp
.type increment, %function
increment:
@ 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]
add r3, r3, #1
str r3, [fp, #-8]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size increment, .-increment
.align 2
.global increment_using_ptr
.syntax unified
.arm
.fpu softvfp
.type increment_using_ptr, %function
increment_using_ptr:
@ 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]
add r3, r3, #4
str r3, [fp, #-8]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size increment_using_ptr, .-increment_using_ptr
.align 2
.global increment_using_return
.syntax unified
.arm
.fpu softvfp
.type increment_using_return, %function
increment_using_return:
@ 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]
add r3, r3, #1
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size increment_using_return, .-increment_using_return
.align 2
.global create_int_array
.syntax unified
.arm
.fpu softvfp
.type create_int_array, %function
create_int_array:
@ 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]
mov r0, r3
bl malloc
mov r3, r0
str r3, [fp, #-8]
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size create_int_array, .-create_int_array
.section .rodata
.align 2
.LC5:
.ascii "%d \000"
.text
.align 2
.global create_and_print_int_array
.syntax unified
.arm
.fpu softvfp
.type create_and_print_int_array, %function
create_and_print_int_array:
@ 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 r0, [fp, #-16]
bl create_int_array
str r0, [fp, #-8]
ldr r3, [fp, #-8]
add r3, r3, #20
mov r2, #5
str r2, [r3]
mov r3, #0
str r3, [fp, #-12]
b .L15
.L16:
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-8]
add r3, r2, r3
ldr r3, [r3]
mov r1, r3
ldr r0, .L18
bl printf
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L15:
ldr r2, [fp, #-12]
ldr r3, [fp, #-16]
cmp r2, r3
ble .L16
mov r0, #10
bl putchar
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L19:
.align 2
.L18:
.word .LC5
.size create_and_print_int_array, .-create_and_print_int_array
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "811384.c"
.intel_syntax noprefix
.text
.globl size
.bss
.align 4
.type size, @object
.size size, 4
size:
.zero 4
.globl n
.align 4
.type n, @object
.size n, 4
n:
.zero 4
.text
.globl heapify
.type heapify, @function
heapify:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov eax, DWORD PTR -28[rbp]
add eax, eax
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -28[rbp]
add eax, eax
add eax, 1
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR size[rip]
cmp DWORD PTR -12[rbp], eax
jg .L2
mov eax, DWORD PTR -12[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov edx, DWORD PTR [rax]
mov eax, DWORD PTR -28[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 .L2
mov eax, DWORD PTR -12[rbp]
mov DWORD PTR -16[rbp], eax
jmp .L3
.L2:
mov eax, DWORD PTR -28[rbp]
mov DWORD PTR -16[rbp], eax
.L3:
mov eax, DWORD PTR size[rip]
cmp DWORD PTR -8[rbp], eax
jg .L4
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 -16[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 .L4
mov eax, DWORD PTR -8[rbp]
mov DWORD PTR -16[rbp], eax
.L4:
mov eax, DWORD PTR -16[rbp]
cmp eax, DWORD PTR -28[rbp]
je .L6
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]
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -16[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov edx, DWORD PTR -28[rbp]
movsx rdx, edx
lea rcx, 0[0+rdx*4]
mov rdx, QWORD PTR -24[rbp]
add rdx, rcx
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
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 -4[rbp]
mov DWORD PTR [rdx], eax
mov edx, DWORD PTR -16[rbp]
mov rax, QWORD PTR -24[rbp]
mov esi, edx
mov rdi, rax
call heapify
.L6:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size heapify, .-heapify
.globl build_max_heap
.type build_max_heap, @function
build_max_heap:
.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 eax, DWORD PTR n[rip]
mov DWORD PTR size[rip], eax
mov eax, DWORD PTR n[rip]
mov edx, eax
shr edx, 31
add eax, edx
sar eax
mov DWORD PTR -4[rbp], eax
jmp .L8
.L9:
mov edx, DWORD PTR -4[rbp]
mov rax, QWORD PTR -24[rbp]
mov esi, edx
mov rdi, rax
call heapify
sub DWORD PTR -4[rbp], 1
.L8:
cmp DWORD PTR -4[rbp], 0
jg .L9
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size build_max_heap, .-build_max_heap
.globl heapsort
.type heapsort, @function
heapsort:
.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 rax, QWORD PTR -24[rbp]
mov rdi, rax
call build_max_heap
mov eax, DWORD PTR size[rip]
mov DWORD PTR -8[rbp], eax
jmp .L11
.L12:
mov rax, QWORD PTR -24[rbp]
mov eax, DWORD PTR 4[rax]
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -8[rbp]
cdqe
lea rdx, 0[0+rax*4]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov rdx, QWORD PTR -24[rbp]
add rdx, 4
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
mov eax, DWORD PTR -8[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
mov eax, DWORD PTR size[rip]
sub eax, 1
mov DWORD PTR size[rip], eax
mov rax, QWORD PTR -24[rbp]
mov esi, 1
mov rdi, rax
call heapify
sub DWORD PTR -8[rbp], 1
.L11:
cmp DWORD PTR -8[rbp], 1
jg .L12
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE2:
.size heapsort, .-heapsort
.section .rodata
.LC0:
.string "enter size :"
.LC1:
.string "%d"
.LC2:
.string "\n enter array elements "
.LC3:
.string "\n After sort"
.LC4:
.string "\n %d"
.text
.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, 112
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 rsi, n[rip]
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -100[rbp], 1
jmp .L14
.L15:
lea rdx, -96[rbp]
mov eax, DWORD PTR -100[rbp]
cdqe
sal rax, 2
add rax, rdx
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
add DWORD PTR -100[rbp], 1
.L14:
mov eax, DWORD PTR n[rip]
cmp DWORD PTR -100[rbp], eax
jle .L15
lea rax, -96[rbp]
mov rdi, rax
call heapsort
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
mov DWORD PTR -100[rbp], 1
jmp .L16
.L17:
mov eax, DWORD PTR -100[rbp]
cdqe
mov eax, DWORD PTR -96[rbp+rax*4]
mov esi, eax
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -100[rbp], 1
.L16:
mov eax, DWORD PTR n[rip]
cmp DWORD PTR -100[rbp], eax
jle .L17
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L19
call __stack_chk_fail@PLT
.L19:
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 "811384.c"
.text
.comm size,4,4
.comm n,4,4
.align 2
.global heapify
.syntax unified
.arm
.fpu softvfp
.type heapify, %function
heapify:
@ 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]
lsl r3, r3, #1
str r3, [fp, #-16]
ldr r3, [fp, #-28]
lsl r3, r3, #1
add r3, r3, #1
str r3, [fp, #-12]
ldr r3, .L7
ldr r3, [r3]
ldr r2, [fp, #-16]
cmp r2, r3
bgt .L2
ldr r3, [fp, #-16]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
ldr r1, [fp, #-24]
add r3, r1, r3
ldr r3, [r3]
cmp r2, r3
ble .L2
ldr r3, [fp, #-16]
str r3, [fp, #-20]
b .L3
.L2:
ldr r3, [fp, #-28]
str r3, [fp, #-20]
.L3:
ldr r3, .L7
ldr r3, [r3]
ldr r2, [fp, #-12]
cmp r2, r3
bgt .L4
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-20]
lsl r3, r3, #2
ldr r1, [fp, #-24]
add r3, r1, r3
ldr r3, [r3]
cmp r2, r3
ble .L4
ldr r3, [fp, #-12]
str r3, [fp, #-20]
.L4:
ldr r2, [fp, #-20]
ldr r3, [fp, #-28]
cmp r2, r3
beq .L6
ldr r3, [fp, #-28]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r3, r2, r3
ldr r3, [r3]
str r3, [fp, #-8]
ldr r3, [fp, #-20]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r2, r2, r3
ldr r3, [fp, #-28]
lsl r3, r3, #2
ldr r1, [fp, #-24]
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
ldr r3, [fp, #-20]
lsl r3, r3, #2
ldr r2, [fp, #-24]
add r3, r2, r3
ldr r2, [fp, #-8]
str r2, [r3]
ldr r1, [fp, #-20]
ldr r0, [fp, #-24]
bl heapify
.L6:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L8:
.align 2
.L7:
.word size
.size heapify, .-heapify
.align 2
.global build_max_heap
.syntax unified
.arm
.fpu softvfp
.type build_max_heap, %function
build_max_heap:
@ 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, .L12
ldr r3, [r3]
ldr r2, .L12+4
str r3, [r2]
ldr r3, .L12
ldr r3, [r3]
lsr r2, r3, #31
add r3, r2, r3
asr r3, r3, #1
str r3, [fp, #-8]
b .L10
.L11:
ldr r1, [fp, #-8]
ldr r0, [fp, #-16]
bl heapify
ldr r3, [fp, #-8]
sub r3, r3, #1
str r3, [fp, #-8]
.L10:
ldr r3, [fp, #-8]
cmp r3, #0
bgt .L11
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L13:
.align 2
.L12:
.word n
.word size
.size build_max_heap, .-build_max_heap
.align 2
.global heapsort
.syntax unified
.arm
.fpu softvfp
.type heapsort, %function
heapsort:
@ 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 r0, [fp, #-16]
bl build_max_heap
ldr r3, .L17
ldr r3, [r3]
str r3, [fp, #-12]
b .L15
.L16:
ldr r3, [fp, #-16]
ldr r3, [r3, #4]
str r3, [fp, #-8]
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r2, r2, r3
ldr r3, [fp, #-16]
add r3, r3, #4
ldr r2, [r2]
str r2, [r3]
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r2, [fp, #-8]
str r2, [r3]
ldr r3, .L17
ldr r3, [r3]
sub r3, r3, #1
ldr r2, .L17
str r3, [r2]
mov r1, #1
ldr r0, [fp, #-16]
bl heapify
ldr r3, [fp, #-12]
sub r3, r3, #1
str r3, [fp, #-12]
.L15:
ldr r3, [fp, #-12]
cmp r3, #1
bgt .L16
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L18:
.align 2
.L17:
.word size
.size heapsort, .-heapsort
.section .rodata
.align 2
.LC0:
.ascii "enter size :\000"
.align 2
.LC1:
.ascii "%d\000"
.align 2
.LC2:
.ascii "\012 enter array elements \000"
.align 2
.LC3:
.ascii "\012 After sort\000"
.align 2
.LC4:
.ascii "\012 %d\000"
.align 2
.LC5:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 88
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #88
ldr r3, .L26
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r0, .L26+4
bl printf
ldr r1, .L26+8
ldr r0, .L26+12
bl __isoc99_scanf
ldr r0, .L26+16
bl printf
mov r3, #1
str r3, [fp, #-92]
b .L20
.L21:
sub r2, fp, #88
ldr r3, [fp, #-92]
lsl r3, r3, #2
add r3, r2, r3
mov r1, r3
ldr r0, .L26+12
bl __isoc99_scanf
ldr r3, [fp, #-92]
add r3, r3, #1
str r3, [fp, #-92]
.L20:
ldr r3, .L26+8
ldr r3, [r3]
ldr r2, [fp, #-92]
cmp r2, r3
ble .L21
sub r3, fp, #88
mov r0, r3
bl heapsort
ldr r0, .L26+20
bl printf
mov r3, #1
str r3, [fp, #-92]
b .L22
.L23:
ldr r3, [fp, #-92]
lsl r3, r3, #2
sub r2, fp, #4
add r3, r2, r3
ldr r3, [r3, #-84]
mov r1, r3
ldr r0, .L26+24
bl printf
ldr r3, [fp, #-92]
add r3, r3, #1
str r3, [fp, #-92]
.L22:
ldr r3, .L26+8
ldr r3, [r3]
ldr r2, [fp, #-92]
cmp r2, r3
ble .L23
mov r3, #0
ldr r2, .L26
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L25
bl __stack_chk_fail
.L25:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L27:
.align 2
.L26:
.word .LC5
.word .LC0
.word n
.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 "565132.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
.section .rodata
.align 32
.type segments.0, @object
.size segments.0, 280
segments.0:
.long 1
.long 1
.long 1
.long 1
.long 1
.long 1
.long 0
.long 0
.long 1
.long 1
.long 0
.long 0
.long 0
.long 0
.long 1
.long 1
.long 0
.long 1
.long 1
.long 0
.long 1
.long 1
.long 1
.long 1
.long 1
.long 0
.long 0
.long 1
.long 0
.long 1
.long 1
.long 0
.long 0
.long 1
.long 1
.long 1
.long 0
.long 1
.long 1
.long 0
.long 1
.long 1
.long 1
.long 0
.long 1
.long 1
.long 1
.long 1
.long 1
.long 1
.long 1
.long 1
.long 0
.long 0
.long 0
.long 0
.long 1
.long 1
.long 1
.long 1
.long 1
.long 1
.long 1
.long 1
.long 1
.long 1
.long 1
.long 0
.long 1
.long 1
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "565132.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
.section .rodata
.align 2
.type segments.4600, %object
.size segments.4600, 280
segments.4600:
.word 1
.word 1
.word 1
.word 1
.word 1
.word 1
.word 0
.word 0
.word 1
.word 1
.word 0
.word 0
.word 0
.word 0
.word 1
.word 1
.word 0
.word 1
.word 1
.word 0
.word 1
.word 1
.word 1
.word 1
.word 1
.word 0
.word 0
.word 1
.word 0
.word 1
.word 1
.word 0
.word 0
.word 1
.word 1
.word 1
.word 0
.word 1
.word 1
.word 0
.word 1
.word 1
.word 1
.word 0
.word 1
.word 1
.word 1
.word 1
.word 1
.word 1
.word 1
.word 1
.word 0
.word 0
.word 0
.word 0
.word 1
.word 1
.word 1
.word 1
.word 1
.word 1
.word 1
.word 1
.word 1
.word 1
.word 1
.word 0
.word 1
.word 1
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "800156.c"
.intel_syntax noprefix
.text
.globl get_msb
.type get_msb, @function
get_msb:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -20[rbp], edi
mov DWORD PTR -4[rbp], 0
jmp .L2
.L3:
add DWORD PTR -4[rbp], 1
sar DWORD PTR -20[rbp]
.L2:
cmp DWORD PTR -20[rbp], 0
jne .L3
cmp DWORD PTR -4[rbp], 0
je .L4
mov eax, DWORD PTR -4[rbp]
sub eax, 1
jmp .L6
.L4:
mov eax, 0
.L6:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size get_msb, .-get_msb
.globl bitwise_and_of_range
.type bitwise_and_of_range, @function
bitwise_and_of_range:
.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, 24
mov DWORD PTR -20[rbp], edi
mov DWORD PTR -24[rbp], esi
mov DWORD PTR -8[rbp], 0
mov DWORD PTR -4[rbp], 0
mov DWORD PTR -12[rbp], 0
jmp .L8
.L11:
mov eax, DWORD PTR -20[rbp]
mov edi, eax
call get_msb
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -24[rbp]
mov edi, eax
call get_msb
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -8[rbp]
cmp eax, DWORD PTR -4[rbp]
jne .L13
mov eax, DWORD PTR -8[rbp]
mov edx, 1
mov ecx, eax
sal edx, cl
mov eax, edx
sub DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -8[rbp]
mov edx, 1
mov ecx, eax
sal edx, cl
mov eax, edx
sub DWORD PTR -24[rbp], eax
mov eax, DWORD PTR -8[rbp]
mov edx, 1
mov ecx, eax
sal edx, cl
mov eax, edx
add DWORD PTR -12[rbp], eax
.L8:
cmp DWORD PTR -20[rbp], 0
je .L10
cmp DWORD PTR -24[rbp], 0
jne .L11
jmp .L10
.L13:
nop
.L10:
mov eax, DWORD PTR -12[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size bitwise_and_of_range, .-bitwise_and_of_range
.section .rodata
.LC0:
.string "Enter starting range: "
.LC1:
.string "%d"
.LC2:
.string "Enter ending range: "
.LC3:
.string " Result is: %d\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
sub rsp, 32
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -20[rbp], 0
mov DWORD PTR -16[rbp], 0
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
lea rax, -20[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
lea rax, -16[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov edx, DWORD PTR -16[rbp]
mov eax, DWORD PTR -20[rbp]
mov esi, edx
mov edi, eax
call bitwise_and_of_range
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -12[rbp]
mov esi, eax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L16
call __stack_chk_fail@PLT
.L16:
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 "800156.c"
.text
.align 2
.global get_msb
.syntax unified
.arm
.fpu softvfp
.type get_msb, %function
get_msb:
@ 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]
asr r3, r3, #1
str r3, [fp, #-16]
.L2:
ldr r3, [fp, #-16]
cmp r3, #0
bne .L3
ldr r3, [fp, #-8]
cmp r3, #0
beq .L4
ldr r3, [fp, #-8]
sub r3, r3, #1
b .L6
.L4:
mov r3, #0
.L6:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size get_msb, .-get_msb
.align 2
.global bitwise_and_of_range
.syntax unified
.arm
.fpu softvfp
.type bitwise_and_of_range, %function
bitwise_and_of_range:
@ 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, #-12]
mov r3, #0
str r3, [fp, #-8]
mov r3, #0
str r3, [fp, #-16]
b .L8
.L11:
ldr r0, [fp, #-24]
bl get_msb
str r0, [fp, #-12]
ldr r0, [fp, #-28]
bl get_msb
str r0, [fp, #-8]
ldr r2, [fp, #-12]
ldr r3, [fp, #-8]
cmp r2, r3
bne .L13
mov r2, #1
ldr r3, [fp, #-12]
lsl r3, r2, r3
ldr r2, [fp, #-24]
sub r3, r2, r3
str r3, [fp, #-24]
mov r2, #1
ldr r3, [fp, #-12]
lsl r3, r2, r3
ldr r2, [fp, #-28]
sub r3, r2, r3
str r3, [fp, #-28]
mov r2, #1
ldr r3, [fp, #-12]
lsl r3, r2, r3
ldr r2, [fp, #-16]
add r3, r2, r3
str r3, [fp, #-16]
.L8:
ldr r3, [fp, #-24]
cmp r3, #0
beq .L10
ldr r3, [fp, #-28]
cmp r3, #0
bne .L11
b .L10
.L13:
nop
.L10:
ldr r3, [fp, #-16]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size bitwise_and_of_range, .-bitwise_and_of_range
.section .rodata
.align 2
.LC0:
.ascii "Enter starting range: \000"
.align 2
.LC1:
.ascii "%d\000"
.align 2
.LC2:
.ascii "Enter ending range: \000"
.align 2
.LC3:
.ascii " Result is: %d\012\000"
.align 2
.LC4:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
ldr r3, .L17
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-20]
mov r3, #0
str r3, [fp, #-16]
ldr r0, .L17+4
bl printf
sub r3, fp, #20
mov r1, r3
ldr r0, .L17+8
bl __isoc99_scanf
ldr r0, .L17+12
bl printf
sub r3, fp, #16
mov r1, r3
ldr r0, .L17+8
bl __isoc99_scanf
ldr r3, [fp, #-20]
ldr r2, [fp, #-16]
mov r1, r2
mov r0, r3
bl bitwise_and_of_range
str r0, [fp, #-12]
ldr r1, [fp, #-12]
ldr r0, .L17+16
bl printf
mov r3, #0
ldr r2, .L17
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L16
bl __stack_chk_fail
.L16:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L18:
.align 2
.L17:
.word .LC4
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "114202.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%d %d"
.LC1:
.string "%d\n"
.text
.globl main
.type main, @function
main:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
.L11:
lea rdx, -28[rbp]
lea rax, -32[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov eax, DWORD PTR -32[rbp]
test eax, eax
jne .L2
mov eax, DWORD PTR -28[rbp]
test eax, eax
je .L15
.L2:
mov DWORD PTR -12[rbp], 0
mov DWORD PTR -24[rbp], 1
jmp .L4
.L10:
mov eax, DWORD PTR -24[rbp]
add eax, 1
mov DWORD PTR -20[rbp], eax
jmp .L5
.L9:
mov eax, DWORD PTR -20[rbp]
add eax, 1
mov DWORD PTR -16[rbp], eax
jmp .L6
.L8:
mov edx, DWORD PTR -24[rbp]
mov eax, DWORD PTR -20[rbp]
add edx, eax
mov eax, DWORD PTR -16[rbp]
add edx, eax
mov eax, DWORD PTR -28[rbp]
cmp edx, eax
jne .L7
add DWORD PTR -12[rbp], 1
.L7:
add DWORD PTR -16[rbp], 1
.L6:
mov eax, DWORD PTR -32[rbp]
cmp DWORD PTR -16[rbp], eax
jle .L8
add DWORD PTR -20[rbp], 1
.L5:
mov eax, DWORD PTR -32[rbp]
cmp DWORD PTR -20[rbp], eax
jl .L9
add DWORD PTR -24[rbp], 1
.L4:
mov eax, DWORD PTR -32[rbp]
sub eax, 1
cmp DWORD PTR -24[rbp], eax
jl .L10
mov eax, DWORD PTR -12[rbp]
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
jmp .L11
.L15:
nop
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
.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 "114202.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "%d %d\000"
.align 2
.LC1:
.ascii "%d\012\000"
.align 2
.LC2:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #32
ldr r3, .L16
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
.L11:
sub r2, fp, #28
sub r3, fp, #32
mov r1, r3
ldr r0, .L16+4
bl __isoc99_scanf
ldr r3, [fp, #-32]
cmp r3, #0
bne .L2
ldr r3, [fp, #-28]
cmp r3, #0
beq .L15
.L2:
mov r3, #0
str r3, [fp, #-12]
mov r3, #1
str r3, [fp, #-24]
b .L4
.L10:
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-20]
b .L5
.L9:
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-16]
b .L6
.L8:
ldr r2, [fp, #-24]
ldr r3, [fp, #-20]
add r2, r2, r3
ldr r3, [fp, #-16]
add r2, r2, r3
ldr r3, [fp, #-28]
cmp r2, r3
bne .L7
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L7:
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L6:
ldr r3, [fp, #-32]
ldr r2, [fp, #-16]
cmp r2, r3
ble .L8
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L5:
ldr r3, [fp, #-32]
ldr r2, [fp, #-20]
cmp r2, r3
blt .L9
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L4:
ldr r3, [fp, #-32]
sub r3, r3, #1
ldr r2, [fp, #-24]
cmp r2, r3
blt .L10
ldr r1, [fp, #-12]
ldr r0, .L16+8
bl printf
b .L11
.L15:
nop
mov r3, #0
ldr r2, .L16
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L13
bl __stack_chk_fail
.L13:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L17:
.align 2
.L16:
.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 "133544.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "\nCreating First Polynomial :-"
.align 8
.LC1:
.string "\nCreating Second Polynomial :-"
.text
.globl main
.type main, @function
main:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov QWORD PTR -32[rbp], 0
mov QWORD PTR -24[rbp], 0
mov QWORD PTR -16[rbp], 0
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
lea rax, -32[rbp]
mov rdi, rax
call create
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
lea rax, -24[rbp]
mov rdi, rax
call create
mov rax, QWORD PTR -32[rbp]
mov rdi, rax
call display
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call display
mov rcx, QWORD PTR -24[rbp]
mov rax, QWORD PTR -32[rbp]
lea rdx, -16[rbp]
mov rsi, rcx
mov rdi, rax
call multi
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
.LFE6:
.size main, .-main
.section .rodata
.align 8
.LC2:
.string "\nEnter the number of nodes you want to create in the polynomial: "
.LC3:
.string "%d"
.align 8
.LC4:
.string "\nEnter the coefficient and power of the polynomial\n "
.LC5:
.string "\nPolynomial Created!!"
.LC6:
.string "\nPolynomial not created"
.text
.globl create
.type create, @function
create:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 64
mov QWORD PTR -56[rbp], rdi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov rax, QWORD PTR -56[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -24[rbp], rax
lea rdi, .LC2[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
mov DWORD PTR -28[rbp], 0
jmp .L5
.L10:
mov edi, 16
call malloc@PLT
mov QWORD PTR -16[rbp], rax
lea rdi, .LC4[rip]
mov eax, 0
call printf@PLT
lea rax, -36[rbp]
mov rsi, rax
lea rdi, .LC3[rip]
mov eax, 0
call __isoc99_scanf@PLT
lea rax, -32[rbp]
mov rsi, rax
lea rdi, .LC3[rip]
mov eax, 0
call __isoc99_scanf@PLT
cmp QWORD PTR -24[rbp], 0
jne .L8
mov rax, QWORD PTR -16[rbp]
mov QWORD PTR 8[rax], 0
mov edx, DWORD PTR -36[rbp]
mov rax, QWORD PTR -16[rbp]
mov DWORD PTR [rax], edx
mov edx, DWORD PTR -32[rbp]
mov rax, QWORD PTR -16[rbp]
mov DWORD PTR 4[rax], edx
mov rax, QWORD PTR -56[rbp]
mov rdx, QWORD PTR -16[rbp]
mov QWORD PTR [rax], rdx
mov rax, QWORD PTR -56[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -24[rbp], rax
jmp .L7
.L9:
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -24[rbp], rax
.L8:
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 8[rax]
test rax, rax
jne .L9
mov edx, DWORD PTR -36[rbp]
mov rax, QWORD PTR -16[rbp]
mov DWORD PTR [rax], edx
mov edx, DWORD PTR -32[rbp]
mov rax, QWORD PTR -16[rbp]
mov DWORD PTR 4[rax], edx
mov rax, QWORD PTR -16[rbp]
mov QWORD PTR 8[rax], 0
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR -16[rbp]
mov QWORD PTR 8[rax], rdx
.L7:
add DWORD PTR -28[rbp], 1
.L5:
mov eax, DWORD PTR -40[rbp]
cmp DWORD PTR -28[rbp], eax
jl .L10
mov eax, DWORD PTR -40[rbp]
test eax, eax
jle .L11
lea rdi, .LC5[rip]
call puts@PLT
jmp .L14
.L11:
lea rdi, .LC6[rip]
call puts@PLT
.L14:
nop
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L13
call __stack_chk_fail@PLT
.L13:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size create, .-create
.section .rodata
.LC7:
.string "\nEmpty List!!"
.LC8:
.string "\nList:-"
.LC9:
.string "%d x^%d +"
.LC10:
.string "\b "
.text
.globl display
.type display, @function
display:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov edi, 10
call putchar@PLT
cmp QWORD PTR -8[rbp], 0
jne .L16
lea rdi, .LC7[rip]
mov eax, 0
call printf@PLT
mov eax, 0
call getch@PLT
jmp .L15
.L16:
lea rdi, .LC8[rip]
call puts@PLT
jmp .L18
.L19:
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR 4[rax]
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR [rax]
mov esi, eax
lea rdi, .LC9[rip]
mov eax, 0
call printf@PLT
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 8[rax]
mov QWORD PTR -8[rbp], rax
.L18:
cmp QWORD PTR -8[rbp], 0
jne .L19
lea rdi, .LC10[rip]
mov eax, 0
call printf@PLT
.L15:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size display, .-display
.section .rodata
.align 8
.LC11:
.string "\nMultiplication cannot be proceeded"
.text
.globl multi
.type multi, @function
multi:
.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, 64
mov QWORD PTR -40[rbp], rdi
mov QWORD PTR -48[rbp], rsi
mov QWORD PTR -56[rbp], rdx
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR -32[rbp], rax
mov rax, QWORD PTR -48[rbp]
mov QWORD PTR -24[rbp], rax
mov rax, QWORD PTR -56[rbp]
mov rax, QWORD PTR [rax]
mov QWORD PTR -16[rbp], rax
cmp QWORD PTR -32[rbp], 0
je .L21
cmp QWORD PTR -24[rbp], 0
jne .L24
.L21:
lea rdi, .LC11[rip]
mov eax, 0
call printf@PLT
jmp .L20
.L27:
mov rax, QWORD PTR -48[rbp]
mov QWORD PTR -24[rbp], rax
jmp .L25
.L26:
mov edi, 16
call malloc@PLT
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -32[rbp]
mov edx, DWORD PTR [rax]
mov rax, QWORD PTR -24[rbp]
mov eax, DWORD PTR [rax]
imul edx, eax
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR [rax], edx
mov rax, QWORD PTR -32[rbp]
mov edx, DWORD PTR 4[rax]
mov rax, QWORD PTR -24[rbp]
mov eax, DWORD PTR 4[rax]
add edx, eax
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR 4[rax], edx
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], 0
.L25:
cmp QWORD PTR -24[rbp], 0
jne .L26
.L24:
cmp QWORD PTR -32[rbp], 0
jne .L27
.L20:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size multi, .-multi
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "133544.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "\012Creating First Polynomial :-\000"
.align 2
.LC1:
.ascii "\012Creating Second Polynomial :-\000"
.align 2
.LC2:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
ldr r3, .L4
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-20]
mov r3, #0
str r3, [fp, #-16]
mov r3, #0
str r3, [fp, #-12]
ldr r0, .L4+4
bl printf
sub r3, fp, #20
mov r0, r3
bl create
ldr r0, .L4+8
bl printf
sub r3, fp, #16
mov r0, r3
bl create
ldr r3, [fp, #-20]
mov r0, r3
bl display
ldr r3, [fp, #-16]
mov r0, r3
bl display
ldr r3, [fp, #-20]
ldr r1, [fp, #-16]
sub r2, fp, #12
mov r0, r3
bl multi
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 .LC2
.word .LC0
.word .LC1
.size main, .-main
.section .rodata
.align 2
.LC3:
.ascii "\012Enter the number of nodes you want to create in"
.ascii " the polynomial: \000"
.align 2
.LC4:
.ascii "%d\000"
.align 2
.LC5:
.ascii "\012Enter the coefficient and power of the polynomi"
.ascii "al\012 \000"
.align 2
.LC6:
.ascii "\012Polynomial Created!!\000"
.align 2
.LC7:
.ascii "\012Polynomial not created\000"
.align 2
.LC8:
.word __stack_chk_guard
.text
.align 2
.global create
.syntax unified
.arm
.fpu softvfp
.type create, %function
create:
@ args = 0, pretend = 0, frame = 40
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #40
str r0, [fp, #-40]
ldr r3, .L17
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, [fp, #-40]
ldr r3, [r3]
str r3, [fp, #-16]
ldr r0, .L17+4
bl printf
sub r3, fp, #32
mov r1, r3
ldr r0, .L17+8
bl __isoc99_scanf
mov r3, #0
str r3, [fp, #-20]
b .L7
.L12:
mov r0, #12
bl malloc
mov r3, r0
str r3, [fp, #-12]
ldr r0, .L17+12
bl printf
sub r3, fp, #28
mov r1, r3
ldr r0, .L17+8
bl __isoc99_scanf
sub r3, fp, #24
mov r1, r3
ldr r0, .L17+8
bl __isoc99_scanf
ldr r3, [fp, #-16]
cmp r3, #0
bne .L10
ldr r3, [fp, #-12]
mov r2, #0
str r2, [r3, #8]
ldr r2, [fp, #-28]
ldr r3, [fp, #-12]
str r2, [r3]
ldr r2, [fp, #-24]
ldr r3, [fp, #-12]
str r2, [r3, #4]
ldr r3, [fp, #-40]
ldr r2, [fp, #-12]
str r2, [r3]
ldr r3, [fp, #-40]
ldr r3, [r3]
str r3, [fp, #-16]
b .L9
.L11:
ldr r3, [fp, #-16]
ldr r3, [r3, #8]
str r3, [fp, #-16]
.L10:
ldr r3, [fp, #-16]
ldr r3, [r3, #8]
cmp r3, #0
bne .L11
ldr r2, [fp, #-28]
ldr r3, [fp, #-12]
str r2, [r3]
ldr r2, [fp, #-24]
ldr r3, [fp, #-12]
str r2, [r3, #4]
ldr r3, [fp, #-12]
mov r2, #0
str r2, [r3, #8]
ldr r3, [fp, #-16]
ldr r2, [fp, #-12]
str r2, [r3, #8]
.L9:
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L7:
ldr r3, [fp, #-32]
ldr r2, [fp, #-20]
cmp r2, r3
blt .L12
ldr r3, [fp, #-32]
cmp r3, #0
ble .L13
ldr r0, .L17+16
bl puts
b .L16
.L13:
ldr r0, .L17+20
bl puts
.L16:
nop
ldr r3, .L17
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L15
bl __stack_chk_fail
.L15:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L18:
.align 2
.L17:
.word .LC8
.word .LC3
.word .LC4
.word .LC5
.word .LC6
.word .LC7
.size create, .-create
.section .rodata
.align 2
.LC9:
.ascii "\012Empty List!!\000"
.align 2
.LC10:
.ascii "\012List:-\000"
.align 2
.LC11:
.ascii "%d x^%d +\000"
.align 2
.LC12:
.ascii "\010 \000"
.text
.align 2
.global display
.syntax unified
.arm
.fpu softvfp
.type display, %function
display:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
mov r0, #10
bl putchar
ldr r3, [fp, #-8]
cmp r3, #0
bne .L20
ldr r0, .L24
bl printf
bl getch
b .L19
.L20:
ldr r0, .L24+4
bl puts
b .L22
.L23:
ldr r3, [fp, #-8]
ldr r1, [r3]
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
mov r2, r3
ldr r0, .L24+8
bl printf
ldr r3, [fp, #-8]
ldr r3, [r3, #8]
str r3, [fp, #-8]
.L22:
ldr r3, [fp, #-8]
cmp r3, #0
bne .L23
ldr r0, .L24+12
bl printf
.L19:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L25:
.align 2
.L24:
.word .LC9
.word .LC10
.word .LC11
.word .LC12
.size display, .-display
.section .rodata
.align 2
.LC13:
.ascii "\012Multiplication cannot be proceeded\000"
.text
.align 2
.global multi
.syntax unified
.arm
.fpu softvfp
.type multi, %function
multi:
@ 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, [fp, #-24]
str r3, [fp, #-20]
ldr r3, [fp, #-28]
str r3, [fp, #-16]
ldr r3, [fp, #-32]
ldr r3, [r3]
str r3, [fp, #-12]
ldr r3, [fp, #-20]
cmp r3, #0
beq .L27
ldr r3, [fp, #-16]
cmp r3, #0
bne .L30
.L27:
ldr r0, .L34
bl printf
b .L26
.L33:
ldr r3, [fp, #-28]
str r3, [fp, #-16]
b .L31
.L32:
mov r0, #12
bl malloc
mov r3, r0
str r3, [fp, #-8]
ldr r3, [fp, #-20]
ldr r3, [r3]
ldr r2, [fp, #-16]
ldr r2, [r2]
mul r2, r3, r2
ldr r3, [fp, #-8]
str r2, [r3]
ldr r3, [fp, #-20]
ldr r2, [r3, #4]
ldr r3, [fp, #-16]
ldr r3, [r3, #4]
add r2, r2, r3
ldr r3, [fp, #-8]
str r2, [r3, #4]
ldr r3, [fp, #-8]
mov r2, #0
str r2, [r3, #8]
.L31:
ldr r3, [fp, #-16]
cmp r3, #0
bne .L32
.L30:
ldr r3, [fp, #-20]
cmp r3, #0
bne .L33
.L26:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L35:
.align 2
.L34:
.word .LC13
.size multi, .-multi
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "444617.c"
.intel_syntax noprefix
.text
.globl document_functional_areas
.data
.align 32
.type document_functional_areas, @object
.size document_functional_areas, 90
document_functional_areas:
.string "675"
.string "9"
.string "930"
.string "1"
.string "217"
.string "1"
.string "465"
.string "1"
.string "958"
.string "1"
.string "958"
.string "9"
.string "217"
.string "9"
.string "961"
.string "9"
.string "928"
.string "9"
.string "958"
.string "9"
.string "349"
.string "1"
.string "961"
.string "8"
.string "989"
.string "1"
.string "706"
.string "8"
.string "713"
.string "8"
.globl document_sections
.align 32
.type document_sections, @object
.size document_sections, 600
document_sections:
.long 0
.long 1076363264
.string "714"
.zero 4
.long 0
.long 1085782016
.string "70"
.string "after"
.zero 1
.zero 6
.long 0
.long 1076756480
.string "217"
.zero 4
.long 0
.long 1085382144
.string "14"
.string "after"
.zero 1
.zero 6
.long 0
.long 1077084160
.string "675"
.zero 4
.long 0
.long 1086080000
.string "90"
.string "after"
.zero 1
.zero 6
.long 0
.long 1077215232
.string "675"
.zero 4
.long 0
.long 1086536576
.string "72"
.string "before"
.zero 6
.long 0
.long 1077346304
.string "465"
.zero 4
.long 0
.long 1086370304
.string "49"
.string "after"
.zero 1
.zero 6
.long 0
.long 1077608448
.string "566"
.zero 4
.long 0
.long 1085767680
.string "18"
.string "before"
.zero 6
.long 0
.long 1078132736
.string "930"
.zero 4
.long 0
.long 1085896960
.string "58"
.string "after"
.zero 1
.zero 6
.long 0
.long 1078198272
.string "465"
.zero 4
.long 0
.long 1085498368
.string "93"
.string "after"
.zero 1
.zero 6
.long 0
.long 1078657024
.string "961"
.zero 4
.long 0
.long 1085454848
.string "34"
.string "before"
.zero 6
.long 0
.long 1078755328
.string "989"
.zero 4
.long 0
.long 1085852928
.string "22"
.string "after"
.zero 1
.zero 6
.long 0
.long 1078919168
.string "621"
.zero 4
.long 0
.long 1085648896
.string "16"
.string "after"
.zero 1
.zero 6
.long 0
.long 1079345152
.string "706"
.zero 4
.long 0
.long 1084290048
.string "60"
.string "after"
.zero 1
.zero 6
.long 0
.long 1079394304
.string "566"
.zero 4
.long 0
.long 1084384256
.string "34"
.string "before"
.zero 6
.long 0
.long 1079459840
.string "713"
.zero 4
.long 0
.long 1085362432
.string "91"
.string "before"
.zero 6
.long 0
.long 1079492608
.string "621"
.zero 4
.long 0
.long 1086403200
.string "38"
.string "before"
.zero 6
.globl document_sections_images
.align 32
.type document_sections_images, @object
.size document_sections_images, 320
document_sections_images:
.long 0
.long 1079459840
.long 0
.long 1075314688
.long 0
.long 1079345152
.long 0
.long 1073741824
.long 0
.long 1077608448
.long 0
.long 1074266112
.long 0
.long 1076363264
.long 0
.long 1076363264
.long 0
.long 1077084160
.long 0
.long 1076363264
.long 0
.long 1078132736
.long 0
.long 1076363264
.long 0
.long 1079394304
.long 0
.long 1075838976
.long 0
.long 1077346304
.long 0
.long 1075838976
.long 0
.long 1078198272
.long 0
.long 1075052544
.long 0
.long 1077084160
.long 0
.long 1073741824
.long 0
.long 1078919168
.long 0
.long 1076625408
.long 0
.long 1077215232
.long 0
.long 1073741824
.long 0
.long 1079345152
.long 0
.long 1074790400
.long 0
.long 1076756480
.long 0
.long 1076625408
.long 0
.long 1078657024
.long 0
.long 1076363264
.long 0
.long 1078132736
.long 0
.long 1075576832
.long 0
.long 1076756480
.long 0
.long 1076494336
.long 0
.long 1077608448
.long 0
.long 1076101120
.long 0
.long 1078198272
.long 0
.long 1075314688
.long 0
.long 1077084160
.long 0
.long 1075314688
.globl document_structures
.align 32
.type document_structures, @object
.size document_structures, 95
document_structures:
.string "1"
.string "1"
.string "Header"
.zero 8
.string "6"
.string "1"
.string "Main section"
.zero 2
.string "8"
.string "1"
.string "Bib"
.zero 11
.string "5"
.string "6"
.string "Image section"
.zero 1
.string "9"
.string "8"
.string "Author section"
.globl documents
.align 32
.type documents, @object
.size documents, 1080
documents:
.string "217"
.string "8"
.string "Book"
.zero 9
.zero 4
.long 0
.long 1084039168
.string "Learning English"
.zero 22
.zero 1
.string "621"
.string "1"
.string "Paper"
.zero 8
.zero 4
.long 0
.long 1086326784
.string "Research about Art history"
.zero 12
.zero 1
.string "958"
.string "8"
.string "Book"
.zero 9
.zero 4
.long 0
.long 1085108736
.string "Learning Database"
.zero 21
.zero 1
.string "961"
.string "5"
.string "Advertisement"
.zero 4
.long 0
.long 1085932800
.string "Summer Sails"
.zero 26
.zero 1
.string "989"
.string "9"
.string "Book"
.zero 9
.zero 4
.long 0
.long 1084668928
.string "Learning Japanese"
.zero 21
.zero 1
.string "930"
.string "9"
.string "CV"
.zero 11
.zero 4
.long 0
.long 1085851904
.string "David CV"
.zero 30
.zero 1
.string "928"
.string "8"
.string "Book"
.zero 9
.zero 4
.long 0
.long 1084224512
.string "How to cook pasta"
.zero 21
.zero 1
.string "510"
.string "6"
.string "Paper"
.zero 8
.zero 4
.long 0
.long 1084960256
.string "Humanity: a fact"
.zero 22
.zero 1
.string "706"
.string "9"
.string "Advertisement"
.zero 4
.long 0
.long 1086379904
.string "Winter Sails"
.zero 26
.zero 1
.string "465"
.string "9"
.string "CV"
.zero 11
.zero 4
.long 0
.long 1085744128
.string "John CV"
.zero 31
.zero 1
.string "713"
.string "8"
.string "CV"
.zero 11
.zero 4
.long 0
.long 1084353536
.string "Joe CV"
.zero 32
.zero 1
.string "566"
.string "5"
.string "Advertisement"
.zero 4
.long 0
.long 1084862976
.string "Spring Sails"
.zero 26
.zero 1
.string "349"
.string "9"
.string "Book"
.zero 9
.zero 4
.long 0
.long 1083378688
.string "Life about Claude Monet"
.zero 15
.zero 1
.string "675"
.string "1"
.string "Advertisement"
.zero 4
.long 0
.long 1086149888
.string "Fall Sails"
.zero 28
.zero 1
.string "714"
.string "6"
.string "Paper"
.zero 8
.zero 4
.long 0
.long 1086549504
.string "Relationships between History and Arts"
.zero 1
.globl functional_areas
.align 32
.type functional_areas, @object
.size functional_areas, 60
functional_areas:
.string "8"
.string "8"
.string "Signature"
.zero 6
.string "1"
.string "8"
.string "Acknowledgement"
.string "9"
.string "8"
.string "Keep blank"
.zero 5
.globl images
.align 32
.type images, @object
.size images, 960
images:
.long 0
.long 1072693248
.string "Lea"
.zero 5
.string "top1"
.zero 4
.string "http://www.rempelnader.com/1.jpg"
.zero 4
.zero 1
.long 0
.long 1073741824
.string "Arden"
.zero 3
.string "top2"
.zero 4
.string "http://connellykertzmann.org/1.jpg"
.zero 2
.zero 1
.long 0
.long 1074266112
.string "Mohamed"
.zero 1
.string "top3"
.zero 4
.string "http://www.bernierconnelly.com/1.jpg"
.zero 1
.long 0
.long 1074790400
.string "Chaya"
.zero 3
.string "top4"
.zero 4
.string "http://abernathyboehm.com/1.jpg"
.zero 5
.zero 1
.long 0
.long 1075052544
.string "Percival"
.string "chapter1"
.string "http://gaylord.info/1.jpg"
.zero 11
.zero 1
.long 0
.long 1075314688
.string "Lincoln"
.zero 1
.string "chapter2"
.string "http://www.hellerreinger.com/1.jpg"
.zero 2
.zero 1
.long 0
.long 1075576832
.string "Camylle"
.zero 1
.string "chapter3"
.string "http://faycummerata.net/1.jpg"
.zero 7
.zero 1
.long 0
.long 1075838976
.string "Ashtyn"
.zero 2
.string "chapter4"
.string "http://haleychamplin.net/1.jpg"
.zero 6
.zero 1
.long 0
.long 1075970048
.string "Filomena"
.string "chapter5"
.string "http://www.fritsch.net/1.jpg"
.zero 8
.zero 1
.long 0
.long 1076101120
.string "Jeanette"
.string "data1"
.zero 3
.string "http://sauer.com/1.jpg"
.zero 14
.zero 1
.long 0
.long 1076232192
.string "Name"
.zero 4
.string "data2"
.zero 3
.string "http://www.heller.com/1.jpg"
.zero 9
.zero 1
.long 0
.long 1076363264
.string "Marianna"
.string "data3"
.zero 3
.string "http://www.hermann.com/1.jpg"
.zero 8
.zero 1
.long 0
.long 1076494336
.string "Stephen"
.zero 1
.string "data4"
.zero 3
.string "http://rowelakin.com/1.jpg"
.zero 10
.zero 1
.long 0
.long 1076625408
.string "Miller"
.zero 2
.string "data5"
.zero 3
.string "http://andersonluettgen.net/1.jpg"
.zero 3
.zero 1
.long 0
.long 1076756480
.string "Trycia"
.zero 2
.string "data6"
.zero 3
.string "http://www.beahan.biz/1.jpg"
.zero 9
.zero 1
.globl roles
.align 32
.type roles, @object
.size roles, 64
roles:
.string "DBA"
.zero 5
.string "Database Administrator"
.string "PROJ-MGR"
.string "Project Manager"
.zero 7
.globl users
.align 32
.type users, @object
.size users, 1200
users:
.long 0
.long 1072693248
.string "PROJ-MGR"
.string "dickens.elta"
.zero 4
.string "0"
.string "e72b5a2d50b39a8760764a5f7a9d68ca2f076877"
.zero 3
.long 0
.long 1073741824
.string "DBA"
.zero 5
.string "tremblay.raheem"
.zero 1
.string "1"
.string "9bc25a040d5647ced5ec32e1a455e90fafc10bcb"
.zero 3
.long 0
.long 1074266112
.string "DBA"
.zero 5
.string "lynn.haley"
.zero 6
.string "0"
.string "90db8f51449e6c39e2a01f0b649d5a92fe76bbbb"
.zero 3
.long 0
.long 1074790400
.string "PROJ-MGR"
.string "ycremin"
.zero 9
.string "0"
.string "f6977378f409f5d2d230016a6678a582e14f43b0"
.zero 3
.long 0
.long 1075052544
.string "PROJ-MGR"
.string "larson.vesta"
.zero 4
.string "1"
.string "da383455a05a824606c54e99f671c4d6a2ddae26"
.zero 3
.long 0
.long 1075314688
.string "DBA"
.zero 5
.string "amelie53"
.zero 8
.string "0"
.string "6aa66440864ff8143fe7dee5940a6af3460bad07"
.zero 3
.long 0
.long 1075576832
.string "DBA"
.zero 5
.string "jacklyn.schmitt"
.zero 1
.string "1"
.string "3f6affa583bfdf7fac6faeb2ca418431909d4b39"
.zero 3
.long 0
.long 1075838976
.string "PROJ-MGR"
.string "joanne.deckow"
.zero 3
.string "0"
.string "20241478f890508ac47870cfba472e1db04a71ca"
.zero 3
.long 0
.long 1075970048
.string "PROJ-MGR"
.string "dickinson.lenora"
.string "0"
.string "a0fe5434a5f4c218e37b0082f2408b357feb0fa6"
.zero 3
.long 0
.long 1076101120
.string "DBA"
.zero 5
.string "heller.harley"
.zero 3
.string "1"
.string "11af7569a5c1e8b455add5755e18131be2ac8636"
.zero 3
.long 0
.long 1076232192
.string "DBA"
.zero 5
.string "roger.o'conner"
.zero 2
.string "0"
.string "3d478d7056d6417966f6b1676f6ec81b3094f44f"
.zero 3
.long 0
.long 1076363264
.string "DBA"
.zero 5
.string "gussie00"
.zero 8
.string "1"
.string "75f7b5ed8e70e86467155e003ccda6fce1011c29"
.zero 3
.long 0
.long 1076494336
.string "PROJ-MGR"
.string "johanna.fisher"
.zero 2
.string "1"
.string "1fb26eea854962d41512827bf90a5b7ce4b359d8"
.zero 3
.long 0
.long 1076625408
.string "DBA"
.zero 5
.string "faye30"
.zero 10
.string "0"
.string "27cca8f94136f0e8971b5ca555a21ff756871b27"
.zero 3
.long 0
.long 1076756480
.string "PROJ-MGR"
.string "glenna.simonis"
.zero 2
.string "1"
.string "95f489fc0921bbb3e7d661a550ae208b88d9b11a"
.zero 3
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "444617.c"
.text
.global document_functional_areas
.data
.align 2
.type document_functional_areas, %object
.size document_functional_areas, 90
document_functional_areas:
.ascii "675\000"
.ascii "9\000"
.ascii "930\000"
.ascii "1\000"
.ascii "217\000"
.ascii "1\000"
.ascii "465\000"
.ascii "1\000"
.ascii "958\000"
.ascii "1\000"
.ascii "958\000"
.ascii "9\000"
.ascii "217\000"
.ascii "9\000"
.ascii "961\000"
.ascii "9\000"
.ascii "928\000"
.ascii "9\000"
.ascii "958\000"
.ascii "9\000"
.ascii "349\000"
.ascii "1\000"
.ascii "961\000"
.ascii "8\000"
.ascii "989\000"
.ascii "1\000"
.ascii "706\000"
.ascii "8\000"
.ascii "713\000"
.ascii "8\000"
.global document_sections
.align 3
.type document_sections, %object
.size document_sections, 600
document_sections:
.word 0
.word 1076363264
.ascii "714\000"
.space 4
.word 0
.word 1085782016
.ascii "70\000"
.ascii "after\000"
.space 1
.space 6
.word 0
.word 1076756480
.ascii "217\000"
.space 4
.word 0
.word 1085382144
.ascii "14\000"
.ascii "after\000"
.space 1
.space 6
.word 0
.word 1077084160
.ascii "675\000"
.space 4
.word 0
.word 1086080000
.ascii "90\000"
.ascii "after\000"
.space 1
.space 6
.word 0
.word 1077215232
.ascii "675\000"
.space 4
.word 0
.word 1086536576
.ascii "72\000"
.ascii "before\000"
.space 6
.word 0
.word 1077346304
.ascii "465\000"
.space 4
.word 0
.word 1086370304
.ascii "49\000"
.ascii "after\000"
.space 1
.space 6
.word 0
.word 1077608448
.ascii "566\000"
.space 4
.word 0
.word 1085767680
.ascii "18\000"
.ascii "before\000"
.space 6
.word 0
.word 1078132736
.ascii "930\000"
.space 4
.word 0
.word 1085896960
.ascii "58\000"
.ascii "after\000"
.space 1
.space 6
.word 0
.word 1078198272
.ascii "465\000"
.space 4
.word 0
.word 1085498368
.ascii "93\000"
.ascii "after\000"
.space 1
.space 6
.word 0
.word 1078657024
.ascii "961\000"
.space 4
.word 0
.word 1085454848
.ascii "34\000"
.ascii "before\000"
.space 6
.word 0
.word 1078755328
.ascii "989\000"
.space 4
.word 0
.word 1085852928
.ascii "22\000"
.ascii "after\000"
.space 1
.space 6
.word 0
.word 1078919168
.ascii "621\000"
.space 4
.word 0
.word 1085648896
.ascii "16\000"
.ascii "after\000"
.space 1
.space 6
.word 0
.word 1079345152
.ascii "706\000"
.space 4
.word 0
.word 1084290048
.ascii "60\000"
.ascii "after\000"
.space 1
.space 6
.word 0
.word 1079394304
.ascii "566\000"
.space 4
.word 0
.word 1084384256
.ascii "34\000"
.ascii "before\000"
.space 6
.word 0
.word 1079459840
.ascii "713\000"
.space 4
.word 0
.word 1085362432
.ascii "91\000"
.ascii "before\000"
.space 6
.word 0
.word 1079492608
.ascii "621\000"
.space 4
.word 0
.word 1086403200
.ascii "38\000"
.ascii "before\000"
.space 6
.global document_sections_images
.align 3
.type document_sections_images, %object
.size document_sections_images, 320
document_sections_images:
.word 0
.word 1079459840
.word 0
.word 1075314688
.word 0
.word 1079345152
.word 0
.word 1073741824
.word 0
.word 1077608448
.word 0
.word 1074266112
.word 0
.word 1076363264
.word 0
.word 1076363264
.word 0
.word 1077084160
.word 0
.word 1076363264
.word 0
.word 1078132736
.word 0
.word 1076363264
.word 0
.word 1079394304
.word 0
.word 1075838976
.word 0
.word 1077346304
.word 0
.word 1075838976
.word 0
.word 1078198272
.word 0
.word 1075052544
.word 0
.word 1077084160
.word 0
.word 1073741824
.word 0
.word 1078919168
.word 0
.word 1076625408
.word 0
.word 1077215232
.word 0
.word 1073741824
.word 0
.word 1079345152
.word 0
.word 1074790400
.word 0
.word 1076756480
.word 0
.word 1076625408
.word 0
.word 1078657024
.word 0
.word 1076363264
.word 0
.word 1078132736
.word 0
.word 1075576832
.word 0
.word 1076756480
.word 0
.word 1076494336
.word 0
.word 1077608448
.word 0
.word 1076101120
.word 0
.word 1078198272
.word 0
.word 1075314688
.word 0
.word 1077084160
.word 0
.word 1075314688
.global document_structures
.align 2
.type document_structures, %object
.size document_structures, 95
document_structures:
.ascii "1\000"
.ascii "1\000"
.ascii "Header\000"
.space 8
.ascii "6\000"
.ascii "1\000"
.ascii "Main section\000"
.space 2
.ascii "8\000"
.ascii "1\000"
.ascii "Bib\000"
.space 11
.ascii "5\000"
.ascii "6\000"
.ascii "Image section\000"
.space 1
.ascii "9\000"
.ascii "8\000"
.ascii "Author section\000"
.global documents
.align 3
.type documents, %object
.size documents, 1080
documents:
.ascii "217\000"
.ascii "8\000"
.ascii "Book\000"
.space 9
.space 4
.word 0
.word 1084039168
.ascii "Learning English\000"
.space 22
.space 1
.ascii "621\000"
.ascii "1\000"
.ascii "Paper\000"
.space 8
.space 4
.word 0
.word 1086326784
.ascii "Research about Art history\000"
.space 12
.space 1
.ascii "958\000"
.ascii "8\000"
.ascii "Book\000"
.space 9
.space 4
.word 0
.word 1085108736
.ascii "Learning Database\000"
.space 21
.space 1
.ascii "961\000"
.ascii "5\000"
.ascii "Advertisement\000"
.space 4
.word 0
.word 1085932800
.ascii "Summer Sails\000"
.space 26
.space 1
.ascii "989\000"
.ascii "9\000"
.ascii "Book\000"
.space 9
.space 4
.word 0
.word 1084668928
.ascii "Learning Japanese\000"
.space 21
.space 1
.ascii "930\000"
.ascii "9\000"
.ascii "CV\000"
.space 11
.space 4
.word 0
.word 1085851904
.ascii "David CV\000"
.space 30
.space 1
.ascii "928\000"
.ascii "8\000"
.ascii "Book\000"
.space 9
.space 4
.word 0
.word 1084224512
.ascii "How to cook pasta\000"
.space 21
.space 1
.ascii "510\000"
.ascii "6\000"
.ascii "Paper\000"
.space 8
.space 4
.word 0
.word 1084960256
.ascii "Humanity: a fact\000"
.space 22
.space 1
.ascii "706\000"
.ascii "9\000"
.ascii "Advertisement\000"
.space 4
.word 0
.word 1086379904
.ascii "Winter Sails\000"
.space 26
.space 1
.ascii "465\000"
.ascii "9\000"
.ascii "CV\000"
.space 11
.space 4
.word 0
.word 1085744128
.ascii "John CV\000"
.space 31
.space 1
.ascii "713\000"
.ascii "8\000"
.ascii "CV\000"
.space 11
.space 4
.word 0
.word 1084353536
.ascii "Joe CV\000"
.space 32
.space 1
.ascii "566\000"
.ascii "5\000"
.ascii "Advertisement\000"
.space 4
.word 0
.word 1084862976
.ascii "Spring Sails\000"
.space 26
.space 1
.ascii "349\000"
.ascii "9\000"
.ascii "Book\000"
.space 9
.space 4
.word 0
.word 1083378688
.ascii "Life about Claude Monet\000"
.space 15
.space 1
.ascii "675\000"
.ascii "1\000"
.ascii "Advertisement\000"
.space 4
.word 0
.word 1086149888
.ascii "Fall Sails\000"
.space 28
.space 1
.ascii "714\000"
.ascii "6\000"
.ascii "Paper\000"
.space 8
.space 4
.word 0
.word 1086549504
.ascii "Relationships between History and Arts\000"
.space 1
.global functional_areas
.align 2
.type functional_areas, %object
.size functional_areas, 60
functional_areas:
.ascii "8\000"
.ascii "8\000"
.ascii "Signature\000"
.space 6
.ascii "1\000"
.ascii "8\000"
.ascii "Acknowledgement\000"
.ascii "9\000"
.ascii "8\000"
.ascii "Keep blank\000"
.space 5
.global images
.align 3
.type images, %object
.size images, 960
images:
.word 0
.word 1072693248
.ascii "Lea\000"
.space 5
.ascii "top1\000"
.space 4
.ascii "http://www.rempelnader.com/1.jpg\000"
.space 4
.space 1
.word 0
.word 1073741824
.ascii "Arden\000"
.space 3
.ascii "top2\000"
.space 4
.ascii "http://connellykertzmann.org/1.jpg\000"
.space 2
.space 1
.word 0
.word 1074266112
.ascii "Mohamed\000"
.space 1
.ascii "top3\000"
.space 4
.ascii "http://www.bernierconnelly.com/1.jpg\000"
.space 1
.word 0
.word 1074790400
.ascii "Chaya\000"
.space 3
.ascii "top4\000"
.space 4
.ascii "http://abernathyboehm.com/1.jpg\000"
.space 5
.space 1
.word 0
.word 1075052544
.ascii "Percival\000"
.ascii "chapter1\000"
.ascii "http://gaylord.info/1.jpg\000"
.space 11
.space 1
.word 0
.word 1075314688
.ascii "Lincoln\000"
.space 1
.ascii "chapter2\000"
.ascii "http://www.hellerreinger.com/1.jpg\000"
.space 2
.space 1
.word 0
.word 1075576832
.ascii "Camylle\000"
.space 1
.ascii "chapter3\000"
.ascii "http://faycummerata.net/1.jpg\000"
.space 7
.space 1
.word 0
.word 1075838976
.ascii "Ashtyn\000"
.space 2
.ascii "chapter4\000"
.ascii "http://haleychamplin.net/1.jpg\000"
.space 6
.space 1
.word 0
.word 1075970048
.ascii "Filomena\000"
.ascii "chapter5\000"
.ascii "http://www.fritsch.net/1.jpg\000"
.space 8
.space 1
.word 0
.word 1076101120
.ascii "Jeanette\000"
.ascii "data1\000"
.space 3
.ascii "http://sauer.com/1.jpg\000"
.space 14
.space 1
.word 0
.word 1076232192
.ascii "Name\000"
.space 4
.ascii "data2\000"
.space 3
.ascii "http://www.heller.com/1.jpg\000"
.space 9
.space 1
.word 0
.word 1076363264
.ascii "Marianna\000"
.ascii "data3\000"
.space 3
.ascii "http://www.hermann.com/1.jpg\000"
.space 8
.space 1
.word 0
.word 1076494336
.ascii "Stephen\000"
.space 1
.ascii "data4\000"
.space 3
.ascii "http://rowelakin.com/1.jpg\000"
.space 10
.space 1
.word 0
.word 1076625408
.ascii "Miller\000"
.space 2
.ascii "data5\000"
.space 3
.ascii "http://andersonluettgen.net/1.jpg\000"
.space 3
.space 1
.word 0
.word 1076756480
.ascii "Trycia\000"
.space 2
.ascii "data6\000"
.space 3
.ascii "http://www.beahan.biz/1.jpg\000"
.space 9
.space 1
.global roles
.align 2
.type roles, %object
.size roles, 64
roles:
.ascii "DBA\000"
.space 5
.ascii "Database Administrator\000"
.ascii "PROJ-MGR\000"
.ascii "Project Manager\000"
.space 7
.global users
.align 3
.type users, %object
.size users, 1200
users:
.word 0
.word 1072693248
.ascii "PROJ-MGR\000"
.ascii "dickens.elta\000"
.space 4
.ascii "0\000"
.ascii "e72b5a2d50b39a8760764a5f7a9d68ca2f076877\000"
.space 3
.word 0
.word 1073741824
.ascii "DBA\000"
.space 5
.ascii "tremblay.raheem\000"
.space 1
.ascii "1\000"
.ascii "9bc25a040d5647ced5ec32e1a455e90fafc10bcb\000"
.space 3
.word 0
.word 1074266112
.ascii "DBA\000"
.space 5
.ascii "lynn.haley\000"
.space 6
.ascii "0\000"
.ascii "90db8f51449e6c39e2a01f0b649d5a92fe76bbbb\000"
.space 3
.word 0
.word 1074790400
.ascii "PROJ-MGR\000"
.ascii "ycremin\000"
.space 9
.ascii "0\000"
.ascii "f6977378f409f5d2d230016a6678a582e14f43b0\000"
.space 3
.word 0
.word 1075052544
.ascii "PROJ-MGR\000"
.ascii "larson.vesta\000"
.space 4
.ascii "1\000"
.ascii "da383455a05a824606c54e99f671c4d6a2ddae26\000"
.space 3
.word 0
.word 1075314688
.ascii "DBA\000"
.space 5
.ascii "amelie53\000"
.space 8
.ascii "0\000"
.ascii "6aa66440864ff8143fe7dee5940a6af3460bad07\000"
.space 3
.word 0
.word 1075576832
.ascii "DBA\000"
.space 5
.ascii "jacklyn.schmitt\000"
.space 1
.ascii "1\000"
.ascii "3f6affa583bfdf7fac6faeb2ca418431909d4b39\000"
.space 3
.word 0
.word 1075838976
.ascii "PROJ-MGR\000"
.ascii "joanne.deckow\000"
.space 3
.ascii "0\000"
.ascii "20241478f890508ac47870cfba472e1db04a71ca\000"
.space 3
.word 0
.word 1075970048
.ascii "PROJ-MGR\000"
.ascii "dickinson.lenora\000"
.ascii "0\000"
.ascii "a0fe5434a5f4c218e37b0082f2408b357feb0fa6\000"
.space 3
.word 0
.word 1076101120
.ascii "DBA\000"
.space 5
.ascii "heller.harley\000"
.space 3
.ascii "1\000"
.ascii "11af7569a5c1e8b455add5755e18131be2ac8636\000"
.space 3
.word 0
.word 1076232192
.ascii "DBA\000"
.space 5
.ascii "roger.o'conner\000"
.space 2
.ascii "0\000"
.ascii "3d478d7056d6417966f6b1676f6ec81b3094f44f\000"
.space 3
.word 0
.word 1076363264
.ascii "DBA\000"
.space 5
.ascii "gussie00\000"
.space 8
.ascii "1\000"
.ascii "75f7b5ed8e70e86467155e003ccda6fce1011c29\000"
.space 3
.word 0
.word 1076494336
.ascii "PROJ-MGR\000"
.ascii "johanna.fisher\000"
.space 2
.ascii "1\000"
.ascii "1fb26eea854962d41512827bf90a5b7ce4b359d8\000"
.space 3
.word 0
.word 1076625408
.ascii "DBA\000"
.space 5
.ascii "faye30\000"
.space 10
.ascii "0\000"
.ascii "27cca8f94136f0e8971b5ca555a21ff756871b27\000"
.space 3
.word 0
.word 1076756480
.ascii "PROJ-MGR\000"
.ascii "glenna.simonis\000"
.space 2
.ascii "1\000"
.ascii "95f489fc0921bbb3e7d661a550ae208b88d9b11a\000"
.space 3
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "481944.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%d %d"
.LC1:
.string "%f %f"
.LC2:
.string "%d %d\n"
.LC3:
.string "%.1f %.1f"
.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 rdx, -20[rbp]
lea rax, -24[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
lea rdx, -12[rbp]
lea rax, -16[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov eax, DWORD PTR -24[rbp]
mov ecx, DWORD PTR -20[rbp]
sub eax, ecx
mov edx, eax
mov ecx, DWORD PTR -24[rbp]
mov eax, DWORD PTR -20[rbp]
add eax, ecx
mov esi, eax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
movss xmm0, DWORD PTR -16[rbp]
movss xmm1, DWORD PTR -12[rbp]
subss xmm0, xmm1
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movss xmm1, DWORD PTR -16[rbp]
movss xmm0, DWORD PTR -12[rbp]
addss xmm0, xmm1
pxor xmm3, xmm3
cvtss2sd xmm3, xmm0
movq rax, xmm3
movapd xmm1, xmm2
movq xmm0, rax
lea rdi, .LC3[rip]
mov eax, 2
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
.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 "481944.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "%d %d\000"
.align 2
.LC1:
.ascii "%f %f\000"
.align 2
.LC2:
.ascii "%d %d\012\000"
.global __aeabi_fadd
.global __aeabi_f2d
.global __aeabi_fsub
.align 2
.LC3:
.ascii "%.1f %.1f\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 = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, fp, lr}
add fp, sp, #12
sub sp, sp, #32
ldr r3, .L4
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
sub r2, fp, #28
sub r3, fp, #32
mov r1, r3
ldr r0, .L4+4
bl __isoc99_scanf
sub r2, fp, #20
sub r3, fp, #24
mov r1, r3
ldr r0, .L4+8
bl __isoc99_scanf
ldr r2, [fp, #-32]
ldr r3, [fp, #-28]
add r1, r2, r3
ldr r2, [fp, #-32]
ldr r3, [fp, #-28]
sub r3, r2, r3
mov r2, r3
ldr r0, .L4+12
bl printf
ldr r3, [fp, #-24] @ float
ldr r2, [fp, #-20] @ float
mov r1, r2
mov r0, r3
bl __aeabi_fadd
mov r3, r0
mov r0, r3
bl __aeabi_f2d
mov r4, r0
mov r5, r1
ldr r3, [fp, #-24] @ float
ldr r2, [fp, #-20] @ float
mov r1, r2
mov r0, r3
bl __aeabi_fsub
mov r3, r0
mov r0, r3
bl __aeabi_f2d
mov r2, r0
mov r3, r1
stm sp, {r2-r3}
mov r2, r4
mov r3, r5
ldr r0, .L4+16
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 .LC4
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "874483.c"
.intel_syntax noprefix
.text
.section .rodata
.LC1:
.string "The result is %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, 16
mov DWORD PTR -12[rbp], 5
movss xmm0, DWORD PTR .LC0[rip]
movss DWORD PTR -8[rbp], xmm0
pxor xmm0, xmm0
cvtsi2ss xmm0, DWORD PTR -12[rbp]
divss xmm0, DWORD PTR -8[rbp]
movss DWORD PTR -4[rbp], xmm0
pxor xmm1, xmm1
cvtss2sd xmm1, DWORD PTR -4[rbp]
movq rax, xmm1
movq xmm0, rax
lea rdi, .LC1[rip]
mov eax, 1
call printf@PLT
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.align 4
.LC0:
.long 1096286208
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "874483.c"
.text
.global __aeabi_i2f
.global __aeabi_fdiv
.global __aeabi_f2d
.section .rodata
.align 2
.LC0:
.ascii "The result is %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 {fp, lr}
add fp, sp, #4
sub sp, sp, #16
mov r3, #5
str r3, [fp, #-16]
ldr r3, .L3
str r3, [fp, #-12] @ float
ldr r0, [fp, #-16]
bl __aeabi_i2f
mov r3, r0
ldr r1, [fp, #-12] @ float
mov r0, r3
bl __aeabi_fdiv
mov r3, r0
str r3, [fp, #-8] @ float
ldr r0, [fp, #-8] @ float
bl __aeabi_f2d
mov r2, r0
mov r3, r1
ldr r0, .L3+4
bl printf
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L4:
.align 2
.L3:
.word 1096286208
.word .LC0
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "25615.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "wait for register"
.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
.L2:
lea rdi, .LC0[rip]
call puts@PLT
mov edi, 1
mov eax, 0
call sleep@PLT
jmp .L2
.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 "25615.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "wait for register\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
.L2:
ldr r0, .L3
bl puts
mov r0, #1
bl sleep
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 "623248.c"
.intel_syntax noprefix
.text
.type sum_digits, @function
sum_digits:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -20[rbp], edi
mov DWORD PTR -4[rbp], 0
jmp .L2
.L3:
mov ecx, DWORD PTR -20[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
add DWORD PTR -4[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 -20[rbp], eax
.L2:
cmp DWORD PTR -20[rbp], 0
jne .L3
mov eax, DWORD PTR -4[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size sum_digits, .-sum_digits
.type ank_yog, @function
ank_yog:
.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, 8
mov DWORD PTR -4[rbp], edi
jmp .L6
.L7:
mov eax, DWORD PTR -4[rbp]
mov edi, eax
call sum_digits
mov DWORD PTR -4[rbp], eax
.L6:
cmp DWORD PTR -4[rbp], 9
jg .L7
cmp DWORD PTR -4[rbp], 0
je .L8
mov eax, DWORD PTR -4[rbp]
jmp .L10
.L8:
mov eax, 9
.L10:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size ank_yog, .-ank_yog
.section .rodata
.LC0:
.string "%d"
.LC1:
.string "%d\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
sub rsp, 16
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -16[rbp], 0
lea rax, -16[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
jmp .L12
.L13:
mov DWORD PTR -12[rbp], 0
lea rax, -12[rbp]
mov rsi, rax
lea rdi, .LC0[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov eax, DWORD PTR -12[rbp]
mov edi, eax
call ank_yog
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR -16[rbp]
sub eax, 1
mov DWORD PTR -16[rbp], eax
.L12:
mov eax, DWORD PTR -16[rbp]
test eax, eax
jg .L13
mov eax, 0
mov rdx, QWORD PTR -8[rbp]
sub rdx, QWORD PTR fs:40
je .L15
call __stack_chk_fail@PLT
.L15:
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 "623248.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type sum_digits, %function
sum_digits:
@ 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 r1, [fp, #-16]
ldr r3, .L5
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]
add r3, r3, r2
str r3, [fp, #-8]
ldr r3, [fp, #-16]
ldr r2, .L5
smull r1, r2, r3, r2
asr r2, r2, #2
asr r3, r3, #31
sub r3, r2, 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
.L6:
.align 2
.L5:
.word 1717986919
.size sum_digits, .-sum_digits
.align 2
.syntax unified
.arm
.fpu softvfp
.type ank_yog, %function
ank_yog:
@ 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 .L8
.L9:
ldr r0, [fp, #-8]
bl sum_digits
str r0, [fp, #-8]
.L8:
ldr r3, [fp, #-8]
cmp r3, #9
bgt .L9
ldr r3, [fp, #-8]
cmp r3, #0
beq .L10
ldr r3, [fp, #-8]
b .L12
.L10:
mov r3, #9
.L12:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size ank_yog, .-ank_yog
.section .rodata
.align 2
.LC0:
.ascii "%d\000"
.align 2
.LC1:
.ascii "%d\012\000"
.align 2
.LC2:
.word __stack_chk_guard
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
ldr r3, .L18
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-16]
sub r3, fp, #16
mov r1, r3
ldr r0, .L18+4
bl __isoc99_scanf
b .L14
.L15:
mov r3, #0
str r3, [fp, #-12]
sub r3, fp, #12
mov r1, r3
ldr r0, .L18+4
bl __isoc99_scanf
ldr r3, [fp, #-12]
mov r0, r3
bl ank_yog
mov r3, r0
mov r1, r3
ldr r0, .L18+8
bl printf
ldr r3, [fp, #-16]
sub r3, r3, #1
str r3, [fp, #-16]
.L14:
ldr r3, [fp, #-16]
cmp r3, #0
bgt .L15
mov r3, #0
ldr r2, .L18
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L17
bl __stack_chk_fail
.L17:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L19:
.align 2
.L18:
.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 "895306.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "the larger number is a :%d\n"
.LC1:
.string "a-b=%d\n"
.LC2:
.string "the larger number is b :%d\n"
.LC3:
.string "b-a=%d\n"
.LC4:
.string "You are lucky!"
.text
.globl main
.type main, @function
main:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov edi, 0
call time@PLT
mov edi, eax
call srand@PLT
call rand@PLT
movsx rdx, eax
imul rdx, rdx, 1374389535
shr rdx, 32
sar edx, 4
mov ecx, eax
sar ecx, 31
sub edx, ecx
mov DWORD PTR -8[rbp], edx
mov edx, DWORD PTR -8[rbp]
imul edx, edx, 50
sub eax, edx
mov DWORD PTR -8[rbp], eax
call rand@PLT
movsx rdx, eax
imul rdx, rdx, 1374389535
shr rdx, 32
sar edx, 4
mov ecx, eax
sar ecx, 31
sub edx, ecx
mov DWORD PTR -4[rbp], edx
mov edx, DWORD PTR -4[rbp]
imul edx, edx, 50
sub eax, edx
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -8[rbp]
cmp eax, DWORD PTR -4[rbp]
jle .L2
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]
sub eax, DWORD PTR -4[rbp]
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
jmp .L3
.L2:
mov eax, DWORD PTR -4[rbp]
mov esi, eax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
mov eax, DWORD PTR -4[rbp]
sub eax, DWORD PTR -8[rbp]
mov esi, eax
lea rdi, .LC3[rip]
mov eax, 0
call printf@PLT
.L3:
mov eax, DWORD PTR -8[rbp]
cmp eax, DWORD PTR -4[rbp]
jle .L4
lea rdi, .LC4[rip]
call puts@PLT
.L4:
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 "895306.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "the larger number is a :%d\012\000"
.align 2
.LC1:
.ascii "a-b=%d\012\000"
.align 2
.LC2:
.ascii "the larger number is b :%d\012\000"
.align 2
.LC3:
.ascii "b-a=%d\012\000"
.align 2
.LC4:
.ascii "You are lucky!\000"
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
mov r0, #0
bl time
mov r3, r0
mov r0, r3
bl srand
bl rand
mov r2, r0
ldr r3, .L6
smull r1, r3, r2, r3
asr r1, r3, #4
asr r3, r2, #31
sub r1, r1, r3
mov r3, r1
lsl r3, r3, #2
add r3, r3, r1
lsl r1, r3, #2
add r3, r3, r1
lsl r3, r3, #1
sub r3, r2, r3
str r3, [fp, #-12]
bl rand
mov r2, r0
ldr r3, .L6
smull r1, r3, r2, r3
asr r1, r3, #4
asr r3, r2, #31
sub r1, r1, r3
mov r3, r1
lsl r3, r3, #2
add r3, r3, r1
lsl r1, r3, #2
add r3, r3, r1
lsl r3, r3, #1
sub r3, r2, r3
str r3, [fp, #-8]
ldr r2, [fp, #-12]
ldr r3, [fp, #-8]
cmp r2, r3
ble .L2
ldr r1, [fp, #-12]
ldr r0, .L6+4
bl printf
ldr r2, [fp, #-12]
ldr r3, [fp, #-8]
sub r3, r2, r3
mov r1, r3
ldr r0, .L6+8
bl printf
b .L3
.L2:
ldr r1, [fp, #-8]
ldr r0, .L6+12
bl printf
ldr r2, [fp, #-8]
ldr r3, [fp, #-12]
sub r3, r2, r3
mov r1, r3
ldr r0, .L6+16
bl printf
.L3:
ldr r2, [fp, #-12]
ldr r3, [fp, #-8]
cmp r2, r3
ble .L4
ldr r0, .L6+20
bl puts
.L4:
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L7:
.align 2
.L6:
.word 1374389535
.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 "306000.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], 0
jmp .L2
.L3:
mov eax, DWORD PTR -24[rbp]
cdqe
mov BYTE PTR -18[rbp+rax], 65
add DWORD PTR -24[rbp], 1
.L2:
cmp DWORD PTR -24[rbp], 10
jle .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 "306000.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, .L6
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-24]
b .L2
.L3:
sub r2, fp, #20
ldr r3, [fp, #-24]
add r3, r2, r3
mov r2, #65
strb r2, [r3]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L2:
ldr r3, [fp, #-24]
cmp r3, #10
ble .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 .LC0
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "146252.c"
.intel_syntax noprefix
.text
.globl info_size
.data
.align 16
.type info_size, @object
.size info_size, 31
info_size:
.string "INFO:size[00002] key[__x86_64]"
.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
mov DWORD PTR -20[rbp], edi
mov QWORD PTR -32[rbp], rsi
mov DWORD PTR -4[rbp], 0
mov eax, DWORD PTR -20[rbp]
cdqe
lea rdx, info_size[rip]
movzx eax, BYTE PTR [rax+rdx]
movsx eax, al
add DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
pop rbp
.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 "146252.c"
.text
.global info_size
.data
.align 2
.type info_size, %object
.size info_size, 17
info_size:
.ascii "INFO:size[00002]\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
@ 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]
ldr r2, .L3
ldr r3, [fp, #-16]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
mov r2, r3
ldr r3, [fp, #-8]
add r3, r3, r2
str r3, [fp, #-8]
ldr r3, [fp, #-8]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L4:
.align 2
.L3:
.word info_size
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "158096.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 "158096.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 "537162.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 "537162.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "750476.c"
.intel_syntax noprefix
.text
.section .rodata
.LC1:
.string "%lf"
.LC3:
.string "VOLUME = %.3lf\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
movsd xmm0, QWORD PTR .LC0[rip]
movsd QWORD PTR -24[rbp], xmm0
lea rax, -32[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
movsd xmm1, QWORD PTR -24[rbp]
movsd xmm0, QWORD PTR .LC2[rip]
mulsd xmm1, xmm0
movsd xmm0, QWORD PTR -32[rbp]
mulsd xmm1, xmm0
movsd xmm0, QWORD PTR -32[rbp]
mulsd xmm1, xmm0
movsd xmm0, QWORD PTR -32[rbp]
mulsd 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 .L3
call __stack_chk_fail@PLT
.L3:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.align 8
.LC0:
.long -266631570
.long 1074340345
.align 8
.LC2:
.long 1431655765
.long 1073042773
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "750476.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "%lf\000"
.global __aeabi_dmul
.align 2
.LC1:
.ascii "VOLUME = %.3lf\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 {fp, lr}
add fp, sp, #4
sub sp, sp, #32
ldr r3, .L4
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r2, .L4+4
ldr r3, .L4+8
str r2, [fp, #-28]
str r3, [fp, #-24]
sub r3, fp, #36
mov r1, r3
ldr r0, .L4+12
bl __isoc99_scanf
ldr r2, .L4+16
ldr r3, .L4+20
sub r1, fp, #28
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
sub r3, fp, #36
ldmia r3, {r2-r3}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
sub r3, fp, #36
ldmia r3, {r2-r3}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
sub r3, fp, #36
ldmia r3, {r2-r3}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
str r2, [fp, #-20]
str r3, [fp, #-16]
sub r3, fp, #20
ldmia r3, {r2-r3}
ldr r0, .L4+24
bl printf
mov r3, #0
ldr r2, .L4
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L3
bl __stack_chk_fail
.L3:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L5:
.align 2
.L4:
.word .LC2
.word -266631570
.word 1074340345
.word .LC0
.word 1431655765
.word 1073042773
.word .LC1
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "227725.c"
.intel_syntax noprefix
.text
.globl f
.bss
.align 4
.type f, @object
.size f, 4
f:
.zero 4
.globl g
.align 4
.type g, @object
.size g, 4
g:
.zero 4
.text
.globl h
.type h, @function
h:
.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 eax, 0
call j@PLT
mov eax, 0
call k@PLT
test eax, eax
je .L2
mov eax, 0
call l@PLT
test eax, eax
je .L2
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 4[rax]
test eax, eax
je .L3
mov edx, DWORD PTR g[rip]
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR [rax], edx
jmp .L2
.L3:
mov edx, DWORD PTR f[rip]
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR [rax], edx
.L2:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size h, .-h
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "227725.c"
.text
.comm f,4,4
.comm g,4,4
.align 2
.global h
.syntax unified
.arm
.fpu softvfp
.type h, %function
h:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
bl j
bl k
mov r3, r0
cmp r3, #0
beq .L2
bl l
mov r3, r0
cmp r3, #0
beq .L2
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
cmp r3, #0
beq .L3
ldr r3, .L4
ldr r2, [r3]
ldr r3, [fp, #-8]
str r2, [r3]
b .L2
.L3:
ldr r3, .L4+4
ldr r2, [r3]
ldr r3, [fp, #-8]
str r2, [r3]
.L2:
nop
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L5:
.align 2
.L4:
.word g
.word f
.size h, .-h
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "810147.c"
.intel_syntax noprefix
.text
.globl ZSTD_customMalloc
.type ZSTD_customMalloc, @function
ZSTD_customMalloc:
.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 16[rbp]
test rax, rax
je .L2
mov rcx, QWORD PTR 16[rbp]
mov rax, QWORD PTR 32[rbp]
mov rdx, QWORD PTR -8[rbp]
mov rsi, rdx
mov rdi, rax
call rcx
jmp .L3
.L2:
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call malloc@PLT
.L3:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size ZSTD_customMalloc, .-ZSTD_customMalloc
.globl ZSTD_customCalloc
.type ZSTD_customCalloc, @function
ZSTD_customCalloc:
.LFB7:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov rax, QWORD PTR 16[rbp]
test rax, rax
je .L5
mov rcx, QWORD PTR 16[rbp]
mov rax, QWORD PTR 32[rbp]
mov rdx, QWORD PTR -24[rbp]
mov rsi, rdx
mov rdi, rax
call rcx
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov rcx, rax
mov rax, QWORD PTR -24[rbp]
mov rdx, rax
mov esi, 0
mov rdi, rcx
call memset@PLT
mov rax, QWORD PTR -8[rbp]
jmp .L6
.L5:
mov rax, QWORD PTR -24[rbp]
mov rsi, rax
mov edi, 1
call calloc@PLT
.L6:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size ZSTD_customCalloc, .-ZSTD_customCalloc
.globl ZSTD_customFree
.type ZSTD_customFree, @function
ZSTD_customFree:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
cmp QWORD PTR -8[rbp], 0
je .L10
mov rax, QWORD PTR 24[rbp]
test rax, rax
je .L9
mov rcx, QWORD PTR 24[rbp]
mov rax, QWORD PTR 32[rbp]
mov rdx, QWORD PTR -8[rbp]
mov rsi, rdx
mov rdi, rax
call rcx
jmp .L10
.L9:
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call free@PLT
.L10:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size ZSTD_customFree, .-ZSTD_customFree
.section .rodata
.align 16
.type ZSTD_defaultCMem, @object
.size ZSTD_defaultCMem, 24
ZSTD_defaultCMem:
.zero 24
.text
.type POOL_thread, @function
POOL_thread:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov QWORD PTR -40[rbp], rdi
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR -24[rbp], rax
cmp QWORD PTR -24[rbp], 0
jne .L12
mov eax, 0
jmp .L13
.L12:
mov rax, QWORD PTR -24[rbp]
add rax, 96
mov rdi, rax
call pthread_mutex_lock@PLT
jmp .L14
.L16:
mov rax, QWORD PTR -24[rbp]
mov eax, DWORD PTR 232[rax]
test eax, eax
je .L15
mov rax, QWORD PTR -24[rbp]
add rax, 96
mov rdi, rax
call pthread_mutex_unlock@PLT
mov rax, QWORD PTR -40[rbp]
jmp .L13
.L15:
mov rax, QWORD PTR -24[rbp]
lea rdx, 96[rax]
mov rax, QWORD PTR -24[rbp]
add rax, 184
mov rsi, rdx
mov rdi, rax
call pthread_cond_wait@PLT
.L14:
mov rax, QWORD PTR -24[rbp]
mov eax, DWORD PTR 88[rax]
test eax, eax
jne .L16
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR 80[rax]
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 40[rax]
cmp rdx, rax
jnb .L16
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR 48[rax]
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 56[rax]
sal rax, 4
add rax, rdx
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR [rax]
mov QWORD PTR -16[rbp], rax
mov QWORD PTR -8[rbp], rdx
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 56[rax]
lea rdx, 1[rax]
mov rax, QWORD PTR -24[rbp]
mov rcx, QWORD PTR 72[rax]
mov rax, rdx
mov edx, 0
div rcx
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR 56[rax], rdx
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 80[rax]
lea rdx, 1[rax]
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR 80[rax], rdx
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR 56[rax]
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 64[rax]
cmp rdx, rax
sete al
movzx edx, al
mov rax, QWORD PTR -24[rbp]
mov DWORD PTR 88[rax], edx
mov rax, QWORD PTR -24[rbp]
add rax, 136
mov rdi, rax
call pthread_cond_signal@PLT
mov rax, QWORD PTR -24[rbp]
add rax, 96
mov rdi, rax
call pthread_mutex_unlock@PLT
mov rdx, QWORD PTR -16[rbp]
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call rdx
mov rax, QWORD PTR -24[rbp]
add rax, 96
mov rdi, rax
call pthread_mutex_lock@PLT
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 80[rax]
lea rdx, -1[rax]
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR 80[rax], rdx
mov rax, QWORD PTR -24[rbp]
add rax, 136
mov rdi, rax
call pthread_cond_signal@PLT
mov rax, QWORD PTR -24[rbp]
add rax, 96
mov rdi, rax
call pthread_mutex_unlock@PLT
jmp .L12
.L13:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size POOL_thread, .-POOL_thread
.globl POOL_create
.type POOL_create, @function
POOL_create:
.LFB10:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
mov rdx, QWORD PTR -16[rbp]
mov rax, QWORD PTR -8[rbp]
sub rsp, 8
push QWORD PTR ZSTD_defaultCMem[rip+16]
push QWORD PTR ZSTD_defaultCMem[rip+8]
push QWORD PTR ZSTD_defaultCMem[rip]
mov rsi, rdx
mov rdi, rax
call POOL_create_advanced
add rsp, 32
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size POOL_create, .-POOL_create
.globl POOL_create_advanced
.type POOL_create_advanced, @function
POOL_create_advanced:
.LFB11:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov QWORD PTR -40[rbp], rdi
mov QWORD PTR -48[rbp], rsi
cmp QWORD PTR -40[rbp], 0
jne .L20
mov eax, 0
jmp .L21
.L20:
sub rsp, 8
push QWORD PTR 32[rbp]
push QWORD PTR 24[rbp]
push QWORD PTR 16[rbp]
mov edi, 240
call ZSTD_customCalloc
add rsp, 32
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
jne .L22
mov eax, 0
jmp .L21
.L22:
mov rax, QWORD PTR -48[rbp]
lea rdx, 1[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 72[rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 72[rax]
sal rax, 4
sub rsp, 8
push QWORD PTR 32[rbp]
push QWORD PTR 24[rbp]
push QWORD PTR 16[rbp]
mov rdi, rax
call ZSTD_customMalloc
add rsp, 32
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 48[rdx], rax
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 56[rax], 0
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 64[rax], 0
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 80[rax], 0
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR 88[rax], 1
mov DWORD PTR -20[rbp], 0
mov rax, QWORD PTR -8[rbp]
add rax, 96
mov esi, 0
mov rdi, rax
call pthread_mutex_init@PLT
or DWORD PTR -20[rbp], eax
mov rax, QWORD PTR -8[rbp]
add rax, 136
mov esi, 0
mov rdi, rax
call pthread_cond_init@PLT
or DWORD PTR -20[rbp], eax
mov rax, QWORD PTR -8[rbp]
add rax, 184
mov esi, 0
mov rdi, rax
call pthread_cond_init@PLT
or DWORD PTR -20[rbp], eax
cmp DWORD PTR -20[rbp], 0
je .L23
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call POOL_free
mov eax, 0
jmp .L21
.L23:
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR 232[rax], 0
mov rax, QWORD PTR -40[rbp]
sal rax, 3
sub rsp, 8
push QWORD PTR 32[rbp]
push QWORD PTR 24[rbp]
push QWORD PTR 16[rbp]
mov rdi, rax
call ZSTD_customMalloc
add rsp, 32
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 24[rdx], rax
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 32[rax], 0
mov rcx, QWORD PTR -8[rbp]
mov rax, QWORD PTR 16[rbp]
mov rdx, QWORD PTR 24[rbp]
mov QWORD PTR [rcx], rax
mov QWORD PTR 8[rcx], rdx
mov rax, QWORD PTR 32[rbp]
mov QWORD PTR 16[rcx], rax
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 24[rax]
test rax, rax
je .L24
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 48[rax]
test rax, rax
jne .L25
.L24:
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call POOL_free
mov eax, 0
jmp .L21
.L25:
mov QWORD PTR -16[rbp], 0
jmp .L26
.L28:
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR 24[rax]
mov rax, QWORD PTR -16[rbp]
sal rax, 3
lea rdi, [rdx+rax]
mov rax, QWORD PTR -8[rbp]
mov rcx, rax
lea rdx, POOL_thread[rip]
mov esi, 0
call pthread_create@PLT
test eax, eax
je .L27
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR -16[rbp]
mov QWORD PTR 32[rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call POOL_free
mov eax, 0
jmp .L21
.L27:
add QWORD PTR -16[rbp], 1
.L26:
mov rax, QWORD PTR -16[rbp]
cmp rax, QWORD PTR -40[rbp]
jb .L28
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR -40[rbp]
mov QWORD PTR 32[rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR -40[rbp]
mov QWORD PTR 40[rax], rdx
mov rax, QWORD PTR -8[rbp]
.L21:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size POOL_create_advanced, .-POOL_create_advanced
.type POOL_join, @function
POOL_join:
.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 rax, QWORD PTR -24[rbp]
add rax, 96
mov rdi, rax
call pthread_mutex_lock@PLT
mov rax, QWORD PTR -24[rbp]
mov DWORD PTR 232[rax], 1
mov rax, QWORD PTR -24[rbp]
add rax, 96
mov rdi, rax
call pthread_mutex_unlock@PLT
mov rax, QWORD PTR -24[rbp]
add rax, 136
mov rdi, rax
call pthread_cond_broadcast@PLT
mov rax, QWORD PTR -24[rbp]
add rax, 184
mov rdi, rax
call pthread_cond_broadcast@PLT
mov QWORD PTR -8[rbp], 0
jmp .L30
.L31:
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR 24[rax]
mov rax, QWORD PTR -8[rbp]
sal rax, 3
add rax, rdx
mov rax, QWORD PTR [rax]
mov esi, 0
mov rdi, rax
call pthread_join@PLT
add QWORD PTR -8[rbp], 1
.L30:
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 32[rax]
cmp QWORD PTR -8[rbp], rax
jb .L31
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE12:
.size POOL_join, .-POOL_join
.globl POOL_free
.type POOL_free, @function
POOL_free:
.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, 16
mov QWORD PTR -8[rbp], rdi
cmp QWORD PTR -8[rbp], 0
je .L35
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call POOL_join
mov rax, QWORD PTR -8[rbp]
add rax, 96
mov rdi, rax
call pthread_mutex_destroy@PLT
mov rax, QWORD PTR -8[rbp]
add rax, 136
mov rdi, rax
call pthread_cond_destroy@PLT
mov rax, QWORD PTR -8[rbp]
add rax, 184
mov rdi, rax
call pthread_cond_destroy@PLT
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR 48[rax]
sub rsp, 8
mov rax, QWORD PTR -8[rbp]
push QWORD PTR 16[rax]
push QWORD PTR 8[rax]
push QWORD PTR [rax]
mov rdi, rdx
call ZSTD_customFree
add rsp, 32
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR 24[rax]
sub rsp, 8
mov rax, QWORD PTR -8[rbp]
push QWORD PTR 16[rax]
push QWORD PTR 8[rax]
push QWORD PTR [rax]
mov rdi, rdx
call ZSTD_customFree
add rsp, 32
mov rdx, QWORD PTR -8[rbp]
sub rsp, 8
mov rax, QWORD PTR -8[rbp]
push QWORD PTR 16[rax]
push QWORD PTR 8[rax]
push QWORD PTR [rax]
mov rdi, rdx
call ZSTD_customFree
add rsp, 32
jmp .L32
.L35:
nop
.L32:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE13:
.size POOL_free, .-POOL_free
.type isQueueFull, @function
isQueueFull:
.LFB14:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 72[rax]
cmp rax, 1
jbe .L37
mov rax, QWORD PTR -8[rbp]
mov rcx, QWORD PTR 56[rax]
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 64[rax]
lea rdx, 1[rax]
mov rax, QWORD PTR -8[rbp]
mov rsi, QWORD PTR 72[rax]
mov rax, rdx
mov edx, 0
div rsi
mov rax, rdx
cmp rcx, rax
sete al
movzx eax, al
jmp .L38
.L37:
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR 80[rax]
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR 40[rax]
cmp rdx, rax
je .L39
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 88[rax]
test eax, eax
jne .L40
.L39:
mov eax, 1
jmp .L38
.L40:
mov eax, 0
.L38:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE14:
.size isQueueFull, .-isQueueFull
.type POOL_add_internal, @function
POOL_add_internal:
.LFB15:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov QWORD PTR -40[rbp], rdx
mov rax, QWORD PTR -32[rbp]
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -40[rbp]
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -24[rbp], 0
setne al
movzx eax, al
mov edi, eax
mov eax, 0
call assert@PLT
mov rax, QWORD PTR -24[rbp]
mov eax, DWORD PTR 232[rax]
test eax, eax
jne .L45
mov rax, QWORD PTR -24[rbp]
mov DWORD PTR 88[rax], 0
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR 48[rax]
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 64[rax]
sal rax, 4
lea rcx, [rdx+rax]
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR [rcx], rax
mov QWORD PTR 8[rcx], rdx
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 64[rax]
lea rdx, 1[rax]
mov rax, QWORD PTR -24[rbp]
mov rcx, QWORD PTR 72[rax]
mov rax, rdx
mov edx, 0
div rcx
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR 64[rax], rdx
mov rax, QWORD PTR -24[rbp]
add rax, 184
mov rdi, rax
call pthread_cond_signal@PLT
jmp .L42
.L45:
nop
.L42:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE15:
.size POOL_add_internal, .-POOL_add_internal
.globl POOL_add
.type POOL_add, @function
POOL_add:
.LFB16:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
mov QWORD PTR -24[rbp], rdx
cmp QWORD PTR -8[rbp], 0
setne al
movzx eax, al
mov edi, eax
mov eax, 0
call assert@PLT
mov rax, QWORD PTR -8[rbp]
add rax, 96
mov rdi, rax
call pthread_mutex_lock@PLT
jmp .L47
.L49:
mov rax, QWORD PTR -8[rbp]
lea rdx, 96[rax]
mov rax, QWORD PTR -8[rbp]
add rax, 136
mov rsi, rdx
mov rdi, rax
call pthread_cond_wait@PLT
.L47:
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call isQueueFull
test eax, eax
je .L48
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 232[rax]
test eax, eax
je .L49
.L48:
mov rdx, QWORD PTR -24[rbp]
mov rcx, QWORD PTR -16[rbp]
mov rax, QWORD PTR -8[rbp]
mov rsi, rcx
mov rdi, rax
call POOL_add_internal
mov rax, QWORD PTR -8[rbp]
add rax, 96
mov rdi, rax
call pthread_mutex_unlock@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE16:
.size POOL_add, .-POOL_add
.globl foo
.type foo, @function
foo:
.LFB17:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov edi, 1
mov eax, 0
call assert@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE17:
.size foo, .-foo
.globl g
.bss
.align 4
.type g, @object
.size g, 4
g:
.zero 4
.text
.globl bar
.type bar, @function
bar:
.LFB18:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov eax, DWORD PTR g[rip]
add eax, 1
mov DWORD PTR g[rip], eax
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE18:
.size bar, .-bar
.globl main
.type main, @function
main:
.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, 16
mov esi, 10
mov edi, 20
call POOL_create
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
je .L53
mov rax, QWORD PTR -8[rbp]
mov edx, 0
lea rsi, foo[rip]
mov rdi, rax
call POOL_add
mov rax, QWORD PTR -8[rbp]
mov edx, 0
lea rsi, bar[rip]
mov rdi, rax
call POOL_add
mov rax, QWORD PTR -8[rbp]
mov edx, 0
lea rsi, bar[rip]
mov rdi, rax
call POOL_add
.L53:
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE19:
.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 "810147.c"
.text
.align 2
.global ZSTD_customMalloc
.syntax unified
.arm
.fpu softvfp
.type ZSTD_customMalloc, %function
ZSTD_customMalloc:
@ 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]
sub r0, fp, #20
stm r0, {r1, r2, r3}
ldr r3, [fp, #-20]
cmp r3, #0
beq .L2
ldr r3, [fp, #-20]
ldr r2, [fp, #-12]
ldr r1, [fp, #-8]
mov r0, r2
blx r3
mov r3, r0
b .L3
.L2:
ldr r0, [fp, #-8]
bl malloc
mov r3, r0
.L3:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size ZSTD_customMalloc, .-ZSTD_customMalloc
.align 2
.global ZSTD_customCalloc
.syntax unified
.arm
.fpu softvfp
.type ZSTD_customCalloc, %function
ZSTD_customCalloc:
@ 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]
sub r0, fp, #28
stm r0, {r1, r2, r3}
ldr r3, [fp, #-28]
cmp r3, #0
beq .L5
ldr r3, [fp, #-28]
ldr r2, [fp, #-20]
ldr r1, [fp, #-16]
mov r0, r2
blx r3
str r0, [fp, #-8]
ldr r3, [fp, #-8]
mov r0, r3
ldr r3, [fp, #-16]
mov r2, r3
mov r1, #0
bl memset
ldr r3, [fp, #-8]
b .L6
.L5:
ldr r1, [fp, #-16]
mov r0, #1
bl calloc
mov r3, r0
.L6:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size ZSTD_customCalloc, .-ZSTD_customCalloc
.align 2
.global ZSTD_customFree
.syntax unified
.arm
.fpu softvfp
.type ZSTD_customFree, %function
ZSTD_customFree:
@ 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]
sub r0, fp, #20
stm r0, {r1, r2, r3}
ldr r3, [fp, #-8]
cmp r3, #0
beq .L10
ldr r3, [fp, #-16]
cmp r3, #0
beq .L9
ldr r3, [fp, #-16]
ldr r2, [fp, #-12]
ldr r1, [fp, #-8]
mov r0, r2
blx r3
b .L10
.L9:
ldr r0, [fp, #-8]
bl free
.L10:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size ZSTD_customFree, .-ZSTD_customFree
.section .rodata
.align 2
.type ZSTD_defaultCMem, %object
.size ZSTD_defaultCMem, 12
ZSTD_defaultCMem:
.space 12
.global __aeabi_uidivmod
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type POOL_thread, %function
POOL_thread:
@ 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]
str r3, [fp, #-16]
ldr r3, [fp, #-16]
cmp r3, #0
bne .L12
mov r3, #0
b .L13
.L12:
ldr r3, [fp, #-16]
add r3, r3, #48
mov r0, r3
bl pthread_mutex_lock
b .L14
.L16:
ldr r3, [fp, #-16]
ldr r3, [r3, #168]
cmp r3, #0
beq .L15
ldr r3, [fp, #-16]
add r3, r3, #48
mov r0, r3
bl pthread_mutex_unlock
ldr r3, [fp, #-24]
b .L13
.L15:
ldr r3, [fp, #-16]
add r2, r3, #120
ldr r3, [fp, #-16]
add r3, r3, #48
mov r1, r3
mov r0, r2
bl pthread_cond_wait
.L14:
ldr r3, [fp, #-16]
ldr r3, [r3, #44]
cmp r3, #0
bne .L16
ldr r3, [fp, #-16]
ldr r2, [r3, #40]
ldr r3, [fp, #-16]
ldr r3, [r3, #20]
cmp r2, r3
bcs .L16
ldr r3, [fp, #-16]
ldr r2, [r3, #24]
ldr r3, [fp, #-16]
ldr r3, [r3, #28]
lsl r3, r3, #3
add r2, r2, r3
sub r3, fp, #12
ldm r2, {r0, r1}
stm r3, {r0, r1}
ldr r3, [fp, #-16]
ldr r3, [r3, #28]
add r2, r3, #1
ldr r3, [fp, #-16]
ldr r3, [r3, #36]
mov r1, r3
mov r0, r2
bl __aeabi_uidivmod
mov r3, r1
mov r2, r3
ldr r3, [fp, #-16]
str r2, [r3, #28]
ldr r3, [fp, #-16]
ldr r3, [r3, #40]
add r2, r3, #1
ldr r3, [fp, #-16]
str r2, [r3, #40]
ldr r3, [fp, #-16]
ldr r2, [r3, #28]
ldr r3, [fp, #-16]
ldr r3, [r3, #32]
cmp r2, r3
moveq r3, #1
movne r3, #0
and r3, r3, #255
mov r2, r3
ldr r3, [fp, #-16]
str r2, [r3, #44]
ldr r3, [fp, #-16]
add r3, r3, #72
mov r0, r3
bl pthread_cond_signal
ldr r3, [fp, #-16]
add r3, r3, #48
mov r0, r3
bl pthread_mutex_unlock
ldr r3, [fp, #-12]
ldr r2, [fp, #-8]
mov r0, r2
blx r3
ldr r3, [fp, #-16]
add r3, r3, #48
mov r0, r3
bl pthread_mutex_lock
ldr r3, [fp, #-16]
ldr r3, [r3, #40]
sub r2, r3, #1
ldr r3, [fp, #-16]
str r2, [r3, #40]
ldr r3, [fp, #-16]
add r3, r3, #72
mov r0, r3
bl pthread_cond_signal
ldr r3, [fp, #-16]
add r3, r3, #48
mov r0, r3
bl pthread_mutex_unlock
b .L12
.L13:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size POOL_thread, .-POOL_thread
.align 2
.global POOL_create
.syntax unified
.arm
.fpu softvfp
.type POOL_create, %function
POOL_create:
@ args = 0, pretend = 0, frame = 8
@ 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]
ldr r3, .L19
ldr r2, [r3, #8]
str r2, [sp]
ldm r3, {r2, r3}
ldr r1, [fp, #-12]
ldr r0, [fp, #-8]
bl POOL_create_advanced
mov r3, r0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L20:
.align 2
.L19:
.word ZSTD_defaultCMem
.size POOL_create, .-POOL_create
.align 2
.global POOL_create_advanced
.syntax unified
.arm
.fpu softvfp
.type POOL_create_advanced, %function
POOL_create_advanced:
@ args = 12, pretend = 8, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
sub sp, sp, #8
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
str r0, [fp, #-24]
str r1, [fp, #-28]
add r1, fp, #4
stm r1, {r2, r3}
ldr r3, [fp, #-24]
cmp r3, #0
bne .L22
mov r3, #0
b .L23
.L22:
add r3, fp, #4
ldm r3, {r1, r2, r3}
mov r0, #176
bl ZSTD_customCalloc
str r0, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #0
bne .L24
mov r3, #0
b .L23
.L24:
ldr r3, [fp, #-28]
add r2, r3, #1
ldr r3, [fp, #-12]
str r2, [r3, #36]
ldr r3, [fp, #-12]
ldr r3, [r3, #36]
lsl r0, r3, #3
add r3, fp, #4
ldm r3, {r1, r2, r3}
bl ZSTD_customMalloc
mov r2, r0
ldr r3, [fp, #-12]
str r2, [r3, #24]
ldr r3, [fp, #-12]
mov r2, #0
str r2, [r3, #28]
ldr r3, [fp, #-12]
mov r2, #0
str r2, [r3, #32]
ldr r3, [fp, #-12]
mov r2, #0
str r2, [r3, #40]
ldr r3, [fp, #-12]
mov r2, #1
str r2, [r3, #44]
mov r3, #0
str r3, [fp, #-8]
ldr r3, [fp, #-12]
add r3, r3, #48
mov r1, #0
mov r0, r3
bl pthread_mutex_init
mov r2, r0
ldr r3, [fp, #-8]
orr r3, r3, r2
str r3, [fp, #-8]
ldr r3, [fp, #-12]
add r3, r3, #72
mov r1, #0
mov r0, r3
bl pthread_cond_init
mov r2, r0
ldr r3, [fp, #-8]
orr r3, r3, r2
str r3, [fp, #-8]
ldr r3, [fp, #-12]
add r3, r3, #120
mov r1, #0
mov r0, r3
bl pthread_cond_init
mov r2, r0
ldr r3, [fp, #-8]
orr r3, r3, r2
str r3, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L25
ldr r0, [fp, #-12]
bl POOL_free
mov r3, #0
b .L23
.L25:
ldr r3, [fp, #-12]
mov r2, #0
str r2, [r3, #168]
ldr r3, [fp, #-24]
lsl r0, r3, #2
add r3, fp, #4
ldm r3, {r1, r2, r3}
bl ZSTD_customMalloc
mov r2, r0
ldr r3, [fp, #-12]
str r2, [r3, #12]
ldr r3, [fp, #-12]
mov r2, #0
str r2, [r3, #16]
ldr r3, [fp, #-12]
mov ip, r3
add r3, fp, #4
ldm r3, {r0, r1, r2}
stm ip, {r0, r1, r2}
ldr r3, [fp, #-12]
ldr r3, [r3, #12]
cmp r3, #0
beq .L26
ldr r3, [fp, #-12]
ldr r3, [r3, #24]
cmp r3, #0
bne .L27
.L26:
ldr r0, [fp, #-12]
bl POOL_free
mov r3, #0
b .L23
.L27:
mov r3, #0
str r3, [fp, #-16]
b .L28
.L30:
ldr r3, [fp, #-12]
ldr r2, [r3, #12]
ldr r3, [fp, #-16]
lsl r3, r3, #2
add r0, r2, r3
ldr r3, [fp, #-12]
ldr r2, .L31
mov r1, #0
bl pthread_create
mov r3, r0
cmp r3, #0
beq .L29
ldr r3, [fp, #-12]
ldr r2, [fp, #-16]
str r2, [r3, #16]
ldr r0, [fp, #-12]
bl POOL_free
mov r3, #0
b .L23
.L29:
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L28:
ldr r2, [fp, #-16]
ldr r3, [fp, #-24]
cmp r2, r3
bcc .L30
ldr r3, [fp, #-12]
ldr r2, [fp, #-24]
str r2, [r3, #16]
ldr r3, [fp, #-12]
ldr r2, [fp, #-24]
str r2, [r3, #20]
ldr r3, [fp, #-12]
.L23:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, lr}
add sp, sp, #8
bx lr
.L32:
.align 2
.L31:
.word POOL_thread
.size POOL_create_advanced, .-POOL_create_advanced
.align 2
.syntax unified
.arm
.fpu softvfp
.type POOL_join, %function
POOL_join:
@ 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, #48
mov r0, r3
bl pthread_mutex_lock
ldr r3, [fp, #-16]
mov r2, #1
str r2, [r3, #168]
ldr r3, [fp, #-16]
add r3, r3, #48
mov r0, r3
bl pthread_mutex_unlock
ldr r3, [fp, #-16]
add r3, r3, #72
mov r0, r3
bl pthread_cond_broadcast
ldr r3, [fp, #-16]
add r3, r3, #120
mov r0, r3
bl pthread_cond_broadcast
mov r3, #0
str r3, [fp, #-8]
b .L34
.L35:
ldr r3, [fp, #-16]
ldr r2, [r3, #12]
ldr r3, [fp, #-8]
lsl r3, r3, #2
add r3, r2, r3
ldr r3, [r3]
mov r1, #0
mov r0, r3
bl pthread_join
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L34:
ldr r3, [fp, #-16]
ldr r3, [r3, #16]
ldr r2, [fp, #-8]
cmp r2, r3
bcc .L35
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size POOL_join, .-POOL_join
.align 2
.global POOL_free
.syntax unified
.arm
.fpu softvfp
.type POOL_free, %function
POOL_free:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L39
ldr r0, [fp, #-8]
bl POOL_join
ldr r3, [fp, #-8]
add r3, r3, #48
mov r0, r3
bl pthread_mutex_destroy
ldr r3, [fp, #-8]
add r3, r3, #72
mov r0, r3
bl pthread_cond_destroy
ldr r3, [fp, #-8]
add r3, r3, #120
mov r0, r3
bl pthread_cond_destroy
ldr r3, [fp, #-8]
ldr r0, [r3, #24]
ldr r3, [fp, #-8]
ldm r3, {r1, r2, r3}
bl ZSTD_customFree
ldr r3, [fp, #-8]
ldr r0, [r3, #12]
ldr r3, [fp, #-8]
ldm r3, {r1, r2, r3}
bl ZSTD_customFree
ldr r3, [fp, #-8]
ldm r3, {r1, r2, r3}
ldr r0, [fp, #-8]
bl ZSTD_customFree
b .L36
.L39:
nop
.L36:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size POOL_free, .-POOL_free
.align 2
.syntax unified
.arm
.fpu softvfp
.type isQueueFull, %function
isQueueFull:
@ 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]
ldr r3, [r3, #36]
cmp r3, #1
bls .L41
ldr r3, [fp, #-16]
ldr r4, [r3, #28]
ldr r3, [fp, #-16]
ldr r3, [r3, #32]
add r2, r3, #1
ldr r3, [fp, #-16]
ldr r3, [r3, #36]
mov r1, r3
mov r0, r2
bl __aeabi_uidivmod
mov r3, r1
cmp r4, r3
moveq r3, #1
movne r3, #0
and r3, r3, #255
b .L42
.L41:
ldr r3, [fp, #-16]
ldr r2, [r3, #40]
ldr r3, [fp, #-16]
ldr r3, [r3, #20]
cmp r2, r3
beq .L43
ldr r3, [fp, #-16]
ldr r3, [r3, #44]
cmp r3, #0
bne .L44
.L43:
mov r3, #1
b .L42
.L44:
mov r3, #0
.L42:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.size isQueueFull, .-isQueueFull
.align 2
.syntax unified
.arm
.fpu softvfp
.type POOL_add_internal, %function
POOL_add_internal:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
str r0, [fp, #-16]
str r1, [fp, #-20]
str r2, [fp, #-24]
ldr r3, [fp, #-20]
str r3, [fp, #-12]
ldr r3, [fp, #-24]
str r3, [fp, #-8]
ldr r3, [fp, #-16]
cmp r3, #0
movne r3, #1
moveq r3, #0
and r3, r3, #255
mov r0, r3
bl assert
ldr r3, [fp, #-16]
ldr r3, [r3, #168]
cmp r3, #0
bne .L49
ldr r3, [fp, #-16]
mov r2, #0
str r2, [r3, #44]
ldr r3, [fp, #-16]
ldr r2, [r3, #24]
ldr r3, [fp, #-16]
ldr r3, [r3, #32]
lsl r3, r3, #3
add r3, r2, r3
mov r2, r3
sub r3, fp, #12
ldm r3, {r0, r1}
stm r2, {r0, r1}
ldr r3, [fp, #-16]
ldr r3, [r3, #32]
add r2, r3, #1
ldr r3, [fp, #-16]
ldr r3, [r3, #36]
mov r1, r3
mov r0, r2
bl __aeabi_uidivmod
mov r3, r1
mov r2, r3
ldr r3, [fp, #-16]
str r2, [r3, #32]
ldr r3, [fp, #-16]
add r3, r3, #120
mov r0, r3
bl pthread_cond_signal
b .L46
.L49:
nop
.L46:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size POOL_add_internal, .-POOL_add_internal
.align 2
.global POOL_add
.syntax unified
.arm
.fpu softvfp
.type POOL_add, %function
POOL_add:
@ 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, #0
movne r3, #1
moveq r3, #0
and r3, r3, #255
mov r0, r3
bl assert
ldr r3, [fp, #-8]
add r3, r3, #48
mov r0, r3
bl pthread_mutex_lock
b .L51
.L53:
ldr r3, [fp, #-8]
add r2, r3, #72
ldr r3, [fp, #-8]
add r3, r3, #48
mov r1, r3
mov r0, r2
bl pthread_cond_wait
.L51:
ldr r0, [fp, #-8]
bl isQueueFull
mov r3, r0
cmp r3, #0
beq .L52
ldr r3, [fp, #-8]
ldr r3, [r3, #168]
cmp r3, #0
beq .L53
.L52:
ldr r2, [fp, #-16]
ldr r1, [fp, #-12]
ldr r0, [fp, #-8]
bl POOL_add_internal
ldr r3, [fp, #-8]
add r3, r3, #48
mov r0, r3
bl pthread_mutex_unlock
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size POOL_add, .-POOL_add
.align 2
.global foo
.syntax unified
.arm
.fpu softvfp
.type foo, %function
foo:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
mov r0, #1
bl assert
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size foo, .-foo
.comm g,4,4
.align 2
.global bar
.syntax unified
.arm
.fpu softvfp
.type bar, %function
bar:
@ 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, .L56
ldr r3, [r3]
add r3, r3, #1
ldr r2, .L56
str r3, [r2]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L57:
.align 2
.L56:
.word g
.size bar, .-bar
.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 r1, #10
mov r0, #20
bl POOL_create
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L59
mov r2, #0
ldr r1, .L61
ldr r0, [fp, #-8]
bl POOL_add
mov r2, #0
ldr r1, .L61+4
ldr r0, [fp, #-8]
bl POOL_add
mov r2, #0
ldr r1, .L61+4
ldr r0, [fp, #-8]
bl POOL_add
.L59:
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L62:
.align 2
.L61:
.word foo
.word bar
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "493406.c"
.intel_syntax noprefix
.text
.globl megaInit
.type megaInit, @function
megaInit:
.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 megaInit, .-megaInit
.globl RandomFunc
.type RandomFunc, @function
RandomFunc:
.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 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, BYTE PTR [rax]
sub eax, 106
mov BYTE PTR -9[rbp], al
mov BYTE PTR -10[rbp], 0
jmp .L3
.L6:
movzx eax, BYTE PTR -9[rbp]
cmp BYTE PTR -10[rbp], al
jbe .L4
movzx edx, BYTE PTR -9[rbp]
movzx eax, BYTE PTR -10[rbp]
add edx, edx
cdqe
mov BYTE PTR -9[rbp+rax], dl
jmp .L5
.L4:
movzx eax, BYTE PTR -9[rbp]
add eax, eax
mov BYTE PTR -9[rbp], al
.L5:
add BYTE PTR -10[rbp], 2
.L3:
cmp BYTE PTR -10[rbp], 0
je .L6
movzx eax, BYTE PTR -9[rbp]
mov edx, -117
imul eax, edx
mov edx, eax
mov rax, QWORD PTR -32[rbp]
mov BYTE PTR [rax], dl
nop
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L7
call __stack_chk_fail@PLT
.L7:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size RandomFunc, .-RandomFunc
.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:
.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, 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 .L9
mov esi, 1
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
mov edi, -1
call exit@PLT
.L9:
mov DWORD PTR -20[rbp], 0
jmp .L10
.L11:
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 BYTE PTR -21[rbp], al
mov eax, DWORD PTR -20[rbp]
cdqe
movzx edx, BYTE PTR -21[rbp]
mov BYTE PTR -10[rbp+rax], dl
add DWORD PTR -20[rbp], 1
.L10:
cmp DWORD PTR -20[rbp], 0
jle .L11
lea rdx, -9[rbp]
lea rax, -10[rbp]
mov rsi, rdx
mov rdi, rax
call RandomFunc
movzx eax, BYTE PTR -9[rbp]
cmp al, -54
jne .L12
lea rdi, .LC1[rip]
call puts@PLT
.L12:
mov DWORD PTR -16[rbp], 0
jmp .L13
.L14:
mov eax, DWORD PTR -16[rbp]
cdqe
movzx eax, BYTE PTR -9[rbp+rax]
movzx eax, al
mov esi, eax
lea rdi, .LC2[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -16[rbp], 1
.L13:
cmp DWORD PTR -16[rbp], 0
jle .L14
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L16
call __stack_chk_fail@PLT
.L16:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.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 "493406.c"
.text
.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
.LC0:
.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, .L8
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, [fp, #-24]
ldrb r3, [r3] @ zero_extendqisi2
sub r3, r3, #106
and r3, r3, #255
strb r3, [fp, #-12]
mov r3, #0
strb r3, [fp, #-13]
b .L3
.L6:
ldrb r3, [fp, #-12] @ zero_extendqisi2
ldrb r2, [fp, #-13] @ zero_extendqisi2
cmp r2, r3
bls .L4
ldrb r2, [fp, #-12] @ zero_extendqisi2
ldrb r3, [fp, #-13] @ zero_extendqisi2
lsl r2, r2, #1
and r2, r2, #255
sub r1, fp, #4
add r3, r1, r3
strb r2, [r3, #-8]
b .L5
.L4:
ldrb r3, [fp, #-12] @ zero_extendqisi2
lsl r3, r3, #1
and r3, r3, #255
strb r3, [fp, #-12]
.L5:
ldrb r3, [fp, #-13]
add r3, r3, #2
strb r3, [fp, #-13]
.L3:
ldrb r3, [fp, #-13] @ zero_extendqisi2
cmp r3, #0
beq .L6
ldrb r3, [fp, #-12] @ zero_extendqisi2
mov r2, r3
lsl r2, r2, #4
add r2, r2, r3
lsl r2, r2, #2
add r2, r2, r3
lsl r2, r2, #1
add r3, r2, r3
and r2, r3, #255
ldr r3, [fp, #-28]
strb r2, [r3]
nop
ldr r3, .L8
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L7
bl __stack_chk_fail
.L7:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L9:
.align 2
.L8:
.word .LC0
.size RandomFunc, .-RandomFunc
.section .rodata
.align 2
.LC1:
.ascii "Call this program with %i arguments\012\000"
.align 2
.LC2:
.ascii "You win!\000"
.align 2
.LC3:
.ascii "%u\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 = 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, .L19
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
bl megaInit
ldr r3, [fp, #-32]
cmp r3, #2
beq .L11
mov r1, #1
ldr r0, .L19+4
bl printf
mvn r0, #0
bl exit
.L11:
mov r3, #0
str r3, [fp, #-24]
b .L12
.L13:
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
strb r3, [fp, #-25]
sub r2, fp, #16
ldr r3, [fp, #-24]
add r3, r2, r3
ldrb r2, [fp, #-25]
strb r2, [r3]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L12:
ldr r3, [fp, #-24]
cmp r3, #0
ble .L13
sub r2, fp, #12
sub r3, fp, #16
mov r1, r2
mov r0, r3
bl RandomFunc
ldrb r3, [fp, #-12] @ zero_extendqisi2
cmp r3, #202
bne .L14
ldr r0, .L19+8
bl puts
.L14:
mov r3, #0
str r3, [fp, #-20]
b .L15
.L16:
sub r2, fp, #12
ldr r3, [fp, #-20]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
mov r1, r3
ldr r0, .L19+12
bl printf
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L15:
ldr r3, [fp, #-20]
cmp r3, #0
ble .L16
mov r3, #0
ldr r2, .L19
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}
.L20:
.align 2
.L19:
.word .LC4
.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 "614454.c"
.intel_syntax noprefix
.text
.section .rodata
.align 8
.LC0:
.string "WARNING: Cannot drop privileges!"
.text
.globl drop_privs
.type drop_privs, @function
drop_privs:
.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 QWORD PTR -16[rbp], rsi
mov rax, QWORD PTR stderr[rip]
mov rcx, rax
mov edx, 32
mov esi, 1
lea rdi, .LC0[rip]
call fwrite@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size drop_privs, .-drop_privs
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "614454.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "WARNING: Cannot drop privileges!\000"
.text
.align 2
.global drop_privs
.syntax unified
.arm
.fpu softvfp
.type drop_privs, %function
drop_privs:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, .L2
ldr r3, [r3]
mov r2, #32
mov r1, #1
ldr r0, .L2+4
bl fwrite
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L3:
.align 2
.L2:
.word stderr
.word .LC0
.size drop_privs, .-drop_privs
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "252178.c"
.intel_syntax noprefix
.text
.globl current_execution_context
.bss
.align 4
.type current_execution_context, @object
.size current_execution_context, 4
current_execution_context:
.zero 4
.globl _ddv_module_init
.align 8
.type _ddv_module_init, @object
.size _ddv_module_init, 8
_ddv_module_init:
.zero 8
.globl _ddv_module_exit
.align 8
.type _ddv_module_exit, @object
.size _ddv_module_exit, 8
_ddv_module_exit:
.zero 8
.text
.globl pthread_create
.type pthread_create, @function
pthread_create:
.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 -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
mov QWORD PTR -24[rbp], rdx
mov QWORD PTR -32[rbp], rcx
mov eax, 0
call nondet_pthread_t@PLT
mov edx, eax
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR [rax], edx
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR -24[rbp]
mov rdi, rax
call rdx
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size pthread_create, .-pthread_create
.globl jiffies
.bss
.align 8
.type jiffies, @object
.size jiffies, 8
jiffies:
.zero 8
.globl fixed_cdev
.align 32
.type fixed_cdev, @object
.size fixed_cdev, 240
fixed_cdev:
.zero 240
.globl fixed_cdev_used
.align 4
.type fixed_cdev_used, @object
.size fixed_cdev_used, 4
fixed_cdev_used:
.zero 4
.globl number_cdev_registered
.align 2
.type number_cdev_registered, @object
.size number_cdev_registered, 2
number_cdev_registered:
.zero 2
.globl cdev_registered
.align 32
.type cdev_registered, @object
.size cdev_registered, 1120
cdev_registered:
.zero 1120
.text
.globl call_cdev_functions
.type call_cdev_functions, @function
call_cdev_functions:
.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, 64
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
movzx eax, WORD PTR number_cdev_registered[rip]
test ax, ax
je .L47
mov eax, 0
call nondet_ushort@PLT
mov WORD PTR -52[rbp], ax
movzx eax, WORD PTR -52[rbp]
mov DWORD PTR -44[rbp], eax
cmp DWORD PTR -44[rbp], 0
js .L6
movzx eax, WORD PTR number_cdev_registered[rip]
cwde
cmp DWORD PTR -44[rbp], eax
jge .L7
mov DWORD PTR -48[rbp], 1
jmp .L8
.L7:
mov DWORD PTR -48[rbp], 0
jmp .L8
.L6:
mov DWORD PTR -48[rbp], 0
.L8:
mov eax, DWORD PTR -48[rbp]
mov edi, eax
mov eax, 0
call __CPROVER_assume@PLT
mov eax, 0
call nondet_ushort@PLT
mov WORD PTR -50[rbp], ax
movzx eax, WORD PTR -50[rbp]
cmp eax, 26
ja .L48
mov eax, eax
lea rdx, 0[0+rax*4]
lea rax, .L11[rip]
mov eax, DWORD PTR [rdx+rax]
cdqe
lea rdx, .L11[rip]
add rax, rdx
notrack jmp rax
.section .rodata
.align 4
.align 4
.L11:
.long .L37-.L11
.long .L36-.L11
.long .L49-.L11
.long .L34-.L11
.long .L49-.L11
.long .L49-.L11
.long .L49-.L11
.long .L30-.L11
.long .L49-.L11
.long .L49-.L11
.long .L49-.L11
.long .L26-.L11
.long .L49-.L11
.long .L24-.L11
.long .L49-.L11
.long .L49-.L11
.long .L49-.L11
.long .L49-.L11
.long .L49-.L11
.long .L49-.L11
.long .L49-.L11
.long .L49-.L11
.long .L49-.L11
.long .L49-.L11
.long .L49-.L11
.long .L49-.L11
.long .L49-.L11
.text
.L37:
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 3
sub rax, rdx
sal rax, 4
mov rdx, rax
lea rax, cdev_registered[rip]
mov rax, QWORD PTR [rdx+rax]
mov rax, QWORD PTR 8[rax]
mov rax, QWORD PTR 8[rax]
test rax, rax
je .L50
mov eax, 0
call nondet_loff_t@PLT
mov QWORD PTR -24[rbp], rax
mov eax, 0
call nondet_int@PLT
mov DWORD PTR -28[rbp], eax
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 3
sub rax, rdx
sal rax, 4
mov rdx, rax
lea rax, cdev_registered[rip]
mov rax, QWORD PTR [rdx+rax]
mov rax, QWORD PTR 8[rax]
mov r8, QWORD PTR 8[rax]
mov rcx, QWORD PTR -24[rbp]
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 3
sub rax, rdx
sal rax, 4
lea rdx, cdev_registered[rip]
add rax, rdx
lea rdi, 8[rax]
mov eax, DWORD PTR -28[rbp]
mov edx, eax
mov rsi, rcx
call r8
jmp .L50
.L36:
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 3
sub rax, rdx
sal rax, 4
mov rdx, rax
lea rax, cdev_registered[rip]
mov rax, QWORD PTR [rdx+rax]
mov rax, QWORD PTR 8[rax]
mov rax, QWORD PTR 16[rax]
test rax, rax
je .L51
mov eax, 0
call nondet_char@PLT
mov BYTE PTR -53[rbp], al
mov eax, 0
call nondet_size_t@PLT
mov DWORD PTR -32[rbp], eax
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 3
sub rax, rdx
sal rax, 4
mov rdx, rax
lea rax, cdev_registered[rip]
mov rax, QWORD PTR [rdx+rax]
mov rax, QWORD PTR 8[rax]
mov r8, QWORD PTR 16[rax]
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 3
sub rax, rdx
sal rax, 4
lea rdx, cdev_registered[rip]
add rax, rdx
lea rdi, 8[rax]
lea rcx, -24[rbp]
mov edx, DWORD PTR -32[rbp]
lea rax, -53[rbp]
mov rsi, rax
call r8
jmp .L51
.L34:
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 3
sub rax, rdx
sal rax, 4
mov rdx, rax
lea rax, cdev_registered[rip]
mov rax, QWORD PTR [rdx+rax]
mov rax, QWORD PTR 8[rax]
mov rax, QWORD PTR 24[rax]
test rax, rax
je .L52
mov eax, 0
call nondet_char@PLT
mov BYTE PTR -53[rbp], al
mov eax, 0
call nondet_size_t@PLT
mov DWORD PTR -32[rbp], eax
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 3
sub rax, rdx
sal rax, 4
mov rdx, rax
lea rax, cdev_registered[rip]
mov rax, QWORD PTR [rdx+rax]
mov rax, QWORD PTR 8[rax]
mov r8, QWORD PTR 24[rax]
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 3
sub rax, rdx
sal rax, 4
lea rdx, cdev_registered[rip]
add rax, rdx
lea rdi, 8[rax]
lea rcx, -24[rbp]
mov edx, DWORD PTR -32[rbp]
lea rax, -53[rbp]
mov rsi, rax
call r8
jmp .L52
.L30:
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 3
sub rax, rdx
sal rax, 4
mov rdx, rax
lea rax, cdev_registered[rip]
mov rax, QWORD PTR [rdx+rax]
mov rax, QWORD PTR 8[rax]
mov rax, QWORD PTR 48[rax]
test rax, rax
je .L53
mov eax, 0
call nondet_uint@PLT
mov DWORD PTR -36[rbp], eax
mov eax, 0
call nondet_ulong@PLT
mov QWORD PTR -16[rbp], rax
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 3
sub rax, rdx
sal rax, 4
mov rdx, rax
lea rax, cdev_registered[rip]
mov rax, QWORD PTR [rdx+rax]
mov rax, QWORD PTR 8[rax]
mov r8, QWORD PTR 48[rax]
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 3
sub rax, rdx
sal rax, 4
lea rdx, cdev_registered[rip]
add rax, rdx
lea rsi, 8[rax]
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 3
sub rax, rdx
sal rax, 4
lea rdx, 64[rax]
lea rax, cdev_registered[rip]
lea rdi, [rdx+rax]
mov rdx, QWORD PTR -16[rbp]
mov eax, DWORD PTR -36[rbp]
mov rcx, rdx
mov edx, eax
call r8
jmp .L53
.L26:
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 3
sub rax, rdx
sal rax, 4
mov rdx, rax
lea rax, cdev_registered[rip]
mov rax, QWORD PTR [rdx+rax]
mov rax, QWORD PTR 8[rax]
mov rax, QWORD PTR 80[rax]
test rax, rax
je .L54
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 3
sub rax, rdx
sal rax, 4
mov rdx, rax
lea rax, cdev_registered[rip+104]
mov eax, DWORD PTR [rdx+rax]
test eax, eax
jne .L54
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 3
sub rax, rdx
sal rax, 4
mov rdx, rax
lea rax, cdev_registered[rip]
mov rax, QWORD PTR [rdx+rax]
mov rax, QWORD PTR 8[rax]
mov rdx, QWORD PTR 80[rax]
mov eax, DWORD PTR -44[rbp]
movsx rcx, eax
mov rax, rcx
sal rax, 3
sub rax, rcx
sal rax, 4
lea rcx, cdev_registered[rip]
add rax, rcx
lea rcx, 8[rax]
mov eax, DWORD PTR -44[rbp]
movsx rsi, eax
mov rax, rsi
sal rax, 3
sub rax, rsi
sal rax, 4
lea rsi, 64[rax]
lea rax, cdev_registered[rip]
add rax, rsi
mov rsi, rcx
mov rdi, rax
call rdx
mov DWORD PTR -40[rbp], eax
cmp DWORD PTR -40[rbp], 0
jne .L54
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 3
sub rax, rdx
sal rax, 4
mov rdx, rax
lea rax, cdev_registered[rip+104]
mov DWORD PTR [rdx+rax], 1
jmp .L54
.L24:
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 3
sub rax, rdx
sal rax, 4
mov rdx, rax
lea rax, cdev_registered[rip]
mov rax, QWORD PTR [rdx+rax]
mov rax, QWORD PTR 8[rax]
mov rax, QWORD PTR 96[rax]
test rax, rax
je .L55
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 3
sub rax, rdx
sal rax, 4
mov rdx, rax
lea rax, cdev_registered[rip+104]
mov eax, DWORD PTR [rdx+rax]
test eax, eax
je .L55
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 3
sub rax, rdx
sal rax, 4
mov rdx, rax
lea rax, cdev_registered[rip]
mov rax, QWORD PTR [rdx+rax]
mov rax, QWORD PTR 8[rax]
mov rdx, QWORD PTR 96[rax]
mov eax, DWORD PTR -44[rbp]
movsx rcx, eax
mov rax, rcx
sal rax, 3
sub rax, rcx
sal rax, 4
lea rcx, cdev_registered[rip]
add rax, rcx
lea rcx, 8[rax]
mov eax, DWORD PTR -44[rbp]
movsx rsi, eax
mov rax, rsi
sal rax, 3
sub rax, rsi
sal rax, 4
lea rsi, 64[rax]
lea rax, cdev_registered[rip]
add rax, rsi
mov rsi, rcx
mov rdi, rax
call rdx
mov DWORD PTR -40[rbp], eax
cmp DWORD PTR -40[rbp], 0
jne .L55
mov eax, DWORD PTR -44[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 3
sub rax, rdx
sal rax, 4
mov rdx, rax
lea rax, cdev_registered[rip+104]
mov DWORD PTR [rdx+rax], 0
jmp .L55
.L48:
nop
jmp .L3
.L49:
nop
jmp .L3
.L50:
nop
jmp .L3
.L51:
nop
jmp .L3
.L52:
nop
jmp .L3
.L53:
nop
jmp .L3
.L54:
nop
jmp .L3
.L55:
nop
jmp .L3
.L47:
nop
.L3:
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L46
call __stack_chk_fail@PLT
.L46:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size call_cdev_functions, .-call_cdev_functions
.globl pthread_mutex_init
.type pthread_mutex_init, @function
pthread_mutex_init:
.LFB10:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov BYTE PTR -1[rbp], 0
mov rax, QWORD PTR -24[rbp]
movzx edx, BYTE PTR -1[rbp]
mov BYTE PTR [rax], dl
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size pthread_mutex_init, .-pthread_mutex_init
.globl pthread_mutex_destroy
.type pthread_mutex_destroy, @function
pthread_mutex_destroy:
.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 -8[rbp], rdi
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size pthread_mutex_destroy, .-pthread_mutex_destroy
.globl pthread_mutex_lock
.type pthread_mutex_lock, @function
pthread_mutex_lock:
.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 -8[rbp], rdi
mov eax, 0
call __CPROVER_atomic_begin@PLT
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR [rax]
xor eax, 1
movzx eax, al
mov edi, eax
mov eax, 0
call __CPROVER_assume@PLT
mov rax, QWORD PTR -8[rbp]
mov BYTE PTR [rax], 1
mov eax, 0
call __CPROVER_atomic_end@PLT
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE12:
.size pthread_mutex_lock, .-pthread_mutex_lock
.section .rodata
.align 8
.LC0:
.string "pthread_mutex_unlock without lock"
.text
.globl pthread_mutex_unlock
.type pthread_mutex_unlock, @function
pthread_mutex_unlock:
.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, 16
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR [rax]
movzx eax, al
lea rsi, .LC0[rip]
mov edi, eax
mov eax, 0
call __CPROVER_assert@PLT
mov rax, QWORD PTR -8[rbp]
mov BYTE PTR [rax], 0
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE13:
.size pthread_mutex_unlock, .-pthread_mutex_unlock
.globl number_genhd_registered
.bss
.align 2
.type number_genhd_registered, @object
.size number_genhd_registered, 2
number_genhd_registered:
.zero 2
.globl number_fixed_genhd_used
.align 2
.type number_fixed_genhd_used, @object
.size number_fixed_genhd_used, 2
number_fixed_genhd_used:
.zero 2
.globl fixed_gendisk
.align 32
.type fixed_gendisk, @object
.size fixed_gendisk, 1520
fixed_gendisk:
.zero 1520
.globl genhd_registered
.align 32
.type genhd_registered, @object
.size genhd_registered, 2480
genhd_registered:
.zero 2480
.globl registered_pci_driver
.align 32
.type registered_pci_driver, @object
.size registered_pci_driver, 448
registered_pci_driver:
.zero 448
.globl registered_irq
.align 32
.type registered_irq, @object
.size registered_irq, 256
registered_irq:
.zero 256
.globl number_tasklet_registered
.align 2
.type number_tasklet_registered, @object
.size number_tasklet_registered, 2
number_tasklet_registered:
.zero 2
.globl tasklet_registered
.align 32
.type tasklet_registered, @object
.size tasklet_registered, 160
tasklet_registered:
.zero 160
.globl number_timer_registered
.align 2
.type number_timer_registered, @object
.size number_timer_registered, 2
number_timer_registered:
.zero 2
.globl timer_registered
.align 32
.type timer_registered, @object
.size timer_registered, 40
timer_registered:
.zero 40
.globl shared_workqueue
.align 32
.type shared_workqueue, @object
.size shared_workqueue, 80
shared_workqueue:
.zero 80
.globl kernel_lock
.align 8
.type kernel_lock, @object
.size kernel_lock, 8
kernel_lock:
.zero 8
.text
.globl init_kernel
.type init_kernel, @function
init_kernel:
.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, 16
lea rdi, kernel_lock[rip]
call spin_lock_init
mov DWORD PTR -4[rbp], 0
jmp .L65
.L66:
mov eax, DWORD PTR -4[rbp]
cdqe
lea rdx, 0[0+rax*8]
lea rax, shared_workqueue[rip]
mov QWORD PTR [rdx+rax], 0
add DWORD PTR -4[rbp], 1
.L65:
cmp DWORD PTR -4[rbp], 9
jle .L66
mov DWORD PTR -4[rbp], 0
jmp .L67
.L68:
mov eax, DWORD PTR -4[rbp]
cdqe
sal rax, 4
mov rdx, rax
lea rax, tasklet_registered[rip]
mov QWORD PTR [rdx+rax], 0
mov eax, DWORD PTR -4[rbp]
cdqe
sal rax, 4
mov rdx, rax
lea rax, tasklet_registered[rip+8]
mov WORD PTR [rdx+rax], 0
add DWORD PTR -4[rbp], 1
.L67:
cmp DWORD PTR -4[rbp], 9
jle .L68
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE14:
.size init_kernel, .-init_kernel
.type ddv_2, @function
ddv_2:
.LFB15:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
.L81:
mov eax, 0
call nondet_ushort@PLT
mov WORD PTR -2[rbp], ax
movzx eax, WORD PTR -2[rbp]
cmp eax, 5
ja .L84
mov eax, eax
lea rdx, 0[0+rax*4]
lea rax, .L73[rip]
mov eax, DWORD PTR [rdx+rax]
cdqe
lea rdx, .L73[rip]
add rax, rdx
notrack jmp rax
.section .rodata
.align 4
.align 4
.L73:
.long .L84-.L73
.long .L77-.L73
.long .L76-.L73
.long .L75-.L73
.long .L74-.L73
.long .L72-.L73
.text
.L77:
mov DWORD PTR current_execution_context[rip], 2
mov eax, 0
call call_timer_functions@PLT
mov DWORD PTR current_execution_context[rip], 1
jmp .L78
.L76:
mov DWORD PTR current_execution_context[rip], 2
call call_interrupt_handler
mov DWORD PTR current_execution_context[rip], 1
jmp .L78
.L75:
mov DWORD PTR current_execution_context[rip], 1
call call_shared_workqueue_functions
mov DWORD PTR current_execution_context[rip], 1
jmp .L78
.L74:
mov DWORD PTR current_execution_context[rip], 2
call call_tasklet_functions
mov DWORD PTR current_execution_context[rip], 1
jmp .L78
.L72:
mov DWORD PTR current_execution_context[rip], 1
mov eax, 0
call call_pci_functions@PLT
mov DWORD PTR current_execution_context[rip], 1
jmp .L78
.L84:
nop
.L78:
cmp WORD PTR -2[rbp], 0
je .L85
jmp .L81
.L85:
nop
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE15:
.size ddv_2, .-ddv_2
.globl ddv
.type ddv, @function
ddv:
.LFB16:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rax, -16[rbp]
mov ecx, 0
lea rdx, ddv_2[rip]
mov esi, 0
mov rdi, rax
call pthread_create
.L89:
mov DWORD PTR current_execution_context[rip], 1
call call_cdev_functions
mov eax, 0
call nondet_int@PLT
mov DWORD PTR -12[rbp], eax
cmp DWORD PTR -12[rbp], 0
je .L93
jmp .L89
.L93:
nop
nop
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L91
call __stack_chk_fail@PLT
.L91:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE16:
.size ddv, .-ddv
.globl call_ddv
.type call_ddv, @function
call_ddv:
.LFB17:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov DWORD PTR current_execution_context[rip], 1
call init_kernel
mov rax, QWORD PTR _ddv_module_init[rip]
call rax
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], 0
je .L95
mov eax, -1
jmp .L96
.L95:
call ddv
mov DWORD PTR current_execution_context[rip], 1
mov rax, QWORD PTR _ddv_module_exit[rip]
call rax
mov eax, 0
.L96:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE17:
.size call_ddv, .-call_ddv
.globl register_blkdev
.type register_blkdev, @function
register_blkdev:
.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 DWORD PTR -20[rbp], edi
mov QWORD PTR -32[rbp], rsi
mov eax, 0
call nondet_int@PLT
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -8[rbp]
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE18:
.size register_blkdev, .-register_blkdev
.globl unregister_blkdev
.type unregister_blkdev, @function
unregister_blkdev:
.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 -4[rbp], edi
mov QWORD PTR -16[rbp], rsi
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE19:
.size unregister_blkdev, .-unregister_blkdev
.globl alloc_disk
.type alloc_disk, @function
alloc_disk:
.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 -20[rbp], edi
movzx eax, WORD PTR number_fixed_genhd_used[rip]
cmp ax, 9
jg .L102
movzx eax, WORD PTR number_fixed_genhd_used[rip]
cwde
movsx rdx, eax
mov rax, rdx
sal rax, 3
add rax, rdx
add rax, rax
add rax, rdx
sal rax, 3
lea rdx, fixed_gendisk[rip]
add rax, rdx
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov edx, DWORD PTR -20[rbp]
mov DWORD PTR 8[rax], edx
movzx eax, WORD PTR number_fixed_genhd_used[rip]
add eax, 1
mov WORD PTR number_fixed_genhd_used[rip], ax
mov rax, QWORD PTR -8[rbp]
jmp .L103
.L102:
mov eax, 0
.L103:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE20:
.size alloc_disk, .-alloc_disk
.globl add_disk
.type add_disk, @function
add_disk:
.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, 32
mov QWORD PTR -24[rbp], rdi
movzx eax, WORD PTR number_genhd_registered[rip]
cmp ax, 9
jg .L107
movzx eax, WORD PTR number_genhd_registered[rip]
cwde
movsx rdx, eax
mov rax, rdx
sal rax, 5
sub rax, rdx
sal rax, 3
mov rcx, rax
lea rdx, genhd_registered[rip]
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR [rcx+rdx], rax
mov edi, 32
call malloc@PLT
mov QWORD PTR -8[rbp], rax
movzx eax, WORD PTR number_genhd_registered[rip]
cwde
movsx rdx, eax
mov rax, rdx
sal rax, 5
sub rax, rdx
sal rax, 3
mov rcx, rax
lea rdx, genhd_registered[rip+16]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR [rcx+rdx], rax
movzx eax, WORD PTR number_genhd_registered[rip]
cwde
movsx rdx, eax
mov rax, rdx
sal rax, 5
sub rax, rdx
sal rax, 3
mov rdx, rax
lea rax, genhd_registered[rip+16]
mov rax, QWORD PTR [rdx+rax]
mov rdx, QWORD PTR -24[rbp]
mov QWORD PTR 8[rax], rdx
movzx eax, WORD PTR number_genhd_registered[rip]
add eax, 1
mov WORD PTR number_genhd_registered[rip], ax
nop
.L107:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE21:
.size add_disk, .-add_disk
.globl del_gendisk
.type del_gendisk, @function
del_gendisk:
.LFB22:
.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 .L109
.L111:
mov eax, DWORD PTR -4[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 5
sub rax, rdx
sal rax, 3
mov rdx, rax
lea rax, genhd_registered[rip]
mov rax, QWORD PTR [rdx+rax]
mov rdx, rax
mov rax, QWORD PTR -24[rbp]
cmp rdx, rax
jne .L110
mov eax, DWORD PTR -4[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 5
sub rax, rdx
sal rax, 3
mov rdx, rax
lea rax, genhd_registered[rip]
mov QWORD PTR [rdx+rax], 0
.L110:
add DWORD PTR -4[rbp], 1
.L109:
movzx eax, WORD PTR number_genhd_registered[rip]
cwde
cmp DWORD PTR -4[rbp], eax
jl .L111
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE22:
.size del_gendisk, .-del_gendisk
.globl call_interrupt_handler
.type call_interrupt_handler, @function
call_interrupt_handler:
.LFB23:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov eax, 0
call nondet_int@PLT
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -12[rbp]
mov WORD PTR -18[rbp], ax
cmp WORD PTR -18[rbp], 15
setbe al
movzx eax, al
mov edi, eax
mov eax, 0
call __CPROVER_assume@PLT
movzx eax, WORD PTR -18[rbp]
cdqe
sal rax, 4
mov rdx, rax
lea rax, registered_irq[rip]
mov rax, QWORD PTR [rdx+rax]
test rax, rax
je .L117
movzx eax, WORD PTR -18[rbp]
cdqe
sal rax, 4
mov rdx, rax
lea rax, registered_irq[rip]
mov r8, QWORD PTR [rdx+rax]
movzx eax, WORD PTR -18[rbp]
cdqe
sal rax, 4
mov rdx, rax
lea rax, registered_irq[rip+8]
mov rcx, QWORD PTR [rdx+rax]
movzx eax, WORD PTR -18[rbp]
lea rdx, -16[rbp]
mov rsi, rcx
mov edi, eax
call r8
nop
.L117:
nop
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L116
call __stack_chk_fail@PLT
.L116:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE23:
.size call_interrupt_handler, .-call_interrupt_handler
.globl fixed_request_queue
.bss
.align 32
.type fixed_request_queue, @object
.size fixed_request_queue, 880
fixed_request_queue:
.zero 880
.globl number_request_queue_used
.align 4
.type number_request_queue_used, @object
.size number_request_queue_used, 4
number_request_queue_used:
.zero 4
.text
.globl get_fixed_request_queue
.type get_fixed_request_queue, @function
get_fixed_request_queue:
.LFB24:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, DWORD PTR number_request_queue_used[rip]
cmp eax, 9
jg .L119
mov eax, DWORD PTR number_request_queue_used[rip]
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR number_request_queue_used[rip]
add eax, 1
mov DWORD PTR number_request_queue_used[rip], eax
mov eax, DWORD PTR -4[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
add rax, rax
add rax, rdx
sal rax, 3
lea rdx, fixed_request_queue[rip]
add rax, rdx
jmp .L120
.L119:
mov eax, 0
.L120:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE24:
.size get_fixed_request_queue, .-get_fixed_request_queue
.globl blk_init_queue
.type blk_init_queue, @function
blk_init_queue:
.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, 32
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov eax, 0
call nondet_int@PLT
mov DWORD PTR -12[rbp], eax
cmp DWORD PTR -12[rbp], 0
je .L122
call get_fixed_request_queue
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR -32[rbp]
mov QWORD PTR 64[rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR -24[rbp]
mov QWORD PTR [rax], rdx
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], 0
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR 80[rax], 1
mov rax, QWORD PTR -8[rbp]
jmp .L123
.L122:
mov eax, 0
.L123:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE25:
.size blk_init_queue, .-blk_init_queue
.globl blk_alloc_queue
.type blk_alloc_queue, @function
blk_alloc_queue:
.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 DWORD PTR -20[rbp], edi
mov eax, 0
call nondet_int@PLT
mov DWORD PTR -12[rbp], eax
cmp DWORD PTR -12[rbp], 0
je .L125
call get_fixed_request_queue
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR [rax], 0
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 8[rax], 0
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR 80[rax], 1
mov rax, QWORD PTR -8[rbp]
jmp .L126
.L125:
mov eax, 0
.L126:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE26:
.size blk_alloc_queue, .-blk_alloc_queue
.globl blk_queue_make_request
.type blk_queue_make_request, @function
blk_queue_make_request:
.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 -8[rbp], rdi
mov QWORD PTR -16[rbp], rsi
mov rax, QWORD PTR -8[rbp]
mov rdx, QWORD PTR -16[rbp]
mov QWORD PTR 8[rax], rdx
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE27:
.size blk_queue_make_request, .-blk_queue_make_request
.globl end_request
.type end_request, @function
end_request:
.LFB28:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov rax, QWORD PTR -24[rbp]
mov rax, QWORD PTR 72[rax]
mov rax, QWORD PTR 56[rax]
mov eax, DWORD PTR 76[rax]
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 5
sub rax, rdx
sal rax, 3
mov rdx, rax
lea rax, genhd_registered[rip+240]
mov DWORD PTR [rdx+rax], 0
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE28:
.size end_request, .-end_request
.globl blk_queue_hardsect_size
.type blk_queue_hardsect_size, @function
blk_queue_hardsect_size:
.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 -8[rbp], rdi
mov eax, esi
mov WORD PTR -12[rbp], ax
mov rax, QWORD PTR -8[rbp]
movzx edx, WORD PTR -12[rbp]
mov WORD PTR 72[rax], dx
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE29:
.size blk_queue_hardsect_size, .-blk_queue_hardsect_size
.globl blk_cleanup_queue
.type blk_cleanup_queue, @function
blk_cleanup_queue:
.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 -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR 80[rax], 0
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE30:
.size blk_cleanup_queue, .-blk_cleanup_queue
.data
.align 4
.type auto_probe, @object
.size auto_probe, 4
auto_probe:
.long 1
.align 4
.type cm206_base, @object
.size cm206_base, 4
cm206_base:
.long 832
.align 4
.type cm206_irq, @object
.size cm206_irq, 4
cm206_irq:
.long 11
.local cm206
.comm cm206,8,8
.globl _ddv_module_license
.type _ddv_module_license, @object
.size _ddv_module_license, 4
_ddv_module_license:
.string "GPL"
.local cd
.comm cd,8,8
.local cm206_queue
.comm cm206_queue,8,8
.align 8
.type cm206_lock, @object
.size cm206_lock, 8
cm206_lock:
.long 1
.long 0
.text
.type send_command_polled, @function
send_command_polled:
.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, 32
mov DWORD PTR -20[rbp], edi
mov DWORD PTR -4[rbp], 100
.L139:
mov eax, DWORD PTR cm206_base[rip]
add eax, 6
mov edi, eax
call inw
mov WORD PTR -6[rbp], ax
movzx eax, WORD PTR -6[rbp]
and eax, 1
test eax, eax
jne .L142
cmp DWORD PTR -4[rbp], 0
jle .L143
nop
sub DWORD PTR -4[rbp], 1
jmp .L139
.L142:
nop
jmp .L137
.L143:
nop
.L137:
mov eax, DWORD PTR cm206_base[rip]
add eax, 10
mov edx, eax
mov eax, DWORD PTR -20[rbp]
movzx eax, ax
mov esi, edx
mov edi, eax
call outw
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE31:
.size send_command_polled, .-send_command_polled
.type receive_echo_polled, @function
receive_echo_polled:
.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, 16
mov DWORD PTR -4[rbp], 100
.L148:
mov eax, DWORD PTR cm206_base[rip]
add eax, 6
mov edi, eax
call inw
mov WORD PTR -8[rbp], ax
movzx eax, WORD PTR -8[rbp]
and eax, 2
test eax, eax
jne .L151
cmp DWORD PTR -4[rbp], 0
jle .L152
nop
sub DWORD PTR -4[rbp], 1
jmp .L148
.L151:
nop
jmp .L146
.L152:
nop
.L146:
mov eax, DWORD PTR cm206_base[rip]
add eax, 2
mov edi, eax
call inw
mov WORD PTR -6[rbp], ax
movzx eax, WORD PTR -6[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE32:
.size receive_echo_polled, .-receive_echo_polled
.type send_receive_polled, @function
send_receive_polled:
.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 eax, DWORD PTR -20[rbp]
mov edi, eax
call send_command_polled
call receive_echo_polled
mov BYTE PTR -1[rbp], al
movzx eax, BYTE PTR -1[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE33:
.size send_receive_polled, .-send_receive_polled
.type clear_ur, @function
clear_ur:
.LFB34:
.cfi_startproc
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR 9[rax]
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 8[rax]
cmp dl, al
je .L160
jmp .L157
.L158:
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR 9[rax]
mov rax, QWORD PTR cd[rip]
add edx, 1
mov BYTE PTR 9[rax], dl
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR 9[rax]
mov rax, QWORD PTR cd[rip]
and edx, 3
mov BYTE PTR 9[rax], dl
.L157:
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR 9[rax]
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 8[rax]
cmp dl, al
jne .L158
nop
.L160:
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE34:
.size clear_ur, .-clear_ur
.section .data.rel.local,"aw"
.align 32
.type cm206_tasklet, @object
.size cm206_tasklet, 32
cm206_tasklet:
.long 0
.zero 4
.quad cm206_tasklet_func
.quad 0
.long 1
.zero 4
.text
.type cm206_interrupt, @function
cm206_interrupt:
.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, 80
mov DWORD PTR -68[rbp], edi
mov QWORD PTR -80[rbp], rsi
mov eax, DWORD PTR cm206_base[rip]
mov edi, eax
call inw
mov WORD PTR -50[rbp], ax
mov rax, QWORD PTR cd[rip]
movzx edx, WORD PTR -50[rbp]
mov WORD PTR [rax], dx
mov eax, DWORD PTR cm206_base[rip]
add eax, 6
mov edi, eax
call inw
mov WORD PTR -48[rbp], ax
mov rax, QWORD PTR cd[rip]
movzx edx, WORD PTR -48[rbp]
mov WORD PTR 2[rax], dx
mov rax, QWORD PTR cd[rip]
movzx eax, WORD PTR 2[rax]
movzx eax, ax
and eax, 16
test eax, eax
je .L162
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2540[rax]
add edx, 1
mov DWORD PTR 2540[rax], edx
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2628[rax]
mov DWORD PTR -40[rbp], eax
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2628[rax]
add edx, 1
mov DWORD PTR 2628[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -40[rbp]
mov DWORD PTR 2624[rax], edx
.L162:
mov rax, QWORD PTR cd[rip]
movzx eax, WORD PTR 2[rax]
movzx eax, ax
and eax, 2
test eax, eax
je .L163
mov eax, DWORD PTR cm206_base[rip]
add eax, 2
mov edi, eax
call inb
mov BYTE PTR -53[rbp], al
mov rdx, QWORD PTR cd[rip]
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 8[rax]
movzx eax, al
cdqe
movzx ecx, BYTE PTR -53[rbp]
mov BYTE PTR 4[rdx+rax], cl
mov eax, DWORD PTR cm206_base[rip]
add eax, 6
mov edi, eax
call inw
mov WORD PTR -42[rbp], ax
mov rax, QWORD PTR cd[rip]
movzx edx, WORD PTR -42[rbp]
mov WORD PTR 2[rax], dx
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR 8[rax]
mov rax, QWORD PTR cd[rip]
add edx, 1
mov BYTE PTR 8[rax], dl
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR 8[rax]
mov rax, QWORD PTR cd[rip]
and edx, 3
mov BYTE PTR 8[rax], dl
mov rax, QWORD PTR cd[rip]
add rax, 2380
mov rdi, rax
call waitqueue_active@PLT
mov DWORD PTR -8[rbp], eax
cmp DWORD PTR -8[rbp], 0
je .L164
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 2443[rax]
cmp al, 1
jg .L164
mov rax, QWORD PTR cd[rip]
add rax, 2408
mov rdi, rax
call del_timer
mov rax, QWORD PTR cd[rip]
add rax, 2380
mov rdi, rax
call wake_up_interruptible
jmp .L164
.L163:
mov rax, QWORD PTR cd[rip]
movzx eax, WORD PTR [rax]
movzx eax, ax
and eax, 128
test eax, eax
je .L165
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 2443[rax]
test al, al
je .L166
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2448[rax]
add edx, 1
mov DWORD PTR 2448[rax], edx
.L166:
mov rax, QWORD PTR cd[rip]
add rax, 2392
mov rdi, rax
call waitqueue_active@PLT
mov DWORD PTR -16[rbp], eax
cmp DWORD PTR -16[rbp], 0
je .L167
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 2442[rax]
test al, al
je .L168
mov rax, QWORD PTR cd[rip]
add rax, 2408
mov rdi, rax
call del_timer
mov rax, QWORD PTR cd[rip]
add rax, 2392
mov rdi, rax
call wake_up_interruptible
jmp .L167
.L168:
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 2443[rax]
test al, al
jne .L167
mov rax, QWORD PTR cd[rip]
add rax, 2408
mov rdi, rax
call del_timer
mov rax, QWORD PTR cd[rip]
add rax, 2392
mov rdi, rax
call wake_up_interruptible
.L167:
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2464[rax]
add edx, 1
mov DWORD PTR 2464[rax], edx
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2628[rax]
mov DWORD PTR -12[rbp], eax
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2628[rax]
add edx, 1
mov DWORD PTR 2628[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -12[rbp]
mov DWORD PTR 2548[rax], edx
jmp .L164
.L165:
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 12[rax]
test eax, eax
je .L178
mov rax, QWORD PTR cd[rip]
movzx eax, WORD PTR 2[rax]
movzx eax, ax
and eax, 1
test eax, eax
je .L179
mov eax, DWORD PTR cm206_base[rip]
mov edi, eax
call inw
mov WORD PTR -46[rbp], ax
mov eax, DWORD PTR cm206_base[rip]
add eax, 8
mov edx, eax
movzx eax, WORD PTR -46[rbp]
and eax, 127
or ah, 41
movzx eax, ax
mov esi, edx
mov edi, eax
call outw
mov eax, DWORD PTR cm206_base[rip]
add eax, 10
mov edx, eax
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 12[rax]
movzx eax, ax
mov esi, edx
mov edi, eax
call outw
mov rax, QWORD PTR cd[rip]
mov DWORD PTR 12[rax], 0
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 2443[rax]
test al, al
jne .L164
mov rax, QWORD PTR cd[rip]
add rax, 2380
mov rdi, rax
call wake_up_interruptible
jmp .L164
.L178:
nop
jmp .L169
.L179:
nop
.L169:
mov rax, QWORD PTR cd[rip]
movzx eax, WORD PTR [rax]
movzx eax, ax
and eax, 256
test eax, eax
je .L171
mov eax, DWORD PTR cm206_base[rip]
add eax, 4
mov edi, eax
call inw
mov WORD PTR -44[rbp], ax
movzx eax, WORD PTR -44[rbp]
mov WORD PTR -52[rbp], ax
mov rax, QWORD PTR cd[rip]
mov BYTE PTR 2452[rax], 1
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2468[rax]
add edx, 1
mov DWORD PTR 2468[rax], edx
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2628[rax]
mov DWORD PTR -20[rbp], eax
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2628[rax]
add edx, 1
mov DWORD PTR 2628[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -20[rbp]
mov DWORD PTR 2552[rax], edx
jmp .L164
.L171:
mov rax, QWORD PTR cd[rip]
movzx eax, WORD PTR [rax]
movzx eax, ax
and eax, 512
test eax, eax
je .L172
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2472[rax]
add edx, 1
mov DWORD PTR 2472[rax], edx
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2628[rax]
mov DWORD PTR -24[rbp], eax
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2628[rax]
add edx, 1
mov DWORD PTR 2628[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -24[rbp]
mov DWORD PTR 2556[rax], edx
jmp .L164
.L172:
mov rax, QWORD PTR cd[rip]
movzx eax, WORD PTR [rax]
movzx eax, ax
and eax, 1024
test eax, eax
je .L173
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2476[rax]
add edx, 1
mov DWORD PTR 2476[rax], edx
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2628[rax]
mov DWORD PTR -28[rbp], eax
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2628[rax]
add edx, 1
mov DWORD PTR 2628[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -28[rbp]
mov DWORD PTR 2560[rax], edx
jmp .L164
.L173:
mov rax, QWORD PTR cd[rip]
movzx eax, WORD PTR [rax]
movzx eax, ax
and eax, 2048
test eax, eax
je .L174
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2480[rax]
add edx, 1
mov DWORD PTR 2480[rax], edx
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2628[rax]
mov DWORD PTR -32[rbp], eax
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2628[rax]
add edx, 1
mov DWORD PTR 2628[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -32[rbp]
mov DWORD PTR 2564[rax], edx
jmp .L164
.L174:
mov rax, QWORD PTR cd[rip]
movzx eax, WORD PTR [rax]
movzx eax, ax
and eax, 8192
test eax, eax
jne .L164
mov eax, DWORD PTR cm206_base[rip]
add eax, 8
mov esi, eax
mov edi, 10497
call outw
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2484[rax]
add edx, 1
mov DWORD PTR 2484[rax], edx
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2628[rax]
mov DWORD PTR -36[rbp], eax
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2628[rax]
add edx, 1
mov DWORD PTR 2628[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -36[rbp]
mov DWORD PTR 2568[rax], edx
.L164:
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 2443[rax]
test al, al
je .L175
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2448[rax]
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2444[rax]
sub edx, eax
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 2441[rax]
movsx eax, al
cmp edx, eax
jne .L176
lea rdi, cm206_tasklet[rip]
call tasklet_schedule
jmp .L175
.L176:
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 2452[rax]
test al, al
je .L175
lea rdi, cm206_tasklet[rip]
call tasklet_schedule
.L175:
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2460[rax]
add edx, 1
mov DWORD PTR 2460[rax], edx
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2628[rax]
mov DWORD PTR -4[rbp], eax
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2628[rax]
add edx, 1
mov DWORD PTR 2628[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -4[rbp]
mov DWORD PTR 2544[rax], edx
mov eax, 1
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE35:
.size cm206_interrupt, .-cm206_interrupt
.type cm206_timeout, @function
cm206_timeout:
.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 cd[rip]
mov BYTE PTR 2440[rax], 1
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call wake_up_interruptible
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE36:
.size cm206_timeout, .-cm206_timeout
.type sleep_or_timeout, @function
sleep_or_timeout:
.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, 16
mov QWORD PTR -8[rbp], rdi
mov DWORD PTR -12[rbp], esi
mov rax, QWORD PTR cd[rip]
mov BYTE PTR 2440[rax], 0
mov rax, QWORD PTR cd[rip]
add rax, 2408
mov rdi, rax
call init_timer
mov rax, QWORD PTR cd[rip]
mov rdx, QWORD PTR -8[rbp]
mov QWORD PTR 2424[rax], rdx
mov eax, DWORD PTR -12[rbp]
movsx rcx, eax
mov rdx, QWORD PTR jiffies[rip]
mov rax, QWORD PTR cd[rip]
add rdx, rcx
mov QWORD PTR 2408[rax], rdx
mov rax, QWORD PTR cd[rip]
add rax, 2408
mov rdi, rax
call add_timer
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call interruptible_sleep_on
mov rax, QWORD PTR cd[rip]
add rax, 2408
mov rdi, rax
call del_timer
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 2440[rax]
test al, al
je .L183
mov rax, QWORD PTR cd[rip]
mov BYTE PTR 2440[rax], 0
mov eax, 1
jmp .L184
.L183:
mov eax, 0
.L184:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE37:
.size sleep_or_timeout, .-sleep_or_timeout
.type send_command, @function
send_command:
.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, 32
mov DWORD PTR -20[rbp], edi
mov eax, DWORD PTR cm206_base[rip]
add eax, 6
mov edi, eax
call inw
mov WORD PTR -12[rbp], ax
movzx eax, WORD PTR -12[rbp]
and eax, 1
test eax, eax
je .L186
mov eax, DWORD PTR cm206_base[rip]
add eax, 10
mov edx, eax
mov eax, DWORD PTR -20[rbp]
movzx eax, ax
mov esi, edx
mov edi, eax
call outw
jmp .L189
.L186:
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -20[rbp]
mov DWORD PTR 12[rax], edx
call cli@PLT
mov eax, DWORD PTR cm206_base[rip]
mov edi, eax
call inw
mov WORD PTR -10[rbp], ax
mov eax, DWORD PTR cm206_base[rip]
add eax, 8
mov edx, eax
movzx eax, WORD PTR -10[rbp]
and eax, 127
or ah, 40
movzx eax, ax
mov esi, edx
mov edi, eax
call outw
mov rax, QWORD PTR cd[rip]
add rax, 2380
mov esi, 5
mov rdi, rax
call sleep_or_timeout
mov DWORD PTR -8[rbp], eax
cmp DWORD PTR -8[rbp], 0
je .L189
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2492[rax]
add edx, 1
mov DWORD PTR 2492[rax], edx
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2628[rax]
mov DWORD PTR -4[rbp], eax
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2628[rax]
add edx, 1
mov DWORD PTR 2628[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -4[rbp]
mov DWORD PTR 2576[rax], edx
mov eax, DWORD PTR cm206_base[rip]
add eax, 10
mov edx, eax
mov eax, DWORD PTR -20[rbp]
movzx eax, ax
mov esi, edx
mov edi, eax
call outw
nop
.L189:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE38:
.size send_command, .-send_command
.type receive_byte, @function
receive_byte:
.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, 32
mov DWORD PTR -20[rbp], edi
call cli@PLT
mov rdx, QWORD PTR cd[rip]
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 9[rax]
movzx eax, al
cdqe
movzx eax, BYTE PTR 4[rdx+rax]
mov BYTE PTR -13[rbp], al
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR 9[rax]
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 8[rax]
cmp dl, al
je .L191
call sti@PLT
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR 9[rax]
mov rax, QWORD PTR cd[rip]
add edx, 1
mov BYTE PTR 9[rax], dl
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR 9[rax]
mov rax, QWORD PTR cd[rip]
and edx, 3
mov BYTE PTR 9[rax], dl
movzx eax, BYTE PTR -13[rbp]
jmp .L192
.L191:
mov rax, QWORD PTR cd[rip]
lea rdx, 2380[rax]
mov eax, DWORD PTR -20[rbp]
mov esi, eax
mov rdi, rdx
call sleep_or_timeout
mov DWORD PTR -12[rbp], eax
cmp DWORD PTR -12[rbp], 0
je .L193
cmp DWORD PTR -20[rbp], 5
jne .L194
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2496[rax]
add edx, 1
mov DWORD PTR 2496[rax], edx
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2628[rax]
mov DWORD PTR -4[rbp], eax
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2628[rax]
add edx, 1
mov DWORD PTR 2628[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -4[rbp]
mov DWORD PTR 2580[rax], edx
jmp .L195
.L194:
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2504[rax]
add edx, 1
mov DWORD PTR 2504[rax], edx
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2628[rax]
mov DWORD PTR -8[rbp], eax
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2628[rax]
add edx, 1
mov DWORD PTR 2628[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -8[rbp]
mov DWORD PTR 2588[rax], edx
.L195:
mov eax, -38
jmp .L192
.L193:
mov rdx, QWORD PTR cd[rip]
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 9[rax]
movzx eax, al
cdqe
movzx eax, BYTE PTR 4[rdx+rax]
mov BYTE PTR -13[rbp], al
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR 9[rax]
mov rax, QWORD PTR cd[rip]
add edx, 1
mov BYTE PTR 9[rax], dl
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR 9[rax]
mov rax, QWORD PTR cd[rip]
and edx, 3
mov BYTE PTR 9[rax], dl
movzx eax, BYTE PTR -13[rbp]
.L192:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE39:
.size receive_byte, .-receive_byte
.type receive_echo, @function
receive_echo:
.LFB40:
.cfi_startproc
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov edi, 5
call receive_byte
mov BYTE PTR -1[rbp], al
movzx eax, BYTE PTR -1[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE40:
.size receive_echo, .-receive_echo
.type send_receive, @function
send_receive:
.LFB41:
.cfi_startproc
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]
mov edi, eax
call send_command
call receive_echo
mov BYTE PTR -1[rbp], al
movzx eax, BYTE PTR -1[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE41:
.size send_receive, .-send_receive
.type wait_dsb, @function
wait_dsb:
.LFB42:
.cfi_startproc
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov edi, 700
call receive_byte
mov BYTE PTR -1[rbp], al
movzx eax, BYTE PTR -1[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE42:
.size wait_dsb, .-wait_dsb
.type type_0_command, @function
type_0_command:
.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 DWORD PTR -20[rbp], edi
mov DWORD PTR -24[rbp], esi
call clear_ur
mov eax, DWORD PTR -20[rbp]
mov edi, eax
call send_receive
mov BYTE PTR -10[rbp], al
movzx eax, BYTE PTR -10[rbp]
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -20[rbp]
cmp eax, DWORD PTR -8[rbp]
je .L203
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2488[rax]
add edx, 1
mov DWORD PTR 2488[rax], edx
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2628[rax]
mov DWORD PTR -4[rbp], eax
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2628[rax]
add edx, 1
mov DWORD PTR 2628[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -4[rbp]
mov DWORD PTR 2572[rax], edx
mov eax, -1
jmp .L204
.L203:
cmp DWORD PTR -24[rbp], 0
je .L205
call wait_dsb
mov BYTE PTR -9[rbp], al
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR -9[rbp]
mov BYTE PTR 10[rax], dl
.L205:
mov eax, 0
.L204:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE43:
.size type_0_command, .-type_0_command
.type type_1_command, @function
type_1_command:
.LFB44:
.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 eax, DWORD PTR -36[rbp]
mov esi, 0
mov edi, eax
call type_0_command
mov DWORD PTR -20[rbp], eax
cmp DWORD PTR -20[rbp], 0
je .L207
mov eax, -1
jmp .L208
.L207:
mov DWORD PTR -24[rbp], 0
jmp .L209
.L210:
mov eax, DWORD PTR -24[rbp]
movsx rdx, eax
mov rax, QWORD PTR -48[rbp]
lea rbx, [rdx+rax]
mov edi, 248
call send_receive
mov BYTE PTR [rbx], al
add DWORD PTR -24[rbp], 1
.L209:
mov eax, DWORD PTR -24[rbp]
cmp eax, DWORD PTR -40[rbp]
jl .L210
mov eax, 0
.L208:
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE44:
.size type_1_command, .-type_1_command
.type reset_cm260, @function
reset_cm260:
.LFB45:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, DWORD PTR cm206_base[rip]
add eax, 8
mov esi, eax
mov edi, 11009
call outw
mov edi, 10
call udelay@PLT
mov eax, DWORD PTR cm206_base[rip]
add eax, 8
mov esi, eax
mov edi, 10497
call outw
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE45:
.size reset_cm260, .-reset_cm260
.type fsm, @function
fsm:
.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 -4[rbp], edi
mov QWORD PTR -16[rbp], rsi
mov eax, DWORD PTR -4[rbp]
movsx rdx, eax
imul rdx, rdx, 458129845
shr rdx, 32
sar edx, 3
mov ecx, eax
sar ecx, 31
sub edx, ecx
imul ecx, edx, 75
sub eax, ecx
mov edx, eax
mov rax, QWORD PTR -16[rbp]
mov BYTE PTR [rax], dl
mov eax, DWORD PTR -4[rbp]
movsx rdx, eax
imul rdx, rdx, 458129845
shr rdx, 32
sar edx, 3
sar eax, 31
mov ecx, eax
mov eax, edx
sub eax, ecx
mov DWORD PTR -4[rbp], eax
add DWORD PTR -4[rbp], 2
mov eax, DWORD PTR -4[rbp]
movsx rdx, eax
imul rdx, rdx, -2004318071
shr rdx, 32
add edx, eax
sar edx, 5
mov ecx, eax
sar ecx, 31
sub edx, ecx
imul ecx, edx, 60
sub eax, ecx
mov edx, eax
mov rax, QWORD PTR -16[rbp]
add rax, 1
mov BYTE PTR [rax], dl
mov eax, DWORD PTR -4[rbp]
movsx rdx, eax
imul rdx, rdx, -2004318071
shr rdx, 32
add edx, eax
sar edx, 5
sar eax, 31
sub edx, eax
mov rax, QWORD PTR -16[rbp]
add rax, 2
mov BYTE PTR [rax], dl
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE46:
.size fsm, .-fsm
.type fsm2lba, @function
fsm2lba:
.LFB47:
.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]
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
lea ecx, -2[rax]
mov rax, QWORD PTR -8[rbp]
add rax, 2
movzx eax, BYTE PTR [rax]
movzx eax, al
imul eax, eax, 60
add eax, ecx
imul eax, eax, 75
add eax, edx
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE47:
.size fsm2lba, .-fsm2lba
.type f_s_m2lba, @function
f_s_m2lba:
.LFB48:
.cfi_startproc
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov ecx, esi
mov eax, edx
mov edx, edi
mov BYTE PTR -4[rbp], dl
mov edx, ecx
mov BYTE PTR -8[rbp], dl
mov BYTE PTR -12[rbp], al
movzx edx, BYTE PTR -4[rbp]
movzx eax, BYTE PTR -8[rbp]
lea ecx, -2[rax]
movzx eax, BYTE PTR -12[rbp]
imul eax, eax, 60
add eax, ecx
imul eax, eax, 75
add eax, edx
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE48:
.size f_s_m2lba, .-f_s_m2lba
.type start_read, @function
start_read:
.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, 48
mov DWORD PTR -36[rbp], edi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov BYTE PTR -12[rbp], 32
mov DWORD PTR -28[rbp], 1
jmp .L220
.L221:
mov eax, DWORD PTR -28[rbp]
mov BYTE PTR -12[rbp+rax], 0
add DWORD PTR -28[rbp], 1
.L220:
cmp DWORD PTR -28[rbp], 3
jbe .L221
lea rax, -12[rbp]
lea rdx, 1[rax]
mov eax, DWORD PTR -36[rbp]
mov rsi, rdx
mov edi, eax
call fsm
call clear_ur
mov DWORD PTR -24[rbp], 0
jmp .L222
.L225:
mov eax, DWORD PTR -24[rbp]
cdqe
movzx eax, BYTE PTR -12[rbp+rax]
movzx eax, al
mov edi, eax
call send_receive
mov BYTE PTR -30[rbp], al
movzx eax, BYTE PTR -30[rbp]
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -24[rbp]
cdqe
movzx eax, BYTE PTR -12[rbp+rax]
movzx eax, al
cmp DWORD PTR -20[rbp], eax
je .L223
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2488[rax]
add edx, 1
mov DWORD PTR 2488[rax], edx
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2628[rax]
mov DWORD PTR -16[rbp], eax
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2628[rax]
add edx, 1
mov DWORD PTR 2628[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -16[rbp]
mov DWORD PTR 2572[rax], edx
cmp DWORD PTR -20[rbp], 255
jne .L223
call receive_echo
mov BYTE PTR -29[rbp], al
movzx eax, BYTE PTR -29[rbp]
mov DWORD PTR -20[rbp], eax
mov eax, DWORD PTR -24[rbp]
cdqe
movzx eax, BYTE PTR -12[rbp+rax]
movzx eax, al
cmp DWORD PTR -20[rbp], eax
je .L223
mov eax, -1
jmp .L226
.L223:
add DWORD PTR -24[rbp], 1
.L222:
cmp DWORD PTR -24[rbp], 3
jle .L225
mov eax, 0
.L226:
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L227
call __stack_chk_fail@PLT
.L227:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE49:
.size start_read, .-start_read
.type stop_read, @function
stop_read:
.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, 16
mov esi, 0
mov edi, 112
call type_0_command
call receive_echo
mov BYTE PTR -9[rbp], al
movzx eax, BYTE PTR -9[rbp]
mov DWORD PTR -8[rbp], eax
cmp DWORD PTR -8[rbp], 255
je .L229
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2508[rax]
add edx, 1
mov DWORD PTR 2508[rax], edx
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2628[rax]
mov DWORD PTR -4[rbp], eax
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2628[rax]
add edx, 1
mov DWORD PTR 2628[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -4[rbp]
mov DWORD PTR 2592[rax], edx
mov eax, -1
jmp .L230
.L229:
mov eax, 0
.L230:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE50:
.size stop_read, .-stop_read
.type read_background, @function
read_background:
.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, 32
mov DWORD PTR -20[rbp], edi
mov DWORD PTR -24[rbp], esi
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 2443[rax]
test al, al
je .L232
mov eax, -1
jmp .L233
.L232:
mov eax, DWORD PTR cm206_base[rip]
add eax, 8
mov esi, eax
mov edi, 10497
call outw
cmp DWORD PTR -24[rbp], 0
jne .L234
mov eax, DWORD PTR -20[rbp]
mov edi, eax
call start_read
mov DWORD PTR -8[rbp], eax
cmp DWORD PTR -8[rbp], 0
je .L234
mov eax, -2
jmp .L233
.L234:
mov eax, DWORD PTR -20[rbp]
mov DWORD PTR -4[rbp], eax
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -4[rbp]
mov DWORD PTR 2448[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -4[rbp]
mov DWORD PTR 2444[rax], edx
mov rax, QWORD PTR cd[rip]
mov BYTE PTR 2443[rax], 1
mov eax, 0
.L233:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE51:
.size read_background, .-read_background
.type read_sector, @function
read_sector:
.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, 48
mov DWORD PTR -36[rbp], edi
mov DWORD PTR -28[rbp], 0
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 2443[rax]
test al, al
je .L236
mov rax, QWORD PTR cd[rip]
mov BYTE PTR 2443[rax], 0
mov rax, QWORD PTR cd[rip]
mov DWORD PTR 2448[rax], -1
call stop_read
.L236:
mov rax, QWORD PTR cd[rip]
mov BYTE PTR 2452[rax], 0
call reset_cm260
mov eax, DWORD PTR -36[rbp]
mov edi, eax
call start_read
mov DWORD PTR -24[rbp], eax
cmp DWORD PTR -24[rbp], 0
je .L237
mov eax, -1
jmp .L238
.L237:
mov rax, QWORD PTR cd[rip]
add rax, 2392
mov esi, 300
mov rdi, rax
call sleep_or_timeout
mov DWORD PTR -20[rbp], eax
cmp DWORD PTR -20[rbp], 0
je .L239
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2500[rax]
add edx, 1
mov DWORD PTR 2500[rax], edx
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2628[rax]
mov DWORD PTR -4[rbp], eax
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2628[rax]
add edx, 1
mov DWORD PTR 2628[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -4[rbp]
mov DWORD PTR 2584[rax], edx
call stop_read
mov eax, -3
jmp .L238
.L239:
add DWORD PTR -28[rbp], 1
mov rax, QWORD PTR cd[rip]
movzx eax, WORD PTR [rax]
movzx eax, ax
and eax, 4096
test eax, eax
je .L244
cmp DWORD PTR -28[rbp], 99
jg .L245
jmp .L237
.L244:
nop
jmp .L242
.L245:
nop
.L242:
mov rax, QWORD PTR cd[rip]
add rax, 20
mov edx, DWORD PTR cm206_base[rip]
add edx, 4
mov ecx, edx
mov edx, 1176
mov rsi, rax
mov edi, ecx
call insw@PLT
mov eax, DWORD PTR -36[rbp]
add eax, 1
mov esi, 1
mov edi, eax
call read_background
mov DWORD PTR -16[rbp], eax
cmp DWORD PTR -16[rbp], 0
je .L243
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2524[rax]
add edx, 1
mov DWORD PTR 2524[rax], edx
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2628[rax]
mov DWORD PTR -12[rbp], eax
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2628[rax]
add edx, 1
mov DWORD PTR 2628[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -12[rbp]
mov DWORD PTR 2608[rax], edx
.L243:
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -36[rbp]
mov DWORD PTR 2372[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -36[rbp]
add edx, 1
mov DWORD PTR 2376[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2520[rax]
add edx, 1
mov DWORD PTR 2520[rax], edx
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2628[rax]
mov DWORD PTR -8[rbp], eax
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2628[rax]
add edx, 1
mov DWORD PTR 2628[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -8[rbp]
mov DWORD PTR 2604[rax], edx
mov eax, 0
.L238:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE52:
.size read_sector, .-read_sector
.type cm206_tasklet_func, @function
cm206_tasklet_func:
.LFB53:
.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 cd[rip]
movzx eax, BYTE PTR 2443[rax]
movsx eax, al
cmp eax, 4
je .L247
cmp eax, 4
jg .L258
cmp eax, 3
je .L249
cmp eax, 3
jg .L258
cmp eax, 1
je .L250
cmp eax, 2
je .L251
jmp .L258
.L250:
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2528[rax]
add edx, 1
mov DWORD PTR 2528[rax], edx
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2628[rax]
mov DWORD PTR -4[rbp], eax
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2628[rax]
add edx, 1
mov DWORD PTR 2628[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -4[rbp]
mov DWORD PTR 2612[rax], edx
mov rax, QWORD PTR cd[rip]
movzx eax, WORD PTR 2[rax]
movzx eax, ax
and eax, 1
test eax, eax
jne .L252
mov rax, QWORD PTR cd[rip]
mov DWORD PTR 12[rax], 112
mov eax, DWORD PTR cm206_base[rip]
mov edi, eax
call inw
mov WORD PTR -14[rbp], ax
mov eax, DWORD PTR cm206_base[rip]
add eax, 8
mov edx, eax
movzx eax, WORD PTR -14[rbp]
and eax, 127
or ah, 40
movzx eax, ax
mov esi, edx
mov edi, eax
call outw
mov rax, QWORD PTR cd[rip]
mov BYTE PTR 2443[rax], 2
jmp .L248
.L252:
mov eax, DWORD PTR cm206_base[rip]
add eax, 10
mov esi, eax
mov edi, 112
call outw
.L251:
mov rax, QWORD PTR cd[rip]
mov BYTE PTR 2443[rax], 3
jmp .L248
.L249:
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR 9[rax]
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 8[rax]
cmp dl, al
je .L253
mov rdx, QWORD PTR cd[rip]
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 9[rax]
movzx eax, al
cdqe
movzx eax, BYTE PTR 4[rdx+rax]
cmp al, 112
je .L254
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2488[rax]
add edx, 1
mov DWORD PTR 2488[rax], edx
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2628[rax]
mov DWORD PTR -8[rbp], eax
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2628[rax]
add edx, 1
mov DWORD PTR 2628[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -8[rbp]
mov DWORD PTR 2572[rax], edx
.L254:
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR 9[rax]
mov rax, QWORD PTR cd[rip]
add edx, 1
mov BYTE PTR 9[rax], dl
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR 9[rax]
mov rax, QWORD PTR cd[rip]
and edx, 3
mov BYTE PTR 9[rax], dl
.L253:
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 2443[rax]
lea edx, 1[rax]
mov rax, QWORD PTR cd[rip]
mov BYTE PTR 2443[rax], dl
jmp .L248
.L247:
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR 9[rax]
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 8[rax]
cmp dl, al
je .L255
mov rdx, QWORD PTR cd[rip]
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 9[rax]
movzx eax, al
cdqe
movzx eax, BYTE PTR 4[rdx+rax]
cmp al, -1
je .L256
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2508[rax]
add edx, 1
mov DWORD PTR 2508[rax], edx
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2628[rax]
mov DWORD PTR -12[rbp], eax
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2628[rax]
add edx, 1
mov DWORD PTR 2628[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -12[rbp]
mov DWORD PTR 2592[rax], edx
.L256:
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR 9[rax]
mov rax, QWORD PTR cd[rip]
add edx, 1
mov BYTE PTR 9[rax], dl
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR 9[rax]
mov rax, QWORD PTR cd[rip]
and edx, 3
mov BYTE PTR 9[rax], dl
.L255:
mov rax, QWORD PTR cd[rip]
mov BYTE PTR 2443[rax], 0
.L248:
nop
.L258:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE53:
.size cm206_tasklet_func, .-cm206_tasklet_func
.type get_drive_status, @function
get_drive_status:
.LFB54:
.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, -10[rbp]
mov rdx, rax
mov esi, 2
mov edi, 80
call type_1_command
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR -10[rbp]
mov BYTE PTR 10[rax], dl
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR -9[rbp]
mov BYTE PTR 11[rax], dl
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 3152[rax]
mov edx, eax
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 10[rax]
movzx eax, al
and eax, 168
test eax, eax
setne al
or edx, eax
mov rax, QWORD PTR cd[rip]
mov BYTE PTR 3152[rax], dl
nop
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L261
call __stack_chk_fail@PLT
.L261:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE54:
.size get_drive_status, .-get_drive_status
.type get_disc_status, @function
get_disc_status:
.LFB55:
.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 cd[rip]
add rax, 2453
mov rdx, rax
mov esi, 7
mov edi, 81
call type_1_command
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE55:
.size get_disc_status, .-get_disc_status
.type cm206_open, @function
cm206_open:
.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, 32
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 16[rax]
test eax, eax
jne .L265
mov rax, QWORD PTR cd[rip]
mov BYTE PTR 2443[rax], 0
call reset_cm260
mov rax, QWORD PTR cd[rip]
mov DWORD PTR 2448[rax], -1
mov rax, QWORD PTR cd[rip]
mov DWORD PTR 2376[rax], -1
.L265:
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 16[rax]
add edx, 1
mov DWORD PTR 16[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2532[rax]
add edx, 1
mov DWORD PTR 2532[rax], edx
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2628[rax]
mov DWORD PTR -4[rbp], eax
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2628[rax]
add edx, 1
mov DWORD PTR 2628[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -4[rbp]
mov DWORD PTR 2616[rax], edx
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE56:
.size cm206_open, .-cm206_open
.type cm206_release, @function
cm206_release:
.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, 16
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 16[rax]
cmp eax, 1
jne .L268
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 2443[rax]
test al, al
je .L269
mov rax, QWORD PTR cd[rip]
mov BYTE PTR 2443[rax], 0
call stop_read
.L269:
mov rax, QWORD PTR cd[rip]
mov DWORD PTR 2376[rax], -1
mov rax, QWORD PTR cd[rip]
mov BYTE PTR 2454[rax], 0
.L268:
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 16[rax]
sub edx, 1
mov DWORD PTR 16[rax], edx
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE57:
.size cm206_release, .-cm206_release
.type empty_buffer, @function
empty_buffer:
.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 DWORD PTR -20[rbp], edi
jmp .L272
.L273:
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 2452[rax]
movsx edx, al
mov eax, 1176
sub eax, edx
cdqe
mov rdx, QWORD PTR cd[rip]
lea rcx, 20[rdx]
mov rdx, QWORD PTR cd[rip]
movzx edx, BYTE PTR 2452[rdx]
movsx rdx, dl
add rdx, rdx
add rcx, rdx
mov edx, DWORD PTR cm206_base[rip]
add edx, 4
mov edi, edx
mov rdx, rax
mov rsi, rcx
call insw@PLT
sub DWORD PTR -20[rbp], 1
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2444[rax]
add edx, 1
mov DWORD PTR 2444[rax], edx
mov rax, QWORD PTR cd[rip]
mov BYTE PTR 2452[rax], 0
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2516[rax]
add edx, 1
mov DWORD PTR 2516[rax], edx
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2628[rax]
mov DWORD PTR -4[rbp], eax
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2628[rax]
add edx, 1
mov DWORD PTR 2628[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -4[rbp]
mov DWORD PTR 2600[rax], edx
.L272:
cmp DWORD PTR -20[rbp], 0
jns .L273
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2444[rax]
mov rax, QWORD PTR cd[rip]
sub edx, 1
mov DWORD PTR 2372[rax], edx
mov rdx, QWORD PTR cd[rip]
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2444[rdx]
mov DWORD PTR 2376[rax], edx
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE58:
.size empty_buffer, .-empty_buffer
.type try_adapter, @function
try_adapter:
.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 DWORD PTR -20[rbp], edi
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2444[rax]
cmp DWORD PTR -20[rbp], eax
jl .L284
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2448[rax]
cmp DWORD PTR -20[rbp], eax
jge .L285
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2444[rax]
mov eax, DWORD PTR -20[rbp]
sub eax, edx
mov edi, eax
call empty_buffer
mov eax, 0
jmp .L278
.L284:
nop
jmp .L276
.L285:
nop
.L276:
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 2443[rax]
cmp al, 1
jne .L279
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2444[rax]
cmp DWORD PTR -20[rbp], eax
jl .L280
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2444[rax]
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 2441[rax]
movsx eax, al
add eax, edx
cmp DWORD PTR -20[rbp], eax
jge .L281
mov rax, QWORD PTR cd[rip]
mov BYTE PTR 2442[rax], 1
jmp .L282
.L283:
mov rax, QWORD PTR cd[rip]
add rax, 2392
mov esi, 300
mov rdi, rax
call sleep_or_timeout
mov DWORD PTR -8[rbp], eax
cmp DWORD PTR -8[rbp], 0
je .L282
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2512[rax]
add edx, 1
mov DWORD PTR 2512[rax], edx
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2628[rax]
mov DWORD PTR -4[rbp], eax
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2628[rax]
add edx, 1
mov DWORD PTR 2628[rax], edx
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -4[rbp]
mov DWORD PTR 2596[rax], edx
mov rax, QWORD PTR cd[rip]
mov BYTE PTR 2442[rax], 0
mov eax, -1
jmp .L278
.L282:
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2448[rax]
cmp DWORD PTR -20[rbp], eax
jge .L283
mov rax, QWORD PTR cd[rip]
mov BYTE PTR 2442[rax], 0
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR 2444[rax]
mov eax, DWORD PTR -20[rbp]
sub eax, edx
mov edi, eax
call empty_buffer
mov eax, 0
jmp .L278
.L281:
mov eax, -2
jmp .L278
.L280:
mov eax, -2
jmp .L278
.L279:
mov eax, -2
.L278:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE59:
.size try_adapter, .-try_adapter
.type do_cm206_request, @function
do_cm206_request:
.LFB60:
.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
.L298:
mov rax, QWORD PTR -72[rbp]
mov rdi, rax
call elv_next_request@PLT
mov QWORD PTR -32[rbp], rax
cmp QWORD PTR -32[rbp], 0
je .L300
mov rax, QWORD PTR -32[rbp]
add rax, 118
test rax, rax
je .L289
mov rax, QWORD PTR -32[rbp]
mov esi, 0
mov rdi, rax
call end_request
jmp .L290
.L289:
mov rax, QWORD PTR -72[rbp]
mov rax, QWORD PTR 64[rax]
mov rdi, rax
call spin_unlock_irq
mov DWORD PTR -56[rbp], 0
mov QWORD PTR -40[rbp], 0
jmp .L291
.L297:
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR 80[rax]
mov rax, QWORD PTR -40[rbp]
add rax, rdx
shr rax, 2
mov QWORD PTR -24[rbp], rax
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR 80[rax]
mov rax, QWORD PTR -40[rbp]
add rax, rdx
and eax, 3
mov DWORD PTR -52[rbp], eax
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR 104[rax]
mov rax, QWORD PTR -40[rbp]
sal rax, 9
add rax, rdx
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2372[rax]
cdqe
cmp QWORD PTR -24[rbp], rax
jl .L301
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2376[rax]
cdqe
cmp QWORD PTR -24[rbp], rax
jge .L302
mov rax, QWORD PTR cd[rip]
lea rsi, 20[rax]
mov eax, DWORD PTR -52[rbp]
sal eax, 9
movsx rdx, eax
mov rax, QWORD PTR cd[rip]
mov eax, DWORD PTR 2372[rax]
movsx rcx, eax
mov rax, QWORD PTR -24[rbp]
sub rax, rcx
imul rax, rax, 2352
add rax, rdx
add rax, 16
add rax, rsi
mov QWORD PTR -8[rbp], rax
mov rcx, QWORD PTR -8[rbp]
mov rax, QWORD PTR -16[rbp]
mov edx, 512
mov rsi, rcx
mov rdi, rax
call memcpy@PLT
jmp .L294
.L301:
nop
jmp .L292
.L302:
nop
.L292:
mov rax, QWORD PTR -24[rbp]
mov edi, eax
call try_adapter
mov DWORD PTR -48[rbp], eax
cmp DWORD PTR -48[rbp], 0
je .L295
mov rax, QWORD PTR -24[rbp]
mov edi, eax
call read_sector
mov DWORD PTR -44[rbp], eax
cmp DWORD PTR -44[rbp], 0
je .L296
mov DWORD PTR -56[rbp], 1
jmp .L294
.L296:
mov rax, QWORD PTR cd[rip]
lea rdx, 20[rax]
mov eax, DWORD PTR -52[rbp]
sal eax, 9
cdqe
add rax, 16
add rax, rdx
mov QWORD PTR -8[rbp], rax
mov rcx, QWORD PTR -8[rbp]
mov rax, QWORD PTR -16[rbp]
mov edx, 512
mov rsi, rcx
mov rdi, rax
call memcpy@PLT
jmp .L294
.L295:
mov rax, QWORD PTR cd[rip]
lea rdx, 20[rax]
mov eax, DWORD PTR -52[rbp]
sal eax, 9
cdqe
add rax, 16
add rax, rdx
mov QWORD PTR -8[rbp], rax
mov rcx, QWORD PTR -8[rbp]
mov rax, QWORD PTR -16[rbp]
mov edx, 512
mov rsi, rcx
mov rdi, rax
call memcpy@PLT
.L294:
add QWORD PTR -40[rbp], 1
.L291:
mov rax, QWORD PTR -32[rbp]
mov rdx, QWORD PTR 88[rax]
mov rax, QWORD PTR -40[rbp]
cmp rdx, rax
ja .L297
mov rax, QWORD PTR -72[rbp]
mov rax, QWORD PTR 64[rax]
mov rdi, rax
call spin_lock_irq
cmp DWORD PTR -56[rbp], 0
sete al
movzx edx, al
mov rax, QWORD PTR -32[rbp]
mov esi, edx
mov rdi, rax
call end_request
.L290:
jmp .L298
.L300:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE60:
.size do_cm206_request, .-do_cm206_request
.type seek, @function
seek:
.LFB61:
.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 rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov BYTE PTR -12[rbp], 16
mov DWORD PTR -16[rbp], 1
jmp .L304
.L305:
mov eax, DWORD PTR -16[rbp]
mov BYTE PTR -12[rbp+rax], 0
add DWORD PTR -16[rbp], 1
.L304:
cmp DWORD PTR -16[rbp], 3
jbe .L305
lea rax, -12[rbp]
lea rdx, 1[rax]
mov eax, DWORD PTR -36[rbp]
mov rsi, rdx
mov edi, eax
call fsm
mov DWORD PTR -20[rbp], 0
jmp .L306
.L307:
mov eax, DWORD PTR -20[rbp]
cdqe
movzx eax, BYTE PTR -12[rbp+rax]
movzx eax, al
mov esi, 0
mov edi, eax
call type_0_command
add DWORD PTR -20[rbp], 1
.L306:
cmp DWORD PTR -20[rbp], 3
jle .L307
call wait_dsb
mov BYTE PTR -21[rbp], al
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR -21[rbp]
mov BYTE PTR 10[rax], dl
nop
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L309
call __stack_chk_fail@PLT
.L309:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE61:
.size seek, .-seek
.type bcdbin, @function
bcdbin:
.LFB62:
.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 BYTE PTR -4[rbp], al
movzx eax, BYTE PTR -4[rbp]
shr al, 4
mov edx, eax
mov eax, edx
sal eax, 2
add eax, edx
add eax, eax
mov edx, eax
movzx eax, BYTE PTR -4[rbp]
and eax, 15
add eax, edx
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE62:
.size bcdbin, .-bcdbin
.type normalize_track, @function
normalize_track:
.LFB63:
.cfi_startproc
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, edi
mov BYTE PTR -4[rbp], al
cmp BYTE PTR -4[rbp], 0
jne .L313
mov eax, 1
jmp .L314
.L313:
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 2455[rax]
cmp BYTE PTR -4[rbp], al
jbe .L315
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 2455[rax]
add eax, 1
jmp .L314
.L315:
movzx eax, BYTE PTR -4[rbp]
.L314:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE63:
.size normalize_track, .-normalize_track
.type get_toc_lba, @function
get_toc_lba:
.LFB64:
.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 eax, edi
mov BYTE PTR -52[rbp], al
mov DWORD PTR -44[rbp], 332850
mov rax, QWORD PTR cd[rip]
add rax, 2638
mov rdi, rax
call fsm2lba
mov DWORD PTR -24[rbp], eax
mov eax, DWORD PTR -24[rbp]
mov DWORD PTR -40[rbp], eax
mov DWORD PTR -20[rbp], 0
mov rax, QWORD PTR cd[rip]
add rax, 3137
mov QWORD PTR -8[rbp], rax
mov DWORD PTR -28[rbp], 0
mov DWORD PTR -16[rbp], 13500
movzx eax, BYTE PTR -52[rbp]
mov DWORD PTR -36[rbp], eax
jmp .L317
.L320:
mov rcx, QWORD PTR cd[rip]
mov eax, DWORD PTR -36[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
add rax, rcx
add rax, 2632
movzx eax, BYTE PTR [rax]
test al, al
je .L318
mov rcx, QWORD PTR cd[rip]
mov eax, DWORD PTR -36[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
add rax, 2624
add rax, rcx
add rax, 9
mov rdi, rax
call fsm2lba
mov DWORD PTR -40[rbp], eax
jmp .L319
.L318:
sub DWORD PTR -36[rbp], 1
.L317:
cmp DWORD PTR -36[rbp], 0
jg .L320
.L319:
mov edx, DWORD PTR -40[rbp]
mov eax, DWORD PTR -16[rbp]
add eax, edx
mov DWORD PTR -32[rbp], eax
.L330:
mov eax, DWORD PTR -32[rbp]
mov edi, eax
call seek
mov rax, QWORD PTR -8[rbp]
mov rdx, rax
mov esi, 10
mov edi, 65
call type_1_command
mov rax, QWORD PTR -8[rbp]
add rax, 1
movzx eax, BYTE PTR [rax]
movzx eax, al
mov edi, eax
call normalize_track
mov BYTE PTR -48[rbp], al
mov rcx, QWORD PTR cd[rip]
movzx eax, BYTE PTR -48[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
add rax, rcx
add rax, 2632
movzx eax, BYTE PTR [rax]
test al, al
jne .L321
mov rax, QWORD PTR -8[rbp]
add rax, 5
movzx eax, BYTE PTR [rax]
movzx eax, al
mov edi, eax
call bcdbin
mov BYTE PTR -47[rbp], al
mov rax, QWORD PTR -8[rbp]
add rax, 4
movzx eax, BYTE PTR [rax]
movzx eax, al
mov edi, eax
call bcdbin
mov BYTE PTR -46[rbp], al
mov rax, QWORD PTR -8[rbp]
add rax, 3
movzx eax, BYTE PTR [rax]
movzx eax, al
mov edi, eax
call bcdbin
mov BYTE PTR -45[rbp], al
mov rax, QWORD PTR -8[rbp]
add rax, 9
movzx eax, BYTE PTR [rax]
movzx eax, al
movzx edx, BYTE PTR -47[rbp]
sub eax, edx
mov ecx, eax
mov rax, QWORD PTR -8[rbp]
add rax, 8
movzx eax, BYTE PTR [rax]
movzx eax, al
movzx edx, BYTE PTR -46[rbp]
sub eax, edx
lea esi, -2[rax]
mov rax, QWORD PTR -8[rbp]
add rax, 7
movzx eax, BYTE PTR [rax]
movzx eax, al
movzx edx, BYTE PTR -45[rbp]
sub eax, edx
imul eax, eax, 60
add eax, esi
imul eax, eax, 75
add eax, ecx
mov DWORD PTR -12[rbp], eax
mov rsi, QWORD PTR cd[rip]
movzx ecx, BYTE PTR -48[rbp]
mov rax, QWORD PTR -8[rbp]
movzx edx, BYTE PTR 1[rax]
movsx rcx, ecx
mov rax, rcx
sal rax, 2
add rax, rcx
add rax, rsi
add rax, 2632
mov BYTE PTR [rax], dl
mov rcx, QWORD PTR cd[rip]
movzx eax, BYTE PTR -48[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
add rax, 2624
add rax, rcx
lea rdx, 9[rax]
mov eax, DWORD PTR -12[rbp]
mov rsi, rdx
mov edi, eax
call fsm
mov rsi, QWORD PTR cd[rip]
movzx ecx, BYTE PTR -48[rbp]
mov rax, QWORD PTR -8[rbp]
movzx edx, BYTE PTR [rax]
movsx rcx, ecx
mov rax, rcx
sal rax, 2
add rax, rcx
add rax, rsi
add rax, 2636
mov BYTE PTR [rax], dl
movzx eax, BYTE PTR -48[rbp]
cmp al, BYTE PTR -52[rbp]
jne .L321
mov eax, DWORD PTR -12[rbp]
jmp .L322
.L321:
mov eax, DWORD PTR -32[rbp]
mov DWORD PTR -20[rbp], eax
cmp DWORD PTR -28[rbp], 0
je .L323
movzx eax, BYTE PTR -48[rbp]
cmp al, BYTE PTR -52[rbp]
jnb .L324
mov eax, DWORD PTR -32[rbp]
mov DWORD PTR -40[rbp], eax
jmp .L325
.L324:
mov eax, DWORD PTR -32[rbp]
mov DWORD PTR -44[rbp], eax
.L325:
mov edx, DWORD PTR -40[rbp]
mov eax, DWORD PTR -44[rbp]
add eax, edx
mov edx, eax
shr edx, 31
add eax, edx
sar eax
mov DWORD PTR -32[rbp], eax
jmp .L326
.L323:
movzx eax, BYTE PTR -48[rbp]
cmp al, BYTE PTR -52[rbp]
jnb .L327
mov eax, DWORD PTR -16[rbp]
add DWORD PTR -32[rbp], eax
jmp .L326
.L327:
mov DWORD PTR -28[rbp], 1
mov eax, DWORD PTR -32[rbp]
mov DWORD PTR -44[rbp], eax
mov eax, DWORD PTR -32[rbp]
sub eax, DWORD PTR -16[rbp]
mov DWORD PTR -40[rbp], eax
mov edx, DWORD PTR -40[rbp]
mov eax, DWORD PTR -44[rbp]
add eax, edx
mov edx, eax
shr edx, 31
add eax, edx
sar eax
mov DWORD PTR -32[rbp], eax
.L326:
mov eax, DWORD PTR -32[rbp]
cmp eax, DWORD PTR -20[rbp]
je .L332
jmp .L330
.L332:
nop
mov eax, DWORD PTR -32[rbp]
.L322:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE64:
.size get_toc_lba, .-get_toc_lba
.type update_toc_entry, @function
update_toc_entry:
.LFB65:
.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, edi
mov BYTE PTR -4[rbp], al
movzx eax, BYTE PTR -4[rbp]
mov edi, eax
call normalize_track
mov BYTE PTR -4[rbp], al
mov rcx, QWORD PTR cd[rip]
movzx eax, BYTE PTR -4[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
add rax, rcx
add rax, 2632
movzx eax, BYTE PTR [rax]
test al, al
jne .L336
movzx eax, BYTE PTR -4[rbp]
mov edi, eax
call get_toc_lba
nop
.L336:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE65:
.size update_toc_entry, .-update_toc_entry
.type read_toc_header, @function
read_toc_header:
.LFB66:
.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 cd[rip]
movzx eax, BYTE PTR 2454[rax]
test al, al
jne .L338
call get_disc_status
.L338:
cmp QWORD PTR -24[rbp], 0
je .L339
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR 2454[rax]
mov rax, QWORD PTR -24[rbp]
mov BYTE PTR [rax], dl
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR 2455[rax]
mov rax, QWORD PTR -24[rbp]
mov BYTE PTR 1[rax], dl
mov DWORD PTR -4[rbp], 0
jmp .L340
.L341:
mov rcx, QWORD PTR cd[rip]
mov eax, DWORD PTR -4[rbp]
add eax, 3
mov rdx, QWORD PTR cd[rip]
cdqe
movzx ecx, BYTE PTR 2453[rcx+rax]
mov eax, DWORD PTR -4[rbp]
cdqe
mov BYTE PTR 2638[rdx+rax], cl
add DWORD PTR -4[rbp], 1
.L340:
cmp DWORD PTR -4[rbp], 2
jle .L341
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 2455[rax]
add eax, 1
movzx eax, al
mov edi, eax
call update_toc_entry
mov eax, 0
jmp .L342
.L339:
mov eax, -1
.L342:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE66:
.size read_toc_header, .-read_toc_header
.type play_from_to_msf, @function
play_from_to_msf:
.LFB67:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov QWORD PTR -40[rbp], rdi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov BYTE PTR -17[rbp], 48
mov rax, QWORD PTR -40[rbp]
movzx eax, BYTE PTR 2[rax]
mov BYTE PTR -16[rbp], al
mov rax, QWORD PTR -40[rbp]
movzx eax, BYTE PTR 1[rax]
mov BYTE PTR -15[rbp], al
mov rax, QWORD PTR -40[rbp]
movzx eax, BYTE PTR [rax]
mov BYTE PTR -14[rbp], al
mov rax, QWORD PTR -40[rbp]
movzx eax, BYTE PTR 5[rax]
mov BYTE PTR -13[rbp], al
mov rax, QWORD PTR -40[rbp]
movzx eax, BYTE PTR 4[rax]
mov BYTE PTR -12[rbp], al
mov rax, QWORD PTR -40[rbp]
movzx eax, BYTE PTR 3[rax]
mov BYTE PTR -11[rbp], al
mov BYTE PTR -10[rbp], 2
mov BYTE PTR -9[rbp], 2
mov DWORD PTR -24[rbp], 0
jmp .L344
.L345:
mov eax, DWORD PTR -24[rbp]
cdqe
movzx eax, BYTE PTR -17[rbp+rax]
movzx eax, al
mov esi, 0
mov edi, eax
call type_0_command
add DWORD PTR -24[rbp], 1
.L344:
cmp DWORD PTR -24[rbp], 8
jle .L345
mov DWORD PTR -24[rbp], 0
jmp .L346
.L347:
mov eax, DWORD PTR -24[rbp]
add eax, 4
mov rdx, QWORD PTR cd[rip]
cdqe
movzx ecx, BYTE PTR -17[rbp+rax]
mov eax, DWORD PTR -24[rbp]
cdqe
mov BYTE PTR 2633[rdx+rax], cl
add DWORD PTR -24[rbp], 1
.L346:
cmp DWORD PTR -24[rbp], 2
jle .L347
mov rax, QWORD PTR cd[rip]
mov BYTE PTR 2632[rax], 0
call wait_dsb
mov BYTE PTR -25[rbp], al
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR -25[rbp]
mov BYTE PTR 10[rax], dl
nop
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L349
call __stack_chk_fail@PLT
.L349:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE67:
.size play_from_to_msf, .-play_from_to_msf
.type play_from_to_track, @function
play_from_to_track:
.LFB68:
.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 rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov BYTE PTR -16[rbp], 48
mov DWORD PTR -24[rbp], 1
jmp .L351
.L352:
mov eax, DWORD PTR -24[rbp]
mov BYTE PTR -16[rbp+rax], 0
add DWORD PTR -24[rbp], 1
.L351:
cmp DWORD PTR -24[rbp], 7
jbe .L352
cmp DWORD PTR -36[rbp], 0
jne .L353
mov DWORD PTR -20[rbp], 0
jmp .L354
.L355:
mov rdx, QWORD PTR cd[rip]
mov eax, DWORD PTR -20[rbp]
lea esi, 2[rax]
mov eax, DWORD PTR -20[rbp]
lea ecx, 1[rax]
movsx rax, esi
movzx edx, BYTE PTR 3147[rdx+rax]
movsx rax, ecx
mov BYTE PTR -16[rbp+rax], dl
mov rdx, QWORD PTR cd[rip]
mov eax, DWORD PTR -20[rbp]
lea ecx, 4[rax]
mov eax, DWORD PTR -20[rbp]
cdqe
movzx edx, BYTE PTR 2633[rdx+rax]
movsx rax, ecx
mov BYTE PTR -16[rbp+rax], dl
add DWORD PTR -20[rbp], 1
.L354:
cmp DWORD PTR -20[rbp], 2
jle .L355
jmp .L356
.L353:
mov eax, DWORD PTR -36[rbp]
movzx eax, al
mov edi, eax
call update_toc_entry
mov eax, DWORD PTR -40[rbp]
add eax, 1
movzx eax, al
mov edi, eax
call update_toc_entry
mov DWORD PTR -20[rbp], 0
jmp .L357
.L358:
mov rdi, QWORD PTR cd[rip]
mov eax, DWORD PTR -20[rbp]
lea ecx, 1[rax]
mov eax, DWORD PTR -20[rbp]
movsx rsi, eax
mov eax, DWORD PTR -36[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
add rax, rdi
add rax, rsi
add rax, 2633
movzx edx, BYTE PTR [rax]
movsx rax, ecx
mov BYTE PTR -16[rbp+rax], dl
mov rsi, QWORD PTR cd[rip]
mov eax, DWORD PTR -40[rbp]
lea edx, 1[rax]
mov eax, DWORD PTR -20[rbp]
movsx rcx, eax
movsx rdx, edx
mov rax, rdx
sal rax, 2
add rax, rdx
add rax, rsi
add rax, rcx
add rax, 2633
movzx eax, BYTE PTR [rax]
mov BYTE PTR -26[rbp], al
mov eax, DWORD PTR -20[rbp]
add eax, 4
cdqe
movzx edx, BYTE PTR -26[rbp]
mov BYTE PTR -16[rbp+rax], dl
mov rdx, QWORD PTR cd[rip]
mov eax, DWORD PTR -20[rbp]
cdqe
movzx ecx, BYTE PTR -26[rbp]
mov BYTE PTR 2633[rdx+rax], cl
add DWORD PTR -20[rbp], 1
.L357:
cmp DWORD PTR -20[rbp], 2
jle .L358
mov rax, QWORD PTR cd[rip]
mov edx, DWORD PTR -40[rbp]
mov BYTE PTR 2632[rax], dl
.L356:
mov DWORD PTR -20[rbp], 0
jmp .L359
.L360:
mov eax, DWORD PTR -20[rbp]
cdqe
movzx eax, BYTE PTR -16[rbp+rax]
movzx eax, al
mov esi, 0
mov edi, eax
call type_0_command
add DWORD PTR -20[rbp], 1
.L359:
cmp DWORD PTR -20[rbp], 6
jle .L360
mov DWORD PTR -20[rbp], 0
jmp .L361
.L362:
mov esi, 0
mov edi, 2
call type_0_command
add DWORD PTR -20[rbp], 1
.L361:
cmp DWORD PTR -20[rbp], 1
jle .L362
call wait_dsb
mov BYTE PTR -25[rbp], al
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR -25[rbp]
mov BYTE PTR 10[rax], dl
nop
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L364
call __stack_chk_fail@PLT
.L364:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE68:
.size play_from_to_track, .-play_from_to_track
.type get_current_q, @function
get_current_q:
.LFB69:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
push rbx
sub rsp, 40
.cfi_offset 3, -24
mov QWORD PTR -40[rbp], rdi
mov rax, QWORD PTR cd[rip]
add rax, 3137
mov QWORD PTR -24[rbp], rax
mov rax, QWORD PTR -24[rbp]
mov rdx, rax
mov esi, 10
mov edi, 65
call type_1_command
mov DWORD PTR -28[rbp], eax
cmp DWORD PTR -28[rbp], 0
je .L366
mov eax, 0
jmp .L367
.L366:
mov DWORD PTR -32[rbp], 2
jmp .L368
.L369:
mov eax, DWORD PTR -32[rbp]
movsx rdx, eax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
movzx eax, al
mov edx, DWORD PTR -32[rbp]
movsx rcx, edx
mov rdx, QWORD PTR -24[rbp]
lea rbx, [rcx+rdx]
mov edi, eax
call bcdbin
mov BYTE PTR [rbx], al
add DWORD PTR -32[rbp], 1
.L368:
cmp DWORD PTR -32[rbp], 5
jle .L369
mov rax, QWORD PTR -24[rbp]
movzx eax, BYTE PTR [rax]
and eax, 15
mov edx, eax
mov rax, QWORD PTR -40[rbp]
mov ecx, edx
and ecx, 15
movzx edx, BYTE PTR 2[rax]
and edx, -16
or edx, ecx
mov BYTE PTR 2[rax], dl
mov rax, QWORD PTR -24[rbp]
movzx eax, BYTE PTR [rax]
shr al, 4
and eax, 15
mov edx, eax
mov rax, QWORD PTR -40[rbp]
mov ecx, edx
sal ecx, 4
movzx edx, BYTE PTR 2[rax]
and edx, 15
or edx, ecx
mov BYTE PTR 2[rax], dl
mov rax, QWORD PTR -24[rbp]
movzx edx, BYTE PTR 1[rax]
mov rax, QWORD PTR -40[rbp]
mov BYTE PTR 3[rax], dl
mov rax, QWORD PTR -24[rbp]
movzx edx, BYTE PTR 2[rax]
mov rax, QWORD PTR -40[rbp]
mov BYTE PTR 4[rax], dl
mov rax, QWORD PTR -40[rbp]
movzx eax, BYTE PTR [rax]
cmp al, 2
jne .L370
mov rax, QWORD PTR -24[rbp]
movzx edx, BYTE PTR 3[rax]
mov rax, QWORD PTR -40[rbp]
mov BYTE PTR 12[rax], dl
mov rax, QWORD PTR -24[rbp]
movzx edx, BYTE PTR 4[rax]
mov rax, QWORD PTR -40[rbp]
mov BYTE PTR 13[rax], dl
mov rax, QWORD PTR -24[rbp]
movzx edx, BYTE PTR 5[rax]
mov rax, QWORD PTR -40[rbp]
mov BYTE PTR 14[rax], dl
mov rax, QWORD PTR -24[rbp]
movzx edx, BYTE PTR 7[rax]
mov rax, QWORD PTR -40[rbp]
mov BYTE PTR 8[rax], dl
mov rax, QWORD PTR -24[rbp]
movzx edx, BYTE PTR 8[rax]
mov rax, QWORD PTR -40[rbp]
mov BYTE PTR 9[rax], dl
mov rax, QWORD PTR -24[rbp]
movzx edx, BYTE PTR 9[rax]
mov rax, QWORD PTR -40[rbp]
mov BYTE PTR 10[rax], dl
jmp .L371
.L370:
mov rax, QWORD PTR -24[rbp]
add rax, 3
movzx eax, BYTE PTR [rax]
movzx edx, al
mov rax, QWORD PTR -24[rbp]
add rax, 4
movzx eax, BYTE PTR [rax]
movzx ecx, al
mov rax, QWORD PTR -24[rbp]
add rax, 5
movzx eax, BYTE PTR [rax]
movzx eax, al
mov esi, ecx
mov edi, eax
call f_s_m2lba
mov rdx, QWORD PTR -40[rbp]
mov DWORD PTR 12[rdx], eax
mov rax, QWORD PTR -24[rbp]
add rax, 7
movzx eax, BYTE PTR [rax]
movzx edx, al
mov rax, QWORD PTR -24[rbp]
add rax, 8
movzx eax, BYTE PTR [rax]
movzx ecx, al
mov rax, QWORD PTR -24[rbp]
add rax, 9
movzx eax, BYTE PTR [rax]
movzx eax, al
mov esi, ecx
mov edi, eax
call f_s_m2lba
mov rdx, QWORD PTR -40[rbp]
mov DWORD PTR 8[rdx], eax
.L371:
call get_drive_status
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 10[rax]
movzx eax, al
and eax, 4
test eax, eax
je .L372
mov rax, QWORD PTR -40[rbp]
mov BYTE PTR 1[rax], 17
jmp .L373
.L372:
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 3147[rax]
test al, al
je .L374
mov rax, QWORD PTR -40[rbp]
mov BYTE PTR 1[rax], 18
jmp .L373
.L374:
mov rax, QWORD PTR -40[rbp]
mov BYTE PTR 1[rax], 21
.L373:
mov eax, 0
.L367:
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE69:
.size get_current_q, .-get_current_q
.type invalidate_toc, @function
invalidate_toc:
.LFB70:
.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 cd[rip]
add rax, 2632
mov edx, 505
mov esi, 0
mov rdi, rax
call memset@PLT
mov rax, QWORD PTR cd[rip]
add rax, 2453
mov edx, 7
mov esi, 0
mov rdi, rax
call memset@PLT
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE70:
.size invalidate_toc, .-invalidate_toc
.type get_toc_entry, @function
get_toc_entry:
.LFB71:
.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]
movzx eax, BYTE PTR [rax]
movzx eax, al
mov edi, eax
call normalize_track
mov BYTE PTR -2[rbp], al
movzx eax, BYTE PTR -2[rbp]
mov BYTE PTR -1[rbp], al
movzx eax, BYTE PTR -1[rbp]
mov edi, eax
call update_toc_entry
mov rcx, QWORD PTR cd[rip]
movzx eax, BYTE PTR -1[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
add rax, rcx
add rax, 2633
movzx edx, BYTE PTR [rax]
mov rax, QWORD PTR -24[rbp]
mov BYTE PTR 6[rax], dl
mov rcx, QWORD PTR cd[rip]
movzx eax, BYTE PTR -1[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
add rax, rcx
add rax, 2634
movzx edx, BYTE PTR [rax]
mov rax, QWORD PTR -24[rbp]
mov BYTE PTR 5[rax], dl
mov rcx, QWORD PTR cd[rip]
movzx eax, BYTE PTR -1[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
add rax, rcx
add rax, 2635
movzx edx, BYTE PTR [rax]
mov rax, QWORD PTR -24[rbp]
mov BYTE PTR 4[rax], dl
mov rcx, QWORD PTR cd[rip]
movzx eax, BYTE PTR -1[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
add rax, rcx
add rax, 2636
movzx eax, BYTE PTR [rax]
and eax, 15
mov edx, eax
mov rax, QWORD PTR -24[rbp]
mov ecx, edx
and ecx, 15
movzx edx, BYTE PTR 1[rax]
and edx, -16
or edx, ecx
mov BYTE PTR 1[rax], dl
mov rcx, QWORD PTR cd[rip]
movzx eax, BYTE PTR -1[rbp]
movsx rdx, eax
mov rax, rdx
sal rax, 2
add rax, rdx
add rax, rcx
add rax, 2636
movzx eax, BYTE PTR [rax]
shr al, 4
and eax, 15
mov edx, eax
mov rax, QWORD PTR -24[rbp]
mov ecx, edx
sal ecx, 4
movzx edx, BYTE PTR 1[rax]
and edx, 15
or edx, ecx
mov BYTE PTR 1[rax], dl
mov rax, QWORD PTR -24[rbp]
mov BYTE PTR 8[rax], 0
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE71:
.size get_toc_entry, .-get_toc_entry
.type cm206_audio_ioctl, @function
cm206_audio_ioctl:
.LFB72:
.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 eax, DWORD PTR -28[rbp]
sub eax, 21249
cmp eax, 10
ja .L380
mov eax, eax
lea rdx, 0[0+rax*4]
lea rax, .L382[rip]
mov eax, DWORD PTR [rdx+rax]
cdqe
lea rdx, .L382[rip]
add rax, rdx
notrack jmp rax
.section .rodata
.align 4
.align 4
.L382:
.long .L390-.L382
.long .L389-.L382
.long .L388-.L382
.long .L387-.L382
.long .L386-.L382
.long .L385-.L382
.long .L384-.L382
.long .L383-.L382
.long .L380-.L382
.long .L383-.L382
.long .L381-.L382
.text
.L386:
mov rax, QWORD PTR -40[rbp]
mov rdi, rax
call read_toc_header
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
jmp .L391
.L385:
mov rax, QWORD PTR -40[rbp]
mov rdi, rax
call get_toc_entry
mov eax, 0
jmp .L391
.L388:
mov rax, QWORD PTR -40[rbp]
mov rdi, rax
call play_from_to_msf
mov eax, 0
jmp .L391
.L387:
mov rax, QWORD PTR -40[rbp]
movzx eax, BYTE PTR 2[rax]
movzx edx, al
mov rax, QWORD PTR -40[rbp]
movzx eax, BYTE PTR [rax]
movzx eax, al
mov esi, edx
mov edi, eax
call play_from_to_track
mov eax, 0
jmp .L391
.L384:
mov rax, QWORD PTR cd[rip]
mov BYTE PTR 3147[rax], 0
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 10[rax]
movzx eax, al
and eax, 4
test eax, eax
je .L392
mov esi, 1
mov edi, 112
call type_0_command
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -8[rbp]
jmp .L391
.L392:
mov eax, 0
jmp .L391
.L390:
call get_drive_status
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 10[rax]
movzx eax, al
and eax, 4
test eax, eax
je .L393
mov esi, 1
mov edi, 112
call type_0_command
mov rax, QWORD PTR cd[rip]
add rax, 3147
mov rdx, rax
mov esi, 5
mov edi, 82
call type_1_command
mov rax, QWORD PTR cd[rip]
mov BYTE PTR 3147[rax], 1
.L393:
mov eax, 0
jmp .L391
.L389:
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 3147[rax]
test al, al
je .L394
mov esi, 0
mov edi, 0
call play_from_to_track
.L394:
mov rax, QWORD PTR cd[rip]
mov BYTE PTR 3147[rax], 0
mov eax, 0
jmp .L391
.L383:
mov eax, 0
jmp .L391
.L381:
mov rax, QWORD PTR -40[rbp]
mov rdi, rax
call get_current_q
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -12[rbp]
jmp .L391
.L380:
mov eax, -22
.L391:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE72:
.size cm206_audio_ioctl, .-cm206_audio_ioctl
.type cm206_media_changed, @function
cm206_media_changed:
.LFB73:
.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 cd[rip]
test rax, rax
je .L396
call get_drive_status
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 3152[rax]
movzx eax, al
mov DWORD PTR -4[rbp], eax
mov rax, QWORD PTR cd[rip]
mov BYTE PTR 3152[rax], 0
mov eax, DWORD PTR -4[rbp]
jmp .L397
.L396:
mov eax, -5
.L397:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE73:
.size cm206_media_changed, .-cm206_media_changed
.type cm206_tray_move, @function
cm206_tray_move:
.LFB74:
.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 DWORD PTR -12[rbp], esi
cmp DWORD PTR -12[rbp], 0
je .L399
mov esi, 1
mov edi, 5
call type_0_command
call invalidate_toc
jmp .L400
.L399:
mov esi, 1
mov edi, 0
call type_0_command
.L400:
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE74:
.size cm206_tray_move, .-cm206_tray_move
.type cm206_drive_status, @function
cm206_drive_status:
.LFB75:
.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 DWORD PTR -12[rbp], esi
call get_drive_status
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 10[rax]
test al, al
jns .L403
mov eax, 2
jmp .L404
.L403:
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 10[rax]
movzx eax, al
and eax, 16
test eax, eax
jne .L405
mov eax, 1
jmp .L404
.L405:
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 10[rax]
movzx eax, al
and eax, 32
test eax, eax
je .L406
mov eax, 3
jmp .L404
.L406:
mov eax, 4
.L404:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE75:
.size cm206_drive_status, .-cm206_drive_status
.type cm206_lock_door, @function
cm206_lock_door:
.LFB76:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
cmp DWORD PTR -28[rbp], 0
je .L408
mov DWORD PTR -4[rbp], 1
jmp .L409
.L408:
mov DWORD PTR -4[rbp], 4
.L409:
mov eax, DWORD PTR -4[rbp]
mov BYTE PTR -5[rbp], al
movzx eax, BYTE PTR -5[rbp]
mov esi, 1
mov edi, eax
call type_0_command
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 10[rax]
movzx eax, al
and eax, 64
test eax, eax
setne al
movzx eax, al
xor eax, DWORD PTR -28[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE76:
.size cm206_lock_door, .-cm206_lock_door
.type cm206_get_last_session, @function
cm206_get_last_session:
.LFB77:
.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 rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 2454[rax]
test al, al
jne .L412
call get_disc_status
.L412:
cmp QWORD PTR -16[rbp], 0
je .L413
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 2453[rax]
movzx eax, al
and eax, 2
test eax, eax
je .L414
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR 2456[rax]
mov rax, QWORD PTR -16[rbp]
mov BYTE PTR 2[rax], dl
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR 2457[rax]
mov rax, QWORD PTR -16[rbp]
mov BYTE PTR 1[rax], dl
mov rax, QWORD PTR cd[rip]
movzx edx, BYTE PTR 2458[rax]
mov rax, QWORD PTR -16[rbp]
mov BYTE PTR [rax], dl
mov rax, QWORD PTR -16[rbp]
mov BYTE PTR 5[rax], 2
mov rax, QWORD PTR -16[rbp]
mov BYTE PTR 4[rax], 1
jmp .L415
.L414:
mov rax, QWORD PTR -16[rbp]
mov BYTE PTR 4[rax], 0
.L415:
mov eax, 1
jmp .L416
.L413:
mov eax, 0
.L416:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE77:
.size cm206_get_last_session, .-cm206_get_last_session
.type cm206_get_upc, @function
cm206_get_upc:
.LFB78:
.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 -64[rbp]
mov QWORD PTR -32[rbp], rax
lea rax, -18[rbp]
mov rdx, rax
mov esi, 10
mov edi, 96
call type_1_command
mov DWORD PTR -44[rbp], eax
cmp DWORD PTR -44[rbp], 0
je .L418
mov eax, -5
jmp .L424
.L418:
mov DWORD PTR -48[rbp], 0
jmp .L420
.L423:
mov eax, DWORD PTR -48[rbp]
mov edx, eax
shr edx, 31
add eax, edx
sar eax
add eax, 1
mov DWORD PTR -40[rbp], eax
mov eax, DWORD PTR -48[rbp]
cdq
shr edx, 31
add eax, edx
and eax, 1
sub eax, edx
mov DWORD PTR -36[rbp], eax
cmp DWORD PTR -36[rbp], 0
je .L421
mov eax, DWORD PTR -40[rbp]
cdqe
movzx eax, BYTE PTR -18[rbp+rax]
and eax, 15
mov edx, eax
mov eax, DWORD PTR -48[rbp]
movsx rcx, eax
mov rax, QWORD PTR -32[rbp]
add rax, rcx
or edx, 48
mov BYTE PTR [rax], dl
jmp .L422
.L421:
mov eax, DWORD PTR -40[rbp]
cdqe
movzx eax, BYTE PTR -18[rbp+rax]
shr al, 4
mov ecx, eax
mov eax, DWORD PTR -48[rbp]
movsx rdx, eax
mov rax, QWORD PTR -32[rbp]
add rax, rdx
or ecx, 48
mov edx, ecx
mov BYTE PTR [rax], dl
.L422:
add DWORD PTR -48[rbp], 1
.L420:
cmp DWORD PTR -48[rbp], 12
jle .L423
mov rax, QWORD PTR -32[rbp]
add rax, 13
mov BYTE PTR [rax], 0
mov eax, 0
.L424:
mov rsi, QWORD PTR -8[rbp]
sub rsi, QWORD PTR fs:40
je .L425
call __stack_chk_fail@PLT
.L425:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE78:
.size cm206_get_upc, .-cm206_get_upc
.type cm206_reset, @function
cm206_reset:
.LFB79:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
call stop_read
call reset_cm260
mov eax, DWORD PTR cm206_base[rip]
add eax, 8
mov esi, eax
mov edi, 11521
call outw
nop
mov eax, DWORD PTR cm206_base[rip]
add eax, 8
mov esi, eax
mov edi, 10497
call outw
mov rax, QWORD PTR cd[rip]
mov DWORD PTR 2376[rax], -1
mov rax, QWORD PTR cd[rip]
mov DWORD PTR 2448[rax], -1
call invalidate_toc
mov eax, 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE79:
.size cm206_reset, .-cm206_reset
.type cm206_select_speed, @function
cm206_select_speed:
.LFB80:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
cmp DWORD PTR -28[rbp], 2
je .L429
cmp DWORD PTR -28[rbp], 2
jg .L430
cmp DWORD PTR -28[rbp], 0
je .L431
cmp DWORD PTR -28[rbp], 1
je .L432
jmp .L430
.L431:
mov esi, 1
mov edi, 35
call type_0_command
mov DWORD PTR -4[rbp], eax
jmp .L433
.L432:
mov esi, 1
mov edi, 33
call type_0_command
mov DWORD PTR -4[rbp], eax
jmp .L433
.L429:
mov esi, 1
mov edi, 34
call type_0_command
mov DWORD PTR -4[rbp], eax
jmp .L433
.L430:
mov eax, -1
jmp .L434
.L433:
cmp DWORD PTR -4[rbp], 0
jns .L435
mov eax, DWORD PTR -4[rbp]
jmp .L434
.L435:
mov eax, 1
.L434:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE80:
.size cm206_select_speed, .-cm206_select_speed
.section .data.rel.local
.align 32
.type cm206_dops, @object
.size cm206_dops, 120
cm206_dops:
.quad cm206_open
.quad cm206_release
.quad cm206_drive_status
.quad cm206_media_changed
.quad cm206_tray_move
.quad cm206_lock_door
.quad cm206_select_speed
.quad 0
.quad cm206_get_last_session
.quad cm206_get_upc
.quad cm206_reset
.quad cm206_audio_ioctl
.quad 0
.long 2543
.long 1
.quad 0
.align 32
.type cm206_info, @object
.size cm206_info, 104
cm206_info:
.quad cm206_dops
.quad 0
.quad 0
.quad 0
.long 0
.long 2
.long 1
.byte 0
.byte 0
.byte 0
.byte 0
.long 0
.string "cm206"
.string ""
.zero 13
.byte 0
.zero 3
.long 0
.byte 0
.byte 0
.value 0
.long 0
.quad 0
.long 0
.zero 4
.text
.type cm206_block_open, @function
cm206_block_open:
.LFB81:
.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, rax
lea rdi, cm206_info[rip]
call cdrom_open@PLT
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE81:
.size cm206_block_open, .-cm206_block_open
.type cm206_block_release, @function
cm206_block_release:
.LFB82:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov rax, QWORD PTR -32[rbp]
mov rsi, rax
lea rdi, cm206_info[rip]
call cdrom_release@PLT
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE82:
.size cm206_block_release, .-cm206_block_release
.type cm206_block_ioctl, @function
cm206_block_ioctl:
.LFB83:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov DWORD PTR -36[rbp], edx
mov QWORD PTR -48[rbp], rcx
cmp DWORD PTR -36[rbp], 8192
je .L441
cmp DWORD PTR -36[rbp], 8193
je .L442
nop
mov rsi, QWORD PTR -48[rbp]
mov ecx, DWORD PTR -36[rbp]
mov rdx, QWORD PTR -24[rbp]
mov rax, QWORD PTR -32[rbp]
mov r8, rsi
lea rsi, cm206_info[rip]
mov rdi, rax
call cdrom_ioctl@PLT
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
jmp .L445
.L441:
cmp QWORD PTR -48[rbp], 20
jbe .L444
mov eax, -22
jmp .L445
.L444:
mov rax, QWORD PTR cd[rip]
mov rdx, QWORD PTR -48[rbp]
add rdx, 612
mov eax, DWORD PTR 12[rax+rdx*4]
jmp .L445
.L442:
cmp QWORD PTR -48[rbp], 20
jbe .L446
mov eax, -22
jmp .L445
.L446:
mov rax, QWORD PTR cd[rip]
mov rdx, QWORD PTR -48[rbp]
add rdx, 636
mov eax, DWORD PTR [rax+rdx*4]
.L445:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE83:
.size cm206_block_ioctl, .-cm206_block_ioctl
.type cm206_block_media_changed, @function
cm206_block_media_changed:
.LFB84:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
lea rdi, cm206_info[rip]
call cdrom_media_changed@PLT
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE84:
.size cm206_block_media_changed, .-cm206_block_media_changed
.section .data.rel.local
.align 32
.type cm206_bdops, @object
.size cm206_bdops, 80
cm206_bdops:
.quad cm206_block_open
.quad cm206_block_release
.quad cm206_block_ioctl
.quad 0
.quad 0
.quad 0
.quad cm206_block_media_changed
.quad 0
.quad 0
.quad 0
.local cm206_gendisk
.comm cm206_gendisk,8,8
.section .rodata
.LC1:
.string "cm206"
.text
.type probe_base_port, @function
probe_base_port:
.LFB85:
.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 -16[rbp], 768
mov DWORD PTR -12[rbp], 880
cmp DWORD PTR -36[rbp], 0
je .L451
mov eax, DWORD PTR -36[rbp]
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR -12[rbp]
mov DWORD PTR -16[rbp], eax
.L451:
mov eax, DWORD PTR -16[rbp]
mov DWORD PTR -36[rbp], eax
jmp .L452
.L460:
mov eax, DWORD PTR -36[rbp]
cdqe
lea rdx, .LC1[rip]
mov esi, 16
mov rdi, rax
call request_region
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
je .L461
mov DWORD PTR -20[rbp], 0
jmp .L455
.L456:
mov eax, DWORD PTR -36[rbp]
add eax, 2
mov edi, eax
call inw
mov WORD PTR -26[rbp], ax
movzx eax, WORD PTR -26[rbp]
mov DWORD PTR -24[rbp], eax
mov eax, DWORD PTR -20[rbp]
add eax, 1
mov DWORD PTR -20[rbp], eax
.L455:
mov eax, DWORD PTR -20[rbp]
cmp eax, 2
jle .L456
mov eax, DWORD PTR -36[rbp]
add eax, 6
mov edi, eax
call inw
mov WORD PTR -30[rbp], ax
movzx eax, WORD PTR -30[rbp]
and eax, 65519
cmp eax, 1
je .L457
mov eax, DWORD PTR -36[rbp]
cdqe
mov esi, 16
mov rdi, rax
call release_region
jmp .L454
.L457:
mov eax, DWORD PTR -36[rbp]
mov edi, eax
call inw
mov WORD PTR -28[rbp], ax
movzx eax, WORD PTR -28[rbp]
and eax, 44288
test eax, eax
je .L458
mov eax, DWORD PTR -36[rbp]
cdqe
mov esi, 16
mov rdi, rax
call release_region
jmp .L454
.L458:
mov eax, DWORD PTR -36[rbp]
jmp .L459
.L461:
nop
.L454:
add DWORD PTR -36[rbp], 16
.L452:
mov eax, DWORD PTR -36[rbp]
cmp eax, DWORD PTR -12[rbp]
jle .L460
mov eax, 0
.L459:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE85:
.size probe_base_port, .-probe_base_port
.type probe_irq, @function
probe_irq:
.LFB86:
.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 cm206_base[rip]
add eax, 8
mov esi, eax
mov edi, 10497
call outw
call sti@PLT
call probe_irq_on@PLT
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR -16[rbp], eax
call reset_cm260
mov edi, 100
call udelay@PLT
mov eax, DWORD PTR -16[rbp]
cdqe
mov rdi, rax
call probe_irq_off@PLT
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR cm206_base[rip]
add eax, 8
mov esi, eax
mov edi, 10497
call outw
cmp DWORD PTR -20[rbp], 0
je .L463
mov eax, DWORD PTR -12[rbp]
cmp eax, DWORD PTR -20[rbp]
je .L464
cmp DWORD PTR -12[rbp], 0
jle .L465
mov eax, 0
jmp .L466
.L465:
mov eax, DWORD PTR -12[rbp]
jmp .L466
.L464:
mov eax, DWORD PTR -12[rbp]
jmp .L466
.L463:
mov eax, DWORD PTR -12[rbp]
.L466:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE86:
.size probe_irq, .-probe_irq
.section .rodata
.align 8
.LC2:
.string "<6>cm206 cdrom driver $Revision: 1.5 $"
.LC3:
.string " can't find adapter!\n"
.LC4:
.string " adapter at 0x%x"
.LC5:
.string "can't find IRQ!\n"
.LC6:
.string " IRQ %d found\n"
.LC7:
.string "<6> drive not there\n"
.LC8:
.string "<6>Firmware revision %d"
.LC9:
.string " double"
.LC10:
.string " single"
.LC11:
.string " speed drive"
.LC12:
.string ", motorized tray"
.align 8
.LC13:
.string "\nUnable to reserve IRQ---aborted\n"
.LC14:
.string ".\n"
.LC15:
.string "cm206cd"
.align 8
.LC16:
.string "<6>Cannot register for cdrom %d!\n"
.align 8
.LC17:
.string "<6>%d kB adapter memory available, %ld bytes kernel memory used.\n"
.text
.globl cm206_init
.type cm206_init, @function
cm206_init:
.LFB87:
.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 BYTE PTR -48[rbp], 0
mov QWORD PTR -24[rbp], 3160
lea rdi, .LC2[rip]
mov eax, 0
call printk@PLT
mov eax, DWORD PTR auto_probe[rip]
test eax, eax
je .L468
mov DWORD PTR -44[rbp], 0
jmp .L469
.L468:
mov eax, DWORD PTR cm206_base[rip]
mov DWORD PTR -44[rbp], eax
.L469:
mov eax, DWORD PTR -44[rbp]
mov edi, eax
call probe_base_port
mov DWORD PTR cm206_base[rip], eax
mov eax, DWORD PTR cm206_base[rip]
test eax, eax
jne .L470
lea rdi, .LC3[rip]
mov eax, 0
call printk@PLT
mov eax, -5
jmp .L471
.L470:
mov eax, DWORD PTR cm206_base[rip]
mov esi, eax
lea rdi, .LC4[rip]
mov eax, 0
call printk@PLT
mov rax, QWORD PTR -24[rbp]
mov esi, 208
mov edi, eax
call kmalloc
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -16[rbp]
mov QWORD PTR cd[rip], rax
mov rax, QWORD PTR cd[rip]
test rax, rax
je .L494
mov eax, DWORD PTR auto_probe[rip]
test eax, eax
je .L474
mov DWORD PTR -40[rbp], 0
jmp .L475
.L474:
mov eax, DWORD PTR cm206_irq[rip]
mov DWORD PTR -40[rbp], eax
.L475:
mov eax, DWORD PTR -40[rbp]
mov edi, eax
call probe_irq
mov DWORD PTR cm206_irq[rip], eax
mov eax, DWORD PTR cm206_irq[rip]
test eax, eax
jg .L476
lea rdi, .LC5[rip]
mov eax, 0
call printk@PLT
jmp .L477
.L476:
mov eax, DWORD PTR cm206_irq[rip]
mov esi, eax
lea rdi, .LC6[rip]
mov eax, 0
call printk@PLT
mov edi, 83
call send_receive_polled
mov BYTE PTR -47[rbp], al
cmp BYTE PTR -47[rbp], 83
je .L478
lea rdi, .LC7[rip]
mov eax, 0
call printk@PLT
jmp .L477
.L478:
mov edi, 248
call send_receive_polled
mov BYTE PTR -48[rbp], al
movzx eax, BYTE PTR -48[rbp]
and eax, 7
mov esi, eax
lea rdi, .LC8[rip]
mov eax, 0
call printk@PLT
movzx eax, BYTE PTR -48[rbp]
and eax, 96
test eax, eax
je .L479
lea rdi, .LC9[rip]
mov eax, 0
call printk@PLT
jmp .L480
.L479:
lea rdi, .LC10[rip]
mov eax, 0
call printk@PLT
.L480:
lea rdi, .LC11[rip]
mov eax, 0
call printk@PLT
movzx eax, BYTE PTR -48[rbp]
test al, al
jns .L481
lea rdi, .LC12[rip]
mov eax, 0
call printk@PLT
.L481:
mov eax, DWORD PTR cm206_irq[rip]
mov r8d, 0
lea rcx, .LC1[rip]
mov edx, 0
lea rsi, cm206_interrupt[rip]
mov edi, eax
call request_irq
mov DWORD PTR -36[rbp], eax
cmp DWORD PTR -36[rbp], 0
je .L482
lea rdi, .LC13[rip]
mov eax, 0
call printk@PLT
jmp .L477
.L482:
lea rdi, .LC14[rip]
mov eax, 0
call printk@PLT
lea rsi, .LC1[rip]
mov edi, 32
call register_blkdev
mov DWORD PTR -32[rbp], eax
cmp DWORD PTR -32[rbp], 0
jne .L495
mov edi, 1
call alloc_disk
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
je .L496
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR [rax], 32
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR 4[rax], 0
mov rax, QWORD PTR -8[rbp]
add rax, 12
lea rsi, .LC15[rip]
mov rdi, rax
mov eax, 0
call sprintf@PLT
mov rax, QWORD PTR -8[rbp]
lea rdx, cm206_bdops[rip]
mov QWORD PTR 48[rax], rdx
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR 72[rax], 8
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR cm206_gendisk[rip], rax
lea rdi, cm206_info[rip]
call register_cdrom@PLT
mov DWORD PTR -28[rbp], eax
cmp DWORD PTR -28[rbp], 0
je .L487
mov esi, 32
lea rdi, .LC16[rip]
mov eax, 0
call printk@PLT
jmp .L488
.L487:
lea rsi, cm206_lock[rip]
lea rdi, do_cm206_request[rip]
call blk_init_queue
mov QWORD PTR cm206_queue[rip], rax
mov rax, QWORD PTR cm206_queue[rip]
test rax, rax
je .L497
mov rax, QWORD PTR cm206_queue[rip]
mov esi, 2048
mov rdi, rax
call blk_queue_hardsect_size
mov rdx, QWORD PTR cm206_queue[rip]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 56[rax], rdx
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call add_disk
mov rax, QWORD PTR cd[rip]
mov edx, 3160
mov esi, 0
mov rdi, rax
call memset@PLT
mov rax, QWORD PTR cd[rip]
mov DWORD PTR 2376[rax], -1
mov rax, QWORD PTR cd[rip]
mov DWORD PTR 2448[rax], -1
mov rax, QWORD PTR cd[rip]
add rax, 2408
mov rdi, rax
call init_timer
mov rax, QWORD PTR cd[rip]
lea rdx, cm206_timeout[rip]
mov QWORD PTR 2416[rax], rdx
mov eax, DWORD PTR cm206_base[rip]
mov edi, eax
call inw
mov WORD PTR -46[rbp], ax
movzx eax, WORD PTR -46[rbp]
and eax, 16384
test eax, eax
je .L491
mov rax, QWORD PTR cd[rip]
mov BYTE PTR 2441[rax], 24
jmp .L492
.L491:
mov rax, QWORD PTR cd[rip]
mov BYTE PTR 2441[rax], 97
.L492:
mov rax, QWORD PTR cd[rip]
movzx eax, BYTE PTR 2441[rax]
movsx eax, al
lea ecx, [rax+rax]
mov rax, QWORD PTR -24[rbp]
mov rdx, rax
mov esi, ecx
lea rdi, .LC17[rip]
mov eax, 0
call printk@PLT
mov eax, 0
jmp .L471
.L497:
nop
.L490:
lea rdi, cm206_info[rip]
call unregister_cdrom@PLT
.L488:
mov rax, QWORD PTR -8[rbp]
mov rdi, rax
call put_disk@PLT
jmp .L486
.L496:
nop
.L486:
lea rsi, .LC1[rip]
mov edi, 32
call unregister_blkdev
jmp .L484
.L495:
nop
.L484:
mov eax, DWORD PTR cm206_irq[rip]
mov esi, 0
mov edi, eax
call free_irq
.L477:
mov rax, QWORD PTR cd[rip]
mov rdi, rax
call kfree@PLT
jmp .L473
.L494:
nop
.L473:
mov eax, DWORD PTR cm206_base[rip]
cdqe
mov esi, 16
mov rdi, rax
call release_region
mov eax, -5
.L471:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE87:
.size cm206_init, .-cm206_init
.type parse_options, @function
parse_options:
.LFB88:
.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
jmp .L499
.L504:
mov eax, DWORD PTR -4[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, cm206[rip]
mov eax, DWORD PTR [rdx+rax]
cmp eax, 767
jle .L506
cmp DWORD PTR -4[rbp], 880
jg .L507
mov eax, DWORD PTR -4[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, cm206[rip]
mov eax, DWORD PTR [rdx+rax]
and eax, 15
test eax, eax
jne .L508
mov eax, DWORD PTR -4[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, cm206[rip]
mov eax, DWORD PTR [rdx+rax]
mov DWORD PTR cm206_base[rip], eax
mov DWORD PTR auto_probe[rip], 0
jmp .L503
.L506:
nop
jmp .L500
.L507:
nop
jmp .L500
.L508:
nop
.L500:
mov eax, DWORD PTR -4[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, cm206[rip]
mov eax, DWORD PTR [rdx+rax]
cmp eax, 2
jle .L503
mov eax, DWORD PTR -4[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, cm206[rip]
mov eax, DWORD PTR [rdx+rax]
cmp eax, 15
jg .L503
mov eax, DWORD PTR -4[rbp]
cdqe
lea rdx, 0[0+rax*4]
lea rax, cm206[rip]
mov eax, DWORD PTR [rdx+rax]
mov DWORD PTR cm206_irq[rip], eax
mov DWORD PTR auto_probe[rip], 0
.L503:
add DWORD PTR -4[rbp], 1
.L499:
cmp DWORD PTR -4[rbp], 1
jle .L504
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE88:
.size parse_options, .-parse_options
.type __cm206_init, @function
__cm206_init:
.LFB89:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
call parse_options
call cm206_init
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE89:
.size __cm206_init, .-__cm206_init
.section .rodata
.LC18:
.string "Can't unregister cdrom cm206\n"
.LC19:
.string "Can't unregister major cm206\n"
.LC20:
.string "<6>cm206 removed\n"
.text
.type cm206_exit, @function
cm206_exit:
.LFB90:
.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 cm206_gendisk[rip]
mov rdi, rax
call del_gendisk
mov rax, QWORD PTR cm206_gendisk[rip]
mov rdi, rax
call put_disk@PLT
lea rdi, cm206_info[rip]
call unregister_cdrom@PLT
mov DWORD PTR -8[rbp], eax
cmp DWORD PTR -8[rbp], 0
je .L512
lea rdi, .LC18[rip]
mov eax, 0
call printk@PLT
jmp .L511
.L512:
lea rsi, .LC1[rip]
mov edi, 32
call unregister_blkdev
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], 0
je .L514
lea rdi, .LC19[rip]
mov eax, 0
call printk@PLT
jmp .L511
.L514:
mov rax, QWORD PTR cm206_queue[rip]
mov rdi, rax
call blk_cleanup_queue
mov eax, DWORD PTR cm206_irq[rip]
mov esi, 0
mov edi, eax
call free_irq
mov rax, QWORD PTR cd[rip]
mov rdi, rax
call kfree@PLT
mov eax, DWORD PTR cm206_base[rip]
cdqe
mov esi, 16
mov rdi, rax
call release_region
lea rdi, .LC20[rip]
mov eax, 0
call printk@PLT
nop
.L511:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE90:
.size cm206_exit, .-cm206_exit
.globl _ddv_tmp_init
.section .data.rel.local
.align 8
.type _ddv_tmp_init, @object
.size _ddv_tmp_init, 8
_ddv_tmp_init:
.quad __cm206_init
.globl _ddv_tmp_exit
.align 8
.type _ddv_tmp_exit, @object
.size _ddv_tmp_exit, 8
_ddv_tmp_exit:
.quad cm206_exit
.globl _ddv_module_param_major
.data
.align 4
.type _ddv_module_param_major, @object
.size _ddv_module_param_major, 4
_ddv_module_param_major:
.long 32
.text
.globl main
.type main, @function
main:
.LFB91:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
lea rax, __cm206_init[rip]
mov QWORD PTR _ddv_module_init[rip], rax
lea rax, cm206_exit[rip]
mov QWORD PTR _ddv_module_exit[rip], rax
call call_ddv
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE91:
.size main, .-main
.globl request_irq
.type request_irq, @function
request_irq:
.LFB92:
.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 -20[rbp], edi
mov QWORD PTR -32[rbp], rsi
mov QWORD PTR -40[rbp], rdx
mov QWORD PTR -48[rbp], rcx
mov QWORD PTR -56[rbp], r8
mov eax, 0
call nondet_int@PLT
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], 0
je .L518
mov eax, DWORD PTR -20[rbp]
sal rax, 4
mov rcx, rax
lea rdx, registered_irq[rip]
mov rax, QWORD PTR -32[rbp]
mov QWORD PTR [rcx+rdx], rax
mov eax, DWORD PTR -20[rbp]
sal rax, 4
mov rcx, rax
lea rdx, registered_irq[rip+8]
mov rax, QWORD PTR -56[rbp]
mov QWORD PTR [rcx+rdx], rax
mov eax, 0
jmp .L519
.L518:
mov eax, -1
.L519:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE92:
.size request_irq, .-request_irq
.globl free_irq
.type free_irq, @function
free_irq:
.LFB93:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov DWORD PTR -4[rbp], edi
mov QWORD PTR -16[rbp], rsi
mov eax, DWORD PTR -4[rbp]
sal rax, 4
mov rdx, rax
lea rax, registered_irq[rip]
mov QWORD PTR [rdx+rax], 0
mov eax, DWORD PTR -4[rbp]
sal rax, 4
mov rdx, rax
lea rax, registered_irq[rip+8]
mov QWORD PTR [rdx+rax], 0
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE93:
.size free_irq, .-free_irq
.globl proc_root_driver
.bss
.align 8
.type proc_root_driver, @object
.size proc_root_driver, 8
proc_root_driver:
.zero 8
.text
.globl misc_register
.type misc_register, @function
misc_register:
.LFB94:
.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 eax, DWORD PTR fixed_cdev_used[rip]
cmp eax, 9
jg .L523
mov eax, DWORD PTR fixed_cdev_used[rip]
mov DWORD PTR -12[rbp], eax
mov eax, DWORD PTR fixed_cdev_used[rip]
add eax, 1
mov DWORD PTR fixed_cdev_used[rip], eax
mov eax, DWORD PTR -12[rbp]
movsx rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
sal rax, 3
mov rdx, rax
lea rax, fixed_cdev[rip]
mov QWORD PTR [rdx+rax], 0
mov rax, QWORD PTR -24[rbp]
mov rdx, QWORD PTR 16[rax]
mov eax, DWORD PTR -12[rbp]
movsx rcx, eax
mov rax, rcx
add rax, rax
add rax, rcx
sal rax, 3
mov rcx, rax
lea rax, fixed_cdev[rip+8]
mov QWORD PTR [rcx+rax], rdx
mov rax, QWORD PTR -24[rbp]
mov eax, DWORD PTR [rax]
or eax, 10485760
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -12[rbp]
movsx rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
sal rax, 3
lea rdx, fixed_cdev[rip]
lea rcx, [rax+rdx]
mov eax, DWORD PTR -8[rbp]
mov edx, 0
mov esi, eax
mov rdi, rcx
call cdev_add@PLT
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
jmp .L524
.L523:
mov eax, -1
.L524:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE94:
.size misc_register, .-misc_register
.type assert_context_process, @function
assert_context_process:
.LFB95:
.cfi_startproc
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
.LFE95:
.size assert_context_process, .-assert_context_process
.globl ddv_ioport_request_start
.bss
.align 4
.type ddv_ioport_request_start, @object
.size ddv_ioport_request_start, 4
ddv_ioport_request_start:
.zero 4
.globl ddv_ioport_request_len
.align 4
.type ddv_ioport_request_len, @object
.size ddv_ioport_request_len, 4
ddv_ioport_request_len:
.zero 4
.text
.globl request_region
.type request_region, @function
request_region:
.LFB111:
.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 edi, 32
call malloc@PLT
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -16[rbp]
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -24[rbp]
mov DWORD PTR ddv_ioport_request_start[rip], eax
mov rax, QWORD PTR -32[rbp]
mov DWORD PTR ddv_ioport_request_len[rip], eax
mov rax, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE111:
.size request_region, .-request_region
.globl release_region
.type release_region, @function
release_region:
.LFB112:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov DWORD PTR -4[rbp], 0
mov DWORD PTR ddv_ioport_request_start[rip], 0
mov DWORD PTR ddv_ioport_request_len[rip], 0
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE112:
.size release_region, .-release_region
.section .rodata
.LC21:
.string "I/O port is requested"
.text
.globl inb
.type inb, @function
inb:
.LFB113:
.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 ddv_ioport_request_start[rip]
cmp DWORD PTR -20[rbp], eax
jb .L532
mov edx, DWORD PTR ddv_ioport_request_start[rip]
mov eax, DWORD PTR ddv_ioport_request_len[rip]
add eax, edx
cmp DWORD PTR -20[rbp], eax
jnb .L533
mov DWORD PTR -4[rbp], 1
jmp .L534
.L533:
mov DWORD PTR -4[rbp], 0
jmp .L534
.L532:
mov DWORD PTR -4[rbp], 0
.L534:
mov eax, DWORD PTR -4[rbp]
lea rsi, .LC21[rip]
mov edi, eax
mov eax, 0
call __CPROVER_assert@PLT
mov eax, 0
call nondet_uchar@PLT
mov BYTE PTR -5[rbp], al
movzx eax, BYTE PTR -5[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE113:
.size inb, .-inb
.globl inw
.type inw, @function
inw:
.LFB115:
.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 ddv_ioport_request_start[rip]
cmp DWORD PTR -20[rbp], eax
jb .L537
mov edx, DWORD PTR ddv_ioport_request_start[rip]
mov eax, DWORD PTR ddv_ioport_request_len[rip]
add eax, edx
cmp DWORD PTR -20[rbp], eax
jnb .L538
mov DWORD PTR -4[rbp], 1
jmp .L539
.L538:
mov DWORD PTR -4[rbp], 0
jmp .L539
.L537:
mov DWORD PTR -4[rbp], 0
.L539:
mov eax, DWORD PTR -4[rbp]
lea rsi, .LC21[rip]
mov edi, eax
mov eax, 0
call __CPROVER_assert@PLT
mov eax, 0
call nondet_ushort@PLT
mov WORD PTR -6[rbp], ax
movzx eax, WORD PTR -6[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE115:
.size inw, .-inw
.globl outw
.type outw, @function
outw:
.LFB116:
.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 eax, edi
mov DWORD PTR -24[rbp], esi
mov WORD PTR -20[rbp], ax
mov eax, DWORD PTR ddv_ioport_request_start[rip]
cmp DWORD PTR -24[rbp], eax
jb .L542
mov edx, DWORD PTR ddv_ioport_request_start[rip]
mov eax, DWORD PTR ddv_ioport_request_len[rip]
add eax, edx
cmp DWORD PTR -24[rbp], eax
jnb .L543
mov DWORD PTR -4[rbp], 1
jmp .L544
.L543:
mov DWORD PTR -4[rbp], 0
jmp .L544
.L542:
mov DWORD PTR -4[rbp], 0
.L544:
mov eax, DWORD PTR -4[rbp]
lea rsi, .LC21[rip]
mov edi, eax
mov eax, 0
call __CPROVER_assert@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE116:
.size outw, .-outw
.globl schedule
.type schedule, @function
schedule:
.LFB122:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
call assert_context_process
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE122:
.size schedule, .-schedule
.globl schedule_timeout
.type schedule_timeout, @function
schedule_timeout:
.LFB123:
.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
call assert_context_process
mov eax, 0
call nondet_long@PLT
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE123:
.size schedule_timeout, .-schedule_timeout
.globl kmalloc
.type kmalloc, @function
kmalloc:
.LFB131:
.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 eax, DWORD PTR -24[rbp]
and eax, 16
test eax, eax
je .L551
call assert_context_process
.L551:
mov eax, DWORD PTR -20[rbp]
mov edi, eax
call malloc@PLT
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE131:
.size kmalloc, .-kmalloc
.globl kzalloc
.type kzalloc, @function
kzalloc:
.LFB132:
.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 eax, DWORD PTR -24[rbp]
and eax, 16
test eax, eax
je .L554
call assert_context_process
.L554:
mov eax, DWORD PTR -20[rbp]
mov edi, eax
call malloc@PLT
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE132:
.size kzalloc, .-kzalloc
.globl tasklet_schedule
.type tasklet_schedule, @function
tasklet_schedule:
.LFB133:
.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], -1
mov DWORD PTR -8[rbp], 0
jmp .L557
.L561:
mov eax, DWORD PTR -8[rbp]
cdqe
sal rax, 4
mov rdx, rax
lea rax, tasklet_registered[rip]
mov rax, QWORD PTR [rdx+rax]
test rax, rax
jne .L558
mov eax, DWORD PTR -8[rbp]
mov DWORD PTR -4[rbp], eax
.L558:
mov eax, DWORD PTR -8[rbp]
cdqe
sal rax, 4
mov rdx, rax
lea rax, tasklet_registered[rip]
mov rax, QWORD PTR [rdx+rax]
mov rdx, rax
mov rax, QWORD PTR -24[rbp]
cmp rdx, rax
jne .L559
mov eax, DWORD PTR -8[rbp]
cdqe
sal rax, 4
mov rdx, rax
lea rax, tasklet_registered[rip+8]
movzx eax, WORD PTR [rdx+rax]
test ax, ax
je .L562
.L559:
add DWORD PTR -8[rbp], 1
.L557:
cmp DWORD PTR -8[rbp], 9
jle .L561
mov eax, DWORD PTR -4[rbp]
cdqe
sal rax, 4
mov rcx, rax
lea rdx, tasklet_registered[rip]
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR [rcx+rdx], rax
mov eax, DWORD PTR -4[rbp]
cdqe
sal rax, 4
mov rdx, rax
lea rax, tasklet_registered[rip+8]
mov WORD PTR [rdx+rax], 0
jmp .L556
.L562:
nop
.L556:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE133:
.size tasklet_schedule, .-tasklet_schedule
.globl spin_lock_init
.type spin_lock_init, @function
spin_lock_init:
.LFB135:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR [rax], 1
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR 4[rax], 0
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE135:
.size spin_lock_init, .-spin_lock_init
.globl spin_lock_irq
.type spin_lock_irq, @function
spin_lock_irq:
.LFB138:
.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
.L568:
mov eax, 0
call __CPROVER_atomic_begin@PLT
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 4[rax]
test eax, eax
jne .L566
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR 4[rax], 1
mov eax, 0
call __CPROVER_atomic_end@PLT
jmp .L569
.L566:
mov eax, 0
call __CPROVER_atomic_end@PLT
jmp .L568
.L569:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE138:
.size spin_lock_irq, .-spin_lock_irq
.globl spin_unlock_irq
.type spin_unlock_irq, @function
spin_unlock_irq:
.LFB141:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov eax, 0
call __CPROVER_atomic_begin@PLT
mov rax, QWORD PTR -8[rbp]
mov DWORD PTR 4[rax], 0
mov eax, 0
call __CPROVER_atomic_end@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE141:
.size spin_unlock_irq, .-spin_unlock_irq
.globl call_tasklet_functions
.type call_tasklet_functions, @function
call_tasklet_functions:
.LFB142:
.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
cmp DWORD PTR -4[rbp], 9
setbe al
movzx eax, al
mov edi, eax
mov eax, 0
call __CPROVER_assume@PLT
mov eax, DWORD PTR -4[rbp]
sal rax, 4
mov rdx, rax
lea rax, tasklet_registered[rip]
mov rax, QWORD PTR [rdx+rax]
test rax, rax
je .L575
mov eax, DWORD PTR -4[rbp]
sal rax, 4
mov rdx, rax
lea rax, tasklet_registered[rip]
mov rax, QWORD PTR [rdx+rax]
mov eax, DWORD PTR [rax]
test eax, eax
jne .L575
mov eax, DWORD PTR -4[rbp]
sal rax, 4
mov rdx, rax
lea rax, tasklet_registered[rip+8]
mov WORD PTR [rdx+rax], 1
mov eax, DWORD PTR -4[rbp]
sal rax, 4
mov rdx, rax
lea rax, tasklet_registered[rip]
mov rax, QWORD PTR [rdx+rax]
mov rdx, QWORD PTR 8[rax]
mov eax, DWORD PTR -4[rbp]
sal rax, 4
mov rcx, rax
lea rax, tasklet_registered[rip]
mov rax, QWORD PTR [rcx+rax]
mov rax, QWORD PTR 16[rax]
mov rdi, rax
call rdx
mov eax, DWORD PTR -4[rbp]
sal rax, 4
mov rdx, rax
lea rax, tasklet_registered[rip+8]
mov WORD PTR [rdx+rax], 0
mov eax, DWORD PTR -4[rbp]
sal rax, 4
mov rdx, rax
lea rax, tasklet_registered[rip]
mov QWORD PTR [rdx+rax], 0
nop
.L575:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE142:
.size call_tasklet_functions, .-call_tasklet_functions
.globl init_timer
.type init_timer, @function
init_timer:
.LFB143:
.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
movzx eax, WORD PTR number_timer_registered[rip]
cmp ax, 4
jg .L579
mov rax, QWORD PTR -8[rbp]
mov WORD PTR 24[rax], 0
mov rax, QWORD PTR -8[rbp]
mov WORD PTR 26[rax], 1
movzx eax, WORD PTR number_timer_registered[rip]
cwde
cdqe
lea rcx, 0[0+rax*8]
lea rdx, timer_registered[rip]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR [rcx+rdx], rax
movzx eax, WORD PTR number_timer_registered[rip]
add eax, 1
mov WORD PTR number_timer_registered[rip], ax
nop
.L579:
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE143:
.size init_timer, .-init_timer
.globl add_timer
.type add_timer, @function
add_timer:
.LFB144:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov WORD PTR 24[rax], 1
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE144:
.size add_timer, .-add_timer
.globl del_timer
.type del_timer, @function
del_timer:
.LFB146:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov WORD PTR 24[rax], 0
mov eax, 0
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE146:
.size del_timer, .-del_timer
.globl global_tty_driver
.bss
.align 32
.type global_tty_driver, @object
.size global_tty_driver, 328
global_tty_driver:
.zero 328
.text
.globl alloc_tty_driver
.type alloc_tty_driver, @function
alloc_tty_driver:
.LFB148:
.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
movzx eax, WORD PTR global_tty_driver[rip+320]
test ax, ax
jne .L585
mov DWORD PTR global_tty_driver[rip], 21506
mov eax, DWORD PTR -4[rbp]
mov DWORD PTR global_tty_driver[rip+72], eax
mov eax, 0
jmp .L587
.L585:
mov eax, 0
.L587:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE148:
.size alloc_tty_driver, .-alloc_tty_driver
.globl tty_set_operations
.type tty_set_operations, @function
tty_set_operations:
.LFB149:
.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 rdx, QWORD PTR [rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 136[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 144[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 16[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 152[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 24[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 160[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 32[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 168[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 40[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 176[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 48[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 184[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 56[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 192[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 64[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 200[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 72[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 208[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 80[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 216[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 88[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 224[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 96[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 232[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 104[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 240[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 112[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 248[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 120[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 256[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 128[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 264[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 136[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 272[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 144[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 280[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 152[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 288[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 160[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 296[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 168[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 304[rax], rdx
mov rax, QWORD PTR -16[rbp]
mov rdx, QWORD PTR 176[rax]
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR 312[rax], rdx
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE149:
.size tty_set_operations, .-tty_set_operations
.globl vmalloc
.type vmalloc, @function
vmalloc:
.LFB153:
.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 edi, eax
call malloc@PLT
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE153:
.size vmalloc, .-vmalloc
.globl wake_up_interruptible
.type wake_up_interruptible, @function
wake_up_interruptible:
.LFB156:
.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
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE156:
.size wake_up_interruptible, .-wake_up_interruptible
.globl interruptible_sleep_on
.type interruptible_sleep_on, @function
interruptible_sleep_on:
.LFB157:
.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
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE157:
.size interruptible_sleep_on, .-interruptible_sleep_on
.globl call_shared_workqueue_functions
.type call_shared_workqueue_functions, @function
call_shared_workqueue_functions:
.LFB159:
.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 nondet_ushort@PLT
mov WORD PTR -4[rbp], ax
movzx eax, WORD PTR -4[rbp]
mov WORD PTR -2[rbp], ax
cmp WORD PTR -2[rbp], 9
setbe al
movzx eax, al
mov edi, eax
mov eax, 0
call __CPROVER_assume@PLT
movzx eax, WORD PTR -2[rbp]
cdqe
lea rdx, 0[0+rax*8]
lea rax, shared_workqueue[rip]
mov rax, QWORD PTR [rdx+rax]
test rax, rax
je .L599
movzx eax, WORD PTR -2[rbp]
cdqe
lea rdx, 0[0+rax*8]
lea rax, shared_workqueue[rip]
mov rax, QWORD PTR [rdx+rax]
mov rdx, QWORD PTR 8[rax]
movzx eax, WORD PTR -2[rbp]
cdqe
lea rcx, 0[0+rax*8]
lea rax, shared_workqueue[rip]
mov rax, QWORD PTR [rcx+rax]
mov rax, QWORD PTR 16[rax]
mov rdi, rax
call rdx
movzx eax, WORD PTR -2[rbp]
cdqe
lea rdx, 0[0+rax*8]
lea rax, shared_workqueue[rip]
mov QWORD PTR [rdx+rax], 0
nop
.L599:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE159:
.size call_shared_workqueue_functions, .-call_shared_workqueue_functions
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "252178.c"
.text
.comm current_execution_context,4,4
.comm _ddv_module_init,4,4
.comm _ddv_module_exit,4,4
.align 2
.global pthread_create
.syntax unified
.arm
.fpu softvfp
.type pthread_create, %function
pthread_create:
@ 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]
str r3, [fp, #-20]
bl nondet_pthread_t
mov r2, r0
ldr r3, [fp, #-8]
str r2, [r3]
ldr r3, [fp, #-16]
ldr r0, [fp, #-20]
blx r3
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size pthread_create, .-pthread_create
.comm jiffies,4,4
.comm fixed_cdev,160,4
.global fixed_cdev_used
.bss
.align 2
.type fixed_cdev_used, %object
.size fixed_cdev_used, 4
fixed_cdev_used:
.space 4
.global number_cdev_registered
.align 1
.type number_cdev_registered, %object
.size number_cdev_registered, 2
number_cdev_registered:
.space 2
.comm cdev_registered,880,8
.section .rodata
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global call_cdev_functions
.syntax unified
.arm
.fpu softvfp
.type call_cdev_functions, %function
call_cdev_functions:
@ args = 0, pretend = 0, frame = 56
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #68
ldr r3, .L55
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
ldr r3, .L55+4
ldrsh r3, [r3]
cmp r3, #0
beq .L47
bl nondet_ushort
mov r3, r0
strh r3, [fp, #-60] @ movhi
ldrh r3, [fp, #-60]
str r3, [fp, #-52]
ldr r3, [fp, #-52]
cmp r3, #0
blt .L6
ldr r3, .L55+4
ldrsh r3, [r3]
mov r2, r3
ldr r3, [fp, #-52]
cmp r3, r2
bge .L7
mov r3, #1
str r3, [fp, #-56]
b .L8
.L7:
mov r3, #0
str r3, [fp, #-56]
b .L8
.L6:
mov r3, #0
str r3, [fp, #-56]
.L8:
ldr r0, [fp, #-56]
bl __CPROVER_assume
bl nondet_ushort
mov r3, r0
strh r3, [fp, #-58] @ movhi
ldrh r3, [fp, #-58]
cmp r3, #26
ldrls pc, [pc, r3, asl #2]
b .L48
.L11:
.word .L37
.word .L36
.word .L48
.word .L34
.word .L48
.word .L48
.word .L48
.word .L30
.word .L48
.word .L48
.word .L48
.word .L26
.word .L48
.word .L24
.word .L48
.word .L48
.word .L48
.word .L48
.word .L48
.word .L48
.word .L48
.word .L48
.word .L48
.word .L48
.word .L48
.word .L48
.word .L48
.L37:
ldr r1, .L55+8
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
ldr r3, [r3]
ldr r3, [r3, #4]
ldr r3, [r3, #4]
cmp r3, #0
beq .L49
bl nondet_loff_t
mov r2, r0
mov r3, r1
str r2, [fp, #-28]
str r3, [fp, #-24]
bl nondet_int
str r0, [fp, #-32]
ldr r1, .L55+8
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
ldr r3, [r3]
ldr r3, [r3, #4]
ldr r1, [r3, #4]
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r3, #8
ldr r2, .L55+8
add ip, r3, r2
sub r3, fp, #28
ldmia r3, {r2-r3}
ldr r0, [fp, #-32]
str r0, [sp]
mov r0, ip
blx r1
b .L49
.L36:
ldr r1, .L55+8
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
ldr r3, [r3]
ldr r3, [r3, #4]
ldr r3, [r3, #8]
cmp r3, #0
beq .L50
bl nondet_char
mov r3, r0
strb r3, [fp, #-61]
bl nondet_size_t
str r0, [fp, #-36]
ldr r1, .L55+8
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
ldr r3, [r3]
ldr r3, [r3, #4]
ldr r4, [r3, #8]
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r3, #8
ldr r2, .L55+8
add r0, r3, r2
sub r3, fp, #28
sub r1, fp, #61
ldr r2, [fp, #-36]
blx r4
b .L50
.L34:
ldr r1, .L55+8
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
ldr r3, [r3]
ldr r3, [r3, #4]
ldr r3, [r3, #12]
cmp r3, #0
beq .L51
bl nondet_char
mov r3, r0
strb r3, [fp, #-61]
bl nondet_size_t
str r0, [fp, #-36]
ldr r1, .L55+8
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
ldr r3, [r3]
ldr r3, [r3, #4]
ldr r4, [r3, #12]
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r3, #8
ldr r2, .L55+8
add r0, r3, r2
sub r3, fp, #28
sub r1, fp, #61
ldr r2, [fp, #-36]
blx r4
b .L51
.L30:
ldr r1, .L55+8
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
ldr r3, [r3]
ldr r3, [r3, #4]
ldr r3, [r3, #24]
cmp r3, #0
beq .L52
bl nondet_uint
str r0, [fp, #-44]
bl nondet_ulong
str r0, [fp, #-40]
ldr r1, .L55+8
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
ldr r3, [r3]
ldr r3, [r3, #4]
ldr r4, [r3, #24]
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r3, #48
ldr r2, .L55+8
add r0, r3, r2
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r3, #8
ldr r2, .L55+8
add r1, r3, r2
ldr r3, [fp, #-40]
ldr r2, [fp, #-44]
blx r4
b .L52
.L26:
ldr r1, .L55+8
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
ldr r3, [r3]
ldr r3, [r3, #4]
ldr r3, [r3, #40]
cmp r3, #0
beq .L53
ldr r1, .L55+8
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
add r3, r3, #80
ldr r3, [r3]
cmp r3, #0
bne .L53
ldr r1, .L55+8
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
ldr r3, [r3]
ldr r3, [r3, #4]
ldr r4, [r3, #40]
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r3, #48
ldr r2, .L55+8
add r0, r3, r2
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r3, #8
ldr r2, .L55+8
add r3, r3, r2
mov r1, r3
blx r4
str r0, [fp, #-48]
ldr r3, [fp, #-48]
cmp r3, #0
bne .L53
ldr r1, .L55+8
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
add r3, r3, #80
mov r2, #1
str r2, [r3]
b .L53
.L24:
ldr r1, .L55+8
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
ldr r3, [r3]
ldr r3, [r3, #4]
ldr r3, [r3, #48]
cmp r3, #0
beq .L54
ldr r1, .L55+8
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
add r3, r3, #80
ldr r3, [r3]
cmp r3, #0
beq .L54
ldr r1, .L55+8
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
ldr r3, [r3]
ldr r3, [r3, #4]
ldr r4, [r3, #48]
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r3, #48
ldr r2, .L55+8
add r0, r3, r2
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r3, #8
ldr r2, .L55+8
add r3, r3, r2
mov r1, r3
blx r4
str r0, [fp, #-48]
ldr r3, [fp, #-48]
cmp r3, #0
bne .L54
ldr r1, .L55+8
ldr r2, [fp, #-52]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #3
add r3, r1, r3
add r3, r3, #80
mov r2, #0
str r2, [r3]
b .L54
.L48:
nop
b .L3
.L49:
nop
b .L3
.L50:
nop
b .L3
.L51:
nop
b .L3
.L52:
nop
b .L3
.L53:
nop
b .L3
.L54:
nop
b .L3
.L47:
nop
.L3:
ldr r3, .L55
ldr r2, [r3]
ldr r3, [fp, #-16]
eors r2, r3, r2
mov r3, #0
beq .L46
bl __stack_chk_fail
.L46:
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L56:
.align 2
.L55:
.word .LC0
.word number_cdev_registered
.word cdev_registered
.size call_cdev_functions, .-call_cdev_functions
.align 2
.global pthread_mutex_init
.syntax unified
.arm
.fpu softvfp
.type pthread_mutex_init, %function
pthread_mutex_init:
@ 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
strb r3, [fp, #-8]
ldr r3, [fp, #-16]
ldrb r2, [fp, #-8]
strb r2, [r3]
mov r3, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size pthread_mutex_init, .-pthread_mutex_init
.align 2
.global pthread_mutex_destroy
.syntax unified
.arm
.fpu softvfp
.type pthread_mutex_destroy, %function
pthread_mutex_destroy:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
mov r3, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size pthread_mutex_destroy, .-pthread_mutex_destroy
.align 2
.global pthread_mutex_lock
.syntax unified
.arm
.fpu softvfp
.type pthread_mutex_lock, %function
pthread_mutex_lock:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
bl __CPROVER_atomic_begin
ldr r3, [fp, #-8]
ldrb r3, [r3] @ zero_extendqisi2
eor r3, r3, #1
and r3, r3, #255
mov r0, r3
bl __CPROVER_assume
ldr r3, [fp, #-8]
mov r2, #1
strb r2, [r3]
bl __CPROVER_atomic_end
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size pthread_mutex_lock, .-pthread_mutex_lock
.section .rodata
.align 2
.LC1:
.ascii "pthread_mutex_unlock without lock\000"
.text
.align 2
.global pthread_mutex_unlock
.syntax unified
.arm
.fpu softvfp
.type pthread_mutex_unlock, %function
pthread_mutex_unlock:
@ 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]
ldrb r3, [r3] @ zero_extendqisi2
ldr r1, .L65
mov r0, r3
bl __CPROVER_assert
ldr r3, [fp, #-8]
mov r2, #0
strb r2, [r3]
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L66:
.align 2
.L65:
.word .LC1
.size pthread_mutex_unlock, .-pthread_mutex_unlock
.global number_genhd_registered
.bss
.align 1
.type number_genhd_registered, %object
.size number_genhd_registered, 2
number_genhd_registered:
.space 2
.global number_fixed_genhd_used
.align 1
.type number_fixed_genhd_used, %object
.size number_fixed_genhd_used, 2
number_fixed_genhd_used:
.space 2
.comm fixed_gendisk,1280,4
.comm genhd_registered,1680,8
.comm registered_pci_driver,248,8
.comm registered_irq,128,4
.global number_tasklet_registered
.align 1
.type number_tasklet_registered, %object
.size number_tasklet_registered, 2
number_tasklet_registered:
.space 2
.comm tasklet_registered,80,4
.global number_timer_registered
.align 1
.type number_timer_registered, %object
.size number_timer_registered, 2
number_timer_registered:
.space 2
.comm timer_registered,20,4
.comm shared_workqueue,40,4
.comm kernel_lock,8,4
.text
.align 2
.global init_kernel
.syntax unified
.arm
.fpu softvfp
.type init_kernel, %function
init_kernel:
@ 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, .L73
bl spin_lock_init
mov r3, #0
str r3, [fp, #-8]
b .L68
.L69:
ldr r2, .L73+4
ldr r3, [fp, #-8]
mov r1, #0
str r1, [r2, r3, lsl #2]
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L68:
ldr r3, [fp, #-8]
cmp r3, #9
ble .L69
mov r3, #0
str r3, [fp, #-8]
b .L70
.L71:
ldr r2, .L73+8
ldr r3, [fp, #-8]
mov r1, #0
str r1, [r2, r3, lsl #3]
ldr r2, .L73+8
ldr r3, [fp, #-8]
lsl r3, r3, #3
add r3, r2, r3
add r3, r3, #4
mov r2, #0
strh r2, [r3] @ movhi
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L70:
ldr r3, [fp, #-8]
cmp r3, #9
ble .L71
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L74:
.align 2
.L73:
.word kernel_lock
.word shared_workqueue
.word tasklet_registered
.size init_kernel, .-init_kernel
.align 2
.syntax unified
.arm
.fpu softvfp
.type ddv_2, %function
ddv_2:
@ 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]
.L86:
bl nondet_ushort
mov r3, r0
strh r3, [fp, #-6] @ movhi
ldrh r3, [fp, #-6]
sub r3, r3, #1
cmp r3, #4
ldrls pc, [pc, r3, asl #2]
b .L89
.L78:
.word .L82
.word .L81
.word .L80
.word .L79
.word .L77
.L82:
ldr r3, .L91
mov r2, #2
str r2, [r3]
bl call_timer_functions
ldr r3, .L91
mov r2, #1
str r2, [r3]
b .L83
.L81:
ldr r3, .L91
mov r2, #2
str r2, [r3]
bl call_interrupt_handler
ldr r3, .L91
mov r2, #1
str r2, [r3]
b .L83
.L80:
ldr r3, .L91
mov r2, #1
str r2, [r3]
bl call_shared_workqueue_functions
ldr r3, .L91
mov r2, #1
str r2, [r3]
b .L83
.L79:
ldr r3, .L91
mov r2, #2
str r2, [r3]
bl call_tasklet_functions
ldr r3, .L91
mov r2, #1
str r2, [r3]
b .L83
.L77:
ldr r3, .L91
mov r2, #1
str r2, [r3]
bl call_pci_functions
ldr r3, .L91
mov r2, #1
str r2, [r3]
b .L83
.L89:
nop
.L83:
ldrh r3, [fp, #-6]
cmp r3, #0
beq .L90
b .L86
.L90:
nop
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L92:
.align 2
.L91:
.word current_execution_context
.size ddv_2, .-ddv_2
.section .rodata
.align 2
.LC2:
.word __stack_chk_guard
.text
.align 2
.global ddv
.syntax unified
.arm
.fpu softvfp
.type ddv, %function
ddv:
@ 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, .L101
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r0, fp, #16
mov r3, #0
ldr r2, .L101+4
mov r1, #0
bl pthread_create
.L96:
ldr r3, .L101+8
mov r2, #1
str r2, [r3]
bl call_cdev_functions
bl nondet_int
str r0, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #0
beq .L100
b .L96
.L100:
nop
nop
ldr r3, .L101
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L98
bl __stack_chk_fail
.L98:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L102:
.align 2
.L101:
.word .LC2
.word ddv_2
.word current_execution_context
.size ddv, .-ddv
.align 2
.global call_ddv
.syntax unified
.arm
.fpu softvfp
.type call_ddv, %function
call_ddv:
@ 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, .L106
mov r2, #1
str r2, [r3]
bl init_kernel
ldr r3, .L106+4
ldr r3, [r3]
blx r3
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L104
mvn r3, #0
b .L105
.L104:
bl ddv
ldr r3, .L106
mov r2, #1
str r2, [r3]
ldr r3, .L106+8
ldr r3, [r3]
blx r3
mov r3, #0
.L105:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L107:
.align 2
.L106:
.word current_execution_context
.word _ddv_module_init
.word _ddv_module_exit
.size call_ddv, .-call_ddv
.align 2
.global register_blkdev
.syntax unified
.arm
.fpu softvfp
.type register_blkdev, %function
register_blkdev:
@ 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 nondet_int
str r0, [fp, #-12]
ldr r3, [fp, #-12]
str r3, [fp, #-8]
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size register_blkdev, .-register_blkdev
.align 2
.global unregister_blkdev
.syntax unified
.arm
.fpu softvfp
.type unregister_blkdev, %function
unregister_blkdev:
@ 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]
mov r3, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size unregister_blkdev, .-unregister_blkdev
.align 2
.global alloc_disk
.syntax unified
.arm
.fpu softvfp
.type alloc_disk, %function
alloc_disk:
@ 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, .L115
ldrsh r3, [r3]
cmp r3, #9
bgt .L113
ldr r3, .L115
ldrsh r3, [r3]
lsl r3, r3, #7
ldr r2, .L115+4
add r3, r3, r2
str r3, [fp, #-8]
ldr r3, [fp, #-8]
ldr r2, [fp, #-16]
str r2, [r3, #8]
ldr r3, .L115
ldrsh r3, [r3]
lsl r3, r3, #16
lsr r3, r3, #16
add r3, r3, #1
lsl r3, r3, #16
lsr r3, r3, #16
lsl r3, r3, #16
asr r3, r3, #16
ldr r2, .L115
strh r3, [r2] @ movhi
ldr r3, [fp, #-8]
b .L114
.L113:
mov r3, #0
.L114:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L116:
.align 2
.L115:
.word number_fixed_genhd_used
.word fixed_gendisk
.size alloc_disk, .-alloc_disk
.align 2
.global add_disk
.syntax unified
.arm
.fpu softvfp
.type add_disk, %function
add_disk:
@ 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, .L121
ldrsh r3, [r3]
cmp r3, #9
bgt .L120
ldr r3, .L121
ldrsh r3, [r3]
mov r2, r3
ldr r1, .L121+4
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r2, r3, #3
sub r2, r2, r3
lsl r3, r2, #3
mov r2, r3
add r3, r1, r2
ldr r2, [fp, #-16]
str r2, [r3]
mov r0, #16
bl malloc
mov r3, r0
str r3, [fp, #-8]
ldr r3, .L121
ldrsh r3, [r3]
mov r2, r3
ldr r1, .L121+4
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r2, r3, #3
sub r2, r2, r3
lsl r3, r2, #3
mov r2, r3
add r3, r1, r2
add r3, r3, #12
ldr r2, [fp, #-8]
str r2, [r3]
ldr r3, .L121
ldrsh r3, [r3]
mov r2, r3
ldr r1, .L121+4
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r2, r3, #3
sub r2, r2, r3
lsl r3, r2, #3
mov r2, r3
add r3, r1, r2
add r3, r3, #12
ldr r3, [r3]
ldr r2, [fp, #-16]
str r2, [r3, #4]
ldr r3, .L121
ldrsh r3, [r3]
lsl r3, r3, #16
lsr r3, r3, #16
add r3, r3, #1
lsl r3, r3, #16
lsr r3, r3, #16
lsl r3, r3, #16
asr r3, r3, #16
ldr r2, .L121
strh r3, [r2] @ movhi
nop
.L120:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L122:
.align 2
.L121:
.word number_genhd_registered
.word genhd_registered
.size add_disk, .-add_disk
.align 2
.global del_gendisk
.syntax unified
.arm
.fpu softvfp
.type del_gendisk, %function
del_gendisk:
@ 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 .L124
.L126:
ldr r1, .L128
ldr r2, [fp, #-8]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r2, r3, #3
sub r2, r2, r3
lsl r3, r2, #3
mov r2, r3
add r3, r1, r2
ldr r3, [r3]
mov r2, r3
ldr r3, [fp, #-16]
cmp r2, r3
bne .L125
ldr r1, .L128
ldr r2, [fp, #-8]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r2, r3, #3
sub r2, r2, r3
lsl r3, r2, #3
mov r2, r3
add r3, r1, r2
mov r2, #0
str r2, [r3]
.L125:
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L124:
ldr r3, .L128+4
ldrsh r3, [r3]
mov r2, r3
ldr r3, [fp, #-8]
cmp r3, r2
blt .L126
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L129:
.align 2
.L128:
.word genhd_registered
.word number_genhd_registered
.size del_gendisk, .-del_gendisk
.section .rodata
.align 2
.LC3:
.word __stack_chk_guard
.text
.align 2
.global call_interrupt_handler
.syntax unified
.arm
.fpu softvfp
.type call_interrupt_handler, %function
call_interrupt_handler:
@ 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
ldr r3, .L135
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
bl nondet_int
str r0, [fp, #-20]
ldr r3, [fp, #-20]
strh r3, [fp, #-26] @ movhi
ldrh r3, [fp, #-26]
cmp r3, #15
movls r3, #1
movhi r3, #0
and r3, r3, #255
mov r0, r3
bl __CPROVER_assume
ldrh r3, [fp, #-26]
ldr r2, .L135+4
ldr r3, [r2, r3, lsl #3]
cmp r3, #0
beq .L134
ldrh r3, [fp, #-26]
ldr r2, .L135+4
ldr r4, [r2, r3, lsl #3]
ldrh r0, [fp, #-26]
ldrh r3, [fp, #-26]
ldr r2, .L135+4
lsl r3, r3, #3
add r3, r2, r3
ldr r3, [r3, #4]
sub r2, fp, #24
mov r1, r3
blx r4
nop
.L134:
nop
ldr r3, .L135
ldr r2, [r3]
ldr r3, [fp, #-16]
eors r2, r3, r2
mov r3, #0
beq .L133
bl __stack_chk_fail
.L133:
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L136:
.align 2
.L135:
.word .LC3
.word registered_irq
.size call_interrupt_handler, .-call_interrupt_handler
.comm fixed_request_queue,480,4
.global number_request_queue_used
.bss
.align 2
.type number_request_queue_used, %object
.size number_request_queue_used, 4
number_request_queue_used:
.space 4
.text
.align 2
.global get_fixed_request_queue
.syntax unified
.arm
.fpu softvfp
.type get_fixed_request_queue, %function
get_fixed_request_queue:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
ldr r3, .L140
ldr r3, [r3]
cmp r3, #9
bgt .L138
ldr r3, .L140
ldr r3, [r3]
str r3, [fp, #-8]
ldr r3, .L140
ldr r3, [r3]
add r3, r3, #1
ldr r2, .L140
str r3, [r2]
ldr r2, [fp, #-8]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r3, r3, #4
ldr r2, .L140+4
add r3, r3, r2
b .L139
.L138:
mov r3, #0
.L139:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L141:
.align 2
.L140:
.word number_request_queue_used
.word fixed_request_queue
.size get_fixed_request_queue, .-get_fixed_request_queue
.align 2
.global blk_init_queue
.syntax unified
.arm
.fpu softvfp
.type blk_init_queue, %function
blk_init_queue:
@ 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 nondet_int
str r0, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #0
beq .L143
bl get_fixed_request_queue
str r0, [fp, #-8]
ldr r3, [fp, #-8]
ldr r2, [fp, #-20]
str r2, [r3, #32]
ldr r3, [fp, #-8]
ldr r2, [fp, #-16]
str r2, [r3]
ldr r3, [fp, #-8]
mov r2, #0
str r2, [r3, #4]
ldr r3, [fp, #-8]
mov r2, #1
str r2, [r3, #44]
ldr r3, [fp, #-8]
b .L144
.L143:
mov r3, #0
.L144:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size blk_init_queue, .-blk_init_queue
.align 2
.global blk_alloc_queue
.syntax unified
.arm
.fpu softvfp
.type blk_alloc_queue, %function
blk_alloc_queue:
@ 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]
bl nondet_int
str r0, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #0
beq .L146
bl get_fixed_request_queue
str r0, [fp, #-8]
ldr r3, [fp, #-8]
mov r2, #0
str r2, [r3]
ldr r3, [fp, #-8]
mov r2, #0
str r2, [r3, #4]
ldr r3, [fp, #-8]
mov r2, #1
str r2, [r3, #44]
ldr r3, [fp, #-8]
b .L147
.L146:
mov r3, #0
.L147:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size blk_alloc_queue, .-blk_alloc_queue
.align 2
.global blk_queue_make_request
.syntax unified
.arm
.fpu softvfp
.type blk_queue_make_request, %function
blk_queue_make_request:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, [fp, #-8]
ldr r2, [fp, #-12]
str r2, [r3, #4]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size blk_queue_make_request, .-blk_queue_make_request
.align 2
.global end_request
.syntax unified
.arm
.fpu softvfp
.type end_request, %function
end_request:
@ 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, #40]
ldr r3, [r3, #48]
ldr r3, [r3, #40]
str r3, [fp, #-8]
ldr r1, .L152
ldr r2, [fp, #-8]
mov r3, r2
lsl r3, r3, #1
add r3, r3, r2
lsl r2, r3, #3
sub r2, r2, r3
lsl r3, r2, #3
mov r2, r3
add r3, r1, r2
add r3, r3, #164
mov r2, #0
str r2, [r3]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L153:
.align 2
.L152:
.word genhd_registered
.size end_request, .-end_request
.align 2
.global blk_queue_hardsect_size
.syntax unified
.arm
.fpu softvfp
.type blk_queue_hardsect_size, %function
blk_queue_hardsect_size:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
mov r3, r1
strh r3, [fp, #-10] @ movhi
ldr r3, [fp, #-8]
ldrh r2, [fp, #-10] @ movhi
strh r2, [r3, #36] @ movhi
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size blk_queue_hardsect_size, .-blk_queue_hardsect_size
.align 2
.global blk_cleanup_queue
.syntax unified
.arm
.fpu softvfp
.type blk_cleanup_queue, %function
blk_cleanup_queue:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
ldr r3, [fp, #-8]
mov r2, #0
str r2, [r3, #44]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size blk_cleanup_queue, .-blk_cleanup_queue
.data
.align 2
.type auto_probe, %object
.size auto_probe, 4
auto_probe:
.word 1
.align 2
.type cm206_base, %object
.size cm206_base, 4
cm206_base:
.word 832
.align 2
.type cm206_irq, %object
.size cm206_irq, 4
cm206_irq:
.word 11
.local cm206
.comm cm206,8,4
.global _ddv_module_license
.align 2
.type _ddv_module_license, %object
.size _ddv_module_license, 4
_ddv_module_license:
.ascii "GPL\000"
.local cd
.comm cd,4,4
.local cm206_queue
.comm cm206_queue,4,4
.align 2
.type cm206_lock, %object
.size cm206_lock, 8
cm206_lock:
.word 1
.word 0
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type send_command_polled, %function
send_command_polled:
@ 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, #100
str r3, [fp, #-8]
.L162:
ldr r3, .L167
ldr r3, [r3]
add r3, r3, #6
mov r0, r3
bl inw
mov r3, r0
strh r3, [fp, #-10] @ movhi
ldrh r3, [fp, #-10]
and r3, r3, #1
cmp r3, #0
bne .L165
ldr r3, [fp, #-8]
cmp r3, #0
ble .L166
nop
ldr r3, [fp, #-8]
sub r3, r3, #1
str r3, [fp, #-8]
b .L162
.L165:
nop
b .L160
.L166:
nop
.L160:
ldr r3, [fp, #-16]
lsl r3, r3, #16
lsr r2, r3, #16
ldr r3, .L167
ldr r3, [r3]
add r3, r3, #10
mov r1, r3
mov r0, r2
bl outw
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L168:
.align 2
.L167:
.word cm206_base
.size send_command_polled, .-send_command_polled
.align 2
.syntax unified
.arm
.fpu softvfp
.type receive_echo_polled, %function
receive_echo_polled:
@ 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, #100
str r3, [fp, #-8]
.L173:
ldr r3, .L178
ldr r3, [r3]
add r3, r3, #6
mov r0, r3
bl inw
mov r3, r0
strh r3, [fp, #-12] @ movhi
ldrh r3, [fp, #-12]
and r3, r3, #2
cmp r3, #0
bne .L176
ldr r3, [fp, #-8]
cmp r3, #0
ble .L177
nop
ldr r3, [fp, #-8]
sub r3, r3, #1
str r3, [fp, #-8]
b .L173
.L176:
nop
b .L171
.L177:
nop
.L171:
ldr r3, .L178
ldr r3, [r3]
add r3, r3, #2
mov r0, r3
bl inw
mov r3, r0
strh r3, [fp, #-10] @ movhi
ldrh r3, [fp, #-10] @ movhi
and r3, r3, #255
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L179:
.align 2
.L178:
.word cm206_base
.size receive_echo_polled, .-receive_echo_polled
.align 2
.syntax unified
.arm
.fpu softvfp
.type send_receive_polled, %function
send_receive_polled:
@ 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 r0, [fp, #-16]
bl send_command_polled
bl receive_echo_polled
mov r3, r0
strb r3, [fp, #-5]
ldrb r3, [fp, #-5] @ zero_extendqisi2
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size send_receive_polled, .-send_receive_polled
.align 2
.syntax unified
.arm
.fpu softvfp
.type clear_ur, %function
clear_ur:
@ 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, .L188
ldr r3, [r3]
ldrb r3, [r3, #9]
and r2, r3, #255
ldr r3, .L188
ldr r3, [r3]
ldrb r3, [r3, #8]
and r3, r3, #255
cmp r2, r3
beq .L187
b .L184
.L185:
ldr r3, .L188
ldr r3, [r3]
ldrb r3, [r3, #9]
and r2, r3, #255
ldr r3, .L188
ldr r3, [r3]
add r2, r2, #1
and r2, r2, #255
strb r2, [r3, #9]
ldr r3, .L188
ldr r3, [r3]
ldrb r3, [r3, #9]
and r2, r3, #255
ldr r3, .L188
ldr r3, [r3]
and r2, r2, #3
and r2, r2, #255
strb r2, [r3, #9]
.L184:
ldr r3, .L188
ldr r3, [r3]
ldrb r3, [r3, #9]
and r2, r3, #255
ldr r3, .L188
ldr r3, [r3]
ldrb r3, [r3, #8]
and r3, r3, #255
cmp r2, r3
bne .L185
nop
.L187:
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L189:
.align 2
.L188:
.word cd
.size clear_ur, .-clear_ur
.data
.align 2
.type cm206_tasklet, %object
.size cm206_tasklet, 16
cm206_tasklet:
.word 0
.word cm206_tasklet_func
.word 0
.word 1
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type cm206_interrupt, %function
cm206_interrupt:
@ args = 0, pretend = 0, frame = 64
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #64
str r0, [fp, #-64]
str r1, [fp, #-68]
ldr r3, .L209
ldr r3, [r3]
mov r0, r3
bl inw
mov r3, r0
strh r3, [fp, #-54] @ movhi
ldr r3, .L209+4
ldr r3, [r3]
ldrh r2, [fp, #-54] @ movhi
strh r2, [r3] @ movhi
ldr r3, .L209
ldr r3, [r3]
add r3, r3, #6
mov r0, r3
bl inw
mov r3, r0
strh r3, [fp, #-52] @ movhi
ldr r3, .L209+4
ldr r3, [r3]
ldrh r2, [fp, #-52] @ movhi
strh r2, [r3, #2] @ movhi
ldr r3, .L209+4
ldr r3, [r3]
ldrh r3, [r3, #2] @ movhi
lsl r3, r3, #16
lsr r3, r3, #16
and r3, r3, #16
cmp r3, #0
beq .L191
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, [r3, #2520]
add r2, r2, #1
str r2, [r3, #2520]
ldr r3, .L209+4
ldr r3, [r3]
ldr r3, [r3, #2608]
str r3, [fp, #-44]
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, [r3, #2608]
add r2, r2, #1
str r2, [r3, #2608]
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, [fp, #-44]
str r2, [r3, #2604]
.L191:
ldr r3, .L209+4
ldr r3, [r3]
ldrh r3, [r3, #2] @ movhi
lsl r3, r3, #16
lsr r3, r3, #16
and r3, r3, #2
cmp r3, #0
beq .L192
ldr r3, .L209
ldr r3, [r3]
add r3, r3, #2
mov r0, r3
bl inb
mov r3, r0
strb r3, [fp, #-57]
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, .L209+4
ldr r2, [r2]
ldrb r2, [r2, #8]
and r2, r2, #255
add r3, r3, r2
ldrb r2, [fp, #-57]
strb r2, [r3, #4]
ldr r3, .L209
ldr r3, [r3]
add r3, r3, #6
mov r0, r3
bl inw
mov r3, r0
strh r3, [fp, #-46] @ movhi
ldr r3, .L209+4
ldr r3, [r3]
ldrh r2, [fp, #-46] @ movhi
strh r2, [r3, #2] @ movhi
ldr r3, .L209+4
ldr r3, [r3]
ldrb r3, [r3, #8]
and r2, r3, #255
ldr r3, .L209+4
ldr r3, [r3]
add r2, r2, #1
and r2, r2, #255
strb r2, [r3, #8]
ldr r3, .L209+4
ldr r3, [r3]
ldrb r3, [r3, #8]
and r2, r3, #255
ldr r3, .L209+4
ldr r3, [r3]
and r2, r2, #3
and r2, r2, #255
strb r2, [r3, #8]
ldr r3, .L209+4
ldr r3, [r3]
add r3, r3, #2368
add r3, r3, #12
mov r0, r3
bl waitqueue_active
str r0, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #0
beq .L193
ldr r3, .L209+4
ldr r3, [r3]
ldrb r3, [r3, #2423] @ zero_extendqisi2
cmp r3, #1
bhi .L193
ldr r3, .L209+4
ldr r3, [r3]
add r3, r3, #2400
add r3, r3, #4
mov r0, r3
bl del_timer
ldr r3, .L209+4
ldr r3, [r3]
add r3, r3, #2368
add r3, r3, #12
mov r0, r3
bl wake_up_interruptible
b .L193
.L192:
ldr r3, .L209+4
ldr r3, [r3]
ldrh r3, [r3] @ movhi
lsl r3, r3, #16
lsr r3, r3, #16
and r3, r3, #128
cmp r3, #0
beq .L194
ldr r3, .L209+4
ldr r3, [r3]
ldrb r3, [r3, #2423] @ zero_extendqisi2
cmp r3, #0
beq .L195
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, [r3, #2428]
add r2, r2, #1
str r2, [r3, #2428]
.L195:
ldr r3, .L209+4
ldr r3, [r3]
add r3, r3, #2384
add r3, r3, #8
mov r0, r3
bl waitqueue_active
str r0, [fp, #-20]
ldr r3, [fp, #-20]
cmp r3, #0
beq .L196
ldr r3, .L209+4
ldr r3, [r3]
ldrb r3, [r3, #2422] @ zero_extendqisi2
cmp r3, #0
beq .L197
ldr r3, .L209+4
ldr r3, [r3]
add r3, r3, #2400
add r3, r3, #4
mov r0, r3
bl del_timer
ldr r3, .L209+4
ldr r3, [r3]
add r3, r3, #2384
add r3, r3, #8
mov r0, r3
bl wake_up_interruptible
b .L196
.L197:
ldr r3, .L209+4
ldr r3, [r3]
ldrb r3, [r3, #2423] @ zero_extendqisi2
cmp r3, #0
bne .L196
ldr r3, .L209+4
ldr r3, [r3]
add r3, r3, #2400
add r3, r3, #4
mov r0, r3
bl del_timer
ldr r3, .L209+4
ldr r3, [r3]
add r3, r3, #2384
add r3, r3, #8
mov r0, r3
bl wake_up_interruptible
.L196:
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, [r3, #2444]
add r2, r2, #1
str r2, [r3, #2444]
ldr r3, .L209+4
ldr r3, [r3]
ldr r3, [r3, #2608]
str r3, [fp, #-16]
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, [r3, #2608]
add r2, r2, #1
str r2, [r3, #2608]
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, [fp, #-16]
str r2, [r3, #2528]
b .L193
.L194:
ldr r3, .L209+4
ldr r3, [r3]
ldr r3, [r3, #12]
cmp r3, #0
beq .L207
ldr r3, .L209+4
ldr r3, [r3]
ldrh r3, [r3, #2] @ movhi
lsl r3, r3, #16
lsr r3, r3, #16
and r3, r3, #1
cmp r3, #0
beq .L208
ldr r3, .L209
ldr r3, [r3]
mov r0, r3
bl inw
mov r3, r0
strh r3, [fp, #-50] @ movhi
ldrsh r3, [fp, #-50]
and r3, r3, #127
lsl r3, r3, #16
asr r3, r3, #16
orr r3, r3, #10496
lsl r3, r3, #16
asr r3, r3, #16
lsl r3, r3, #16
lsr r2, r3, #16
ldr r3, .L209
ldr r3, [r3]
add r3, r3, #8
mov r1, r3
mov r0, r2
bl outw
ldr r3, .L209+4
ldr r3, [r3]
ldr r3, [r3, #12]
lsl r3, r3, #16
lsr r2, r3, #16
ldr r3, .L209
ldr r3, [r3]
add r3, r3, #10
mov r1, r3
mov r0, r2
bl outw
ldr r3, .L209+4
ldr r3, [r3]
mov r2, #0
str r2, [r3, #12]
ldr r3, .L209+4
ldr r3, [r3]
ldrb r3, [r3, #2423] @ zero_extendqisi2
cmp r3, #0
bne .L193
ldr r3, .L209+4
ldr r3, [r3]
add r3, r3, #2368
add r3, r3, #12
mov r0, r3
bl wake_up_interruptible
b .L193
.L207:
nop
b .L198
.L208:
nop
.L198:
ldr r3, .L209+4
ldr r3, [r3]
ldrh r3, [r3] @ movhi
lsl r3, r3, #16
lsr r3, r3, #16
and r3, r3, #256
cmp r3, #0
beq .L200
ldr r3, .L209
ldr r3, [r3]
add r3, r3, #4
mov r0, r3
bl inw
mov r3, r0
strh r3, [fp, #-48] @ movhi
ldrh r3, [fp, #-48] @ movhi
strh r3, [fp, #-56] @ movhi
ldr r3, .L209+4
ldr r3, [r3]
mov r2, #1
strb r2, [r3, #2432]
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, [r3, #2448]
add r2, r2, #1
str r2, [r3, #2448]
ldr r3, .L209+4
ldr r3, [r3]
ldr r3, [r3, #2608]
str r3, [fp, #-24]
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, [r3, #2608]
add r2, r2, #1
str r2, [r3, #2608]
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, [fp, #-24]
str r2, [r3, #2532]
b .L193
.L200:
ldr r3, .L209+4
ldr r3, [r3]
ldrh r3, [r3] @ movhi
lsl r3, r3, #16
lsr r3, r3, #16
and r3, r3, #512
cmp r3, #0
beq .L201
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, [r3, #2452]
add r2, r2, #1
str r2, [r3, #2452]
ldr r3, .L209+4
ldr r3, [r3]
ldr r3, [r3, #2608]
str r3, [fp, #-28]
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, [r3, #2608]
add r2, r2, #1
str r2, [r3, #2608]
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, [fp, #-28]
str r2, [r3, #2536]
b .L193
.L201:
ldr r3, .L209+4
ldr r3, [r3]
ldrh r3, [r3] @ movhi
lsl r3, r3, #16
lsr r3, r3, #16
and r3, r3, #1024
cmp r3, #0
beq .L202
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, [r3, #2456]
add r2, r2, #1
str r2, [r3, #2456]
ldr r3, .L209+4
ldr r3, [r3]
ldr r3, [r3, #2608]
str r3, [fp, #-32]
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, [r3, #2608]
add r2, r2, #1
str r2, [r3, #2608]
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, [fp, #-32]
str r2, [r3, #2540]
b .L193
.L202:
ldr r3, .L209+4
ldr r3, [r3]
ldrh r3, [r3] @ movhi
lsl r3, r3, #16
lsr r3, r3, #16
and r3, r3, #2048
cmp r3, #0
beq .L203
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, [r3, #2460]
add r2, r2, #1
str r2, [r3, #2460]
ldr r3, .L209+4
ldr r3, [r3]
ldr r3, [r3, #2608]
str r3, [fp, #-36]
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, [r3, #2608]
add r2, r2, #1
str r2, [r3, #2608]
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, [fp, #-36]
str r2, [r3, #2544]
b .L193
.L203:
ldr r3, .L209+4
ldr r3, [r3]
ldrh r3, [r3] @ movhi
lsl r3, r3, #16
lsr r3, r3, #16
and r3, r3, #8192
cmp r3, #0
bne .L193
ldr r3, .L209
ldr r3, [r3]
add r3, r3, #8
mov r1, r3
ldr r0, .L209+8
bl outw
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, [r3, #2464]
add r2, r2, #1
str r2, [r3, #2464]
ldr r3, .L209+4
ldr r3, [r3]
ldr r3, [r3, #2608]
str r3, [fp, #-40]
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, [r3, #2608]
add r2, r2, #1
str r2, [r3, #2608]
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, [fp, #-40]
str r2, [r3, #2548]
.L193:
ldr r3, .L209+4
ldr r3, [r3]
ldrb r3, [r3, #2423] @ zero_extendqisi2
cmp r3, #0
beq .L204
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, [r3, #2428]
ldr r3, .L209+4
ldr r3, [r3]
ldr r3, [r3, #2424]
sub r2, r2, r3
ldr r3, .L209+4
ldr r3, [r3]
add r3, r3, #2416
add r3, r3, #5
ldrsb r3, [r3]
cmp r2, r3
bne .L205
ldr r0, .L209+12
bl tasklet_schedule
b .L204
.L205:
ldr r3, .L209+4
ldr r3, [r3]
ldrb r3, [r3, #2432] @ zero_extendqisi2
cmp r3, #0
beq .L204
ldr r0, .L209+12
bl tasklet_schedule
.L204:
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, [r3, #2440]
add r2, r2, #1
str r2, [r3, #2440]
ldr r3, .L209+4
ldr r3, [r3]
ldr r3, [r3, #2608]
str r3, [fp, #-8]
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, [r3, #2608]
add r2, r2, #1
str r2, [r3, #2608]
ldr r3, .L209+4
ldr r3, [r3]
ldr r2, [fp, #-8]
str r2, [r3, #2524]
mov r3, #1
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L210:
.align 2
.L209:
.word cm206_base
.word cd
.word 10497
.word cm206_tasklet
.size cm206_interrupt, .-cm206_interrupt
.align 2
.syntax unified
.arm
.fpu softvfp
.type cm206_timeout, %function
cm206_timeout:
@ 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, .L213
ldr r3, [r3]
mov r2, #1
strb r2, [r3, #2420]
ldr r3, [fp, #-8]
mov r0, r3
bl wake_up_interruptible
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L214:
.align 2
.L213:
.word cd
.size cm206_timeout, .-cm206_timeout
.align 2
.syntax unified
.arm
.fpu softvfp
.type sleep_or_timeout, %function
sleep_or_timeout:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, .L218
ldr r3, [r3]
mov r2, #0
strb r2, [r3, #2420]
ldr r3, .L218
ldr r3, [r3]
add r3, r3, #2400
add r3, r3, #4
mov r0, r3
bl init_timer
ldr r3, .L218
ldr r3, [r3]
ldr r2, [fp, #-8]
str r2, [r3, #2412]
ldr r3, .L218+4
ldr r1, [r3]
ldr r2, [fp, #-12]
ldr r3, .L218
ldr r3, [r3]
add r2, r1, r2
str r2, [r3, #2404]
ldr r3, .L218
ldr r3, [r3]
add r3, r3, #2400
add r3, r3, #4
mov r0, r3
bl add_timer
ldr r0, [fp, #-8]
bl interruptible_sleep_on
ldr r3, .L218
ldr r3, [r3]
add r3, r3, #2400
add r3, r3, #4
mov r0, r3
bl del_timer
ldr r3, .L218
ldr r3, [r3]
ldrb r3, [r3, #2420] @ zero_extendqisi2
cmp r3, #0
beq .L216
ldr r3, .L218
ldr r3, [r3]
mov r2, #0
strb r2, [r3, #2420]
mov r3, #1
b .L217
.L216:
mov r3, #0
.L217:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L219:
.align 2
.L218:
.word cd
.word jiffies
.size sleep_or_timeout, .-sleep_or_timeout
.align 2
.syntax unified
.arm
.fpu softvfp
.type send_command, %function
send_command:
@ 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, .L225
ldr r3, [r3]
add r3, r3, #6
mov r0, r3
bl inw
mov r3, r0
strh r3, [fp, #-16] @ movhi
ldrh r3, [fp, #-16]
and r3, r3, #1
cmp r3, #0
beq .L221
ldr r3, [fp, #-24]
lsl r3, r3, #16
lsr r2, r3, #16
ldr r3, .L225
ldr r3, [r3]
add r3, r3, #10
mov r1, r3
mov r0, r2
bl outw
b .L224
.L221:
ldr r3, .L225+4
ldr r3, [r3]
ldr r2, [fp, #-24]
str r2, [r3, #12]
bl cli
ldr r3, .L225
ldr r3, [r3]
mov r0, r3
bl inw
mov r3, r0
strh r3, [fp, #-14] @ movhi
ldrsh r3, [fp, #-14]
and r3, r3, #127
lsl r3, r3, #16
asr r3, r3, #16
orr r3, r3, #10240
lsl r3, r3, #16
asr r3, r3, #16
lsl r3, r3, #16
lsr r2, r3, #16
ldr r3, .L225
ldr r3, [r3]
add r3, r3, #8
mov r1, r3
mov r0, r2
bl outw
ldr r3, .L225+4
ldr r3, [r3]
add r3, r3, #2368
add r3, r3, #12
mov r1, #5
mov r0, r3
bl sleep_or_timeout
str r0, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #0
beq .L224
ldr r3, .L225+4
ldr r3, [r3]
ldr r2, [r3, #2472]
add r2, r2, #1
str r2, [r3, #2472]
ldr r3, .L225+4
ldr r3, [r3]
ldr r3, [r3, #2608]
str r3, [fp, #-8]
ldr r3, .L225+4
ldr r3, [r3]
ldr r2, [r3, #2608]
add r2, r2, #1
str r2, [r3, #2608]
ldr r3, .L225+4
ldr r3, [r3]
ldr r2, [fp, #-8]
str r2, [r3, #2556]
ldr r3, [fp, #-24]
lsl r3, r3, #16
lsr r2, r3, #16
ldr r3, .L225
ldr r3, [r3]
add r3, r3, #10
mov r1, r3
mov r0, r2
bl outw
nop
.L224:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L226:
.align 2
.L225:
.word cm206_base
.word cd
.size send_command, .-send_command
.align 2
.syntax unified
.arm
.fpu softvfp
.type receive_byte, %function
receive_byte:
@ 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]
bl cli
ldr r3, .L233
ldr r3, [r3]
ldr r2, .L233
ldr r2, [r2]
ldrb r2, [r2, #9]
and r2, r2, #255
add r3, r3, r2
ldrb r3, [r3, #4]
strb r3, [fp, #-17]
ldr r3, .L233
ldr r3, [r3]
ldrb r3, [r3, #9]
and r2, r3, #255
ldr r3, .L233
ldr r3, [r3]
ldrb r3, [r3, #8]
and r3, r3, #255
cmp r2, r3
beq .L228
bl sti
ldr r3, .L233
ldr r3, [r3]
ldrb r3, [r3, #9]
and r2, r3, #255
ldr r3, .L233
ldr r3, [r3]
add r2, r2, #1
and r2, r2, #255
strb r2, [r3, #9]
ldr r3, .L233
ldr r3, [r3]
ldrb r3, [r3, #9]
and r2, r3, #255
ldr r3, .L233
ldr r3, [r3]
and r2, r2, #3
and r2, r2, #255
strb r2, [r3, #9]
ldrb r3, [fp, #-17] @ zero_extendqisi2
b .L229
.L228:
ldr r3, .L233
ldr r3, [r3]
add r3, r3, #2368
add r3, r3, #12
ldr r1, [fp, #-24]
mov r0, r3
bl sleep_or_timeout
str r0, [fp, #-16]
ldr r3, [fp, #-16]
cmp r3, #0
beq .L230
ldr r3, [fp, #-24]
cmp r3, #5
bne .L231
ldr r3, .L233
ldr r3, [r3]
ldr r2, [r3, #2476]
add r2, r2, #1
str r2, [r3, #2476]
ldr r3, .L233
ldr r3, [r3]
ldr r3, [r3, #2608]
str r3, [fp, #-8]
ldr r3, .L233
ldr r3, [r3]
ldr r2, [r3, #2608]
add r2, r2, #1
str r2, [r3, #2608]
ldr r3, .L233
ldr r3, [r3]
ldr r2, [fp, #-8]
str r2, [r3, #2560]
b .L232
.L231:
ldr r3, .L233
ldr r3, [r3]
ldr r2, [r3, #2484]
add r2, r2, #1
str r2, [r3, #2484]
ldr r3, .L233
ldr r3, [r3]
ldr r3, [r3, #2608]
str r3, [fp, #-12]
ldr r3, .L233
ldr r3, [r3]
ldr r2, [r3, #2608]
add r2, r2, #1
str r2, [r3, #2608]
ldr r3, .L233
ldr r3, [r3]
ldr r2, [fp, #-12]
str r2, [r3, #2568]
.L232:
mov r3, #218
b .L229
.L230:
ldr r3, .L233
ldr r3, [r3]
ldr r2, .L233
ldr r2, [r2]
ldrb r2, [r2, #9]
and r2, r2, #255
add r3, r3, r2
ldrb r3, [r3, #4]
strb r3, [fp, #-17]
ldr r3, .L233
ldr r3, [r3]
ldrb r3, [r3, #9]
and r2, r3, #255
ldr r3, .L233
ldr r3, [r3]
add r2, r2, #1
and r2, r2, #255
strb r2, [r3, #9]
ldr r3, .L233
ldr r3, [r3]
ldrb r3, [r3, #9]
and r2, r3, #255
ldr r3, .L233
ldr r3, [r3]
and r2, r2, #3
and r2, r2, #255
strb r2, [r3, #9]
ldrb r3, [fp, #-17] @ zero_extendqisi2
.L229:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L234:
.align 2
.L233:
.word cd
.size receive_byte, .-receive_byte
.align 2
.syntax unified
.arm
.fpu softvfp
.type receive_echo, %function
receive_echo:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
mov r0, #5
bl receive_byte
mov r3, r0
strb r3, [fp, #-5]
ldrb r3, [fp, #-5] @ zero_extendqisi2
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size receive_echo, .-receive_echo
.align 2
.syntax unified
.arm
.fpu softvfp
.type send_receive, %function
send_receive:
@ 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 r0, [fp, #-16]
bl send_command
bl receive_echo
mov r3, r0
strb r3, [fp, #-5]
ldrb r3, [fp, #-5] @ zero_extendqisi2
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size send_receive, .-send_receive
.align 2
.syntax unified
.arm
.fpu softvfp
.type wait_dsb, %function
wait_dsb:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
mov r0, #700
bl receive_byte
mov r3, r0
strb r3, [fp, #-5]
ldrb r3, [fp, #-5] @ zero_extendqisi2
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size wait_dsb, .-wait_dsb
.align 2
.syntax unified
.arm
.fpu softvfp
.type type_0_command, %function
type_0_command:
@ 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 clear_ur
ldr r0, [fp, #-24]
bl send_receive
mov r3, r0
strb r3, [fp, #-14]
ldrb r3, [fp, #-14] @ zero_extendqisi2
str r3, [fp, #-12]
ldr r2, [fp, #-24]
ldr r3, [fp, #-12]
cmp r2, r3
beq .L242
ldr r3, .L245
ldr r3, [r3]
ldr r2, [r3, #2468]
add r2, r2, #1
str r2, [r3, #2468]
ldr r3, .L245
ldr r3, [r3]
ldr r3, [r3, #2608]
str r3, [fp, #-8]
ldr r3, .L245
ldr r3, [r3]
ldr r2, [r3, #2608]
add r2, r2, #1
str r2, [r3, #2608]
ldr r3, .L245
ldr r3, [r3]
ldr r2, [fp, #-8]
str r2, [r3, #2552]
mvn r3, #0
b .L243
.L242:
ldr r3, [fp, #-28]
cmp r3, #0
beq .L244
bl wait_dsb
mov r3, r0
strb r3, [fp, #-13]
ldr r3, .L245
ldr r3, [r3]
ldrb r2, [fp, #-13]
strb r2, [r3, #10]
.L244:
mov r3, #0
.L243:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L246:
.align 2
.L245:
.word cd
.size type_0_command, .-type_0_command
.align 2
.syntax unified
.arm
.fpu softvfp
.type type_1_command, %function
type_1_command:
@ 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]
mov r1, #0
ldr r0, [fp, #-24]
bl type_0_command
str r0, [fp, #-16]
ldr r3, [fp, #-16]
cmp r3, #0
beq .L248
mvn r3, #0
b .L249
.L248:
mov r3, #0
str r3, [fp, #-20]
b .L250
.L251:
ldr r3, [fp, #-20]
ldr r2, [fp, #-32]
add r4, r2, r3
mov r0, #248
bl send_receive
mov r3, r0
strb r3, [r4]
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L250:
ldr r2, [fp, #-20]
ldr r3, [fp, #-28]
cmp r2, r3
blt .L251
mov r3, #0
.L249:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.size type_1_command, .-type_1_command
.align 2
.syntax unified
.arm
.fpu softvfp
.type reset_cm260, %function
reset_cm260:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
ldr r3, .L254
ldr r3, [r3]
add r3, r3, #8
mov r1, r3
ldr r0, .L254+4
bl outw
mov r0, #10
bl udelay
ldr r3, .L254
ldr r3, [r3]
add r3, r3, #8
mov r1, r3
ldr r0, .L254+8
bl outw
nop
pop {fp, pc}
.L255:
.align 2
.L254:
.word cm206_base
.word 11009
.word 10497
.size reset_cm260, .-reset_cm260
.align 2
.syntax unified
.arm
.fpu softvfp
.type fsm, %function
fsm:
@ 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 r1, [fp, #-8]
ldr r3, .L258
smull r2, r3, r1, r3
asr r2, r3, #3
asr r3, r1, #31
sub r2, r2, r3
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r2, r3, #4
sub r2, r2, r3
sub r2, r1, r2
and r2, r2, #255
ldr r3, [fp, #-12]
strb r2, [r3]
ldr r3, [fp, #-8]
ldr r2, .L258
smull r1, r2, r3, r2
asr r2, r2, #3
asr r3, r3, #31
sub r3, r2, r3
str r3, [fp, #-8]
ldr r3, [fp, #-8]
add r3, r3, #2
str r3, [fp, #-8]
ldr r2, [fp, #-8]
ldr r3, .L258+4
smull r1, r3, r2, r3
add r3, r3, r2
asr r1, r3, #5
asr r3, r2, #31
sub r1, r1, r3
mov r3, r1
lsl r3, r3, #4
sub r3, r3, r1
lsl r3, r3, #2
sub r1, r2, r3
ldr r3, [fp, #-12]
add r3, r3, #1
and r2, r1, #255
strb r2, [r3]
ldr r3, [fp, #-8]
ldr r2, .L258+4
smull r1, r2, r3, r2
add r2, r2, r3
asr r2, r2, #5
asr r3, r3, #31
sub r2, r2, r3
ldr r3, [fp, #-12]
add r3, r3, #2
and r2, r2, #255
strb r2, [r3]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L259:
.align 2
.L258:
.word 458129845
.word -2004318071
.size fsm, .-fsm
.align 2
.syntax unified
.arm
.fpu softvfp
.type fsm2lba, %function
fsm2lba:
@ 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 r0, r3
ldr r3, [fp, #-8]
add r3, r3, #1
ldrb r3, [r3] @ zero_extendqisi2
sub r2, r3, #2
ldr r3, [fp, #-8]
add r3, r3, #2
ldrb r3, [r3] @ zero_extendqisi2
mov r1, r3
mov r3, r1
lsl r3, r3, #4
sub r3, r3, r1
lsl r3, r3, #2
add r2, r2, r3
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r2, r3, #4
sub r3, r2, r3
add r3, r0, r3
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size fsm2lba, .-fsm2lba
.align 2
.syntax unified
.arm
.fpu softvfp
.type f_s_m2lba, %function
f_s_m2lba:
@ 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
strb r3, [fp, #-5]
mov r3, r1
strb r3, [fp, #-6]
mov r3, r2
strb r3, [fp, #-7]
ldrb r1, [fp, #-5] @ zero_extendqisi2
ldrb r3, [fp, #-6] @ zero_extendqisi2
sub r0, r3, #2
ldrb r2, [fp, #-7] @ zero_extendqisi2
mov r3, r2
lsl r3, r3, #4
sub r3, r3, r2
lsl r3, r3, #2
add r2, r0, r3
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r2, r3, #4
sub r3, r2, r3
add r3, r1, r3
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size f_s_m2lba, .-f_s_m2lba
.section .rodata
.align 2
.LC4:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type start_read, %function
start_read:
@ args = 0, pretend = 0, frame = 40
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #40
str r0, [fp, #-40]
ldr r3, .L273
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #32
strb r3, [fp, #-12]
mov r3, #1
str r3, [fp, #-28]
b .L265
.L266:
sub r2, fp, #12
ldr r3, [fp, #-28]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L265:
ldr r3, [fp, #-28]
cmp r3, #3
bls .L266
sub r3, fp, #12
add r3, r3, #1
mov r1, r3
ldr r0, [fp, #-40]
bl fsm
bl clear_ur
mov r3, #0
str r3, [fp, #-24]
b .L267
.L270:
sub r2, fp, #12
ldr r3, [fp, #-24]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
mov r0, r3
bl send_receive
mov r3, r0
strb r3, [fp, #-30]
ldrb r3, [fp, #-30] @ zero_extendqisi2
str r3, [fp, #-20]
sub r2, fp, #12
ldr r3, [fp, #-24]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
mov r2, r3
ldr r3, [fp, #-20]
cmp r3, r2
beq .L268
ldr r3, .L273+4
ldr r3, [r3]
ldr r2, [r3, #2468]
add r2, r2, #1
str r2, [r3, #2468]
ldr r3, .L273+4
ldr r3, [r3]
ldr r3, [r3, #2608]
str r3, [fp, #-16]
ldr r3, .L273+4
ldr r3, [r3]
ldr r2, [r3, #2608]
add r2, r2, #1
str r2, [r3, #2608]
ldr r3, .L273+4
ldr r3, [r3]
ldr r2, [fp, #-16]
str r2, [r3, #2552]
ldr r3, [fp, #-20]
cmp r3, #255
bne .L268
bl receive_echo
mov r3, r0
strb r3, [fp, #-29]
ldrb r3, [fp, #-29] @ zero_extendqisi2
str r3, [fp, #-20]
sub r2, fp, #12
ldr r3, [fp, #-24]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
mov r2, r3
ldr r3, [fp, #-20]
cmp r3, r2
beq .L268
mvn r3, #0
b .L271
.L268:
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L267:
ldr r3, [fp, #-24]
cmp r3, #3
ble .L270
mov r3, #0
.L271:
ldr r2, .L273
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L272
bl __stack_chk_fail
.L272:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L274:
.align 2
.L273:
.word .LC4
.word cd
.size start_read, .-start_read
.align 2
.syntax unified
.arm
.fpu softvfp
.type stop_read, %function
stop_read:
@ 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 r1, #0
mov r0, #112
bl type_0_command
bl receive_echo
mov r3, r0
strb r3, [fp, #-13]
ldrb r3, [fp, #-13] @ zero_extendqisi2
str r3, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #255
beq .L276
ldr r3, .L278
ldr r3, [r3]
ldr r2, [r3, #2488]
add r2, r2, #1
str r2, [r3, #2488]
ldr r3, .L278
ldr r3, [r3]
ldr r3, [r3, #2608]
str r3, [fp, #-8]
ldr r3, .L278
ldr r3, [r3]
ldr r2, [r3, #2608]
add r2, r2, #1
str r2, [r3, #2608]
ldr r3, .L278
ldr r3, [r3]
ldr r2, [fp, #-8]
str r2, [r3, #2572]
mvn r3, #0
b .L277
.L276:
mov r3, #0
.L277:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L279:
.align 2
.L278:
.word cd
.size stop_read, .-stop_read
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_background, %function
read_background:
@ 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, .L284
ldr r3, [r3]
ldrb r3, [r3, #2423] @ zero_extendqisi2
cmp r3, #0
beq .L281
mvn r3, #0
b .L282
.L281:
ldr r3, .L284+4
ldr r3, [r3]
add r3, r3, #8
mov r1, r3
ldr r0, .L284+8
bl outw
ldr r3, [fp, #-20]
cmp r3, #0
bne .L283
ldr r0, [fp, #-16]
bl start_read
str r0, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #0
beq .L283
mvn r3, #1
b .L282
.L283:
ldr r3, [fp, #-16]
str r3, [fp, #-8]
ldr r3, .L284
ldr r3, [r3]
ldr r2, [fp, #-8]
str r2, [r3, #2428]
ldr r3, .L284
ldr r3, [r3]
ldr r2, [fp, #-8]
str r2, [r3, #2424]
ldr r3, .L284
ldr r3, [r3]
mov r2, #1
strb r2, [r3, #2423]
mov r3, #0
.L282:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L285:
.align 2
.L284:
.word cd
.word cm206_base
.word 10497
.size read_background, .-read_background
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_sector, %function
read_sector:
@ 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]
mov r3, #0
str r3, [fp, #-32]
ldr r3, .L297
ldr r3, [r3]
ldrb r3, [r3, #2423] @ zero_extendqisi2
cmp r3, #0
beq .L287
ldr r3, .L297
ldr r3, [r3]
mov r2, #0
strb r2, [r3, #2423]
ldr r3, .L297
ldr r3, [r3]
mvn r2, #0
str r2, [r3, #2428]
bl stop_read
.L287:
ldr r3, .L297
ldr r3, [r3]
mov r2, #0
strb r2, [r3, #2432]
bl reset_cm260
ldr r0, [fp, #-40]
bl start_read
str r0, [fp, #-28]
ldr r3, [fp, #-28]
cmp r3, #0
beq .L288
mvn r3, #0
b .L289
.L288:
ldr r3, .L297
ldr r3, [r3]
add r3, r3, #2384
add r3, r3, #8
mov r1, #300
mov r0, r3
bl sleep_or_timeout
str r0, [fp, #-24]
ldr r3, [fp, #-24]
cmp r3, #0
beq .L290
ldr r3, .L297
ldr r3, [r3]
ldr r2, [r3, #2480]
add r2, r2, #1
str r2, [r3, #2480]
ldr r3, .L297
ldr r3, [r3]
ldr r3, [r3, #2608]
str r3, [fp, #-8]
ldr r3, .L297
ldr r3, [r3]
ldr r2, [r3, #2608]
add r2, r2, #1
str r2, [r3, #2608]
ldr r3, .L297
ldr r3, [r3]
ldr r2, [fp, #-8]
str r2, [r3, #2564]
bl stop_read
mvn r3, #2
b .L289
.L290:
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
ldr r3, .L297
ldr r3, [r3]
ldrh r3, [r3] @ movhi
lsl r3, r3, #16
lsr r3, r3, #16
and r3, r3, #4096
cmp r3, #0
beq .L295
ldr r3, [fp, #-32]
cmp r3, #99
bgt .L296
b .L288
.L295:
nop
b .L293
.L296:
nop
.L293:
ldr r3, .L297+4
ldr r3, [r3]
add r3, r3, #4
mov r0, r3
ldr r3, .L297
ldr r3, [r3]
add r3, r3, #20
ldr r2, .L297+8
mov r1, r3
bl insw
ldr r3, [fp, #-40]
add r3, r3, #1
mov r1, #1
mov r0, r3
bl read_background
str r0, [fp, #-20]
ldr r3, [fp, #-20]
cmp r3, #0
beq .L294
ldr r3, .L297
ldr r3, [r3]
ldr r2, [r3, #2504]
add r2, r2, #1
str r2, [r3, #2504]
ldr r3, .L297
ldr r3, [r3]
ldr r3, [r3, #2608]
str r3, [fp, #-16]
ldr r3, .L297
ldr r3, [r3]
ldr r2, [r3, #2608]
add r2, r2, #1
str r2, [r3, #2608]
ldr r3, .L297
ldr r3, [r3]
ldr r2, [fp, #-16]
str r2, [r3, #2588]
.L294:
ldr r3, .L297
ldr r3, [r3]
ldr r2, [fp, #-40]
str r2, [r3, #2372]
ldr r3, .L297
ldr r3, [r3]
ldr r2, [fp, #-40]
add r2, r2, #1
str r2, [r3, #2376]
ldr r3, .L297
ldr r3, [r3]
ldr r2, [r3, #2500]
add r2, r2, #1
str r2, [r3, #2500]
ldr r3, .L297
ldr r3, [r3]
ldr r3, [r3, #2608]
str r3, [fp, #-12]
ldr r3, .L297
ldr r3, [r3]
ldr r2, [r3, #2608]
add r2, r2, #1
str r2, [r3, #2608]
ldr r3, .L297
ldr r3, [r3]
ldr r2, [fp, #-12]
str r2, [r3, #2584]
mov r3, #0
.L289:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L298:
.align 2
.L297:
.word cd
.word cm206_base
.word 1176
.size read_sector, .-read_sector
.align 2
.syntax unified
.arm
.fpu softvfp
.type cm206_tasklet_func, %function
cm206_tasklet_func:
@ 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, .L313
ldr r3, [r3]
ldrb r3, [r3, #2423] @ zero_extendqisi2
sub r3, r3, #1
cmp r3, #3
ldrls pc, [pc, r3, asl #2]
b .L312
.L302:
.word .L305
.word .L304
.word .L303
.word .L301
.L305:
ldr r3, .L313
ldr r3, [r3]
ldr r2, [r3, #2508]
add r2, r2, #1
str r2, [r3, #2508]
ldr r3, .L313
ldr r3, [r3]
ldr r3, [r3, #2608]
str r3, [fp, #-8]
ldr r3, .L313
ldr r3, [r3]
ldr r2, [r3, #2608]
add r2, r2, #1
str r2, [r3, #2608]
ldr r3, .L313
ldr r3, [r3]
ldr r2, [fp, #-8]
str r2, [r3, #2592]
ldr r3, .L313
ldr r3, [r3]
ldrh r3, [r3, #2] @ movhi
lsl r3, r3, #16
lsr r3, r3, #16
and r3, r3, #1
cmp r3, #0
bne .L306
ldr r3, .L313
ldr r3, [r3]
mov r2, #112
str r2, [r3, #12]
ldr r3, .L313+4
ldr r3, [r3]
mov r0, r3
bl inw
mov r3, r0
strh r3, [fp, #-18] @ movhi
ldrsh r3, [fp, #-18]
and r3, r3, #127
lsl r3, r3, #16
asr r3, r3, #16
orr r3, r3, #10240
lsl r3, r3, #16
asr r3, r3, #16
lsl r3, r3, #16
lsr r2, r3, #16
ldr r3, .L313+4
ldr r3, [r3]
add r3, r3, #8
mov r1, r3
mov r0, r2
bl outw
ldr r3, .L313
ldr r3, [r3]
mov r2, #2
strb r2, [r3, #2423]
b .L300
.L306:
ldr r3, .L313+4
ldr r3, [r3]
add r3, r3, #10
mov r1, r3
mov r0, #112
bl outw
.L304:
ldr r3, .L313
ldr r3, [r3]
mov r2, #3
strb r2, [r3, #2423]
b .L300
.L303:
ldr r3, .L313
ldr r3, [r3]
ldrb r3, [r3, #9]
and r2, r3, #255
ldr r3, .L313
ldr r3, [r3]
ldrb r3, [r3, #8]
and r3, r3, #255
cmp r2, r3
beq .L307
ldr r3, .L313
ldr r3, [r3]
ldr r2, .L313
ldr r2, [r2]
ldrb r2, [r2, #9]
and r2, r2, #255
add r3, r3, r2
ldrb r3, [r3, #4]
and r3, r3, #255
cmp r3, #112
beq .L308
ldr r3, .L313
ldr r3, [r3]
ldr r2, [r3, #2468]
add r2, r2, #1
str r2, [r3, #2468]
ldr r3, .L313
ldr r3, [r3]
ldr r3, [r3, #2608]
str r3, [fp, #-12]
ldr r3, .L313
ldr r3, [r3]
ldr r2, [r3, #2608]
add r2, r2, #1
str r2, [r3, #2608]
ldr r3, .L313
ldr r3, [r3]
ldr r2, [fp, #-12]
str r2, [r3, #2552]
.L308:
ldr r3, .L313
ldr r3, [r3]
ldrb r3, [r3, #9]
and r2, r3, #255
ldr r3, .L313
ldr r3, [r3]
add r2, r2, #1
and r2, r2, #255
strb r2, [r3, #9]
ldr r3, .L313
ldr r3, [r3]
ldrb r3, [r3, #9]
and r2, r3, #255
ldr r3, .L313
ldr r3, [r3]
and r2, r2, #3
and r2, r2, #255
strb r2, [r3, #9]
.L307:
ldr r3, .L313
ldr r3, [r3]
ldrb r2, [r3, #2423] @ zero_extendqisi2
ldr r3, .L313
ldr r3, [r3]
add r2, r2, #1
and r2, r2, #255
strb r2, [r3, #2423]
b .L300
.L301:
ldr r3, .L313
ldr r3, [r3]
ldrb r3, [r3, #9]
and r2, r3, #255
ldr r3, .L313
ldr r3, [r3]
ldrb r3, [r3, #8]
and r3, r3, #255
cmp r2, r3
beq .L309
ldr r3, .L313
ldr r3, [r3]
ldr r2, .L313
ldr r2, [r2]
ldrb r2, [r2, #9]
and r2, r2, #255
add r3, r3, r2
ldrb r3, [r3, #4]
and r3, r3, #255
cmp r3, #255
beq .L310
ldr r3, .L313
ldr r3, [r3]
ldr r2, [r3, #2488]
add r2, r2, #1
str r2, [r3, #2488]
ldr r3, .L313
ldr r3, [r3]
ldr r3, [r3, #2608]
str r3, [fp, #-16]
ldr r3, .L313
ldr r3, [r3]
ldr r2, [r3, #2608]
add r2, r2, #1
str r2, [r3, #2608]
ldr r3, .L313
ldr r3, [r3]
ldr r2, [fp, #-16]
str r2, [r3, #2572]
.L310:
ldr r3, .L313
ldr r3, [r3]
ldrb r3, [r3, #9]
and r2, r3, #255
ldr r3, .L313
ldr r3, [r3]
add r2, r2, #1
and r2, r2, #255
strb r2, [r3, #9]
ldr r3, .L313
ldr r3, [r3]
ldrb r3, [r3, #9]
and r2, r3, #255
ldr r3, .L313
ldr r3, [r3]
and r2, r2, #3
and r2, r2, #255
strb r2, [r3, #9]
.L309:
ldr r3, .L313
ldr r3, [r3]
mov r2, #0
strb r2, [r3, #2423]
.L300:
nop
.L312:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L314:
.align 2
.L313:
.word cd
.word cm206_base
.size cm206_tasklet_func, .-cm206_tasklet_func
.section .rodata
.align 2
.LC5:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type get_drive_status, %function
get_drive_status:
@ 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, .L318
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r3, fp, #12
mov r2, r3
mov r1, #2
mov r0, #80
bl type_1_command
ldr r3, .L318+4
ldr r3, [r3]
ldrb r2, [fp, #-12] @ zero_extendqisi2
strb r2, [r3, #10]
ldr r3, .L318+4
ldr r3, [r3]
ldrb r2, [fp, #-11] @ zero_extendqisi2
strb r2, [r3, #11]
ldr r3, .L318+4
ldr r3, [r3]
ldrb r3, [r3, #3132] @ zero_extendqisi2
lsl r3, r3, #24
asr r2, r3, #24
ldr r3, .L318+4
ldr r3, [r3]
ldrb r3, [r3, #10]
and r3, r3, #255
and r3, r3, #168
cmp r3, #0
movne r3, #1
moveq r3, #0
and r3, r3, #255
lsl r3, r3, #24
asr r3, r3, #24
orr r3, r2, r3
lsl r3, r3, #24
asr r2, r3, #24
ldr r3, .L318+4
ldr r3, [r3]
and r2, r2, #255
strb r2, [r3, #3132]
nop
ldr r3, .L318
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L317
bl __stack_chk_fail
.L317:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L319:
.align 2
.L318:
.word .LC5
.word cd
.size get_drive_status, .-get_drive_status
.align 2
.syntax unified
.arm
.fpu softvfp
.type get_disc_status, %function
get_disc_status:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
ldr r3, .L322
ldr r3, [r3]
add r3, r3, #2432
add r3, r3, #1
mov r2, r3
mov r1, #7
mov r0, #81
bl type_1_command
nop
pop {fp, pc}
.L323:
.align 2
.L322:
.word cd
.size get_disc_status, .-get_disc_status
.align 2
.syntax unified
.arm
.fpu softvfp
.type cm206_open, %function
cm206_open:
@ 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, .L327
ldr r3, [r3]
ldr r3, [r3, #16]
cmp r3, #0
bne .L325
ldr r3, .L327
ldr r3, [r3]
mov r2, #0
strb r2, [r3, #2423]
bl reset_cm260
ldr r3, .L327
ldr r3, [r3]
mvn r2, #0
str r2, [r3, #2428]
ldr r3, .L327
ldr r3, [r3]
mvn r2, #0
str r2, [r3, #2376]
.L325:
ldr r3, .L327
ldr r3, [r3]
ldr r2, [r3, #16]
add r2, r2, #1
str r2, [r3, #16]
ldr r3, .L327
ldr r3, [r3]
ldr r2, [r3, #2512]
add r2, r2, #1
str r2, [r3, #2512]
ldr r3, .L327
ldr r3, [r3]
ldr r3, [r3, #2608]
str r3, [fp, #-8]
ldr r3, .L327
ldr r3, [r3]
ldr r2, [r3, #2608]
add r2, r2, #1
str r2, [r3, #2608]
ldr r3, .L327
ldr r3, [r3]
ldr r2, [fp, #-8]
str r2, [r3, #2596]
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L328:
.align 2
.L327:
.word cd
.size cm206_open, .-cm206_open
.align 2
.syntax unified
.arm
.fpu softvfp
.type cm206_release, %function
cm206_release:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
ldr r3, .L333
ldr r3, [r3]
ldr r3, [r3, #16]
cmp r3, #1
bne .L330
ldr r3, .L333
ldr r3, [r3]
ldrb r3, [r3, #2423] @ zero_extendqisi2
cmp r3, #0
beq .L331
ldr r3, .L333
ldr r3, [r3]
mov r2, #0
strb r2, [r3, #2423]
bl stop_read
.L331:
ldr r3, .L333
ldr r3, [r3]
mvn r2, #0
str r2, [r3, #2376]
ldr r3, .L333
ldr r3, [r3]
mov r2, #0
strb r2, [r3, #2434]
.L330:
ldr r3, .L333
ldr r3, [r3]
ldr r2, [r3, #16]
sub r2, r2, #1
str r2, [r3, #16]
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L334:
.align 2
.L333:
.word cd
.size cm206_release, .-cm206_release
.align 2
.syntax unified
.arm
.fpu softvfp
.type empty_buffer, %function
empty_buffer:
@ 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]
b .L336
.L337:
ldr r3, .L339
ldr r3, [r3]
add r3, r3, #4
mov r0, r3
ldr r3, .L339+4
ldr r3, [r3]
add r2, r3, #20
ldr r3, .L339+4
ldr r3, [r3]
ldrb r3, [r3, #2432] @ zero_extendqisi2
lsl r3, r3, #1
add r1, r2, r3
ldr r3, .L339+4
ldr r3, [r3]
ldrb r3, [r3, #2432] @ zero_extendqisi2
rsb r3, r3, #1168
add r3, r3, #8
mov r2, r3
bl insw
ldr r3, [fp, #-16]
sub r3, r3, #1
str r3, [fp, #-16]
ldr r3, .L339+4
ldr r3, [r3]
ldr r2, [r3, #2424]
add r2, r2, #1
str r2, [r3, #2424]
ldr r3, .L339+4
ldr r3, [r3]
mov r2, #0
strb r2, [r3, #2432]
ldr r3, .L339+4
ldr r3, [r3]
ldr r2, [r3, #2496]
add r2, r2, #1
str r2, [r3, #2496]
ldr r3, .L339+4
ldr r3, [r3]
ldr r3, [r3, #2608]
str r3, [fp, #-8]
ldr r3, .L339+4
ldr r3, [r3]
ldr r2, [r3, #2608]
add r2, r2, #1
str r2, [r3, #2608]
ldr r3, .L339+4
ldr r3, [r3]
ldr r2, [fp, #-8]
str r2, [r3, #2580]
.L336:
ldr r3, [fp, #-16]
cmp r3, #0
bge .L337
ldr r3, .L339+4
ldr r3, [r3]
ldr r2, [r3, #2424]
ldr r3, .L339+4
ldr r3, [r3]
sub r2, r2, #1
str r2, [r3, #2372]
ldr r3, .L339+4
ldr r2, [r3]
ldr r3, .L339+4
ldr r3, [r3]
ldr r2, [r2, #2424]
str r2, [r3, #2376]
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L340:
.align 2
.L339:
.word cm206_base
.word cd
.size empty_buffer, .-empty_buffer
.align 2
.syntax unified
.arm
.fpu softvfp
.type try_adapter, %function
try_adapter:
@ 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, .L352
ldr r3, [r3]
ldr r3, [r3, #2424]
ldr r2, [fp, #-16]
cmp r2, r3
blt .L350
ldr r3, .L352
ldr r3, [r3]
ldr r3, [r3, #2428]
ldr r2, [fp, #-16]
cmp r2, r3
bge .L351
ldr r3, .L352
ldr r3, [r3]
ldr r3, [r3, #2424]
ldr r2, [fp, #-16]
sub r3, r2, r3
mov r0, r3
bl empty_buffer
mov r3, #0
b .L344
.L350:
nop
b .L342
.L351:
nop
.L342:
ldr r3, .L352
ldr r3, [r3]
ldrb r3, [r3, #2423] @ zero_extendqisi2
cmp r3, #1
bne .L345
ldr r3, .L352
ldr r3, [r3]
ldr r3, [r3, #2424]
ldr r2, [fp, #-16]
cmp r2, r3
blt .L346
ldr r3, .L352
ldr r3, [r3]
ldr r2, [r3, #2424]
ldr r3, .L352
ldr r3, [r3]
add r3, r3, #2416
add r3, r3, #5
ldrsb r3, [r3]
add r3, r2, r3
ldr r2, [fp, #-16]
cmp r2, r3
bge .L347
ldr r3, .L352
ldr r3, [r3]
mov r2, #1
strb r2, [r3, #2422]
b .L348
.L349:
ldr r3, .L352
ldr r3, [r3]
add r3, r3, #2384
add r3, r3, #8
mov r1, #300
mov r0, r3
bl sleep_or_timeout
str r0, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #0
beq .L348
ldr r3, .L352
ldr r3, [r3]
ldr r2, [r3, #2492]
add r2, r2, #1
str r2, [r3, #2492]
ldr r3, .L352
ldr r3, [r3]
ldr r3, [r3, #2608]
str r3, [fp, #-8]
ldr r3, .L352
ldr r3, [r3]
ldr r2, [r3, #2608]
add r2, r2, #1
str r2, [r3, #2608]
ldr r3, .L352
ldr r3, [r3]
ldr r2, [fp, #-8]
str r2, [r3, #2576]
ldr r3, .L352
ldr r3, [r3]
mov r2, #0
strb r2, [r3, #2422]
mvn r3, #0
b .L344
.L348:
ldr r3, .L352
ldr r3, [r3]
ldr r3, [r3, #2428]
ldr r2, [fp, #-16]
cmp r2, r3
bge .L349
ldr r3, .L352
ldr r3, [r3]
mov r2, #0
strb r2, [r3, #2422]
ldr r3, .L352
ldr r3, [r3]
ldr r3, [r3, #2424]
ldr r2, [fp, #-16]
sub r3, r2, r3
mov r0, r3
bl empty_buffer
mov r3, #0
b .L344
.L347:
mvn r3, #1
b .L344
.L346:
mvn r3, #1
b .L344
.L345:
mvn r3, #1
.L344:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L353:
.align 2
.L352:
.word cd
.size try_adapter, .-try_adapter
.align 2
.syntax unified
.arm
.fpu softvfp
.type do_cm206_request, %function
do_cm206_request:
@ 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]
.L366:
ldr r0, [fp, #-48]
bl elv_next_request
str r0, [fp, #-32]
ldr r3, [fp, #-32]
cmp r3, #0
beq .L368
ldr r3, [fp, #-32]
add r3, r3, #66
cmp r3, #0
beq .L357
mov r1, #0
ldr r0, [fp, #-32]
bl end_request
b .L358
.L357:
ldr r3, [fp, #-48]
ldr r3, [r3, #32]
mov r0, r3
bl spin_unlock_irq
mov r3, #0
str r3, [fp, #-36]
mov r3, #0
str r3, [fp, #-40]
b .L359
.L365:
ldr r3, [fp, #-32]
ldr r2, [r3, #44]
ldr r3, [fp, #-40]
add r3, r2, r3
lsr r3, r3, #2
str r3, [fp, #-28]
ldr r3, [fp, #-32]
ldr r2, [r3, #44]
ldr r3, [fp, #-40]
add r3, r2, r3
and r3, r3, #3
str r3, [fp, #-24]
ldr r3, [fp, #-32]
ldr r3, [r3, #56]
ldr r2, [fp, #-40]
lsl r2, r2, #9
add r3, r3, r2
str r3, [fp, #-20]
ldr r3, .L371
ldr r3, [r3]
ldr r3, [r3, #2372]
ldr r2, [fp, #-28]
cmp r2, r3
blt .L369
ldr r3, .L371
ldr r3, [r3]
ldr r3, [r3, #2376]
ldr r2, [fp, #-28]
cmp r2, r3
bge .L370
ldr r3, .L371
ldr r3, [r3]
add r2, r3, #20
ldr r3, [fp, #-24]
lsl r3, r3, #9
mov r0, r3
ldr r3, .L371
ldr r3, [r3]
ldr r3, [r3, #2372]
ldr r1, [fp, #-28]
sub r3, r1, r3
mov r1, #2352
mul r3, r1, r3
add r3, r0, r3
add r3, r3, #16
add r3, r2, r3
str r3, [fp, #-16]
mov r2, #512
ldr r1, [fp, #-16]
ldr r0, [fp, #-20]
bl memcpy
b .L362
.L369:
nop
b .L360
.L370:
nop
.L360:
ldr r0, [fp, #-28]
bl try_adapter
str r0, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #0
beq .L363
ldr r0, [fp, #-28]
bl read_sector
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L364
mov r3, #1
str r3, [fp, #-36]
b .L362
.L364:
ldr r3, .L371
ldr r3, [r3]
add r2, r3, #20
ldr r3, [fp, #-24]
lsl r3, r3, #9
add r3, r3, #16
add r3, r2, r3
str r3, [fp, #-16]
mov r2, #512
ldr r1, [fp, #-16]
ldr r0, [fp, #-20]
bl memcpy
b .L362
.L363:
ldr r3, .L371
ldr r3, [r3]
add r2, r3, #20
ldr r3, [fp, #-24]
lsl r3, r3, #9
add r3, r3, #16
add r3, r2, r3
str r3, [fp, #-16]
mov r2, #512
ldr r1, [fp, #-16]
ldr r0, [fp, #-20]
bl memcpy
.L362:
ldr r3, [fp, #-40]
add r3, r3, #1
str r3, [fp, #-40]
.L359:
ldr r3, [fp, #-32]
ldr r2, [r3, #48]
ldr r3, [fp, #-40]
cmp r2, r3
bhi .L365
ldr r3, [fp, #-48]
ldr r3, [r3, #32]
mov r0, r3
bl spin_lock_irq
ldr r3, [fp, #-36]
cmp r3, #0
moveq r3, #1
movne r3, #0
and r3, r3, #255
mov r1, r3
ldr r0, [fp, #-32]
bl end_request
.L358:
b .L366
.L368:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L372:
.align 2
.L371:
.word cd
.size do_cm206_request, .-do_cm206_request
.section .rodata
.align 2
.LC6:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type seek, %function
seek:
@ 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]
ldr r3, .L380
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #16
strb r3, [fp, #-12]
mov r3, #1
str r3, [fp, #-16]
b .L374
.L375:
sub r2, fp, #12
ldr r3, [fp, #-16]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L374:
ldr r3, [fp, #-16]
cmp r3, #3
bls .L375
sub r3, fp, #12
add r3, r3, #1
mov r1, r3
ldr r0, [fp, #-32]
bl fsm
mov r3, #0
str r3, [fp, #-20]
b .L376
.L377:
sub r2, fp, #12
ldr r3, [fp, #-20]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
mov r1, #0
mov r0, r3
bl type_0_command
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L376:
ldr r3, [fp, #-20]
cmp r3, #3
ble .L377
bl wait_dsb
mov r3, r0
strb r3, [fp, #-21]
ldr r3, .L380+4
ldr r3, [r3]
ldrb r2, [fp, #-21]
strb r2, [r3, #10]
nop
ldr r3, .L380
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L379
bl __stack_chk_fail
.L379:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L381:
.align 2
.L380:
.word .LC6
.word cd
.size seek, .-seek
.align 2
.syntax unified
.arm
.fpu softvfp
.type bcdbin, %function
bcdbin:
@ 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
strb r3, [fp, #-5]
ldrb r3, [fp, #-5] @ zero_extendqisi2
lsr r3, r3, #4
and r3, r3, #255
mov r2, r3
lsl r2, r2, #2
add r3, r2, r3
lsl r3, r3, #1
and r2, r3, #255
ldrb r3, [fp, #-5]
and r3, r3, #15
and r3, r3, #255
add r3, r2, r3
and r3, r3, #255
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size bcdbin, .-bcdbin
.align 2
.syntax unified
.arm
.fpu softvfp
.type normalize_track, %function
normalize_track:
@ 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
strb r3, [fp, #-5]
ldrb r3, [fp, #-5] @ zero_extendqisi2
cmp r3, #0
bne .L385
mov r3, #1
b .L386
.L385:
ldr r3, .L388
ldr r3, [r3]
ldrb r3, [r3, #2435] @ zero_extendqisi2
ldrb r2, [fp, #-5] @ zero_extendqisi2
cmp r2, r3
bls .L387
ldr r3, .L388
ldr r3, [r3]
ldrb r3, [r3, #2435] @ zero_extendqisi2
add r3, r3, #1
and r3, r3, #255
b .L386
.L387:
ldrb r3, [fp, #-5] @ zero_extendqisi2
.L386:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L389:
.align 2
.L388:
.word cd
.size normalize_track, .-normalize_track
.align 2
.syntax unified
.arm
.fpu softvfp
.type get_toc_lba, %function
get_toc_lba:
@ args = 0, pretend = 0, frame = 56
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #56
mov r3, r0
strb r3, [fp, #-53]
ldr r3, .L407
str r3, [fp, #-44]
ldr r3, .L407+4
ldr r3, [r3]
add r3, r3, #2608
add r3, r3, #10
mov r0, r3
bl fsm2lba
str r0, [fp, #-24]
ldr r3, [fp, #-24]
str r3, [fp, #-40]
mov r3, #0
str r3, [fp, #-20]
ldr r3, .L407+4
ldr r3, [r3]
add r3, r3, #3104
add r3, r3, #13
str r3, [fp, #-16]
mov r3, #0
str r3, [fp, #-28]
ldr r3, .L407+8
str r3, [fp, #-12]
ldrb r3, [fp, #-53] @ zero_extendqisi2
str r3, [fp, #-36]
b .L391
.L394:
ldr r3, .L407+4
ldr r1, [r3]
ldr r2, [fp, #-36]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
add r3, r1, r3
add r3, r3, #2608
add r3, r3, #4
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
beq .L392
ldr r3, .L407+4
ldr r1, [r3]
ldr r2, [fp, #-36]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
add r3, r3, #2608
add r3, r1, r3
add r3, r3, #5
mov r0, r3
bl fsm2lba
str r0, [fp, #-40]
b .L393
.L392:
ldr r3, [fp, #-36]
sub r3, r3, #1
str r3, [fp, #-36]
.L391:
ldr r3, [fp, #-36]
cmp r3, #0
bgt .L394
.L393:
ldr r2, [fp, #-40]
ldr r3, [fp, #-12]
add r3, r2, r3
str r3, [fp, #-32]
.L404:
ldr r0, [fp, #-32]
bl seek
ldr r2, [fp, #-16]
mov r1, #10
mov r0, #65
bl type_1_command
ldr r3, [fp, #-16]
add r3, r3, #1
ldrb r3, [r3] @ zero_extendqisi2
mov r0, r3
bl normalize_track
mov r3, r0
strb r3, [fp, #-48]
ldr r3, .L407+4
ldr r1, [r3]
ldrb r2, [fp, #-48] @ zero_extendqisi2
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
add r3, r1, r3
add r3, r3, #2608
add r3, r3, #4
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L395
ldr r3, [fp, #-16]
add r3, r3, #5
ldrb r3, [r3] @ zero_extendqisi2
mov r0, r3
bl bcdbin
mov r3, r0
strb r3, [fp, #-47]
ldr r3, [fp, #-16]
add r3, r3, #4
ldrb r3, [r3] @ zero_extendqisi2
mov r0, r3
bl bcdbin
mov r3, r0
strb r3, [fp, #-46]
ldr r3, [fp, #-16]
add r3, r3, #3
ldrb r3, [r3] @ zero_extendqisi2
mov r0, r3
bl bcdbin
mov r3, r0
strb r3, [fp, #-45]
ldr r3, [fp, #-16]
add r3, r3, #9
ldrb r3, [r3] @ zero_extendqisi2
mov r2, r3
ldrb r3, [fp, #-47] @ zero_extendqisi2
sub r1, r2, r3
ldr r3, [fp, #-16]
add r3, r3, #8
ldrb r3, [r3] @ zero_extendqisi2
mov r2, r3
ldrb r3, [fp, #-46] @ zero_extendqisi2
sub r3, r2, r3
sub r0, r3, #2
ldr r3, [fp, #-16]
add r3, r3, #7
ldrb r3, [r3] @ zero_extendqisi2
mov r2, r3
ldrb r3, [fp, #-45] @ zero_extendqisi2
sub r2, r2, r3
mov r3, r2
lsl r3, r3, #4
sub r3, r3, r2
lsl r3, r3, #2
add r2, r0, r3
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r2, r3, #4
sub r3, r2, r3
add r3, r1, r3
str r3, [fp, #-8]
ldr r3, .L407+4
ldr r1, [r3]
ldrb r2, [fp, #-48] @ zero_extendqisi2
ldr r3, [fp, #-16]
ldrb r0, [r3, #1] @ zero_extendqisi2
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
add r3, r1, r3
add r3, r3, #2608
add r3, r3, #4
mov r2, r0
strb r2, [r3]
ldr r3, .L407+4
ldr r1, [r3]
ldrb r2, [fp, #-48] @ zero_extendqisi2
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
add r3, r3, #2608
add r3, r1, r3
add r3, r3, #5
mov r1, r3
ldr r0, [fp, #-8]
bl fsm
ldr r3, .L407+4
ldr r1, [r3]
ldrb r2, [fp, #-48] @ zero_extendqisi2
ldr r3, [fp, #-16]
ldrb r0, [r3] @ zero_extendqisi2
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
add r3, r1, r3
add r3, r3, #2608
add r3, r3, #8
mov r2, r0
strb r2, [r3]
ldrb r2, [fp, #-48] @ zero_extendqisi2
ldrb r3, [fp, #-53] @ zero_extendqisi2
cmp r2, r3
bne .L395
ldr r3, [fp, #-8]
b .L396
.L395:
ldr r3, [fp, #-32]
str r3, [fp, #-20]
ldr r3, [fp, #-28]
cmp r3, #0
beq .L397
ldrb r2, [fp, #-48] @ zero_extendqisi2
ldrb r3, [fp, #-53] @ zero_extendqisi2
cmp r2, r3
bcs .L398
ldr r3, [fp, #-32]
str r3, [fp, #-40]
b .L399
.L398:
ldr r3, [fp, #-32]
str r3, [fp, #-44]
.L399:
ldr r2, [fp, #-40]
ldr r3, [fp, #-44]
add r3, r2, r3
lsr r2, r3, #31
add r3, r2, r3
asr r3, r3, #1
str r3, [fp, #-32]
b .L400
.L397:
ldrb r2, [fp, #-48] @ zero_extendqisi2
ldrb r3, [fp, #-53] @ zero_extendqisi2
cmp r2, r3
bcs .L401
ldr r2, [fp, #-32]
ldr r3, [fp, #-12]
add r3, r2, r3
str r3, [fp, #-32]
b .L400
.L401:
mov r3, #1
str r3, [fp, #-28]
ldr r3, [fp, #-32]
str r3, [fp, #-44]
ldr r2, [fp, #-32]
ldr r3, [fp, #-12]
sub r3, r2, r3
str r3, [fp, #-40]
ldr r2, [fp, #-40]
ldr r3, [fp, #-44]
add r3, r2, r3
lsr r2, r3, #31
add r3, r2, r3
asr r3, r3, #1
str r3, [fp, #-32]
.L400:
ldr r2, [fp, #-32]
ldr r3, [fp, #-20]
cmp r2, r3
beq .L406
b .L404
.L406:
nop
ldr r3, [fp, #-32]
.L396:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L408:
.align 2
.L407:
.word 332850
.word cd
.word 13500
.size get_toc_lba, .-get_toc_lba
.align 2
.syntax unified
.arm
.fpu softvfp
.type update_toc_entry, %function
update_toc_entry:
@ 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, r0
strb r3, [fp, #-5]
ldrb r3, [fp, #-5] @ zero_extendqisi2
mov r0, r3
bl normalize_track
mov r3, r0
strb r3, [fp, #-5]
ldr r3, .L413
ldr r1, [r3]
ldrb r2, [fp, #-5] @ zero_extendqisi2
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
add r3, r1, r3
add r3, r3, #2608
add r3, r3, #4
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L412
ldrb r3, [fp, #-5] @ zero_extendqisi2
mov r0, r3
bl get_toc_lba
nop
.L412:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L414:
.align 2
.L413:
.word cd
.size update_toc_entry, .-update_toc_entry
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_toc_header, %function
read_toc_header:
@ 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, .L421
ldr r3, [r3]
ldrb r3, [r3, #2434] @ zero_extendqisi2
cmp r3, #0
bne .L416
bl get_disc_status
.L416:
ldr r3, [fp, #-16]
cmp r3, #0
beq .L417
ldr r3, .L421
ldr r3, [r3]
ldrb r2, [r3, #2434] @ zero_extendqisi2
ldr r3, [fp, #-16]
strb r2, [r3]
ldr r3, .L421
ldr r3, [r3]
ldrb r2, [r3, #2435] @ zero_extendqisi2
ldr r3, [fp, #-16]
strb r2, [r3, #1]
mov r3, #0
str r3, [fp, #-8]
b .L418
.L419:
ldr r3, .L421
ldr r1, [r3]
ldr r3, [fp, #-8]
add r3, r3, #3
ldr r2, .L421
ldr r2, [r2]
add r3, r1, r3
ldrb r1, [r3, #2433] @ zero_extendqisi2
ldr r3, [fp, #-8]
add r3, r2, r3
add r3, r3, #2608
add r3, r3, #10
mov r2, r1
strb r2, [r3]
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L418:
ldr r3, [fp, #-8]
cmp r3, #2
ble .L419
ldr r3, .L421
ldr r3, [r3]
ldrb r3, [r3, #2435] @ zero_extendqisi2
add r3, r3, #1
and r3, r3, #255
mov r0, r3
bl update_toc_entry
mov r3, #0
b .L420
.L417:
mvn r3, #0
.L420:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L422:
.align 2
.L421:
.word cd
.size read_toc_header, .-read_toc_header
.section .rodata
.align 2
.LC7:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type play_from_to_msf, %function
play_from_to_msf:
@ 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]
ldr r3, .L430
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #48
strb r3, [fp, #-20]
ldr r3, [fp, #-32]
ldrb r3, [r3, #2] @ zero_extendqisi2
strb r3, [fp, #-19]
ldr r3, [fp, #-32]
ldrb r3, [r3, #1] @ zero_extendqisi2
strb r3, [fp, #-18]
ldr r3, [fp, #-32]
ldrb r3, [r3] @ zero_extendqisi2
strb r3, [fp, #-17]
ldr r3, [fp, #-32]
ldrb r3, [r3, #5] @ zero_extendqisi2
strb r3, [fp, #-16]
ldr r3, [fp, #-32]
ldrb r3, [r3, #4] @ zero_extendqisi2
strb r3, [fp, #-15]
ldr r3, [fp, #-32]
ldrb r3, [r3, #3] @ zero_extendqisi2
strb r3, [fp, #-14]
mov r3, #2
strb r3, [fp, #-13]
mov r3, #2
strb r3, [fp, #-12]
mov r3, #0
str r3, [fp, #-24]
b .L424
.L425:
sub r2, fp, #20
ldr r3, [fp, #-24]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
mov r1, #0
mov r0, r3
bl type_0_command
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L424:
ldr r3, [fp, #-24]
cmp r3, #8
ble .L425
mov r3, #0
str r3, [fp, #-24]
b .L426
.L427:
ldr r3, [fp, #-24]
add r3, r3, #4
ldr r2, .L430+4
ldr r2, [r2]
sub r1, fp, #4
add r3, r1, r3
ldrb r1, [r3, #-16] @ zero_extendqisi2
ldr r3, [fp, #-24]
add r3, r2, r3
add r3, r3, #2608
add r3, r3, #5
mov r2, r1
strb r2, [r3]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L426:
ldr r3, [fp, #-24]
cmp r3, #2
ble .L427
ldr r3, .L430+4
ldr r3, [r3]
mov r2, #0
strb r2, [r3, #2612]
bl wait_dsb
mov r3, r0
strb r3, [fp, #-25]
ldr r3, .L430+4
ldr r3, [r3]
ldrb r2, [fp, #-25]
strb r2, [r3, #10]
nop
ldr r3, .L430
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L429
bl __stack_chk_fail
.L429:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L431:
.align 2
.L430:
.word .LC7
.word cd
.size play_from_to_msf, .-play_from_to_msf
.section .rodata
.align 2
.LC8:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type play_from_to_track, %function
play_from_to_track:
@ 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, .L447
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #48
strb r3, [fp, #-16]
mov r3, #1
str r3, [fp, #-24]
b .L433
.L434:
sub r2, fp, #16
ldr r3, [fp, #-24]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L433:
ldr r3, [fp, #-24]
cmp r3, #7
bls .L434
ldr r3, [fp, #-32]
cmp r3, #0
bne .L435
mov r3, #0
str r3, [fp, #-20]
b .L436
.L437:
ldr r3, .L447+4
ldr r1, [r3]
ldr r3, [fp, #-20]
add r2, r3, #2
ldr r3, [fp, #-20]
add r3, r3, #1
add r2, r1, r2
ldrb r2, [r2, #3127] @ zero_extendqisi2
sub r1, fp, #4
add r3, r1, r3
strb r2, [r3, #-12]
ldr r3, .L447+4
ldr r1, [r3]
ldr r3, [fp, #-20]
add r2, r3, #4
ldr r3, [fp, #-20]
add r3, r1, r3
add r3, r3, #2608
add r3, r3, #5
ldrb r1, [r3] @ zero_extendqisi2
sub r3, fp, #4
add r3, r3, r2
mov r2, r1
strb r2, [r3, #-12]
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L436:
ldr r3, [fp, #-20]
cmp r3, #2
ble .L437
b .L438
.L435:
ldr r3, [fp, #-32]
and r3, r3, #255
mov r0, r3
bl update_toc_entry
ldr r3, [fp, #-36]
and r3, r3, #255
add r3, r3, #1
and r3, r3, #255
mov r0, r3
bl update_toc_entry
mov r3, #0
str r3, [fp, #-20]
b .L439
.L440:
ldr r3, .L447+4
ldr r0, [r3]
ldr r3, [fp, #-20]
add r1, r3, #1
ldr r2, [fp, #-32]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
add r2, r0, r3
ldr r3, [fp, #-20]
add r3, r2, r3
add r3, r3, #2608
add r3, r3, #5
ldrb r2, [r3] @ zero_extendqisi2
sub r3, fp, #4
add r3, r3, r1
strb r2, [r3, #-12]
ldr r3, .L447+4
ldr r1, [r3]
ldr r3, [fp, #-36]
add r2, r3, #1
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
add r2, r1, r3
ldr r3, [fp, #-20]
add r3, r2, r3
add r3, r3, #2608
add r3, r3, #5
ldrb r3, [r3]
strb r3, [fp, #-26]
ldr r3, [fp, #-20]
add r3, r3, #4
sub r2, fp, #4
add r3, r2, r3
ldrb r2, [fp, #-26]
strb r2, [r3, #-12]
ldr r3, .L447+4
ldr r2, [r3]
ldr r3, [fp, #-20]
add r3, r2, r3
add r3, r3, #2608
add r3, r3, #5
ldrb r2, [fp, #-26]
strb r2, [r3]
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L439:
ldr r3, [fp, #-20]
cmp r3, #2
ble .L440
ldr r3, .L447+4
ldr r3, [r3]
ldr r2, [fp, #-36]
and r2, r2, #255
strb r2, [r3, #2612]
.L438:
mov r3, #0
str r3, [fp, #-20]
b .L441
.L442:
sub r2, fp, #16
ldr r3, [fp, #-20]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
mov r1, #0
mov r0, r3
bl type_0_command
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L441:
ldr r3, [fp, #-20]
cmp r3, #6
ble .L442
mov r3, #0
str r3, [fp, #-20]
b .L443
.L444:
mov r1, #0
mov r0, #2
bl type_0_command
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L443:
ldr r3, [fp, #-20]
cmp r3, #1
ble .L444
bl wait_dsb
mov r3, r0
strb r3, [fp, #-25]
ldr r3, .L447+4
ldr r3, [r3]
ldrb r2, [fp, #-25]
strb r2, [r3, #10]
nop
ldr r3, .L447
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L446
bl __stack_chk_fail
.L446:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L448:
.align 2
.L447:
.word .LC8
.word cd
.size play_from_to_track, .-play_from_to_track
.align 2
.syntax unified
.arm
.fpu softvfp
.type get_current_q, %function
get_current_q:
@ 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, #-32]
ldr r3, .L459
ldr r3, [r3]
add r3, r3, #3104
add r3, r3, #13
str r3, [fp, #-20]
ldr r2, [fp, #-20]
mov r1, #10
mov r0, #65
bl type_1_command
str r0, [fp, #-16]
ldr r3, [fp, #-16]
cmp r3, #0
beq .L450
mov r3, #0
b .L451
.L450:
mov r3, #2
str r3, [fp, #-24]
b .L452
.L453:
ldr r3, [fp, #-24]
ldr r2, [fp, #-20]
add r3, r2, r3
ldrb r1, [r3] @ zero_extendqisi2
ldr r3, [fp, #-24]
ldr r2, [fp, #-20]
add r4, r2, r3
mov r0, r1
bl bcdbin
mov r3, r0
strb r3, [r4]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L452:
ldr r3, [fp, #-24]
cmp r3, #5
ble .L453
ldr r3, [fp, #-20]
ldrb r3, [r3] @ zero_extendqisi2
and r3, r3, #15
and r1, r3, #255
ldr r2, [fp, #-32]
ldrb r3, [r2, #2]
and r1, r1, #15
bic r3, r3, #15
orr r3, r1, r3
strb r3, [r2, #2]
ldr r3, [fp, #-20]
ldrb r3, [r3] @ zero_extendqisi2
lsr r3, r3, #4
and r3, r3, #255
and r3, r3, #15
and r3, r3, #255
ldr r1, [fp, #-32]
ldrb r2, [r1, #2]
and r3, r3, #15
bic r2, r2, #240
lsl r3, r3, #4
orr r3, r3, r2
mov r2, r3
strb r2, [r1, #2]
ldr r3, [fp, #-20]
ldrb r2, [r3, #1] @ zero_extendqisi2
ldr r3, [fp, #-32]
strb r2, [r3, #3]
ldr r3, [fp, #-20]
ldrb r2, [r3, #2] @ zero_extendqisi2
ldr r3, [fp, #-32]
strb r2, [r3, #4]
ldr r3, [fp, #-32]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #2
bne .L454
ldr r3, [fp, #-20]
ldrb r2, [r3, #3] @ zero_extendqisi2
ldr r3, [fp, #-32]
strb r2, [r3, #12]
ldr r3, [fp, #-20]
ldrb r2, [r3, #4] @ zero_extendqisi2
ldr r3, [fp, #-32]
strb r2, [r3, #13]
ldr r3, [fp, #-20]
ldrb r2, [r3, #5] @ zero_extendqisi2
ldr r3, [fp, #-32]
strb r2, [r3, #14]
ldr r3, [fp, #-20]
ldrb r2, [r3, #7] @ zero_extendqisi2
ldr r3, [fp, #-32]
strb r2, [r3, #8]
ldr r3, [fp, #-20]
ldrb r2, [r3, #8] @ zero_extendqisi2
ldr r3, [fp, #-32]
strb r2, [r3, #9]
ldr r3, [fp, #-20]
ldrb r2, [r3, #9] @ zero_extendqisi2
ldr r3, [fp, #-32]
strb r2, [r3, #10]
b .L455
.L454:
ldr r3, [fp, #-20]
add r3, r3, #5
ldrb r0, [r3] @ zero_extendqisi2
ldr r3, [fp, #-20]
add r3, r3, #4
ldrb r1, [r3] @ zero_extendqisi2
ldr r3, [fp, #-20]
add r3, r3, #3
ldrb r3, [r3] @ zero_extendqisi2
mov r2, r3
bl f_s_m2lba
mov r2, r0
ldr r3, [fp, #-32]
str r2, [r3, #12]
ldr r3, [fp, #-20]
add r3, r3, #9
ldrb r0, [r3] @ zero_extendqisi2
ldr r3, [fp, #-20]
add r3, r3, #8
ldrb r1, [r3] @ zero_extendqisi2
ldr r3, [fp, #-20]
add r3, r3, #7
ldrb r3, [r3] @ zero_extendqisi2
mov r2, r3
bl f_s_m2lba
mov r2, r0
ldr r3, [fp, #-32]
str r2, [r3, #8]
.L455:
bl get_drive_status
ldr r3, .L459
ldr r3, [r3]
ldrb r3, [r3, #10]
and r3, r3, #255
and r3, r3, #4
cmp r3, #0
beq .L456
ldr r3, [fp, #-32]
mov r2, #17
strb r2, [r3, #1]
b .L457
.L456:
ldr r3, .L459
ldr r3, [r3]
ldrb r3, [r3, #3127] @ zero_extendqisi2
cmp r3, #0
beq .L458
ldr r3, [fp, #-32]
mov r2, #18
strb r2, [r3, #1]
b .L457
.L458:
ldr r3, [fp, #-32]
mov r2, #21
strb r2, [r3, #1]
.L457:
mov r3, #0
.L451:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L460:
.align 2
.L459:
.word cd
.size get_current_q, .-get_current_q
.align 2
.syntax unified
.arm
.fpu softvfp
.type invalidate_toc, %function
invalidate_toc:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
ldr r3, .L463
ldr r3, [r3]
add r3, r3, #2608
add r3, r3, #4
ldr r2, .L463+4
mov r1, #0
mov r0, r3
bl memset
ldr r3, .L463
ldr r3, [r3]
add r3, r3, #2432
add r3, r3, #1
mov r2, #7
mov r1, #0
mov r0, r3
bl memset
nop
pop {fp, pc}
.L464:
.align 2
.L463:
.word cd
.word 505
.size invalidate_toc, .-invalidate_toc
.align 2
.syntax unified
.arm
.fpu softvfp
.type get_toc_entry, %function
get_toc_entry:
@ 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]
ldrb r3, [r3] @ zero_extendqisi2
mov r0, r3
bl normalize_track
mov r3, r0
strb r3, [fp, #-6]
ldrb r3, [fp, #-6]
strb r3, [fp, #-5]
ldrb r3, [fp, #-5] @ zero_extendqisi2
mov r0, r3
bl update_toc_entry
ldr r3, .L467
ldr r1, [r3]
ldrb r2, [fp, #-5] @ zero_extendqisi2
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
add r3, r1, r3
add r3, r3, #2608
add r3, r3, #5
ldrb r2, [r3] @ zero_extendqisi2
ldr r3, [fp, #-16]
strb r2, [r3, #6]
ldr r3, .L467
ldr r1, [r3]
ldrb r2, [fp, #-5] @ zero_extendqisi2
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
add r3, r1, r3
add r3, r3, #2608
add r3, r3, #6
ldrb r2, [r3] @ zero_extendqisi2
ldr r3, [fp, #-16]
strb r2, [r3, #5]
ldr r3, .L467
ldr r1, [r3]
ldrb r2, [fp, #-5] @ zero_extendqisi2
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
add r3, r1, r3
add r3, r3, #2608
add r3, r3, #7
ldrb r2, [r3] @ zero_extendqisi2
ldr r3, [fp, #-16]
strb r2, [r3, #4]
ldr r3, .L467
ldr r1, [r3]
ldrb r2, [fp, #-5] @ zero_extendqisi2
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
add r3, r1, r3
add r3, r3, #2608
add r3, r3, #8
ldrb r3, [r3] @ zero_extendqisi2
and r3, r3, #15
and r1, r3, #255
ldr r2, [fp, #-16]
ldrb r3, [r2, #1]
and r1, r1, #15
bic r3, r3, #15
orr r3, r1, r3
strb r3, [r2, #1]
ldr r3, .L467
ldr r1, [r3]
ldrb r2, [fp, #-5] @ zero_extendqisi2
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
add r3, r1, r3
add r3, r3, #2608
add r3, r3, #8
ldrb r3, [r3] @ zero_extendqisi2
lsr r3, r3, #4
and r3, r3, #255
and r3, r3, #15
and r3, r3, #255
ldr r1, [fp, #-16]
ldrb r2, [r1, #1]
and r3, r3, #15
bic r2, r2, #240
lsl r3, r3, #4
orr r3, r3, r2
mov r2, r3
strb r2, [r1, #1]
ldr r3, [fp, #-16]
mov r2, #0
strb r2, [r3, #8]
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L468:
.align 2
.L467:
.word cd
.size get_toc_entry, .-get_toc_entry
.align 2
.syntax unified
.arm
.fpu softvfp
.type cm206_audio_ioctl, %function
cm206_audio_ioctl:
@ 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, [fp, #-28]
sub r3, r3, #21248
sub r3, r3, #1
cmp r3, #10
ldrls pc, [pc, r3, asl #2]
b .L470
.L472:
.word .L480
.word .L479
.word .L478
.word .L477
.word .L476
.word .L475
.word .L474
.word .L473
.word .L470
.word .L473
.word .L471
.L476:
ldr r0, [fp, #-32]
bl read_toc_header
str r0, [fp, #-8]
ldr r3, [fp, #-8]
b .L481
.L475:
ldr r0, [fp, #-32]
bl get_toc_entry
mov r3, #0
b .L481
.L478:
ldr r0, [fp, #-32]
bl play_from_to_msf
mov r3, #0
b .L481
.L477:
ldr r3, [fp, #-32]
ldrb r3, [r3] @ zero_extendqisi2
mov r2, r3
ldr r3, [fp, #-32]
ldrb r3, [r3, #2] @ zero_extendqisi2
mov r1, r3
mov r0, r2
bl play_from_to_track
mov r3, #0
b .L481
.L474:
ldr r3, .L485
ldr r3, [r3]
mov r2, #0
strb r2, [r3, #3127]
ldr r3, .L485
ldr r3, [r3]
ldrb r3, [r3, #10]
and r3, r3, #255
and r3, r3, #4
cmp r3, #0
beq .L482
mov r1, #1
mov r0, #112
bl type_0_command
str r0, [fp, #-12]
ldr r3, [fp, #-12]
b .L481
.L482:
mov r3, #0
b .L481
.L480:
bl get_drive_status
ldr r3, .L485
ldr r3, [r3]
ldrb r3, [r3, #10]
and r3, r3, #255
and r3, r3, #4
cmp r3, #0
beq .L483
mov r1, #1
mov r0, #112
bl type_0_command
ldr r3, .L485
ldr r3, [r3]
add r3, r3, #3120
add r3, r3, #7
mov r2, r3
mov r1, #5
mov r0, #82
bl type_1_command
ldr r3, .L485
ldr r3, [r3]
mov r2, #1
strb r2, [r3, #3127]
.L483:
mov r3, #0
b .L481
.L479:
ldr r3, .L485
ldr r3, [r3]
ldrb r3, [r3, #3127] @ zero_extendqisi2
cmp r3, #0
beq .L484
mov r1, #0
mov r0, #0
bl play_from_to_track
.L484:
ldr r3, .L485
ldr r3, [r3]
mov r2, #0
strb r2, [r3, #3127]
mov r3, #0
b .L481
.L473:
mov r3, #0
b .L481
.L471:
ldr r0, [fp, #-32]
bl get_current_q
str r0, [fp, #-16]
ldr r3, [fp, #-16]
b .L481
.L470:
mvn r3, #21
.L481:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L486:
.align 2
.L485:
.word cd
.size cm206_audio_ioctl, .-cm206_audio_ioctl
.align 2
.syntax unified
.arm
.fpu softvfp
.type cm206_media_changed, %function
cm206_media_changed:
@ 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, .L490
ldr r3, [r3]
cmp r3, #0
beq .L488
bl get_drive_status
ldr r3, .L490
ldr r3, [r3]
ldrb r3, [r3, #3132] @ zero_extendqisi2
str r3, [fp, #-8]
ldr r3, .L490
ldr r3, [r3]
mov r2, #0
strb r2, [r3, #3132]
ldr r3, [fp, #-8]
b .L489
.L488:
mvn r3, #4
.L489:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L491:
.align 2
.L490:
.word cd
.size cm206_media_changed, .-cm206_media_changed
.align 2
.syntax unified
.arm
.fpu softvfp
.type cm206_tray_move, %function
cm206_tray_move:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #0
beq .L493
mov r1, #1
mov r0, #5
bl type_0_command
bl invalidate_toc
b .L494
.L493:
mov r1, #1
mov r0, #0
bl type_0_command
.L494:
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size cm206_tray_move, .-cm206_tray_move
.align 2
.syntax unified
.arm
.fpu softvfp
.type cm206_drive_status, %function
cm206_drive_status:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
str r1, [fp, #-12]
bl get_drive_status
ldr r3, .L501
ldr r3, [r3]
ldrb r3, [r3, #10]
and r3, r3, #255
lsl r3, r3, #24
asr r3, r3, #24
cmp r3, #0
bge .L497
mov r3, #2
b .L498
.L497:
ldr r3, .L501
ldr r3, [r3]
ldrb r3, [r3, #10]
and r3, r3, #255
and r3, r3, #16
cmp r3, #0
bne .L499
mov r3, #1
b .L498
.L499:
ldr r3, .L501
ldr r3, [r3]
ldrb r3, [r3, #10]
and r3, r3, #255
and r3, r3, #32
cmp r3, #0
beq .L500
mov r3, #3
b .L498
.L500:
mov r3, #4
.L498:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L502:
.align 2
.L501:
.word cd
.size cm206_drive_status, .-cm206_drive_status
.align 2
.syntax unified
.arm
.fpu softvfp
.type cm206_lock_door, %function
cm206_lock_door:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
str r1, [fp, #-20]
ldr r3, [fp, #-20]
cmp r3, #0
beq .L504
mov r3, #1
str r3, [fp, #-8]
b .L505
.L504:
mov r3, #4
str r3, [fp, #-8]
.L505:
ldr r3, [fp, #-8]
strb r3, [fp, #-9]
ldrb r3, [fp, #-9] @ zero_extendqisi2
mov r1, #1
mov r0, r3
bl type_0_command
ldr r3, .L507
ldr r3, [r3]
ldrb r3, [r3, #10]
and r3, r3, #255
and r3, r3, #64
cmp r3, #0
movne r3, #1
moveq r3, #0
and r3, r3, #255
mov r2, r3
ldr r3, [fp, #-20]
eor r3, r3, r2
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L508:
.align 2
.L507:
.word cd
.size cm206_lock_door, .-cm206_lock_door
.align 2
.syntax unified
.arm
.fpu softvfp
.type cm206_get_last_session, %function
cm206_get_last_session:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, .L515
ldr r3, [r3]
ldrb r3, [r3, #2434] @ zero_extendqisi2
cmp r3, #0
bne .L510
bl get_disc_status
.L510:
ldr r3, [fp, #-12]
cmp r3, #0
beq .L511
ldr r3, .L515
ldr r3, [r3]
ldrb r3, [r3, #2433] @ zero_extendqisi2
and r3, r3, #2
cmp r3, #0
beq .L512
ldr r3, .L515
ldr r3, [r3]
ldrb r2, [r3, #2436] @ zero_extendqisi2
ldr r3, [fp, #-12]
strb r2, [r3, #2]
ldr r3, .L515
ldr r3, [r3]
ldrb r2, [r3, #2437] @ zero_extendqisi2
ldr r3, [fp, #-12]
strb r2, [r3, #1]
ldr r3, .L515
ldr r3, [r3]
ldrb r2, [r3, #2438] @ zero_extendqisi2
ldr r3, [fp, #-12]
strb r2, [r3]
ldr r3, [fp, #-12]
mov r2, #2
strb r2, [r3, #5]
ldr r3, [fp, #-12]
mov r2, #1
strb r2, [r3, #4]
b .L513
.L512:
ldr r3, [fp, #-12]
mov r2, #0
strb r2, [r3, #4]
.L513:
mov r3, #1
b .L514
.L511:
mov r3, #0
.L514:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L516:
.align 2
.L515:
.word cd
.size cm206_get_last_session, .-cm206_get_last_session
.section .rodata
.align 2
.LC9:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type cm206_get_upc, %function
cm206_get_upc:
@ 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]
str r1, [fp, #-52]
ldr r3, .L526
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
ldr r3, [fp, #-52]
str r3, [fp, #-36]
sub r3, fp, #20
mov r2, r3
mov r1, #10
mov r0, #96
bl type_1_command
str r0, [fp, #-32]
ldr r3, [fp, #-32]
cmp r3, #0
beq .L518
mvn r3, #4
b .L524
.L518:
mov r3, #0
str r3, [fp, #-40]
b .L520
.L523:
ldr r3, [fp, #-40]
lsr r2, r3, #31
add r3, r2, r3
asr r3, r3, #1
add r3, r3, #1
str r3, [fp, #-28]
ldr r3, [fp, #-40]
cmp r3, #0
and r3, r3, #1
rsblt r3, r3, #0
str r3, [fp, #-24]
ldr r3, [fp, #-24]
cmp r3, #0
beq .L521
sub r2, fp, #20
ldr r3, [fp, #-28]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
lsl r3, r3, #24
asr r3, r3, #24
and r3, r3, #15
lsl r3, r3, #24
asr r3, r3, #24
orr r3, r3, #48
lsl r3, r3, #24
asr r2, r3, #24
ldr r3, [fp, #-40]
ldr r1, [fp, #-36]
add r3, r1, r3
and r2, r2, #255
strb r2, [r3]
b .L522
.L521:
sub r2, fp, #20
ldr r3, [fp, #-28]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
lsr r3, r3, #4
and r3, r3, #255
lsl r3, r3, #24
asr r3, r3, #24
orr r3, r3, #48
lsl r3, r3, #24
asr r2, r3, #24
ldr r3, [fp, #-40]
ldr r1, [fp, #-36]
add r3, r1, r3
and r2, r2, #255
strb r2, [r3]
.L522:
ldr r3, [fp, #-40]
add r3, r3, #1
str r3, [fp, #-40]
.L520:
ldr r3, [fp, #-40]
cmp r3, #12
ble .L523
ldr r3, [fp, #-36]
add r3, r3, #13
mov r2, #0
strb r2, [r3]
mov r3, #0
.L524:
ldr r2, .L526
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L525
bl __stack_chk_fail
.L525:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L527:
.align 2
.L526:
.word .LC9
.size cm206_get_upc, .-cm206_get_upc
.align 2
.syntax unified
.arm
.fpu softvfp
.type cm206_reset, %function
cm206_reset:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
bl stop_read
bl reset_cm260
ldr r3, .L530
ldr r3, [r3]
add r3, r3, #8
mov r1, r3
ldr r0, .L530+4
bl outw
nop
ldr r3, .L530
ldr r3, [r3]
add r3, r3, #8
mov r1, r3
ldr r0, .L530+8
bl outw
ldr r3, .L530+12
ldr r3, [r3]
mvn r2, #0
str r2, [r3, #2376]
ldr r3, .L530+12
ldr r3, [r3]
mvn r2, #0
str r2, [r3, #2428]
bl invalidate_toc
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L531:
.align 2
.L530:
.word cm206_base
.word 11521
.word 10497
.word cd
.size cm206_reset, .-cm206_reset
.align 2
.syntax unified
.arm
.fpu softvfp
.type cm206_select_speed, %function
cm206_select_speed:
@ 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, #2
beq .L533
ldr r3, [fp, #-20]
cmp r3, #2
bgt .L534
ldr r3, [fp, #-20]
cmp r3, #0
beq .L535
ldr r3, [fp, #-20]
cmp r3, #1
beq .L536
b .L534
.L535:
mov r1, #1
mov r0, #35
bl type_0_command
str r0, [fp, #-8]
b .L537
.L536:
mov r1, #1
mov r0, #33
bl type_0_command
str r0, [fp, #-8]
b .L537
.L533:
mov r1, #1
mov r0, #34
bl type_0_command
str r0, [fp, #-8]
b .L537
.L534:
mvn r3, #0
b .L538
.L537:
ldr r3, [fp, #-8]
cmp r3, #0
bge .L539
ldr r3, [fp, #-8]
b .L538
.L539:
mov r3, #1
.L538:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size cm206_select_speed, .-cm206_select_speed
.data
.align 2
.type cm206_dops, %object
.size cm206_dops, 64
cm206_dops:
.word cm206_open
.word cm206_release
.word cm206_drive_status
.word cm206_media_changed
.word cm206_tray_move
.word cm206_lock_door
.word cm206_select_speed
.word 0
.word cm206_get_last_session
.word cm206_get_upc
.word cm206_reset
.word cm206_audio_ioctl
.word 0
.word 2543
.word 1
.word 0
.align 2
.type cm206_info, %object
.size cm206_info, 80
cm206_info:
.word cm206_dops
.word 0
.word 0
.word 0
.word 0
.word 2
.word 1
.byte 0
.byte 0
.byte 0
.byte 0
.word 0
.ascii "cm206\000\000"
.space 13
.byte 0
.space 3
.word 0
.byte 0
.byte 0
.short 0
.word 0
.word 0
.word 0
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type cm206_block_open, %function
cm206_block_open:
@ 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 r2, [fp, #-20]
ldr r1, [fp, #-16]
ldr r0, .L542
bl cdrom_open
str r0, [fp, #-8]
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L543:
.align 2
.L542:
.word cm206_info
.size cm206_block_open, .-cm206_block_open
.align 2
.syntax unified
.arm
.fpu softvfp
.type cm206_block_release, %function
cm206_block_release:
@ 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, .L546
bl cdrom_release
str r0, [fp, #-8]
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L547:
.align 2
.L546:
.word cm206_info
.size cm206_block_release, .-cm206_block_release
.align 2
.syntax unified
.arm
.fpu softvfp
.type cm206_block_ioctl, %function
cm206_block_ioctl:
@ 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, #-16]
str r1, [fp, #-20]
str r2, [fp, #-24]
str r3, [fp, #-28]
ldr r3, [fp, #-24]
cmp r3, #8192
beq .L549
ldr r3, [fp, #-24]
ldr r2, .L556
cmp r3, r2
beq .L550
nop
ldr r3, [fp, #-28]
str r3, [sp]
ldr r3, [fp, #-24]
ldr r2, [fp, #-16]
ldr r1, .L556+4
ldr r0, [fp, #-20]
bl cdrom_ioctl
str r0, [fp, #-8]
ldr r3, [fp, #-8]
b .L553
.L549:
ldr r3, [fp, #-28]
cmp r3, #20
bls .L552
mvn r3, #21
b .L553
.L552:
ldr r3, .L556+8
ldr r2, [r3]
ldr r3, [fp, #-28]
add r3, r3, #608
add r3, r3, #2
ldr r3, [r2, r3, lsl #2]
b .L553
.L550:
ldr r3, [fp, #-28]
cmp r3, #20
bls .L554
mvn r3, #21
b .L553
.L554:
ldr r3, .L556+8
ldr r2, [r3]
ldr r3, [fp, #-28]
add r3, r3, #628
add r3, r3, #2
lsl r3, r3, #2
add r3, r2, r3
ldr r3, [r3, #4]
.L553:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L557:
.align 2
.L556:
.word 8193
.word cm206_info
.word cd
.size cm206_block_ioctl, .-cm206_block_ioctl
.align 2
.syntax unified
.arm
.fpu softvfp
.type cm206_block_media_changed, %function
cm206_block_media_changed:
@ 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 r0, .L560
bl cdrom_media_changed
str r0, [fp, #-8]
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L561:
.align 2
.L560:
.word cm206_info
.size cm206_block_media_changed, .-cm206_block_media_changed
.data
.align 2
.type cm206_bdops, %object
.size cm206_bdops, 40
cm206_bdops:
.word cm206_block_open
.word cm206_block_release
.word cm206_block_ioctl
.word 0
.word 0
.word 0
.word cm206_block_media_changed
.word 0
.word 0
.word 0
.local cm206_gendisk
.comm cm206_gendisk,4,4
.section .rodata
.align 2
.LC10:
.ascii "cm206\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type probe_base_port, %function
probe_base_port:
@ 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]
mov r3, #768
str r3, [fp, #-16]
mov r3, #880
str r3, [fp, #-12]
ldr r3, [fp, #-40]
cmp r3, #0
beq .L563
ldr r3, [fp, #-40]
str r3, [fp, #-12]
ldr r3, [fp, #-12]
str r3, [fp, #-16]
.L563:
ldr r3, [fp, #-16]
str r3, [fp, #-40]
b .L564
.L572:
ldr r3, [fp, #-40]
ldr r2, .L574
mov r1, #16
mov r0, r3
bl request_region
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L573
mov r3, #0
str r3, [fp, #-20]
b .L567
.L568:
ldr r3, [fp, #-40]
add r3, r3, #2
mov r0, r3
bl inw
mov r3, r0
strh r3, [fp, #-26] @ movhi
ldrh r3, [fp, #-26]
str r3, [fp, #-24]
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L567:
ldr r3, [fp, #-20]
cmp r3, #2
ble .L568
ldr r3, [fp, #-40]
add r3, r3, #6
mov r0, r3
bl inw
mov r3, r0
strh r3, [fp, #-30] @ movhi
ldrh r2, [fp, #-30]
ldr r3, .L574+4
and r3, r3, r2
cmp r3, #1
beq .L569
ldr r3, [fp, #-40]
mov r1, #16
mov r0, r3
bl release_region
b .L566
.L569:
ldr r3, [fp, #-40]
mov r0, r3
bl inw
mov r3, r0
strh r3, [fp, #-28] @ movhi
ldrh r3, [fp, #-28]
and r3, r3, #44288
cmp r3, #0
beq .L570
ldr r3, [fp, #-40]
mov r1, #16
mov r0, r3
bl release_region
b .L566
.L570:
ldr r3, [fp, #-40]
b .L571
.L573:
nop
.L566:
ldr r3, [fp, #-40]
add r3, r3, #16
str r3, [fp, #-40]
.L564:
ldr r2, [fp, #-40]
ldr r3, [fp, #-12]
cmp r2, r3
ble .L572
mov r3, #0
.L571:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L575:
.align 2
.L574:
.word .LC10
.word 65519
.size probe_base_port, .-probe_base_port
.align 2
.syntax unified
.arm
.fpu softvfp
.type probe_irq, %function
probe_irq:
@ 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, .L581
ldr r3, [r3]
add r3, r3, #8
mov r1, r3
ldr r0, .L581+4
bl outw
bl sti
bl probe_irq_on
str r0, [fp, #-16]
ldr r3, [fp, #-16]
str r3, [fp, #-12]
bl reset_cm260
mov r0, #100
bl udelay
ldr r3, [fp, #-12]
mov r0, r3
bl probe_irq_off
str r0, [fp, #-8]
ldr r3, .L581
ldr r3, [r3]
add r3, r3, #8
mov r1, r3
ldr r0, .L581+4
bl outw
ldr r3, [fp, #-24]
cmp r3, #0
beq .L577
ldr r2, [fp, #-8]
ldr r3, [fp, #-24]
cmp r2, r3
beq .L578
ldr r3, [fp, #-8]
cmp r3, #0
ble .L579
mov r3, #0
b .L580
.L579:
ldr r3, [fp, #-8]
b .L580
.L578:
ldr r3, [fp, #-8]
b .L580
.L577:
ldr r3, [fp, #-8]
.L580:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L582:
.align 2
.L581:
.word cm206_base
.word 10497
.size probe_irq, .-probe_irq
.section .rodata
.align 2
.LC11:
.ascii "<6>cm206 cdrom driver $Revision: 1.5 $\000"
.align 2
.LC12:
.ascii " can't find adapter!\012\000"
.align 2
.LC13:
.ascii " adapter at 0x%x\000"
.align 2
.LC14:
.ascii "can't find IRQ!\012\000"
.align 2
.LC15:
.ascii " IRQ %d found\012\000"
.align 2
.LC16:
.ascii "<6> drive not there\012\000"
.align 2
.LC17:
.ascii "<6>Firmware revision %d\000"
.align 2
.LC18:
.ascii " double\000"
.align 2
.LC19:
.ascii " single\000"
.align 2
.LC20:
.ascii " speed drive\000"
.align 2
.LC21:
.ascii ", motorized tray\000"
.align 2
.LC22:
.ascii "\012Unable to reserve IRQ---aborted\012\000"
.align 2
.LC23:
.ascii ".\012\000"
.align 2
.LC24:
.ascii "cm206cd\000"
.align 2
.LC25:
.ascii "<6>Cannot register for cdrom %d!\012\000"
.align 2
.LC26:
.ascii "<6>%d kB adapter memory available, %ld bytes kerne"
.ascii "l memory used.\012\000"
.text
.align 2
.global cm206_init
.syntax unified
.arm
.fpu softvfp
.type cm206_init, %function
cm206_init:
@ args = 0, pretend = 0, frame = 40
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #48
mov r3, #0
strb r3, [fp, #-40]
mov r3, #3136
str r3, [fp, #-28]
ldr r0, .L614
bl printk
ldr r3, .L614+4
ldr r3, [r3]
cmp r3, #0
beq .L584
mov r3, #0
str r3, [fp, #-36]
b .L585
.L584:
ldr r3, .L614+8
ldr r3, [r3]
str r3, [fp, #-36]
.L585:
ldr r0, [fp, #-36]
bl probe_base_port
mov r3, r0
ldr r2, .L614+8
str r3, [r2]
ldr r3, .L614+8
ldr r3, [r3]
cmp r3, #0
bne .L586
ldr r0, .L614+12
bl printk
mvn r3, #4
b .L587
.L586:
ldr r3, .L614+8
ldr r3, [r3]
mov r1, r3
ldr r0, .L614+16
bl printk
ldr r3, [fp, #-28]
mov r1, #208
mov r0, r3
bl kmalloc
str r0, [fp, #-24]
ldr r2, .L614+20
ldr r3, [fp, #-24]
str r3, [r2]
ldr r3, .L614+20
ldr r3, [r3]
cmp r3, #0
beq .L610
ldr r3, .L614+4
ldr r3, [r3]
cmp r3, #0
beq .L590
mov r3, #0
str r3, [fp, #-32]
b .L591
.L590:
ldr r3, .L614+24
ldr r3, [r3]
str r3, [fp, #-32]
.L591:
ldr r0, [fp, #-32]
bl probe_irq
mov r3, r0
ldr r2, .L614+24
str r3, [r2]
ldr r3, .L614+24
ldr r3, [r3]
cmp r3, #0
bgt .L592
ldr r0, .L614+28
bl printk
b .L593
.L592:
ldr r3, .L614+24
ldr r3, [r3]
mov r1, r3
ldr r0, .L614+32
bl printk
mov r0, #83
bl send_receive_polled
mov r3, r0
strb r3, [fp, #-39]
ldrb r3, [fp, #-39] @ zero_extendqisi2
cmp r3, #83
beq .L594
ldr r0, .L614+36
bl printk
b .L593
.L594:
mov r0, #248
bl send_receive_polled
mov r3, r0
strb r3, [fp, #-40]
ldrb r3, [fp, #-40] @ zero_extendqisi2
and r3, r3, #7
mov r1, r3
ldr r0, .L614+40
bl printk
ldrb r3, [fp, #-40] @ zero_extendqisi2
and r3, r3, #96
cmp r3, #0
beq .L595
ldr r0, .L614+44
bl printk
b .L596
.L595:
ldr r0, .L614+48
bl printk
.L596:
ldr r0, .L614+52
bl printk
ldrsb r3, [fp, #-40]
cmp r3, #0
bge .L597
ldr r0, .L614+56
bl printk
.L597:
ldr r3, .L614+24
ldr r3, [r3]
mov r0, r3
mov r3, #0
str r3, [sp]
ldr r3, .L614+60
mov r2, #0
ldr r1, .L614+64
bl request_irq
str r0, [fp, #-20]
ldr r3, [fp, #-20]
cmp r3, #0
beq .L598
ldr r0, .L614+68
bl printk
b .L593
.L598:
ldr r0, .L614+72
bl printk
ldr r1, .L614+60
mov r0, #32
bl register_blkdev
str r0, [fp, #-16]
ldr r3, [fp, #-16]
cmp r3, #0
bne .L611
mov r0, #1
bl alloc_disk
str r0, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #0
beq .L612
ldr r3, [fp, #-12]
mov r2, #32
str r2, [r3]
ldr r3, [fp, #-12]
mov r2, #0
str r2, [r3, #4]
ldr r3, [fp, #-12]
add r3, r3, #12
ldr r1, .L614+76
mov r0, r3
bl sprintf
ldr r3, [fp, #-12]
ldr r2, .L614+80
str r2, [r3, #44]
ldr r3, [fp, #-12]
mov r2, #8
str r2, [r3, #56]
ldr r2, .L614+84
ldr r3, [fp, #-12]
str r3, [r2]
ldr r0, .L614+88
bl register_cdrom
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L603
mov r1, #32
ldr r0, .L614+92
bl printk
b .L604
.L603:
ldr r1, .L614+96
ldr r0, .L614+100
bl blk_init_queue
mov r3, r0
ldr r2, .L614+104
str r3, [r2]
ldr r3, .L614+104
ldr r3, [r3]
cmp r3, #0
beq .L613
ldr r3, .L614+104
ldr r3, [r3]
mov r1, #2048
mov r0, r3
bl blk_queue_hardsect_size
ldr r3, .L614+104
ldr r2, [r3]
ldr r3, [fp, #-12]
str r2, [r3, #48]
ldr r0, [fp, #-12]
bl add_disk
ldr r3, .L614+20
ldr r3, [r3]
mov r2, #3136
mov r1, #0
mov r0, r3
bl memset
ldr r3, .L614+20
ldr r3, [r3]
mvn r2, #0
str r2, [r3, #2376]
ldr r3, .L614+20
ldr r3, [r3]
mvn r2, #0
str r2, [r3, #2428]
ldr r3, .L614+20
ldr r3, [r3]
add r3, r3, #2400
add r3, r3, #4
mov r0, r3
bl init_timer
ldr r3, .L614+20
ldr r3, [r3]
ldr r2, .L614+108
str r2, [r3, #2408]
ldr r3, .L614+8
ldr r3, [r3]
mov r0, r3
bl inw
mov r3, r0
strh r3, [fp, #-38] @ movhi
ldrh r3, [fp, #-38]
and r3, r3, #16384
cmp r3, #0
beq .L607
ldr r3, .L614+20
ldr r3, [r3]
mov r2, #24
strb r2, [r3, #2421]
b .L608
.L607:
ldr r3, .L614+20
ldr r3, [r3]
mov r2, #97
strb r2, [r3, #2421]
.L608:
ldr r3, .L614+20
ldr r3, [r3]
add r3, r3, #2416
add r3, r3, #5
ldrsb r3, [r3]
lsl r3, r3, #1
ldr r2, [fp, #-28]
mov r1, r3
ldr r0, .L614+112
bl printk
mov r3, #0
b .L587
.L613:
nop
.L606:
ldr r0, .L614+88
bl unregister_cdrom
.L604:
ldr r0, [fp, #-12]
bl put_disk
b .L602
.L612:
nop
.L602:
ldr r1, .L614+60
mov r0, #32
bl unregister_blkdev
b .L600
.L611:
nop
.L600:
ldr r3, .L614+24
ldr r3, [r3]
mov r1, #0
mov r0, r3
bl free_irq
.L593:
ldr r3, .L614+20
ldr r3, [r3]
mov r0, r3
bl kfree
b .L589
.L610:
nop
.L589:
ldr r3, .L614+8
ldr r3, [r3]
mov r1, #16
mov r0, r3
bl release_region
mvn r3, #4
.L587:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L615:
.align 2
.L614:
.word .LC11
.word auto_probe
.word cm206_base
.word .LC12
.word .LC13
.word cd
.word cm206_irq
.word .LC14
.word .LC15
.word .LC16
.word .LC17
.word .LC18
.word .LC19
.word .LC20
.word .LC21
.word .LC10
.word cm206_interrupt
.word .LC22
.word .LC23
.word .LC24
.word cm206_bdops
.word cm206_gendisk
.word cm206_info
.word .LC25
.word cm206_lock
.word do_cm206_request
.word cm206_queue
.word cm206_timeout
.word .LC26
.size cm206_init, .-cm206_init
.align 2
.syntax unified
.arm
.fpu softvfp
.type parse_options, %function
parse_options:
@ 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, #-8]
b .L617
.L622:
ldr r2, .L627
ldr r3, [fp, #-8]
ldr r3, [r2, r3, lsl #2]
cmp r3, #768
blt .L624
ldr r3, [fp, #-8]
cmp r3, #880
bgt .L625
ldr r2, .L627
ldr r3, [fp, #-8]
ldr r3, [r2, r3, lsl #2]
and r3, r3, #15
cmp r3, #0
bne .L626
ldr r2, .L627
ldr r3, [fp, #-8]
ldr r3, [r2, r3, lsl #2]
ldr r2, .L627+4
str r3, [r2]
ldr r3, .L627+8
mov r2, #0
str r2, [r3]
b .L621
.L624:
nop
b .L618
.L625:
nop
b .L618
.L626:
nop
.L618:
ldr r2, .L627
ldr r3, [fp, #-8]
ldr r3, [r2, r3, lsl #2]
cmp r3, #2
ble .L621
ldr r2, .L627
ldr r3, [fp, #-8]
ldr r3, [r2, r3, lsl #2]
cmp r3, #15
bgt .L621
ldr r2, .L627
ldr r3, [fp, #-8]
ldr r3, [r2, r3, lsl #2]
ldr r2, .L627+12
str r3, [r2]
ldr r3, .L627+8
mov r2, #0
str r2, [r3]
.L621:
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L617:
ldr r3, [fp, #-8]
cmp r3, #1
ble .L622
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L628:
.align 2
.L627:
.word cm206
.word cm206_base
.word auto_probe
.word cm206_irq
.size parse_options, .-parse_options
.align 2
.syntax unified
.arm
.fpu softvfp
.type __cm206_init, %function
__cm206_init:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
bl parse_options
bl cm206_init
str r0, [fp, #-8]
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size __cm206_init, .-__cm206_init
.section .rodata
.align 2
.LC27:
.ascii "Can't unregister cdrom cm206\012\000"
.align 2
.LC28:
.ascii "Can't unregister major cm206\012\000"
.align 2
.LC29:
.ascii "<6>cm206 removed\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type cm206_exit, %function
cm206_exit:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
ldr r3, .L635
ldr r3, [r3]
mov r0, r3
bl del_gendisk
ldr r3, .L635
ldr r3, [r3]
mov r0, r3
bl put_disk
ldr r0, .L635+4
bl unregister_cdrom
str r0, [fp, #-12]
ldr r3, [fp, #-12]
cmp r3, #0
beq .L632
ldr r0, .L635+8
bl printk
b .L631
.L632:
ldr r1, .L635+12
mov r0, #32
bl unregister_blkdev
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L634
ldr r0, .L635+16
bl printk
b .L631
.L634:
ldr r3, .L635+20
ldr r3, [r3]
mov r0, r3
bl blk_cleanup_queue
ldr r3, .L635+24
ldr r3, [r3]
mov r1, #0
mov r0, r3
bl free_irq
ldr r3, .L635+28
ldr r3, [r3]
mov r0, r3
bl kfree
ldr r3, .L635+32
ldr r3, [r3]
mov r1, #16
mov r0, r3
bl release_region
ldr r0, .L635+36
bl printk
nop
.L631:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L636:
.align 2
.L635:
.word cm206_gendisk
.word cm206_info
.word .LC27
.word .LC10
.word .LC28
.word cm206_queue
.word cm206_irq
.word cd
.word cm206_base
.word .LC29
.size cm206_exit, .-cm206_exit
.global _ddv_tmp_init
.data
.align 2
.type _ddv_tmp_init, %object
.size _ddv_tmp_init, 4
_ddv_tmp_init:
.word __cm206_init
.global _ddv_tmp_exit
.align 2
.type _ddv_tmp_exit, %object
.size _ddv_tmp_exit, 4
_ddv_tmp_exit:
.word cm206_exit
.global _ddv_module_param_major
.align 2
.type _ddv_module_param_major, %object
.size _ddv_module_param_major, 4
_ddv_module_param_major:
.word 32
.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, .L639
ldr r2, .L639+4
str r2, [r3]
ldr r3, .L639+8
ldr r2, .L639+12
str r2, [r3]
bl call_ddv
mov r3, #0
mov r0, r3
pop {fp, pc}
.L640:
.align 2
.L639:
.word _ddv_module_init
.word __cm206_init
.word _ddv_module_exit
.word cm206_exit
.size main, .-main
.align 2
.global request_irq
.syntax unified
.arm
.fpu softvfp
.type request_irq, %function
request_irq:
@ 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]
bl nondet_int
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L642
ldr r1, .L644
ldr r3, [fp, #-16]
ldr r2, [fp, #-20]
str r2, [r1, r3, lsl #3]
ldr r2, .L644
ldr r3, [fp, #-16]
lsl r3, r3, #3
add r3, r2, r3
ldr r2, [fp, #4]
str r2, [r3, #4]
mov r3, #0
b .L643
.L642:
mvn r3, #0
.L643:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L645:
.align 2
.L644:
.word registered_irq
.size request_irq, .-request_irq
.align 2
.global free_irq
.syntax unified
.arm
.fpu softvfp
.type free_irq, %function
free_irq:
@ 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, .L648
ldr r3, [fp, #-8]
mov r1, #0
str r1, [r2, r3, lsl #3]
ldr r2, .L648
ldr r3, [fp, #-8]
lsl r3, r3, #3
add r3, r2, r3
mov r2, #0
str r2, [r3, #4]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L649:
.align 2
.L648:
.word registered_irq
.size free_irq, .-free_irq
.comm proc_root_driver,4,4
.align 2
.global misc_register
.syntax unified
.arm
.fpu softvfp
.type misc_register, %function
misc_register:
@ 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, .L653
ldr r3, [r3]
cmp r3, #9
bgt .L651
ldr r3, .L653
ldr r3, [r3]
str r3, [fp, #-16]
ldr r3, .L653
ldr r3, [r3]
add r3, r3, #1
ldr r2, .L653
str r3, [r2]
ldr r2, .L653+4
ldr r3, [fp, #-16]
mov r1, #0
str r1, [r2, r3, lsl #4]
ldr r3, [fp, #-24]
ldr r2, [r3, #8]
ldr r1, .L653+4
ldr r3, [fp, #-16]
lsl r3, r3, #4
add r3, r1, r3
str r2, [r3, #4]
ldr r3, [fp, #-24]
ldr r3, [r3]
orr r3, r3, #10485760
str r3, [fp, #-12]
ldr r3, [fp, #-16]
lsl r3, r3, #4
ldr r2, .L653+4
add r3, r3, r2
mov r2, #0
ldr r1, [fp, #-12]
mov r0, r3
bl cdev_add
str r0, [fp, #-8]
ldr r3, [fp, #-8]
b .L652
.L651:
mvn r3, #0
.L652:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L654:
.align 2
.L653:
.word fixed_cdev_used
.word fixed_cdev
.size misc_register, .-misc_register
.align 2
.syntax unified
.arm
.fpu softvfp
.type assert_context_process, %function
assert_context_process:
@ 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 assert_context_process, .-assert_context_process
.comm ddv_ioport_request_start,4,4
.comm ddv_ioport_request_len,4,4
.align 2
.global request_region
.syntax unified
.arm
.fpu softvfp
.type request_region, %function
request_region:
@ 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 r0, #16
bl malloc
mov r3, r0
str r3, [fp, #-12]
ldr r3, [fp, #-12]
str r3, [fp, #-8]
ldr r3, [fp, #-16]
ldr r2, .L659
str r3, [r2]
ldr r3, [fp, #-20]
ldr r2, .L659+4
str r3, [r2]
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L660:
.align 2
.L659:
.word ddv_ioport_request_start
.word ddv_ioport_request_len
.size request_region, .-request_region
.align 2
.global release_region
.syntax unified
.arm
.fpu softvfp
.type release_region, %function
release_region:
@ 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]
ldr r3, .L663
mov r2, #0
str r2, [r3]
ldr r3, .L663+4
mov r2, #0
str r2, [r3]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L664:
.align 2
.L663:
.word ddv_ioport_request_start
.word ddv_ioport_request_len
.size release_region, .-release_region
.section .rodata
.align 2
.LC30:
.ascii "I/O port is requested\000"
.text
.align 2
.global inb
.syntax unified
.arm
.fpu softvfp
.type inb, %function
inb:
@ 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, .L670
ldr r3, [r3]
mov r2, r3
ldr r3, [fp, #-16]
cmp r3, r2
bcc .L666
ldr r3, .L670
ldr r2, [r3]
ldr r3, .L670+4
ldr r3, [r3]
add r3, r2, r3
mov r2, r3
ldr r3, [fp, #-16]
cmp r3, r2
bcs .L667
mov r3, #1
str r3, [fp, #-8]
b .L668
.L667:
mov r3, #0
str r3, [fp, #-8]
b .L668
.L666:
mov r3, #0
str r3, [fp, #-8]
.L668:
ldr r1, .L670+8
ldr r0, [fp, #-8]
bl __CPROVER_assert
bl nondet_uchar
mov r3, r0
strb r3, [fp, #-9]
ldrb r3, [fp, #-9] @ zero_extendqisi2
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L671:
.align 2
.L670:
.word ddv_ioport_request_start
.word ddv_ioport_request_len
.word .LC30
.size inb, .-inb
.align 2
.global inw
.syntax unified
.arm
.fpu softvfp
.type inw, %function
inw:
@ 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, .L677
ldr r3, [r3]
mov r2, r3
ldr r3, [fp, #-16]
cmp r3, r2
bcc .L673
ldr r3, .L677
ldr r2, [r3]
ldr r3, .L677+4
ldr r3, [r3]
add r3, r2, r3
mov r2, r3
ldr r3, [fp, #-16]
cmp r3, r2
bcs .L674
mov r3, #1
str r3, [fp, #-8]
b .L675
.L674:
mov r3, #0
str r3, [fp, #-8]
b .L675
.L673:
mov r3, #0
str r3, [fp, #-8]
.L675:
ldr r1, .L677+8
ldr r0, [fp, #-8]
bl __CPROVER_assert
bl nondet_ushort
mov r3, r0
strh r3, [fp, #-10] @ movhi
ldrh r3, [fp, #-10]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L678:
.align 2
.L677:
.word ddv_ioport_request_start
.word ddv_ioport_request_len
.word .LC30
.size inw, .-inw
.align 2
.global outw
.syntax unified
.arm
.fpu softvfp
.type outw, %function
outw:
@ 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
str r1, [fp, #-20]
strh r3, [fp, #-14] @ movhi
ldr r3, .L684
ldr r3, [r3]
mov r2, r3
ldr r3, [fp, #-20]
cmp r3, r2
bcc .L680
ldr r3, .L684
ldr r2, [r3]
ldr r3, .L684+4
ldr r3, [r3]
add r3, r2, r3
mov r2, r3
ldr r3, [fp, #-20]
cmp r3, r2
bcs .L681
mov r3, #1
str r3, [fp, #-8]
b .L682
.L681:
mov r3, #0
str r3, [fp, #-8]
b .L682
.L680:
mov r3, #0
str r3, [fp, #-8]
.L682:
ldr r1, .L684+8
ldr r0, [fp, #-8]
bl __CPROVER_assert
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L685:
.align 2
.L684:
.word ddv_ioport_request_start
.word ddv_ioport_request_len
.word .LC30
.size outw, .-outw
.align 2
.global schedule
.syntax unified
.arm
.fpu softvfp
.type schedule, %function
schedule:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
bl assert_context_process
nop
pop {fp, pc}
.size schedule, .-schedule
.align 2
.global schedule_timeout
.syntax unified
.arm
.fpu softvfp
.type schedule_timeout, %function
schedule_timeout:
@ 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]
bl assert_context_process
bl nondet_long
str r0, [fp, #-8]
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size schedule_timeout, .-schedule_timeout
.align 2
.global kmalloc
.syntax unified
.arm
.fpu softvfp
.type kmalloc, %function
kmalloc:
@ 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]
and r3, r3, #16
cmp r3, #0
beq .L691
bl assert_context_process
.L691:
ldr r0, [fp, #-16]
bl malloc
mov r3, r0
str r3, [fp, #-8]
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size kmalloc, .-kmalloc
.align 2
.global kzalloc
.syntax unified
.arm
.fpu softvfp
.type kzalloc, %function
kzalloc:
@ 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]
and r3, r3, #16
cmp r3, #0
beq .L694
bl assert_context_process
.L694:
ldr r0, [fp, #-16]
bl malloc
mov r3, r0
str r3, [fp, #-8]
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size kzalloc, .-kzalloc
.align 2
.global tasklet_schedule
.syntax unified
.arm
.fpu softvfp
.type tasklet_schedule, %function
tasklet_schedule:
@ 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]
mvn r3, #0
str r3, [fp, #-8]
mov r3, #0
str r3, [fp, #-12]
b .L697
.L701:
ldr r2, .L703
ldr r3, [fp, #-12]
ldr r3, [r2, r3, lsl #3]
cmp r3, #0
bne .L698
ldr r3, [fp, #-12]
str r3, [fp, #-8]
.L698:
ldr r2, .L703
ldr r3, [fp, #-12]
ldr r3, [r2, r3, lsl #3]
mov r2, r3
ldr r3, [fp, #-16]
cmp r2, r3
bne .L699
ldr r2, .L703
ldr r3, [fp, #-12]
lsl r3, r3, #3
add r3, r2, r3
add r3, r3, #4
ldrh r3, [r3]
cmp r3, #0
beq .L702
.L699:
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L697:
ldr r3, [fp, #-12]
cmp r3, #9
ble .L701
ldr r1, .L703
ldr r3, [fp, #-8]
ldr r2, [fp, #-16]
str r2, [r1, r3, lsl #3]
ldr r2, .L703
ldr r3, [fp, #-8]
lsl r3, r3, #3
add r3, r2, r3
add r3, r3, #4
mov r2, #0
strh r2, [r3] @ movhi
b .L696
.L702:
nop
.L696:
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L704:
.align 2
.L703:
.word tasklet_registered
.size tasklet_schedule, .-tasklet_schedule
.align 2
.global spin_lock_init
.syntax unified
.arm
.fpu softvfp
.type spin_lock_init, %function
spin_lock_init:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
ldr r3, [fp, #-8]
mov r2, #1
str r2, [r3]
ldr r3, [fp, #-8]
mov r2, #0
str r2, [r3, #4]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size spin_lock_init, .-spin_lock_init
.align 2
.global spin_lock_irq
.syntax unified
.arm
.fpu softvfp
.type spin_lock_irq, %function
spin_lock_irq:
@ 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]
.L710:
bl __CPROVER_atomic_begin
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
cmp r3, #0
bne .L708
ldr r3, [fp, #-8]
mov r2, #1
str r2, [r3, #4]
bl __CPROVER_atomic_end
b .L711
.L708:
bl __CPROVER_atomic_end
b .L710
.L711:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size spin_lock_irq, .-spin_lock_irq
.align 2
.global spin_unlock_irq
.syntax unified
.arm
.fpu softvfp
.type spin_unlock_irq, %function
spin_unlock_irq:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
bl __CPROVER_atomic_begin
ldr r3, [fp, #-8]
mov r2, #0
str r2, [r3, #4]
bl __CPROVER_atomic_end
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size spin_unlock_irq, .-spin_unlock_irq
.align 2
.global call_tasklet_functions
.syntax unified
.arm
.fpu softvfp
.type call_tasklet_functions, %function
call_tasklet_functions:
@ 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, [fp, #-8]
cmp r3, #9
movls r3, #1
movhi r3, #0
and r3, r3, #255
mov r0, r3
bl __CPROVER_assume
ldr r2, .L718
ldr r3, [fp, #-8]
ldr r3, [r2, r3, lsl #3]
cmp r3, #0
beq .L717
ldr r2, .L718
ldr r3, [fp, #-8]
ldr r3, [r2, r3, lsl #3]
ldr r3, [r3]
cmp r3, #0
bne .L717
ldr r2, .L718
ldr r3, [fp, #-8]
lsl r3, r3, #3
add r3, r2, r3
add r3, r3, #4
mov r2, #1
strh r2, [r3] @ movhi
ldr r2, .L718
ldr r3, [fp, #-8]
ldr r3, [r2, r3, lsl #3]
ldr r3, [r3, #4]
ldr r1, .L718
ldr r2, [fp, #-8]
ldr r2, [r1, r2, lsl #3]
ldr r2, [r2, #8]
mov r0, r2
blx r3
ldr r2, .L718
ldr r3, [fp, #-8]
lsl r3, r3, #3
add r3, r2, r3
add r3, r3, #4
mov r2, #0
strh r2, [r3] @ movhi
ldr r2, .L718
ldr r3, [fp, #-8]
mov r1, #0
str r1, [r2, r3, lsl #3]
nop
.L717:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L719:
.align 2
.L718:
.word tasklet_registered
.size call_tasklet_functions, .-call_tasklet_functions
.align 2
.global init_timer
.syntax unified
.arm
.fpu softvfp
.type init_timer, %function
init_timer:
@ 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, .L724
ldrsh r3, [r3]
cmp r3, #4
bgt .L723
ldr r3, [fp, #-8]
mov r2, #0
strh r2, [r3, #12] @ movhi
ldr r3, [fp, #-8]
mov r2, #1
strh r2, [r3, #14] @ movhi
ldr r3, .L724
ldrsh r3, [r3]
mov r1, r3
ldr r2, .L724+4
ldr r3, [fp, #-8]
str r3, [r2, r1, lsl #2]
ldr r3, .L724
ldrsh r3, [r3]
lsl r3, r3, #16
lsr r3, r3, #16
add r3, r3, #1
lsl r3, r3, #16
lsr r3, r3, #16
lsl r3, r3, #16
asr r3, r3, #16
ldr r2, .L724
strh r3, [r2] @ movhi
nop
.L723:
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L725:
.align 2
.L724:
.word number_timer_registered
.word timer_registered
.size init_timer, .-init_timer
.align 2
.global add_timer
.syntax unified
.arm
.fpu softvfp
.type add_timer, %function
add_timer:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
ldr r3, [fp, #-8]
mov r2, #1
strh r2, [r3, #12] @ movhi
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size add_timer, .-add_timer
.align 2
.global del_timer
.syntax unified
.arm
.fpu softvfp
.type del_timer, %function
del_timer:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
ldr r3, [fp, #-8]
mov r2, #0
strh r2, [r3, #12] @ movhi
mov r3, #0
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size del_timer, .-del_timer
.comm global_tty_driver,200,4
.align 2
.global alloc_tty_driver
.syntax unified
.arm
.fpu softvfp
.type alloc_tty_driver, %function
alloc_tty_driver:
@ 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, .L734
ldrh r3, [r3, #196]
cmp r3, #0
bne .L731
ldr r3, .L734
ldr r2, .L734+4
str r2, [r3]
ldr r2, .L734
ldr r3, [fp, #-8]
str r3, [r2, #48]
mov r3, #0
b .L733
.L731:
mov r3, #0
.L733:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L735:
.align 2
.L734:
.word global_tty_driver
.word 21506
.size alloc_tty_driver, .-alloc_tty_driver
.align 2
.global tty_set_operations
.syntax unified
.arm
.fpu softvfp
.type tty_set_operations, %function
tty_set_operations:
@ 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, #104]
ldr r3, [fp, #-12]
ldr r2, [r3, #4]
ldr r3, [fp, #-8]
str r2, [r3, #108]
ldr r3, [fp, #-12]
ldr r2, [r3, #8]
ldr r3, [fp, #-8]
str r2, [r3, #112]
ldr r3, [fp, #-12]
ldr r2, [r3, #12]
ldr r3, [fp, #-8]
str r2, [r3, #116]
ldr r3, [fp, #-12]
ldr r2, [r3, #16]
ldr r3, [fp, #-8]
str r2, [r3, #120]
ldr r3, [fp, #-12]
ldr r2, [r3, #20]
ldr r3, [fp, #-8]
str r2, [r3, #124]
ldr r3, [fp, #-12]
ldr r2, [r3, #24]
ldr r3, [fp, #-8]
str r2, [r3, #128]
ldr r3, [fp, #-12]
ldr r2, [r3, #28]
ldr r3, [fp, #-8]
str r2, [r3, #132]
ldr r3, [fp, #-12]
ldr r2, [r3, #32]
ldr r3, [fp, #-8]
str r2, [r3, #136]
ldr r3, [fp, #-12]
ldr r2, [r3, #36]
ldr r3, [fp, #-8]
str r2, [r3, #140]
ldr r3, [fp, #-12]
ldr r2, [r3, #40]
ldr r3, [fp, #-8]
str r2, [r3, #144]
ldr r3, [fp, #-12]
ldr r2, [r3, #44]
ldr r3, [fp, #-8]
str r2, [r3, #148]
ldr r3, [fp, #-12]
ldr r2, [r3, #48]
ldr r3, [fp, #-8]
str r2, [r3, #152]
ldr r3, [fp, #-12]
ldr r2, [r3, #52]
ldr r3, [fp, #-8]
str r2, [r3, #156]
ldr r3, [fp, #-12]
ldr r2, [r3, #56]
ldr r3, [fp, #-8]
str r2, [r3, #160]
ldr r3, [fp, #-12]
ldr r2, [r3, #60]
ldr r3, [fp, #-8]
str r2, [r3, #164]
ldr r3, [fp, #-12]
ldr r2, [r3, #64]
ldr r3, [fp, #-8]
str r2, [r3, #168]
ldr r3, [fp, #-12]
ldr r2, [r3, #68]
ldr r3, [fp, #-8]
str r2, [r3, #172]
ldr r3, [fp, #-12]
ldr r2, [r3, #72]
ldr r3, [fp, #-8]
str r2, [r3, #176]
ldr r3, [fp, #-12]
ldr r2, [r3, #76]
ldr r3, [fp, #-8]
str r2, [r3, #180]
ldr r3, [fp, #-12]
ldr r2, [r3, #80]
ldr r3, [fp, #-8]
str r2, [r3, #184]
ldr r3, [fp, #-12]
ldr r2, [r3, #84]
ldr r3, [fp, #-8]
str r2, [r3, #188]
ldr r3, [fp, #-12]
ldr r2, [r3, #88]
ldr r3, [fp, #-8]
str r2, [r3, #192]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size tty_set_operations, .-tty_set_operations
.align 2
.global vmalloc
.syntax unified
.arm
.fpu softvfp
.type vmalloc, %function
vmalloc:
@ 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 r0, [fp, #-16]
bl malloc
mov r3, r0
str r3, [fp, #-8]
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size vmalloc, .-vmalloc
.align 2
.global wake_up_interruptible
.syntax unified
.arm
.fpu softvfp
.type wake_up_interruptible, %function
wake_up_interruptible:
@ 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]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size wake_up_interruptible, .-wake_up_interruptible
.align 2
.global interruptible_sleep_on
.syntax unified
.arm
.fpu softvfp
.type interruptible_sleep_on, %function
interruptible_sleep_on:
@ 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]
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size interruptible_sleep_on, .-interruptible_sleep_on
.align 2
.global call_shared_workqueue_functions
.syntax unified
.arm
.fpu softvfp
.type call_shared_workqueue_functions, %function
call_shared_workqueue_functions:
@ 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 nondet_ushort
mov r3, r0
strh r3, [fp, #-8] @ movhi
ldrh r3, [fp, #-8] @ movhi
strh r3, [fp, #-6] @ movhi
ldrh r3, [fp, #-6]
cmp r3, #9
movls r3, #1
movhi r3, #0
and r3, r3, #255
mov r0, r3
bl __CPROVER_assume
ldrh r3, [fp, #-6]
ldr r2, .L748
ldr r3, [r2, r3, lsl #2]
cmp r3, #0
beq .L747
ldrh r3, [fp, #-6]
ldr r2, .L748
ldr r3, [r2, r3, lsl #2]
ldr r3, [r3, #4]
ldrh r2, [fp, #-6]
ldr r1, .L748
ldr r2, [r1, r2, lsl #2]
ldr r2, [r2, #8]
mov r0, r2
blx r3
ldrh r3, [fp, #-6]
ldr r2, .L748
mov r1, #0
str r1, [r2, r3, lsl #2]
nop
.L747:
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L749:
.align 2
.L748:
.word shared_workqueue
.size call_shared_workqueue_functions, .-call_shared_workqueue_functions
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "928289.c"
.intel_syntax noprefix
.text
.globl exp0
.type exp0, @function
exp0:
.LFB6:
.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 WORD PTR -20[rbp], dx
mov WORD PTR -24[rbp], ax
mov WORD PTR -2[rbp], 1
jmp .L2
.L3:
movzx eax, WORD PTR -2[rbp]
imul ax, WORD PTR -20[rbp]
mov WORD PTR -2[rbp], ax
sub WORD PTR -24[rbp], 1
.L2:
cmp WORD PTR -24[rbp], 0
jne .L3
movzx eax, WORD PTR -2[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size exp0, .-exp0
.globl exp1
.type exp1, @function
exp1:
.LFB7:
.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 WORD PTR -20[rbp], dx
mov WORD PTR -24[rbp], ax
mov WORD PTR -2[rbp], 1
jmp .L6
.L8:
movzx eax, WORD PTR -24[rbp]
and eax, 1
test eax, eax
je .L7
movzx eax, WORD PTR -2[rbp]
imul ax, WORD PTR -20[rbp]
mov WORD PTR -2[rbp], ax
.L7:
shr WORD PTR -24[rbp]
movzx eax, WORD PTR -20[rbp]
imul eax, eax
mov WORD PTR -20[rbp], ax
.L6:
cmp WORD PTR -24[rbp], 0
jne .L8
movzx eax, WORD PTR -2[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size exp1, .-exp1
.section .rodata
.LC0:
.string "lhs == rhs: %d\n"
.LC1:
.string "lhs = %d != rhs = %d\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], edi
mov QWORD PTR -32[rbp], rsi
cmp DWORD PTR -20[rbp], 3
jne .L11
mov rax, QWORD PTR -32[rbp]
add rax, 8
mov rax, QWORD PTR [rax]
mov rdi, rax
call atoi@PLT
mov WORD PTR -8[rbp], ax
mov rax, QWORD PTR -32[rbp]
add rax, 16
mov rax, QWORD PTR [rax]
mov rdi, rax
call atoi@PLT
mov WORD PTR -6[rbp], ax
movzx edx, WORD PTR -6[rbp]
movzx eax, WORD PTR -8[rbp]
mov esi, edx
mov edi, eax
call exp0
mov WORD PTR -4[rbp], ax
movzx edx, WORD PTR -6[rbp]
movzx eax, WORD PTR -8[rbp]
mov esi, edx
mov edi, eax
call exp1
mov WORD PTR -2[rbp], ax
movzx eax, WORD PTR -4[rbp]
cmp ax, WORD PTR -2[rbp]
jne .L12
movzx eax, WORD PTR -4[rbp]
mov esi, eax
lea rdi, .LC0[rip]
mov eax, 0
call printf@PLT
jmp .L11
.L12:
movzx edx, WORD PTR -2[rbp]
movzx eax, WORD PTR -4[rbp]
mov esi, eax
lea rdi, .LC1[rip]
mov eax, 0
call printf@PLT
.L11:
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 "928289.c"
.text
.align 2
.global exp0
.syntax unified
.arm
.fpu softvfp
.type exp0, %function
exp0:
@ 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
mov r2, r1
strh r3, [fp, #-14] @ movhi
mov r3, r2 @ movhi
strh r3, [fp, #-16] @ movhi
mov r3, #1
strh r3, [fp, #-6] @ movhi
b .L2
.L3:
ldrh r1, [fp, #-6] @ movhi
ldrh r2, [fp, #-14] @ movhi
mul r3, r2, r1
strh r3, [fp, #-6] @ movhi
ldrh r3, [fp, #-16] @ movhi
sub r3, r3, #1
strh r3, [fp, #-16] @ movhi
.L2:
ldrh r3, [fp, #-16]
cmp r3, #0
bne .L3
ldrh r3, [fp, #-6]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size exp0, .-exp0
.align 2
.global exp1
.syntax unified
.arm
.fpu softvfp
.type exp1, %function
exp1:
@ 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
mov r2, r1
strh r3, [fp, #-14] @ movhi
mov r3, r2 @ movhi
strh r3, [fp, #-16] @ movhi
mov r3, #1
strh r3, [fp, #-6] @ movhi
b .L6
.L8:
ldrh r3, [fp, #-16]
and r3, r3, #1
cmp r3, #0
beq .L7
ldrh r1, [fp, #-6] @ movhi
ldrh r2, [fp, #-14] @ movhi
mul r3, r2, r1
strh r3, [fp, #-6] @ movhi
.L7:
ldrh r3, [fp, #-16]
lsr r3, r3, #1
strh r3, [fp, #-16] @ movhi
ldrh r1, [fp, #-14] @ movhi
ldrh r2, [fp, #-14] @ movhi
mul r3, r2, r1
strh r3, [fp, #-14] @ movhi
.L6:
ldrh r3, [fp, #-16]
cmp r3, #0
bne .L8
ldrh r3, [fp, #-6]
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size exp1, .-exp1
.section .rodata
.align 2
.LC0:
.ascii "lhs == rhs: %d\012\000"
.align 2
.LC1:
.ascii "lhs = %d != rhs = %d\012\000"
.text
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
str r1, [fp, #-20]
ldr r3, [fp, #-16]
cmp r3, #3
bne .L11
ldr r3, [fp, #-20]
add r3, r3, #4
ldr r3, [r3]
mov r0, r3
bl atoi
mov r3, r0
strh r3, [fp, #-12] @ movhi
ldr r3, [fp, #-20]
add r3, r3, #8
ldr r3, [r3]
mov r0, r3
bl atoi
mov r3, r0
strh r3, [fp, #-10] @ movhi
ldrh r2, [fp, #-10]
ldrh r3, [fp, #-12]
mov r1, r2
mov r0, r3
bl exp0
mov r3, r0
strh r3, [fp, #-8] @ movhi
ldrh r2, [fp, #-10]
ldrh r3, [fp, #-12]
mov r1, r2
mov r0, r3
bl exp1
mov r3, r0
strh r3, [fp, #-6] @ movhi
ldrh r2, [fp, #-8]
ldrh r3, [fp, #-6]
cmp r2, r3
bne .L12
ldrh r3, [fp, #-8]
mov r1, r3
ldr r0, .L14
bl printf
b .L11
.L12:
ldrh r3, [fp, #-8]
ldrh r2, [fp, #-6]
mov r1, r3
ldr r0, .L14+4
bl printf
.L11:
mov r3, #0
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L15:
.align 2
.L14:
.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 "715218.c"
.intel_syntax noprefix
.text
.globl tty
.bss
.align 32
.type tty, @object
.size tty, 60
tty:
.zero 60
.section .rodata
.LC0:
.string "Please specify an IP address\n"
.LC1:
.string "Could not set canonical mode"
.align 8
.LC2:
.string "Oops. Fork failure.\nDid you try a spoon?"
.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 DWORD PTR -20[rbp], edi
mov QWORD PTR -32[rbp], rsi
mov DWORD PTR -12[rbp], 0
cmp DWORD PTR -20[rbp], 2
je .L2
mov rax, QWORD PTR stderr[rip]
mov rcx, rax
mov edx, 29
mov esi, 1
lea rdi, .LC0[rip]
call fwrite@PLT
mov edi, 1
call exit@PLT
.L2:
mov rax, QWORD PTR -32[rbp]
add rax, 8
mov rax, QWORD PTR [rax]
mov rdi, rax
call setup_socket
mov DWORD PTR -12[rbp], eax
lea rsi, tty[rip]
mov edi, 0
call set_non_canon_mode
test eax, eax
jns .L3
lea rdi, .LC1[rip]
call perror@PLT
.L3:
mov eax, DWORD PTR -12[rbp]
mov edi, eax
call handle_protocol
test eax, eax
jns .L4
mov eax, DWORD PTR -12[rbp]
mov edi, eax
call close@PLT
mov edi, 1
call exit@PLT
.L4:
call fork@PLT
mov DWORD PTR -8[rbp], eax
cmp DWORD PTR -8[rbp], -1
je .L5
cmp DWORD PTR -8[rbp], 0
je .L10
jmp .L7
.L5:
lea rdi, .LC2[rip]
call perror@PLT
mov eax, DWORD PTR -12[rbp]
mov edi, eax
call close@PLT
.L10:
mov eax, DWORD PTR -12[rbp]
mov edi, eax
call handle_stdin_to_sock
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], 0
jns .L8
call getppid@PLT
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -8[rbp]
mov esi, 15
mov edi, eax
call kill@PLT
mov edi, 1
call exit@PLT
.L8:
cmp DWORD PTR -4[rbp], 0
jne .L10
call getppid@PLT
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -8[rbp]
mov esi, 15
mov edi, eax
call kill@PLT
mov edi, 0
call exit@PLT
.L7:
mov eax, DWORD PTR -12[rbp]
mov edi, eax
call handle_sock_to_stdout
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -4[rbp], 0
jns .L11
mov eax, DWORD PTR -8[rbp]
mov esi, 15
mov edi, eax
call kill@PLT
mov edi, 1
call exit@PLT
.L11:
cmp DWORD PTR -4[rbp], 0
jne .L7
mov eax, DWORD PTR -8[rbp]
mov esi, 15
mov edi, eax
call kill@PLT
mov edi, 0
call exit@PLT
.cfi_endproc
.LFE6:
.size main, .-main
.section .rodata
.LC3:
.string "Oops. Write failure.\n"
.text
.globl handle_stdin_to_sock
.type handle_stdin_to_sock, @function
handle_stdin_to_sock:
.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, 4096
or QWORD PTR [rsp], 0
sub rsp, 48
mov DWORD PTR -4132[rbp], edi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rax, -4112[rbp]
mov edx, 4096
mov rsi, rax
mov edi, 0
call read@PLT
mov DWORD PTR -4116[rbp], eax
cmp DWORD PTR -4116[rbp], 0
jns .L14
mov eax, DWORD PTR -4132[rbp]
mov edi, eax
call close@PLT
mov eax, -1
jmp .L18
.L14:
cmp DWORD PTR -4116[rbp], 0
jne .L16
mov eax, DWORD PTR -4132[rbp]
mov edi, eax
call close@PLT
mov eax, 0
jmp .L18
.L16:
mov eax, DWORD PTR -4116[rbp]
movsx rdx, eax
lea rcx, -4112[rbp]
mov eax, DWORD PTR -4132[rbp]
mov rsi, rcx
mov edi, eax
call write@PLT
test rax, rax
jns .L17
lea rdi, .LC3[rip]
call perror@PLT
mov eax, DWORD PTR -4132[rbp]
mov edi, eax
call close@PLT
mov eax, -1
jmp .L18
.L17:
mov eax, 1
.L18:
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L19
call __stack_chk_fail@PLT
.L19:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size handle_stdin_to_sock, .-handle_stdin_to_sock
.section .rodata
.align 8
.LC4:
.string "Oops. Read failure from socket to STDOUT.\n"
.text
.globl handle_sock_to_stdout
.type handle_sock_to_stdout, @function
handle_sock_to_stdout:
.LFB8:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 4096
or QWORD PTR [rsp], 0
sub rsp, 48
mov DWORD PTR -4132[rbp], edi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rcx, -4112[rbp]
mov eax, DWORD PTR -4132[rbp]
mov edx, 4096
mov rsi, rcx
mov edi, eax
call read@PLT
mov DWORD PTR -4116[rbp], eax
cmp DWORD PTR -4116[rbp], 0
jns .L21
lea rdi, .LC4[rip]
call perror@PLT
mov eax, DWORD PTR -4132[rbp]
mov edi, eax
call close@PLT
mov eax, -1
jmp .L25
.L21:
cmp DWORD PTR -4116[rbp], 0
jne .L23
mov eax, DWORD PTR -4132[rbp]
mov edi, eax
call close@PLT
mov eax, 0
jmp .L25
.L23:
mov eax, DWORD PTR -4116[rbp]
movsx rdx, eax
lea rax, -4112[rbp]
mov rsi, rax
mov edi, 1
call write@PLT
test rax, rax
jns .L24
lea rdi, .LC3[rip]
call perror@PLT
mov eax, DWORD PTR -4132[rbp]
mov edi, eax
call close@PLT
mov eax, -1
jmp .L25
.L24:
mov eax, 1
.L25:
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L26
call __stack_chk_fail@PLT
.L26:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size handle_sock_to_stdout, .-handle_sock_to_stdout
.section .rodata
.align 8
.LC5:
.string "Oops. Read failure in handle_protocol <rembash>.\n"
.LC6:
.string "cs407rembash\n"
.align 8
.LC7:
.string "Oops. Read failure in handle_protocol <ok>.\n"
.text
.globl handle_protocol
.type handle_protocol, @function
handle_protocol:
.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, 4096
or QWORD PTR [rsp], 0
sub rsp, 48
mov DWORD PTR -4132[rbp], edi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rax, -4112[rbp]
mov edx, 4096
mov esi, 0
mov rdi, rax
call memset@PLT
lea rcx, -4112[rbp]
mov eax, DWORD PTR -4132[rbp]
mov edx, 4096
mov rsi, rcx
mov edi, eax
call read@PLT
mov DWORD PTR -4116[rbp], eax
cmp DWORD PTR -4116[rbp], 0
jns .L28
lea rdi, .LC5[rip]
call perror@PLT
mov eax, DWORD PTR -4132[rbp]
mov edi, eax
call close@PLT
mov eax, -1
jmp .L33
.L28:
mov eax, DWORD PTR -4132[rbp]
mov edx, 13
lea rsi, .LC6[rip]
mov edi, eax
call write@PLT
test rax, rax
jns .L30
lea rdi, .LC3[rip]
call perror@PLT
mov eax, DWORD PTR -4132[rbp]
mov edi, eax
call close@PLT
mov eax, -1
jmp .L33
.L30:
lea rcx, -4112[rbp]
mov eax, DWORD PTR -4132[rbp]
mov edx, 4096
mov rsi, rcx
mov edi, eax
call read@PLT
mov DWORD PTR -4116[rbp], eax
cmp DWORD PTR -4116[rbp], 0
jns .L31
lea rdi, .LC7[rip]
call perror@PLT
mov eax, DWORD PTR -4132[rbp]
mov edi, eax
call close@PLT
mov eax, -1
jmp .L33
.L31:
mov eax, DWORD PTR -4116[rbp]
movsx rdx, eax
lea rax, -4112[rbp]
mov rsi, rax
mov edi, 1
call write@PLT
test rax, rax
jns .L32
lea rdi, .LC3[rip]
call perror@PLT
mov eax, DWORD PTR -4132[rbp]
mov edi, eax
call close@PLT
mov eax, -1
jmp .L33
.L32:
mov eax, 1
.L33:
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L34
call __stack_chk_fail@PLT
.L34:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size handle_protocol, .-handle_protocol
.section .rodata
.align 8
.LC8:
.string "Oops. Client could not connect.\n"
.text
.globl setup_socket
.type setup_socket, @function
setup_socket:
.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, 64
mov QWORD PTR -56[rbp], rdi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -36[rbp], 0
mov edx, 0
mov esi, 1
mov edi, 2
call socket@PLT
mov DWORD PTR -36[rbp], eax
mov WORD PTR -32[rbp], 2
mov edi, 4070
call htons@PLT
mov WORD PTR -30[rbp], ax
lea rax, -32[rbp]
lea rdx, 4[rax]
mov rax, QWORD PTR -56[rbp]
mov rsi, rdx
mov rdi, rax
call inet_aton@PLT
test eax, eax
jne .L36
mov edi, 1
call exit@PLT
.L36:
lea rcx, -32[rbp]
mov eax, DWORD PTR -36[rbp]
mov edx, 16
mov rsi, rcx
mov edi, eax
call connect@PLT
test eax, eax
je .L37
lea rdi, .LC8[rip]
call perror@PLT
mov eax, DWORD PTR -36[rbp]
mov edi, eax
call close@PLT
.L37:
mov eax, DWORD PTR -36[rbp]
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L39
call __stack_chk_fail@PLT
.L39:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size setup_socket, .-setup_socket
.section .rodata
.LC9:
.string "problem in tcgeattr\n"
.LC10:
.string "problem in tcsetattr\n"
.text
.globl set_non_canon_mode
.type set_non_canon_mode, @function
set_non_canon_mode:
.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, 104
.cfi_offset 3, -24
mov DWORD PTR -100[rbp], edi
mov QWORD PTR -112[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -24[rbp], rax
xor eax, eax
lea rdx, -96[rbp]
mov eax, DWORD PTR -100[rbp]
mov rsi, rdx
mov edi, eax
call tcgetattr@PLT
cmp eax, -1
jne .L41
lea rdi, .LC9[rip]
call perror@PLT
mov eax, -1
jmp .L45
.L41:
cmp QWORD PTR -112[rbp], 0
je .L43
mov rax, QWORD PTR -112[rbp]
mov rcx, QWORD PTR -96[rbp]
mov rbx, QWORD PTR -88[rbp]
mov QWORD PTR [rax], rcx
mov QWORD PTR 8[rax], rbx
mov rcx, QWORD PTR -80[rbp]
mov rbx, QWORD PTR -72[rbp]
mov QWORD PTR 16[rax], rcx
mov QWORD PTR 24[rax], rbx
mov rcx, QWORD PTR -64[rbp]
mov rbx, QWORD PTR -56[rbp]
mov QWORD PTR 32[rax], rcx
mov QWORD PTR 40[rax], rbx
mov rdx, QWORD PTR -48[rbp]
mov QWORD PTR 48[rax], rdx
mov edx, DWORD PTR -40[rbp]
mov DWORD PTR 56[rax], edx
.L43:
mov eax, DWORD PTR -84[rbp]
and eax, -11
mov DWORD PTR -84[rbp], eax
mov eax, DWORD PTR -84[rbp]
or eax, 1
mov DWORD PTR -84[rbp], eax
mov eax, DWORD PTR -96[rbp]
and ah, -2
mov DWORD PTR -96[rbp], eax
mov BYTE PTR -73[rbp], 1
mov BYTE PTR -74[rbp], 0
lea rdx, -96[rbp]
mov eax, DWORD PTR -100[rbp]
mov esi, 2
mov edi, eax
call tcsetattr@PLT
cmp eax, -1
jne .L44
lea rdi, .LC10[rip]
call perror@PLT
mov eax, -1
jmp .L45
.L44:
mov eax, 0
.L45:
mov rbx, QWORD PTR -24[rbp]
sub rbx, QWORD PTR fs:40
je .L46
call __stack_chk_fail@PLT
.L46:
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size set_non_canon_mode, .-set_non_canon_mode
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "715218.c"
.text
.comm tty,60,4
.section .rodata
.align 2
.LC0:
.ascii "Please specify an IP address\012\000"
.align 2
.LC1:
.ascii "Could not set canonical mode\000"
.align 2
.LC2:
.ascii "Oops. Fork failure.\012Did you try a spoon?\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]
mov r3, #0
str r3, [fp, #-16]
ldr r3, [fp, #-24]
cmp r3, #2
beq .L2
ldr r3, .L13
ldr r3, [r3]
mov r2, #29
mov r1, #1
ldr r0, .L13+4
bl fwrite
mov r0, #1
bl exit
.L2:
ldr r3, [fp, #-28]
add r3, r3, #4
ldr r3, [r3]
mov r0, r3
bl setup_socket
str r0, [fp, #-16]
ldr r1, .L13+8
mov r0, #0
bl set_non_canon_mode
mov r3, r0
cmp r3, #0
bge .L3
ldr r0, .L13+12
bl perror
.L3:
ldr r0, [fp, #-16]
bl handle_protocol
mov r3, r0
cmp r3, #0
bge .L4
ldr r0, [fp, #-16]
bl close
mov r0, #1
bl exit
.L4:
bl fork
mov r3, r0
str r3, [fp, #-12]
ldr r3, [fp, #-12]
cmn r3, #1
beq .L5
ldr r3, [fp, #-12]
cmp r3, #0
beq .L10
b .L7
.L5:
ldr r0, .L13+16
bl perror
ldr r0, [fp, #-16]
bl close
.L10:
ldr r0, [fp, #-16]
bl handle_stdin_to_sock
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
bge .L8
bl getppid
str r0, [fp, #-12]
mov r1, #15
ldr r0, [fp, #-12]
bl kill
mov r0, #1
bl exit
.L8:
ldr r3, [fp, #-8]
cmp r3, #0
bne .L10
bl getppid
str r0, [fp, #-12]
mov r1, #15
ldr r0, [fp, #-12]
bl kill
mov r0, #0
bl exit
.L7:
ldr r0, [fp, #-16]
bl handle_sock_to_stdout
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
bge .L11
mov r1, #15
ldr r0, [fp, #-12]
bl kill
mov r0, #1
bl exit
.L11:
ldr r3, [fp, #-8]
cmp r3, #0
bne .L7
mov r1, #15
ldr r0, [fp, #-12]
bl kill
mov r0, #0
bl exit
.L14:
.align 2
.L13:
.word stderr
.word .LC0
.word tty
.word .LC1
.word .LC2
.size main, .-main
.section .rodata
.align 2
.LC3:
.ascii "Oops. Write failure.\012\000"
.align 2
.LC4:
.word __stack_chk_guard
.text
.align 2
.global handle_stdin_to_sock
.syntax unified
.arm
.fpu softvfp
.type handle_stdin_to_sock, %function
handle_stdin_to_sock:
@ args = 0, pretend = 0, frame = 4112
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #4096
sub sp, sp, #20
sub r3, fp, #4096
sub r3, r3, #12
str r0, [r3, #-12]
ldr r3, .L22
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
sub r3, fp, #4096
sub r3, r3, #12
mov r4, r3
sub r3, fp, #4096
sub r3, r3, #12
sub r3, r3, #4
mov r2, #4096
mov r1, r3
mov r0, #0
bl read
str r0, [r4, #-8]
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-8]
cmp r3, #0
bge .L16
sub r3, fp, #4096
sub r3, r3, #12
ldr r0, [r3, #-12]
bl close
mvn r3, #0
b .L20
.L16:
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-8]
cmp r3, #0
bne .L18
sub r3, fp, #4096
sub r3, r3, #12
ldr r0, [r3, #-12]
bl close
mov r3, #0
b .L20
.L18:
sub r3, fp, #4096
sub r3, r3, #12
ldr r2, [r3, #-8]
sub r3, fp, #4096
sub r3, r3, #12
sub r3, r3, #4
sub r1, fp, #4096
sub r1, r1, #12
mov r0, r1
mov r1, r3
ldr r0, [r0, #-12]
bl write
mov r3, r0
cmp r3, #0
bge .L19
ldr r0, .L22+4
bl perror
sub r3, fp, #4096
sub r3, r3, #12
ldr r0, [r3, #-12]
bl close
mvn r3, #0
b .L20
.L19:
mov r3, #1
.L20:
ldr r2, .L22
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L21
bl __stack_chk_fail
.L21:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L23:
.align 2
.L22:
.word .LC4
.word .LC3
.size handle_stdin_to_sock, .-handle_stdin_to_sock
.section .rodata
.align 2
.LC5:
.ascii "Oops. Read failure from socket to STDOUT.\012\000"
.align 2
.LC6:
.word __stack_chk_guard
.text
.align 2
.global handle_sock_to_stdout
.syntax unified
.arm
.fpu softvfp
.type handle_sock_to_stdout, %function
handle_sock_to_stdout:
@ args = 0, pretend = 0, frame = 4112
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #4096
sub sp, sp, #20
sub r3, fp, #4096
sub r3, r3, #12
str r0, [r3, #-12]
ldr r3, .L31
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
sub r3, fp, #4096
sub r3, r3, #12
mov r4, r3
sub r3, fp, #4096
sub r3, r3, #12
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #12
mov r0, r2
mov r2, #4096
mov r1, r3
ldr r0, [r0, #-12]
bl read
str r0, [r4, #-8]
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-8]
cmp r3, #0
bge .L25
ldr r0, .L31+4
bl perror
sub r3, fp, #4096
sub r3, r3, #12
ldr r0, [r3, #-12]
bl close
mvn r3, #0
b .L29
.L25:
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-8]
cmp r3, #0
bne .L27
sub r3, fp, #4096
sub r3, r3, #12
ldr r0, [r3, #-12]
bl close
mov r3, #0
b .L29
.L27:
sub r3, fp, #4096
sub r3, r3, #12
ldr r2, [r3, #-8]
sub r3, fp, #4096
sub r3, r3, #12
sub r3, r3, #4
mov r1, r3
mov r0, #1
bl write
mov r3, r0
cmp r3, #0
bge .L28
ldr r0, .L31+8
bl perror
sub r3, fp, #4096
sub r3, r3, #12
ldr r0, [r3, #-12]
bl close
mvn r3, #0
b .L29
.L28:
mov r3, #1
.L29:
ldr r2, .L31
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L30
bl __stack_chk_fail
.L30:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L32:
.align 2
.L31:
.word .LC6
.word .LC5
.word .LC3
.size handle_sock_to_stdout, .-handle_sock_to_stdout
.section .rodata
.align 2
.LC7:
.ascii "Oops. Read failure in handle_protocol <rembash>.\012"
.ascii "\000"
.align 2
.LC8:
.ascii "cs407rembash\012\000"
.align 2
.LC9:
.ascii "Oops. Read failure in handle_protocol <ok>.\012\000"
.align 2
.LC10:
.word __stack_chk_guard
.text
.align 2
.global handle_protocol
.syntax unified
.arm
.fpu softvfp
.type handle_protocol, %function
handle_protocol:
@ args = 0, pretend = 0, frame = 4112
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #4096
sub sp, sp, #20
sub r3, fp, #4096
sub r3, r3, #12
str r0, [r3, #-12]
ldr r3, .L41
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
sub r3, fp, #4096
sub r3, r3, #12
sub r3, r3, #4
mov r2, #4096
mov r1, #0
mov r0, r3
bl memset
sub r3, fp, #4096
sub r3, r3, #12
mov r4, r3
sub r3, fp, #4096
sub r3, r3, #12
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #12
mov r0, r2
mov r2, #4096
mov r1, r3
ldr r0, [r0, #-12]
bl read
str r0, [r4, #-8]
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-8]
cmp r3, #0
bge .L34
ldr r0, .L41+4
bl perror
sub r3, fp, #4096
sub r3, r3, #12
ldr r0, [r3, #-12]
bl close
mvn r3, #0
b .L39
.L34:
sub r3, fp, #4096
sub r3, r3, #12
mov r2, #13
ldr r1, .L41+8
ldr r0, [r3, #-12]
bl write
mov r3, r0
cmp r3, #0
bge .L36
ldr r0, .L41+12
bl perror
sub r3, fp, #4096
sub r3, r3, #12
ldr r0, [r3, #-12]
bl close
mvn r3, #0
b .L39
.L36:
sub r3, fp, #4096
sub r3, r3, #12
mov r4, r3
sub r3, fp, #4096
sub r3, r3, #12
sub r3, r3, #4
sub r2, fp, #4096
sub r2, r2, #12
mov r0, r2
mov r2, #4096
mov r1, r3
ldr r0, [r0, #-12]
bl read
str r0, [r4, #-8]
sub r3, fp, #4096
sub r3, r3, #12
ldr r3, [r3, #-8]
cmp r3, #0
bge .L37
ldr r0, .L41+16
bl perror
sub r3, fp, #4096
sub r3, r3, #12
ldr r0, [r3, #-12]
bl close
mvn r3, #0
b .L39
.L37:
sub r3, fp, #4096
sub r3, r3, #12
ldr r2, [r3, #-8]
sub r3, fp, #4096
sub r3, r3, #12
sub r3, r3, #4
mov r1, r3
mov r0, #1
bl write
mov r3, r0
cmp r3, #0
bge .L38
ldr r0, .L41+12
bl perror
sub r3, fp, #4096
sub r3, r3, #12
ldr r0, [r3, #-12]
bl close
mvn r3, #0
b .L39
.L38:
mov r3, #1
.L39:
ldr r2, .L41
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L40
bl __stack_chk_fail
.L40:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L42:
.align 2
.L41:
.word .LC10
.word .LC7
.word .LC8
.word .LC3
.word .LC9
.size handle_protocol, .-handle_protocol
.section .rodata
.align 2
.LC11:
.ascii "Oops. Client could not connect.\012\000"
.align 2
.LC12:
.word __stack_chk_guard
.text
.align 2
.global setup_socket
.syntax unified
.arm
.fpu softvfp
.type setup_socket, %function
setup_socket:
@ 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]
ldr r3, .L48
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-28]
mov r2, #0
mov r1, #1
mov r0, #2
bl socket
str r0, [fp, #-28]
mov r3, #2
strh r3, [fp, #-24] @ movhi
ldr r0, .L48+4
bl htons
mov r3, r0
strh r3, [fp, #-22] @ movhi
sub r3, fp, #24
add r3, r3, #4
mov r1, r3
ldr r0, [fp, #-32]
bl inet_aton
mov r3, r0
cmp r3, #0
bne .L44
mov r0, #1
bl exit
.L44:
sub r3, fp, #24
mov r2, #16
mov r1, r3
ldr r0, [fp, #-28]
bl connect
mov r3, r0
cmp r3, #0
beq .L45
ldr r0, .L48+8
bl perror
ldr r0, [fp, #-28]
bl close
.L45:
ldr r3, [fp, #-28]
ldr r2, .L48
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L47
bl __stack_chk_fail
.L47:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L49:
.align 2
.L48:
.word .LC12
.word 4070
.word .LC11
.size setup_socket, .-setup_socket
.section .rodata
.align 2
.LC13:
.ascii "problem in tcgeattr\012\000"
.align 2
.LC14:
.ascii "problem in tcsetattr\012\000"
.align 2
.LC15:
.word __stack_chk_guard
.text
.align 2
.global set_non_canon_mode
.syntax unified
.arm
.fpu softvfp
.type set_non_canon_mode, %function
set_non_canon_mode:
@ 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, .L57
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r3, fp, #68
mov r1, r3
ldr r0, [fp, #-72]
bl tcgetattr
mov r3, r0
cmn r3, #1
bne .L51
ldr r0, .L57+4
bl perror
mvn r3, #0
b .L55
.L51:
ldr r3, [fp, #-76]
cmp r3, #0
beq .L53
ldr r3, [fp, #-76]
mov lr, r3
sub ip, fp, #68
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}
stm lr, {r0, r1, r2}
.L53:
ldr r3, [fp, #-56]
bic r3, r3, #10
str r3, [fp, #-56]
ldr r3, [fp, #-56]
orr r3, r3, #1
str r3, [fp, #-56]
ldr r3, [fp, #-68]
bic r3, r3, #256
str r3, [fp, #-68]
mov r3, #1
strb r3, [fp, #-45]
mov r3, #0
strb r3, [fp, #-46]
sub r3, fp, #68
mov r2, r3
mov r1, #2
ldr r0, [fp, #-72]
bl tcsetattr
mov r3, r0
cmn r3, #1
bne .L54
ldr r0, .L57+8
bl perror
mvn r3, #0
b .L55
.L54:
mov r3, #0
.L55:
ldr r2, .L57
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L56
bl __stack_chk_fail
.L56:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L58:
.align 2
.L57:
.word .LC15
.word .LC13
.word .LC14
.size set_non_canon_mode, .-set_non_canon_mode
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "92934.c"
.intel_syntax noprefix
.text
.globl diagonalDifference
.type diagonalDifference, @function
diagonalDifference:
.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 DWORD PTR -24[rbp], esi
mov QWORD PTR -32[rbp], rdx
mov DWORD PTR -16[rbp], 0
mov DWORD PTR -12[rbp], 0
mov DWORD PTR -8[rbp], 0
jmp .L2
.L7:
mov DWORD PTR -4[rbp], 0
jmp .L3
.L6:
mov eax, DWORD PTR -8[rbp]
cmp eax, DWORD PTR -4[rbp]
jne .L4
mov eax, DWORD PTR -8[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -32[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]
add DWORD PTR -16[rbp], eax
.L4:
mov edx, DWORD PTR -8[rbp]
mov eax, DWORD PTR -4[rbp]
add edx, eax
mov eax, DWORD PTR -20[rbp]
sub eax, 1
cmp edx, eax
jne .L5
mov eax, DWORD PTR -8[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -32[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]
add DWORD PTR -12[rbp], eax
.L5:
add DWORD PTR -4[rbp], 1
.L3:
mov eax, DWORD PTR -4[rbp]
cmp eax, DWORD PTR -24[rbp]
jl .L6
add DWORD PTR -8[rbp], 1
.L2:
mov eax, DWORD PTR -8[rbp]
cmp eax, DWORD PTR -20[rbp]
jl .L7
mov eax, DWORD PTR -16[rbp]
cmp eax, DWORD PTR -12[rbp]
jle .L8
mov eax, DWORD PTR -16[rbp]
sub eax, DWORD PTR -12[rbp]
jmp .L10
.L8:
mov eax, DWORD PTR -12[rbp]
sub eax, DWORD PTR -16[rbp]
.L10:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size diagonalDifference, .-diagonalDifference
.section .rodata
.LC0:
.string "OUTPUT_PATH"
.LC1:
.string "w"
.LC2:
.string "%d\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
push rbx
sub rsp, 56
.cfi_offset 3, -24
lea rdi, .LC0[rip]
call getenv@PLT
lea rsi, .LC1[rip]
mov rdi, rax
call fopen@PLT
mov QWORD PTR -40[rbp], rax
mov eax, 0
call readline
mov rdi, rax
call rtrim
mov rdi, rax
call ltrim
mov rdi, rax
call parse_int
mov DWORD PTR -52[rbp], eax
mov eax, DWORD PTR -52[rbp]
cdqe
sal rax, 3
mov rdi, rax
call malloc@PLT
mov QWORD PTR -32[rbp], rax
mov DWORD PTR -60[rbp], 0
jmp .L12
.L15:
mov eax, DWORD PTR -52[rbp]
cdqe
sal rax, 2
mov edx, DWORD PTR -60[rbp]
movsx rdx, edx
lea rcx, 0[0+rdx*8]
mov rdx, QWORD PTR -32[rbp]
lea rbx, [rcx+rdx]
mov rdi, rax
call malloc@PLT
mov QWORD PTR [rbx], rax
mov eax, 0
call readline
mov rdi, rax
call rtrim
mov rdi, rax
call split_string
mov QWORD PTR -24[rbp], rax
mov DWORD PTR -56[rbp], 0
jmp .L13
.L14:
mov eax, DWORD PTR -56[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 parse_int
mov DWORD PTR -44[rbp], eax
mov eax, DWORD PTR -60[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -32[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -56[rbp]
cdqe
sal rax, 2
add rdx, rax
mov eax, DWORD PTR -44[rbp]
mov DWORD PTR [rdx], eax
add DWORD PTR -56[rbp], 1
.L13:
mov eax, DWORD PTR -56[rbp]
cmp eax, DWORD PTR -52[rbp]
jl .L14
add DWORD PTR -60[rbp], 1
.L12:
mov eax, DWORD PTR -60[rbp]
cmp eax, DWORD PTR -52[rbp]
jl .L15
mov rdx, QWORD PTR -32[rbp]
mov ecx, DWORD PTR -52[rbp]
mov eax, DWORD PTR -52[rbp]
mov esi, ecx
mov edi, eax
call diagonalDifference
mov DWORD PTR -48[rbp], eax
mov edx, DWORD PTR -48[rbp]
mov rax, QWORD PTR -40[rbp]
lea rsi, .LC2[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov rax, QWORD PTR -40[rbp]
mov rdi, rax
call fclose@PLT
mov eax, 0
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size main, .-main
.globl readline
.type readline, @function
readline:
.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], 1024
mov QWORD PTR -32[rbp], 0
mov rax, QWORD PTR -40[rbp]
mov rdi, rax
call malloc@PLT
mov QWORD PTR -24[rbp], rax
.L21:
mov rdx, QWORD PTR -24[rbp]
mov rax, QWORD PTR -32[rbp]
add rax, rdx
mov QWORD PTR -16[rbp], rax
mov rdx, QWORD PTR stdin[rip]
mov rax, QWORD PTR -40[rbp]
mov ecx, eax
mov rax, QWORD PTR -32[rbp]
mov esi, eax
mov eax, ecx
sub eax, esi
mov ecx, eax
mov rax, QWORD PTR -16[rbp]
mov esi, ecx
mov rdi, rax
call fgets@PLT
mov QWORD PTR -8[rbp], rax
cmp QWORD PTR -8[rbp], 0
je .L26
mov rax, QWORD PTR -16[rbp]
mov rdi, rax
call strlen@PLT
add QWORD PTR -32[rbp], rax
mov rax, QWORD PTR -40[rbp]
sub rax, 1
cmp QWORD PTR -32[rbp], rax
jb .L19
mov rax, QWORD PTR -32[rbp]
lea rdx, -1[rax]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
cmp al, 10
je .L19
sal QWORD PTR -40[rbp]
mov rdx, QWORD PTR -40[rbp]
mov rax, QWORD PTR -24[rbp]
mov rsi, rdx
mov rdi, rax
call realloc@PLT
mov QWORD PTR -24[rbp], rax
cmp QWORD PTR -24[rbp], 0
jne .L21
mov QWORD PTR -24[rbp], 0
jmp .L19
.L26:
nop
.L19:
mov rax, QWORD PTR -32[rbp]
lea rdx, -1[rax]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
cmp al, 10
jne .L22
mov rax, QWORD PTR -32[rbp]
lea rdx, -1[rax]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov BYTE PTR [rax], 0
mov rdx, QWORD PTR -32[rbp]
mov rax, QWORD PTR -24[rbp]
mov rsi, rdx
mov rdi, rax
call realloc@PLT
mov QWORD PTR -24[rbp], rax
cmp QWORD PTR -24[rbp], 0
jne .L23
mov QWORD PTR -24[rbp], 0
jmp .L23
.L22:
mov rax, QWORD PTR -32[rbp]
lea rdx, 1[rax]
mov rax, QWORD PTR -24[rbp]
mov rsi, rdx
mov rdi, rax
call realloc@PLT
mov QWORD PTR -24[rbp], rax
cmp QWORD PTR -24[rbp], 0
jne .L24
mov QWORD PTR -24[rbp], 0
jmp .L23
.L24:
mov rdx, QWORD PTR -24[rbp]
mov rax, QWORD PTR -32[rbp]
add rax, rdx
mov BYTE PTR [rax], 0
.L23:
mov rax, QWORD PTR -24[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size readline, .-readline
.globl ltrim
.type ltrim, @function
ltrim:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
cmp QWORD PTR -8[rbp], 0
jne .L28
mov eax, 0
jmp .L29
.L28:
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR [rax]
test al, al
jne .L31
mov rax, QWORD PTR -8[rbp]
jmp .L29
.L33:
add QWORD PTR -8[rbp], 1
.L31:
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR [rax]
test al, al
je .L32
call __ctype_b_loc@PLT
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -8[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 .L33
.L32:
mov rax, QWORD PTR -8[rbp]
.L29:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size ltrim, .-ltrim
.globl rtrim
.type rtrim, @function
rtrim:
.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
cmp QWORD PTR -24[rbp], 0
jne .L35
mov eax, 0
jmp .L36
.L35:
mov rax, QWORD PTR -24[rbp]
movzx eax, BYTE PTR [rax]
test al, al
jne .L37
mov rax, QWORD PTR -24[rbp]
jmp .L36
.L37:
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call strlen@PLT
lea rdx, -1[rax]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov QWORD PTR -8[rbp], rax
jmp .L38
.L40:
sub QWORD PTR -8[rbp], 1
.L38:
mov rax, QWORD PTR -8[rbp]
cmp rax, QWORD PTR -24[rbp]
jb .L39
call __ctype_b_loc@PLT
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR -8[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 .L40
.L39:
mov rax, QWORD PTR -8[rbp]
add rax, 1
mov BYTE PTR [rax], 0
mov rax, QWORD PTR -24[rbp]
.L36:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size rtrim, .-rtrim
.section .rodata
.LC3:
.string " "
.text
.globl split_string
.type split_string, @function
split_string:
.LFB11:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov QWORD PTR -40[rbp], rdi
mov QWORD PTR -16[rbp], 0
mov rax, QWORD PTR -40[rbp]
lea rsi, .LC3[rip]
mov rdi, rax
call strtok@PLT
mov QWORD PTR -8[rbp], rax
mov DWORD PTR -20[rbp], 0
jmp .L42
.L45:
add DWORD PTR -20[rbp], 1
mov eax, DWORD PTR -20[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -16[rbp]
mov rsi, rdx
mov rdi, rax
call realloc@PLT
mov QWORD PTR -16[rbp], rax
cmp QWORD PTR -16[rbp], 0
jne .L43
mov rax, QWORD PTR -16[rbp]
jmp .L44
.L43:
mov eax, DWORD PTR -20[rbp]
cdqe
sal rax, 3
lea rdx, -8[rax]
mov rax, QWORD PTR -16[rbp]
add rdx, rax
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR [rdx], rax
lea rsi, .LC3[rip]
mov edi, 0
call strtok@PLT
mov QWORD PTR -8[rbp], rax
.L42:
cmp QWORD PTR -8[rbp], 0
jne .L45
mov rax, QWORD PTR -16[rbp]
.L44:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size split_string, .-split_string
.globl parse_int
.type parse_int, @function
parse_int:
.LFB12:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov QWORD PTR -40[rbp], rdi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
lea rcx, -16[rbp]
mov rax, QWORD PTR -40[rbp]
mov edx, 10
mov rsi, rcx
mov rdi, rax
call strtol@PLT
mov DWORD PTR -20[rbp], eax
mov rax, QWORD PTR -16[rbp]
cmp QWORD PTR -40[rbp], rax
je .L47
mov rax, QWORD PTR -16[rbp]
movzx eax, BYTE PTR [rax]
test al, al
je .L48
.L47:
mov edi, 1
call exit@PLT
.L48:
mov eax, DWORD PTR -20[rbp]
mov rdx, QWORD PTR -8[rbp]
sub rdx, QWORD PTR fs:40
je .L50
call __stack_chk_fail@PLT
.L50:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE12:
.size parse_int, .-parse_int
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "92934.c"
.text
.align 2
.global diagonalDifference
.syntax unified
.arm
.fpu softvfp
.type diagonalDifference, %function
diagonalDifference:
@ 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, #-24]
str r1, [fp, #-28]
str r2, [fp, #-32]
mov r3, #0
str r3, [fp, #-20]
mov r3, #0
str r3, [fp, #-16]
mov r3, #0
str r3, [fp, #-12]
b .L2
.L7:
mov r3, #0
str r3, [fp, #-8]
b .L3
.L6:
ldr r2, [fp, #-12]
ldr r3, [fp, #-8]
cmp r2, r3
bne .L4
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-32]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-8]
lsl r3, r3, #2
add r3, r2, r3
ldr r3, [r3]
ldr r2, [fp, #-20]
add r3, r2, r3
str r3, [fp, #-20]
.L4:
ldr r2, [fp, #-12]
ldr r3, [fp, #-8]
add r2, r2, r3
ldr r3, [fp, #-24]
sub r3, r3, #1
cmp r2, r3
bne .L5
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-32]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-8]
lsl r3, r3, #2
add r3, r2, r3
ldr r3, [r3]
ldr r2, [fp, #-16]
add r3, r2, r3
str r3, [fp, #-16]
.L5:
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L3:
ldr r2, [fp, #-8]
ldr r3, [fp, #-28]
cmp r2, r3
blt .L6
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L2:
ldr r2, [fp, #-12]
ldr r3, [fp, #-24]
cmp r2, r3
blt .L7
ldr r2, [fp, #-20]
ldr r3, [fp, #-16]
cmp r2, r3
ble .L8
ldr r2, [fp, #-20]
ldr r3, [fp, #-16]
sub r3, r2, r3
b .L10
.L8:
ldr r2, [fp, #-16]
ldr r3, [fp, #-20]
sub r3, r2, r3
.L10:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size diagonalDifference, .-diagonalDifference
.section .rodata
.align 2
.LC0:
.ascii "OUTPUT_PATH\000"
.align 2
.LC1:
.ascii "w\000"
.align 2
.LC2:
.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 {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #36
ldr r0, .L17
bl getenv
mov r3, r0
ldr r1, .L17+4
mov r0, r3
bl fopen
str r0, [fp, #-36]
bl readline
mov r3, r0
mov r0, r3
bl rtrim
mov r3, r0
mov r0, r3
bl ltrim
mov r3, r0
mov r0, r3
bl parse_int
str r0, [fp, #-32]
ldr r3, [fp, #-32]
lsl r3, r3, #2
mov r0, r3
bl malloc
mov r3, r0
str r3, [fp, #-28]
mov r3, #0
str r3, [fp, #-44]
b .L12
.L15:
ldr r3, [fp, #-32]
lsl r1, r3, #2
ldr r3, [fp, #-44]
lsl r3, r3, #2
ldr r2, [fp, #-28]
add r4, r2, r3
mov r0, r1
bl malloc
mov r3, r0
str r3, [r4]
bl readline
mov r3, r0
mov r0, r3
bl rtrim
mov r3, r0
mov r0, r3
bl split_string
str r0, [fp, #-20]
mov r3, #0
str r3, [fp, #-40]
b .L13
.L14:
ldr r3, [fp, #-40]
lsl r3, r3, #2
ldr r2, [fp, #-20]
add r3, r2, r3
ldr r3, [r3]
mov r0, r3
bl parse_int
str r0, [fp, #-16]
ldr r3, [fp, #-44]
lsl r3, r3, #2
ldr r2, [fp, #-28]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-40]
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [fp, #-16]
str r2, [r3]
ldr r3, [fp, #-40]
add r3, r3, #1
str r3, [fp, #-40]
.L13:
ldr r2, [fp, #-40]
ldr r3, [fp, #-32]
cmp r2, r3
blt .L14
ldr r3, [fp, #-44]
add r3, r3, #1
str r3, [fp, #-44]
.L12:
ldr r2, [fp, #-44]
ldr r3, [fp, #-32]
cmp r2, r3
blt .L15
ldr r2, [fp, #-28]
ldr r1, [fp, #-32]
ldr r0, [fp, #-32]
bl diagonalDifference
str r0, [fp, #-24]
ldr r2, [fp, #-24]
ldr r1, .L17+8
ldr r0, [fp, #-36]
bl fprintf
ldr r0, [fp, #-36]
bl fclose
mov r3, #0
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L18:
.align 2
.L17:
.word .LC0
.word .LC1
.word .LC2
.size main, .-main
.align 2
.global readline
.syntax unified
.arm
.fpu softvfp
.type readline, %function
readline:
@ 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, #1024
str r3, [fp, #-24]
mov r3, #0
str r3, [fp, #-20]
ldr r0, [fp, #-24]
bl malloc
mov r3, r0
str r3, [fp, #-16]
.L23:
ldr r2, [fp, #-16]
ldr r3, [fp, #-20]
add r3, r2, r3
str r3, [fp, #-12]
ldr r2, [fp, #-24]
ldr r3, [fp, #-20]
sub r3, r2, r3
mov r1, r3
ldr r3, .L29
ldr r3, [r3]
mov r2, r3
ldr r0, [fp, #-12]
bl fgets
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
beq .L28
ldr r0, [fp, #-12]
bl strlen
mov r2, r0
ldr r3, [fp, #-20]
add r3, r3, r2
str r3, [fp, #-20]
ldr r3, [fp, #-24]
sub r3, r3, #1
ldr r2, [fp, #-20]
cmp r2, r3
bcc .L21
ldr r3, [fp, #-20]
sub r3, r3, #1
ldr r2, [fp, #-16]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #10
beq .L21
ldr r3, [fp, #-24]
lsl r3, r3, #1
str r3, [fp, #-24]
ldr r1, [fp, #-24]
ldr r0, [fp, #-16]
bl realloc
str r0, [fp, #-16]
ldr r3, [fp, #-16]
cmp r3, #0
bne .L23
mov r3, #0
str r3, [fp, #-16]
b .L21
.L28:
nop
.L21:
ldr r3, [fp, #-20]
sub r3, r3, #1
ldr r2, [fp, #-16]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #10
bne .L24
ldr r3, [fp, #-20]
sub r3, r3, #1
ldr r2, [fp, #-16]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
ldr r1, [fp, #-20]
ldr r0, [fp, #-16]
bl realloc
str r0, [fp, #-16]
ldr r3, [fp, #-16]
cmp r3, #0
bne .L25
mov r3, #0
str r3, [fp, #-16]
b .L25
.L24:
ldr r3, [fp, #-20]
add r3, r3, #1
mov r1, r3
ldr r0, [fp, #-16]
bl realloc
str r0, [fp, #-16]
ldr r3, [fp, #-16]
cmp r3, #0
bne .L26
mov r3, #0
str r3, [fp, #-16]
b .L25
.L26:
ldr r2, [fp, #-16]
ldr r3, [fp, #-20]
add r3, r2, r3
mov r2, #0
strb r2, [r3]
.L25:
ldr r3, [fp, #-16]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L30:
.align 2
.L29:
.word stdin
.size readline, .-readline
.align 2
.global ltrim
.syntax unified
.arm
.fpu softvfp
.type ltrim, %function
ltrim:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #8
str r0, [fp, #-8]
ldr r3, [fp, #-8]
cmp r3, #0
bne .L32
mov r3, #0
b .L33
.L32:
ldr r3, [fp, #-8]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L35
ldr r3, [fp, #-8]
b .L33
.L37:
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L35:
ldr r3, [fp, #-8]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
beq .L36
bl __ctype_b_loc
mov r3, r0
ldr r2, [r3]
ldr r3, [fp, #-8]
ldrb r3, [r3] @ zero_extendqisi2
lsl r3, r3, #1
add r3, r2, r3
ldrh r3, [r3]
and r3, r3, #8192
cmp r3, #0
bne .L37
.L36:
ldr r3, [fp, #-8]
.L33:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size ltrim, .-ltrim
.align 2
.global rtrim
.syntax unified
.arm
.fpu softvfp
.type rtrim, %function
rtrim:
@ 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
bne .L39
mov r3, #0
b .L40
.L39:
ldr r3, [fp, #-16]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L41
ldr r3, [fp, #-16]
b .L40
.L41:
ldr r0, [fp, #-16]
bl strlen
mov r3, r0
sub r3, r3, #1
ldr r2, [fp, #-16]
add r3, r2, r3
str r3, [fp, #-8]
b .L42
.L44:
ldr r3, [fp, #-8]
sub r3, r3, #1
str r3, [fp, #-8]
.L42:
ldr r2, [fp, #-8]
ldr r3, [fp, #-16]
cmp r2, r3
bcc .L43
bl __ctype_b_loc
mov r3, r0
ldr r2, [r3]
ldr r3, [fp, #-8]
ldrb r3, [r3] @ zero_extendqisi2
lsl r3, r3, #1
add r3, r2, r3
ldrh r3, [r3]
and r3, r3, #8192
cmp r3, #0
bne .L44
.L43:
ldr r3, [fp, #-8]
add r3, r3, #1
mov r2, #0
strb r2, [r3]
ldr r3, [fp, #-16]
.L40:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size rtrim, .-rtrim
.section .rodata
.align 2
.LC3:
.ascii " \000"
.text
.align 2
.global split_string
.syntax unified
.arm
.fpu softvfp
.type split_string, %function
split_string:
@ 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]
mov r3, #0
str r3, [fp, #-16]
ldr r1, .L50
ldr r0, [fp, #-24]
bl strtok
str r0, [fp, #-12]
mov r3, #0
str r3, [fp, #-8]
b .L46
.L49:
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
ldr r3, [fp, #-8]
lsl r3, r3, #2
mov r1, r3
ldr r0, [fp, #-16]
bl realloc
str r0, [fp, #-16]
ldr r3, [fp, #-16]
cmp r3, #0
bne .L47
ldr r3, [fp, #-16]
b .L48
.L47:
ldr r3, [fp, #-8]
sub r3, r3, #-1073741823
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r2, [fp, #-12]
str r2, [r3]
ldr r1, .L50
mov r0, #0
bl strtok
str r0, [fp, #-12]
.L46:
ldr r3, [fp, #-12]
cmp r3, #0
bne .L49
ldr r3, [fp, #-16]
.L48:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L51:
.align 2
.L50:
.word .LC3
.size split_string, .-split_string
.section .rodata
.align 2
.LC4:
.word __stack_chk_guard
.text
.align 2
.global parse_int
.syntax unified
.arm
.fpu softvfp
.type parse_int, %function
parse_int:
@ 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, .L57
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r3, fp, #16
mov r2, #10
mov r1, r3
ldr r0, [fp, #-24]
bl strtol
str r0, [fp, #-12]
ldr r3, [fp, #-16]
ldr r2, [fp, #-24]
cmp r2, r3
beq .L53
ldr r3, [fp, #-16]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
beq .L54
.L53:
mov r0, #1
bl exit
.L54:
ldr r3, [fp, #-12]
ldr r2, .L57
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L56
bl __stack_chk_fail
.L56:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L58:
.align 2
.L57:
.word .LC4
.size parse_int, .-parse_int
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "780103.c"
.intel_syntax noprefix
.text
.globl data_cache
.bss
.align 8
.type data_cache, @object
.size data_cache, 8
data_cache:
.zero 8
.globl fname_cache
.align 8
.type fname_cache, @object
.size fname_cache, 8
fname_cache:
.zero 8
.globl lru
.align 8
.type lru, @object
.size lru, 8
lru:
.zero 8
.globl supertile
.align 8
.type supertile, @object
.size supertile, 8
supertile:
.zero 8
.globl supertile_min_x
.data
.align 4
.type supertile_min_x, @object
.size supertile_min_x, 4
supertile_min_x:
.long 999999
.globl supertile_min_y
.align 4
.type supertile_min_y, @object
.size supertile_min_y, 4
supertile_min_y:
.long 999999
.text
.globl free_newtile
.type free_newtile, @function
free_newtile:
.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 DWORD PTR -8[rbp], 0
jmp .L2
.L5:
mov DWORD PTR -4[rbp], 0
jmp .L3
.L4:
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, 3
add rax, rdx
mov rax, QWORD PTR [rax]
mov rdi, rax
call free@PLT
add DWORD PTR -4[rbp], 1
.L3:
cmp DWORD PTR -4[rbp], 1249
jle .L4
mov eax, DWORD PTR -8[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 -8[rbp], 1
.L2:
cmp DWORD PTR -8[rbp], 1249
jle .L5
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call free@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size free_newtile, .-free_newtile
.section .rodata
.LC0:
.string "Error opening source file %s\n"
.text
.globl read_tile
.type read_tile, @function
read_tile:
.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
lea r11, -18747392[rsp]
.LPSRL0:
sub rsp, 4096
or DWORD PTR [rsp], 0
cmp rsp, r11
jne .LPSRL0
sub rsp, 2680
.cfi_offset 3, -24
mov QWORD PTR -18750072[rbp], rdi
mov rax, QWORD PTR fs:40
mov QWORD PTR -24[rbp], rax
xor eax, eax
mov edi, 10000
call malloc@PLT
mov QWORD PTR -18750040[rbp], rax
mov DWORD PTR -18750060[rbp], 0
jmp .L7
.L10:
mov eax, DWORD PTR -18750060[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -18750040[rbp]
lea rbx, [rdx+rax]
mov edi, 10000
call malloc@PLT
mov QWORD PTR [rbx], rax
mov DWORD PTR -18750056[rbp], 0
jmp .L8
.L9:
mov eax, DWORD PTR -18750060[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -18750040[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -18750056[rbp]
cdqe
sal rax, 3
lea rbx, [rdx+rax]
mov edi, 48
call malloc@PLT
mov QWORD PTR [rbx], rax
add DWORD PTR -18750056[rbp], 1
.L8:
cmp DWORD PTR -18750056[rbp], 1249
jle .L9
add DWORD PTR -18750060[rbp], 1
.L7:
cmp DWORD PTR -18750060[rbp], 1249
jle .L10
mov rax, QWORD PTR -18750072[rbp]
mov esi, 0
mov rdi, rax
mov eax, 0
call open@PLT
mov DWORD PTR -18750044[rbp], eax
cmp DWORD PTR -18750044[rbp], -1
jne .L11
mov rax, QWORD PTR stderr[rip]
mov rdx, QWORD PTR -18750072[rbp]
lea rsi, .LC0[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov eax, 0
jmp .L21
.L11:
lea rcx, -18750032[rbp]
mov eax, DWORD PTR -18750044[rbp]
mov edx, 18750000
mov rsi, rcx
mov edi, eax
call read@PLT
mov eax, DWORD PTR -18750044[rbp]
mov edi, eax
call close@PLT
mov DWORD PTR -18750060[rbp], 0
jmp .L13
.L20:
mov DWORD PTR -18750056[rbp], 0
jmp .L14
.L19:
mov DWORD PTR -18750052[rbp], 0
jmp .L15
.L18:
mov eax, DWORD PTR -18750060[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -18750040[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -18750056[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -18750052[rbp]
cdqe
sal rax, 2
add rax, rdx
mov DWORD PTR [rax], 0
mov DWORD PTR -18750048[rbp], 0
jmp .L16
.L17:
mov eax, DWORD PTR -18750060[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -18750040[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -18750056[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -18750052[rbp]
cdqe
sal rax, 2
add rax, rdx
mov esi, DWORD PTR [rax]
mov eax, DWORD PTR -18750052[rbp]
imul edx, eax, 1562500
mov eax, DWORD PTR -18750056[rbp]
imul eax, eax, 1250
add edx, eax
mov eax, DWORD PTR -18750060[rbp]
add edx, eax
mov eax, DWORD PTR -18750048[rbp]
add eax, edx
cdqe
movzx eax, BYTE PTR -18750032[rbp+rax]
movzx edx, al
mov ecx, DWORD PTR -18750048[rbp]
mov eax, 0
sub eax, ecx
sal eax, 3
mov ecx, eax
sal edx, cl
mov ecx, edx
mov eax, DWORD PTR -18750060[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -18750040[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -18750056[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -18750052[rbp]
cdqe
sal rax, 2
add rax, rdx
or esi, ecx
mov edx, esi
mov DWORD PTR [rax], edx
add DWORD PTR -18750048[rbp], 1
.L16:
cmp DWORD PTR -18750048[rbp], 0
jle .L17
add DWORD PTR -18750052[rbp], 1
.L15:
cmp DWORD PTR -18750052[rbp], 11
jle .L18
add DWORD PTR -18750056[rbp], 1
.L14:
cmp DWORD PTR -18750056[rbp], 1249
jle .L19
add DWORD PTR -18750060[rbp], 1
.L13:
cmp DWORD PTR -18750060[rbp], 1249
jle .L20
mov rax, QWORD PTR -18750040[rbp]
.L21:
mov rbx, QWORD PTR -24[rbp]
sub rbx, QWORD PTR fs:40
je .L22
call __stack_chk_fail@PLT
.L22:
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size read_tile, .-read_tile
.section .rodata
.LC1:
.string "%5.5i-%5.5i.%5.5i-%5.5i"
.text
.globl get_tile_from_cache
.type get_tile_from_cache, @function
get_tile_from_cache:
.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 DWORD PTR -56[rbp], esi
mov edi, 256
call malloc@PLT
mov QWORD PTR -24[rbp], rax
mov eax, DWORD PTR -52[rbp]
movsx rdx, eax
imul rdx, rdx, 1759218605
shr rdx, 32
sar edx, 9
sar eax, 31
mov ecx, eax
mov eax, edx
sub eax, ecx
imul eax, eax, 1250
add eax, 1
mov DWORD PTR -52[rbp], eax
mov eax, DWORD PTR -56[rbp]
movsx rdx, eax
imul rdx, rdx, 1759218605
shr rdx, 32
sar edx, 9
sar eax, 31
mov ecx, eax
mov eax, edx
sub eax, ecx
imul eax, eax, 1250
add eax, 1
mov DWORD PTR -56[rbp], eax
mov eax, DWORD PTR -56[rbp]
lea ecx, 1249[rax]
mov eax, DWORD PTR -52[rbp]
lea edi, 1249[rax]
mov esi, DWORD PTR -56[rbp]
mov edx, DWORD PTR -52[rbp]
mov rax, QWORD PTR -24[rbp]
sub rsp, 8
push rcx
mov r9d, esi
mov r8d, edi
mov ecx, edx
lea rdx, .LC1[rip]
mov esi, 256
mov rdi, rax
mov eax, 0
call snprintf@PLT
add rsp, 16
mov rax, QWORD PTR data_cache[rip]
test rax, rax
je .L24
mov DWORD PTR -36[rbp], 0
jmp .L25
.L28:
mov rdx, QWORD PTR fname_cache[rip]
mov eax, DWORD PTR -36[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rax, QWORD PTR [rax]
test rax, rax
je .L26
mov rdx, QWORD PTR fname_cache[rip]
mov eax, DWORD PTR -36[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rax, QWORD PTR [rax]
mov rcx, QWORD PTR -24[rbp]
mov edx, 256
mov rsi, rcx
mov rdi, rax
call strncmp@PLT
test eax, eax
jne .L26
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call free@PLT
mov rdx, QWORD PTR data_cache[rip]
mov eax, DWORD PTR -36[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rax, QWORD PTR [rax]
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -16[rbp]
jmp .L27
.L26:
add DWORD PTR -36[rbp], 1
.L25:
cmp DWORD PTR -36[rbp], 11
jle .L28
.L24:
mov rax, QWORD PTR -24[rbp]
mov rdi, rax
call read_tile
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR data_cache[rip]
test rax, rax
jne .L29
mov edi, 96
call malloc@PLT
mov QWORD PTR data_cache[rip], rax
mov edi, 96
call malloc@PLT
mov QWORD PTR fname_cache[rip], rax
mov edi, 48
call malloc@PLT
mov QWORD PTR lru[rip], rax
mov DWORD PTR -36[rbp], 0
jmp .L30
.L31:
mov rdx, QWORD PTR data_cache[rip]
mov eax, DWORD PTR -36[rbp]
cdqe
sal rax, 3
add rax, rdx
mov QWORD PTR [rax], 0
mov rdx, QWORD PTR fname_cache[rip]
mov eax, DWORD PTR -36[rbp]
cdqe
sal rax, 3
add rax, rdx
mov QWORD PTR [rax], 0
mov rdx, QWORD PTR lru[rip]
mov eax, DWORD PTR -36[rbp]
cdqe
sal rax, 2
add rax, rdx
mov DWORD PTR [rax], 0
add DWORD PTR -36[rbp], 1
.L30:
cmp DWORD PTR -36[rbp], 11
jle .L31
.L29:
mov DWORD PTR -32[rbp], 0
mov DWORD PTR -28[rbp], 0
mov DWORD PTR -36[rbp], 0
jmp .L32
.L34:
mov rdx, QWORD PTR lru[rip]
mov eax, DWORD PTR -36[rbp]
cdqe
sal rax, 2
add rax, rdx
mov edx, DWORD PTR [rax]
add edx, 1
mov DWORD PTR [rax], edx
mov rdx, QWORD PTR lru[rip]
mov eax, DWORD PTR -36[rbp]
cdqe
sal rax, 2
add rax, rdx
mov eax, DWORD PTR [rax]
cmp DWORD PTR -32[rbp], eax
jge .L33
mov rdx, QWORD PTR lru[rip]
mov eax, DWORD PTR -36[rbp]
cdqe
sal rax, 2
add rax, rdx
mov eax, DWORD PTR [rax]
mov DWORD PTR -32[rbp], eax
mov eax, DWORD PTR -36[rbp]
mov DWORD PTR -28[rbp], eax
.L33:
add DWORD PTR -36[rbp], 1
.L32:
cmp DWORD PTR -36[rbp], 11
jle .L34
mov rdx, QWORD PTR data_cache[rip]
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rax, QWORD PTR [rax]
test rax, rax
jne .L35
mov rdx, QWORD PTR data_cache[rip]
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 3
add rdx, rax
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR [rdx], rax
mov rdx, QWORD PTR fname_cache[rip]
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 3
add rdx, rax
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR [rdx], rax
mov rdx, QWORD PTR lru[rip]
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 2
add rax, rdx
mov DWORD PTR [rax], 0
jmp .L36
.L35:
mov rdx, QWORD PTR data_cache[rip]
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rax, QWORD PTR [rax]
mov rdi, rax
call free_newtile
mov rdx, QWORD PTR data_cache[rip]
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 3
add rdx, rax
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR [rdx], rax
mov rdx, QWORD PTR fname_cache[rip]
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rax, QWORD PTR [rax]
mov rdi, rax
call free@PLT
mov rdx, QWORD PTR fname_cache[rip]
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 3
add rdx, rax
mov rax, QWORD PTR -24[rbp]
mov QWORD PTR [rdx], rax
mov rdx, QWORD PTR lru[rip]
mov eax, DWORD PTR -28[rbp]
cdqe
sal rax, 2
add rax, rdx
mov DWORD PTR [rax], 0
.L36:
mov rax, QWORD PTR -8[rbp]
mov QWORD PTR -16[rbp], rax
mov rax, QWORD PTR -16[rbp]
.L27:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size get_tile_from_cache, .-get_tile_from_cache
.globl build_supertile
.type build_supertile, @function
build_supertile:
.LFB9:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
push rbx
sub rsp, 56
.cfi_offset 3, -24
mov DWORD PTR -52[rbp], edi
mov DWORD PTR -56[rbp], esi
cmp DWORD PTR -52[rbp], 0
jns .L38
add DWORD PTR -52[rbp], 2500
.L38:
cmp DWORD PTR -52[rbp], 2499
jle .L39
sub DWORD PTR -52[rbp], 2500
.L39:
cmp DWORD PTR -56[rbp], 0
jns .L40
add DWORD PTR -56[rbp], 1250
.L40:
cmp DWORD PTR -56[rbp], 1249
jle .L41
sub DWORD PTR -56[rbp], 1250
.L41:
mov rax, QWORD PTR supertile[rip]
test rax, rax
jne .L42
mov edi, 30000
call malloc@PLT
mov QWORD PTR supertile[rip], rax
mov DWORD PTR -40[rbp], 0
jmp .L43
.L46:
mov rdx, QWORD PTR supertile[rip]
mov eax, DWORD PTR -40[rbp]
cdqe
sal rax, 3
lea rbx, [rdx+rax]
mov edi, 30000
call malloc@PLT
mov QWORD PTR [rbx], rax
mov DWORD PTR -36[rbp], 0
jmp .L44
.L45:
mov rdx, QWORD PTR supertile[rip]
mov eax, DWORD PTR -40[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -36[rbp]
cdqe
sal rax, 3
lea rbx, [rdx+rax]
mov edi, 48
call malloc@PLT
mov QWORD PTR [rbx], rax
add DWORD PTR -36[rbp], 1
.L44:
cmp DWORD PTR -36[rbp], 3749
jle .L45
add DWORD PTR -40[rbp], 1
.L43:
cmp DWORD PTR -40[rbp], 3749
jle .L46
.L42:
mov eax, DWORD PTR -52[rbp]
movsx rdx, eax
imul rdx, rdx, 1759218605
shr rdx, 32
sar edx, 9
sar eax, 31
mov ecx, eax
mov eax, edx
sub eax, ecx
imul eax, eax, 1250
mov DWORD PTR supertile_min_x[rip], eax
mov eax, DWORD PTR -56[rbp]
movsx rdx, eax
imul rdx, rdx, 1759218605
shr rdx, 32
sar edx, 9
sar eax, 31
mov ecx, eax
mov eax, edx
sub eax, ecx
imul eax, eax, 1250
mov DWORD PTR supertile_min_y[rip], eax
mov eax, DWORD PTR -52[rbp]
sub eax, 1250
mov DWORD PTR -40[rbp], eax
cmp DWORD PTR -40[rbp], 0
jns .L47
add DWORD PTR -40[rbp], 2500
.L47:
mov DWORD PTR -28[rbp], 0
mov eax, DWORD PTR -56[rbp]
sub eax, 1250
mov DWORD PTR -36[rbp], eax
cmp DWORD PTR -36[rbp], 0
jns .L48
mov DWORD PTR -28[rbp], 1
mov eax, DWORD PTR -56[rbp]
mov DWORD PTR -36[rbp], eax
sub DWORD PTR -40[rbp], 1250
cmp DWORD PTR -40[rbp], 0
jns .L48
add DWORD PTR -40[rbp], 2500
.L48:
mov edx, DWORD PTR -36[rbp]
mov eax, DWORD PTR -40[rbp]
mov esi, edx
mov edi, eax
call get_tile_from_cache
mov QWORD PTR -24[rbp], rax
cmp DWORD PTR -28[rbp], 0
je .L49
mov DWORD PTR -40[rbp], 0
jmp .L50
.L55:
mov DWORD PTR -36[rbp], 0
jmp .L51
.L54:
mov DWORD PTR -32[rbp], 0
jmp .L52
.L53:
mov eax, DWORD PTR -40[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, 1249
sub eax, DWORD PTR -36[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -32[rbp]
cdqe
sal rax, 2
add rax, rdx
mov rcx, QWORD PTR supertile[rip]
mov edx, DWORD PTR -40[rbp]
movsx rdx, edx
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -36[rbp]
movsx rdx, edx
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sal rdx, 2
add rdx, rcx
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
add DWORD PTR -32[rbp], 1
.L52:
cmp DWORD PTR -32[rbp], 11
jle .L53
add DWORD PTR -36[rbp], 1
.L51:
cmp DWORD PTR -36[rbp], 1249
jle .L54
add DWORD PTR -40[rbp], 1
.L50:
cmp DWORD PTR -40[rbp], 1249
jle .L55
jmp .L56
.L49:
mov DWORD PTR -40[rbp], 0
jmp .L57
.L62:
mov DWORD PTR -36[rbp], 0
jmp .L58
.L61:
mov DWORD PTR -32[rbp], 0
jmp .L59
.L60:
mov eax, DWORD PTR -40[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 -36[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -32[rbp]
cdqe
sal rax, 2
add rax, rdx
mov rcx, QWORD PTR supertile[rip]
mov edx, DWORD PTR -40[rbp]
movsx rdx, edx
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -36[rbp]
movsx rdx, edx
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sal rdx, 2
add rdx, rcx
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
add DWORD PTR -32[rbp], 1
.L59:
cmp DWORD PTR -32[rbp], 11
jle .L60
add DWORD PTR -36[rbp], 1
.L58:
cmp DWORD PTR -36[rbp], 1249
jle .L61
add DWORD PTR -40[rbp], 1
.L57:
cmp DWORD PTR -40[rbp], 1249
jle .L62
.L56:
mov eax, DWORD PTR -52[rbp]
sub eax, 1250
mov DWORD PTR -40[rbp], eax
cmp DWORD PTR -40[rbp], 0
jns .L63
add DWORD PTR -40[rbp], 2500
.L63:
mov eax, DWORD PTR -56[rbp]
mov DWORD PTR -36[rbp], eax
mov edx, DWORD PTR -36[rbp]
mov eax, DWORD PTR -40[rbp]
mov esi, edx
mov edi, eax
call get_tile_from_cache
mov QWORD PTR -24[rbp], rax
mov DWORD PTR -40[rbp], 0
jmp .L64
.L69:
mov DWORD PTR -36[rbp], 0
jmp .L65
.L68:
mov DWORD PTR -32[rbp], 0
jmp .L66
.L67:
mov eax, DWORD PTR -40[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 -36[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -32[rbp]
cdqe
sal rax, 2
add rax, rdx
mov rcx, QWORD PTR supertile[rip]
mov edx, DWORD PTR -40[rbp]
movsx rdx, edx
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -36[rbp]
movsx rdx, edx
add rdx, 1250
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sal rdx, 2
add rdx, rcx
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
add DWORD PTR -32[rbp], 1
.L66:
cmp DWORD PTR -32[rbp], 11
jle .L67
add DWORD PTR -36[rbp], 1
.L65:
cmp DWORD PTR -36[rbp], 1249
jle .L68
add DWORD PTR -40[rbp], 1
.L64:
cmp DWORD PTR -40[rbp], 1249
jle .L69
mov eax, DWORD PTR -52[rbp]
sub eax, 1250
mov DWORD PTR -40[rbp], eax
cmp DWORD PTR -40[rbp], 0
jns .L70
add DWORD PTR -40[rbp], 2500
.L70:
mov DWORD PTR -28[rbp], 0
mov eax, DWORD PTR -56[rbp]
add eax, 1250
mov DWORD PTR -36[rbp], eax
cmp DWORD PTR -36[rbp], 1249
jle .L71
mov DWORD PTR -28[rbp], 1
mov eax, DWORD PTR -56[rbp]
mov DWORD PTR -36[rbp], eax
sub DWORD PTR -40[rbp], 1250
cmp DWORD PTR -40[rbp], 0
jns .L71
add DWORD PTR -40[rbp], 2500
.L71:
mov edx, DWORD PTR -36[rbp]
mov eax, DWORD PTR -40[rbp]
mov esi, edx
mov edi, eax
call get_tile_from_cache
mov QWORD PTR -24[rbp], rax
cmp DWORD PTR -28[rbp], 0
je .L72
mov DWORD PTR -40[rbp], 0
jmp .L73
.L78:
mov DWORD PTR -36[rbp], 0
jmp .L74
.L77:
mov DWORD PTR -32[rbp], 0
jmp .L75
.L76:
mov eax, DWORD PTR -40[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, 1249
sub eax, DWORD PTR -36[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -32[rbp]
cdqe
sal rax, 2
add rax, rdx
mov rcx, QWORD PTR supertile[rip]
mov edx, DWORD PTR -40[rbp]
movsx rdx, edx
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -36[rbp]
movsx rdx, edx
add rdx, 2500
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sal rdx, 2
add rdx, rcx
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
add DWORD PTR -32[rbp], 1
.L75:
cmp DWORD PTR -32[rbp], 11
jle .L76
add DWORD PTR -36[rbp], 1
.L74:
cmp DWORD PTR -36[rbp], 1249
jle .L77
add DWORD PTR -40[rbp], 1
.L73:
cmp DWORD PTR -40[rbp], 1249
jle .L78
jmp .L79
.L72:
mov DWORD PTR -40[rbp], 0
jmp .L80
.L85:
mov DWORD PTR -36[rbp], 0
jmp .L81
.L84:
mov DWORD PTR -32[rbp], 0
jmp .L82
.L83:
mov eax, DWORD PTR -40[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 -36[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -32[rbp]
cdqe
sal rax, 2
add rax, rdx
mov rcx, QWORD PTR supertile[rip]
mov edx, DWORD PTR -40[rbp]
movsx rdx, edx
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -36[rbp]
movsx rdx, edx
add rdx, 2500
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sal rdx, 2
add rdx, rcx
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
add DWORD PTR -32[rbp], 1
.L82:
cmp DWORD PTR -32[rbp], 11
jle .L83
add DWORD PTR -36[rbp], 1
.L81:
cmp DWORD PTR -36[rbp], 1249
jle .L84
add DWORD PTR -40[rbp], 1
.L80:
cmp DWORD PTR -40[rbp], 1249
jle .L85
.L79:
mov eax, DWORD PTR -52[rbp]
mov DWORD PTR -40[rbp], eax
mov DWORD PTR -28[rbp], 0
mov eax, DWORD PTR -56[rbp]
sub eax, 1250
mov DWORD PTR -36[rbp], eax
cmp DWORD PTR -36[rbp], 0
jns .L86
mov DWORD PTR -28[rbp], 1
mov eax, DWORD PTR -56[rbp]
mov DWORD PTR -36[rbp], eax
sub DWORD PTR -40[rbp], 1250
cmp DWORD PTR -40[rbp], 0
jns .L86
add DWORD PTR -40[rbp], 2500
.L86:
mov edx, DWORD PTR -36[rbp]
mov eax, DWORD PTR -40[rbp]
mov esi, edx
mov edi, eax
call get_tile_from_cache
mov QWORD PTR -24[rbp], rax
cmp DWORD PTR -28[rbp], 0
je .L87
mov DWORD PTR -40[rbp], 0
jmp .L88
.L93:
mov DWORD PTR -36[rbp], 0
jmp .L89
.L92:
mov DWORD PTR -32[rbp], 0
jmp .L90
.L91:
mov eax, DWORD PTR -40[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, 1249
sub eax, DWORD PTR -36[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -32[rbp]
cdqe
sal rax, 2
add rax, rdx
mov rcx, QWORD PTR supertile[rip]
mov edx, DWORD PTR -40[rbp]
movsx rdx, edx
add rdx, 1250
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -36[rbp]
movsx rdx, edx
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sal rdx, 2
add rdx, rcx
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
add DWORD PTR -32[rbp], 1
.L90:
cmp DWORD PTR -32[rbp], 11
jle .L91
add DWORD PTR -36[rbp], 1
.L89:
cmp DWORD PTR -36[rbp], 1249
jle .L92
add DWORD PTR -40[rbp], 1
.L88:
cmp DWORD PTR -40[rbp], 1249
jle .L93
jmp .L94
.L87:
mov DWORD PTR -40[rbp], 0
jmp .L95
.L100:
mov DWORD PTR -36[rbp], 0
jmp .L96
.L99:
mov DWORD PTR -32[rbp], 0
jmp .L97
.L98:
mov eax, DWORD PTR -40[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 -36[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -32[rbp]
cdqe
sal rax, 2
add rax, rdx
mov rcx, QWORD PTR supertile[rip]
mov edx, DWORD PTR -40[rbp]
movsx rdx, edx
add rdx, 1250
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -36[rbp]
movsx rdx, edx
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sal rdx, 2
add rdx, rcx
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
add DWORD PTR -32[rbp], 1
.L97:
cmp DWORD PTR -32[rbp], 11
jle .L98
add DWORD PTR -36[rbp], 1
.L96:
cmp DWORD PTR -36[rbp], 1249
jle .L99
add DWORD PTR -40[rbp], 1
.L95:
cmp DWORD PTR -40[rbp], 1249
jle .L100
.L94:
mov edx, DWORD PTR -56[rbp]
mov eax, DWORD PTR -52[rbp]
mov esi, edx
mov edi, eax
call get_tile_from_cache
mov QWORD PTR -24[rbp], rax
mov DWORD PTR -40[rbp], 0
jmp .L101
.L106:
mov DWORD PTR -36[rbp], 0
jmp .L102
.L105:
mov DWORD PTR -32[rbp], 0
jmp .L103
.L104:
mov eax, DWORD PTR -40[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 -36[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -32[rbp]
cdqe
sal rax, 2
add rax, rdx
mov rcx, QWORD PTR supertile[rip]
mov edx, DWORD PTR -40[rbp]
movsx rdx, edx
add rdx, 1250
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -36[rbp]
movsx rdx, edx
add rdx, 1250
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sal rdx, 2
add rdx, rcx
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
add DWORD PTR -32[rbp], 1
.L103:
cmp DWORD PTR -32[rbp], 11
jle .L104
add DWORD PTR -36[rbp], 1
.L102:
cmp DWORD PTR -36[rbp], 1249
jle .L105
add DWORD PTR -40[rbp], 1
.L101:
cmp DWORD PTR -40[rbp], 1249
jle .L106
mov eax, DWORD PTR -52[rbp]
mov DWORD PTR -40[rbp], eax
mov DWORD PTR -28[rbp], 0
mov eax, DWORD PTR -56[rbp]
add eax, 1250
mov DWORD PTR -36[rbp], eax
cmp DWORD PTR -36[rbp], 1249
jle .L107
mov DWORD PTR -28[rbp], 1
mov eax, DWORD PTR -56[rbp]
mov DWORD PTR -36[rbp], eax
sub DWORD PTR -40[rbp], 1250
cmp DWORD PTR -40[rbp], 0
jns .L107
add DWORD PTR -40[rbp], 2500
.L107:
mov edx, DWORD PTR -36[rbp]
mov eax, DWORD PTR -40[rbp]
mov esi, edx
mov edi, eax
call get_tile_from_cache
mov QWORD PTR -24[rbp], rax
cmp DWORD PTR -28[rbp], 0
je .L108
mov DWORD PTR -40[rbp], 0
jmp .L109
.L114:
mov DWORD PTR -36[rbp], 0
jmp .L110
.L113:
mov DWORD PTR -32[rbp], 0
jmp .L111
.L112:
mov eax, DWORD PTR -40[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, 1249
sub eax, DWORD PTR -36[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -32[rbp]
cdqe
sal rax, 2
add rax, rdx
mov rcx, QWORD PTR supertile[rip]
mov edx, DWORD PTR -40[rbp]
movsx rdx, edx
add rdx, 1250
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -36[rbp]
movsx rdx, edx
add rdx, 2500
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sal rdx, 2
add rdx, rcx
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
add DWORD PTR -32[rbp], 1
.L111:
cmp DWORD PTR -32[rbp], 11
jle .L112
add DWORD PTR -36[rbp], 1
.L110:
cmp DWORD PTR -36[rbp], 1249
jle .L113
add DWORD PTR -40[rbp], 1
.L109:
cmp DWORD PTR -40[rbp], 1249
jle .L114
jmp .L115
.L108:
mov DWORD PTR -40[rbp], 0
jmp .L116
.L121:
mov DWORD PTR -36[rbp], 0
jmp .L117
.L120:
mov DWORD PTR -32[rbp], 0
jmp .L118
.L119:
mov eax, DWORD PTR -40[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 -36[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -32[rbp]
cdqe
sal rax, 2
add rax, rdx
mov rcx, QWORD PTR supertile[rip]
mov edx, DWORD PTR -40[rbp]
movsx rdx, edx
add rdx, 1250
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -36[rbp]
movsx rdx, edx
add rdx, 2500
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sal rdx, 2
add rdx, rcx
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
add DWORD PTR -32[rbp], 1
.L118:
cmp DWORD PTR -32[rbp], 11
jle .L119
add DWORD PTR -36[rbp], 1
.L117:
cmp DWORD PTR -36[rbp], 1249
jle .L120
add DWORD PTR -40[rbp], 1
.L116:
cmp DWORD PTR -40[rbp], 1249
jle .L121
.L115:
mov eax, DWORD PTR -52[rbp]
add eax, 1250
mov DWORD PTR -40[rbp], eax
cmp DWORD PTR -40[rbp], 2499
jle .L122
sub DWORD PTR -40[rbp], 2500
.L122:
mov DWORD PTR -28[rbp], 0
mov eax, DWORD PTR -56[rbp]
sub eax, 1250
mov DWORD PTR -36[rbp], eax
cmp DWORD PTR -36[rbp], 0
jns .L123
mov DWORD PTR -28[rbp], 1
mov eax, DWORD PTR -56[rbp]
mov DWORD PTR -36[rbp], eax
sub DWORD PTR -40[rbp], 1250
cmp DWORD PTR -40[rbp], 0
jns .L123
add DWORD PTR -40[rbp], 2500
.L123:
mov edx, DWORD PTR -36[rbp]
mov eax, DWORD PTR -40[rbp]
mov esi, edx
mov edi, eax
call get_tile_from_cache
mov QWORD PTR -24[rbp], rax
cmp DWORD PTR -28[rbp], 0
je .L124
mov DWORD PTR -40[rbp], 0
jmp .L125
.L130:
mov DWORD PTR -36[rbp], 0
jmp .L126
.L129:
mov DWORD PTR -32[rbp], 0
jmp .L127
.L128:
mov eax, DWORD PTR -40[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, 1249
sub eax, DWORD PTR -36[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -32[rbp]
cdqe
sal rax, 2
add rax, rdx
mov rcx, QWORD PTR supertile[rip]
mov edx, DWORD PTR -40[rbp]
movsx rdx, edx
add rdx, 2500
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -36[rbp]
movsx rdx, edx
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sal rdx, 2
add rdx, rcx
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
add DWORD PTR -32[rbp], 1
.L127:
cmp DWORD PTR -32[rbp], 11
jle .L128
add DWORD PTR -36[rbp], 1
.L126:
cmp DWORD PTR -36[rbp], 1249
jle .L129
add DWORD PTR -40[rbp], 1
.L125:
cmp DWORD PTR -40[rbp], 1249
jle .L130
jmp .L131
.L124:
mov DWORD PTR -40[rbp], 0
jmp .L132
.L137:
mov DWORD PTR -36[rbp], 0
jmp .L133
.L136:
mov DWORD PTR -32[rbp], 0
jmp .L134
.L135:
mov eax, DWORD PTR -40[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 -36[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -32[rbp]
cdqe
sal rax, 2
add rax, rdx
mov rcx, QWORD PTR supertile[rip]
mov edx, DWORD PTR -40[rbp]
movsx rdx, edx
add rdx, 2500
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -36[rbp]
movsx rdx, edx
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sal rdx, 2
add rdx, rcx
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
add DWORD PTR -32[rbp], 1
.L134:
cmp DWORD PTR -32[rbp], 11
jle .L135
add DWORD PTR -36[rbp], 1
.L133:
cmp DWORD PTR -36[rbp], 1249
jle .L136
add DWORD PTR -40[rbp], 1
.L132:
cmp DWORD PTR -40[rbp], 1249
jle .L137
.L131:
mov eax, DWORD PTR -52[rbp]
add eax, 1250
mov DWORD PTR -40[rbp], eax
cmp DWORD PTR -40[rbp], 2499
jle .L138
sub DWORD PTR -40[rbp], 2500
.L138:
mov eax, DWORD PTR -56[rbp]
mov DWORD PTR -36[rbp], eax
mov edx, DWORD PTR -36[rbp]
mov eax, DWORD PTR -40[rbp]
mov esi, edx
mov edi, eax
call get_tile_from_cache
mov QWORD PTR -24[rbp], rax
mov DWORD PTR -40[rbp], 0
jmp .L139
.L144:
mov DWORD PTR -36[rbp], 0
jmp .L140
.L143:
mov DWORD PTR -32[rbp], 0
jmp .L141
.L142:
mov eax, DWORD PTR -40[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 -36[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -32[rbp]
cdqe
sal rax, 2
add rax, rdx
mov rcx, QWORD PTR supertile[rip]
mov edx, DWORD PTR -40[rbp]
movsx rdx, edx
add rdx, 2500
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -36[rbp]
movsx rdx, edx
add rdx, 1250
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sal rdx, 2
add rdx, rcx
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
add DWORD PTR -32[rbp], 1
.L141:
cmp DWORD PTR -32[rbp], 11
jle .L142
add DWORD PTR -36[rbp], 1
.L140:
cmp DWORD PTR -36[rbp], 1249
jle .L143
add DWORD PTR -40[rbp], 1
.L139:
cmp DWORD PTR -40[rbp], 1249
jle .L144
mov eax, DWORD PTR -52[rbp]
add eax, 1250
mov DWORD PTR -40[rbp], eax
cmp DWORD PTR -40[rbp], 2499
jle .L145
sub DWORD PTR -40[rbp], 2500
.L145:
mov DWORD PTR -28[rbp], 0
mov eax, DWORD PTR -56[rbp]
add eax, 1250
mov DWORD PTR -36[rbp], eax
cmp DWORD PTR -36[rbp], 1249
jle .L146
mov DWORD PTR -28[rbp], 1
mov eax, DWORD PTR -56[rbp]
mov DWORD PTR -36[rbp], eax
sub DWORD PTR -40[rbp], 1250
cmp DWORD PTR -40[rbp], 0
jns .L146
add DWORD PTR -40[rbp], 2500
.L146:
mov edx, DWORD PTR -36[rbp]
mov eax, DWORD PTR -40[rbp]
mov esi, edx
mov edi, eax
call get_tile_from_cache
mov QWORD PTR -24[rbp], rax
cmp DWORD PTR -28[rbp], 0
je .L147
mov DWORD PTR -40[rbp], 0
jmp .L148
.L153:
mov DWORD PTR -36[rbp], 0
jmp .L149
.L152:
mov DWORD PTR -32[rbp], 0
jmp .L150
.L151:
mov eax, DWORD PTR -40[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, 1249
sub eax, DWORD PTR -36[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -32[rbp]
cdqe
sal rax, 2
add rax, rdx
mov rcx, QWORD PTR supertile[rip]
mov edx, DWORD PTR -40[rbp]
movsx rdx, edx
add rdx, 2500
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -36[rbp]
movsx rdx, edx
add rdx, 2500
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sal rdx, 2
add rdx, rcx
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
add DWORD PTR -32[rbp], 1
.L150:
cmp DWORD PTR -32[rbp], 11
jle .L151
add DWORD PTR -36[rbp], 1
.L149:
cmp DWORD PTR -36[rbp], 1249
jle .L152
add DWORD PTR -40[rbp], 1
.L148:
cmp DWORD PTR -40[rbp], 1249
jle .L153
jmp .L161
.L147:
mov DWORD PTR -40[rbp], 0
jmp .L155
.L160:
mov DWORD PTR -36[rbp], 0
jmp .L156
.L159:
mov DWORD PTR -32[rbp], 0
jmp .L157
.L158:
mov eax, DWORD PTR -40[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 -36[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -32[rbp]
cdqe
sal rax, 2
add rax, rdx
mov rcx, QWORD PTR supertile[rip]
mov edx, DWORD PTR -40[rbp]
movsx rdx, edx
add rdx, 2500
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -36[rbp]
movsx rdx, edx
add rdx, 2500
sal rdx, 3
add rdx, rcx
mov rcx, QWORD PTR [rdx]
mov edx, DWORD PTR -32[rbp]
movsx rdx, edx
sal rdx, 2
add rdx, rcx
mov eax, DWORD PTR [rax]
mov DWORD PTR [rdx], eax
add DWORD PTR -32[rbp], 1
.L157:
cmp DWORD PTR -32[rbp], 11
jle .L158
add DWORD PTR -36[rbp], 1
.L156:
cmp DWORD PTR -36[rbp], 1249
jle .L159
add DWORD PTR -40[rbp], 1
.L155:
cmp DWORD PTR -40[rbp], 1249
jle .L160
.L161:
nop
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE9:
.size build_supertile, .-build_supertile
.globl get_value
.type get_value, @function
get_value:
.LFB10:
.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 -44[rbp], edx
mov DWORD PTR -48[rbp], ecx
cmp DWORD PTR -36[rbp], 0
jns .L163
add DWORD PTR -36[rbp], 2500
.L163:
cmp DWORD PTR -36[rbp], 2499
jle .L164
sub DWORD PTR -36[rbp], 2500
.L164:
cmp DWORD PTR -40[rbp], 0
jns .L165
add DWORD PTR -40[rbp], 1250
.L165:
cmp DWORD PTR -40[rbp], 1249
jle .L166
sub DWORD PTR -40[rbp], 1250
.L166:
mov eax, DWORD PTR -36[rbp]
movsx rdx, eax
imul rdx, rdx, 1759218605
shr rdx, 32
sar edx, 9
mov ecx, eax
sar ecx, 31
sub edx, ecx
imul ecx, edx, 1250
sub eax, ecx
mov edx, eax
lea eax, 1250[rdx]
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -40[rbp]
movsx rdx, eax
imul rdx, rdx, 1759218605
shr rdx, 32
sar edx, 9
mov ecx, eax
sar ecx, 31
sub edx, ecx
imul ecx, edx, 1250
sub eax, ecx
mov edx, eax
lea eax, 1250[rdx]
mov DWORD PTR -4[rbp], eax
mov DWORD PTR -12[rbp], 0
mov DWORD PTR -16[rbp], 0
mov eax, DWORD PTR -8[rbp]
mov DWORD PTR -24[rbp], eax
jmp .L167
.L170:
mov eax, DWORD PTR -4[rbp]
mov DWORD PTR -20[rbp], eax
jmp .L168
.L169:
mov rdx, QWORD PTR supertile[rip]
mov eax, DWORD PTR -24[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -20[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -44[rbp]
cdqe
sal rax, 2
add rax, rdx
mov eax, DWORD PTR [rax]
add DWORD PTR -12[rbp], eax
add DWORD PTR -16[rbp], 1
add DWORD PTR -20[rbp], 1
.L168:
mov edx, DWORD PTR -4[rbp]
mov eax, DWORD PTR -48[rbp]
add eax, edx
cmp DWORD PTR -20[rbp], eax
jle .L169
add DWORD PTR -24[rbp], 1
.L167:
mov edx, DWORD PTR -8[rbp]
mov eax, DWORD PTR -48[rbp]
add eax, edx
cmp DWORD PTR -24[rbp], eax
jle .L170
cmp DWORD PTR -16[rbp], 0
jle .L171
mov eax, DWORD PTR -12[rbp]
cdq
idiv DWORD PTR -16[rbp]
jmp .L172
.L171:
mov eax, 0
.L172:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size get_value, .-get_value
.globl is_in_supertile
.type is_in_supertile, @function
is_in_supertile:
.LFB11:
.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 -4[rbp], 0
jns .L174
add DWORD PTR -4[rbp], 2500
.L174:
cmp DWORD PTR -4[rbp], 2499
jle .L175
sub DWORD PTR -4[rbp], 2500
.L175:
cmp DWORD PTR -8[rbp], 0
jns .L176
add DWORD PTR -8[rbp], 1250
.L176:
cmp DWORD PTR -8[rbp], 1249
jle .L177
sub DWORD PTR -8[rbp], 1250
.L177:
mov eax, DWORD PTR supertile_min_x[rip]
cmp DWORD PTR -4[rbp], eax
jl .L178
mov eax, DWORD PTR supertile_min_x[rip]
add eax, 1249
cmp DWORD PTR -4[rbp], eax
jg .L178
mov eax, DWORD PTR supertile_min_y[rip]
cmp DWORD PTR -8[rbp], eax
jl .L178
mov eax, DWORD PTR supertile_min_y[rip]
add eax, 1249
cmp DWORD PTR -8[rbp], eax
jg .L178
mov eax, 1
jmp .L179
.L178:
mov eax, 0
.L179:
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE11:
.size is_in_supertile, .-is_in_supertile
.section .rodata
.align 8
.LC3:
.string "retiled/%5.5i-%5.5i.%5.5i-%5.5i"
.align 8
.LC4:
.string "Error: Could not create or open file %s\n"
.LC5:
.string "Wrote file %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
push rbx
sub rsp, 376
.cfi_offset 3, -24
mov DWORD PTR -372[rbp], edi
mov QWORD PTR -384[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -24[rbp], rax
xor eax, eax
movss xmm0, DWORD PTR .LC2[rip]
movss DWORD PTR -324[rbp], xmm0
pxor xmm1, xmm1
cvtss2sd xmm1, DWORD PTR -324[rbp]
movq rax, xmm1
movq xmm0, rax
call rint@PLT
cvttsd2si eax, xmm0
mov DWORD PTR -320[rbp], eax
mov edi, 10048
call malloc@PLT
mov QWORD PTR -304[rbp], rax
mov DWORD PTR -348[rbp], 0
jmp .L181
.L184:
mov eax, DWORD PTR -348[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -304[rbp]
lea rbx, [rdx+rax]
mov edi, 10048
call malloc@PLT
mov QWORD PTR [rbx], rax
mov DWORD PTR -344[rbp], 0
jmp .L182
.L183:
mov eax, DWORD PTR -348[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -304[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -344[rbp]
cdqe
sal rax, 3
lea rbx, [rdx+rax]
mov edi, 48
call malloc@PLT
mov QWORD PTR [rbx], rax
add DWORD PTR -344[rbp], 1
.L182:
cmp DWORD PTR -344[rbp], 1255
jle .L183
add DWORD PTR -348[rbp], 1
.L181:
cmp DWORD PTR -348[rbp], 1255
jle .L184
mov edi, 18930432
call malloc@PLT
mov QWORD PTR -296[rbp], rax
mov DWORD PTR -356[rbp], 0
jmp .L185
.L214:
mov DWORD PTR -352[rbp], 0
jmp .L186
.L213:
mov eax, DWORD PTR -352[rbp]
lea edi, 1250[rax]
mov eax, DWORD PTR -352[rbp]
lea esi, 1[rax]
mov eax, DWORD PTR -356[rbp]
lea ecx, 1250[rax]
mov eax, DWORD PTR -356[rbp]
lea edx, 1[rax]
lea rax, -288[rbp]
mov r9d, edi
mov r8d, esi
lea rsi, .LC3[rip]
mov rdi, rax
mov eax, 0
call sprintf@PLT
mov DWORD PTR -348[rbp], 0
jmp .L187
.L190:
mov DWORD PTR -344[rbp], 0
jmp .L188
.L189:
mov eax, DWORD PTR -348[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -304[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -344[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rax, QWORD PTR [rax]
mov DWORD PTR [rax], -2147483647
add DWORD PTR -344[rbp], 1
.L188:
cmp DWORD PTR -344[rbp], 1255
jle .L189
add DWORD PTR -348[rbp], 1
.L187:
cmp DWORD PTR -348[rbp], 1255
jle .L190
lea rax, -288[rbp]
mov edx, 420
mov esi, 577
mov rdi, rax
mov eax, 0
call open@PLT
mov DWORD PTR -316[rbp], eax
cmp DWORD PTR -316[rbp], -1
jne .L191
mov rax, QWORD PTR stderr[rip]
lea rdx, -288[rbp]
lea rsi, .LC4[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov eax, 1
jmp .L219
.L191:
mov DWORD PTR -348[rbp], -3
jmp .L193
.L204:
mov DWORD PTR -344[rbp], -3
jmp .L194
.L203:
mov eax, DWORD PTR -348[rbp]
cdqe
add rax, 3
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -304[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -344[rbp]
cdqe
add rax, 3
sal rax, 3
add rax, rdx
mov rax, QWORD PTR [rax]
mov eax, DWORD PTR [rax]
cmp eax, -2147483647
jne .L195
mov edx, DWORD PTR -356[rbp]
mov eax, DWORD PTR -348[rbp]
add edx, eax
mov eax, DWORD PTR -320[rbp]
imul eax, edx
mov DWORD PTR -312[rbp], eax
mov edx, DWORD PTR -352[rbp]
mov eax, DWORD PTR -344[rbp]
add edx, eax
mov eax, DWORD PTR -320[rbp]
imul eax, edx
mov DWORD PTR -308[rbp], eax
mov edx, DWORD PTR -308[rbp]
mov eax, DWORD PTR -312[rbp]
mov esi, edx
mov edi, eax
call build_supertile
mov DWORD PTR -332[rbp], -3
jmp .L196
.L202:
mov DWORD PTR -328[rbp], -3
jmp .L197
.L201:
mov edx, DWORD PTR -356[rbp]
mov eax, DWORD PTR -332[rbp]
add edx, eax
mov eax, DWORD PTR -320[rbp]
imul eax, edx
mov DWORD PTR -312[rbp], eax
mov edx, DWORD PTR -352[rbp]
mov eax, DWORD PTR -328[rbp]
add edx, eax
mov eax, DWORD PTR -320[rbp]
imul eax, edx
mov DWORD PTR -308[rbp], eax
mov edx, DWORD PTR -308[rbp]
mov eax, DWORD PTR -312[rbp]
mov esi, edx
mov edi, eax
call is_in_supertile
test eax, eax
je .L198
mov DWORD PTR -340[rbp], 0
jmp .L199
.L200:
mov eax, DWORD PTR -320[rbp]
lea ecx, -1[rax]
mov eax, DWORD PTR -332[rbp]
cdqe
add rax, 3
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -304[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -328[rbp]
cdqe
add rax, 3
sal rax, 3
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -340[rbp]
cdqe
sal rax, 2
lea rbx, [rdx+rax]
mov edx, DWORD PTR -340[rbp]
mov esi, DWORD PTR -308[rbp]
mov eax, DWORD PTR -312[rbp]
mov edi, eax
call get_value
mov DWORD PTR [rbx], eax
add DWORD PTR -340[rbp], 1
.L199:
cmp DWORD PTR -340[rbp], 11
jle .L200
.L198:
add DWORD PTR -328[rbp], 1
.L197:
cmp DWORD PTR -328[rbp], 1252
jle .L201
add DWORD PTR -332[rbp], 1
.L196:
cmp DWORD PTR -332[rbp], 1252
jle .L202
.L195:
add DWORD PTR -344[rbp], 1
.L194:
cmp DWORD PTR -344[rbp], 1252
jle .L203
add DWORD PTR -348[rbp], 1
.L193:
cmp DWORD PTR -348[rbp], 1252
jle .L204
mov DWORD PTR -348[rbp], 0
jmp .L205
.L212:
mov DWORD PTR -344[rbp], 0
jmp .L206
.L211:
mov DWORD PTR -336[rbp], 0
jmp .L207
.L210:
mov DWORD PTR -340[rbp], 0
jmp .L208
.L209:
mov eax, DWORD PTR -348[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -304[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -344[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -336[rbp]
cdqe
sal rax, 2
add rax, rdx
mov edx, DWORD PTR [rax]
mov ecx, DWORD PTR -340[rbp]
mov eax, 0
sub eax, ecx
sal eax, 3
mov esi, 255
mov ecx, eax
sal esi, cl
mov eax, esi
and edx, eax
mov ecx, DWORD PTR -340[rbp]
mov eax, 0
sub eax, ecx
sal eax, 3
mov ecx, eax
sar edx, cl
mov ecx, edx
mov eax, DWORD PTR -336[rbp]
imul edx, eax, 1577536
mov eax, DWORD PTR -344[rbp]
imul eax, eax, 1256
add edx, eax
mov eax, DWORD PTR -348[rbp]
add edx, eax
mov eax, DWORD PTR -340[rbp]
add eax, edx
movsx rdx, eax
mov rax, QWORD PTR -296[rbp]
add rax, rdx
mov edx, ecx
mov BYTE PTR [rax], dl
add DWORD PTR -340[rbp], 1
.L208:
cmp DWORD PTR -340[rbp], 0
jle .L209
add DWORD PTR -336[rbp], 1
.L207:
cmp DWORD PTR -336[rbp], 11
jle .L210
add DWORD PTR -344[rbp], 1
.L206:
cmp DWORD PTR -344[rbp], 1255
jle .L211
add DWORD PTR -348[rbp], 1
.L205:
cmp DWORD PTR -348[rbp], 1255
jle .L212
mov rcx, QWORD PTR -296[rbp]
mov eax, DWORD PTR -316[rbp]
mov edx, 18930432
mov rsi, rcx
mov edi, eax
call write@PLT
mov eax, DWORD PTR -316[rbp]
mov edi, eax
call close@PLT
lea rax, -288[rbp]
mov rsi, rax
lea rdi, .LC5[rip]
mov eax, 0
call printf@PLT
add DWORD PTR -352[rbp], 1250
.L186:
cmp DWORD PTR -352[rbp], 1249
jle .L213
add DWORD PTR -356[rbp], 1250
.L185:
cmp DWORD PTR -356[rbp], 2499
jle .L214
mov DWORD PTR -348[rbp], 0
jmp .L215
.L218:
mov DWORD PTR -344[rbp], 0
jmp .L216
.L217:
mov eax, DWORD PTR -348[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -304[rbp]
add rax, rdx
mov rdx, QWORD PTR [rax]
mov eax, DWORD PTR -344[rbp]
cdqe
sal rax, 3
add rax, rdx
mov rax, QWORD PTR [rax]
mov rdi, rax
call free@PLT
add DWORD PTR -344[rbp], 1
.L216:
cmp DWORD PTR -344[rbp], 1255
jle .L217
mov eax, DWORD PTR -348[rbp]
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -304[rbp]
add rax, rdx
mov rax, QWORD PTR [rax]
mov rdi, rax
call free@PLT
add DWORD PTR -348[rbp], 1
.L215:
cmp DWORD PTR -348[rbp], 1255
jle .L218
mov rax, QWORD PTR -304[rbp]
mov rdi, rax
call free@PLT
mov eax, 0
.L219:
mov rbx, QWORD PTR -24[rbp]
sub rbx, QWORD PTR fs:40
je .L220
call __stack_chk_fail@PLT
.L220:
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE12:
.size main, .-main
.section .rodata
.align 4
.LC2:
.long 1065353216
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "780103.c"
.text
.global data_cache
.bss
.align 2
.type data_cache, %object
.size data_cache, 4
data_cache:
.space 4
.global fname_cache
.align 2
.type fname_cache, %object
.size fname_cache, 4
fname_cache:
.space 4
.global lru
.align 2
.type lru, %object
.size lru, 4
lru:
.space 4
.global supertile
.align 2
.type supertile, %object
.size supertile, 4
supertile:
.space 4
.global supertile_min_x
.data
.align 2
.type supertile_min_x, %object
.size supertile_min_x, 4
supertile_min_x:
.word 999999
.global supertile_min_y
.align 2
.type supertile_min_y, %object
.size supertile_min_y, 4
supertile_min_y:
.word 999999
.text
.align 2
.global free_newtile
.syntax unified
.arm
.fpu softvfp
.type free_newtile, %function
free_newtile:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #16
str r0, [fp, #-16]
mov r3, #0
str r3, [fp, #-12]
b .L2
.L5:
mov r3, #0
str r3, [fp, #-8]
b .L3
.L4:
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 r0, r3
bl free
ldr r3, [fp, #-8]
add r3, r3, #1
str r3, [fp, #-8]
.L3:
ldr r3, [fp, #-8]
ldr r2, .L6
cmp r3, r2
ble .L4
ldr r3, [fp, #-12]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r3, [r3]
mov r0, r3
bl free
ldr r3, [fp, #-12]
add r3, r3, #1
str r3, [fp, #-12]
.L2:
ldr r3, [fp, #-12]
ldr r2, .L6
cmp r3, r2
ble .L5
ldr r0, [fp, #-16]
bl free
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L7:
.align 2
.L6:
.word 1249
.size free_newtile, .-free_newtile
.section .rodata
.align 2
.LC0:
.ascii "Error opening source file %s\012\000"
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.global read_tile
.syntax unified
.arm
.fpu softvfp
.type read_tile, %function
read_tile:
@ args = 0, pretend = 0, frame = 18750040
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #18612224
sub sp, sp, #137216
sub sp, sp, #604
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
str r0, [r3, #-2644]
ldr r3, .L25
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
mov r4, r3
ldr r0, .L25+4
bl malloc
mov r3, r0
str r3, [r4, #-2620]
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
mov r2, r3
mov r3, #0
str r3, [r2, #-2636]
b .L9
.L12:
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2636]
lsl r2, r3, #2
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2620]
add r4, r3, r2
ldr r0, .L25+4
bl malloc
mov r3, r0
str r3, [r4]
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
mov r2, r3
mov r3, #0
str r3, [r2, #-2632]
b .L10
.L11:
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2636]
lsl r2, r3, #2
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2620]
add r3, r3, r2
ldr r2, [r3]
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2632]
lsl r3, r3, #2
add r4, r2, r3
mov r0, #48
bl malloc
mov r3, r0
str r3, [r4]
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
mov r2, r3
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2632]
add r3, r3, #1
str r3, [r2, #-2632]
.L10:
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2632]
ldr r2, .L25+8
cmp r3, r2
ble .L11
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
mov r2, r3
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2636]
add r3, r3, #1
str r3, [r2, #-2636]
.L9:
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2636]
ldr r2, .L25+8
cmp r3, r2
ble .L12
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
mov r4, r3
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
mov r1, #0
ldr r0, [r3, #-2644]
bl open
str r0, [r4, #-2616]
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2616]
cmn r3, #1
bne .L13
ldr r3, .L25+12
ldr r0, [r3]
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r2, [r3, #-2644]
ldr r1, .L25+16
bl fprintf
mov r3, #0
b .L23
.L13:
ldr r3, .L25+20
sub r2, fp, #12
add r3, r2, r3
sub r2, fp, #18612224
sub r2, r2, #12
sub r2, r2, #135168
mov r0, r2
ldr r2, .L25+24
mov r1, r3
ldr r0, [r0, #-2616]
bl read
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r0, [r3, #-2616]
bl close
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
mov r2, r3
mov r3, #0
str r3, [r2, #-2636]
b .L15
.L22:
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
mov r2, r3
mov r3, #0
str r3, [r2, #-2632]
b .L16
.L21:
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
mov r2, r3
mov r3, #0
str r3, [r2, #-2628]
b .L17
.L20:
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2636]
lsl r2, r3, #2
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2620]
add r3, r3, r2
ldr r2, [r3]
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2632]
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [r3]
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2628]
lsl r3, r3, #2
add r3, r2, r3
mov r2, #0
str r2, [r3]
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
mov r2, r3
mov r3, #0
str r3, [r2, #-2624]
b .L18
.L19:
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2636]
lsl r2, r3, #2
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2620]
add r3, r3, r2
ldr r2, [r3]
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2632]
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [r3]
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2628]
lsl r3, r3, #2
add r3, r2, r3
ldr r1, [r3]
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2628]
ldr r2, .L25+28
mul r0, r2, r3
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r2, [r3, #-2632]
mov r3, r2
lsl r3, r3, #5
sub r3, r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r2, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r2, r0, r3
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2636]
add r2, r2, r3
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2624]
add r2, r2, r3
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
add r3, r3, r2
ldrb r3, [r3, #-2612] @ zero_extendqisi2
mov r0, r3
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r2, [r3, #-2624]
mov r3, r2
lsl r3, r3, #29
sub r3, r3, r2
lsl r3, r3, #3
lsl r2, r0, r3
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2636]
lsl r0, r3, #2
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2620]
add r3, r3, r0
ldr r0, [r3]
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2632]
lsl r3, r3, #2
add r3, r0, r3
ldr r0, [r3]
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2628]
lsl r3, r3, #2
add r3, r0, r3
orr r2, r1, r2
str r2, [r3]
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
mov r2, r3
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2624]
add r3, r3, #1
str r3, [r2, #-2624]
.L18:
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2624]
cmp r3, #0
ble .L19
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
mov r2, r3
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2628]
add r3, r3, #1
str r3, [r2, #-2628]
.L17:
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2628]
cmp r3, #11
ble .L20
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
mov r2, r3
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2632]
add r3, r3, #1
str r3, [r2, #-2632]
.L16:
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2632]
ldr r2, .L25+8
cmp r3, r2
ble .L21
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
mov r2, r3
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2636]
add r3, r3, #1
str r3, [r2, #-2636]
.L15:
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2636]
ldr r2, .L25+8
cmp r3, r2
ble .L22
sub r3, fp, #18612224
sub r3, r3, #12
sub r3, r3, #135168
ldr r3, [r3, #-2620]
.L23:
ldr r2, .L25
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L24
bl __stack_chk_fail
.L24:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L26:
.align 2
.L25:
.word .LC1
.word 5000
.word 1249
.word stderr
.word .LC0
.word -18750004
.word 18750000
.word 1562500
.size read_tile, .-read_tile
.section .rodata
.align 2
.LC2:
.ascii "%5.5i-%5.5i.%5.5i-%5.5i\000"
.text
.align 2
.global get_tile_from_cache
.syntax unified
.arm
.fpu softvfp
.type get_tile_from_cache, %function
get_tile_from_cache:
@ 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, #-32]
str r1, [fp, #-36]
mov r0, #256
bl malloc
mov r3, r0
str r3, [fp, #-16]
ldr r3, [fp, #-32]
ldr r2, .L41
smull r1, r2, r3, r2
asr r2, r2, #9
asr r3, r3, #31
sub r2, r2, r3
mov r3, r2
lsl r3, r3, #5
sub r3, r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r2, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, #1
str r3, [fp, #-32]
ldr r3, [fp, #-36]
ldr r2, .L41
smull r1, r2, r3, r2
asr r2, r2, #9
asr r3, r3, #31
sub r2, r2, r3
mov r3, r2
lsl r3, r3, #5
sub r3, r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r2, r3, #2
add r3, r3, r2
lsl r3, r3, #1
add r3, r3, #1
str r3, [fp, #-36]
ldr r3, [fp, #-32]
add r3, r3, #1248
add r3, r3, #1
ldr r2, [fp, #-36]
add r2, r2, #1248
add r2, r2, #1
str r2, [sp, #8]
ldr r2, [fp, #-36]
str r2, [sp, #4]
str r3, [sp]
ldr r3, [fp, #-32]
ldr r2, .L41+4
mov r1, #256
ldr r0, [fp, #-16]
bl snprintf
ldr r3, .L41+8
ldr r3, [r3]
cmp r3, #0
beq .L28
mov r3, #0
str r3, [fp, #-28]
b .L29
.L32:
ldr r3, .L41+12
ldr r2, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
add r3, r2, r3
ldr r3, [r3]
cmp r3, #0
beq .L30
ldr r3, .L41+12
ldr r2, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
add r3, r2, r3
ldr r3, [r3]
mov r2, #256
ldr r1, [fp, #-16]
mov r0, r3
bl strncmp
mov r3, r0
cmp r3, #0
bne .L30
ldr r0, [fp, #-16]
bl free
ldr r3, .L41+8
ldr r2, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
add r3, r2, r3
ldr r3, [r3]
str r3, [fp, #-12]
ldr r3, [fp, #-12]
b .L31
.L30:
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L29:
ldr r3, [fp, #-28]
cmp r3, #11
ble .L32
.L28:
ldr r0, [fp, #-16]
bl read_tile
str r0, [fp, #-8]
ldr r3, .L41+8
ldr r3, [r3]
cmp r3, #0
bne .L33
mov r0, #48
bl malloc
mov r3, r0
mov r2, r3
ldr r3, .L41+8
str r2, [r3]
mov r0, #48
bl malloc
mov r3, r0
mov r2, r3
ldr r3, .L41+12
str r2, [r3]
mov r0, #48
bl malloc
mov r3, r0
mov r2, r3
ldr r3, .L41+16
str r2, [r3]
mov r3, #0
str r3, [fp, #-28]
b .L34
.L35:
ldr r3, .L41+8
ldr r2, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
add r3, r2, r3
mov r2, #0
str r2, [r3]
ldr r3, .L41+12
ldr r2, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
add r3, r2, r3
mov r2, #0
str r2, [r3]
ldr r3, .L41+16
ldr r2, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
add r3, r2, r3
mov r2, #0
str r2, [r3]
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L34:
ldr r3, [fp, #-28]
cmp r3, #11
ble .L35
.L33:
mov r3, #0
str r3, [fp, #-24]
mov r3, #0
str r3, [fp, #-20]
mov r3, #0
str r3, [fp, #-28]
b .L36
.L38:
ldr r3, .L41+16
ldr r2, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [r3]
add r2, r2, #1
str r2, [r3]
ldr r3, .L41+16
ldr r2, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
add r3, r2, r3
ldr r3, [r3]
ldr r2, [fp, #-24]
cmp r2, r3
bge .L37
ldr r3, .L41+16
ldr r2, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
add r3, r2, r3
ldr r3, [r3]
str r3, [fp, #-24]
ldr r3, [fp, #-28]
str r3, [fp, #-20]
.L37:
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L36:
ldr r3, [fp, #-28]
cmp r3, #11
ble .L38
ldr r3, .L41+8
ldr r2, [r3]
ldr r3, [fp, #-20]
lsl r3, r3, #2
add r3, r2, r3
ldr r3, [r3]
cmp r3, #0
bne .L39
ldr r3, .L41+8
ldr r2, [r3]
ldr r3, [fp, #-20]
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [fp, #-8]
str r2, [r3]
ldr r3, .L41+12
ldr r2, [r3]
ldr r3, [fp, #-20]
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [fp, #-16]
str r2, [r3]
ldr r3, .L41+16
ldr r2, [r3]
ldr r3, [fp, #-20]
lsl r3, r3, #2
add r3, r2, r3
mov r2, #0
str r2, [r3]
b .L40
.L39:
ldr r3, .L41+8
ldr r2, [r3]
ldr r3, [fp, #-20]
lsl r3, r3, #2
add r3, r2, r3
ldr r3, [r3]
mov r0, r3
bl free_newtile
ldr r3, .L41+8
ldr r2, [r3]
ldr r3, [fp, #-20]
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [fp, #-8]
str r2, [r3]
ldr r3, .L41+12
ldr r2, [r3]
ldr r3, [fp, #-20]
lsl r3, r3, #2
add r3, r2, r3
ldr r3, [r3]
mov r0, r3
bl free
ldr r3, .L41+12
ldr r2, [r3]
ldr r3, [fp, #-20]
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [fp, #-16]
str r2, [r3]
ldr r3, .L41+16
ldr r2, [r3]
ldr r3, [fp, #-20]
lsl r3, r3, #2
add r3, r2, r3
mov r2, #0
str r2, [r3]
.L40:
ldr r3, [fp, #-8]
str r3, [fp, #-12]
ldr r3, [fp, #-12]
.L31:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L42:
.align 2
.L41:
.word 1759218605
.word .LC2
.word data_cache
.word fname_cache
.word lru
.size get_tile_from_cache, .-get_tile_from_cache
.align 2
.global build_supertile
.syntax unified
.arm
.fpu softvfp
.type build_supertile, %function
build_supertile:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #36
str r0, [fp, #-40]
str r1, [fp, #-44]
ldr r3, [fp, #-40]
cmp r3, #0
bge .L44
ldr r3, [fp, #-40]
add r3, r3, #2496
add r3, r3, #4
str r3, [fp, #-40]
.L44:
ldr r3, [fp, #-40]
ldr r2, .L168+20
cmp r3, r2
ble .L45
ldr r3, [fp, #-40]
sub r3, r3, #2496
sub r3, r3, #4
str r3, [fp, #-40]
.L45:
ldr r3, [fp, #-44]
cmp r3, #0
bge .L46
ldr r3, [fp, #-44]
add r3, r3, #1248
add r3, r3, #2
str r3, [fp, #-44]
.L46:
ldr r3, [fp, #-44]
ldr r2, .L168+28
cmp r3, r2
ble .L47
ldr r3, [fp, #-44]
sub r3, r3, #1248
sub r3, r3, #2
str r3, [fp, #-44]
.L47:
ldr r3, .L168+24
ldr r3, [r3]
cmp r3, #0
bne .L48
ldr r0, .L168
bl malloc
mov r3, r0
mov r2, r3
ldr r3, .L168+24
str r2, [r3]
mov r3, #0
str r3, [fp, #-32]
b .L49
.L52:
ldr r3, .L168+24
ldr r2, [r3]
ldr r3, [fp, #-32]
lsl r3, r3, #2
add r4, r2, r3
ldr r0, .L168
bl malloc
mov r3, r0
str r3, [r4]
mov r3, #0
str r3, [fp, #-28]
b .L50
.L51:
ldr r3, .L168+24
ldr r2, [r3]
ldr r3, [fp, #-32]
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
add r4, r2, r3
mov r0, #48
bl malloc
mov r3, r0
str r3, [r4]
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L50:
ldr r3, [fp, #-28]
ldr r2, .L168+4
cmp r3, r2
ble .L51
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L49:
ldr r3, [fp, #-32]
ldr r2, .L168+4
cmp r3, r2
ble .L52
.L48:
ldr r3, [fp, #-40]
ldr r2, .L168+8
smull r1, r2, r3, r2
asr r2, r2, #9
asr r3, r3, #31
sub r2, r2, r3
mov r3, r2
lsl r3, r3, #5
sub r3, r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r2, r3, #2
add r3, r3, r2
lsl r3, r3, #1
mov r2, r3
ldr r3, .L168+12
str r2, [r3]
ldr r3, [fp, #-44]
ldr r2, .L168+8
smull r1, r2, r3, r2
asr r2, r2, #9
asr r3, r3, #31
sub r2, r2, r3
mov r3, r2
lsl r3, r3, #5
sub r3, r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r2, r3, #2
add r3, r3, r2
lsl r3, r3, #1
mov r2, r3
ldr r3, .L168+16
str r2, [r3]
ldr r3, [fp, #-40]
sub r3, r3, #1248
sub r3, r3, #2
str r3, [fp, #-32]
ldr r3, [fp, #-32]
cmp r3, #0
bge .L53
ldr r3, [fp, #-32]
add r3, r3, #2496
add r3, r3, #4
str r3, [fp, #-32]
.L53:
mov r3, #0
str r3, [fp, #-20]
ldr r3, [fp, #-44]
sub r3, r3, #1248
sub r3, r3, #2
str r3, [fp, #-28]
ldr r3, [fp, #-28]
cmp r3, #0
bge .L54
mov r3, #1
str r3, [fp, #-20]
ldr r3, [fp, #-44]
str r3, [fp, #-28]
ldr r3, [fp, #-32]
sub r3, r3, #1248
sub r3, r3, #2
str r3, [fp, #-32]
ldr r3, [fp, #-32]
cmp r3, #0
bge .L54
ldr r3, [fp, #-32]
add r3, r3, #2496
add r3, r3, #4
str r3, [fp, #-32]
.L54:
ldr r1, [fp, #-28]
ldr r0, [fp, #-32]
bl get_tile_from_cache
str r0, [fp, #-16]
ldr r3, [fp, #-20]
cmp r3, #0
beq .L55
mov r3, #0
str r3, [fp, #-32]
b .L56
.L61:
mov r3, #0
str r3, [fp, #-28]
b .L57
.L60:
mov r3, #0
str r3, [fp, #-24]
b .L58
.L59:
ldr r3, [fp, #-32]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-28]
rsb r3, r3, #1248
add r3, r3, #1
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r2, r2, r3
ldr r3, .L168+24
ldr r1, [r3]
ldr r3, [fp, #-32]
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L58:
ldr r3, [fp, #-24]
cmp r3, #11
ble .L59
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L57:
ldr r3, [fp, #-28]
ldr r2, .L168+28
cmp r3, r2
ble .L60
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L56:
ldr r3, [fp, #-32]
ldr r2, .L168+28
cmp r3, r2
ble .L61
b .L62
.L55:
mov r3, #0
str r3, [fp, #-32]
b .L63
.L68:
mov r3, #0
str r3, [fp, #-28]
b .L64
.L67:
mov r3, #0
str r3, [fp, #-24]
b .L65
.L66:
ldr r3, [fp, #-32]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r2, r2, r3
ldr r3, .L168+24
ldr r1, [r3]
ldr r3, [fp, #-32]
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L65:
ldr r3, [fp, #-24]
cmp r3, #11
ble .L66
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L64:
ldr r3, [fp, #-28]
ldr r2, .L168+28
cmp r3, r2
ble .L67
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L63:
ldr r3, [fp, #-32]
ldr r2, .L168+28
cmp r3, r2
ble .L68
.L62:
ldr r3, [fp, #-40]
sub r3, r3, #1248
sub r3, r3, #2
str r3, [fp, #-32]
ldr r3, [fp, #-32]
cmp r3, #0
bge .L69
ldr r3, [fp, #-32]
add r3, r3, #2496
add r3, r3, #4
str r3, [fp, #-32]
.L69:
ldr r3, [fp, #-44]
str r3, [fp, #-28]
ldr r1, [fp, #-28]
ldr r0, [fp, #-32]
bl get_tile_from_cache
str r0, [fp, #-16]
mov r3, #0
str r3, [fp, #-32]
b .L70
.L75:
mov r3, #0
str r3, [fp, #-28]
b .L71
.L74:
mov r3, #0
str r3, [fp, #-24]
b .L72
.L73:
ldr r3, [fp, #-32]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r2, r2, r3
ldr r3, .L168+24
ldr r1, [r3]
ldr r3, [fp, #-32]
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-28]
add r3, r3, #1248
add r3, r3, #2
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L72:
ldr r3, [fp, #-24]
cmp r3, #11
ble .L73
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L71:
ldr r3, [fp, #-28]
ldr r2, .L168+28
cmp r3, r2
ble .L74
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L70:
ldr r3, [fp, #-32]
ldr r2, .L168+28
cmp r3, r2
ble .L75
ldr r3, [fp, #-40]
sub r3, r3, #1248
sub r3, r3, #2
str r3, [fp, #-32]
ldr r3, [fp, #-32]
cmp r3, #0
bge .L76
ldr r3, [fp, #-32]
add r3, r3, #2496
add r3, r3, #4
str r3, [fp, #-32]
.L76:
mov r3, #0
str r3, [fp, #-20]
ldr r3, [fp, #-44]
add r3, r3, #1248
add r3, r3, #2
str r3, [fp, #-28]
ldr r3, [fp, #-28]
ldr r2, .L168+28
cmp r3, r2
ble .L77
mov r3, #1
str r3, [fp, #-20]
ldr r3, [fp, #-44]
str r3, [fp, #-28]
ldr r3, [fp, #-32]
sub r3, r3, #1248
sub r3, r3, #2
str r3, [fp, #-32]
ldr r3, [fp, #-32]
cmp r3, #0
bge .L77
ldr r3, [fp, #-32]
add r3, r3, #2496
add r3, r3, #4
str r3, [fp, #-32]
.L77:
ldr r1, [fp, #-28]
ldr r0, [fp, #-32]
bl get_tile_from_cache
str r0, [fp, #-16]
ldr r3, [fp, #-20]
cmp r3, #0
beq .L78
mov r3, #0
str r3, [fp, #-32]
b .L79
.L84:
mov r3, #0
str r3, [fp, #-28]
b .L80
.L83:
mov r3, #0
str r3, [fp, #-24]
b .L81
.L82:
ldr r3, [fp, #-32]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-28]
rsb r3, r3, #1248
add r3, r3, #1
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r2, r2, r3
ldr r3, .L168+24
ldr r1, [r3]
ldr r3, [fp, #-32]
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-28]
add r3, r3, #2496
add r3, r3, #4
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L81:
ldr r3, [fp, #-24]
cmp r3, #11
ble .L82
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L80:
ldr r3, [fp, #-28]
ldr r2, .L168+28
cmp r3, r2
ble .L83
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L79:
ldr r3, [fp, #-32]
ldr r2, .L168+28
cmp r3, r2
ble .L84
b .L85
.L78:
mov r3, #0
str r3, [fp, #-32]
b .L86
.L91:
mov r3, #0
str r3, [fp, #-28]
b .L87
.L90:
mov r3, #0
str r3, [fp, #-24]
b .L88
.L89:
ldr r3, [fp, #-32]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r2, r2, r3
ldr r3, .L168+24
ldr r1, [r3]
ldr r3, [fp, #-32]
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-28]
add r3, r3, #2496
add r3, r3, #4
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L88:
ldr r3, [fp, #-24]
cmp r3, #11
ble .L89
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L87:
ldr r3, [fp, #-28]
ldr r2, .L168+28
cmp r3, r2
ble .L90
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L86:
ldr r3, [fp, #-32]
ldr r2, .L168+28
cmp r3, r2
ble .L91
.L85:
ldr r3, [fp, #-40]
str r3, [fp, #-32]
mov r3, #0
str r3, [fp, #-20]
ldr r3, [fp, #-44]
sub r3, r3, #1248
sub r3, r3, #2
str r3, [fp, #-28]
ldr r3, [fp, #-28]
cmp r3, #0
bge .L92
mov r3, #1
str r3, [fp, #-20]
ldr r3, [fp, #-44]
str r3, [fp, #-28]
ldr r3, [fp, #-32]
sub r3, r3, #1248
sub r3, r3, #2
str r3, [fp, #-32]
ldr r3, [fp, #-32]
cmp r3, #0
bge .L92
ldr r3, [fp, #-32]
add r3, r3, #2496
add r3, r3, #4
str r3, [fp, #-32]
.L92:
ldr r1, [fp, #-28]
ldr r0, [fp, #-32]
bl get_tile_from_cache
str r0, [fp, #-16]
ldr r3, [fp, #-20]
cmp r3, #0
beq .L93
mov r3, #0
str r3, [fp, #-32]
b .L94
.L99:
mov r3, #0
str r3, [fp, #-28]
b .L95
.L98:
mov r3, #0
str r3, [fp, #-24]
b .L96
.L97:
ldr r3, [fp, #-32]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-28]
rsb r3, r3, #1248
add r3, r3, #1
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r2, r2, r3
ldr r3, .L168+24
ldr r1, [r3]
ldr r3, [fp, #-32]
add r3, r3, #1248
add r3, r3, #2
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L96:
ldr r3, [fp, #-24]
cmp r3, #11
ble .L97
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L95:
ldr r3, [fp, #-28]
ldr r2, .L168+28
cmp r3, r2
ble .L98
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L94:
ldr r3, [fp, #-32]
ldr r2, .L168+28
cmp r3, r2
ble .L99
b .L100
.L93:
mov r3, #0
str r3, [fp, #-32]
b .L101
.L106:
mov r3, #0
str r3, [fp, #-28]
b .L102
.L105:
mov r3, #0
str r3, [fp, #-24]
b .L103
.L104:
ldr r3, [fp, #-32]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r2, r2, r3
ldr r3, .L168+24
ldr r1, [r3]
ldr r3, [fp, #-32]
add r3, r3, #1248
add r3, r3, #2
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L103:
ldr r3, [fp, #-24]
cmp r3, #11
ble .L104
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L102:
ldr r3, [fp, #-28]
ldr r2, .L168+28
cmp r3, r2
ble .L105
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L101:
ldr r3, [fp, #-32]
ldr r2, .L168+28
cmp r3, r2
ble .L106
.L100:
ldr r1, [fp, #-44]
ldr r0, [fp, #-40]
bl get_tile_from_cache
str r0, [fp, #-16]
mov r3, #0
str r3, [fp, #-32]
b .L107
.L112:
mov r3, #0
str r3, [fp, #-28]
b .L108
.L111:
mov r3, #0
str r3, [fp, #-24]
b .L109
.L110:
ldr r3, [fp, #-32]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r2, r2, r3
ldr r3, .L168+24
ldr r1, [r3]
ldr r3, [fp, #-32]
add r3, r3, #1248
add r3, r3, #2
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-28]
add r3, r3, #1248
add r3, r3, #2
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L109:
ldr r3, [fp, #-24]
cmp r3, #11
ble .L110
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L108:
ldr r3, [fp, #-28]
ldr r2, .L168+28
cmp r3, r2
ble .L111
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L107:
ldr r3, [fp, #-32]
ldr r2, .L168+28
cmp r3, r2
ble .L112
ldr r3, [fp, #-40]
str r3, [fp, #-32]
mov r3, #0
str r3, [fp, #-20]
ldr r3, [fp, #-44]
add r3, r3, #1248
add r3, r3, #2
str r3, [fp, #-28]
ldr r3, [fp, #-28]
ldr r2, .L168+28
cmp r3, r2
ble .L113
mov r3, #1
str r3, [fp, #-20]
ldr r3, [fp, #-44]
str r3, [fp, #-28]
ldr r3, [fp, #-32]
sub r3, r3, #1248
sub r3, r3, #2
str r3, [fp, #-32]
ldr r3, [fp, #-32]
cmp r3, #0
bge .L113
ldr r3, [fp, #-32]
add r3, r3, #2496
add r3, r3, #4
str r3, [fp, #-32]
.L113:
ldr r1, [fp, #-28]
ldr r0, [fp, #-32]
bl get_tile_from_cache
str r0, [fp, #-16]
ldr r3, [fp, #-20]
cmp r3, #0
beq .L114
mov r3, #0
str r3, [fp, #-32]
b .L115
.L120:
mov r3, #0
str r3, [fp, #-28]
b .L116
.L119:
mov r3, #0
str r3, [fp, #-24]
b .L117
.L118:
ldr r3, [fp, #-32]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-28]
rsb r3, r3, #1248
add r3, r3, #1
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r2, r2, r3
ldr r3, .L168+24
ldr r1, [r3]
ldr r3, [fp, #-32]
add r3, r3, #1248
add r3, r3, #2
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-28]
add r3, r3, #2496
add r3, r3, #4
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L117:
ldr r3, [fp, #-24]
cmp r3, #11
ble .L118
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L116:
ldr r3, [fp, #-28]
ldr r2, .L168+28
cmp r3, r2
ble .L119
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L115:
ldr r3, [fp, #-32]
ldr r2, .L168+28
cmp r3, r2
ble .L120
b .L121
.L114:
mov r3, #0
str r3, [fp, #-32]
b .L122
.L127:
mov r3, #0
str r3, [fp, #-28]
b .L123
.L126:
mov r3, #0
str r3, [fp, #-24]
b .L124
.L125:
ldr r3, [fp, #-32]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r2, r2, r3
ldr r3, .L168+24
ldr r1, [r3]
ldr r3, [fp, #-32]
add r3, r3, #1248
add r3, r3, #2
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-28]
add r3, r3, #2496
add r3, r3, #4
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L124:
ldr r3, [fp, #-24]
cmp r3, #11
ble .L125
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L123:
ldr r3, [fp, #-28]
ldr r2, .L168+28
cmp r3, r2
ble .L126
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L122:
ldr r3, [fp, #-32]
ldr r2, .L168+28
cmp r3, r2
ble .L127
.L121:
ldr r3, [fp, #-40]
add r3, r3, #1248
add r3, r3, #2
str r3, [fp, #-32]
ldr r3, [fp, #-32]
ldr r2, .L168+20
cmp r3, r2
ble .L128
ldr r3, [fp, #-32]
sub r3, r3, #2496
sub r3, r3, #4
str r3, [fp, #-32]
.L128:
mov r3, #0
str r3, [fp, #-20]
ldr r3, [fp, #-44]
sub r3, r3, #1248
sub r3, r3, #2
str r3, [fp, #-28]
ldr r3, [fp, #-28]
cmp r3, #0
bge .L129
mov r3, #1
str r3, [fp, #-20]
ldr r3, [fp, #-44]
str r3, [fp, #-28]
ldr r3, [fp, #-32]
sub r3, r3, #1248
sub r3, r3, #2
str r3, [fp, #-32]
ldr r3, [fp, #-32]
cmp r3, #0
bge .L129
ldr r3, [fp, #-32]
add r3, r3, #2496
add r3, r3, #4
str r3, [fp, #-32]
.L129:
ldr r1, [fp, #-28]
ldr r0, [fp, #-32]
bl get_tile_from_cache
str r0, [fp, #-16]
ldr r3, [fp, #-20]
cmp r3, #0
beq .L130
mov r3, #0
str r3, [fp, #-32]
b .L131
.L136:
mov r3, #0
str r3, [fp, #-28]
b .L132
.L135:
mov r3, #0
str r3, [fp, #-24]
b .L133
.L134:
ldr r3, [fp, #-32]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-28]
rsb r3, r3, #1248
add r3, r3, #1
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r2, r2, r3
ldr r3, .L168+24
ldr r1, [r3]
ldr r3, [fp, #-32]
add r3, r3, #2496
add r3, r3, #4
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L133:
ldr r3, [fp, #-24]
cmp r3, #11
ble .L134
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L132:
ldr r3, [fp, #-28]
ldr r2, .L168+28
cmp r3, r2
ble .L135
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L131:
ldr r3, [fp, #-32]
ldr r2, .L168+28
cmp r3, r2
ble .L136
b .L137
.L130:
mov r3, #0
str r3, [fp, #-32]
b .L138
.L143:
mov r3, #0
str r3, [fp, #-28]
b .L139
.L142:
mov r3, #0
str r3, [fp, #-24]
b .L140
.L169:
.align 2
.L168:
.word 15000
.word 3749
.word 1759218605
.word supertile_min_x
.word supertile_min_y
.word 2499
.word supertile
.word 1249
.L141:
ldr r3, [fp, #-32]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r2, r2, r3
ldr r3, .L168+24
ldr r1, [r3]
ldr r3, [fp, #-32]
add r3, r3, #2496
add r3, r3, #4
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L140:
ldr r3, [fp, #-24]
cmp r3, #11
ble .L141
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L139:
ldr r3, [fp, #-28]
ldr r2, .L168+28
cmp r3, r2
ble .L142
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L138:
ldr r3, [fp, #-32]
ldr r2, .L168+28
cmp r3, r2
ble .L143
.L137:
ldr r3, [fp, #-40]
add r3, r3, #1248
add r3, r3, #2
str r3, [fp, #-32]
ldr r3, [fp, #-32]
ldr r2, .L168+20
cmp r3, r2
ble .L144
ldr r3, [fp, #-32]
sub r3, r3, #2496
sub r3, r3, #4
str r3, [fp, #-32]
.L144:
ldr r3, [fp, #-44]
str r3, [fp, #-28]
ldr r1, [fp, #-28]
ldr r0, [fp, #-32]
bl get_tile_from_cache
str r0, [fp, #-16]
mov r3, #0
str r3, [fp, #-32]
b .L145
.L150:
mov r3, #0
str r3, [fp, #-28]
b .L146
.L149:
mov r3, #0
str r3, [fp, #-24]
b .L147
.L148:
ldr r3, [fp, #-32]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r2, r2, r3
ldr r3, .L168+24
ldr r1, [r3]
ldr r3, [fp, #-32]
add r3, r3, #2496
add r3, r3, #4
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-28]
add r3, r3, #1248
add r3, r3, #2
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L147:
ldr r3, [fp, #-24]
cmp r3, #11
ble .L148
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L146:
ldr r3, [fp, #-28]
ldr r2, .L168+28
cmp r3, r2
ble .L149
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L145:
ldr r3, [fp, #-32]
ldr r2, .L168+28
cmp r3, r2
ble .L150
ldr r3, [fp, #-40]
add r3, r3, #1248
add r3, r3, #2
str r3, [fp, #-32]
ldr r3, [fp, #-32]
ldr r2, .L168+20
cmp r3, r2
ble .L151
ldr r3, [fp, #-32]
sub r3, r3, #2496
sub r3, r3, #4
str r3, [fp, #-32]
.L151:
mov r3, #0
str r3, [fp, #-20]
ldr r3, [fp, #-44]
add r3, r3, #1248
add r3, r3, #2
str r3, [fp, #-28]
ldr r3, [fp, #-28]
ldr r2, .L168+28
cmp r3, r2
ble .L152
mov r3, #1
str r3, [fp, #-20]
ldr r3, [fp, #-44]
str r3, [fp, #-28]
ldr r3, [fp, #-32]
sub r3, r3, #1248
sub r3, r3, #2
str r3, [fp, #-32]
ldr r3, [fp, #-32]
cmp r3, #0
bge .L152
ldr r3, [fp, #-32]
add r3, r3, #2496
add r3, r3, #4
str r3, [fp, #-32]
.L152:
ldr r1, [fp, #-28]
ldr r0, [fp, #-32]
bl get_tile_from_cache
str r0, [fp, #-16]
ldr r3, [fp, #-20]
cmp r3, #0
beq .L153
mov r3, #0
str r3, [fp, #-32]
b .L154
.L159:
mov r3, #0
str r3, [fp, #-28]
b .L155
.L158:
mov r3, #0
str r3, [fp, #-24]
b .L156
.L157:
ldr r3, [fp, #-32]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-28]
rsb r3, r3, #1248
add r3, r3, #1
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r2, r2, r3
ldr r3, .L168+24
ldr r1, [r3]
ldr r3, [fp, #-32]
add r3, r3, #2496
add r3, r3, #4
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-28]
add r3, r3, #2496
add r3, r3, #4
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L156:
ldr r3, [fp, #-24]
cmp r3, #11
ble .L157
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L155:
ldr r3, [fp, #-28]
ldr r2, .L168+28
cmp r3, r2
ble .L158
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L154:
ldr r3, [fp, #-32]
ldr r2, .L168+28
cmp r3, r2
ble .L159
b .L167
.L153:
mov r3, #0
str r3, [fp, #-32]
b .L161
.L166:
mov r3, #0
str r3, [fp, #-28]
b .L162
.L165:
mov r3, #0
str r3, [fp, #-24]
b .L163
.L164:
ldr r3, [fp, #-32]
lsl r3, r3, #2
ldr r2, [fp, #-16]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r2, r2, r3
ldr r3, .L168+24
ldr r1, [r3]
ldr r3, [fp, #-32]
add r3, r3, #2496
add r3, r3, #4
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-28]
add r3, r3, #2496
add r3, r3, #4
lsl r3, r3, #2
add r3, r1, r3
ldr r1, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r3, r1, r3
ldr r2, [r2]
str r2, [r3]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L163:
ldr r3, [fp, #-24]
cmp r3, #11
ble .L164
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L162:
ldr r3, [fp, #-28]
ldr r2, .L168+28
cmp r3, r2
ble .L165
ldr r3, [fp, #-32]
add r3, r3, #1
str r3, [fp, #-32]
.L161:
ldr r3, [fp, #-32]
ldr r2, .L168+28
cmp r3, r2
ble .L166
.L167:
nop
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.size build_supertile, .-build_supertile
.global __aeabi_idiv
.align 2
.global get_value
.syntax unified
.arm
.fpu softvfp
.type get_value, %function
get_value:
@ 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, [fp, #-32]
cmp r3, #0
bge .L171
ldr r3, [fp, #-32]
add r3, r3, #2496
add r3, r3, #4
str r3, [fp, #-32]
.L171:
ldr r3, [fp, #-32]
ldr r2, .L181
cmp r3, r2
ble .L172
ldr r3, [fp, #-32]
sub r3, r3, #2496
sub r3, r3, #4
str r3, [fp, #-32]
.L172:
ldr r3, [fp, #-36]
cmp r3, #0
bge .L173
ldr r3, [fp, #-36]
add r3, r3, #1248
add r3, r3, #2
str r3, [fp, #-36]
.L173:
ldr r3, [fp, #-36]
ldr r2, .L181+4
cmp r3, r2
ble .L174
ldr r3, [fp, #-36]
sub r3, r3, #1248
sub r3, r3, #2
str r3, [fp, #-36]
.L174:
ldr r1, [fp, #-32]
ldr r3, .L181+8
smull r2, r3, r1, r3
asr r2, r3, #9
asr r3, r1, #31
sub r2, r2, r3
mov r3, r2
lsl r3, r3, #5
sub r3, r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r2, r3, #2
add r3, r3, r2
lsl r3, r3, #1
sub r2, r1, r3
add r3, r2, #1248
add r3, r3, #2
str r3, [fp, #-12]
ldr r1, [fp, #-36]
ldr r3, .L181+8
smull r2, r3, r1, r3
asr r2, r3, #9
asr r3, r1, #31
sub r2, r2, r3
mov r3, r2
lsl r3, r3, #5
sub r3, r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r2, r3, #2
add r3, r3, r2
lsl r3, r3, #1
sub r2, r1, r3
add r3, r2, #1248
add r3, r3, #2
str r3, [fp, #-8]
mov r3, #0
str r3, [fp, #-16]
mov r3, #0
str r3, [fp, #-20]
ldr r3, [fp, #-12]
str r3, [fp, #-28]
b .L175
.L178:
ldr r3, [fp, #-8]
str r3, [fp, #-24]
b .L176
.L177:
ldr r3, .L181+12
ldr r2, [r3]
ldr r3, [fp, #-28]
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-24]
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-40]
lsl r3, r3, #2
add r3, r2, r3
ldr r3, [r3]
ldr r2, [fp, #-16]
add r3, r2, r3
str r3, [fp, #-16]
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
ldr r3, [fp, #-24]
add r3, r3, #1
str r3, [fp, #-24]
.L176:
ldr r2, [fp, #-8]
ldr r3, [fp, #-44]
add r3, r2, r3
ldr r2, [fp, #-24]
cmp r2, r3
ble .L177
ldr r3, [fp, #-28]
add r3, r3, #1
str r3, [fp, #-28]
.L175:
ldr r2, [fp, #-12]
ldr r3, [fp, #-44]
add r3, r2, r3
ldr r2, [fp, #-28]
cmp r2, r3
ble .L178
ldr r3, [fp, #-20]
cmp r3, #0
ble .L179
ldr r1, [fp, #-20]
ldr r0, [fp, #-16]
bl __aeabi_idiv
mov r3, r0
b .L180
.L179:
mov r3, #0
.L180:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L182:
.align 2
.L181:
.word 2499
.word 1249
.word 1759218605
.word supertile
.size get_value, .-get_value
.align 2
.global is_in_supertile
.syntax unified
.arm
.fpu softvfp
.type is_in_supertile, %function
is_in_supertile:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
sub sp, sp, #12
str r0, [fp, #-8]
str r1, [fp, #-12]
ldr r3, [fp, #-8]
cmp r3, #0
bge .L184
ldr r3, [fp, #-8]
add r3, r3, #2496
add r3, r3, #4
str r3, [fp, #-8]
.L184:
ldr r3, [fp, #-8]
ldr r2, .L190
cmp r3, r2
ble .L185
ldr r3, [fp, #-8]
sub r3, r3, #2496
sub r3, r3, #4
str r3, [fp, #-8]
.L185:
ldr r3, [fp, #-12]
cmp r3, #0
bge .L186
ldr r3, [fp, #-12]
add r3, r3, #1248
add r3, r3, #2
str r3, [fp, #-12]
.L186:
ldr r3, [fp, #-12]
ldr r2, .L190+4
cmp r3, r2
ble .L187
ldr r3, [fp, #-12]
sub r3, r3, #1248
sub r3, r3, #2
str r3, [fp, #-12]
.L187:
ldr r3, .L190+8
ldr r3, [r3]
ldr r2, [fp, #-8]
cmp r2, r3
blt .L188
ldr r3, .L190+8
ldr r3, [r3]
add r3, r3, #1248
add r3, r3, #1
ldr r2, [fp, #-8]
cmp r2, r3
bgt .L188
ldr r3, .L190+12
ldr r3, [r3]
ldr r2, [fp, #-12]
cmp r2, r3
blt .L188
ldr r3, .L190+12
ldr r3, [r3]
add r3, r3, #1248
add r3, r3, #1
ldr r2, [fp, #-12]
cmp r2, r3
bgt .L188
mov r3, #1
b .L189
.L188:
mov r3, #0
.L189:
mov r0, r3
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.L191:
.align 2
.L190:
.word 2499
.word 1249
.word supertile_min_x
.word supertile_min_y
.size is_in_supertile, .-is_in_supertile
.global __aeabi_f2d
.global __aeabi_d2iz
.section .rodata
.align 2
.LC3:
.ascii "retiled/%5.5i-%5.5i.%5.5i-%5.5i\000"
.align 2
.LC4:
.ascii "Error: Could not create or open file %s\012\000"
.align 2
.LC5:
.ascii "Wrote file %s\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 = 328
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #340
str r0, [fp, #-336]
str r1, [fp, #-340]
ldr r3, .L233
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
mov r3, #1065353216
str r3, [fp, #-300] @ float
ldr r0, [fp, #-300] @ float
bl __aeabi_f2d
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl rint
mov r2, r0
mov r3, r1
mov r0, r2
mov r1, r3
bl __aeabi_d2iz
mov r3, r0
str r3, [fp, #-296]
ldr r0, .L233+4
bl malloc
mov r3, r0
str r3, [fp, #-292]
mov r3, #0
str r3, [fp, #-324]
b .L193
.L196:
ldr r3, [fp, #-324]
lsl r3, r3, #2
ldr r2, [fp, #-292]
add r4, r2, r3
ldr r0, .L233+4
bl malloc
mov r3, r0
str r3, [r4]
mov r3, #0
str r3, [fp, #-320]
b .L194
.L195:
ldr r3, [fp, #-324]
lsl r3, r3, #2
ldr r2, [fp, #-292]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-320]
lsl r3, r3, #2
add r4, r2, r3
mov r0, #48
bl malloc
mov r3, r0
str r3, [r4]
ldr r3, [fp, #-320]
add r3, r3, #1
str r3, [fp, #-320]
.L194:
ldr r3, [fp, #-320]
ldr r2, .L233+8
cmp r3, r2
ble .L195
ldr r3, [fp, #-324]
add r3, r3, #1
str r3, [fp, #-324]
.L193:
ldr r3, [fp, #-324]
ldr r2, .L233+8
cmp r3, r2
ble .L196
ldr r0, .L233+12
bl malloc
mov r3, r0
str r3, [fp, #-288]
mov r3, #0
str r3, [fp, #-332]
b .L197
.L226:
mov r3, #0
str r3, [fp, #-328]
b .L198
.L225:
ldr r3, [fp, #-332]
add ip, r3, #1
ldr r3, [fp, #-332]
add r2, r3, #1248
add r2, r2, #2
ldr r3, [fp, #-328]
add r1, r3, #1
ldr r3, [fp, #-328]
add r3, r3, #1248
add r3, r3, #2
sub r0, fp, #272
str r3, [sp, #4]
str r1, [sp]
mov r3, r2
mov r2, ip
ldr r1, .L233+16
bl sprintf
mov r3, #0
str r3, [fp, #-324]
b .L199
.L202:
mov r3, #0
str r3, [fp, #-320]
b .L200
.L201:
ldr r3, [fp, #-324]
lsl r3, r3, #2
ldr r2, [fp, #-292]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-320]
lsl r3, r3, #2
add r3, r2, r3
ldr r3, [r3]
mov r2, #-2147483647
str r2, [r3]
ldr r3, [fp, #-320]
add r3, r3, #1
str r3, [fp, #-320]
.L200:
ldr r3, [fp, #-320]
ldr r2, .L233+8
cmp r3, r2
ble .L201
ldr r3, [fp, #-324]
add r3, r3, #1
str r3, [fp, #-324]
.L199:
ldr r3, [fp, #-324]
ldr r2, .L233+8
cmp r3, r2
ble .L202
sub r3, fp, #272
mov r2, #420
ldr r1, .L233+20
mov r0, r3
bl open
str r0, [fp, #-284]
ldr r3, [fp, #-284]
cmn r3, #1
bne .L203
ldr r3, .L233+24
ldr r3, [r3]
sub r2, fp, #272
ldr r1, .L233+28
mov r0, r3
bl fprintf
mov r3, #1
b .L231
.L203:
mvn r3, #2
str r3, [fp, #-324]
b .L205
.L216:
mvn r3, #2
str r3, [fp, #-320]
b .L206
.L215:
ldr r3, [fp, #-324]
add r3, r3, #3
lsl r3, r3, #2
ldr r2, [fp, #-292]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-320]
add r3, r3, #3
lsl r3, r3, #2
add r3, r2, r3
ldr r3, [r3]
ldr r3, [r3]
cmp r3, #-2147483647
bne .L207
ldr r2, [fp, #-332]
ldr r3, [fp, #-324]
add r2, r2, r3
ldr r3, [fp, #-296]
mul r3, r2, r3
str r3, [fp, #-280]
ldr r2, [fp, #-328]
ldr r3, [fp, #-320]
add r2, r2, r3
ldr r3, [fp, #-296]
mul r3, r2, r3
str r3, [fp, #-276]
ldr r1, [fp, #-276]
ldr r0, [fp, #-280]
bl build_supertile
mvn r3, #2
str r3, [fp, #-308]
b .L208
.L214:
mvn r3, #2
str r3, [fp, #-304]
b .L209
.L213:
ldr r2, [fp, #-332]
ldr r3, [fp, #-308]
add r2, r2, r3
ldr r3, [fp, #-296]
mul r3, r2, r3
str r3, [fp, #-280]
ldr r2, [fp, #-328]
ldr r3, [fp, #-304]
add r2, r2, r3
ldr r3, [fp, #-296]
mul r3, r2, r3
str r3, [fp, #-276]
ldr r1, [fp, #-276]
ldr r0, [fp, #-280]
bl is_in_supertile
mov r3, r0
cmp r3, #0
beq .L210
mov r3, #0
str r3, [fp, #-316]
b .L211
.L212:
ldr r3, [fp, #-296]
sub r1, r3, #1
ldr r3, [fp, #-308]
add r3, r3, #3
lsl r3, r3, #2
ldr r2, [fp, #-292]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-304]
add r3, r3, #3
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-316]
lsl r3, r3, #2
add r4, r2, r3
mov r3, r1
ldr r2, [fp, #-316]
ldr r1, [fp, #-276]
ldr r0, [fp, #-280]
bl get_value
mov r3, r0
str r3, [r4]
ldr r3, [fp, #-316]
add r3, r3, #1
str r3, [fp, #-316]
.L211:
ldr r3, [fp, #-316]
cmp r3, #11
ble .L212
.L210:
ldr r3, [fp, #-304]
add r3, r3, #1
str r3, [fp, #-304]
.L209:
ldr r3, [fp, #-304]
ldr r2, .L233+32
cmp r3, r2
ble .L213
ldr r3, [fp, #-308]
add r3, r3, #1
str r3, [fp, #-308]
.L208:
ldr r3, [fp, #-308]
ldr r2, .L233+32
cmp r3, r2
ble .L214
.L207:
ldr r3, [fp, #-320]
add r3, r3, #1
str r3, [fp, #-320]
.L206:
ldr r3, [fp, #-320]
ldr r2, .L233+32
cmp r3, r2
ble .L215
ldr r3, [fp, #-324]
add r3, r3, #1
str r3, [fp, #-324]
.L205:
ldr r3, [fp, #-324]
ldr r2, .L233+32
cmp r3, r2
ble .L216
mov r3, #0
str r3, [fp, #-324]
b .L217
.L224:
mov r3, #0
str r3, [fp, #-320]
b .L218
.L223:
mov r3, #0
str r3, [fp, #-312]
b .L219
.L222:
mov r3, #0
str r3, [fp, #-316]
b .L220
.L221:
ldr r3, [fp, #-324]
lsl r3, r3, #2
ldr r2, [fp, #-292]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-320]
lsl r3, r3, #2
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-312]
lsl r3, r3, #2
add r3, r2, r3
ldr r1, [r3]
ldr r2, [fp, #-316]
mov r3, r2
lsl r3, r3, #29
sub r3, r3, r2
lsl r3, r3, #3
mov r2, r3
mov r3, #255
lsl r3, r3, r2
and r1, r1, r3
ldr r2, [fp, #-316]
mov r3, r2
lsl r3, r3, #29
sub r3, r3, r2
lsl r3, r3, #3
asr r1, r1, r3
ldr r3, [fp, #-312]
ldr r2, .L233+36
mul r0, r2, r3
ldr r2, [fp, #-320]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #3
sub r3, r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #3
add r2, r0, r3
ldr r3, [fp, #-324]
add r2, r2, r3
ldr r3, [fp, #-316]
add r3, r2, r3
mov r2, r3
ldr r3, [fp, #-288]
add r3, r3, r2
and r2, r1, #255
strb r2, [r3]
ldr r3, [fp, #-316]
add r3, r3, #1
str r3, [fp, #-316]
.L220:
ldr r3, [fp, #-316]
cmp r3, #0
ble .L221
ldr r3, [fp, #-312]
add r3, r3, #1
str r3, [fp, #-312]
.L219:
ldr r3, [fp, #-312]
cmp r3, #11
ble .L222
ldr r3, [fp, #-320]
add r3, r3, #1
str r3, [fp, #-320]
.L218:
ldr r3, [fp, #-320]
ldr r2, .L233+8
cmp r3, r2
ble .L223
ldr r3, [fp, #-324]
add r3, r3, #1
str r3, [fp, #-324]
.L217:
ldr r3, [fp, #-324]
ldr r2, .L233+8
cmp r3, r2
ble .L224
ldr r2, .L233+12
ldr r1, [fp, #-288]
ldr r0, [fp, #-284]
bl write
ldr r0, [fp, #-284]
bl close
sub r3, fp, #272
mov r1, r3
ldr r0, .L233+40
bl printf
ldr r3, [fp, #-328]
add r3, r3, #1248
add r3, r3, #2
str r3, [fp, #-328]
.L198:
ldr r3, [fp, #-328]
ldr r2, .L233+44
cmp r3, r2
ble .L225
ldr r3, [fp, #-332]
add r3, r3, #1248
add r3, r3, #2
str r3, [fp, #-332]
.L197:
ldr r3, [fp, #-332]
ldr r2, .L233+48
cmp r3, r2
ble .L226
mov r3, #0
str r3, [fp, #-324]
b .L227
.L230:
mov r3, #0
str r3, [fp, #-320]
b .L228
.L229:
ldr r3, [fp, #-324]
lsl r3, r3, #2
ldr r2, [fp, #-292]
add r3, r2, r3
ldr r2, [r3]
ldr r3, [fp, #-320]
lsl r3, r3, #2
add r3, r2, r3
ldr r3, [r3]
mov r0, r3
bl free
ldr r3, [fp, #-320]
add r3, r3, #1
str r3, [fp, #-320]
.L228:
ldr r3, [fp, #-320]
ldr r2, .L233+8
cmp r3, r2
ble .L229
ldr r3, [fp, #-324]
lsl r3, r3, #2
ldr r2, [fp, #-292]
add r3, r2, r3
ldr r3, [r3]
mov r0, r3
bl free
ldr r3, [fp, #-324]
add r3, r3, #1
str r3, [fp, #-324]
.L227:
ldr r3, [fp, #-324]
ldr r2, .L233+8
cmp r3, r2
ble .L230
ldr r0, [fp, #-292]
bl free
mov r3, #0
.L231:
ldr r2, .L233
ldr r1, [r2]
ldr r2, [fp, #-16]
eors r1, r2, r1
mov r2, #0
beq .L232
bl __stack_chk_fail
.L232:
mov r0, r3
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L234:
.align 2
.L233:
.word .LC6
.word 5024
.word 1255
.word 18930432
.word .LC3
.word 577
.word stderr
.word .LC4
.word 1252
.word 1577536
.word .LC5
.word 1249
.word 2499
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "892529.c"
.intel_syntax noprefix
.text
.globl reverse
.type reverse, @function
reverse:
.LFB6:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -24[rbp], rdi
mov DWORD PTR -28[rbp], esi
mov DWORD PTR -32[rbp], edx
jmp .L2
.L3:
mov eax, DWORD PTR -28[rbp]
movsx rdx, eax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
mov BYTE PTR -1[rbp], al
mov eax, DWORD PTR -32[rbp]
movsx rdx, eax
mov rax, QWORD PTR -24[rbp]
add rax, rdx
mov edx, DWORD PTR -28[rbp]
movsx rcx, edx
mov rdx, QWORD PTR -24[rbp]
add rdx, rcx
movzx eax, BYTE PTR [rax]
mov BYTE PTR [rdx], al
mov eax, DWORD PTR -32[rbp]
movsx rdx, eax
mov rax, QWORD PTR -24[rbp]
add rdx, rax
movzx eax, BYTE PTR -1[rbp]
mov BYTE PTR [rdx], al
add DWORD PTR -28[rbp], 1
sub DWORD PTR -32[rbp], 1
.L2:
mov eax, DWORD PTR -28[rbp]
cmp eax, DWORD PTR -32[rbp]
jl .L3
nop
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size reverse, .-reverse
.section .rodata
.LC0:
.string ")("
.text
.globl recursion
.type recursion, @function
recursion:
.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, 1080
.cfi_offset 3, -24
mov QWORD PTR -1048[rbp], rdi
mov DWORD PTR -1052[rbp], esi
mov DWORD PTR -1056[rbp], edx
mov QWORD PTR -1064[rbp], rcx
mov QWORD PTR -1072[rbp], r8
mov QWORD PTR -1080[rbp], r9
mov rax, QWORD PTR fs:40
mov QWORD PTR -24[rbp], rax
xor eax, eax
mov DWORD PTR -1040[rbp], 0
mov eax, DWORD PTR -1052[rbp]
mov DWORD PTR -1036[rbp], eax
jmp .L5
.L14:
mov eax, DWORD PTR -1036[rbp]
movsx rdx, eax
mov rax, QWORD PTR -1048[rbp]
add rax, rdx
movzx edx, BYTE PTR [rax]
mov rax, QWORD PTR -1064[rbp]
movzx eax, BYTE PTR [rax]
cmp dl, al
jne .L6
add DWORD PTR -1040[rbp], 1
jmp .L7
.L6:
mov eax, DWORD PTR -1036[rbp]
movsx rdx, eax
mov rax, QWORD PTR -1048[rbp]
add rax, rdx
movzx edx, BYTE PTR [rax]
mov rax, QWORD PTR -1064[rbp]
add rax, 1
movzx eax, BYTE PTR [rax]
cmp dl, al
jne .L7
sub DWORD PTR -1040[rbp], 1
.L7:
cmp DWORD PTR -1040[rbp], 0
js .L8
add DWORD PTR -1036[rbp], 1
jmp .L5
.L8:
mov eax, DWORD PTR -1056[rbp]
mov DWORD PTR -1032[rbp], eax
jmp .L9
.L12:
mov eax, DWORD PTR -1032[rbp]
movsx rdx, eax
mov rax, QWORD PTR -1048[rbp]
add rax, rdx
movzx edx, BYTE PTR [rax]
mov rax, QWORD PTR -1064[rbp]
add rax, 1
movzx eax, BYTE PTR [rax]
cmp dl, al
jne .L10
mov eax, DWORD PTR -1032[rbp]
cmp eax, DWORD PTR -1056[rbp]
je .L11
mov eax, DWORD PTR -1032[rbp]
cdqe
lea rdx, -1[rax]
mov rax, QWORD PTR -1048[rbp]
add rax, rdx
movzx edx, BYTE PTR [rax]
mov rax, QWORD PTR -1064[rbp]
add rax, 1
movzx eax, BYTE PTR [rax]
cmp dl, al
je .L10
.L11:
mov eax, DWORD PTR -1032[rbp]
movsx rdx, eax
mov rcx, QWORD PTR -1048[rbp]
lea rax, -1024[rbp]
mov rsi, rcx
mov rdi, rax
call strncpy@PLT
mov eax, DWORD PTR -1032[rbp]
cdqe
lea rdx, 1[rax]
mov rax, QWORD PTR -1048[rbp]
add rdx, rax
lea rcx, -1024[rbp]
mov eax, DWORD PTR -1032[rbp]
cdqe
add rax, rcx
mov rsi, rdx
mov rdi, rax
call strcpy@PLT
mov r8, QWORD PTR -1080[rbp]
mov rdi, QWORD PTR -1072[rbp]
mov rcx, QWORD PTR -1064[rbp]
mov edx, DWORD PTR -1032[rbp]
mov esi, DWORD PTR -1036[rbp]
lea rax, -1024[rbp]
mov r9, r8
mov r8, rdi
mov rdi, rax
call recursion
.L10:
add DWORD PTR -1032[rbp], 1
.L9:
mov eax, DWORD PTR -1032[rbp]
cmp eax, DWORD PTR -1036[rbp]
jle .L12
jmp .L4
.L5:
mov eax, DWORD PTR -1036[rbp]
movsx rdx, eax
mov rax, QWORD PTR -1048[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L14
mov rax, QWORD PTR -1048[rbp]
mov rdi, rax
call strlen@PLT
mov DWORD PTR -1028[rbp], eax
mov eax, DWORD PTR -1028[rbp]
lea edx, -1[rax]
mov rax, QWORD PTR -1048[rbp]
mov esi, 0
mov rdi, rax
call reverse
mov rax, QWORD PTR -1064[rbp]
movzx eax, BYTE PTR [rax]
cmp al, 40
jne .L15
mov rcx, QWORD PTR -1080[rbp]
mov rdx, QWORD PTR -1072[rbp]
mov rax, QWORD PTR -1048[rbp]
mov r9, rcx
mov r8, rdx
lea rcx, .LC0[rip]
mov edx, 0
mov esi, 0
mov rdi, rax
call recursion
jmp .L4
.L15:
mov rax, QWORD PTR -1080[rbp]
mov eax, DWORD PTR [rax]
lea ecx, 1[rax]
mov rdx, QWORD PTR -1080[rbp]
mov DWORD PTR [rdx], ecx
cdqe
lea rdx, 0[0+rax*8]
mov rax, QWORD PTR -1072[rbp]
lea rbx, [rdx+rax]
mov rax, QWORD PTR -1048[rbp]
mov rdi, rax
call strdup@PLT
mov QWORD PTR [rbx], rax
.L4:
mov rax, QWORD PTR -24[rbp]
sub rax, QWORD PTR fs:40
je .L16
call __stack_chk_fail@PLT
.L16:
mov rbx, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size recursion, .-recursion
.section .rodata
.LC1:
.string "()"
.text
.globl removeInvalidParentheses
.type removeInvalidParentheses, @function
removeInvalidParentheses:
.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 QWORD PTR -32[rbp], rsi
mov edi, 8000
call malloc@PLT
mov QWORD PTR -8[rbp], rax
mov rax, QWORD PTR -32[rbp]
mov DWORD PTR [rax], 0
mov rcx, QWORD PTR -32[rbp]
mov rdx, QWORD PTR -8[rbp]
mov rax, QWORD PTR -24[rbp]
mov r9, rcx
mov r8, rdx
lea rcx, .LC1[rip]
mov edx, 0
mov esi, 0
mov rdi, rax
call recursion
mov rax, QWORD PTR -8[rbp]
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size removeInvalidParentheses, .-removeInvalidParentheses
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 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 "892529.c"
.text
.align 2
.global reverse
.syntax unified
.arm
.fpu softvfp
.type reverse, %function
reverse:
@ 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]
b .L2
.L3:
ldr r3, [fp, #-20]
ldr r2, [fp, #-16]
add r3, r2, r3
ldrb r3, [r3]
strb r3, [fp, #-5]
ldr r3, [fp, #-24]
ldr r2, [fp, #-16]
add r2, r2, r3
ldr r3, [fp, #-20]
ldr r1, [fp, #-16]
add r3, r1, r3
ldrb r2, [r2] @ zero_extendqisi2
strb r2, [r3]
ldr r3, [fp, #-24]
ldr r2, [fp, #-16]
add r3, r2, r3
ldrb r2, [fp, #-5]
strb r2, [r3]
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
ldr r3, [fp, #-24]
sub r3, r3, #1
str r3, [fp, #-24]
.L2:
ldr r2, [fp, #-20]
ldr r3, [fp, #-24]
cmp r2, r3
blt .L3
nop
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size reverse, .-reverse
.section .rodata
.align 2
.LC0:
.ascii ")(\000"
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.global recursion
.syntax unified
.arm
.fpu softvfp
.type recursion, %function
recursion:
@ args = 8, pretend = 0, frame = 1048
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, fp, lr}
add fp, sp, #8
sub sp, sp, #1056
sub sp, sp, #4
str r0, [fp, #-1040]
str r1, [fp, #-1044]
str r2, [fp, #-1048]
str r3, [fp, #-1052]
ldr r3, [fp, #4]
str r3, [fp, #-1056]
ldr r3, [fp, #8]
str r3, [fp, #-1060]
ldr r3, .L17
ldr r3, [r3]
str r3, [fp, #-16]
mov r3,#0
mov r3, #0
str r3, [fp, #-1032]
ldr r3, [fp, #-1044]
str r3, [fp, #-1028]
b .L5
.L14:
ldr r3, [fp, #-1028]
ldr r2, [fp, #-1040]
add r3, r2, r3
ldrb r2, [r3] @ zero_extendqisi2
ldr r3, [fp, #-1052]
ldrb r3, [r3] @ zero_extendqisi2
cmp r2, r3
bne .L6
ldr r3, [fp, #-1032]
add r3, r3, #1
str r3, [fp, #-1032]
b .L7
.L6:
ldr r3, [fp, #-1028]
ldr r2, [fp, #-1040]
add r3, r2, r3
ldrb r2, [r3] @ zero_extendqisi2
ldr r3, [fp, #-1052]
add r3, r3, #1
ldrb r3, [r3] @ zero_extendqisi2
cmp r2, r3
bne .L7
ldr r3, [fp, #-1032]
sub r3, r3, #1
str r3, [fp, #-1032]
.L7:
ldr r3, [fp, #-1032]
cmp r3, #0
blt .L8
ldr r3, [fp, #-1028]
add r3, r3, #1
str r3, [fp, #-1028]
b .L5
.L8:
ldr r3, [fp, #-1048]
str r3, [fp, #-1024]
b .L9
.L12:
ldr r3, [fp, #-1024]
ldr r2, [fp, #-1040]
add r3, r2, r3
ldrb r2, [r3] @ zero_extendqisi2
ldr r3, [fp, #-1052]
add r3, r3, #1
ldrb r3, [r3] @ zero_extendqisi2
cmp r2, r3
bne .L10
ldr r2, [fp, #-1024]
ldr r3, [fp, #-1048]
cmp r2, r3
beq .L11
ldr r3, [fp, #-1024]
sub r3, r3, #1
ldr r2, [fp, #-1040]
add r3, r2, r3
ldrb r2, [r3] @ zero_extendqisi2
ldr r3, [fp, #-1052]
add r3, r3, #1
ldrb r3, [r3] @ zero_extendqisi2
cmp r2, r3
beq .L10
.L11:
ldr r2, [fp, #-1024]
sub r3, fp, #1016
ldr r1, [fp, #-1040]
mov r0, r3
bl strncpy
sub r2, fp, #1016
ldr r3, [fp, #-1024]
add r0, r2, r3
ldr r3, [fp, #-1024]
add r3, r3, #1
ldr r2, [fp, #-1040]
add r3, r2, r3
mov r1, r3
bl strcpy
sub r0, fp, #1016
ldr r3, [fp, #-1060]
str r3, [sp, #4]
ldr r3, [fp, #-1056]
str r3, [sp]
ldr r3, [fp, #-1052]
ldr r2, [fp, #-1024]
ldr r1, [fp, #-1028]
bl recursion
.L10:
ldr r3, [fp, #-1024]
add r3, r3, #1
str r3, [fp, #-1024]
.L9:
ldr r2, [fp, #-1024]
ldr r3, [fp, #-1028]
cmp r2, r3
ble .L12
b .L4
.L5:
ldr r3, [fp, #-1028]
ldr r2, [fp, #-1040]
add r3, r2, r3
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L14
ldr r0, [fp, #-1040]
bl strlen
mov r3, r0
str r3, [fp, #-1020]
ldr r3, [fp, #-1020]
sub r3, r3, #1
mov r2, r3
mov r1, #0
ldr r0, [fp, #-1040]
bl reverse
ldr r3, [fp, #-1052]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #40
bne .L15
ldr r3, [fp, #-1060]
str r3, [sp, #4]
ldr r3, [fp, #-1056]
str r3, [sp]
ldr r3, .L17+4
mov r2, #0
mov r1, #0
ldr r0, [fp, #-1040]
bl recursion
b .L4
.L15:
ldr r3, [fp, #-1060]
ldr r3, [r3]
add r1, r3, #1
ldr r2, [fp, #-1060]
str r1, [r2]
lsl r3, r3, #2
ldr r2, [fp, #-1056]
add r4, r2, r3
ldr r0, [fp, #-1040]
bl strdup
mov r3, r0
str r3, [r4]
.L4:
ldr r3, .L17
ldr r2, [r3]
ldr r3, [fp, #-16]
eors r2, r3, r2
mov r3, #0
beq .L16
bl __stack_chk_fail
.L16:
sub sp, fp, #8
@ sp needed
pop {r4, fp, pc}
.L18:
.align 2
.L17:
.word .LC1
.word .LC0
.size recursion, .-recursion
.section .rodata
.align 2
.LC2:
.ascii "()\000"
.text
.align 2
.global removeInvalidParentheses
.syntax unified
.arm
.fpu softvfp
.type removeInvalidParentheses, %function
removeInvalidParentheses:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
str r0, [fp, #-16]
str r1, [fp, #-20]
mov r0, #4000
bl malloc
mov r3, r0
str r3, [fp, #-8]
ldr r3, [fp, #-20]
mov r2, #0
str r2, [r3]
ldr r3, [fp, #-20]
str r3, [sp, #4]
ldr r3, [fp, #-8]
str r3, [sp]
ldr r3, .L21
mov r2, #0
mov r1, #0
ldr r0, [fp, #-16]
bl recursion
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L22:
.align 2
.L21:
.word .LC2
.size removeInvalidParentheses, .-removeInvalidParentheses
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "943610.c"
.intel_syntax noprefix
.text
.section .rodata
.LC1:
.string "%d"
.LC2:
.string "%.2lf\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
movsd xmm0, QWORD PTR .LC0[rip]
movsd QWORD PTR -16[rbp], xmm0
lea rax, -24[rbp]
mov rsi, rax
lea rdi, .LC1[rip]
mov eax, 0
call __isoc99_scanf@PLT
mov eax, DWORD PTR -24[rbp]
mov DWORD PTR -20[rbp], eax
jmp .L2
.L3:
pxor xmm0, xmm0
cvtsi2sd xmm0, DWORD PTR -20[rbp]
movsd xmm1, QWORD PTR -16[rbp]
mulsd xmm0, xmm1
movsd QWORD PTR -16[rbp], xmm0
sub DWORD PTR -20[rbp], 1
.L2:
cmp DWORD PTR -20[rbp], 1
jne .L3
mov rax, QWORD PTR -16[rbp]
movq xmm0, rax
lea rdi, .LC2[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
.section .rodata
.align 8
.LC0:
.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 "943610.c"
.text
.section .rodata
.align 2
.LC0:
.ascii "%d\000"
.global __aeabi_i2d
.global __aeabi_dmul
.align 2
.LC1:
.ascii "%.2lf\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 = 24
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #24
ldr r3, .L6
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r2, #0
ldr r3, .L6+4
str r2, [fp, #-20]
str r3, [fp, #-16]
sub r3, fp, #28
mov r1, r3
ldr r0, .L6+8
bl __isoc99_scanf
ldr r3, [fp, #-28]
str r3, [fp, #-24]
b .L2
.L3:
ldr r0, [fp, #-24]
bl __aeabi_i2d
mov r2, r0
mov r3, r1
sub r1, fp, #20
ldmia r1, {r0-r1}
bl __aeabi_dmul
mov r2, r0
mov r3, r1
str r2, [fp, #-20]
str r3, [fp, #-16]
ldr r3, [fp, #-24]
sub r3, r3, #1
str r3, [fp, #-24]
.L2:
ldr r3, [fp, #-24]
cmp r3, #1
bne .L3
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 .LC2
.word 1072693248
.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 "199731.c"
.intel_syntax noprefix
.text
.section .rodata
.align 32
.type colors, @object
.size colors, 120
colors:
.byte 32
.zero 3
.long 0
.byte 66
.zero 3
.long 0
.byte 87
.zero 3
.long 16777215
.byte 71
.zero 3
.long 8421504
.byte 46
.zero 3
.long 16512
.byte 114
.zero 3
.long 16711680
.byte 111
.zero 3
.long 16744448
.byte 121
.zero 3
.long 16776960
.byte 103
.zero 3
.long 65280
.byte 98
.zero 3
.long 33023
.byte 112
.zero 3
.long 8388863
.byte 115
.zero 3
.long 16744576
.byte 80
.zero 3
.long 16744703
.byte 102
.zero 3
.long 16711808
.byte 0
.zero 3
.long 0
.align 8
.LC0:
.string " BB BB BGBBBGB BGWBGWBGBBGBBGBBGBBsGGGGGsB BGGGGGB BBBBB "
.section .data.rel.ro.local,"aw"
.align 16
.type head, @object
.size head, 16
head:
.long 9
.long 7
.quad .LC0
.section .rodata
.align 8
.LC1:
.string " BBBBBBBB BPPPPfPPPBBPfPPPPPPBBPPPfPPfPBBPPPPPPPPBBPfPPfPPPB BBBBBBBB "
.section .data.rel.ro.local
.align 16
.type body, @object
.size body, 16
body:
.long 10
.long 7
.quad .LC1
.section .rodata
.align 8
.LC2:
.string "rrrr oooorrrryyyyooooggggyyyybbbbggggppppbbbb pppp"
.section .data.rel.ro.local
.align 16
.type rainbow, @object
.size rainbow, 16
rainbow:
.long 8
.long 7
.quad .LC2
.text
.type draw_blob, @function
draw_blob:
.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 -40[rbp], rdi
mov QWORD PTR -48[rbp], rsi
mov DWORD PTR -52[rbp], edx
mov DWORD PTR -56[rbp], ecx
mov DWORD PTR -16[rbp], 0
jmp .L2
.L6:
mov DWORD PTR -12[rbp], 0
jmp .L3
.L5:
mov eax, DWORD PTR -12[rbp]
sub eax, DWORD PTR -52[rbp]
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -16[rbp]
sub eax, DWORD PTR -56[rbp]
mov DWORD PTR -4[rbp], eax
cmp DWORD PTR -8[rbp], 0
js .L4
mov rax, QWORD PTR -48[rbp]
mov eax, DWORD PTR [rax]
cmp DWORD PTR -8[rbp], eax
jge .L4
cmp DWORD PTR -4[rbp], 0
js .L4
mov rax, QWORD PTR -48[rbp]
mov eax, DWORD PTR 4[rax]
cmp DWORD PTR -4[rbp], eax
jge .L4
mov rax, QWORD PTR -48[rbp]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR -48[rbp]
mov eax, DWORD PTR [rax]
imul eax, DWORD PTR -4[rbp]
mov ecx, eax
mov eax, DWORD PTR -8[rbp]
add eax, ecx
cdqe
add rax, rdx
movzx eax, BYTE PTR [rax]
mov BYTE PTR -17[rbp], al
cmp BYTE PTR -17[rbp], 32
je .L4
mov edx, DWORD PTR -16[rbp]
mov eax, edx
sal eax, 2
add eax, edx
sal eax, 4
mov edx, eax
mov eax, DWORD PTR -12[rbp]
add eax, edx
movsx rdx, eax
mov rax, QWORD PTR -40[rbp]
add rdx, rax
movzx eax, BYTE PTR -17[rbp]
mov BYTE PTR [rdx], al
.L4:
add DWORD PTR -12[rbp], 1
.L3:
cmp DWORD PTR -12[rbp], 79
jle .L5
add DWORD PTR -16[rbp], 1
.L2:
cmp DWORD PTR -16[rbp], 7
jle .L6
nop
nop
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size draw_blob, .-draw_blob
.type draw_back, @function
draw_back:
.LFB1:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov DWORD PTR -4[rbp], edi
mov QWORD PTR -16[rbp], rsi
mov rax, QWORD PTR -16[rbp]
mov edx, 640
mov esi, 46
mov rdi, rax
call memset@PLT
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size draw_back, .-draw_back
.type draw_rainbow, @function
draw_rainbow:
.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 DWORD PTR -20[rbp], edi
mov DWORD PTR -24[rbp], esi
mov QWORD PTR -32[rbp], rdx
mov eax, DWORD PTR -20[rbp]
cdq
shr edx, 29
add eax, edx
and eax, 7
sub eax, edx
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
neg eax
mov DWORD PTR -8[rbp], eax
jmp .L9
.L10:
mov edx, DWORD PTR -8[rbp]
mov rax, QWORD PTR -32[rbp]
mov ecx, 1
lea rsi, rainbow[rip]
mov rdi, rax
call draw_blob
mov eax, 8
add DWORD PTR -8[rbp], eax
.L9:
mov eax, DWORD PTR -8[rbp]
cmp eax, DWORD PTR -24[rbp]
jl .L10
nop
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE2:
.size draw_rainbow, .-draw_rainbow
.type wobble, @function
wobble:
.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 -20[rbp], edi
mov DWORD PTR -24[rbp], esi
mov DWORD PTR -28[rbp], edx
mov edx, DWORD PTR -20[rbp]
mov eax, DWORD PTR -24[rbp]
add eax, edx
cdq
idiv DWORD PTR -28[rbp]
mov DWORD PTR -8[rbp], edx
mov eax, DWORD PTR -8[rbp]
add eax, eax
cdq
idiv DWORD PTR -28[rbp]
mov DWORD PTR -4[rbp], eax
mov eax, DWORD PTR -4[rbp]
pop rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE3:
.size wobble, .-wobble
.type draw_body, @function
draw_body:
.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, 32
mov DWORD PTR -20[rbp], edi
mov DWORD PTR -24[rbp], esi
mov QWORD PTR -32[rbp], rdx
mov eax, DWORD PTR -20[rbp]
mov edx, 8
mov esi, 2
mov edi, eax
call wobble
mov DWORD PTR -4[rbp], eax
mov ecx, DWORD PTR -4[rbp]
mov edx, DWORD PTR -24[rbp]
mov rax, QWORD PTR -32[rbp]
lea rsi, body[rip]
mov rdi, rax
call draw_blob
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE4:
.size draw_body, .-draw_body
.type draw_head, @function
draw_head:
.LFB5:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov DWORD PTR -20[rbp], edi
mov DWORD PTR -24[rbp], esi
mov QWORD PTR -32[rbp], rdx
mov eax, DWORD PTR -20[rbp]
mov edx, 8
mov esi, 3
mov edi, eax
call wobble
mov DWORD PTR -8[rbp], eax
mov eax, DWORD PTR -20[rbp]
mov edx, 8
mov esi, 1
mov edi, eax
call wobble
mov DWORD PTR -4[rbp], eax
mov edx, DWORD PTR -24[rbp]
mov eax, DWORD PTR -8[rbp]
add eax, edx
lea esi, 6[rax]
mov edx, DWORD PTR -4[rbp]
mov rax, QWORD PTR -32[rbp]
mov ecx, edx
mov edx, esi
lea rsi, head[rip]
mov rdi, rax
call draw_blob
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE5:
.size draw_head, .-draw_head
.section .rodata
.LC3:
.string "color '%c' not found!\n"
.text
.type get_rgb, @function
get_rgb:
.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 eax, edi
mov BYTE PTR -20[rbp], al
lea rax, colors[rip]
mov QWORD PTR -8[rbp], rax
jmp .L16
.L19:
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR [rax]
cmp BYTE PTR -20[rbp], al
jne .L17
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR 4[rax]
jmp .L18
.L17:
add QWORD PTR -8[rbp], 8
.L16:
mov rax, QWORD PTR -8[rbp]
movzx eax, BYTE PTR [rax]
test al, al
jne .L19
movsx edx, BYTE PTR -20[rbp]
mov rax, QWORD PTR stderr[rip]
lea rsi, .LC3[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov eax, 0
.L18:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size get_rgb, .-get_rgb
.section .rodata
.LC4:
.string "nyancat%03d.ppm"
.LC5:
.string "wb"
.LC6:
.string "P6\n%d %d\n%d\n"
.text
.type save_image, @function
save_image:
.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, 192
mov DWORD PTR -180[rbp], edi
mov QWORD PTR -192[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov edx, DWORD PTR -180[rbp]
lea rax, -144[rbp]
lea rsi, .LC4[rip]
mov rdi, rax
mov eax, 0
call sprintf@PLT
lea rax, -144[rbp]
lea rsi, .LC5[rip]
mov rdi, rax
call fopen@PLT
mov QWORD PTR -152[rbp], rax
cmp QWORD PTR -152[rbp], 0
je .L27
mov rax, QWORD PTR -152[rbp]
mov r8d, 255
mov ecx, 8
mov edx, 80
lea rsi, .LC6[rip]
mov rdi, rax
mov eax, 0
call fprintf@PLT
mov DWORD PTR -164[rbp], 0
jmp .L22
.L25:
mov DWORD PTR -160[rbp], 0
jmp .L23
.L24:
mov edx, DWORD PTR -164[rbp]
mov eax, edx
sal eax, 2
add eax, edx
sal eax, 4
mov edx, eax
mov eax, DWORD PTR -160[rbp]
add eax, edx
movsx rdx, eax
mov rax, QWORD PTR -192[rbp]
add rax, rdx
movzx eax, BYTE PTR [rax]
mov BYTE PTR -165[rbp], al
movsx eax, BYTE PTR -165[rbp]
mov edi, eax
call get_rgb
mov DWORD PTR -156[rbp], eax
mov eax, DWORD PTR -156[rbp]
shr eax, 16
mov BYTE PTR -166[rbp], al
mov rdx, QWORD PTR -152[rbp]
lea rax, -166[rbp]
mov rcx, rdx
mov edx, 1
mov esi, 1
mov rdi, rax
call fwrite@PLT
mov eax, DWORD PTR -156[rbp]
shr eax, 8
mov BYTE PTR -166[rbp], al
mov rdx, QWORD PTR -152[rbp]
lea rax, -166[rbp]
mov rcx, rdx
mov edx, 1
mov esi, 1
mov rdi, rax
call fwrite@PLT
mov eax, DWORD PTR -156[rbp]
mov BYTE PTR -166[rbp], al
mov rdx, QWORD PTR -152[rbp]
lea rax, -166[rbp]
mov rcx, rdx
mov edx, 1
mov esi, 1
mov rdi, rax
call fwrite@PLT
add DWORD PTR -160[rbp], 1
.L23:
cmp DWORD PTR -160[rbp], 79
jle .L24
add DWORD PTR -164[rbp], 1
.L22:
cmp DWORD PTR -164[rbp], 7
jle .L25
mov rax, QWORD PTR -152[rbp]
mov rdi, rax
call fclose@PLT
.L27:
nop
mov rax, QWORD PTR -8[rbp]
sub rax, QWORD PTR fs:40
je .L26
call __stack_chk_fail@PLT
.L26:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE7:
.size save_image, .-save_image
.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, 688
mov DWORD PTR -676[rbp], edi
mov QWORD PTR -688[rbp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR -8[rbp], rax
xor eax, eax
mov DWORD PTR -660[rbp], 0
mov DWORD PTR -664[rbp], 0
jmp .L29
.L31:
cmp DWORD PTR -664[rbp], 29
jg .L30
mov eax, DWORD PTR -664[rbp]
add eax, eax
mov DWORD PTR -660[rbp], eax
.L30:
lea rdx, -656[rbp]
mov eax, DWORD PTR -664[rbp]
mov rsi, rdx
mov edi, eax
call draw_back
lea rdx, -656[rbp]
mov ecx, DWORD PTR -660[rbp]
mov eax, DWORD PTR -664[rbp]
mov esi, ecx
mov edi, eax
call draw_rainbow
lea rdx, -656[rbp]
mov ecx, DWORD PTR -660[rbp]
mov eax, DWORD PTR -664[rbp]
mov esi, ecx
mov edi, eax
call draw_body
lea rdx, -656[rbp]
mov ecx, DWORD PTR -660[rbp]
mov eax, DWORD PTR -664[rbp]
mov esi, ecx
mov edi, eax
call draw_head
lea rdx, -656[rbp]
mov eax, DWORD PTR -664[rbp]
mov rsi, rdx
mov edi, eax
call save_image
add DWORD PTR -664[rbp], 1
.L29:
cmp DWORD PTR -664[rbp], 63
jle .L31
mov eax, 0
mov rcx, QWORD PTR -8[rbp]
sub rcx, QWORD PTR fs:40
je .L33
call __stack_chk_fail@PLT
.L33:
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 "199731.c"
.text
.section .rodata
.align 2
.type colors, %object
.size colors, 120
colors:
.byte 32
.space 3
.word 0
.byte 66
.space 3
.word 0
.byte 87
.space 3
.word 16777215
.byte 71
.space 3
.word 8421504
.byte 46
.space 3
.word 16512
.byte 114
.space 3
.word 16711680
.byte 111
.space 3
.word 16744448
.byte 121
.space 3
.word 16776960
.byte 103
.space 3
.word 65280
.byte 98
.space 3
.word 33023
.byte 112
.space 3
.word 8388863
.byte 115
.space 3
.word 16744576
.byte 80
.space 3
.word 16744703
.byte 102
.space 3
.word 16711808
.byte 0
.space 3
.word 0
.align 2
.LC0:
.ascii " BB BB BGBBBGB BGWBGWBGBBGBBGBBGBBsGGGGGsB BGGGG"
.ascii "GB BBBBB \000"
.align 2
.type head, %object
.size head, 12
head:
.word 9
.word 7
.word .LC0
.align 2
.LC1:
.ascii " BBBBBBBB BPPPPfPPPBBPfPPPPPPBBPPPfPPfPBBPPPPPPPPBB"
.ascii "PfPPfPPPB BBBBBBBB \000"
.align 2
.type body, %object
.size body, 12
body:
.word 10
.word 7
.word .LC1
.align 2
.LC2:
.ascii "rrrr oooorrrryyyyooooggggyyyybbbbggggppppbbbb "
.ascii " pppp\000"
.align 2
.type rainbow, %object
.size rainbow, 12
rainbow:
.word 8
.word 7
.word .LC2
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type draw_blob, %function
draw_blob:
@ 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]
str r3, [fp, #-44]
mov r3, #0
str r3, [fp, #-20]
b .L2
.L6:
mov r3, #0
str r3, [fp, #-16]
b .L3
.L5:
ldr r2, [fp, #-16]
ldr r3, [fp, #-40]
sub r3, r2, r3
str r3, [fp, #-12]
ldr r2, [fp, #-20]
ldr r3, [fp, #-44]
sub r3, r2, r3
str r3, [fp, #-8]
ldr r3, [fp, #-12]
cmp r3, #0
blt .L4
ldr r3, [fp, #-36]
ldr r3, [r3]
ldr r2, [fp, #-12]
cmp r2, r3
bge .L4
ldr r3, [fp, #-8]
cmp r3, #0
blt .L4
ldr r3, [fp, #-36]
ldr r3, [r3, #4]
ldr r2, [fp, #-8]
cmp r2, r3
bge .L4
ldr r3, [fp, #-36]
ldr r3, [r3, #8]
ldr r2, [fp, #-36]
ldr r2, [r2]
ldr r1, [fp, #-8]
mul r1, r2, r1
ldr r2, [fp, #-12]
add r2, r1, r2
add r3, r3, r2
ldrb r3, [r3]
strb r3, [fp, #-21]
ldrb r3, [fp, #-21] @ zero_extendqisi2
cmp r3, #32
beq .L4
ldr r2, [fp, #-20]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #4
mov r2, r3
ldr r3, [fp, #-16]
add r3, r2, r3
mov r2, r3
ldr r3, [fp, #-32]
add r3, r3, r2
ldrb r2, [fp, #-21]
strb r2, [r3]
.L4:
ldr r3, [fp, #-16]
add r3, r3, #1
str r3, [fp, #-16]
.L3:
ldr r3, [fp, #-16]
cmp r3, #79
ble .L5
ldr r3, [fp, #-20]
add r3, r3, #1
str r3, [fp, #-20]
.L2:
ldr r3, [fp, #-20]
cmp r3, #7
ble .L6
nop
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size draw_blob, .-draw_blob
.align 2
.syntax unified
.arm
.fpu softvfp
.type draw_back, %function
draw_back:
@ 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]
mov r2, #640
mov r1, #46
ldr r0, [fp, #-12]
bl memset
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size draw_back, .-draw_back
.align 2
.syntax unified
.arm
.fpu softvfp
.type draw_rainbow, %function
draw_rainbow:
@ 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]
rsbs r2, r3, #0
and r3, r3, #7
and r2, r2, #7
rsbpl r3, r2, #0
str r3, [fp, #-8]
ldr r3, [fp, #-8]
rsb r3, r3, #0
str r3, [fp, #-12]
b .L9
.L10:
mov r3, #1
ldr r2, [fp, #-12]
ldr r1, .L11
ldr r0, [fp, #-24]
bl draw_blob
mov r2, #8
ldr r3, [fp, #-12]
add r3, r3, r2
str r3, [fp, #-12]
.L9:
ldr r2, [fp, #-12]
ldr r3, [fp, #-20]
cmp r2, r3
blt .L10
nop
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L12:
.align 2
.L11:
.word rainbow
.size draw_rainbow, .-draw_rainbow
.global __aeabi_idivmod
.global __aeabi_idiv
.align 2
.syntax unified
.arm
.fpu softvfp
.type wobble, %function
wobble:
@ 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, #-16]
ldr r3, [fp, #-20]
add r3, r2, r3
ldr r1, [fp, #-24]
mov r0, r3
bl __aeabi_idivmod
mov r3, r1
str r3, [fp, #-12]
ldr r3, [fp, #-12]
lsl r3, r3, #1
ldr r1, [fp, #-24]
mov r0, r3
bl __aeabi_idiv
mov r3, r0
str r3, [fp, #-8]
ldr r3, [fp, #-8]
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.size wobble, .-wobble
.align 2
.syntax unified
.arm
.fpu softvfp
.type draw_body, %function
draw_body:
@ 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 r2, #8
mov r1, #2
ldr r0, [fp, #-16]
bl wobble
str r0, [fp, #-8]
ldr r3, [fp, #-8]
ldr r2, [fp, #-20]
ldr r1, .L16
ldr r0, [fp, #-24]
bl draw_blob
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L17:
.align 2
.L16:
.word body
.size draw_body, .-draw_body
.align 2
.syntax unified
.arm
.fpu softvfp
.type draw_head, %function
draw_head:
@ 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 r2, #8
mov r1, #3
ldr r0, [fp, #-16]
bl wobble
str r0, [fp, #-12]
mov r2, #8
mov r1, #1
ldr r0, [fp, #-16]
bl wobble
str r0, [fp, #-8]
ldr r2, [fp, #-20]
ldr r3, [fp, #-12]
add r3, r2, r3
add r2, r3, #6
ldr r3, [fp, #-8]
ldr r1, .L19
ldr r0, [fp, #-24]
bl draw_blob
nop
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L20:
.align 2
.L19:
.word head
.size draw_head, .-draw_head
.section .rodata
.align 2
.LC3:
.ascii "color '%c' not found!\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type get_rgb, %function
get_rgb:
@ 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]
ldr r3, .L26
str r3, [fp, #-8]
b .L22
.L25:
ldr r3, [fp, #-8]
ldrb r3, [r3] @ zero_extendqisi2
ldrb r2, [fp, #-13] @ zero_extendqisi2
cmp r2, r3
bne .L23
ldr r3, [fp, #-8]
ldr r3, [r3, #4]
b .L24
.L23:
ldr r3, [fp, #-8]
add r3, r3, #8
str r3, [fp, #-8]
.L22:
ldr r3, [fp, #-8]
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, #0
bne .L25
ldr r3, .L26+4
ldr r3, [r3]
ldrb r2, [fp, #-13] @ zero_extendqisi2
ldr r1, .L26+8
mov r0, r3
bl fprintf
mov r3, #0
.L24:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L27:
.align 2
.L26:
.word colors
.word stderr
.word .LC3
.size get_rgb, .-get_rgb
.section .rodata
.align 2
.LC4:
.ascii "nyancat%03d.ppm\000"
.align 2
.LC5:
.ascii "wb\000"
.align 2
.LC6:
.ascii "P6\012%d %d\012%d\012\000"
.align 2
.LC7:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type save_image, %function
save_image:
@ args = 0, pretend = 0, frame = 160
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #168
str r0, [fp, #-160]
str r1, [fp, #-164]
ldr r3, .L36
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
sub r3, fp, #136
ldr r2, [fp, #-160]
ldr r1, .L36+4
mov r0, r3
bl sprintf
sub r3, fp, #136
ldr r1, .L36+8
mov r0, r3
bl fopen
str r0, [fp, #-144]
ldr r3, [fp, #-144]
cmp r3, #0
beq .L35
mov r3, #255
str r3, [sp]
mov r3, #8
mov r2, #80
ldr r1, .L36+12
ldr r0, [fp, #-144]
bl fprintf
mov r3, #0
str r3, [fp, #-152]
b .L30
.L33:
mov r3, #0
str r3, [fp, #-148]
b .L31
.L32:
ldr r2, [fp, #-152]
mov r3, r2
lsl r3, r3, #2
add r3, r3, r2
lsl r3, r3, #4
mov r2, r3
ldr r3, [fp, #-148]
add r3, r2, r3
mov r2, r3
ldr r3, [fp, #-164]
add r3, r3, r2
ldrb r3, [r3]
strb r3, [fp, #-153]
ldrb r3, [fp, #-153] @ zero_extendqisi2
mov r0, r3
bl get_rgb
str r0, [fp, #-140]
ldr r3, [fp, #-140]
lsr r3, r3, #16
and r3, r3, #255
strb r3, [fp, #-154]
sub r0, fp, #154
ldr r3, [fp, #-144]
mov r2, #1
mov r1, #1
bl fwrite
ldr r3, [fp, #-140]
lsr r3, r3, #8
and r3, r3, #255
strb r3, [fp, #-154]
sub r0, fp, #154
ldr r3, [fp, #-144]
mov r2, #1
mov r1, #1
bl fwrite
ldr r3, [fp, #-140]
and r3, r3, #255
strb r3, [fp, #-154]
sub r0, fp, #154
ldr r3, [fp, #-144]
mov r2, #1
mov r1, #1
bl fwrite
ldr r3, [fp, #-148]
add r3, r3, #1
str r3, [fp, #-148]
.L31:
ldr r3, [fp, #-148]
cmp r3, #79
ble .L32
ldr r3, [fp, #-152]
add r3, r3, #1
str r3, [fp, #-152]
.L30:
ldr r3, [fp, #-152]
cmp r3, #7
ble .L33
ldr r0, [fp, #-144]
bl fclose
.L35:
nop
ldr r3, .L36
ldr r2, [r3]
ldr r3, [fp, #-8]
eors r2, r3, r2
mov r3, #0
beq .L34
bl __stack_chk_fail
.L34:
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L37:
.align 2
.L36:
.word .LC7
.word .LC4
.word .LC5
.word .LC6
.size save_image, .-save_image
.section .rodata
.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 = 664
@ frame_needed = 1, uses_anonymous_args = 0
push {fp, lr}
add fp, sp, #4
sub sp, sp, #664
str r0, [fp, #-664]
str r1, [fp, #-668]
ldr r3, .L44
ldr r3, [r3]
str r3, [fp, #-8]
mov r3,#0
mov r3, #0
str r3, [fp, #-652]
mov r3, #0
str r3, [fp, #-656]
b .L39
.L41:
ldr r3, [fp, #-656]
cmp r3, #29
bgt .L40
ldr r3, [fp, #-656]
lsl r3, r3, #1
str r3, [fp, #-652]
.L40:
sub r3, fp, #648
mov r1, r3
ldr r0, [fp, #-656]
bl draw_back
sub r3, fp, #648
mov r2, r3
ldr r1, [fp, #-652]
ldr r0, [fp, #-656]
bl draw_rainbow
sub r3, fp, #648
mov r2, r3
ldr r1, [fp, #-652]
ldr r0, [fp, #-656]
bl draw_body
sub r3, fp, #648
mov r2, r3
ldr r1, [fp, #-652]
ldr r0, [fp, #-656]
bl draw_head
sub r3, fp, #648
mov r1, r3
ldr r0, [fp, #-656]
bl save_image
ldr r3, [fp, #-656]
add r3, r3, #1
str r3, [fp, #-656]
.L39:
ldr r3, [fp, #-656]
cmp r3, #63
ble .L41
mov r3, #0
ldr r2, .L44
ldr r1, [r2]
ldr r2, [fp, #-8]
eors r1, r2, r1
mov r2, #0
beq .L43
bl __stack_chk_fail
.L43:
mov r0, r3
sub sp, fp, #4
@ sp needed
pop {fp, pc}
.L45:
.align 2
.L44:
.word .LC8
.size main, .-main
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|